@nldd/design-system 0.8.94 → 0.8.95

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.
Files changed (43) hide show
  1. package/README.md +108 -12
  2. package/custom-elements.json +10 -26
  3. package/dist/components/actions/toolbar/toolbar.d.ts +3 -1
  4. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  5. package/dist/components/actions/toolbar/toolbar.js +18 -8
  6. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  7. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  8. package/dist/components/actions/toolbar/toolbar.styles.js +3 -2
  9. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  10. package/dist/components/components.js +319 -273
  11. package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
  12. package/dist/components/content/blockquote/blockquote.styles.js +1 -0
  13. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  14. package/dist/components/{decorate-lwt_OrAG.js → decorate-CO88j7Lc.js} +1 -1
  15. package/dist/components/{dist-M6GKopqu.js → dist-BWEAw34D.js} +1 -1
  16. package/dist/components/{dist-OlffRM7-.js → dist-BWRYv3Mp.js} +1 -1
  17. package/dist/components/{dist-CSYXsT7W.js → dist-Bi4EHsFY.js} +2 -2
  18. package/dist/components/{dist-B5ie2Bo9.js → dist-C3uWRipu.js} +1 -1
  19. package/dist/components/{dist-CoUVHSu-.js → dist-CH9m014O.js} +1 -1
  20. package/dist/components/{dist-Dn3c5gfb.js → dist-CpW8MF-L.js} +42 -27
  21. package/dist/components/{dist-RPaf2J9c.js → dist-CvL6_ezZ.js} +2 -2
  22. package/dist/components/{dist-CGOykrJw.js → dist-DMHTTJRJ.js} +2 -2
  23. package/dist/components/{dist-BUu-NW5O.js → dist-DTOshgo1.js} +1 -1
  24. package/dist/components/{dist-Dxn9Up8K.js → dist-DV6Mp5N1.js} +3 -3
  25. package/dist/components/{dist-CQzaKTa8.js → dist-PlhQXXtE.js} +1 -1
  26. package/dist/components/{icon-DWNVcttg.js → icon-Typdp4av.js} +1 -1
  27. package/dist/components/{icon-button-DHzLMmj0.js → icon-button-9mo3oIyL.js} +6 -6
  28. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +1 -1
  29. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +1 -1
  30. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  31. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +15 -1
  32. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  33. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +37 -22
  34. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
  35. package/dist/components/status-and-feedback/step-indicator/step-indicator.js +63 -31
  36. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
  37. package/dist/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
  38. package/dist/components/{with-translations-Dt2DTXJF.js → with-translations-C8_0-9y8.js} +1 -1
  39. package/dist/css/document-reset.css +7 -0
  40. package/dist/css/rich-text.css +0 -2
  41. package/dist/nldd.min.js +275 -259
  42. package/dist/types/vue.d.ts +9 -10
  43. package/package.json +5 -5
@@ -11,9 +11,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  * number (or a check mark on what is done), a label under each and a line
12
12
  * connecting them.
13
13
  *
14
- * The parent holds the truth: `current` (1-based) derives the status of every
15
- * child — `past` before it, `future` after. A child can override that with a
16
- * `status` of its own, for flows that jump back or skip a step.
14
+ * Mark the step you are on with `status="current"`. The parent derives the
15
+ * rest from its position: `past` before it, `future` after. With none marked,
16
+ * step 1 is current. With more than one, the last one wins and a warning goes
17
+ * to the console in a dev build: a flow that forgets to clear the previous
18
+ * step still points at the furthest one. A `status="past"` or
19
+ * `status="future"` on another step overrides what is derived for that step,
20
+ * for flows that jump back or skip a step. One attribute, the same three
21
+ * values as `nldd-timeline-track-cell`, so a flow reads in one vocabulary
22
+ * whether it runs across or down.
17
23
  *
18
24
  * Horizontal only. For steps under each other, build an `nldd-list` with an
19
25
  * `nldd-timeline-track-cell` and an `nldd-title-cell` per row: vertical steps
@@ -33,18 +39,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
33
39
  *
34
40
  * @attr {string} accessible-label - Name of the nav; defaults to the i18n value ("Voortgang")
35
41
  * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
36
- * @attr {number} current - 1-based number of the current step (default 1)
37
42
  *
38
43
  * @slot - `nldd-step-indicator-item` children
39
44
  *
40
45
  * @example
41
46
  * ```html
42
- * <nldd-step-indicator
43
- * current="2"
44
- * accessible-label="Voortgang aanvraag"
45
- * >
47
+ * <nldd-step-indicator accessible-label="Voortgang aanvraag">
46
48
  * <nldd-step-indicator-item text="Gegevens"></nldd-step-indicator-item>
47
- * <nldd-step-indicator-item text="Controle"></nldd-step-indicator-item>
49
+ * <nldd-step-indicator-item text="Controle" status="current"></nldd-step-indicator-item>
48
50
  * <nldd-step-indicator-item text="Bevestigen"></nldd-step-indicator-item>
49
51
  * </nldd-step-indicator>
50
52
  * ```
@@ -59,16 +61,17 @@ import { stepIndicatorTemplate, stepIndicatorItemTemplate } from './step-indicat
59
61
  import '../../content/icon/icon.js';
60
62
  // # nldd-step-indicator-item
61
63
  /**
62
- * One step in an `nldd-step-indicator`. The parent decides the status and the
63
- * number; those live here as internal state rather than as public API, except
64
- * for `status`, which overrides what `current` derives.
64
+ * One step in an `nldd-step-indicator`. `status="current"` marks the step you
65
+ * are on; the parent derives the status of the others and the number of each,
66
+ * which live here as internal state rather than as public API. `past` and
67
+ * `future` override what is derived for this step.
65
68
  *
66
69
  * @element nldd-step-indicator-item
67
70
  *
68
- * @attr {string} status - `past` | `current` | `future`; overrides what the parent derives
69
- * @attr {string} text - Label under the disc
70
- * @attr {string} icon - Icon in the disc instead of the number or the check mark
71
- * @attr {string} href - Makes the step a link (back to a completed step, for instance)
71
+ * @attr {'past' | 'current' | 'future'} status - How far along this step is. `current` marks the step you are on (`aria-current="step"`) and the parent derives the others from it: with none marked step 1 is current, with more than one the last wins. `past` and `future` override what is derived for this step only
72
+ * @attr {string} text - Label under the disc
73
+ * @attr {string} icon - Icon in the disc instead of the number or the check mark
74
+ * @attr {string} href - Makes the step a link (back to a completed step, for instance)
72
75
  * @attr {boolean} button - Makes the step a button, for flows without a URL per step; ignored when `href` is set
73
76
  *
74
77
  * @slot - Label (an alternative to `text`)
@@ -89,9 +92,12 @@ export class NLDDStepIndicatorItem extends LitElement {
89
92
  this._index = 1;
90
93
  this._statusText = '';
91
94
  }
92
- /** The status that counts: the item's own wins over the derived one. */
95
+ /** The status that counts. An own `past` or `future` wins over the derived
96
+ * one. An own `current` is what the parent derives from, so the derived
97
+ * status already says it, and on a step that lost to a later one it does not
98
+ * hold. */
93
99
  get resolvedStatus() {
94
- return this.status ?? this._derivedStatus;
100
+ return this.status && this.status !== 'current' ? this.status : this._derivedStatus;
95
101
  }
96
102
  connectedCallback() {
97
103
  super.connectedCallback();
@@ -149,10 +155,13 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
149
155
  constructor() {
150
156
  super(...arguments);
151
157
  this.accessibleLabel = '';
152
- this.current = 1;
153
158
  /** The steps, tracked so the compact view (text + bar) is driven by the same
154
159
  * source as the row of markers. */
155
160
  this._items = [];
161
+ /** `status` lives on the children, so a change there has to reach this
162
+ * element: the derived statuses and the compact view follow it. */
163
+ this._observer = new MutationObserver(() => this.requestUpdate());
164
+ this._warnedMultipleCurrent = false;
156
165
  this._onSlotChange = (e) => {
157
166
  const slot = e.target;
158
167
  this._items = slot.assignedElements({ flatten: true })
@@ -162,17 +171,35 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
162
171
  get total() {
163
172
  return this._items.length;
164
173
  }
165
- /** The current step, clamped to the number of steps: an out-of-range
166
- * `current` would otherwise mark every step past (or none at all). */
174
+ /** 1-based position of the last item with `status="current"`, or 1 when none has it. */
167
175
  get resolvedCurrent() {
168
- if (this.total === 0)
169
- return this.current;
170
- return Math.min(Math.max(this.current, 1), this.total);
176
+ const index = this._items.map(item => item.status).lastIndexOf('current');
177
+ return index === -1 ? 1 : index + 1;
171
178
  }
172
179
  get currentItem() {
173
180
  return this._items.find(item => item.resolvedStatus === 'current')
174
181
  ?? this._items[this.resolvedCurrent - 1];
175
182
  }
183
+ connectedCallback() {
184
+ super.connectedCallback();
185
+ this._observer.observe(this, { subtree: true, attributes: true, attributeFilter: ['status'] });
186
+ }
187
+ /** `current` is no longer an attribute of this element. Watched anyway, so a
188
+ * leftover one gets a hint, also when a framework sets it after the first
189
+ * render: Vue and React fall back to the attribute for an unknown property. */
190
+ static get observedAttributes() {
191
+ return [...super.observedAttributes, 'current'];
192
+ }
193
+ attributeChangedCallback(name, old, value) {
194
+ super.attributeChangedCallback(name, old, value);
195
+ if (import.meta.env?.DEV && name === 'current' && value !== null) {
196
+ console.warn('<nldd-step-indicator>: `current` moved to the step. Set `status="current"` on the current `nldd-step-indicator-item` instead.');
197
+ }
198
+ }
199
+ disconnectedCallback() {
200
+ super.disconnectedCallback();
201
+ this._observer.disconnect();
202
+ }
176
203
  /** Before render, not after: the compact view reads the current item back out
177
204
  * of the children, so their statuses have to be fresh by the time this
178
205
  * element renders. */
@@ -180,12 +207,20 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
180
207
  // withTranslations merges a consumer's `translations` override in its own
181
208
  // willUpdate; without this call the override is silently ignored.
182
209
  super.willUpdate(changed);
183
- if (changed.has('current') || changed.has('_items'))
184
- this._syncItems();
210
+ this._syncItems();
211
+ this._warnOnMultipleCurrent();
212
+ }
213
+ _warnOnMultipleCurrent() {
214
+ if (!import.meta.env?.DEV)
215
+ return;
216
+ const multiple = this._items.filter(item => item.status === 'current').length > 1;
217
+ if (multiple && !this._warnedMultipleCurrent) {
218
+ console.warn('<nldd-step-indicator>: more than one step has `status="current"`; the last one wins. Mark only the step you are on.');
219
+ }
220
+ this._warnedMultipleCurrent = multiple;
185
221
  }
186
222
  /** Push position, derived status and status text down to the children. Push
187
- * rather than pull: a child reading its own parent has no way of knowing
188
- * when `current` changes. */
223
+ * rather than pull: a child cannot see where the current step sits. */
189
224
  _syncItems() {
190
225
  const current = this.resolvedCurrent;
191
226
  this._items.forEach((item, index) => {
@@ -203,9 +238,6 @@ NLDDStepIndicator.styles = stepIndicatorStyles;
203
238
  __decorate([
204
239
  property({ type: String, attribute: 'accessible-label' })
205
240
  ], NLDDStepIndicator.prototype, "accessibleLabel", void 0);
206
- __decorate([
207
- property({ type: Number, reflect: true })
208
- ], NLDDStepIndicator.prototype, "current", void 0);
209
241
  __decorate([
210
242
  state()
211
243
  ], NLDDStepIndicator.prototype, "_items", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"step-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,6BAA6B,EAAsC,MAAM,0BAA0B,CAAC;AAC7G,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,4BAA4B,CAAC;AAOpC,6BAA6B;AAE7B;;;;;;;;;;;;;;GAcG;AACH,MAAM,OA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M;QACd,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;;AA5De,wBAAM,GAAG,mBAAmB,AAAtB,CAAuB;AAG7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;0DACrC;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAC9B;AAKZ;IADC,KAAK,EAAE;iDAC6B;AAfzB,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAiE7B"}
1
+ {"version":3,"file":"step-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,6BAA6B,EAAsC,MAAM,0BAA0B,CAAC;AAC7G,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,4BAA4B,CAAC;AAOpC,6BAA6B;AAE7B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,qBAAsB,SAAQ,UAAU;IAArD;;QAOC,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAEV;;6DAEqD;QAErD,WAAM,GAAG,KA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,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;;AA/Fe,wBAAM,GAAG,mBAAmB,AAAtB,CAAuB;AAG7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;0DACrC;AAKrB;IADC,KAAK,EAAE;iDAC6B;AAZzB,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAoG7B"}
@@ -1,4 +1,4 @@
1
- import { t as __decorate } from "./decorate-lwt_OrAG.js";
1
+ import { t as __decorate } from "./decorate-CO88j7Lc.js";
2
2
  import { t as breakpoints } from "./breakpoints-CkxsiRgH.js";
3
3
  import { css, unsafeCSS } from "lit";
4
4
  import { property } from "lit/decorators.js";
@@ -1,4 +1,4 @@
1
- import { t as __decorate } from "./decorate-lwt_OrAG.js";
1
+ import { t as __decorate } from "./decorate-CO88j7Lc.js";
2
2
  import { property } from "lit/decorators.js";
3
3
  //#region src/utilities/link-rel.ts
4
4
  /**
@@ -1,4 +1,11 @@
1
1
  @layer reset {
2
+ /* iOS Safari inflates small text in landscape while this is auto. On the
3
+ root it covers the whole page, light DOM and shadow roots alike. */
4
+ html {
5
+ -webkit-text-size-adjust: 100%;
6
+ text-size-adjust: 100%;
7
+ }
8
+
2
9
  html:has(nldd-app-view),
3
10
  html:has(nldd-app-view) body {
4
11
  margin: 0;
@@ -28,8 +28,6 @@ nldd-rich-text {
28
28
  row-gap: var(--_spacing);
29
29
  color: var(--semantics-content-color);
30
30
  font: var(--primitives-font-body-md-regular-snug);
31
- -webkit-text-size-adjust: 100%;
32
- text-size-adjust: 100%;
33
31
  }
34
32
 
35
33
  nldd-rich-text[centered] {