@nldd/design-system 0.8.45 → 0.8.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/button.d.ts +3 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +26 -0
- 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 +4 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +23 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/components.js +83 -78
- package/dist/components/content/{code/code.d.ts → code-viewer/code-viewer.d.ts} +12 -11
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -0
- package/dist/components/content/{code/code.js → code-viewer/code-viewer.js} +32 -25
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts +2 -0
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js +89 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.template.d.ts +4 -0
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -0
- package/dist/components/content/{code/code.template.js → code-viewer/code-viewer.template.js} +3 -3
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -0
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +3 -1
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{index-iTa3Ua3y.js → index-CuzqC3j7.js} +3045 -1775
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.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 +10 -0
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +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 +12 -0
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
- package/dist/components/inputs/token/token.styles.js +13 -3
- package/dist/components/inputs/token/token.styles.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +2 -2
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +2 -2
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +2 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +8 -0
- 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 +4 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.template.js +5 -2
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +62 -8
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +113 -11
- 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 +262 -16
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +5 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +2 -2
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +1 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +84 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.i18n.d.ts +5 -0
- package/dist/components/layout/page-footer/page-footer.i18n.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.i18n.js +4 -0
- package/dist/components/layout/page-footer/page-footer.i18n.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.js +217 -0
- package/dist/components/layout/page-footer/page-footer.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.styles.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.styles.js +207 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.template.d.ts +6 -0
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.template.js +73 -0
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +26 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +10 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +23 -35
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +26 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +10 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +26 -53
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +26 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +10 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +33 -51
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts +226 -0
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -0
- package/dist/components/layout/page-sections/page-section-controls.js +104 -0
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +26 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +10 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +24 -38
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +26 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +10 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +33 -51
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +2 -2
- 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 +1 -1
- 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/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +2 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +1 -1
- package/dist/components/layout/window/window.d.ts +5 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +28 -13
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +1 -7
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.d.ts +6 -5
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.js +16 -111
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.js +94 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.d.ts +4 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.js +20 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -0
- package/dist/components/lists-and-menus/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +9 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +80 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +6 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +5 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +192 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts +3 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +124 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts +6 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +57 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +3 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +14 -17
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +47 -46
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +2 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +8 -0
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +11 -0
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +61 -1
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +1 -0
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +15 -0
- package/dist/components/navigation/tab-bar/tab-bar.styles.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 +28 -26
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +1 -1
- package/dist/components/prism-gherkin-CMPYyXOQ.js +82 -0
- package/dist/components/prism-python-DUL3Gysb.js +99 -0
- package/dist/components/prism-rust-BGBMvZa7.js +157 -0
- package/dist/components/prism-sql-BGqCBMyJ.js +33 -0
- package/dist/components/prism-toml-Ubdq-a5x.js +45 -0
- package/dist/components/{prism-typescript-DG_p4Wyh.js → prism-typescript-QDrnGhET.js} +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +3 -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 +5 -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 +20 -4
- 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 +16 -14
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/css/form.css +4 -5
- package/dist/css/rich-text.css +27 -115
- package/dist/css/settings.css +46 -37
- package/dist/utilities/page-section-mixin.d.ts +53 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -0
- package/dist/utilities/page-section-mixin.js +239 -0
- package/dist/utilities/page-section-mixin.js.map +1 -0
- package/package.json +12 -4
- package/dist/components/content/code/code.d.ts.map +0 -1
- package/dist/components/content/code/code.js.map +0 -1
- package/dist/components/content/code/code.styles.d.ts +0 -2
- package/dist/components/content/code/code.styles.d.ts.map +0 -1
- package/dist/components/content/code/code.styles.js +0 -89
- package/dist/components/content/code/code.styles.js.map +0 -1
- package/dist/components/content/code/code.template.d.ts +0 -4
- package/dist/components/content/code/code.template.d.ts.map +0 -1
- package/dist/components/content/code/code.template.js.map +0 -1
|
@@ -13,6 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
* @element nldd-inline-dialog
|
|
14
14
|
*
|
|
15
15
|
* @attr {'alert'|'success'} variant - Semantic variant; 'alert' or 'success' forces a matching icon and color
|
|
16
|
+
* @attr {'md'|'lg'} size - Typography size: 'md' (default) keeps body-md text + body-sm supporting; 'lg' bumps both up a step.
|
|
16
17
|
* @attr {string} icon - Name of the nldd-icon icon above the text; absent when not set. Ignored when variant is set.
|
|
17
18
|
* @attr {string} icon-color - 'secondary' | 'accent' | 'critical' | 'warning' | 'success'. Overrides the default and variant icon color.
|
|
18
19
|
* @attr {string} text - Main text (heading or paragraph, depending on heading-level)
|
|
@@ -32,6 +33,7 @@ let NLDDInlineDialog = class NLDDInlineDialog extends LitElement {
|
|
|
32
33
|
constructor() {
|
|
33
34
|
super(...arguments);
|
|
34
35
|
this.variant = '';
|
|
36
|
+
this.size = 'md';
|
|
35
37
|
this.icon = '';
|
|
36
38
|
this.iconColor = '';
|
|
37
39
|
this.text = '';
|
|
@@ -76,6 +78,9 @@ NLDDInlineDialog.styles = inlineDialogStyles;
|
|
|
76
78
|
__decorate([
|
|
77
79
|
property({ type: String, reflect: true })
|
|
78
80
|
], NLDDInlineDialog.prototype, "variant", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property({ type: String, reflect: true })
|
|
83
|
+
], NLDDInlineDialog.prototype, "size", void 0);
|
|
79
84
|
__decorate([
|
|
80
85
|
property({ type: String, reflect: true })
|
|
81
86
|
], NLDDInlineDialog.prototype, "icon", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"inline-dialog.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;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,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,4BAA4B,CAAC;AACpC,OAAO,4CAA4C,CAAC;AAO7C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAIN,YAAO,GAA6B,EAAE,CAAC;QAGvC,SAAI,GAAqB,IAAI,CAAC;QAG9B,SAAI,GAAG,EAAE,CAAC;QAGV,cAAS,GAA+B,EAAE,CAAC;QAG3C,SAAI,GAAG,EAAE,CAAC;QAGV,mBAAc,GAAG,EAAE,CAAC;QAGpB,iBAAY,GAAiC,IAAI,CAAC;QAGlD,gBAAW,GAAG,KAAK,CAAC;Q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styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"inline-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,yBA0H9B,CAAC"}
|
|
@@ -7,6 +7,8 @@ export const inlineDialogStyles = css `
|
|
|
7
7
|
:host {
|
|
8
8
|
--_icon-size: var(--primitives-space-48);
|
|
9
9
|
--_icon-color: var(--components-inline-dialog-icon-color);
|
|
10
|
+
--_text-font: var(--primitives-font-body-md-bold-tight);
|
|
11
|
+
--_supporting-text-font: var(--primitives-font-body-sm-regular-tight);
|
|
10
12
|
|
|
11
13
|
display: flex;
|
|
12
14
|
flex-grow: 1;
|
|
@@ -14,6 +16,12 @@ export const inlineDialogStyles = css `
|
|
|
14
16
|
justify-content: center;
|
|
15
17
|
}
|
|
16
18
|
|
|
19
|
+
:host([size="lg"]) {
|
|
20
|
+
--_icon-size: var(--primitives-space-56);
|
|
21
|
+
--_text-font: var(--primitives-font-body-lg-bold-tight);
|
|
22
|
+
--_supporting-text-font: var(--primitives-font-body-md-regular-tight);
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
:host([variant="alert"]) {
|
|
18
26
|
--_icon-color: var(--components-inline-dialog-icon-warning-color);
|
|
19
27
|
}
|
|
@@ -58,6 +66,14 @@ export const inlineDialogStyles = css `
|
|
|
58
66
|
align-items: center;
|
|
59
67
|
}
|
|
60
68
|
|
|
69
|
+
.inline-dialog__main {
|
|
70
|
+
display: flex;
|
|
71
|
+
width: 100%;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--primitives-space-2);
|
|
75
|
+
}
|
|
76
|
+
|
|
61
77
|
.inline-dialog__icon {
|
|
62
78
|
display: flex;
|
|
63
79
|
width: var(--_icon-size);
|
|
@@ -72,7 +88,7 @@ export const inlineDialogStyles = css `
|
|
|
72
88
|
margin: 0;
|
|
73
89
|
text-align: center;
|
|
74
90
|
color: var(--semantics-content-color);
|
|
75
|
-
font: var(--
|
|
91
|
+
font: var(--_text-font);
|
|
76
92
|
text-wrap: pretty;
|
|
77
93
|
}
|
|
78
94
|
|
|
@@ -85,7 +101,7 @@ export const inlineDialogStyles = css `
|
|
|
85
101
|
margin: 0;
|
|
86
102
|
text-align: center;
|
|
87
103
|
color: var(--semantics-content-color);
|
|
88
|
-
font: var(--
|
|
104
|
+
font: var(--_supporting-text-font);
|
|
89
105
|
text-wrap: pretty;
|
|
90
106
|
}
|
|
91
107
|
|
|
@@ -97,12 +113,12 @@ export const inlineDialogStyles = css `
|
|
|
97
113
|
display: none;
|
|
98
114
|
}
|
|
99
115
|
|
|
100
|
-
.inline-
|
|
116
|
+
.inline-dialog__footer {
|
|
101
117
|
width: 100%;
|
|
102
118
|
padding-top: var(--primitives-space-16);
|
|
103
119
|
}
|
|
104
120
|
|
|
105
|
-
.inline-
|
|
121
|
+
.inline-dialog__footer[hidden] {
|
|
106
122
|
display: none;
|
|
107
123
|
}
|
|
108
124
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-dialog.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"inline-dialog.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,wCAgC/D"}
|
|
@@ -2,27 +2,29 @@ import { html, nothing } from 'lit';
|
|
|
2
2
|
export function inlineDialogTemplate(component) {
|
|
3
3
|
return html `
|
|
4
4
|
<div class="inline-dialog__body">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
${component.
|
|
5
|
+
<div class="inline-dialog__main">
|
|
6
|
+
${component._resolvedIconName ? html `
|
|
7
|
+
<div class="inline-dialog__icon">
|
|
8
|
+
<nldd-icon name=${component._resolvedIconName}></nldd-icon>
|
|
9
|
+
</div>
|
|
10
|
+
` : nothing}
|
|
11
|
+
${component.text ? html `
|
|
12
|
+
${component.headingLevel === 1 ? html `<h1 class="inline-dialog__text">${component.text}</h1>`
|
|
12
13
|
: component.headingLevel === 2 ? html `<h2 class="inline-dialog__text">${component.text}</h2>`
|
|
13
14
|
: component.headingLevel === 3 ? html `<h3 class="inline-dialog__text">${component.text}</h3>`
|
|
14
15
|
: component.headingLevel === 4 ? html `<h4 class="inline-dialog__text">${component.text}</h4>`
|
|
15
16
|
: component.headingLevel === 5 ? html `<h5 class="inline-dialog__text">${component.text}</h5>`
|
|
16
17
|
: component.headingLevel === 6 ? html `<h6 class="inline-dialog__text">${component.text}</h6>`
|
|
17
18
|
: html `<p class="inline-dialog__text">${component.text}</p>`}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
` : nothing}
|
|
20
|
+
${component.supportingText ? html `
|
|
21
|
+
<p class="inline-dialog__supporting-text">${component.supportingText}</p>
|
|
22
|
+
` : nothing}
|
|
23
|
+
<div class="inline-dialog__content" ?hidden=${!component._hasContent}>
|
|
24
|
+
<slot></slot>
|
|
25
|
+
</div>
|
|
24
26
|
</div>
|
|
25
|
-
<div class="inline-
|
|
27
|
+
<div class="inline-dialog__footer" ?hidden=${!component._hasActions}>
|
|
26
28
|
<nldd-button-group orientation="vertical">
|
|
27
29
|
<slot name="actions"></slot>
|
|
28
30
|
</nldd-button-group>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-dialog.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,MAAM,UAAU,oBAAoB,CAAC,SAA2B;IAC/D,OAAO,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"inline-dialog.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAGpC,MAAM,UAAU,oBAAoB,CAAC,SAA2B;IAC/D,OAAO,IAAI,CAAA;;;MAGN,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAA;;wBAEhB,SAAS,CAAC,iBAAiB;;KAE9C,CAAC,CAAC,CAAC,OAAO;MACT,SAAS,CAAC,IAAI,CAAC,C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 nldd-form > form > * + * {
|
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
nldd-form nldd-form-field + nldd-form-field {
|
|
18
|
-
@container
|
|
17
|
+
@container (max-width: 640px) {
|
|
19
18
|
margin-top: var(--semantics-forms-gap-tight);
|
|
20
19
|
}
|
|
21
|
-
@container
|
|
20
|
+
@container (min-width: 641px) {
|
|
22
21
|
margin-top: var(--semantics-forms-gap);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
nldd-form nldd-form-field[form-label-alignment='top']:not([label-alignment='left']):not([label-alignment='right']) + nldd-form-field[form-label-alignment='top']:not([label-alignment='left']):not([label-alignment='right']) {
|
|
27
|
-
@container
|
|
26
|
+
@container (min-width: 641px) {
|
|
28
27
|
margin-top: var(--semantics-forms-gap-tight);
|
|
29
28
|
}
|
|
30
29
|
}
|
package/dist/css/rich-text.css
CHANGED
|
@@ -11,6 +11,7 @@ nldd-rich-text {
|
|
|
11
11
|
calc(100% - var(--components-rich-text-main-max-width))
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
+
container-type: inline-size;
|
|
14
15
|
display: grid;
|
|
15
16
|
grid-template-columns:
|
|
16
17
|
[full-start] 0
|
|
@@ -82,27 +83,15 @@ nldd-rich-text :is(h1, h2, h3, h4, h5, h6) {
|
|
|
82
83
|
/* # Heading 1 */
|
|
83
84
|
|
|
84
85
|
nldd-rich-text h1 {
|
|
85
|
-
@
|
|
86
|
+
@container (max-width: 640px) {
|
|
86
87
|
font: var(--primitives-font-display-1-sm);
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
@
|
|
90
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
90
91
|
font: var(--primitives-font-display-1-md);
|
|
91
92
|
}
|
|
92
93
|
|
|
93
|
-
@
|
|
94
|
-
font: var(--primitives-font-display-1-lg);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@container layout-container (max-width: 640px) {
|
|
98
|
-
font: var(--primitives-font-display-1-sm);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@container layout-container (min-width: 641px) and (max-width: 1007px) {
|
|
102
|
-
font: var(--primitives-font-display-1-md);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@container layout-container (min-width: 1008px) {
|
|
94
|
+
@container (min-width: 1008px) {
|
|
106
95
|
font: var(--primitives-font-display-1-lg);
|
|
107
96
|
}
|
|
108
97
|
}
|
|
@@ -111,27 +100,15 @@ nldd-rich-text h1 {
|
|
|
111
100
|
/* # Heading 2 */
|
|
112
101
|
|
|
113
102
|
nldd-rich-text h2 {
|
|
114
|
-
@
|
|
103
|
+
@container (max-width: 640px) {
|
|
115
104
|
font: var(--primitives-font-display-2-sm);
|
|
116
105
|
}
|
|
117
106
|
|
|
118
|
-
@
|
|
107
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
119
108
|
font: var(--primitives-font-display-2-md);
|
|
120
109
|
}
|
|
121
110
|
|
|
122
|
-
@
|
|
123
|
-
font: var(--primitives-font-display-2-lg);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@container layout-container (max-width: 640px) {
|
|
127
|
-
font: var(--primitives-font-display-2-sm);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@container layout-container (min-width: 641px) and (max-width: 1007px) {
|
|
131
|
-
font: var(--primitives-font-display-2-md);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@container layout-container (min-width: 1008px) {
|
|
111
|
+
@container (min-width: 1008px) {
|
|
135
112
|
font: var(--primitives-font-display-2-lg);
|
|
136
113
|
}
|
|
137
114
|
}
|
|
@@ -140,27 +117,15 @@ nldd-rich-text h2 {
|
|
|
140
117
|
/* # Heading 3 */
|
|
141
118
|
|
|
142
119
|
nldd-rich-text h3 {
|
|
143
|
-
@
|
|
144
|
-
font: var(--primitives-font-display-3-sm);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media (min-width: 641px) and (max-width: 1007px) {
|
|
148
|
-
font: var(--primitives-font-display-3-md);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@media (min-width: 1008px) {
|
|
152
|
-
font: var(--primitives-font-display-3-lg);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@container layout-container (max-width: 640px) {
|
|
120
|
+
@container (max-width: 640px) {
|
|
156
121
|
font: var(--primitives-font-display-3-sm);
|
|
157
122
|
}
|
|
158
123
|
|
|
159
|
-
@container
|
|
124
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
160
125
|
font: var(--primitives-font-display-3-md);
|
|
161
126
|
}
|
|
162
127
|
|
|
163
|
-
@container
|
|
128
|
+
@container (min-width: 1008px) {
|
|
164
129
|
font: var(--primitives-font-display-3-lg);
|
|
165
130
|
}
|
|
166
131
|
}
|
|
@@ -169,27 +134,15 @@ nldd-rich-text h3 {
|
|
|
169
134
|
/* # Heading 4 */
|
|
170
135
|
|
|
171
136
|
nldd-rich-text h4 {
|
|
172
|
-
@
|
|
137
|
+
@container (max-width: 640px) {
|
|
173
138
|
font: var(--primitives-font-display-4-sm);
|
|
174
139
|
}
|
|
175
140
|
|
|
176
|
-
@
|
|
141
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
177
142
|
font: var(--primitives-font-display-4-md);
|
|
178
143
|
}
|
|
179
144
|
|
|
180
|
-
@
|
|
181
|
-
font: var(--primitives-font-display-4-lg);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
@container layout-container (max-width: 640px) {
|
|
185
|
-
font: var(--primitives-font-display-4-sm);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@container layout-container (min-width: 641px) and (max-width: 1007px) {
|
|
189
|
-
font: var(--primitives-font-display-4-md);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
@container layout-container (min-width: 1008px) {
|
|
145
|
+
@container (min-width: 1008px) {
|
|
193
146
|
font: var(--primitives-font-display-4-lg);
|
|
194
147
|
}
|
|
195
148
|
}
|
|
@@ -198,27 +151,15 @@ nldd-rich-text h4 {
|
|
|
198
151
|
/* # Heading 5 */
|
|
199
152
|
|
|
200
153
|
nldd-rich-text h5 {
|
|
201
|
-
@
|
|
154
|
+
@container (max-width: 640px) {
|
|
202
155
|
font: var(--primitives-font-display-5-sm);
|
|
203
156
|
}
|
|
204
157
|
|
|
205
|
-
@
|
|
158
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
206
159
|
font: var(--primitives-font-display-5-md);
|
|
207
160
|
}
|
|
208
161
|
|
|
209
|
-
@
|
|
210
|
-
font: var(--primitives-font-display-5-lg);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@container layout-container (max-width: 640px) {
|
|
214
|
-
font: var(--primitives-font-display-5-sm);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@container layout-container (min-width: 641px) and (max-width: 1007px) {
|
|
218
|
-
font: var(--primitives-font-display-5-md);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@container layout-container (min-width: 1008px) {
|
|
162
|
+
@container (min-width: 1008px) {
|
|
222
163
|
font: var(--primitives-font-display-5-lg);
|
|
223
164
|
}
|
|
224
165
|
}
|
|
@@ -227,27 +168,15 @@ nldd-rich-text h5 {
|
|
|
227
168
|
/* # Heading 6 */
|
|
228
169
|
|
|
229
170
|
nldd-rich-text h6 {
|
|
230
|
-
@
|
|
171
|
+
@container (max-width: 640px) {
|
|
231
172
|
font: var(--primitives-font-display-6-sm);
|
|
232
173
|
}
|
|
233
174
|
|
|
234
|
-
@
|
|
175
|
+
@container (min-width: 641px) and (max-width: 1007px) {
|
|
235
176
|
font: var(--primitives-font-display-6-md);
|
|
236
177
|
}
|
|
237
178
|
|
|
238
|
-
@
|
|
239
|
-
font: var(--primitives-font-display-6-lg);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@container layout-container (max-width: 640px) {
|
|
243
|
-
font: var(--primitives-font-display-6-sm);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
@container layout-container (min-width: 641px) and (max-width: 1007px) {
|
|
247
|
-
font: var(--primitives-font-display-6-md);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
@container layout-container (min-width: 1008px) {
|
|
179
|
+
@container (min-width: 1008px) {
|
|
251
180
|
font: var(--primitives-font-display-6-lg);
|
|
252
181
|
}
|
|
253
182
|
}
|
|
@@ -290,6 +219,10 @@ nldd-rich-text li {
|
|
|
290
219
|
padding: 0;
|
|
291
220
|
}
|
|
292
221
|
|
|
222
|
+
nldd-rich-text li > * + * {
|
|
223
|
+
margin-top: var(--_spacing);
|
|
224
|
+
}
|
|
225
|
+
|
|
293
226
|
|
|
294
227
|
/* # Link */
|
|
295
228
|
|
|
@@ -390,18 +323,7 @@ nldd-rich-text blockquote {
|
|
|
390
323
|
border-top-left-radius: var(--semantics-blockquotes-corner-radius);
|
|
391
324
|
font: var(--semantics-blockquotes-md-quote-font);
|
|
392
325
|
|
|
393
|
-
@
|
|
394
|
-
gap: calc(var(--semantics-blockquotes-sm-spacing) / 2);
|
|
395
|
-
margin-block: max(
|
|
396
|
-
0px,
|
|
397
|
-
calc(var(--semantics-blockquotes-sm-spacing) - var(--_spacing))
|
|
398
|
-
);
|
|
399
|
-
padding-block-start: var(--semantics-blockquotes-sm-spacing);
|
|
400
|
-
padding-inline: var(--semantics-blockquotes-sm-spacing);
|
|
401
|
-
font: var(--semantics-blockquotes-sm-quote-font);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
@container layout-container (max-width: 640px) {
|
|
326
|
+
@container (max-width: 640px) {
|
|
405
327
|
gap: calc(var(--semantics-blockquotes-sm-spacing) / 2);
|
|
406
328
|
margin-block: max(
|
|
407
329
|
0px,
|
|
@@ -477,13 +399,7 @@ nldd-rich-text table {
|
|
|
477
399
|
-webkit-overflow-scrolling: touch;
|
|
478
400
|
scrollbar-width: thin;
|
|
479
401
|
|
|
480
|
-
@
|
|
481
|
-
display: table;
|
|
482
|
-
overflow-x: unset;
|
|
483
|
-
scrollbar-width: unset;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
@container layout-container (min-width: 641px) {
|
|
402
|
+
@container (min-width: 641px) {
|
|
487
403
|
display: table;
|
|
488
404
|
overflow-x: unset;
|
|
489
405
|
scrollbar-width: unset;
|
|
@@ -504,16 +420,12 @@ nldd-rich-text th {
|
|
|
504
420
|
/* # Table Data Cell */
|
|
505
421
|
|
|
506
422
|
nldd-rich-text td {
|
|
507
|
-
min-width: var(--primitives-area-
|
|
423
|
+
min-width: var(--primitives-area-160);
|
|
508
424
|
padding: var(--primitives-space-6);
|
|
509
425
|
border-bottom: var(--semantics-dividers-thickness) solid var(--semantics-dividers-color);
|
|
510
426
|
font: var(--primitives-font-body-md-regular-snug);
|
|
511
427
|
|
|
512
|
-
@
|
|
513
|
-
min-width: unset;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
@container layout-container (min-width: 641px) {
|
|
428
|
+
@container (min-width: 641px) {
|
|
517
429
|
min-width: unset;
|
|
518
430
|
}
|
|
519
431
|
}
|
package/dist/css/settings.css
CHANGED
|
@@ -780,6 +780,8 @@
|
|
|
780
780
|
--semantics-content-critical-color: light-dark(var(--primitives-color-critical-550), var(--primitives-color-critical-650));
|
|
781
781
|
--semantics-content-warning-color: light-dark(var(--primitives-color-warning-550), var(--primitives-color-warning-650));
|
|
782
782
|
--semantics-content-success-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
|
|
783
|
+
--semantics-content-mark-background-color: light-dark(var(--primitives-color-mark-100), var(--primitives-color-mark-200));
|
|
784
|
+
--semantics-content-mark-color: light-dark(var(--primitives-color-mark-900), var(--primitives-color-mark-800));
|
|
783
785
|
|
|
784
786
|
/* ## Links */
|
|
785
787
|
|
|
@@ -955,7 +957,7 @@
|
|
|
955
957
|
/* ## Forms */
|
|
956
958
|
|
|
957
959
|
--semantics-forms-gap: var(--primitives-space-16);
|
|
958
|
-
--semantics-forms-gap-tight: var(--primitives-space-
|
|
960
|
+
--semantics-forms-gap-tight: var(--primitives-space-10);
|
|
959
961
|
--semantics-forms-label-column-width: var(--primitives-area-240);
|
|
960
962
|
--semantics-forms-columns-gap: var(--primitives-space-8);
|
|
961
963
|
--semantics-forms-section-title-font: var(--primitives-font-body-lg-bold-tight);
|
|
@@ -978,12 +980,12 @@
|
|
|
978
980
|
--semantics-page-sections-sm-margin-inline: var(--primitives-space-16);
|
|
979
981
|
--semantics-page-sections-sm-margin-block: var(--primitives-space-16);
|
|
980
982
|
--semantics-page-sections-sm-gap: var(--primitives-space-16);
|
|
981
|
-
--semantics-page-sections-md-margin-inline: var(--primitives-space-
|
|
982
|
-
--semantics-page-sections-md-margin-block: var(--primitives-space-
|
|
983
|
+
--semantics-page-sections-md-margin-inline: var(--primitives-space-40);
|
|
984
|
+
--semantics-page-sections-md-margin-block: var(--primitives-space-32);
|
|
983
985
|
--semantics-page-sections-md-gap: var(--primitives-space-24);
|
|
984
|
-
--semantics-page-sections-lg-margin-inline: var(--primitives-space-
|
|
985
|
-
--semantics-page-sections-lg-margin-block: var(--primitives-space-
|
|
986
|
-
--semantics-page-sections-lg-gap: var(--primitives-space-
|
|
986
|
+
--semantics-page-sections-lg-margin-inline: var(--primitives-space-56);
|
|
987
|
+
--semantics-page-sections-lg-margin-block: var(--primitives-space-48);
|
|
988
|
+
--semantics-page-sections-lg-gap: var(--primitives-space-32);
|
|
987
989
|
|
|
988
990
|
/* ## Overlays */
|
|
989
991
|
|
|
@@ -1039,7 +1041,7 @@
|
|
|
1039
1041
|
|
|
1040
1042
|
/* ## Card */
|
|
1041
1043
|
|
|
1042
|
-
--components-card-background-color: var(--
|
|
1044
|
+
--components-card-background-color: light-dark(var(--primitives-color-neutral-0), var(--primitives-color-neutral-75));
|
|
1043
1045
|
--components-card-corner-radius: var(--primitives-corner-radius-none);
|
|
1044
1046
|
--components-card-box-shadow: var(--primitives-box-shadows-level-2);
|
|
1045
1047
|
|
|
@@ -1070,10 +1072,6 @@
|
|
|
1070
1072
|
|
|
1071
1073
|
--components-document-tab-bar-tab-title-font: var(--primitives-font-body-sm-bold-flat);
|
|
1072
1074
|
|
|
1073
|
-
/* ## Form field */
|
|
1074
|
-
|
|
1075
|
-
--components-form-field-gap: var(--primitives-space-2);
|
|
1076
|
-
|
|
1077
1075
|
/* ## Icon — rijkskleuren
|
|
1078
1076
|
|
|
1079
1077
|
Shade per rijkskleur picked to keep ≥400 shade distance from the
|
|
@@ -1127,32 +1125,32 @@
|
|
|
1127
1125
|
Solarized-inspired, mapped to descriptive DS palettes. Consumers
|
|
1128
1126
|
can override per-instance on `nldd-code` to swap the theme. */
|
|
1129
1127
|
|
|
1130
|
-
--components-code-token-comment-color: var(--semantics-content-secondary-color);
|
|
1131
|
-
--components-code-token-punctuation-color: var(--semantics-content-color);
|
|
1132
|
-
--components-code-token-keyword-color: var(--primitives-color-donkergeel-650);
|
|
1133
|
-
--components-code-token-string-color: var(--primitives-color-groen-650);
|
|
1134
|
-
--components-code-token-number-color: var(--primitives-color-oranje-650);
|
|
1135
|
-
--components-code-token-boolean-color: var(--primitives-color-oranje-650);
|
|
1136
|
-
--components-code-token-null-color: var(--primitives-color-oranje-650);
|
|
1137
|
-
--components-code-token-function-color: var(--primitives-color-lintblauw-650);
|
|
1138
|
-
--components-code-token-class-color: var(--primitives-color-donkergeel-650);
|
|
1139
|
-
--components-code-token-builtin-color: var(--primitives-color-donkergeel-650);
|
|
1140
|
-
--components-code-token-tag-color: var(--primitives-color-groen-650);
|
|
1141
|
-
--components-code-token-attr-name-color: var(--primitives-color-lintblauw-650);
|
|
1142
|
-
--components-code-token-attr-value-color: var(--primitives-color-mintgroen-650);
|
|
1143
|
-
--components-code-token-property-color: var(--primitives-color-lintblauw-650);
|
|
1144
|
-
--components-code-token-selector-color: var(--primitives-color-donkergeel-650);
|
|
1145
|
-
--components-code-token-atrule-color: var(--primitives-color-groen-650);
|
|
1146
|
-
--components-code-token-regex-color: var(--primitives-color-rood-650);
|
|
1147
|
-
--components-code-token-url-color: var(--primitives-color-mintgroen-650);
|
|
1148
|
-
--components-code-token-operator-color: var(--primitives-color-groen-650);
|
|
1149
|
-
--components-code-token-constant-color: var(--primitives-color-oranje-650);
|
|
1150
|
-
--components-code-token-deleted-color: var(--primitives-color-rood-650);
|
|
1151
|
-
--components-code-token-inserted-color: var(--primitives-color-groen-650);
|
|
1152
|
-
--components-code-token-important-color: var(--primitives-color-rood-650);
|
|
1153
|
-
--components-code-token-symbol-color: var(--primitives-color-violet-650);
|
|
1154
|
-
--components-code-token-entity-color: var(--primitives-color-paars-650);
|
|
1155
|
-
--components-code-token-variable-color: var(--primitives-color-lintblauw-650);
|
|
1128
|
+
--components-code-viewer-token-comment-color: var(--semantics-content-secondary-color);
|
|
1129
|
+
--components-code-viewer-token-punctuation-color: var(--semantics-content-color);
|
|
1130
|
+
--components-code-viewer-token-keyword-color: var(--primitives-color-donkergeel-650);
|
|
1131
|
+
--components-code-viewer-token-string-color: var(--primitives-color-groen-650);
|
|
1132
|
+
--components-code-viewer-token-number-color: var(--primitives-color-oranje-650);
|
|
1133
|
+
--components-code-viewer-token-boolean-color: var(--primitives-color-oranje-650);
|
|
1134
|
+
--components-code-viewer-token-null-color: var(--primitives-color-oranje-650);
|
|
1135
|
+
--components-code-viewer-token-function-color: var(--primitives-color-lintblauw-650);
|
|
1136
|
+
--components-code-viewer-token-class-color: var(--primitives-color-donkergeel-650);
|
|
1137
|
+
--components-code-viewer-token-builtin-color: var(--primitives-color-donkergeel-650);
|
|
1138
|
+
--components-code-viewer-token-tag-color: var(--primitives-color-groen-650);
|
|
1139
|
+
--components-code-viewer-token-attr-name-color: var(--primitives-color-lintblauw-650);
|
|
1140
|
+
--components-code-viewer-token-attr-value-color: var(--primitives-color-mintgroen-650);
|
|
1141
|
+
--components-code-viewer-token-property-color: var(--primitives-color-lintblauw-650);
|
|
1142
|
+
--components-code-viewer-token-selector-color: var(--primitives-color-donkergeel-650);
|
|
1143
|
+
--components-code-viewer-token-atrule-color: var(--primitives-color-groen-650);
|
|
1144
|
+
--components-code-viewer-token-regex-color: var(--primitives-color-rood-650);
|
|
1145
|
+
--components-code-viewer-token-url-color: var(--primitives-color-mintgroen-650);
|
|
1146
|
+
--components-code-viewer-token-operator-color: var(--primitives-color-groen-650);
|
|
1147
|
+
--components-code-viewer-token-constant-color: var(--primitives-color-oranje-650);
|
|
1148
|
+
--components-code-viewer-token-deleted-color: var(--primitives-color-rood-650);
|
|
1149
|
+
--components-code-viewer-token-inserted-color: var(--primitives-color-groen-650);
|
|
1150
|
+
--components-code-viewer-token-important-color: var(--primitives-color-rood-650);
|
|
1151
|
+
--components-code-viewer-token-symbol-color: var(--primitives-color-violet-650);
|
|
1152
|
+
--components-code-viewer-token-entity-color: var(--primitives-color-paars-650);
|
|
1153
|
+
--components-code-viewer-token-variable-color: var(--primitives-color-lintblauw-650);
|
|
1156
1154
|
|
|
1157
1155
|
/* ## List */
|
|
1158
1156
|
|
|
@@ -1191,6 +1189,12 @@
|
|
|
1191
1189
|
--components-menu-bar-item-is-current-indicator-background-color: var(--semantics-controls-is-highlighted-indicator-color);
|
|
1192
1190
|
--components-menu-bar-item-is-current-indicator-height: var(--primitives-space-4);
|
|
1193
1191
|
|
|
1192
|
+
/* ## Page footer */
|
|
1193
|
+
|
|
1194
|
+
--components-page-footer-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-50));
|
|
1195
|
+
--components-page-footer-divider-color: light-dark(var(--primitives-color-neutral-200), var(--primitives-color-neutral-150));
|
|
1196
|
+
--components-page-footer-legal-bar-item-color: var(--semantics-content-secondary-color);
|
|
1197
|
+
|
|
1194
1198
|
/* ## Popover */
|
|
1195
1199
|
|
|
1196
1200
|
--components-popover-default-width: var(--primitives-area-320);
|
|
@@ -1293,6 +1297,11 @@
|
|
|
1293
1297
|
--components-tag-mintgroen-background-color: light-dark(var(--primitives-color-mintgroen-75), var(--primitives-color-mintgroen-150));
|
|
1294
1298
|
--components-tag-mintgroen-content-color: var(--primitives-color-mintgroen-750);
|
|
1295
1299
|
|
|
1300
|
+
/* ## Timeline track cell */
|
|
1301
|
+
|
|
1302
|
+
--components-timeline-track-cell-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
|
|
1303
|
+
--components-timeline-track-cell-future-background-color: var(--semantics-surfaces-background-color);
|
|
1304
|
+
|
|
1296
1305
|
/* ## Title */
|
|
1297
1306
|
|
|
1298
1307
|
--components-title-sm-overline-font: var(--primitives-font-body-sm-regular-tight);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
type Constructor<T = LitElement> = new (...args: any[]) => T;
|
|
3
|
+
export type PageSectionBackground = 'inherit' | 'base' | 'tinted';
|
|
4
|
+
export type PageSectionScheme = 'inherit' | 'light' | 'dark' | 'inverted';
|
|
5
|
+
export type PageSectionPadding = '0' | '2' | '4' | '6' | '8' | '10' | '12' | '16' | '20' | '24' | '28' | '32' | '40' | '44' | '48' | '56' | '64' | '80' | '96';
|
|
6
|
+
/**
|
|
7
|
+
* Shared surface controls for the page-section components. Adds three
|
|
8
|
+
* orthogonal capabilities, all written as inline host styles / custom
|
|
9
|
+
* properties (no per-component CSS needed for background or scheme — both
|
|
10
|
+
* `color-scheme` and custom properties inherit through the shadow boundary
|
|
11
|
+
* into the section's block element and slotted content):
|
|
12
|
+
*
|
|
13
|
+
* - **background**: `inherit` (the default — transparent, shows the ancestor's
|
|
14
|
+
* surface) | `base` (the base surface colour) | `tinted`. Setting
|
|
15
|
+
* `base`/`tinted` also cascades `--context-parent-background-color` so
|
|
16
|
+
* descendants (cards, nested sections) read the same surface.
|
|
17
|
+
* - **scheme**: `inherit` (default) | `light` | `dark` | `inverted`.
|
|
18
|
+
* `inverted` resolves to the opposite of the surrounding page scheme and
|
|
19
|
+
* re-resolves when `:root[data-scheme]` flips (via onColorSchemeChange).
|
|
20
|
+
* - **block padding**: `padding-block` (both edges) with `padding-top`
|
|
21
|
+
* / `padding-bottom` per-edge overrides, each with responsive `sm-` /
|
|
22
|
+
* `md-` / `lg-` variants (12 attrs total). Token scale `0`–`96`; `0` strips
|
|
23
|
+
* the padding. Per breakpoint the section CSS resolves: scope override →
|
|
24
|
+
* base override → responsive default. The inline (gutter) padding stays
|
|
25
|
+
* design-controlled.
|
|
26
|
+
* - **height**: any CSS length (e.g. '400px', '100dvh') applied as the host's
|
|
27
|
+
* min-height (so the section is at least that tall) — mirroring how `width`
|
|
28
|
+
* maps to the body max-width.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* class NLDDSimpleSection extends PageSectionMixin(LitElement) { … }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function PageSectionMixin<TBase extends Constructor<LitElement>>(Base: TBase): TBase & Constructor<LitElement & {
|
|
36
|
+
background: PageSectionBackground;
|
|
37
|
+
scheme: PageSectionScheme;
|
|
38
|
+
paddingBlock?: PageSectionPadding;
|
|
39
|
+
paddingTop?: PageSectionPadding;
|
|
40
|
+
paddingBottom?: PageSectionPadding;
|
|
41
|
+
smPaddingBlock?: PageSectionPadding;
|
|
42
|
+
smPaddingTop?: PageSectionPadding;
|
|
43
|
+
smPaddingBottom?: PageSectionPadding;
|
|
44
|
+
mdPaddingBlock?: PageSectionPadding;
|
|
45
|
+
mdPaddingTop?: PageSectionPadding;
|
|
46
|
+
mdPaddingBottom?: PageSectionPadding;
|
|
47
|
+
lgPaddingBlock?: PageSectionPadding;
|
|
48
|
+
lgPaddingTop?: PageSectionPadding;
|
|
49
|
+
lgPaddingBottom?: PageSectionPadding;
|
|
50
|
+
height?: string;
|
|
51
|
+
}>;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=page-section-mixin.d.ts.map
|