@nldd/design-system 0.8.91 → 0.8.92
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/NOTICES.md +2 -2
- package/README.md +3 -3
- package/custom-elements.json +345 -15
- package/dist/components/actions/button/button.d.ts +2 -4
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +2 -10
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -4
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +2 -10
- 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 +2 -1
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +2 -1
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +153 -139
- package/dist/components/content/avatar/avatar.d.ts +2 -5
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +2 -13
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +2 -1
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +12 -2
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +2 -2
- package/dist/components/content/icon/icon.js +2 -2
- package/dist/components/content/identity/identity.d.ts +1 -1
- package/dist/components/content/identity/identity.js +1 -1
- package/dist/components/{dist-CENYEz7C.js → dist-B5ie2Bo9.js} +1 -1
- package/dist/components/{dist-D_ckX1sK.js → dist-BUu-NW5O.js} +1 -1
- package/dist/components/{dist-Y54Lma86.js → dist-CGOykrJw.js} +2 -2
- package/dist/components/{dist-CYLM5ciE.js → dist-CQzaKTa8.js} +1 -1
- package/dist/components/{dist-yyE8P2O6.js → dist-CSYXsT7W.js} +2 -2
- package/dist/components/{dist-BLaE_n_F.js → dist-CoUVHSu-.js} +1 -1
- package/dist/components/{dist-DHA-0RyT.js → dist-Dn3c5gfb.js} +7 -1
- package/dist/components/{dist-BeymuiGt.js → dist-Dxn9Up8K.js} +3 -3
- package/dist/components/{dist-Dh_b9r4M.js → dist-M6GKopqu.js} +1 -1
- package/dist/components/{dist-TCqV9dho.js → dist-OlffRM7-.js} +1 -1
- package/dist/components/{dist-DkZlotgT.js → dist-RPaf2J9c.js} +2 -2
- package/dist/components/{icon-button-CEz4MB9H.js → icon-button-oua8pmMC.js} +3 -9
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +0 -10
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.js +3 -3
- package/dist/components/inputs/radio-button/radio-button.template.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 +0 -10
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +4 -3
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +3 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +0 -10
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +77 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +1 -1
- package/dist/components/inputs/time-field/time-field.js +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +0 -9
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +3 -3
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +1 -4
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +1 -12
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +2 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +4 -4
- package/dist/components/layout/spacer/spacer.d.ts +2 -2
- package/dist/components/layout/spacer/spacer.js +2 -2
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +3 -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.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js.map +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 +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +2 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +1 -3
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +1 -11
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +2 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +10 -4
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -4
- 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 +2 -8
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.js +2 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -1
- package/dist/components/{with-translations-CqUV9S5g.js → with-translations-BAKFoEKy.js} +22 -1
- package/dist/css/fouc.css +1 -1
- package/dist/css/rijksoverheid-fonts.css +1 -1
- package/dist/css/variables.css +1 -1
- package/dist/favicon.svg +3 -8
- package/dist/nldd.min.js +621 -658
- package/dist/touch-icon.png +0 -0
- package/dist/types/vue.d.ts +14 -14
- package/dist/utilities/form-associated-mixin.d.ts +2 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +15 -1
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/link-rel.d.ts +13 -0
- package/dist/utilities/link-rel.d.ts.map +1 -0
- package/dist/utilities/link-rel.js +21 -0
- package/dist/utilities/link-rel.js.map +1 -0
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Avatar Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* Shows one person or organization as a compact, round (person) or rounded
|
|
5
5
|
* (organization) representation. The content follows a fixed fallback chain: an
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
* @attr {boolean} no-tab - Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar.
|
|
41
41
|
* @attr {boolean} button - Makes the avatar a button; ignored when `href` is set
|
|
42
42
|
* @attr {string} target - Link target for href (e.g. '_blank'); completes rel and announces "Opens in a new tab"
|
|
43
|
-
* @attr {string} rel - Link rel for href;
|
|
43
|
+
* @attr {string} rel - Link rel for href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
44
44
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
@@ -99,9 +99,6 @@ export declare class NLDDAvatar extends NLDDAvatar_base {
|
|
|
99
99
|
rel: string;
|
|
100
100
|
/** True once the avatar is a control itself. */
|
|
101
101
|
get isInteractive(): boolean;
|
|
102
|
-
/** Resolves rel for the link: _blank adds noopener/noreferrer (mirroring
|
|
103
|
-
* nldd-link and nldd-card), merged with a rel of your own. */
|
|
104
|
-
_resolvedRel(): string;
|
|
105
102
|
private _warnedLabel;
|
|
106
103
|
/** Set when the image errors, so the template falls through to the next
|
|
107
104
|
* content step. Not private: the template module reads it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOtD,OAAO,iBAAiB,CAAC;AAEzB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;AAOhD,qFAAqF;AACrF,MAAM,MAAM,UAAU,GACrB,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;;;;;;;AAE5F,qBACa,UAAW,SAAQ,eAAoD;IACnF,OAAgB,MAAM,0BAAgB;IAGtC,IAAI,EAAE,UAAU,CAAY;IAG5B,IAAI,EAAE,UAAU,CAAU;IAG1B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;IAGV,QAAQ,SAAM;IAGd,GAAG,SAAM;IAGT,MAAM,SAAM;IAGZ,IAAI,SAAM;IAEV;+DAC2D;IAE3D,eAAe,SAAM;IAGrB,UAAU,UAAS;IAEnB;;4EAEwE;IAExE,aAAa,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAW;IAEvD;iFAC6E;IAE7E,IAAI,SAAM;IAEV;;;wEAGoE;IAEpE,KAAK,UAAS;IAEd;6EACyE;IAEzE,MAAM,UAAS;IAGf,MAAM,SAAM;IAGZ,GAAG,SAAM;IAET,gDAAgD;IAChD,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,OAAO,CAAC,YAAY,CAAS;IAE7B;mEAC+D;IAE/D,YAAY,UAAS;IAErB;2EACuE;IACvE,IAAI,gBAAgB,IAAI,MAAM,CAO7B;IAED,8DAA8D;IAC9D,IAAI,YAAY,IAAI,MAAM,CAGzB;IAED,aAAa,QAAO,IAAI,CAEtB;IAEF;;mFAE+E;IAC/E,OAAO,CAAC,eAAe,CAAiD;IAE/D,UAAU,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAS/C,YAAY,IAAI,IAAI;IAKpB,iBAAiB,IAAI,IAAI;IAMzB,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAiDrD;;;;kEAI8D;IAC9D,OAAO,CAAC,YAAY;IAaX,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,aAAa,EAAE,UAAU,CAAC;KAC1B;CACD"}
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Nederlandse Digitale Dienst Avatar Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
10
|
* Shows one person or organization as a compact, round (person) or rounded
|
|
11
11
|
* (organization) representation. The content follows a fixed fallback chain: an
|
|
@@ -46,7 +46,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
46
46
|
* @attr {boolean} no-tab - Takes the control out of the tab order (tabindex="-1"), for an avatar that is a link or a button inside a roving container (a row of an nldd-list). Does nothing on a decorative avatar.
|
|
47
47
|
* @attr {boolean} button - Makes the avatar a button; ignored when `href` is set
|
|
48
48
|
* @attr {string} target - Link target for href (e.g. '_blank'); completes rel and announces "Opens in a new tab"
|
|
49
|
-
* @attr {string} rel - Link rel for href;
|
|
49
|
+
* @attr {string} rel - Link rel for href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
50
50
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
@@ -120,17 +120,6 @@ let NLDDAvatar = class NLDDAvatar extends withTranslations(LitElement, nlddAvata
|
|
|
120
120
|
get isInteractive() {
|
|
121
121
|
return Boolean(this.href) || this.button;
|
|
122
122
|
}
|
|
123
|
-
/** Resolves rel for the link: _blank adds noopener/noreferrer (mirroring
|
|
124
|
-
* nldd-link and nldd-card), merged with a rel of your own. */
|
|
125
|
-
_resolvedRel() {
|
|
126
|
-
const base = this.rel ?? '';
|
|
127
|
-
if (this.target !== '_blank')
|
|
128
|
-
return base;
|
|
129
|
-
const parts = new Set(base.split(/\s+/).filter(Boolean));
|
|
130
|
-
parts.add('noopener');
|
|
131
|
-
parts.add('noreferrer');
|
|
132
|
-
return [...parts].join(' ');
|
|
133
|
-
}
|
|
134
123
|
/** Initials shown when there is no image: an explicit `initials` wins,
|
|
135
124
|
* otherwise the first letter of the first and last word of `name`. */
|
|
136
125
|
get resolvedInitials() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;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5B;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;0CACf;AAGZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAClB;AAYT;IADC,KAAK,EAAE;gDACa;AA7ET,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CAwMtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"avatar.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/avatar/avatar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,uBAAuB,CAAC;AAE/B,wBAAgB,cAAc,CAAC,SAAS,EAAE,UAAU,GAAG,cAAc,CA2EpE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
|
+
import { linkRel } from '../../../utilities/link-rel.js';
|
|
2
3
|
import '../tooltip/tooltip.js';
|
|
3
4
|
export function avatarTemplate(component) {
|
|
4
5
|
const showImage = Boolean(component.src) && !component._imageFailed;
|
|
@@ -47,7 +48,7 @@ export function avatarTemplate(component) {
|
|
|
47
48
|
<a class="avatar avatar--interactive"
|
|
48
49
|
href=${component.href}
|
|
49
50
|
target=${component.target || nothing}
|
|
50
|
-
rel=${component.
|
|
51
|
+
rel=${linkRel(component.rel, component.target) || nothing}
|
|
51
52
|
aria-label=${controlLabel}
|
|
52
53
|
tabindex=${component.noTab ? '-1' : nothing}
|
|
53
54
|
>${content}</a>
|
|
@@ -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,CAAC;IAE/C,6EAA6E;IAC7E,4EAA4E;IAC5E,mEAAmE;IACnE,MAAM,WAAW,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,eAAe,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;IAE9F,OAAO,WAAW,IAAI,SAAS,CAAC,aAAa,KAAK,OAAO;QACxD,CAAC,CAAC,IAAI,CAAA;wBACgB,WAAW,WAAW,SAAS,CAAC,aAAa;MAC/D,KAAK;;GAER;QACD,CAAC,CAAC,KAAK,CAAC;AACV,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Avatar Group Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* Shows several avatars as one group: they overlap, and each one gets a ring in
|
|
5
5
|
* the surface color so they stay apart where they meet. The ring uses the same
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Avatar Group Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* Shows several avatars as one group: they overlap, and each one gets a ring in
|
|
5
5
|
* the surface color so they stay apart where they meet. The ring uses the same
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-viewer.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.ts"],"names":[],"mappings":"AAmCA,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAM5F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAExE,OAAO,0CAA0C,CAAC;AAClD,OAAO,uBAAuB,CAAC;AAE/B,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAcjE,MAAM,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AAC,OAAO,CAAC;IAMpD,OAAO,CAAC,cAAc;YAIR,YAAY;IA0B1B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,iBAAiB;IAuBzB,OAAO,CAAC,WAAW;IAQN,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAc1C,4EAA4E;IACrE,cAAc,IAAI,IAAI;IAK7B,OAAO,CAAC,QAAQ;CAIhB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -97,8 +97,18 @@ let NLDDCodeViewer = class NLDDCodeViewer extends NLDDCodeMirrorElement {
|
|
|
97
97
|
EditorState.readOnly.of(true),
|
|
98
98
|
// CodeMirror puts role="textbox" on .cm-content regardless of the editable
|
|
99
99
|
// facet, so a display-only block would be announced as an editable field.
|
|
100
|
-
//
|
|
101
|
-
|
|
100
|
+
// Say what it is instead: a block of code, the role that stands for the
|
|
101
|
+
// <code> element this would be if CodeMirror did not build divs.
|
|
102
|
+
// aria-multiline and aria-readonly belong to a textbox and are allowed on
|
|
103
|
+
// no other role, so they go. A null value only removes them because
|
|
104
|
+
// updateAttrs() compares with ==, where an attribute that was never
|
|
105
|
+
// written matches null and so is never written; Attrs is typed
|
|
106
|
+
// string-only, hence the cast.
|
|
107
|
+
EditorView.contentAttributes.of({
|
|
108
|
+
role: 'code',
|
|
109
|
+
'aria-multiline': null,
|
|
110
|
+
'aria-readonly': null,
|
|
111
|
+
}),
|
|
102
112
|
this._wrapCompartment.of(this.wrap ? EditorView.lineWrapping : []),
|
|
103
113
|
this._languageCompartment.of([]),
|
|
104
114
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-viewer.js","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,EAAE,aAAa,EAAE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,CAAC,EAAE,CAAC;gDACxD;AAId;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;8CAClD;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC9B;AAMb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;wDACjD;AAIzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oDAC4B;AAGvD;IADC,KAAK,EAAE;qDACc;AAGtB;IADC,KAAK,EAAE;kDACiC;AAhC7B,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAuT1B"}
|
|
@@ -23,7 +23,7 @@ export type IconColor = '' | 'primary-content' | 'secondary-content' | 'accent'
|
|
|
23
23
|
* Color: by default the icon inherits its parent's `color`. Set `color` to one
|
|
24
24
|
* of the functional semantics (`primary-content`, `secondary-content`,
|
|
25
25
|
* `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`,
|
|
26
|
-
* `paars`, `groen`, …). For a color the
|
|
26
|
+
* `paars`, `groen`, …). For a color the system cannot know — the jacket
|
|
27
27
|
* of a cable, a color someone picked — set `custom-color` to any CSS color.
|
|
28
28
|
*
|
|
29
29
|
* @element nldd-icon
|
|
@@ -31,7 +31,7 @@ export type IconColor = '' | 'primary-content' | 'secondary-content' | 'accent'
|
|
|
31
31
|
* @attr {string} name - The name of the icon to display
|
|
32
32
|
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
33
33
|
* @attr {string} color - Functional (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`). Empty = inherit `color` from parent.
|
|
34
|
-
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the
|
|
34
|
+
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the system cannot know. It wins over `color`.
|
|
35
35
|
* @attr {boolean} box - Draw the icon on a filled square. `color` and `custom-color` then paint the box and the glyph takes the contrasting color, and `size` measures the box: the glyph is four fifths of it, the corner radius a fifth.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
@@ -35,7 +35,7 @@ export const ICONS = [
|
|
|
35
35
|
* Color: by default the icon inherits its parent's `color`. Set `color` to one
|
|
36
36
|
* of the functional semantics (`primary-content`, `secondary-content`,
|
|
37
37
|
* `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`,
|
|
38
|
-
* `paars`, `groen`, …). For a color the
|
|
38
|
+
* `paars`, `groen`, …). For a color the system cannot know — the jacket
|
|
39
39
|
* of a cable, a color someone picked — set `custom-color` to any CSS color.
|
|
40
40
|
*
|
|
41
41
|
* @element nldd-icon
|
|
@@ -43,7 +43,7 @@ export const ICONS = [
|
|
|
43
43
|
* @attr {string} name - The name of the icon to display
|
|
44
44
|
* @attr {string} size - `full` (the default) fills the container. `inherit` sizes the icon to the surrounding text (1em) and drops it onto that text's own line, for an icon set in a line of running text. Or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96).
|
|
45
45
|
* @attr {string} color - Functional (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`). Empty = inherit `color` from parent.
|
|
46
|
-
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the
|
|
46
|
+
* @attr {string} custom-color - A color of its own, as any CSS color value ('#a90061', 'oklch(0.6 0.2 20)', 'var(--brand-cable-blue)'). For a color the system cannot know. It wins over `color`.
|
|
47
47
|
* @attr {boolean} box - Draw the icon on a filled square. `color` and `custom-color` then paint the box and the glyph takes the contrasting color, and `size` measures the box: the glyph is four fifths of it, the corner radius a fifth.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Identity Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* An editorial line that shows authors or editors: optional avatar or avatars,
|
|
5
5
|
* a name line and supporting text (a role or a date, for instance). Every part
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Nederlandse Digitale Dienst Identity Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
10
|
* An editorial line that shows authors or editors: optional avatar or avatars,
|
|
11
11
|
* a name line and supporting text (a role or a date, for instance). Every part
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
2
|
//#region node_modules/@lezer/rust/dist/index.js
|
|
3
3
|
var closureParamDelim = 1;
|
|
4
4
|
var tpOpen = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as syntaxTree, H as Decoration, K as ViewPlugin, Q as keymap, T as indentUnit, U as Direction, W as EditorView, Z as getTooltip, _t as
|
|
1
|
+
import { A as syntaxTree, H as Decoration, K as ViewPlugin, Q as keymap, St as combineConfig, T as indentUnit, Tt as fromCodePoint, U as Direction, W as EditorView, Z as getTooltip, _t as StateField, at as Annotation, bt as codePointAt, dt as Facet, ft as MapMode, gt as StateEffect, ht as RangeValue, lt as EditorSelection, pt as Prec, q as WidgetType, rt as showTooltip, tt as logException, vt as Text, xt as codePointSize, yt as Transaction } from "./dist-Dn3c5gfb.js";
|
|
2
2
|
//#region node_modules/@codemirror/autocomplete/dist/index.js
|
|
3
3
|
/**
|
|
4
4
|
An instance of this is passed to completion source functions.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, O as sublanguageProp, P as IterMode, R as NodeWeakMap, W as EditorView, _ as flatIndent,
|
|
3
|
-
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, O as sublanguageProp, P as IterMode, R as NodeWeakMap, W as EditorView, _ as flatIndent, g as delimitedIndent, h as defineLanguageFacet, i as LocalTokenGroup, lt as EditorSelection, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
3
|
+
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-BUu-NW5O.js";
|
|
4
4
|
//#region node_modules/@lezer/javascript/dist/index.js
|
|
5
5
|
var noSemi = 316;
|
|
6
6
|
var noSemiType = 317;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags$1, P as IterMode, R as NodeWeakMap, i as LocalTokenGroup, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags$1, P as IterMode, R as NodeWeakMap, i as LocalTokenGroup, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
3
3
|
//#region node_modules/@lezer/css/dist/index.js
|
|
4
4
|
var descendantOp = 148;
|
|
5
5
|
var Unit = 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, P as IterMode, R as NodeWeakMap, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
2
|
-
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, P as IterMode, R as NodeWeakMap, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
|
+
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-BUu-NW5O.js";
|
|
3
3
|
//#region node_modules/@lezer/python/dist/index.js
|
|
4
4
|
var printKeyword = 1;
|
|
5
5
|
var indent = 194;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
2
|
//#region node_modules/@lezer/json/dist/index.js
|
|
3
3
|
var jsonHighlighting = styleTags({
|
|
4
4
|
String: tags.string,
|
|
@@ -11869,6 +11869,12 @@ var TooltipViewManager = class {
|
|
|
11869
11869
|
return true;
|
|
11870
11870
|
}
|
|
11871
11871
|
};
|
|
11872
|
+
/**
|
|
11873
|
+
Creates an extension that configures tooltip behavior.
|
|
11874
|
+
*/
|
|
11875
|
+
function tooltips(config = {}) {
|
|
11876
|
+
return tooltipConfig.of(config);
|
|
11877
|
+
}
|
|
11872
11878
|
function windowSpace(view) {
|
|
11873
11879
|
let docElt = view.dom.ownerDocument.documentElement;
|
|
11874
11880
|
return {
|
|
@@ -18544,4 +18550,4 @@ function getSpecializer(spec) {
|
|
|
18544
18550
|
return spec.get;
|
|
18545
18551
|
}
|
|
18546
18552
|
//#endregion
|
|
18547
|
-
export { layer as $, syntaxTree as A, Tree as B, indentNodeProp as C,
|
|
18553
|
+
export { layer as $, syntaxTree as A, Tree as B, indentNodeProp as C, countColumn as Ct, matchBrackets as D, languageDataProp as E, NodeProp as F, RectangleMarker as G, Decoration as H, NodeSet as I, drawSelection as J, ViewPlugin as K, NodeType as L, styleTags as M, tags as N, sublanguageProp as O, IterMode as P, keymap as Q, NodeWeakMap as R, getIndentation as S, combineConfig as St, indentUnit as T, fromCodePoint as Tt, Direction as U, parseMixed as V, EditorView as W, getDrawSelectionConfig as X, dropCursor as Y, getTooltip as Z, flatIndent as _, StateField as _t, HighlightStyle as a, Annotation as at, foldService as b, codePointAt as bt, Language as c, Compartment as ct, ParseContext as d, Facet as dt, lineNumbers as et, StreamLanguage as f, MapMode as ft, delimitedIndent as g, StateEffect as gt, defineLanguageFacet as h, RangeValue as ht, LocalTokenGroup as i, tooltips as it, Tag as j, syntaxHighlighting as k, LanguageDescription as l, EditorSelection as lt, continuedIndent as m, RangeSetBuilder as mt, ExternalTokenizer as n, placeholder as nt, IndentContext as o, ChangeDesc as ot, bracketMatchingHandle as p, Prec as pt, WidgetType as q, LRParser as r, showTooltip as rt, LRLanguage as s, ChangeSet as st, ContextTracker as t, logException as tt, LanguageSupport as u, EditorState as ut, foldInside as v, Text as vt, indentString as w, findClusterBreak as wt, getIndentUnit as x, codePointSize as xt, foldNodeProp as y, Transaction as yt, Parser as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, V as parseMixed, W as EditorView,
|
|
3
|
-
import { n as cssLanguage, t as css } from "./dist-
|
|
4
|
-
import { a as tsxLanguage, i as jsxLanguage, n as javascript, o as typescriptLanguage, r as javascriptLanguage } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, V as parseMixed, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
3
|
+
import { n as cssLanguage, t as css } from "./dist-CQzaKTa8.js";
|
|
4
|
+
import { a as tsxLanguage, i as jsxLanguage, n as javascript, o as typescriptLanguage, r as javascriptLanguage } from "./dist-CGOykrJw.js";
|
|
5
5
|
//#region node_modules/@lezer/html/dist/index.js
|
|
6
6
|
var scriptText = 55;
|
|
7
7
|
var StartCloseScriptTag = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, W as EditorView,
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
2
|
//#region node_modules/@lezer/xml/dist/index.js
|
|
3
3
|
var StartTag = 1;
|
|
4
4
|
var StartCloseTag = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
2
|
//#region node_modules/@lezer/yaml/dist/index.js
|
|
3
3
|
var blockEnd = 63;
|
|
4
4
|
var eof = 64;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, y as foldNodeProp } from "./dist-
|
|
2
|
-
import { a as ifNotIn, r as completeFromList } from "./dist-
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, y as foldNodeProp } from "./dist-Dn3c5gfb.js";
|
|
2
|
+
import { a as ifNotIn, r as completeFromList } from "./dist-BUu-NW5O.js";
|
|
3
3
|
//#region node_modules/@codemirror/lang-sql/dist/index.js
|
|
4
4
|
var whitespace = 36;
|
|
5
5
|
var LineComment = 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as inheritedTextReset } from "./shadow-resets-aG-rgyNQ.js";
|
|
2
|
+
import { n as linkRel, t as withTranslations } from "./with-translations-BAKFoEKy.js";
|
|
2
3
|
import { t as __decorate } from "./decorate-lwt_OrAG.js";
|
|
3
|
-
import { t as withTranslations } from "./with-translations-CqUV9S5g.js";
|
|
4
4
|
import { t as reflectNonDefault } from "./reflect-non-default-OLaK60rT.js";
|
|
5
5
|
import "./icon-C_zwJZ_g.js";
|
|
6
6
|
import { r as isTouchMode } from "./input-modality-DhTeUxKi.js";
|
|
@@ -1428,7 +1428,7 @@ function template() {
|
|
|
1428
1428
|
` : nothing;
|
|
1429
1429
|
const renderButton = () => {
|
|
1430
1430
|
if (this.href) {
|
|
1431
|
-
const resolvedRel = this.
|
|
1431
|
+
const resolvedRel = linkRel(this.rel, this.target);
|
|
1432
1432
|
return html`
|
|
1433
1433
|
<a class="icon-button"
|
|
1434
1434
|
href=${this.href}
|
|
@@ -1502,7 +1502,7 @@ var nlddIconButtonTranslations = { "components.icon-button.opens-in-new-tab-labe
|
|
|
1502
1502
|
* @attr {string} tooltip-timing - Forwarded to the inner nldd-tooltip's `timing`: 'delay' (the default, a 700 ms show-delay), 'instant', or 'never' (suppress the visual tooltip; screen readers still get the aria-label). Use 'never' when the surrounding context already explains the button (e.g. spin buttons in nldd-number-field, the chevron in nldd-split-button).
|
|
1503
1503
|
* @attr {string} href - When set, renders an <a> element instead of <button>
|
|
1504
1504
|
* @attr {string} target - Link target (e.g. '_blank'); only used when href is set. With '_blank' the "opens in new tab" announcement is folded into the aria-label for screen readers (WCAG 2.1 SC 3.2.2).
|
|
1505
|
-
* @attr {string} rel - Link rel attribute;
|
|
1505
|
+
* @attr {string} rel - Link rel attribute, used with href; with target '_blank', 'noopener noreferrer' is added to whatever you set
|
|
1506
1506
|
* @attr {object} translations - Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch.
|
|
1507
1507
|
* @attr {string} popovertarget - ID of a popover element to toggle; forwarded to the inner <button>
|
|
1508
1508
|
*
|
|
@@ -1561,12 +1561,6 @@ var NLDDIconButton = (_NLDDIconButton = class NLDDIconButton extends withTransla
|
|
|
1561
1561
|
}
|
|
1562
1562
|
if (!(this._hasIcon && !this.text && !this.accessibleLabel)) this._warnedA11y = false;
|
|
1563
1563
|
}
|
|
1564
|
-
/** Resolves the effective rel value for link rendering. */
|
|
1565
|
-
_resolvedRel() {
|
|
1566
|
-
if (this.rel) return this.rel;
|
|
1567
|
-
if (this.target === "_blank") return "noopener noreferrer";
|
|
1568
|
-
return "";
|
|
1569
|
-
}
|
|
1570
1564
|
_handleClick(e) {
|
|
1571
1565
|
if (this.disabled || this.loading) {
|
|
1572
1566
|
e.preventDefault();
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Date Field Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* A text field for a date, with an optional calendar in a popover. The value is
|
|
5
5
|
* always ISO (yyyy-mm-dd); on screen it shows the Dutch notation (dd-mm-yyyy).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Date Field Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* A text field for a date, with an optional calendar in a popover. The value is
|
|
5
5
|
* always ISO (yyyy-mm-dd); on screen it shows the Dutch notation (dd-mm-yyyy).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Date Picker Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* A calendar for picking a date or a period. The component works on its own
|
|
5
5
|
* (inline on a page, in a filter panel) and also sits in the popover of
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Nederlandse Digitale Dienst Date Picker Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* A calendar for picking a date or a period. The component works on its own
|
|
5
5
|
* (inline on a page, in a filter panel) and also sits in the popover of
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"radio-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAoG7B,CAAC"}
|
|
@@ -26,16 +26,6 @@ export const radioButtonStyles = css `
|
|
|
26
26
|
|
|
27
27
|
/* # Elements */
|
|
28
28
|
|
|
29
|
-
.radio-button__validation-input {
|
|
30
|
-
position: absolute;
|
|
31
|
-
inset: 0;
|
|
32
|
-
opacity: 0;
|
|
33
|
-
margin: 0;
|
|
34
|
-
pointer-events: none;
|
|
35
|
-
width: 100%;
|
|
36
|
-
height: 100%;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
29
|
.radio-button__outer-shape {
|
|
40
30
|
box-sizing: border-box;
|
|
41
31
|
position: relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"radio-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGnC,CAAC"}
|
|
@@ -14,16 +14,16 @@ export function radioButtonTemplate(component) {
|
|
|
14
14
|
// focused. The input is only there to answer `required` for the form, and it
|
|
15
15
|
// answers the question a radio asks: is anything in this group checked. The
|
|
16
16
|
// name is for the platform: a radio without one is in no group, and a radio in
|
|
17
|
-
// no group never reports a missing value.
|
|
17
|
+
// no group never reports a missing value. It is hidden, since rendered it would
|
|
18
|
+
// be a radio inside the element that is the radio, and hidden it still reports.
|
|
18
19
|
return html `
|
|
19
20
|
<input class="radio-button__validation-input"
|
|
20
21
|
type="radio"
|
|
21
22
|
name="nldd-validation"
|
|
23
|
+
hidden
|
|
22
24
|
?required=${component.required}
|
|
23
25
|
?disabled=${component.disabled}
|
|
24
26
|
.checked=${component._groupHasSelection}
|
|
25
|
-
tabindex="-1"
|
|
26
|
-
aria-hidden="true"
|
|
27
27
|
>
|
|
28
28
|
<div class="radio-button__outer-shape"
|
|
29
29
|
aria-hidden="true"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,0EAA0E;IAC1E,yEAAyE;IACzE,uCAAuC;IACvC,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAA;;;;GAIV,CAAC;IACH,CAAC;IACD,wEAAwE;IACxE,6EAA6E;IAC7E,4EAA4E;IAC5E,+EAA+E;IAC/E,
|
|
1
|
+
{"version":3,"file":"radio-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,0EAA0E;IAC1E,yEAAyE;IACzE,uCAAuC;IACvC,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAA;;;;GAIV,CAAC;IACH,CAAC;IACD,wEAAwE;IACxE,6EAA6E;IAC7E,4EAA4E;IAC5E,+EAA+E;IAC/E,gFAAgF;IAChF,gFAAgF;IAChF,OAAO,IAAI,CAAA;;;;;eAKG,SAAS,CAAC,QAAQ;eAClB,SAAS,CAAC,QAAQ;cACnB,SAAS,CAAC,kBAAkB;;;;;;;EAOxC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"radio-button-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,yBAyDlC,CAAC"}
|
|
@@ -24,16 +24,6 @@ export const radioButtonFieldStyles = css `
|
|
|
24
24
|
outline: none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.radio-button-field__validation-input {
|
|
28
|
-
position: absolute;
|
|
29
|
-
inset: 0;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
margin: 0;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
27
|
|
|
38
28
|
/* # Block */
|
|
39
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-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,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;IASrC,kBAAkB
|
|
1
|
+
{"version":3,"file":"radio-button-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-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,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;IASrC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,iCAAiC,CAAC;AAEzC,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,oBAAoB,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"radio-button-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,iCAAiC,CAAC;AAEzC,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,oBAAoB,GAAG,cAAc,CA+BxF"}
|