@danske/sapphire-css 35.4.0 → 35.5.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.
@@ -4,6 +4,8 @@
4
4
  position: relative;
5
5
  list-style: none;
6
6
  outline: none;
7
+ font-family: var(--sapphire-semantic-font-name-default);
8
+
7
9
  /**
8
10
  * tldr; Please inspect the listbox without these adding props, it's easier
9
11
  * to understand why these are here.
@@ -138,7 +140,6 @@
138
140
 
139
141
  /* Text content */
140
142
  .sapphire-listbox__text-container {
141
- font-family: var(--sapphire-semantic-font-name-default);
142
143
  line-height: var(--sapphire-semantic-size-line-height-md);
143
144
  }
144
145
 
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .sapphire-popover--padded {
34
- padding: var(--sapphire-semantic-size-spacing-30);
34
+ padding: var(--sapphire-semantic-size-spacing-container-horizontal-sm);
35
35
  }
36
36
 
37
37
  .sapphire-popover--max-width {
@@ -70,6 +70,18 @@
70
70
  padding: 0 var(--sapphire-semantic-size-focus-ring);
71
71
  }
72
72
 
73
+ .sapphire-tabs--align-left {
74
+ justify-content: start;
75
+ }
76
+
77
+ .sapphire-tabs--align-center {
78
+ justify-content: center;
79
+ }
80
+
81
+ .sapphire-tabs--align-right {
82
+ justify-content: end;
83
+ }
84
+
73
85
  .sapphire-tabs::after {
74
86
  content: '';
75
87
  display: block;
@@ -6,6 +6,9 @@ declare const styles: {
6
6
  readonly "sapphire-tabs-overflow-arrows__arrow--left": string;
7
7
  readonly "sapphire-tabs-overflow-arrows__arrow--right": string;
8
8
  readonly "sapphire-tabs": string;
9
+ readonly "sapphire-tabs--align-left": string;
10
+ readonly "sapphire-tabs--align-center": string;
11
+ readonly "sapphire-tabs--align-right": string;
9
12
  readonly "sapphire-tabs--no-border": string;
10
13
  readonly "sapphire-tabs__tab": string;
11
14
  readonly "is-disabled": string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-css",
3
- "version": "35.4.0",
3
+ "version": "35.5.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,
@@ -66,7 +66,7 @@
66
66
  "typescript": "~4.6.4"
67
67
  },
68
68
  "dependencies": {
69
- "@danske/sapphire-design-tokens": "^41.3.0"
69
+ "@danske/sapphire-design-tokens": "^41.4.0"
70
70
  },
71
- "gitHead": "5289085e86eb94dc62d1e843364fbbd8f0c1903f"
71
+ "gitHead": "1a3faa61165f962d215ae49c6e60ffab6f5b47c3"
72
72
  }