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