@daikin-oss/design-system-web-components 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +136 -0
- package/custom-elements.json +25044 -0
- package/dist/THIRDPARTY.txt +1 -0
- package/dist/cjs/base/dds-element.cjs +1 -1
- package/dist/cjs/base/dds-navigable.d.cts +16 -0
- package/dist/cjs/base/index.d.cts +1 -0
- package/dist/cjs/components/accordion/daikin-accordion.cjs +28 -5
- package/dist/cjs/components/accordion/daikin-accordion.d.cts +14 -0
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +4 -4
- package/dist/cjs/components/avatar/daikin-avatar.cjs +24 -6
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +13 -3
- package/dist/cjs/components/badge/daikin-badge.cjs +2 -2
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +0 -5
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +37 -1
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +23 -3
- package/dist/cjs/components/button/daikin-button.cjs +37 -19
- package/dist/cjs/components/button/daikin-button.d.cts +13 -3
- package/dist/cjs/components/calendar/daikin-calendar.cjs +12 -12
- package/dist/cjs/components/card/daikin-card.d.cts +1 -0
- package/dist/cjs/components/carousel/daikin-carousel.cjs +5 -5
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +20 -20
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +1 -1
- package/dist/cjs/components/chip/daikin-chip.cjs +261 -51
- package/dist/cjs/components/chip/daikin-chip.d.cts +45 -3
- package/dist/cjs/components/combobox/daikin-combobox.cjs +27 -30
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +10 -10
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +10 -10
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +10 -10
- package/dist/cjs/components/empty-state/daikin-empty-state.cjs +49 -0
- package/dist/cjs/components/empty-state/daikin-empty-state.d.cts +34 -0
- package/dist/cjs/components/empty-state/index.cjs +7 -0
- package/dist/cjs/components/empty-state/index.d.cts +1 -0
- package/dist/cjs/components/icon/daikin-icon.cjs +6 -12
- package/dist/cjs/components/icon/daikin-icon.d.cts +4 -0
- package/dist/cjs/components/icon/icons.json.cjs +1 -1
- package/dist/cjs/components/icon/icons.json.d.cts +26 -22
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +42 -24
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +13 -3
- package/dist/cjs/components/index.cjs +20 -0
- package/dist/cjs/components/index.d.cts +4 -0
- package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +13 -10
- package/dist/cjs/components/input-group/daikin-input-group.cjs +2 -2
- package/dist/cjs/components/link/daikin-link.cjs +29 -10
- package/dist/cjs/components/link/daikin-link.d.cts +12 -2
- package/dist/cjs/components/list-item/daikin-list-item.cjs +23 -5
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +13 -3
- package/dist/cjs/components/loading/daikin-loading.cjs +2 -2
- package/dist/cjs/components/logo/daikin-logo.cjs +22 -4
- package/dist/cjs/components/logo/daikin-logo.d.cts +13 -3
- package/dist/cjs/components/menu/daikin-menu.cjs +18 -4
- package/dist/cjs/components/menu/daikin-menu.d.cts +3 -1
- package/dist/cjs/components/modal/daikin-modal.cjs +15 -8
- package/dist/cjs/components/modal/daikin-modal.d.cts +2 -0
- package/dist/cjs/components/navigation/daikin-navigation.cjs +47 -0
- package/dist/cjs/components/navigation/daikin-navigation.d.cts +56 -0
- package/dist/cjs/components/navigation/index.cjs +7 -0
- package/dist/cjs/components/navigation/index.d.cts +1 -0
- package/dist/cjs/components/navigation-item/daikin-navigation-item.cjs +219 -0
- package/dist/cjs/components/navigation-item/daikin-navigation-item.d.cts +89 -0
- package/dist/cjs/components/navigation-item/index.cjs +7 -0
- package/dist/cjs/components/navigation-item/index.d.cts +1 -0
- package/dist/cjs/components/pagination/daikin-pagination.cjs +7 -7
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +3 -3
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +2 -2
- package/dist/cjs/components/radio/daikin-radio.cjs +7 -7
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +1 -1
- package/dist/cjs/components/select/daikin-select.cjs +34 -34
- package/dist/cjs/components/slider/daikin-slider.cjs +4 -4
- package/dist/cjs/components/status-message/daikin-status-message.cjs +4 -4
- package/dist/cjs/components/tab/daikin-tab.cjs +3 -3
- package/dist/cjs/components/table/daikin-table.cjs +12 -5
- package/dist/cjs/components/table/daikin-table.d.cts +2 -0
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +4 -4
- package/dist/cjs/components/tabs/daikin-tabs.cjs +1 -1
- package/dist/cjs/components/tabs/daikin-tabs.d.cts +2 -2
- package/dist/cjs/components/tag/daikin-tag.cjs +126 -0
- package/dist/cjs/components/tag/daikin-tag.d.cts +46 -0
- package/dist/cjs/components/tag/index.cjs +7 -0
- package/dist/cjs/components/tag/index.d.cts +1 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +11 -11
- package/dist/cjs/components/text-field/daikin-text-field.cjs +20 -20
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +12 -12
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +11 -11
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +28 -36
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +2 -2
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +3 -3
- package/dist/cjs/components/toggle/daikin-toggle.cjs +3 -3
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +3 -3
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +11 -10
- package/dist/cjs/index.cjs +25 -0
- package/dist/cjs/index.d.cts +1 -0
- package/dist/cjs/navigation.cjs +62 -0
- package/dist/cjs/navigation.d.cts +33 -0
- package/dist/cjs/tailwind.css.cjs +3 -2
- package/dist/cjs/utils/calendar-common.cjs +15 -10
- package/dist/cjs/utils/calendar-common.d.cts +8 -3
- package/dist/cjs/utils/notification-common.d.cts +1 -1
- package/dist/cjs-dev/base/dds-element.cjs +1 -1
- package/dist/cjs-dev/base/dds-navigable.d.cts +16 -0
- package/dist/cjs-dev/base/index.d.cts +1 -0
- package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +28 -5
- package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +14 -0
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +4 -4
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +24 -6
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +13 -3
- package/dist/cjs-dev/components/badge/daikin-badge.cjs +2 -2
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +0 -5
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +37 -1
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +23 -3
- package/dist/cjs-dev/components/button/daikin-button.cjs +37 -19
- package/dist/cjs-dev/components/button/daikin-button.d.cts +13 -3
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +12 -12
- package/dist/cjs-dev/components/card/daikin-card.d.cts +1 -0
- package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +5 -5
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +20 -20
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +1 -1
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +261 -51
- package/dist/cjs-dev/components/chip/daikin-chip.d.cts +45 -3
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +27 -30
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +10 -10
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +10 -10
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +10 -10
- package/dist/cjs-dev/components/empty-state/daikin-empty-state.cjs +49 -0
- package/dist/cjs-dev/components/empty-state/daikin-empty-state.d.cts +34 -0
- package/dist/cjs-dev/components/empty-state/index.cjs +7 -0
- package/dist/cjs-dev/components/empty-state/index.d.cts +1 -0
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +6 -12
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +4 -0
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
- package/dist/cjs-dev/components/icon/icons.json.d.cts +26 -22
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +42 -24
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +13 -3
- package/dist/cjs-dev/components/index.cjs +20 -0
- package/dist/cjs-dev/components/index.d.cts +4 -0
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +13 -10
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +2 -2
- package/dist/cjs-dev/components/link/daikin-link.cjs +29 -10
- package/dist/cjs-dev/components/link/daikin-link.d.cts +12 -2
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +23 -5
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +13 -3
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +2 -2
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +22 -4
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +13 -3
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +18 -4
- package/dist/cjs-dev/components/menu/daikin-menu.d.cts +3 -1
- package/dist/cjs-dev/components/modal/daikin-modal.cjs +15 -8
- package/dist/cjs-dev/components/modal/daikin-modal.d.cts +2 -0
- package/dist/cjs-dev/components/navigation/daikin-navigation.cjs +47 -0
- package/dist/cjs-dev/components/navigation/daikin-navigation.d.cts +56 -0
- package/dist/cjs-dev/components/navigation/index.cjs +7 -0
- package/dist/cjs-dev/components/navigation/index.d.cts +1 -0
- package/dist/cjs-dev/components/navigation-item/daikin-navigation-item.cjs +219 -0
- package/dist/cjs-dev/components/navigation-item/daikin-navigation-item.d.cts +89 -0
- package/dist/cjs-dev/components/navigation-item/index.cjs +7 -0
- package/dist/cjs-dev/components/navigation-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +7 -7
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +3 -3
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +2 -2
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +7 -7
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +1 -1
- package/dist/cjs-dev/components/select/daikin-select.cjs +34 -34
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +4 -4
- package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +4 -4
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +3 -3
- package/dist/cjs-dev/components/table/daikin-table.cjs +12 -5
- package/dist/cjs-dev/components/table/daikin-table.d.cts +2 -0
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +4 -4
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +1 -1
- package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +2 -2
- package/dist/cjs-dev/components/tag/daikin-tag.cjs +126 -0
- package/dist/cjs-dev/components/tag/daikin-tag.d.cts +46 -0
- package/dist/cjs-dev/components/tag/index.cjs +7 -0
- package/dist/cjs-dev/components/tag/index.d.cts +1 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +11 -11
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +20 -20
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +12 -12
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +11 -11
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +28 -36
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +2 -2
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +3 -3
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +3 -3
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +3 -3
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +11 -10
- package/dist/cjs-dev/index.cjs +25 -0
- package/dist/cjs-dev/index.d.cts +1 -0
- package/dist/cjs-dev/navigation.cjs +62 -0
- package/dist/cjs-dev/navigation.d.cts +33 -0
- package/dist/cjs-dev/tailwind.css.cjs +3 -2
- package/dist/cjs-dev/utils/calendar-common.cjs +15 -10
- package/dist/cjs-dev/utils/calendar-common.d.cts +8 -3
- package/dist/cjs-dev/utils/notification-common.d.cts +1 -1
- package/dist/es/base/dds-element.js +1 -1
- package/dist/es/base/dds-navigable.d.ts +16 -0
- package/dist/es/base/index.d.ts +1 -0
- package/dist/es/components/accordion/daikin-accordion.d.ts +14 -0
- package/dist/es/components/accordion/daikin-accordion.js +29 -6
- package/dist/es/components/accordion-item/daikin-accordion-item.js +4 -4
- package/dist/es/components/avatar/daikin-avatar.d.ts +13 -3
- package/dist/es/components/avatar/daikin-avatar.js +24 -6
- package/dist/es/components/badge/daikin-badge.js +2 -2
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +0 -5
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +23 -3
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +37 -1
- package/dist/es/components/button/daikin-button.d.ts +13 -3
- package/dist/es/components/button/daikin-button.js +37 -19
- package/dist/es/components/calendar/daikin-calendar.js +13 -13
- package/dist/es/components/card/daikin-card.d.ts +1 -0
- package/dist/es/components/carousel/daikin-carousel.js +5 -5
- package/dist/es/components/checkbox/daikin-checkbox.js +20 -20
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +1 -1
- package/dist/es/components/chip/daikin-chip.d.ts +45 -3
- package/dist/es/components/chip/daikin-chip.js +263 -53
- package/dist/es/components/combobox/daikin-combobox.js +27 -30
- package/dist/es/components/date-picker/daikin-date-picker.js +10 -10
- package/dist/es/components/dropdown/daikin-dropdown.js +10 -10
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +10 -10
- package/dist/es/components/empty-state/daikin-empty-state.d.ts +34 -0
- package/dist/es/components/empty-state/daikin-empty-state.js +50 -0
- package/dist/es/components/empty-state/index.d.ts +1 -0
- package/dist/es/components/empty-state/index.js +4 -0
- package/dist/es/components/icon/daikin-icon.d.ts +4 -0
- package/dist/es/components/icon/daikin-icon.js +6 -12
- package/dist/es/components/icon/icons.json.d.ts +26 -22
- package/dist/es/components/icon/icons.json.js +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +13 -3
- package/dist/es/components/icon-button/daikin-icon-button.js +42 -24
- package/dist/es/components/index.d.ts +4 -0
- package/dist/es/components/index.js +8 -0
- package/dist/es/components/inline-notification/daikin-inline-notification.js +13 -10
- package/dist/es/components/input-group/daikin-input-group.js +2 -2
- package/dist/es/components/link/daikin-link.d.ts +12 -2
- package/dist/es/components/link/daikin-link.js +29 -10
- package/dist/es/components/list-item/daikin-list-item.d.ts +13 -3
- package/dist/es/components/list-item/daikin-list-item.js +23 -5
- package/dist/es/components/loading/daikin-loading.js +2 -2
- package/dist/es/components/logo/daikin-logo.d.ts +13 -3
- package/dist/es/components/logo/daikin-logo.js +22 -4
- package/dist/es/components/menu/daikin-menu.d.ts +3 -1
- package/dist/es/components/menu/daikin-menu.js +18 -4
- package/dist/es/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es/components/modal/daikin-modal.js +15 -8
- package/dist/es/components/navigation/daikin-navigation.d.ts +56 -0
- package/dist/es/components/navigation/daikin-navigation.js +48 -0
- package/dist/es/components/navigation/index.d.ts +1 -0
- package/dist/es/components/navigation/index.js +4 -0
- package/dist/es/components/navigation-item/daikin-navigation-item.d.ts +89 -0
- package/dist/es/components/navigation-item/daikin-navigation-item.js +220 -0
- package/dist/es/components/navigation-item/index.d.ts +1 -0
- package/dist/es/components/navigation-item/index.js +4 -0
- package/dist/es/components/pagination/daikin-pagination.js +7 -7
- package/dist/es/components/progress-bar/daikin-progress-bar.js +3 -3
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
- package/dist/es/components/radio/daikin-radio.js +7 -7
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +1 -1
- package/dist/es/components/select/daikin-select.js +34 -34
- package/dist/es/components/slider/daikin-slider.js +4 -4
- package/dist/es/components/status-message/daikin-status-message.js +4 -4
- package/dist/es/components/tab/daikin-tab.js +3 -3
- package/dist/es/components/table/daikin-table.d.ts +2 -0
- package/dist/es/components/table/daikin-table.js +12 -5
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +4 -4
- package/dist/es/components/tabs/daikin-tabs.d.ts +2 -2
- package/dist/es/components/tabs/daikin-tabs.js +1 -1
- package/dist/es/components/tag/daikin-tag.d.ts +46 -0
- package/dist/es/components/tag/daikin-tag.js +127 -0
- package/dist/es/components/tag/index.d.ts +1 -0
- package/dist/es/components/tag/index.js +4 -0
- package/dist/es/components/text-area/daikin-text-area.js +11 -11
- package/dist/es/components/text-field/daikin-text-field.js +20 -20
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +12 -12
- package/dist/es/components/time-picker/daikin-time-picker.js +11 -11
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +2 -2
- package/dist/es/components/toast-notification/daikin-toast-notification.js +28 -36
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +3 -3
- package/dist/es/components/toggle/daikin-toggle.js +3 -3
- package/dist/es/components/tooltip/daikin-tooltip.js +3 -3
- package/dist/es/components/tree-item/daikin-tree-item.js +11 -10
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +13 -0
- package/dist/es/navigation.d.ts +33 -0
- package/dist/es/navigation.js +62 -0
- package/dist/es/tailwind.css.js +3 -2
- package/dist/es/utils/calendar-common.d.ts +8 -3
- package/dist/es/utils/calendar-common.js +15 -10
- package/dist/es/utils/notification-common.d.ts +1 -1
- package/dist/es-dev/base/dds-element.js +1 -1
- package/dist/es-dev/base/dds-navigable.d.ts +16 -0
- package/dist/es-dev/base/index.d.ts +1 -0
- package/dist/es-dev/components/accordion/daikin-accordion.d.ts +14 -0
- package/dist/es-dev/components/accordion/daikin-accordion.js +29 -6
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +4 -4
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +13 -3
- package/dist/es-dev/components/avatar/daikin-avatar.js +24 -6
- package/dist/es-dev/components/badge/daikin-badge.js +2 -2
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +0 -5
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +23 -3
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +37 -1
- package/dist/es-dev/components/button/daikin-button.d.ts +13 -3
- package/dist/es-dev/components/button/daikin-button.js +37 -19
- package/dist/es-dev/components/calendar/daikin-calendar.js +13 -13
- package/dist/es-dev/components/card/daikin-card.d.ts +1 -0
- package/dist/es-dev/components/carousel/daikin-carousel.js +5 -5
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +20 -20
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +1 -1
- package/dist/es-dev/components/chip/daikin-chip.d.ts +45 -3
- package/dist/es-dev/components/chip/daikin-chip.js +263 -53
- package/dist/es-dev/components/combobox/daikin-combobox.js +27 -30
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +10 -10
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +10 -10
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +10 -10
- package/dist/es-dev/components/empty-state/daikin-empty-state.d.ts +34 -0
- package/dist/es-dev/components/empty-state/daikin-empty-state.js +50 -0
- package/dist/es-dev/components/empty-state/index.d.ts +1 -0
- package/dist/es-dev/components/empty-state/index.js +4 -0
- package/dist/es-dev/components/icon/daikin-icon.d.ts +4 -0
- package/dist/es-dev/components/icon/daikin-icon.js +6 -12
- package/dist/es-dev/components/icon/icons.json.d.ts +26 -22
- package/dist/es-dev/components/icon/icons.json.js +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +13 -3
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +42 -24
- package/dist/es-dev/components/index.d.ts +4 -0
- package/dist/es-dev/components/index.js +8 -0
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +13 -10
- package/dist/es-dev/components/input-group/daikin-input-group.js +2 -2
- package/dist/es-dev/components/link/daikin-link.d.ts +12 -2
- package/dist/es-dev/components/link/daikin-link.js +29 -10
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +13 -3
- package/dist/es-dev/components/list-item/daikin-list-item.js +23 -5
- package/dist/es-dev/components/loading/daikin-loading.js +2 -2
- package/dist/es-dev/components/logo/daikin-logo.d.ts +13 -3
- package/dist/es-dev/components/logo/daikin-logo.js +22 -4
- package/dist/es-dev/components/menu/daikin-menu.d.ts +3 -1
- package/dist/es-dev/components/menu/daikin-menu.js +18 -4
- package/dist/es-dev/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es-dev/components/modal/daikin-modal.js +15 -8
- package/dist/es-dev/components/navigation/daikin-navigation.d.ts +56 -0
- package/dist/es-dev/components/navigation/daikin-navigation.js +48 -0
- package/dist/es-dev/components/navigation/index.d.ts +1 -0
- package/dist/es-dev/components/navigation/index.js +4 -0
- package/dist/es-dev/components/navigation-item/daikin-navigation-item.d.ts +89 -0
- package/dist/es-dev/components/navigation-item/daikin-navigation-item.js +220 -0
- package/dist/es-dev/components/navigation-item/index.d.ts +1 -0
- package/dist/es-dev/components/navigation-item/index.js +4 -0
- package/dist/es-dev/components/pagination/daikin-pagination.js +7 -7
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +3 -3
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
- package/dist/es-dev/components/radio/daikin-radio.js +7 -7
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +1 -1
- package/dist/es-dev/components/select/daikin-select.js +34 -34
- package/dist/es-dev/components/slider/daikin-slider.js +4 -4
- package/dist/es-dev/components/status-message/daikin-status-message.js +4 -4
- package/dist/es-dev/components/tab/daikin-tab.js +3 -3
- package/dist/es-dev/components/table/daikin-table.d.ts +2 -0
- package/dist/es-dev/components/table/daikin-table.js +12 -5
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +4 -4
- package/dist/es-dev/components/tabs/daikin-tabs.d.ts +2 -2
- package/dist/es-dev/components/tabs/daikin-tabs.js +1 -1
- package/dist/es-dev/components/tag/daikin-tag.d.ts +46 -0
- package/dist/es-dev/components/tag/daikin-tag.js +127 -0
- package/dist/es-dev/components/tag/index.d.ts +1 -0
- package/dist/es-dev/components/tag/index.js +4 -0
- package/dist/es-dev/components/text-area/daikin-text-area.js +11 -11
- package/dist/es-dev/components/text-field/daikin-text-field.js +20 -20
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +12 -12
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +11 -11
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +2 -2
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +28 -36
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +3 -3
- package/dist/es-dev/components/toggle/daikin-toggle.js +3 -3
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +3 -3
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +11 -10
- package/dist/es-dev/index.d.ts +1 -0
- package/dist/es-dev/index.js +13 -0
- package/dist/es-dev/navigation.d.ts +33 -0
- package/dist/es-dev/navigation.js +62 -0
- package/dist/es-dev/tailwind.css.js +3 -2
- package/dist/es-dev/utils/calendar-common.d.ts +8 -3
- package/dist/es-dev/utils/calendar-common.js +15 -10
- package/dist/es-dev/utils/notification-common.d.ts +1 -1
- package/icons/check.svg +3 -0
- package/package.json +26 -9
|
@@ -38,20 +38,22 @@ const cvaInput = classVarianceAuthority.cva(
|
|
|
38
38
|
"py-3",
|
|
39
39
|
"pl-4",
|
|
40
40
|
"pr-16",
|
|
41
|
-
"rounded",
|
|
41
|
+
"rounded-sm",
|
|
42
42
|
"overflow-hidden",
|
|
43
43
|
"font-daikinSerif",
|
|
44
44
|
"text-left",
|
|
45
45
|
"leading-[130%]",
|
|
46
46
|
"relative",
|
|
47
|
-
"outline",
|
|
47
|
+
"outline-solid",
|
|
48
48
|
"outline-1",
|
|
49
49
|
"-outline-offset-1",
|
|
50
50
|
"whitespace-nowrap",
|
|
51
51
|
"text-ellipsis",
|
|
52
|
+
"text-ddt-color-common-text-primary",
|
|
53
|
+
"placeholder:text-ddt-color-common-text-secondary",
|
|
52
54
|
"focus-visible:outline-2",
|
|
53
55
|
"focus-visible:-outline-offset-2",
|
|
54
|
-
"enabled:outline-
|
|
56
|
+
"enabled:outline-(--color-base)",
|
|
55
57
|
"disabled:text-ddt-color-common-disabled",
|
|
56
58
|
"disabled:outline-ddt-color-common-disabled",
|
|
57
59
|
"enabled:after:text-ddt-color-common-text-primary",
|
|
@@ -63,15 +65,11 @@ const cvaInput = classVarianceAuthority.cva(
|
|
|
63
65
|
variants: {
|
|
64
66
|
error: {
|
|
65
67
|
false: [
|
|
66
|
-
"
|
|
67
|
-
"hover:
|
|
68
|
-
"focus-visible:
|
|
68
|
+
"[--color-base:var(--dds-color-common-neutral-default)]",
|
|
69
|
+
"hover:[--color-base:var(--dds-color-common-neutral-hover)]",
|
|
70
|
+
"focus-visible:[--color-base:var(--dds-color-common-border-focus)]"
|
|
69
71
|
],
|
|
70
|
-
true: ["
|
|
71
|
-
},
|
|
72
|
-
placeholder: {
|
|
73
|
-
false: ["text-ddt-color-common-text-primary"],
|
|
74
|
-
true: ["text-ddt-color-common-text-secondary"]
|
|
72
|
+
true: ["[--color-base:var(--dds-color-common-danger-default)]"]
|
|
75
73
|
}
|
|
76
74
|
}
|
|
77
75
|
}
|
|
@@ -88,24 +86,24 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
88
86
|
"leading-[130%]",
|
|
89
87
|
"text-left",
|
|
90
88
|
"relative",
|
|
91
|
-
"data-
|
|
92
|
-
"data-
|
|
93
|
-
"data-
|
|
94
|
-
"data-
|
|
89
|
+
"data-focus:outline-solid",
|
|
90
|
+
"data-focus:outline-2",
|
|
91
|
+
"data-focus:-outline-offset-2",
|
|
92
|
+
"data-focus:outline-ddt-color-common-border-focus"
|
|
95
93
|
],
|
|
96
94
|
{
|
|
97
95
|
variants: {
|
|
98
96
|
selected: {
|
|
99
97
|
false: [
|
|
100
|
-
"
|
|
101
|
-
"hover:
|
|
102
|
-
"active:
|
|
98
|
+
"[--color-primary:var(--dds-color-common-background-default)]",
|
|
99
|
+
"hover:[--color-primary:var(--dds-color-common-surface-hover)]",
|
|
100
|
+
"active:[--color-primary:var(--dds-color-common-surface-press)]"
|
|
103
101
|
],
|
|
104
102
|
true: [
|
|
105
|
-
"
|
|
106
|
-
"hover:
|
|
107
|
-
"active:
|
|
108
|
-
"after:
|
|
103
|
+
"[--color-primary:var(--dds-color-common-surface-selected-default)]",
|
|
104
|
+
"hover:[--color-primary:var(--dds-color-common-surface-selected-hover)]",
|
|
105
|
+
"active:[--color-primary:var(--dds-color-common-surface-selected-press)]",
|
|
106
|
+
"after:icon-[daikin--dropdown-check]",
|
|
109
107
|
"after:size-6",
|
|
110
108
|
"pr-10",
|
|
111
109
|
"after:absolute",
|
|
@@ -117,7 +115,7 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
117
115
|
disabled: {
|
|
118
116
|
false: [
|
|
119
117
|
"text-ddt-color-common-text-primary",
|
|
120
|
-
"bg-
|
|
118
|
+
"bg-(--color-primary)",
|
|
121
119
|
"cursor-pointer"
|
|
122
120
|
],
|
|
123
121
|
true: [
|
|
@@ -130,9 +128,9 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
130
128
|
);
|
|
131
129
|
const cvaArrow = classVarianceAuthority.cva(
|
|
132
130
|
[
|
|
133
|
-
"
|
|
131
|
+
"icon-[daikin--chevron-down]",
|
|
134
132
|
"size-6",
|
|
135
|
-
"
|
|
133
|
+
"shrink-0",
|
|
136
134
|
"z-10",
|
|
137
135
|
"pointer-events-auto"
|
|
138
136
|
],
|
|
@@ -426,8 +424,7 @@ exports.DaikinCombobox = class DaikinCombobox extends ddsFormElement.DDSFormElem
|
|
|
426
424
|
<div class="w-full relative">
|
|
427
425
|
<input
|
|
428
426
|
class=${cvaInput({
|
|
429
|
-
error: this.error
|
|
430
|
-
placeholder: !this.value || this.value.length === 0
|
|
427
|
+
error: this.error
|
|
431
428
|
})}
|
|
432
429
|
role="combobox"
|
|
433
430
|
name=${ifDefined_js.ifDefined(this.getBackingProperty("name"))}
|
|
@@ -452,7 +449,7 @@ exports.DaikinCombobox = class DaikinCombobox extends ddsFormElement.DDSFormElem
|
|
|
452
449
|
class="absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-1"
|
|
453
450
|
>
|
|
454
451
|
${!!this.value && !!this.value.length ? lit.html`<daikin-icon-button
|
|
455
|
-
class="size-6
|
|
452
|
+
class="size-6 shrink-0"
|
|
456
453
|
color="neutral"
|
|
457
454
|
variant="ghost"
|
|
458
455
|
?disabled=${this.disabled}
|
|
@@ -461,7 +458,7 @@ exports.DaikinCombobox = class DaikinCombobox extends ddsFormElement.DDSFormElem
|
|
|
461
458
|
@click=${this._handleClearClick}
|
|
462
459
|
@focusout=${this._handleFocusOut}
|
|
463
460
|
>
|
|
464
|
-
<span class="
|
|
461
|
+
<span class="icon-[daikin--close] size-6"></span>
|
|
465
462
|
</daikin-icon-button>` : lit.nothing}
|
|
466
463
|
<span
|
|
467
464
|
class=${cvaArrow({ open: this.open, disabled: this.disabled })}
|
|
@@ -477,7 +474,7 @@ exports.DaikinCombobox = class DaikinCombobox extends ddsFormElement.DDSFormElem
|
|
|
477
474
|
id="combobox-items"
|
|
478
475
|
popover="manual"
|
|
479
476
|
tabindex="-1"
|
|
480
|
-
class="flex flex-col overflow-hidden rounded border border-ddt-color-divider floating-unready:hidden absolute left-
|
|
477
|
+
class="flex flex-col overflow-hidden rounded-sm border border-ddt-color-divider floating-unready:hidden absolute left-(--floating-x,0) top-(--floating-y,0) min-w-(--floating-width) max-h-50 max-w-min"
|
|
481
478
|
@floating-ready=${this._handleFloatingReady}
|
|
482
479
|
${this._autoUpdateController.refFloating()}
|
|
483
480
|
>
|
|
@@ -59,25 +59,25 @@ const cvaField = classVarianceAuthority.cva(
|
|
|
59
59
|
"bg-ddt-color-common-background-default",
|
|
60
60
|
"pl-4",
|
|
61
61
|
"pr-10",
|
|
62
|
-
"rounded",
|
|
62
|
+
"rounded-sm",
|
|
63
63
|
"truncate",
|
|
64
|
-
"outline",
|
|
65
|
-
"outline-
|
|
64
|
+
"outline-solid",
|
|
65
|
+
"outline-(--color-border)",
|
|
66
66
|
"outline-0",
|
|
67
67
|
"-outline-offset-2",
|
|
68
68
|
"placeholder:text-ddt-color-common-text-secondary",
|
|
69
69
|
// Define `--color-border` as a CSS variable that references `--color-state-focus` and `--color-base` in that order.
|
|
70
70
|
// `--color-base` indicates the color of the border when the element is normal, hovered, or disabled.
|
|
71
|
-
"
|
|
71
|
+
"[--color-border:var(--color-state-focus,var(--color-base))]",
|
|
72
72
|
"border",
|
|
73
|
-
"border-
|
|
73
|
+
"border-(--color-border)",
|
|
74
74
|
// Update `--color-base` depending on the state.
|
|
75
75
|
// The default `--color-base` and `--color-state-focus` values are defined in `variants.error` because they differ depending on whether or not the input has an error state.
|
|
76
76
|
"enabled:text-ddt-color-common-text-primary",
|
|
77
77
|
"enabled:hover:bg-ddt-color-common-surface-hover",
|
|
78
78
|
"enabled:active:bg-ddt-color-common-surface-press",
|
|
79
79
|
"focus-visible:outline-2",
|
|
80
|
-
"disabled:
|
|
80
|
+
"disabled:[--color-base:var(--dds-color-common-disabled)]",
|
|
81
81
|
"disabled:text-ddt-color-common-disabled",
|
|
82
82
|
"disabled:bg-ddt-color-common-background-default",
|
|
83
83
|
"disabled:placeholder:text-ddt-color-common-disabled"
|
|
@@ -86,10 +86,10 @@ const cvaField = classVarianceAuthority.cva(
|
|
|
86
86
|
variants: {
|
|
87
87
|
error: {
|
|
88
88
|
false: [
|
|
89
|
-
"enabled:
|
|
90
|
-
"focus-visible:
|
|
89
|
+
"enabled:[--color-base:var(--dds-color-common-neutral-default)]",
|
|
90
|
+
"focus-visible:[--color-state-focus:var(--dds-color-common-border-focus)]"
|
|
91
91
|
],
|
|
92
|
-
true: ["enabled:
|
|
92
|
+
true: ["enabled:[--color-base:var(--dds-color-common-danger-default)]"]
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -542,7 +542,7 @@ exports.DaikinDatePicker = class DaikinDatePicker extends ddsFormElement.DDSForm
|
|
|
542
542
|
max=${calendarCommon.formatDateForProperty(max)}
|
|
543
543
|
default-value=${ifDefined_js.ifDefined(this.defaultValue)}
|
|
544
544
|
popover="manual"
|
|
545
|
-
class="absolute left-
|
|
545
|
+
class="absolute left-(--floating-x,0) top-(--floating-y,0)"
|
|
546
546
|
@toggle=${this._handleToggle}
|
|
547
547
|
@select=${this._handleSelect}
|
|
548
548
|
@selecting=${this._handleSelect}
|
|
@@ -37,22 +37,22 @@ const cvaButton = classVarianceAuthority.cva(
|
|
|
37
37
|
"py-3",
|
|
38
38
|
"pl-4",
|
|
39
39
|
"pr-3",
|
|
40
|
-
"rounded",
|
|
40
|
+
"rounded-sm",
|
|
41
41
|
"overflow-hidden",
|
|
42
42
|
"font-daikinSerif",
|
|
43
43
|
"text-left",
|
|
44
44
|
"leading-[130%]",
|
|
45
45
|
"relative",
|
|
46
|
-
"outline",
|
|
46
|
+
"outline-solid",
|
|
47
47
|
"outline-1",
|
|
48
48
|
"-outline-offset-1",
|
|
49
49
|
"natural-break",
|
|
50
50
|
"focus-visible:outline-2",
|
|
51
51
|
"focus-visible:-outline-offset-2",
|
|
52
|
-
"enabled:outline-
|
|
52
|
+
"enabled:outline-(--color-base)",
|
|
53
53
|
"disabled:text-ddt-color-common-disabled",
|
|
54
54
|
"disabled:outline-ddt-color-common-disabled",
|
|
55
|
-
"after:
|
|
55
|
+
"after:icon-[daikin--chevron-down]",
|
|
56
56
|
"after:size-6",
|
|
57
57
|
"after:flex-none",
|
|
58
58
|
"after:ml-auto",
|
|
@@ -73,12 +73,12 @@ const cvaButton = classVarianceAuthority.cva(
|
|
|
73
73
|
},
|
|
74
74
|
error: {
|
|
75
75
|
false: [
|
|
76
|
-
"
|
|
77
|
-
"hover:
|
|
78
|
-
"active:
|
|
79
|
-
"focus-visible:
|
|
76
|
+
"[--color-base:var(--dds-color-common-neutral-default)]",
|
|
77
|
+
"hover:[--color-base:var(--dds-color-common-neutral-hover)]",
|
|
78
|
+
"active:[--color-base:var(--dds-color-common-neutral-press)]",
|
|
79
|
+
"focus-visible:[--color-base:var(--dds-color-common-border-focus)]"
|
|
80
80
|
],
|
|
81
|
-
true: ["
|
|
81
|
+
true: ["[--color-base:var(--dds-color-common-danger-default)]"]
|
|
82
82
|
},
|
|
83
83
|
placeholder: {
|
|
84
84
|
false: ["text-ddt-color-common-text-primary"],
|
|
@@ -352,7 +352,7 @@ exports.DaikinDropdown = class DaikinDropdown extends ddsFormElement.DDSFormElem
|
|
|
352
352
|
id="dropdown-items"
|
|
353
353
|
role="listbox"
|
|
354
354
|
popover="manual"
|
|
355
|
-
class="flex flex-col overflow-hidden floating-unready:hidden absolute left-
|
|
355
|
+
class="flex flex-col overflow-hidden floating-unready:hidden absolute left-(--floating-x,0) top-(--floating-y,0) min-w-(--floating-width) max-h-50 border border-ddt-color-divider rounded-sm max-w-min"
|
|
356
356
|
aria-labelledby="dropdown-button"
|
|
357
357
|
@floating-ready=${this._handleFloatingReady}
|
|
358
358
|
${this._autoUpdateController.refFloating()}
|
|
@@ -32,7 +32,7 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
32
32
|
"leading-[130%]",
|
|
33
33
|
"text-left",
|
|
34
34
|
"relative",
|
|
35
|
-
"focus-visible:outline",
|
|
35
|
+
"focus-visible:outline-solid",
|
|
36
36
|
"focus-visible:outline-2",
|
|
37
37
|
"focus-visible:-outline-offset-2",
|
|
38
38
|
"focus-visible:outline-ddt-color-common-border-focus"
|
|
@@ -41,15 +41,15 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
41
41
|
variants: {
|
|
42
42
|
selected: {
|
|
43
43
|
false: [
|
|
44
|
-
"
|
|
45
|
-
"hover:
|
|
46
|
-
"active:
|
|
44
|
+
"[--color-primary:var(--dds-color-common-background-default)]",
|
|
45
|
+
"hover:[--color-primary:var(--dds-color-common-surface-hover)]",
|
|
46
|
+
"active:[--color-primary:var(--dds-color-common-surface-press)]"
|
|
47
47
|
],
|
|
48
48
|
true: [
|
|
49
|
-
"
|
|
50
|
-
"hover:
|
|
51
|
-
"active:
|
|
52
|
-
"after:
|
|
49
|
+
"[--color-primary:var(--dds-color-common-surface-selected-default)]",
|
|
50
|
+
"hover:[--color-primary:var(--dds-color-common-surface-selected-hover)]",
|
|
51
|
+
"active:[--color-primary:var(--dds-color-common-surface-selected-press)]",
|
|
52
|
+
"after:icon-[daikin--dropdown-check]",
|
|
53
53
|
"after:size-6",
|
|
54
54
|
"after:flex-none"
|
|
55
55
|
]
|
|
@@ -57,7 +57,7 @@ const cvaOption = classVarianceAuthority.cva(
|
|
|
57
57
|
disabled: {
|
|
58
58
|
false: [
|
|
59
59
|
"text-ddt-color-common-text-primary",
|
|
60
|
-
"bg-
|
|
60
|
+
"bg-(--color-primary)",
|
|
61
61
|
"cursor-pointer"
|
|
62
62
|
],
|
|
63
63
|
true: [
|
|
@@ -124,7 +124,7 @@ exports.DaikinDropdownItem = class DaikinDropdownItem extends ddsElement.DDSElem
|
|
|
124
124
|
@mousedown=${this._handleMousedown}
|
|
125
125
|
>
|
|
126
126
|
<daikin-checkbox
|
|
127
|
-
class="size-full part-
|
|
127
|
+
class="size-full part-label:p-2 part-label:cursor-pointer"
|
|
128
128
|
check-state=${this.selected ? "checked" : "unchecked"}
|
|
129
129
|
tabindex="-1"
|
|
130
130
|
?disabled=${this.disabled}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const lit = require("lit");
|
|
4
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
5
|
+
require("../../base/dds-form-element.cjs");
|
|
6
|
+
require("lit/decorators.js");
|
|
7
|
+
const decorators = require("../../base/decorators.cjs");
|
|
8
|
+
require("../../base/define.cjs");
|
|
9
|
+
const tailwind = require("../../tailwind.css.cjs");
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
12
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
13
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators2[i])
|
|
15
|
+
result = decorator(result) || result;
|
|
16
|
+
return result;
|
|
17
|
+
};
|
|
18
|
+
exports.DaikinEmptyState = class DaikinEmptyState extends ddsElement.DDSElement {
|
|
19
|
+
render() {
|
|
20
|
+
return lit.html`<div class="flex flex-col items-center justify-center gap-6">
|
|
21
|
+
<div class="flex flex-col items-center justify-center gap-1">
|
|
22
|
+
<slot
|
|
23
|
+
name="icon"
|
|
24
|
+
class="slotted:size-8 slotted:text-ddt-color-common-neutral-default"
|
|
25
|
+
></slot>
|
|
26
|
+
<slot
|
|
27
|
+
name="title"
|
|
28
|
+
class="slotted:text-base slotted:font-bold slotted:natural-break slotted:text-center slotted:font-daikinSerif slotted:leading-[130%] slotted:text-ddt-color-common-text-primary"
|
|
29
|
+
></slot>
|
|
30
|
+
<slot
|
|
31
|
+
name="description"
|
|
32
|
+
class="slotted:text-sm slotted:font-normal slotted:natural-break slotted:text-center slotted:font-daikinSerif slotted:leading-[150%] slotted:text-ddt-color-common-text-primary"
|
|
33
|
+
><span class="-mt-1"></span
|
|
34
|
+
></slot>
|
|
35
|
+
</div>
|
|
36
|
+
<slot name="action"></slot>
|
|
37
|
+
</div>`;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.DaikinEmptyState.styles = lit.css`
|
|
41
|
+
${lit.unsafeCSS(tailwind.default)}
|
|
42
|
+
|
|
43
|
+
:host {
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
`;
|
|
47
|
+
exports.DaikinEmptyState = __decorateClass([
|
|
48
|
+
decorators.ddsElement("daikin-empty-state")
|
|
49
|
+
], exports.DaikinEmptyState);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
|
+
/**
|
|
3
|
+
* The empty-state component defines a text description for when there is no content to display, and allows for the integration of buttons to guide users toward their next action.
|
|
4
|
+
*
|
|
5
|
+
* This component is often used with:
|
|
6
|
+
* - `daikin-table`: To display an empty state when the table has no data.
|
|
7
|
+
* - `daikin-card`: To display an empty state within a card layout.
|
|
8
|
+
*
|
|
9
|
+
* You may also place it in any appropriate location according to the design guidelines.
|
|
10
|
+
*
|
|
11
|
+
* @slot icon - A slot for an icon to visually support the empty state's text description.
|
|
12
|
+
* @slot title - A slot for the title text of the empty state.
|
|
13
|
+
* @slot description - A slot for the description text providing more details about the empty state.
|
|
14
|
+
* @slot action - A slot for action elements such as buttons to guide the user's next steps.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* ```js
|
|
19
|
+
* import "@daikin-oss/design-system-web-components/components/empty-state/index.js";
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ```html
|
|
23
|
+
* <daikin-empty-state></daikin-empty-state>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class DaikinEmptyState extends DDSElement {
|
|
27
|
+
static readonly styles: import('lit').CSSResult;
|
|
28
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
"daikin-empty-state": DaikinEmptyState;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const daikinEmptyState = require("./daikin-empty-state.cjs");
|
|
4
|
+
Object.defineProperty(exports, "DaikinEmptyState", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: () => daikinEmptyState.DaikinEmptyState
|
|
7
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-empty-state.cjs";
|
|
@@ -35,7 +35,7 @@ const cvaIcon = classVarianceAuthority.cva(["inline-flex size-full"], {
|
|
|
35
35
|
color: {
|
|
36
36
|
black: ["text-ddt-color-common-background-overlay"],
|
|
37
37
|
white: ["text-ddt-color-common-text-inverse"],
|
|
38
|
-
default: ["text-
|
|
38
|
+
default: ["text-(--default-color)"],
|
|
39
39
|
current: []
|
|
40
40
|
// uses `currentColor`
|
|
41
41
|
},
|
|
@@ -43,18 +43,11 @@ const cvaIcon = classVarianceAuthority.cva(["inline-flex size-full"], {
|
|
|
43
43
|
inline: [],
|
|
44
44
|
mask: [
|
|
45
45
|
"bg-current",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"[-webkit-mask-repeat:no-repeat]",
|
|
50
|
-
"[mask-image:var(--svg)]",
|
|
51
|
-
"[-webkit-mask-image:var(--svg)]"
|
|
52
|
-
],
|
|
53
|
-
background: [
|
|
54
|
-
"bg-no-repeat",
|
|
55
|
-
"bg-[length:100%_100%]",
|
|
56
|
-
"bg-[image:var(--svg)]"
|
|
46
|
+
"mask-size-[100%_100%]",
|
|
47
|
+
"mask-no-repeat",
|
|
48
|
+
"mask-(--svg)"
|
|
57
49
|
],
|
|
50
|
+
background: ["bg-no-repeat", "bg-size-[100%_100%]", "bg-(image:--svg)"],
|
|
58
51
|
static: []
|
|
59
52
|
// for static icons from icons.json
|
|
60
53
|
}
|
|
@@ -101,6 +94,7 @@ exports.DaikinIcon = class DaikinIcon extends ddsElement.DDSElement {
|
|
|
101
94
|
defaultColor: staticIcon.color,
|
|
102
95
|
class: staticIcon.class
|
|
103
96
|
};
|
|
97
|
+
console.log(this._iconData);
|
|
104
98
|
return;
|
|
105
99
|
}
|
|
106
100
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const icons = { "logo-positive": { "class": "
|
|
3
|
+
const icons = { "logo-positive": { "class": "icon-[daikin--logo-positive]", "color": null }, "logo-negative": { "class": "icon-[daikin--logo-negative]", "color": null }, "alarm": { "class": "icon-[daikin--alarm]", "color": null }, "close": { "class": "icon-[daikin--close]", "color": "#a0a0a0" }, "information": { "class": "icon-[daikin--information]", "color": null }, "error": { "class": "icon-[daikin--error]", "color": null }, "success": { "class": "icon-[daikin--success]", "color": null }, "warning": { "class": "icon-[daikin--warning]", "color": null }, "pagination-chevron-left": { "class": "icon-[daikin--pagination-chevron-left]", "color": "#414141" }, "pagination-chevron-right": { "class": "icon-[daikin--pagination-chevron-right]", "color": "#414141" }, "profile": { "class": "icon-[daikin--profile]", "color": null }, "chevron-up": { "class": "icon-[daikin--chevron-up]", "color": null }, "chevron-down": { "class": "icon-[daikin--chevron-down]", "color": null }, "chevron-left": { "class": "icon-[daikin--chevron-left]", "color": null }, "chevron-right": { "class": "icon-[daikin--chevron-right]", "color": null }, "sort": { "class": "icon-[daikin--sort]", "color": null }, "negative": { "class": "icon-[daikin--error]", "color": null }, "positive": { "class": "icon-[daikin--success]", "color": null }, "cross": { "class": "icon-[daikin--close]", "color": null }, "notification": { "class": "icon-[daikin--notification]", "color": null }, "neutral": { "class": "icon-[daikin--neutral]", "color": null }, "download": { "class": "icon-[daikin--download]", "color": null }, "check": { "class": "icon-[daikin--check]", "color": null } };
|
|
4
4
|
const iconsJson = {
|
|
5
5
|
icons
|
|
6
6
|
};
|
|
@@ -1,91 +1,95 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"icons": {
|
|
3
3
|
"logo-positive": {
|
|
4
|
-
"class": "
|
|
4
|
+
"class": "icon-[daikin--logo-positive]",
|
|
5
5
|
"color": null
|
|
6
6
|
},
|
|
7
7
|
"logo-negative": {
|
|
8
|
-
"class": "
|
|
8
|
+
"class": "icon-[daikin--logo-negative]",
|
|
9
9
|
"color": null
|
|
10
10
|
},
|
|
11
11
|
"alarm": {
|
|
12
|
-
"class": "
|
|
12
|
+
"class": "icon-[daikin--alarm]",
|
|
13
13
|
"color": null
|
|
14
14
|
},
|
|
15
15
|
"close": {
|
|
16
|
-
"class": "
|
|
16
|
+
"class": "icon-[daikin--close]",
|
|
17
17
|
"color": "#a0a0a0"
|
|
18
18
|
},
|
|
19
19
|
"information": {
|
|
20
|
-
"class": "
|
|
20
|
+
"class": "icon-[daikin--information]",
|
|
21
21
|
"color": null
|
|
22
22
|
},
|
|
23
23
|
"error": {
|
|
24
|
-
"class": "
|
|
24
|
+
"class": "icon-[daikin--error]",
|
|
25
25
|
"color": null
|
|
26
26
|
},
|
|
27
27
|
"success": {
|
|
28
|
-
"class": "
|
|
28
|
+
"class": "icon-[daikin--success]",
|
|
29
29
|
"color": null
|
|
30
30
|
},
|
|
31
31
|
"warning": {
|
|
32
|
-
"class": "
|
|
32
|
+
"class": "icon-[daikin--warning]",
|
|
33
33
|
"color": null
|
|
34
34
|
},
|
|
35
35
|
"pagination-chevron-left": {
|
|
36
|
-
"class": "
|
|
36
|
+
"class": "icon-[daikin--pagination-chevron-left]",
|
|
37
37
|
"color": "#414141"
|
|
38
38
|
},
|
|
39
39
|
"pagination-chevron-right": {
|
|
40
|
-
"class": "
|
|
40
|
+
"class": "icon-[daikin--pagination-chevron-right]",
|
|
41
41
|
"color": "#414141"
|
|
42
42
|
},
|
|
43
43
|
"profile": {
|
|
44
|
-
"class": "
|
|
44
|
+
"class": "icon-[daikin--profile]",
|
|
45
45
|
"color": null
|
|
46
46
|
},
|
|
47
47
|
"chevron-up": {
|
|
48
|
-
"class": "
|
|
48
|
+
"class": "icon-[daikin--chevron-up]",
|
|
49
49
|
"color": null
|
|
50
50
|
},
|
|
51
51
|
"chevron-down": {
|
|
52
|
-
"class": "
|
|
52
|
+
"class": "icon-[daikin--chevron-down]",
|
|
53
53
|
"color": null
|
|
54
54
|
},
|
|
55
55
|
"chevron-left": {
|
|
56
|
-
"class": "
|
|
56
|
+
"class": "icon-[daikin--chevron-left]",
|
|
57
57
|
"color": null
|
|
58
58
|
},
|
|
59
59
|
"chevron-right": {
|
|
60
|
-
"class": "
|
|
60
|
+
"class": "icon-[daikin--chevron-right]",
|
|
61
61
|
"color": null
|
|
62
62
|
},
|
|
63
63
|
"sort": {
|
|
64
|
-
"class": "
|
|
64
|
+
"class": "icon-[daikin--sort]",
|
|
65
65
|
"color": null
|
|
66
66
|
},
|
|
67
67
|
"negative": {
|
|
68
|
-
"class": "
|
|
68
|
+
"class": "icon-[daikin--error]",
|
|
69
69
|
"color": null
|
|
70
70
|
},
|
|
71
71
|
"positive": {
|
|
72
|
-
"class": "
|
|
72
|
+
"class": "icon-[daikin--success]",
|
|
73
73
|
"color": null
|
|
74
74
|
},
|
|
75
75
|
"cross": {
|
|
76
|
-
"class": "
|
|
76
|
+
"class": "icon-[daikin--close]",
|
|
77
77
|
"color": null
|
|
78
78
|
},
|
|
79
79
|
"notification": {
|
|
80
|
-
"class": "
|
|
80
|
+
"class": "icon-[daikin--notification]",
|
|
81
81
|
"color": null
|
|
82
82
|
},
|
|
83
83
|
"neutral": {
|
|
84
|
-
"class": "
|
|
84
|
+
"class": "icon-[daikin--neutral]",
|
|
85
85
|
"color": null
|
|
86
86
|
},
|
|
87
87
|
"download": {
|
|
88
|
-
"class": "
|
|
88
|
+
"class": "icon-[daikin--download]",
|
|
89
|
+
"color": null
|
|
90
|
+
},
|
|
91
|
+
"check": {
|
|
92
|
+
"class": "icon-[daikin--check]",
|
|
89
93
|
"color": null
|
|
90
94
|
}
|
|
91
95
|
}
|