@aquera/nile-elements 1.6.2 → 1.6.4
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 +16 -0
- package/demo/variables.css +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +527 -339
- package/dist/internal/accessibility/a11y.custom-value.enum.cjs.js +2 -0
- package/dist/internal/accessibility/a11y.custom-value.enum.cjs.js.map +1 -0
- package/dist/internal/accessibility/a11y.custom-value.enum.esm.js +1 -0
- package/dist/internal/accessibility/a11y.property.enum.cjs.js +2 -0
- package/dist/internal/accessibility/a11y.property.enum.cjs.js.map +1 -0
- package/dist/internal/accessibility/a11y.property.enum.esm.js +1 -0
- package/dist/internal/accessibility/a11y.role.enum.cjs.js +2 -0
- package/dist/internal/accessibility/a11y.role.enum.cjs.js.map +1 -0
- package/dist/internal/accessibility/a11y.role.enum.esm.js +1 -0
- package/dist/internal/accessibility/a11y.state.enum.cjs.js +2 -0
- package/dist/internal/accessibility/a11y.state.enum.cjs.js.map +1 -0
- package/dist/internal/accessibility/a11y.state.enum.esm.js +1 -0
- package/dist/internal/accessibility/accessibility.const.cjs.js +2 -0
- package/dist/internal/accessibility/accessibility.const.cjs.js.map +1 -0
- package/dist/internal/accessibility/accessibility.const.esm.js +1 -0
- package/dist/internal/accessibility/role.enum.cjs.js +2 -0
- package/dist/internal/accessibility/role.enum.cjs.js.map +1 -0
- package/dist/internal/accessibility/role.enum.esm.js +1 -0
- package/dist/internal/nile-element.cjs.js +1 -1
- package/dist/internal/nile-element.cjs.js.map +1 -1
- package/dist/internal/nile-element.esm.js +1 -1
- package/dist/nile-accordion/index.cjs.js +1 -1
- package/dist/nile-accordion/index.esm.js +1 -1
- package/dist/nile-accordion/nile-accordion.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordion.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordion.esm.js +2 -2
- package/dist/nile-auto-complete/index.cjs.js +1 -1
- package/dist/nile-auto-complete/index.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.esm.js +1 -1
- package/dist/nile-avatar/index.cjs.js +1 -1
- package/dist/nile-avatar/index.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.cjs.js.map +1 -1
- package/dist/nile-avatar/nile-avatar.esm.js +3 -1
- package/dist/nile-badge/index.cjs.js +1 -1
- package/dist/nile-badge/index.esm.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.cjs.js.map +1 -1
- package/dist/nile-badge/nile-badge.esm.js +2 -2
- package/dist/nile-breadcrumb/index.cjs.js +1 -1
- package/dist/nile-breadcrumb/index.esm.js +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.cjs.js.map +1 -1
- package/dist/nile-breadcrumb/nile-breadcrumb.esm.js +1 -1
- package/dist/nile-breadcrumb-item/index.cjs.js +1 -1
- package/dist/nile-breadcrumb-item/index.esm.js +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.cjs.js.map +1 -1
- package/dist/nile-breadcrumb-item/nile-breadcrumb-item.esm.js +4 -4
- package/dist/nile-button/index.cjs.js +1 -1
- package/dist/nile-button/index.esm.js +1 -1
- package/dist/nile-button/nile-button.cjs.js +1 -1
- package/dist/nile-button/nile-button.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.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 +5 -0
- package/dist/nile-button/nile-button.esm.js +1 -1
- package/dist/nile-button-filter/index.cjs.js +1 -1
- package/dist/nile-button-filter/index.esm.js +1 -1
- package/dist/nile-button-filter/nile-button-filter.cjs.js +1 -1
- package/dist/nile-button-filter/nile-button-filter.cjs.js.map +1 -1
- package/dist/nile-button-filter/nile-button-filter.esm.js +7 -7
- package/dist/nile-button-toggle/index.cjs.js +1 -1
- package/dist/nile-button-toggle/index.esm.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.cjs.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.cjs.js.map +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.esm.js +2 -2
- package/dist/nile-button-toggle-group/index.cjs.js +1 -1
- package/dist/nile-button-toggle-group/index.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.cjs.js.map +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.esm.js +1 -1
- package/dist/nile-calendar/index.cjs.js +1 -1
- package/dist/nile-calendar/index.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.cjs.js.map +1 -1
- package/dist/nile-calendar/nile-calendar.esm.js +4 -4
- package/dist/nile-card/index.cjs.js +1 -1
- package/dist/nile-card/index.esm.js +1 -1
- package/dist/nile-card/nile-card.cjs.js +1 -1
- package/dist/nile-card/nile-card.cjs.js.map +1 -1
- package/dist/nile-card/nile-card.esm.js +2 -2
- package/dist/nile-carousel/index.cjs.js +1 -1
- package/dist/nile-carousel/index.esm.js +1 -1
- package/dist/nile-carousel/nile-carousel-item/index.cjs.js +1 -1
- package/dist/nile-carousel/nile-carousel-item/index.esm.js +1 -1
- package/dist/nile-carousel/nile-carousel-item/nile-carousel-item.cjs.js +1 -1
- package/dist/nile-carousel/nile-carousel-item/nile-carousel-item.cjs.js.map +1 -1
- package/dist/nile-carousel/nile-carousel-item/nile-carousel-item.esm.js +2 -2
- package/dist/nile-carousel/nile-carousel.cjs.js +1 -1
- package/dist/nile-carousel/nile-carousel.cjs.js.map +1 -1
- package/dist/nile-carousel/nile-carousel.esm.js +1 -1
- package/dist/nile-checkbox/index.cjs.js +1 -1
- package/dist/nile-checkbox/index.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.cjs.js.map +1 -1
- package/dist/nile-checkbox/nile-checkbox.css.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.css.cjs.js.map +1 -1
- package/dist/nile-checkbox/nile-checkbox.css.esm.js +4 -0
- package/dist/nile-checkbox/nile-checkbox.esm.js +3 -3
- package/dist/nile-checkbox-group/index.cjs.js +2 -0
- package/dist/nile-checkbox-group/index.cjs.js.map +1 -0
- package/dist/nile-checkbox-group/index.esm.js +1 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.cjs.js +2 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.cjs.js.map +1 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.css.cjs.js +2 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.css.cjs.js.map +1 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.css.esm.js +68 -0
- package/dist/nile-checkbox-group/nile-checkbox-group.esm.js +56 -0
- package/dist/nile-chip/index.cjs.js +1 -1
- package/dist/nile-chip/index.esm.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.esm.js +2 -2
- package/dist/nile-circular-progressbar/index.cjs.js +1 -1
- package/dist/nile-circular-progressbar/index.esm.js +1 -1
- package/dist/nile-circular-progressbar/nile-circular-progressbar.cjs.js +1 -1
- package/dist/nile-circular-progressbar/nile-circular-progressbar.cjs.js.map +1 -1
- package/dist/nile-circular-progressbar/nile-circular-progressbar.esm.js +2 -2
- package/dist/nile-code-editor/index.cjs.js +1 -1
- package/dist/nile-code-editor/index.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
- package/dist/nile-content-editor/index.cjs.js +1 -1
- package/dist/nile-content-editor/index.esm.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.cjs.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.cjs.js.map +1 -1
- package/dist/nile-content-editor/nile-content-editor.esm.js +5 -5
- package/dist/nile-date-picker/index.cjs.js +1 -1
- package/dist/nile-date-picker/index.esm.js +1 -1
- package/dist/nile-date-picker/nile-date-picker.cjs.js +1 -1
- package/dist/nile-date-picker/nile-date-picker.cjs.js.map +1 -1
- package/dist/nile-date-picker/nile-date-picker.esm.js +1 -1
- package/dist/nile-detail/index.cjs.js +1 -1
- package/dist/nile-detail/index.esm.js +1 -1
- package/dist/nile-detail/nile-detail.cjs.js +1 -1
- package/dist/nile-detail/nile-detail.cjs.js.map +1 -1
- package/dist/nile-detail/nile-detail.esm.js +2 -2
- package/dist/nile-dialog/index.cjs.js +1 -1
- package/dist/nile-dialog/index.esm.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.cjs.js.map +1 -1
- package/dist/nile-dialog/nile-dialog.esm.js +2 -2
- package/dist/nile-divider/index.cjs.js +1 -1
- package/dist/nile-divider/index.esm.js +1 -1
- package/dist/nile-divider/nile-divider.cjs.js +1 -1
- package/dist/nile-divider/nile-divider.cjs.js.map +1 -1
- package/dist/nile-divider/nile-divider.esm.js +2 -2
- package/dist/nile-drawer/index.cjs.js +1 -1
- package/dist/nile-drawer/index.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.cjs.js.map +1 -1
- package/dist/nile-drawer/nile-drawer.esm.js +1 -1
- package/dist/nile-dropdown/index.cjs.js +1 -1
- package/dist/nile-dropdown/index.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.cjs.js.map +1 -1
- package/dist/nile-dropdown/nile-dropdown.esm.js +1 -1
- package/dist/nile-empty-state/index.cjs.js +1 -1
- package/dist/nile-empty-state/index.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.cjs.js.map +1 -1
- package/dist/nile-empty-state/nile-empty-state.esm.js +2 -2
- package/dist/nile-file-preview/index.cjs.js +1 -1
- package/dist/nile-file-preview/index.esm.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.cjs.js +1 -1
- package/dist/nile-file-preview/nile-file-preview.cjs.js.map +1 -1
- package/dist/nile-file-preview/nile-file-preview.esm.js +1 -1
- package/dist/nile-file-upload/index.cjs.js +1 -1
- package/dist/nile-file-upload/index.esm.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.cjs.js +1 -1
- package/dist/nile-file-upload/nile-file-upload.cjs.js.map +1 -1
- package/dist/nile-file-upload/nile-file-upload.esm.js +2 -2
- package/dist/nile-filter-chip/index.cjs.js +1 -1
- package/dist/nile-filter-chip/index.esm.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.cjs.js +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.cjs.js.map +1 -1
- package/dist/nile-filter-chip/nile-filter-chip.esm.js +2 -2
- package/dist/nile-floating-panel/index.cjs.js +1 -1
- package/dist/nile-floating-panel/index.esm.js +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.cjs.js +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.cjs.js.map +1 -1
- package/dist/nile-floating-panel/nile-floating-panel.esm.js +1 -1
- package/dist/nile-form-group/index.cjs.js +1 -1
- package/dist/nile-form-group/index.esm.js +1 -1
- package/dist/nile-form-group/nile-form-group.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.cjs.js.map +1 -1
- package/dist/nile-form-group/nile-form-group.esm.js +2 -2
- package/dist/nile-format-date/index.cjs.js +1 -1
- package/dist/nile-format-date/index.esm.js +1 -1
- package/dist/nile-format-date/nile-format-date.cjs.js +1 -1
- package/dist/nile-format-date/nile-format-date.cjs.js.map +1 -1
- package/dist/nile-format-date/nile-format-date.esm.js +1 -1
- package/dist/nile-grid/index.cjs.js +1 -1
- package/dist/nile-grid/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-body/index.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-body/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-body/nile-grid-body.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-body/nile-grid-body.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-body/nile-grid-body.esm.js +2 -2
- package/dist/nile-grid/nile-grid-cell-item/index.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-cell-item/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-cell-item/nile-grid-cell-item.esm.js +2 -2
- package/dist/nile-grid/nile-grid-head/index.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-head/nile-grid-head.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head/nile-grid-head.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-head/nile-grid-head.esm.js +2 -2
- package/dist/nile-grid/nile-grid-head-item/index.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-head-item/nile-grid-head-item.esm.js +3 -3
- package/dist/nile-grid/nile-grid-row/index.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-row/index.esm.js +1 -1
- package/dist/nile-grid/nile-grid-row/nile-grid-row.cjs.js +1 -1
- package/dist/nile-grid/nile-grid-row/nile-grid-row.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid-row/nile-grid-row.esm.js +2 -2
- package/dist/nile-grid/nile-grid.cjs.js +1 -1
- package/dist/nile-grid/nile-grid.cjs.js.map +1 -1
- package/dist/nile-grid/nile-grid.esm.js +2 -2
- package/dist/nile-hero/index.cjs.js +1 -1
- package/dist/nile-hero/index.esm.js +1 -1
- package/dist/nile-hero/nile-hero.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.cjs.js.map +1 -1
- package/dist/nile-hero/nile-hero.esm.js +2 -2
- package/dist/nile-hero-header/index.cjs.js +1 -1
- package/dist/nile-hero-header/index.esm.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.cjs.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.cjs.js.map +1 -1
- package/dist/nile-hero-header/nile-hero-header.esm.js +2 -2
- package/dist/nile-icon/icons/svg/arrow-left-small.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/arrow-left-small.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/arrow-left-small.esm.js +1 -0
- package/dist/nile-icon/icons/svg/arrow-right-small.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/arrow-right-small.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/arrow-right-small.esm.js +1 -0
- package/dist/nile-icon/icons/svg/arrow_left_small.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/arrow_left_small.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/arrow_left_small.esm.js +1 -0
- package/dist/nile-icon/icons/svg/arrow_right_small.cjs.js +2 -0
- package/dist/nile-icon/icons/svg/arrow_right_small.cjs.js.map +1 -0
- package/dist/nile-icon/icons/svg/arrow_right_small.esm.js +1 -0
- package/dist/nile-icon/icons/svg/index.cjs.js +1 -1
- package/dist/nile-icon/icons/svg/index.esm.js +1 -1
- package/dist/nile-icon/index.cjs.js +1 -1
- package/dist/nile-icon/index.cjs.js.map +1 -1
- package/dist/nile-icon/index.esm.js +1 -1
- package/dist/nile-icon-button/index.cjs.js +1 -1
- package/dist/nile-icon-button/index.esm.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js +1 -1
- package/dist/nile-icon-button/nile-icon-button.cjs.js.map +1 -1
- package/dist/nile-icon-button/nile-icon-button.esm.js +1 -1
- package/dist/nile-inline-edit/index.cjs.js +1 -1
- package/dist/nile-inline-edit/index.esm.js +1 -1
- package/dist/nile-inline-edit/nile-inline-edit.cjs.js +1 -1
- package/dist/nile-inline-edit/nile-inline-edit.cjs.js.map +1 -1
- package/dist/nile-inline-edit/nile-inline-edit.esm.js +2 -2
- package/dist/nile-inline-sidebar/index.cjs.js +1 -1
- package/dist/nile-inline-sidebar/index.esm.js +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar/nile-inline-sidebar.esm.js +3 -3
- package/dist/nile-inline-sidebar-group/index.cjs.js +1 -1
- package/dist/nile-inline-sidebar-group/index.esm.js +1 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.cjs.js +1 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-group/nile-inline-sidebar-group.esm.js +3 -3
- package/dist/nile-inline-sidebar-item/index.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/index.esm.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.cjs.js.map +1 -1
- package/dist/nile-inline-sidebar-item/nile-inline-sidebar-item.esm.js +3 -3
- package/dist/nile-input/index.cjs.js +1 -1
- package/dist/nile-input/index.esm.js +1 -1
- package/dist/nile-input/nile-input.cjs.js +1 -1
- package/dist/nile-input/nile-input.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.esm.js +1 -1
- package/dist/nile-link/index.cjs.js +1 -1
- package/dist/nile-link/index.esm.js +1 -1
- package/dist/nile-link/nile-link.cjs.js +1 -1
- package/dist/nile-link/nile-link.cjs.js.map +1 -1
- package/dist/nile-link/nile-link.esm.js +3 -3
- package/dist/nile-list/index.cjs.js +1 -1
- package/dist/nile-list/index.esm.js +1 -1
- package/dist/nile-list/nile-list.cjs.js +1 -1
- package/dist/nile-list/nile-list.cjs.js.map +1 -1
- package/dist/nile-list/nile-list.esm.js +1 -1
- package/dist/nile-list-item/index.cjs.js +1 -1
- package/dist/nile-list-item/index.esm.js +1 -1
- package/dist/nile-list-item/nile-list-item.cjs.js +1 -1
- package/dist/nile-list-item/nile-list-item.cjs.js.map +1 -1
- package/dist/nile-list-item/nile-list-item.esm.js +2 -2
- package/dist/nile-lite-tooltip/index.cjs.js +1 -1
- package/dist/nile-lite-tooltip/index.esm.js +1 -1
- package/dist/nile-lite-tooltip/nile-lite-tooltip.cjs.js +1 -1
- package/dist/nile-lite-tooltip/nile-lite-tooltip.cjs.js.map +1 -1
- package/dist/nile-lite-tooltip/nile-lite-tooltip.esm.js +1 -1
- package/dist/nile-menu/index.cjs.js +1 -1
- package/dist/nile-menu/index.esm.js +1 -1
- package/dist/nile-menu/nile-menu.cjs.js +1 -1
- package/dist/nile-menu/nile-menu.cjs.js.map +1 -1
- package/dist/nile-menu/nile-menu.esm.js +2 -2
- package/dist/nile-menu-item/index.cjs.js +1 -1
- package/dist/nile-menu-item/index.esm.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
- package/dist/nile-menu-item/nile-menu-item.css.esm.js +11 -2
- package/dist/nile-menu-item/nile-menu-item.esm.js +3 -3
- package/dist/nile-option/index.cjs.js +1 -1
- package/dist/nile-option/index.esm.js +1 -1
- package/dist/nile-option/nile-option.cjs.js +1 -1
- package/dist/nile-option/nile-option.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.esm.js +1 -1
- package/dist/nile-option-group/index.cjs.js +1 -1
- package/dist/nile-option-group/index.esm.js +1 -1
- package/dist/nile-option-group/nile-option-group.cjs.js +1 -1
- package/dist/nile-option-group/nile-option-group.cjs.js.map +1 -1
- package/dist/nile-option-group/nile-option-group.esm.js +2 -2
- package/dist/nile-otp-input/index.cjs.js +1 -1
- package/dist/nile-otp-input/index.esm.js +1 -1
- package/dist/nile-otp-input/nile-otp-input.cjs.js +1 -1
- package/dist/nile-otp-input/nile-otp-input.cjs.js.map +1 -1
- package/dist/nile-otp-input/nile-otp-input.esm.js +1 -1
- package/dist/nile-page-header/index.cjs.js +1 -1
- package/dist/nile-page-header/index.esm.js +1 -1
- package/dist/nile-page-header/nile-page-header.cjs.js +1 -1
- package/dist/nile-page-header/nile-page-header.cjs.js.map +1 -1
- package/dist/nile-page-header/nile-page-header.esm.js +2 -2
- package/dist/nile-pagination/index.cjs.js +1 -1
- package/dist/nile-pagination/index.esm.js +1 -1
- package/dist/nile-pagination/nile-pagination.cjs.js +1 -1
- package/dist/nile-pagination/nile-pagination.cjs.js.map +1 -1
- package/dist/nile-pagination/nile-pagination.css.cjs.js +1 -1
- package/dist/nile-pagination/nile-pagination.css.cjs.js.map +1 -1
- package/dist/nile-pagination/nile-pagination.css.esm.js +13 -0
- package/dist/nile-pagination/nile-pagination.esm.js +1 -1
- package/dist/nile-popover/index.cjs.js +1 -1
- package/dist/nile-popover/index.esm.js +1 -1
- package/dist/nile-popover/nile-popover.cjs.js +2 -2
- package/dist/nile-popover/nile-popover.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.esm.js +3 -3
- package/dist/nile-popup/index.cjs.js +1 -1
- package/dist/nile-popup/index.esm.js +1 -1
- package/dist/nile-popup/nile-popup.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.cjs.js.map +1 -1
- package/dist/nile-popup/nile-popup.esm.js +2 -2
- package/dist/nile-progress-bar/index.cjs.js +1 -1
- package/dist/nile-progress-bar/index.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.cjs.js.map +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.esm.js +2 -2
- package/dist/nile-qr-code/index.cjs.js +1 -1
- package/dist/nile-qr-code/index.esm.js +1 -1
- package/dist/nile-qr-code/nile-qr-code.cjs.js +1 -1
- package/dist/nile-qr-code/nile-qr-code.cjs.js.map +1 -1
- package/dist/nile-qr-code/nile-qr-code.esm.js +2 -2
- package/dist/nile-radio/index.cjs.js +1 -1
- package/dist/nile-radio/index.esm.js +1 -1
- package/dist/nile-radio/nile-radio.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.cjs.js.map +1 -1
- package/dist/nile-radio/nile-radio.css.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.css.cjs.js.map +1 -1
- package/dist/nile-radio/nile-radio.css.esm.js +4 -0
- package/dist/nile-radio/nile-radio.esm.js +2 -2
- package/dist/nile-radio-group/index.cjs.js +1 -1
- package/dist/nile-radio-group/index.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.cjs.js.map +1 -1
- package/dist/nile-radio-group/nile-radio-group.esm.js +2 -2
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.cjs.js.map +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +1 -1
- package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +8 -6
- package/dist/nile-rich-text-editor/nile-rich-text-editor.esm.js +1 -1
- package/dist/nile-rich-text-editor/utils/list-utils.cjs.js +1 -1
- package/dist/nile-rich-text-editor/utils/list-utils.cjs.js.map +1 -1
- package/dist/nile-rich-text-editor/utils/list-utils.esm.js +1 -1
- package/dist/nile-section-message/index.cjs.js +1 -1
- package/dist/nile-section-message/index.esm.js +1 -1
- package/dist/nile-section-message/nile-section-message.cjs.js +1 -1
- package/dist/nile-section-message/nile-section-message.cjs.js.map +1 -1
- package/dist/nile-section-message/nile-section-message.esm.js +2 -2
- package/dist/nile-select/index.cjs.js +1 -1
- package/dist/nile-select/index.esm.js +1 -1
- package/dist/nile-select/nile-select.cjs.js +1 -1
- package/dist/nile-select/nile-select.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.css.cjs.js +1 -1
- package/dist/nile-select/nile-select.css.cjs.js.map +1 -1
- package/dist/nile-select/nile-select.css.esm.js +21 -2
- package/dist/nile-select/nile-select.esm.js +33 -25
- package/dist/nile-select/portal-utils.cjs.js +1 -1
- package/dist/nile-select/portal-utils.cjs.js.map +1 -1
- package/dist/nile-select/portal-utils.esm.js +1 -1
- package/dist/nile-side-bar/index.cjs.js +1 -1
- package/dist/nile-side-bar/index.esm.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.cjs.js +1 -1
- package/dist/nile-side-bar/nile-side-bar.cjs.js.map +1 -1
- package/dist/nile-side-bar/nile-side-bar.esm.js +2 -2
- package/dist/nile-side-bar-action/index.cjs.js +1 -1
- package/dist/nile-side-bar-action/index.esm.js +1 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.cjs.js +1 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.cjs.js.map +1 -1
- package/dist/nile-side-bar-action/nile-side-bar-action.esm.js +3 -3
- package/dist/nile-side-bar-action-menu/index.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu/index.esm.js +1 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.cjs.js.map +1 -1
- package/dist/nile-side-bar-action-menu/nile-side-bar-action-menu.esm.js +2 -2
- package/dist/nile-side-bar-action-menu-item/index.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu-item/index.esm.js +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-action-menu-item/nile-side-bar-action-menu-item.esm.js +1 -1
- package/dist/nile-side-bar-expand/index.cjs.js +1 -1
- package/dist/nile-side-bar-expand/index.esm.js +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.cjs.js.map +1 -1
- package/dist/nile-side-bar-expand/nile-side-bar-expand.esm.js +2 -2
- package/dist/nile-side-bar-footer/index.cjs.js +1 -1
- package/dist/nile-side-bar-footer/index.esm.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer/nile-side-bar-footer.esm.js +2 -2
- package/dist/nile-side-bar-footer-item/index.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/index.esm.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-item/nile-side-bar-footer-item.esm.js +1 -1
- package/dist/nile-side-bar-footer-text/index.cjs.js +1 -1
- package/dist/nile-side-bar-footer-text/index.esm.js +1 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.cjs.js +1 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.cjs.js.map +1 -1
- package/dist/nile-side-bar-footer-text/nile-side-bar-footer-text.esm.js +3 -3
- package/dist/nile-side-bar-group/index.cjs.js +1 -1
- package/dist/nile-side-bar-group/index.esm.js +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.cjs.js.map +1 -1
- package/dist/nile-side-bar-group/nile-side-bar-group.esm.js +2 -2
- package/dist/nile-side-bar-group-item/index.cjs.js +1 -1
- package/dist/nile-side-bar-group-item/index.esm.js +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.cjs.js +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item/nile-side-bar-group-item.esm.js +2 -2
- package/dist/nile-side-bar-group-item-icon/index.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-icon/index.esm.js +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item-icon/nile-side-bar-group-item-icon.esm.js +2 -2
- package/dist/nile-side-bar-group-item-text/index.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-text/index.esm.js +1 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.cjs.js +1 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.cjs.js.map +1 -1
- package/dist/nile-side-bar-group-item-text/nile-side-bar-group-item-text.esm.js +1 -1
- package/dist/nile-side-bar-header/index.cjs.js +1 -1
- package/dist/nile-side-bar-header/index.esm.js +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.cjs.js.map +1 -1
- package/dist/nile-side-bar-header/nile-side-bar-header.esm.js +2 -2
- package/dist/nile-side-bar-logo/index.cjs.js +1 -1
- package/dist/nile-side-bar-logo/index.esm.js +1 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.cjs.js +1 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.cjs.js.map +1 -1
- package/dist/nile-side-bar-logo/nile-side-bar-logo.esm.js +2 -2
- package/dist/nile-side-bar-panel/index.cjs.js +1 -1
- package/dist/nile-side-bar-panel/index.esm.js +1 -1
- package/dist/nile-side-bar-panel/nile-side-bar-panel.cjs.js +1 -1
- package/dist/nile-side-bar-panel/nile-side-bar-panel.cjs.js.map +1 -1
- package/dist/nile-side-bar-panel/nile-side-bar-panel.esm.js +2 -2
- package/dist/nile-skeleton-loader/index.cjs.js +1 -1
- package/dist/nile-skeleton-loader/index.esm.js +1 -1
- package/dist/nile-skeleton-loader/nile-skeleton-loader.cjs.js +1 -1
- package/dist/nile-skeleton-loader/nile-skeleton-loader.cjs.js.map +1 -1
- package/dist/nile-skeleton-loader/nile-skeleton-loader.esm.js +2 -2
- package/dist/nile-slide-toggle/index.cjs.js +1 -1
- package/dist/nile-slide-toggle/index.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.esm.js +2 -2
- package/dist/nile-slider/index.cjs.js +1 -1
- package/dist/nile-slider/index.esm.js +1 -1
- package/dist/nile-slider/nile-slider.cjs.js +1 -1
- package/dist/nile-slider/nile-slider.cjs.js.map +1 -1
- package/dist/nile-slider/nile-slider.esm.js +3 -3
- package/dist/nile-split-panel/index.cjs.js +1 -1
- package/dist/nile-split-panel/index.esm.js +1 -1
- package/dist/nile-split-panel/nile-split-panel.cjs.js +1 -1
- package/dist/nile-split-panel/nile-split-panel.cjs.js.map +1 -1
- package/dist/nile-split-panel/nile-split-panel.esm.js +2 -2
- 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/index.cjs.js +1 -1
- package/dist/nile-stepper-item/index.esm.js +1 -1
- 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 +1 -1
- package/dist/nile-switcher/index.cjs.js +1 -1
- package/dist/nile-switcher/index.esm.js +1 -1
- package/dist/nile-switcher/nile-switcher.cjs.js +1 -1
- package/dist/nile-switcher/nile-switcher.cjs.js.map +1 -1
- package/dist/nile-switcher/nile-switcher.esm.js +23 -23
- package/dist/nile-tab/index.cjs.js +1 -1
- package/dist/nile-tab/index.esm.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js +1 -1
- package/dist/nile-tab/nile-tab.cjs.js.map +1 -1
- package/dist/nile-tab/nile-tab.esm.js +1 -1
- package/dist/nile-tab-group/index.cjs.js +1 -1
- package/dist/nile-tab-group/index.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.esm.js +1 -1
- package/dist/nile-tab-panel/index.cjs.js +1 -1
- package/dist/nile-tab-panel/index.esm.js +1 -1
- package/dist/nile-tab-panel/nile-tab-panel.cjs.js +1 -1
- package/dist/nile-tab-panel/nile-tab-panel.cjs.js.map +1 -1
- package/dist/nile-tab-panel/nile-tab-panel.esm.js +3 -3
- package/dist/nile-table/index.cjs.js +1 -1
- package/dist/nile-table/index.esm.js +1 -1
- package/dist/nile-table/nile-table.cjs.js +1 -1
- package/dist/nile-table/nile-table.cjs.js.map +1 -1
- package/dist/nile-table/nile-table.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-cell-item/index.cjs.js +1 -1
- package/dist/nile-table-cell-item/index.esm.js +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.cjs.js.map +1 -1
- package/dist/nile-table-cell-item/nile-table-cell-item.esm.js +5 -5
- package/dist/nile-table-header-item/index.cjs.js +1 -1
- package/dist/nile-table-header-item/index.esm.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.cjs.js.map +1 -1
- package/dist/nile-table-header-item/nile-table-header-item.esm.js +1 -1
- package/dist/nile-table-row/index.cjs.js +1 -1
- package/dist/nile-table-row/index.esm.js +1 -1
- package/dist/nile-table-row/nile-table-row.cjs.js +1 -1
- package/dist/nile-table-row/nile-table-row.cjs.js.map +1 -1
- package/dist/nile-table-row/nile-table-row.esm.js +2 -2
- package/dist/nile-tag/index.cjs.js +1 -1
- package/dist/nile-tag/index.esm.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js +1 -1
- package/dist/nile-tag/nile-tag.cjs.js.map +1 -1
- package/dist/nile-tag/nile-tag.esm.js +1 -1
- package/dist/nile-textarea/index.cjs.js +1 -1
- package/dist/nile-textarea/index.esm.js +1 -1
- package/dist/nile-textarea/nile-textarea.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.esm.js +2 -2
- package/dist/nile-title/index.cjs.js +1 -1
- package/dist/nile-title/index.esm.js +1 -1
- package/dist/nile-title/nile-title.cjs.js +1 -1
- package/dist/nile-title/nile-title.cjs.js.map +1 -1
- package/dist/nile-title/nile-title.esm.js +1 -1
- package/dist/nile-toast/index.cjs.js +1 -1
- package/dist/nile-toast/index.esm.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js +1 -1
- package/dist/nile-toast/nile-toast.cjs.js.map +1 -1
- package/dist/nile-toast/nile-toast.esm.js +1 -1
- package/dist/nile-toolbar/index.cjs.js +1 -1
- package/dist/nile-toolbar/index.esm.js +1 -1
- package/dist/nile-toolbar/nile-toolbar.cjs.js +1 -1
- package/dist/nile-toolbar/nile-toolbar.cjs.js.map +1 -1
- package/dist/nile-toolbar/nile-toolbar.esm.js +2 -2
- package/dist/nile-tooltip/index.cjs.js +1 -1
- package/dist/nile-tooltip/index.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.esm.js +2 -2
- package/dist/nile-tree/index.cjs.js +1 -1
- package/dist/nile-tree/index.esm.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js +1 -1
- package/dist/nile-tree/nile-tree.cjs.js.map +1 -1
- package/dist/nile-tree/nile-tree.esm.js +1 -1
- package/dist/nile-tree-item/index.cjs.js +1 -1
- package/dist/nile-tree-item/index.esm.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.cjs.js.map +1 -1
- package/dist/nile-tree-item/nile-tree-item.esm.js +1 -1
- package/dist/nile-vertical-stepper-item/index.cjs.js +1 -1
- package/dist/nile-vertical-stepper-item/index.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/index.cjs.js +1 -1
- package/dist/nile-virtual-select/index.esm.js +1 -1
- package/dist/nile-virtual-select/nile-virtual-select.cjs.js +2 -2
- package/dist/nile-virtual-select/nile-virtual-select.esm.js +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal/accessibility/a11y.custom-value.enum.d.ts +69 -0
- package/dist/src/internal/accessibility/a11y.custom-value.enum.js +71 -0
- package/dist/src/internal/accessibility/a11y.custom-value.enum.js.map +1 -0
- package/dist/src/internal/accessibility/a11y.property.enum.d.ts +33 -0
- package/dist/src/internal/accessibility/a11y.property.enum.js +35 -0
- package/dist/src/internal/accessibility/a11y.property.enum.js.map +1 -0
- package/dist/src/internal/accessibility/a11y.role.enum.d.ts +50 -0
- package/dist/src/internal/accessibility/a11y.role.enum.js +52 -0
- package/dist/src/internal/accessibility/a11y.role.enum.js.map +1 -0
- package/dist/src/internal/accessibility/a11y.state.enum.d.ts +17 -0
- package/dist/src/internal/accessibility/a11y.state.enum.js +19 -0
- package/dist/src/internal/accessibility/a11y.state.enum.js.map +1 -0
- package/dist/src/internal/accessibility/accessibility.const.d.ts +8 -0
- package/dist/src/internal/accessibility/accessibility.const.js +9 -0
- package/dist/src/internal/accessibility/accessibility.const.js.map +1 -0
- package/dist/src/internal/accessibility/role.enum.d.ts +3 -0
- package/dist/src/internal/accessibility/role.enum.js +5 -0
- package/dist/src/internal/accessibility/role.enum.js.map +1 -0
- package/dist/src/internal/nile-element.d.ts +52 -0
- package/dist/src/internal/nile-element.js +45 -0
- package/dist/src/internal/nile-element.js.map +1 -1
- package/dist/src/nile-avatar/nile-avatar.js +2 -0
- package/dist/src/nile-avatar/nile-avatar.js.map +1 -1
- package/dist/src/nile-badge/nile-badge.d.ts +1 -0
- package/dist/src/nile-badge/nile-badge.js +12 -1
- package/dist/src/nile-badge/nile-badge.js.map +1 -1
- package/dist/src/nile-button/nile-button.css.js +5 -0
- package/dist/src/nile-button/nile-button.css.js.map +1 -1
- package/dist/src/nile-checkbox/nile-checkbox.css.js +4 -0
- package/dist/src/nile-checkbox/nile-checkbox.css.js.map +1 -1
- package/dist/src/nile-checkbox/nile-checkbox.d.ts +2 -0
- package/dist/src/nile-checkbox/nile-checkbox.js +5 -0
- package/dist/src/nile-checkbox/nile-checkbox.js.map +1 -1
- package/dist/src/nile-checkbox-group/index.d.ts +1 -0
- package/dist/src/nile-checkbox-group/index.js +2 -0
- package/dist/src/nile-checkbox-group/index.js.map +1 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.css.d.ts +1 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.css.js +70 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.css.js.map +1 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.d.ts +84 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.js +355 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.js.map +1 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.test.d.ts +2 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.test.js +671 -0
- package/dist/src/nile-checkbox-group/nile-checkbox-group.test.js.map +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.js +1 -7
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-icon/icons/svg/arrow-left-small.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/arrow-left-small.js +5 -0
- package/dist/src/nile-icon/icons/svg/arrow-left-small.js.map +1 -0
- package/dist/src/nile-icon/icons/svg/arrow-right-small.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/arrow-right-small.js +5 -0
- package/dist/src/nile-icon/icons/svg/arrow-right-small.js.map +1 -0
- package/dist/src/nile-icon/icons/svg/arrow_left_small.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/arrow_left_small.js +5 -0
- package/dist/src/nile-icon/icons/svg/arrow_left_small.js.map +1 -0
- package/dist/src/nile-icon/icons/svg/arrow_right_small.d.ts +5 -0
- package/dist/src/nile-icon/icons/svg/arrow_right_small.js +5 -0
- package/dist/src/nile-icon/icons/svg/arrow_right_small.js.map +1 -0
- package/dist/src/nile-icon/icons/svg/index.d.ts +4 -0
- package/dist/src/nile-icon/icons/svg/index.js +4 -0
- package/dist/src/nile-icon/icons/svg/index.js.map +1 -1
- package/dist/src/nile-link/nile-link.d.ts +2 -1
- package/dist/src/nile-link/nile-link.js +18 -1
- package/dist/src/nile-link/nile-link.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.css.js +11 -2
- package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.d.ts +2 -0
- package/dist/src/nile-menu-item/nile-menu-item.js +7 -1
- package/dist/src/nile-menu-item/nile-menu-item.js.map +1 -1
- package/dist/src/nile-otp-input/nile-otp-input.test.js +7 -7
- package/dist/src/nile-otp-input/nile-otp-input.test.js.map +1 -1
- package/dist/src/nile-pagination/nile-pagination.css.js +13 -0
- package/dist/src/nile-pagination/nile-pagination.css.js.map +1 -1
- package/dist/src/nile-radio/nile-radio.css.js +4 -0
- package/dist/src/nile-radio/nile-radio.css.js.map +1 -1
- package/dist/src/nile-radio-group/nile-radio-group.js +7 -0
- package/dist/src/nile-radio-group/nile-radio-group.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +8 -6
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.d.ts +2 -0
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js +43 -0
- package/dist/src/nile-rich-text-editor/nile-rich-text-editor.js.map +1 -1
- package/dist/src/nile-rich-text-editor/nile-rte-link.test.js +6 -5
- package/dist/src/nile-rich-text-editor/nile-rte-link.test.js.map +1 -1
- package/dist/src/nile-rich-text-editor/utils/list-utils.js +0 -1
- package/dist/src/nile-rich-text-editor/utils/list-utils.js.map +1 -1
- package/dist/src/nile-select/nile-select.css.js +21 -2
- package/dist/src/nile-select/nile-select.css.js.map +1 -1
- package/dist/src/nile-select/nile-select.d.ts +4 -0
- package/dist/src/nile-select/nile-select.js +42 -24
- package/dist/src/nile-select/nile-select.js.map +1 -1
- package/dist/src/nile-select/portal-utils.d.ts +2 -0
- package/dist/src/nile-select/portal-utils.js +36 -3
- package/dist/src/nile-select/portal-utils.js.map +1 -1
- 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 -2
- package/src/index.ts +1 -0
- package/src/internal/accessibility/a11y.custom-value.enum.ts +69 -0
- package/src/internal/accessibility/a11y.property.enum.ts +33 -0
- package/src/internal/accessibility/a11y.role.enum.ts +50 -0
- package/src/internal/accessibility/a11y.state.enum.ts +17 -0
- package/src/internal/accessibility/accessibility.const.ts +9 -0
- package/src/internal/accessibility/role.enum.ts +3 -0
- package/src/internal/nile-element.ts +99 -0
- package/src/nile-avatar/nile-avatar.ts +2 -0
- package/src/nile-badge/nile-badge.ts +13 -1
- package/src/nile-button/nile-button.css.ts +5 -0
- package/src/nile-checkbox/nile-checkbox.css.ts +4 -0
- package/src/nile-checkbox/nile-checkbox.ts +3 -0
- package/src/nile-checkbox-group/index.ts +1 -0
- package/src/nile-checkbox-group/nile-checkbox-group.css.ts +70 -0
- package/src/nile-checkbox-group/nile-checkbox-group.test.ts +769 -0
- package/src/nile-checkbox-group/nile-checkbox-group.ts +351 -0
- package/src/nile-code-editor/nile-code-editor.ts +1 -7
- package/src/nile-icon/icons/svg/arrow-left-small.ts +5 -0
- package/src/nile-icon/icons/svg/arrow-right-small.ts +5 -0
- package/src/nile-icon/icons/svg/arrow_left_small.ts +5 -0
- package/src/nile-icon/icons/svg/arrow_right_small.ts +5 -0
- package/src/nile-icon/icons/svg/index.ts +4 -0
- package/src/nile-link/nile-link.ts +21 -2
- package/src/nile-menu-item/nile-menu-item.css.ts +11 -2
- package/src/nile-menu-item/nile-menu-item.ts +5 -1
- package/src/nile-otp-input/nile-otp-input.test.ts +7 -7
- package/src/nile-pagination/nile-pagination.css.ts +13 -0
- package/src/nile-radio/nile-radio.css.ts +4 -0
- package/src/nile-radio-group/nile-radio-group.ts +7 -0
- package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +8 -6
- package/src/nile-rich-text-editor/nile-rich-text-editor.ts +43 -0
- package/src/nile-rich-text-editor/nile-rte-link.test.ts +6 -5
- package/src/nile-rich-text-editor/utils/list-utils.ts +1 -2
- package/src/nile-select/nile-select.css.ts +21 -2
- package/src/nile-select/nile-select.ts +44 -24
- package/src/nile-select/portal-utils.ts +46 -3
- package/vscode-html-custom-data.json +117 -20
|
@@ -1,2 +1,2 @@
|
|
|
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,
|
|
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","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,e,s,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){e=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.property;i=_litDecoratorsJs.customElement;},function(_nileSideBarGroupCssCjsJs){r=_nileSideBarGroupCssCjsJs.s;},function(_internalNileElementCjsJs){o=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],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[r];}}]);}(o));t([s({type:String})],l.prototype,"label",void 0),t([s({type:Boolean,reflect:!0})],l.prototype,"footer",void 0),t([s({type:Boolean,reflect:!0})],l.prototype,"divider",void 0),_export("N",l=t([i("nile-side-bar-group")],l));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-group.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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","
|
|
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","l","this","label","footer","divider","_this","_inherits","_o","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","_templateObject2","get","styles","NileElement","__decorate","property","type","String","prototype","Boolean","reflect","customElement"],"mappings":"m9GAwBaA,4BAAN,SAAAC,EAAA,qEAIuBC,EAAAA,KAAAA,CAAKC,MAAW,EAKAD,CAAAA,KAAAA,CAAME,QAAY,CACnBF,CAAAA,KAAAA,CAAOG,SAAG,CA+BtD,QAAAC,KAAA,EAxBQC,SAAA,CAAAN,CAAA,CAAAO,EAAA,SAAAC,YAAA,CAAAR,CAAA,GAAAS,GAAA,UAAAC,KAAA,CAMA,SAAAC,MAAAA,CAAAA,CAAAA,CACL,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,gOAKMb,IAAAA,CAAKC,KAAS,EAAA,eAAA,CACZD,IAAKE,CAAAA,MAAAA,CAElBF,IAAAA,CAAKC,KACHU,CAAAA,CAAI,CAAAG,gBAAA,GAAAA,gBAAA,CAAAD,sBAAA,2DAAyCb,IAAAA,CAAKC,KAClD,EAAA,IAAA,EAIT,CAAA,KAAAO,GAAA,UAAAO,GAAA,CArBM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CAAAA,CACT,EAIM,MAvB6BC,CAAAA,GAIRC,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,4 +1,4 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as
|
|
1
|
+
import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as s,customElement as i}from"lit/decorators.js";import{s as r}from"./nile-side-bar-group.css.esm.js";import{N as o}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let l=class extends o{constructor(){super(...arguments),this.label="",this.footer=!1,this.divider=!1}static get styles(){return[r]}render(){return t`
|
|
2
2
|
<section
|
|
3
3
|
part="base"
|
|
4
4
|
class="side-bar-group"
|
|
@@ -9,4 +9,4 @@ import{__decorate as e}from"tslib";import{html as t}from"lit";import{property as
|
|
|
9
9
|
${this.label?t`<div part="label" class="group-label">${this.label}</div>`:null}
|
|
10
10
|
<slot></slot>
|
|
11
11
|
</section>
|
|
12
|
-
`}};e([
|
|
12
|
+
`}};e([s({type:String})],l.prototype,"label",void 0),e([s({type:Boolean,reflect:!0})],l.prototype,"footer",void 0),e([s({type:Boolean,reflect:!0})],l.prototype,"divider",void 0),l=e([i("nile-side-bar-group")],l);export{l as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
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(){}};});
|
|
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","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.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){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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
|
+
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";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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,i,e,s,o,
|
|
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","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,i,e,s,o,r,_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){e=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemCssCjsJs){o=_nileSideBarGroupItemCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",l=/*#__PURE__*/function(_r){function l(){var _this;_classCallCheck(this,l);_this=_callSuper(this,l,arguments),_this.link=null,_this.active=!1,_this.type="default",_this.expanded=!1,_this.disabled=!1;return _this;}_inherits(l,_r);return _createClass(l,[{key:"toggleExpand",value:function toggleExpand(){"dropdown"!==this.type&&"popover"!==this.type||this.disabled||(this.expanded=!this.expanded);}},{key:"connectedCallback",value:function connectedCallback(){_superPropGet(l,"connectedCallback",this,3)([]),this.link&&window.location.pathname===this.link&&(this.active=!0);}},{key:"handleSelect",value:function handleSelect(t){var _this2=this,_this$textContent;if(t.preventDefault(),this.disabled)return void t.stopImmediatePropagation();this.link||t.preventDefault();var i=this.closest("nile-side-bar");i&&i.querySelectorAll("nile-side-bar-group-item[active]").forEach(function(t){t!==_this2&&(t.active=!1,t.expanded=!1);}),this.active=!0,"dropdown"!==this.type&&"popover"!==this.type||this.disabled||(this.expanded=!0),this.dispatchEvent(new CustomEvent("nile-click",{bubbles:!0,composed:!0,detail:{href:this.link,text:((_this$textContent=this.textContent)===null||_this$textContent===void 0?void 0:_this$textContent.trim())||"",type:this.type}}));}},{key:"render",value:function render(){var _this3=this;var t="dropdown"===this.type||"popover"===this.type;return i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <div\n part=\"base\"\n class=\"group-item ","\"\n role=\"listitem\"\n ?data-expanded=","\n aria-disabled=","\n >\n ","\n </div>\n\n ","\n "])),this.disabled?"disabled":"",this.expanded,this.disabled?"true":"false",this.link?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n <a\n part=\"link\"\n class=\"item-link\"\n href=","\n @click=","\n tabindex=","\n >\n <slot name=\"icon\"></slot>\n <slot name=\"text\"></slot>\n <slot name=\"trigger\"></slot>\n </a>\n "])),this.link,this.handleSelect,this.disabled?"-1":"0"):i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <div\n part=\"link\"\n class=\"item-link\"\n @click=","\n tabindex=","\n >\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"trigger\" part=\"trigger\"></slot>\n </div>\n "])),function(i){_this3.handleSelect(i),t&&!_this3.disabled&&_this3.toggleExpand();},this.disabled?"-1":"0"),t?i(_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];}}]);}(r));t([e({type:String})],l.prototype,"link",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"active",void 0),t([e({type:String,reflect:!0})],l.prototype,"type",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"expanded",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0),_export("N",l=t([s("nile-side-bar-group-item")],l));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-group-item.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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 @property({ type: String }) link: string | null = null;\n\n @property({ type: Boolean, reflect: true, attribute: true }) active = false;\n\n @property({ type: String, reflect: true })\n type: 'default' | 'dropdown' | 'popover' = 'default';\n\n @property({ type: Boolean, reflect: true }) expanded: boolean = false;\n\n @property({ type: Boolean, reflect: true }) disabled: boolean = false;\n\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private toggleExpand() {\n if ((this.type === 'dropdown' || this.type === 'popover') && !this.disabled) {\n this.expanded = !this.expanded;\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.link && window.location.pathname === this.link) {\n this.active = true;\n }\n }\n\n private handleSelect(e: Event) {\n e.preventDefault();\n if (this.disabled) {\n e.stopImmediatePropagation();\n return;\n }\n\n if (!this.link) {\n e.preventDefault();\n }\n const parent = this.closest('nile-side-bar');\n if (parent) {\n parent.querySelectorAll<NileSideBarGroupItem>('nile-side-bar-group-item[active]')\n .forEach(item => {\n if (item !== this) {\n item.active = false;\n item.expanded = false; \n }\n });\n }\n \n this.active = true;\n \n if ((this.type === 'dropdown' || this.type === 'popover') && !this.disabled) {\n this.expanded = true;\n }\n this.dispatchEvent(\n new CustomEvent('nile-click', {\n bubbles: true,\n composed: true,\n detail: {\n href: this.link,\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\n part=\"base\"\n class=\"group-item ${this.disabled ? 'disabled' : ''}\"\n role=\"listitem\"\n ?data-expanded=${this.expanded}\n aria-disabled=${this.disabled ? 'true' : 'false'}\n >\n ${this.link\n ? html`\n <a\n part=\"link\"\n class=\"item-link\"\n href=${this.link}\n @click=${this.handleSelect}\n tabindex=${this.disabled ? '-1' : '0'}\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.disabled) this.toggleExpand();\n }}\n tabindex=${this.disabled ? '-1' : '0'}\n >\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"trigger\" part=\"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","
|
|
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 @property({ type: String }) link: string | null = null;\n\n @property({ type: Boolean, reflect: true, attribute: true }) active = false;\n\n @property({ type: String, reflect: true })\n type: 'default' | 'dropdown' | 'popover' = 'default';\n\n @property({ type: Boolean, reflect: true }) expanded: boolean = false;\n\n @property({ type: Boolean, reflect: true }) disabled: boolean = false;\n\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n private toggleExpand() {\n if ((this.type === 'dropdown' || this.type === 'popover') && !this.disabled) {\n this.expanded = !this.expanded;\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n if (this.link && window.location.pathname === this.link) {\n this.active = true;\n }\n }\n\n private handleSelect(e: Event) {\n e.preventDefault();\n if (this.disabled) {\n e.stopImmediatePropagation();\n return;\n }\n\n if (!this.link) {\n e.preventDefault();\n }\n const parent = this.closest('nile-side-bar');\n if (parent) {\n parent.querySelectorAll<NileSideBarGroupItem>('nile-side-bar-group-item[active]')\n .forEach(item => {\n if (item !== this) {\n item.active = false;\n item.expanded = false; \n }\n });\n }\n \n this.active = true;\n \n if ((this.type === 'dropdown' || this.type === 'popover') && !this.disabled) {\n this.expanded = true;\n }\n this.dispatchEvent(\n new CustomEvent('nile-click', {\n bubbles: true,\n composed: true,\n detail: {\n href: this.link,\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\n part=\"base\"\n class=\"group-item ${this.disabled ? 'disabled' : ''}\"\n role=\"listitem\"\n ?data-expanded=${this.expanded}\n aria-disabled=${this.disabled ? 'true' : 'false'}\n >\n ${this.link\n ? html`\n <a\n part=\"link\"\n class=\"item-link\"\n href=${this.link}\n @click=${this.handleSelect}\n tabindex=${this.disabled ? '-1' : '0'}\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.disabled) this.toggleExpand();\n }}\n tabindex=${this.disabled ? '-1' : '0'}\n >\n <slot name=\"icon\" part=\"icon\"></slot>\n <slot name=\"text\" part=\"text\"></slot>\n <slot name=\"trigger\" part=\"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","l","this","link","active","type","expanded","disabled","_this","_inherits","_r","_createClass","key","value","toggleExpand","connectedCallback","super","window","location","pathname","handleSelect","e","preventDefault","stopImmediatePropagation","parent","closest","querySelectorAll","forEach","item","dispatchEvent","CustomEvent","bubbles","composed","detail","href","text","textContent","trim","render","interactive","html","_templateObject","_taggedTemplateLiteral","_templateObject2","_templateObject3","_templateObject4","get","styles","NileElement","__decorate","property","String","prototype","Boolean","reflect","attribute","_export","customElement"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as e,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-side-bar-group-item.css.esm.js";import{N as
|
|
1
|
+
import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as e,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-side-bar-group-item.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let l=class extends r{constructor(){super(...arguments),this.link=null,this.active=!1,this.type="default",this.expanded=!1,this.disabled=!1}static get styles(){return[o]}toggleExpand(){"dropdown"!==this.type&&"popover"!==this.type||this.disabled||(this.expanded=!this.expanded)}connectedCallback(){super.connectedCallback(),this.link&&window.location.pathname===this.link&&(this.active=!0)}handleSelect(t){if(t.preventDefault(),this.disabled)return void t.stopImmediatePropagation();this.link||t.preventDefault();const i=this.closest("nile-side-bar");i&&i.querySelectorAll("nile-side-bar-group-item[active]").forEach((t=>{t!==this&&(t.active=!1,t.expanded=!1)})),this.active=!0,"dropdown"!==this.type&&"popover"!==this.type||this.disabled||(this.expanded=!0),this.dispatchEvent(new CustomEvent("nile-click",{bubbles:!0,composed:!0,detail:{href:this.link,text:this.textContent?.trim()||"",type:this.type}}))}render(){const t="dropdown"===this.type||"popover"===this.type;return i`
|
|
2
2
|
<div
|
|
3
3
|
part="base"
|
|
4
4
|
class="group-item ${this.disabled?"disabled":""}"
|
|
@@ -42,4 +42,4 @@ import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as
|
|
|
42
42
|
<slot name="content"></slot>
|
|
43
43
|
</div>
|
|
44
44
|
`:null}
|
|
45
|
-
`}};t([e({type:String})],
|
|
45
|
+
`}};t([e({type:String})],l.prototype,"link",void 0),t([e({type:Boolean,reflect:!0,attribute:!0})],l.prototype,"active",void 0),t([e({type:String,reflect:!0})],l.prototype,"type",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"expanded",void 0),t([e({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0),l=t([s("nile-side-bar-group-item")],l);export{l as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
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(){}};});
|
|
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","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.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){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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
|
+
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";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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,e,s,o,r,_templateObject,_templateObject2,_templateObject3,_templateObject4,
|
|
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","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,i,e,s,o,r,_templateObject,_templateObject2,_templateObject3,_templateObject4,n;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){e=_litDecoratorsJs.property;s=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemIconCssCjsJs){o=_nileSideBarGroupItemIconCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",n=/*#__PURE__*/function(_r){function n(){var _this;_classCallCheck(this,n);_this=_callSuper(this,n,arguments),_this.icon="",_this.tooltip="",_this.method="fill",_this.size="14",_this.enableVisibilityEffect=!1,_this.duration=200,_this.sidebar=null;return _this;}_inherits(n,_r);return _createClass(n,[{key:"connectedCallback",value:function connectedCallback(){var _this2=this;if(this.hasAttribute("slot")||this.setAttribute("slot","icon"),_superPropGet(n,"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(n,"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),e=this.tooltip||this.getSiblingText();return t&&e?i(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\n <slot>\n <nile-lite-tooltip hoist distance=\"18\" content="," placement=\"right\" enableVisibilityEffect="," duration=",">\n ","\n </nile-lite-tooltip>\n </slot>\n\n "])),e,this.enableVisibilityEffect,this.duration,this.icon?i(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["<nile-icon size="," color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" name="," method=","></nile-icon>"])),this.size,this.icon,this.method):null):i(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n <slot>\n ","\n </slot>\n "])),this.icon?i(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["<nile-icon size="," color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" size=\"14\" name="," method=","></nile-icon>"])),this.size,this.icon,this.method):null);}}],[{key:"styles",get:function get(){return[o];}}]);}(r));t([e({type:String,reflect:!0})],n.prototype,"icon",void 0),t([e({type:String})],n.prototype,"tooltip",void 0),t([e({type:String})],n.prototype,"method",void 0),t([e({type:String})],n.prototype,"size",void 0),t([e({type:Boolean,attribute:!0,reflect:!0})],n.prototype,"enableVisibilityEffect",void 0),t([e({type:Number,attribute:!0,reflect:!0})],n.prototype,"duration",void 0),_export("N",n=t([s("nile-side-bar-group-item-icon")],n));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-group-item-icon.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
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 @property({ type: String })\n method: string = 'fill';\n\n @property({ type: String })\n size: string = '14';\n\n @property ({type: Boolean, attribute: true, reflect: true}) enableVisibilityEffect: boolean = false;\n\n @property ({type: Number, attribute: true, reflect: true}) duration: number = 200;\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\n <slot>\n <nile-lite-tooltip hoist distance=\"18\" content=${text} placement=\"right\" enableVisibilityEffect=${this.enableVisibilityEffect} duration=${this.duration}>\n ${this.icon ? html`<nile-icon size=${this.size} color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" name=${this.icon} method=${this.method}></nile-icon>` : null}\n </nile-lite-tooltip>\n </slot>\n\n `;\n }\n\n return html`\n <slot>\n ${this.icon ? html`<nile-icon size=${this.size} color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" size=\"14\" name=${this.icon} method=${this.method}></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","
|
|
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 @property({ type: String })\n method: string = 'fill';\n\n @property({ type: String })\n size: string = '14';\n\n @property ({type: Boolean, attribute: true, reflect: true}) enableVisibilityEffect: boolean = false;\n\n @property ({type: Number, attribute: true, reflect: true}) duration: number = 200;\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\n <slot>\n <nile-lite-tooltip hoist distance=\"18\" content=${text} placement=\"right\" enableVisibilityEffect=${this.enableVisibilityEffect} duration=${this.duration}>\n ${this.icon ? html`<nile-icon size=${this.size} color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" name=${this.icon} method=${this.method}></nile-icon>` : null}\n </nile-lite-tooltip>\n </slot>\n\n `;\n }\n\n return html`\n <slot>\n ${this.icon ? html`<nile-icon size=${this.size} color=\"var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))\" size=\"14\" name=${this.icon} method=${this.method}></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","_r","n","this","icon","tooltip","method","size","enableVisibilityEffect","duration","sidebar","_this","_inherits","_createClass","key","value","connectedCallback","_this2","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","get","styles","NileElement","__decorate","property","type","String","reflect","prototype","Boolean","attribute","Number","customElement"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as e,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-side-bar-group-item-icon.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";let
|
|
1
|
+
import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as e,customElement as s}from"lit/decorators.js";import{s as o}from"./nile-side-bar-group-item-icon.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let n=class extends r{constructor(){super(...arguments),this.icon="",this.tooltip="",this.method="fill",this.size="14",this.enableVisibilityEffect=!1,this.duration=200,this.sidebar=null}static get styles(){return[o]}connectedCallback(){if(this.hasAttribute("slot")||this.setAttribute("slot","icon"),super.connectedCallback(),this.sidebar=this.closest("nile-side-bar"),this.sidebar){const t=new MutationObserver((()=>this.requestUpdate()));t.observe(this.sidebar,{attributes:!0,attributeFilter:["collapsed"]}),this._observer=t}}disconnectedCallback(){super.disconnectedCallback(),this._observer?.disconnect()}getSiblingText(){const t=this.parentElement,i=t?.querySelector("nile-side-bar-group-item-text");return i?.textContent?.trim()??""}render(){const t=!!this.sidebar?.collapsed,e=this.tooltip||this.getSiblingText();return t&&e?i`
|
|
2
2
|
|
|
3
3
|
<slot>
|
|
4
4
|
<nile-lite-tooltip hoist distance="18" content=${e} placement="right" enableVisibilityEffect=${this.enableVisibilityEffect} duration=${this.duration}>
|
|
@@ -10,4 +10,4 @@ import{__decorate as t}from"tslib";import{html as i}from"lit";import{property as
|
|
|
10
10
|
<slot>
|
|
11
11
|
${this.icon?i`<nile-icon size=${this.size} color="var(--nile-colors-dark-900,var(--ng-colors-fg-quaternary-400))" size="14" name=${this.icon} method=${this.method}></nile-icon>`:null}
|
|
12
12
|
</slot>
|
|
13
|
-
`}};t([e({type:String,reflect:!0})],
|
|
13
|
+
`}};t([e({type:String,reflect:!0})],n.prototype,"icon",void 0),t([e({type:String})],n.prototype,"tooltip",void 0),t([e({type:String})],n.prototype,"method",void 0),t([e({type:String})],n.prototype,"size",void 0),t([e({type:Boolean,attribute:!0,reflect:!0})],n.prototype,"enableVisibilityEffect",void 0),t([e({type:Number,attribute:!0,reflect:!0})],n.prototype,"duration",void 0),n=t([s("nile-side-bar-group-item-icon")],n);export{n as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-group-item-text.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item-text.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemTextCjsJs){_export("NileSideBarGroupItemText",_nileSideBarGroupItemTextCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemTextCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
1
|
+
System.register(["./nile-side-bar-group-item-text.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-group-item-text.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarGroupItemTextCjsJs){_export("NileSideBarGroupItemText",_nileSideBarGroupItemTextCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarGroupItemTextCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{N as NileSideBarGroupItemText}from"./nile-side-bar-group-item-text.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item-text.css.esm.js";import"../internal/nile-element.esm.js";
|
|
1
|
+
export{N as NileSideBarGroupItemText}from"./nile-side-bar-group-item-text.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-group-item-text.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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-text.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var t,e,
|
|
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-text.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var t,s,e,i,r,_templateObject,o;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){s=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.customElement;},function(_nileSideBarGroupItemTextCssCjsJs){i=_nileSideBarGroupItemTextCssCjsJs.s;},function(_internalNileElementCjsJs){r=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",o=/*#__PURE__*/function(_r){function o(){_classCallCheck(this,o);return _callSuper(this,o,arguments);}_inherits(o,_r);return _createClass(o,[{key:"connectedCallback",value:function connectedCallback(){_superPropGet(o,"connectedCallback",this,3)([]),this.hasAttribute("slot")||this.setAttribute("slot","text");}},{key:"render",value:function render(){return s(_templateObject||(_templateObject=_taggedTemplateLiteral([" <slot></slot> "])));}}],[{key:"styles",get:function get(){return[i];}}]);}(r));_export("N",o=t([e("nile-side-bar-group-item-text")],o));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-group-item-text.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-group-item-text.cjs.js","sources":["../../../src/nile-side-bar-group-item-text/nile-side-bar-group-item-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, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-group-item-text.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-group-item-text component.\n *\n * @tag nile-side-bar-group-item-text\n *\n * @slot - The text content of the sidebar item\n */\n@customElement('nile-side-bar-group-item-text')\nexport class NileSideBarGroupItemText extends NileElement {\n /**\n * The styles for nile-side-bar-group-item-text\n * @remarks Extendable via super if needed\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n \n if (!this.hasAttribute('slot')) {\n this.setAttribute('slot', 'text');\n }\n }\n\n public render(): TemplateResult {\n return html` <slot></slot> `;\n }\n}\n\nexport default NileSideBarGroupItemText;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item-text': NileSideBarGroupItemText;\n }\n}\n"],"names":["NileSideBarGroupItemText","
|
|
1
|
+
{"version":3,"file":"nile-side-bar-group-item-text.cjs.js","sources":["../../../src/nile-side-bar-group-item-text/nile-side-bar-group-item-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, CSSResultArray, TemplateResult } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { styles } from './nile-side-bar-group-item-text.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-group-item-text component.\n *\n * @tag nile-side-bar-group-item-text\n *\n * @slot - The text content of the sidebar item\n */\n@customElement('nile-side-bar-group-item-text')\nexport class NileSideBarGroupItemText extends NileElement {\n /**\n * The styles for nile-side-bar-group-item-text\n * @remarks Extendable via super if needed\n */\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n \n if (!this.hasAttribute('slot')) {\n this.setAttribute('slot', 'text');\n }\n }\n\n public render(): TemplateResult {\n return html` <slot></slot> `;\n }\n}\n\nexport default NileSideBarGroupItemText;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-group-item-text': NileSideBarGroupItemText;\n }\n}\n"],"names":["NileSideBarGroupItemText","connectedCallback","super","this","hasAttribute","setAttribute","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","customElement"],"mappings":"28HAoBaA,4KASX,SAAAC,iBAAAA,CAAAA,CACEC,CAAAA,aAAAA,CAAAA,CAAAA,iCAEKC,IAAKC,CAAAA,YAAAA,CAAa,SACrBD,IAAKE,CAAAA,YAAAA,CAAa,OAAQ,MAE7B,CAAA,EAEM,GAAAC,GAAA,UAAAC,KAAA,UAAAC,MAAAA,CAAAA,CACL,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,wBACZ,CAAA,KAAAL,GAAA,UAAAM,GAAA,CAdM,SAAAA,IAAA,CACL,CAAA,MAAO,CAACC,CACT,CAAA,EAED,MAT4CC,CAAAA,GAAjCd,OAAAA,KAAAA,EAAwBe,CAAA,CAAA,CADpCC,CAAc,CAAA,+BAAA,CAAA,CAAA,CACFhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as e}from"lit";import{customElement as s}from"lit/decorators.js";import{s as
|
|
1
|
+
import{__decorate as t}from"tslib";import{html as e}from"lit";import{customElement as s}from"lit/decorators.js";import{s as i}from"./nile-side-bar-group-item-text.css.esm.js";import{N as r}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let o=class extends r{static get styles(){return[i]}connectedCallback(){super.connectedCallback(),this.hasAttribute("slot")||this.setAttribute("slot","text")}render(){return e` <slot></slot> `}};o=t([s("nile-side-bar-group-item-text")],o);export{o as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-header.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-header.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarHeaderCjsJs){_export("NileSideBarHeader",_nileSideBarHeaderCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarHeaderCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
1
|
+
System.register(["./nile-side-bar-header.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-header.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarHeaderCjsJs){_export("NileSideBarHeader",_nileSideBarHeaderCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarHeaderCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{N as NileSideBarHeader}from"./nile-side-bar-header.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-header.css.esm.js";import"../internal/nile-element.esm.js";
|
|
1
|
+
export{N as NileSideBarHeader}from"./nile-side-bar-header.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-header.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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-header.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var e,t,r,
|
|
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-header.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var e,t,s,r,i,_templateObject,a;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){e=_tslib.__decorate;},function(_lit){t=_lit.html;},function(_litDecoratorsJs){s=_litDecoratorsJs.customElement;},function(_nileSideBarHeaderCssCjsJs){r=_nileSideBarHeaderCssCjsJs.s;},function(_internalNileElementCjsJs){i=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",a=/*#__PURE__*/function(_i){function a(){_classCallCheck(this,a);return _callSuper(this,a,arguments);}_inherits(a,_i);return _createClass(a,[{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\t\t <div class=\"header-content\" part=\"header-content\">\n <slot name=\"logo\" part=\"logo\"></slot>\n <slot name=\"expand\" part=\"expand\"></slot>\n </div>\n\t\t\t"])));}}],[{key:"styles",get:function get(){return[r];}}]);}(i));_export("N",a=e([s("nile-side-bar-header")],a));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-header.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-header.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.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-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-header component.\n *\n * @tag nile-side-bar-header\n *\n */\n@customElement('nile-side-bar-header')\nexport class NileSideBarHeader extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-header\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 <div class=\"header-content\" part=\"header-content\">\n <slot name=\"logo\" part=\"logo\"></slot>\n <slot name=\"expand\" part=\"expand\"></slot>\n </div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-header': NileSideBarHeader;\n }\n}"],"names":["NileSideBarHeader","render","html","_templateObject","_taggedTemplateLiteral","
|
|
1
|
+
{"version":3,"file":"nile-side-bar-header.cjs.js","sources":["../../../src/nile-side-bar-header/nile-side-bar-header.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-header.css';\nimport NileElement from '../internal/nile-element';\n\n\n/**\n * Nile side-bar-header component.\n *\n * @tag nile-side-bar-header\n *\n */\n@customElement('nile-side-bar-header')\nexport class NileSideBarHeader extends NileElement {\n\n\t/**\n\t * The styles for nile-side-bar-header\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 <div class=\"header-content\" part=\"header-content\">\n <slot name=\"logo\" part=\"logo\"></slot>\n <slot name=\"expand\" part=\"expand\"></slot>\n </div>\n\t\t\t`;\n\t}\n\n\t/* #endregion */\n}\n\nexport default NileSideBarHeader;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-header': NileSideBarHeader;\n }\n}"],"names":["NileSideBarHeader","_i","a","_classCallCheck","_callSuper","arguments","_inherits","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","customElement"],"mappings":"u6GAoBaA,CAAN,uBAAAC,EAAA,WAAAC,EAAA,EAAAC,eAAA,MAAAD,CAAA,SAAAE,UAAA,MAAAF,CAAA,CAAAG,SAAA,GAAAC,SAAA,CAAAJ,CAAA,CAAAD,EAAA,SAAAM,YAAA,CAAAL,CAAA,GAAAM,GAAA,UAAAC,KAAA,CAkBC,SAAAC,MAAAA,CAAAA,CACN,CAAA,MAAOC,CAAAA,CAAI,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA,iMAMX,CAAA,KAAAL,GAAA,UAAAM,GAAA,CAnBM,SAAAA,IAAA,CACN,CAAA,MAAO,CAACC,CAAAA,CACR,EAUM,MAlB+BC,CAM/B,GANKhB,OAAAA,KAAAA,CAAiBiB,CAAAA,CAAAA,CAAA,CAD7BC,CAAAA,CAAc,yBACFlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{__decorate as e}from"tslib";import{html as t}from"lit";import{customElement as
|
|
1
|
+
import{__decorate as e}from"tslib";import{html as t}from"lit";import{customElement as s}from"lit/decorators.js";import{s as r}from"./nile-side-bar-header.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends i{static get styles(){return[r]}render(){return t`
|
|
2
2
|
<div class="header-content" part="header-content">
|
|
3
3
|
<slot name="logo" part="logo"></slot>
|
|
4
4
|
<slot name="expand" part="expand"></slot>
|
|
5
5
|
</div>
|
|
6
|
-
`}};a=e([
|
|
6
|
+
`}};a=e([s("nile-side-bar-header")],a);export{a as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-logo.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-logo.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarLogoCjsJs){_export("NileSideBarLogo",_nileSideBarLogoCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarLogoCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
1
|
+
System.register(["./nile-side-bar-logo.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-logo.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarLogoCjsJs){_export("NileSideBarLogo",_nileSideBarLogoCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarLogoCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{N as NileSideBarLogo}from"./nile-side-bar-logo.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-logo.css.esm.js";import"../internal/nile-element.esm.js";
|
|
1
|
+
export{N as NileSideBarLogo}from"./nile-side-bar-logo.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-logo.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
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-logo.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";var s,t,
|
|
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-logo.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";var s,t,e,r,o,i,_templateObject,a;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){s=_tslib.__decorate;},function(_lit){t=_lit.html;},function(_litDecoratorsJs){e=_litDecoratorsJs.property;r=_litDecoratorsJs.customElement;},function(_nileSideBarLogoCssCjsJs){o=_nileSideBarLogoCssCjsJs.s;},function(_internalNileElementCjsJs){i=_internalNileElementCjsJs.N;},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){_export("N",a=/*#__PURE__*/function(_i){function a(){var _this;_classCallCheck(this,a);_this=_callSuper(this,a,arguments),_this.src="https://assets.aquera.io/img/aquera-logo-blue.svg",_this.collapsedSrc="https://assets.aqueralabs.com/img/aquera-logo-mini.png";return _this;}_inherits(a,_i);return _createClass(a,[{key:"render",value:function render(){return t(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n <img class=\"logo expanded\" src=\"","\" alt=\"Logo\" part=\"logo-expanded\" />\n <img class=\"logo collapsed\" src=\"","\" alt=\"Logo icon\" part=\"logo-collapsed\" />\n "])),this.src,this.collapsedSrc);}}],[{key:"styles",get:function get(){return[o];}}]);}(i));s([e({type:String,attribute:!0,reflect:!0})],a.prototype,"src",void 0),s([e({type:String,attribute:"collapsed-src"})],a.prototype,"collapsedSrc",void 0),_export("N",a=s([r("nile-side-bar-logo")],a));}};});
|
|
2
2
|
//# sourceMappingURL=nile-side-bar-logo.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nile-side-bar-logo.cjs.js","sources":["../../../src/nile-side-bar-logo/nile-side-bar-logo.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-logo.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-logo component.\n *\n * @tag nile-side-bar-logo\n *\n * @attr src - The image URL for the expanded (full) logo\n * @attr collapsed-src - The image URL for the collapsed (icon) logo\n */\n@customElement('nile-side-bar-logo')\nexport class NileSideBarLogo extends NileElement {\n /**\n * Expanded logo (default full size)\n */\n @property({ type: String, attribute: true, reflect: true })\n src: string = 'https://assets.aquera.io/img/aquera-logo-blue.svg';\n /**\n * Collapsed logo (icon only)\n */\n @property({ type: String, attribute: 'collapsed-src' })\n collapsedSrc: string = 'https://assets.aqueralabs.com/img/aquera-logo-mini.png';\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n public render(): TemplateResult {\n return html`\n <img class=\"logo expanded\" src=\"${this.src}\" alt=\"Logo\" part=\"logo-expanded\" />\n <img class=\"logo collapsed\" src=\"${this.collapsedSrc}\" alt=\"Logo icon\" part=\"logo-collapsed\" />\n `;\n }\n}\n\nexport default NileSideBarLogo;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-logo': NileSideBarLogo;\n }\n}\n"],"names":["NileSideBarLogo","
|
|
1
|
+
{"version":3,"file":"nile-side-bar-logo.cjs.js","sources":["../../../src/nile-side-bar-logo/nile-side-bar-logo.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-logo.css';\nimport NileElement from '../internal/nile-element';\n\n/**\n * Nile side-bar-logo component.\n *\n * @tag nile-side-bar-logo\n *\n * @attr src - The image URL for the expanded (full) logo\n * @attr collapsed-src - The image URL for the collapsed (icon) logo\n */\n@customElement('nile-side-bar-logo')\nexport class NileSideBarLogo extends NileElement {\n /**\n * Expanded logo (default full size)\n */\n @property({ type: String, attribute: true, reflect: true })\n src: string = 'https://assets.aquera.io/img/aquera-logo-blue.svg';\n /**\n * Collapsed logo (icon only)\n */\n @property({ type: String, attribute: 'collapsed-src' })\n collapsedSrc: string = 'https://assets.aqueralabs.com/img/aquera-logo-mini.png';\n\n public static get styles(): CSSResultArray {\n return [styles];\n }\n\n public render(): TemplateResult {\n return html`\n <img class=\"logo expanded\" src=\"${this.src}\" alt=\"Logo\" part=\"logo-expanded\" />\n <img class=\"logo collapsed\" src=\"${this.collapsedSrc}\" alt=\"Logo icon\" part=\"logo-collapsed\" />\n `;\n }\n}\n\nexport default NileSideBarLogo;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'nile-side-bar-logo': NileSideBarLogo;\n }\n}\n"],"names":["NileSideBarLogo","a","this","src","collapsedSrc","_this","_inherits","_i","_createClass","key","value","render","html","_templateObject","_taggedTemplateLiteral","get","styles","NileElement","__decorate","property","type","String","attribute","reflect","prototype","_export","customElement"],"mappings":"+7GAqBaA,CAAAA,uBAAAA,EAAAA,EAAN,SAAAC,EAAA,uEAKLC,KAAAA,CAAGC,GAAAA,CAAW,mDAKdD,CAAAA,KAAAA,CAAYE,aAAW,wDAYxB,QAAAC,KAAA,EAVQC,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,mMACyBZ,IAAKC,CAAAA,GAAAA,CACJD,IAAKE,CAAAA,YAAAA,EAE3C,CAAA,KAAAK,GAAA,UAAAM,GAAA,CATM,SAAAA,IAAA,CAAWC,CAChB,MAAO,CAACA,CAAAA,CACT,EAEM,MAhB4BC,CAA9B,GAKLC,CAAA,CAAA,CADCC,CAAS,CAAA,CAAEC,IAAMC,CAAAA,MAAAA,CAAQC,SAAW,CAAA,CAAA,CAAA,CAAMC,OAAS,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACcvB,CAAAwB,CAAAA,SAAAA,CAAA,UAAA,EAKlEN,CAAAA,CAAAA,CAAAA,CAAA,CADCC,CAAAA,CAAS,CAAEC,IAAAA,CAAMC,MAAQC,CAAAA,SAAAA,CAAW,mBAC2CtB,CAAAwB,CAAAA,SAAAA,CAAA,cAAA,CAAA,IAAA,EAAA,CAAA,CAAAC,OAAA,KAVrEzB,CAAekB,CAAAA,CAAAA,CAAA,CAD3BQ,CAAAA,CAAc,uBACF1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__decorate as s}from"tslib";import{html as
|
|
1
|
+
import{__decorate as s}from"tslib";import{html as e}from"lit";import{property as t,customElement as r}from"lit/decorators.js";import{s as o}from"./nile-side-bar-logo.css.esm.js";import{N as i}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends i{constructor(){super(...arguments),this.src="https://assets.aquera.io/img/aquera-logo-blue.svg",this.collapsedSrc="https://assets.aqueralabs.com/img/aquera-logo-mini.png"}static get styles(){return[o]}render(){return e`
|
|
2
2
|
<img class="logo expanded" src="${this.src}" alt="Logo" part="logo-expanded" />
|
|
3
3
|
<img class="logo collapsed" src="${this.collapsedSrc}" alt="Logo icon" part="logo-collapsed" />
|
|
4
|
-
`}};s([
|
|
4
|
+
`}};s([t({type:String,attribute:!0,reflect:!0})],a.prototype,"src",void 0),s([t({type:String,attribute:"collapsed-src"})],a.prototype,"collapsedSrc",void 0),a=s([r("nile-side-bar-logo")],a);export{a as N};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./nile-side-bar-panel.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-panel.css.cjs.js","../internal/nile-element.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarPanelCjsJs){_export("NileSideBarPanel",_nileSideBarPanelCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarPanelCssCjsJs){},function(_internalNileElementCjsJs){}],execute:function execute(){}};});
|
|
1
|
+
System.register(["./nile-side-bar-panel.cjs.js","tslib","lit","lit/decorators.js","./nile-side-bar-panel.css.cjs.js","../internal/nile-element.cjs.js","../internal/accessibility/a11y.state.enum.cjs.js","../internal/accessibility/a11y.property.enum.cjs.js","../internal/accessibility/role.enum.cjs.js"],function(_export,_context){"use strict";return{setters:[function(_nileSideBarPanelCjsJs){_export("NileSideBarPanel",_nileSideBarPanelCjsJs.N);},function(_tslib){},function(_lit){},function(_litDecoratorsJs){},function(_nileSideBarPanelCssCjsJs){},function(_internalNileElementCjsJs){},function(_internalAccessibilityA11yStateEnumCjsJs){},function(_internalAccessibilityA11yPropertyEnumCjsJs){},function(_internalAccessibilityRoleEnumCjsJs){}],execute:function execute(){}};});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{N as NileSideBarPanel}from"./nile-side-bar-panel.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-panel.css.esm.js";import"../internal/nile-element.esm.js";
|
|
1
|
+
export{N as NileSideBarPanel}from"./nile-side-bar-panel.esm.js";import"tslib";import"lit";import"lit/decorators.js";import"./nile-side-bar-panel.css.esm.js";import"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";
|