Skip to content

Commit 775398f

Browse files
committed
Update new UI
0 parents  commit 775398f

File tree

251 files changed

+19335
-0
lines changed

Some content is hidden

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

251 files changed

+19335
-0
lines changed

.circleci/config.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
jobs:
3+
step-five:
4+
docker:
5+
- image: circleci/node:14
6+
working_directory: ~/repo
7+
steps:
8+
- checkout
9+
- run: yarn install --immutable --immutable-cache
10+
- run:
11+
name: Run ci checks
12+
command: yarn ci-check
13+
- run:
14+
name: Run tests
15+
command: yarn test
16+
17+
workflows:
18+
version: 2
19+
main:
20+
jobs:
21+
- step-five

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

.github/CODE_OF_CONDUCT.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## Carbon Code of Conduct
2+
3+
This is a place to ask questions, work through any challenges, and share ideas and best practices. The following suggestions and guidelines are intended to make the community easier and more enjoyable to use.
4+
5+
### TLDR;
6+
7+
- **Be respectful & understanding.** Not all of us will agree all the time, but disagreement is no excuse for poor behavior or poor manners. It is important that we resolve disagreements and differing views constructively.
8+
9+
* **Be welcoming.** We strive to be a community that welcomes and supports people of all backgrounds and identities.
10+
11+
### General
12+
13+
Communication through any of Carbon's channels (GitHub, emails, Twitter, Slack) must be constructive and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
14+
15+
We promise to extend courtesy and respect to everyone involved in this project, regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience. We expect anyone contributing to Carbon to do the same.
16+
17+
If any member of the community violates this Code of Conduct, the maintainers of Carbon may take action, including removing issues, comments, and PRs or blocking accounts, as deemed appropriate.
18+
19+
If you are subjected to or witness unacceptable behavior, or have any other concerns, please communicate with us directly via [email protected].
20+
21+
### Slack
22+
23+
1. Please, no `@here` or `@channel` unless it is a bug that is **breaking production code.** We have communities in many different time zones, and we would hate to disrupt someone not at the office.
24+
2. There's no need to notify the Carbon team that you have made an issue in Carbon's GitHub repositories. We check these several times a day, so we promise we'll address your issue as soon as we can.
25+
3. Reserve direct messages for sensitive discussions, such as privacy, legal, or HR reasons. Otherwise, we encourage posting in public channels so people with the same questions can benefit.
26+
4. If you have a pressing bug fix, it is best to make a PR directly to get your issues addressed.
27+
5. `#carbon-components`: This channel is for questions about Carbon Components only. It is not the place to ask general coding questions. Instead, use a dev community like [StackOverflow](https://stackoverflow.com/).
28+
6. `#carbon-design-system`: Please post any design questions with an in-context screen shot (i.e. screen shot of the whole UI you are designing) with background as to what you are trying to accomplish in this flow. We welcome in-progress work to get community design feedback as well.
29+
30+
<hr>
31+
32+
If you have suggestions to improve this Code of Conduct, please submit an issue or PR.
33+
34+
This Code of Conduct was adopted from the [Angular Project](https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md) and [Todo Open Code of Conduct](http://todogroup.org/opencodeofconduct/).

.github/CONTRIBUTING.md

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Contribution Guidelines
2+
3+
Want to contribute to this repository? Please read below first:
4+
5+
- [Issues and Bugs](#issues-and-bugs)
6+
- [Feature Requests](#feature-requests)
7+
- [Doc Fixes](#doc-fixes)
8+
- [Submission Guidelines](#submission-guidelines)
9+
10+
## Issues and Bugs
11+
12+
If you find a bug in the source code or a mistake in the documentation, you can help us by
13+
submitting an issue to this repo. Even better you can submit a Pull Request with a fix.
14+
15+
**Please see the Submission Guidelines below**.
16+
17+
## Feature Requests
18+
19+
You can request a new feature by submitting an issue to this repo. Proposed features (with suitable design documentation and reasoning) can be crafted and submitted to this repo as a Pull Request.
20+
21+
**Please see the Submission Guidelines below**.
22+
23+
## Doc Fixes
24+
25+
If you want to help improve the docs, it's a good idea to let others know what you're working on to minimize duplication of effort. Comment on an issue to let others know what you're working on, or create a new issue if your work doesn't fit within the scope of any of the existing doc fix projects.
26+
27+
**Please see the Submission Guidelines below**.
28+
29+
## Submission Guidelines
30+
31+
### Setup
32+
33+
1. Fork the project by navigating to the main [repository](https://github.com/carbon-design-system/carbon-tutorial) and clicking the **Fork** button on the top-right corner.
34+
35+
2. Navigate to your forked repository and copy the **SSH url**. Clone your fork by running the following in your terminal:
36+
37+
```
38+
$ git clone [email protected]:{ YOUR_USERNAME }/carbon-tutorial.git
39+
$ cd carbon-tutorial
40+
```
41+
42+
See [GitHub docs](https://help.github.com/articles/fork-a-repo/) for more details on forking a repository.
43+
44+
3. Once cloned, you will see `origin` as your default remote, pointing to your personal forked repository. Add a remote named `upstream` pointing to the main `carbon-tutorial`:
45+
46+
```
47+
$ git remote add upstream [email protected]:carbon-design-system/carbon-tutorial.git
48+
$ git remote -v
49+
```
50+
51+
4. Switch to our version of Node. If you are using (nvm [Node Version Manager)](https://github.com/creationix/nvm), you can run `nvm use` to quicky switch Node versions. If you are aren't using nvm, you can still check the `.nvmrc` dotfile in the root of this project to find the major stable version of Node we are using, and then you can switch manually.
52+
53+
### Submitting an Issue
54+
55+
Before you submit your issue, search the repository. Maybe your question was already answered.
56+
57+
If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues.
58+
59+
### Submitting a Pull Request
60+
61+
1. Search this repository for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.
62+
63+
2. Pull the latest master branch from `upstream`:
64+
65+
```
66+
$ git pull upstream master
67+
```
68+
69+
3. Always work and submit pull requests from a branch. _Do not submit pull requests from the `master` branch of your fork_.
70+
71+
```
72+
$ git checkout -b { YOUR_BRANCH_NAME } master
73+
```
74+
75+
4. Create your patch or feature.
76+
77+
5. Test your branch and add new test cases where appropriate.
78+
79+
6. Commit your changes using a descriptive commit message.
80+
81+
```
82+
$ git commit -a -m "chore: Update header with newest designs, resolves #123"
83+
```
84+
85+
**Note:** the optional commit -a command line option will automatically "add" and "rm" edited files. See [Close a commit via commit message](https://help.github.com/articles/closing-issues-via-commit-messages/) and [writing good commit messages](https://github.com/erlang/otp/wiki/Writing-good-commit-messages) for more details on commit messages.
86+
87+
Carbon Elements also uses a commit format called [Conventional Commits](https://www.conventionalcommits.org). This format is used to help automate details about our project and how it changes. When committing changes, there will be a tool that automatically looks at commits and will check to see if the commit matches the format defined by Conventional Commits.
88+
89+
7. Once ready for feedback from other contributors and maintainers, **push your commits to your fork** (be sure to run `yarn ci-check` before pushing, to make sure your code passes linting and unit tests):
90+
91+
```
92+
$ git push origin { YOUR_BRANCH_NAME }
93+
```
94+
95+
8. In Github, navigate to [carbon-design-system/carbon-tutorial](https://github.com/carbon-design-system/carbon-tutorial) and click the button that reads "Compare & pull request".
96+
97+
9. Write a title and description, the click "Create pull request".
98+
99+
See [how to write the perfect pull request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request) for more details on writing good PRs.
100+
101+
10. Stay up to date with the activity in your pull request. Maintainers will be reviewing your work and making comments, asking questions and suggesting changes to be made before they merge your code. When you need to make a change, add, commit and push to your branch normally.
102+
103+
Once all revisions to your pull request are complete, a maintainer will squash and merge your commits for you.
104+
105+
For all details related to development, make sure to check out our [development
106+
guide](/docs/developing.md)!
107+
108+
**That's it! Thank you for your contribution!**

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug Report 🐛
3+
about: Something isn't working as expected? Here is the right place to report.
4+
---
5+
6+
<!-- Feel free to remove sections that aren't relevant.
7+
8+
## Title line template: [Title]: Brief description
9+
10+
-->
11+
12+
## Detailed description
13+
14+
> Describe in detail the issue you're having.
15+
16+
> Is this a feature request (new component, new icon), a bug, or a general issue?
17+
18+
> Is this issue related to a specific component?
19+
20+
> What did you expect to happen? What happened instead? What would you like to see changed?
21+
22+
> What browser are you working in?
23+
24+
> What version of the Carbon Design System are you using?
25+
26+
> What offering/product do you work on? Any pressing ship or release dates we should be aware of?
27+
28+
## Steps to reproduce the issue
29+
30+
1. Step one
31+
2. Step two
32+
3. Step three
33+
4. etc.
34+
35+
## Additional information
36+
37+
- Screenshots or code
38+
- Notes
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature Request 💡
3+
about: Suggest a new idea for the project.
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Question 🤔
3+
about: Usage question or discussion about the Carbon Design System.
4+
---
5+
6+
<!--
7+
8+
Hi there! 👋 Hope everything is going okay using projects from the Carbon Design
9+
System. It looks like you might have a question about our work, so we wanted to
10+
share a couple resources that you could use if you haven't tried them yet 🙂.
11+
12+
If you're an IBMer, we have a couple of Slack channels available across all IBM
13+
Workspaces:
14+
15+
- #carbon-design-system for questions about the Design System
16+
- #carbon-components for questions about component styles
17+
- #carbon-react for questions about our React components
18+
19+
If these resources don't work out, help us out by filling out a couple of
20+
details below!
21+
22+
-->
23+
24+
## Summary
25+
26+
## Relevant information
27+
28+
<!-- Provide as much useful information as you can -->

.github/PULL_REQUEST_TEMPLATE.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Closes #
2+
3+
{{short description}}
4+
5+
#### Changelog
6+
7+
**New**
8+
9+
- {{new thing}}
10+
11+
**Changed**
12+
13+
- {{change thing}}
14+
15+
**Removed**
16+
17+
- {{removed thing}}

.github/SUPPORT.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Support
2+
3+
If you run into an issue, sorry about that! We definitely want to make sure that
4+
your experience using the Carbon Design System is the best that it can be.
5+
6+
When this happens, just create an issue on GitHub by filling out the template
7+
and we'll try our best to respond in a reasonable time.

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*
21+
.eslintcache
22+
23+
.yarn/*

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org

.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
lib
3+
es
4+
umd
5+
build
6+
dist

.yarnrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
yarn-path ".yarn/releases/yarn-berry.cjs"

.yarnrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-berry.cjs

0 commit comments

Comments
 (0)