@danske/sapphire-css 39.0.1 → 40.0.0
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/build/themes/cjs/default-dark.js +1 -0
- package/build/themes/cjs/default.js +1 -0
- package/build/themes/cjs/index.d.ts +1 -0
- package/build/themes/esm/default-dark.js +1 -0
- package/build/themes/esm/default.js +1 -0
- package/build/themes/esm/index.d.ts +1 -0
- package/components/accordion/accordion.module.css +26 -26
- package/components/avatar/avatar.module.css +55 -78
- package/components/avatar/avatar.module.css.d.ts +16 -21
- package/components/backdrop/backdrop.module.css +5 -5
- package/components/badge/badge.module.css +76 -324
- package/components/badge/badge.module.css.d.ts +16 -34
- package/components/button/button.module.css +180 -263
- package/components/button/button.module.css.d.ts +4 -8
- package/components/buttonGroup/buttonGroup.module.css +39 -13
- package/components/calendar/calendar.module.css +64 -125
- package/components/calendar/calendar.module.css.d.ts +0 -7
- package/components/checkbox/checkbox.module.css +102 -69
- package/components/checkbox/checkbox.module.css.d.ts +1 -1
- package/components/contextualHelp/contextualHelp.module.css +7 -7
- package/components/dateField/dateField.module.css +42 -29
- package/components/dateField/dateField.module.css.d.ts +3 -2
- package/components/dialog/dialog.module.css +3 -3
- package/components/dropzone/dropzone.module.css +19 -21
- package/components/feedbackMessage/feedbackMessage.module.css +2 -40
- package/components/feedbackMessage/feedbackMessage.module.css.d.ts +0 -6
- package/components/field/field.module.css +22 -13
- package/components/field/field.module.css.d.ts +2 -2
- package/components/fieldGroup/fieldGroup.module.css +3 -3
- package/components/filterDropdown/filterDropdown.module.css +1 -1
- package/components/flag/flag.module.css +6 -6
- package/components/icon/icon.module.css +31 -4
- package/components/icon/icon.module.css.d.ts +6 -0
- package/components/iconButton/iconButton.module.css +237 -189
- package/components/iconButton/iconButton.module.css.d.ts +2 -3
- package/components/label/label.module.css +4 -5
- package/components/link/link.module.css +24 -54
- package/components/link/link.module.css.d.ts +1 -4
- package/components/list/list.module.css +20 -33
- package/components/listbox/listbox.module.css +109 -131
- package/components/listbox/listbox.module.css.d.ts +2 -4
- package/components/modalLayout/modalLayout.module.css +11 -12
- package/components/notificationBadge/notificationBadge.module.css +18 -15
- package/components/pagination/pagination.module.css +9 -9
- package/components/panel/panel.module.css +3 -1
- package/components/popover/popover.module.css +3 -2
- package/components/radio/radio.module.css +32 -9
- package/components/searchField/searchField.module.css +24 -25
- package/components/segmentedControl/segmentedControl.module.css +15 -17
- package/components/select/select.module.css +34 -18
- package/components/select/select.module.css.d.ts +2 -0
- package/components/skeleton/skeleton.module.css +5 -2
- package/components/spinner/spinner.module.css +3 -3
- package/components/surface/surface.module.css +2 -2
- package/components/switch/switch.module.css +49 -46
- package/components/switch/switch.module.css.d.ts +2 -2
- package/components/table/table.module.css +164 -136
- package/components/table/table.module.css.d.ts +5 -6
- package/components/tabs/tabs.module.css +24 -20
- package/components/tag/tag.module.css +16 -30
- package/components/tag/tag.module.css.d.ts +1 -1
- package/components/text/text.module.css +69 -82
- package/components/text/text.module.css.d.ts +19 -14
- package/components/textField/textField.module.css +45 -35
- package/components/textField/textField.module.css.d.ts +2 -2
- package/components/toast/toast.module.css +33 -153
- package/components/toast/toast.module.css.d.ts +2 -6
- package/components/tooltip/tooltip.module.css +7 -6
- package/package.json +4 -4
- package/themes/default-dark.js +1 -0
- package/themes/default.js +1 -0
- package/themes/index.d.ts +1 -0
- package/components/heading/heading.module.css +0 -95
- package/components/heading/heading.module.css.d.ts +0 -12
- package/components/labeledValue/labeledValue.module.css +0 -10
- package/components/labeledValue/labeledValue.module.css.d.ts +0 -7
- package/components/paragraph/paragraph.module.css +0 -32
- package/components/paragraph/paragraph.module.css.d.ts +0 -7
|
@@ -7,6 +7,7 @@ require("@danske/sapphire-design-tokens/build/themes/default-dark/assets/fonts/d
|
|
|
7
7
|
var tokens_module_css_1 = __importDefault(require("@danske/sapphire-design-tokens/build/themes/default-dark/css/tokens.module.css"));
|
|
8
8
|
var theme = {
|
|
9
9
|
themeClassName: tokens_module_css_1["default"]['sapphire-theme-default-dark'],
|
|
10
|
+
themeSecondaryModifierClassName: tokens_module_css_1["default"]['sapphire-theme--secondary'],
|
|
10
11
|
themeContrastModifierClassName: tokens_module_css_1["default"]['sapphire-theme--contrast']
|
|
11
12
|
};
|
|
12
13
|
exports["default"] = theme;
|
|
@@ -8,6 +8,7 @@ var tokens_module_css_1 = __importDefault(require("@danske/sapphire-design-token
|
|
|
8
8
|
var theme = {
|
|
9
9
|
themeClassName: tokens_module_css_1["default"]['sapphire-theme-default'],
|
|
10
10
|
themeSecondaryModifierClassName: tokens_module_css_1["default"]['sapphire-theme--secondary'],
|
|
11
|
+
themeTertiaryModifierClassName: tokens_module_css_1["default"]['sapphire-theme--tertiary'],
|
|
11
12
|
themeContrastModifierClassName: tokens_module_css_1["default"]['sapphire-theme--contrast']
|
|
12
13
|
};
|
|
13
14
|
exports["default"] = theme;
|
|
@@ -2,6 +2,7 @@ import '@danske/sapphire-design-tokens/build/themes/default-dark/assets/fonts/da
|
|
|
2
2
|
import styles from '@danske/sapphire-design-tokens/build/themes/default-dark/css/tokens.module.css';
|
|
3
3
|
var theme = {
|
|
4
4
|
themeClassName: styles['sapphire-theme-default-dark'],
|
|
5
|
+
themeSecondaryModifierClassName: styles['sapphire-theme--secondary'],
|
|
5
6
|
themeContrastModifierClassName: styles['sapphire-theme--contrast']
|
|
6
7
|
};
|
|
7
8
|
export default theme;
|
|
@@ -3,6 +3,7 @@ import styles from '@danske/sapphire-design-tokens/build/themes/default/css/toke
|
|
|
3
3
|
var theme = {
|
|
4
4
|
themeClassName: styles['sapphire-theme-default'],
|
|
5
5
|
themeSecondaryModifierClassName: styles['sapphire-theme--secondary'],
|
|
6
|
+
themeTertiaryModifierClassName: styles['sapphire-theme--tertiary'],
|
|
6
7
|
themeContrastModifierClassName: styles['sapphire-theme--contrast']
|
|
7
8
|
};
|
|
8
9
|
export default theme;
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
position: relative;
|
|
28
28
|
line-height: var(--sapphire-semantic-size-line-height-md);
|
|
29
29
|
font-family: var(--sapphire-semantic-font-name-default);
|
|
30
|
-
background
|
|
31
|
-
color: var(--sapphire-semantic-color-
|
|
32
|
-
box-shadow: 0 -1px 0 0 var(--sapphire-semantic-color-border-
|
|
30
|
+
background: var(--sapphire-semantic-color-background-surface);
|
|
31
|
+
color: var(--sapphire-semantic-color-foreground-primary);
|
|
32
|
+
box-shadow: 0 -1px 0 0 var(--sapphire-semantic-color-border-secondary);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Adds bottom border to the last accordion item as default */
|
|
36
36
|
.sapphire-accordion__item:last-child {
|
|
37
37
|
border-bottom: var(--sapphire-semantic-size-border-sm) solid
|
|
38
|
-
var(--sapphire-semantic-color-border-
|
|
38
|
+
var(--sapphire-semantic-color-border-secondary);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.sapphire-accordion--without-last-divider .sapphire-accordion__item:last-child {
|
|
@@ -61,14 +61,15 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
justify-content: space-between;
|
|
63
63
|
align-items: center;
|
|
64
|
-
padding: var(--sapphire-semantic-size-spacing-
|
|
65
|
-
var(--sapphire-semantic-size-spacing-
|
|
64
|
+
padding: var(--sapphire-semantic-size-spacing-sm)
|
|
65
|
+
var(--sapphire-semantic-size-spacing-md);
|
|
66
66
|
border: none;
|
|
67
|
-
background
|
|
67
|
+
background: inherit;
|
|
68
68
|
font-family: inherit;
|
|
69
69
|
line-height: inherit;
|
|
70
70
|
color: inherit;
|
|
71
71
|
width: 100%;
|
|
72
|
+
background: var(--sapphire-semantic-color-background-action-tertiary-default);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
/* Hover header */
|
|
@@ -79,9 +80,7 @@
|
|
|
79
80
|
):hover,
|
|
80
81
|
.sapphire-accordion__item:not(.is-disabled)
|
|
81
82
|
.sapphire-accordion__item-header:not(:active):not(.is-active).is-hover {
|
|
82
|
-
background
|
|
83
|
-
--sapphire-semantic-color-background-action-secondary-default
|
|
84
|
-
);
|
|
83
|
+
background: var(--sapphire-semantic-color-background-action-tertiary-hover);
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
/* Active header */
|
|
@@ -92,9 +91,7 @@
|
|
|
92
91
|
.sapphire-accordion__item-header:active,
|
|
93
92
|
.sapphire-accordion__item:not(.is-disabled)
|
|
94
93
|
.sapphire-accordion__item-header:not(.js-focus):focus-visible:active {
|
|
95
|
-
background
|
|
96
|
-
--sapphire-semantic-color-background-action-secondary-hover
|
|
97
|
-
);
|
|
94
|
+
background: var(--sapphire-semantic-color-background-action-tertiary-active);
|
|
98
95
|
}
|
|
99
96
|
|
|
100
97
|
/* Focus header */
|
|
@@ -144,8 +141,8 @@
|
|
|
144
141
|
}
|
|
145
142
|
|
|
146
143
|
.sapphire-accordion__item-heading {
|
|
147
|
-
font-size: var(--sapphire-semantic-size-font-
|
|
148
|
-
font-weight: var(--sapphire-semantic-font-weight-default-
|
|
144
|
+
font-size: var(--sapphire-semantic-size-font-body-md);
|
|
145
|
+
font-weight: var(--sapphire-semantic-font-weight-default-medium);
|
|
149
146
|
text-align: left;
|
|
150
147
|
flex: 1;
|
|
151
148
|
/* Wrap if title is long */
|
|
@@ -159,7 +156,8 @@
|
|
|
159
156
|
align-items: center;
|
|
160
157
|
width: var(--sapphire-semantic-size-height-control-md);
|
|
161
158
|
height: var(--sapphire-semantic-size-height-control-md);
|
|
162
|
-
transition: transform var(--sapphire-semantic-time-motion-quick)
|
|
159
|
+
transition: transform var(--sapphire-semantic-time-motion-quick)
|
|
160
|
+
var(--sapphire-semantic-transitions-dynamic);
|
|
163
161
|
}
|
|
164
162
|
.sapphire-accordion__item--open > :first-child .sapphire-accordion__item-arrow {
|
|
165
163
|
transform: rotate(180deg);
|
|
@@ -171,18 +169,20 @@
|
|
|
171
169
|
display: grid;
|
|
172
170
|
grid-template-rows: 0fr;
|
|
173
171
|
transition: grid-template-rows var(--sapphire-semantic-time-motion-quick)
|
|
174
|
-
|
|
172
|
+
var(--sapphire-semantic-transitions-dynamic);
|
|
175
173
|
}
|
|
176
174
|
|
|
177
175
|
.sapphire-accordion__item-content {
|
|
178
|
-
font-size: var(--sapphire-semantic-size-font-
|
|
176
|
+
font-size: var(--sapphire-semantic-size-font-body-md);
|
|
179
177
|
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
180
178
|
overflow: hidden;
|
|
181
179
|
visibility: hidden;
|
|
182
|
-
transition: padding-top var(--sapphire-semantic-time-motion-quick)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
180
|
+
transition: padding-top var(--sapphire-semantic-time-motion-quick)
|
|
181
|
+
var(--sapphire-semantic-transitions-dynamic),
|
|
182
|
+
padding-bottom var(--sapphire-semantic-time-motion-quick)
|
|
183
|
+
var(--sapphire-semantic-transitions-fade);
|
|
184
|
+
padding-right: var(--sapphire-semantic-size-spacing-md);
|
|
185
|
+
padding-left: var(--sapphire-semantic-size-spacing-md);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.sapphire-accordion__item--open > .sapphire-accordion__item-content-wrapper {
|
|
@@ -192,12 +192,12 @@
|
|
|
192
192
|
.sapphire-accordion__item--open
|
|
193
193
|
> .sapphire-accordion__item-content-wrapper
|
|
194
194
|
> .sapphire-accordion__item-content {
|
|
195
|
-
padding-top: var(--sapphire-semantic-size-spacing-
|
|
196
|
-
padding-bottom: var(--sapphire-semantic-size-spacing-
|
|
195
|
+
padding-top: var(--sapphire-semantic-size-spacing-md);
|
|
196
|
+
padding-bottom: var(--sapphire-semantic-size-spacing-4xl);
|
|
197
197
|
visibility: visible;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
.sapphire-accordion--negative-margin-self {
|
|
201
|
-
margin-left: calc(var(--sapphire-semantic-size-spacing-
|
|
202
|
-
width: calc(100% + (var(--sapphire-semantic-size-spacing-
|
|
201
|
+
margin-left: calc(var(--sapphire-semantic-size-spacing-md) * -1);
|
|
202
|
+
width: calc(100% + (var(--sapphire-semantic-size-spacing-md) * 2));
|
|
203
203
|
}
|
|
@@ -10,15 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
white-space: nowrap;
|
|
12
12
|
font-family: var(--sapphire-semantic-font-name-default);
|
|
13
|
-
font-weight: var(--sapphire-semantic-font-weight-default-
|
|
14
|
-
font-size: var(--sapphire-
|
|
13
|
+
font-weight: var(--sapphire-semantic-font-weight-default-medium);
|
|
14
|
+
font-size: var(--sapphire-semantic-size-font-body-md);
|
|
15
15
|
font-style: normal;
|
|
16
16
|
text-transform: capitalize;
|
|
17
|
-
/* Passive color by default */
|
|
18
|
-
background-color: var(
|
|
19
|
-
--sapphire-semantic-color-background-passive-secondary-default
|
|
20
|
-
);
|
|
21
|
-
color: var(--sapphire-semantic-color-content-default-primary);
|
|
22
17
|
|
|
23
18
|
/* The below is meant to address a font rendering quirk in OSX where the text
|
|
24
19
|
* looks bolder than intended due to subpixel rendering. This quirk generally
|
|
@@ -33,122 +28,104 @@
|
|
|
33
28
|
*/
|
|
34
29
|
-webkit-font-smoothing: antialiased;
|
|
35
30
|
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
|
|
32
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-neutral);
|
|
33
|
+
background: var(--sapphire-semantic-color-background-decorative-neutral);
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
/* Sizes */
|
|
39
|
-
.sapphire-avatar--xs {
|
|
40
|
-
height: var(--sapphire-semantic-size-height-control-xs);
|
|
41
|
-
width: var(--sapphire-semantic-size-height-control-xs);
|
|
42
|
-
border-radius: var(--sapphire-semantic-size-height-control-xs);
|
|
43
|
-
font-size: var(--sapphire-semantic-size-font-control-sm);
|
|
44
|
-
}
|
|
45
37
|
|
|
46
38
|
.sapphire-avatar--sm {
|
|
47
39
|
height: var(--sapphire-semantic-size-height-control-sm);
|
|
48
40
|
width: var(--sapphire-semantic-size-height-control-sm);
|
|
49
41
|
border-radius: var(--sapphire-semantic-size-height-control-sm);
|
|
50
|
-
font-size: var(--sapphire-semantic-size-font-
|
|
42
|
+
font-size: var(--sapphire-semantic-size-font-body-sm);
|
|
51
43
|
}
|
|
52
44
|
|
|
53
45
|
.sapphire-avatar--lg {
|
|
54
46
|
height: var(--sapphire-semantic-size-height-control-lg);
|
|
55
47
|
width: var(--sapphire-semantic-size-height-control-lg);
|
|
56
48
|
border-radius: var(--sapphire-semantic-size-height-control-lg);
|
|
57
|
-
font-size: var(--sapphire-global-size-font-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.sapphire-avatar--xl {
|
|
61
|
-
height: var(--sapphire-semantic-size-height-control-xl);
|
|
62
|
-
width: var(--sapphire-semantic-size-height-control-xl);
|
|
63
|
-
border-radius: var(--sapphire-semantic-size-height-control-xl);
|
|
64
|
-
font-size: var(--sapphire-global-size-font-130);
|
|
49
|
+
font-size: var(--sapphire-global-size-font-125);
|
|
65
50
|
}
|
|
66
51
|
|
|
67
52
|
/* Colors and variants */
|
|
68
|
-
.sapphire-avatar--
|
|
69
|
-
color: var(--sapphire-semantic-color-
|
|
70
|
-
background
|
|
71
|
-
--sapphire-semantic-color-background-positive-secondary-default
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.sapphire-avatar--negative {
|
|
76
|
-
color: var(--sapphire-semantic-color-content-negative-secondary-default);
|
|
77
|
-
background-color: var(
|
|
78
|
-
--sapphire-semantic-color-background-negative-secondary-default
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.sapphire-avatar--warning {
|
|
83
|
-
color: var(--sapphire-semantic-color-content-warning-secondary-default);
|
|
84
|
-
background-color: var(
|
|
85
|
-
--sapphire-semantic-color-background-warning-secondary-default
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.sapphire-avatar--informative {
|
|
90
|
-
color: var(--sapphire-semantic-color-content-informative-secondary-default);
|
|
91
|
-
background-color: var(
|
|
92
|
-
--sapphire-semantic-color-background-informative-secondary-default
|
|
93
|
-
);
|
|
53
|
+
.sapphire-avatar--decorative-1 {
|
|
54
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-1);
|
|
55
|
+
background: var(--sapphire-semantic-color-background-decorative-1);
|
|
94
56
|
}
|
|
95
57
|
|
|
96
|
-
.sapphire-avatar--
|
|
97
|
-
|
|
58
|
+
.sapphire-avatar--decorative-2 {
|
|
59
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-2);
|
|
60
|
+
background: var(--sapphire-semantic-color-background-decorative-2);
|
|
98
61
|
}
|
|
99
62
|
|
|
100
|
-
.sapphire-avatar--
|
|
101
|
-
|
|
63
|
+
.sapphire-avatar--decorative-3 {
|
|
64
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-3);
|
|
65
|
+
background: var(--sapphire-semantic-color-background-decorative-3);
|
|
102
66
|
}
|
|
103
67
|
|
|
104
|
-
.sapphire-avatar--
|
|
105
|
-
|
|
68
|
+
.sapphire-avatar--decorative-4 {
|
|
69
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-4);
|
|
70
|
+
background: var(--sapphire-semantic-color-background-decorative-4);
|
|
106
71
|
}
|
|
107
72
|
|
|
108
|
-
.sapphire-avatar--
|
|
109
|
-
|
|
73
|
+
.sapphire-avatar--decorative-5 {
|
|
74
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-5);
|
|
75
|
+
background: var(--sapphire-semantic-color-background-decorative-5);
|
|
110
76
|
}
|
|
111
77
|
|
|
112
|
-
.sapphire-avatar--
|
|
113
|
-
|
|
78
|
+
.sapphire-avatar--decorative-6 {
|
|
79
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-6);
|
|
80
|
+
background: var(--sapphire-semantic-color-background-decorative-6);
|
|
114
81
|
}
|
|
115
82
|
|
|
116
|
-
.sapphire-avatar--
|
|
117
|
-
|
|
83
|
+
.sapphire-avatar--decorative-7 {
|
|
84
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-7);
|
|
85
|
+
background: var(--sapphire-semantic-color-background-decorative-7);
|
|
118
86
|
}
|
|
119
87
|
|
|
120
|
-
.sapphire-avatar--
|
|
121
|
-
|
|
88
|
+
.sapphire-avatar--decorative-8 {
|
|
89
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-8);
|
|
90
|
+
background: var(--sapphire-semantic-color-background-decorative-8);
|
|
122
91
|
}
|
|
123
92
|
|
|
124
|
-
.sapphire-avatar--
|
|
125
|
-
|
|
93
|
+
.sapphire-avatar--decorative-9 {
|
|
94
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-9);
|
|
95
|
+
background: var(--sapphire-semantic-color-background-decorative-9);
|
|
126
96
|
}
|
|
127
97
|
|
|
128
|
-
.sapphire-avatar--
|
|
129
|
-
|
|
98
|
+
.sapphire-avatar--decorative-10 {
|
|
99
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-10);
|
|
100
|
+
background: var(--sapphire-semantic-color-background-decorative-10);
|
|
130
101
|
}
|
|
131
102
|
|
|
132
|
-
.sapphire-avatar--
|
|
133
|
-
|
|
103
|
+
.sapphire-avatar--decorative-11 {
|
|
104
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-11);
|
|
105
|
+
background: var(--sapphire-semantic-color-background-decorative-11);
|
|
134
106
|
}
|
|
135
107
|
|
|
136
|
-
.sapphire-avatar--
|
|
137
|
-
|
|
108
|
+
.sapphire-avatar--decorative-12 {
|
|
109
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-12);
|
|
110
|
+
background: var(--sapphire-semantic-color-background-decorative-12);
|
|
138
111
|
}
|
|
139
112
|
|
|
140
|
-
.sapphire-avatar--
|
|
141
|
-
|
|
113
|
+
.sapphire-avatar--decorative-13 {
|
|
114
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-13);
|
|
115
|
+
background: var(--sapphire-semantic-color-background-decorative-13);
|
|
142
116
|
}
|
|
143
117
|
|
|
144
|
-
.sapphire-avatar--
|
|
145
|
-
|
|
118
|
+
.sapphire-avatar--decorative-14 {
|
|
119
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-14);
|
|
120
|
+
background: var(--sapphire-semantic-color-background-decorative-14);
|
|
146
121
|
}
|
|
147
122
|
|
|
148
|
-
.sapphire-avatar--
|
|
149
|
-
|
|
123
|
+
.sapphire-avatar--decorative-15 {
|
|
124
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-15);
|
|
125
|
+
background: var(--sapphire-semantic-color-background-decorative-15);
|
|
150
126
|
}
|
|
151
127
|
|
|
152
|
-
.sapphire-avatar--
|
|
153
|
-
|
|
128
|
+
.sapphire-avatar--decorative-16 {
|
|
129
|
+
color: var(--sapphire-semantic-color-foreground-on-decorative-16);
|
|
130
|
+
background: var(--sapphire-semantic-color-background-decorative-16);
|
|
154
131
|
}
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
2
|
readonly "sapphire-avatar": string;
|
|
3
|
-
readonly "sapphire-avatar--xs": string;
|
|
4
3
|
readonly "sapphire-avatar--sm": string;
|
|
5
4
|
readonly "sapphire-avatar--lg": string;
|
|
6
|
-
readonly "sapphire-avatar--
|
|
7
|
-
readonly "sapphire-avatar--
|
|
8
|
-
readonly "sapphire-avatar--
|
|
9
|
-
readonly "sapphire-avatar--
|
|
10
|
-
readonly "sapphire-avatar--
|
|
11
|
-
readonly "sapphire-avatar--
|
|
12
|
-
readonly "sapphire-avatar--
|
|
13
|
-
readonly "sapphire-avatar--
|
|
14
|
-
readonly "sapphire-avatar--
|
|
15
|
-
readonly "sapphire-avatar--
|
|
16
|
-
readonly "sapphire-avatar--
|
|
17
|
-
readonly "sapphire-avatar--
|
|
18
|
-
readonly "sapphire-avatar--
|
|
19
|
-
readonly "sapphire-avatar--
|
|
20
|
-
readonly "sapphire-avatar--
|
|
21
|
-
readonly "sapphire-avatar--
|
|
22
|
-
readonly "sapphire-avatar--cobalt": string;
|
|
23
|
-
readonly "sapphire-avatar--forestGreen": string;
|
|
24
|
-
readonly "sapphire-avatar--teal": string;
|
|
25
|
-
readonly "sapphire-avatar--orange": string;
|
|
5
|
+
readonly "sapphire-avatar--decorative-1": string;
|
|
6
|
+
readonly "sapphire-avatar--decorative-2": string;
|
|
7
|
+
readonly "sapphire-avatar--decorative-3": string;
|
|
8
|
+
readonly "sapphire-avatar--decorative-4": string;
|
|
9
|
+
readonly "sapphire-avatar--decorative-5": string;
|
|
10
|
+
readonly "sapphire-avatar--decorative-6": string;
|
|
11
|
+
readonly "sapphire-avatar--decorative-7": string;
|
|
12
|
+
readonly "sapphire-avatar--decorative-8": string;
|
|
13
|
+
readonly "sapphire-avatar--decorative-9": string;
|
|
14
|
+
readonly "sapphire-avatar--decorative-10": string;
|
|
15
|
+
readonly "sapphire-avatar--decorative-11": string;
|
|
16
|
+
readonly "sapphire-avatar--decorative-12": string;
|
|
17
|
+
readonly "sapphire-avatar--decorative-13": string;
|
|
18
|
+
readonly "sapphire-avatar--decorative-14": string;
|
|
19
|
+
readonly "sapphire-avatar--decorative-15": string;
|
|
20
|
+
readonly "sapphire-avatar--decorative-16": string;
|
|
26
21
|
};
|
|
27
22
|
export = styles;
|
|
28
23
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@keyframes backdrop-fade-in {
|
|
2
2
|
from {
|
|
3
|
-
background
|
|
3
|
+
background: transparent;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
to {
|
|
7
|
-
background
|
|
7
|
+
background: var(--sapphire-semantic-color-background-backdrop);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@keyframes backdrop-fade-out {
|
|
12
12
|
from {
|
|
13
|
-
background
|
|
13
|
+
background: var(--sapphire-semantic-color-background-backdrop);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
to {
|
|
17
|
-
background
|
|
17
|
+
background: transparent;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
animation-name: backdrop-fade-in;
|
|
29
29
|
animation-duration: var(--sapphire-semantic-time-fade-default);
|
|
30
|
-
animation-timing-function:
|
|
30
|
+
animation-timing-function: var(--sapphire-semantic-transitions-fade);
|
|
31
31
|
animation-fill-mode: forwards;
|
|
32
32
|
}
|
|
33
33
|
|