@hashicorp/design-system-components 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/addon/components/hds/avatar/index.hbs +7 -0
- package/addon/components/hds/empty-state/body.hbs +3 -0
- package/addon/components/hds/empty-state/footer.hbs +3 -0
- package/addon/components/hds/empty-state/header.hbs +3 -0
- package/addon/components/hds/empty-state/index.hbs +9 -0
- package/addon/components/hds/form/label/index.hbs +1 -1
- package/app/components/hds/avatar/index.js +1 -0
- package/app/components/hds/empty-state/body.js +1 -0
- package/app/components/hds/empty-state/footer.js +1 -0
- package/app/components/hds/empty-state/header.js +1 -0
- package/app/components/hds/empty-state/index.js +1 -0
- package/app/styles/@hashicorp/design-system-components.scss +2 -0
- package/app/styles/components/avatar.scss +24 -0
- package/app/styles/components/empty-state.scss +25 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @hashicorp/design-system-components
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#534](https://github.com/hashicorp/design-system/pull/534) [`65cde6ad`](https://github.com/hashicorp/design-system/commit/65cde6ad63c370fd9f0f6984cb7e974e4d3a9030) Thanks [@alex-ju](https://github.com/alex-ju)! - Fix label indicator for assistive technologies
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @hashicorp/ember-flight-icons@2.0.12
|
|
11
|
+
|
|
3
12
|
## 1.0.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@hashicorp/design-system-components/components/hds/avatar/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@hashicorp/design-system-components/components/hds/empty-state/body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@hashicorp/design-system-components/components/hds/empty-state/footer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@hashicorp/design-system-components/components/hds/empty-state/header';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@hashicorp/design-system-components/components/hds/empty-state/index';
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// Notice: this list can be automatically edited by the Ember blueprint, please don't remove the start/end comments
|
|
9
9
|
// START COMPONENTS CSS FILES IMPORTS
|
|
10
10
|
@use "../components/alert";
|
|
11
|
+
@use "../components/avatar";
|
|
11
12
|
@use "../components/badge";
|
|
12
13
|
@use "../components/badge-count";
|
|
13
14
|
@use "../components/breadcrumb";
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
@use "../components/card";
|
|
17
18
|
@use "../components/disclosure";
|
|
18
19
|
@use "../components/dropdown";
|
|
20
|
+
@use "../components/empty-state";
|
|
19
21
|
@use "../components/form"; // multiple components
|
|
20
22
|
@use "../components/icon-tile";
|
|
21
23
|
@use "../components/link/inline";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//
|
|
2
|
+
// AVATAR
|
|
3
|
+
//
|
|
4
|
+
// properties within each class are sorted alphabetically
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.hds-avatar {
|
|
8
|
+
align-items: center;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
height: 32px;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
width: 32px;
|
|
14
|
+
|
|
15
|
+
img {
|
|
16
|
+
border-radius: 2px;
|
|
17
|
+
height: inherit;
|
|
18
|
+
width: inherit;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.hds-empty-state {
|
|
2
|
+
color: var(--token-color-foreground-faint);
|
|
3
|
+
display: block;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
max-width: 40ch;
|
|
6
|
+
padding: 0;
|
|
7
|
+
|
|
8
|
+
> * {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.hds-empty-state__body {
|
|
14
|
+
font-size: 1rem;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
+ * {
|
|
18
|
+
margin-block-start: 1rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.hds-empty-state__header {
|
|
22
|
+
font-size: 1.25rem;
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
line-height: 1.2;
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashicorp/design-system-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "HashiCorp Design System Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hashicorp",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@hashicorp/design-system-tokens": "^1.0.0",
|
|
38
|
-
"@hashicorp/ember-flight-icons": "^2.0.
|
|
38
|
+
"@hashicorp/ember-flight-icons": "^2.0.12",
|
|
39
39
|
"ember-auto-import": "^2.4.1",
|
|
40
40
|
"ember-cli-babel": "^7.26.11",
|
|
41
41
|
"ember-cli-htmlbars": "^6.0.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@embroider/test-setup": "^1.5.0",
|
|
51
51
|
"@glimmer/component": "^1.0.4",
|
|
52
52
|
"@glimmer/tracking": "^1.0.4",
|
|
53
|
-
"@percy/cli": "^1.
|
|
53
|
+
"@percy/cli": "^1.10.0",
|
|
54
54
|
"@percy/ember": "^3.0.1",
|
|
55
55
|
"babel-eslint": "^10.1.0",
|
|
56
56
|
"broccoli-asset-rev": "^3.0.0",
|