@danske/sapphire-css 34.0.0 → 35.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/components/listbox/listbox.module.css +25 -0
- package/components/listbox/listbox.module.css.d.ts +1 -0
- package/components/modalLayout/modalLayout.module.css +3 -8
- package/components/modalLayout/modalLayout.module.css.d.ts +0 -1
- package/components/text/text.module.css +1 -1
- package/package.json +4 -4
|
@@ -192,6 +192,31 @@
|
|
|
192
192
|
list-style: none;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
.sapphire-listbox__section-header {
|
|
196
|
+
font-size: var(--sapphire-semantic-size-font-text-md);
|
|
197
|
+
color: var(--sapphire-semantic-color-content-default-secondary);
|
|
198
|
+
padding: var(--sapphire-semantic-size-spacing-30)
|
|
199
|
+
var(--sapphire-semantic-size-spacing-40)
|
|
200
|
+
var(--sapphire-semantic-size-spacing-20)
|
|
201
|
+
var(--sapphire-semantic-size-spacing-40);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.sapphire-listbox--md .sapphire-listbox__section-header {
|
|
205
|
+
font-size: var(--sapphire-semantic-size-font-text-sm);
|
|
206
|
+
padding: var(--sapphire-semantic-size-spacing-25)
|
|
207
|
+
var(--sapphire-global-size-generic-35)
|
|
208
|
+
var(--sapphire-global-size-generic-15)
|
|
209
|
+
var(--sapphire-global-size-generic-35);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.sapphire-listbox--sm .sapphire-listbox__section-header {
|
|
213
|
+
font-size: var(--sapphire-semantic-size-font-text-sm);
|
|
214
|
+
padding: var(--sapphire-semantic-size-spacing-20)
|
|
215
|
+
var(--sapphire-semantic-size-spacing-30)
|
|
216
|
+
var(--sapphire-semantic-size-spacing-10)
|
|
217
|
+
var(--sapphire-semantic-size-spacing-30);
|
|
218
|
+
}
|
|
219
|
+
|
|
195
220
|
.sapphire-listbox__separator {
|
|
196
221
|
height: var(--sapphire-semantic-size-border-sm);
|
|
197
222
|
width: 100%;
|
|
@@ -12,6 +12,7 @@ declare const styles: {
|
|
|
12
12
|
readonly "sapphire-listbox__secondary-text": string;
|
|
13
13
|
readonly "is-disabled": string;
|
|
14
14
|
readonly "sapphire-listbox__section": string;
|
|
15
|
+
readonly "sapphire-listbox__section-header": string;
|
|
15
16
|
readonly "sapphire-listbox__separator": string;
|
|
16
17
|
readonly "is-focus": string;
|
|
17
18
|
readonly "js-focus": string;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
padding: var(--sapphire-semantic-size-spacing-50)
|
|
19
19
|
var(--sapphire-semantic-size-spacing-container-horizontal-md);
|
|
20
|
-
gap: var(--sapphire-semantic-size-spacing-
|
|
20
|
+
gap: var(--sapphire-semantic-size-spacing-30);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.sapphire-modal-layout__body {
|
|
@@ -54,11 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
.sapphire-modal-layout__subheading {
|
|
56
56
|
color: var(--sapphire-semantic-color-content-default-secondary);
|
|
57
|
-
margin-top: var(--sapphire-semantic-size-spacing-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.sapphire-modal-layout__close-button-container {
|
|
61
|
-
margin-left: var(--sapphire-semantic-size-spacing-50);
|
|
57
|
+
margin-top: var(--sapphire-semantic-size-spacing-20);
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
.sapphire-modal-layout__header-container + .sapphire-modal-layout__body {
|
|
@@ -73,10 +69,9 @@
|
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
.sapphire-modal-layout:not(:has(.sapphire-modal-layout__footer))
|
|
76
|
-
.sapphire-modal-layout__body {
|
|
72
|
+
.sapphire-modal-layout__body:not(.sapphire-modal-layout__body--no-padding) {
|
|
77
73
|
padding-bottom: var(--sapphire-semantic-size-spacing-50);
|
|
78
74
|
}
|
|
79
|
-
|
|
80
75
|
.sapphire-modal-layout__body + .sapphire-modal-layout__footer-container {
|
|
81
76
|
/** invisible line wrap attached only for visual consistency, once we get attached border-bottom with scrolled content **/
|
|
82
77
|
border-top: var(--sapphire-semantic-size-border-sm) solid transparent;
|
|
@@ -8,7 +8,6 @@ declare const styles: {
|
|
|
8
8
|
readonly "sapphire-modal-layout__footer": string;
|
|
9
9
|
readonly "sapphire-modal-layout__heading-container": string;
|
|
10
10
|
readonly "sapphire-modal-layout__subheading": string;
|
|
11
|
-
readonly "sapphire-modal-layout__close-button-container": string;
|
|
12
11
|
readonly "sapphire-modal-layout__body--scrolled": string;
|
|
13
12
|
readonly "sapphire-modal-layout__body--scrollable": string;
|
|
14
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danske/sapphire-css",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "35.0.0",
|
|
4
4
|
"description": "CSS implementation of the Sapphire Design System from Danske Bank A/S",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@babel/preset-react": "^7.18.6",
|
|
47
47
|
"@babel/preset-typescript": "^7.18.6",
|
|
48
48
|
"@danske/sapphire-icons": "^2.0.0",
|
|
49
|
-
"@danske/sapphire-react": "^3.
|
|
49
|
+
"@danske/sapphire-react": "^4.3.0",
|
|
50
50
|
"@storybook/addon-essentials": "^6.5.13",
|
|
51
51
|
"@storybook/addon-links": "^6.5.13",
|
|
52
52
|
"@storybook/addons": "^6.5.13",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"typescript": "~4.6.4"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@danske/sapphire-design-tokens": "^41.
|
|
69
|
+
"@danske/sapphire-design-tokens": "^41.2.0"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "48ef1e292c3525b32559a8450dbd22b1df5e55db"
|
|
72
72
|
}
|