@aquera/nile-elements 0.0.109 → 0.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/demo/filenames.txt +1 -1
- package/demo/variables.css +1 -0
- package/dist/{angular-ts-7f0ea228.cjs.js → angular-ts-f3444056.cjs.js} +2 -2
- package/dist/{angular-ts-7f0ea228.cjs.js.map → angular-ts-f3444056.cjs.js.map} +1 -1
- package/dist/{github-dark-default-2257ba5e.cjs.js → github-dark-default-450c7c01.cjs.js} +2 -2
- package/dist/{github-dark-default-2257ba5e.cjs.js.map → github-dark-default-450c7c01.cjs.js.map} +1 -1
- package/dist/{github-dark-default-5814263b.esm.js → github-dark-default-c8549d91.esm.js} +1 -1
- package/dist/{github-dark-dimmed-b7e46b3b.esm.js → github-dark-dimmed-2d99017f.esm.js} +1 -1
- package/dist/{github-dark-dimmed-5703df55.cjs.js → github-dark-dimmed-ef1406bd.cjs.js} +2 -2
- package/dist/{github-dark-dimmed-5703df55.cjs.js.map → github-dark-dimmed-ef1406bd.cjs.js.map} +1 -1
- package/dist/{github-dark-high-contrast-af204903.cjs.js → github-dark-high-contrast-60f6edfa.cjs.js} +2 -2
- package/dist/{github-dark-high-contrast-af204903.cjs.js.map → github-dark-high-contrast-60f6edfa.cjs.js.map} +1 -1
- package/dist/{github-dark-high-contrast-917c210a.esm.js → github-dark-high-contrast-eb093cb4.esm.js} +1 -1
- package/dist/{github-light-default-a8b27e0c.esm.js → github-light-default-97194ef6.esm.js} +1 -1
- package/dist/{github-light-default-f34de887.cjs.js → github-light-default-cf60a983.cjs.js} +2 -2
- package/dist/{github-light-default-f34de887.cjs.js.map → github-light-default-cf60a983.cjs.js.map} +1 -1
- package/dist/{github-light-high-contrast-17c40b3b.esm.js → github-light-high-contrast-0ddc875a.esm.js} +1 -1
- package/dist/{github-light-high-contrast-ef2e56e6.cjs.js → github-light-high-contrast-ab424680.cjs.js} +2 -2
- package/dist/{github-light-high-contrast-ef2e56e6.cjs.js.map → github-light-high-contrast-ab424680.cjs.js.map} +1 -1
- package/dist/hy-431f15f8.cjs.js +2 -0
- package/dist/hy-431f15f8.cjs.js.map +1 -0
- package/dist/hy-5e43d6c1.esm.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/internal/nile-element.cjs.js +1 -1
- package/dist/internal/nile-element.cjs.js.map +1 -1
- package/dist/internal/nile-element.esm.js +1 -1
- package/dist/{mermaid-7f9972ac.cjs.js → mermaid-76489bb0.cjs.js} +2 -2
- package/dist/{mermaid-7f9972ac.cjs.js.map → mermaid-76489bb0.cjs.js.map} +1 -1
- package/dist/{mermaid-94e78bd4.esm.js → mermaid-ca28664b.esm.js} +1 -1
- package/dist/mipsasm-535432b4.cjs.js +2 -0
- package/dist/mipsasm-535432b4.cjs.js.map +1 -0
- package/dist/mipsasm-57581c0d.esm.js +1 -0
- package/dist/nile-accordion/nile-accordion.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordion.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordion.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.cjs.js.map +1 -1
- package/dist/nile-avatar/nile-avatar.esm.js +1 -1
- package/dist/nile-badge/index.cjs.js +1 -1
- package/dist/nile-badge/index.esm.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
- package/dist/nile-badge/nile-badge.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js.map +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js.map +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.esm.js +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js.map +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.esm.js +2 -2
- package/dist/nile-button/index.cjs.js +1 -1
- package/dist/nile-button/index.esm.js +1 -1
- package/dist/nile-button/nile-button.cjs.js +1 -1
- package/dist/nile-button/nile-button.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.esm.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.cjs.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.cjs.js.map +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js.map +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.cjs.js.map +1 -1
- package/dist/nile-calendar/nile-calendar.esm.js +2 -3
- package/dist/nile-card/nile-card.cjs.js +1 -1
- package/dist/nile-card/nile-card.cjs.js.map +1 -1
- package/dist/nile-card/nile-card.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.cjs.js.map +1 -1
- package/dist/nile-checkbox/nile-checkbox.esm.js +3 -3
- package/dist/nile-chip/nile-chip.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.cjs.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.cjs.js.map +1 -1
- package/dist/nile-content-editor/nile-content-editor.esm.js +5 -5
- package/dist/nile-date-picker/nile-date-picker.cjs.js +1 -1
- package/dist/nile-date-picker/nile-date-picker.cjs.js.map +1 -1
- package/dist/nile-date-picker/nile-date-picker.esm.js +3 -5
- package/dist/nile-dialog/index.cjs.js +1 -1
- package/dist/nile-dialog/index.esm.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
- package/dist/nile-dialog/nile-dialog.esm.js +8 -6
- package/dist/nile-drawer/index.cjs.js +1 -1
- package/dist/nile-drawer/index.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
- package/dist/nile-drawer/nile-drawer.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js.map +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.cjs.js.map +1 -1
- package/dist/nile-empty-state/nile-empty-state.esm.js +1 -1
- package/dist/nile-highlighter/nile-highlighter.cjs.js +1 -1
- package/dist/nile-highlighter/nile-highlighter.cjs.js.map +1 -1
- package/dist/nile-highlighter/nile-highlighter.esm.js +2 -2
- package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
- package/dist/nile-icon/icons/svg/index.esm.js +1 -1
- package/dist/nile-icon/icons/svg/paperclip.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/paperclip.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/paperclip.esm.js +1 -0
- package/dist/nile-icon/index.cjs.js +1 -1
- package/dist/nile-icon/index.cjs.js.map +1 -1
- package/dist/nile-icon/index.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js.map +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-icon-button/index.cjs.js +1 -1
- package/dist/nile-icon-button/index.esm.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
- package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
- package/dist/nile-input/index.cjs.js +1 -1
- package/dist/nile-input/index.esm.js +1 -1
- package/dist/nile-input/nile-input.cjs.js +1 -1
- package/dist/nile-input/nile-input.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.esm.js +1 -1
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/index.cjs.js +1 -1
- package/dist/nile-link/index.esm.js +1 -1
- package/dist/nile-link/nile-link.cjs.js +1 -1
- package/dist/nile-link/nile-link.cjs.js.map +1 -1
- package/dist/nile-link/nile-link.esm.js +4 -4
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js.map +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-list/nile-list.cjs.js +1 -1
- package/dist/nile-list/nile-list.cjs.js.map +1 -1
- package/dist/nile-list/nile-list.esm.js +1 -1
- package/dist/nile-list-item/nile-list-item.cjs.js +1 -1
- package/dist/nile-list-item/nile-list-item.cjs.js.map +1 -1
- package/dist/nile-list-item/nile-list-item.esm.js +1 -1
- package/dist/nile-menu/nile-menu.cjs.js +1 -1
- package/dist/nile-menu/nile-menu.cjs.js.map +1 -1
- package/dist/nile-menu/nile-menu.esm.js +1 -1
- package/dist/nile-menu-item/index.cjs.js +1 -1
- package/dist/nile-menu-item/index.esm.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.esm.js +1 -1
- package/dist/nile-option/index.cjs.js +1 -1
- package/dist/nile-option/index.esm.js +1 -1
- package/dist/nile-option/nile-option.cjs.js +1 -1
- package/dist/nile-option/nile-option.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.esm.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.esm.js +2 -2
- package/dist/nile-popup/nile-popup.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.cjs.js.map +1 -1
- package/dist/nile-popup/nile-popup.esm.js +1 -1
- package/dist/nile-radio/nile-radio.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.cjs.js.map +1 -1
- package/dist/nile-radio/nile-radio.esm.js +4 -4
- package/dist/nile-radio-group/nile-radio-group.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.cjs.js.map +1 -1
- package/dist/nile-radio-group/nile-radio-group.esm.js +1 -1
- package/dist/nile-select/index.cjs.js +1 -1
- package/dist/nile-select/index.esm.js +1 -1
- package/dist/nile-select/nile-select.cjs.js +1 -1
- package/dist/nile-select/nile-select.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.esm.js +2 -2
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.esm.js +1 -1
- package/dist/nile-split-panel/nile-split-panel.cjs.js +1 -1
- package/dist/nile-split-panel/nile-split-panel.cjs.js.map +1 -1
- package/dist/nile-split-panel/nile-split-panel.esm.js +1 -1
- package/dist/nile-stepper/nile-stepper.cjs.js +1 -1
- package/dist/nile-stepper/nile-stepper.cjs.js.map +1 -1
- package/dist/nile-stepper/nile-stepper.esm.js +1 -1
- package/dist/nile-tab/index.cjs.js +1 -1
- package/dist/nile-tab/index.esm.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
- package/dist/nile-tab/nile-tab.esm.js +1 -1
- package/dist/nile-tab-group/index.cjs.js +1 -1
- package/dist/nile-tab-group/index.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.esm.js +2 -2
- package/dist/nile-table-body/nile-table-body.cjs.js +1 -1
- package/dist/nile-table-body/nile-table-body.cjs.js.map +1 -1
- package/dist/nile-table-body/nile-table-body.esm.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js.map +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.esm.js +1 -1
- package/dist/nile-tag/index.cjs.js +1 -1
- package/dist/nile-tag/index.esm.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
- package/dist/nile-tag/nile-tag.esm.js +1 -1
- package/dist/nile-textarea/nile-textarea.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.esm.js +1 -1
- package/dist/nile-toast/index.cjs.js +1 -1
- package/dist/nile-toast/index.esm.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
- package/dist/nile-toast/nile-toast.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.esm.js +1 -1
- package/dist/nile-tree/index.cjs.js +1 -1
- package/dist/nile-tree/index.esm.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
- package/dist/nile-tree/nile-tree.esm.js +1 -1
- package/dist/nile-tree-item/index.cjs.js +1 -1
- package/dist/nile-tree-item/index.esm.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
- package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
- package/dist/sass-16055185.esm.js +1 -0
- package/dist/sass-4bfa8a08.cjs.js +2 -0
- package/dist/sass-4bfa8a08.cjs.js.map +1 -0
- package/dist/{sparql-f0d04e05.cjs.js → sparql-ebe1ddf3.cjs.js} +2 -2
- package/dist/{sparql-f0d04e05.cjs.js.map → sparql-ebe1ddf3.cjs.js.map} +1 -1
- package/dist/src/internal/nile-element.d.ts +3 -0
- package/dist/src/internal/nile-element.js +10 -4
- package/dist/src/internal/nile-element.js.map +1 -1
- package/dist/src/nile-accordion/nile-accordion.d.ts +1 -0
- package/dist/src/nile-accordion/nile-accordion.js +1 -0
- package/dist/src/nile-accordion/nile-accordion.js.map +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.d.ts +1 -0
- package/dist/src/nile-auto-complete/nile-auto-complete.js +1 -0
- package/dist/src/nile-auto-complete/nile-auto-complete.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.d.ts +1 -0
- package/dist/src/nile-avatar/nile-avatar.js +1 -0
- package/dist/src/nile-avatar/nile-avatar.js.map +1 -1
- package/dist/src/nile-badge/nile-badge.d.ts +1 -0
- package/dist/src/nile-badge/nile-badge.js +1 -0
- package/dist/src/nile-badge/nile-badge.js.map +1 -1
- package/dist/src/nile-breadcrumb/nile-breadcrumb.d.ts +1 -0
- package/dist/src/nile-breadcrumb/nile-breadcrumb.js +5 -0
- package/dist/src/nile-breadcrumb/nile-breadcrumb.js.map +1 -1
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.d.ts +1 -0
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.js +1 -0
- package/dist/src/nile-breadcrumb-item/nile-breadcrumb-item.js.map +1 -1
- package/dist/src/nile-button/nile-button.d.ts +1 -0
- package/dist/src/nile-button/nile-button.js +1 -0
- package/dist/src/nile-button/nile-button.js.map +1 -1
- package/dist/src/nile-button-toggle/nile-button-toggle.d.ts +1 -0
- package/dist/src/nile-button-toggle/nile-button-toggle.js +1 -0
- package/dist/src/nile-button-toggle/nile-button-toggle.js.map +1 -1
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.d.ts +1 -0
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.js +1 -0
- package/dist/src/nile-button-toggle-group/nile-button-toggle-group.js.map +1 -1
- package/dist/src/nile-calendar/nile-calendar.d.ts +1 -0
- package/dist/src/nile-calendar/nile-calendar.js +3 -2
- package/dist/src/nile-calendar/nile-calendar.js.map +1 -1
- package/dist/src/nile-card/nile-card.d.ts +1 -0
- package/dist/src/nile-card/nile-card.js +1 -0
- package/dist/src/nile-card/nile-card.js.map +1 -1
- package/dist/src/nile-checkbox/nile-checkbox.d.ts +1 -0
- package/dist/src/nile-checkbox/nile-checkbox.js +3 -7
- package/dist/src/nile-checkbox/nile-checkbox.js.map +1 -1
- package/dist/src/nile-chip/nile-chip.d.ts +1 -0
- package/dist/src/nile-chip/nile-chip.js +1 -0
- package/dist/src/nile-chip/nile-chip.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.js +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-content-editor/nile-content-editor.d.ts +1 -0
- package/dist/src/nile-content-editor/nile-content-editor.js +1 -0
- package/dist/src/nile-content-editor/nile-content-editor.js.map +1 -1
- package/dist/src/nile-date-picker/nile-date-picker.d.ts +1 -0
- package/dist/src/nile-date-picker/nile-date-picker.js +2 -4
- package/dist/src/nile-date-picker/nile-date-picker.js.map +1 -1
- package/dist/src/nile-dialog/nile-dialog.d.ts +1 -0
- package/dist/src/nile-dialog/nile-dialog.js +10 -7
- package/dist/src/nile-dialog/nile-dialog.js.map +1 -1
- package/dist/src/nile-drawer/nile-drawer.d.ts +1 -0
- package/dist/src/nile-drawer/nile-drawer.js +1 -0
- package/dist/src/nile-drawer/nile-drawer.js.map +1 -1
- package/dist/src/nile-empty-state/nile-empty-state.d.ts +1 -0
- package/dist/src/nile-empty-state/nile-empty-state.js +1 -0
- package/dist/src/nile-empty-state/nile-empty-state.js.map +1 -1
- package/dist/src/nile-icon/icons/svg/index.d.ts +1 -0
- package/dist/src/nile-icon/icons/svg/index.js +1 -0
- package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
- package/dist/src/nile-icon/icons/svg/paperclip.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/paperclip.js +5 -0
- package/dist/src/nile-icon/icons/svg/paperclip.js.map +1 -0
- package/dist/src/nile-icon-button/nile-icon-button.d.ts +1 -0
- package/dist/src/nile-icon-button/nile-icon-button.js +1 -0
- package/dist/src/nile-icon-button/nile-icon-button.js.map +1 -1
- package/dist/src/nile-input/nile-input.d.ts +1 -0
- package/dist/src/nile-input/nile-input.js +1 -0
- package/dist/src/nile-input/nile-input.js.map +1 -1
- package/dist/src/nile-link/nile-link.d.ts +1 -0
- package/dist/src/nile-link/nile-link.js +2 -2
- package/dist/src/nile-link/nile-link.js.map +1 -1
- package/dist/src/nile-list/nile-list.d.ts +1 -0
- package/dist/src/nile-list/nile-list.js +5 -0
- package/dist/src/nile-list/nile-list.js.map +1 -1
- package/dist/src/nile-list-item/nile-list-item.d.ts +1 -0
- package/dist/src/nile-list-item/nile-list-item.js +1 -0
- package/dist/src/nile-list-item/nile-list-item.js.map +1 -1
- package/dist/src/nile-menu/nile-menu.d.ts +1 -0
- package/dist/src/nile-menu/nile-menu.js +1 -0
- package/dist/src/nile-menu/nile-menu.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.d.ts +2 -0
- package/dist/src/nile-menu-item/nile-menu-item.js +3 -5
- package/dist/src/nile-menu-item/nile-menu-item.js.map +1 -1
- package/dist/src/nile-option/nile-option.d.ts +2 -0
- package/dist/src/nile-option/nile-option.js +3 -5
- package/dist/src/nile-option/nile-option.js.map +1 -1
- package/dist/src/nile-popover/nile-popover.d.ts +5 -2
- package/dist/src/nile-popover/nile-popover.js +12 -2
- package/dist/src/nile-popover/nile-popover.js.map +1 -1
- package/dist/src/nile-popup/nile-popup.d.ts +2 -0
- package/dist/src/nile-popup/nile-popup.js +2 -0
- package/dist/src/nile-popup/nile-popup.js.map +1 -1
- package/dist/src/nile-radio/nile-radio.js +2 -8
- package/dist/src/nile-radio/nile-radio.js.map +1 -1
- package/dist/src/nile-radio-group/nile-radio-group.d.ts +1 -0
- package/dist/src/nile-radio-group/nile-radio-group.js +1 -0
- package/dist/src/nile-radio-group/nile-radio-group.js.map +1 -1
- package/dist/src/nile-select/nile-select.d.ts +3 -0
- package/dist/src/nile-select/nile-select.js +18 -9
- package/dist/src/nile-select/nile-select.js.map +1 -1
- package/dist/src/nile-slide-toggle/nile-slide-toggle.d.ts +1 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.js +2 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.js.map +1 -1
- package/dist/src/nile-split-panel/nile-split-panel.d.ts +1 -0
- package/dist/src/nile-split-panel/nile-split-panel.js +1 -0
- package/dist/src/nile-split-panel/nile-split-panel.js.map +1 -1
- package/dist/src/nile-stepper/nile-stepper.d.ts +1 -0
- package/dist/src/nile-stepper/nile-stepper.js +1 -0
- package/dist/src/nile-stepper/nile-stepper.js.map +1 -1
- package/dist/src/nile-tab/nile-tab.d.ts +1 -0
- package/dist/src/nile-tab/nile-tab.js +3 -2
- package/dist/src/nile-tab/nile-tab.js.map +1 -1
- package/dist/src/nile-tab-group/nile-tab-group.d.ts +1 -0
- package/dist/src/nile-tab-group/nile-tab-group.js +3 -2
- package/dist/src/nile-tab-group/nile-tab-group.js.map +1 -1
- package/dist/src/nile-table-body/nile-table-body.d.ts +1 -0
- package/dist/src/nile-table-body/nile-table-body.js +1 -0
- package/dist/src/nile-table-body/nile-table-body.js.map +1 -1
- package/dist/src/nile-table-header-item/nile-table-header-item.d.ts +1 -0
- package/dist/src/nile-table-header-item/nile-table-header-item.js +1 -0
- package/dist/src/nile-table-header-item/nile-table-header-item.js.map +1 -1
- package/dist/src/nile-tag/nile-tag.d.ts +1 -0
- package/dist/src/nile-tag/nile-tag.js +1 -0
- package/dist/src/nile-tag/nile-tag.js.map +1 -1
- package/dist/src/nile-textarea/nile-textarea.d.ts +1 -0
- package/dist/src/nile-textarea/nile-textarea.js +1 -0
- package/dist/src/nile-textarea/nile-textarea.js.map +1 -1
- package/dist/src/nile-toast/nile-toast.d.ts +1 -0
- package/dist/src/nile-toast/nile-toast.js +1 -0
- package/dist/src/nile-toast/nile-toast.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.d.ts +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.js +1 -0
- package/dist/src/nile-tooltip/nile-tooltip.js.map +1 -1
- package/dist/src/nile-tree/nile-tree.d.ts +1 -0
- package/dist/src/nile-tree/nile-tree.js +1 -0
- package/dist/src/nile-tree/nile-tree.js.map +1 -1
- package/dist/src/nile-tree-item/nile-tree-item.d.ts +1 -0
- package/dist/src/nile-tree-item/nile-tree-item.js +1 -0
- package/dist/src/nile-tree-item/nile-tree-item.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{twig-4e6df20b.cjs.js → twig-2431875e.cjs.js} +2 -2
- package/dist/{twig-4e6df20b.cjs.js.map → twig-2431875e.cjs.js.map} +1 -1
- package/dist/{vue-html-4845664e.cjs.js → vue-html-36dd3960.cjs.js} +2 -2
- package/dist/{vue-html-4845664e.cjs.js.map → vue-html-36dd3960.cjs.js.map} +1 -1
- package/package.json +1 -1
- package/src/internal/nile-element.ts +7 -4
- package/src/nile-accordion/nile-accordion.ts +1 -0
- package/src/nile-auto-complete/nile-auto-complete.ts +3 -1
- package/src/nile-avatar/nile-avatar.ts +2 -0
- package/src/nile-badge/nile-badge.ts +2 -0
- package/src/nile-breadcrumb/nile-breadcrumb.ts +2 -0
- package/src/nile-breadcrumb-item/nile-breadcrumb-item.ts +2 -0
- package/src/nile-button/nile-button.ts +2 -0
- package/src/nile-button-toggle/nile-button-toggle.ts +2 -0
- package/src/nile-button-toggle-group/nile-button-toggle-group.ts +2 -0
- package/src/nile-calendar/nile-calendar.ts +4 -2
- package/src/nile-card/nile-card.ts +2 -0
- package/src/nile-checkbox/nile-checkbox.ts +4 -9
- package/src/nile-chip/nile-chip.ts +2 -0
- package/src/nile-code-editor/nile-code-editor.ts +2 -0
- package/src/nile-content-editor/nile-content-editor.ts +2 -0
- package/src/nile-date-picker/nile-date-picker.ts +3 -4
- package/src/nile-dialog/nile-dialog.ts +12 -8
- package/src/nile-drawer/nile-drawer.ts +2 -0
- package/src/nile-empty-state/nile-empty-state.ts +2 -0
- package/src/nile-icon/icons/svg/index.ts +1 -0
- package/src/nile-icon/icons/svg/paperclip.ts +5 -0
- package/src/nile-icon-button/nile-icon-button.ts +2 -0
- package/src/nile-input/nile-input.ts +2 -0
- package/src/nile-link/nile-link.ts +3 -1
- package/src/nile-list/nile-list.ts +2 -0
- package/src/nile-list-item/nile-list-item.ts +2 -0
- package/src/nile-menu/nile-menu.ts +3 -0
- package/src/nile-menu-item/nile-menu-item.ts +4 -5
- package/src/nile-option/nile-option.ts +4 -5
- package/src/nile-popover/nile-popover.ts +30 -19
- package/src/nile-popup/nile-popup.ts +3 -0
- package/src/nile-radio/nile-radio.ts +2 -12
- package/src/nile-radio-group/nile-radio-group.ts +2 -0
- package/src/nile-select/nile-select.ts +23 -9
- package/src/nile-slide-toggle/nile-slide-toggle.ts +3 -0
- package/src/nile-split-panel/nile-split-panel.ts +2 -0
- package/src/nile-stepper/nile-stepper.ts +2 -0
- package/src/nile-tab/nile-tab.ts +4 -2
- package/src/nile-tab-group/nile-tab-group.ts +4 -2
- package/src/nile-table-body/nile-table-body.ts +2 -0
- package/src/nile-table-header-item/nile-table-header-item.ts +2 -0
- package/src/nile-tag/nile-tag.ts +2 -0
- package/src/nile-textarea/nile-textarea.ts +2 -0
- package/src/nile-toast/nile-toast.ts +2 -0
- package/src/nile-tooltip/nile-tooltip.ts +2 -0
- package/src/nile-tree/nile-tree.ts +2 -0
- package/src/nile-tree-item/nile-tree-item.ts +2 -0
- package/dist/hy-70a23b1a.cjs.js +0 -2
- package/dist/hy-70a23b1a.cjs.js.map +0 -1
- package/dist/hy-c5d98bdd.esm.js +0 -1
- package/dist/sass-07548677.esm.js +0 -1
- package/dist/sass-836693eb.cjs.js +0 -2
- package/dist/sass-836693eb.cjs.js.map +0 -1
@@ -16,6 +16,8 @@ import type { CSSResultGroup } from 'lit';
|
|
16
16
|
export class NileAutoComplete extends NileElement {
|
17
17
|
|
18
18
|
static styles: CSSResultGroup = styles;
|
19
|
+
|
20
|
+
protected override BUBBLES: boolean=false;
|
19
21
|
|
20
22
|
// Define component properties
|
21
23
|
@property({ type: Boolean }) isDropdownOpen: boolean = false;
|
@@ -110,7 +112,7 @@ export class NileAutoComplete extends NileElement {
|
|
110
112
|
? html`
|
111
113
|
<nile-menu @nile-select=${this.handleSelect} exportparts="menu__items-wrapper:options__wrapper">
|
112
114
|
${this.menuItems.map(
|
113
|
-
(item:
|
115
|
+
(item: any) => html`
|
114
116
|
<nile-menu-item value=${item}>${item}</nile-menu-item>
|
115
117
|
`
|
116
118
|
)}
|
@@ -45,6 +45,8 @@ import type { CSSResultGroup } from 'lit';
|
|
45
45
|
export class NileBadge extends NileElement {
|
46
46
|
static styles: CSSResultGroup = styles;
|
47
47
|
|
48
|
+
protected override BUBBLES: boolean=false;
|
49
|
+
|
48
50
|
/** The badge's theme variant. */
|
49
51
|
@property({ reflect: true }) variant:
|
50
52
|
| 'primary'
|
@@ -38,6 +38,8 @@ import NileElement from '../internal/nile-element';
|
|
38
38
|
export class NileButton extends NileElement implements NileFormControl {
|
39
39
|
static styles: CSSResultGroup = styles;
|
40
40
|
|
41
|
+
protected override BUBBLES: boolean=false;
|
42
|
+
|
41
43
|
private readonly formControlController = new FormControlController(this, {
|
42
44
|
form: input => {
|
43
45
|
// Buttons support a form attribute that points to an arbitrary form, so if this attribute is set we need to query
|
@@ -26,6 +26,8 @@ export class NileButtonToggleGroup extends NileElement {
|
|
26
26
|
return [styles];
|
27
27
|
}
|
28
28
|
|
29
|
+
protected override BUBBLES: boolean=false;
|
30
|
+
|
29
31
|
@queryAll('nile-button-toggle') private toggles!: NodeListOf<NileButtonToggle>;
|
30
32
|
|
31
33
|
@query('slot:not([name])') private defaultSlot!: HTMLSlotElement;
|
@@ -37,13 +37,15 @@ export class NileCalendar extends NileElement {
|
|
37
37
|
return [styles];
|
38
38
|
}
|
39
39
|
|
40
|
+
protected override BUBBLES: boolean=false;
|
41
|
+
|
40
42
|
@query('nile-dropdown') dropdown: NileDropdown;
|
41
43
|
|
42
44
|
@property({ type: String, attribute: 'value' }) valueAttribute: | string | null = null;
|
43
45
|
|
44
46
|
@property({ type: String, attribute:true, reflect:true }) allowedDates: string = JSON.stringify({});
|
45
47
|
|
46
|
-
@property({ type: Boolean }) range = false;
|
48
|
+
@property({ type: Boolean, reflect: true }) range = false;
|
47
49
|
|
48
50
|
@property({ type: Boolean, attribute: true, reflect:true }) hideTypes = false;
|
49
51
|
|
@@ -103,6 +105,7 @@ export class NileCalendar extends NileElement {
|
|
103
105
|
this.valueAttribute = newValue;
|
104
106
|
this.initializeValue();
|
105
107
|
}
|
108
|
+
super.attributeChangedCallback(name, _old, newValue);
|
106
109
|
}
|
107
110
|
|
108
111
|
@watch('allowedDates')
|
@@ -157,7 +160,6 @@ export class NileCalendar extends NileElement {
|
|
157
160
|
base__range:this.range,
|
158
161
|
})}
|
159
162
|
>
|
160
|
-
${this.hideTypes}
|
161
163
|
<div class=${classMap({
|
162
164
|
"calendar-config":true,
|
163
165
|
"hidden": !this.range || (this.range && this.hideTypes)
|
@@ -29,6 +29,8 @@ import { CSSResultGroup } from 'lit';
|
|
29
29
|
export class NileCard extends NileElements {
|
30
30
|
static styles: CSSResultGroup = styles;
|
31
31
|
|
32
|
+
protected override BUBBLES: boolean=false;
|
33
|
+
|
32
34
|
private readonly hasSlotController = new HasSlotController(this, 'footer');
|
33
35
|
|
34
36
|
render() {
|
@@ -59,6 +59,8 @@ export class NileCheckbox extends NileElement {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
static styles: CSSResultGroup = styles;
|
62
|
+
|
63
|
+
protected override BUBBLES: boolean=false;
|
62
64
|
|
63
65
|
@query('input[type="checkbox"]') input: HTMLInputElement;
|
64
66
|
|
@@ -117,15 +119,8 @@ export class NileCheckbox extends NileElement {
|
|
117
119
|
private handleClick() {
|
118
120
|
this.checked = !this.checked;
|
119
121
|
this.indeterminate = false;
|
120
|
-
this.
|
121
|
-
|
122
|
-
composed: true,
|
123
|
-
bubbles: true,
|
124
|
-
detail: {
|
125
|
-
checked: this.checked,
|
126
|
-
},
|
127
|
-
})
|
128
|
-
);
|
122
|
+
this.emit('nile-change',{checked: this.checked})
|
123
|
+
this.emit('valueChange',{checked: this.checked})
|
129
124
|
}
|
130
125
|
|
131
126
|
private handleBlur() {
|
@@ -33,6 +33,8 @@ export class NileDatePicker extends NileElement {
|
|
33
33
|
return [styles];
|
34
34
|
}
|
35
35
|
|
36
|
+
protected override BUBBLES: boolean=false;
|
37
|
+
|
36
38
|
@property({ type: Boolean }) range = false;
|
37
39
|
|
38
40
|
@property({ type: Boolean }) hideTypes = false;
|
@@ -67,10 +69,8 @@ export class NileDatePicker extends NileElement {
|
|
67
69
|
.type="${this.type}"
|
68
70
|
value="${this.value}"
|
69
71
|
.range="${this.range}"
|
70
|
-
@nile-init="${(e:CustomEvent)=>e.stopPropagation()}"
|
71
|
-
@nile-destroy="${(e:CustomEvent)=>e.stopPropagation()}"
|
72
|
-
@nile-changed="${(e:CustomEvent)=>e.stopPropagation()}"
|
73
72
|
@nile-change="${this.handleChanged}"
|
73
|
+
@nile-type-change="${(e:CustomEvent)=>this.emit('nile-type-change',e.detail)}"
|
74
74
|
.allowedDates="${this.allowedDates}"
|
75
75
|
.hideDurationFields="${this.hideDurationFields}"
|
76
76
|
.showManualInputs="${this.showManualInputs}"
|
@@ -80,7 +80,6 @@ export class NileDatePicker extends NileElement {
|
|
80
80
|
}
|
81
81
|
|
82
82
|
handleChanged(event: CustomEvent) {
|
83
|
-
event.stopPropagation()
|
84
83
|
this.emit('nile-changed', event.detail);
|
85
84
|
this.emit('nile-change', event.detail);
|
86
85
|
if (this.dropdown) {
|
@@ -14,7 +14,7 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
14
14
|
import { customElement, property, query } from 'lit/decorators.js';
|
15
15
|
import { getAnimation, setDefaultAnimation } from '../utilities/animation-registry';
|
16
16
|
import { HasSlotController } from '../internal/slot';
|
17
|
-
import { html } from 'lit';
|
17
|
+
import { html,nothing } from 'lit';
|
18
18
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
19
19
|
import { lockBodyScrolling, unlockBodyScrolling } from '../internal/scroll';
|
20
20
|
import { waitForEvent } from '../internal/event';
|
@@ -32,7 +32,9 @@ import NileElement from '../internal/nile-element';
|
|
32
32
|
export class NileDialog extends NileElement {
|
33
33
|
static styles: CSSResultGroup = styles;
|
34
34
|
|
35
|
-
|
35
|
+
protected override BUBBLES: boolean=false;
|
36
|
+
|
37
|
+
private readonly hasSlotController = new HasSlotController(this, 'footer','sublabel','label');
|
36
38
|
private modal: Modal;
|
37
39
|
private originalTrigger: HTMLElement | null;
|
38
40
|
|
@@ -303,13 +305,15 @@ export class NileDialog extends NileElement {
|
|
303
305
|
<slot name="label">
|
304
306
|
${this.label?.length
|
305
307
|
? this.label
|
306
|
-
:
|
307
|
-
</slot>
|
308
|
-
<slot name="sublabel">
|
309
|
-
${this.sublabel?.length
|
310
|
-
? this.sublabel
|
311
|
-
: String.fromCharCode(65279)}
|
308
|
+
: nothing}
|
312
309
|
</slot>
|
310
|
+
${this.sublabel || this.hasSlotController.test('sublabel')?html`
|
311
|
+
<slot name="sublabel">
|
312
|
+
${this.sublabel?.length
|
313
|
+
? this.sublabel
|
314
|
+
: nothing}
|
315
|
+
</slot>
|
316
|
+
`:''}
|
313
317
|
</h2>
|
314
318
|
<div part="header-actions" class="dialog__header-actions">
|
315
319
|
<slot name="header-actions"></slot>
|
@@ -81,6 +81,8 @@ export class NileDrawer extends NileElement {
|
|
81
81
|
|
82
82
|
static styles: CSSResultGroup = styles;
|
83
83
|
|
84
|
+
protected override BUBBLES: boolean=false;
|
85
|
+
|
84
86
|
private readonly hasSlotController = new HasSlotController(this, 'footer');
|
85
87
|
private modal: Modal;
|
86
88
|
private originalTrigger: HTMLElement | null;
|
@@ -354,6 +354,7 @@ export { default as ouanalysisicon } from './ou-analysis-icon';
|
|
354
354
|
export { default as override } from './override';
|
355
355
|
export { default as palette } from './palette';
|
356
356
|
export { default as palletemenu } from './palletemenu';
|
357
|
+
export { default as paperclip } from './paperclip';
|
357
358
|
export { default as partner } from './partner';
|
358
359
|
export { default as partners } from './partners';
|
359
360
|
export { default as pause } from './pause';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Do not edit directly
|
3
|
+
*/
|
4
|
+
|
5
|
+
export default "PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTIuMzM4NyA2LjM1Nzk3TDcuMDc5NTggMTEuNjE3MUM1Ljg4MzYgMTIuODEzMSAzLjk0NDUzIDEyLjgxMzEgMi43NDg1NSAxMS42MTcxQzEuNTUyNTcgMTAuNDIxMSAxLjU1MjU3IDguNDgyMDMgMi43NDg1NSA3LjI4NjA1TDguMDA3NjUgMi4wMjY5NUM4LjgwNDk3IDEuMjI5NjMgMTAuMDk3NyAxLjIyOTYyIDEwLjg5NSAyLjAyNjk1QzExLjY5MjMgMi44MjQyNyAxMS42OTIzIDQuMTE2OTggMTAuODk1IDQuOTE0M0w1Ljg0MjE0IDkuOTY3MTdDNS40NDM0OCAxMC4zNjU4IDQuNzk3MTIgMTAuMzY1OCA0LjM5ODQ2IDkuOTY3MTdDMy45OTk4IDkuNTY4NTEgMy45OTk4IDguOTIyMTUgNC4zOTg0NiA4LjUyMzQ5TDguODMyNjEgNC4wODkzNCIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==";
|
@@ -44,6 +44,8 @@ import NileElement from '../internal/nile-element';
|
|
44
44
|
export class NileIconButton extends NileElement {
|
45
45
|
static styles: CSSResultGroup = styles;
|
46
46
|
|
47
|
+
protected override BUBBLES: boolean=false;
|
48
|
+
|
47
49
|
@query('.icon-button') button: HTMLButtonElement | HTMLLinkElement;
|
48
50
|
|
49
51
|
@state() private hasFocus = false;
|
@@ -37,6 +37,8 @@ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
37
37
|
export class NileInput extends NileElement implements NileFormControl {
|
38
38
|
static styles: CSSResultGroup = styles;
|
39
39
|
|
40
|
+
protected override BUBBLES: boolean=false;
|
41
|
+
|
40
42
|
private readonly formControlController = new FormControlController(this, {
|
41
43
|
assumeInteractionOn: ['nile-blur', 'nile-input'],
|
42
44
|
});
|
@@ -30,6 +30,8 @@ export class NileLink extends NileElement {
|
|
30
30
|
return [styles];
|
31
31
|
}
|
32
32
|
|
33
|
+
protected override BUBBLES: boolean=false;
|
34
|
+
|
33
35
|
private readonly hasSlotController = new HasSlotController(
|
34
36
|
this,
|
35
37
|
'[default]',
|
@@ -96,7 +98,7 @@ export class NileLink extends NileElement {
|
|
96
98
|
'link--disabled': this.disabled,
|
97
99
|
link__button: this.button,
|
98
100
|
})}
|
99
|
-
|
101
|
+
.disabled=${this.disabled}
|
100
102
|
title=${
|
101
103
|
this
|
102
104
|
.title /* An empty title prevents browser validation tooltips from appearing on hover */
|
@@ -40,6 +40,8 @@ export class NileListItem extends NileElement {
|
|
40
40
|
public static get styles(): CSSResultArray {
|
41
41
|
return [styles];
|
42
42
|
}
|
43
|
+
|
44
|
+
protected override BUBBLES: boolean=false;
|
43
45
|
@property({ type: String, attribute: 'icon-name' }) iconName = '';
|
44
46
|
@property({ type: Number, attribute: 'icon-size' }) iconSize = 14;
|
45
47
|
|
@@ -23,6 +23,9 @@ import { HasSlotController } from '../internal/slot';
|
|
23
23
|
@customElement('nile-menu')
|
24
24
|
export class NileMenu extends NileElement {
|
25
25
|
static styles: CSSResultGroup = styles;
|
26
|
+
|
27
|
+
protected override BUBBLES: boolean=false;
|
28
|
+
|
26
29
|
@state() searchValue: string = '';
|
27
30
|
@state() searchWidth: number = 0;
|
28
31
|
|
@@ -48,6 +48,9 @@ import type { CSSResultGroup } from 'lit';
|
|
48
48
|
export class NileMenuItem extends NileElement {
|
49
49
|
static styles: CSSResultGroup = styles;
|
50
50
|
|
51
|
+
protected override BUBBLES: boolean=false;
|
52
|
+
protected override COMPOSED: boolean=false;
|
53
|
+
|
51
54
|
private cachedTextLabel: string;
|
52
55
|
|
53
56
|
@query('slot:not([name])') defaultSlot: HTMLSlotElement;
|
@@ -92,11 +95,7 @@ export class NileMenuItem extends NileElement {
|
|
92
95
|
// When the label changes, emit a slotchange event so parent controls see it
|
93
96
|
if (textLabel !== this.cachedTextLabel) {
|
94
97
|
this.cachedTextLabel = textLabel;
|
95
|
-
this.emit('slotchange'
|
96
|
-
bubbles: true,
|
97
|
-
composed: false,
|
98
|
-
cancelable: false,
|
99
|
-
});
|
98
|
+
this.emit('slotchange');
|
100
99
|
}
|
101
100
|
}
|
102
101
|
|
@@ -44,6 +44,9 @@ import '../nile-checkbox';
|
|
44
44
|
export class NileOption extends NileElement {
|
45
45
|
static styles: CSSResultGroup = styles;
|
46
46
|
|
47
|
+
protected override BUBBLES: boolean=false;
|
48
|
+
protected override COMPOSED: boolean=false;
|
49
|
+
|
47
50
|
private cachedTextLabel: string;
|
48
51
|
|
49
52
|
@query('.option__label') defaultSlot: HTMLSlotElement;
|
@@ -96,11 +99,7 @@ export class NileOption extends NileElement {
|
|
96
99
|
// When the label changes, emit a slotchange event so parent controls see it
|
97
100
|
if (textLabel !== this.cachedTextLabel) {
|
98
101
|
this.cachedTextLabel = textLabel;
|
99
|
-
this.emit('slotchange'
|
100
|
-
bubbles: true,
|
101
|
-
composed: false,
|
102
|
-
cancelable: false,
|
103
|
-
});
|
102
|
+
this.emit('slotchange');
|
104
103
|
}
|
105
104
|
}
|
106
105
|
|
@@ -11,8 +11,9 @@ import {
|
|
11
11
|
property,
|
12
12
|
CSSResultArray,
|
13
13
|
TemplateResult,
|
14
|
+
PropertyValues,
|
14
15
|
} from 'lit-element';
|
15
|
-
import { customElement } from 'lit/decorators.js';
|
16
|
+
import { customElement, state } from 'lit/decorators.js';
|
16
17
|
import { styles } from './nile-popover.css';
|
17
18
|
import NileElement from '../internal/nile-element';
|
18
19
|
import { watch } from '../internal/watch';
|
@@ -33,6 +34,8 @@ export class NilePopover extends NileElement {
|
|
33
34
|
return [styles];
|
34
35
|
}
|
35
36
|
|
37
|
+
protected override BUBBLES: boolean=false;
|
38
|
+
|
36
39
|
/**
|
37
40
|
* The preferred placement of the popover. Note that the actual placement may vary as needed to keep the tooltip
|
38
41
|
* inside of the viewport.
|
@@ -59,7 +62,9 @@ export class NilePopover extends NileElement {
|
|
59
62
|
/** Gives the title to the popover */
|
60
63
|
@property({ type: String }) title = '';
|
61
64
|
|
62
|
-
@property({type:Boolean
|
65
|
+
@property({type:Boolean }) open = false;
|
66
|
+
|
67
|
+
@state() isShow:boolean = false;
|
63
68
|
|
64
69
|
@property({ attribute: 'arrow-placement' }) arrowPlacement:
|
65
70
|
| 'start'
|
@@ -96,29 +101,18 @@ export class NilePopover extends NileElement {
|
|
96
101
|
document.removeEventListener('click', this.handleDocumentClick);
|
97
102
|
}
|
98
103
|
|
104
|
+
protected updated(_changedProperties: PropertyValues): void {
|
105
|
+
if(_changedProperties.has('open')){
|
106
|
+
this.isShow=this.open;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
99
110
|
@watch('isShow')
|
100
111
|
handleShowHide(){
|
101
112
|
if(this.isShow)this.emit('nile-show')
|
102
113
|
else this.emit('nile-hide')
|
103
114
|
}
|
104
115
|
|
105
|
-
private handleClick = () => {
|
106
|
-
this.isShow = !this.isShow;
|
107
|
-
const allPopovers = document.querySelectorAll('nile-popover');
|
108
|
-
|
109
|
-
allPopovers.forEach(popover => {
|
110
|
-
if (popover !== this) {
|
111
|
-
popover.isShow = false;
|
112
|
-
}
|
113
|
-
});
|
114
|
-
};
|
115
|
-
|
116
|
-
private handleDocumentClick = () => {
|
117
|
-
if (this.isShow) {
|
118
|
-
this.isShow = false;
|
119
|
-
}
|
120
|
-
};
|
121
|
-
|
122
116
|
public render(): TemplateResult {
|
123
117
|
return html`
|
124
118
|
<nile-popup
|
@@ -149,6 +143,23 @@ export class NilePopover extends NileElement {
|
|
149
143
|
`;
|
150
144
|
}
|
151
145
|
|
146
|
+
private handleClick = () => {
|
147
|
+
this.isShow = !this.isShow;
|
148
|
+
const allPopovers = document.querySelectorAll('nile-popover');
|
149
|
+
|
150
|
+
allPopovers.forEach(popover => {
|
151
|
+
if (popover !== this) {
|
152
|
+
popover.isShow = false;
|
153
|
+
}
|
154
|
+
});
|
155
|
+
};
|
156
|
+
|
157
|
+
private handleDocumentClick = () => {
|
158
|
+
if (this.isShow) {
|
159
|
+
this.isShow = false;
|
160
|
+
}
|
161
|
+
};
|
162
|
+
|
152
163
|
/* #endregion */
|
153
164
|
}
|
154
165
|
|
@@ -25,6 +25,9 @@ import type { CSSResultGroup } from 'lit';
|
|
25
25
|
export class NilePopup extends NileElement {
|
26
26
|
static styles: CSSResultGroup = styles;
|
27
27
|
|
28
|
+
protected override BUBBLES: boolean=false;
|
29
|
+
protected override COMPOSED: boolean=false;
|
30
|
+
|
28
31
|
private anchorEl: Element | null;
|
29
32
|
private cleanup: ReturnType<typeof autoUpdate> | undefined;
|
30
33
|
|
@@ -81,12 +81,7 @@ export class NileRadio extends NileElement {
|
|
81
81
|
|
82
82
|
private handleBlur() {
|
83
83
|
this.hasFocus = false;
|
84
|
-
this.
|
85
|
-
new CustomEvent('nile-blur', {
|
86
|
-
bubbles: true,
|
87
|
-
composed: true
|
88
|
-
})
|
89
|
-
);
|
84
|
+
this.emit('nile-blur')
|
90
85
|
}
|
91
86
|
|
92
87
|
private handleClick() {
|
@@ -97,12 +92,7 @@ export class NileRadio extends NileElement {
|
|
97
92
|
|
98
93
|
private handleFocus() {
|
99
94
|
this.hasFocus = true;
|
100
|
-
this.
|
101
|
-
new CustomEvent('nile-focus', {
|
102
|
-
bubbles: true,
|
103
|
-
composed: true
|
104
|
-
})
|
105
|
-
);
|
95
|
+
this.emit('nile-focus')
|
106
96
|
}
|
107
97
|
|
108
98
|
private setInitialAttributes() {
|
@@ -28,6 +28,8 @@ import type NileRadio from '../nile-radio/nile-radio';
|
|
28
28
|
export class NileRadioGroup extends NileElement {
|
29
29
|
static styles: CSSResultGroup = styles;
|
30
30
|
|
31
|
+
protected override BUBBLES: boolean=false;
|
32
|
+
|
31
33
|
private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');
|
32
34
|
private customValidityMessage = '';
|
33
35
|
|
@@ -97,6 +97,10 @@ type NileRemoveEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
97
97
|
export class NileSelect extends NileElement implements NileFormControl {
|
98
98
|
static styles: CSSResultGroup = styles;
|
99
99
|
|
100
|
+
protected override BUBBLES: boolean=false;
|
101
|
+
|
102
|
+
// protected override BUBBLES=false;
|
103
|
+
|
100
104
|
private readonly formControlController = new FormControlController(this, {
|
101
105
|
assumeInteractionOn: ['nile-blur', 'nile-input'],
|
102
106
|
});
|
@@ -382,8 +386,8 @@ export class NileSelect extends NileElement implements NileFormControl {
|
|
382
386
|
|
383
387
|
// Emit after updating
|
384
388
|
this.updateComplete.then(() => {
|
385
|
-
this.
|
386
|
-
this.
|
389
|
+
this.nileInput({ value: this.value, name: this.name })
|
390
|
+
this.nileChange({ value: this.value, name: this.name })
|
387
391
|
});
|
388
392
|
|
389
393
|
if (!this.multiple) {
|
@@ -518,9 +522,10 @@ export class NileSelect extends NileElement implements NileFormControl {
|
|
518
522
|
|
519
523
|
// Emit after update
|
520
524
|
this.updateComplete.then(() => {
|
521
|
-
|
522
|
-
this.emit('nile-
|
523
|
-
this.
|
525
|
+
const val={ value: this.multiple?this.value:'', name: this.name }
|
526
|
+
this.emit('nile-clear', val);
|
527
|
+
this.nileInput(val);
|
528
|
+
this.nileChange(val);
|
524
529
|
});
|
525
530
|
}
|
526
531
|
}
|
@@ -559,8 +564,8 @@ export class NileSelect extends NileElement implements NileFormControl {
|
|
559
564
|
if (this.value !== oldValue) {
|
560
565
|
// Emit after updating
|
561
566
|
this.updateComplete.then(() => {
|
562
|
-
this.
|
563
|
-
this.
|
567
|
+
this.nileInput({ value: this.value, name: this.name });
|
568
|
+
this.nileChange({ value: this.value, name: this.name });
|
564
569
|
});
|
565
570
|
}
|
566
571
|
|
@@ -618,8 +623,8 @@ export class NileSelect extends NileElement implements NileFormControl {
|
|
618
623
|
|
619
624
|
// Emit after updating
|
620
625
|
this.updateComplete.then(() => {
|
621
|
-
this.
|
622
|
-
this.
|
626
|
+
this.nileInput( { value: this.value, name: this.name });
|
627
|
+
this.nileChange( { value: this.value, name: this.name });
|
623
628
|
this.emit('nile-tag-remove', { value: this.value, name: this.name,removedtagvalue:option.value });
|
624
629
|
});
|
625
630
|
}
|
@@ -1329,6 +1334,15 @@ export class NileSelect extends NileElement implements NileFormControl {
|
|
1329
1334
|
</div>
|
1330
1335
|
`;
|
1331
1336
|
}
|
1337
|
+
|
1338
|
+
nileInput(value:any){
|
1339
|
+
this.emit('nile-input',value)
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
nileChange(value:any){
|
1343
|
+
this.emit('nile-change',value)
|
1344
|
+
}
|
1345
|
+
|
1332
1346
|
}
|
1333
1347
|
|
1334
1348
|
setDefaultAnimation('select.show', {
|
@@ -8,6 +8,8 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
8
8
|
export class NileSlideToggle extends NileElement {
|
9
9
|
public static styles: CSSResultGroup = styles;
|
10
10
|
|
11
|
+
protected override BUBBLES: boolean=false;
|
12
|
+
|
11
13
|
@property({ type: String }) label = '';
|
12
14
|
@property({ type: String }) sublabel = '';
|
13
15
|
|
@@ -32,6 +34,7 @@ export class NileSlideToggle extends NileElement {
|
|
32
34
|
toggleValue() {
|
33
35
|
this.isChecked = !this.isChecked;
|
34
36
|
this.emit('change',{ checked: this.isChecked });
|
37
|
+
this.emit('nile-change',{ checked: this.isChecked });
|
35
38
|
}
|
36
39
|
|
37
40
|
public render() {
|