@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
|
@@ -36,20 +36,22 @@ const cvaInput = cva(
|
|
|
36
36
|
"py-3",
|
|
37
37
|
"pl-4",
|
|
38
38
|
"pr-16",
|
|
39
|
-
"rounded",
|
|
39
|
+
"rounded-sm",
|
|
40
40
|
"overflow-hidden",
|
|
41
41
|
"font-daikinSerif",
|
|
42
42
|
"text-left",
|
|
43
43
|
"leading-[130%]",
|
|
44
44
|
"relative",
|
|
45
|
-
"outline",
|
|
45
|
+
"outline-solid",
|
|
46
46
|
"outline-1",
|
|
47
47
|
"-outline-offset-1",
|
|
48
48
|
"whitespace-nowrap",
|
|
49
49
|
"text-ellipsis",
|
|
50
|
+
"text-ddt-color-common-text-primary",
|
|
51
|
+
"placeholder:text-ddt-color-common-text-secondary",
|
|
50
52
|
"focus-visible:outline-2",
|
|
51
53
|
"focus-visible:-outline-offset-2",
|
|
52
|
-
"enabled:outline-
|
|
54
|
+
"enabled:outline-(--color-base)",
|
|
53
55
|
"disabled:text-ddt-color-common-disabled",
|
|
54
56
|
"disabled:outline-ddt-color-common-disabled",
|
|
55
57
|
"enabled:after:text-ddt-color-common-text-primary",
|
|
@@ -61,15 +63,11 @@ const cvaInput = cva(
|
|
|
61
63
|
variants: {
|
|
62
64
|
error: {
|
|
63
65
|
false: [
|
|
64
|
-
"
|
|
65
|
-
"hover:
|
|
66
|
-
"focus-visible:
|
|
66
|
+
"[--color-base:var(--dds-color-common-neutral-default)]",
|
|
67
|
+
"hover:[--color-base:var(--dds-color-common-neutral-hover)]",
|
|
68
|
+
"focus-visible:[--color-base:var(--dds-color-common-border-focus)]"
|
|
67
69
|
],
|
|
68
|
-
true: ["
|
|
69
|
-
},
|
|
70
|
-
placeholder: {
|
|
71
|
-
false: ["text-ddt-color-common-text-primary"],
|
|
72
|
-
true: ["text-ddt-color-common-text-secondary"]
|
|
70
|
+
true: ["[--color-base:var(--dds-color-common-danger-default)]"]
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
}
|
|
@@ -86,24 +84,24 @@ const cvaOption = cva(
|
|
|
86
84
|
"leading-[130%]",
|
|
87
85
|
"text-left",
|
|
88
86
|
"relative",
|
|
89
|
-
"data-
|
|
90
|
-
"data-
|
|
91
|
-
"data-
|
|
92
|
-
"data-
|
|
87
|
+
"data-focus:outline-solid",
|
|
88
|
+
"data-focus:outline-2",
|
|
89
|
+
"data-focus:-outline-offset-2",
|
|
90
|
+
"data-focus:outline-ddt-color-common-border-focus"
|
|
93
91
|
],
|
|
94
92
|
{
|
|
95
93
|
variants: {
|
|
96
94
|
selected: {
|
|
97
95
|
false: [
|
|
98
|
-
"
|
|
99
|
-
"hover:
|
|
100
|
-
"active:
|
|
96
|
+
"[--color-primary:var(--dds-color-common-background-default)]",
|
|
97
|
+
"hover:[--color-primary:var(--dds-color-common-surface-hover)]",
|
|
98
|
+
"active:[--color-primary:var(--dds-color-common-surface-press)]"
|
|
101
99
|
],
|
|
102
100
|
true: [
|
|
103
|
-
"
|
|
104
|
-
"hover:
|
|
105
|
-
"active:
|
|
106
|
-
"after:
|
|
101
|
+
"[--color-primary:var(--dds-color-common-surface-selected-default)]",
|
|
102
|
+
"hover:[--color-primary:var(--dds-color-common-surface-selected-hover)]",
|
|
103
|
+
"active:[--color-primary:var(--dds-color-common-surface-selected-press)]",
|
|
104
|
+
"after:icon-[daikin--dropdown-check]",
|
|
107
105
|
"after:size-6",
|
|
108
106
|
"pr-10",
|
|
109
107
|
"after:absolute",
|
|
@@ -115,7 +113,7 @@ const cvaOption = cva(
|
|
|
115
113
|
disabled: {
|
|
116
114
|
false: [
|
|
117
115
|
"text-ddt-color-common-text-primary",
|
|
118
|
-
"bg-
|
|
116
|
+
"bg-(--color-primary)",
|
|
119
117
|
"cursor-pointer"
|
|
120
118
|
],
|
|
121
119
|
true: [
|
|
@@ -128,9 +126,9 @@ const cvaOption = cva(
|
|
|
128
126
|
);
|
|
129
127
|
const cvaArrow = cva(
|
|
130
128
|
[
|
|
131
|
-
"
|
|
129
|
+
"icon-[daikin--chevron-down]",
|
|
132
130
|
"size-6",
|
|
133
|
-
"
|
|
131
|
+
"shrink-0",
|
|
134
132
|
"z-10",
|
|
135
133
|
"pointer-events-auto"
|
|
136
134
|
],
|
|
@@ -424,8 +422,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
424
422
|
<div class="w-full relative">
|
|
425
423
|
<input
|
|
426
424
|
class=${cvaInput({
|
|
427
|
-
error: this.error
|
|
428
|
-
placeholder: !this.value || this.value.length === 0
|
|
425
|
+
error: this.error
|
|
429
426
|
})}
|
|
430
427
|
role="combobox"
|
|
431
428
|
name=${ifDefined(this.getBackingProperty("name"))}
|
|
@@ -450,7 +447,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
450
447
|
class="absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-1"
|
|
451
448
|
>
|
|
452
449
|
${!!this.value && !!this.value.length ? html`<daikin-icon-button
|
|
453
|
-
class="size-6
|
|
450
|
+
class="size-6 shrink-0"
|
|
454
451
|
color="neutral"
|
|
455
452
|
variant="ghost"
|
|
456
453
|
?disabled=${this.disabled}
|
|
@@ -459,7 +456,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
459
456
|
@click=${this._handleClearClick}
|
|
460
457
|
@focusout=${this._handleFocusOut}
|
|
461
458
|
>
|
|
462
|
-
<span class="
|
|
459
|
+
<span class="icon-[daikin--close] size-6"></span>
|
|
463
460
|
</daikin-icon-button>` : nothing}
|
|
464
461
|
<span
|
|
465
462
|
class=${cvaArrow({ open: this.open, disabled: this.disabled })}
|
|
@@ -475,7 +472,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
475
472
|
id="combobox-items"
|
|
476
473
|
popover="manual"
|
|
477
474
|
tabindex="-1"
|
|
478
|
-
class="flex flex-col overflow-hidden rounded border border-ddt-color-divider floating-unready:hidden absolute left-
|
|
475
|
+
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"
|
|
479
476
|
@floating-ready=${this._handleFloatingReady}
|
|
480
477
|
${this._autoUpdateController.refFloating()}
|
|
481
478
|
>
|
|
@@ -57,25 +57,25 @@ const cvaField = cva(
|
|
|
57
57
|
"bg-ddt-color-common-background-default",
|
|
58
58
|
"pl-4",
|
|
59
59
|
"pr-10",
|
|
60
|
-
"rounded",
|
|
60
|
+
"rounded-sm",
|
|
61
61
|
"truncate",
|
|
62
|
-
"outline",
|
|
63
|
-
"outline-
|
|
62
|
+
"outline-solid",
|
|
63
|
+
"outline-(--color-border)",
|
|
64
64
|
"outline-0",
|
|
65
65
|
"-outline-offset-2",
|
|
66
66
|
"placeholder:text-ddt-color-common-text-secondary",
|
|
67
67
|
// Define `--color-border` as a CSS variable that references `--color-state-focus` and `--color-base` in that order.
|
|
68
68
|
// `--color-base` indicates the color of the border when the element is normal, hovered, or disabled.
|
|
69
|
-
"
|
|
69
|
+
"[--color-border:var(--color-state-focus,var(--color-base))]",
|
|
70
70
|
"border",
|
|
71
|
-
"border-
|
|
71
|
+
"border-(--color-border)",
|
|
72
72
|
// Update `--color-base` depending on the state.
|
|
73
73
|
// 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.
|
|
74
74
|
"enabled:text-ddt-color-common-text-primary",
|
|
75
75
|
"enabled:hover:bg-ddt-color-common-surface-hover",
|
|
76
76
|
"enabled:active:bg-ddt-color-common-surface-press",
|
|
77
77
|
"focus-visible:outline-2",
|
|
78
|
-
"disabled:
|
|
78
|
+
"disabled:[--color-base:var(--dds-color-common-disabled)]",
|
|
79
79
|
"disabled:text-ddt-color-common-disabled",
|
|
80
80
|
"disabled:bg-ddt-color-common-background-default",
|
|
81
81
|
"disabled:placeholder:text-ddt-color-common-disabled"
|
|
@@ -84,10 +84,10 @@ const cvaField = cva(
|
|
|
84
84
|
variants: {
|
|
85
85
|
error: {
|
|
86
86
|
false: [
|
|
87
|
-
"enabled:
|
|
88
|
-
"focus-visible:
|
|
87
|
+
"enabled:[--color-base:var(--dds-color-common-neutral-default)]",
|
|
88
|
+
"focus-visible:[--color-state-focus:var(--dds-color-common-border-focus)]"
|
|
89
89
|
],
|
|
90
|
-
true: ["enabled:
|
|
90
|
+
true: ["enabled:[--color-base:var(--dds-color-common-danger-default)]"]
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -540,7 +540,7 @@ let DaikinDatePicker = class extends DDSFormElement {
|
|
|
540
540
|
max=${formatDateForProperty(max)}
|
|
541
541
|
default-value=${ifDefined(this.defaultValue)}
|
|
542
542
|
popover="manual"
|
|
543
|
-
class="absolute left-
|
|
543
|
+
class="absolute left-(--floating-x,0) top-(--floating-y,0)"
|
|
544
544
|
@toggle=${this._handleToggle}
|
|
545
545
|
@select=${this._handleSelect}
|
|
546
546
|
@selecting=${this._handleSelect}
|
|
@@ -35,22 +35,22 @@ const cvaButton = cva(
|
|
|
35
35
|
"py-3",
|
|
36
36
|
"pl-4",
|
|
37
37
|
"pr-3",
|
|
38
|
-
"rounded",
|
|
38
|
+
"rounded-sm",
|
|
39
39
|
"overflow-hidden",
|
|
40
40
|
"font-daikinSerif",
|
|
41
41
|
"text-left",
|
|
42
42
|
"leading-[130%]",
|
|
43
43
|
"relative",
|
|
44
|
-
"outline",
|
|
44
|
+
"outline-solid",
|
|
45
45
|
"outline-1",
|
|
46
46
|
"-outline-offset-1",
|
|
47
47
|
"natural-break",
|
|
48
48
|
"focus-visible:outline-2",
|
|
49
49
|
"focus-visible:-outline-offset-2",
|
|
50
|
-
"enabled:outline-
|
|
50
|
+
"enabled:outline-(--color-base)",
|
|
51
51
|
"disabled:text-ddt-color-common-disabled",
|
|
52
52
|
"disabled:outline-ddt-color-common-disabled",
|
|
53
|
-
"after:
|
|
53
|
+
"after:icon-[daikin--chevron-down]",
|
|
54
54
|
"after:size-6",
|
|
55
55
|
"after:flex-none",
|
|
56
56
|
"after:ml-auto",
|
|
@@ -71,12 +71,12 @@ const cvaButton = cva(
|
|
|
71
71
|
},
|
|
72
72
|
error: {
|
|
73
73
|
false: [
|
|
74
|
-
"
|
|
75
|
-
"hover:
|
|
76
|
-
"active:
|
|
77
|
-
"focus-visible:
|
|
74
|
+
"[--color-base:var(--dds-color-common-neutral-default)]",
|
|
75
|
+
"hover:[--color-base:var(--dds-color-common-neutral-hover)]",
|
|
76
|
+
"active:[--color-base:var(--dds-color-common-neutral-press)]",
|
|
77
|
+
"focus-visible:[--color-base:var(--dds-color-common-border-focus)]"
|
|
78
78
|
],
|
|
79
|
-
true: ["
|
|
79
|
+
true: ["[--color-base:var(--dds-color-common-danger-default)]"]
|
|
80
80
|
},
|
|
81
81
|
placeholder: {
|
|
82
82
|
false: ["text-ddt-color-common-text-primary"],
|
|
@@ -350,7 +350,7 @@ let DaikinDropdown = class extends DDSFormElement {
|
|
|
350
350
|
id="dropdown-items"
|
|
351
351
|
role="listbox"
|
|
352
352
|
popover="manual"
|
|
353
|
-
class="flex flex-col overflow-hidden floating-unready:hidden absolute left-
|
|
353
|
+
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"
|
|
354
354
|
aria-labelledby="dropdown-button"
|
|
355
355
|
@floating-ready=${this._handleFloatingReady}
|
|
356
356
|
${this._autoUpdateController.refFloating()}
|
|
@@ -30,7 +30,7 @@ const cvaOption = cva(
|
|
|
30
30
|
"leading-[130%]",
|
|
31
31
|
"text-left",
|
|
32
32
|
"relative",
|
|
33
|
-
"focus-visible:outline",
|
|
33
|
+
"focus-visible:outline-solid",
|
|
34
34
|
"focus-visible:outline-2",
|
|
35
35
|
"focus-visible:-outline-offset-2",
|
|
36
36
|
"focus-visible:outline-ddt-color-common-border-focus"
|
|
@@ -39,15 +39,15 @@ const cvaOption = cva(
|
|
|
39
39
|
variants: {
|
|
40
40
|
selected: {
|
|
41
41
|
false: [
|
|
42
|
-
"
|
|
43
|
-
"hover:
|
|
44
|
-
"active:
|
|
42
|
+
"[--color-primary:var(--dds-color-common-background-default)]",
|
|
43
|
+
"hover:[--color-primary:var(--dds-color-common-surface-hover)]",
|
|
44
|
+
"active:[--color-primary:var(--dds-color-common-surface-press)]"
|
|
45
45
|
],
|
|
46
46
|
true: [
|
|
47
|
-
"
|
|
48
|
-
"hover:
|
|
49
|
-
"active:
|
|
50
|
-
"after:
|
|
47
|
+
"[--color-primary:var(--dds-color-common-surface-selected-default)]",
|
|
48
|
+
"hover:[--color-primary:var(--dds-color-common-surface-selected-hover)]",
|
|
49
|
+
"active:[--color-primary:var(--dds-color-common-surface-selected-press)]",
|
|
50
|
+
"after:icon-[daikin--dropdown-check]",
|
|
51
51
|
"after:size-6",
|
|
52
52
|
"after:flex-none"
|
|
53
53
|
]
|
|
@@ -55,7 +55,7 @@ const cvaOption = cva(
|
|
|
55
55
|
disabled: {
|
|
56
56
|
false: [
|
|
57
57
|
"text-ddt-color-common-text-primary",
|
|
58
|
-
"bg-
|
|
58
|
+
"bg-(--color-primary)",
|
|
59
59
|
"cursor-pointer"
|
|
60
60
|
],
|
|
61
61
|
true: [
|
|
@@ -122,7 +122,7 @@ let DaikinDropdownItem = class extends DDSElement {
|
|
|
122
122
|
@mousedown=${this._handleMousedown}
|
|
123
123
|
>
|
|
124
124
|
<daikin-checkbox
|
|
125
|
-
class="size-full part-
|
|
125
|
+
class="size-full part-label:p-2 part-label:cursor-pointer"
|
|
126
126
|
check-state=${this.selected ? "checked" : "unchecked"}
|
|
127
127
|
tabindex="-1"
|
|
128
128
|
?disabled=${this.disabled}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
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,50 @@
|
|
|
1
|
+
import { unsafeCSS, css, html } from "lit";
|
|
2
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
3
|
+
import "../../base/dds-form-element.js";
|
|
4
|
+
import "lit/decorators.js";
|
|
5
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
6
|
+
import "../../base/define.js";
|
|
7
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
8
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
10
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
11
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12
|
+
if (decorator = decorators[i])
|
|
13
|
+
result = decorator(result) || result;
|
|
14
|
+
return result;
|
|
15
|
+
};
|
|
16
|
+
let DaikinEmptyState = class extends DDSElement {
|
|
17
|
+
render() {
|
|
18
|
+
return html`<div class="flex flex-col items-center justify-center gap-6">
|
|
19
|
+
<div class="flex flex-col items-center justify-center gap-1">
|
|
20
|
+
<slot
|
|
21
|
+
name="icon"
|
|
22
|
+
class="slotted:size-8 slotted:text-ddt-color-common-neutral-default"
|
|
23
|
+
></slot>
|
|
24
|
+
<slot
|
|
25
|
+
name="title"
|
|
26
|
+
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"
|
|
27
|
+
></slot>
|
|
28
|
+
<slot
|
|
29
|
+
name="description"
|
|
30
|
+
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"
|
|
31
|
+
><span class="-mt-1"></span
|
|
32
|
+
></slot>
|
|
33
|
+
</div>
|
|
34
|
+
<slot name="action"></slot>
|
|
35
|
+
</div>`;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
DaikinEmptyState.styles = css`
|
|
39
|
+
${unsafeCSS(tailwindStyles)}
|
|
40
|
+
|
|
41
|
+
:host {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
DaikinEmptyState = __decorateClass([
|
|
46
|
+
ddsElement("daikin-empty-state")
|
|
47
|
+
], DaikinEmptyState);
|
|
48
|
+
export {
|
|
49
|
+
DaikinEmptyState
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-empty-state.js";
|
|
@@ -33,7 +33,7 @@ const cvaIcon = cva(["inline-flex size-full"], {
|
|
|
33
33
|
color: {
|
|
34
34
|
black: ["text-ddt-color-common-background-overlay"],
|
|
35
35
|
white: ["text-ddt-color-common-text-inverse"],
|
|
36
|
-
default: ["text-
|
|
36
|
+
default: ["text-(--default-color)"],
|
|
37
37
|
current: []
|
|
38
38
|
// uses `currentColor`
|
|
39
39
|
},
|
|
@@ -41,18 +41,11 @@ const cvaIcon = cva(["inline-flex size-full"], {
|
|
|
41
41
|
inline: [],
|
|
42
42
|
mask: [
|
|
43
43
|
"bg-current",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"[-webkit-mask-repeat:no-repeat]",
|
|
48
|
-
"[mask-image:var(--svg)]",
|
|
49
|
-
"[-webkit-mask-image:var(--svg)]"
|
|
50
|
-
],
|
|
51
|
-
background: [
|
|
52
|
-
"bg-no-repeat",
|
|
53
|
-
"bg-[length:100%_100%]",
|
|
54
|
-
"bg-[image:var(--svg)]"
|
|
44
|
+
"mask-size-[100%_100%]",
|
|
45
|
+
"mask-no-repeat",
|
|
46
|
+
"mask-(--svg)"
|
|
55
47
|
],
|
|
48
|
+
background: ["bg-no-repeat", "bg-size-[100%_100%]", "bg-(image:--svg)"],
|
|
56
49
|
static: []
|
|
57
50
|
// for static icons from icons.json
|
|
58
51
|
}
|
|
@@ -99,6 +92,7 @@ let DaikinIcon = class extends DDSElement {
|
|
|
99
92
|
defaultColor: staticIcon.color,
|
|
100
93
|
class: staticIcon.class
|
|
101
94
|
};
|
|
95
|
+
console.log(this._iconData);
|
|
102
96
|
return;
|
|
103
97
|
}
|
|
104
98
|
try {
|
|
@@ -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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const icons = { "logo-positive": { "class": "
|
|
1
|
+
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 } };
|
|
2
2
|
const iconsJson = {
|
|
3
3
|
icons
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DDSFormSubmitElement } from "../../base/index.js";
|
|
1
|
+
import { DDSFormSubmitElement, DDSNavigable, NavigationTarget } from "../../base/index.js";
|
|
2
2
|
import { ARIARole } from "../../lit-analyzer-types.js";
|
|
3
3
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
4
4
|
declare const cvaIconButton: (props?: ({
|
|
@@ -35,7 +35,7 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
|
|
|
35
35
|
* </daikin-icon-button>
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
38
|
+
export declare class DaikinIconButton extends DDSFormSubmitElement implements DDSNavigable {
|
|
39
39
|
static readonly styles: import('lit').CSSResult;
|
|
40
40
|
/**
|
|
41
41
|
* Variant of the button.
|
|
@@ -97,8 +97,18 @@ export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
|
97
97
|
* - `m`: 48px * 48px
|
|
98
98
|
*/
|
|
99
99
|
size: "s" | "m";
|
|
100
|
-
private _button;
|
|
100
|
+
private readonly _button;
|
|
101
101
|
constructor();
|
|
102
|
+
/**
|
|
103
|
+
* _Internal use._
|
|
104
|
+
* Returns the navigation target information.
|
|
105
|
+
* Used by navigation handling utilities.
|
|
106
|
+
*
|
|
107
|
+
* @returns Navigation target information or `null` if not navigable.
|
|
108
|
+
*
|
|
109
|
+
* @private
|
|
110
|
+
*/
|
|
111
|
+
getDDSNavigationTarget(): NavigationTarget | null;
|
|
102
112
|
render(): import('lit-html').TemplateResult<1>;
|
|
103
113
|
/**
|
|
104
114
|
* Focuses on the inner button.
|