@aquera/nile-elements 2.0.21 → 2.0.23
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 +76 -34
- package/demo/nxtgen-classes.css +24 -4
- package/demo/nxtgen-dark.css +30 -16
- package/demo/nxtgen-properties.css +9 -2
- package/demo/nxtgen-utilities.css +31 -4
- package/demo/nxtgen.css +8 -4
- package/demo/utilities.css +2 -2
- package/demo/variables.css +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1954 -937
- package/dist/nile-app-shell/index.cjs.js +1 -1
- package/dist/nile-app-shell/index.esm.js +1 -1
- package/dist/nile-app-shell/nile-app-shell.cjs.js +1 -1
- package/dist/nile-app-shell/nile-app-shell.cjs.js.map +1 -1
- package/dist/nile-app-shell/nile-app-shell.css.cjs.js +1 -1
- package/dist/nile-app-shell/nile-app-shell.css.cjs.js.map +1 -1
- package/dist/nile-app-shell/nile-app-shell.css.esm.js +72 -65
- package/dist/nile-app-shell/nile-app-shell.esm.js +60 -31
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js +1 -1
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.cjs.js.map +1 -1
- package/dist/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.esm.js +1 -1
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js +1 -1
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.cjs.js.map +1 -1
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js +1 -1
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.cjs.js.map +1 -1
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.css.esm.js +25 -7
- package/dist/nile-app-shell-side-nav/nile-app-shell-side-nav.esm.js +2 -2
- package/dist/nile-button-filter/nile-button-filter.cjs.js +1 -1
- package/dist/nile-button-filter/nile-button-filter.cjs.js.map +1 -1
- package/dist/nile-button-filter/nile-button-filter.css.cjs.js +1 -1
- package/dist/nile-button-filter/nile-button-filter.css.cjs.js.map +1 -1
- package/dist/nile-button-filter/nile-button-filter.css.esm.js +1 -1
- package/dist/nile-button-filter/nile-button-filter.esm.js +2 -4
- package/dist/nile-calendar/nile-calendar.css.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.css.cjs.js.map +1 -1
- package/dist/nile-calendar/nile-calendar.css.esm.js +9 -8
- package/dist/nile-color-picker/nile-color-picker.css.cjs.js +1 -1
- package/dist/nile-color-picker/nile-color-picker.css.cjs.js.map +1 -1
- package/dist/nile-color-picker/nile-color-picker.css.esm.js +1 -1
- package/dist/nile-combobox/nile-combobox.css.cjs.js +1 -1
- package/dist/nile-combobox/nile-combobox.css.cjs.js.map +1 -1
- package/dist/nile-combobox/nile-combobox.css.esm.js +1 -1
- package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js +1 -1
- package/dist/nile-command-menu-item/nile-command-menu-item.css.cjs.js.map +1 -1
- package/dist/nile-command-menu-item/nile-command-menu-item.css.esm.js +5 -1
- package/dist/nile-context-menu/nile-context-menu.css.cjs.js +1 -1
- package/dist/nile-context-menu/nile-context-menu.css.cjs.js.map +1 -1
- package/dist/nile-context-menu/nile-context-menu.css.esm.js +2 -3
- package/dist/nile-dropdown-switcher/index.cjs.js +2 -0
- package/dist/nile-dropdown-switcher/index.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher/index.esm.js +1 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js +2 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js +2 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.css.esm.js +39 -0
- package/dist/nile-dropdown-switcher/nile-dropdown-switcher.esm.js +1 -0
- package/dist/nile-dropdown-switcher-group/index.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-group/index.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-group/index.esm.js +1 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.esm.js +37 -0
- package/dist/nile-dropdown-switcher-group/nile-dropdown-switcher-group.esm.js +8 -0
- package/dist/nile-dropdown-switcher-header/index.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-header/index.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-header/index.esm.js +1 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.esm.js +91 -0
- package/dist/nile-dropdown-switcher-header/nile-dropdown-switcher-header.esm.js +33 -0
- package/dist/nile-dropdown-switcher-item/index.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-item/index.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-item/index.esm.js +1 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js +2 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.cjs.js.map +1 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.esm.js +102 -0
- package/dist/nile-dropdown-switcher-item/nile-dropdown-switcher-item.esm.js +35 -0
- 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 +4 -4
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.css.esm.js +2 -2
- package/dist/nile-form-group/nile-form-group.css.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.css.cjs.js.map +1 -1
- package/dist/nile-form-group/nile-form-group.css.esm.js +3 -3
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.css.esm.js +20 -4
- package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.esm.js +3 -3
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.esm.js +3 -3
- package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js +1 -1
- package/dist/nile-markdown-editor/nile-markdown-editor.css.cjs.js.map +1 -1
- package/dist/nile-markdown-editor/nile-markdown-editor.css.esm.js +4 -4
- package/dist/nile-menu/nile-menu.css.cjs.js +1 -1
- package/dist/nile-menu/nile-menu.css.cjs.js.map +1 -1
- package/dist/nile-menu/nile-menu.css.esm.js +1 -2
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.esm.js +6 -6
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.cjs.js.map +1 -1
- package/dist/nile-nav-tab/nile-nav-tab.css.esm.js +3 -3
- package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js +1 -1
- package/dist/nile-nav-tab-group/nile-nav-tab-group.css.cjs.js.map +1 -1
- package/dist/nile-nav-tab-group/nile-nav-tab-group.css.esm.js +15 -12
- package/dist/nile-option/nile-option.css.cjs.js +1 -1
- package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.css.esm.js +2 -2
- package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
- package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
- package/dist/nile-pagination/nile-pagination.css.cjs.js +1 -1
- package/dist/nile-pagination/nile-pagination.css.cjs.js.map +1 -1
- package/dist/nile-pagination/nile-pagination.css.esm.js +10 -0
- package/dist/nile-pagination/nile-pagination.esm.js +14 -14
- package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +1 -1
- package/dist/nile-side-bar/nile-side-bar.css.esm.js +16 -14
- package/dist/nile-side-bar/nile-side-bar.esm.js +2 -2
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.esm.js +11 -4
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +8 -3
- package/dist/nile-side-bar-footer-item/index.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/index.esm.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +181 -25
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +10 -3
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js +1 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.esm.js +10 -5
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +52 -9
- package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +4 -4
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +53 -8
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.esm.js +13 -4
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +4 -4
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.esm.js +9 -6
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +12 -5
- package/dist/nile-side-bar-header-switcher/index.cjs.js +2 -0
- package/dist/nile-side-bar-header-switcher/index.cjs.js.map +1 -0
- package/dist/nile-side-bar-header-switcher/index.esm.js +1 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js +2 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.cjs.js.map +1 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js +2 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.cjs.js.map +1 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.esm.js +83 -0
- package/dist/nile-side-bar-header-switcher/nile-side-bar-header-switcher.esm.js +24 -0
- package/dist/nile-side-bar-search/index.cjs.js +2 -0
- package/dist/nile-side-bar-search/index.cjs.js.map +1 -0
- package/dist/nile-side-bar-search/index.esm.js +1 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js +2 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.cjs.js.map +1 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js +2 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.css.cjs.js.map +1 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.css.esm.js +103 -0
- package/dist/nile-side-bar-search/nile-side-bar-search.esm.js +25 -0
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +7 -5
- package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.css.cjs.js.map +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.css.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/index.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/index.esm.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.css.esm.js +75 -3
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-editor.esm.js +3 -2
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.esm.js +3 -3
- package/dist/nile-wysiwyg-editor/types.cjs.js +1 -1
- package/dist/nile-wysiwyg-editor/types.cjs.js.map +1 -1
- package/dist/nile-wysiwyg-editor/types.esm.js +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/nile-app-shell/nile-app-shell.css.js +70 -63
- package/dist/src/nile-app-shell/nile-app-shell.css.js.map +1 -1
- package/dist/src/nile-app-shell/nile-app-shell.d.ts +40 -7
- package/dist/src/nile-app-shell/nile-app-shell.js +192 -41
- package/dist/src/nile-app-shell/nile-app-shell.js.map +1 -1
- package/dist/src/nile-app-shell/nile-app-shell.test.d.ts +2 -0
- package/dist/src/nile-app-shell/nile-app-shell.test.js +272 -1020
- package/dist/src/nile-app-shell/nile-app-shell.test.js.map +1 -1
- package/dist/src/nile-app-shell/zz-layout.test.d.ts +15 -0
- package/dist/src/nile-app-shell/zz-layout.test.js +253 -0
- package/dist/src/nile-app-shell/zz-layout.test.js.map +1 -0
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js +1 -1
- package/dist/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.js.map +1 -1
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js +24 -6
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.js.map +1 -1
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.d.ts +8 -2
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js +56 -2
- package/dist/src/nile-app-shell-side-nav/nile-app-shell-side-nav.js.map +1 -1
- package/dist/src/nile-button-filter/nile-button-filter.css.js +1 -1
- package/dist/src/nile-button-filter/nile-button-filter.css.js.map +1 -1
- package/dist/src/nile-button-filter/nile-button-filter.js +1 -3
- package/dist/src/nile-button-filter/nile-button-filter.js.map +1 -1
- package/dist/src/nile-calendar/nile-calendar.css.js +9 -8
- package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
- package/dist/src/nile-color-picker/nile-color-picker.css.js +3 -3
- package/dist/src/nile-color-picker/nile-color-picker.css.js.map +1 -1
- package/dist/src/nile-combobox/nile-combobox.css.js +1 -1
- package/dist/src/nile-combobox/nile-combobox.css.js.map +1 -1
- package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js +5 -1
- package/dist/src/nile-command-menu-item/nile-command-menu-item.css.js.map +1 -1
- package/dist/src/nile-context-menu/nile-context-menu.css.js +2 -4
- package/dist/src/nile-context-menu/nile-context-menu.css.js.map +1 -1
- package/dist/src/nile-dropdown-switcher/index.d.ts +1 -0
- package/dist/src/nile-dropdown-switcher/index.js +2 -0
- package/dist/src/nile-dropdown-switcher/index.js.map +1 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.d.ts +10 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js +49 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.css.js.map +1 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.d.ts +101 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js +463 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.js.map +1 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.d.ts +4 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js +506 -0
- package/dist/src/nile-dropdown-switcher/nile-dropdown-switcher.test.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-group/index.d.ts +1 -0
- package/dist/src/nile-dropdown-switcher-group/index.js +2 -0
- package/dist/src/nile-dropdown-switcher-group/index.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.d.ts +12 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js +49 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.d.ts +37 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js +72 -0
- package/dist/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-header/index.d.ts +1 -0
- package/dist/src/nile-dropdown-switcher-header/index.js +2 -0
- package/dist/src/nile-dropdown-switcher-header/index.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.d.ts +12 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js +103 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.d.ts +46 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js +105 -0
- package/dist/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-item/index.d.ts +1 -0
- package/dist/src/nile-dropdown-switcher-item/index.js +2 -0
- package/dist/src/nile-dropdown-switcher-item/index.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.d.ts +10 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js +112 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.js.map +1 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.d.ts +55 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js +154 -0
- package/dist/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.js.map +1 -0
- package/dist/src/nile-empty-state/nile-empty-state.d.ts +5 -0
- package/dist/src/nile-empty-state/nile-empty-state.js +11 -2
- package/dist/src/nile-empty-state/nile-empty-state.js.map +1 -1
- package/dist/src/nile-empty-state/nile-empty-state.test.js +31 -0
- package/dist/src/nile-empty-state/nile-empty-state.test.js.map +1 -1
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js +2 -2
- package/dist/src/nile-filter-chip/nile-filter-chip.css.js.map +1 -1
- package/dist/src/nile-form-group/nile-form-group.css.js +1 -1
- package/dist/src/nile-form-group/nile-form-group.css.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js +20 -4
- package/dist/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js +1 -1
- package/dist/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.js.map +1 -1
- package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js +3 -3
- package/dist/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.js.map +1 -1
- package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js +4 -4
- package/dist/src/nile-markdown-editor/nile-markdown-editor.css.js.map +1 -1
- package/dist/src/nile-menu/nile-menu.css.js +1 -2
- package/dist/src/nile-menu/nile-menu.css.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.css.js +4 -4
- package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js +3 -3
- package/dist/src/nile-nav-tab/nile-nav-tab.css.js.map +1 -1
- package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js +15 -12
- package/dist/src/nile-nav-tab-group/nile-nav-tab-group.css.js.map +1 -1
- package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js +111 -0
- package/dist/src/nile-nav-tab-group/nile-nav-tab-group.test.js.map +1 -1
- package/dist/src/nile-option/nile-option.css.js +2 -2
- package/dist/src/nile-option/nile-option.css.js.map +1 -1
- package/dist/src/nile-pagination/nile-pagination.css.js +10 -0
- package/dist/src/nile-pagination/nile-pagination.css.js.map +1 -1
- package/dist/src/nile-pagination/nile-pagination.d.ts +2 -0
- package/dist/src/nile-pagination/nile-pagination.js +13 -9
- package/dist/src/nile-pagination/nile-pagination.js.map +1 -1
- package/dist/src/nile-side-bar/nile-side-bar.css.js +14 -12
- package/dist/src/nile-side-bar/nile-side-bar.css.js.map +1 -1
- package/dist/src/nile-side-bar/nile-side-bar.d.ts +17 -0
- package/dist/src/nile-side-bar/nile-side-bar.js +68 -12
- package/dist/src/nile-side-bar/nile-side-bar.js.map +1 -1
- package/dist/src/nile-side-bar/nile-side-bar.test.d.ts +23 -0
- package/dist/src/nile-side-bar/nile-side-bar.test.js +1614 -1
- package/dist/src/nile-side-bar/nile-side-bar.test.js.map +1 -1
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js +11 -4
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +8 -3
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +7 -5
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +7 -5
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +179 -23
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +15 -0
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +82 -2
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +1 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.d.ts +9 -0
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js +201 -0
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.js.map +1 -0
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js +8 -3
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js.map +1 -1
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +50 -7
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +1 -1
- package/dist/src/nile-side-bar-group/nile-side-bar-group.d.ts +35 -0
- package/dist/src/nile-side-bar-group/nile-side-bar-group.js +90 -3
- package/dist/src/nile-side-bar-group/nile-side-bar-group.js.map +1 -1
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +52 -7
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +1 -1
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js +11 -2
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js.map +1 -1
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.d.ts +11 -2
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js +21 -15
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js.map +1 -1
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js +7 -4
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js +22 -17
- package/dist/src/nile-side-bar-header/nile-side-bar-app-shell.test.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.d.ts +4 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js +143 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header-surface.test.js.map +1 -0
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +10 -3
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +1 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +7 -5
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js +7 -5
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +1 -1
- package/dist/src/nile-side-bar-header-switcher/index.d.ts +1 -0
- package/dist/src/nile-side-bar-header-switcher/index.js +2 -0
- package/dist/src/nile-side-bar-header-switcher/index.js.map +1 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.d.ts +14 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js +97 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.js.map +1 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.d.ts +38 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js +86 -0
- package/dist/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.js.map +1 -0
- package/dist/src/nile-side-bar-search/index.d.ts +1 -0
- package/dist/src/nile-side-bar-search/index.js +2 -0
- package/dist/src/nile-side-bar-search/index.js.map +1 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.css.d.ts +15 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js +118 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.css.js.map +1 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.d.ts +56 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.js +150 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.js.map +1 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.test.d.ts +3 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js +153 -0
- package/dist/src/nile-side-bar-search/nile-side-bar-search.test.js.map +1 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +1 -1
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js +7 -5
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/src/nile-virtual-select/nile-virtual-select.css.js +1 -1
- package/dist/src/nile-virtual-select/nile-virtual-select.css.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/index.d.ts +2 -1
- package/dist/src/nile-wysiwyg-editor/index.js +1 -1
- package/dist/src/nile-wysiwyg-editor/index.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js +77 -2
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.d.ts +20 -0
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js +37 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js +108 -0
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js +3 -3
- package/dist/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.js.map +1 -1
- package/dist/src/nile-wysiwyg-editor/types.d.ts +8 -0
- package/dist/src/nile-wysiwyg-editor/types.js +50 -0
- package/dist/src/nile-wysiwyg-editor/types.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.cjs.js +1 -1
- package/dist/version.cjs.js.map +1 -1
- package/dist/version.esm.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +6 -0
- package/src/nile-app-shell/nile-app-shell.css.ts +70 -63
- package/src/nile-app-shell/nile-app-shell.test.ts +332 -1227
- package/src/nile-app-shell/nile-app-shell.ts +223 -44
- package/src/nile-app-shell/zz-layout.test.ts +271 -0
- package/src/nile-app-shell-nav-toggle/nile-app-shell-nav-toggle.ts +1 -5
- package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.css.ts +24 -6
- package/src/nile-app-shell-side-nav/nile-app-shell-side-nav.ts +62 -2
- package/src/nile-button-filter/nile-button-filter.css.ts +1 -1
- package/src/nile-button-filter/nile-button-filter.ts +1 -3
- package/src/nile-calendar/nile-calendar.css.ts +9 -8
- package/src/nile-color-picker/nile-color-picker.css.ts +3 -3
- package/src/nile-combobox/nile-combobox.css.ts +1 -1
- package/src/nile-command-menu-item/nile-command-menu-item.css.ts +5 -1
- package/src/nile-context-menu/nile-context-menu.css.ts +2 -4
- package/src/nile-dropdown-switcher/index.ts +1 -0
- package/src/nile-dropdown-switcher/nile-dropdown-switcher.css.ts +51 -0
- package/src/nile-dropdown-switcher/nile-dropdown-switcher.test.ts +570 -0
- package/src/nile-dropdown-switcher/nile-dropdown-switcher.ts +502 -0
- package/src/nile-dropdown-switcher-group/index.ts +1 -0
- package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.css.ts +51 -0
- package/src/nile-dropdown-switcher-group/nile-dropdown-switcher-group.ts +78 -0
- package/src/nile-dropdown-switcher-header/index.ts +1 -0
- package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.css.ts +105 -0
- package/src/nile-dropdown-switcher-header/nile-dropdown-switcher-header.ts +105 -0
- package/src/nile-dropdown-switcher-item/index.ts +1 -0
- package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.css.ts +114 -0
- package/src/nile-dropdown-switcher-item/nile-dropdown-switcher-item.ts +151 -0
- package/src/nile-empty-state/nile-empty-state.test.ts +24 -0
- package/src/nile-empty-state/nile-empty-state.ts +12 -2
- package/src/nile-filter-chip/nile-filter-chip.css.ts +2 -2
- package/src/nile-form-group/nile-form-group.css.ts +1 -1
- package/src/nile-inline-sidebar-item/nile-inline-sidebar-item.css.ts +20 -4
- package/src/nile-inline-sidebar-item-body/nile-inline-sidebar-item-body.css.ts +1 -1
- package/src/nile-inline-sidebar-item-header/nile-inline-sidebar-item-header.css.ts +3 -3
- package/src/nile-markdown-editor/nile-markdown-editor.css.ts +4 -4
- package/src/nile-menu/nile-menu.css.ts +1 -2
- package/src/nile-menu-item/nile-menu-item.css.ts +4 -4
- package/src/nile-nav-tab/nile-nav-tab.css.ts +3 -3
- package/src/nile-nav-tab-group/nile-nav-tab-group.css.ts +15 -12
- package/src/nile-nav-tab-group/nile-nav-tab-group.test.ts +130 -0
- package/src/nile-option/nile-option.css.ts +2 -2
- package/src/nile-pagination/nile-pagination.css.ts +10 -0
- package/src/nile-pagination/nile-pagination.ts +14 -9
- package/src/nile-side-bar/nile-side-bar.css.ts +14 -12
- package/src/nile-side-bar/nile-side-bar.test.ts +1854 -2
- package/src/nile-side-bar/nile-side-bar.ts +72 -15
- package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.ts +11 -4
- package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +8 -3
- package/src/nile-side-bar-footer/nile-side-bar-footer.ts +7 -5
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +179 -23
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.test.ts +219 -0
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +84 -2
- package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts +8 -3
- package/src/nile-side-bar-group/nile-side-bar-group.css.ts +50 -7
- package/src/nile-side-bar-group/nile-side-bar-group.ts +100 -2
- package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +52 -7
- package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts +11 -2
- package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts +22 -19
- package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.ts +7 -4
- package/src/nile-side-bar-header/nile-side-bar-app-shell.test.ts +22 -17
- package/src/nile-side-bar-header/nile-side-bar-header-surface.test.ts +175 -0
- package/src/nile-side-bar-header/nile-side-bar-header.css.ts +10 -3
- package/src/nile-side-bar-header/nile-side-bar-header.ts +7 -5
- package/src/nile-side-bar-header-switcher/index.ts +1 -0
- package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.css.ts +99 -0
- package/src/nile-side-bar-header-switcher/nile-side-bar-header-switcher.ts +88 -0
- package/src/nile-side-bar-search/index.ts +1 -0
- package/src/nile-side-bar-search/nile-side-bar-search.css.ts +120 -0
- package/src/nile-side-bar-search/nile-side-bar-search.test.ts +175 -0
- package/src/nile-side-bar-search/nile-side-bar-search.ts +160 -0
- package/src/nile-slide-toggle/nile-slide-toggle.css.ts +1 -1
- package/src/nile-tooltip/nile-tooltip.css.ts +7 -5
- package/src/nile-virtual-select/nile-virtual-select.css.ts +1 -1
- package/src/nile-wysiwyg-editor/index.ts +2 -1
- package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.css.ts +78 -2
- package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.test.ts +132 -0
- package/src/nile-wysiwyg-editor/nile-wysiwyg-editor.ts +40 -1
- package/src/nile-wysiwyg-editor/nile-wysiwyg-toolbar/nile-wysiwyg-toolbar.css.ts +3 -3
- package/src/nile-wysiwyg-editor/types.ts +52 -0
- package/test-timings.json +0 -1
- package/vscode-html-custom-data.json +372 -24
package/dist/version.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register([],function(_export,_context){"use strict";var e;function n(){var _ref;return(_ref=function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null;}catch(_unused){return null;}}())!==null&&_ref!==void 0?_ref:"1.3.
|
|
1
|
+
System.register([],function(_export,_context){"use strict";var e;function n(){var _ref;return(_ref=function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null;}catch(_unused){return null;}}())!==null&&_ref!==void 0?_ref:"1.3.6";}return{setters:[],execute:function execute(){if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:function get(){return e!==null&&e!==void 0?e:n();},set:function set(n){e=n;}}),window.process=window.process||{env:{NODE_ENV:"production"}};}}};});
|
|
2
2
|
//# sourceMappingURL=version.cjs.js.map
|
package/dist/version.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.cjs.js","sources":["../../src/version.ts","../../nile/lib/version.js"],"sourcesContent":["// Version utility.\n//\n// NILE_ELEMENTS_VERSION is this package's own version and is still substituted\n// at build time by scripts/replace-version.cjs.\n//\n// The tokens version is read from the loaded Nile stylesheet's --nile-version\n// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),\n// falling back to the @aquera/nile installed alongside this package.\n//\n// Reading the stylesheet is what makes a tokens-only release visible. The\n// imported constant alone is not enough: rollup.config.js bundles\n// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is\n// frozen at this package's build time. The stylesheet is the live source.\nimport { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';\n\nexport const NILE_ELEMENTS_VERSION = '__NILE_ELEMENTS_VERSION__';\n\nfunction readStylesheetNileVersion(): string | null {\n if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {\n return null;\n }\n\n try {\n const value = getComputedStyle(document.documentElement)\n .getPropertyValue('--nile-version')\n .trim()\n .replace(/^[\"']|[\"']$/g, '');\n\n return value || null;\n } catch {\n return null;\n }\n}\n\n/**\n * The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the\n * page, falling back to the @aquera/nile bundled into this package when no\n * stamped stylesheet is present.\n *\n * This is the canonical runtime API. It resolves on every call rather than\n * caching, so it is correct even when the Nile stylesheet is added to the page\n * after this module evaluates - which is the common case, and why no\n * module-evaluation-time snapshot of it is exported.\n */\nexport function getNileVersion(): string {\n return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;\n}\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n\n // A getter rather than a value, so window.nileVersion reflects whichever\n // stylesheet is loaded at read time regardless of script/style ordering.\n let override: string | null = null;\n Object.defineProperty(window, 'nileVersion', {\n configurable: true,\n get: () => override ?? getNileVersion(),\n set: (value: string) => {\n override = value;\n },\n });\n\n (window as any).process = (window as any).process || {\n env: { NODE_ENV: 'production' },\n };\n}\n","// Generated by scripts/build-version.mjs - do not edit by hand.\nexport const NILE_VERSION = '1.3.
|
|
1
|
+
{"version":3,"file":"version.cjs.js","sources":["../../src/version.ts","../../nile/lib/version.js"],"sourcesContent":["// Version utility.\n//\n// NILE_ELEMENTS_VERSION is this package's own version and is still substituted\n// at build time by scripts/replace-version.cjs.\n//\n// The tokens version is read from the loaded Nile stylesheet's --nile-version\n// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),\n// falling back to the @aquera/nile installed alongside this package.\n//\n// Reading the stylesheet is what makes a tokens-only release visible. The\n// imported constant alone is not enough: rollup.config.js bundles\n// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is\n// frozen at this package's build time. The stylesheet is the live source.\nimport { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';\n\nexport const NILE_ELEMENTS_VERSION = '__NILE_ELEMENTS_VERSION__';\n\nfunction readStylesheetNileVersion(): string | null {\n if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {\n return null;\n }\n\n try {\n const value = getComputedStyle(document.documentElement)\n .getPropertyValue('--nile-version')\n .trim()\n .replace(/^[\"']|[\"']$/g, '');\n\n return value || null;\n } catch {\n return null;\n }\n}\n\n/**\n * The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the\n * page, falling back to the @aquera/nile bundled into this package when no\n * stamped stylesheet is present.\n *\n * This is the canonical runtime API. It resolves on every call rather than\n * caching, so it is correct even when the Nile stylesheet is added to the page\n * after this module evaluates - which is the common case, and why no\n * module-evaluation-time snapshot of it is exported.\n */\nexport function getNileVersion(): string {\n return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;\n}\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n\n // A getter rather than a value, so window.nileVersion reflects whichever\n // stylesheet is loaded at read time regardless of script/style ordering.\n let override: string | null = null;\n Object.defineProperty(window, 'nileVersion', {\n configurable: true,\n get: () => override ?? getNileVersion(),\n set: (value: string) => {\n override = value;\n },\n });\n\n (window as any).process = (window as any).process || {\n env: { NODE_ENV: 'production' },\n };\n}\n","// Generated by scripts/build-version.mjs - do not edit by hand.\nexport const NILE_VERSION = '1.3.6';\n"],"names":["getNileVersion","n","_ref","window","getComputedStyle","document","documentElement","getPropertyValue","trim","replace","_unused","readStylesheetNileVersion","setters","execute","nileElementsVersion","override","Object","defineProperty","configurable","get","set","value","process","env","NODE_ENV"],"mappings":"yEA4CgBA,CAAAA,CACdC,CAAA,CAAA,KAAAC,IAAA,CAAA,OAAAA,IAAA,CA5BF,UACE,CAAA,GAAsB,WAAXC,EAAAA,MAAAA,CAAAA,MAAAA,EAAsD,UAArBC,EAAAA,MAAAA,CAAAA,gBAAAA,CAC1C,MAAO,KAAA,CAGT,GAME,CAAA,MALcA,CAAAA,iBAAiBC,QAASC,CAAAA,eAAAA,CAAAA,CACrCC,gBAAiB,CAAA,gBAAA,CAAA,CACjBC,IACAC,CAAAA,CAAAA,CAAAA,OAAAA,CAAQ,cAAgB,CAAA,EAAA,CAAA,EAEX,IACjB,EAAC,MAAAC,OAAA,CACA,CAAA,MAAO,KACR,EACH,CAaSC,CAAAA,CAAAA,UAAAA,IAAAA,UAAAA,IAAAA,CC5CmB,OD6C5B,EAGA,OAAAC,OAAA,IAAAC,OAAA,UAAAA,QAAA,KAAsB,WAAXV,EAAAA,MAAAA,CAAAA,MAAAA,CAAwB,CAChCA,MAAAA,CAAeW,mBAnCmB,CAAA,2BAAA,CAuC/BC,CAAAA,CAA0B,IAC9BC,CAAAA,MAAAA,CAAOC,cAAed,CAAAA,MAAAA,CAAQ,aAAe,CAAA,CAC3Ce,cAAc,CACdC,CAAAA,GAAAA,CAAK,QAALA,CAAAA,GAAAA,CAAAA,QAAWJ,CAAAA,CAAAA,SAAAA,CAAAA,UAAAA,CAAAA,CAAYf,CACvBoB,CAAAA,CAAAA,GAAAA,GAAAA,CAAMC,QAAND,CAAAA,GAAAA,CAAMC,CACJN,CAAAA,CAAAA,CAAAA,CAAWM,CAAK,EAInBlB,CAAAA,CAAAA,CAAAA,MAAAA,CAAemB,OAAWnB,CAAAA,MAAAA,CAAemB,OAAW,EAAA,CACnDC,GAAK,CAAA,CAAEC,SAAU,YAErB,CAAA,CAAA,EAAA"}
|
package/dist/version.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function n(){return function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null}catch{return null}}()??"1.3.
|
|
1
|
+
function n(){return function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null}catch{return null}}()??"1.3.6"}if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";let e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:()=>e??n(),set:n=>{e=n}}),window.process=window.process||{env:{NODE_ENV:"production"}}}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -129,6 +129,8 @@ export { NileSideBarFooter } from './nile-side-bar-footer';
|
|
|
129
129
|
export { NileSideBarFooterItem } from './nile-side-bar-footer-item';
|
|
130
130
|
export { NileSideBarAction } from './nile-side-bar-action';
|
|
131
131
|
export { NileSideBarFooterText } from './nile-side-bar-footer-text';
|
|
132
|
+
export { NileSideBarHeaderSwitcher } from './nile-side-bar-header-switcher';
|
|
133
|
+
export { NileSideBarSearch } from './nile-side-bar-search';
|
|
132
134
|
export { NileSideBarActionMenuItem } from './nile-side-bar-action-menu-item';
|
|
133
135
|
export { NileSideBarActionMenu } from './nile-side-bar-action-menu';
|
|
134
136
|
export { NileInlineSidebarGroup } from './nile-inline-sidebar-group';
|
|
@@ -150,6 +152,10 @@ export { NileContextMenuItem } from './nile-context-menu-item';
|
|
|
150
152
|
export { NileCommandMenu } from './nile-command-menu';
|
|
151
153
|
export { NileCommandMenuGroup } from './nile-command-menu-group';
|
|
152
154
|
export { NileCommandMenuItem } from './nile-command-menu-item';
|
|
155
|
+
export { NileDropdownSwitcher } from './nile-dropdown-switcher';
|
|
156
|
+
export { NileDropdownSwitcherHeader } from './nile-dropdown-switcher-header';
|
|
157
|
+
export { NileDropdownSwitcherGroup } from './nile-dropdown-switcher-group';
|
|
158
|
+
export { NileDropdownSwitcherItem } from './nile-dropdown-switcher-item';
|
|
153
159
|
export { NileInlineSidebarItemHeader } from './nile-inline-sidebar-item-header';
|
|
154
160
|
export { NileInlineSidebarItemBody } from './nile-inline-sidebar-item-body';
|
|
155
161
|
export { NileMarkdown } from './nile-markdown';
|
|
@@ -12,21 +12,14 @@ import { utilityControlStyles } from '../internal/app-shell-utility-control-styl
|
|
|
12
12
|
export const styles = css`
|
|
13
13
|
:host {
|
|
14
14
|
/* Geometry: design tokens where one exists, bare pixels where none does. */
|
|
15
|
-
/* The nav track mirrors nile-side-bar's own width expressions (
|
|
16
|
-
--nile-app-shell-side-nav-width:
|
|
17
|
-
|
|
18
|
-
var(--ng-spacing-296, 240px)
|
|
19
|
-
);
|
|
20
|
-
--nile-app-shell-side-nav-rail-width: var(
|
|
21
|
-
--nile-width-70px,
|
|
22
|
-
var(--ng-spacing-68, 70px)
|
|
23
|
-
);
|
|
15
|
+
/* The nav track mirrors nile-side-bar's own width expressions (NxtGen 260/72); keep in step with nile-side-bar.css.ts. */
|
|
16
|
+
--nile-app-shell-side-nav-width: 260px;
|
|
17
|
+
--nile-app-shell-side-nav-rail-width: 72px;
|
|
24
18
|
--nile-app-shell-gutter: var(--nile-spacing-xs, var(--ng-spacing-xs));
|
|
25
19
|
--nile-app-shell-content-padding: var(
|
|
26
20
|
--nile-spacing-3xl,
|
|
27
21
|
var(--ng-spacing-3xl)
|
|
28
22
|
);
|
|
29
|
-
--nile-app-shell-top-bar-height: 68px;
|
|
30
23
|
/* The panel header keeps its own height, distinct from the page header. */
|
|
31
24
|
--nile-app-shell-panel-header-height: 56px;
|
|
32
25
|
--nile-app-shell-tabs-height: 33px;
|
|
@@ -91,24 +84,12 @@ export const styles = css`
|
|
|
91
84
|
--_side-nav-track: 0px;
|
|
92
85
|
}
|
|
93
86
|
|
|
94
|
-
/*
|
|
95
|
-
:host([has-description]) {
|
|
96
|
-
--nile-app-shell-top-bar-height: 76px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* The top bar compresses before the content does. */
|
|
100
|
-
@media (max-height: 600px) {
|
|
101
|
-
:host {
|
|
102
|
-
--nile-app-shell-top-bar-height: 56px;
|
|
103
|
-
}
|
|
87
|
+
/* ---------------------------------------------------------------- banner */
|
|
104
88
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
89
|
+
.tip {
|
|
90
|
+
display: contents;
|
|
108
91
|
}
|
|
109
92
|
|
|
110
|
-
/* ---------------------------------------------------------------- banner */
|
|
111
|
-
|
|
112
93
|
.banner {
|
|
113
94
|
grid-area: banner;
|
|
114
95
|
min-width: 0;
|
|
@@ -131,17 +112,6 @@ export const styles = css`
|
|
|
131
112
|
display: none;
|
|
132
113
|
}
|
|
133
114
|
|
|
134
|
-
/* A slotted sidebar fills the shell-owned track and drops its own surface and edge; set --nile-app-shell-side-nav-bg to restore one. */
|
|
135
|
-
/* width is deliberately not !important: the 100% lets a raw <nav> or nile-app-shell-side-nav fill the track, while a slotted
|
|
136
|
-
nile-side-bar sizes itself from the same tokens the track reads (see the :host geometry block). Tests 21/22 in
|
|
137
|
-
nile-app-shell-regions.test.ts lock the two together; change both or neither. */
|
|
138
|
-
::slotted([slot='side-nav']) {
|
|
139
|
-
width: 100%;
|
|
140
|
-
height: 100%;
|
|
141
|
-
background: var(--nile-app-shell-side-nav-bg, transparent) !important;
|
|
142
|
-
border-right: var(--nile-app-shell-side-nav-border, 0) !important;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
115
|
/* -------------------------------------------------------- content column */
|
|
146
116
|
|
|
147
117
|
.content-section {
|
|
@@ -170,8 +140,9 @@ export const styles = css`
|
|
|
170
140
|
min-width: 0;
|
|
171
141
|
overflow: hidden;
|
|
172
142
|
background: var(--nile-colors-white-base, var(--ng-colors-bg-secondary));
|
|
143
|
+
/* border-secondary on NxtGen; enterprise is unchanged. */
|
|
173
144
|
border: var(--nile-border-width-1, var(--ng-border-width-1)) solid
|
|
174
|
-
var(--nile-colors-neutral-500, var(--ng-colors-border-
|
|
145
|
+
var(--nile-colors-neutral-500, var(--ng-colors-border-secondary));
|
|
175
146
|
border-radius: var(--nile-app-shell-radius);
|
|
176
147
|
box-shadow: var(--nile-box-shadow-none, var(--ng-shadow-none));
|
|
177
148
|
/* The container, not the viewport, is the sizing context for page content. */
|
|
@@ -199,10 +170,28 @@ export const styles = css`
|
|
|
199
170
|
display: flex;
|
|
200
171
|
align-items: center;
|
|
201
172
|
gap: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
202
|
-
|
|
173
|
+
padding-block: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
203
174
|
padding-inline: var(--nile-app-shell-content-padding);
|
|
204
175
|
}
|
|
205
176
|
|
|
177
|
+
.top-bar-row {
|
|
178
|
+
display: contents;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:host([has-breadcrumb]) .top-bar {
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
align-items: stretch;
|
|
184
|
+
gap: var(--nile-spacing-md, var(--ng-spacing-md));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host([has-breadcrumb]) .top-bar-row {
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
gap: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
191
|
+
flex: 0 0 auto;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
206
195
|
/* The header bar draws no bottom rule in any variant; the only divider comes from the tab rail (see .tabs). */
|
|
207
196
|
|
|
208
197
|
.shell-top-bar {
|
|
@@ -210,7 +199,7 @@ export const styles = css`
|
|
|
210
199
|
min-width: 0;
|
|
211
200
|
padding-inline: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
212
201
|
background: var(--nile-colors-white-base, var(--ng-colors-bg-secondary));
|
|
213
|
-
border-bottom: var(--nile-border-width-1, var(--ng-border-width-
|
|
202
|
+
border-bottom: var(--nile-border-width-1, var(--ng-border-width-0)) solid
|
|
214
203
|
var(--nile-colors-neutral-400, var(--ng-colors-border-secondary));
|
|
215
204
|
}
|
|
216
205
|
|
|
@@ -225,6 +214,7 @@ export const styles = css`
|
|
|
225
214
|
gap: var(--nile-spacing-xl, var(--ng-spacing-xl));
|
|
226
215
|
min-width: 0;
|
|
227
216
|
flex: 1 1 auto;
|
|
217
|
+
min-height: var(--nile-spacing-none, var(--ng-height-36px));
|
|
228
218
|
}
|
|
229
219
|
|
|
230
220
|
/* The title block: the back arrow, then the stack (app icon, heading and badge, with the description under them); renders before the top-bar slot. */
|
|
@@ -253,6 +243,15 @@ export const styles = css`
|
|
|
253
243
|
min-width: 0;
|
|
254
244
|
}
|
|
255
245
|
|
|
246
|
+
.breadcrumb {
|
|
247
|
+
box-sizing: border-box;
|
|
248
|
+
min-width: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.breadcrumb[hidden] {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
256
255
|
.title-row {
|
|
257
256
|
display: flex;
|
|
258
257
|
align-items: center;
|
|
@@ -273,6 +272,12 @@ export const styles = css`
|
|
|
273
272
|
text-overflow: ellipsis;
|
|
274
273
|
}
|
|
275
274
|
|
|
275
|
+
.description.is-slotted {
|
|
276
|
+
white-space: normal;
|
|
277
|
+
overflow: visible;
|
|
278
|
+
text-overflow: clip;
|
|
279
|
+
}
|
|
280
|
+
|
|
276
281
|
.description {
|
|
277
282
|
margin: 0;
|
|
278
283
|
min-width: 0;
|
|
@@ -391,11 +396,17 @@ export const styles = css`
|
|
|
391
396
|
display: none;
|
|
392
397
|
}
|
|
393
398
|
|
|
394
|
-
/* The Ask button: a stock <nile-button variant="secondary"> the shell renders itself
|
|
399
|
+
/* The Ask button: a stock <nile-button variant="secondary"> the shell renders itself, as a top-bar flex item. */
|
|
395
400
|
.ask {
|
|
396
401
|
flex: 0 0 auto;
|
|
397
402
|
}
|
|
398
403
|
|
|
404
|
+
.ask::part(base) {
|
|
405
|
+
height: var(--nile-height-40px, var(--ng-height-36px));
|
|
406
|
+
padding: var(--nile-spacing-10px, var(--ng-spacing-md))
|
|
407
|
+
var(--nile-spacing-14px, var(--ng-spacing-lg));
|
|
408
|
+
}
|
|
409
|
+
|
|
399
410
|
.ask-mark {
|
|
400
411
|
display: inline-flex;
|
|
401
412
|
align-items: center;
|
|
@@ -404,8 +415,8 @@ export const styles = css`
|
|
|
404
415
|
.ask-mark nile-glyph {
|
|
405
416
|
--nile-svg-fill: currentColor;
|
|
406
417
|
--nile-svg-stroke-width: var(--ng-svg-stroke-width);
|
|
407
|
-
width: 16px;
|
|
408
|
-
height: 16px;
|
|
418
|
+
width: var(--nile-width-16px, var(--ng-height-20px));
|
|
419
|
+
height: var(--nile-width-16px, var(--ng-height-20px));
|
|
409
420
|
}
|
|
410
421
|
|
|
411
422
|
/* 10px after the 32px circle is 16px after the 20px glyph (6px overhang + 10), Figma's toggle-to-divider gap. */
|
|
@@ -415,11 +426,27 @@ export const styles = css`
|
|
|
415
426
|
gap: var(--nile-spacing-md-alt, var(--ng-spacing-md-alt));
|
|
416
427
|
}
|
|
417
428
|
|
|
429
|
+
/* With a description, the toggle and its rule sit on the title's row, as the back arrow does, not on the centre of the two-line stack: a title-line box at the stack's top edge. */
|
|
430
|
+
:host([has-description]) .nav-toggle-group {
|
|
431
|
+
align-self: flex-start;
|
|
432
|
+
height: var(--nile-line-height-medium, var(--ng-line-height-text-md));
|
|
433
|
+
}
|
|
434
|
+
|
|
418
435
|
/* Lands the 20px glyph box, not the 32px utility circle, on the 24px origin: (32 - 20) / 2 = 6. */
|
|
419
436
|
.nav-toggle {
|
|
420
437
|
margin-inline-start: -6px;
|
|
421
438
|
}
|
|
422
439
|
|
|
440
|
+
/* fg-quaternary-400 on NxtGen, set on the glyph because it otherwise inherits the ghost button's text colour; enterprise keeps black. */
|
|
441
|
+
.nav-toggle nile-glyph {
|
|
442
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-fg-quaternary-400));
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* The hover surface matches the bg-secondary container, so the glyph's own hover colour is the visible cue. */
|
|
446
|
+
.nav-toggle:hover:not([disabled]) nile-glyph {
|
|
447
|
+
color: var(--nile-colors-dark-900, var(--ng-colors-fg-quaternary-hover));
|
|
448
|
+
}
|
|
449
|
+
|
|
423
450
|
/* Figma's Divider Line: a 16px 1px stroke that takes no layout width, so the items on both sides sit a clean 16px from it. Used after the nav toggle and, as ask-rule, before Ask. */
|
|
424
451
|
.rule {
|
|
425
452
|
flex: 0 0 auto;
|
|
@@ -457,14 +484,6 @@ export const styles = css`
|
|
|
457
484
|
scrollbar-width: none;
|
|
458
485
|
}
|
|
459
486
|
|
|
460
|
-
/* The header tab's 0/4/12/4 padding composes the 32px row; the 12px bottom gives the active indicator its band, set via the group's public padding hook. */
|
|
461
|
-
::slotted([slot='tabs']) {
|
|
462
|
-
--nile-nav-tab-padding: var(--nile-spacing-none, var(--ng-spacing-none))
|
|
463
|
-
var(--nile-spacing-xs, var(--ng-spacing-xs))
|
|
464
|
-
var(--nile-spacing-lg, var(--ng-spacing-lg))
|
|
465
|
-
var(--nile-spacing-xs, var(--ng-spacing-xs));
|
|
466
|
-
}
|
|
467
|
-
|
|
468
487
|
.tabs::-webkit-scrollbar {
|
|
469
488
|
display: none;
|
|
470
489
|
}
|
|
@@ -474,24 +493,12 @@ export const styles = css`
|
|
|
474
493
|
display: none;
|
|
475
494
|
}
|
|
476
495
|
|
|
477
|
-
/* A slotted nile-nav-tab-group drops its own track (--track-width:0 on the host) and is bottom-aligned so its indicator sits on the region's single rule. */
|
|
478
496
|
/* Scoped to the group, not the slot, so bare tab controls are not stretched to an equal share of the strip. */
|
|
479
497
|
::slotted(nile-nav-tab-group[slot='tabs']) {
|
|
480
|
-
--track-width: 0px;
|
|
481
|
-
/*
|
|
482
|
-
* The active indicator (Figma: fg-brand-primary-alt) is NOT set here: the top placement hard-codes
|
|
483
|
-
* var(--nile-colors-primary-600, var(--ng-colors-text-brand-secondary-700)) inside nile-nav-tab-group's shadow tree, and
|
|
484
|
-
* remapping either token from here would also recolour nile-nav-tab's focus ring and focus label. Known limitation (spec A-7).
|
|
485
|
-
*/
|
|
486
|
-
/*
|
|
487
|
-
* The inactive label: nile-nav-tab paints it var(--nile-colors-dark-500, var(--ng-colors-text-secondary-700)), so the strip
|
|
488
|
-
* points the NxtGen fallback at text-quaternary-500. Enterprise defines --nile-colors-dark-500 and is untouched. Inside an
|
|
489
|
-
* underline group nothing else reads text-secondary-700 (only the group's other variants and side placements do).
|
|
490
|
-
*/
|
|
491
|
-
--ng-colors-text-secondary-700: var(--ng-colors-text-quaternary-500);
|
|
492
498
|
flex: 1 1 auto;
|
|
493
499
|
min-width: 0;
|
|
494
500
|
align-self: flex-end;
|
|
501
|
+
--track-width: var(--nile-spacing-none, var(--ng-spacing-none));
|
|
495
502
|
}
|
|
496
503
|
|
|
497
504
|
/* ------------------------------------------------------------------- main */
|