@nldd/design-system 0.8.85 → 0.8.87
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/custom-elements.json +1011 -355
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -2
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +3 -3
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/components.js +1546 -371
- package/dist/components/content/avatar/avatar.d.ts +6 -6
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +9 -9
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +4 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +3 -26
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +2 -0
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +2 -2
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +3 -3
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +8 -2
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +7 -6
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +8 -7
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.d.ts +2 -2
- package/dist/components/content/text/text.js +3 -3
- package/dist/components/content/title/title.d.ts +5 -5
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +6 -6
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +2 -2
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +4 -4
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{dist-C09E9-dJ.js → dist-B_Mnmrj4.js} +1 -1
- package/dist/components/{dist-CjaG8dOI.js → dist-ByH8hQze.js} +2 -2
- package/dist/components/{dist-BB7TxeMK.js → dist-CRwuSgMM.js} +2 -2
- package/dist/components/{dist-la_b3ZSq.js → dist-CSrO_mYe.js} +1 -1
- package/dist/components/{dist-762GHPyH.js → dist-CX3DK4i7.js} +3 -3
- package/dist/components/{dist-DZoFKUO-.js → dist-CbCO0WCd.js} +1 -1
- package/dist/components/{dist-B_3OW7pC.js → dist-CgDuh26K.js} +1 -1
- package/dist/components/{dist-DaavuU6W.js → dist-DXZ-cFAl.js} +2 -2
- package/dist/components/{dist-CRsR6ckU.js → dist-LX8LuMac.js} +1 -1
- package/dist/components/{dist-BJI4-6iQ.js → dist-eVFegyjM.js} +1 -1
- package/dist/components/{dist-C6gnorjP.js → dist-fIxe0l7k.js} +9 -1
- package/dist/components/{icon-Cd4BloIM.js → icon-C_zwJZ_g.js} +14 -4
- package/dist/components/{icon-button-CXN0yaVx.js → icon-button-CEz4MB9H.js} +10 -10
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +3 -5
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +30 -44
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +31 -5
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +14 -2
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +115 -36
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.cursor.d.ts +7 -0
- package/dist/components/inputs/text-editor/text-editor.cursor.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.cursor.js +207 -0
- package/dist/components/inputs/text-editor/text-editor.cursor.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts +65 -13
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts +32 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +229 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.js +177 -18
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +8 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +30 -4
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +52 -18
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +78 -11
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +190 -41
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts +0 -2
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +21 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +11 -10
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.syntax.d.ts +9 -0
- package/dist/components/inputs/text-editor/text-editor.syntax.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.syntax.js +20 -0
- package/dist/components/inputs/text-editor/text-editor.syntax.js.map +1 -0
- package/dist/components/layout/collection/collection.d.ts +15 -8
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +38 -13
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +36 -23
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +11 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +30 -17
- 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 +19 -21
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +23 -2
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +56 -2
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +33 -8
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts +0 -70
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +0 -3
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +7 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +3 -7
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +4 -18
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +2 -6
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +2 -2
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +13 -13
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +1 -1
- package/dist/components/layout/window/window.d.ts +2 -4
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +4 -14
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +2 -2
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -3
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +3 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +3 -3
- package/dist/components/lists-and-tables/list/list.d.ts +17 -5
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +62 -8
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +8 -1
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts +4 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.js +31 -12
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +8 -3
- 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 +35 -9
- 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 +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 +18 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +2 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +3 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +50 -12
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -4
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +8 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +14 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +22 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +6 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +3 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +5 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +3 -3
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +1 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.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 +15 -0
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +4 -3
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/visibility-mixin-BU1vIMW7.js +161 -0
- package/dist/favicon.svg +10 -0
- package/dist/nldd.min.js +834 -676
- package/dist/touch-icon.png +0 -0
- package/dist/types/vue.d.ts +55 -33
- package/dist/utilities/spacing-scale.d.ts +26 -0
- package/dist/utilities/spacing-scale.d.ts.map +1 -0
- package/dist/utilities/spacing-scale.js +54 -0
- package/dist/utilities/spacing-scale.js.map +1 -0
- package/dist/utilities/visibility-mixin.d.ts +11 -8
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +58 -45
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/dist/utilities/visibility-mixin.styles.d.ts +14 -0
- package/dist/utilities/visibility-mixin.styles.d.ts.map +1 -0
- package/dist/utilities/visibility-mixin.styles.js +52 -0
- package/dist/utilities/visibility-mixin.styles.js.map +1 -0
- package/package.json +5 -2
- package/dist/components/visibility-mixin-vbfhyo7f.js +0 -104
|
@@ -70,8 +70,8 @@ export const sheetStyles = css `
|
|
|
70
70
|
sticky header sticks to that edge instead of to a bar that stands
|
|
71
71
|
outside. See findScrollModeProvider for the other half. */
|
|
72
72
|
--context-scroll-mode: nested;
|
|
73
|
-
--context-
|
|
74
|
-
--context-
|
|
73
|
+
--context-inset-top: 0px;
|
|
74
|
+
--context-inset-bottom: 0px;
|
|
75
75
|
|
|
76
76
|
display: flex;
|
|
77
77
|
position: fixed;
|
|
@@ -135,10 +135,6 @@ export const sheetStyles = css `
|
|
|
135
135
|
background: var(--semantics-overlays-backdrop-color);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
:host([modeless]) .sheet::backdrop {
|
|
139
|
-
background: transparent;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
138
|
:host([placement="left"]) .sheet {
|
|
143
139
|
@media (min-width: ${mdMin}) {
|
|
144
140
|
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":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AAK;;;;;;uBAML,KAAK;;;;;;;;;;;;;;;;;;uBAkBL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC3B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable lit-a11y/click-events-have-key-events -- native dialog handles keyboard via @cancel */
|
|
2
|
-
import { html
|
|
2
|
+
import { html } from 'lit';
|
|
3
3
|
export function sheetTemplate(component) {
|
|
4
4
|
return html `
|
|
5
5
|
<dialog class="sheet"
|
|
6
6
|
aria-label=${component.accessibleLabel}
|
|
7
|
-
aria-modal
|
|
7
|
+
aria-modal="true"
|
|
8
8
|
@pointerdown=${component._handleDialogPointerDown}
|
|
9
9
|
@click=${component._handleDialogClick}
|
|
10
10
|
@cancel=${component._handleCancel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.template.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.template.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"sheet.template.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.template.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,OAAO,IAAI,CAAA;;gBAEI,SAAS,CAAC,eAAe;;kBAEvB,SAAS,CAAC,wBAAwB;YACxC,SAAS,CAAC,kBAAkB;aAC3B,SAAS,CAAC,aAAa;YACxB,SAAS,CAAC,kBAAkB;;;;;;EAMtC,CAAC;AACH,CAAC"}
|
|
@@ -47,7 +47,7 @@ export declare class NLDDBarSplitView extends LitElement {
|
|
|
47
47
|
private _isChildVisible;
|
|
48
48
|
_getSortedChildren(): Element[];
|
|
49
49
|
updated(): void;
|
|
50
|
-
private
|
|
50
|
+
private _updateInsets;
|
|
51
51
|
render(): import("lit-html").TemplateResult;
|
|
52
52
|
}
|
|
53
53
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,KAAK,sBAAsB,GAAG,UAAU,GAAG,IAAI,CAAC;AAEhD,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAI5C,OAAO,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,KAAK,sBAAsB,GAAG,UAAU,GAAG,IAAI,CAAC;AAEhD,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAI5C,OAAO,CAAC,WAAW,CAA8D;IAGjF,UAAU,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAMtD,kBAAkB,EAAE,sBAAsB,CAAQ;IAElD,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,eAAe,CAA+B;IAE7C,iBAAiB;IAqBjB,oBAAoB;IAQ7B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,eAAe;IAkBvB,kBAAkB,IAAI,OAAO,EAAE;IAmBtB,OAAO,IAAI,IAAI;IAUxB,OAAO,CAAC,aAAa,CAkCnB;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,gBAAgB,CAAC;KACxC;CACD"}
|
|
@@ -50,7 +50,7 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
50
50
|
super(...arguments);
|
|
51
51
|
// Reflects --context-scroll-mode to [data-scroll]; on change, re-computes the
|
|
52
52
|
// sticky-bar offsets below.
|
|
53
|
-
this._scrollMode = new ScrollModeController(this, () => this.
|
|
53
|
+
this._scrollMode = new ScrollModeController(this, () => this._updateInsets());
|
|
54
54
|
this.background = 'inherit';
|
|
55
55
|
// null until connectedCallback measures the viewport. Before measurement the
|
|
56
56
|
// template falls back to DOM order with dividers — no breakpoint-specific
|
|
@@ -58,11 +58,11 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
58
58
|
this._currentBreakpoint = null;
|
|
59
59
|
this._observer = null;
|
|
60
60
|
this._resizeObserver = null;
|
|
61
|
-
// In root-scroll mode
|
|
61
|
+
// In root-scroll mode the bars stack: each top bar sticks
|
|
62
62
|
// below the ones above it, each bottom bar above the ones below it, and the
|
|
63
|
-
// cumulative heights are published as --context-
|
|
63
|
+
// cumulative heights are published as --context-inset-top/bottom on the main
|
|
64
64
|
// so a descendant nldd-page's sticky header/footer stack against them.
|
|
65
|
-
this.
|
|
65
|
+
this._updateInsets = () => {
|
|
66
66
|
const block = this.shadowRoot?.querySelector('.bar-split-view') ?? null;
|
|
67
67
|
const main = block?.querySelector('.bar-split-view__main') ?? null;
|
|
68
68
|
if (!block || !main)
|
|
@@ -71,8 +71,8 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
71
71
|
const mainIndex = children.indexOf(main);
|
|
72
72
|
if (this._scrollMode.mode !== 'root') {
|
|
73
73
|
children.forEach(el => { el.style.top = ''; el.style.bottom = ''; });
|
|
74
|
-
main.style.removeProperty('--context-
|
|
75
|
-
main.style.removeProperty('--context-
|
|
74
|
+
main.style.removeProperty('--context-inset-top');
|
|
75
|
+
main.style.removeProperty('--context-inset-bottom');
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
78
|
// Everything above main sticks to the top and stacks; everything below
|
|
@@ -80,20 +80,20 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
80
80
|
// and count toward the offset. Base offsets are inherited from any
|
|
81
81
|
// bars/app-view above this one (px values, so nested bars compose).
|
|
82
82
|
const cs = getComputedStyle(this);
|
|
83
|
-
let top = parseFloat(cs.getPropertyValue('--context-
|
|
83
|
+
let top = parseFloat(cs.getPropertyValue('--context-inset-top')) || 0;
|
|
84
84
|
for (let i = 0; i < mainIndex; i++) {
|
|
85
85
|
children[i].style.top = `${top}px`;
|
|
86
86
|
children[i].style.bottom = '';
|
|
87
87
|
top += children[i].offsetHeight;
|
|
88
88
|
}
|
|
89
|
-
main.style.setProperty('--context-
|
|
90
|
-
let bottom = parseFloat(cs.getPropertyValue('--context-
|
|
89
|
+
main.style.setProperty('--context-inset-top', `${top}px`);
|
|
90
|
+
let bottom = parseFloat(cs.getPropertyValue('--context-inset-bottom')) || 0;
|
|
91
91
|
for (let i = children.length - 1; i > mainIndex; i--) {
|
|
92
92
|
children[i].style.bottom = `${bottom}px`;
|
|
93
93
|
children[i].style.top = '';
|
|
94
94
|
bottom += children[i].offsetHeight;
|
|
95
95
|
}
|
|
96
|
-
main.style.setProperty('--context-
|
|
96
|
+
main.style.setProperty('--context-inset-bottom', `${bottom}px`);
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
connectedCallback() {
|
|
@@ -107,9 +107,9 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
107
107
|
this._currentBreakpoint = bp;
|
|
108
108
|
this.requestUpdate();
|
|
109
109
|
}
|
|
110
|
-
// Bar heights (and thus the published
|
|
110
|
+
// Bar heights (and thus the published insets) can change on any
|
|
111
111
|
// resize; in root mode the flowing host resizes with them.
|
|
112
|
-
this.
|
|
112
|
+
this._updateInsets();
|
|
113
113
|
});
|
|
114
114
|
this._resizeObserver.observe(this);
|
|
115
115
|
}
|
|
@@ -166,7 +166,7 @@ let NLDDBarSplitView = class NLDDBarSplitView extends LitElement {
|
|
|
166
166
|
updated() {
|
|
167
167
|
// Re-apply after every render — the bar wrappers are re-created, so their
|
|
168
168
|
// inline sticky insets would otherwise be lost.
|
|
169
|
-
this.
|
|
169
|
+
this._updateInsets();
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
172
|
return barSplitViewTemplate(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-split-view.js","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAEvF,MAAM,OAAO,GAAG,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAMrC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAGN,8EAA8E;QAC9E,4BAA4B;QACpB,gBAAW,GAAG,IAAI,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"bar-split-view.js","sourceRoot":"","sources":["../../../../../src/components/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AAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YACrF,OAAO,IAAI,GAAG,IAAI,CAAC;QACpB,CAAC,CAAC,CAAC;IACJ,CAAC;IAEQ,OAAO;QACf,0EAA0E;QAC1E,gDAAgD;QAChD,IAAI,CAAC,aAAa,EAAE,CAAC;IACtB,CAAC;IA0CQ,MAAM;QACd,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;;AA1Ie,uBAAM,GAAG,kBAAkB,AAArB,CAAsB;AAO5C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDACY;AAMtD;IADC,KAAK,EAAE;4DAC0C;AAdtC,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CA4I5B"}
|
|
@@ -34,7 +34,7 @@ export const barSplitViewStyles = css `
|
|
|
34
34
|
/* Root-scroll mode: the document scrolls (ScrollModeController /
|
|
35
35
|
--context-scroll-mode). Bars become sticky layers that stay put while the
|
|
36
36
|
main content scrolls under them; their measured heights are published into
|
|
37
|
-
--context-
|
|
37
|
+
--context-inset-top/bottom (see bar-split-view.ts) so a descendant
|
|
38
38
|
nldd-page's sticky header/footer stack below/above them. The sticky insets
|
|
39
39
|
and those offsets are set by JS; bars paint above the content. */
|
|
40
40
|
:host([data-scroll="root"]) {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst Window Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
* A floating window based on the native <dialog> element
|
|
5
|
-
*
|
|
4
|
+
* A floating window based on the native <dialog> element, positionable through
|
|
5
|
+
* CSS values. Always modal.
|
|
6
6
|
*
|
|
7
7
|
* No header of its own: consumers use nldd-page with a sticky header inside for
|
|
8
8
|
* a title bar.
|
|
9
9
|
*
|
|
10
10
|
* @element nldd-window
|
|
11
11
|
*
|
|
12
|
-
* @attr {boolean} modeless - Modeless (no backdrop or focus trap); the window is modal by default
|
|
13
12
|
* @attr {boolean} no-light-dismiss - A click on the backdrop does not close the window. For windows where dismissing by accident costs work: a wizard, a form with filled-in fields. Escape and the dismiss button keep working.
|
|
14
13
|
* @attr {string} accessible-label - (required) Accessible name (aria-label). Falls back to the i18n default ('Venster') when unset. Always pass a unique, descriptive name per window.
|
|
15
14
|
* @attr {object} translations - Override translation keys; unset keys fall back to the Dutch default.
|
|
@@ -35,7 +34,6 @@ import { type NLDDWindowTranslations } from './window.i18n.js';
|
|
|
35
34
|
export type NLDDWindowScheme = 'inherit' | 'light' | 'dark';
|
|
36
35
|
export declare class NLDDWindow extends LitElement {
|
|
37
36
|
static styles: import("lit").CSSResult;
|
|
38
|
-
modeless: boolean;
|
|
39
37
|
noLightDismiss: boolean;
|
|
40
38
|
accessibleLabel: string;
|
|
41
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIjD,OAAO,EAA0B,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAKvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,qBACa,UAAW,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAAgB;IAGtC,cAAc,UAAS;IAGvB,eAAe,SAAM;IAErB;;;OAGG;IAEH,YAAY,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAM;IAGnD,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IAGxB,IAAI,EAAE,MAAM,GAAG,SAAS,CA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window Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
* A floating window based on the native <dialog> element
|
|
5
|
-
*
|
|
4
|
+
* A floating window based on the native <dialog> element, positionable through
|
|
5
|
+
* CSS values. Always modal.
|
|
6
6
|
*
|
|
7
7
|
* No header of its own: consumers use nldd-page with a sticky header inside for
|
|
8
8
|
* a title bar.
|
|
9
9
|
*
|
|
10
10
|
* @element nldd-window
|
|
11
11
|
*
|
|
12
|
-
* @attr {boolean} modeless - Modeless (no backdrop or focus trap); the window is modal by default
|
|
13
12
|
* @attr {boolean} no-light-dismiss - A click on the backdrop does not close the window. For windows where dismissing by accident costs work: a wizard, a form with filled-in fields. Escape and the dismiss button keep working.
|
|
14
13
|
* @attr {string} accessible-label - (required) Accessible name (aria-label). Falls back to the i18n default ('Venster') when unset. Always pass a unique, descriptive name per window.
|
|
15
14
|
* @attr {object} translations - Override translation keys; unset keys fall back to the Dutch default.
|
|
@@ -47,7 +46,6 @@ import { isDismissFromTitleBar } from '../../../utilities/dismiss-from-title-bar
|
|
|
47
46
|
let NLDDWindow = class NLDDWindow extends LitElement {
|
|
48
47
|
constructor() {
|
|
49
48
|
super(...arguments);
|
|
50
|
-
this.modeless = false;
|
|
51
49
|
this.noLightDismiss = false;
|
|
52
50
|
this.accessibleLabel = '';
|
|
53
51
|
/**
|
|
@@ -87,7 +85,7 @@ let NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
87
85
|
this._pointerDownOnBackdrop = this._isOnBackdrop(e);
|
|
88
86
|
};
|
|
89
87
|
this._handleDialogClick = (e) => {
|
|
90
|
-
if (this.
|
|
88
|
+
if (this.noLightDismiss)
|
|
91
89
|
return;
|
|
92
90
|
// Close only on a genuine backdrop click: the press AND the release both
|
|
93
91
|
// land on the backdrop. Without the pointerdown check, a drag that starts
|
|
@@ -169,12 +167,7 @@ let NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
169
167
|
this._hasWarnedLabel = true;
|
|
170
168
|
console.warn(`<nldd-window>: No accessible-label provided. Screen readers will announce this window as "${this._t('components.window.accessible-label')}". Set accessible-label to a unique, descriptive name.`);
|
|
171
169
|
}
|
|
172
|
-
|
|
173
|
-
dialog.show();
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
dialog.showModal();
|
|
177
|
-
}
|
|
170
|
+
dialog.showModal();
|
|
178
171
|
this._applyPositionStyles();
|
|
179
172
|
this._manageFocus();
|
|
180
173
|
this.dispatchEvent(new CustomEvent('open', { bubbles: true, composed: true }));
|
|
@@ -255,9 +248,6 @@ let NLDDWindow = class NLDDWindow extends LitElement {
|
|
|
255
248
|
}
|
|
256
249
|
};
|
|
257
250
|
NLDDWindow.styles = windowStyles;
|
|
258
|
-
__decorate([
|
|
259
|
-
property({ type: Boolean, reflect: true })
|
|
260
|
-
], NLDDWindow.prototype, "modeless", void 0);
|
|
261
251
|
__decorate([
|
|
262
252
|
property({ type: Boolean, reflect: true, attribute: 'no-light-dismiss' })
|
|
263
253
|
], NLDDWindow.prototype, "noLightDismiss", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAkB,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAA+B,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,M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G,YAAY,AAAf,CAAgB;AAGtC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;kDACnD;AAGvB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;mDACrC;AAOrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDACwB;AAGnD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uCAClB;AAGxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCACjB;AAGzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAChB;AAG1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CACf;AAG3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAChB;AAG1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CACf;AAG3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;0CACL;AAtCzB,UAAU;IADtB,aAAa,CAAC,aAAa,CAAC;GAChB,UAAU,CA0PtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.template.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/window/window.template.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"window.template.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/window/window.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,cAAc,CAAC,SAAS,EAAE,UAAU,GAAG,cAAc,CAepE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* eslint-disable lit-a11y/click-events-have-key-events -- native dialog handles keyboard via @cancel */
|
|
2
|
-
import { html
|
|
2
|
+
import { html } from 'lit';
|
|
3
3
|
export function windowTemplate(component) {
|
|
4
4
|
return html `
|
|
5
5
|
<dialog class="window"
|
|
6
6
|
aria-label=${component._resolvedAccessibleLabel}
|
|
7
|
-
aria-modal
|
|
7
|
+
aria-modal="true"
|
|
8
8
|
@pointerdown=${component._handleDialogPointerDown}
|
|
9
9
|
@click=${component._handleDialogClick}
|
|
10
10
|
@cancel=${component._handleCancel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.template.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.template.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"window.template.js","sourceRoot":"","sources":["../../../../src/components/layout/window/window.template.ts"],"names":[],"mappings":"AAAA,wGAAwG;AACxG,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,cAAc,CAAC,SAAqB;IACnD,OAAO,IAAI,CAAA;;gBAEI,SAAS,CAAC,wBAAwB;;kBAEhC,SAAS,CAAC,wBAAwB;YACxC,SAAS,CAAC,kBAAkB;aAC3B,SAAS,CAAC,aAAa;YACxB,SAAS,CAAC,kBAAkB;;;;;;EAMtC,CAAC;AACH,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @element nldd-icon-cell
|
|
9
9
|
* @attr {string} vertical-alignment - Vertical alignment: 'top' | 'center' | 'bottom' (default: 'center')
|
|
10
10
|
* @attr {string} size - Size: '16' | '20' | '24' | '32' (default: '24')
|
|
11
|
-
* @attr {'
|
|
11
|
+
* @attr {'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'} color - Color variant of the icon (default: 'content')
|
|
12
12
|
* @attr {string} icon - Icon name (renders `<nldd-icon>`). Takes precedence over the default slot.
|
|
13
13
|
*
|
|
14
14
|
* @slot - Fallback for custom icon content when `icon` is not set.
|
|
@@ -17,7 +17,7 @@ import { LitElement } from 'lit';
|
|
|
17
17
|
import '../../../content/icon/icon.js';
|
|
18
18
|
type VerticalAlignment = 'top' | 'center' | 'bottom';
|
|
19
19
|
type Size = '16' | '20' | '24' | '32';
|
|
20
|
-
type Color = '
|
|
20
|
+
type Color = 'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical';
|
|
21
21
|
declare const NLDDIconCell_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
22
22
|
hideBelow?: string;
|
|
23
23
|
hideAbove?: string;
|
|
@@ -14,7 +14,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
14
14
|
* @element nldd-icon-cell
|
|
15
15
|
* @attr {string} vertical-alignment - Vertical alignment: 'top' | 'center' | 'bottom' (default: 'center')
|
|
16
16
|
* @attr {string} size - Size: '16' | '20' | '24' | '32' (default: '24')
|
|
17
|
-
* @attr {'
|
|
17
|
+
* @attr {'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'} color - Color variant of the icon (default: 'content')
|
|
18
18
|
* @attr {string} icon - Icon name (renders `<nldd-icon>`). Takes precedence over the default slot.
|
|
19
19
|
*
|
|
20
20
|
* @slot - Fallback for custom icon content when `icon` is not set.
|
|
@@ -31,7 +31,7 @@ let NLDDIconCell = class NLDDIconCell extends VisibilityMixin(LitElement, 'cells
|
|
|
31
31
|
super(...arguments);
|
|
32
32
|
this.verticalAlignment = 'center';
|
|
33
33
|
this.size = '24';
|
|
34
|
-
this.color = '
|
|
34
|
+
this.color = 'content';
|
|
35
35
|
this.icon = '';
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
@@ -46,7 +46,7 @@ __decorate([
|
|
|
46
46
|
property({ type: String, reflect: true })
|
|
47
47
|
], NLDDIconCell.prototype, "size", void 0);
|
|
48
48
|
__decorate([
|
|
49
|
-
property({ reflect: true, converter: reflectNonDefault('
|
|
49
|
+
property({ reflect: true, converter: reflectNonDefault('content') })
|
|
50
50
|
], NLDDIconCell.prototype, "color", void 0);
|
|
51
51
|
__decorate([
|
|
52
52
|
property({ type: String, reflect: true })
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* @element nldd-text-cell
|
|
23
23
|
* @attr {string} size - Cell size: 'sm' | 'md' (default: 'md')
|
|
24
|
-
* @attr {string} color - Text color variant: '
|
|
24
|
+
* @attr {string} color - Text color variant: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. All variants other than those two apply to all three text fields so the cell reads as a coherent state.
|
|
25
25
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
26
26
|
* @attr {string} min-width - Minimum width as CSS length (e.g. '80px', '5rem')
|
|
27
27
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '200px', '20rem')
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
import { LitElement } from 'lit';
|
|
56
56
|
import type { QueryMarkMode } from '../../../../utilities/render-marked.js';
|
|
57
57
|
type Size = 'sm' | 'md';
|
|
58
|
-
type Color = '
|
|
58
|
+
type Color = 'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical';
|
|
59
59
|
type HorizontalAlignment = 'left' | 'center' | 'right';
|
|
60
60
|
type VerticalAlignment = 'top' | 'center' | 'bottom';
|
|
61
61
|
declare const NLDDTextCell_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
@@ -27,7 +27,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
27
27
|
*
|
|
28
28
|
* @element nldd-text-cell
|
|
29
29
|
* @attr {string} size - Cell size: 'sm' | 'md' (default: 'md')
|
|
30
|
-
* @attr {string} color - Text color variant: '
|
|
30
|
+
* @attr {string} color - Text color variant: 'content' (the default) | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'. All variants other than those two apply to all three text fields so the cell reads as a coherent state.
|
|
31
31
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
32
32
|
* @attr {string} min-width - Minimum width as CSS length (e.g. '80px', '5rem')
|
|
33
33
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '200px', '20rem')
|
|
@@ -68,7 +68,7 @@ let NLDDTextCell = class NLDDTextCell extends VisibilityMixin(LitElement, 'cells
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super(...arguments);
|
|
70
70
|
this.size = 'md';
|
|
71
|
-
this.color = '
|
|
71
|
+
this.color = 'content';
|
|
72
72
|
this.width = 'full';
|
|
73
73
|
this.horizontalAlignment = 'left';
|
|
74
74
|
this.verticalAlignment = 'center';
|
|
@@ -156,7 +156,7 @@ __decorate([
|
|
|
156
156
|
property({ reflect: true, converter: reflectNonDefault('md') })
|
|
157
157
|
], NLDDTextCell.prototype, "size", void 0);
|
|
158
158
|
__decorate([
|
|
159
|
-
property({ reflect: true, converter: reflectNonDefault('
|
|
159
|
+
property({ reflect: true, converter: reflectNonDefault('content') })
|
|
160
160
|
], NLDDTextCell.prototype, "color", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
property({ reflect: true, converter: reflectNonDefault('full') })
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @element nldd-title-cell
|
|
22
22
|
* @attr {1|2|3|4|5|6} size - Visual size of the title (default: 5)
|
|
23
|
-
* @attr {'
|
|
23
|
+
* @attr {'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'} color - Text color variant (default: 'content'). `secondary` demotes the title to match the muted overline/supporting-text. `accent`, `success`, `warning` and `critical` tint all three regions so the cell reads as a coherent state.
|
|
24
24
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
25
25
|
* @attr {string} min-width - Minimum width as CSS length (e.g. '80px', '5rem')
|
|
26
26
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '300px', '20rem')
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
import { LitElement } from 'lit';
|
|
56
56
|
import type { QueryMarkMode } from '../../../../utilities/render-marked.js';
|
|
57
57
|
export type TitleCellSize = 1 | 2 | 3 | 4 | 5 | 6;
|
|
58
|
-
type Color = '
|
|
58
|
+
type Color = 'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical';
|
|
59
59
|
type HorizontalAlignment = 'left' | 'center' | 'right';
|
|
60
60
|
type VerticalAlignment = 'top' | 'center' | 'bottom';
|
|
61
61
|
declare const NLDDTitleCell_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
@@ -26,7 +26,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
26
26
|
*
|
|
27
27
|
* @element nldd-title-cell
|
|
28
28
|
* @attr {1|2|3|4|5|6} size - Visual size of the title (default: 5)
|
|
29
|
-
* @attr {'
|
|
29
|
+
* @attr {'content' | 'secondary' | 'accent' | 'success' | 'warning' | 'critical'} color - Text color variant (default: 'content'). `secondary` demotes the title to match the muted overline/supporting-text. `accent`, `success`, `warning` and `critical` tint all three regions so the cell reads as a coherent state.
|
|
30
30
|
* @attr {string} width - 'full' | 'fit-content' | CSS length (e.g. '200px', '20rem'). Default: 'full'
|
|
31
31
|
* @attr {string} min-width - Minimum width as CSS length (e.g. '80px', '5rem')
|
|
32
32
|
* @attr {string} max-width - Maximum width as CSS length (e.g. '300px', '20rem')
|
|
@@ -68,7 +68,7 @@ let NLDDTitleCell = class NLDDTitleCell extends VisibilityMixin(LitElement, 'cel
|
|
|
68
68
|
constructor() {
|
|
69
69
|
super(...arguments);
|
|
70
70
|
this.size = 5;
|
|
71
|
-
this.color = '
|
|
71
|
+
this.color = 'content';
|
|
72
72
|
this.width = 'full';
|
|
73
73
|
this.horizontalAlignment = 'left';
|
|
74
74
|
this.verticalAlignment = 'center';
|
|
@@ -156,7 +156,7 @@ __decorate([
|
|
|
156
156
|
property({ type: Number, reflect: true })
|
|
157
157
|
], NLDDTitleCell.prototype, "size", void 0);
|
|
158
158
|
__decorate([
|
|
159
|
-
property({ reflect: true, converter: reflectNonDefault('
|
|
159
|
+
property({ reflect: true, converter: reflectNonDefault('content') })
|
|
160
160
|
], NLDDTitleCell.prototype, "color", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
property({ reflect: true, converter: reflectNonDefault('full') })
|
|
@@ -5,7 +5,7 @@ import '../../content/icon/icon.js';
|
|
|
5
5
|
import '../../actions/icon-button/icon-button.js';
|
|
6
6
|
export type ListDividers = 'always' | 'on-touch' | 'never';
|
|
7
7
|
export type ListVariant = 'simple' | 'box-tinted' | 'box-base';
|
|
8
|
-
export type ListType = 'list' | 'navigation' | 'listbox' | 'tree' | 'form';
|
|
8
|
+
export type ListType = 'list' | 'navigation' | 'listbox' | 'tree' | 'form' | 'radiogroup';
|
|
9
9
|
export interface NLDDReorderEventDetail {
|
|
10
10
|
fromIndex: number;
|
|
11
11
|
toIndex: number;
|
|
@@ -15,6 +15,12 @@ export interface NLDDReorderEventDetail {
|
|
|
15
15
|
*
|
|
16
16
|
* The `type` attribute switches the list's a11y role and behavior:
|
|
17
17
|
* - `list` (default) — `role="list"`, items `role="listitem"`. Reorderable allowed.
|
|
18
|
+
* - `radiogroup` — `role="radiogroup"`, for a set of `nldd-list-item radio`
|
|
19
|
+
* rows: one choice, laid out as rows so each option can carry a count or a
|
|
20
|
+
* second line. The rows step out of the accessibility tree themselves
|
|
21
|
+
* (`role="none"`), so the radios are the group's own children. The arrows
|
|
22
|
+
* move focus here and activation checks, rather than the selection following
|
|
23
|
+
* focus as it does in `nldd-radio-button-group`.
|
|
18
24
|
* - `tree` — `role="tree"`, items `role="treeitem"`. Branch rows put their child
|
|
19
25
|
* rows in their own `slot="children"`, which the item renders as a
|
|
20
26
|
* `role="group"`. Level, position and set size are NOT authored: the
|
|
@@ -141,7 +147,7 @@ export interface NLDDReorderEventDetail {
|
|
|
141
147
|
* @element nldd-list
|
|
142
148
|
*
|
|
143
149
|
* @attr {'simple'|'box-tinted'|'box-base'} variant - Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, the two `box` values a framed card with rounded corners, fill and inset border ring. `box-tinted` for a list on a plain page, `box-base` for one on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card)
|
|
144
|
-
* @attr {'list'|'navigation'|'listbox'|'tree'|'form'} type - A11y role and behavior (default 'list'). See the docblock above.
|
|
150
|
+
* @attr {'list'|'navigation'|'listbox'|'tree'|'form'|'radiogroup'} type - A11y role and behavior (default 'list'). See the docblock above.
|
|
145
151
|
* @attr {boolean} reorderable - Enables drag-to-reorder and pushes `reorderable` onto the items. Only valid with `type="list"`; there the arrow keys move rows instead of focus.
|
|
146
152
|
* @attr {'always'|'on-touch'|'never'} dividers - When to draw the lines between the items (default 'always'). `on-touch` draws them only where the primary input is touch, under `(pointer: coarse)`: a pointer has the hover highlight to tell one row from the next and a finger has nothing, so the line earns its place in the one case and is clutter in the other. `never` hides them everywhere
|
|
147
153
|
* @attr {string} height - Listbox only: caps the options' scroll region at this CSS length (e.g. '320px'). Unset means no cap.
|
|
@@ -151,7 +157,8 @@ export interface NLDDReorderEventDetail {
|
|
|
151
157
|
* @slot - List items (`nldd-list-item`)
|
|
152
158
|
* @slot toolbar - Controls below the search field (filters, sort, counts, view toggles). Available for every type; collapses when empty.
|
|
153
159
|
* @slot search-bar-end - Controls inline at the end of the search bar, beside the search field (e.g. a filter or options button). Listbox only; collapses when empty.
|
|
154
|
-
* @slot empty - Shown when no items
|
|
160
|
+
* @slot empty - Shown when the list has no items at all. Empty by default: what an empty list should say is the app's to write, so put an `nldd-inline-dialog` here. There is nothing to search or filter in a list with no rows, so the search field of a `type="listbox"` and a `[slot="toolbar"]` are hidden along with them, and an unfilled slot takes the whole list off the page. A list that fetches its rows is in this state until they arrive: put an `nldd-inline-dialog variant="loading"` here to hold the place rather than have the controls appear a moment later.
|
|
161
|
+
* @slot no-results - Shown when the list has items but every one of them is `[hidden]`, which is what consumer-driven filtering leaves behind. A different state from `empty` and a different sentence: here the search field and the `[slot="toolbar"]` stay, because they are the way back to the rows. Falls back to `[slot="empty"]` when not given. In `type="listbox"` it is suppressed while the search field is empty (no query yet), so the consumer can show just the search field or its own hint outside the list.
|
|
155
162
|
*
|
|
156
163
|
* @fires nldd-reorder - Reorderable `type="list"`: `{ fromIndex, toIndex }` on drop
|
|
157
164
|
* @fires input - `type="listbox"`: search value changed; `{ value }`. Toggle `[hidden]` on items to filter.
|
|
@@ -188,6 +195,9 @@ export declare class NLDDList extends LitElement {
|
|
|
188
195
|
private _mergedTranslations;
|
|
189
196
|
private _hasToolbar;
|
|
190
197
|
private _hasSearchBarEnd;
|
|
198
|
+
private _hasEmptyState;
|
|
199
|
+
private _hasNoResultsState;
|
|
200
|
+
private _hasItems;
|
|
191
201
|
private _isEmpty;
|
|
192
202
|
/** Current search value (listbox mode). Mirrored to the input. */
|
|
193
203
|
private _searchValue;
|
|
@@ -262,8 +272,10 @@ export declare class NLDDList extends LitElement {
|
|
|
262
272
|
* the app's to write and a house sentence was wrong more often than right.
|
|
263
273
|
* That leaves a real risk of a blank area with nothing in the accessibility
|
|
264
274
|
* tree either, so the list asks the person building it rather than
|
|
265
|
-
* answering for them.
|
|
266
|
-
*
|
|
275
|
+
* answering for them. It asks about the state it is actually in: rows that
|
|
276
|
+
* are all hidden are covered by [slot="no-results"] as well as by the
|
|
277
|
+
* [slot="empty"] it falls back to. A listbox before you have typed is left
|
|
278
|
+
* alone: an empty search is not an empty list.
|
|
267
279
|
*/
|
|
268
280
|
private _warnSilentEmpty;
|
|
269
281
|
private _warnedSilentEmpty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,0DAA0D,CAAC;AAClE,OAAO,4BAA4B,CAAC;AACpC,OAAO,0CAA0C,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;AAC/D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,0DAA0D,CAAC;AAClE,OAAO,4BAA4B,CAAC;AACpC,OAAO,0CAA0C,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;AAC/D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAE1F,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CAChB;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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