@danske/sapphire-css 38.0.0 → 38.1.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.
@@ -8,6 +8,7 @@
8
8
  flex: 1;
9
9
  overflow: auto;
10
10
  padding: var(--sapphire-semantic-size-spacing-container-horizontal-sm);
11
+ padding-bottom: 0;
11
12
  }
12
13
 
13
14
  .sapphire-filter-dropdown__footer {
@@ -13,20 +13,17 @@
13
13
  -webkit-font-smoothing: antialiased;
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
 
16
- /**
17
- * For making line-height take effect in all scenarios
18
- * Otherwise in some cases the link can be set to display: inline
19
- * by the browser which would not make line-height apply
20
- * and focus styles would eg. be too cramped
21
- */
22
- display: inline-block;
16
+ display: inline;
23
17
 
24
18
  font-family: var(--sapphire-semantic-font-name-default);
25
19
  font-size: var(--sapphire-semantic-size-font-text-lg);
26
20
  line-height: var(--sapphire-semantic-size-line-height-md);
27
21
  cursor: pointer;
28
- outline: 0;
29
22
  border-radius: var(--sapphire-semantic-size-radius-xs);
23
+
24
+ text-decoration-skip-ink: none;
25
+
26
+ outline: none;
30
27
  }
31
28
 
32
29
  /* Disabled state for all variants */
@@ -53,8 +50,7 @@
53
50
  .sapphire-link--primary.is-focus,
54
51
  .sapphire-link--primary:not(.js-focus):focus-visible {
55
52
  color: var(--sapphire-semantic-color-content-link-primary-default);
56
- outline: var(--sapphire-semantic-size-focus-ring) solid
57
- var(--sapphire-semantic-color-focus-ring);
53
+ text-decoration-style: double;
58
54
  }
59
55
  .sapphire-link--primary:not(:disabled):not(.is-disabled).is-active,
60
56
  .sapphire-link--primary:not(:disabled):not(.is-disabled):active,
@@ -79,8 +75,7 @@
79
75
  .sapphire-link--secondary.is-focus,
80
76
  .sapphire-link--secondary:not(.js-focus):focus-visible {
81
77
  color: var(--sapphire-semantic-color-content-link-secondary-default);
82
- outline: var(--sapphire-semantic-size-focus-ring) solid
83
- var(--sapphire-semantic-color-focus-ring);
78
+ text-decoration-style: double;
84
79
  }
85
80
 
86
81
  .sapphire-link--secondary:not(:disabled):not(.is-disabled).is-active,
@@ -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": "38.0.0",
3
+ "version": "38.1.1",
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.4.0"
70
+ "@danske/sapphire-design-tokens": "^41.5.0"
71
71
  },
72
- "gitHead": "7673827573af06dab98309795b977522151a5c2c"
72
+ "gitHead": "6bd3c484a3b470e3efbb4b9bc14f8132ad50071f"
73
73
  }