Skip to content

Commit 35d4292

Browse files
committed
REVERT MAJOR CHANGES
1 parent b5d724b commit 35d4292

File tree

122 files changed

+222305
-321
lines changed

Some content is hidden

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

122 files changed

+222305
-321
lines changed

README.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<picture>
2+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/hashicorp/design-system/assets/788096/5d6969b7-f8b4-4ad3-9ece-b16b4527522e" width="300">
3+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/hashicorp/design-system/assets/788096/8e278094-427f-40cc-912f-9ccd3a0ff879" width="300">
4+
<img alt="Helios Design System" src="https://github.com/hashicorp/design-system/assets/788096/8e278094-427f-40cc-912f-9ccd3a0ff879.png" width="300">
5+
</picture>
6+
7+
The Helios Design System provides the building blocks to design and implement consistent, accessible, and delightful product experiences across HashiCorp.
8+
9+
## Usage
10+
11+
For guidelines on how to use Helios, see our [documentation website](https://helios.hashicorp.design).
12+
13+
## Release notes
14+
15+
[A changelog for code and Figma changes is kept on the Helios website](https://helios.hashicorp.design/whats-new/release-notes)
16+
17+
## Packages
18+
19+
### `packages/components` [![npm version](https://badge.fury.io/js/%40hashicorp%2Fdesign-system-components.svg)](https://badge.fury.io/js/%40hashicorp%2Fdesign-system-components)
20+
21+
Design System components in Ember.js
22+
23+
- npm package: `@hashicorp/design-system-components`
24+
- website: [https://helios.hashicorp.design/components](https://helios.hashicorp.design/components)
25+
- more info: see [components/README](packages/components/README.md) and [components/CONTRIBUTING](packages/components/CONTRIBUTING.md).
26+
27+
### `packages/flight-icons` [![npm version](https://badge.fury.io/js/%40hashicorp%2Fflight-icons.svg)](https://badge.fury.io/js/%40hashicorp%2Fflight-icons)
28+
29+
- website: [https://helios.hashicorp.design/icons/library](https://helios.hashicorp.design/icons/library)
30+
31+
Flight icons in different formats (SVG/SVG Sprite/React)
32+
33+
- npm package: `@hashicorp/flight-icons`
34+
- more info: see [flight-icons/README](packages/flight-icons/README.md) and [flight-icons/CONTRIBUTING](packages/flight-icons/CONTRIBUTING.md) for details on how to use the "sync/build" scripts that export the assets from Figma and generate a bundle of standalone SVG files.
35+
36+
### `packages/tokens` [![npm version](https://badge.fury.io/js/%40hashicorp%2Fdesign-system-tokens.svg)](https://badge.fury.io/js/%40hashicorp%2Fdesign-system-tokens)
37+
38+
Design tokens
39+
40+
- npm package: `@hashicorp/design-system-tokens`
41+
- website: [https://helios.hashicorp.design/foundations/tokens](https://helios.hashicorp.design/foundations/tokens)
42+
- more info: see [tokens/README](packages/tokens/README.md) and [tokens/CONTRIBUTING](packages/tokens/CONTRIBUTING.md) for details on how to update the design tokens.
43+
44+
## Contributing
45+
46+
### Workspaces
47+
48+
This monorepo uses [pnpm workspaces](https://pnpm.io/workspaces) to manage dependencies for all packages.
49+
50+
#### Adding new packages
51+
52+
Run this command from the monorepo root:
53+
54+
```bash
55+
pnpm -F <workspace-npm-package> add --dev <npm-package>
56+
```
57+
58+
e.g. `pnpm -F @hashicorp/design-system-components add --dev ember-cli-flash`
59+
60+
#### Using ember install in the monorepo
61+
62+
Run this command from the monorepo root:
63+
64+
```bash
65+
pnpm -F <workspace-npm-package> run ember install <npm-package>
66+
```
67+
68+
e.g. `pnpm -F @hashicorp/design-system-components run ember install ember-a11y-refocus`
69+
70+
### Changesets
71+
72+
This project uses [changesets](https://github.com/changesets/changesets) to manage how changes will be released. Each user-facing change to a package should come with a changeset for each package that has changed.
73+
74+
To create a changeset, run and follow the prompts in your terminal:
75+
76+
```bash
77+
pnpm changeset
78+
```
79+
80+
See the [changeset docs](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) for more information.
81+
82+
Note: If you want to ignore a changeset bump in terminal (e.g. major bump for selected "package x" is N/A, want a patch release), press return on the command line to skip that step. Press the spacebar to select that step.
83+
84+
## Releasing
85+
86+
See the [release docs](https://hashicorp.atlassian.net/wiki/x/HIBT0Q) for the process we follow to publish a new package version.
87+
88+
## License
89+
90+
This project is licensed under the [Mozilla Public License 2.0](LICENSE).
91+
92+
## Versioning
93+
94+
We use [SemVer](http://semver.org/) for versioning.

packages/components/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"author": "HashiCorp Design Systems <design-systems@hashicorp.com>",
1919
"scripts": {
2020
"build": "rollup --config",
21+
"postbuild": "cp -R dist/styles/@hashicorp/design-system-components.css ../../showcase/public/assets/styles/@hashicorp/ && cp -R dist/styles/@hashicorp/design-system-components-common.css ../../showcase/public/assets/styles/@hashicorp/ && cp -R dist/styles/@hashicorp/design-system-power-select-overrides.css ../../showcase/public/assets/styles/@hashicorp/",
2122
"format": "prettier . --cache --write",
2223
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
2324
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\" --prefixColors auto && pnpm run format",
@@ -32,7 +33,8 @@
3233
"start": "rollup --config --watch --environment development",
3334
"test-f:design-system-components": "test -f 'dist/styles/@hashicorp/design-system-components.css' || (echo \"\n\\033[31m⚠️ Error: the pre-compiled CSS file \\`dist/styles/@hashicorp/design-system-components.css\\` was not found\\033[0m\\n\" && exit 1)",
3435
"test-f:design-system-components-common": "test -f 'dist/styles/@hashicorp/design-system-components-common.css' || (echo \"\n\\033[31m⚠️ Error: the pre-compiled CSS file \\`dist/styles/@hashicorp/design-system-components-common.css\\` was not found\\033[0m\\n\" && exit 1)",
35-
"test-f:design-system-power-select-overrides": "test -f 'dist/styles/@hashicorp/design-system-power-select-overrides.css' || (echo \"\n\\033[31m⚠️ Error: the pre-compiled CSS file \\`dist/styles/@hashicorp/design-system-power-select-overrides.css\\` was not found\\033[0m\\n\" && exit 1)"
36+
"test-f:design-system-power-select-overrides": "test -f 'dist/styles/@hashicorp/design-system-power-select-overrides.css' || (echo \"\n\\033[31m⚠️ Error: the pre-compiled CSS file \\`dist/styles/@hashicorp/design-system-power-select-overrides.css\\` was not found\\033[0m\\n\" && exit 1)",
37+
"prepublishOnly": "pnpm build && pnpm test-f:design-system-components && pnpm test-f:design-system-components-common && pnpm test-f:design-system-power-select-overrides"
3638
},
3739
"dependencies": {
3840
"@codemirror/commands": "^6.8.0",
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/**
2+
* Do not edit directly, this file was auto-generated.
3+
*/
4+
5+
.hds-border-primary { border: 1px solid #656a7633; }
6+
.hds-border-faint { border: 1px solid #656a761a; }
7+
.hds-border-strong { border: 1px solid #3b3d4566; }
8+
.hds-border-action { border: 1px solid #cce3fe; }
9+
.hds-border-highlight { border: 1px solid #ead2fe; }
10+
.hds-border-success { border: 1px solid #cceeda; }
11+
.hds-border-warning { border: 1px solid #fbeabf; }
12+
.hds-border-critical { border: 1px solid #fbd4d4; }
13+
.hds-foreground-strong { color: #0c0c0e; }
14+
.hds-foreground-primary { color: #3b3d45; }
15+
.hds-foreground-faint { color: #656a76; }
16+
.hds-foreground-high-contrast { color: #ffffff; }
17+
.hds-foreground-disabled { color: #8c909c; }
18+
.hds-foreground-action { color: #1060ff; }
19+
.hds-foreground-action-hover { color: #0c56e9; }
20+
.hds-foreground-action-active { color: #0046d1; }
21+
.hds-foreground-highlight { color: #a737ff; }
22+
.hds-foreground-highlight-on-surface { color: #911ced; }
23+
.hds-foreground-highlight-high-contrast { color: #42215b; }
24+
.hds-foreground-success { color: #008a22; }
25+
.hds-foreground-success-on-surface { color: #00781e; }
26+
.hds-foreground-success-high-contrast { color: #054220; }
27+
.hds-foreground-warning { color: #bb5a00; }
28+
.hds-foreground-warning-on-surface { color: #9e4b00; }
29+
.hds-foreground-warning-high-contrast { color: #542800; }
30+
.hds-foreground-critical { color: #e52228; }
31+
.hds-foreground-critical-on-surface { color: #c00005; }
32+
.hds-foreground-critical-high-contrast { color: #51130a; }
33+
.hds-page-primary { background-color: #ffffff; }
34+
.hds-page-faint { background-color: #fafafa; }
35+
.hds-surface-primary { background-color: #ffffff; }
36+
.hds-surface-faint { background-color: #fafafa; }
37+
.hds-surface-strong { background-color: #f1f2f3; }
38+
.hds-surface-interactive { background-color: #ffffff; }
39+
.hds-surface-interactive-hover { background-color: #f1f2f3; }
40+
.hds-surface-interactive-active { background-color: #dedfe3; }
41+
.hds-surface-interactive-disabled { background-color: #fafafa; }
42+
.hds-surface-action { background-color: #f2f8ff; }
43+
.hds-surface-highlight { background-color: #f9f2ff; }
44+
.hds-surface-success { background-color: #f2fbf6; }
45+
.hds-surface-warning { background-color: #fff9e8; }
46+
.hds-surface-critical { background-color: #fff5f5; }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Do not edit directly, this file was auto-generated.
3+
*/
4+
5+
.hds-elevation-inset { box-shadow: inset 0px 1px 2px 1px #656a761a; }
6+
.hds-elevation-low { box-shadow: 0px 1px 1px 0px #656a760d, 0px 2px 2px 0px #656a760d; }
7+
.hds-elevation-mid { box-shadow: 0px 2px 3px 0px #656a761a, 0px 8px 16px -10px #656a7633; }
8+
.hds-elevation-high { box-shadow: 0px 2px 3px 0px #656a7626, 0px 16px 16px -10px #656a7633; }
9+
.hds-elevation-higher { box-shadow: 0px 2px 3px 0px #656a761a, 0px 12px 28px 0px #656a7640; }
10+
.hds-elevation-overlay { box-shadow: 0px 2px 3px 0px #3b3d4540, 0px 12px 24px 0px #3b3d4559; }
11+
.hds-surface-inset { box-shadow: inset 0 0 0 1px #656a764d, inset 0px 1px 2px 1px #656a761a; }
12+
.hds-surface-base { box-shadow: 0 0 0 1px #656a7633; }
13+
.hds-surface-low { box-shadow: 0 0 0 1px #656a7626, 0px 1px 1px 0px #656a760d, 0px 2px 2px 0px #656a760d; }
14+
.hds-surface-mid { box-shadow: 0 0 0 1px #656a7626, 0px 2px 3px 0px #656a761a, 0px 8px 16px -10px #656a7633; }
15+
.hds-surface-high { box-shadow: 0 0 0 1px #656a7640, 0px 2px 3px 0px #656a7626, 0px 16px 16px -10px #656a7633; }
16+
.hds-surface-higher { box-shadow: 0 0 0 1px #656a7633, 0px 2px 3px 0px #656a761a, 0px 12px 28px 0px #656a7640; }
17+
.hds-surface-overlay { box-shadow: 0 0 0 1px #3b3d4540, 0px 2px 3px 0px #3b3d4540, 0px 12px 24px 0px #3b3d4559; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* Do not edit directly, this file was auto-generated.
3+
*/
4+
5+
.hds-focus-ring-action-box-shadow { box-shadow: inset 0 0 0 1px #0c56e9, 0 0 0 3px #5990ff; }
6+
.hds-focus-ring-critical-box-shadow { box-shadow: inset 0 0 0 1px #c00005, 0 0 0 3px #dd7578; }

packages/tokens/dist/cloud-email/helpers/typography.css

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)