@aquera/nile-elements 1.1.3-beta-1.2 → 1.1.3-beta-2.0
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 +9 -0
- package/demo/index.html +98 -296
- package/demo/nxtgen.css +7 -2
- package/dist/{fixture-3bfb4490.cjs.js → fixture-5b79f853.cjs.js} +2 -2
- package/dist/{fixture-3bfb4490.cjs.js.map → fixture-5b79f853.cjs.js.map} +1 -1
- package/dist/{fixture-ba65262e.esm.js → fixture-90b199c4.esm.js} +2 -2
- package/dist/{fixture-8edec91c.esm.js → fixture-9871e8a9.esm.js} +1 -1
- package/dist/{fixture-d1470b58.cjs.js → fixture-c1d78368.cjs.js} +2 -2
- package/dist/{fixture-d1470b58.cjs.js.map → fixture-c1d78368.cjs.js.map} +1 -1
- package/dist/{fixture-985bba12.esm.js → fixture-cf7bfcf5.esm.js} +1 -1
- package/dist/{fixture-e3592de4.cjs.js → fixture-dbd66009.cjs.js} +4 -4
- package/dist/fixture-dbd66009.cjs.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1039 -1655
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-button/nile-button.css.cjs.js +1 -1
- package/dist/nile-button/nile-button.css.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.css.esm.js +66 -12
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.test.cjs.js +1 -1
- package/dist/nile-card/nile-card.test.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-code-editor/backup_nile-code-editor copy.cjs.js +2 -0
- package/dist/nile-code-editor/backup_nile-code-editor copy.cjs.js.map +1 -0
- package/dist/nile-code-editor/backup_nile-code-editor copy.esm.js +1 -0
- package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.test.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.test.esm.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.test.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.test.esm.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.test.esm.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
- package/dist/nile-grid/nile-grid.types.cjs.js +2 -0
- package/dist/nile-grid/nile-grid.types.cjs.js.map +1 -0
- package/dist/nile-grid/nile-grid.types.esm.js +1 -0
- package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.test.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.test.esm.js +1 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.test.esm.js +1 -1
- package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.test.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.test.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
- package/dist/nile-select/nile-select.test.cjs.js +1 -1
- package/dist/nile-select/nile-select.test.esm.js +1 -1
- package/dist/nile-sidebar/index.cjs.js.map +1 -1
- package/dist/nile-sidebar-menu/nile-sidebar-menu.cjs.js.map +1 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.cjs.js.map +1 -1
- package/dist/nile-sidebar-wrapper/nile-sidebar-wrapper.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
- package/dist/nile-stepper/index.cjs.js +1 -1
- package/dist/nile-stepper/index.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 +3 -3
- package/dist/nile-stepper-item/nile-stepper-item.cjs.js +1 -1
- package/dist/nile-stepper-item/nile-stepper-item.cjs.js.map +1 -1
- package/dist/nile-stepper-item/nile-stepper-item.esm.js +2 -2
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
- package/dist/nile-table-body/index.cjs.js +1 -1
- package/dist/nile-table-body/index.esm.js +1 -1
- 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 +3 -3
- package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.css.cjs.js.map +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.css.esm.js +0 -4
- package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.cjs.js +1 -1
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.cjs.js.map +1 -1
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.esm.js +7 -7
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js +2 -2
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js.map +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.esm.js +7 -6
- package/dist/nile-virtual-select/nile-virtual-select.test.cjs.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.test.esm.js +1 -1
- package/dist/nile-virtual-select/temp_nile-virtual-select copy.cjs.js +2 -0
- package/dist/nile-virtual-select/temp_nile-virtual-select copy.cjs.js.map +1 -0
- package/dist/nile-virtual-select/temp_nile-virtual-select copy.esm.js +231 -0
- package/dist/src/index.d.ts +4 -17
- package/dist/src/index.js +4 -17
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal/resizable-helper.d.ts +59 -0
- package/dist/src/internal/resizable-helper.js +115 -0
- package/dist/src/internal/resizable-helper.js.map +1 -0
- package/dist/src/internal/resizable-styles.d.ts +16 -0
- package/dist/src/internal/resizable-styles.js +144 -0
- package/dist/src/internal/resizable-styles.js.map +1 -0
- package/dist/src/internal/virtualizer-error-handler.d.ts +30 -0
- package/dist/src/internal/virtualizer-error-handler.js +82 -0
- package/dist/src/internal/virtualizer-error-handler.js.map +1 -0
- package/dist/src/lib/index.d.ts +7 -0
- package/dist/src/lib/index.js +8 -0
- package/dist/src/lib/index.js.map +1 -0
- package/dist/src/lib/virtualize.d.ts +32 -0
- package/dist/src/lib/virtualize.js +105 -0
- package/dist/src/lib/virtualize.js.map +1 -0
- package/dist/src/lib/virtualize.test.d.ts +7 -0
- package/dist/src/lib/virtualize.test.js +57 -0
- package/dist/src/lib/virtualize.test.js.map +1 -0
- package/dist/src/nile-badge/__snapshots__/nile-badge.test.snap.js +17 -0
- package/dist/src/nile-button/nile-button.css.js +66 -12
- package/dist/src/nile-button/nile-button.css.js.map +1 -1
- package/dist/src/nile-calendar/__snapshots__/nile-calendar.test.snap.js +310 -0
- package/dist/src/nile-card/__snapshots__/nile-card.test.snap.js +34 -0
- package/dist/src/nile-checkbox/__snapshots__/nile-checkbox.test.snap.js +31 -0
- package/dist/src/nile-code-editor/Old_theme copy.d.ts +191 -0
- package/dist/src/nile-code-editor/Old_theme copy.js +193 -0
- package/dist/src/nile-code-editor/Old_theme copy.js.map +1 -0
- package/dist/src/nile-code-editor/backup_nile-code-editor copy.d.ts +0 -0
- package/dist/src/nile-code-editor/backup_nile-code-editor copy.js +675 -0
- package/dist/src/nile-code-editor/backup_nile-code-editor copy.js.map +1 -0
- package/dist/src/nile-code-editor/theme copy.d.ts +191 -0
- package/dist/src/nile-code-editor/theme copy.js +193 -0
- package/dist/src/nile-code-editor/theme copy.js.map +1 -0
- package/dist/src/nile-grid/data-processor.d.ts +37 -0
- package/dist/src/nile-grid/data-processor.js +122 -0
- package/dist/src/nile-grid/data-processor.js.map +1 -0
- package/dist/src/nile-grid/event-handlers.d.ts +35 -0
- package/dist/src/nile-grid/event-handlers.js +158 -0
- package/dist/src/nile-grid/event-handlers.js.map +1 -0
- package/dist/src/nile-grid/nile-grid.types.d.ts +3 -0
- package/dist/src/nile-grid/nile-grid.types.js +2 -0
- package/dist/src/nile-grid/nile-grid.types.js.map +1 -0
- package/dist/src/nile-grid/renderer.d.ts +8 -0
- package/dist/src/nile-grid/renderer.js +78 -0
- package/dist/src/nile-grid/renderer.js.map +1 -0
- package/dist/src/nile-grid/resize-handler.d.ts +4 -0
- package/dist/src/nile-grid/resize-handler.js +36 -0
- package/dist/src/nile-grid/resize-handler.js.map +1 -0
- package/dist/src/nile-grid/types.d.ts +32 -0
- package/dist/src/nile-grid/types.js +2 -0
- package/dist/src/nile-grid/types.js.map +1 -0
- package/dist/src/nile-grid/utils.d.ts +4 -0
- package/dist/src/nile-grid/utils.js +32 -0
- package/dist/src/nile-grid/utils.js.map +1 -0
- package/dist/src/nile-hero/__snapshots__/nile-hero.test.snap.js +47 -0
- package/dist/src/nile-icon/__snapshots__/nile-icon.test.snap.js +16 -0
- package/dist/src/nile-input/__snapshots__/nile-input.test.snap.js +75 -0
- package/dist/src/nile-popover/__snapshots__/nile-popover.test.snap.js +22 -0
- package/dist/src/nile-sidebar/index.d.ts +1 -1
- package/dist/src/nile-stepper/nile-stepper.d.ts +1 -0
- package/dist/src/nile-stepper/nile-stepper.js +61 -40
- package/dist/src/nile-stepper/nile-stepper.js.map +1 -1
- package/dist/src/nile-stepper-item/nile-stepper-item.d.ts +3 -0
- package/dist/src/nile-stepper-item/nile-stepper-item.js +14 -2
- package/dist/src/nile-stepper-item/nile-stepper-item.js.map +1 -1
- package/dist/src/nile-table-body/nile-table-body.js +2 -1
- package/dist/src/nile-table-body/nile-table-body.js.map +1 -1
- package/dist/src/nile-table-body/virtual-scroll-helper.d.ts +9 -0
- package/dist/src/nile-table-body/virtual-scroll-helper.js +24 -0
- package/dist/src/nile-table-body/virtual-scroll-helper.js.map +1 -0
- package/dist/src/nile-table-header-item/nile-table-header-item.css.js +0 -4
- package/dist/src/nile-table-header-item/nile-table-header-item.css.js.map +1 -1
- package/dist/src/nile-vertical-stepper-item/nile-vertical-stepper-item.d.ts +3 -0
- package/dist/src/nile-vertical-stepper-item/nile-vertical-stepper-item.js +14 -2
- package/dist/src/nile-vertical-stepper-item/nile-vertical-stepper-item.js.map +1 -1
- package/dist/src/nile-virtual-select/nile-virtual-select.d.ts +19 -0
- package/dist/src/nile-virtual-select/nile-virtual-select.js +248 -16
- package/dist/src/nile-virtual-select/nile-virtual-select.js.map +1 -1
- package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.d.ts +273 -0
- package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.js +1305 -0
- package/dist/src/nile-virtual-select/temp_nile-virtual-select copy.js.map +1 -0
- package/dist/src/nile-virtual-select/virtualizer-error-handler.d.ts +21 -0
- package/dist/src/nile-virtual-select/virtualizer-error-handler.js +56 -0
- package/dist/src/nile-virtual-select/virtualizer-error-handler.js.map +1 -0
- package/dist/src/nile-virtual-table-body/index.d.ts +2 -0
- package/dist/src/nile-virtual-table-body/index.js +3 -0
- package/dist/src/nile-virtual-table-body/index.js.map +1 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.d.ts +1 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.js +44 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.css.js.map +1 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.d.ts +50 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.js +135 -0
- package/dist/src/nile-virtual-table-body/nile-virtual-table-body.js.map +1 -0
- package/dist/src/nile-virtual-table-body/renderer.d.ts +16 -0
- package/dist/src/nile-virtual-table-body/renderer.js +49 -0
- package/dist/src/nile-virtual-table-body/renderer.js.map +1 -0
- package/dist/src/utilities/stepper-utils.d.ts +71 -0
- package/dist/src/utilities/stepper-utils.js +108 -0
- package/dist/src/utilities/stepper-utils.js.map +1 -0
- package/dist/src/version.js +2 -2
- package/dist/src/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -20
- package/src/index.ts +4 -18
- package/src/nile-button/nile-button.css.ts +66 -12
- package/src/nile-sidebar/index.ts +133 -0
- package/src/nile-sidebar/logo.svg +1 -0
- package/src/nile-sidebar-menu/index.ts +1 -0
- package/src/nile-sidebar-menu/nile-sidebar-menu.css.ts +52 -0
- package/src/nile-sidebar-menu/nile-sidebar-menu.ts +97 -0
- package/src/nile-sidebar-menu-items/index.ts +1 -0
- package/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.ts +50 -0
- package/src/nile-sidebar-menu-items/nile-sidebar-menu-items.ts +81 -0
- package/src/nile-sidebar-wrapper/index.ts +1 -0
- package/src/nile-sidebar-wrapper/nile-sidebar-wrapper.css.ts +119 -0
- package/src/nile-sidebar-wrapper/nile-sidebar-wrapper.ts +97 -0
- package/src/nile-stepper/nile-stepper.ts +56 -39
- package/src/nile-stepper/stepper-utils.ts +49 -0
- package/src/nile-stepper-item/nile-stepper-item.ts +6 -3
- package/src/nile-table-body/nile-table-body.ts +2 -1
- package/src/nile-table-header-item/nile-table-header-item.css.ts +0 -4
- package/src/nile-vertical-stepper-item/nile-vertical-stepper-item.ts +6 -3
- package/src/nile-virtual-select/nile-virtual-select.ts +265 -5
- package/vscode-html-custom-data.json +59 -320
- package/dist/axe.min-140df6c2.cjs.js +0 -2
- package/dist/axe.min-140df6c2.cjs.js.map +0 -1
- package/dist/axe.min-591c52c3.esm.js +0 -1
- package/dist/css-tag-3c4464f5.esm.js +0 -6
- package/dist/css-tag-b6258454.cjs.js +0 -6
- package/dist/css-tag-b6258454.cjs.js.map +0 -1
- package/dist/fixture-e3592de4.cjs.js.map +0 -1
- package/dist/flow-3e83b6f4.esm.js +0 -17
- package/dist/flow-ca47f938.cjs.js +0 -14
- package/dist/flow-ca47f938.cjs.js.map +0 -1
- package/dist/lit-html-21bc9a48.cjs.js +0 -6
- package/dist/lit-html-21bc9a48.cjs.js.map +0 -1
- package/dist/lit-html-82603fd0.esm.js +0 -6
- package/dist/nile-icon/icons/svg/ng-link-external-02.cjs.js +0 -2
- package/dist/nile-icon/icons/svg/ng-link-external-02.cjs.js.map +0 -1
- package/dist/nile-icon/icons/svg/ng-link-external-02.esm.js +0 -1
- package/dist/nile-side-bar/index.cjs.js +0 -2
- package/dist/nile-side-bar/index.cjs.js.map +0 -1
- package/dist/nile-side-bar/index.esm.js +0 -1
- package/dist/nile-side-bar/nile-side-bar.cjs.js +0 -2
- package/dist/nile-side-bar/nile-side-bar.cjs.js.map +0 -1
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js +0 -2
- package/dist/nile-side-bar/nile-side-bar.css.cjs.js.map +0 -1
- package/dist/nile-side-bar/nile-side-bar.css.esm.js +0 -100
- package/dist/nile-side-bar/nile-side-bar.esm.js +0 -1
- package/dist/nile-side-bar-action/index.cjs.js +0 -2
- package/dist/nile-side-bar-action/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-action/index.esm.js +0 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.cjs.js +0 -2
- package/dist/nile-side-bar-action/nile-side-bar-action.cjs.js.map +0 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.css.cjs.js +0 -2
- package/dist/nile-side-bar-action/nile-side-bar-action.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.css.esm.js +0 -51
- package/dist/nile-side-bar-action/nile-side-bar-action.esm.js +0 -34
- package/dist/nile-side-bar-action-menu/index.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu/index.esm.js +0 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.css.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.css.esm.js +0 -61
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.esm.js +0 -40
- package/dist/nile-side-bar-action-menu-item/index.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu-item/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu-item/index.esm.js +0 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js +0 -2
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.esm.js +0 -128
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.esm.js +0 -36
- package/dist/nile-side-bar-content/index.cjs.js +0 -2
- package/dist/nile-side-bar-content/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/index.esm.js +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.cjs.js +0 -2
- package/dist/nile-side-bar-content/nile-side-bar-content.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.css.cjs.js +0 -2
- package/dist/nile-side-bar-content/nile-side-bar-content.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-content/nile-side-bar-content.css.esm.js +0 -5
- package/dist/nile-side-bar-content/nile-side-bar-content.esm.js +0 -3
- package/dist/nile-side-bar-expand/index.cjs.js +0 -2
- package/dist/nile-side-bar-expand/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-expand/index.esm.js +0 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js +0 -2
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js.map +0 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.cjs.js +0 -2
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.css.esm.js +0 -33
- package/dist/nile-side-bar-expand/nile-side-bar-expand.esm.js +0 -6
- package/dist/nile-side-bar-footer/index.cjs.js +0 -2
- package/dist/nile-side-bar-footer/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer/index.esm.js +0 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js +0 -2
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js +0 -2
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.css.esm.js +0 -40
- package/dist/nile-side-bar-footer/nile-side-bar-footer.esm.js +0 -5
- package/dist/nile-side-bar-footer-icon/index.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/index.esm.js +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.cjs.js +0 -2
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.esm.js +0 -5
- package/dist/nile-side-bar-footer-icon/nile-side-bar-footer-icon.esm.js +0 -3
- package/dist/nile-side-bar-footer-item/index.cjs.js +0 -2
- package/dist/nile-side-bar-footer-item/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-item/index.esm.js +0 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +0 -2
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js +0 -2
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.css.esm.js +0 -72
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +0 -7
- package/dist/nile-side-bar-footer-text/index.cjs.js +0 -2
- package/dist/nile-side-bar-footer-text/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-text/index.esm.js +0 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.cjs.js +0 -2
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js +0 -2
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.css.esm.js +0 -29
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.esm.js +0 -6
- package/dist/nile-side-bar-group/index.cjs.js +0 -2
- package/dist/nile-side-bar-group/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group/index.esm.js +0 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +0 -2
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +0 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js +0 -2
- package/dist/nile-side-bar-group/nile-side-bar-group.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.css.esm.js +0 -48
- package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +0 -12
- package/dist/nile-side-bar-group-item/index.cjs.js +0 -2
- package/dist/nile-side-bar-group-item/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item/index.esm.js +0 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.cjs.js +0 -2
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js +0 -2
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.css.esm.js +0 -54
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.esm.js +0 -37
- package/dist/nile-side-bar-group-item-content/index.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/index.esm.js +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.esm.js +0 -5
- package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.esm.js +0 -3
- package/dist/nile-side-bar-group-item-icon/index.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-icon/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-icon/index.esm.js +0 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.esm.js +0 -31
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +0 -11
- package/dist/nile-side-bar-group-item-text/index.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-text/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-text/index.esm.js +0 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js +0 -2
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.esm.js +0 -24
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.esm.js +0 -1
- package/dist/nile-side-bar-header/index.cjs.js +0 -2
- package/dist/nile-side-bar-header/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-header/index.esm.js +0 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js +0 -2
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +0 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js +0 -2
- package/dist/nile-side-bar-header/nile-side-bar-header.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.css.esm.js +0 -52
- package/dist/nile-side-bar-header/nile-side-bar-header.esm.js +0 -6
- package/dist/nile-side-bar-logo/index.cjs.js +0 -2
- package/dist/nile-side-bar-logo/index.cjs.js.map +0 -1
- package/dist/nile-side-bar-logo/index.esm.js +0 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.cjs.js +0 -2
- package/dist/nile-side-bar-logo/nile-side-bar-logo.cjs.js.map +0 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.css.cjs.js +0 -2
- package/dist/nile-side-bar-logo/nile-side-bar-logo.css.cjs.js.map +0 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.css.esm.js +0 -35
- package/dist/nile-side-bar-logo/nile-side-bar-logo.esm.js +0 -4
- package/dist/scopedElementsWrapper-abad3c53.cjs.js +0 -2
- package/dist/scopedElementsWrapper-abad3c53.cjs.js.map +0 -1
- package/dist/scopedElementsWrapper-ef11f868.esm.js +0 -1
- package/dist/sinon-esm-283dcc9b.cjs.js +0 -2
- package/dist/sinon-esm-283dcc9b.cjs.js.map +0 -1
- package/dist/sinon-esm-abe9b0ec.esm.js +0 -1
- package/dist/src/nile-icon/icons/svg/ng-link-external-02.d.ts +0 -5
- package/dist/src/nile-icon/icons/svg/ng-link-external-02.js +0 -5
- package/dist/src/nile-icon/icons/svg/ng-link-external-02.js.map +0 -1
- package/dist/src/nile-side-bar/index.d.ts +0 -1
- package/dist/src/nile-side-bar/index.js +0 -2
- package/dist/src/nile-side-bar/index.js.map +0 -1
- package/dist/src/nile-side-bar/nile-side-bar.css.d.ts +0 -12
- package/dist/src/nile-side-bar/nile-side-bar.css.js +0 -112
- package/dist/src/nile-side-bar/nile-side-bar.css.js.map +0 -1
- package/dist/src/nile-side-bar/nile-side-bar.d.ts +0 -40
- package/dist/src/nile-side-bar/nile-side-bar.js +0 -67
- package/dist/src/nile-side-bar/nile-side-bar.js.map +0 -1
- package/dist/src/nile-side-bar-action/index.d.ts +0 -1
- package/dist/src/nile-side-bar-action/index.js +0 -2
- package/dist/src/nile-side-bar-action/index.js.map +0 -1
- package/dist/src/nile-side-bar-action/nile-side-bar-action.css.d.ts +0 -3
- package/dist/src/nile-side-bar-action/nile-side-bar-action.css.js +0 -54
- package/dist/src/nile-side-bar-action/nile-side-bar-action.css.js.map +0 -1
- package/dist/src/nile-side-bar-action/nile-side-bar-action.d.ts +0 -75
- package/dist/src/nile-side-bar-action/nile-side-bar-action.js +0 -338
- package/dist/src/nile-side-bar-action/nile-side-bar-action.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu/index.d.ts +0 -1
- package/dist/src/nile-side-bar-action-menu/index.js +0 -2
- package/dist/src/nile-side-bar-action-menu/index.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.css.d.ts +0 -12
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.css.js +0 -73
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.css.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.d.ts +0 -49
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.js +0 -223
- package/dist/src/nile-side-bar-action-menu/nile-side-bar-action-menu.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu-item/index.d.ts +0 -1
- package/dist/src/nile-side-bar-action-menu-item/index.js +0 -2
- package/dist/src/nile-side-bar-action-menu-item/index.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.d.ts +0 -12
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js +0 -140
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.js.map +0 -1
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.d.ts +0 -64
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.js +0 -198
- package/dist/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.js.map +0 -1
- package/dist/src/nile-side-bar-content/index.d.ts +0 -1
- package/dist/src/nile-side-bar-content/index.js +0 -2
- package/dist/src/nile-side-bar-content/index.js.map +0 -1
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.d.ts +0 -12
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.js +0 -17
- package/dist/src/nile-side-bar-content/nile-side-bar-content.css.js.map +0 -1
- package/dist/src/nile-side-bar-content/nile-side-bar-content.d.ts +0 -32
- package/dist/src/nile-side-bar-content/nile-side-bar-content.js +0 -43
- package/dist/src/nile-side-bar-content/nile-side-bar-content.js.map +0 -1
- package/dist/src/nile-side-bar-expand/index.d.ts +0 -1
- package/dist/src/nile-side-bar-expand/index.js +0 -2
- package/dist/src/nile-side-bar-expand/index.js.map +0 -1
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.css.d.ts +0 -12
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.css.js +0 -45
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.css.js.map +0 -1
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.d.ts +0 -21
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.js +0 -55
- package/dist/src/nile-side-bar-expand/nile-side-bar-expand.js.map +0 -1
- package/dist/src/nile-side-bar-footer/index.d.ts +0 -1
- package/dist/src/nile-side-bar-footer/index.js +0 -2
- package/dist/src/nile-side-bar-footer/index.js.map +0 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.d.ts +0 -6
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js +0 -46
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.css.js.map +0 -1
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.d.ts +0 -26
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js +0 -37
- package/dist/src/nile-side-bar-footer/nile-side-bar-footer.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/index.d.ts +0 -1
- package/dist/src/nile-side-bar-footer-icon/index.js +0 -2
- package/dist/src/nile-side-bar-footer-icon/index.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.d.ts +0 -12
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.js +0 -17
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.js.map +0 -1
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.d.ts +0 -32
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.js +0 -43
- package/dist/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.js.map +0 -1
- package/dist/src/nile-side-bar-footer-item/index.d.ts +0 -1
- package/dist/src/nile-side-bar-footer-item/index.js +0 -2
- package/dist/src/nile-side-bar-footer-item/index.js.map +0 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.d.ts +0 -3
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js +0 -75
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.js.map +0 -1
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.d.ts +0 -27
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js +0 -46
- package/dist/src/nile-side-bar-footer-item/nile-side-bar-footer-item.js.map +0 -1
- package/dist/src/nile-side-bar-footer-text/index.d.ts +0 -1
- package/dist/src/nile-side-bar-footer-text/index.js +0 -2
- package/dist/src/nile-side-bar-footer-text/index.js.map +0 -1
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.d.ts +0 -3
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js +0 -32
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.js.map +0 -1
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.d.ts +0 -30
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.js +0 -53
- package/dist/src/nile-side-bar-footer-text/nile-side-bar-footer-text.js.map +0 -1
- package/dist/src/nile-side-bar-group/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group/index.js +0 -2
- package/dist/src/nile-side-bar-group/index.js.map +0 -1
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.d.ts +0 -6
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js +0 -54
- package/dist/src/nile-side-bar-group/nile-side-bar-group.css.js.map +0 -1
- package/dist/src/nile-side-bar-group/nile-side-bar-group.d.ts +0 -42
- package/dist/src/nile-side-bar-group/nile-side-bar-group.js +0 -76
- package/dist/src/nile-side-bar-group/nile-side-bar-group.js.map +0 -1
- package/dist/src/nile-side-bar-group-item/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group-item/index.js +0 -2
- package/dist/src/nile-side-bar-group-item/index.js.map +0 -1
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.d.ts +0 -12
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js +0 -66
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.css.js.map +0 -1
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.d.ts +0 -54
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.js +0 -143
- package/dist/src/nile-side-bar-group-item/nile-side-bar-group-item.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group-item-content/index.js +0 -2
- package/dist/src/nile-side-bar-group-item-content/index.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.d.ts +0 -12
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.js +0 -17
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.d.ts +0 -32
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.js +0 -43
- package/dist/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-icon/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group-item-icon/index.js +0 -2
- package/dist/src/nile-side-bar-group-item-icon/index.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.d.ts +0 -3
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js +0 -34
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.d.ts +0 -40
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js +0 -89
- package/dist/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-text/index.d.ts +0 -1
- package/dist/src/nile-side-bar-group-item-text/index.js +0 -2
- package/dist/src/nile-side-bar-group-item-text/index.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.d.ts +0 -6
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js +0 -30
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.js.map +0 -1
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.d.ts +0 -30
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.js +0 -42
- package/dist/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.js.map +0 -1
- package/dist/src/nile-side-bar-header/index.d.ts +0 -1
- package/dist/src/nile-side-bar-header/index.js +0 -2
- package/dist/src/nile-side-bar-header/index.js.map +0 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.d.ts +0 -12
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js +0 -64
- package/dist/src/nile-side-bar-header/nile-side-bar-header.css.js.map +0 -1
- package/dist/src/nile-side-bar-header/nile-side-bar-header.d.ts +0 -32
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js +0 -46
- package/dist/src/nile-side-bar-header/nile-side-bar-header.js.map +0 -1
- package/dist/src/nile-side-bar-logo/index.d.ts +0 -1
- package/dist/src/nile-side-bar-logo/index.js +0 -2
- package/dist/src/nile-side-bar-logo/index.js.map +0 -1
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.css.d.ts +0 -12
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.css.js +0 -47
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.css.js.map +0 -1
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.d.ts +0 -34
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.js +0 -53
- package/dist/src/nile-side-bar-logo/nile-side-bar-logo.js.map +0 -1
- package/dist/src/nile-side-bar-menu/index.d.ts +0 -1
- package/dist/src/nile-side-bar-menu/index.js +0 -2
- package/dist/src/nile-side-bar-menu/index.js.map +0 -1
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.css.d.ts +0 -12
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.css.js +0 -17
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.css.js.map +0 -1
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.d.ts +0 -32
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.js +0 -43
- package/dist/src/nile-side-bar-menu/nile-side-bar-menu.js.map +0 -1
- package/dist/src/nile-side-bar-menu-item/index.d.ts +0 -1
- package/dist/src/nile-side-bar-menu-item/index.js +0 -2
- package/dist/src/nile-side-bar-menu-item/index.js.map +0 -1
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.css.d.ts +0 -12
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.css.js +0 -17
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.css.js.map +0 -1
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.d.ts +0 -32
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.js +0 -43
- package/dist/src/nile-side-bar-menu-item/nile-side-bar-menu-item.js.map +0 -1
- package/dist/src/nile-table-row-content/index.d.ts +0 -1
- package/dist/src/nile-table-row-content/index.js +0 -2
- package/dist/src/nile-table-row-content/index.js.map +0 -1
- package/dist/src/nile-table-row-content/nile-table-row-content.css.d.ts +0 -12
- package/dist/src/nile-table-row-content/nile-table-row-content.css.js +0 -30
- package/dist/src/nile-table-row-content/nile-table-row-content.css.js.map +0 -1
- package/dist/src/nile-table-row-content/nile-table-row-content.d.ts +0 -32
- package/dist/src/nile-table-row-content/nile-table-row-content.js +0 -46
- package/dist/src/nile-table-row-content/nile-table-row-content.js.map +0 -1
- package/dist/src/nile-test/index.d.ts +0 -1
- package/dist/src/nile-test/index.js +0 -2
- package/dist/src/nile-test/index.js.map +0 -1
- package/dist/src/nile-test/nile-test.css.d.ts +0 -12
- package/dist/src/nile-test/nile-test.css.js +0 -17
- package/dist/src/nile-test/nile-test.css.js.map +0 -1
- package/dist/src/nile-test/nile-test.d.ts +0 -32
- package/dist/src/nile-test/nile-test.js +0 -43
- package/dist/src/nile-test/nile-test.js.map +0 -1
- package/dist/src/nile-tooltip/nile-tooltip-utils.d.ts +0 -18
- package/dist/src/nile-tooltip/nile-tooltip-utils.js +0 -216
- package/dist/src/nile-tooltip/nile-tooltip-utils.js.map +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.d.ts +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.js +0 -148
- package/dist/src/nile-tooltip/nile-tooltip.test.js.map +0 -1
- package/dist/virtualize-73f68d08.esm.js +0 -22
- package/dist/virtualize-eb33a9a0.cjs.js +0 -18
- package/dist/virtualize-eb33a9a0.cjs.js.map +0 -1
- package/src/nile-side-bar/index.ts +0 -1
- package/src/nile-side-bar/nile-side-bar.css.ts +0 -114
- package/src/nile-side-bar/nile-side-bar.ts +0 -66
- package/src/nile-side-bar-action/index.ts +0 -1
- package/src/nile-side-bar-action/nile-side-bar-action.css.ts +0 -55
- package/src/nile-side-bar-action/nile-side-bar-action.ts +0 -367
- package/src/nile-side-bar-action-menu/index.ts +0 -1
- package/src/nile-side-bar-action-menu/nile-side-bar-action-menu.css.ts +0 -75
- package/src/nile-side-bar-action-menu/nile-side-bar-action-menu.ts +0 -239
- package/src/nile-side-bar-action-menu-item/index.ts +0 -1
- package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.css.ts +0 -142
- package/src/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.ts +0 -203
- package/src/nile-side-bar-content/index.ts +0 -1
- package/src/nile-side-bar-content/nile-side-bar-content.css.ts +0 -19
- package/src/nile-side-bar-content/nile-side-bar-content.ts +0 -54
- package/src/nile-side-bar-expand/index.ts +0 -1
- package/src/nile-side-bar-expand/nile-side-bar-expand.css.ts +0 -47
- package/src/nile-side-bar-expand/nile-side-bar-expand.ts +0 -55
- package/src/nile-side-bar-footer/index.ts +0 -1
- package/src/nile-side-bar-footer/nile-side-bar-footer.css.ts +0 -47
- package/src/nile-side-bar-footer/nile-side-bar-footer.ts +0 -42
- package/src/nile-side-bar-footer-icon/index.ts +0 -1
- package/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.css.ts +0 -19
- package/src/nile-side-bar-footer-icon/nile-side-bar-footer-icon.ts +0 -54
- package/src/nile-side-bar-footer-item/index.ts +0 -1
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts +0 -76
- package/src/nile-side-bar-footer-item/nile-side-bar-footer-item.ts +0 -45
- package/src/nile-side-bar-footer-text/index.ts +0 -1
- package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts +0 -33
- package/src/nile-side-bar-footer-text/nile-side-bar-footer-text.ts +0 -51
- package/src/nile-side-bar-group/index.ts +0 -1
- package/src/nile-side-bar-group/nile-side-bar-group.css.ts +0 -55
- package/src/nile-side-bar-group/nile-side-bar-group.ts +0 -74
- package/src/nile-side-bar-group-item/index.ts +0 -1
- package/src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts +0 -68
- package/src/nile-side-bar-group-item/nile-side-bar-group-item.ts +0 -146
- package/src/nile-side-bar-group-item-content/index.ts +0 -1
- package/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.ts +0 -19
- package/src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.ts +0 -54
- package/src/nile-side-bar-group-item-icon/index.ts +0 -1
- package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts +0 -35
- package/src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts +0 -97
- package/src/nile-side-bar-group-item-text/index.ts +0 -1
- package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.css.ts +0 -31
- package/src/nile-side-bar-group-item-text/nile-side-bar-group-item-text.ts +0 -49
- package/src/nile-side-bar-header/index.ts +0 -1
- package/src/nile-side-bar-header/nile-side-bar-header.css.ts +0 -66
- package/src/nile-side-bar-header/nile-side-bar-header.ts +0 -57
- package/src/nile-side-bar-logo/index.ts +0 -1
- package/src/nile-side-bar-logo/nile-side-bar-logo.css.ts +0 -49
- package/src/nile-side-bar-logo/nile-side-bar-logo.ts +0 -52
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",t=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n width: 100%;\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\tjustify-content: flex-start;\n padding: 12px;\n font-size: 0.875rem;\n color: var(--nile-side-bar-footer-color, #374151);\n cursor: pointer;\n border-radius: var(--nile-side-bar-footer-radius, 0.375rem);\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n line-height: 0;\n }\n\n .footer-item:hover {\n background: var(--nile-side-bar-footer-hover-bg, #f3f4f6);\n }\n\n /* left: icon */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n margin-right: 0.5rem;\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* right: action */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n color: var(--nile-side-bar-footer-icon-color, #6b7280);\n margin-left: auto;\n }\n\n \n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400);\n \n }\n \n :host([collapsed][type='avatar']) .footer-item {\n padding: 3px;\n \n}\n \n:host([collapsed][type='avatar']) ::slotted([slot='text']),\n:host([collapsed][type='avatar']) ::slotted([slot='action']) {\n display: none;\n}\n\n:host([collapsed]) .footer-item{\n height: 38px;\n width: 38px;\n}\n\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-footer-item.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-item.css.cjs.js","sources":["../../../src/nile-side-bar-footer-item/nile-side-bar-footer-item.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n width: 100%;\n }\n\n .footer-item {\n display: flex;\n align-items: center;\n\tjustify-content: flex-start;\n padding: 12px;\n font-size: 0.875rem;\n color: var(--nile-side-bar-footer-color, #374151);\n cursor: pointer;\n border-radius: var(--nile-side-bar-footer-radius, 0.375rem);\n transition: background 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: hidden;\n line-height: 0;\n }\n\n .footer-item:hover {\n background: var(--nile-side-bar-footer-hover-bg, #f3f4f6);\n }\n\n /* left: icon */\n ::slotted([slot='icon']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n margin-right: 0.5rem;\n }\n\n /* middle: text */\n ::slotted([slot='text']) {\n flex-grow: 1;\n min-width: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n /* right: action */\n ::slotted([slot='action']) {\n flex-shrink: 0;\n font-size: 1.25rem;\n color: var(--nile-side-bar-footer-icon-color, #6b7280);\n margin-left: auto;\n }\n\n \n :host([type='support']) .footer-item {\n background: var(--nile-colors-neutral-400);\n \n }\n \n :host([collapsed][type='avatar']) .footer-item {\n padding: 3px;\n \n}\n \n:host([collapsed][type='avatar']) ::slotted([slot='text']),\n:host([collapsed][type='avatar']) ::slotted([slot='action']) {\n display: none;\n}\n\n:host([collapsed]) .footer-item{\n height: 38px;\n width: 38px;\n}\n\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import{css as o}from"lit";const t=o`
|
|
2
|
-
:host {
|
|
3
|
-
display: block;
|
|
4
|
-
width: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.footer-item {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: flex-start;
|
|
11
|
-
padding: 12px;
|
|
12
|
-
font-size: 0.875rem;
|
|
13
|
-
color: var(--nile-side-bar-footer-color, #374151);
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
border-radius: var(--nile-side-bar-footer-radius, 0.375rem);
|
|
16
|
-
transition: background 0.2s ease;
|
|
17
|
-
width: 100%;
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
line-height: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.footer-item:hover {
|
|
24
|
-
background: var(--nile-side-bar-footer-hover-bg, #f3f4f6);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* left: icon */
|
|
28
|
-
::slotted([slot='icon']) {
|
|
29
|
-
flex-shrink: 0;
|
|
30
|
-
font-size: 1.25rem;
|
|
31
|
-
margin-right: 0.5rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* middle: text */
|
|
35
|
-
::slotted([slot='text']) {
|
|
36
|
-
flex-grow: 1;
|
|
37
|
-
min-width: 0;
|
|
38
|
-
white-space: nowrap;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
text-overflow: ellipsis;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* right: action */
|
|
44
|
-
::slotted([slot='action']) {
|
|
45
|
-
flex-shrink: 0;
|
|
46
|
-
font-size: 1.25rem;
|
|
47
|
-
color: var(--nile-side-bar-footer-icon-color, #6b7280);
|
|
48
|
-
margin-left: auto;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
:host([type='support']) .footer-item {
|
|
53
|
-
background: var(--nile-colors-neutral-400);
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
:host([collapsed][type='avatar']) .footer-item {
|
|
58
|
-
padding: 3px;
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
:host([collapsed][type='avatar']) ::slotted([slot='text']),
|
|
63
|
-
:host([collapsed][type='avatar']) ::slotted([slot='action']) {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host([collapsed]) .footer-item{
|
|
68
|
-
height: 38px;
|
|
69
|
-
width: 38px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
`;export{t as s};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as r,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-side-bar-footer-item.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";let l=class extends i{constructor(){super(...arguments),this.type=null}static get styles(){return[o]}render(){return e`
|
|
2
|
-
<div part="base" class="footer-item">
|
|
3
|
-
<slot name="icon" part="icon"></slot>
|
|
4
|
-
<slot name="text" part="text"></slot>
|
|
5
|
-
<slot name="action" part="action"></slot>
|
|
6
|
-
</div>
|
|
7
|
-
`}};t([r({type:String,reflect:!0})],l.prototype,"type",void 0),l=t([s("nile-side-bar-footer-item")],l);export{l as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-footer-text.cjs.js","tslib","lit","lit/decorators.js","../internal/nile-element.cjs.js","./nile-side-bar-footer-text.css.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarFooterTextCjsJs){_export("NileSideBarFooterText",_nileSideBarFooterTextCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_internalNileElementCjsJs){},function(_nileSideBarFooterTextCssCjsJs){}],execute:function execute(){}};});
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as NileSideBarFooterText}from"./nile-side-bar-footer-text.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"../internal/nile-element.esm.js";import"./nile-side-bar-footer-text.css.esm.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","../internal/nile-element.cjs.js","./nile-side-bar-footer-text.css.cjs.js"],function(_export,_context){"use strict";var t,s,e,i,r,o,_templateObject,_templateObject2,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){s=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_nileSideBarFooterTextCssCjsJs){o=_nileSideBarFooterTextCssCjsJs.s;}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_r){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.text="",_this.subtext="";return _this;}_inherits(l,_r);return _createClass(l,[{key:"render",value:function render(){return s(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div class=\"footer-text\">\n <div class=\"main\">","</div>\n ","\n </div>\n "])),this.text,this.subtext?s(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<div class=\"sub\">","</div>"])),this.subtext):null);}}],[{key:"styles",get:function get(){return[o];}}]);}(r));t([e({type:String})],l.prototype,"text",void 0),t([e({type:String})],l.prototype,"subtext",void 0),_export("N",l=t([i("nile-side-bar-footer-text")],l));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-footer-text.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-text.cjs.js","sources":["../../../src/nile-side-bar-footer-text/nile-side-bar-footer-text.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, css, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport NileElement from '../internal/nile-element';\nimport { styles } from './nile-side-bar-footer-text.css';\n\n/**\n * Nile side-bar-footer-text component.\n *\n * @tag nile-side-bar-footer-text\n *\n * @property {string} text - The main text (e.g. user name).\n * @property {string} subtext - The sub text (e.g. organization/role).\n */\n@customElement('nile-side-bar-footer-text')\nexport class NileSideBarFooterText extends NileElement {\n /** Main text (e.g., name) */\n @property({ type: String }) text: string = '';\n\n /** Sub text (e.g., org/role) */\n @property({ type: String }) subtext: string = '';\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n public render(): TemplateResult {\n return html`\n <div class=\"footer-text\">\n <div class=\"main\">${this.text}</div>\n ${this.subtext\n ? html`<div class=\"sub\">${this.subtext}</div>`\n : null}\n </div>\n `;\n }\n}\n\nexport default NileSideBarFooterText;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-footer-text': NileSideBarFooterText;\n }\n}\n"],"names":["NileSideBarFooterText","l","this","text","subtext","_this","_inherits","_r","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","_templateObject2","__decorate","get","styles","NileElement","property","type","String","prototype","customElement"],"mappings":"grGAqBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,qEAEuBC,EAAAA,KAAAA,CAAIC,IAAW,CAAA,EAAA,CAGfD,KAAAA,CAAOE,OAAAA,CAAW,EAgB/C,QAAAC,KAAA,EAdQC,SAAA,CAAAL,CAAA,CAAAM,EAAA,SAAAC,YAAA,CAAAP,CAAA,GAAAQ,GAAA,UAAAC,KAAA,CAIA,SAAAC,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,mHAEaZ,IAAKC,CAAAA,IAAAA,CACvBD,IAAAA,CAAKE,OACHQ,CAAAA,CAAI,CAAAG,gBAAA,GAAAA,gBAAA,CAAAD,sBAAA,oCAAoBZ,IAAAA,CAAKE,OAC7B,EAAA,IAAA,EAGT,CAlB2BY,KAAAA,GAAAA,UAAAA,GAAAA,CAKrB,SAAAC,IAAA,CACL,CAAA,MAAO,CAACC,CACT,CAAA,EAEM,MAXkCC,CAAAA,GAEbH,CAAAA,CAAA,CAA3BI,CAAAA,CAAS,CAAEC,IAAAA,CAAMC,UAA4BtB,CAAAuB,CAAAA,SAAAA,CAAA,MAAA,CAAA,IAAA,EAAA,CAAA,CAGlBP,CAAA,CAAA,CAA3BI,EAAS,CAAEC,IAAAA,CAAMC,MAA+BtB,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAuB,SAAA,CAAA,SAAA,CAAA,IAAA,EALtCvB,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAqBgB,CAAA,CAAA,CADjCQ,CAAc,CAAA,2BAAA,CAAA,CAAA,CACFxB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){e=_lit.css;}],execute:function execute(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n line-height: 1.2;\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .main {\n font-size: 0.95rem;\n font-weight: 500;\n color: var(--nile-side-bar-footer-text-color, #111827);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: 0.8rem;\n color: var(--nile-side-bar-footer-subtext-color, #6b7280);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-footer-text.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-footer-text.css.cjs.js","sources":["../../../src/nile-side-bar-footer-text/nile-side-bar-footer-text.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: block;\n line-height: 1.2;\n }\n\n .footer-text {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .main {\n font-size: 0.95rem;\n font-weight: 500;\n color: var(--nile-side-bar-footer-text-color, #111827);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub {\n font-size: 0.8rem;\n color: var(--nile-side-bar-footer-subtext-color, #6b7280);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import{css as e}from"lit";const o=e`
|
|
2
|
-
:host {
|
|
3
|
-
display: block;
|
|
4
|
-
line-height: 1.2;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.footer-text {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.main {
|
|
14
|
-
font-size: 0.95rem;
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
color: var(--nile-side-bar-footer-text-color, #111827);
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
text-overflow: ellipsis;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.sub {
|
|
23
|
-
font-size: 0.8rem;
|
|
24
|
-
color: var(--nile-side-bar-footer-subtext-color, #6b7280);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
}
|
|
29
|
-
`;export{o as s};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as s}from"lit";import{property as e,customElement as i}from"lit/decorators.js";import{N as r}from"../internal/nile-element.esm.js";import{s as o}from"./nile-side-bar-footer-text.css.esm.js";let l=class extends r{constructor(){super(...arguments),this.text="",this.subtext=""}static get styles(){return[o]}render(){return s`
|
|
2
|
-
<div class="footer-text">
|
|
3
|
-
<div class="main">${this.text}</div>
|
|
4
|
-
${this.subtext?s`<div class="sub">${this.subtext}</div>`:null}
|
|
5
|
-
</div>
|
|
6
|
-
`}};t([e({type:String})],l.prototype,"text",void 0),t([e({type:String})],l.prototype,"subtext",void 0),l=t([i("nile-side-bar-footer-text")],l);export{l as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupCjsJs){_export("NileSideBarGroup",_nileSideBarGroupCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as NileSideBarGroup}from"./nile-side-bar-group.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group.css.esm.js";import"../internal/nile-element.esm.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-side-bar-group.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,r,s,i,o,_templateObject,_templateObject2,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){r=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileSideBarGroupCssCjsJs){i=_nileSideBarGroupCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_o){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.label="",_this.footer=!1,_this.divider=!1;return _this;}_inherits(l,_o);return _createClass(l,[{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <section\n part=\"base\"\n class=\"side-bar-group\"\n role=\"list\"\n aria-label=","\n ?data-footer=","\n >\n ","\n <slot></slot>\n </section>\n "])),this.label||"Sidebar group",this.footer,this.label?e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<div part=\"label\" class=\"group-label\">","</div>"])),this.label):null);}}],[{key:"styles",get:function get(){return[i];}}]);}(o));t([r({type:String})],l.prototype,"label",void 0),t([r({type:Boolean,reflect:!0})],l.prototype,"footer",void 0),t([r({type:Boolean,reflect:!0})],l.prototype,"divider",void 0),_export("N",l=t([s("nile-side-bar-group")],l));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group.cjs.js","sources":["../../../src/nile-side-bar-group/nile-side-bar-group.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-group.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-group component.\n *\n * A logical grouping of sidebar items, optionally with a label and/or footer placement.\n *\n * @tag nile-side-bar-group\n *\n * @slot - Default slot for group items (nile-side-bar-group-item)\n * @csspart base - The group container\n * @csspart label - The group label element\n */\n@customElement('nile-side-bar-group')\nexport class NileSideBarGroup extends NileElement {\n /**\n * Optional label for the group.\n */\n @property({ type: String }) label: string = '';\n\n /**\n * Marks this group as footer (sticks to bottom of sidebar).\n */\n @property({ type: Boolean, reflect: true }) footer: boolean = false;\n @property({ type: Boolean, reflect: true })divider = false;\n\n\n /**\n * The styles for nile-side-bar-group\n * @remarks Extendable via super if needed\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n /* #region Render */\n\n public render(): TemplateResult {\n return html`\n <section\n part=\"base\"\n class=\"side-bar-group\"\n role=\"list\"\n aria-label=${this.label || 'Sidebar group'}\n ?data-footer=${this.footer}\n >\n ${this.label\n ? html`<div part=\"label\" class=\"group-label\">${this.label}</div>`\n : null}\n <slot></slot>\n </section>\n `;\n }\n\n /* #endregion */\n}\n\nexport default NileSideBarGroup;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group': NileSideBarGroup;\n }\n}\n"],"names":["NileSideBarGroup","_o","l","this","label","footer","divider","_this","_inherits","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","_templateObject2","get","styles","NileElement","__decorate","property","type","String","prototype","Boolean","reflect","customElement"],"mappings":"gqGAwBaA,CAAN,uBAAAC,EAAA,EAAA,SAAAC,EAAA,uEAIuBC,KAAAA,CAAKC,KAAAA,CAAW,GAKAD,KAAAA,CAAME,MAAAA,CAAAA,CAAY,CACnBF,CAAAA,KAAAA,CAAOG,SAAG,CA+BtD,QAAAC,KAAA,EAxBQC,SAAA,CAAAN,CAAA,CAAAD,EAAA,SAAAQ,YAAA,CAAAP,CAAA,GAAAQ,GAAA,UAAAC,KAAA,CAMA,SAAAC,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,+NAKMZ,IAAAA,CAAKC,KAAS,EAAA,eAAA,CACZD,IAAKE,CAAAA,MAAAA,CAElBF,IAAAA,CAAKC,KACHS,CAAAA,CAAI,CAAAG,gBAAA,GAAAA,gBAAA,CAAAD,sBAAA,2DAAyCZ,IAAAA,CAAKC,KAClD,EAAA,IAAA,EAIT,CAAA,KAAAM,GAAA,UAAAO,GAAA,CArBM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CAAAA,CACT,EAIM,MAvB6BC,CAA/B,GAIuBC,EAAA,CAA3BC,CAAAA,CAAS,CAAEC,IAAAA,CAAMC,UAA6BvB,CAAAwB,CAAAA,SAAAA,CAAA,OAAA,CAAA,IAAA,EAAA,CAAA,CAKHJ,EAAA,CAA3CC,CAAAA,CAAS,CAAEC,IAAMG,CAAAA,OAAAA,CAASC,SAAS,CAAgC1B,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAwB,SAAA,CAAA,QAAA,CAAA,IAAA,IACzBJ,CAAA,CAAA,CAA1CC,EAAS,CAAEC,IAAAA,CAAMG,QAASC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuB1B,CAAAwB,CAAAA,SAAAA,CAAA,cAAA,EAVhDxB,CAAAA,CAAAA,OAAAA,KAAAA,CAAAA,CAAgBoB,EAAA,CAD5BO,CAAAA,CAAc,wBACF3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",e=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--nile-spacing-xs);\n padding-left: var(--nile-spacing-md);\n padding-right: var(--nile-spacing-md);\n gap: 12px;\n }\n\n\n :host([footer]) {\n margin-top: auto;\n margin-bottom: var(--nile-spacing-md);\n }\n\n .group-label {\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n margin-bottom: var(--nile-spacing-xs);\n }\n :host([divider])::before {\n content: \"\";\n display: block;\n height: 1px;\n background: var(--nile-side-bar-group-divider, #e5e7eb);\n margin-top: var(--nile-spacing-xs);\n max-width: 192px;\n margin: auto;\n}\n \n.side-bar-group {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs)\n}\n\n\n:host ::slotted(nile-side-bar-group-item:first-child) {\n margin-top: var(--nile-spacing-xs);\n}\n\n:host([collapsed]) .side-bar-group {\nalign-items: center;\njustify-content: center;\n}\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group.css.cjs.js","sources":["../../../src/nile-side-bar-group/nile-side-bar-group.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/**\n * SideBarGroup CSS\n */\nexport const styles = css`\n :host {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--nile-spacing-xs);\n padding-left: var(--nile-spacing-md);\n padding-right: var(--nile-spacing-md);\n gap: 12px;\n }\n\n\n :host([footer]) {\n margin-top: auto;\n margin-bottom: var(--nile-spacing-md);\n }\n\n .group-label {\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n margin-bottom: var(--nile-spacing-xs);\n }\n :host([divider])::before {\n content: \"\";\n display: block;\n height: 1px;\n background: var(--nile-side-bar-group-divider, #e5e7eb);\n margin-top: var(--nile-spacing-xs);\n max-width: 192px;\n margin: auto;\n}\n \n.side-bar-group {\n display: flex;\n flex-direction: column;\n gap: var(--nile-spacing-xs)\n}\n\n\n:host ::slotted(nile-side-bar-group-item:first-child) {\n margin-top: var(--nile-spacing-xs);\n}\n\n:host([collapsed]) .side-bar-group {\nalign-items: center;\njustify-content: center;\n}\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAKaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import{css as i}from"lit";const e=i`
|
|
2
|
-
:host {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
padding-bottom: var(--nile-spacing-xs);
|
|
6
|
-
padding-left: var(--nile-spacing-md);
|
|
7
|
-
padding-right: var(--nile-spacing-md);
|
|
8
|
-
gap: 12px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
:host([footer]) {
|
|
13
|
-
margin-top: auto;
|
|
14
|
-
margin-bottom: var(--nile-spacing-md);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.group-label {
|
|
18
|
-
font-weight: 600;
|
|
19
|
-
text-transform: uppercase;
|
|
20
|
-
letter-spacing: 0.05em;
|
|
21
|
-
margin-bottom: var(--nile-spacing-xs);
|
|
22
|
-
}
|
|
23
|
-
:host([divider])::before {
|
|
24
|
-
content: "";
|
|
25
|
-
display: block;
|
|
26
|
-
height: 1px;
|
|
27
|
-
background: var(--nile-side-bar-group-divider, #e5e7eb);
|
|
28
|
-
margin-top: var(--nile-spacing-xs);
|
|
29
|
-
max-width: 192px;
|
|
30
|
-
margin: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.side-bar-group {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
gap: var(--nile-spacing-xs)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
:host ::slotted(nile-side-bar-group-item:first-child) {
|
|
41
|
-
margin-top: var(--nile-spacing-xs);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host([collapsed]) .side-bar-group {
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
}
|
|
48
|
-
`;export{e as s};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as r,customElement as s}from"lit/decorators.js";import{s as i}from"./nile-side-bar-group.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let l=class extends o{constructor(){super(...arguments),this.label="",this.footer=!1,this.divider=!1}static get styles(){return[i]}render(){return t`
|
|
2
|
-
<section
|
|
3
|
-
part="base"
|
|
4
|
-
class="side-bar-group"
|
|
5
|
-
role="list"
|
|
6
|
-
aria-label=${this.label||"Sidebar group"}
|
|
7
|
-
?data-footer=${this.footer}
|
|
8
|
-
>
|
|
9
|
-
${this.label?t`<div part="label" class="group-label">${this.label}</div>`:null}
|
|
10
|
-
<slot></slot>
|
|
11
|
-
</section>
|
|
12
|
-
`}};e([r({type:String})],l.prototype,"label",void 0),e([r({type:Boolean,reflect:!0})],l.prototype,"footer",void 0),e([r({type:Boolean,reflect:!0})],l.prototype,"divider",void 0),l=e([s("nile-side-bar-group")],l);export{l as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group-item.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemCjsJs){_export("NileSideBarGroupItem",_nileSideBarGroupItemCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as NileSideBarGroupItem}from"./nile-side-bar-group-item.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item.css.esm.js";import"../internal/nile-element.esm.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-side-bar-group-item.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,s,i,o,l,_templateObject,_templateObject2,_templateObject3,_templateObject4,r;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemCssCjsJs){o=_nileSideBarGroupItemCssCjsJs.s;},function(_internalNileElementCjsJs){l=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",r=/*#__PURE__*/function(_l){function r(){var _this;_classCallCheck(this,r);_this=_callSuper(this,r,arguments),_this.href=null,_this.active=!1,_this.type="default",_this.expanded=!1;return _this;}_inherits(r,_l);return _createClass(r,[{key:"toggleExpand",value:function toggleExpand(){"dropdown"!==this.type&&"popover"!==this.type||(this.expanded=!this.expanded);}},{key:"connectedCallback",value:function connectedCallback(){_superPropGet(r,"connectedCallback",this,3)([]),this.href&&window.location.pathname===this.href&&(this.active=!0);}},{key:"handleSelect",value:function handleSelect(t){var _this$textContent;this.href||t.preventDefault(),this.dispatchEvent(new CustomEvent("nile-select",{bubbles:!0,composed:!0,detail:{href:this.href,text:((_this$textContent=this.textContent)===null||_this$textContent===void 0?void 0:_this$textContent.trim())||"",type:this.type}}));}},{key:"render",value:function render(){var _this2=this;var t="dropdown"===this.type||"popover"===this.type;return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div part=\"base\" class=\"group-item\" role=\"listitem\" ?data-expanded=",">\n ","\n </div>\n\n ","\n "])),this.expanded,this.href?e(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <a\n part=\"link\"\n class=\"item-link\"\n href=","\n @click=","\n >\n <slot name=\"icon\"></slot>\n <slot name=\"text\"></slot>\n <slot name=\"trigger\"></slot>\n </a>\n "])),this.href,this.handleSelect):e(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <div\n part=\"link\"\n class=\"item-link\"\n @click=","\n >\n <slot name=\"icon\"></slot>\n <slot name=\"text\"></slot>\n <slot name=\"trigger\"></slot>\n </div>\n "])),function(e){_this2.handleSelect(e),t&&_this2.toggleExpand();}),t?e(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n <div\n part=\"content\"\n class=\"item-content\"\n role=","\n ?hidden=","\n >\n <slot name=\"content\"></slot>\n </div>\n "])),"dropdown"===this.type?"menu":"dialog",!this.expanded):null);}}],[{key:"styles",get:function get(){return[o];}}]);}(l));t([s({type:String})],r.prototype,"href",void 0),t([s({type:Boolean,reflect:!0,attribute:!0})],r.prototype,"active",void 0),t([s({type:String,reflect:!0})],r.prototype,"type",void 0),t([s({type:Boolean,reflect:!0})],r.prototype,"expanded",void 0),_export("N",r=t([i("nile-side-bar-group-item")],r));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item.cjs.js","sources":["../../../src/nile-side-bar-group-item/nile-side-bar-group-item.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-group-item.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-group-item component.\n *\n * @tag nile-side-bar-group-item\n *\n * @slot icon - Slot for the item icon\n * @slot text - Slot for the item text\n * @slot trigger - Slot for chevron/trigger icons\n * @slot content - Slot for dropdown/popover content\n *\n * @csspart base - Wrapper for the group item\n * @csspart link - The clickable row (div or anchor)\n * @csspart content - Content container (for dropdown/popover)\n */\n@customElement('nile-side-bar-group-item')\nexport class NileSideBarGroupItem extends NileElement {\n /**\n * Optional navigation href. If provided, item renders as <a>.\n */\n @property({ type: String }) href: string | null = null;\n\n /**\n * Whether the item is currently active.\n */\n @property({ type: Boolean, reflect: true, attribute: true }) active = false;\n\n /**\n * Type of item: default | dropdown | popover\n */\n @property({ type: String, reflect: true })\n type: 'default' | 'dropdown' | 'popover' = 'default';\n\n /**\n * Whether dropdown/popover content is expanded.\n */\n @property({ type: Boolean, reflect: true })\n expanded: boolean = false;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private toggleExpand() {\n if (this.type === 'dropdown' || this.type === 'popover') {\n this.expanded = !this.expanded;\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.href && window.location.pathname === this.href) {\n this.active = true;\n }\n }\n\n /**\n * Emit nile-select whenever the item is clicked.\n */\n private handleSelect(e: Event) {\n \n if (!this.href) {\n e.preventDefault();\n }\n\n this.dispatchEvent(\n new CustomEvent('nile-select', {\n bubbles: true,\n composed: true,\n detail: {\n href: this.href,\n text: this.textContent?.trim() || '',\n type: this.type,\n },\n })\n );\n }\n\n public render(): TemplateResult {\n const interactive = this.type === 'dropdown' || this.type === 'popover';\n\n return html`\n <div part=\"base\" class=\"group-item\" role=\"listitem\" ?data-expanded=${this.expanded}>\n ${this.href\n ? html`\n <a\n part=\"link\"\n class=\"item-link\"\n href=${this.href}\n @click=${this.handleSelect}\n >\n <slot name=\"icon\"></slot>\n <slot name=\"text\"></slot>\n <slot name=\"trigger\"></slot>\n </a>\n `\n : html`\n <div\n part=\"link\"\n class=\"item-link\"\n @click=${(e: Event) => {\n this.handleSelect(e);\n if (interactive) this.toggleExpand();\n }}\n >\n <slot name=\"icon\"></slot>\n <slot name=\"text\"></slot>\n <slot name=\"trigger\"></slot>\n </div>\n `}\n </div>\n\n ${interactive\n ? html`\n <div\n part=\"content\"\n class=\"item-content\"\n role=${this.type === 'dropdown' ? 'menu' : 'dialog'}\n ?hidden=${!this.expanded}\n >\n <slot name=\"content\"></slot>\n </div>\n `\n : null}\n `;\n }\n}\n\nexport default NileSideBarGroupItem;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item': NileSideBarGroupItem;\n }\n}\n"],"names":["NileSideBarGroupItem","r","constructor","this","href","active","type","expanded","_this","_inherits","_l","_createClass","key","value","toggleExpand","connectedCallback","super","window","location","pathname","handleSelect","e","preventDefault","dispatchEvent","CustomEvent","bubbles","composed","detail","text","textContent","trim","render","interactive","html","_templateObject","_taggedTemplateLiteral","_templateObject2","_templateObject3","_templateObject4","__decorate","get","styles","NileElement","property","String","prototype","Boolean","reflect","attribute","customElement"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var i,_templateObject,e;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){i=_lit.css;}],execute:function execute(){_export("s",e=i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t :host {\n display: block;\n}\n\n.group-item {\n display: flex;\n flex-direction: column;\n}\n\n.item-link {\n display: flex;\n align-items: center;\n gap: 0.75rem;\npadding-top: var(--nile-spacing-lg);\npadding-bottom: var(--nile-spacing-lg);\npadding-left: var(--nile-spacing-md);\npadding-right: var(--nile-spacing-md);\n cursor: pointer;\n color: #111;\n text-decoration: none;\n font-size: 14px;\n line-height: 1.4;\n}\n\n.item-link:hover {\n background: var(--nile-colors-neutral-400);\n border-radius: var(--nile-radius-sm);\n}\n\n.item-content {\n display: block;\n padding-left: 2.5rem; \n}\n\n::slotted(nile-side-bar-group-item-icon) {\n flex-shrink: 0;\n}\n\n::slotted(nile-side-bar-group-item-text) {\n flex-grow: 1;\n}\n:host([active]) [part=\"link\"] {\n background: var(--nile-colors-primary-100);\n border-radius: var(--nile-radius-sm);\n font-weight: 600;\n}\n\n:host([collapsed]) .group-item {\nheight: 38px;\nwidth: 38px;\n}\n\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item.css.cjs.js","sources":["../../../src/nile-side-bar-group-item/nile-side-bar-group-item.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SideBarGroupItem CSS\n */\nexport const styles = css`\n\t :host {\n display: block;\n}\n\n.group-item {\n display: flex;\n flex-direction: column;\n}\n\n.item-link {\n display: flex;\n align-items: center;\n gap: 0.75rem;\npadding-top: var(--nile-spacing-lg);\npadding-bottom: var(--nile-spacing-lg);\npadding-left: var(--nile-spacing-md);\npadding-right: var(--nile-spacing-md);\n cursor: pointer;\n color: #111;\n text-decoration: none;\n font-size: 14px;\n line-height: 1.4;\n}\n\n.item-link:hover {\n background: var(--nile-colors-neutral-400);\n border-radius: var(--nile-radius-sm);\n}\n\n.item-content {\n display: block;\n padding-left: 2.5rem; \n}\n\n::slotted(nile-side-bar-group-item-icon) {\n flex-shrink: 0;\n}\n\n::slotted(nile-side-bar-group-item-text) {\n flex-grow: 1;\n}\n:host([active]) [part=\"link\"] {\n background: var(--nile-colors-primary-100);\n border-radius: var(--nile-radius-sm);\n font-weight: 600;\n}\n\n:host([collapsed]) .group-item {\nheight: 38px;\nwidth: 38px;\n}\n\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import{css as i}from"lit";const e=i`
|
|
2
|
-
:host {
|
|
3
|
-
display: block;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.group-item {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.item-link {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: 0.75rem;
|
|
15
|
-
padding-top: var(--nile-spacing-lg);
|
|
16
|
-
padding-bottom: var(--nile-spacing-lg);
|
|
17
|
-
padding-left: var(--nile-spacing-md);
|
|
18
|
-
padding-right: var(--nile-spacing-md);
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
color: #111;
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
line-height: 1.4;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.item-link:hover {
|
|
27
|
-
background: var(--nile-colors-neutral-400);
|
|
28
|
-
border-radius: var(--nile-radius-sm);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.item-content {
|
|
32
|
-
display: block;
|
|
33
|
-
padding-left: 2.5rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
::slotted(nile-side-bar-group-item-icon) {
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
::slotted(nile-side-bar-group-item-text) {
|
|
41
|
-
flex-grow: 1;
|
|
42
|
-
}
|
|
43
|
-
:host([active]) [part="link"] {
|
|
44
|
-
background: var(--nile-colors-primary-100);
|
|
45
|
-
border-radius: var(--nile-radius-sm);
|
|
46
|
-
font-weight: 600;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
:host([collapsed]) .group-item {
|
|
50
|
-
height: 38px;
|
|
51
|
-
width: 38px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
`;export{e as s};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as s,customElement as i}from"lit/decorators.js";import{s as o}from"./nile-side-bar-group-item.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";let r=class extends l{constructor(){super(...arguments),this.href=null,this.active=!1,this.type="default",this.expanded=!1}static get styles(){return[o]}toggleExpand(){"dropdown"!==this.type&&"popover"!==this.type||(this.expanded=!this.expanded)}connectedCallback(){super.connectedCallback(),this.href&&window.location.pathname===this.href&&(this.active=!0)}handleSelect(t){this.href||t.preventDefault(),this.dispatchEvent(new CustomEvent("nile-select",{bubbles:!0,composed:!0,detail:{href:this.href,text:this.textContent?.trim()||"",type:this.type}}))}render(){const t="dropdown"===this.type||"popover"===this.type;return e`
|
|
2
|
-
<div part="base" class="group-item" role="listitem" ?data-expanded=${this.expanded}>
|
|
3
|
-
${this.href?e`
|
|
4
|
-
<a
|
|
5
|
-
part="link"
|
|
6
|
-
class="item-link"
|
|
7
|
-
href=${this.href}
|
|
8
|
-
@click=${this.handleSelect}
|
|
9
|
-
>
|
|
10
|
-
<slot name="icon"></slot>
|
|
11
|
-
<slot name="text"></slot>
|
|
12
|
-
<slot name="trigger"></slot>
|
|
13
|
-
</a>
|
|
14
|
-
`:e`
|
|
15
|
-
<div
|
|
16
|
-
part="link"
|
|
17
|
-
class="item-link"
|
|
18
|
-
@click=${e=>{this.handleSelect(e),t&&this.toggleExpand()}}
|
|
19
|
-
>
|
|
20
|
-
<slot name="icon"></slot>
|
|
21
|
-
<slot name="text"></slot>
|
|
22
|
-
<slot name="trigger"></slot>
|
|
23
|
-
</div>
|
|
24
|
-
`}
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
${t?e`
|
|
28
|
-
<div
|
|
29
|
-
part="content"
|
|
30
|
-
class="item-content"
|
|
31
|
-
role=${"dropdown"===this.type?"menu":"dialog"}
|
|
32
|
-
?hidden=${!this.expanded}
|
|
33
|
-
>
|
|
34
|
-
<slot name="content"></slot>
|
|
35
|
-
</div>
|
|
36
|
-
`:null}
|
|
37
|
-
`}};t([s({type:String})],r.prototype,"href",void 0),t([s({type:Boolean,reflect:!0,attribute:!0})],r.prototype,"active",void 0),t([s({type:String,reflect:!0})],r.prototype,"type",void 0),t([s({type:Boolean,reflect:!0})],r.prototype,"expanded",void 0),r=t([i("nile-side-bar-group-item")],r);export{r as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group-item-content.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemContentCjsJs){_export("NileSideBarGroupItemContent",_nileSideBarGroupItemContentCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemContentCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as NileSideBarGroupItemContent}from"./nile-side-bar-group-item-content.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item-content.css.esm.js";import"../internal/nile-element.esm.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-side-bar-group-item-content.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,r,s,o,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){e=_lit.html;},function(_litDecoratorsJs){r=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemContentCssCjsJs){s=_nileSideBarGroupItemContentCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",i=/*#__PURE__*/function(_o){function i(){_classCallCheck(this,i);return _callSuper(this,i,arguments);}_inherits(i,_o);return _createClass(i,[{key:"render",value:function render(){return e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t\t<slot> </slot>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[s];}}]);}(o));_export("N",i=t([r("nile-side-bar-group-item-content")],i));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-content.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-content.cjs.js","sources":["../../../src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {LitElement, html, CSSResultArray, TemplateResult} from 'lit';\nimport { customElement, property} from 'lit/decorators.js';\nimport {styles} from './nile-side-bar-group-item-content.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-group-item-content component.\n *\n * @tag nile-side-bar-group-item-content\n *\n */\n@customElement('nile-side-bar-group-item-content')\nexport class NileSideBarGroupItemContent extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-group-item-content\n\t * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`\n\t */\n\tpublic static get styles(): CSSResultArray {\n\t\treturn [styles];\n\t}\n\n\t/* #endregion */\n\n\t/* #region Methods */\n\n\t/**\n\t * Render method\n\t * @slot This is a slot test\n\t */\n\tpublic render(): TemplateResult {\n\t\treturn html`\n\t\t\t<slot> </slot>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarGroupItemContent;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item-content': NileSideBarGroupItemContent;\n }\n}"],"names":["NileSideBarGroupItemContent","render","html","_templateObject","_taggedTemplateLiteral","key","get","styles","NileElement","__decorate","customElement"],"mappings":"opGAoBaA,CAAAA,uBAAAA,EAAAA,WAAAA,EAAAA,EAAAA,eAAAA,MAAAA,CAAAA,SAAAA,UAAAA,MAAAA,CAAAA,CAAAA,SAAAA,GAAAA,SAAAA,CAAAA,CAAAA,CAAAA,EAAAA,SAAAA,YAAAA,CAAAA,CAAAA,GAAAA,GAAAA,UAAAA,KAAAA,CAkBL,SAAAC,MAAAA,CAAAA,CACN,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,uCAGX,CAAA,KAAAC,GAAA,UAAAC,GAAA,CAhBM,SAAAA,IAAA,EACN,MAAO,CAACC,EACR,EAUM,MAlByCC,CAMzC,GANKR,OAAAA,KAAAA,CAA2BS,CAAAA,CAAAA,CAAA,CADvCC,CAAAA,CAAc,qCACFV"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var o,_templateObject,t;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){o=_lit.css;}],execute:function execute(){_export("s",t=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t:host {\n\n\t}\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-content.css.cjs.js.map
|
package/dist/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-content.css.cjs.js","sources":["../../../src/nile-side-bar-group-item-content/nile-side-bar-group-item-content.css.ts"],"sourcesContent":["/**\n* Copyright Aquera Inc 2023\n*\n* This source code is licensed under the BSD-3-Clause license found in the\n* LICENSE file in the root directory of this source tree.\n*/\n\nimport {css} from 'lit';\n\n/**\n * SideBarGroupItemContent CSS\n */\nexport const styles = css`\n\t:host {\n\n\t}\n`;\n\nexport default [styles];"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as e}from"lit";import{customElement as r}from"lit/decorators.js";import{s}from"./nile-side-bar-group-item-content.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";let i=class extends o{static get styles(){return[s]}render(){return e`
|
|
2
|
-
<slot> </slot>
|
|
3
|
-
`}};i=t([r("nile-side-bar-group-item-content")],i);export{i as N};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group-item-icon.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item-icon.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemIconCjsJs){_export("NileSideBarGroupItemIcon",_nileSideBarGroupItemIconCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemIconCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
2
|
-
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as NileSideBarGroupItemIcon}from"./nile-side-bar-group-item-icon.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item-icon.css.esm.js";import"../internal/nile-element.esm.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}System.register(["tslib","lit","lit/decorators.js","./nile-side-bar-group-item-icon.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,i,s,e,n,o,_templateObject,_templateObject2,_templateObject3,_templateObject4,l;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}return{setters:[function(_tslib){t=_tslib.__decorate;},function(_lit){i=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;e=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemIconCssCjsJs){n=_nileSideBarGroupItemIconCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_o){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.icon="",_this.tooltip="",_this.sidebar=null;return _this;}_inherits(l,_o);return _createClass(l,[{key:"connectedCallback",value:function connectedCallback(){var _this2=this;if(this.hasAttribute("slot")||this.setAttribute("slot","icon"),_superPropGet(l,"connectedCallback",this,3)([]),this.sidebar=this.closest("nile-side-bar"),this.sidebar){var _t=new MutationObserver(function(){return _this2.requestUpdate();});_t.observe(this.sidebar,{attributes:!0,attributeFilter:["collapsed"]}),this._observer=_t;}}},{key:"disconnectedCallback",value:function disconnectedCallback(){var _this$_observer;_superPropGet(l,"disconnectedCallback",this,3)([]),(_this$_observer=this._observer)===null||_this$_observer===void 0?void 0:_this$_observer.disconnect();}},{key:"getSiblingText",value:function getSiblingText(){var _i$textContent$trim,_i$textContent;var t=this.parentElement,i=t===null||t===void 0?void 0:t.querySelector("nile-side-bar-group-item-text");return(_i$textContent$trim=i===null||i===void 0||(_i$textContent=i.textContent)===null||_i$textContent===void 0?void 0:_i$textContent.trim())!==null&&_i$textContent$trim!==void 0?_i$textContent$trim:"";}},{key:"render",value:function render(){var _this$sidebar;var t=!!((_this$sidebar=this.sidebar)!==null&&_this$sidebar!==void 0&&_this$sidebar.collapsed),s=this.tooltip||this.getSiblingText();return t&&s?i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <nile-tooltip distance=\"18\" content="," placement=\"right\" hoist>\n <slot>\n ","\n </slot>\n </nile-tooltip>\n "])),s,this.icon?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-icon size=\"14\" name=","></nile-icon>"])),this.icon):null):i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <slot>\n ","\n </slot>\n "])),this.icon?i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-icon name=","></nile-icon>"])),this.icon):null);}}],[{key:"styles",get:function get(){return[n];}}]);}(o));t([s({type:String,reflect:!0})],l.prototype,"icon",void 0),t([s({type:String})],l.prototype,"tooltip",void 0),_export("N",l=t([e("nile-side-bar-group-item-icon")],l));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-icon.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-icon.cjs.js","sources":["../../../src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { html, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-group-item-icon.css';\nimport NileElement from '../internal/nile-element';\nimport type { NileSideBar } from '../nile-side-bar/nile-side-bar';\n\n/**\n * Nile side-bar-group-item-icon component.\n *\n * @tag nile-side-bar-group-item-icon\n *\n * @attr icon - The name of the icon to render inside <nile-icon>\n * @attr tooltip - Tooltip text shown when sidebar is collapsed\n *\n * @slot - Optional slot to override the icon completely\n */\n@customElement('nile-side-bar-group-item-icon')\nexport class NileSideBarGroupItemIcon extends NileElement {\n /**\n * Name of the icon (passed to <nile-icon name=\"\">)\n */\n @property({ type: String, reflect: true })\n icon: string = '';\n\n /**\n * Tooltip text (auto-synced from sibling text if available)\n */\n @property({ type: String })\n tooltip: string = '';\n\n private sidebar: NileSideBar | null = null;\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n connectedCallback(): void {\n\tif (!this.hasAttribute('slot')) {\n\t\tthis.setAttribute('slot', 'icon');\n\t }\n\t \n super.connectedCallback();\n this.sidebar = this.closest('nile-side-bar') as NileSideBar | null;\n if (this.sidebar) {\n const observer = new MutationObserver(() => this.requestUpdate());\n observer.observe(this.sidebar, { attributes: true, attributeFilter: ['collapsed'] });\n (this as any)._observer = observer;\n }\n }\n\n disconnectedCallback(): void {\n super.disconnectedCallback();\n (this as any)._observer?.disconnect();\n }\n\n private getSiblingText(): string {\n const parent = this.parentElement;\n const textEl = parent?.querySelector('nile-side-bar-group-item-text');\n return textEl?.textContent?.trim() ?? '';\n }\n\n public render(): TemplateResult {\n const isCollapsed = !!this.sidebar?.collapsed;\n const text = this.tooltip || this.getSiblingText();\n\n if (isCollapsed && text) {\n return html`\n <nile-tooltip distance=\"18\" content=${text} placement=\"right\" hoist>\n <slot>\n ${this.icon ? html`<nile-icon size=\"14\" name=${this.icon}></nile-icon>` : null}\n </slot>\n </nile-tooltip>\n `;\n }\n\n return html`\n <slot>\n ${this.icon ? html`<nile-icon name=${this.icon}></nile-icon>` : null}\n </slot>\n `;\n }\n}\n\nexport default NileSideBarGroupItemIcon;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item-icon': NileSideBarGroupItemIcon;\n }\n}\n"],"names":["NileSideBarGroupItemIcon","l","this","icon","tooltip","sidebar","_this","_inherits","_o","_createClass","key","value","connectedCallback","hasAttribute","setAttribute","super","closest","observer","MutationObserver","requestUpdate","observe","attributes","attributeFilter","_observer","disconnectedCallback","disconnect","getSiblingText","_i$textContent$trim","_i$textContent","parent","parentElement","textEl","querySelector","textContent","trim","render","isCollapsed","collapsed","text","html","_templateObject","_taggedTemplateLiteral","_templateObject2","_templateObject3","_templateObject4","__decorate","get","styles","NileElement","property","type","String","reflect","prototype","customElement"],"mappings":"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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["lit"],function(_export,_context){"use strict";var t,_templateObject,i;function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}));}return{setters:[function(_lit){t=_lit.css;}],execute:function execute(){_export("s",i=t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-right: 12px;\n color: inherit;\n }\n\n ::slotted(nile-icon) {\n width: 100%;\n height: 100%;\n color: inherit;\n fill: currentColor;\n }\n\n \n :host-context(nile-side-bar[collapsed]) {\n margin-right: 0;\n width: 100%; \n justify-content: center;\n }\n\n nile-tooltip::part(body) {\n width: max-content;\n height: max-content;\n padding: var(--nile-spacing-sm);\n overflow-x: hidden;\n }\n"]))));}};});
|
|
2
|
-
//# sourceMappingURL=nile-side-bar-group-item-icon.css.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-icon.css.cjs.js","sources":["../../../src/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.css.ts"],"sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n margin-right: 12px;\n color: inherit;\n }\n\n ::slotted(nile-icon) {\n width: 100%;\n height: 100%;\n color: inherit;\n fill: currentColor;\n }\n\n \n :host-context(nile-side-bar[collapsed]) {\n margin-right: 0;\n width: 100%; \n justify-content: center;\n }\n\n nile-tooltip::part(body) {\n width: max-content;\n height: max-content;\n padding: var(--nile-spacing-sm);\n overflow-x: hidden;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"oTAEaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{css as t}from"lit";const i=t`
|
|
2
|
-
:host {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
flex-shrink: 0;
|
|
7
|
-
margin-right: 12px;
|
|
8
|
-
color: inherit;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
::slotted(nile-icon) {
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
color: inherit;
|
|
15
|
-
fill: currentColor;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
:host-context(nile-side-bar[collapsed]) {
|
|
20
|
-
margin-right: 0;
|
|
21
|
-
width: 100%;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
nile-tooltip::part(body) {
|
|
26
|
-
width: max-content;
|
|
27
|
-
height: max-content;
|
|
28
|
-
padding: var(--nile-spacing-sm);
|
|
29
|
-
overflow-x: hidden;
|
|
30
|
-
}
|
|
31
|
-
`;export{i as s};
|