@navikt/ds-css 7.28.1 → 7.29.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.
- package/CHANGELOG.md +24 -0
- package/config/_mappings.js +1 -0
- package/darkside/form/radio-checkbox.darkside.css +13 -4
- package/darkside/index.css +1 -0
- package/darkside/link-card.darkside.css +29 -8
- package/darkside/list.darkside.css +6 -0
- package/darkside/process.darkside.css +153 -0
- package/darkside/table.darkside.css +16 -5
- package/darkside/tooltip.darkside.css +1 -1
- package/dist/component/form.css +7 -3
- package/dist/component/form.min.css +1 -1
- package/dist/component/linkcard.css +27 -10
- package/dist/component/linkcard.min.css +1 -1
- package/dist/component/list.css +7 -0
- package/dist/component/list.min.css +1 -1
- package/dist/component/process.css +153 -0
- package/dist/component/process.min.css +1 -0
- package/dist/component/table.css +12 -0
- package/dist/component/table.min.css +1 -1
- package/dist/components.css +212 -13
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/form.css +9 -3
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/linkcard.css +25 -9
- package/dist/darkside/component/linkcard.min.css +1 -1
- package/dist/darkside/component/list.css +5 -0
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/process.css +148 -0
- package/dist/darkside/component/process.min.css +1 -0
- package/dist/darkside/component/table.css +12 -4
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tooltip.css +2 -2
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/components.css +200 -18
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/tokens.css +1 -1
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +201 -19
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/form.css +9 -3
- package/dist/darkside/version/7.29.1/component/form.min.css +1 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/linkcard.css +25 -9
- package/dist/darkside/version/7.29.1/component/linkcard.min.css +1 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/list.css +5 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/list.min.css +1 -1
- package/dist/darkside/version/7.29.1/component/process.css +148 -0
- package/dist/darkside/version/7.29.1/component/process.min.css +1 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/table.css +12 -4
- package/dist/darkside/version/7.29.1/component/table.min.css +1 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tooltip.css +2 -2
- package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tooltip.min.css +1 -1
- package/dist/darkside/version/{7.28.1 → 7.29.1}/components.css +200 -18
- package/dist/darkside/version/7.29.1/components.min.css +1 -0
- package/dist/darkside/version/{7.28.1 → 7.29.1}/global/tokens.css +1 -1
- package/dist/darkside/version/{7.28.1 → 7.29.1}/global/tokens.min.css +1 -1
- package/dist/darkside/version/{7.28.1 → 7.29.1}/index.css +201 -19
- package/dist/darkside/version/7.29.1/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +213 -14
- package/dist/index.min.css +2 -2
- package/form/radio-checkbox.css +7 -3
- package/index.css +1 -0
- package/link-card.css +32 -10
- package/list.css +6 -0
- package/package.json +5 -4
- package/process.css +153 -0
- package/table.css +12 -0
- package/dist/darkside/version/7.28.1/component/form.min.css +0 -1
- package/dist/darkside/version/7.28.1/component/linkcard.min.css +0 -1
- package/dist/darkside/version/7.28.1/component/table.min.css +0 -1
- package/dist/darkside/version/7.28.1/components.min.css +0 -1
- package/dist/darkside/version/7.28.1/index.min.css +0 -1
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/accordion.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/accordion.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/actionmenu.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/actionmenu.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/button.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/button.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/chat.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/chat.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/chips.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/chips.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/date.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/date.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/expansioncard.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/expansioncard.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/guidepanel.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/guidepanel.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/helptext.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/helptext.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/link.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/link.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/linkanchor.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/linkanchor.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/loader.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/loader.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/modal.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/modal.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/pagination.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/pagination.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/popover.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/popover.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/primitives.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/primitives.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/progressbar.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/progressbar.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/readmore.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/readmore.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/skeleton.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/skeleton.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/stepper.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/stepper.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tabs.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tabs.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tag.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/tag.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/timeline.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/timeline.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/togglegroup.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/togglegroup.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/typography.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/component/typography.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/print.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.28.1 → 7.29.1}/global/reset.min.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @navikt/ds-css
|
|
2
2
|
|
|
3
|
+
## 7.29.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Checkbox, List: Updated SVG-usage to avoid using rem-values directly on `width` and `height`-attributes. ([#4048](https://github.com/navikt/aksel/pull/4048))
|
|
8
|
+
|
|
9
|
+
- Darkside: Fix styling for small readOnly checked Radio ([#4051](https://github.com/navikt/aksel/pull/4051))
|
|
10
|
+
|
|
11
|
+
- Checkbox: Fix styling for indeterminate state with description ([#4051](https://github.com/navikt/aksel/pull/4051))
|
|
12
|
+
|
|
13
|
+
## 7.29.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- LinkCard: Added new prop `arrowPosition` for centering the arrow if necessary. ([#4021](https://github.com/navikt/aksel/pull/4021))
|
|
18
|
+
|
|
19
|
+
- Process: :tada: New component Process! The component consists of a vertical line of events where each event can contain information, actions, links or status indicators. [You can find the documentation here :memo:](https://aksel.nav.no/komponenter/core/process). ([#3950](https://github.com/navikt/aksel/pull/3950))
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Darkside: Fix issue with focus outline on checkbox in expandable table row content ([#3998](https://github.com/navikt/aksel/pull/3998))
|
|
24
|
+
|
|
25
|
+
- Darkside: Fix arrow in Tooltip ([#4018](https://github.com/navikt/aksel/pull/4018))
|
|
26
|
+
|
|
3
27
|
## 7.28.1
|
|
4
28
|
|
|
5
29
|
## 7.28.0
|
package/config/_mappings.js
CHANGED
|
@@ -175,6 +175,7 @@ const StyleMappings = {
|
|
|
175
175
|
},
|
|
176
176
|
{ component: "Panel", main: "panel.css" },
|
|
177
177
|
{ component: "Popover", main: "popover.css" },
|
|
178
|
+
{ component: "Process", main: "process.css", dependencies: [typoCss] },
|
|
178
179
|
{ component: "ProgressBar", main: "progress-bar.css" },
|
|
179
180
|
{ component: "Provider", main: "" },
|
|
180
181
|
{ component: "Radio", main: formCss, dependencies: [typoCss] },
|
|
@@ -97,12 +97,13 @@
|
|
|
97
97
|
border-radius: 1px;
|
|
98
98
|
position: absolute;
|
|
99
99
|
transform: translate(var(--ax-space-6), -50%);
|
|
100
|
-
top:
|
|
100
|
+
top: var(--ax-space-24);
|
|
101
101
|
pointer-events: none;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.aksel-checkbox--small .aksel-checkbox__input:indeterminate + .aksel-checkbox__label > .aksel-checkbox__icon-indeterminate {
|
|
105
105
|
transform: translate(var(--ax-space-4), -50%);
|
|
106
|
+
top: var(--ax-space-16);
|
|
106
107
|
height: 0.1875rem;
|
|
107
108
|
}
|
|
108
109
|
|
|
@@ -136,10 +137,12 @@
|
|
|
136
137
|
transform: translate(0.25rem, -10%);
|
|
137
138
|
}
|
|
138
139
|
|
|
139
|
-
/* Tailwind sets all svg to block */
|
|
140
140
|
.aksel-checkbox__icon > svg {
|
|
141
|
-
display:
|
|
142
|
-
|
|
141
|
+
display: block;
|
|
142
|
+
|
|
143
|
+
/* Safari does not support inline rem-values in SVG */
|
|
144
|
+
width: 0.8125rem;
|
|
145
|
+
height: 0.625rem;
|
|
143
146
|
}
|
|
144
147
|
|
|
145
148
|
.aksel-checkbox--small > .aksel-checkbox__input:checked + .aksel-checkbox__label::before {
|
|
@@ -217,6 +220,12 @@
|
|
|
217
220
|
inset 0 0 0 8px var(--ax-bg-neutral-moderate);
|
|
218
221
|
}
|
|
219
222
|
|
|
223
|
+
.aksel-radio--small.aksel-radio--readonly > .aksel-radio__input:checked + .aksel-radio__label::before {
|
|
224
|
+
box-shadow:
|
|
225
|
+
inset 0 0 0 2px var(--ax-border-neutral-subtle),
|
|
226
|
+
inset 0 0 0 7px var(--ax-bg-neutral-moderate);
|
|
227
|
+
}
|
|
228
|
+
|
|
220
229
|
.aksel-checkbox--readonly > .aksel-checkbox__input:indeterminate + .aksel-checkbox__label > .aksel-checkbox__icon-indeterminate {
|
|
221
230
|
background-color: var(--ax-text-neutral-subtle);
|
|
222
231
|
}
|
package/darkside/index.css
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
@import "./read-more.darkside.css" layer(aksel.components);
|
|
53
53
|
@import "./progress-bar.darkside.css" layer(aksel.components);
|
|
54
54
|
@import "./skeleton.darkside.css" layer(aksel.components);
|
|
55
|
+
@import "./process.darkside.css" layer(aksel.components);
|
|
55
56
|
@import "./stepper.darkside.css" layer(aksel.components);
|
|
56
57
|
@import "./table.darkside.css" layer(aksel.components);
|
|
57
58
|
@import "./tabs.darkside.css" layer(aksel.components);
|
|
@@ -15,14 +15,22 @@
|
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
display: grid;
|
|
17
17
|
grid-template-areas:
|
|
18
|
-
"image image"
|
|
19
|
-
"icon title"
|
|
20
|
-
"icon description"
|
|
21
|
-
"icon footer";
|
|
18
|
+
"image image image"
|
|
19
|
+
"icon title arrow"
|
|
20
|
+
"icon description arrow"
|
|
21
|
+
"icon footer arrow";
|
|
22
22
|
grid-template-columns: auto 1fr;
|
|
23
23
|
grid-template-rows: min-content min-content min-content auto;
|
|
24
24
|
align-items: center;
|
|
25
25
|
|
|
26
|
+
&[data-align-arrow="baseline"] {
|
|
27
|
+
grid-template-areas:
|
|
28
|
+
"image image image"
|
|
29
|
+
"icon title arrow"
|
|
30
|
+
"icon description description"
|
|
31
|
+
"icon footer footer";
|
|
32
|
+
}
|
|
33
|
+
|
|
26
34
|
&:not(:has(.aksel-link-card__description, .aksel-link-card__footer)) {
|
|
27
35
|
grid-template-rows: auto 1fr;
|
|
28
36
|
|
|
@@ -33,6 +41,10 @@
|
|
|
33
41
|
& .aksel-link-card__icon {
|
|
34
42
|
align-self: center;
|
|
35
43
|
}
|
|
44
|
+
|
|
45
|
+
&[data-align-arrow="baseline"] .aksel-link-card__arrow {
|
|
46
|
+
align-self: center;
|
|
47
|
+
}
|
|
36
48
|
}
|
|
37
49
|
|
|
38
50
|
&:hover {
|
|
@@ -49,10 +61,6 @@
|
|
|
49
61
|
.aksel-link-card__title {
|
|
50
62
|
grid-area: title;
|
|
51
63
|
color: var(--ax-text-subtle);
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: flex-start;
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
gap: var(--ax-space-8);
|
|
56
64
|
hyphens: auto;
|
|
57
65
|
|
|
58
66
|
.aksel-link-card[data-color="neutral"] &,
|
|
@@ -107,3 +115,16 @@
|
|
|
107
115
|
height: 100%;
|
|
108
116
|
}
|
|
109
117
|
}
|
|
118
|
+
|
|
119
|
+
.aksel-link-card__arrow {
|
|
120
|
+
grid-area: arrow;
|
|
121
|
+
margin-inline-start: var(--ax-space-8);
|
|
122
|
+
|
|
123
|
+
.aksel-link-card[data-align-arrow="baseline"] & {
|
|
124
|
+
align-self: baseline;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.aksel-link-card[data-align-arrow="center"] & {
|
|
128
|
+
align-self: center;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -72,6 +72,12 @@
|
|
|
72
72
|
padding-left: 0.8rem;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
/* Safari does not support inline rem-values in SVG */
|
|
76
|
+
.aksel-list__item-marker--bullet > svg {
|
|
77
|
+
width: 0.375rem;
|
|
78
|
+
height: 0.375rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
75
81
|
.aksel-list__item-marker--icon {
|
|
76
82
|
font-size: 1.5rem;
|
|
77
83
|
justify-content: center;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
.aksel-process {
|
|
2
|
+
--__axc-process-circle-base: 2rem;
|
|
3
|
+
--__axc-process-circle-large: var(--__axc-process-circle-base);
|
|
4
|
+
--__axc-process-circle-small: 1rem;
|
|
5
|
+
--__axc-process-circle-size: var(--__axc-process-circle-large);
|
|
6
|
+
--__axc-process-border-width: 2px;
|
|
7
|
+
|
|
8
|
+
list-style: none;
|
|
9
|
+
padding: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.aksel-process__event {
|
|
14
|
+
display: grid;
|
|
15
|
+
grid-template-rows:
|
|
16
|
+
[line-1] auto [step-start] var(--__axc-process-circle-size)
|
|
17
|
+
[line-2 step-end] auto;
|
|
18
|
+
grid-template-columns: var(--__axc-process-circle-base) auto;
|
|
19
|
+
justify-items: flex-start;
|
|
20
|
+
|
|
21
|
+
&[data-dot="true"] {
|
|
22
|
+
--__axc-process-circle-size: var(--__axc-process-circle-small);
|
|
23
|
+
|
|
24
|
+
margin-block-start: calc((var(--__axc-process-circle-small) / 2) * -1);
|
|
25
|
+
|
|
26
|
+
& .aksel-process__line {
|
|
27
|
+
margin-block-start: calc(var(--__axc-process-circle-size) / 2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .aksel-process__bullet {
|
|
31
|
+
--__axc-process-circle-size: var(--__axc-process-circle-small);
|
|
32
|
+
|
|
33
|
+
margin-top: calc((var(--__axc-process-circle-large) - var(--__axc-process-circle-small)) / 2);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.aksel-process__line {
|
|
39
|
+
width: 0;
|
|
40
|
+
border: calc(var(--__axc-process-border-width) / 2) solid;
|
|
41
|
+
min-height: 2rem;
|
|
42
|
+
justify-self: center;
|
|
43
|
+
grid-column: 1;
|
|
44
|
+
grid-row: line-2;
|
|
45
|
+
border-color: var(--ax-border-neutral-subtle);
|
|
46
|
+
|
|
47
|
+
.aksel-process__event[data-status="active"] & {
|
|
48
|
+
border-color: var(--ax-border-default);
|
|
49
|
+
border-image: linear-gradient(to bottom, var(--ax-border-default) 50%, var(--ax-border-neutral-subtle) 90%);
|
|
50
|
+
border-image-slice: 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.aksel-process__event[data-status="completed"] & {
|
|
54
|
+
border-color: var(--ax-border-default);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.aksel-process__event:not([data-status="active"]) & {
|
|
58
|
+
border-image: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.aksel-process__event:last-of-type & {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.aksel-process__item {
|
|
67
|
+
grid-row: 2 / -1;
|
|
68
|
+
grid-column: 1 / -1;
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: [bullet] var(--__axc-process-circle-base) [content] auto;
|
|
71
|
+
gap: var(--ax-space-16);
|
|
72
|
+
justify-content: flex-start;
|
|
73
|
+
padding: var(--__axc-process-border-width);
|
|
74
|
+
margin: calc(var(--__axc-process-border-width) * -1) calc(var(--__axc-process-border-width) * -1) var(--ax-space-16);
|
|
75
|
+
width: 100%;
|
|
76
|
+
|
|
77
|
+
.aksel-process__event:last-child & {
|
|
78
|
+
margin-bottom: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.aksel-process__bullet {
|
|
83
|
+
grid-column: bullet;
|
|
84
|
+
display: inline-grid;
|
|
85
|
+
place-self: baseline center;
|
|
86
|
+
place-items: center;
|
|
87
|
+
width: var(--__axc-process-circle-size);
|
|
88
|
+
height: var(--__axc-process-circle-size);
|
|
89
|
+
line-height: 1;
|
|
90
|
+
border-radius: var(--ax-radius-full);
|
|
91
|
+
border: var(--__axc-process-border-width) solid;
|
|
92
|
+
color: var(--ax-text-neutral-subtle);
|
|
93
|
+
border-color: var(--ax-border-neutral-subtleA);
|
|
94
|
+
transition-property: background, border-color;
|
|
95
|
+
transition-duration: 70ms;
|
|
96
|
+
transition-timing-function: linear;
|
|
97
|
+
|
|
98
|
+
& svg {
|
|
99
|
+
height: min(calc(var(--__axc-process-circle-size) * 0.75), 1.5rem);
|
|
100
|
+
width: min(calc(var(--__axc-process-circle-size) * 0.75), 1.5rem);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.aksel-process__event:is([data-status="completed"], [data-status="active"]) & {
|
|
104
|
+
color: var(--ax-text-contrast);
|
|
105
|
+
background: var(--ax-bg-strong);
|
|
106
|
+
border-color: transparent;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.aksel-process__event[data-status="active"] & {
|
|
110
|
+
outline: 4px solid var(--ax-bg-moderate);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.aksel-process__event[data-status="uncompleted"] & {
|
|
114
|
+
transition: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.aksel-process__body {
|
|
119
|
+
grid-column: content;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.aksel-process__title {
|
|
123
|
+
padding-block: 0.16rem var(--ax-space-4);
|
|
124
|
+
|
|
125
|
+
.aksel-process__event[data-status="active"] &:has(+ .aksel-process__active-label) {
|
|
126
|
+
padding-block-end: 0;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.aksel-process__active-label {
|
|
131
|
+
margin-block: 0 var(--ax-space-4);
|
|
132
|
+
color: var(--ax-text-subtle);
|
|
133
|
+
|
|
134
|
+
&:last-of-type {
|
|
135
|
+
margin-block-end: 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@media (forced-colors: active) {
|
|
140
|
+
.aksel-process__bullet {
|
|
141
|
+
transition: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.aksel-process__event:is([data-status="completed"], [data-status="active"]) .aksel-process__bullet {
|
|
145
|
+
outline-color: ButtonText;
|
|
146
|
+
background-color: ButtonText;
|
|
147
|
+
color: ButtonFace;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.aksel-process__event:is([data-status="active"]) .aksel-process__line {
|
|
151
|
+
border-image: none;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -131,20 +131,31 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
/* TODO: Look to handle "inline"-checkbox better than custom CSS-overrides in the future. */
|
|
134
|
-
.aksel-table :not(.aksel-
|
|
134
|
+
.aksel-table tr:not(.aksel-table__expanded-row) .aksel-checkbox__input {
|
|
135
135
|
top: -0.75rem;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.aksel-table :not(.aksel-
|
|
138
|
+
.aksel-table tr:not(.aksel-table__expanded-row) .aksel-checkbox--small .aksel-checkbox__input {
|
|
139
139
|
top: -0.375rem;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
.aksel-table :not(.aksel-
|
|
142
|
+
.aksel-table tr:not(.aksel-table__expanded-row) .aksel-checkbox__label {
|
|
143
143
|
padding: 0;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.aksel-table .aksel-
|
|
147
|
-
|
|
146
|
+
.aksel-table tr:not(.aksel-table__expanded-row) .aksel-checkbox__label > .aksel-checkbox__icon-indeterminate {
|
|
147
|
+
top: var(--ax-space-12);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.aksel-table
|
|
151
|
+
tr:not(.aksel-table__expanded-row)
|
|
152
|
+
.aksel-checkbox--small
|
|
153
|
+
.aksel-checkbox__label
|
|
154
|
+
> .aksel-checkbox__icon-indeterminate {
|
|
155
|
+
top: 0.6rem;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.aksel-table tr:not(.aksel-table__expanded-row) .aksel-checkbox__input:focus + .aksel-checkbox__label::after {
|
|
148
159
|
height: 100%;
|
|
149
160
|
}
|
|
150
161
|
|
package/dist/component/form.css
CHANGED
|
@@ -494,7 +494,7 @@ li.navds-file-item {
|
|
|
494
494
|
.navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
|
|
495
495
|
content: "";
|
|
496
496
|
position: absolute;
|
|
497
|
-
top:
|
|
497
|
+
top: var(--a-spacing-6);
|
|
498
498
|
transform: translate(var(--a-spacing-1-alt), -50%);
|
|
499
499
|
background-color: var(--ac-radio-checkbox-bg, var(--a-surface-default));
|
|
500
500
|
width: 0.75rem;
|
|
@@ -504,6 +504,7 @@ li.navds-file-item {
|
|
|
504
504
|
}
|
|
505
505
|
.navds-checkbox--small .navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
|
|
506
506
|
transform: translate(0.25rem, -50%);
|
|
507
|
+
top: var(--a-spacing-4);
|
|
507
508
|
}
|
|
508
509
|
.navds-checkbox__input:where(:checked, :indeterminate) + .navds-checkbox__label::before {
|
|
509
510
|
box-shadow: 0 0 0 2px var(--ac-radio-checkbox-action, var(--a-surface-action-selected));
|
|
@@ -532,8 +533,11 @@ li.navds-file-item {
|
|
|
532
533
|
}
|
|
533
534
|
/* Tailwind sets all svg to block */
|
|
534
535
|
.navds-checkbox__icon > svg {
|
|
535
|
-
display:
|
|
536
|
-
|
|
536
|
+
display: block;
|
|
537
|
+
|
|
538
|
+
/* Safari does not support inline rem-values in SVG */
|
|
539
|
+
width: 0.8125rem;
|
|
540
|
+
height: 0.625rem;
|
|
537
541
|
}
|
|
538
542
|
.navds-checkbox--small > .navds-checkbox__input:checked + .navds-checkbox__label::before {
|
|
539
543
|
background-position: 0.25rem center;
|