@olenbetong/appframe-ds 1.0.2 → 1.0.3
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/CHANGELOG.md +10 -0
- package/package.json +8 -4
- package/src/AfLookup/LookupCombobox.css +1 -1
- package/src/autocomplete/Autocomplete.css +8 -8
- package/src/filter/FilterBuilder.css +1 -1
- package/src/filter/FilterEditor.css +2 -2
- package/src/filter/FilterShareDialog.css +1 -1
- package/src/filter/SavedFilterTree.css +5 -5
- package/src/progress/LinearProgress.css +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @olenbetong/appframe-ds
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d503ffe: Name the neutral and brand colour sets explicitly instead of the `[data-color]` scoped aliases (`--ds-color-text-default`, `--ds-color-surface-hover`, `--ds-color-base-default`, ...) in the autocomplete, lookup combobox, filter and progress styles. The aliases came from the 1.13 theme token build; the 1.21 build the site now uses replaces them with the `--ds-color-main-*` set, and Designsystemet's own CSS no longer relies on them.
|
|
8
|
+
- Updated dependencies [f0403b7]
|
|
9
|
+
- @olenbetong/appframe-core@2.14.0
|
|
10
|
+
- @olenbetong/appframe-data@1.7.2
|
|
11
|
+
- @olenbetong/appframe-react@2.2.1
|
|
12
|
+
|
|
3
13
|
## 1.0.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olenbetong/appframe-ds",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Components that bind Designsystemet components to Appframe data objects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./es/index.d.ts",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
"types": "./es/grid/index.d.ts",
|
|
14
14
|
"import": "./es/grid/index.js"
|
|
15
15
|
},
|
|
16
|
+
"./progress": {
|
|
17
|
+
"types": "./es/progress/index.d.ts",
|
|
18
|
+
"import": "./es/progress/index.js"
|
|
19
|
+
},
|
|
16
20
|
"./mdi": {
|
|
17
21
|
"types": "./es/mdi/index.d.ts",
|
|
18
22
|
"import": "./es/mdi/index.js"
|
|
@@ -66,9 +70,9 @@
|
|
|
66
70
|
"react": "19.3.0",
|
|
67
71
|
"react-dom": "19.3.0",
|
|
68
72
|
"react-window": "2.3.1",
|
|
69
|
-
"@olenbetong/appframe-core": "2.
|
|
70
|
-
"@olenbetong/appframe-
|
|
71
|
-
"@olenbetong/appframe-
|
|
73
|
+
"@olenbetong/appframe-core": "2.14.0",
|
|
74
|
+
"@olenbetong/appframe-react": "2.2.1",
|
|
75
|
+
"@olenbetong/appframe-data": "1.7.2"
|
|
72
76
|
},
|
|
73
77
|
"devDependencies": {
|
|
74
78
|
"@digdir/designsystemet-react": "1.21.1",
|
|
@@ -199,23 +199,23 @@
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
/*
|
|
202
|
-
* The `accent` colour set does not exist in every Designsystemet theme,
|
|
203
|
-
*
|
|
204
|
-
*
|
|
202
|
+
* The `accent` colour set does not exist in every Designsystemet theme, and the
|
|
203
|
+
* contextual `--ds-color-*` aliases of the 1.13 token build are gone since 1.21,
|
|
204
|
+
* so the option states use the neutral set explicitly.
|
|
205
205
|
*/
|
|
206
206
|
.ObAutocomplete-item[data-highlighted] {
|
|
207
|
-
color: var(--ds-color-text-default);
|
|
208
|
-
background-color: var(--ds-color-surface-hover);
|
|
207
|
+
color: var(--ds-color-neutral-text-default);
|
|
208
|
+
background-color: var(--ds-color-neutral-surface-hover);
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ObAutocomplete-item[data-selected] {
|
|
212
212
|
font-weight: var(--ds-font-weight-medium);
|
|
213
|
-
color: var(--ds-color-text-default);
|
|
214
|
-
background-color: var(--ds-color-surface-tinted);
|
|
213
|
+
color: var(--ds-color-neutral-text-default);
|
|
214
|
+
background-color: var(--ds-color-neutral-surface-tinted);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ObAutocomplete-item[data-selected][data-highlighted] {
|
|
218
|
-
background-color: var(--ds-color-surface-active);
|
|
218
|
+
background-color: var(--ds-color-neutral-surface-active);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ObAutocomplete-item[data-disabled] {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
grid-area: sidebar;
|
|
26
26
|
overflow: auto;
|
|
27
27
|
padding: var(--ds-size-2);
|
|
28
|
-
border: var(--ds-border-width-default) solid var(--ds-color-border-subtle);
|
|
28
|
+
border: var(--ds-border-width-default) solid var(--ds-color-neutral-border-subtle);
|
|
29
29
|
border-radius: var(--ds-border-radius-md);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -199,8 +199,8 @@
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
&[aria-pressed="true"] {
|
|
202
|
-
background-color: var(--ds-color-surface-active);
|
|
203
|
-
color: var(--ds-color-text-default);
|
|
202
|
+
background-color: var(--ds-color-neutral-surface-active);
|
|
203
|
+
color: var(--ds-color-neutral-text-default);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
svg {
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
border: none;
|
|
38
38
|
border-radius: var(--ds-border-radius-sm);
|
|
39
39
|
background: none;
|
|
40
|
-
color: var(--ds-color-text-default);
|
|
40
|
+
color: var(--ds-color-neutral-text-default);
|
|
41
41
|
font: inherit;
|
|
42
42
|
text-align: start;
|
|
43
43
|
cursor: pointer;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.ObSavedFilterTree-node:hover {
|
|
47
|
-
background: var(--ds-color-surface-hover);
|
|
47
|
+
background: var(--ds-color-neutral-surface-hover);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.ObSavedFilterTree-node:focus-visible {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ObSavedFilterTree-selected {
|
|
56
|
-
background: var(--ds-color-surface-active);
|
|
56
|
+
background: var(--ds-color-neutral-surface-active);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ObSavedFilterTree-dirty .ObSavedFilterTree-label {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
justify-content: center;
|
|
69
69
|
inline-size: var(--ds-size-6);
|
|
70
70
|
block-size: var(--ds-size-6);
|
|
71
|
-
color: var(--ds-color-text-subtle);
|
|
71
|
+
color: var(--ds-color-neutral-text-subtle);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.ObSavedFilterTree-chevron > *,
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
/* Lines up with the child labels, past their icon. */
|
|
88
88
|
padding: var(--ds-size-1) var(--ds-size-2) var(--ds-size-1)
|
|
89
89
|
calc(var(--ds-size-2) + var(--ds-size-6) + var(--ds-size-1));
|
|
90
|
-
color: var(--ds-color-text-subtle);
|
|
90
|
+
color: var(--ds-color-neutral-text-subtle);
|
|
91
91
|
font-style: italic;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
inline-size: 100%;
|
|
9
9
|
block-size: var(--obLinearProgress-thickness);
|
|
10
10
|
overflow: hidden;
|
|
11
|
-
background-color: var(--ds-color-surface-active, #cddffb);
|
|
11
|
+
background-color: var(--ds-color-brand-surface-active, #cddffb);
|
|
12
12
|
border-radius: var(--ds-border-radius-full, 624.9375rem);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
inset-block: 0;
|
|
34
34
|
inset-inline-start: 0;
|
|
35
35
|
inline-size: 100%;
|
|
36
|
-
background-color: var(--ds-color-base-default, #0062ba);
|
|
36
|
+
background-color: var(--ds-color-brand-base-default, #0062ba);
|
|
37
37
|
border-radius: inherit;
|
|
38
38
|
}
|
|
39
39
|
|