@nldd/design-system 0.16.1 → 0.16.2
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/README.md +5 -1
- package/custom-elements.json +23 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +1 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -0
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/components.js +70 -18
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +1 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/{decorate-pEFCObfp.js → decorate-CtaxGuuh.js} +1 -1
- package/dist/components/{defer-focus-CkNrCf_g.js → defer-focus-CC5RVvh6.js} +2 -2
- package/dist/components/{dev-checks--aiYe9Pe.js → dev-checks-a7fZ6hgC.js} +5 -0
- package/dist/components/forms/validation-list/validation-list.styles.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.styles.js +1 -0
- package/dist/components/forms/validation-list/validation-list.styles.js.map +1 -1
- package/dist/components/{icon-BQjRjtKH.js → icon-Bkdlj87q.js} +1 -1
- package/dist/components/{icon-button-CDYZPHYe.js → icon-button-DJPpMxWn.js} +5 -3
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +1 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.dates.d.ts +5 -1
- package/dist/components/inputs/date-field/date-field.dates.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.dates.js +6 -2
- package/dist/components/inputs/date-field/date-field.dates.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +1 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +1 -0
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +1 -0
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +3 -0
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +3 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +8 -3
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +13 -0
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -1
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/task-board/task-board.styles.d.ts.map +1 -1
- package/dist/components/layout/task-board/task-board.styles.js +1 -0
- package/dist/components/layout/task-board/task-board.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -1
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.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 +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +1 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +5 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-Ce0goNS6.js → visibility-mixin-CwMutpAK.js} +1 -1
- package/dist/css/form-section.css +2 -0
- package/dist/nldd.min.js +49 -6
- package/dist/types/vue.d.ts +4 -0
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +5 -0
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# NLDD Designsysteem
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Het NLDD Designsysteem geeft je de bouwstenen voor websites en applicaties van de Rijksoverheid. Toegankelijkheid, huisstijl en ontwerppatronen krijg je automatisch mee.
|
|
4
|
+
|
|
5
|
+
De componenten zijn web components: gewone HTML-elementen die de browser zelf begrijpt. Daarom werken ze in Angular, React en Vue, en net zo goed zonder framework. Vind je een probleem, dan lossen we het één keer op, in het component zelf. Met de volgende update hebben alle teams de verbetering.
|
|
6
|
+
|
|
7
|
+
Meer op **https://design.digitaledienst.overheid.nl**. Alle componenten staan in [Storybook](https://nederlandsedigitaledienst.github.io/design-system/).
|
|
4
8
|
|
|
5
9
|
## Installatie
|
|
6
10
|
|
package/custom-elements.json
CHANGED
|
@@ -11924,7 +11924,7 @@
|
|
|
11924
11924
|
}
|
|
11925
11925
|
}
|
|
11926
11926
|
],
|
|
11927
|
-
"description": "Read a typed date generously. Deliberately not a mask: reformatting per\nkeystroke moves the caret, breaks backspace mid-value and confuses screen\nreaders, so we accept what people type and normalize once on commit.\nAccepts 12-3-2026, 12/03/2026, 12.03.2026
|
|
11927
|
+
"description": "Read a typed date generously. Deliberately not a mask: reformatting per\nkeystroke moves the caret, breaks backspace mid-value and confuses screen\nreaders, so we accept what people type and normalize once on commit.\nAccepts 12-3-2026, 12/03/2026, 12.03.2026 and ISO yyyy-mm-dd, and ddmmyyyy\nwith or without one separator between each part (12032026, 12-032026, 1203 2026).\nEight bare digits are always read as ddmmyyyy, never as a compact ISO date.\nA numeric keypad on a phone has no hyphen, so a date edited there often keeps\none separator and loses the other."
|
|
11928
11928
|
},
|
|
11929
11929
|
{
|
|
11930
11930
|
"kind": "function",
|
|
@@ -29699,6 +29699,16 @@
|
|
|
29699
29699
|
"attribute": "min-height",
|
|
29700
29700
|
"reflects": true
|
|
29701
29701
|
},
|
|
29702
|
+
{
|
|
29703
|
+
"kind": "field",
|
|
29704
|
+
"name": "hideOn",
|
|
29705
|
+
"type": {
|
|
29706
|
+
"text": "HideOn"
|
|
29707
|
+
},
|
|
29708
|
+
"default": "''",
|
|
29709
|
+
"attribute": "hide-on",
|
|
29710
|
+
"reflects": true
|
|
29711
|
+
},
|
|
29702
29712
|
{
|
|
29703
29713
|
"kind": "field",
|
|
29704
29714
|
"name": "gap",
|
|
@@ -30132,6 +30142,18 @@
|
|
|
30132
30142
|
"fieldName": "minHeight",
|
|
30133
30143
|
"description": "Minimum height as a CSS length (e.g. '240px'), padding included. Reserves the room that content still on its way will take; vertical-alignment then places the children within it."
|
|
30134
30144
|
},
|
|
30145
|
+
{
|
|
30146
|
+
"name": "hide-on",
|
|
30147
|
+
"type": {
|
|
30148
|
+
"text": "HideOn"
|
|
30149
|
+
},
|
|
30150
|
+
"default": "''",
|
|
30151
|
+
"fieldName": "hideOn",
|
|
30152
|
+
"expandedType": {
|
|
30153
|
+
"text": "'' | 'pointer' | 'touch'"
|
|
30154
|
+
},
|
|
30155
|
+
"description": "'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too."
|
|
30156
|
+
},
|
|
30135
30157
|
{
|
|
30136
30158
|
"name": "gap",
|
|
30137
30159
|
"type": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,yBA2mBxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC3B,kBAAkB
|
|
1
|
+
{"version":3,"file":"button.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkC3B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAykBrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,yBAiMtB,CAAC;AAEF,eAAO,MAAM,cAAc,yBAsH1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBAqB7B,CAAC;AAEF,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"menu.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,yBAiMtB,CAAC;AAEF,eAAO,MAAM,cAAc,yBAsH1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,yBAqB7B,CAAC;AAEF,eAAO,MAAM,eAAe,yBAqE3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+BzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKrB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;IAW7B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GrB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqBnC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;IAa9B,kBAAkB
|
|
1
|
+
{"version":3,"file":"menu.styles.js","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+BzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKrB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;IAW7B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GrB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;CAqBnC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;IAa9B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDrB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
|
|
2
|
-
import { n as customElement, t as __decorate } from "./decorate-
|
|
2
|
+
import { n as customElement, t as __decorate } from "./decorate-CtaxGuuh.js";
|
|
3
3
|
import { n as slottedReset, t as inheritedTextReset } from "./shadow-resets-BwOyyZFH.js";
|
|
4
|
-
import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, o as linkHintKey, r as setTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-
|
|
4
|
+
import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, o as linkHintKey, r as setTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-CC5RVvh6.js";
|
|
5
5
|
import { n as internalsOf, r as setState$1 } from "./element-state-BnarBv0M.js";
|
|
6
|
-
import { a as releaseContext, c as anchorPopoverTarget, d as ShortcutAvailabilityController, f as hasShortcut, i as langOf, l as popoverTargetOf, m as shortcutsAvailable, n as NLDDTooltip, o as NLDDActivityIndicator, p as shortcutLabel, r as carryContext, s as PopupAnchorController, t as NLDDIconButton, u as NLDDKeyboardShortcut } from "./icon-button-
|
|
6
|
+
import { a as releaseContext, c as anchorPopoverTarget, d as ShortcutAvailabilityController, f as hasShortcut, i as langOf, l as popoverTargetOf, m as shortcutsAvailable, n as NLDDTooltip, o as NLDDActivityIndicator, p as shortcutLabel, r as carryContext, s as PopupAnchorController, t as NLDDIconButton, u as NLDDKeyboardShortcut } from "./icon-button-DJPpMxWn.js";
|
|
7
7
|
import { t as reflectNonDefault } from "./reflect-non-default-B9wQcnne.js";
|
|
8
8
|
import { t as nlddButtonTranslations } from "./button.i18n-DiDGynnq.js";
|
|
9
|
-
import { t as NLDDIcon } from "./icon-
|
|
9
|
+
import { t as NLDDIcon } from "./icon-Bkdlj87q.js";
|
|
10
10
|
import { n as isPointerMode, r as isTouchMode, t as isKeyboardMode } from "./input-modality-CiPLYYMN.js";
|
|
11
11
|
import { A as nlddStepperTranslations, B as nlddComboBoxTranslations, C as nlddCardTranslations, D as nlddTimeFieldTranslations, E as nlddTokenFieldTranslations, F as nlddFileFieldTranslations, G as nlddCodeViewerTranslations, H as nlddTokenTranslations, I as nlddDateFieldTranslations, J as nlddAvatarTranslations, K as nlddAvatarGroupTranslations, L as MONTH_KEYS, M as nlddSearchFieldTranslations, N as nlddPasswordFieldTranslations, O as nlddTimePickerTranslations, P as nlddNumberFieldTranslations, R as WEEKDAY_KEYS, S as nlddCollectionTranslations, T as nlddSliderTranslations, U as nlddRichTextTranslations, V as nlddValidationListTranslations, W as nlddImageTranslations, X as nlddMenuTranslations, Y as nlddToolbarTranslations, Z as nlddSplitButtonTranslations, _ as nlddTableTranslations, a as nlddBadgeTranslations, b as nlddPageFooterTranslations, c as nlddPaginationTranslations, d as nlddTopNavigationBarTranslations, f as nlddSkipLinkTranslations, g as nlddDragHandleCellTranslations, h as nlddBreadcrumbsTranslations, i as nlddProgressBarTranslations, j as nlddSwatchPickerItemTranslations, k as nlddTextEditorTranslations, l as nlddDocumentTabBarTranslations, m as nlddMenuBarTranslations, n as nlddStepBarTranslations, o as nlddNotificationTranslations, p as nlddLinkTranslations, q as nlddPopoverTranslations, r as nlddProgressCircleTranslations, s as nlddBannerTranslations, t as nlddJustInTimeEducationTranslations, u as nlddTabBarTranslations, v as nlddListItemSegmentTranslations, w as nlddSidebarSectionTranslations, x as nlddWindowTranslations, y as nlddTaskBoardTranslations, z as nlddDatePickerTranslations } from "./just-in-time-education.i18n-S05IOgqk.js";
|
|
12
12
|
import { n as queryBreakpoints, r as rootFontSize, t as breakpointPx } from "./breakpoints-Bti55RWY.js";
|
|
13
|
-
import { t as VisibilityMixin } from "./visibility-mixin-
|
|
13
|
+
import { t as VisibilityMixin } from "./visibility-mixin-CwMutpAK.js";
|
|
14
14
|
import { t as nlddListTranslations } from "./list.i18n-CKqbhFQ_.js";
|
|
15
15
|
import { t as nlddListItemTranslations } from "./list-item.i18n-89uqlBMK.js";
|
|
16
16
|
import { $ as ChangeSet, A as syntaxTree, B as getDrawSelectionConfig, C as indentNodeProp, D as matchBrackets, E as languageDataProp, F as RectangleMarker, G as layer, H as gutter, I as ViewPlugin, J as placeholder, K as lineNumbers, L as WidgetType, M as Direction, N as EditorView, P as GutterMarker, Q as ChangeDesc, R as drawSelection, S as getIndentation, T as indentUnit, U as gutterLineClass, W as keymap, X as tooltips, Y as showTooltip, Z as Annotation, _t as findClusterBreak, a as HighlightStyle, at as Prec, b as foldService, c as Language, d as ParseContext, dt as Text, et as Compartment, f as StreamLanguage, ft as Transaction, gt as countColumn, h as defineLanguageFacet, ht as combineConfig, j as Decoration, k as syntaxHighlighting, l as LanguageDescription, lt as StateEffect, nt as EditorState, o as IndentContext, ot as RangeSet, rt as Facet, st as RangeSetBuilder, tt as EditorSelection, u as LanguageSupport, ut as StateField, w as indentString, x as getIndentUnit, y as foldNodeProp, z as dropCursor } from "./dist-BFZM0YsR.js";
|
|
@@ -541,6 +541,7 @@ var buttonStyles = css`
|
|
|
541
541
|
min-width: 0;
|
|
542
542
|
color: var(--_button-secondary-content-color);
|
|
543
543
|
font: var(--_button-supporting-font);
|
|
544
|
+
text-wrap: pretty;
|
|
544
545
|
}
|
|
545
546
|
|
|
546
547
|
.button:hover .button__supporting-text {
|
|
@@ -1691,6 +1692,7 @@ var menuGroupStyles = css`
|
|
|
1691
1692
|
padding-left: var(--primitives-space-4);
|
|
1692
1693
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
1693
1694
|
color: var(--semantics-content-secondary-color);
|
|
1695
|
+
text-wrap: balance;
|
|
1694
1696
|
}
|
|
1695
1697
|
|
|
1696
1698
|
|
|
@@ -7502,14 +7504,16 @@ var popoverStyles = css`
|
|
|
7502
7504
|
/* # Host */
|
|
7503
7505
|
|
|
7504
7506
|
:host {
|
|
7507
|
+
--_popover-background-color: var(--semantics-surfaces-base-background-color);
|
|
7505
7508
|
--_popover-max-height: calc(100vh - var(--semantics-overlays-inset) * 2);
|
|
7506
7509
|
--_popover-default-width: var(--primitives-area-320);
|
|
7510
|
+
--context-parent-background-color: var(--_popover-background-color);
|
|
7507
7511
|
|
|
7508
7512
|
margin: 0;
|
|
7509
7513
|
outline: none;
|
|
7510
7514
|
border: none;
|
|
7511
7515
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
7512
|
-
background-color: var(--
|
|
7516
|
+
background-color: var(--_popover-background-color);
|
|
7513
7517
|
overflow: auto;
|
|
7514
7518
|
padding: 0;
|
|
7515
7519
|
isolation: isolate;
|
|
@@ -8193,6 +8197,19 @@ var containerStyles = css`
|
|
|
8193
8197
|
display: none;
|
|
8194
8198
|
}
|
|
8195
8199
|
|
|
8200
|
+
/* Same query as shortcutsAvailable() in utilities/shortcut.ts. */
|
|
8201
|
+
@media (any-hover: none) {
|
|
8202
|
+
:host([hide-on="touch"]) {
|
|
8203
|
+
display: none;
|
|
8204
|
+
}
|
|
8205
|
+
}
|
|
8206
|
+
|
|
8207
|
+
@media (any-hover: hover) {
|
|
8208
|
+
:host([hide-on="pointer"]) {
|
|
8209
|
+
display: none;
|
|
8210
|
+
}
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8196
8213
|
|
|
8197
8214
|
/* # Outer chrome — padding + query container. Size queries measure the
|
|
8198
8215
|
content box, so .container reports the same padded interior width the
|
|
@@ -8603,6 +8620,7 @@ function spacingToValue(value) {
|
|
|
8603
8620
|
* @attr {string} lg-padding-right - Padding right at lg
|
|
8604
8621
|
* @attr {string} lg-padding-bottom - Padding bottom at lg
|
|
8605
8622
|
* @attr {string} lg-padding-left - Padding left at lg
|
|
8623
|
+
* @attr {string} hide-on - 'touch' | 'pointer'. Takes the container and all it holds away, for screen readers as well, on a device that only has touch (`touch`) or on one with a mouse or trackpad (`pointer`), the same test that hides keyboard shortcuts. For what only works with one of the two, such as a setting about hover. Not for content: what one visitor gets, the other should get too.
|
|
8606
8624
|
* @attr {string} horizontal-alignment - 'left' | 'center' | 'right'
|
|
8607
8625
|
* @attr {string} vertical-alignment - 'top' | 'center' | 'bottom'
|
|
8608
8626
|
*
|
|
@@ -8632,6 +8650,7 @@ var NLDDContainer = (_NLDDContainer = class NLDDContainer extends LitElement {
|
|
|
8632
8650
|
this.minWidth = "";
|
|
8633
8651
|
this.maxWidth = "";
|
|
8634
8652
|
this.minHeight = "";
|
|
8653
|
+
this.hideOn = "";
|
|
8635
8654
|
this.gap = void 0;
|
|
8636
8655
|
this.smGap = void 0;
|
|
8637
8656
|
this.mdGap = void 0;
|
|
@@ -8810,20 +8829,25 @@ __decorate([property({
|
|
|
8810
8829
|
converter: reflectNonDefault("")
|
|
8811
8830
|
})], NLDDContainer.prototype, "width", void 0);
|
|
8812
8831
|
__decorate([property({
|
|
8813
|
-
type: String,
|
|
8814
8832
|
reflect: true,
|
|
8815
|
-
attribute: "min-width"
|
|
8833
|
+
attribute: "min-width",
|
|
8834
|
+
converter: reflectNonDefault("")
|
|
8816
8835
|
})], NLDDContainer.prototype, "minWidth", void 0);
|
|
8817
8836
|
__decorate([property({
|
|
8818
|
-
type: String,
|
|
8819
8837
|
reflect: true,
|
|
8820
|
-
attribute: "max-width"
|
|
8838
|
+
attribute: "max-width",
|
|
8839
|
+
converter: reflectNonDefault("")
|
|
8821
8840
|
})], NLDDContainer.prototype, "maxWidth", void 0);
|
|
8822
8841
|
__decorate([property({
|
|
8823
|
-
type: String,
|
|
8824
8842
|
reflect: true,
|
|
8825
|
-
attribute: "min-height"
|
|
8843
|
+
attribute: "min-height",
|
|
8844
|
+
converter: reflectNonDefault("")
|
|
8826
8845
|
})], NLDDContainer.prototype, "minHeight", void 0);
|
|
8846
|
+
__decorate([property({
|
|
8847
|
+
reflect: true,
|
|
8848
|
+
attribute: "hide-on",
|
|
8849
|
+
converter: reflectNonDefault("")
|
|
8850
|
+
})], NLDDContainer.prototype, "hideOn", void 0);
|
|
8827
8851
|
__decorate([property({
|
|
8828
8852
|
type: String,
|
|
8829
8853
|
reflect: true
|
|
@@ -18402,6 +18426,7 @@ var validationItemStyles = css`
|
|
|
18402
18426
|
display: none;
|
|
18403
18427
|
color: var(--_validation-item-content-color);
|
|
18404
18428
|
font: var(--_validation-item-font);
|
|
18429
|
+
text-wrap: pretty;
|
|
18405
18430
|
}
|
|
18406
18431
|
|
|
18407
18432
|
:host([visible]) {
|
|
@@ -19496,6 +19521,7 @@ var checkboxFieldStyles = css`
|
|
|
19496
19521
|
flex-grow: 1;
|
|
19497
19522
|
color: var(--semantics-content-color);
|
|
19498
19523
|
font: var(--primitives-font-body-md-regular-snug);
|
|
19524
|
+
text-wrap: pretty;
|
|
19499
19525
|
}
|
|
19500
19526
|
|
|
19501
19527
|
:host([disabled]) .checkbox-field__label {
|
|
@@ -24469,7 +24495,11 @@ function dateFieldTemplate(component) {
|
|
|
24469
24495
|
* Read a typed date generously. Deliberately not a mask: reformatting per
|
|
24470
24496
|
* keystroke moves the caret, breaks backspace mid-value and confuses screen
|
|
24471
24497
|
* readers, so we accept what people type and normalize once on commit.
|
|
24472
|
-
* Accepts 12-3-2026, 12/03/2026, 12.03.2026
|
|
24498
|
+
* Accepts 12-3-2026, 12/03/2026, 12.03.2026 and ISO yyyy-mm-dd, and ddmmyyyy
|
|
24499
|
+
* with or without one separator between each part (12032026, 12-032026, 1203 2026).
|
|
24500
|
+
* Eight bare digits are always read as ddmmyyyy, never as a compact ISO date.
|
|
24501
|
+
* A numeric keypad on a phone has no hyphen, so a date edited there often keeps
|
|
24502
|
+
* one separator and loses the other.
|
|
24473
24503
|
*/
|
|
24474
24504
|
function parseDate(raw) {
|
|
24475
24505
|
const trimmed = raw.trim();
|
|
@@ -24478,7 +24508,7 @@ function parseDate(raw) {
|
|
|
24478
24508
|
if (iso) return toIso(Number(iso[1]), Number(iso[2]), Number(iso[3]));
|
|
24479
24509
|
const dutch = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(trimmed);
|
|
24480
24510
|
if (dutch) return toIso(Number(dutch[3]), Number(dutch[2]), Number(dutch[1]));
|
|
24481
|
-
const bare = /^(\d{2})(\d{2})(\d{4})$/.exec(trimmed);
|
|
24511
|
+
const bare = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(trimmed);
|
|
24482
24512
|
if (bare) return toIso(Number(bare[3]), Number(bare[2]), Number(bare[1]));
|
|
24483
24513
|
return null;
|
|
24484
24514
|
}
|
|
@@ -29217,6 +29247,7 @@ var radioButtonFieldStyles = css`
|
|
|
29217
29247
|
flex-grow: 1;
|
|
29218
29248
|
color: var(--semantics-content-color);
|
|
29219
29249
|
font: var(--primitives-font-body-md-regular-snug);
|
|
29250
|
+
text-wrap: pretty;
|
|
29220
29251
|
}
|
|
29221
29252
|
|
|
29222
29253
|
:host([disabled]) .radio-button-field__label {
|
|
@@ -32299,6 +32330,7 @@ var switchFieldStyles = css`
|
|
|
32299
32330
|
flex-grow: 1;
|
|
32300
32331
|
color: var(--semantics-content-color);
|
|
32301
32332
|
font: var(--primitives-font-body-md-regular-snug);
|
|
32333
|
+
text-wrap: pretty;
|
|
32302
32334
|
}
|
|
32303
32335
|
|
|
32304
32336
|
:host([disabled]) .switch-field__label {
|
|
@@ -49639,6 +49671,7 @@ var sheetStyles = css`
|
|
|
49639
49671
|
/* # Host */
|
|
49640
49672
|
|
|
49641
49673
|
:host {
|
|
49674
|
+
--_sheet-background-color: var(--semantics-surfaces-base-background-color);
|
|
49642
49675
|
--_sheet-width: initial;
|
|
49643
49676
|
--_sheet-height: initial;
|
|
49644
49677
|
|
|
@@ -49703,6 +49736,7 @@ var sheetStyles = css`
|
|
|
49703
49736
|
--context-scroll-mode: nested;
|
|
49704
49737
|
--context-inset-top: 0px;
|
|
49705
49738
|
--context-inset-bottom: 0px;
|
|
49739
|
+
--context-parent-background-color: var(--_sheet-background-color);
|
|
49706
49740
|
|
|
49707
49741
|
display: flex;
|
|
49708
49742
|
position: fixed;
|
|
@@ -49710,7 +49744,7 @@ var sheetStyles = css`
|
|
|
49710
49744
|
outline: none;
|
|
49711
49745
|
border: none;
|
|
49712
49746
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
49713
|
-
background: var(--
|
|
49747
|
+
background: var(--_sheet-background-color);
|
|
49714
49748
|
overflow: hidden;
|
|
49715
49749
|
padding: 0;
|
|
49716
49750
|
flex-direction: column;
|
|
@@ -50509,6 +50543,7 @@ var boxStyles = css`
|
|
|
50509
50543
|
/* # Block */
|
|
50510
50544
|
|
|
50511
50545
|
.box {
|
|
50546
|
+
--context-parent-background-color: var(--_box-background-color);
|
|
50512
50547
|
box-sizing: border-box;
|
|
50513
50548
|
border-radius: var(--_box-corner-radius);
|
|
50514
50549
|
box-shadow: var(--_box-highlight-border);
|
|
@@ -50630,6 +50665,7 @@ var cardStyles = css`
|
|
|
50630
50665
|
/* # Block */
|
|
50631
50666
|
|
|
50632
50667
|
.card {
|
|
50668
|
+
--context-parent-background-color: var(--_card-background-color);
|
|
50633
50669
|
display: flex;
|
|
50634
50670
|
position: relative;
|
|
50635
50671
|
border-radius: var(--_card-corner-radius);
|
|
@@ -50645,12 +50681,14 @@ var cardStyles = css`
|
|
|
50645
50681
|
@media (hover: hover) {
|
|
50646
50682
|
.card:has(> .card__action:hover) {
|
|
50647
50683
|
--_card-border-color: var(--_card-is-hovered-border-color);
|
|
50684
|
+
--context-parent-background-color: var(--_card-is-hovered-background-color);
|
|
50648
50685
|
background-color: var(--_card-is-hovered-background-color);
|
|
50649
50686
|
}
|
|
50650
50687
|
}
|
|
50651
50688
|
|
|
50652
50689
|
:host([data-action-pressed]) .card {
|
|
50653
50690
|
--_card-border-color: var(--_card-is-active-border-color);
|
|
50691
|
+
--context-parent-background-color: var(--_card-is-active-background-color);
|
|
50654
50692
|
background-color: var(--_card-is-active-background-color);
|
|
50655
50693
|
}
|
|
50656
50694
|
|
|
@@ -51520,6 +51558,7 @@ var windowStyles = css`
|
|
|
51520
51558
|
/* # Host */
|
|
51521
51559
|
|
|
51522
51560
|
:host {
|
|
51561
|
+
--_window-background-color: var(--semantics-surfaces-base-background-color);
|
|
51523
51562
|
--_window-default-width: var(--primitives-area-640);
|
|
51524
51563
|
|
|
51525
51564
|
${inheritedTextReset}
|
|
@@ -51538,6 +51577,7 @@ var windowStyles = css`
|
|
|
51538
51577
|
/* # Block */
|
|
51539
51578
|
|
|
51540
51579
|
.window {
|
|
51580
|
+
--context-parent-background-color: var(--_window-background-color);
|
|
51541
51581
|
display: flex;
|
|
51542
51582
|
position: fixed;
|
|
51543
51583
|
margin: auto;
|
|
@@ -51545,7 +51585,7 @@ var windowStyles = css`
|
|
|
51545
51585
|
border: none;
|
|
51546
51586
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
51547
51587
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
51548
|
-
background-color: var(--
|
|
51588
|
+
background-color: var(--_window-background-color);
|
|
51549
51589
|
width: var(--_window-default-width);
|
|
51550
51590
|
max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
|
|
51551
51591
|
max-height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
@@ -52496,6 +52536,7 @@ var taskBoardColumnStyles = css`
|
|
|
52496
52536
|
flex-grow: 1;
|
|
52497
52537
|
color: var(--semantics-content-color);
|
|
52498
52538
|
font: var(--_task-board-column-title-font);
|
|
52539
|
+
text-wrap: balance;
|
|
52499
52540
|
}
|
|
52500
52541
|
|
|
52501
52542
|
.task-board-column__count {
|
|
@@ -54846,6 +54887,7 @@ var descriptionCellStyles = css`
|
|
|
54846
54887
|
align-self: stretch !important;
|
|
54847
54888
|
color: var(--context-content-secondary-color, var(--semantics-content-secondary-color)) !important;
|
|
54848
54889
|
font: var(--primitives-font-body-sm-regular-flat) !important;
|
|
54890
|
+
text-wrap: pretty !important;
|
|
54849
54891
|
}
|
|
54850
54892
|
|
|
54851
54893
|
@media (forced-colors: active) {
|
|
@@ -54862,6 +54904,7 @@ var descriptionCellStyles = css`
|
|
|
54862
54904
|
align-self: stretch !important;
|
|
54863
54905
|
color: var(--context-content-color, var(--semantics-content-color)) !important;
|
|
54864
54906
|
font: var(--primitives-font-body-md-regular-tight) !important;
|
|
54907
|
+
text-wrap: pretty !important;
|
|
54865
54908
|
}
|
|
54866
54909
|
|
|
54867
54910
|
@media (forced-colors: active) {
|
|
@@ -58000,7 +58043,7 @@ async function loadDependencies() {
|
|
|
58000
58043
|
Promise.resolve().then(() => list_item_exports),
|
|
58001
58044
|
Promise.resolve().then(() => text_cell_exports),
|
|
58002
58045
|
Promise.resolve().then(() => icon_cell_exports),
|
|
58003
|
-
import("./icon-
|
|
58046
|
+
import("./icon-Bkdlj87q.js").then((n) => n.n)
|
|
58004
58047
|
]);
|
|
58005
58048
|
}
|
|
58006
58049
|
/** The rows of a level, read from its container: the global menu bar's items
|
|
@@ -61066,6 +61109,7 @@ var modalDialogStyles = css`
|
|
|
61066
61109
|
/* # Host */
|
|
61067
61110
|
|
|
61068
61111
|
:host {
|
|
61112
|
+
--_modal-dialog-background-color: var(--semantics-surfaces-base-background-color);
|
|
61069
61113
|
--_modal-dialog-max-height: 90vh;
|
|
61070
61114
|
--_modal-dialog-padding: var(--primitives-space-16);
|
|
61071
61115
|
--_modal-dialog-content-max-width: var(--primitives-area-360);
|
|
@@ -61095,13 +61139,14 @@ var modalDialogStyles = css`
|
|
|
61095
61139
|
--context-scroll-mode: nested;
|
|
61096
61140
|
--context-inset-top: 0px;
|
|
61097
61141
|
--context-inset-bottom: 0px;
|
|
61142
|
+
--context-parent-background-color: var(--_modal-dialog-background-color);
|
|
61098
61143
|
|
|
61099
61144
|
box-sizing: border-box;
|
|
61100
61145
|
outline: none;
|
|
61101
61146
|
border: none;
|
|
61102
61147
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
61103
61148
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
61104
|
-
background-color: var(--
|
|
61149
|
+
background-color: var(--_modal-dialog-background-color);
|
|
61105
61150
|
width: calc(100% - var(--primitives-space-16) * 2);
|
|
61106
61151
|
max-width: calc(var(--_modal-dialog-content-max-width) + var(--_modal-dialog-padding) * 2);
|
|
61107
61152
|
max-height: var(--_modal-dialog-max-height);
|
|
@@ -63132,6 +63177,7 @@ var progressBarStyles = css`
|
|
|
63132
63177
|
|
|
63133
63178
|
.progress-bar__text {
|
|
63134
63179
|
font: var(--_progress-bar-text-font);
|
|
63180
|
+
text-wrap: pretty;
|
|
63135
63181
|
}
|
|
63136
63182
|
|
|
63137
63183
|
.progress-bar__supporting-text {
|
|
@@ -64071,6 +64117,7 @@ var progressCircleStyles = css`
|
|
|
64071
64117
|
color: var(--_progress-circle-text-color);
|
|
64072
64118
|
font: var(--_progress-circle-text-font);
|
|
64073
64119
|
text-align: center;
|
|
64120
|
+
text-wrap: balance;
|
|
64074
64121
|
}
|
|
64075
64122
|
|
|
64076
64123
|
.progress-circle__supporting-text {
|
|
@@ -64782,6 +64829,10 @@ var stepBarStyles = css`
|
|
|
64782
64829
|
}
|
|
64783
64830
|
}
|
|
64784
64831
|
|
|
64832
|
+
.step-bar__compact-title {
|
|
64833
|
+
text-wrap: pretty;
|
|
64834
|
+
}
|
|
64835
|
+
|
|
64785
64836
|
.step-bar__compact-count {
|
|
64786
64837
|
color: var(--_step-bar-compact-count-color);
|
|
64787
64838
|
font-variant-numeric: tabular-nums;
|
|
@@ -64915,6 +64966,7 @@ var stepBarItemStyles = css`
|
|
|
64915
64966
|
color: var(--_step-bar-title-color);
|
|
64916
64967
|
font: var(--primitives-font-body-sm-regular-flat);
|
|
64917
64968
|
overflow-wrap: anywhere;
|
|
64969
|
+
text-wrap: balance;
|
|
64918
64970
|
}
|
|
64919
64971
|
|
|
64920
64972
|
.step-bar__item.is-current .step-bar__item-title {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,yBA0HzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.styles.js","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;IAsB5B,kBAAkB
|
|
1
|
+
{"version":3,"file":"tooltip.styles.js","sourceRoot":"","sources":["../../../../src/components/content/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;IAsB5B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGrB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { customElement } from "lit/decorators.js";
|
|
|
5
5
|
* production build drops this branch and with it the import of the rules.
|
|
6
6
|
* Tests stay out: they set up wrong markup on purpose.
|
|
7
7
|
*/
|
|
8
|
-
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test") import("./dev-checks
|
|
8
|
+
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test") import("./dev-checks-a7fZ6hgC.js").then(({ startDevChecks }) => startDevChecks());
|
|
9
9
|
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
|
|
10
10
|
function __decorate(decorators, target, key, desc) {
|
|
11
11
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-CtaxGuuh.js";
|
|
2
2
|
import { r as setState } from "./element-state-BnarBv0M.js";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
// src/utilities/link-rel.ts
|
|
@@ -87,7 +87,7 @@ var store = (_globalThis = globalThis)[STORE_KEY] ?? (_globalThis[STORE_KEY] = {
|
|
|
87
87
|
*/
|
|
88
88
|
function setTranslations(translations) {
|
|
89
89
|
store.translations = { ...translations };
|
|
90
|
-
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test") import("./dev-checks
|
|
90
|
+
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test") import("./dev-checks-a7fZ6hgC.js").then(({ checkTranslationKeys }) => checkTranslationKeys(Object.keys(translations)));
|
|
91
91
|
if (typeof document !== "undefined") rerender(document);
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
@@ -1407,6 +1407,11 @@ var devRules = [
|
|
|
1407
1407
|
"message": "`layout` on nldd-container takes: columns, grid, lanes, row, stack, wrap.",
|
|
1408
1408
|
"context": "nldd-container[layout]:not([layout=\"columns\"], [layout=\"grid\"], [layout=\"lanes\"], [layout=\"row\"], [layout=\"stack\"], [layout=\"wrap\"])"
|
|
1409
1409
|
},
|
|
1410
|
+
{
|
|
1411
|
+
"id": "invalid-value-container-hide-on",
|
|
1412
|
+
"message": "`hide-on` on nldd-container takes: pointer, touch.",
|
|
1413
|
+
"context": "nldd-container[hide-on]:not([hide-on=\"\"], [hide-on=\"pointer\"], [hide-on=\"touch\"])"
|
|
1414
|
+
},
|
|
1410
1415
|
{
|
|
1411
1416
|
"id": "invalid-value-container-gap",
|
|
1412
1417
|
"message": "`gap` on nldd-container takes: 0, 10, 12, 16, 2, 20, 24, 28, 32, 4, 40, 44, 48, 56, 6, 64, 8, 80, 96.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/validation-list/validation-list.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,yBA2BhC,CAAC;AAGF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"validation-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/validation-list/validation-list.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,yBA2BhC,CAAC;AAGF,eAAO,MAAM,oBAAoB,yBA4BhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-list.styles.js","sourceRoot":"","sources":["../../../../src/components/forms/validation-list/validation-list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BtC,CAAC;AAGF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"validation-list.styles.js","sourceRoot":"","sources":["../../../../src/components/forms/validation-list/validation-list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BtC,CAAC;AAGF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BtC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
|
|
2
|
-
import { n as customElement, t as __decorate } from "./decorate-
|
|
2
|
+
import { n as customElement, t as __decorate } from "./decorate-CtaxGuuh.js";
|
|
3
3
|
import { r as setState, t as hasState } from "./element-state-BnarBv0M.js";
|
|
4
4
|
import { t as reflectNonDefault } from "./reflect-non-default-B9wQcnne.js";
|
|
5
5
|
import { LitElement, css, html } from "lit";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as customElement, t as __decorate } from "./decorate-
|
|
1
|
+
import { n as customElement, t as __decorate } from "./decorate-CtaxGuuh.js";
|
|
2
2
|
import { t as inheritedTextReset } from "./shadow-resets-BwOyyZFH.js";
|
|
3
|
-
import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-
|
|
3
|
+
import { a as downloadLinkHintKey, c as linkRel, i as translate, n as withTranslations, s as markDownloadTarget, t as deferFocus } from "./defer-focus-CC5RVvh6.js";
|
|
4
4
|
import { n as internalsOf } from "./element-state-BnarBv0M.js";
|
|
5
5
|
import { t as reflectNonDefault } from "./reflect-non-default-B9wQcnne.js";
|
|
6
|
-
import "./icon-
|
|
6
|
+
import "./icon-Bkdlj87q.js";
|
|
7
7
|
import { n as nlddActivityIndicatorTranslations, t as nlddIconButtonTranslations } from "./icon-button.i18n-1_N-wN6x.js";
|
|
8
8
|
import { r as isTouchMode } from "./input-modality-CiPLYYMN.js";
|
|
9
9
|
import { LitElement, css, html, nothing } from "lit";
|
|
@@ -668,6 +668,7 @@ var activityIndicatorStyles = css`
|
|
|
668
668
|
color: currentColor;
|
|
669
669
|
font: var(--_activity-indicator-text-font);
|
|
670
670
|
text-align: center;
|
|
671
|
+
text-wrap: balance;
|
|
671
672
|
}
|
|
672
673
|
|
|
673
674
|
/* show-text off (default): the label still renders as the announced
|
|
@@ -1461,6 +1462,7 @@ var tooltipStyles = css`
|
|
|
1461
1462
|
|
|
1462
1463
|
.tooltip__text {
|
|
1463
1464
|
min-width: 0;
|
|
1465
|
+
text-wrap: pretty;
|
|
1464
1466
|
}
|
|
1465
1467
|
|
|
1466
1468
|
.tooltip__shortcut {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/checkbox-field/checkbox-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"checkbox-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/checkbox-field/checkbox-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,yBA0D/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/checkbox-field/checkbox-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;IASlC,kBAAkB
|
|
1
|
+
{"version":3,"file":"checkbox-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/checkbox-field/checkbox-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;IASlC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDrB,CAAC"}
|
|
@@ -9,7 +9,11 @@ export declare const RANGE_SEPARATOR = "/";
|
|
|
9
9
|
* Read a typed date generously. Deliberately not a mask: reformatting per
|
|
10
10
|
* keystroke moves the caret, breaks backspace mid-value and confuses screen
|
|
11
11
|
* readers, so we accept what people type and normalize once on commit.
|
|
12
|
-
* Accepts 12-3-2026, 12/03/2026, 12.03.2026
|
|
12
|
+
* Accepts 12-3-2026, 12/03/2026, 12.03.2026 and ISO yyyy-mm-dd, and ddmmyyyy
|
|
13
|
+
* with or without one separator between each part (12032026, 12-032026, 1203 2026).
|
|
14
|
+
* Eight bare digits are always read as ddmmyyyy, never as a compact ISO date.
|
|
15
|
+
* A numeric keypad on a phone has no hyphen, so a date edited there often keeps
|
|
16
|
+
* one separator and loses the other.
|
|
13
17
|
*/
|
|
14
18
|
export declare function parseDate(raw: string): string | null;
|
|
15
19
|
/** ISO to the Dutch notation shown on screen. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-field.dates.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/date-field/date-field.dates.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,iFAAiF;AACjF,eAAO,MAAM,eAAe,MAAM,CAAC;AAEnC
|
|
1
|
+
{"version":3,"file":"date-field.dates.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/date-field/date-field.dates.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,iFAAiF;AACjF,eAAO,MAAM,eAAe,MAAM,CAAC;AAEnC;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAWpD;AAED,iDAAiD;AACjD,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIjD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAGjE;AAED,yEAAyE;AACzE,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAGhD;AAED,wEAAwE;AACxE,MAAM,WAAW,MAAM;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAK9D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAM/D;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAIxD;AAED,sEAAsE;AACtE,MAAM,MAAM,WAAW,GACpB;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GACpB;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;AAE5B;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,WAAW,GAAG,IAAI,CAWhG"}
|
|
@@ -10,7 +10,11 @@ export const RANGE_SEPARATOR = '/';
|
|
|
10
10
|
* Read a typed date generously. Deliberately not a mask: reformatting per
|
|
11
11
|
* keystroke moves the caret, breaks backspace mid-value and confuses screen
|
|
12
12
|
* readers, so we accept what people type and normalize once on commit.
|
|
13
|
-
* Accepts 12-3-2026, 12/03/2026, 12.03.2026
|
|
13
|
+
* Accepts 12-3-2026, 12/03/2026, 12.03.2026 and ISO yyyy-mm-dd, and ddmmyyyy
|
|
14
|
+
* with or without one separator between each part (12032026, 12-032026, 1203 2026).
|
|
15
|
+
* Eight bare digits are always read as ddmmyyyy, never as a compact ISO date.
|
|
16
|
+
* A numeric keypad on a phone has no hyphen, so a date edited there often keeps
|
|
17
|
+
* one separator and loses the other.
|
|
14
18
|
*/
|
|
15
19
|
export function parseDate(raw) {
|
|
16
20
|
const trimmed = raw.trim();
|
|
@@ -23,7 +27,7 @@ export function parseDate(raw) {
|
|
|
23
27
|
const dutch = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(trimmed);
|
|
24
28
|
if (dutch)
|
|
25
29
|
return toIso(Number(dutch[3]), Number(dutch[2]), Number(dutch[1]));
|
|
26
|
-
const bare = /^(\d{2})(\d{2})(\d{4})$/.exec(trimmed);
|
|
30
|
+
const bare = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(trimmed);
|
|
27
31
|
if (bare)
|
|
28
32
|
return toIso(Number(bare[3]), Number(bare[2]), Number(bare[1]));
|
|
29
33
|
return null;
|