@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
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
justify-content: center;
|
|
6
6
|
align-items: center;
|
|
7
7
|
cursor: pointer;
|
|
8
|
-
background-color: var(--sapphire-
|
|
9
|
-
width: var(--sapphire-
|
|
10
|
-
min-width: var(--sapphire-
|
|
11
|
-
height: var(--sapphire-
|
|
12
|
-
min-height: var(--sapphire-
|
|
13
|
-
padding: var(--sapphire-
|
|
14
|
-
border-radius: var(--sapphire-
|
|
8
|
+
background-color: var(--sapphire-semantic-color-background-control-default);
|
|
9
|
+
width: var(--sapphire-global-size-generic-800);
|
|
10
|
+
min-width: var(--sapphire-global-size-generic-800);
|
|
11
|
+
height: var(--sapphire-global-size-generic-400);
|
|
12
|
+
min-height: var(--sapphire-global-size-generic-400);
|
|
13
|
+
padding: var(--sapphire-semantic-size-spacing-50);
|
|
14
|
+
border-radius: var(--sapphire-semantic-size-radius-lg);
|
|
15
15
|
transition-property: opacity, background-color, color;
|
|
16
|
-
transition-duration: var(--sapphire-
|
|
16
|
+
transition-duration: var(--sapphire-semantic-time-fade-quick);
|
|
17
17
|
transition-timing-function: ease-in-out;
|
|
18
18
|
/* The below is meant to address a font rendering quirk in OSX where the text
|
|
19
19
|
* looks bolder than intended due to subpixel rendering. This quirk generally
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
/* Dashed borders cannot be customised, so we use a trick with the SVG image to customise it */
|
|
43
43
|
mask: var(--mask-data);
|
|
44
44
|
-webkit-mask: var(--mask-data);
|
|
45
|
-
background: var(--sapphire-
|
|
46
|
-
border-radius: var(--sapphire-
|
|
45
|
+
background: var(--sapphire-semantic-color-border-primary-default);
|
|
46
|
+
border-radius: var(--sapphire-semantic-size-radius-lg);
|
|
47
47
|
transition-property: opacity, background-color, color;
|
|
48
|
-
transition-duration: var(--sapphire-
|
|
48
|
+
transition-duration: var(--sapphire-semantic-time-fade-quick);
|
|
49
49
|
transition-timing-function: ease-in-out;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.sapphire-dropzone.sapphire-dropzone--error::before {
|
|
53
|
-
background: var(--sapphire-
|
|
53
|
+
background: var(--sapphire-semantic-color-border-field-error);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.sapphire-dropzone:not(:disabled):not(.is-disabled):not(:active):not(
|
|
@@ -59,7 +59,9 @@
|
|
|
59
59
|
.sapphire-dropzone:not(:disabled):not(.is-disabled):not(:active):not(
|
|
60
60
|
.is-active
|
|
61
61
|
).is-hover {
|
|
62
|
-
background-color: var(
|
|
62
|
+
background-color: var(
|
|
63
|
+
--sapphire-semantic-color-background-action-secondary-hover
|
|
64
|
+
);
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
.sapphire-dropzone:not(:disabled):not(.is-disabled).sapphire-dropzone:active,
|
|
@@ -69,7 +71,9 @@
|
|
|
69
71
|
.sapphire-dropzone:not(:disabled):not(
|
|
70
72
|
.is-disabled
|
|
71
73
|
).sapphire-dropzone.is-active {
|
|
72
|
-
background-color: var(
|
|
74
|
+
background-color: var(
|
|
75
|
+
--sapphire-semantic-color-background-selection-unselected-active
|
|
76
|
+
);
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
.sapphire-dropzone:focus {
|
|
@@ -85,21 +89,23 @@
|
|
|
85
89
|
.sapphire-dropzone:not(.js-focus):focus-visible::before {
|
|
86
90
|
mask: var(--mask-data);
|
|
87
91
|
-webkit-mask: var(--mask-data);
|
|
88
|
-
background: var(--sapphire-
|
|
92
|
+
background: var(--sapphire-semantic-color-focus-ring);
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
.sapphire-dropzone:disabled,
|
|
92
96
|
.sapphire-dropzone.is-disabled {
|
|
93
|
-
opacity: var(--sapphire-
|
|
97
|
+
opacity: var(--sapphire-semantic-opacity-disabled);
|
|
94
98
|
cursor: not-allowed;
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
.sapphire-dropzone--dropping {
|
|
98
|
-
background: var(
|
|
102
|
+
background: var(
|
|
103
|
+
--sapphire-semantic-color-background-selection-selected-hover
|
|
104
|
+
);
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
.sapphire-dropzone.sapphire-dropzone--dropping::before {
|
|
102
|
-
background: var(--sapphire-
|
|
108
|
+
background: var(--sapphire-semantic-color-content-action-secondary-default);
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
.sapphire-dropzone__content {
|
|
@@ -110,18 +116,18 @@
|
|
|
110
116
|
}
|
|
111
117
|
|
|
112
118
|
.sapphire-dropzone__icon {
|
|
113
|
-
color: var(--sapphire-
|
|
114
|
-
margin-bottom: var(--sapphire-
|
|
119
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
120
|
+
margin-bottom: var(--sapphire-semantic-size-spacing-control-vertical-lg);
|
|
115
121
|
}
|
|
116
122
|
|
|
117
123
|
.sapphire-dropzone--dropping .sapphire-dropzone__icon {
|
|
118
|
-
color: var(--sapphire-
|
|
124
|
+
color: var(--sapphire-semantic-color-background-action-primary-default);
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
.sapphire-dropzone__heading {
|
|
122
|
-
margin-bottom: var(--sapphire-
|
|
128
|
+
margin-bottom: var(--sapphire-semantic-size-spacing-control-vertical-sm);
|
|
123
129
|
}
|
|
124
130
|
|
|
125
131
|
.sapphire-dropzone--error .sapphire-dropzone__paragraph > * {
|
|
126
|
-
color: var(--sapphire-
|
|
132
|
+
color: var(--sapphire-semantic-color-content-negative-secondary-default);
|
|
127
133
|
}
|
|
@@ -4,39 +4,39 @@
|
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
margin: auto;
|
|
7
|
-
gap: var(--sapphire-
|
|
8
|
-
max-width: var(--sapphire-
|
|
7
|
+
gap: var(--sapphire-semantic-size-spacing-50);
|
|
8
|
+
max-width: var(--sapphire-global-size-generic-1000);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.sapphire-feedback-message__icon {
|
|
12
|
-
padding: var(--sapphire-
|
|
12
|
+
padding: var(--sapphire-semantic-size-spacing-30);
|
|
13
13
|
border-radius: 100%; /* big enough value */
|
|
14
14
|
line-height: 0; /* to make sure height won't exceed width */
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.sapphire-feedback-message__icon--success {
|
|
18
18
|
background-color: var(
|
|
19
|
-
--sapphire-
|
|
19
|
+
--sapphire-semantic-color-background-positive-secondary-default
|
|
20
20
|
);
|
|
21
|
-
color: var(--sapphire-
|
|
21
|
+
color: var(--sapphire-semantic-color-content-positive-secondary-default);
|
|
22
22
|
}
|
|
23
23
|
.sapphire-feedback-message__icon--error {
|
|
24
24
|
background-color: var(
|
|
25
|
-
--sapphire-
|
|
25
|
+
--sapphire-semantic-color-background-negative-secondary-default
|
|
26
26
|
);
|
|
27
|
-
color: var(--sapphire-
|
|
27
|
+
color: var(--sapphire-semantic-color-content-negative-secondary-default);
|
|
28
28
|
}
|
|
29
29
|
.sapphire-feedback-message__icon--warning {
|
|
30
30
|
background-color: var(
|
|
31
|
-
--sapphire-
|
|
31
|
+
--sapphire-semantic-color-background-warning-secondary-default
|
|
32
32
|
);
|
|
33
|
-
color: var(--sapphire-
|
|
33
|
+
color: var(--sapphire-semantic-color-content-warning-secondary-default);
|
|
34
34
|
}
|
|
35
35
|
.sapphire-feedback-message__icon--informative {
|
|
36
36
|
background-color: var(
|
|
37
|
-
--sapphire-
|
|
37
|
+
--sapphire-semantic-color-background-informative-secondary-default
|
|
38
38
|
);
|
|
39
|
-
color: var(--sapphire-
|
|
39
|
+
color: var(--sapphire-semantic-color-content-informative-secondary-default);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.sapphire-feedback-message__content {
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
flex-direction: column;
|
|
45
45
|
align-items: center;
|
|
46
46
|
text-align: center;
|
|
47
|
-
gap: var(--sapphire-
|
|
47
|
+
gap: var(--sapphire-semantic-size-spacing-30);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.sapphire-feedback-message__body {
|
|
51
|
-
color: var(--sapphire-
|
|
52
|
-
font-family: var(--sapphire-
|
|
51
|
+
color: var(--sapphire-semantic-color-content-default-secondary);
|
|
52
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
53
53
|
font-size: var(--sapphire-global-size-font-88);
|
|
54
|
-
line-height: var(--sapphire-
|
|
54
|
+
line-height: var(--sapphire-semantic-size-line-height-md);
|
|
55
55
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.sapphire-field {
|
|
2
2
|
display: inline-grid;
|
|
3
3
|
grid-template-columns: auto; /* One column by default */
|
|
4
|
-
row-gap: var(--sapphire-
|
|
5
|
-
column-gap: var(--sapphire-
|
|
6
|
-
font-family: var(--sapphire-
|
|
4
|
+
row-gap: var(--sapphire-semantic-size-spacing-20);
|
|
5
|
+
column-gap: var(--sapphire-semantic-size-spacing-40);
|
|
6
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
7
7
|
grid-auto-rows: min-content;
|
|
8
8
|
|
|
9
9
|
/* The below is meant to address a font rendering quirk in OSX where the text
|
|
@@ -57,7 +57,7 @@ legend.sapphire-field__label {
|
|
|
57
57
|
*/
|
|
58
58
|
.sapphire-field__control--group {
|
|
59
59
|
display: flex;
|
|
60
|
-
gap: var(--sapphire-
|
|
60
|
+
gap: var(--sapphire-semantic-size-spacing-control-horizontal-lg);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
@@ -90,14 +90,14 @@ legend.sapphire-field__label {
|
|
|
90
90
|
.sapphire-field__note-row {
|
|
91
91
|
display: flex;
|
|
92
92
|
align-items: top;
|
|
93
|
-
font-size: var(--sapphire-
|
|
94
|
-
line-height: var(--sapphire-
|
|
95
|
-
color: var(--sapphire-
|
|
93
|
+
font-size: var(--sapphire-semantic-size-font-label-md);
|
|
94
|
+
line-height: var(--sapphire-semantic-size-line-height-md);
|
|
95
|
+
color: var(--sapphire-semantic-color-content-default-secondary);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.sapphire-field--
|
|
99
|
-
font-size: var(--sapphire-
|
|
100
|
-
line-height: var(--sapphire-
|
|
98
|
+
.sapphire-field--md .sapphire-field__note-row {
|
|
99
|
+
font-size: var(--sapphire-semantic-size-font-label-sm);
|
|
100
|
+
line-height: var(--sapphire-semantic-size-line-height-sm);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.sapphire-field__note {
|
|
@@ -105,14 +105,14 @@ legend.sapphire-field__label {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.sapphire-field--error .sapphire-field__note {
|
|
108
|
-
color: var(--sapphire-
|
|
108
|
+
color: var(--sapphire-semantic-color-content-negative-secondary-default);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* Disabled
|
|
113
113
|
*/
|
|
114
114
|
.sapphire-field.is-disabled {
|
|
115
|
-
opacity: var(--sapphire-
|
|
115
|
+
opacity: var(--sapphire-semantic-opacity-disabled);
|
|
116
116
|
cursor: not-allowed;
|
|
117
117
|
}
|
|
118
118
|
.sapphire-field.is-disabled .sapphire-field__control * {
|
|
@@ -135,12 +135,12 @@ legend.sapphire-field__label {
|
|
|
135
135
|
/* label is center aligned with control by default. But if the control is too long (e.g. textarea)
|
|
136
136
|
* the label stays at the top (max-height)
|
|
137
137
|
*/
|
|
138
|
-
max-height: var(--sapphire-
|
|
138
|
+
max-height: var(--sapphire-semantic-size-height-input-lg);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.sapphire-field--label-placement-side.sapphire-field--
|
|
141
|
+
.sapphire-field--label-placement-side.sapphire-field--md
|
|
142
142
|
.sapphire-field__label {
|
|
143
|
-
max-height: var(--sapphire-
|
|
143
|
+
max-height: var(--sapphire-semantic-size-height-input-md);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.sapphire-field--label-placement-side.sapphire-field--label-alignment-top
|
|
@@ -157,7 +157,7 @@ legend.sapphire-field__label {
|
|
|
157
157
|
display: inline-flex;
|
|
158
158
|
flex-direction: column;
|
|
159
159
|
width: min-content; /* this is needed to have the labels column shrunk to the largest one */
|
|
160
|
-
gap: var(--sapphire-
|
|
160
|
+
gap: var(--sapphire-semantic-size-spacing-50);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.sapphire-fieldset .sapphire-field--label-placement-side {
|
|
@@ -6,7 +6,7 @@ declare const styles: {
|
|
|
6
6
|
readonly "sapphire-field--no-shrink": string;
|
|
7
7
|
readonly "sapphire-field__message": string;
|
|
8
8
|
readonly "sapphire-field__note-row": string;
|
|
9
|
-
readonly "sapphire-field--
|
|
9
|
+
readonly "sapphire-field--md": string;
|
|
10
10
|
readonly "sapphire-field__note": string;
|
|
11
11
|
readonly "sapphire-field--error": string;
|
|
12
12
|
readonly "is-disabled": string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.sapphire-field-group {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
|
-
column-gap: var(--sapphire-
|
|
5
|
-
row-gap: var(--sapphire-
|
|
4
|
+
column-gap: var(--sapphire-semantic-size-spacing-50);
|
|
5
|
+
row-gap: var(--sapphire-semantic-size-spacing-30);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.sapphire-field-group--horizontal {
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.sapphire-field-group--
|
|
17
|
-
row-gap: var(--sapphire-
|
|
16
|
+
.sapphire-field-group--md {
|
|
17
|
+
row-gap: var(--sapphire-semantic-size-spacing-20);
|
|
18
18
|
}
|
|
@@ -2,7 +2,7 @@ declare const styles: {
|
|
|
2
2
|
readonly "sapphire-field-group": string;
|
|
3
3
|
readonly "sapphire-field-group--horizontal": string;
|
|
4
4
|
readonly "sapphire-field-group--vertical": string;
|
|
5
|
-
readonly "sapphire-field-group--
|
|
5
|
+
readonly "sapphire-field-group--md": string;
|
|
6
6
|
};
|
|
7
7
|
export = styles;
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
margin-top: 0px;
|
|
5
5
|
margin-bottom: 0px;
|
|
6
6
|
|
|
7
|
-
line-height: var(--sapphire-
|
|
7
|
+
line-height: var(--sapphire-global-size-line-height-sm);
|
|
8
8
|
|
|
9
9
|
/* The below is meant to address a font rendering quirk in OSX where the text
|
|
10
10
|
* looks bolder than intended due to subpixel rendering. This quirk generally
|
|
@@ -23,121 +23,73 @@
|
|
|
23
23
|
|
|
24
24
|
/* heading levels */
|
|
25
25
|
.sapphire-heading--level1 {
|
|
26
|
-
font-family: var(--sapphire-
|
|
27
|
-
font-weight: var(--sapphire-
|
|
28
|
-
font-size: var(--sapphire-
|
|
29
|
-
|
|
30
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level1);
|
|
31
|
-
color: var(--sapphire-heading-color-text-level1);
|
|
26
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
27
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
28
|
+
font-size: var(--sapphire-global-size-font-220);
|
|
29
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
.sapphire-heading--level2 {
|
|
35
|
-
font-family: var(--sapphire-
|
|
36
|
-
font-weight: var(--sapphire-
|
|
37
|
-
font-size: var(--sapphire-
|
|
38
|
-
|
|
39
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level2);
|
|
40
|
-
color: var(--sapphire-heading-color-text-level2);
|
|
33
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
34
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
35
|
+
font-size: var(--sapphire-global-size-font-150);
|
|
36
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
41
37
|
}
|
|
42
38
|
|
|
43
39
|
.sapphire-heading--level3 {
|
|
44
|
-
font-family: var(--sapphire-
|
|
45
|
-
font-weight: var(--sapphire-
|
|
46
|
-
font-size: var(--sapphire-
|
|
47
|
-
|
|
48
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level3);
|
|
49
|
-
color: var(--sapphire-heading-color-text-level3);
|
|
40
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
41
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
42
|
+
font-size: var(--sapphire-global-size-font-130);
|
|
43
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
50
44
|
}
|
|
51
45
|
|
|
52
46
|
.sapphire-heading--level4 {
|
|
53
|
-
font-family: var(--sapphire-
|
|
54
|
-
font-weight: var(--sapphire-
|
|
55
|
-
font-size: var(--sapphire-
|
|
56
|
-
|
|
57
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level4);
|
|
58
|
-
color: var(--sapphire-heading-color-text-level4);
|
|
47
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
48
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
49
|
+
font-size: var(--sapphire-global-size-font-112);
|
|
50
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
59
51
|
}
|
|
60
52
|
|
|
61
53
|
.sapphire-heading--level5 {
|
|
62
|
-
font-family: var(--sapphire-
|
|
63
|
-
font-weight: var(--sapphire-
|
|
64
|
-
font-size: var(--sapphire-
|
|
65
|
-
|
|
66
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level5);
|
|
67
|
-
color: var(--sapphire-heading-color-text-level5);
|
|
54
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
55
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
56
|
+
font-size: var(--sapphire-global-size-font-106);
|
|
57
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
68
58
|
}
|
|
69
59
|
|
|
70
60
|
.sapphire-heading--level6 {
|
|
71
|
-
font-family: var(--sapphire-
|
|
72
|
-
font-weight: var(--sapphire-
|
|
73
|
-
font-size: var(--sapphire-
|
|
74
|
-
|
|
75
|
-
letter-spacing: var(--sapphire-heading-font-letter-spacing-default-level6);
|
|
76
|
-
color: var(--sapphire-heading-color-text-level6);
|
|
61
|
+
font-family: var(--sapphire-semantic-font-name-default);
|
|
62
|
+
font-weight: var(--sapphire-semantic-font-weight-default-semibold);
|
|
63
|
+
font-size: var(--sapphire-global-size-font-100);
|
|
64
|
+
color: var(--sapphire-semantic-color-content-default-primary);
|
|
77
65
|
}
|
|
78
66
|
|
|
79
67
|
.sapphire-heading--level1.sapphire-heading--alternative {
|
|
80
|
-
font-family: var(--sapphire-
|
|
81
|
-
font-weight: var(--sapphire-
|
|
82
|
-
text-transform: var(
|
|
83
|
-
--sapphire-heading-font-text-transform-alternative-level1
|
|
84
|
-
);
|
|
85
|
-
letter-spacing: var(
|
|
86
|
-
--sapphire-heading-font-letter-spacing-alternative-level1
|
|
87
|
-
);
|
|
68
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
69
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
88
70
|
}
|
|
89
71
|
|
|
90
72
|
.sapphire-heading--level2.sapphire-heading--alternative {
|
|
91
|
-
font-family: var(--sapphire-
|
|
92
|
-
font-weight: var(--sapphire-
|
|
93
|
-
text-transform: var(
|
|
94
|
-
--sapphire-heading-font-text-transform-alternative-level2
|
|
95
|
-
);
|
|
96
|
-
letter-spacing: var(
|
|
97
|
-
--sapphire-heading-font-letter-spacing-alternative-level2
|
|
98
|
-
);
|
|
73
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
74
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
99
75
|
}
|
|
100
76
|
|
|
101
77
|
.sapphire-heading--level3.sapphire-heading--alternative {
|
|
102
|
-
font-family: var(--sapphire-
|
|
103
|
-
font-weight: var(--sapphire-
|
|
104
|
-
text-transform: var(
|
|
105
|
-
--sapphire-heading-font-text-transform-alternative-level3
|
|
106
|
-
);
|
|
107
|
-
letter-spacing: var(
|
|
108
|
-
--sapphire-heading-font-letter-spacing-alternative-level3
|
|
109
|
-
);
|
|
78
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
79
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
110
80
|
}
|
|
111
81
|
|
|
112
82
|
.sapphire-heading--level4.sapphire-heading--alternative {
|
|
113
|
-
font-family: var(--sapphire-
|
|
114
|
-
font-weight: var(--sapphire-
|
|
115
|
-
text-transform: var(
|
|
116
|
-
--sapphire-heading-font-text-transform-alternative-level4
|
|
117
|
-
);
|
|
118
|
-
letter-spacing: var(
|
|
119
|
-
--sapphire-heading-font-letter-spacing-alternative-level4
|
|
120
|
-
);
|
|
83
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
84
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
121
85
|
}
|
|
122
86
|
|
|
123
87
|
.sapphire-heading--level5.sapphire-heading--alternative {
|
|
124
|
-
font-family: var(--sapphire-
|
|
125
|
-
font-weight: var(--sapphire-
|
|
126
|
-
text-transform: var(
|
|
127
|
-
--sapphire-heading-font-text-transform-alternative-level5
|
|
128
|
-
);
|
|
129
|
-
letter-spacing: var(
|
|
130
|
-
--sapphire-heading-font-letter-spacing-alternative-level5
|
|
131
|
-
);
|
|
88
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
89
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
132
90
|
}
|
|
133
91
|
|
|
134
92
|
.sapphire-heading--level6.sapphire-heading--alternative {
|
|
135
|
-
font-family: var(--sapphire-
|
|
136
|
-
font-weight: var(--sapphire-
|
|
137
|
-
text-transform: var(
|
|
138
|
-
--sapphire-heading-font-text-transform-alternative-level6
|
|
139
|
-
);
|
|
140
|
-
letter-spacing: var(
|
|
141
|
-
--sapphire-heading-font-letter-spacing-alternative-level6
|
|
142
|
-
);
|
|
93
|
+
font-family: var(--sapphire-semantic-font-name-display);
|
|
94
|
+
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
143
95
|
}
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
flex-shrink: 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sapphire-icon.sapphire-icon--
|
|
6
|
-
height: var(--sapphire-
|
|
7
|
-
width: var(--sapphire-
|
|
5
|
+
.sapphire-icon.sapphire-icon--sm {
|
|
6
|
+
height: var(--sapphire-semantic-size-icon-sm);
|
|
7
|
+
width: var(--sapphire-semantic-size-icon-sm);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.sapphire-icon.sapphire-icon--
|
|
11
|
-
height: var(--sapphire-
|
|
12
|
-
width: var(--sapphire-
|
|
10
|
+
.sapphire-icon.sapphire-icon--md {
|
|
11
|
+
height: var(--sapphire-semantic-size-icon-md);
|
|
12
|
+
width: var(--sapphire-semantic-size-icon-md);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.sapphire-icon.sapphire-icon--
|
|
16
|
-
height: var(--sapphire-
|
|
17
|
-
width: var(--sapphire-
|
|
15
|
+
.sapphire-icon.sapphire-icon--lg {
|
|
16
|
+
height: var(--sapphire-semantic-size-icon-lg);
|
|
17
|
+
width: var(--sapphire-semantic-size-icon-lg);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.sapphire-icon.sapphire-icon--
|
|
21
|
-
height: var(--sapphire-
|
|
22
|
-
width: var(--sapphire-
|
|
20
|
+
.sapphire-icon.sapphire-icon--xl {
|
|
21
|
+
height: var(--sapphire-semantic-size-icon-xl);
|
|
22
|
+
width: var(--sapphire-semantic-size-icon-xl);
|
|
23
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
2
|
readonly "sapphire-icon": string;
|
|
3
|
-
readonly "sapphire-icon--
|
|
4
|
-
readonly "sapphire-icon--
|
|
5
|
-
readonly "sapphire-icon--
|
|
6
|
-
readonly "sapphire-icon--
|
|
3
|
+
readonly "sapphire-icon--sm": string;
|
|
4
|
+
readonly "sapphire-icon--md": string;
|
|
5
|
+
readonly "sapphire-icon--lg": string;
|
|
6
|
+
readonly "sapphire-icon--xl": string;
|
|
7
7
|
};
|
|
8
8
|
export = styles;
|
|
9
9
|
|