@aquera/nile-elements 0.1.17 → 0.1.19
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 +8 -0
- package/demo/index.html +111 -16
- package/dist/nile-accordion/nile-accordion.css.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordion.css.cjs.js.map +1 -1
- package/dist/nile-accordion/nile-accordion.css.esm.js +1 -1
- package/dist/nile-button/nile-button.css.cjs.js +1 -1
- package/dist/nile-button/nile-button.css.cjs.js.map +1 -1
- package/dist/nile-button/nile-button.css.esm.js +14 -14
- package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js.map +1 -1
- package/dist/nile-button-toggle/nile-button-toggle.css.esm.js +3 -3
- package/dist/nile-calendar/nile-calendar.css.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.css.cjs.js.map +1 -1
- package/dist/nile-calendar/nile-calendar.css.esm.js +22 -22
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js.map +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.css.cjs.js +1 -1
- package/dist/nile-card/nile-card.css.cjs.js.map +1 -1
- package/dist/nile-card/nile-card.css.esm.js +3 -3
- package/dist/nile-chip/nile-chip.css.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.css.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.css.esm.js +8 -8
- package/dist/nile-circular-progressbar/nile-circular-progressbar.css.cjs.js +1 -1
- package/dist/nile-circular-progressbar/nile-circular-progressbar.css.cjs.js.map +1 -1
- package/dist/nile-circular-progressbar/nile-circular-progressbar.css.esm.js +3 -3
- package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.css.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.css.cjs.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.css.cjs.js.map +1 -1
- package/dist/nile-content-editor/nile-content-editor.css.esm.js +11 -11
- package/dist/nile-dialog/nile-dialog.css.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.css.cjs.js.map +1 -1
- package/dist/nile-dialog/nile-dialog.css.esm.js +7 -7
- package/dist/nile-divider/nile-divider.css.cjs.js +1 -1
- package/dist/nile-divider/nile-divider.css.cjs.js.map +1 -1
- package/dist/nile-divider/nile-divider.css.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.css.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.css.cjs.js.map +1 -1
- package/dist/nile-drawer/nile-drawer.css.esm.js +3 -3
- package/dist/nile-empty-state/nile-empty-state.css.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.css.cjs.js.map +1 -1
- package/dist/nile-empty-state/nile-empty-state.css.esm.js +4 -4
- package/dist/nile-error-message/nile-error-message.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.cjs.js.map +1 -1
- package/dist/nile-error-message/nile-error-message.esm.js +2 -2
- package/dist/nile-form-error-message/nile-form-error-message.cjs.js +1 -1
- package/dist/nile-form-error-message/nile-form-error-message.cjs.js.map +1 -1
- package/dist/nile-form-error-message/nile-form-error-message.esm.js +3 -3
- package/dist/nile-hero/nile-hero.css.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.css.cjs.js.map +1 -1
- package/dist/nile-hero/nile-hero.css.esm.js +2 -2
- package/dist/nile-hero-header/nile-hero-header.css.cjs.js +1 -1
- package/dist/nile-hero-header/nile-hero-header.css.cjs.js.map +1 -1
- package/dist/nile-hero-header/nile-hero-header.css.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-input/nile-input.css.cjs.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.esm.js +25 -25
- package/dist/nile-link/nile-link.css.cjs.js +1 -1
- package/dist/nile-link/nile-link.css.cjs.js.map +1 -1
- package/dist/nile-link/nile-link.css.esm.js +3 -3
- package/dist/nile-list-item/nile-list-item.css.cjs.js +1 -1
- package/dist/nile-list-item/nile-list-item.css.cjs.js.map +1 -1
- package/dist/nile-list-item/nile-list-item.css.esm.js +1 -1
- package/dist/nile-loader/nile-loader.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.cjs.js.map +1 -1
- package/dist/nile-loader/nile-loader.esm.js +7 -7
- 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 +1 -1
- package/dist/nile-option/nile-option.css.cjs.js +1 -1
- package/dist/nile-option/nile-option.css.cjs.js.map +1 -1
- package/dist/nile-option/nile-option.css.esm.js +1 -1
- package/dist/nile-popover/nile-popover.css.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.css.cjs.js.map +1 -1
- package/dist/nile-popover/nile-popover.css.esm.js +2 -2
- 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 -4
- 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 +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 +26 -26
- package/dist/nile-select/nile-select.esm.js +1 -1
- package/dist/nile-sidebar/index.cjs.js +1 -1
- package/dist/nile-sidebar/index.cjs.js.map +1 -1
- package/dist/nile-sidebar/index.esm.js +7 -7
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js +1 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.cjs.js.map +1 -1
- package/dist/nile-sidebar-menu-items/nile-sidebar-menu-items.css.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +2 -2
- package/dist/nile-stepper-item/nile-stepper-item.css.cjs.js +1 -1
- package/dist/nile-stepper-item/nile-stepper-item.css.cjs.js.map +1 -1
- package/dist/nile-stepper-item/nile-stepper-item.css.esm.js +13 -13
- 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 +1 -1
- package/dist/nile-tab/nile-tab.css.cjs.js +1 -1
- package/dist/nile-tab/nile-tab.css.cjs.js.map +1 -1
- package/dist/nile-tab/nile-tab.css.esm.js +0 -1
- package/dist/nile-tab-group/nile-tab-group.css.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.css.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.css.esm.js +3 -3
- package/dist/nile-table-body/nile-table-body.css.cjs.js +1 -1
- package/dist/nile-table-body/nile-table-body.css.cjs.js.map +1 -1
- package/dist/nile-table-body/nile-table-body.css.esm.js +1 -1
- package/dist/nile-tag/nile-tag.css.cjs.js +1 -1
- package/dist/nile-tag/nile-tag.css.cjs.js.map +1 -1
- package/dist/nile-tag/nile-tag.css.esm.js +26 -26
- package/dist/nile-textarea/nile-textarea.css.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.css.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.css.esm.js +4 -4
- 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.css.cjs.js +1 -1
- package/dist/nile-toast/nile-toast.css.cjs.js.map +1 -1
- package/dist/nile-toast/nile-toast.css.esm.js +2 -2
- package/dist/nile-toast/nile-toast.esm.js +3 -3
- package/dist/nile-toolbar/nile-toolbar.css.cjs.js +1 -1
- package/dist/nile-toolbar/nile-toolbar.css.cjs.js.map +1 -1
- package/dist/nile-toolbar/nile-toolbar.css.esm.js +3 -3
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +1 -1
- package/dist/nile-tour/nile-tour.cjs.js +2 -2
- package/dist/nile-tour/nile-tour.cjs.js.map +1 -1
- package/dist/nile-tour/nile-tour.css.cjs.js +1 -1
- package/dist/nile-tour/nile-tour.css.cjs.js.map +1 -1
- package/dist/nile-tour/nile-tour.css.esm.js +38 -24
- package/dist/nile-tour/nile-tour.esm.js +11 -2
- package/dist/nile-tree/nile-tree.css.cjs.js +1 -1
- package/dist/nile-tree/nile-tree.css.cjs.js.map +1 -1
- package/dist/nile-tree/nile-tree.css.esm.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.css.cjs.js +1 -1
- package/dist/nile-tree-item/nile-tree-item.css.cjs.js.map +1 -1
- package/dist/nile-tree-item/nile-tree-item.css.esm.js +6 -6
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.css.cjs.js +1 -1
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.css.cjs.js.map +1 -1
- package/dist/nile-vertical-stepper-item/nile-vertical-stepper-item.css.esm.js +12 -12
- package/dist/src/nile-accordion/nile-accordion.css.js +1 -1
- package/dist/src/nile-accordion/nile-accordion.css.js.map +1 -1
- package/dist/src/nile-button/nile-button.css.js +14 -14
- package/dist/src/nile-button/nile-button.css.js.map +1 -1
- package/dist/src/nile-button-toggle/nile-button-toggle.css.js +3 -3
- package/dist/src/nile-button-toggle/nile-button-toggle.css.js.map +1 -1
- package/dist/src/nile-calendar/nile-calendar.css.js +20 -20
- package/dist/src/nile-calendar/nile-calendar.css.js.map +1 -1
- package/dist/src/nile-calendar/nile-calendar.test.js +13 -6
- package/dist/src/nile-calendar/nile-calendar.test.js.map +1 -1
- package/dist/src/nile-card/nile-card.css.js +1 -1
- package/dist/src/nile-card/nile-card.css.js.map +1 -1
- package/dist/src/nile-chip/nile-chip.css.js +8 -8
- package/dist/src/nile-chip/nile-chip.css.js.map +1 -1
- package/dist/src/nile-circular-progressbar/nile-circular-progressbar.css.js +1 -1
- package/dist/src/nile-circular-progressbar/nile-circular-progressbar.css.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.css.js +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.js +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-content-editor/nile-content-editor.css.js +9 -9
- package/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -1
- package/dist/src/nile-dialog/nile-dialog.css.js +7 -7
- package/dist/src/nile-dialog/nile-dialog.css.js.map +1 -1
- package/dist/src/nile-divider/nile-divider.css.js +1 -1
- package/dist/src/nile-divider/nile-divider.css.js.map +1 -1
- package/dist/src/nile-drawer/nile-drawer.css.js +1 -1
- package/dist/src/nile-drawer/nile-drawer.css.js.map +1 -1
- package/dist/src/nile-empty-state/nile-empty-state.css.js +4 -4
- package/dist/src/nile-empty-state/nile-empty-state.css.js.map +1 -1
- package/dist/src/nile-error-message/nile-error-message.js +2 -2
- package/dist/src/nile-error-message/nile-error-message.js.map +1 -1
- package/dist/src/nile-form-error-message/nile-form-error-message.js +1 -1
- package/dist/src/nile-form-error-message/nile-form-error-message.js.map +1 -1
- package/dist/src/nile-hero/nile-hero.css.js +2 -2
- package/dist/src/nile-hero/nile-hero.css.js.map +1 -1
- package/dist/src/nile-hero-header/nile-hero-header.css.js +1 -1
- package/dist/src/nile-hero-header/nile-hero-header.css.js.map +1 -1
- package/dist/src/nile-icon/index.js +1 -1
- package/dist/src/nile-icon/index.js.map +1 -1
- package/dist/src/nile-input/nile-input.css.js +23 -23
- package/dist/src/nile-input/nile-input.css.js.map +1 -1
- package/dist/src/nile-link/nile-link.css.js +3 -3
- package/dist/src/nile-link/nile-link.css.js.map +1 -1
- package/dist/src/nile-list-item/nile-list-item.css.js +1 -1
- package/dist/src/nile-list-item/nile-list-item.css.js.map +1 -1
- package/dist/src/nile-loader/nile-loader.js +3 -3
- package/dist/src/nile-loader/nile-loader.js.map +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.css.js +1 -1
- package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
- package/dist/src/nile-option/nile-option.css.js +1 -1
- package/dist/src/nile-option/nile-option.css.js.map +1 -1
- package/dist/src/nile-popover/nile-popover.css.js +2 -2
- package/dist/src/nile-popover/nile-popover.css.js.map +1 -1
- package/dist/src/nile-radio/nile-radio.css.js +4 -4
- package/dist/src/nile-radio/nile-radio.css.js.map +1 -1
- package/dist/src/nile-section-message/nile-section-message.js +1 -1
- package/dist/src/nile-section-message/nile-section-message.js.map +1 -1
- package/dist/src/nile-select/nile-select.css.js +26 -26
- package/dist/src/nile-select/nile-select.css.js.map +1 -1
- package/dist/src/nile-select/nile-select.js +2 -0
- package/dist/src/nile-select/nile-select.js.map +1 -1
- package/dist/src/nile-sidebar/index.js +5 -5
- package/dist/src/nile-sidebar/index.js.map +1 -1
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js +1 -1
- package/dist/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.js.map +1 -1
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +2 -2
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
- package/dist/src/nile-stepper-item/nile-stepper-item.css.js +13 -13
- package/dist/src/nile-stepper-item/nile-stepper-item.css.js.map +1 -1
- package/dist/src/nile-switcher/nile-switcher.js +1 -1
- package/dist/src/nile-switcher/nile-switcher.js.map +1 -1
- package/dist/src/nile-tab/nile-tab.css.js +0 -1
- package/dist/src/nile-tab/nile-tab.css.js.map +1 -1
- package/dist/src/nile-tab-group/nile-tab-group.css.js +3 -3
- package/dist/src/nile-tab-group/nile-tab-group.css.js.map +1 -1
- package/dist/src/nile-table-body/nile-table-body.css.js +1 -1
- package/dist/src/nile-table-body/nile-table-body.css.js.map +1 -1
- package/dist/src/nile-tag/nile-tag.css.js +24 -24
- package/dist/src/nile-tag/nile-tag.css.js.map +1 -1
- package/dist/src/nile-textarea/nile-textarea.css.js +4 -4
- package/dist/src/nile-textarea/nile-textarea.css.js.map +1 -1
- package/dist/src/nile-toast/nile-toast.css.js +2 -2
- package/dist/src/nile-toast/nile-toast.css.js.map +1 -1
- package/dist/src/nile-toast/nile-toast.js +1 -1
- package/dist/src/nile-toast/nile-toast.js.map +1 -1
- package/dist/src/nile-toolbar/nile-toolbar.css.js +1 -1
- package/dist/src/nile-toolbar/nile-toolbar.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/src/nile-tour/nile-tour.css.js +36 -22
- package/dist/src/nile-tour/nile-tour.css.js.map +1 -1
- package/dist/src/nile-tour/nile-tour.d.ts +6 -29
- package/dist/src/nile-tour/nile-tour.js +70 -76
- package/dist/src/nile-tour/nile-tour.js.map +1 -1
- package/dist/src/nile-tree/nile-tree.css.js +1 -1
- package/dist/src/nile-tree/nile-tree.css.js.map +1 -1
- package/dist/src/nile-tree-item/nile-tree-item.css.js +6 -6
- package/dist/src/nile-tree-item/nile-tree-item.css.js.map +1 -1
- package/dist/src/nile-vertical-stepper-item/nile-vertical-stepper-item.css.js +12 -12
- package/dist/src/nile-vertical-stepper-item/nile-vertical-stepper-item.css.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-accordion/nile-accordion.css.ts +1 -1
- package/src/nile-button/nile-button.css.ts +14 -14
- package/src/nile-button-toggle/nile-button-toggle.css.ts +3 -3
- package/src/nile-calendar/nile-calendar.css.ts +20 -20
- package/src/nile-calendar/nile-calendar.test.ts +15 -6
- package/src/nile-card/nile-card.css.ts +1 -1
- package/src/nile-chip/nile-chip.css.ts +8 -8
- package/src/nile-circular-progressbar/nile-circular-progressbar.css.ts +1 -1
- package/src/nile-code-editor/nile-code-editor.css.ts +1 -1
- package/src/nile-code-editor/nile-code-editor.ts +1 -1
- package/src/nile-content-editor/nile-content-editor.css.ts +9 -9
- package/src/nile-dialog/nile-dialog.css.ts +7 -7
- package/src/nile-divider/nile-divider.css.ts +1 -1
- package/src/nile-drawer/nile-drawer.css.ts +1 -1
- package/src/nile-empty-state/nile-empty-state.css.ts +4 -4
- package/src/nile-error-message/nile-error-message.ts +2 -2
- package/src/nile-form-error-message/nile-form-error-message.ts +1 -1
- package/src/nile-hero/nile-hero.css.ts +2 -2
- package/src/nile-hero-header/nile-hero-header.css.ts +1 -1
- package/src/nile-icon/index.ts +1 -1
- package/src/nile-input/nile-input.css.ts +23 -23
- package/src/nile-link/nile-link.css.ts +3 -3
- package/src/nile-list-item/nile-list-item.css.ts +1 -1
- package/src/nile-loader/nile-loader.ts +3 -3
- package/src/nile-menu-item/nile-menu-item.css.ts +1 -1
- package/src/nile-option/nile-option.css.ts +1 -1
- package/src/nile-popover/nile-popover.css.ts +2 -2
- package/src/nile-radio/nile-radio.css.ts +4 -4
- package/src/nile-section-message/nile-section-message.ts +1 -1
- package/src/nile-select/nile-select.css.ts +26 -26
- package/src/nile-select/nile-select.ts +2 -0
- package/src/nile-sidebar/index.ts +5 -5
- package/src/nile-sidebar-menu-items/nile-sidebar-menu-items.css.ts +1 -1
- package/src/nile-slide-toggle/nile-slide-toggle.css.ts +2 -2
- package/src/nile-stepper-item/nile-stepper-item.css.ts +13 -13
- package/src/nile-switcher/nile-switcher.ts +1 -1
- package/src/nile-tab/nile-tab.css.ts +0 -1
- package/src/nile-tab-group/nile-tab-group.css.ts +3 -3
- package/src/nile-table-body/nile-table-body.css.ts +1 -1
- package/src/nile-tag/nile-tag.css.ts +24 -24
- package/src/nile-textarea/nile-textarea.css.ts +4 -4
- package/src/nile-toast/nile-toast.css.ts +2 -2
- package/src/nile-toast/nile-toast.ts +1 -1
- package/src/nile-toolbar/nile-toolbar.css.ts +1 -1
- package/src/nile-tooltip/nile-tooltip.css.ts +1 -1
- package/src/nile-tour/nile-tour.css.ts +36 -22
- package/src/nile-tour/nile-tour.ts +86 -95
- package/src/nile-tree/nile-tree.css.ts +1 -1
- package/src/nile-tree-item/nile-tree-item.css.ts +6 -6
- package/src/nile-vertical-stepper-item/nile-vertical-stepper-item.css.ts +12 -12
- package/vscode-html-custom-data.json +1 -5
@@ -36,10 +36,10 @@ export const styles = css`
|
|
36
36
|
*/
|
37
37
|
|
38
38
|
.tag--primary {
|
39
|
-
background:
|
40
|
-
border-color:
|
41
|
-
border: 2px solid
|
42
|
-
color:
|
39
|
+
background: var(--nile-colors-primary-600);
|
40
|
+
border-color: var(--nile-colors-primary-600);
|
41
|
+
border: 2px solid var(--nile-colors-primary-600);
|
42
|
+
color: var(--nile-colors-white-base);
|
43
43
|
}
|
44
44
|
|
45
45
|
.tag--primary:hover {
|
@@ -51,13 +51,13 @@ export const styles = css`
|
|
51
51
|
}
|
52
52
|
|
53
53
|
.tag--success {
|
54
|
-
background:
|
55
|
-
border: 2px solid
|
56
|
-
color:
|
54
|
+
background: var(--nile-colors-green-400);
|
55
|
+
border: 2px solid var(--nile-colors-green-400);
|
56
|
+
color: var(--nile-colors-dark-900);
|
57
57
|
}
|
58
58
|
|
59
59
|
.tag--success:hover {
|
60
|
-
border: 2px solid
|
60
|
+
border: 2px solid var(--nile-colors-green-500);
|
61
61
|
}
|
62
62
|
|
63
63
|
.tag--success:active > nile-icon-button {
|
@@ -65,13 +65,13 @@ export const styles = css`
|
|
65
65
|
}
|
66
66
|
|
67
67
|
.tag--normal {
|
68
|
-
background:
|
69
|
-
border: 2px solid
|
70
|
-
color:
|
68
|
+
background: var(--nile-colors-neutral-400);
|
69
|
+
border: 2px solid var(--nile-colors-neutral-400);
|
70
|
+
color: var(--nile-colors-dark-900);
|
71
71
|
}
|
72
72
|
|
73
73
|
.tag--normal:hover {
|
74
|
-
border: 2px solid
|
74
|
+
border: 2px solid var(--nile-colors-neutral-500);
|
75
75
|
}
|
76
76
|
|
77
77
|
|
@@ -80,13 +80,13 @@ export const styles = css`
|
|
80
80
|
}
|
81
81
|
|
82
82
|
.tag--warning {
|
83
|
-
background:
|
84
|
-
border: 2px solid
|
85
|
-
color:
|
83
|
+
background: var(--nile-colors-yellow-400);
|
84
|
+
border: 2px solid var(--nile-colors-yellow-400);
|
85
|
+
color: var(--nile-colors-dark-900);
|
86
86
|
}
|
87
87
|
|
88
88
|
.tag--warning:hover {
|
89
|
-
border: 2px solid
|
89
|
+
border: 2px solid var(--nile-colors-yellow-500);
|
90
90
|
}
|
91
91
|
|
92
92
|
.tag--warning:active > nile-icon-button {
|
@@ -95,13 +95,13 @@ export const styles = css`
|
|
95
95
|
|
96
96
|
|
97
97
|
.tag--error {
|
98
|
-
background:
|
99
|
-
border: 2px solid
|
100
|
-
color:
|
98
|
+
background: var(--nile-colors-red-400);
|
99
|
+
border: 2px solid var(--nile-colors-red-400);
|
100
|
+
color: var(--nile-colors-dark-900);
|
101
101
|
}
|
102
102
|
|
103
103
|
.tag--error:hover {
|
104
|
-
border: 2px solid
|
104
|
+
border: 2px solid var(--nile-colors-red-500);
|
105
105
|
}
|
106
106
|
|
107
107
|
.tag--error:active > nile-icon-button {
|
@@ -109,13 +109,13 @@ export const styles = css`
|
|
109
109
|
}
|
110
110
|
|
111
111
|
.tag--info {
|
112
|
-
background:
|
113
|
-
border: 2px solid
|
114
|
-
color:
|
112
|
+
background: var(--nile-colors-blue-400);
|
113
|
+
border: 2px solid var(--nile-colors-blue-400);
|
114
|
+
color: var(--nile-colors-dark-900);
|
115
115
|
}
|
116
116
|
|
117
117
|
.tag--info:hover {
|
118
|
-
border: 2px solid
|
118
|
+
border: 2px solid var(--nile-colors-blue-500);
|
119
119
|
}
|
120
120
|
|
121
121
|
.tag--info:active > nile-icon-button {
|
@@ -39,7 +39,7 @@ export const styles = css`
|
|
39
39
|
:host([required]) .form-control--has-label .form-control__label::after {
|
40
40
|
content: '*';
|
41
41
|
margin-inline-start: -2px;
|
42
|
-
color:
|
42
|
+
color: var( --nile-colors-red-700);
|
43
43
|
}
|
44
44
|
|
45
45
|
/* Help text */
|
@@ -110,7 +110,7 @@ export const styles = css`
|
|
110
110
|
|
111
111
|
.textarea--standard.textarea--focused:not(.textarea--disabled)
|
112
112
|
.textarea__control {
|
113
|
-
color:
|
113
|
+
color: var(--nile-colors-dark-900);
|
114
114
|
}
|
115
115
|
|
116
116
|
.textarea--standard.textarea--disabled {
|
@@ -196,12 +196,12 @@ export const styles = css`
|
|
196
196
|
}
|
197
197
|
|
198
198
|
.textarea--standard.textarea--destructive {
|
199
|
-
border-color:
|
199
|
+
border-color: var(--nile-colors-red-400);
|
200
200
|
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
201
201
|
}
|
202
202
|
|
203
203
|
.textarea--standard.textarea--destructive.textarea--focused {
|
204
|
-
border-color:
|
204
|
+
border-color: var(--nile-colors-red-400);
|
205
205
|
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),
|
206
206
|
0px 0px 0px 4px rgba(240, 68, 56, 0.24);
|
207
207
|
}
|
@@ -130,12 +130,12 @@ export const styles = css`
|
|
130
130
|
|
131
131
|
.alert__message--title {
|
132
132
|
font-weight: 600;
|
133
|
-
color
|
133
|
+
color:var(--nile-colors-dark-900);
|
134
134
|
}
|
135
135
|
|
136
136
|
.alert__message--content {
|
137
137
|
font-weight:400;
|
138
|
-
color
|
138
|
+
color:var(--nile-colors-dark-500);
|
139
139
|
}
|
140
140
|
|
141
141
|
.alert__message--content-only {
|
@@ -27,7 +27,7 @@ export const styles = css`
|
|
27
27
|
font-weight: var(--nile-toolbar-font-weight);
|
28
28
|
font-family: var(--nile-font-family-sans-serif);
|
29
29
|
font-size: var(--nile-toolbar-font-size);
|
30
|
-
background-color: var(--nile-toolbar-background-color,
|
30
|
+
background-color: var(--nile-toolbar-background-color, var(--nile-colors-white-base));
|
31
31
|
color: var(--nile-toolbar-text-color, rgba(0, 0, 0, 0.87));
|
32
32
|
}
|
33
33
|
`;
|
@@ -55,7 +55,7 @@ export const styles = css`
|
|
55
55
|
font-weight: var(--nile-tooltip-font-weight-sm);
|
56
56
|
line-height: var(--nile-tooltip-line-height-sm);
|
57
57
|
padding: var(--nile-tooltip-padding-y) var(--nile-tooltip-padding-x);
|
58
|
-
color:
|
58
|
+
color: var(--nile-colors-white-base);
|
59
59
|
pointer-events: none;
|
60
60
|
word-break: break-word;
|
61
61
|
}
|
@@ -15,20 +15,21 @@ export const styles = css`
|
|
15
15
|
}
|
16
16
|
|
17
17
|
.introjs-tooltip {
|
18
|
-
background-color: var(--nile-tour-background-color, #
|
18
|
+
background-color: var(--nile-tour-background-color, #1978b8);
|
19
19
|
color: var(--nile-tour-text-color, #fff);
|
20
20
|
width: 300px;
|
21
21
|
max-width: 300px;
|
22
|
-
border-radius:
|
23
|
-
border: 1px solid var(--Neutral-30, #
|
24
|
-
background: var(--White-Normal, #
|
22
|
+
border-radius: 12px;
|
23
|
+
border: 1px solid var(--Neutral-30, #1978b8);
|
24
|
+
background: var(--White-Normal, #1978b8);
|
25
|
+
/* border: 1px solid var(--Neutral-30, #C7CED4); */
|
25
26
|
|
26
27
|
/* Elevation/Lifted */
|
27
28
|
box-shadow: 0px 4px 8px 0px rgba(119, 125, 130, 0.15);
|
28
29
|
}
|
29
30
|
|
30
31
|
.introjs-tooltip-title {
|
31
|
-
color:
|
32
|
+
color: var(--nile-colors-white-base);
|
32
33
|
font-size: 16px;
|
33
34
|
font-style: normal;
|
34
35
|
font-weight: 500;
|
@@ -42,8 +43,12 @@ export const styles = css`
|
|
42
43
|
padding-top: 18px;
|
43
44
|
}
|
44
45
|
|
46
|
+
.introjs-progress {
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
|
45
50
|
.introjs-tooltiptext {
|
46
|
-
color: #
|
51
|
+
color: #c7ced4;
|
47
52
|
font-size: 14px;
|
48
53
|
font-style: normal;
|
49
54
|
font-weight: 400;
|
@@ -92,14 +97,14 @@ export const styles = css`
|
|
92
97
|
transform: rotate(0);
|
93
98
|
clip-path: inset(0px 1px 0px 0px);
|
94
99
|
left: -13.5px;
|
95
|
-
border-right-color: var(--nile-tour-background-color,
|
100
|
+
border-right-color: var(--nile-tour-background-color, var(--nile-colors-white-base)) !important;
|
96
101
|
}
|
97
102
|
|
98
103
|
.introjs-arrow.right-bottom {
|
99
104
|
right: -12px;
|
100
105
|
transform: rotate(180deg);
|
101
106
|
clip-path: inset(0px 3px 0px 0px);
|
102
|
-
border-left-color: var(--nile-tour-background-color,
|
107
|
+
border-left-color: var(--nile-tour-background-color, var(--nile-colors-white-base)) !important;
|
103
108
|
}
|
104
109
|
|
105
110
|
.introjs-arrow.top-middle {
|
@@ -113,12 +118,12 @@ export const styles = css`
|
|
113
118
|
.introjs-button {
|
114
119
|
background: none;
|
115
120
|
border: none;
|
116
|
-
color: var(--nile-tour-text-color,
|
121
|
+
color: var(--nile-tour-text-color, var(--nile-colors-white-base));
|
117
122
|
font-size: 14px;
|
118
123
|
padding: 0;
|
119
124
|
cursor: pointer;
|
120
125
|
text-shadow: none;
|
121
|
-
background: var(--Primary-Normal, #
|
126
|
+
background: var(--Primary-Normal, #1978b8);
|
122
127
|
border-color: transparent;
|
123
128
|
display: flex;
|
124
129
|
padding: 12px;
|
@@ -131,12 +136,12 @@ export const styles = css`
|
|
131
136
|
.introjs-button:hover {
|
132
137
|
background: none;
|
133
138
|
border: none;
|
134
|
-
color: var(--nile-tour-text-color,
|
139
|
+
color: var(--nile-tour-text-color, var(--nile-colors-white-base));
|
135
140
|
font-size: 14px;
|
136
141
|
padding: 0;
|
137
142
|
cursor: pointer;
|
138
143
|
text-shadow: none;
|
139
|
-
background: var(--Primary-Normal, #
|
144
|
+
background: var(--Primary-Normal, #1978b8);
|
140
145
|
border-color: transparent;
|
141
146
|
display: flex;
|
142
147
|
padding: 12px;
|
@@ -147,13 +152,13 @@ export const styles = css`
|
|
147
152
|
.introjs-button:focus {
|
148
153
|
background: none;
|
149
154
|
border: none;
|
150
|
-
color: var(--nile-tour-text-color,
|
155
|
+
color: var(--nile-tour-text-color, var(--nile-colors-white-base));
|
151
156
|
font-size: 14px;
|
152
157
|
padding: 0;
|
153
158
|
cursor: pointer;
|
154
159
|
text-shadow: none;
|
155
160
|
box-shadow: none;
|
156
|
-
background: var(--Primary-Normal, #
|
161
|
+
background: var(--Primary-Normal, #1978b8);
|
157
162
|
border-color: transparent;
|
158
163
|
display: flex;
|
159
164
|
padding: 12px;
|
@@ -185,13 +190,8 @@ export const styles = css`
|
|
185
190
|
}
|
186
191
|
|
187
192
|
.introjs-helperLayer {
|
188
|
-
|
189
|
-
|
190
|
-
}
|
191
|
-
|
192
|
-
.introjs-overlay {
|
193
|
-
display: none;
|
194
|
-
pointer-events: none;
|
193
|
+
box-shadow: rgb(33 33 33 / 0%) 0px 0px 1px 2px,
|
194
|
+
rgba(33, 33, 33, 0.5) 0px 0px 0px 5000px !important;
|
195
195
|
}
|
196
196
|
|
197
197
|
.introjs-step-counter {
|
@@ -200,7 +200,7 @@ export const styles = css`
|
|
200
200
|
padding: 0 10px;
|
201
201
|
display: flex;
|
202
202
|
align-items: center;
|
203
|
-
color: var(--Color-Text-Inverted-Secondary, rgba(255, 255, 255, 0.
|
203
|
+
color: var(--Color-Text-Inverted-Secondary, rgba(255, 255, 255, 0.5));
|
204
204
|
font-style: normal;
|
205
205
|
font-weight: 500;
|
206
206
|
line-height: 14px;
|
@@ -228,6 +228,20 @@ export const styles = css`
|
|
228
228
|
.introjs-shake {
|
229
229
|
animation: shake 0.5s ease infinite;
|
230
230
|
}
|
231
|
+
|
232
|
+
.introjs-close-btn {
|
233
|
+
position: absolute;
|
234
|
+
top: 15px;
|
235
|
+
right: 10px;
|
236
|
+
background: none;
|
237
|
+
border: none;
|
238
|
+
font-size: 16px;
|
239
|
+
cursor: pointer;
|
240
|
+
}
|
241
|
+
|
242
|
+
a[disabled='true'] {
|
243
|
+
display: none;
|
244
|
+
}
|
231
245
|
`;
|
232
246
|
|
233
247
|
export default [styles];
|
@@ -5,33 +5,14 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { LitElement, html, CSSResultArray, TemplateResult
|
9
|
-
import { customElement,property } from 'lit/decorators.js';
|
10
|
-
import { styles } from './nile-tour.css';
|
8
|
+
import { LitElement, html, css, CSSResultArray, TemplateResult } from 'lit';
|
9
|
+
import { customElement, property } from 'lit/decorators.js';
|
11
10
|
import introJs from 'intro.js';
|
11
|
+
import { styles } from './nile-tour.css';
|
12
12
|
|
13
|
-
/**
|
14
|
-
* Nile tour component.
|
15
|
-
*
|
16
|
-
* @tag nile-tour
|
17
|
-
*/
|
18
13
|
@customElement('nile-tour')
|
19
14
|
export class NileTour extends LitElement {
|
20
|
-
|
21
|
-
|
22
|
-
/**
|
23
|
-
* The steps for the tour.
|
24
|
-
*/
|
25
|
-
@property({ type: Array })
|
26
|
-
steps: Array<{
|
27
|
-
stepNo: number;
|
28
|
-
element: string;
|
29
|
-
title: string;
|
30
|
-
content: string;
|
31
|
-
position: any;
|
32
|
-
beforeChange?: () => Promise<boolean> | boolean;
|
33
|
-
afterChange?: () => Promise<void> | void;
|
34
|
-
}> = [];
|
15
|
+
tourInstance: ReturnType<typeof introJs> | null = null;
|
35
16
|
|
36
17
|
/**
|
37
18
|
* JSON string for steps.
|
@@ -50,7 +31,7 @@ export class NileTour extends LitElement {
|
|
50
31
|
*/
|
51
32
|
@property({ type: Boolean })
|
52
33
|
disableInteraction: boolean = false;
|
53
|
-
|
34
|
+
|
54
35
|
public static get styles(): CSSResultArray {
|
55
36
|
return [styles];
|
56
37
|
}
|
@@ -63,85 +44,90 @@ export class NileTour extends LitElement {
|
|
63
44
|
super();
|
64
45
|
}
|
65
46
|
|
66
|
-
|
67
|
-
if (
|
68
|
-
this.
|
47
|
+
private parseSteps(): any[] {
|
48
|
+
if (Array.isArray(this.stepsJson)) {
|
49
|
+
return this.stepsJson;
|
69
50
|
}
|
70
|
-
|
51
|
+
|
52
|
+
console.error('Invalid stepsJson format');
|
53
|
+
return [];
|
71
54
|
}
|
72
55
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
}
|
85
|
-
} catch (error) {
|
86
|
-
console.error('Failed to parse stepsJson:', error);
|
87
|
-
}
|
88
|
-
}
|
56
|
+
private async getElementWhenNeeded(step: any): Promise<any> {
|
57
|
+
return {
|
58
|
+
element: () => document.querySelector(`[data-tour="${step.element}"]`) as HTMLElement | null,
|
59
|
+
intro: step.content,
|
60
|
+
title: step.title,
|
61
|
+
position: step.position,
|
62
|
+
beforeChange: step.beforeChange,
|
63
|
+
afterChange: step.afterChange,
|
64
|
+
disableNext: step.disableNext || false,
|
65
|
+
disablePrev: step.disablePrev || false
|
66
|
+
};
|
89
67
|
}
|
90
68
|
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
const
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
beforeChange: step.beforeChange,
|
103
|
-
afterChange: step.afterChange,
|
104
|
-
}));
|
105
|
-
// .filter((step) => step.element !== null);
|
69
|
+
public nextStep() {
|
70
|
+
this.tourInstance?.nextStep();
|
71
|
+
}
|
72
|
+
|
73
|
+
public async startTour(): Promise<void> {
|
74
|
+
const steps = await Promise.all(this.parseSteps().map(step => this.getElementWhenNeeded(step)));
|
75
|
+
|
76
|
+
if (steps.length === 0) {
|
77
|
+
console.error('No valid steps found for the tour.');
|
78
|
+
return;
|
79
|
+
}
|
106
80
|
|
107
81
|
this.tourInstance = introJs().setOptions({
|
108
|
-
steps:
|
109
|
-
nextLabel: "Next",
|
110
|
-
prevLabel: "Prev",
|
111
|
-
overlayOpacity: 0,
|
82
|
+
steps: steps as any,
|
112
83
|
disableInteraction: this.disableInteraction,
|
113
|
-
|
114
|
-
|
84
|
+
nextLabel: 'Next',
|
85
|
+
prevLabel: 'Prev',
|
86
|
+
overlayOpacity: this.showBackdrop ? 0.5 : 0,
|
115
87
|
exitOnOverlayClick: false,
|
88
|
+
showProgress: false,
|
89
|
+
showButtons: true
|
116
90
|
});
|
117
91
|
|
118
92
|
this.tourInstance.onbeforechange(async (targetElement) => {
|
119
93
|
const currentStepIndex = this.tourInstance?._currentStep ?? 0;
|
120
|
-
const
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
94
|
+
const step = steps[currentStepIndex];
|
95
|
+
if (step && typeof step.element === 'function') {
|
96
|
+
const el = step.element();
|
97
|
+
if (el) {
|
98
|
+
if (this.tourInstance && this.tourInstance._introItems) {
|
99
|
+
this.tourInstance._introItems[currentStepIndex].element = el;
|
100
|
+
}
|
127
101
|
}
|
128
102
|
}
|
103
|
+
if (step.beforeChange) {
|
104
|
+
return await step.beforeChange();
|
105
|
+
}
|
129
106
|
return true;
|
130
107
|
});
|
131
108
|
|
132
109
|
this.tourInstance.onafterchange((targetElement) => {
|
133
110
|
const currentStepIndex = this.tourInstance?._currentStep ?? 0;
|
134
|
-
const
|
111
|
+
const step = steps[currentStepIndex];
|
112
|
+
if (step?.afterChange) {
|
113
|
+
step.afterChange();
|
114
|
+
}
|
135
115
|
|
136
|
-
|
137
|
-
|
116
|
+
|
117
|
+
const nextBtn = document.querySelector('.introjs-nextbutton');
|
118
|
+
const prevBtn = document.querySelector('.introjs-prevbutton');
|
119
|
+
|
120
|
+
if (nextBtn) {
|
121
|
+
nextBtn.setAttribute('disabled', step.disableNext ? 'true' : 'false');
|
122
|
+
}
|
123
|
+
if (prevBtn) {
|
124
|
+
prevBtn.setAttribute('disabled', step.disablePrev ? 'true' : 'false');
|
138
125
|
}
|
139
126
|
});
|
140
127
|
|
141
|
-
|
142
|
-
this.tourInstance.onchange((targetElement) => {
|
128
|
+
this.tourInstance.onchange(() => {
|
143
129
|
const currentStep = this.tourInstance?._currentStep ?? 0;
|
144
|
-
const totalSteps =
|
130
|
+
const totalSteps = steps.length;
|
145
131
|
const tooltip = document.querySelector('.introjs-tooltip');
|
146
132
|
if (tooltip) {
|
147
133
|
const navBar = tooltip.querySelector('.introjs-tooltipbuttons');
|
@@ -157,11 +143,9 @@ export class NileTour extends LitElement {
|
|
157
143
|
}
|
158
144
|
});
|
159
145
|
|
160
|
-
|
161
|
-
|
162
146
|
this.tourInstance.start().then(() => {
|
163
147
|
const currentStep = this.tourInstance?._currentStep ?? 0;
|
164
|
-
const totalSteps =
|
148
|
+
const totalSteps = steps.length;
|
165
149
|
const tooltip = document.querySelector('.introjs-tooltip');
|
166
150
|
if (tooltip) {
|
167
151
|
const navBar = tooltip.querySelector('.introjs-tooltipbuttons');
|
@@ -174,33 +158,40 @@ export class NileTour extends LitElement {
|
|
174
158
|
}
|
175
159
|
stepCounter.textContent = `${currentStep + 1} of ${totalSteps}`;
|
176
160
|
}
|
177
|
-
} }).catch(err => {
|
178
|
-
console.error('Error starting the tour:', err);
|
179
|
-
});
|
180
|
-
}
|
181
161
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
162
|
+
const closeButton = document.createElement('button');
|
163
|
+
closeButton.className = 'introjs-close-btn';
|
164
|
+
closeButton.innerHTML = `
|
165
|
+
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
166
|
+
<path d="M5.33228 5.99996L0 11.3322L0.667759 12L6.00004 6.66772L11.3323 12L12.0001 11.3322L6.66779 5.99996L12 0.667759L11.3322 0L6.00004 5.3322L0.667842 5.96046e-08L8.40425e-05 0.667759L5.33228 5.99996Z" fill="white" fill-opacity="0.5"/>
|
167
|
+
</svg>`;
|
168
|
+
closeButton.onclick = () => this.tourInstance?.exit(true);
|
169
|
+
tooltip.appendChild(closeButton);
|
170
|
+
}
|
171
|
+
}).catch(err => {
|
172
|
+
console.error('Error starting the tour:', err);
|
173
|
+
});
|
190
174
|
}
|
191
175
|
|
192
176
|
public render(): TemplateResult {
|
193
177
|
return html`
|
194
178
|
<style>
|
195
179
|
${styles.cssText}
|
180
|
+
.introjs-close-btn {
|
181
|
+
position: absolute;
|
182
|
+
top: 5px;
|
183
|
+
right: 10px;
|
184
|
+
background: none;
|
185
|
+
border: none;
|
186
|
+
cursor: pointer;
|
187
|
+
padding: 0;
|
188
|
+
}
|
196
189
|
</style>
|
197
190
|
<slot></slot>
|
198
191
|
`;
|
199
192
|
}
|
200
193
|
}
|
201
194
|
|
202
|
-
export default NileTour;
|
203
|
-
|
204
195
|
declare global {
|
205
196
|
interface HTMLElementTagNameMap {
|
206
197
|
'nile-tour': NileTour;
|
@@ -30,7 +30,7 @@ export const styles = css`
|
|
30
30
|
* These are actually used by tree item, but we define them here so they can more easily be set and all tree items
|
31
31
|
* stay consistent.
|
32
32
|
*/
|
33
|
-
--indent-guide-color:
|
33
|
+
--indent-guide-color: var(--nile-colors-dark-200);
|
34
34
|
--indent-guide-offset: 0;
|
35
35
|
--indent-guide-style: solid;
|
36
36
|
--indent-guide-width: 0;
|
@@ -44,7 +44,7 @@ export const styles = css`
|
|
44
44
|
display: flex;
|
45
45
|
align-items: stretch;
|
46
46
|
flex-direction: column;
|
47
|
-
color:
|
47
|
+
color: var(--nile-colors-neutral-700);
|
48
48
|
cursor: pointer;
|
49
49
|
user-select: none;
|
50
50
|
}
|
@@ -77,7 +77,7 @@ export const styles = css`
|
|
77
77
|
align-items: center;
|
78
78
|
justify-content: center;
|
79
79
|
box-sizing: content-box;
|
80
|
-
color:
|
80
|
+
color: var(--nile-colors-neutral-500);
|
81
81
|
padding: 0.5rem;
|
82
82
|
width: 1rem;
|
83
83
|
height: 1rem;
|
@@ -123,18 +123,18 @@ export const styles = css`
|
|
123
123
|
}
|
124
124
|
|
125
125
|
:host(:focus-visible) .tree-item__item {
|
126
|
-
outline: solid 3px
|
126
|
+
outline: solid 3px var(--nile-colors-neutral-500);
|
127
127
|
outline-offset: 1px;
|
128
128
|
z-index: 2;
|
129
129
|
}
|
130
130
|
|
131
131
|
:host(:not([aria-disabled='true'])) .tree-item--selected .tree-item__item {
|
132
|
-
background-color:
|
133
|
-
border-inline-start-color:
|
132
|
+
background-color: var(--nile-colors-neutral-700);
|
133
|
+
border-inline-start-color: var(--nile-colors-primary-700);
|
134
134
|
}
|
135
135
|
|
136
136
|
:host(:not([aria-disabled='true'])) .tree-item__expand-button {
|
137
|
-
color:
|
137
|
+
color: var(--nile-colors-neutral-700);
|
138
138
|
}
|
139
139
|
|
140
140
|
.tree-item__label {
|