@danske/sapphire-css 37.0.0 → 38.1.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/filterDropdown/filterDropdown.module.css +18 -0
- package/components/filterDropdown/filterDropdown.module.css.d.ts +7 -0
- package/components/popover/popover.module.css +12 -0
- package/components/popover/popover.module.css.d.ts +1 -0
- package/components/table/table.module.css +11 -0
- package/components/table/table.module.css.d.ts +1 -0
- package/components/toast/toast.module.css +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.sapphire-filter-dropdown {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%; /* meant to be rendered as a single child of an overlay container */
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.sapphire-filter-dropdown__body {
|
|
8
|
+
flex: 1;
|
|
9
|
+
overflow: auto;
|
|
10
|
+
padding: var(--sapphire-semantic-size-spacing-container-horizontal-sm);
|
|
11
|
+
padding-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sapphire-filter-dropdown__footer {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
padding: var(--sapphire-semantic-size-spacing-container-horizontal-sm);
|
|
18
|
+
}
|
|
@@ -28,6 +28,18 @@
|
|
|
28
28
|
*/
|
|
29
29
|
-webkit-font-smoothing: antialiased;
|
|
30
30
|
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* flex display makes it possible to have a content container with height: 100%, which otherwise
|
|
34
|
+
* is not possible when popover only has a max-height and not a height.
|
|
35
|
+
* Having an extra block inner container (.sapphire-popover__content) then avoid having the
|
|
36
|
+
* content of the popover a direct flex child which comes with some side effects.
|
|
37
|
+
*/
|
|
38
|
+
display: flex;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sapphire-popover__content {
|
|
42
|
+
flex-basis: 100%;
|
|
31
43
|
}
|
|
32
44
|
|
|
33
45
|
.sapphire-popover--padded {
|
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
border-collapse: collapse;
|
|
31
31
|
border-spacing: 0;
|
|
32
32
|
width: 100%;
|
|
33
|
+
table-layout: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sapphire-table__table--fixed-layout {
|
|
37
|
+
table-layout: fixed;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
.sapphire-table-sortedIcon {
|
|
@@ -199,11 +204,13 @@
|
|
|
199
204
|
color: var(--sapphire-semantic-color-content-default-primary);
|
|
200
205
|
font-family: var(--sapphire-semantic-font-name-default);
|
|
201
206
|
font-weight: var(--sapphire-semantic-font-weight-default-regular);
|
|
207
|
+
overflow-wrap: break-word;
|
|
202
208
|
}
|
|
203
209
|
|
|
204
210
|
.sapphire-table__cell-contents {
|
|
205
211
|
display: block;
|
|
206
212
|
width: 100%;
|
|
213
|
+
overflow-wrap: break-word;
|
|
207
214
|
}
|
|
208
215
|
|
|
209
216
|
/* Overflow behaviour */
|
|
@@ -417,6 +424,10 @@ and to avoid the complications of merging the two shadows */ {
|
|
|
417
424
|
background-color: var(
|
|
418
425
|
--sapphire-semantic-color-background-action-secondary-default
|
|
419
426
|
);
|
|
427
|
+
position: sticky;
|
|
428
|
+
top: 0;
|
|
429
|
+
left: 0;
|
|
430
|
+
z-index: 3;
|
|
420
431
|
}
|
|
421
432
|
|
|
422
433
|
/**
|
|
@@ -2,6 +2,7 @@ declare const styles: {
|
|
|
2
2
|
readonly "sapphire-table": string;
|
|
3
3
|
readonly "sapphire-table--overflow": string;
|
|
4
4
|
readonly "sapphire-table__table": string;
|
|
5
|
+
readonly "sapphire-table__table--fixed-layout": string;
|
|
5
6
|
readonly "sapphire-table-sortedIcon": string;
|
|
6
7
|
readonly "sapphire-table-sortableIcon": string;
|
|
7
8
|
readonly "sapphire-table__head": string;
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
align-items: center;
|
|
147
147
|
justify-content: space-between;
|
|
148
148
|
|
|
149
|
+
overflow-wrap: anywhere;
|
|
149
150
|
background-color: var(--sapphire-semantic-color-background-surface);
|
|
150
151
|
color: var(--sapphire-semantic-color-content-default-primary);
|
|
151
152
|
font-family: var(--sapphire-semantic-font-name-default);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danske/sapphire-css",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "38.1.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,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"typescript": "~4.6.4"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@danske/sapphire-design-tokens": "^41.
|
|
70
|
+
"@danske/sapphire-design-tokens": "^41.5.0"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "836d631a89aec147d5f4c817d7d7e9f02c9f9d7b"
|
|
73
73
|
}
|