@daikin-oss/design-system-web-components 1.3.2 → 1.4.0-next.1
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 +217 -0
- package/dist/cjs/base/dds-element.cjs +82 -1
- package/dist/cjs/base/dds-element.d.cts +40 -0
- package/dist/cjs/base/dds-form-element.cjs +15 -6
- package/dist/cjs/base/dds-form-element.d.cts +2 -2
- package/dist/cjs/base/dds-property.cjs +11 -0
- package/dist/cjs/base/dds-property.d.cts +92 -0
- 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 +3 -2
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +6 -7
- package/dist/cjs/components/avatar/daikin-avatar.cjs +20 -15
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +3 -1
- package/dist/cjs/components/badge/daikin-badge.cjs +154 -0
- package/dist/cjs/components/badge/daikin-badge.d.cts +91 -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 +33 -7
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
- package/dist/cjs/components/button/daikin-button.cjs +57 -16
- package/dist/cjs/components/button/daikin-button.d.cts +18 -2
- package/dist/cjs/components/calendar/daikin-calendar.cjs +36 -15
- package/dist/cjs/components/calendar/daikin-calendar.d.cts +14 -3
- package/dist/cjs/components/card/daikin-card.cjs +2 -2
- 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 +2 -1
- package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +3 -2
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +24 -10
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +12 -1
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
- package/dist/cjs/components/chip/daikin-chip.cjs +2 -1
- package/dist/cjs/components/combobox/daikin-combobox.cjs +34 -25
- package/dist/cjs/components/combobox/daikin-combobox.d.cts +9 -2
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +64 -26
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +18 -4
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +17 -19
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +7 -0
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
- package/dist/cjs/components/icon/daikin-icon.cjs +24 -11
- package/dist/cjs/components/icon/daikin-icon.d.cts +96 -39
- package/dist/cjs/components/icon/icons.json.cjs +1 -1
- package/dist/cjs/components/icon/icons.json.d.cts +12 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +58 -15
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +17 -3
- 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 +112 -11
- package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +8 -1
- package/dist/cjs/components/input-group/daikin-input-group.cjs +29 -13
- package/dist/cjs/components/link/daikin-link.cjs +28 -8
- package/dist/cjs/components/link/daikin-link.d.cts +11 -0
- package/dist/cjs/components/list/daikin-list.cjs +6 -2
- package/dist/cjs/components/list-item/daikin-list-item.cjs +19 -8
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +4 -0
- package/dist/cjs/components/loading/daikin-loading.cjs +8 -3
- package/dist/cjs/components/logo/daikin-logo.cjs +18 -10
- package/dist/cjs/components/logo/daikin-logo.d.cts +4 -0
- package/dist/cjs/components/menu/daikin-menu.cjs +79 -28
- package/dist/cjs/components/menu/daikin-menu.d.cts +29 -2
- package/dist/cjs/components/modal/daikin-modal.cjs +11 -6
- package/dist/cjs/components/modal/daikin-modal.d.cts +2 -0
- package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +1 -0
- package/dist/cjs/components/modal-header/daikin-modal-header.cjs +3 -3
- package/dist/cjs/components/pagination/daikin-pagination.cjs +6 -5
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +21 -9
- package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +4 -0
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +13 -8
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
- package/dist/cjs/components/radio/daikin-radio.cjs +14 -9
- package/dist/cjs/components/radio/daikin-radio.d.cts +9 -0
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +15 -8
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +3 -1
- package/dist/cjs/components/select/daikin-select.cjs +4 -3
- package/dist/cjs/components/slider/daikin-slider.cjs +11 -9
- package/dist/cjs/components/slider/daikin-slider.d.cts +15 -0
- package/dist/cjs/components/status-message/daikin-status-message.cjs +123 -0
- package/dist/cjs/components/status-message/daikin-status-message.d.cts +55 -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 +10 -4
- package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +4 -4
- package/dist/cjs/components/table/daikin-table.cjs +11 -10
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +12 -7
- package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +5 -3
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
- package/dist/cjs/components/tabs/daikin-tabs.cjs +9 -3
- package/dist/cjs/components/tabs/daikin-tabs.d.cts +2 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +15 -12
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +9 -2
- package/dist/cjs/components/text-field/daikin-text-field.cjs +28 -31
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +11 -2
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +40 -19
- package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +23 -1
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +118 -13
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +15 -2
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
- package/dist/cjs/components/toggle/daikin-toggle.cjs +7 -6
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +7 -0
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +37 -12
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +9 -1
- package/dist/cjs/components/tree/daikin-tree.cjs +3 -2
- package/dist/cjs/components/tree/daikin-tree.d.cts +2 -1
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +6 -5
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +8 -1
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +6 -5
- 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.cjs +0 -94
- package/dist/cjs/utils/notification-common.d.cts +0 -13
- package/dist/cjs-dev/base/dds-element.cjs +92 -1
- package/dist/cjs-dev/base/dds-element.d.cts +40 -0
- package/dist/cjs-dev/base/dds-form-element.cjs +15 -6
- package/dist/cjs-dev/base/dds-form-element.d.cts +2 -2
- package/dist/cjs-dev/base/dds-property.cjs +11 -0
- package/dist/cjs-dev/base/dds-property.d.cts +92 -0
- 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 +3 -2
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +6 -7
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +20 -15
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +3 -1
- package/dist/cjs-dev/components/badge/daikin-badge.cjs +154 -0
- package/dist/cjs-dev/components/badge/daikin-badge.d.cts +91 -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 +33 -7
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
- package/dist/cjs-dev/components/button/daikin-button.cjs +57 -16
- package/dist/cjs-dev/components/button/daikin-button.d.cts +18 -2
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +36 -15
- package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +14 -3
- package/dist/cjs-dev/components/card/daikin-card.cjs +2 -2
- 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 +2 -1
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +3 -2
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +24 -10
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +12 -1
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +2 -1
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +34 -25
- package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +9 -2
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +64 -26
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +18 -4
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +17 -19
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +7 -0
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +24 -11
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +96 -39
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
- package/dist/cjs-dev/components/icon/icons.json.d.cts +12 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +58 -15
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +17 -3
- 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 +112 -11
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +8 -1
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +29 -13
- package/dist/cjs-dev/components/link/daikin-link.cjs +28 -8
- package/dist/cjs-dev/components/link/daikin-link.d.cts +11 -0
- package/dist/cjs-dev/components/list/daikin-list.cjs +6 -2
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +19 -8
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +4 -0
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +8 -3
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +18 -10
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +4 -0
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +79 -28
- package/dist/cjs-dev/components/menu/daikin-menu.d.cts +29 -2
- package/dist/cjs-dev/components/modal/daikin-modal.cjs +11 -6
- package/dist/cjs-dev/components/modal/daikin-modal.d.cts +2 -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 +3 -3
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +6 -5
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +21 -9
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +4 -0
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +13 -8
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +14 -9
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +9 -0
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +15 -8
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +3 -1
- package/dist/cjs-dev/components/select/daikin-select.cjs +4 -3
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +11 -9
- package/dist/cjs-dev/components/slider/daikin-slider.d.cts +15 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +123 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.d.cts +55 -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 +10 -4
- package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +4 -4
- package/dist/cjs-dev/components/table/daikin-table.cjs +11 -10
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +12 -7
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +5 -3
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +9 -3
- package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +2 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +15 -12
- package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +9 -2
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +28 -31
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +11 -2
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +40 -19
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +23 -1
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +118 -13
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +15 -2
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +7 -6
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +7 -0
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +37 -12
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +9 -1
- package/dist/cjs-dev/components/tree/daikin-tree.cjs +3 -2
- package/dist/cjs-dev/components/tree/daikin-tree.d.cts +2 -1
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +6 -5
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +8 -1
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +6 -5
- 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.cjs +0 -94
- package/dist/cjs-dev/utils/notification-common.d.cts +0 -13
- package/dist/es/base/dds-element.d.ts +40 -0
- package/dist/es/base/dds-element.js +82 -1
- package/dist/es/base/dds-form-element.d.ts +2 -2
- package/dist/es/base/dds-form-element.js +15 -6
- package/dist/es/base/dds-property.d.ts +92 -0
- package/dist/es/base/dds-property.js +11 -0
- package/dist/es/base/index.d.ts +1 -0
- package/dist/es/base/index.js +4 -1
- package/dist/es/components/accordion/daikin-accordion.js +2 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.js +4 -5
- package/dist/es/components/avatar/daikin-avatar.d.ts +3 -1
- package/dist/es/components/avatar/daikin-avatar.js +18 -13
- package/dist/es/components/badge/daikin-badge.d.ts +91 -0
- package/dist/es/components/badge/daikin-badge.js +155 -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.d.ts +38 -6
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +33 -7
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
- package/dist/es/components/button/daikin-button.d.ts +18 -2
- package/dist/es/components/button/daikin-button.js +54 -13
- package/dist/es/components/calendar/daikin-calendar.d.ts +14 -3
- package/dist/es/components/calendar/daikin-calendar.js +36 -15
- package/dist/es/components/card/daikin-card.js +1 -1
- 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 +2 -1
- package/dist/es/components/carousel-item/daikin-carousel-item.js +2 -1
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +12 -1
- package/dist/es/components/checkbox/daikin-checkbox.js +22 -8
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
- package/dist/es/components/checkbox-group/daikin-checkbox-group.js +11 -2
- package/dist/es/components/chip/daikin-chip.js +2 -1
- package/dist/es/components/combobox/daikin-combobox.d.ts +9 -2
- package/dist/es/components/combobox/daikin-combobox.js +29 -20
- package/dist/es/components/date-picker/daikin-date-picker.d.ts +18 -4
- package/dist/es/components/date-picker/daikin-date-picker.js +61 -23
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +7 -0
- package/dist/es/components/dropdown/daikin-dropdown.js +12 -14
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +2 -1
- package/dist/es/components/icon/daikin-icon.d.ts +96 -39
- package/dist/es/components/icon/daikin-icon.js +24 -11
- package/dist/es/components/icon/icons.json.d.ts +12 -0
- package/dist/es/components/icon/icons.json.js +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +17 -3
- package/dist/es/components/icon-button/daikin-icon-button.js +54 -11
- 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 +8 -1
- package/dist/es/components/inline-notification/daikin-inline-notification.js +109 -8
- package/dist/es/components/input-group/daikin-input-group.js +23 -7
- package/dist/es/components/link/daikin-link.d.ts +11 -0
- package/dist/es/components/link/daikin-link.js +24 -4
- package/dist/es/components/list/daikin-list.js +6 -2
- package/dist/es/components/list-item/daikin-list-item.d.ts +4 -0
- package/dist/es/components/list-item/daikin-list-item.js +17 -6
- package/dist/es/components/loading/daikin-loading.js +7 -2
- package/dist/es/components/logo/daikin-logo.d.ts +4 -0
- package/dist/es/components/logo/daikin-logo.js +17 -9
- package/dist/es/components/menu/daikin-menu.d.ts +29 -2
- package/dist/es/components/menu/daikin-menu.js +79 -28
- package/dist/es/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es/components/modal/daikin-modal.js +8 -3
- package/dist/es/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es/components/modal-header/daikin-modal-header.js +2 -2
- package/dist/es/components/pagination/daikin-pagination.js +3 -2
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +4 -0
- package/dist/es/components/progress-bar/daikin-progress-bar.js +19 -7
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +2 -1
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +13 -8
- package/dist/es/components/radio/daikin-radio.d.ts +9 -0
- package/dist/es/components/radio/daikin-radio.js +11 -6
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +3 -1
- package/dist/es/components/radio-group/daikin-radio-group.js +14 -7
- package/dist/es/components/select/daikin-select.js +2 -1
- package/dist/es/components/slider/daikin-slider.d.ts +15 -0
- package/dist/es/components/slider/daikin-slider.js +11 -9
- package/dist/es/components/status-message/daikin-status-message.d.ts +55 -0
- package/dist/es/components/status-message/daikin-status-message.js +124 -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 +9 -3
- package/dist/es/components/tab-panels/daikin-tab-panels.js +2 -2
- package/dist/es/components/table/daikin-table.js +4 -3
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +5 -3
- package/dist/es/components/table-cell/daikin-table-cell.js +12 -7
- package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +11 -3
- package/dist/es/components/tabs/daikin-tabs.d.ts +2 -0
- package/dist/es/components/tabs/daikin-tabs.js +10 -4
- package/dist/es/components/text-area/daikin-text-area.d.ts +9 -2
- package/dist/es/components/text-area/daikin-text-area.js +11 -8
- package/dist/es/components/text-field/daikin-text-field.d.ts +11 -2
- package/dist/es/components/text-field/daikin-text-field.js +18 -21
- package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +15 -12
- package/dist/es/components/time-picker/daikin-time-picker.d.ts +23 -1
- package/dist/es/components/time-picker/daikin-time-picker.js +38 -17
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +15 -2
- package/dist/es/components/toast-notification/daikin-toast-notification.js +112 -7
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
- package/dist/es/components/toggle/daikin-toggle.d.ts +7 -0
- package/dist/es/components/toggle/daikin-toggle.js +5 -4
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +9 -1
- package/dist/es/components/tooltip/daikin-tooltip.js +36 -11
- package/dist/es/components/tree/daikin-tree.d.ts +2 -1
- package/dist/es/components/tree/daikin-tree.js +2 -1
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +8 -1
- package/dist/es/components/tree-item/daikin-tree-item.js +2 -1
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +6 -1
- package/dist/es/components/tree-section/daikin-tree-section.js +2 -1
- 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 +0 -13
- package/dist/es/utils/notification-common.js +0 -94
- package/dist/es-dev/base/dds-element.d.ts +40 -0
- package/dist/es-dev/base/dds-element.js +92 -1
- package/dist/es-dev/base/dds-form-element.d.ts +2 -2
- package/dist/es-dev/base/dds-form-element.js +15 -6
- package/dist/es-dev/base/dds-property.d.ts +92 -0
- package/dist/es-dev/base/dds-property.js +11 -0
- package/dist/es-dev/base/index.d.ts +1 -0
- package/dist/es-dev/base/index.js +4 -1
- package/dist/es-dev/components/accordion/daikin-accordion.js +2 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +4 -5
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +3 -1
- package/dist/es-dev/components/avatar/daikin-avatar.js +18 -13
- package/dist/es-dev/components/badge/daikin-badge.d.ts +91 -0
- package/dist/es-dev/components/badge/daikin-badge.js +155 -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.d.ts +38 -6
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +33 -7
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
- package/dist/es-dev/components/button/daikin-button.d.ts +18 -2
- package/dist/es-dev/components/button/daikin-button.js +54 -13
- package/dist/es-dev/components/calendar/daikin-calendar.d.ts +14 -3
- package/dist/es-dev/components/calendar/daikin-calendar.js +36 -15
- package/dist/es-dev/components/card/daikin-card.js +1 -1
- 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 +2 -1
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +2 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +12 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +22 -8
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +11 -2
- package/dist/es-dev/components/chip/daikin-chip.js +2 -1
- package/dist/es-dev/components/combobox/daikin-combobox.d.ts +9 -2
- package/dist/es-dev/components/combobox/daikin-combobox.js +29 -20
- package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +18 -4
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +61 -23
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +7 -0
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +12 -14
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +2 -1
- package/dist/es-dev/components/icon/daikin-icon.d.ts +96 -39
- package/dist/es-dev/components/icon/daikin-icon.js +24 -11
- package/dist/es-dev/components/icon/icons.json.d.ts +12 -0
- package/dist/es-dev/components/icon/icons.json.js +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +17 -3
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +54 -11
- 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 +8 -1
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +109 -8
- package/dist/es-dev/components/input-group/daikin-input-group.js +23 -7
- package/dist/es-dev/components/link/daikin-link.d.ts +11 -0
- package/dist/es-dev/components/link/daikin-link.js +24 -4
- package/dist/es-dev/components/list/daikin-list.js +6 -2
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +4 -0
- package/dist/es-dev/components/list-item/daikin-list-item.js +17 -6
- package/dist/es-dev/components/loading/daikin-loading.js +7 -2
- package/dist/es-dev/components/logo/daikin-logo.d.ts +4 -0
- package/dist/es-dev/components/logo/daikin-logo.js +17 -9
- package/dist/es-dev/components/menu/daikin-menu.d.ts +29 -2
- package/dist/es-dev/components/menu/daikin-menu.js +79 -28
- package/dist/es-dev/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es-dev/components/modal/daikin-modal.js +8 -3
- package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.js +2 -2
- package/dist/es-dev/components/pagination/daikin-pagination.js +3 -2
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +4 -0
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +19 -7
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +2 -1
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +13 -8
- package/dist/es-dev/components/radio/daikin-radio.d.ts +9 -0
- package/dist/es-dev/components/radio/daikin-radio.js +11 -6
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +3 -1
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +14 -7
- package/dist/es-dev/components/select/daikin-select.js +2 -1
- package/dist/es-dev/components/slider/daikin-slider.d.ts +15 -0
- package/dist/es-dev/components/slider/daikin-slider.js +11 -9
- package/dist/es-dev/components/status-message/daikin-status-message.d.ts +55 -0
- package/dist/es-dev/components/status-message/daikin-status-message.js +124 -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 +9 -3
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +2 -2
- package/dist/es-dev/components/table/daikin-table.js +4 -3
- package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +5 -3
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +12 -7
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +11 -3
- package/dist/es-dev/components/tabs/daikin-tabs.d.ts +2 -0
- package/dist/es-dev/components/tabs/daikin-tabs.js +10 -4
- package/dist/es-dev/components/text-area/daikin-text-area.d.ts +9 -2
- package/dist/es-dev/components/text-area/daikin-text-area.js +11 -8
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +11 -2
- package/dist/es-dev/components/text-field/daikin-text-field.js +18 -21
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +15 -12
- package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +23 -1
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +38 -17
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +15 -2
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +112 -7
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +7 -0
- package/dist/es-dev/components/toggle/daikin-toggle.js +5 -4
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +9 -1
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +36 -11
- package/dist/es-dev/components/tree/daikin-tree.d.ts +2 -1
- package/dist/es-dev/components/tree/daikin-tree.js +2 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +8 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +2 -1
- 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 +2 -1
- 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 +0 -13
- package/dist/es-dev/utils/notification-common.js +0 -94
- package/icons/download.svg +3 -0
- package/icons/neutral.svg +3 -0
- package/icons/notification.svg +3 -0
- package/package.json +18 -17
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const classVarianceAuthority = require("class-variance-authority");
|
|
3
4
|
const lit = require("lit");
|
|
4
|
-
const decorators_js = require("lit/decorators.js");
|
|
5
5
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
6
6
|
require("../../base/dds-form-element.cjs");
|
|
7
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
7
8
|
const decorators = require("../../base/decorators.cjs");
|
|
8
9
|
require("../../base/define.cjs");
|
|
9
10
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -19,11 +20,96 @@ var __decorateClass = (decorators2, target, key, kind) => {
|
|
|
19
20
|
if (kind && result) __defProp(target, key, result);
|
|
20
21
|
return result;
|
|
21
22
|
};
|
|
23
|
+
const cvaContainer = classVarianceAuthority.cva(
|
|
24
|
+
[
|
|
25
|
+
"flex",
|
|
26
|
+
"items-center",
|
|
27
|
+
"gap-3",
|
|
28
|
+
"w-full",
|
|
29
|
+
"h-full",
|
|
30
|
+
"text-ddt-color-common-text-primary",
|
|
31
|
+
"bg-ddt-color-common-background-default",
|
|
32
|
+
"p-4",
|
|
33
|
+
"overflow-hidden",
|
|
34
|
+
"font-daikinSerif",
|
|
35
|
+
"transition",
|
|
36
|
+
"box-border",
|
|
37
|
+
"before:size-6",
|
|
38
|
+
"before:flex-none"
|
|
39
|
+
],
|
|
40
|
+
{
|
|
41
|
+
variants: {
|
|
42
|
+
variant: {
|
|
43
|
+
toast: [
|
|
44
|
+
"rounded-lg",
|
|
45
|
+
"border",
|
|
46
|
+
"border-ddt-color-divider",
|
|
47
|
+
"translate-x-[--move-offset-x,0]",
|
|
48
|
+
"translate-y-[--move-offset-y,0]",
|
|
49
|
+
"opacity-[--opacity,1]",
|
|
50
|
+
"[pointer-events:var(--pointer-events,auto)]",
|
|
51
|
+
"[transition-duration:var(--transition-duration,var(--ddc-toast-animation-duration,0ms))]"
|
|
52
|
+
],
|
|
53
|
+
inline: []
|
|
54
|
+
},
|
|
55
|
+
status: {
|
|
56
|
+
positive: [
|
|
57
|
+
"before:text-ddt-color-common-success",
|
|
58
|
+
"before:i-daikin-success"
|
|
59
|
+
],
|
|
60
|
+
negative: [
|
|
61
|
+
"before:text-ddt-color-common-danger-default",
|
|
62
|
+
"before:i-daikin-error"
|
|
63
|
+
],
|
|
64
|
+
warning: [
|
|
65
|
+
"before:text-ddt-color-common-warning",
|
|
66
|
+
"before:i-daikin-warning"
|
|
67
|
+
],
|
|
68
|
+
alarm: ["before:text-ddt-color-common-alarm", "before:i-daikin-alarm"],
|
|
69
|
+
information: [
|
|
70
|
+
"before:text-ddt-color-common-information",
|
|
71
|
+
"before:i-daikin-information"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
const cvaContent = classVarianceAuthority.cva(["flex", "items-center", "w-full"], {
|
|
78
|
+
variants: {
|
|
79
|
+
layout: {
|
|
80
|
+
horizontal: ["gap-3", "overflow-hidden"],
|
|
81
|
+
vertical: ["items-stretch", "flex-col", "gap-1"]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
const cvaTitle = classVarianceAuthority.cva(["slotted:inline-block", "font-bold", "leading-[130%]"], {
|
|
86
|
+
variants: {
|
|
87
|
+
layout: {
|
|
88
|
+
vertical: ["slotted:natural-break"],
|
|
89
|
+
horizontal: [
|
|
90
|
+
"slotted:whitespace-nowrap",
|
|
91
|
+
"slotted:overflow-hidden",
|
|
92
|
+
"slotted:overflow-ellipsis"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
const cvaDescription = classVarianceAuthority.cva(["inline-block", "leading-[130%]"], {
|
|
98
|
+
variants: {
|
|
99
|
+
layout: {
|
|
100
|
+
vertical: ["natural-break"],
|
|
101
|
+
horizontal: [
|
|
102
|
+
"whitespace-nowrap",
|
|
103
|
+
"overflow-hidden",
|
|
104
|
+
"overflow-ellipsis",
|
|
105
|
+
"flex-1"
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
});
|
|
22
110
|
exports.DaikinToastNotification = class DaikinToastNotification extends ddsElement.DDSElement {
|
|
23
111
|
constructor() {
|
|
24
112
|
super(...arguments);
|
|
25
|
-
this.name = "";
|
|
26
|
-
this.status = "positive";
|
|
27
113
|
this.layout = "horizontal";
|
|
28
114
|
this.closable = false;
|
|
29
115
|
this.timestamp = null;
|
|
@@ -37,12 +123,12 @@ exports.DaikinToastNotification = class DaikinToastNotification extends ddsEleme
|
|
|
37
123
|
}
|
|
38
124
|
render() {
|
|
39
125
|
return lit.html`<div
|
|
40
|
-
class=${
|
|
126
|
+
class=${cvaContainer({ variant: "toast", status: this.status })}
|
|
41
127
|
role="alert"
|
|
42
128
|
>
|
|
43
|
-
<div class=${
|
|
44
|
-
<slot class=${
|
|
45
|
-
<slot class=${
|
|
129
|
+
<div class=${cvaContent({ layout: this.layout })}>
|
|
130
|
+
<slot class=${cvaTitle({ layout: this.layout })} name="title"></slot>
|
|
131
|
+
<slot class=${cvaDescription({ layout: this.layout })}></slot>
|
|
46
132
|
${this.timestamp ? lit.html`<span class=${notificationCommon.cvaTimestamp({ layout: this.layout })}
|
|
47
133
|
>${notificationCommon.formatDate(this.timestamp)}</span
|
|
48
134
|
>` : lit.nothing}
|
|
@@ -76,22 +162,41 @@ exports.DaikinToastNotification.styles = lit.css`
|
|
|
76
162
|
}
|
|
77
163
|
`;
|
|
78
164
|
__decorateClass([
|
|
79
|
-
|
|
165
|
+
ddsProperty.property({ type: String, reflect: true, fallbackValue: "" })
|
|
80
166
|
], exports.DaikinToastNotification.prototype, "name", 2);
|
|
81
167
|
__decorateClass([
|
|
82
|
-
|
|
168
|
+
ddsProperty.property({
|
|
169
|
+
type: String,
|
|
170
|
+
reflect: true,
|
|
171
|
+
fallbackValue: "positive",
|
|
172
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
173
|
+
"positive",
|
|
174
|
+
"negative",
|
|
175
|
+
"warning",
|
|
176
|
+
"alarm",
|
|
177
|
+
"information"
|
|
178
|
+
])
|
|
179
|
+
})
|
|
83
180
|
], exports.DaikinToastNotification.prototype, "status", 2);
|
|
84
181
|
__decorateClass([
|
|
85
|
-
|
|
182
|
+
ddsProperty.property({
|
|
183
|
+
type: String,
|
|
184
|
+
reflect: true,
|
|
185
|
+
fallbackValue: "horizontal",
|
|
186
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
187
|
+
"horizontal",
|
|
188
|
+
"vertical"
|
|
189
|
+
])
|
|
190
|
+
})
|
|
86
191
|
], exports.DaikinToastNotification.prototype, "layout", 2);
|
|
87
192
|
__decorateClass([
|
|
88
|
-
|
|
193
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
89
194
|
], exports.DaikinToastNotification.prototype, "closable", 2);
|
|
90
195
|
__decorateClass([
|
|
91
|
-
|
|
196
|
+
ddsProperty.property({ type: Object, reflect: true, attribute: false })
|
|
92
197
|
], exports.DaikinToastNotification.prototype, "timestamp", 2);
|
|
93
198
|
__decorateClass([
|
|
94
|
-
|
|
199
|
+
ddsProperty.property({ type: Number, reflect: true })
|
|
95
200
|
], exports.DaikinToastNotification.prototype, "duration", 2);
|
|
96
201
|
exports.DaikinToastNotification = __decorateClass([
|
|
97
202
|
decorators.ddsElement("daikin-toast-notification")
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.cjs";
|
|
3
|
-
import {
|
|
3
|
+
import { cvaTimestamp } from "../../utils/notification-common.cjs";
|
|
4
4
|
export type ToastNotificationVariantProps = MergeVariantProps<typeof cvaContainer | typeof cvaContent | typeof cvaTimestamp>;
|
|
5
|
+
declare const cvaContainer: (props?: ({
|
|
6
|
+
variant?: "inline" | "toast" | null | undefined;
|
|
7
|
+
status?: "negative" | "alarm" | "warning" | "positive" | "information" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
declare const cvaContent: (props?: ({
|
|
10
|
+
layout?: "horizontal" | "vertical" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
12
|
/**
|
|
6
13
|
* The toast notification component is a UI element used to inform users about important updates, alerts, or messages within an application.
|
|
7
14
|
*
|
|
@@ -39,6 +46,8 @@ export declare class DaikinToastNotification extends DDSElement {
|
|
|
39
46
|
name: string;
|
|
40
47
|
/**
|
|
41
48
|
* Status of the toast notification.
|
|
49
|
+
*
|
|
50
|
+
* @default "positive"
|
|
42
51
|
*/
|
|
43
52
|
status: ToastNotificationVariantProps["status"];
|
|
44
53
|
/**
|
|
@@ -50,7 +59,10 @@ export declare class DaikinToastNotification extends DDSElement {
|
|
|
50
59
|
*/
|
|
51
60
|
closable: boolean;
|
|
52
61
|
/**
|
|
53
|
-
* The timestamp to display.
|
|
62
|
+
* The timestamp to display. Accepts a Date object and displays it in YYYY/MM/DD format.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* element.timestamp = new Date();
|
|
54
66
|
*/
|
|
55
67
|
timestamp: Date | null;
|
|
56
68
|
/**
|
|
@@ -69,3 +81,4 @@ declare global {
|
|
|
69
81
|
"daikin-toast-notification": DaikinToastNotification;
|
|
70
82
|
}
|
|
71
83
|
}
|
|
84
|
+
export {};
|
package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs
CHANGED
|
@@ -6,6 +6,7 @@ const decorators_js = require("lit/decorators.js");
|
|
|
6
6
|
const ref_js = require("lit/directives/ref.js");
|
|
7
7
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
8
8
|
require("../../base/dds-form-element.cjs");
|
|
9
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
9
10
|
const decorators = require("../../base/decorators.cjs");
|
|
10
11
|
require("../../base/define.cjs");
|
|
11
12
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -75,7 +76,6 @@ const cvaContainer = classVarianceAuthority.cva(
|
|
|
75
76
|
exports.DaikinToastNotificationManager = class DaikinToastNotificationManager extends ddsElement.DDSElement {
|
|
76
77
|
constructor() {
|
|
77
78
|
super(...arguments);
|
|
78
|
-
this.position = "bottom-right";
|
|
79
79
|
this._knownItemSet = /* @__PURE__ */ new Set();
|
|
80
80
|
this._closedItemSet = /* @__PURE__ */ new WeakSet();
|
|
81
81
|
this._containerRef = ref_js.createRef();
|
|
@@ -183,7 +183,19 @@ exports.DaikinToastNotificationManager.styles = lit.css`
|
|
|
183
183
|
}
|
|
184
184
|
`;
|
|
185
185
|
__decorateClass([
|
|
186
|
-
|
|
186
|
+
ddsProperty.property({
|
|
187
|
+
type: String,
|
|
188
|
+
reflect: true,
|
|
189
|
+
fallbackValue: "bottom-right",
|
|
190
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
191
|
+
"top",
|
|
192
|
+
"top-left",
|
|
193
|
+
"top-right",
|
|
194
|
+
"bottom",
|
|
195
|
+
"bottom-left",
|
|
196
|
+
"bottom-right"
|
|
197
|
+
])
|
|
198
|
+
})
|
|
187
199
|
], exports.DaikinToastNotificationManager.prototype, "position", 2);
|
|
188
200
|
__decorateClass([
|
|
189
201
|
decorators_js.queryAssignedElements({ selector: "daikin-toast-notification" })
|
package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.cjs";
|
|
3
3
|
declare const cvaContainer: (props?: ({
|
|
4
|
-
position?: "
|
|
4
|
+
position?: "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type ToastPosition = MergeVariantProps<typeof cvaContainer>["position"];
|
|
7
7
|
/**
|
|
@@ -43,6 +43,8 @@ export declare class DaikinToastNotificationManager extends DDSElement {
|
|
|
43
43
|
static readonly styles: import('lit').CSSResult;
|
|
44
44
|
/**
|
|
45
45
|
* Specify where on the screen the toast will be displayed.
|
|
46
|
+
*
|
|
47
|
+
* @default "bottom-right"
|
|
46
48
|
*/
|
|
47
49
|
position: ToastPosition;
|
|
48
50
|
private readonly _items;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const classVarianceAuthority = require("class-variance-authority");
|
|
4
4
|
const lit = require("lit");
|
|
5
|
-
const
|
|
5
|
+
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
6
6
|
require("../../base/dds-element.cjs");
|
|
7
7
|
const ddsFormElement = require("../../base/dds-form-element.cjs");
|
|
8
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
8
9
|
const decorators = require("../../base/decorators.cjs");
|
|
9
10
|
require("../../base/define.cjs");
|
|
10
11
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -70,11 +71,11 @@ exports.DaikinToggle = class DaikinToggle extends ddsFormElement.DDSFormElement
|
|
|
70
71
|
return lit.html`<input
|
|
71
72
|
class=${TOGGLE_CLASS_NAME}
|
|
72
73
|
type="checkbox"
|
|
73
|
-
name=${this.name}
|
|
74
|
-
.value=${this.value}
|
|
74
|
+
name=${ifDefined_js.ifDefined(this.getBackingProperty("name"))}
|
|
75
75
|
role="switch"
|
|
76
|
-
.checked=${this.checked}
|
|
77
76
|
?disabled=${this.disabled}
|
|
77
|
+
.checked=${this.checked}
|
|
78
|
+
.value=${this.value}
|
|
78
79
|
@change=${this._handleChange}
|
|
79
80
|
/>`;
|
|
80
81
|
}
|
|
@@ -92,10 +93,10 @@ exports.DaikinToggle.styles = lit.css`
|
|
|
92
93
|
}
|
|
93
94
|
`;
|
|
94
95
|
__decorateClass([
|
|
95
|
-
|
|
96
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
96
97
|
], exports.DaikinToggle.prototype, "checked", 2);
|
|
97
98
|
__decorateClass([
|
|
98
|
-
|
|
99
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
99
100
|
], exports.DaikinToggle.prototype, "disabled", 2);
|
|
100
101
|
exports.DaikinToggle = __decorateClass([
|
|
101
102
|
decorators.ddsElement("daikin-toggle")
|
|
@@ -6,6 +6,13 @@ import { DDSFormElement } from "../../base/index.cjs";
|
|
|
6
6
|
* This component is ideal for scenarios where the binary choice has a significant or immediate effect, such as enabling or disabling a feature or setting.
|
|
7
7
|
* Unlike `daikin-checkbox`, this component doesn't have a label and a "indeterminate" state.
|
|
8
8
|
*
|
|
9
|
+
* @attr form - The form the component belongs to.
|
|
10
|
+
* @attr name - The form name, submitted as a name/value pair when submitting the form.
|
|
11
|
+
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
|
|
12
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
13
|
+
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
|
|
14
|
+
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
|
|
15
|
+
*
|
|
9
16
|
* @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<input type="checkbox">` element.
|
|
10
17
|
*
|
|
11
18
|
* @example
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const dom = require("@floating-ui/dom");
|
|
4
4
|
const classVarianceAuthority = require("class-variance-authority");
|
|
5
5
|
const lit = require("lit");
|
|
6
|
-
const decorators_js = require("lit/decorators.js");
|
|
7
6
|
const guard_js = require("lit/directives/guard.js");
|
|
8
7
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
9
8
|
require("../../base/dds-form-element.cjs");
|
|
9
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
10
10
|
const decorators = require("../../base/decorators.cjs");
|
|
11
11
|
require("../../base/define.cjs");
|
|
12
12
|
const floatingUiAutoUpdate = require("../../controllers/floating-ui-auto-update.cjs");
|
|
@@ -58,12 +58,7 @@ const DEFAULT_TOOLTIP_SPACING = "20px";
|
|
|
58
58
|
exports.DaikinTooltip = class DaikinTooltip extends ddsElement.DDSElement {
|
|
59
59
|
constructor() {
|
|
60
60
|
super(...arguments);
|
|
61
|
-
this.placement = "bottom";
|
|
62
|
-
this.color = "default";
|
|
63
61
|
this.open = false;
|
|
64
|
-
this.description = "";
|
|
65
|
-
this.popoverValue = "auto";
|
|
66
|
-
this.trigger = "hover";
|
|
67
62
|
this._willBeFocusedByPress = false;
|
|
68
63
|
this._autoUpdateController = new floatingUiAutoUpdate.FloatingUIAutoUpdateController(this);
|
|
69
64
|
this._hostStyles = isClient.isClient ? window.getComputedStyle(this) : null;
|
|
@@ -193,22 +188,52 @@ exports.DaikinTooltip.styles = lit.css`
|
|
|
193
188
|
}
|
|
194
189
|
`;
|
|
195
190
|
__decorateClass([
|
|
196
|
-
|
|
191
|
+
ddsProperty.property({
|
|
192
|
+
type: String,
|
|
193
|
+
reflect: true,
|
|
194
|
+
fallbackValue: "bottom",
|
|
195
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
196
|
+
"top",
|
|
197
|
+
"bottom",
|
|
198
|
+
"left",
|
|
199
|
+
"right"
|
|
200
|
+
])
|
|
201
|
+
})
|
|
197
202
|
], exports.DaikinTooltip.prototype, "placement", 2);
|
|
198
203
|
__decorateClass([
|
|
199
|
-
|
|
204
|
+
ddsProperty.property({
|
|
205
|
+
type: String,
|
|
206
|
+
reflect: true,
|
|
207
|
+
fallbackValue: "default",
|
|
208
|
+
isAllowedValue: ddsProperty.oneOf(["default", "inverse"])
|
|
209
|
+
})
|
|
200
210
|
], exports.DaikinTooltip.prototype, "color", 2);
|
|
201
211
|
__decorateClass([
|
|
202
|
-
|
|
212
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
203
213
|
], exports.DaikinTooltip.prototype, "open", 2);
|
|
204
214
|
__decorateClass([
|
|
205
|
-
|
|
215
|
+
ddsProperty.property({ type: String, reflect: true, fallbackValue: "" })
|
|
206
216
|
], exports.DaikinTooltip.prototype, "description", 2);
|
|
207
217
|
__decorateClass([
|
|
208
|
-
|
|
218
|
+
ddsProperty.property({
|
|
219
|
+
type: String,
|
|
220
|
+
reflect: true,
|
|
221
|
+
attribute: "popover-value",
|
|
222
|
+
fallbackValue: "auto",
|
|
223
|
+
isAllowedValue: ddsProperty.oneOf(["auto", "manual"])
|
|
224
|
+
})
|
|
209
225
|
], exports.DaikinTooltip.prototype, "popoverValue", 2);
|
|
210
226
|
__decorateClass([
|
|
211
|
-
|
|
227
|
+
ddsProperty.property({
|
|
228
|
+
type: String,
|
|
229
|
+
reflect: true,
|
|
230
|
+
fallbackValue: "hover",
|
|
231
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
232
|
+
"hover",
|
|
233
|
+
"click",
|
|
234
|
+
"manual"
|
|
235
|
+
])
|
|
236
|
+
})
|
|
212
237
|
], exports.DaikinTooltip.prototype, "trigger", 2);
|
|
213
238
|
exports.DaikinTooltip = __decorateClass([
|
|
214
239
|
decorators.ddsElement("daikin-tooltip")
|
|
@@ -16,7 +16,7 @@ type TooltipVariantProps = MergeVariantProps<typeof cvaTooltip>;
|
|
|
16
16
|
*
|
|
17
17
|
* @cssprop [--ddc-tooltip-spacing=20px] - Spacing between the tooltip and the trigger.
|
|
18
18
|
*
|
|
19
|
-
* @csspart tooltip -
|
|
19
|
+
* @csspart tooltip - CSS styles applied to the `tooltip` part target the internal `<span>` element wrapping the content. For instance, setting `max-width: 8rem;` on this part restricts the container's width, causing long text to wrap automatically.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
*
|
|
@@ -42,10 +42,14 @@ export declare class DaikinTooltip extends DDSElement {
|
|
|
42
42
|
static readonly styles: import('lit').CSSResult;
|
|
43
43
|
/**
|
|
44
44
|
* Specifies the position of the tooltip relative to the trigger.
|
|
45
|
+
*
|
|
46
|
+
* @default "bottom"
|
|
45
47
|
*/
|
|
46
48
|
placement: "top" | "bottom" | "left" | "right";
|
|
47
49
|
/**
|
|
48
50
|
* Specifies the tooltip theme.
|
|
51
|
+
*
|
|
52
|
+
* @default "default"
|
|
49
53
|
*/
|
|
50
54
|
color: TooltipVariantProps["color"];
|
|
51
55
|
/**
|
|
@@ -62,6 +66,8 @@ export declare class DaikinTooltip extends DDSElement {
|
|
|
62
66
|
* Specify the value of the popover attribute in the Popover API.
|
|
63
67
|
* - `auto`: Clicking on a trigger element will open a tooltip, and clicking again will close it. You can also close it using the Esc button. You cannot open multiple tooltips at the same time.
|
|
64
68
|
* - `manual`: No click operation is specified for the trigger element. It will not close even if the Esc button is pressed. Multiple tooltips can be opened at once.
|
|
69
|
+
*
|
|
70
|
+
* @default "auto"
|
|
65
71
|
*/
|
|
66
72
|
popoverValue: "auto" | "manual";
|
|
67
73
|
/**
|
|
@@ -69,6 +75,8 @@ export declare class DaikinTooltip extends DDSElement {
|
|
|
69
75
|
* - `hover`: The tooltip is displayed when the mouse hovers over the trigger element, and hidden when the mouse is no longer hovering. (default)
|
|
70
76
|
* - `click`: The tooltip is displayed when the mouse clicks on the trigger element, and hidden when you click on it again.
|
|
71
77
|
* - `manual`: The tooltip does not respond to user interaction. Use this to control the tooltip programmatically.
|
|
78
|
+
*
|
|
79
|
+
* @default "hover"
|
|
72
80
|
*/
|
|
73
81
|
trigger: "hover" | "click" | "manual";
|
|
74
82
|
/**
|
|
@@ -4,6 +4,7 @@ const lit = require("lit");
|
|
|
4
4
|
const decorators_js = require("lit/decorators.js");
|
|
5
5
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
6
6
|
require("../../base/dds-form-element.cjs");
|
|
7
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
7
8
|
const decorators = require("../../base/decorators.cjs");
|
|
8
9
|
require("../../base/define.cjs");
|
|
9
10
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -96,10 +97,10 @@ exports.DaikinTree.styles = lit.css`
|
|
|
96
97
|
}
|
|
97
98
|
`;
|
|
98
99
|
__decorateClass([
|
|
99
|
-
|
|
100
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
100
101
|
], exports.DaikinTree.prototype, "selectable", 2);
|
|
101
102
|
__decorateClass([
|
|
102
|
-
|
|
103
|
+
ddsProperty.property({ type: Array, attribute: false })
|
|
103
104
|
], exports.DaikinTree.prototype, "selectedItems", 2);
|
|
104
105
|
__decorateClass([
|
|
105
106
|
decorators_js.queryAssignedElements({ selector: "daikin-tree-section,daikin-tree-item" })
|
|
@@ -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;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const classVarianceAuthority = require("class-variance-authority");
|
|
4
4
|
const lit = require("lit");
|
|
5
|
-
const decorators_js = require("lit/decorators.js");
|
|
6
5
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
6
|
const ref_js = require("lit/directives/ref.js");
|
|
8
7
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
9
8
|
require("../../base/dds-form-element.cjs");
|
|
9
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
10
10
|
const decorators = require("../../base/decorators.cjs");
|
|
11
11
|
require("../../base/define.cjs");
|
|
12
12
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -114,6 +114,7 @@ exports.DaikinTreeItem = class DaikinTreeItem extends ddsElement.DDSElement {
|
|
|
114
114
|
render() {
|
|
115
115
|
return lit.html`<div
|
|
116
116
|
${ref_js.ref(this._focusableRef)}
|
|
117
|
+
part="item"
|
|
117
118
|
class=${cvaTreeChildren({
|
|
118
119
|
disabled: this.disabled,
|
|
119
120
|
selected: this._selected,
|
|
@@ -185,16 +186,16 @@ exports.DaikinTreeItem.styles = lit.css`
|
|
|
185
186
|
}
|
|
186
187
|
`;
|
|
187
188
|
__decorateClass([
|
|
188
|
-
|
|
189
|
+
ddsProperty.property({ type: String })
|
|
189
190
|
], exports.DaikinTreeItem.prototype, "value", 2);
|
|
190
191
|
__decorateClass([
|
|
191
|
-
|
|
192
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
192
193
|
], exports.DaikinTreeItem.prototype, "disabled", 2);
|
|
193
194
|
__decorateClass([
|
|
194
|
-
|
|
195
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
195
196
|
], exports.DaikinTreeItem.prototype, "selected", 2);
|
|
196
197
|
__decorateClass([
|
|
197
|
-
|
|
198
|
+
ddsProperty.property({ type: Number, attribute: false })
|
|
198
199
|
], exports.DaikinTreeItem.prototype, "level", 2);
|
|
199
200
|
exports.DaikinTreeItem = __decorateClass([
|
|
200
201
|
decorators.ddsElement("daikin-tree-item")
|
|
@@ -20,6 +20,8 @@ export declare const cvaTreeChildren: (props?: ({
|
|
|
20
20
|
*
|
|
21
21
|
* @slot - A slot for the tree item content.
|
|
22
22
|
*
|
|
23
|
+
* @csspart item - CSS styles applied to the `item` part target the internal `<div>` element wrapping the content. For instance, setting `cursor: grab;` changes the hover cursor, signaling that the tree item is draggable.
|
|
24
|
+
*
|
|
23
25
|
* @example
|
|
24
26
|
*
|
|
25
27
|
* ```js
|
|
@@ -33,7 +35,9 @@ export declare const cvaTreeChildren: (props?: ({
|
|
|
33
35
|
export declare class DaikinTreeItem extends DDSElement {
|
|
34
36
|
static readonly styles: import('lit').CSSResult;
|
|
35
37
|
/**
|
|
36
|
-
*
|
|
38
|
+
* An unique value within the tree.
|
|
39
|
+
* This value is used by the `daikin-tree` component to manage the selection target.
|
|
40
|
+
* While not required, you can use a value based on the hierarchy to ensure uniqueness. (For example, if the parent is "foo", use "foo.bar".)
|
|
37
41
|
*/
|
|
38
42
|
value: string;
|
|
39
43
|
/**
|
|
@@ -43,6 +47,9 @@ export declare class DaikinTreeItem extends DDSElement {
|
|
|
43
47
|
/**
|
|
44
48
|
* Whether the tree item is selected.
|
|
45
49
|
* Controlled by `daikin-tree`.
|
|
50
|
+
* Do not specify this manually, as it will be overwritten by the `daikin-tree` component.
|
|
51
|
+
*
|
|
52
|
+
* @private
|
|
46
53
|
*/
|
|
47
54
|
selected: boolean;
|
|
48
55
|
/**
|
|
@@ -6,6 +6,7 @@ const ifDefined_js = require("lit/directives/if-defined.js");
|
|
|
6
6
|
const ref_js = require("lit/directives/ref.js");
|
|
7
7
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
8
8
|
require("../../base/dds-form-element.cjs");
|
|
9
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
9
10
|
const decorators = require("../../base/decorators.cjs");
|
|
10
11
|
require("../../base/define.cjs");
|
|
11
12
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -209,19 +210,19 @@ exports.DaikinTreeSection.styles = lit.css`
|
|
|
209
210
|
}
|
|
210
211
|
`;
|
|
211
212
|
__decorateClass([
|
|
212
|
-
|
|
213
|
+
ddsProperty.property({ type: String })
|
|
213
214
|
], exports.DaikinTreeSection.prototype, "value", 2);
|
|
214
215
|
__decorateClass([
|
|
215
|
-
|
|
216
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
216
217
|
], exports.DaikinTreeSection.prototype, "disabled", 2);
|
|
217
218
|
__decorateClass([
|
|
218
|
-
|
|
219
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
219
220
|
], exports.DaikinTreeSection.prototype, "selected", 2);
|
|
220
221
|
__decorateClass([
|
|
221
|
-
|
|
222
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
222
223
|
], exports.DaikinTreeSection.prototype, "open", 2);
|
|
223
224
|
__decorateClass([
|
|
224
|
-
|
|
225
|
+
ddsProperty.property({ type: Number, attribute: false })
|
|
225
226
|
], exports.DaikinTreeSection.prototype, "level", 2);
|
|
226
227
|
__decorateClass([
|
|
227
228
|
decorators_js.queryAssignedElements({ selector: "daikin-tree-section,daikin-tree-item" })
|
|
@@ -36,7 +36,9 @@ import { DDSElement } from "../../base/index.cjs";
|
|
|
36
36
|
export declare class DaikinTreeSection extends DDSElement {
|
|
37
37
|
static readonly styles: import('lit').CSSResult;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* An unique value within the tree.
|
|
40
|
+
* This value is used by the `daikin-tree` component to manage the selection target.
|
|
41
|
+
* While not required, you can use a value based on the hierarchy to ensure uniqueness. (For example, if the parent is "foo", use "foo.bar".)
|
|
40
42
|
*/
|
|
41
43
|
value: string;
|
|
42
44
|
/**
|
|
@@ -46,6 +48,9 @@ export declare class DaikinTreeSection extends DDSElement {
|
|
|
46
48
|
/**
|
|
47
49
|
* Whether the tree item is selected.
|
|
48
50
|
* Controlled by `daikin-tree`.
|
|
51
|
+
* Do not specify this manually, as it will be overwritten by the `daikin-tree` component.
|
|
52
|
+
*
|
|
53
|
+
* @private
|
|
49
54
|
*/
|
|
50
55
|
selected: boolean;
|
|
51
56
|
/**
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const daikinAccordion = require("./components/accordion/daikin-accordion.cjs");
|
|
4
4
|
const daikinAccordionItem = require("./components/accordion-item/daikin-accordion-item.cjs");
|
|
5
5
|
const daikinAvatar = require("./components/avatar/daikin-avatar.cjs");
|
|
6
|
+
const daikinBadge = require("./components/badge/daikin-badge.cjs");
|
|
6
7
|
const daikinBreadcrumb = require("./components/breadcrumb/daikin-breadcrumb.cjs");
|
|
7
8
|
const daikinBreadcrumbItem = require("./components/breadcrumb-item/daikin-breadcrumb-item.cjs");
|
|
8
9
|
const daikinButton = require("./components/button/daikin-button.cjs");
|
|
@@ -40,6 +41,7 @@ const daikinRadio = require("./components/radio/daikin-radio.cjs");
|
|
|
40
41
|
const daikinRadioGroup = require("./components/radio-group/daikin-radio-group.cjs");
|
|
41
42
|
const daikinSelect = require("./components/select/daikin-select.cjs");
|
|
42
43
|
const daikinSlider = require("./components/slider/daikin-slider.cjs");
|
|
44
|
+
const daikinStatusMessage = require("./components/status-message/daikin-status-message.cjs");
|
|
43
45
|
const daikinTab = require("./components/tab/daikin-tab.cjs");
|
|
44
46
|
const daikinTabPanels = require("./components/tab-panels/daikin-tab-panels.cjs");
|
|
45
47
|
const daikinTable = require("./components/table/daikin-table.cjs");
|
|
@@ -70,6 +72,10 @@ Object.defineProperty(exports, "DaikinAvatar", {
|
|
|
70
72
|
enumerable: true,
|
|
71
73
|
get: () => daikinAvatar.DaikinAvatar
|
|
72
74
|
});
|
|
75
|
+
Object.defineProperty(exports, "DaikinBadge", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: () => daikinBadge.DaikinBadge
|
|
78
|
+
});
|
|
73
79
|
Object.defineProperty(exports, "DaikinBreadcrumb", {
|
|
74
80
|
enumerable: true,
|
|
75
81
|
get: () => daikinBreadcrumb.DaikinBreadcrumb
|
|
@@ -220,6 +226,10 @@ Object.defineProperty(exports, "DaikinSlider", {
|
|
|
220
226
|
enumerable: true,
|
|
221
227
|
get: () => daikinSlider.DaikinSlider
|
|
222
228
|
});
|
|
229
|
+
Object.defineProperty(exports, "DaikinStatusMessage", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: () => daikinStatusMessage.DaikinStatusMessage
|
|
232
|
+
});
|
|
223
233
|
Object.defineProperty(exports, "DaikinTab", {
|
|
224
234
|
enumerable: true,
|
|
225
235
|
get: () => daikinTab.DaikinTab
|