@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const classVarianceAuthority = require("class-variance-authority");
|
|
4
|
+
const lit = require("lit");
|
|
5
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
6
|
+
require("../../base/dds-form-element.cjs");
|
|
7
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
8
|
+
const decorators = require("../../base/decorators.cjs");
|
|
9
|
+
require("../../base/define.cjs");
|
|
10
|
+
const tailwind = require("../../tailwind.css.cjs");
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
14
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
15
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
16
|
+
if (decorator = decorators2[i])
|
|
17
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
18
|
+
if (kind && result) __defProp(target, key, result);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
const cvaBadge = classVarianceAuthority.cva(["absolute", "rounded-full"], {
|
|
22
|
+
variants: {
|
|
23
|
+
type: {
|
|
24
|
+
number: [
|
|
25
|
+
"h-4",
|
|
26
|
+
"min-w-4",
|
|
27
|
+
"px-1",
|
|
28
|
+
"text-[10px]",
|
|
29
|
+
"font-normal",
|
|
30
|
+
"font-daikinSerif",
|
|
31
|
+
"text-white",
|
|
32
|
+
"flex",
|
|
33
|
+
"items-center",
|
|
34
|
+
"justify-center",
|
|
35
|
+
"-top-[2px]",
|
|
36
|
+
"-right-[2px]",
|
|
37
|
+
"before:content-[attr(data-count)]",
|
|
38
|
+
"before:leading-none",
|
|
39
|
+
"before:whitespace-nowrap",
|
|
40
|
+
"data-[count=0]:hidden"
|
|
41
|
+
],
|
|
42
|
+
dot: ["w-2", "h-2", "top-1", "right-1"]
|
|
43
|
+
},
|
|
44
|
+
color: {
|
|
45
|
+
negative: ["bg-ddt-color-common-danger-default"],
|
|
46
|
+
alarm: ["bg-ddt-color-common-alarm"],
|
|
47
|
+
warning: ["bg-ddt-color-common-warning"],
|
|
48
|
+
positive: ["bg-ddt-color-common-success"],
|
|
49
|
+
information: ["bg-ddt-color-common-information"]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
const DEFAULT_MAX_COUNT = "99";
|
|
54
|
+
exports.DaikinBadge = class DaikinBadge extends ddsElement.DDSElement {
|
|
55
|
+
constructor() {
|
|
56
|
+
super(...arguments);
|
|
57
|
+
this.count = null;
|
|
58
|
+
this.maxCount = DEFAULT_MAX_COUNT;
|
|
59
|
+
this.invisible = false;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Computes the actual number to display in the badge.
|
|
63
|
+
* - If count is null or invalid, displays "0".
|
|
64
|
+
* - If count exceeds maxCount, displays "maxCount+".
|
|
65
|
+
* - If maxCount is null, displays the actual count.
|
|
66
|
+
* - If maxCount is invalid, it will be treated as the default value ("99").
|
|
67
|
+
* - Otherwise, displays the actual number.
|
|
68
|
+
*/
|
|
69
|
+
get _count() {
|
|
70
|
+
var _a, _b;
|
|
71
|
+
if (!((_a = this.count) == null ? void 0 : _a.trim())) {
|
|
72
|
+
return "0";
|
|
73
|
+
}
|
|
74
|
+
const count = parseInt(this.count, 10);
|
|
75
|
+
if (isNaN(count) || count < 0) {
|
|
76
|
+
return "0";
|
|
77
|
+
}
|
|
78
|
+
if (!((_b = this.maxCount) == null ? void 0 : _b.trim())) {
|
|
79
|
+
return count.toLocaleString();
|
|
80
|
+
}
|
|
81
|
+
let maxCount = parseInt(this.maxCount, 10);
|
|
82
|
+
if (isNaN(maxCount)) {
|
|
83
|
+
maxCount = parseInt(DEFAULT_MAX_COUNT, 10);
|
|
84
|
+
}
|
|
85
|
+
return count > maxCount ? `${maxCount.toLocaleString()}+` : count.toLocaleString();
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Renders the badge component.
|
|
89
|
+
* - Renders a small dot when type="dot".
|
|
90
|
+
* - Renders a number when type="number" and count > 0.
|
|
91
|
+
* - Does not render the badge if invisible=true.
|
|
92
|
+
* - The slot wraps the icon button.
|
|
93
|
+
*/
|
|
94
|
+
render() {
|
|
95
|
+
return lit.html`
|
|
96
|
+
<slot></slot>
|
|
97
|
+
<span
|
|
98
|
+
role="presentation"
|
|
99
|
+
data-count=${this._count}
|
|
100
|
+
class=${cvaBadge({
|
|
101
|
+
type: this.type,
|
|
102
|
+
color: this.color
|
|
103
|
+
})}
|
|
104
|
+
?hidden=${this.invisible}
|
|
105
|
+
></span>
|
|
106
|
+
`;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
exports.DaikinBadge.styles = lit.css`
|
|
110
|
+
${lit.unsafeCSS(tailwind.default)}
|
|
111
|
+
|
|
112
|
+
:host {
|
|
113
|
+
display: inline-flex;
|
|
114
|
+
position: relative;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
span[hidden] {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
`;
|
|
121
|
+
__decorateClass([
|
|
122
|
+
ddsProperty.property({
|
|
123
|
+
type: String,
|
|
124
|
+
reflect: true,
|
|
125
|
+
fallbackValue: "dot",
|
|
126
|
+
isAllowedValue: ddsProperty.oneOf(["number", "dot"])
|
|
127
|
+
})
|
|
128
|
+
], exports.DaikinBadge.prototype, "type", 2);
|
|
129
|
+
__decorateClass([
|
|
130
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
131
|
+
], exports.DaikinBadge.prototype, "count", 2);
|
|
132
|
+
__decorateClass([
|
|
133
|
+
ddsProperty.property({ type: String, reflect: true, attribute: "max-count" })
|
|
134
|
+
], exports.DaikinBadge.prototype, "maxCount", 2);
|
|
135
|
+
__decorateClass([
|
|
136
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
137
|
+
], exports.DaikinBadge.prototype, "invisible", 2);
|
|
138
|
+
__decorateClass([
|
|
139
|
+
ddsProperty.property({
|
|
140
|
+
type: String,
|
|
141
|
+
reflect: true,
|
|
142
|
+
fallbackValue: "negative",
|
|
143
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
144
|
+
"negative",
|
|
145
|
+
"alarm",
|
|
146
|
+
"warning",
|
|
147
|
+
"positive",
|
|
148
|
+
"information"
|
|
149
|
+
])
|
|
150
|
+
})
|
|
151
|
+
], exports.DaikinBadge.prototype, "color", 2);
|
|
152
|
+
exports.DaikinBadge = __decorateClass([
|
|
153
|
+
decorators.ddsElement("daikin-badge")
|
|
154
|
+
], exports.DaikinBadge);
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
|
+
/**
|
|
3
|
+
* A badge is used to display notification counts, status indicators, or small dots in the UI—commonly for message alerts or status marking.
|
|
4
|
+
*
|
|
5
|
+
* @slot - A slot for anchoring element. Place `daikin-icon-button` here.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* ```js
|
|
10
|
+
* import "@daikin-oss/design-system-web-components/components/badge/index.js";
|
|
11
|
+
* import "@daikin-oss/design-system-web-components/components/icon/index.js";
|
|
12
|
+
* import "@daikin-oss/design-system-web-components/components/icon-button/index.js";
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ```html
|
|
16
|
+
* <daikin-badge count="42" max-count="999" color="negative">
|
|
17
|
+
* <daikin-icon-button variant="ghost" size="m" buttonAriaLabel="42 unread notifications">
|
|
18
|
+
* <daikin-icon
|
|
19
|
+
* class="w-8 h-8"
|
|
20
|
+
* icon="notification"
|
|
21
|
+
* size="current"
|
|
22
|
+
* color="current"
|
|
23
|
+
* >
|
|
24
|
+
* </daikin-icon>
|
|
25
|
+
* </daikin-icon-button>
|
|
26
|
+
* </daikin-badge>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class DaikinBadge extends DDSElement {
|
|
30
|
+
static readonly styles: import('lit').CSSResult;
|
|
31
|
+
/**
|
|
32
|
+
* Badge type.
|
|
33
|
+
* - "number": Displays a number (e.g., message count, quantity).
|
|
34
|
+
* - "dot": Displays only a small dot (e.g., status indicator).
|
|
35
|
+
*
|
|
36
|
+
* @default "dot"
|
|
37
|
+
*/
|
|
38
|
+
type: "number" | "dot";
|
|
39
|
+
/**
|
|
40
|
+
* The numeric content displayed in the badge.
|
|
41
|
+
* Only effective when type="number".
|
|
42
|
+
* Accepts a string or null; will be parsed as a number internally.
|
|
43
|
+
*
|
|
44
|
+
* @example "5"
|
|
45
|
+
*/
|
|
46
|
+
count: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The maximum number to display in the badge.
|
|
49
|
+
* If the count exceeds this value, it will display as "maxCount+", e.g., "99+".
|
|
50
|
+
* For accessibility considerations, if maxCount is null or invalid, it will be treated as the default value ("99").
|
|
51
|
+
* Only effective when type="number".
|
|
52
|
+
*
|
|
53
|
+
* @example "99"
|
|
54
|
+
*/
|
|
55
|
+
maxCount: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to hide the badge.
|
|
58
|
+
* - true: The badge is not displayed (slot content remains visible).
|
|
59
|
+
* - false: The badge is displayed normally.
|
|
60
|
+
*/
|
|
61
|
+
invisible: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Badge color.
|
|
64
|
+
* Supports predefined semantic color tokens (negative, alarm, warning, positive, information).
|
|
65
|
+
*
|
|
66
|
+
* @default "negative"
|
|
67
|
+
*/
|
|
68
|
+
color: "negative" | "alarm" | "warning" | "positive" | "information";
|
|
69
|
+
/**
|
|
70
|
+
* Computes the actual number to display in the badge.
|
|
71
|
+
* - If count is null or invalid, displays "0".
|
|
72
|
+
* - If count exceeds maxCount, displays "maxCount+".
|
|
73
|
+
* - If maxCount is null, displays the actual count.
|
|
74
|
+
* - If maxCount is invalid, it will be treated as the default value ("99").
|
|
75
|
+
* - Otherwise, displays the actual number.
|
|
76
|
+
*/
|
|
77
|
+
private get _count();
|
|
78
|
+
/**
|
|
79
|
+
* Renders the badge component.
|
|
80
|
+
* - Renders a small dot when type="dot".
|
|
81
|
+
* - Renders a number when type="number" and count > 0.
|
|
82
|
+
* - Does not render the badge if invisible=true.
|
|
83
|
+
* - The slot wraps the icon button.
|
|
84
|
+
*/
|
|
85
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
86
|
+
}
|
|
87
|
+
declare global {
|
|
88
|
+
interface HTMLElementTagNameMap {
|
|
89
|
+
"daikin-badge": DaikinBadge;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-badge.cjs";
|
|
@@ -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");
|
|
@@ -21,16 +22,38 @@ exports.DaikinBreadcrumb = class DaikinBreadcrumb extends ddsElement.DDSElement
|
|
|
21
22
|
constructor() {
|
|
22
23
|
super(...arguments);
|
|
23
24
|
this.showVisited = false;
|
|
25
|
+
this._rafId = null;
|
|
24
26
|
}
|
|
25
27
|
_updateBreadcrumbs() {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
if (this._rafId !== null) {
|
|
29
|
+
cancelAnimationFrame(this._rafId);
|
|
30
|
+
this._rafId = null;
|
|
31
|
+
}
|
|
32
|
+
this._rafId = requestAnimationFrame(() => {
|
|
33
|
+
const items = this._items;
|
|
34
|
+
const menus = this._menus;
|
|
35
|
+
items.forEach((item, index) => {
|
|
36
|
+
const isLast = index === items.length - 1;
|
|
37
|
+
item.variant = isLast ? "current" : "normal";
|
|
38
|
+
item.showVisited = this.showVisited;
|
|
39
|
+
item.appendDivider = !isLast;
|
|
40
|
+
});
|
|
41
|
+
menus.forEach((menu) => {
|
|
42
|
+
const breadcrumbItem = menu.triggerElement;
|
|
43
|
+
if ((breadcrumbItem == null ? void 0 : breadcrumbItem.tagName) === "DAIKIN-BREADCRUMB-ITEM") {
|
|
44
|
+
breadcrumbItem.variant = "ellipsis";
|
|
45
|
+
breadcrumbItem.appendDivider = true;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
32
48
|
});
|
|
33
49
|
}
|
|
50
|
+
disconnectedCallback() {
|
|
51
|
+
super.disconnectedCallback();
|
|
52
|
+
if (this._rafId !== null) {
|
|
53
|
+
cancelAnimationFrame(this._rafId);
|
|
54
|
+
this._rafId = null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
34
57
|
_handleSlotChange() {
|
|
35
58
|
this._updateBreadcrumbs();
|
|
36
59
|
}
|
|
@@ -54,11 +77,14 @@ exports.DaikinBreadcrumb.styles = lit.css`
|
|
|
54
77
|
}
|
|
55
78
|
`;
|
|
56
79
|
__decorateClass([
|
|
57
|
-
|
|
80
|
+
ddsProperty.property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
58
81
|
], exports.DaikinBreadcrumb.prototype, "showVisited", 2);
|
|
59
82
|
__decorateClass([
|
|
60
83
|
decorators_js.queryAssignedElements({ selector: "daikin-breadcrumb-item" })
|
|
61
84
|
], exports.DaikinBreadcrumb.prototype, "_items", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
decorators_js.queryAssignedElements({ selector: "daikin-menu" })
|
|
87
|
+
], exports.DaikinBreadcrumb.prototype, "_menus", 2);
|
|
62
88
|
exports.DaikinBreadcrumb = __decorateClass([
|
|
63
89
|
decorators.ddsElement("daikin-breadcrumb")
|
|
64
90
|
], exports.DaikinBreadcrumb);
|
|
@@ -12,16 +12,45 @@ import { DDSElement } from "../../base/index.cjs";
|
|
|
12
12
|
* ```js
|
|
13
13
|
* import "@daikin-oss/design-system-web-components/components/breadcrumb/index.js";
|
|
14
14
|
* import "@daikin-oss/design-system-web-components/components/breadcrumb-item/index.js";
|
|
15
|
+
* // To collapse a portion of the breadcrumb items and represent the collapsed section as a menu, you can achieve this by combining the Menu and List components.
|
|
16
|
+
* import "@daikin-oss/design-system-web-components/components/menu/index.js";
|
|
17
|
+
* import "@daikin-oss/design-system-web-components/components/list/index.js";
|
|
18
|
+
* import "@daikin-oss/design-system-web-components/components/list-item/index.js";
|
|
15
19
|
* ```
|
|
16
20
|
*
|
|
17
21
|
* ```html
|
|
22
|
+
* <!-- Example of a simple breadcrumb -->
|
|
18
23
|
* <daikin-breadcrumb>
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
24
|
+
* <daikin-breadcrumb-item href="https://www.example.com/1">
|
|
25
|
+
* Breadcrumb item 1
|
|
26
|
+
* </daikin-breadcrumb-item>
|
|
27
|
+
* <daikin-breadcrumb-item href="https://www.example.com/2">
|
|
28
|
+
* Breadcrumb item 2
|
|
29
|
+
* </daikin-breadcrumb-item>
|
|
30
|
+
* </daikin-breadcrumb>
|
|
31
|
+
*
|
|
32
|
+
* <!-- Example of a breadcrumb with a collapsed section represented as a menu -->
|
|
33
|
+
* <daikin-breadcrumb>
|
|
34
|
+
* <daikin-breadcrumb-item href="#">
|
|
35
|
+
* Breadcrumb item 1
|
|
36
|
+
* </daikin-breadcrumb-item>
|
|
37
|
+
* <daikin-menu placement="bottom-start">
|
|
38
|
+
* <daikin-breadcrumb-item></daikin-breadcrumb-item>
|
|
39
|
+
* <daikin-list list-role="menu" slot="menu" style="width: 10rem">
|
|
40
|
+
* <daikin-list-item type="link" href="#">
|
|
41
|
+
* Breadcrumb 2
|
|
42
|
+
* </daikin-list-item>
|
|
43
|
+
* <daikin-list-item type="link" href="#">
|
|
44
|
+
* Breadcrumb 3
|
|
45
|
+
* </daikin-list-item>
|
|
46
|
+
* <daikin-list-item type="link" href="#">
|
|
47
|
+
* Breadcrumb 4
|
|
48
|
+
* </daikin-list-item>
|
|
49
|
+
* </daikin-list>
|
|
50
|
+
* </daikin-menu>
|
|
51
|
+
* <daikin-breadcrumb-item href="#">
|
|
52
|
+
* Breadcrumb item 5
|
|
53
|
+
* </daikin-breadcrumb-item>
|
|
25
54
|
* </daikin-breadcrumb>
|
|
26
55
|
* ```
|
|
27
56
|
*/
|
|
@@ -32,7 +61,10 @@ export declare class DaikinBreadcrumb extends DDSElement {
|
|
|
32
61
|
*/
|
|
33
62
|
showVisited: boolean;
|
|
34
63
|
private readonly _items;
|
|
64
|
+
private readonly _menus;
|
|
65
|
+
private _rafId;
|
|
35
66
|
private _updateBreadcrumbs;
|
|
67
|
+
disconnectedCallback(): void;
|
|
36
68
|
private _handleSlotChange;
|
|
37
69
|
render(): import('lit-html').TemplateResult<1>;
|
|
38
70
|
protected firstUpdated(): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
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 ifDefined_js = require("lit/directives/if-defined.js");
|
|
6
6
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
7
7
|
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");
|
|
@@ -19,30 +20,53 @@ var __decorateClass = (decorators2, target, key, kind) => {
|
|
|
19
20
|
if (kind && result) __defProp(target, key, result);
|
|
20
21
|
return result;
|
|
21
22
|
};
|
|
23
|
+
const LINK_CLASS_NAME = classVarianceAuthority.cva([
|
|
24
|
+
"font-daikinSerif",
|
|
25
|
+
"font-normal",
|
|
26
|
+
"text-base",
|
|
27
|
+
"leading-[130%]",
|
|
28
|
+
"relative",
|
|
29
|
+
"text-ddt-color-link-text-default",
|
|
30
|
+
"hover:text-ddt-color-link-text-hover",
|
|
31
|
+
"hover:bg-ddt-color-common-surface-brand-hover",
|
|
32
|
+
"active:text-ddt-color-link-text-press",
|
|
33
|
+
"active:bg-ddt-color-common-surface-brand-press",
|
|
34
|
+
"focus-visible:outline",
|
|
35
|
+
"focus-visible:outline-2",
|
|
36
|
+
"focus-visible:outline-ddt-color-common-border-focus",
|
|
37
|
+
"focus-visible:outline-offset-2"
|
|
38
|
+
])();
|
|
22
39
|
exports.DaikinBreadcrumbItem = class DaikinBreadcrumbItem extends ddsElement.DDSElement {
|
|
23
40
|
constructor() {
|
|
24
41
|
super(...arguments);
|
|
25
42
|
this.href = null;
|
|
26
|
-
this.variant = "normal";
|
|
27
43
|
this.target = null;
|
|
28
44
|
this.showVisited = false;
|
|
29
45
|
this.appendDivider = false;
|
|
30
46
|
}
|
|
31
47
|
render() {
|
|
32
48
|
const link = this.variant === "normal" ? lit.html`<daikin-link
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
49
|
+
href=${ifDefined_js.ifDefined(this.href)}
|
|
50
|
+
target=${ifDefined_js.ifDefined(this.target)}
|
|
51
|
+
?no-underline=${true}
|
|
36
52
|
?show-visited=${this.showVisited}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
>
|
|
54
|
+
<slot></slot>
|
|
55
|
+
</daikin-link>` : this.variant === "ellipsis" ? lit.html`<button
|
|
56
|
+
type="button"
|
|
57
|
+
class=${LINK_CLASS_NAME}
|
|
58
|
+
aria-label="Show more items"
|
|
59
|
+
>
|
|
60
|
+
...
|
|
61
|
+
</button>` : lit.html`<a
|
|
62
|
+
class="text-base leading-[130%] align-middle font-daikinSerif text-ddt-color-common-text-primary"
|
|
63
|
+
aria-disabled="true"
|
|
64
|
+
aria-current="true"
|
|
65
|
+
target=${ifDefined_js.ifDefined(this.target)}
|
|
66
|
+
role="link"
|
|
67
|
+
>
|
|
68
|
+
<slot></slot>
|
|
69
|
+
</a>`;
|
|
46
70
|
const divider = this.appendDivider ? lit.html`<span
|
|
47
71
|
class="text-ddt-color-common-text-primary mx-2 text-sm"
|
|
48
72
|
aria-hidden="true"
|
|
@@ -55,19 +79,28 @@ exports.DaikinBreadcrumbItem.styles = lit.css`
|
|
|
55
79
|
${lit.unsafeCSS(tailwind.default)}
|
|
56
80
|
`;
|
|
57
81
|
__decorateClass([
|
|
58
|
-
|
|
82
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
59
83
|
], exports.DaikinBreadcrumbItem.prototype, "href", 2);
|
|
60
84
|
__decorateClass([
|
|
61
|
-
|
|
85
|
+
ddsProperty.property({
|
|
86
|
+
type: String,
|
|
87
|
+
reflect: true,
|
|
88
|
+
fallbackValue: "normal",
|
|
89
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
90
|
+
"normal",
|
|
91
|
+
"current",
|
|
92
|
+
"ellipsis"
|
|
93
|
+
])
|
|
94
|
+
})
|
|
62
95
|
], exports.DaikinBreadcrumbItem.prototype, "variant", 2);
|
|
63
96
|
__decorateClass([
|
|
64
|
-
|
|
97
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
65
98
|
], exports.DaikinBreadcrumbItem.prototype, "target", 2);
|
|
66
99
|
__decorateClass([
|
|
67
|
-
|
|
100
|
+
ddsProperty.property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
68
101
|
], exports.DaikinBreadcrumbItem.prototype, "showVisited", 2);
|
|
69
102
|
__decorateClass([
|
|
70
|
-
|
|
103
|
+
ddsProperty.property({ type: Boolean, reflect: true, attribute: "append-divider" })
|
|
71
104
|
], exports.DaikinBreadcrumbItem.prototype, "appendDivider", 2);
|
|
72
105
|
exports.DaikinBreadcrumbItem = __decorateClass([
|
|
73
106
|
decorators.ddsElement("daikin-breadcrumb-item")
|
|
@@ -30,8 +30,10 @@ export declare class DaikinBreadcrumbItem extends DDSElement {
|
|
|
30
30
|
* Specifies the display content.
|
|
31
31
|
* If `ellipsis`, the "..." will be displayed instead of the link.
|
|
32
32
|
* Set automatically by `daikin-breadcrumb`.
|
|
33
|
+
*
|
|
34
|
+
* @default "normal"
|
|
33
35
|
*/
|
|
34
|
-
variant: "normal" | "current";
|
|
36
|
+
variant: "normal" | "current" | "ellipsis";
|
|
35
37
|
/**
|
|
36
38
|
* Specify the link target.
|
|
37
39
|
*/
|
|
@@ -6,6 +6,7 @@ const decorators_js = require("lit/decorators.js");
|
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
7
|
require("../../base/dds-element.cjs");
|
|
8
8
|
const ddsFormElement = 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");
|
|
@@ -86,10 +87,7 @@ const cvaIcon = classVarianceAuthority.cva(["slotted:flex-none"], {
|
|
|
86
87
|
exports.DaikinButton = class DaikinButton extends ddsFormElement.DDSFormSubmitElement {
|
|
87
88
|
constructor() {
|
|
88
89
|
super();
|
|
89
|
-
this.variant = "fill";
|
|
90
|
-
this.type = "button";
|
|
91
90
|
this.size = "medium";
|
|
92
|
-
this.color = "default";
|
|
93
91
|
this.disabled = false;
|
|
94
92
|
this.href = null;
|
|
95
93
|
this.buttonRole = null;
|
|
@@ -116,7 +114,8 @@ exports.DaikinButton = class DaikinButton extends ddsFormElement.DDSFormSubmitEl
|
|
|
116
114
|
const linkDisabled = this.disabled || this.href == null;
|
|
117
115
|
return lit.html`<a
|
|
118
116
|
class=${className}
|
|
119
|
-
href=${ifDefined_js.ifDefined(!linkDisabled ? this.href
|
|
117
|
+
href=${ifDefined_js.ifDefined(!linkDisabled ? this.href : void 0)}
|
|
118
|
+
tabindex=${ifDefined_js.ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
120
119
|
role=${ifDefined_js.ifDefined(
|
|
121
120
|
this.buttonRole ?? (linkDisabled ? "link" : void 0)
|
|
122
121
|
)}
|
|
@@ -136,9 +135,10 @@ exports.DaikinButton = class DaikinButton extends ddsFormElement.DDSFormSubmitEl
|
|
|
136
135
|
class=${className}
|
|
137
136
|
?disabled=${this.disabled}
|
|
138
137
|
type=${this.type}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
aria-expanded=${ifDefined_js.ifDefined(this.buttonAriaExpanded
|
|
138
|
+
tabindex=${ifDefined_js.ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
139
|
+
role=${ifDefined_js.ifDefined(this.buttonRole)}
|
|
140
|
+
aria-expanded=${ifDefined_js.ifDefined(this.buttonAriaExpanded)}
|
|
141
|
+
aria-haspopup=${ifDefined_js.ifDefined(this.buttonAriaHaspopup)}
|
|
142
142
|
>
|
|
143
143
|
<slot name="left-icon" class=${cvaIcon({ size: this.size })}>
|
|
144
144
|
<span class="flex-none block -ml-1"></span>
|
|
@@ -183,32 +183,73 @@ exports.DaikinButton.styles = lit.css`
|
|
|
183
183
|
}
|
|
184
184
|
`;
|
|
185
185
|
__decorateClass([
|
|
186
|
-
|
|
186
|
+
ddsProperty.property({
|
|
187
|
+
type: String,
|
|
188
|
+
reflect: true,
|
|
189
|
+
fallbackValue: "fill",
|
|
190
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
191
|
+
"fill",
|
|
192
|
+
"outline",
|
|
193
|
+
"ghost"
|
|
194
|
+
])
|
|
195
|
+
})
|
|
187
196
|
], exports.DaikinButton.prototype, "variant", 2);
|
|
188
197
|
__decorateClass([
|
|
189
|
-
|
|
198
|
+
ddsProperty.property({
|
|
199
|
+
type: String,
|
|
200
|
+
reflect: true,
|
|
201
|
+
fallbackValue: "button",
|
|
202
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
203
|
+
"button",
|
|
204
|
+
"submit",
|
|
205
|
+
"reset",
|
|
206
|
+
"link"
|
|
207
|
+
])
|
|
208
|
+
})
|
|
190
209
|
], exports.DaikinButton.prototype, "type", 2);
|
|
191
210
|
__decorateClass([
|
|
192
|
-
|
|
211
|
+
ddsProperty.property({
|
|
212
|
+
type: String,
|
|
213
|
+
reflect: true,
|
|
214
|
+
fallbackValue: "medium",
|
|
215
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
216
|
+
"small",
|
|
217
|
+
"medium",
|
|
218
|
+
"large"
|
|
219
|
+
])
|
|
220
|
+
})
|
|
193
221
|
], exports.DaikinButton.prototype, "size", 2);
|
|
194
222
|
__decorateClass([
|
|
195
|
-
|
|
223
|
+
ddsProperty.property({
|
|
224
|
+
type: String,
|
|
225
|
+
reflect: true,
|
|
226
|
+
fallbackValue: "default",
|
|
227
|
+
isAllowedValue: ddsProperty.oneOf(["default", "danger"])
|
|
228
|
+
})
|
|
196
229
|
], exports.DaikinButton.prototype, "color", 2);
|
|
197
230
|
__decorateClass([
|
|
198
|
-
|
|
231
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
199
232
|
], exports.DaikinButton.prototype, "disabled", 2);
|
|
200
233
|
__decorateClass([
|
|
201
|
-
|
|
234
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
202
235
|
], exports.DaikinButton.prototype, "href", 2);
|
|
203
236
|
__decorateClass([
|
|
204
|
-
|
|
237
|
+
ddsProperty.property({ type: String, reflect: true, attribute: "button-role" })
|
|
205
238
|
], exports.DaikinButton.prototype, "buttonRole", 2);
|
|
206
239
|
__decorateClass([
|
|
207
|
-
|
|
240
|
+
ddsProperty.property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
|
|
208
241
|
], exports.DaikinButton.prototype, "buttonAriaHaspopup", 2);
|
|
209
242
|
__decorateClass([
|
|
210
|
-
|
|
243
|
+
ddsProperty.property({ type: String, reflect: true, attribute: "button-aria-expanded" })
|
|
211
244
|
], exports.DaikinButton.prototype, "buttonAriaExpanded", 2);
|
|
245
|
+
__decorateClass([
|
|
246
|
+
ddsProperty.property({
|
|
247
|
+
type: Number,
|
|
248
|
+
reflect: true,
|
|
249
|
+
attribute: "button-tabindex",
|
|
250
|
+
fallbackValue: 0
|
|
251
|
+
})
|
|
252
|
+
], exports.DaikinButton.prototype, "buttonTabIndex", 2);
|
|
212
253
|
__decorateClass([
|
|
213
254
|
decorators_js.query("a,button")
|
|
214
255
|
], exports.DaikinButton.prototype, "_focusableElement", 2);
|