Skip to content

Commit 7f191ea

Browse files
authored
Prep for os (#206)
1 parent 1f9e7c9 commit 7f191ea

File tree

931 files changed

+10028
-358
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

931 files changed

+10028
-358
lines changed

Diff for: .circleci/.npmrc

-7
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,4 @@ always-auth=false
77
//artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/:email=[email protected]
88
//artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/:always-auth=true
99

10-
@react-aria:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
11-
@react-spectrum:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
12-
@react-stately:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
13-
@react-types:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
14-
@spectrum-icons:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
15-
//artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/:always-auth=true
16-
1710
package-lock=false

Diff for: .circleci/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
- run:
2121
name: build
2222
command: |
23-
make -B
23+
make adobe_setup
24+
yarn
2425
2526
- save_cache:
2627
paths:

Diff for: .github/ISSUE_TEMPLATE/Feedback.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: 📝 Feedback
3+
about: Have some feedback?
4+
---
5+
6+
<!---
7+
Thanks for filing an issue 😄! Before you submit, please read the following:
8+
9+
Search open/closed issues before submitting since someone might have posted the same thing before!
10+
-->
11+
12+
# 📝 Feedback
13+
14+
<!--- Provide your feedback here -->
15+
16+
## 🔦 Context
17+
18+
<!--- How has this issue affected you? What are you trying to accomplish? -->
19+
20+
21+
## 💻 Code Sample
22+
23+
<!-- If you have an example are seeing an error, please provide a code repository, gist or sample files to reproduce the issue -->
24+
25+
## 🌍 Your Environment
26+
27+
<!--- Include as many relevant details about the environment you experienced the issue in -->
28+
29+
| Software | Version(s) |
30+
| ---------------- | ---------- |
31+
| [Package name] |
32+
| Browser |
33+
| Operating System |

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ Closes <!-- Github issue # here -->
33

44
## ✅ Pull Request Checklist:
55

6-
- [ ] Included link to corresponding [Issue](https://github.com/adobe/react-spectrum/issues).
6+
- [ ] Included link to corresponding [Issue](https://github.com/adobe-private/react-spectrum-v3/issues).
77
- [ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
88
- [ ] Filled out test instructions.
9-
- [ ] Updated documentation (if it already exist for this component).
10-
- [ ] Looked at the [Accessibility Standard](https://wiki.corp.adobe.com/display/Accessibility/Adobe+Accessibility+Standard) and/or talked to [@mijordan](https://git.corp.adobe.com/mijordan) about Accessibility for this feature.
9+
- [ ] Updated documentation (if it already exists for this component).
10+
- [ ] Looked at the Accessibility Practices for this feature - [Aria Practices](https://www.w3.org/TR/wai-aria-practices-1.1/)
1111

1212
## 📝 Test Instructions:
1313

1414
<!--- Include instructions to test this pull request -->
1515

1616
## 🧢 Your Team:
1717

18-
<!--- Which product is this pull request for? (i.e. Photoshop) -->
18+
<!--- Which product/company is this pull request for? -->

Diff for: .npmrc

-7
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,4 @@ always-auth=false
44
@react:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/
55
//artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/:always-auth=true
66

7-
@react-aria:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
8-
@react-spectrum:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
9-
@react-stately:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
10-
@react-types:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
11-
@spectrum-icons:registry=https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/
12-
//artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/:always-auth=true
13-
147
package-lock=false

Diff for: .storybook-v3/custom-addons/provider/index.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import addons, { makeDecorator } from '@storybook/addons';
33
import {getQueryParams} from '@storybook/client-api';
44
import {Provider} from '@react-spectrum/provider';
55
import {themes, defaultTheme} from '../../constants';
6+
import {StatusLight} from '@react-spectrum/statuslight';
67

78
const providerValuesFromUrl = Object.entries(getQueryParams()).reduce((acc, [k, v]) => {
89
if (k.includes('providerSwitcher-')) {
@@ -38,8 +39,15 @@ function ProviderUpdater(props) {
3839
};
3940
}, []);
4041

42+
let statusMap = {
43+
'positive': "Released as rc",
44+
'notice': "In alpha",
45+
'negative': "Under construction"
46+
}
47+
4148
return (
4249
<Provider theme={theme} colorScheme={colorScheme} scale={scaleValue} locale={localeValue} toastPlacement={toastPositionValue} typekitId="pbi5ojv">
50+
<div style={{'padding-top': '20px', 'padding-left': '20px', 'padding-right': '20px'}}><div style={{'font-size': '18px', 'padding-left': '10px', 'padding-right': '10px'}}><strong>Status</strong></div><StatusLight variant={props.options.status || 'negative'}>{statusMap[props.options.status || 'negative']}</StatusLight></div>
4351
{storyReady && props.children}
4452
</Provider>
4553
);
@@ -49,8 +57,9 @@ export const withProviderSwitcher = makeDecorator({
4957
name: 'withProviderSwitcher',
5058
parameterName: 'providerSwitcher',
5159
wrapper: (getStory, context, {options, parameters}) => {
60+
options = {...options, ...parameters};
5261
return (
53-
<ProviderUpdater>
62+
<ProviderUpdater options={options}>
5463
{getStory(context)}
5564
</ProviderUpdater>
5665
);

Diff for: .yarnrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--install.ignore-optional true

Diff for: CODE_OF_CONDUCT.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Adobe Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language.
18+
* Being respectful of differing viewpoints and experiences.
19+
* Gracefully accepting constructive criticism.
20+
* Focusing on what is best for the community.
21+
* Showing empathy towards other community members.
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances.
27+
* Trolling, insulting/derogatory comments, and personal or political attacks.
28+
* Public or private harassment.
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission.
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting.
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [https://contributor-covenant.org/version/1/4][version].
72+
73+
[homepage]: https://contributor-covenant.org
74+
[version]: https://contributor-covenant.org/version/1/4/

Diff for: CONTRIBUTING.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Contributing
2+
3+
Thanks for choosing to contribute!
4+
We are currently in pre-release mode and are actively working on getting to a stable version. Please talk to us or file an issue before contributing.
5+
6+
The following is a set of guidelines to follow when contributing to this project.
7+
8+
## Code Of Conduct
9+
10+
This project adheres to the Adobe [code of conduct](../CODE_OF_CONDUCT.md). By participating,
11+
you are expected to uphold this code. Please report unacceptable behavior to
12+
13+
14+
## Have A Question?
15+
16+
Start by filing an issue. The existing committers on this project work to reach
17+
consensus around project direction and issue solutions within issue threads
18+
(when appropriate).
19+
20+
## Contributor License Agreement
21+
22+
All third-party contributions to this project must be accompanied by a signed contributor
23+
license agreement. This gives Adobe permission to redistribute your contributions
24+
as part of the project. [Sign our CLA](https://opensource.adobe.com/cla.html). You
25+
only need to submit an Adobe CLA one time, so if you have submitted one previously,
26+
you are good to go!
27+
28+
## Code Reviews
29+
30+
All submissions should come in the form of pull requests and need to be reviewed
31+
by project committers. Read [GitHub's pull request documentation](https://help.github.com/articles/about-pull-requests/)
32+
for more information on sending pull requests.
33+
34+
Lastly, please follow the [pull request template](PULL_REQUEST_TEMPLATE.md) when
35+
submitting a pull request!
36+
37+
## From Contributor To Committer
38+
39+
We love contributions from our community! If you'd like to go a step beyond contributor
40+
and become a committer with full write access and a say in the project, you must
41+
be invited to the project. The existing committers employ an internal nomination
42+
process that must reach lazy consensus (silence is approval) before invitations
43+
are issued. If you feel you are qualified and want to get more deeply involved,
44+
feel free to reach out to existing committers to have a conversation about that.
45+
46+
## Security Issues
47+
48+
Security issues shouldn't be reported on this issue tracker. Instead, [file an issue to our security experts](https://helpx.adobe.com/security/alertus.html).

0 commit comments

Comments
 (0)