@daikin-oss/design-system-web-components 1.3.0 → 1.4.0-next.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 +96 -0
- package/dist/cjs/base/dds-element.cjs +1 -1
- package/dist/cjs/base/index.cjs +3 -0
- package/dist/cjs/base/index.d.cts +1 -0
- package/dist/cjs/components/accordion/daikin-accordion.cjs +1 -0
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +1 -0
- package/dist/cjs/components/avatar/daikin-avatar.cjs +9 -5
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +2 -2
- package/dist/cjs/components/badge/daikin-badge.cjs +133 -0
- package/dist/cjs/components/badge/daikin-badge.d.cts +85 -0
- package/dist/cjs/components/badge/index.cjs +7 -0
- package/dist/cjs/components/badge/index.d.cts +1 -0
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +1 -0
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +1 -0
- package/dist/cjs/components/button/daikin-button.cjs +1 -1
- package/dist/cjs/components/button/daikin-button.d.cts +2 -2
- package/dist/cjs/components/calendar/daikin-calendar.cjs +37 -11
- package/dist/cjs/components/calendar/daikin-calendar.d.cts +12 -2
- package/dist/cjs/components/card/daikin-card.cjs +1 -0
- package/dist/cjs/components/card-footer/daikin-card-footer.cjs +1 -0
- package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -0
- package/dist/cjs/components/carousel/daikin-carousel.cjs +1 -0
- package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +1 -0
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +1 -1
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +1 -1
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +9 -5
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +2 -2
- package/dist/cjs/components/chip/daikin-chip.cjs +9 -5
- package/dist/cjs/components/chip/daikin-chip.d.cts +2 -2
- package/dist/cjs/components/combobox/daikin-combobox.cjs +7 -4
- package/dist/cjs/components/combobox/daikin-combobox.d.cts +1 -1
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +33 -6
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +6 -1
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +6 -8
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +1 -1
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +1 -0
- package/dist/cjs/components/icon/daikin-icon.cjs +5 -4
- package/dist/cjs/components/icon/daikin-icon.d.cts +8 -0
- package/dist/cjs/components/icon/icons.json.cjs +1 -1
- package/dist/cjs/components/icon/icons.json.d.cts +8 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +1 -1
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs/components/index.cjs +10 -0
- package/dist/cjs/components/index.d.cts +2 -0
- package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +1 -0
- package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +4 -1
- package/dist/cjs/components/input-group/daikin-input-group.cjs +22 -6
- package/dist/cjs/components/link/daikin-link.cjs +1 -0
- package/dist/cjs/components/list/daikin-list.cjs +1 -0
- package/dist/cjs/components/list-item/daikin-list-item.cjs +1 -0
- package/dist/cjs/components/loading/daikin-loading.cjs +9 -5
- package/dist/cjs/components/loading/daikin-loading.d.cts +2 -2
- package/dist/cjs/components/logo/daikin-logo.cjs +9 -5
- package/dist/cjs/components/logo/daikin-logo.d.cts +2 -2
- package/dist/cjs/components/menu/daikin-menu.cjs +22 -10
- package/dist/cjs/components/menu/daikin-menu.d.cts +6 -1
- package/dist/cjs/components/modal/daikin-modal.cjs +1 -0
- package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +1 -0
- package/dist/cjs/components/modal-header/daikin-modal-header.cjs +1 -0
- package/dist/cjs/components/pagination/daikin-pagination.cjs +3 -1
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +1 -0
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +1 -0
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +3 -2
- package/dist/cjs/components/radio/daikin-radio.cjs +1 -1
- package/dist/cjs/components/radio/daikin-radio.d.cts +1 -1
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +1 -0
- package/dist/cjs/components/select/daikin-select.cjs +1 -0
- package/dist/cjs/components/slider/daikin-slider.cjs +7 -4
- package/dist/cjs/components/slider/daikin-slider.d.cts +1 -1
- package/dist/cjs/components/status-message/daikin-status-message.cjs +110 -0
- package/dist/cjs/components/status-message/daikin-status-message.d.cts +51 -0
- package/dist/cjs/components/status-message/index.cjs +7 -0
- package/dist/cjs/components/status-message/index.d.cts +1 -0
- package/dist/cjs/components/tab/daikin-tab.cjs +1 -0
- package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +1 -0
- package/dist/cjs/components/table/daikin-table.cjs +3 -2
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +1 -0
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +1 -0
- package/dist/cjs/components/tabs/daikin-tabs.cjs +1 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +1 -1
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +1 -1
- package/dist/cjs/components/text-field/daikin-text-field.cjs +1 -1
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +1 -1
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +1 -1
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +1 -1
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +8 -5
- package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +1 -1
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +1 -0
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +4 -1
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -0
- package/dist/cjs/components/toggle/daikin-toggle.cjs +1 -1
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +1 -1
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +1 -0
- package/dist/cjs/components/tree/daikin-tree.cjs +1 -0
- package/dist/cjs/components/tree/daikin-tree.d.cts +2 -1
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +1 -0
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +6 -1
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +1 -0
- package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +6 -1
- package/dist/cjs/index.cjs +10 -0
- package/dist/cjs/tailwind.css.cjs +1 -1
- package/dist/cjs/utils/calendar-common.cjs +6 -0
- package/dist/cjs/utils/calendar-common.d.cts +7 -0
- 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/index.cjs +3 -0
- package/dist/cjs-dev/base/index.d.cts +1 -0
- package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +1 -0
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +1 -0
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +9 -5
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +2 -2
- package/dist/cjs-dev/components/badge/daikin-badge.cjs +133 -0
- package/dist/cjs-dev/components/badge/daikin-badge.d.cts +85 -0
- package/dist/cjs-dev/components/badge/index.cjs +7 -0
- package/dist/cjs-dev/components/badge/index.d.cts +1 -0
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +1 -0
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +1 -0
- package/dist/cjs-dev/components/button/daikin-button.cjs +1 -1
- package/dist/cjs-dev/components/button/daikin-button.d.cts +2 -2
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +37 -11
- package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +12 -2
- package/dist/cjs-dev/components/card/daikin-card.cjs +1 -0
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +1 -0
- package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -0
- package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +1 -0
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +1 -0
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +1 -1
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +1 -1
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +9 -5
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +2 -2
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +9 -5
- package/dist/cjs-dev/components/chip/daikin-chip.d.cts +2 -2
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +7 -4
- package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +1 -1
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +33 -6
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +6 -1
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +6 -8
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +1 -1
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +1 -0
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +5 -4
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +8 -0
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
- package/dist/cjs-dev/components/icon/icons.json.d.cts +8 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +1 -1
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs-dev/components/index.cjs +10 -0
- package/dist/cjs-dev/components/index.d.cts +2 -0
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +1 -0
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +4 -1
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +22 -6
- package/dist/cjs-dev/components/link/daikin-link.cjs +1 -0
- package/dist/cjs-dev/components/list/daikin-list.cjs +1 -0
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +1 -0
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +9 -5
- package/dist/cjs-dev/components/loading/daikin-loading.d.cts +2 -2
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +9 -5
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +2 -2
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +22 -10
- package/dist/cjs-dev/components/menu/daikin-menu.d.cts +6 -1
- package/dist/cjs-dev/components/modal/daikin-modal.cjs +1 -0
- package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.cjs +1 -0
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +1 -0
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +3 -1
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +1 -0
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +1 -0
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +3 -2
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +1 -1
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +1 -1
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +1 -0
- package/dist/cjs-dev/components/select/daikin-select.cjs +1 -0
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +7 -4
- package/dist/cjs-dev/components/slider/daikin-slider.d.cts +1 -1
- package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +110 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.d.cts +51 -0
- package/dist/cjs-dev/components/status-message/index.cjs +7 -0
- package/dist/cjs-dev/components/status-message/index.d.cts +1 -0
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +1 -0
- package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +1 -0
- package/dist/cjs-dev/components/table/daikin-table.cjs +3 -2
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +1 -0
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +1 -0
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +1 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +1 -1
- package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +1 -1
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +1 -1
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +1 -1
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +1 -1
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +1 -1
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +8 -5
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +1 -1
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +1 -0
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +4 -1
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -0
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +1 -1
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +1 -1
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +1 -0
- package/dist/cjs-dev/components/tree/daikin-tree.cjs +1 -0
- package/dist/cjs-dev/components/tree/daikin-tree.d.cts +2 -1
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +1 -0
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +6 -1
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +1 -0
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +6 -1
- package/dist/cjs-dev/index.cjs +10 -0
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- package/dist/cjs-dev/utils/calendar-common.cjs +6 -0
- package/dist/cjs-dev/utils/calendar-common.d.cts +7 -0
- package/dist/cjs-dev/utils/notification-common.d.cts +1 -1
- package/dist/es/base/dds-element.js +1 -1
- package/dist/es/base/index.d.ts +1 -0
- package/dist/es/base/index.js +3 -0
- package/dist/es/components/accordion/daikin-accordion.js +1 -0
- package/dist/es/components/accordion-item/daikin-accordion-item.js +1 -0
- package/dist/es/components/avatar/daikin-avatar.d.ts +2 -2
- package/dist/es/components/avatar/daikin-avatar.js +8 -4
- package/dist/es/components/badge/daikin-badge.d.ts +85 -0
- package/dist/es/components/badge/daikin-badge.js +134 -0
- package/dist/es/components/badge/index.d.ts +1 -0
- package/dist/es/components/badge/index.js +4 -0
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +1 -0
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +1 -0
- package/dist/es/components/button/daikin-button.d.ts +2 -2
- package/dist/es/components/button/daikin-button.js +1 -1
- package/dist/es/components/calendar/daikin-calendar.d.ts +12 -2
- package/dist/es/components/calendar/daikin-calendar.js +37 -11
- package/dist/es/components/card/daikin-card.js +1 -0
- package/dist/es/components/card-footer/daikin-card-footer.js +1 -0
- package/dist/es/components/card-header/daikin-card-header.js +1 -0
- package/dist/es/components/carousel/daikin-carousel.js +1 -0
- package/dist/es/components/carousel-item/daikin-carousel-item.js +1 -0
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +1 -1
- package/dist/es/components/checkbox/daikin-checkbox.js +1 -1
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +2 -2
- package/dist/es/components/checkbox-group/daikin-checkbox-group.js +8 -4
- package/dist/es/components/chip/daikin-chip.d.ts +2 -2
- package/dist/es/components/chip/daikin-chip.js +8 -4
- package/dist/es/components/combobox/daikin-combobox.d.ts +1 -1
- package/dist/es/components/combobox/daikin-combobox.js +7 -4
- package/dist/es/components/date-picker/daikin-date-picker.d.ts +6 -1
- package/dist/es/components/date-picker/daikin-date-picker.js +31 -4
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +1 -1
- package/dist/es/components/dropdown/daikin-dropdown.js +7 -9
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +1 -0
- package/dist/es/components/icon/daikin-icon.d.ts +8 -0
- package/dist/es/components/icon/daikin-icon.js +5 -4
- package/dist/es/components/icon/icons.json.d.ts +8 -0
- package/dist/es/components/icon/icons.json.js +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +2 -2
- package/dist/es/components/icon-button/daikin-icon-button.js +1 -1
- package/dist/es/components/index.d.ts +2 -0
- package/dist/es/components/index.js +4 -0
- package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +4 -1
- package/dist/es/components/inline-notification/daikin-inline-notification.js +1 -0
- package/dist/es/components/input-group/daikin-input-group.js +22 -6
- package/dist/es/components/link/daikin-link.js +1 -0
- package/dist/es/components/list/daikin-list.js +1 -0
- package/dist/es/components/list-item/daikin-list-item.js +1 -0
- package/dist/es/components/loading/daikin-loading.d.ts +2 -2
- package/dist/es/components/loading/daikin-loading.js +8 -4
- package/dist/es/components/logo/daikin-logo.d.ts +2 -2
- package/dist/es/components/logo/daikin-logo.js +8 -4
- package/dist/es/components/menu/daikin-menu.d.ts +6 -1
- package/dist/es/components/menu/daikin-menu.js +22 -10
- package/dist/es/components/modal/daikin-modal.js +1 -0
- package/dist/es/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es/components/modal-header/daikin-modal-header.js +1 -0
- package/dist/es/components/pagination/daikin-pagination.js +3 -1
- package/dist/es/components/progress-bar/daikin-progress-bar.js +1 -0
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +1 -0
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +3 -2
- package/dist/es/components/radio/daikin-radio.d.ts +1 -1
- package/dist/es/components/radio/daikin-radio.js +1 -1
- package/dist/es/components/radio-group/daikin-radio-group.js +1 -0
- package/dist/es/components/select/daikin-select.js +1 -0
- package/dist/es/components/slider/daikin-slider.d.ts +1 -1
- package/dist/es/components/slider/daikin-slider.js +5 -2
- package/dist/es/components/status-message/daikin-status-message.d.ts +51 -0
- package/dist/es/components/status-message/daikin-status-message.js +111 -0
- package/dist/es/components/status-message/index.d.ts +1 -0
- package/dist/es/components/status-message/index.js +4 -0
- package/dist/es/components/tab/daikin-tab.js +1 -0
- package/dist/es/components/tab-panels/daikin-tab-panels.js +1 -0
- package/dist/es/components/table/daikin-table.js +3 -2
- package/dist/es/components/table-cell/daikin-table-cell.js +1 -0
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +1 -0
- package/dist/es/components/tabs/daikin-tabs.js +1 -0
- package/dist/es/components/text-area/daikin-text-area.d.ts +1 -1
- package/dist/es/components/text-area/daikin-text-area.js +1 -1
- package/dist/es/components/text-field/daikin-text-field.d.ts +1 -1
- package/dist/es/components/text-field/daikin-text-field.js +1 -1
- package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +1 -1
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +1 -1
- package/dist/es/components/time-picker/daikin-time-picker.d.ts +1 -1
- package/dist/es/components/time-picker/daikin-time-picker.js +6 -3
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +4 -1
- package/dist/es/components/toast-notification/daikin-toast-notification.js +1 -0
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +1 -0
- package/dist/es/components/toggle/daikin-toggle.d.ts +1 -1
- package/dist/es/components/toggle/daikin-toggle.js +1 -1
- package/dist/es/components/tooltip/daikin-tooltip.js +1 -0
- package/dist/es/components/tree/daikin-tree.d.ts +2 -1
- package/dist/es/components/tree/daikin-tree.js +1 -0
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +6 -1
- package/dist/es/components/tree-item/daikin-tree-item.js +1 -0
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +6 -1
- package/dist/es/components/tree-section/daikin-tree-section.js +1 -0
- package/dist/es/index.js +4 -0
- package/dist/es/tailwind.css.js +1 -1
- package/dist/es/utils/calendar-common.d.ts +7 -0
- package/dist/es/utils/calendar-common.js +6 -0
- 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/index.d.ts +1 -0
- package/dist/es-dev/base/index.js +3 -0
- package/dist/es-dev/components/accordion/daikin-accordion.js +1 -0
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +1 -0
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +2 -2
- package/dist/es-dev/components/avatar/daikin-avatar.js +8 -4
- package/dist/es-dev/components/badge/daikin-badge.d.ts +85 -0
- package/dist/es-dev/components/badge/daikin-badge.js +134 -0
- package/dist/es-dev/components/badge/index.d.ts +1 -0
- package/dist/es-dev/components/badge/index.js +4 -0
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +1 -0
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +1 -0
- package/dist/es-dev/components/button/daikin-button.d.ts +2 -2
- package/dist/es-dev/components/button/daikin-button.js +1 -1
- package/dist/es-dev/components/calendar/daikin-calendar.d.ts +12 -2
- package/dist/es-dev/components/calendar/daikin-calendar.js +37 -11
- package/dist/es-dev/components/card/daikin-card.js +1 -0
- package/dist/es-dev/components/card-footer/daikin-card-footer.js +1 -0
- package/dist/es-dev/components/card-header/daikin-card-header.js +1 -0
- package/dist/es-dev/components/carousel/daikin-carousel.js +1 -0
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +1 -0
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +1 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +1 -1
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +2 -2
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +8 -4
- package/dist/es-dev/components/chip/daikin-chip.d.ts +2 -2
- package/dist/es-dev/components/chip/daikin-chip.js +8 -4
- package/dist/es-dev/components/combobox/daikin-combobox.d.ts +1 -1
- package/dist/es-dev/components/combobox/daikin-combobox.js +7 -4
- package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +6 -1
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +31 -4
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +1 -1
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +7 -9
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +1 -0
- package/dist/es-dev/components/icon/daikin-icon.d.ts +8 -0
- package/dist/es-dev/components/icon/daikin-icon.js +5 -4
- package/dist/es-dev/components/icon/icons.json.d.ts +8 -0
- package/dist/es-dev/components/icon/icons.json.js +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +2 -2
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +1 -1
- package/dist/es-dev/components/index.d.ts +2 -0
- package/dist/es-dev/components/index.js +4 -0
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +4 -1
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +1 -0
- package/dist/es-dev/components/input-group/daikin-input-group.js +22 -6
- package/dist/es-dev/components/link/daikin-link.js +1 -0
- package/dist/es-dev/components/list/daikin-list.js +1 -0
- package/dist/es-dev/components/list-item/daikin-list-item.js +1 -0
- package/dist/es-dev/components/loading/daikin-loading.d.ts +2 -2
- package/dist/es-dev/components/loading/daikin-loading.js +8 -4
- package/dist/es-dev/components/logo/daikin-logo.d.ts +2 -2
- package/dist/es-dev/components/logo/daikin-logo.js +8 -4
- package/dist/es-dev/components/menu/daikin-menu.d.ts +6 -1
- package/dist/es-dev/components/menu/daikin-menu.js +22 -10
- package/dist/es-dev/components/modal/daikin-modal.js +1 -0
- package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.js +1 -0
- package/dist/es-dev/components/pagination/daikin-pagination.js +3 -1
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +1 -0
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +1 -0
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +3 -2
- package/dist/es-dev/components/radio/daikin-radio.d.ts +1 -1
- package/dist/es-dev/components/radio/daikin-radio.js +1 -1
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +1 -0
- package/dist/es-dev/components/select/daikin-select.js +1 -0
- package/dist/es-dev/components/slider/daikin-slider.d.ts +1 -1
- package/dist/es-dev/components/slider/daikin-slider.js +5 -2
- package/dist/es-dev/components/status-message/daikin-status-message.d.ts +51 -0
- package/dist/es-dev/components/status-message/daikin-status-message.js +111 -0
- package/dist/es-dev/components/status-message/index.d.ts +1 -0
- package/dist/es-dev/components/status-message/index.js +4 -0
- package/dist/es-dev/components/tab/daikin-tab.js +1 -0
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +1 -0
- package/dist/es-dev/components/table/daikin-table.js +3 -2
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +1 -0
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +1 -0
- package/dist/es-dev/components/tabs/daikin-tabs.js +1 -0
- package/dist/es-dev/components/text-area/daikin-text-area.d.ts +1 -1
- package/dist/es-dev/components/text-area/daikin-text-area.js +1 -1
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +1 -1
- package/dist/es-dev/components/text-field/daikin-text-field.js +1 -1
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +1 -1
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +1 -1
- package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +1 -1
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +6 -3
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +4 -1
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +1 -0
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +1 -0
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +1 -1
- package/dist/es-dev/components/toggle/daikin-toggle.js +1 -1
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +1 -0
- package/dist/es-dev/components/tree/daikin-tree.d.ts +2 -1
- package/dist/es-dev/components/tree/daikin-tree.js +1 -0
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +6 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +1 -0
- package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +6 -1
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +1 -0
- package/dist/es-dev/index.js +4 -0
- package/dist/es-dev/tailwind.css.js +1 -1
- package/dist/es-dev/utils/calendar-common.d.ts +7 -0
- package/dist/es-dev/utils/calendar-common.js +6 -0
- package/dist/es-dev/utils/notification-common.d.ts +1 -1
- package/icons/neutral.svg +3 -0
- package/icons/notification.svg +3 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { unsafeCSS, css, html } from "lit";
|
|
|
4
4
|
import { queryAssignedElements, property } from "lit/decorators.js";
|
|
5
5
|
import { guard } from "lit/directives/guard.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
|
+
import "../../base/dds-form-element.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import { FloatingUIAutoUpdateController } from "../../controllers/floating-ui-auto-update.js";
|
|
@@ -92,19 +93,27 @@ let DaikinMenu = class extends DDSElement {
|
|
|
92
93
|
this._reflectStaticProperties();
|
|
93
94
|
}
|
|
94
95
|
_handleTriggerClick(event) {
|
|
95
|
-
if (this.trigger
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
96
|
+
if (this.trigger !== "click") return;
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
this.open = !this.open;
|
|
99
|
+
if (this.open) {
|
|
100
|
+
setTimeout(() => {
|
|
101
|
+
this._lists[0].focusFirstItem();
|
|
102
|
+
});
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
+
_handleTouchEnd(event) {
|
|
106
|
+
if (this.trigger !== "click") return;
|
|
107
|
+
event.preventDefault();
|
|
108
|
+
this.open = !this.open;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Handles click events on the menu-item.
|
|
112
|
+
* When the popoverValue is manual, the logic for closing the popover should be entirely controlled by the developer and not be the responsibility of the component.
|
|
113
|
+
*/
|
|
105
114
|
_handleClick(event) {
|
|
106
115
|
event.preventDefault();
|
|
107
|
-
if (event.target instanceof DaikinListItem && !event.target.disabled) {
|
|
116
|
+
if (event.target instanceof DaikinListItem && !event.target.disabled && this.popoverValue === "auto") {
|
|
108
117
|
this.open = false;
|
|
109
118
|
}
|
|
110
119
|
}
|
|
@@ -131,7 +140,10 @@ let DaikinMenu = class extends DDSElement {
|
|
|
131
140
|
aria-describedby="menu"
|
|
132
141
|
${this._autoUpdateController.refReference()}
|
|
133
142
|
>
|
|
134
|
-
<slot
|
|
143
|
+
<slot
|
|
144
|
+
@click=${this._handleTriggerClick}
|
|
145
|
+
@touchend=${this._handleTouchEnd}
|
|
146
|
+
></slot>
|
|
135
147
|
</div>
|
|
136
148
|
<span
|
|
137
149
|
id="menu"
|
|
@@ -4,6 +4,7 @@ import { property } from "lit/decorators.js";
|
|
|
4
4
|
import { guard } from "lit/directives/guard.js";
|
|
5
5
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
|
+
import "../../base/dds-form-element.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import { FocusTrapController } from "../../controllers/focus-trap.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
2
|
import { DDSElement } from "../../base/dds-element.js";
|
|
3
|
+
import "../../base/dds-form-element.js";
|
|
3
4
|
import { ddsElement } from "../../base/decorators.js";
|
|
4
5
|
import "../../base/define.js";
|
|
5
6
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -3,6 +3,7 @@ import { unsafeCSS, css, nothing, html } from "lit";
|
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -4,6 +4,7 @@ import { property } from "lit/decorators.js";
|
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
|
+
import "../../base/dds-form-element.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -136,9 +137,10 @@ let DaikinPagination = class extends DDSElement {
|
|
|
136
137
|
this.current,
|
|
137
138
|
this.window
|
|
138
139
|
);
|
|
140
|
+
const landmarkLabel = this.ariaLabel || "Pagination";
|
|
139
141
|
return html`
|
|
140
142
|
<div
|
|
141
|
-
aria-label
|
|
143
|
+
aria-label=${landmarkLabel}
|
|
142
144
|
role="navigation"
|
|
143
145
|
class="inline-flex flex-wrap"
|
|
144
146
|
>
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
2
|
import { property, queryAssignedElements } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
|
+
import "../../base/dds-form-element.js";
|
|
4
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
5
6
|
import "../../base/define.js";
|
|
6
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -3,6 +3,7 @@ import { unsafeCSS, css, nothing, html } from "lit";
|
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -50,7 +51,7 @@ let DaikinProgressIndicatorItem = class extends DDSElement {
|
|
|
50
51
|
this.status === "inprogress" ? "step" : void 0
|
|
51
52
|
)}
|
|
52
53
|
>
|
|
53
|
-
<div class="flex flex-col gap-1 w-full">
|
|
54
|
+
<div class="flex flex-col gap-1 w-full overflow-auto">
|
|
54
55
|
<slot class="font-bold leading-[130%]"></slot>
|
|
55
56
|
<slot name="description" class="text-sm leading-[130%]"></slot>
|
|
56
57
|
</div>
|
|
@@ -70,7 +71,7 @@ DaikinProgressIndicatorItem.styles = css`
|
|
|
70
71
|
:host {
|
|
71
72
|
display: block;
|
|
72
73
|
width: 100%;
|
|
73
|
-
min-width:
|
|
74
|
+
min-width: 5rem;
|
|
74
75
|
}
|
|
75
76
|
`;
|
|
76
77
|
__decorateClass([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DDSFormElement } from "../../base/
|
|
1
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* The radio button component is a UI element that allows users to select one options from a set of choices.
|
|
4
4
|
* It functions similarly to the HTML `<input type="radio">` tag. \
|
|
@@ -3,9 +3,9 @@ import { unsafeCSS, css, nothing, html } from "lit";
|
|
|
3
3
|
import { property, query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
|
+
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
|
-
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
9
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -3,6 +3,7 @@ import { unsafeCSS, css, html } from "lit";
|
|
|
3
3
|
import { queryAssignedElements, property, state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property, queryAssignedElements, state } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
|
-
import { DDSFormElement } from "../../base/
|
|
2
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* The slider component is a control that allows users to input numerical values within a specific range intuitively.
|
|
5
5
|
* It functions similarly to the HTML `<input type="range">` tag, allows you to set the range of values.
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import { property, state
|
|
3
|
+
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
|
+
import "../../base/dds-element.js";
|
|
5
6
|
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
7
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
8
|
+
import "../../base/define.js";
|
|
6
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
7
10
|
import { getValueFromRatio, getValueByKeydown } from "./slider-utils.js";
|
|
8
11
|
var __defProp = Object.defineProperty;
|
|
@@ -257,7 +260,7 @@ __decorateClass([
|
|
|
257
260
|
state()
|
|
258
261
|
], DaikinSlider.prototype, "_dragging", 2);
|
|
259
262
|
DaikinSlider = __decorateClass([
|
|
260
|
-
|
|
263
|
+
ddsElement("daikin-slider")
|
|
261
264
|
], DaikinSlider);
|
|
262
265
|
export {
|
|
263
266
|
DaikinSlider
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A status message is a concise UI component for displaying status feedback, notifications, or contextual information to users. It typically indicates success, warning, error, or other states, helping users quickly understand the current state or important updates in the interface.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
*
|
|
7
|
+
* ```js
|
|
8
|
+
* import "@daikin-oss/design-system-web-components/components/status-message/index.js";
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* ```html
|
|
12
|
+
* <daikin-status-message>description</daikin-status-message>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class DaikinStatusMessage extends DDSElement {
|
|
16
|
+
static readonly styles: import('lit').CSSResult;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the size of the status message component.
|
|
19
|
+
* - "small": Compact status message style.
|
|
20
|
+
* - "medium": Default status message style.
|
|
21
|
+
*/
|
|
22
|
+
size: "small" | "medium";
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the status of the message.
|
|
25
|
+
* - "neutral": Neutral or incomplete status.
|
|
26
|
+
* - "positive": Success or confirmation status.
|
|
27
|
+
* - "negative": Error or failure status.
|
|
28
|
+
* - "warning": Warning or caution status.
|
|
29
|
+
*/
|
|
30
|
+
status: "neutral" | "positive" | "negative" | "warning";
|
|
31
|
+
/**
|
|
32
|
+
* Sets the ARIA role of the status message component.
|
|
33
|
+
* - "[alert](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role)": Indicates an important message that requires user attention.
|
|
34
|
+
* - "[status](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/status_role)": Indicates an advisory message that provides feedback or updates.
|
|
35
|
+
* - `null` (default): No specific ARIA role, meaning the message content will not be announced automatically when it changes.
|
|
36
|
+
*/
|
|
37
|
+
statusMessageRole: "alert" | "status" | null;
|
|
38
|
+
/**
|
|
39
|
+
* Provides an alternative text for screen readers that is read by assistive technologies but not displayed visually.
|
|
40
|
+
*
|
|
41
|
+
* e.g. If you use the message component for a password validation status (ensure the statusMessageRole is `status`), you might do the following:
|
|
42
|
+
* When the user inputs an 8-character password, set the status to `positive` and update the screenReaderText to "Met,". This allows the screen reader to announce the full updated message, such as "Met, minimum 8 characters".
|
|
43
|
+
*/
|
|
44
|
+
screenReaderText: string | null;
|
|
45
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
"daikin-status-message": DaikinStatusMessage;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
+
import { property } from "lit/decorators.js";
|
|
4
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import "../../base/dds-form-element.js";
|
|
7
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
8
|
+
import "../../base/define.js";
|
|
9
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
13
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators[i])
|
|
16
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
|
+
if (kind && result) __defProp(target, key, result);
|
|
18
|
+
return result;
|
|
19
|
+
};
|
|
20
|
+
const cvaWrapper = cva(
|
|
21
|
+
[
|
|
22
|
+
"flex",
|
|
23
|
+
"items-center",
|
|
24
|
+
"size-full",
|
|
25
|
+
"font-daikinSerif",
|
|
26
|
+
"font-normal",
|
|
27
|
+
"leading-[130%]",
|
|
28
|
+
"gap-1",
|
|
29
|
+
"break-all",
|
|
30
|
+
"before:content-['']",
|
|
31
|
+
"before:flex-none"
|
|
32
|
+
],
|
|
33
|
+
{
|
|
34
|
+
variants: {
|
|
35
|
+
size: {
|
|
36
|
+
small: ["before:size-4", "text-sm", "h-[18px]"],
|
|
37
|
+
medium: ["before:size-6", "text-base", "h-6"]
|
|
38
|
+
},
|
|
39
|
+
status: {
|
|
40
|
+
neutral: [
|
|
41
|
+
"text-ddt-color-common-text-primary",
|
|
42
|
+
"before:i-daikin-neutral",
|
|
43
|
+
"before:text-ddt-color-common-disabled"
|
|
44
|
+
],
|
|
45
|
+
positive: [
|
|
46
|
+
"text-ddt-color-common-text-primary",
|
|
47
|
+
"before:i-daikin-success",
|
|
48
|
+
"before:text-ddt-color-common-success"
|
|
49
|
+
],
|
|
50
|
+
negative: [
|
|
51
|
+
"text-ddt-color-common-danger-default",
|
|
52
|
+
"before:i-daikin-error",
|
|
53
|
+
"before:text-ddt-color-common-danger-default"
|
|
54
|
+
],
|
|
55
|
+
warning: [
|
|
56
|
+
"text-ddt-color-common-text-primary",
|
|
57
|
+
"before:i-daikin-warning",
|
|
58
|
+
"before:text-ddt-color-common-warning"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
let DaikinStatusMessage = class extends DDSElement {
|
|
65
|
+
constructor() {
|
|
66
|
+
super(...arguments);
|
|
67
|
+
this.size = "medium";
|
|
68
|
+
this.status = "positive";
|
|
69
|
+
this.statusMessageRole = null;
|
|
70
|
+
this.screenReaderText = null;
|
|
71
|
+
}
|
|
72
|
+
render() {
|
|
73
|
+
return html`
|
|
74
|
+
<div
|
|
75
|
+
class=${cvaWrapper({ status: this.status, size: this.size })}
|
|
76
|
+
role=${ifDefined(this.statusMessageRole ?? void 0)}
|
|
77
|
+
>
|
|
78
|
+
${this.screenReaderText ? html`<span class="sr-only">${this.screenReaderText}</span>` : nothing}
|
|
79
|
+
<span>
|
|
80
|
+
<slot></slot>
|
|
81
|
+
</span>
|
|
82
|
+
</div>
|
|
83
|
+
`;
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
DaikinStatusMessage.styles = css`
|
|
87
|
+
${unsafeCSS(tailwindStyles)}
|
|
88
|
+
|
|
89
|
+
:host {
|
|
90
|
+
display: flex;
|
|
91
|
+
width: 100%;
|
|
92
|
+
}
|
|
93
|
+
`;
|
|
94
|
+
__decorateClass([
|
|
95
|
+
property({ type: String, reflect: true })
|
|
96
|
+
], DaikinStatusMessage.prototype, "size", 2);
|
|
97
|
+
__decorateClass([
|
|
98
|
+
property({ type: String, reflect: true })
|
|
99
|
+
], DaikinStatusMessage.prototype, "status", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
property({ type: String, reflect: true, attribute: "status-message-role" })
|
|
102
|
+
], DaikinStatusMessage.prototype, "statusMessageRole", 2);
|
|
103
|
+
__decorateClass([
|
|
104
|
+
property({ type: String, reflect: true, attribute: "screen-reader-text" })
|
|
105
|
+
], DaikinStatusMessage.prototype, "screenReaderText", 2);
|
|
106
|
+
DaikinStatusMessage = __decorateClass([
|
|
107
|
+
ddsElement("daikin-status-message")
|
|
108
|
+
], DaikinStatusMessage);
|
|
109
|
+
export {
|
|
110
|
+
DaikinStatusMessage
|
|
111
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-status-message.js";
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property, query } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -2,6 +2,7 @@ import { unsafeCSS, css, nothing, html } from "lit";
|
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { repeat } from "lit/directives/repeat.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -5,6 +5,7 @@ import { ifDefined } from "lit/directives/if-defined.js";
|
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { repeat } from "lit/directives/repeat.js";
|
|
7
7
|
import { DDSElement } from "../../base/dds-element.js";
|
|
8
|
+
import "../../base/dds-form-element.js";
|
|
8
9
|
import { ddsElement } from "../../base/decorators.js";
|
|
9
10
|
import "../../base/define.js";
|
|
10
11
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -35,12 +36,12 @@ const cvaRow = cva(
|
|
|
35
36
|
variants: {
|
|
36
37
|
selected: {
|
|
37
38
|
false: [
|
|
38
|
-
"group-[:not([data-hover])]:
|
|
39
|
+
"group-[:not([data-hover])]:hover:bg-ddt-color-common-surface-hover",
|
|
39
40
|
"data-[hover]:bg-ddt-color-common-surface-hover"
|
|
40
41
|
],
|
|
41
42
|
true: [
|
|
42
43
|
"bg-ddt-color-common-surface-selected-default",
|
|
43
|
-
"group-[:not([data-hover])]:
|
|
44
|
+
"group-[:not([data-hover])]:hover:bg-ddt-color-common-surface-selected-hover",
|
|
44
45
|
"data-[hover]:bg-ddt-color-common-surface-selected-hover"
|
|
45
46
|
]
|
|
46
47
|
}
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
2
|
import { property, queryAssignedElements } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
|
+
import "../../base/dds-form-element.js";
|
|
4
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
5
6
|
import "../../base/define.js";
|
|
6
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
|
-
import { DDSFormElement } from "../../base/
|
|
2
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
3
3
|
import { DaikinInputGroup } from "../input-group/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* The text area component is designed for multiline text input, similar to the HTML `<textarea>` tag.
|
|
@@ -3,9 +3,9 @@ import { unsafeCSS, css, html } from "lit";
|
|
|
3
3
|
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
|
+
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
|
-
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
9
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
2
|
-
import { DDSFormElement } from "../../base/
|
|
2
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
3
3
|
import { DaikinInputGroup } from "../input-group/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* The text field component is a UI element that allows users to input single-line text data.
|
|
@@ -3,9 +3,9 @@ import { unsafeCSS, css, html, nothing } from "lit";
|
|
|
3
3
|
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
|
+
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
|
-
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
9
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
10
10
|
import { isSimpleKeyEvent } from "../../utils/is-simple-key.js";
|
|
11
11
|
import "../icon-button/daikin-icon-button.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputMask, FactoryOpts } from 'imask';
|
|
2
2
|
import { PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { DDSFormElement } from "../../base/
|
|
3
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
4
4
|
import { DaikinInputGroup } from "../input-group/index.js";
|
|
5
5
|
export type { FactoryOpts, InputMask };
|
|
6
6
|
/**
|
|
@@ -5,9 +5,9 @@ import { property, state } from "lit/decorators.js";
|
|
|
5
5
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import "../../base/dds-element.js";
|
|
8
|
+
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
8
9
|
import { ddsElement } from "../../base/decorators.js";
|
|
9
10
|
import "../../base/define.js";
|
|
10
|
-
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
11
11
|
import tailwindStyles from "../../tailwind.css.js";
|
|
12
12
|
var __defProp = Object.defineProperty;
|
|
13
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
|
-
import { DDSFormElement } from "../../base/
|
|
2
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
3
3
|
import { default as DaikinInputGroup } from "../input-group/daikin-input-group.js";
|
|
4
4
|
/**
|
|
5
5
|
* Represents the hour and minute parts of a time value.
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import { property, state
|
|
3
|
+
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
+
import "../../base/dds-element.js";
|
|
6
7
|
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
8
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
9
|
+
import "../../base/define.js";
|
|
7
10
|
import tailwindStyles from "../../tailwind.css.js";
|
|
8
11
|
import "../dropdown-item/daikin-dropdown-item.js";
|
|
9
12
|
import "../dropdown/daikin-dropdown.js";
|
|
@@ -152,7 +155,7 @@ const cvaField = cva(
|
|
|
152
155
|
"bg-ddt-color-common-background-default",
|
|
153
156
|
"p-3",
|
|
154
157
|
"rounded",
|
|
155
|
-
"
|
|
158
|
+
"truncate",
|
|
156
159
|
"outline",
|
|
157
160
|
"outline-[--color-border]",
|
|
158
161
|
"outline-0",
|
|
@@ -561,7 +564,7 @@ __decorateClass([
|
|
|
561
564
|
state()
|
|
562
565
|
], DaikinTimePicker.prototype, "_meridiem", 2);
|
|
563
566
|
DaikinTimePicker = __decorateClass([
|
|
564
|
-
|
|
567
|
+
ddsElement("daikin-time-picker")
|
|
565
568
|
], DaikinTimePicker);
|
|
566
569
|
export {
|
|
567
570
|
DaikinTimePicker,
|
|
@@ -50,7 +50,10 @@ export declare class DaikinToastNotification extends DDSElement {
|
|
|
50
50
|
*/
|
|
51
51
|
closable: boolean;
|
|
52
52
|
/**
|
|
53
|
-
* The timestamp to display.
|
|
53
|
+
* The timestamp to display. Accepts a Date object and displays it in YYYY/MM/DD format.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* element.timestamp = new Date();
|
|
54
57
|
*/
|
|
55
58
|
timestamp: Date | null;
|
|
56
59
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
|
+
import "../../base/dds-form-element.js";
|
|
4
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
5
6
|
import "../../base/define.js";
|
|
6
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -3,6 +3,7 @@ import { unsafeCSS, css, html } from "lit";
|
|
|
3
3
|
import { property, queryAssignedElements } from "lit/decorators.js";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import "../../base/dds-form-element.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyValues } from 'lit';
|
|
2
|
-
import { DDSFormElement } from "../../base/
|
|
2
|
+
import { DDSFormElement } from "../../base/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* The toggle switch component is a UI element that allows users to switch between two states, typically "on" and "off".
|
|
5
5
|
* It functions similarly to a `daikin-checkbox` component but provides a more visually intuitive way to represent binary options.
|
|
@@ -2,9 +2,9 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import "../../base/dds-element.js";
|
|
5
|
+
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
|
-
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
8
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -4,6 +4,7 @@ import { unsafeCSS, css, html } from "lit";
|
|
|
4
4
|
import { property } from "lit/decorators.js";
|
|
5
5
|
import { guard } from "lit/directives/guard.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
|
+
import "../../base/dds-form-element.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import { FloatingUIAutoUpdateController } from "../../controllers/floating-ui-auto-update.js";
|
|
@@ -38,8 +38,9 @@ export declare class DaikinTree extends DDSElement {
|
|
|
38
38
|
*/
|
|
39
39
|
selectable: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* The
|
|
41
|
+
* The values of the currently selected tree sections or items.
|
|
42
42
|
* Even if `selectable` is `false`, you can still set this property yourself.
|
|
43
|
+
* See the `value` property of the `daikin-tree-section` and `daikin-tree-item` components.
|
|
43
44
|
*/
|
|
44
45
|
selectedItems: string[];
|
|
45
46
|
private readonly _children;
|