@navikt/ds-css 7.32.4 → 7.33.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/CHANGELOG.md +8 -0
- package/config/bundle.darkside.ts +2 -2
- package/config/tests/bundle.test.ts +1 -1
- package/darkside/modal.darkside.css +0 -4
- package/darkside/process.darkside.css +44 -8
- package/dist/component/modal.css +1 -29
- package/dist/component/process.css +42 -3
- package/dist/component/process.min.css +1 -1
- package/dist/components.css +44 -3
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/modal.css +0 -4
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/process.css +44 -8
- package/dist/darkside/component/process.min.css +1 -1
- package/dist/darkside/components.css +44 -12
- 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 +45 -13
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.32.4 → 7.33.0}/component/modal.css +0 -4
- package/dist/darkside/version/7.33.0/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.32.4 → 7.33.0}/component/process.css +44 -8
- package/dist/darkside/version/7.33.0/component/process.min.css +1 -0
- package/dist/darkside/version/{7.32.4 → 7.33.0}/components.css +44 -12
- package/dist/darkside/version/{7.32.4 → 7.33.0}/components.min.css +1 -1
- package/dist/darkside/version/{7.32.4 → 7.33.0}/global/tokens.css +1 -1
- package/dist/darkside/version/{7.32.4 → 7.33.0}/global/tokens.min.css +1 -1
- package/dist/darkside/version/{7.32.4 → 7.33.0}/index.css +45 -13
- package/dist/darkside/version/{7.32.4 → 7.33.0}/index.min.css +1 -1
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +45 -4
- package/dist/index.min.css +2 -2
- package/modal.css +1 -0
- package/package.json +6 -2
- package/process.css +43 -3
- package/dist/darkside/version/7.32.4/component/modal.min.css +0 -1
- package/dist/darkside/version/7.32.4/component/process.min.css +0 -1
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/accordion.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/accordion.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/actionmenu.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/actionmenu.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/button.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/button.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/chat.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/chat.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/chips.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/chips.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/date.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/date.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/expansioncard.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/expansioncard.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/form.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/form.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/guidepanel.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/guidepanel.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/helptext.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/helptext.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/link.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/link.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkanchor.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkanchor.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkcard.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkcard.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/list.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/list.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/loader.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/loader.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/pagination.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/pagination.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/popover.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/popover.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/primitives.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/primitives.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/progressbar.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/progressbar.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/readmore.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/readmore.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/skeleton.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/skeleton.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/stepper.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/stepper.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/table.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/table.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tabs.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tabs.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tag.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tag.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/timeline.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/timeline.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/togglegroup.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/togglegroup.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tooltip.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/tooltip.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/typography.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/component/typography.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.32.4 → 7.33.0}/global/reset.min.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @navikt/ds-css
|
|
2
2
|
|
|
3
|
+
## 7.33.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Process: Added new prop `isTruncated` to `<Process />`. This allows you to add a connector to the start of first event and end of last event to visualize a "truncated" process. ([#4196](https://github.com/navikt/aksel/pull/4196))
|
|
8
|
+
|
|
9
|
+
## 7.32.5
|
|
10
|
+
|
|
3
11
|
## 7.32.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import browserslist from "browserslist";
|
|
2
2
|
import esbuild from "esbuild";
|
|
3
3
|
import fastglob from "fast-glob";
|
|
4
|
-
import fs from "fs";
|
|
5
4
|
import { Features, browserslistToTargets, bundleAsync } from "lightningcss";
|
|
6
|
-
import
|
|
5
|
+
import fs from "node:fs";
|
|
6
|
+
import path from "node:path";
|
|
7
7
|
import {
|
|
8
8
|
StyleMappings,
|
|
9
9
|
componentsCss,
|
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
|
|
24
24
|
margin-block-start: calc((var(--__axc-process-circle-small) / 2) * -1);
|
|
25
25
|
|
|
26
|
-
& .aksel-process__line {
|
|
26
|
+
& .aksel-process__line[data-position="start"] {
|
|
27
|
+
margin-block-end: calc(var(--__axc-process-circle-size) / 2 * -1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .aksel-process__line[data-position="end"] {
|
|
27
31
|
margin-block-start: calc(var(--__axc-process-circle-size) / 2);
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -41,25 +45,57 @@
|
|
|
41
45
|
min-height: 2rem;
|
|
42
46
|
justify-self: center;
|
|
43
47
|
grid-column: 1;
|
|
44
|
-
grid-row: line-2;
|
|
45
48
|
border-color: var(--ax-border-neutral-subtle);
|
|
46
49
|
|
|
50
|
+
&[data-position="start"] {
|
|
51
|
+
grid-row: line-1;
|
|
52
|
+
|
|
53
|
+
.aksel-process__event[data-status="active"] & {
|
|
54
|
+
border-image: unset;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.aksel-process__event:first-of-type & {
|
|
58
|
+
border-start-start-radius: var(--ax-radius-4);
|
|
59
|
+
border-start-end-radius: var(--ax-radius-4);
|
|
60
|
+
min-height: 1.5rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.aksel-process__event:not(:first-of-type) &,
|
|
64
|
+
.aksel-process:is(:not([data-truncated="start"], [data-truncated="both"])) & {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&[data-position="end"] {
|
|
70
|
+
grid-row: line-2;
|
|
71
|
+
|
|
72
|
+
.aksel-process:is(:not([data-truncated="end"], [data-truncated="both"])) .aksel-process__event:last-of-type & {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.aksel-process__event:last-of-type & {
|
|
77
|
+
border-end-start-radius: var(--ax-radius-4);
|
|
78
|
+
border-end-end-radius: var(--ax-radius-4);
|
|
79
|
+
min-height: 1.5rem;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
47
83
|
.aksel-process__event[data-status="active"] & {
|
|
48
84
|
border-color: var(--ax-border-default);
|
|
49
85
|
border-image: linear-gradient(to bottom, var(--ax-border-default) 50%, var(--ax-border-neutral-subtle) 90%);
|
|
50
86
|
border-image-slice: 1;
|
|
51
87
|
}
|
|
52
88
|
|
|
89
|
+
.aksel-process__event[data-status="active"]:last-of-type & {
|
|
90
|
+
border-image: unset;
|
|
91
|
+
}
|
|
92
|
+
|
|
53
93
|
.aksel-process__event[data-status="completed"] & {
|
|
54
94
|
border-color: var(--ax-border-default);
|
|
55
95
|
}
|
|
56
96
|
|
|
57
97
|
.aksel-process__event:not([data-status="active"]) & {
|
|
58
|
-
border-image:
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.aksel-process__event:last-of-type & {
|
|
62
|
-
display: none;
|
|
98
|
+
border-image: unset;
|
|
63
99
|
}
|
|
64
100
|
}
|
|
65
101
|
|
|
@@ -156,6 +192,6 @@
|
|
|
156
192
|
}
|
|
157
193
|
|
|
158
194
|
.aksel-process__event:is([data-status="active"]) .aksel-process__line {
|
|
159
|
-
border-image:
|
|
195
|
+
border-image: unset;
|
|
160
196
|
}
|
|
161
197
|
}
|
package/dist/component/modal.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/* TODO: Remove in v8 */
|
|
1
2
|
.navds-modal__document-body {
|
|
2
3
|
overflow: hidden;
|
|
3
4
|
}
|
|
4
|
-
|
|
5
5
|
.navds-modal {
|
|
6
6
|
--__ac-modal-bg: var(--ac-modal-bg, var(--a-surface-default));
|
|
7
7
|
|
|
@@ -20,13 +20,11 @@
|
|
|
20
20
|
inset: 0;
|
|
21
21
|
z-index: 9999;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
23
|
.navds-modal[open] {
|
|
25
24
|
display: flex;
|
|
26
25
|
flex-direction: column;
|
|
27
26
|
animation: akselModalFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
28
27
|
}
|
|
29
|
-
|
|
30
28
|
.navds-modal--polyfilled {
|
|
31
29
|
top: 50%;
|
|
32
30
|
bottom: unset; /* Overrides inset: 0 from .navds-modal */
|
|
@@ -39,15 +37,12 @@
|
|
|
39
37
|
height: fit-content;
|
|
40
38
|
margin: auto;
|
|
41
39
|
}
|
|
42
|
-
|
|
43
40
|
.navds-modal--polyfilled .navds-modal--polyfilled {
|
|
44
41
|
overflow: auto;
|
|
45
42
|
}
|
|
46
|
-
|
|
47
43
|
.navds-modal--polyfilled:not([open]) {
|
|
48
44
|
display: none; /* from polyfill */
|
|
49
45
|
}
|
|
50
|
-
|
|
51
46
|
._dialog_overlay {
|
|
52
47
|
/* From polyfill */
|
|
53
48
|
position: fixed;
|
|
@@ -57,15 +52,12 @@
|
|
|
57
52
|
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
58
53
|
left: 0;
|
|
59
54
|
}
|
|
60
|
-
|
|
61
55
|
.navds-modal--small {
|
|
62
56
|
width: var(--ac-modal-width-small, 450px);
|
|
63
57
|
}
|
|
64
|
-
|
|
65
58
|
.navds-modal--medium {
|
|
66
59
|
width: var(--ac-modal-width-medium, 700px);
|
|
67
60
|
}
|
|
68
|
-
|
|
69
61
|
@media (min-width: 480px) {
|
|
70
62
|
.navds-modal {
|
|
71
63
|
max-width: calc(100% - 2em);
|
|
@@ -75,7 +67,6 @@
|
|
|
75
67
|
max-width: min(700px, calc(100% - 2em));
|
|
76
68
|
}
|
|
77
69
|
}
|
|
78
|
-
|
|
79
70
|
@media (min-height: 480px) {
|
|
80
71
|
.navds-modal {
|
|
81
72
|
max-height: calc(100% - 2em);
|
|
@@ -86,7 +77,6 @@
|
|
|
86
77
|
max-height: calc(100% - 4em);
|
|
87
78
|
}
|
|
88
79
|
}
|
|
89
|
-
|
|
90
80
|
.navds-modal::backdrop {
|
|
91
81
|
/*
|
|
92
82
|
* Cannot use --a-surface-backdrop because ::backdrop does not inherit from anything but itself.
|
|
@@ -96,7 +86,6 @@
|
|
|
96
86
|
background: var(--ac-modal-backdrop, rgb(2 20 49 / 0.49));
|
|
97
87
|
animation: akselModalBackdropFadeIn 0.7s cubic-bezier(0.15, 1, 0.3, 1);
|
|
98
88
|
}
|
|
99
|
-
|
|
100
89
|
.navds-modal--polyfilled + .backdrop /* Cannot be combined with ::backdrop selector */ {
|
|
101
90
|
background: var(--ac-modal-backdrop, rgb(2 20 49 / 0.49));
|
|
102
91
|
|
|
@@ -108,38 +97,31 @@
|
|
|
108
97
|
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
109
98
|
left: 0;
|
|
110
99
|
}
|
|
111
|
-
|
|
112
100
|
.navds-modal__button {
|
|
113
101
|
margin-left: var(--a-spacing-4);
|
|
114
102
|
float: right;
|
|
115
103
|
}
|
|
116
|
-
|
|
117
104
|
.navds-modal__header {
|
|
118
105
|
padding: var(--a-spacing-6) var(--a-spacing-6) var(--a-spacing-4) var(--a-spacing-6);
|
|
119
106
|
}
|
|
120
|
-
|
|
121
107
|
.navds-modal--small .navds-modal__header {
|
|
122
108
|
padding: var(--a-spacing-4) var(--a-spacing-4) var(--a-spacing-3) var(--a-spacing-4);
|
|
123
109
|
}
|
|
124
|
-
|
|
125
110
|
.navds-modal__header-icon svg {
|
|
126
111
|
display: inline;
|
|
127
112
|
vertical-align: -0.25rem;
|
|
128
113
|
margin-right: var(--a-spacing-1);
|
|
129
114
|
}
|
|
130
|
-
|
|
131
115
|
.navds-modal__label {
|
|
132
116
|
font-weight: 600;
|
|
133
117
|
color: var(--a-text-subtle);
|
|
134
118
|
}
|
|
135
|
-
|
|
136
119
|
.navds-modal__body {
|
|
137
120
|
padding: var(--a-spacing-6);
|
|
138
121
|
overflow: auto;
|
|
139
122
|
overscroll-behavior: contain;
|
|
140
123
|
position: relative; /* Needed to make sr-only elements position correctly - see Storybook */
|
|
141
124
|
}
|
|
142
|
-
|
|
143
125
|
.navds-modal:not(.navds-modal--polyfilled) .navds-modal__body {
|
|
144
126
|
background:
|
|
145
127
|
linear-gradient(var(--__ac-modal-bg) 30%, transparent) top,
|
|
@@ -154,39 +136,31 @@
|
|
|
154
136
|
background-attachment: local, local, scroll, scroll;
|
|
155
137
|
background-repeat: no-repeat;
|
|
156
138
|
}
|
|
157
|
-
|
|
158
139
|
.navds-modal--small .navds-modal__body {
|
|
159
140
|
padding: var(--a-spacing-2) var(--a-spacing-4) var(--a-spacing-4);
|
|
160
141
|
}
|
|
161
|
-
|
|
162
142
|
.navds-modal__header + .navds-modal__body {
|
|
163
143
|
padding-top: var(--a-spacing-0);
|
|
164
144
|
}
|
|
165
|
-
|
|
166
145
|
.navds-modal__footer {
|
|
167
146
|
display: flex;
|
|
168
147
|
flex-flow: row-reverse wrap;
|
|
169
148
|
gap: var(--a-spacing-4);
|
|
170
149
|
padding: var(--a-spacing-4) var(--a-spacing-6) var(--a-spacing-6) var(--a-spacing-6);
|
|
171
150
|
}
|
|
172
|
-
|
|
173
151
|
.navds-modal--small .navds-modal__footer {
|
|
174
152
|
padding: var(--a-spacing-4);
|
|
175
153
|
}
|
|
176
|
-
|
|
177
154
|
.navds-modal__footer :nth-of-type(2) {
|
|
178
155
|
margin-left: auto;
|
|
179
156
|
}
|
|
180
|
-
|
|
181
157
|
/* When Datepicker is used nested inside a Modal */
|
|
182
|
-
|
|
183
158
|
.navds-modal--polyfilled .navds-modal--polyfilled.navds-date__nested-modal {
|
|
184
159
|
min-width: fit-content;
|
|
185
160
|
max-width: 100vw;
|
|
186
161
|
max-height: 100vh;
|
|
187
162
|
animation: none;
|
|
188
163
|
}
|
|
189
|
-
|
|
190
164
|
@keyframes akselModalFadeIn {
|
|
191
165
|
0% {
|
|
192
166
|
opacity: 0.0001; /* Safari will not set focus inside the modal when it opens if we set this to 0 */
|
|
@@ -201,7 +175,6 @@
|
|
|
201
175
|
transform: none;
|
|
202
176
|
}
|
|
203
177
|
}
|
|
204
|
-
|
|
205
178
|
@keyframes akselModalBackdropFadeIn {
|
|
206
179
|
0% {
|
|
207
180
|
opacity: 0.0001;
|
|
@@ -215,7 +188,6 @@
|
|
|
215
188
|
opacity: 1;
|
|
216
189
|
}
|
|
217
190
|
}
|
|
218
|
-
|
|
219
191
|
@media (forced-colors: active) {
|
|
220
192
|
.navds-modal {
|
|
221
193
|
outline: 2px solid transparent;
|
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
margin-block-start: calc((var(--__ac-process-circle-small) / 2) * -1);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.navds-process__event[data-dot="true"] .navds-process__line {
|
|
28
|
+
.navds-process__event[data-dot="true"] .navds-process__line[data-position="start"] {
|
|
29
|
+
margin-block-end: calc(var(--__ac-process-circle-size) / 2 * -1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.navds-process__event[data-dot="true"] .navds-process__line[data-position="end"] {
|
|
29
33
|
margin-block-start: calc(var(--__ac-process-circle-size) / 2);
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -41,16 +45,51 @@
|
|
|
41
45
|
min-height: 2rem;
|
|
42
46
|
justify-self: center;
|
|
43
47
|
grid-column: 1;
|
|
44
|
-
grid-row: line-2;
|
|
45
48
|
border-color: var(--a-border-subtle);
|
|
46
49
|
}
|
|
47
50
|
|
|
51
|
+
.navds-process__line[data-position="start"] {
|
|
52
|
+
grid-row: line-1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.navds-process__event[data-status="active"] .navds-process__line[data-position="start"] {
|
|
56
|
+
border-image: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.navds-process__event:first-of-type .navds-process__line[data-position="start"] {
|
|
60
|
+
border-start-start-radius: 4px;
|
|
61
|
+
border-start-end-radius: 4px;
|
|
62
|
+
min-height: 1.5rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.navds-process__event:not(:first-of-type) .navds-process__line[data-position="start"],.navds-process:is(:not([data-truncated="start"],[data-truncated="both"])) .navds-process__line[data-position="start"] {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.navds-process__line[data-position="end"] {
|
|
70
|
+
grid-row: line-2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.navds-process:is(:not([data-truncated="end"],[data-truncated="both"])) .navds-process__event:last-of-type .navds-process__line[data-position="end"] {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.navds-process__event:last-of-type .navds-process__line[data-position="end"] {
|
|
78
|
+
border-end-start-radius: 4px;
|
|
79
|
+
border-end-end-radius: 4px;
|
|
80
|
+
min-height: 1.5rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
48
83
|
.navds-process__event[data-status="active"] .navds-process__line {
|
|
49
84
|
border-color: var(--a-border-alt-3);
|
|
50
85
|
border-image: linear-gradient(to bottom, var(--a-border-alt-3) 50%, var(--a-border-subtle) 90%);
|
|
51
86
|
border-image-slice: 1;
|
|
52
87
|
}
|
|
53
88
|
|
|
89
|
+
.navds-process__event[data-status="active"]:last-of-type .navds-process__line {
|
|
90
|
+
border-image: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
54
93
|
.navds-process__event[data-status="completed"] .navds-process__line {
|
|
55
94
|
border-color: var(--a-border-alt-3);
|
|
56
95
|
}
|
|
@@ -59,7 +98,7 @@
|
|
|
59
98
|
border-image: none;
|
|
60
99
|
}
|
|
61
100
|
|
|
62
|
-
.navds-process__event:last-of-type .navds-process__line {
|
|
101
|
+
.navds-process__event:last-of-type:is([data-connector="auto"]) .navds-process__line {
|
|
63
102
|
display: none;
|
|
64
103
|
}
|
|
65
104
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.navds-process{--__ac-process-circle-base:2rem;--__ac-process-circle-large:var(--__ac-process-circle-base);--__ac-process-circle-small:1rem;--__ac-process-circle-size:var(--__ac-process-circle-large);--__ac-process-border-width:2px;list-style:none;margin:0;padding:0}.navds-process__event{display:grid;grid-template-columns:var(--__ac-process-circle-base) auto;grid-template-rows:[line-1] auto [step-start] var(--__ac-process-circle-size) [line-2 step-end] auto;justify-items:flex-start}.navds-process__event[data-dot=true]{--__ac-process-circle-size:var(--__ac-process-circle-small);-webkit-margin-before:calc((var(--__ac-process-circle-small)/2)*-1);margin-block-start:calc((var(--__ac-process-circle-small)/2)*-1)}.navds-process__event[data-dot=true] .navds-process__line{-webkit-margin-before:calc(var(--__ac-process-circle-size)/2);margin-block-start:calc(var(--__ac-process-circle-size)/2)}.navds-process__event[data-dot=true] .navds-process__bullet{--__ac-process-circle-size:var(--__ac-process-circle-small);margin-top:calc((var(--__ac-process-circle-large) - var(--__ac-process-circle-small))/2)}.navds-process__line{border:calc(var(--__ac-process-border-width)/2) solid;border-color:var(--a-border-subtle);grid-column:1;grid-row:line-
|
|
1
|
+
.navds-process{--__ac-process-circle-base:2rem;--__ac-process-circle-large:var(--__ac-process-circle-base);--__ac-process-circle-small:1rem;--__ac-process-circle-size:var(--__ac-process-circle-large);--__ac-process-border-width:2px;list-style:none;margin:0;padding:0}.navds-process__event{display:grid;grid-template-columns:var(--__ac-process-circle-base) auto;grid-template-rows:[line-1] auto [step-start] var(--__ac-process-circle-size) [line-2 step-end] auto;justify-items:flex-start}.navds-process__event[data-dot=true]{--__ac-process-circle-size:var(--__ac-process-circle-small);-webkit-margin-before:calc((var(--__ac-process-circle-small)/2)*-1);margin-block-start:calc((var(--__ac-process-circle-small)/2)*-1)}.navds-process__event[data-dot=true] .navds-process__line[data-position=start]{-webkit-margin-after:calc(var(--__ac-process-circle-size)/2*-1);margin-block-end:calc(var(--__ac-process-circle-size)/2*-1)}.navds-process__event[data-dot=true] .navds-process__line[data-position=end]{-webkit-margin-before:calc(var(--__ac-process-circle-size)/2);margin-block-start:calc(var(--__ac-process-circle-size)/2)}.navds-process__event[data-dot=true] .navds-process__bullet{--__ac-process-circle-size:var(--__ac-process-circle-small);margin-top:calc((var(--__ac-process-circle-large) - var(--__ac-process-circle-small))/2)}.navds-process__line{border:calc(var(--__ac-process-border-width)/2) solid;border-color:var(--a-border-subtle);grid-column:1;justify-self:center;min-height:2rem;width:0}.navds-process__line[data-position=start]{grid-row:line-1}.navds-process__event[data-status=active] .navds-process__line[data-position=start]{border-image:none}.navds-process__event:first-of-type .navds-process__line[data-position=start]{border-start-end-radius:4px;border-start-start-radius:4px;min-height:1.5rem}.navds-process:is(:not([data-truncated=start],[data-truncated=both])) .navds-process__line[data-position=start],.navds-process__event:not(:first-of-type) .navds-process__line[data-position=start]{display:none}.navds-process__line[data-position=end]{grid-row:line-2}.navds-process:is(:not([data-truncated=end],[data-truncated=both])) .navds-process__event:last-of-type .navds-process__line[data-position=end]{display:none}.navds-process__event:last-of-type .navds-process__line[data-position=end]{border-end-end-radius:4px;border-end-start-radius:4px;min-height:1.5rem}.navds-process__event[data-status=active] .navds-process__line{border-color:var(--a-border-alt-3);border-image:linear-gradient(to bottom,var(--a-border-alt-3) 50%,var(--a-border-subtle) 90%);border-image-slice:1}.navds-process__event[data-status=active]:last-of-type .navds-process__line{border-image:none}.navds-process__event[data-status=completed] .navds-process__line{border-color:var(--a-border-alt-3)}.navds-process__event:not([data-status=active]) .navds-process__line{border-image:none}.navds-process__event:last-of-type:is([data-connector=auto]) .navds-process__line{display:none}.navds-process__item{display:grid;gap:var(--a-spacing-4);grid-column:1/-1;grid-row:2/-1;grid-template-columns:[bullet] var(--__ac-process-circle-base) [content] auto;justify-content:flex-start;margin:calc(var(--__ac-process-border-width)*-1) calc(var(--__ac-process-border-width)*-1) var(--a-spacing-4);padding:var(--__ac-process-border-width);width:100%}.navds-process__event:last-child .navds-process__item{margin-bottom:0}.navds-process__bullet{border:var(--__ac-process-border-width) solid;border-color:var(--a-border-subtle);border-radius:var(--a-border-radius-full);color:var(--a-text-subtle);display:inline-grid;grid-column:bullet;height:var(--__ac-process-circle-size);line-height:1;place-items:center;place-self:baseline center;transition-duration:70ms;transition-property:background,border-color,color;transition-timing-function:linear;width:var(--__ac-process-circle-size)}.navds-process__bullet svg{height:min(calc(var(--__ac-process-circle-size)*.75),1.5rem);width:min(calc(var(--__ac-process-circle-size)*.75),1.5rem)}.navds-process__event:is([data-status=completed],[data-status=active]) .navds-process__bullet{background:var(--a-surface-alt-3);border-color:#0000;color:var(--a-text-on-alt-3)}.navds-process__event[data-status=active] .navds-process__bullet{box-shadow:0 0 0 2px var(--a-surface-default);outline:2px solid var(--a-surface-alt-3);outline-offset:2px;z-index:1}.navds-process__event[data-status=uncompleted] .navds-process__bullet{transition:none}.navds-process__body{grid-column:content}.navds-process__title{padding-block:.16rem var(--a-spacing-1)}.navds-process__event[data-status=active] .navds-process__title:has(+.navds-process__active-label){-webkit-padding-after:0;padding-block-end:0}.navds-process__active-label{color:var(--a-surface-alt-3);margin-block:0 var(--a-spacing-1)}.navds-process__active-label:last-of-type{-webkit-margin-after:0;margin-block-end:0}@media (forced-colors:active){.navds-process__bullet{transition:none}.navds-process__event:is([data-status=completed],[data-status=active]) .navds-process__bullet{background-color:ButtonText;color:ButtonFace;forced-color-adjust:none;outline-color:ButtonText}.navds-process__event[data-status=active] .navds-process__bullet{box-shadow:0 0 0 2px Canvas}.navds-process__event:is([data-status=active]) .navds-process__line{border-image:none}}
|
package/dist/components.css
CHANGED
|
@@ -5235,6 +5235,8 @@ button.navds-internalheader__title:active,
|
|
|
5235
5235
|
}
|
|
5236
5236
|
}
|
|
5237
5237
|
|
|
5238
|
+
/* TODO: Remove in v8 */
|
|
5239
|
+
|
|
5238
5240
|
.navds-modal__document-body {
|
|
5239
5241
|
overflow: hidden;
|
|
5240
5242
|
}
|
|
@@ -7055,7 +7057,11 @@ span.rdp-weeknumber {
|
|
|
7055
7057
|
margin-block-start: calc((var(--__ac-process-circle-small) / 2) * -1);
|
|
7056
7058
|
}
|
|
7057
7059
|
|
|
7058
|
-
.navds-process__event[data-dot="true"] .navds-process__line {
|
|
7060
|
+
.navds-process__event[data-dot="true"] .navds-process__line[data-position="start"] {
|
|
7061
|
+
margin-block-end: calc(var(--__ac-process-circle-size) / 2 * -1);
|
|
7062
|
+
}
|
|
7063
|
+
|
|
7064
|
+
.navds-process__event[data-dot="true"] .navds-process__line[data-position="end"] {
|
|
7059
7065
|
margin-block-start: calc(var(--__ac-process-circle-size) / 2);
|
|
7060
7066
|
}
|
|
7061
7067
|
|
|
@@ -7071,16 +7077,51 @@ span.rdp-weeknumber {
|
|
|
7071
7077
|
min-height: 2rem;
|
|
7072
7078
|
justify-self: center;
|
|
7073
7079
|
grid-column: 1;
|
|
7074
|
-
grid-row: line-2;
|
|
7075
7080
|
border-color: var(--a-border-subtle);
|
|
7076
7081
|
}
|
|
7077
7082
|
|
|
7083
|
+
.navds-process__line[data-position="start"] {
|
|
7084
|
+
grid-row: line-1;
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
.navds-process__event[data-status="active"] .navds-process__line[data-position="start"] {
|
|
7088
|
+
border-image: none;
|
|
7089
|
+
}
|
|
7090
|
+
|
|
7091
|
+
.navds-process__event:first-of-type .navds-process__line[data-position="start"] {
|
|
7092
|
+
border-start-start-radius: 4px;
|
|
7093
|
+
border-start-end-radius: 4px;
|
|
7094
|
+
min-height: 1.5rem;
|
|
7095
|
+
}
|
|
7096
|
+
|
|
7097
|
+
.navds-process__event:not(:first-of-type) .navds-process__line[data-position="start"],.navds-process:is(:not([data-truncated="start"],[data-truncated="both"])) .navds-process__line[data-position="start"] {
|
|
7098
|
+
display: none;
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
.navds-process__line[data-position="end"] {
|
|
7102
|
+
grid-row: line-2;
|
|
7103
|
+
}
|
|
7104
|
+
|
|
7105
|
+
.navds-process:is(:not([data-truncated="end"],[data-truncated="both"])) .navds-process__event:last-of-type .navds-process__line[data-position="end"] {
|
|
7106
|
+
display: none;
|
|
7107
|
+
}
|
|
7108
|
+
|
|
7109
|
+
.navds-process__event:last-of-type .navds-process__line[data-position="end"] {
|
|
7110
|
+
border-end-start-radius: 4px;
|
|
7111
|
+
border-end-end-radius: 4px;
|
|
7112
|
+
min-height: 1.5rem;
|
|
7113
|
+
}
|
|
7114
|
+
|
|
7078
7115
|
.navds-process__event[data-status="active"] .navds-process__line {
|
|
7079
7116
|
border-color: var(--a-border-alt-3);
|
|
7080
7117
|
border-image: linear-gradient(to bottom, var(--a-border-alt-3) 50%, var(--a-border-subtle) 90%);
|
|
7081
7118
|
border-image-slice: 1;
|
|
7082
7119
|
}
|
|
7083
7120
|
|
|
7121
|
+
.navds-process__event[data-status="active"]:last-of-type .navds-process__line {
|
|
7122
|
+
border-image: none;
|
|
7123
|
+
}
|
|
7124
|
+
|
|
7084
7125
|
.navds-process__event[data-status="completed"] .navds-process__line {
|
|
7085
7126
|
border-color: var(--a-border-alt-3);
|
|
7086
7127
|
}
|
|
@@ -7089,7 +7130,7 @@ span.rdp-weeknumber {
|
|
|
7089
7130
|
border-image: none;
|
|
7090
7131
|
}
|
|
7091
7132
|
|
|
7092
|
-
.navds-process__event:last-of-type .navds-process__line {
|
|
7133
|
+
.navds-process__event:last-of-type:is([data-connector="auto"]) .navds-process__line {
|
|
7093
7134
|
display: none;
|
|
7094
7135
|
}
|
|
7095
7136
|
|