@nldd/design-system 0.8.62 → 0.8.63
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/dist/components/actions/button/button.d.ts +9 -2
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.d.ts +5 -0
- package/dist/components/actions/button/button.i18n.d.ts.map +1 -0
- package/dist/components/actions/button/button.i18n.js +4 -0
- package/dist/components/actions/button/button.i18n.js.map +1 -0
- package/dist/components/actions/button/button.js +5 -2
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +14 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +17 -4
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +10 -2
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts +5 -0
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts.map +1 -0
- package/dist/components/actions/icon-button/icon-button.i18n.js +4 -0
- package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -0
- package/dist/components/actions/icon-button/icon-button.js +5 -2
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +11 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/components.js +63 -62
- package/dist/components/content/byline/byline.d.ts +11 -0
- package/dist/components/content/byline/byline.d.ts.map +1 -1
- package/dist/components/content/byline/byline.js +20 -0
- package/dist/components/content/byline/byline.js.map +1 -1
- package/dist/components/content/byline/byline.styles.d.ts.map +1 -1
- package/dist/components/content/byline/byline.styles.js +13 -1
- package/dist/components/content/byline/byline.styles.js.map +1 -1
- package/dist/components/content/byline/byline.template.d.ts.map +1 -1
- package/dist/components/content/byline/byline.template.js +17 -2
- package/dist/components/content/byline/byline.template.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +1 -0
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +1 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{index-DPe5myEj.js → index-BVaijKe_.js} +1770 -663
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +3 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +14 -2
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +7 -10
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.template.js +4 -2
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +12 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +9 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +45 -0
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +1 -0
- package/dist/components/lists-and-tables/list/list.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.js +1 -0
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +154 -1
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +10 -2
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +39 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +6 -5
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +4 -2
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +1 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +9 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.i18n.d.ts +5 -0
- package/dist/components/navigation/link/link.i18n.d.ts.map +1 -0
- package/dist/components/navigation/link/link.i18n.js +4 -0
- package/dist/components/navigation/link/link.i18n.js.map +1 -0
- package/dist/components/navigation/link/link.js +5 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +14 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +14 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +11 -4
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +25 -3
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/{prism-python-mIMEATOA.js → prism-python-Tr_Ff1KJ.js} +1 -1
- package/dist/components/{prism-rust-Ig3wVTFD.js → prism-rust-CxUpjfK5.js} +1 -1
- package/dist/components/{prism-typescript-BeulJu8Z.js → prism-typescript-zaF4YQWN.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +35 -12
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +48 -13
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +77 -17
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts +1 -2
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +21 -7
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +12 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +123 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.d.ts +6 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js +5 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +550 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts +2 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +301 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.d.ts +4 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +72 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js.map +1 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +6 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +23 -9
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/package.json +5 -1
package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
import { inheritedTextReset } from '../../../assets/styles/slotted-reset.js';
|
|
3
|
+
export const justInTimeEducationStyles = css `
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/* # Host */
|
|
7
|
+
|
|
8
|
+
:host {
|
|
9
|
+
--_arrow-length: var(--primitives-space-64); /* JS overrides this with the arrow-length attribute when valid */
|
|
10
|
+
--_desired-arrow-length: max(var(--primitives-space-40), var(--_arrow-length));
|
|
11
|
+
--_no-arrow-gap: var(--primitives-space-16);
|
|
12
|
+
--_gap: min(var(--_desired-arrow-length), var(--_available-distance));
|
|
13
|
+
--_available-distance: 9999px; /* JS sets the px distance to the viewport/document edge; default = no clamp */
|
|
14
|
+
--_background-blur: var(--primitives-space-8);
|
|
15
|
+
--_background-z-index: -1;
|
|
16
|
+
--_corner-radius: var(--primitives-space-40);
|
|
17
|
+
--_text-width: var(--primitives-area-320);
|
|
18
|
+
--_min-text-width: var(--primitives-area-200);
|
|
19
|
+
--_dismiss-width: var(--semantics-controls-md-min-size);
|
|
20
|
+
--_main-width: var(--_text-width);
|
|
21
|
+
--_max-width: var(--_main-width);
|
|
22
|
+
--_show-duration: var(--primitives-transition-duration-fast);
|
|
23
|
+
--_hide-duration: var(--primitives-transition-duration-medium);
|
|
24
|
+
--_offset: 0; /* px, unitless — read by JS */
|
|
25
|
+
--_shift-padding: 8; /* px, unitless — read by JS */
|
|
26
|
+
--_main-padding: var(--primitives-space-16);
|
|
27
|
+
--_main-background-color: color-mix(in srgb, var(--semantics-surfaces-base-background-color) 90%, transparent);
|
|
28
|
+
--_text-color: var(--semantics-content-color);
|
|
29
|
+
--_text-font: var(--primitives-font-body-lg-bold-tight);
|
|
30
|
+
--_supporting-text-color: var(--semantics-content-color);
|
|
31
|
+
--_supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
32
|
+
--_arrow-color: var(--semantics-content-color);
|
|
33
|
+
|
|
34
|
+
${inheritedTextReset}
|
|
35
|
+
display: contents;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host([hidden]) {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* no-arrow (consumer) or the auto-collapsed state (JS sets it when the gap would
|
|
43
|
+
* fall below its minimum): drop to a small fixed gap, with no arrow drawn. */
|
|
44
|
+
:host([no-arrow]),
|
|
45
|
+
:host([data-arrow-collapsed]) {
|
|
46
|
+
--_gap: var(--_no-arrow-gap);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Horizontal placement: the arrow gap is horizontal here (unlike vertical), so
|
|
50
|
+
* the container is the main plus the arrow length. (Vertical keeps the base
|
|
51
|
+
* --_max-width = --_main-width.) */
|
|
52
|
+
:host([data-arrow-side="left"]),
|
|
53
|
+
:host([data-arrow-side="right"]) {
|
|
54
|
+
--_max-width: calc(var(--_main-width) + var(--_desired-arrow-length));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* The dismiss button widens the main — it sits beside the text — for horizontal
|
|
58
|
+
* placement only; vertical stacks it below. --_max-width follows via --_main-width. */
|
|
59
|
+
:host([dismissable][data-arrow-side="left"]),
|
|
60
|
+
:host([dismissable][data-arrow-side="right"]) {
|
|
61
|
+
--_main-width: calc(var(--_text-width) + var(--_dismiss-width));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Horizontal placement near a viewport edge: --_available-distance (JS) is the
|
|
65
|
+
* distance to that edge. Reserve the main's width (--_main-width) so the arrow
|
|
66
|
+
* gap absorbs the first shrink and falls to 0; the container cap then narrows
|
|
67
|
+
* the main itself. Skipped for no-arrow, which keeps its fixed gap. */
|
|
68
|
+
:host(:not([no-arrow]):not([data-arrow-collapsed])[data-arrow-side="left"]),
|
|
69
|
+
:host(:not([no-arrow]):not([data-arrow-collapsed])[data-arrow-side="right"]) {
|
|
70
|
+
--_gap: clamp(0px, var(--_desired-arrow-length), calc(var(--_available-distance) - var(--_main-width)));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/* # Container */
|
|
75
|
+
|
|
76
|
+
/* Transparent top-layer wrapper. It carries the arrow gap as padding on the
|
|
77
|
+
* side facing the control (so the arrow lives INSIDE the box and is never
|
|
78
|
+
* clipped); the other sides keep a small margin for the blurred background.
|
|
79
|
+
* pointer-events are off so clicks on the empty padding fall through to the
|
|
80
|
+
* page (counted as "outside"). The whole thing fades as one on open/close;
|
|
81
|
+
* the base rule holds the (slower) hide timing, :popover-open the show. */
|
|
82
|
+
.just-in-time-education {
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
position: fixed;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
margin: 0;
|
|
87
|
+
border: none;
|
|
88
|
+
background: none;
|
|
89
|
+
width: max-content;
|
|
90
|
+
max-width: var(--_max-width);
|
|
91
|
+
padding: var(--_background-blur);
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
overflow: visible;
|
|
94
|
+
transition:
|
|
95
|
+
opacity var(--_hide-duration) ease,
|
|
96
|
+
display var(--_hide-duration) allow-discrete,
|
|
97
|
+
overlay var(--_hide-duration) allow-discrete;
|
|
98
|
+
/* Force a GPU layer so Safari paints the freshly-opened top-layer popover
|
|
99
|
+
* (blurred background + SVG arrow) correctly instead of leaving it stale
|
|
100
|
+
* until a manual resize. */
|
|
101
|
+
transform: translate3d(0, 0, 0);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Horizontal placement: never exceed the room to the viewport edge. Once the
|
|
105
|
+
* arrow gap has shrunk to 0, this is what makes the main itself narrower. */
|
|
106
|
+
:host([data-arrow-side="left"]) .just-in-time-education,
|
|
107
|
+
:host([data-arrow-side="right"]) .just-in-time-education {
|
|
108
|
+
max-width: min(var(--_max-width), var(--_available-distance));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/* ## Arrow-side padding (only the side facing the control needs the gap) */
|
|
113
|
+
|
|
114
|
+
:host([data-arrow-side="bottom"]) .just-in-time-education {
|
|
115
|
+
padding-block-start: var(--_gap);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host([data-arrow-side="top"]) .just-in-time-education {
|
|
119
|
+
padding-block-end: var(--_gap);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host([data-arrow-side="left"]) .just-in-time-education {
|
|
123
|
+
padding-inline-end: var(--_gap);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([data-arrow-side="right"]) .just-in-time-education {
|
|
127
|
+
padding-inline-start: var(--_gap);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
/* ## Fade */
|
|
132
|
+
|
|
133
|
+
.just-in-time-education:popover-open {
|
|
134
|
+
opacity: 1;
|
|
135
|
+
transition:
|
|
136
|
+
opacity var(--_show-duration) ease,
|
|
137
|
+
display var(--_show-duration) allow-discrete,
|
|
138
|
+
overlay var(--_show-duration) allow-discrete;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@starting-style {
|
|
142
|
+
.just-in-time-education:popover-open {
|
|
143
|
+
opacity: 0;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (prefers-reduced-motion: reduce) {
|
|
148
|
+
.just-in-time-education {
|
|
149
|
+
transition: none;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/* # Main */
|
|
155
|
+
|
|
156
|
+
.just-in-time-education__main {
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
position: relative;
|
|
159
|
+
isolation: isolate;
|
|
160
|
+
pointer-events: auto;
|
|
161
|
+
padding: var(--_main-padding);
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
align-items: center;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* The dismiss sits on the side away from the arrow: below the text for bottom,
|
|
168
|
+
* above it for top, beside it (on the placement's own side) for left/right —
|
|
169
|
+
* so the text always leans toward the control. */
|
|
170
|
+
:host([data-arrow-side="top"]) .just-in-time-education__main {
|
|
171
|
+
flex-direction: column-reverse;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host([data-arrow-side="left"]) .just-in-time-education__main {
|
|
175
|
+
flex-direction: row-reverse;
|
|
176
|
+
align-items: center;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([data-arrow-side="right"]) .just-in-time-education__main {
|
|
180
|
+
flex-direction: row;
|
|
181
|
+
align-items: center;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* Horizontal placement floor: as the room narrows the main (after the arrow
|
|
185
|
+
* has collapsed), keep it usable at this minimum — the card overflows the
|
|
186
|
+
* viewport edge rather than shrinking further. */
|
|
187
|
+
:host([data-arrow-side="left"]) .just-in-time-education__main,
|
|
188
|
+
:host([data-arrow-side="right"]) .just-in-time-education__main {
|
|
189
|
+
min-width: var(--_min-text-width);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* ...plus the dismiss button when dismissable: it sits beside the text, so the
|
|
193
|
+
* text keeps its 200px floor with the button next to it. */
|
|
194
|
+
:host([dismissable][data-arrow-side="left"]) .just-in-time-education__main,
|
|
195
|
+
:host([dismissable][data-arrow-side="right"]) .just-in-time-education__main {
|
|
196
|
+
min-width: calc(var(--_min-text-width) + var(--_dismiss-width));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Background lives on a blurred pseudo-element so its edges fade softly (no
|
|
200
|
+
* hard border, no drop shadow). The radius is a local, free value because
|
|
201
|
+
* this surface has a different function than the standard surfaces. The
|
|
202
|
+
* element is grown by the blur radius so the solid centre still covers the
|
|
203
|
+
* content after blurring. */
|
|
204
|
+
.just-in-time-education__main::before {
|
|
205
|
+
content: '';
|
|
206
|
+
position: absolute;
|
|
207
|
+
z-index: var(--_background-z-index);
|
|
208
|
+
inset: calc(-1 * var(--_background-blur));
|
|
209
|
+
border-radius: var(--_corner-radius);
|
|
210
|
+
background-color: var(--_main-background-color);
|
|
211
|
+
filter: blur(var(--_background-blur));
|
|
212
|
+
transform: translate3d(0, 0, 0);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
/* ## Text */
|
|
217
|
+
|
|
218
|
+
.just-in-time-education__text-area {
|
|
219
|
+
display: flex;
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
text-align: center;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:host([data-arrow-side="left"]) .just-in-time-education__text-area {
|
|
225
|
+
text-align: right;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
:host([data-arrow-side="right"]) .just-in-time-education__text-area {
|
|
229
|
+
text-align: left;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.just-in-time-education__text {
|
|
233
|
+
margin: 0;
|
|
234
|
+
color: var(--_text-color);
|
|
235
|
+
font: var(--_text-font);
|
|
236
|
+
font-style: italic;
|
|
237
|
+
text-wrap: pretty;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.just-in-time-education__supporting-text {
|
|
241
|
+
margin: 0;
|
|
242
|
+
color: var(--_supporting-text-color);
|
|
243
|
+
font: var(--_supporting-text-font);
|
|
244
|
+
font-style: italic;
|
|
245
|
+
text-wrap: pretty;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
/* ## Dismiss button */
|
|
250
|
+
|
|
251
|
+
.just-in-time-education__dismiss-button {
|
|
252
|
+
display: flex;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/* # Arrow */
|
|
257
|
+
|
|
258
|
+
.just-in-time-education__arrow {
|
|
259
|
+
position: absolute;
|
|
260
|
+
pointer-events: none;
|
|
261
|
+
overflow: visible;
|
|
262
|
+
color: var(--_arrow-color);
|
|
263
|
+
transform: translate3d(0, 0, 0);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/* Auto-collapsed (gap below its minimum near an edge): hide the arrow; the gap
|
|
267
|
+
* has already dropped to the small no-arrow value. */
|
|
268
|
+
:host([data-arrow-collapsed]) .just-in-time-education__arrow {
|
|
269
|
+
display: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.just-in-time-education__arrow-path {
|
|
273
|
+
fill: none;
|
|
274
|
+
stroke: currentColor;
|
|
275
|
+
stroke-width: 2;
|
|
276
|
+
stroke-linecap: butt;
|
|
277
|
+
stroke-dasharray: 5 3;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.just-in-time-education__arrow-head {
|
|
281
|
+
fill: currentColor;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
/* # Live-region announcer */
|
|
286
|
+
|
|
287
|
+
/* Visually hidden but present in the a11y tree, so the polite announcement set
|
|
288
|
+
* on open reaches assistive tech without moving focus into the callout. */
|
|
289
|
+
.just-in-time-education__announcer {
|
|
290
|
+
position: absolute;
|
|
291
|
+
margin: -1px;
|
|
292
|
+
border: 0;
|
|
293
|
+
width: 1px;
|
|
294
|
+
height: 1px;
|
|
295
|
+
overflow: hidden;
|
|
296
|
+
padding: 0;
|
|
297
|
+
white-space: nowrap;
|
|
298
|
+
clip-path: inset(50%);
|
|
299
|
+
}
|
|
300
|
+
`;
|
|
301
|
+
//# sourceMappingURL=just-in-time-education.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"just-in-time-education.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+BxC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QrB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TemplateResult } from 'lit';
|
|
2
|
+
import type { NLDDJustInTimeEducation } from './just-in-time-education.js';
|
|
3
|
+
export declare function justInTimeEducationTemplate(component: NLDDJustInTimeEducation): TemplateResult;
|
|
4
|
+
//# sourceMappingURL=just-in-time-education.template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"just-in-time-education.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/just-in-time-education/just-in-time-education.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,uBAAuB,GAAG,cAAc,CAqE9F"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { html, nothing } from 'lit';
|
|
2
|
+
export function justInTimeEducationTemplate(component) {
|
|
3
|
+
return html `
|
|
4
|
+
<slot
|
|
5
|
+
@slotchange=${component._handleSlotChange}
|
|
6
|
+
@focusin=${component._handleAdvisedInteraction}
|
|
7
|
+
@pointerdown=${component._handleAdvisedInteraction}
|
|
8
|
+
></slot>
|
|
9
|
+
<div class="just-in-time-education__announcer"
|
|
10
|
+
aria-live="polite"
|
|
11
|
+
aria-atomic="true"
|
|
12
|
+
></div>
|
|
13
|
+
<div class="just-in-time-education"
|
|
14
|
+
popover="manual"
|
|
15
|
+
role=${component.dismissable ? 'dialog' : 'region'}
|
|
16
|
+
tabindex=${component.dismissable ? '-1' : nothing}
|
|
17
|
+
aria-label=${component.text || component._t('components.just-in-time-education.accessible-label')}
|
|
18
|
+
@keydown=${component._handleCalloutKeydown}
|
|
19
|
+
>
|
|
20
|
+
<div class="just-in-time-education__main">
|
|
21
|
+
<div class="just-in-time-education__text-area">
|
|
22
|
+
${component.text ? html `
|
|
23
|
+
<p class="just-in-time-education__text">
|
|
24
|
+
${component.text}
|
|
25
|
+
</p>
|
|
26
|
+
` : nothing}
|
|
27
|
+
${component.supportingText ? html `
|
|
28
|
+
<p class="just-in-time-education__supporting-text">
|
|
29
|
+
${component.supportingText}
|
|
30
|
+
</p>
|
|
31
|
+
` : nothing}
|
|
32
|
+
</div>
|
|
33
|
+
${component.dismissable ? html `
|
|
34
|
+
<div class="just-in-time-education__dismiss-button">
|
|
35
|
+
<nldd-icon-button
|
|
36
|
+
icon="dismiss"
|
|
37
|
+
variant="neutral-transparent"
|
|
38
|
+
size="md"
|
|
39
|
+
accessible-label=${component._t('components.just-in-time-education.dismiss-action')}
|
|
40
|
+
@click=${component._handleDismiss}
|
|
41
|
+
></nldd-icon-button>
|
|
42
|
+
</div>
|
|
43
|
+
` : nothing}
|
|
44
|
+
</div>
|
|
45
|
+
${component.noArrow ? nothing : html `
|
|
46
|
+
<svg class="just-in-time-education__arrow"
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
>
|
|
49
|
+
<defs>
|
|
50
|
+
<marker
|
|
51
|
+
id=${component._arrowMarkerId}
|
|
52
|
+
markerWidth="10"
|
|
53
|
+
markerHeight="12"
|
|
54
|
+
refX="0"
|
|
55
|
+
refY="5.78"
|
|
56
|
+
orient="auto"
|
|
57
|
+
markerUnits="userSpaceOnUse"
|
|
58
|
+
>
|
|
59
|
+
<path class="just-in-time-education__arrow-head"
|
|
60
|
+
d="M0,0 L10,5.78 L0,11.55 Z"
|
|
61
|
+
></path>
|
|
62
|
+
</marker>
|
|
63
|
+
</defs>
|
|
64
|
+
<path class="just-in-time-education__arrow-path"
|
|
65
|
+
marker-end=${`url(#${component._arrowMarkerId})`}
|
|
66
|
+
></path>
|
|
67
|
+
</svg>
|
|
68
|
+
`}
|
|
69
|
+
</div>
|
|
70
|
+
`;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=just-in-time-education.template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"just-in-time-education.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/just-in-time-education/just-in-time-education.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAIpC,MAAM,UAAU,2BAA2B,CAAC,SAAkC;IAC7E,OAAO,IAAI,CAAA;;iBAEK,SAAS,CAAC,iBAAiB;cAC9B,SAAS,CAAC,yBAAyB;kBAC/B,SAAS,CAAC,yBAAyB;;;;;;;;UAQ3C,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ;cACvC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;gBACpC,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,EAAE,CAAC,oDAAoD,CAAC;cACtF,SAAS,CAAC,qBAAqB;;;;OAItC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;;SAEnB,SAAS,CAAC,IAAI;;MAEjB,CAAC,CAAC,CAAC,OAAO;OACT,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAA;;SAE7B,SAAS,CAAC,cAAc;;MAE3B,CAAC,CAAC,CAAC,OAAO;;MAEV,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;0BAMR,SAAS,CAAC,EAAE,CAAC,kDAAkD,CAAC;gBAC1E,SAAS,CAAC,cAAc;;;KAGnC,CAAC,CAAC,CAAC,OAAO;;KAEV,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;YAM3B,SAAS,CAAC,cAAc;;;;;;;;;;;;;;mBAcjB,QAAQ,SAAS,CAAC,cAAc,GAAG;;;IAGlD;;EAEF,CAAC;AACH,CAAC"}
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
* benoemen ("Storing: …", "Gepland onderhoud …"), zodat de betekenis niet
|
|
9
9
|
* alleen uit kleur volgt (WCAG 1.4.1).
|
|
10
10
|
*
|
|
11
|
+
* Houd de tekst kort: de balk toont één regel en kapt af met ellipsis, zeker
|
|
12
|
+
* op smallere schermen. Bij een lang bericht met veel informatie hoort alleen
|
|
13
|
+
* de kern in de balk; verwijs voor de rest naar een losse pagina of sheet
|
|
14
|
+
* (bijvoorbeeld via `href` of `button`) waar de gebruiker verder kan lezen.
|
|
15
|
+
*
|
|
11
16
|
* De hele balk kan klikbaar zijn: zet `href` (rendert een `<a>`) of `button`
|
|
12
17
|
* (rendert een `<button>`; luister naar het native `click` event). Zonder
|
|
13
18
|
* beide is de balk statisch. Bij interactie verschijnt een chevron als
|
|
@@ -45,7 +50,7 @@ export declare class NLDDStatusBar extends LitElement {
|
|
|
45
50
|
/** Link rel attribute. Only used when href is set. */
|
|
46
51
|
rel: string;
|
|
47
52
|
button: boolean;
|
|
48
|
-
|
|
53
|
+
connectedCallback(): void;
|
|
49
54
|
/** @internal Auto-secure rel for new-tab links unless the consumer set one. */
|
|
50
55
|
_resolvedRel(): string;
|
|
51
56
|
updated(changed: Map<string, unknown>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzF,qBACa,aAAc,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAAmB;IAGzC,OAAO,EAAE,gBAAgB,CAAa;IAGtC,IAAI,SAAM;IAGV,IAAI,SAAM;IAEV,+DAA+D;IAE/D,MAAM,SAAM;IAEZ,sDAAsD;IAEtD,GAAG,SAAM;IAGT,MAAM,UAAS;IAEN,iBAAiB,IAAI,IAAI;IAYlC,+EAA+E;IAC/E,YAAY,IAAI,MAAM;IAKb,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAIrD,OAAO,CAAC,oBAAoB;IAmBnB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -14,6 +14,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
14
14
|
* benoemen ("Storing: …", "Gepland onderhoud …"), zodat de betekenis niet
|
|
15
15
|
* alleen uit kleur volgt (WCAG 1.4.1).
|
|
16
16
|
*
|
|
17
|
+
* Houd de tekst kort: de balk toont één regel en kapt af met ellipsis, zeker
|
|
18
|
+
* op smallere schermen. Bij een lang bericht met veel informatie hoort alleen
|
|
19
|
+
* de kern in de balk; verwijs voor de rest naar een losse pagina of sheet
|
|
20
|
+
* (bijvoorbeeld via `href` of `button`) waar de gebruiker verder kan lezen.
|
|
21
|
+
*
|
|
17
22
|
* De hele balk kan klikbaar zijn: zet `href` (rendert een `<a>`) of `button`
|
|
18
23
|
* (rendert een `<button>`; luister naar het native `click` event). Zonder
|
|
19
24
|
* beide is de balk statisch. Bij interactie verschijnt een chevron als
|
|
@@ -45,7 +50,7 @@ import { statusBarTemplate } from './status-bar.template.js';
|
|
|
45
50
|
import '../../content/icon/icon.js';
|
|
46
51
|
let NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
47
52
|
constructor() {
|
|
48
|
-
super();
|
|
53
|
+
super(...arguments);
|
|
49
54
|
this.variant = 'neutral';
|
|
50
55
|
this.text = '';
|
|
51
56
|
this.href = '';
|
|
@@ -54,14 +59,17 @@ let NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
|
54
59
|
/** Link rel attribute. Only used when href is set. */
|
|
55
60
|
this.rel = '';
|
|
56
61
|
this.button = false;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
}
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
super.connectedCallback();
|
|
65
|
+
// Set role + aria-live here, NOT in the constructor: the custom-element
|
|
66
|
+
// spec forbids a constructor from adding attributes to its element, so
|
|
67
|
+
// document.createElement (the path Vue, React and other createElement-based
|
|
68
|
+
// frameworks use) would throw NotSupportedError and the element would never
|
|
69
|
+
// upgrade. connectedCallback runs at insertion, before the first render, so
|
|
70
|
+
// the live-region role is present from the start; updated() keeps it in sync
|
|
71
|
+
// on later variant changes.
|
|
72
|
+
this._applyAriaForVariant(this.variant);
|
|
65
73
|
}
|
|
66
74
|
/** @internal Auto-secure rel for new-tab links unless the consumer set one. */
|
|
67
75
|
_resolvedRel() {
|
|
@@ -74,6 +82,12 @@ let NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
|
74
82
|
this._applyAriaForVariant(this.variant);
|
|
75
83
|
}
|
|
76
84
|
_applyAriaForVariant(variant) {
|
|
85
|
+
// role + aria-live are component-owned and tied to the variant for correct
|
|
86
|
+
// announcement (critical = assertive alert, else polite status). They are
|
|
87
|
+
// (re)applied unconditionally on every connect/variant change, NOT guarded
|
|
88
|
+
// behind "consumer hasn't set role" — deliberately, since the docs state they
|
|
89
|
+
// are not consumer-overridable: a wrong role here (e.g. presentation on a
|
|
90
|
+
// critical alert) would silently break the a11y contract.
|
|
77
91
|
if (variant === 'critical') {
|
|
78
92
|
this.setAttribute('role', 'alert');
|
|
79
93
|
this.removeAttribute('aria-live');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"status-bar.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,4BAA4B,CAAC;AAK7B,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,UAAU;IAAtC;;QAIN,YAAO,GAAqB,SAAS,CAAC;QAGtC,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAEV,+DAA+D;QAE/D,WAAM,GAAG,EAAE,CAAC;QAEZ,sDAAsD;QAEtD,QAAG,GAAG,EAAE,CAAC;QAGT,WAAM,GAAG,KAAK,CAAC;IA8ChB,CAAC;IA5CS,iBAAiB;QACzB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,wEAAwE;QACxE,uEAAuE;QACvE,4EAA4E;QAC5E,4EAA4E;QAC5E,4EAA4E;QAC5E,6EAA6E;QAC7E,4BAA4B;QAC5B,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED,+EAA+E;IAC/E,YAAY;QACX,IAAI,IAAI,CAAC,GAAG;YAAE,OAAO,IAAI,CAAC,GAAG,CAAC;QAC9B,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9D,CAAC;IAEQ,OAAO,CAAC,OAA6B;QAC7C,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;YAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,oBAAoB,CAAC,OAAyB;QACrD,2EAA2E;QAC3E,0EAA0E;QAC1E,2EAA2E;QAC3E,8EAA8E;QAC9E,0EAA0E;QAC1E,0DAA0D;QAC1D,IAAI,OAAO,KAAK,UAAU,EAAE,CAAC;YAC5B,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YACnC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QACnC,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;YACpC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAC1C,CAAC;QACD,oEAAoE;QACpE,6DAA6D;QAC7D,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IAEQ,MAAM;QACd,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;;AAjEe,oBAAM,GAAG,eAAe,AAAlB,CAAmB;AAGzC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CACJ;AAGtC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACjB;AAIV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CACf;AAIZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CAClB;AAGT;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CAC5B;AArBH,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAmEzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.63",
|
|
4
4
|
"description": "Design System voor Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/components.js",
|
|
@@ -379,6 +379,10 @@
|
|
|
379
379
|
"types": "./dist/components/status-and-feedback/status-bar/status-bar.d.ts",
|
|
380
380
|
"default": "./dist/components/status-and-feedback/status-bar/status-bar.js"
|
|
381
381
|
},
|
|
382
|
+
"./just-in-time-education": {
|
|
383
|
+
"types": "./dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts",
|
|
384
|
+
"default": "./dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js"
|
|
385
|
+
},
|
|
382
386
|
"./styles": "./dist/css/global.css",
|
|
383
387
|
"./styles/tokens": "./dist/css/settings.css",
|
|
384
388
|
"./tokens": {
|