@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,90 @@ 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", "justify-between"], {
|
|
78
|
+
variants: {
|
|
79
|
+
layout: {
|
|
80
|
+
horizontal: ["gap-3", "overflow-hidden"],
|
|
81
|
+
vertical: ["items-stretch", "flex-col", "gap-1"]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
const cvaTextContent = classVarianceAuthority.cva(["flex"], {
|
|
86
|
+
variants: {
|
|
87
|
+
layout: {
|
|
88
|
+
horizontal: ["flex-row", "gap-3"],
|
|
89
|
+
vertical: ["flex-col", "gap-1"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
const TITLE_CLASS_NAME = classVarianceAuthority.cva([
|
|
94
|
+
"slotted:inline-block",
|
|
95
|
+
"font-bold",
|
|
96
|
+
"leading-[130%]",
|
|
97
|
+
"slotted:natural-break"
|
|
98
|
+
])();
|
|
99
|
+
const DESCRIPTION_CLASS_NAME = classVarianceAuthority.cva([
|
|
100
|
+
"inline-block",
|
|
101
|
+
"leading-[130%]",
|
|
102
|
+
"natural-break"
|
|
103
|
+
])();
|
|
22
104
|
exports.DaikinInlineNotification = class DaikinInlineNotification extends ddsElement.DDSElement {
|
|
23
105
|
constructor() {
|
|
24
106
|
super(...arguments);
|
|
25
|
-
this.status = "positive";
|
|
26
|
-
this.layout = "horizontal";
|
|
27
107
|
this.closable = false;
|
|
28
108
|
this.timestamp = null;
|
|
29
109
|
}
|
|
@@ -37,11 +117,13 @@ exports.DaikinInlineNotification = class DaikinInlineNotification extends ddsEle
|
|
|
37
117
|
render() {
|
|
38
118
|
const formattedTimestamp = this.timestamp ? notificationCommon.formatDate(this.timestamp) : null;
|
|
39
119
|
return lit.html`<aside
|
|
40
|
-
class=${
|
|
120
|
+
class=${cvaContainer({ variant: "inline", status: this.status })}
|
|
41
121
|
>
|
|
42
|
-
<div class=${
|
|
43
|
-
<
|
|
44
|
-
|
|
122
|
+
<div class=${cvaContent({ layout: this.layout })}>
|
|
123
|
+
<div class=${cvaTextContent({ layout: this.layout })}>
|
|
124
|
+
<slot class=${TITLE_CLASS_NAME} name="title"></slot>
|
|
125
|
+
<slot class=${DESCRIPTION_CLASS_NAME}></slot>
|
|
126
|
+
</div>
|
|
45
127
|
${formattedTimestamp ? lit.html`<span class=${notificationCommon.cvaTimestamp({ layout: this.layout })}
|
|
46
128
|
>${formattedTimestamp}</span
|
|
47
129
|
>` : lit.nothing}
|
|
@@ -72,16 +154,35 @@ exports.DaikinInlineNotification.styles = lit.css`
|
|
|
72
154
|
}
|
|
73
155
|
`;
|
|
74
156
|
__decorateClass([
|
|
75
|
-
|
|
157
|
+
ddsProperty.property({
|
|
158
|
+
type: String,
|
|
159
|
+
reflect: true,
|
|
160
|
+
fallbackValue: "positive",
|
|
161
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
162
|
+
"positive",
|
|
163
|
+
"negative",
|
|
164
|
+
"warning",
|
|
165
|
+
"alarm",
|
|
166
|
+
"information"
|
|
167
|
+
])
|
|
168
|
+
})
|
|
76
169
|
], exports.DaikinInlineNotification.prototype, "status", 2);
|
|
77
170
|
__decorateClass([
|
|
78
|
-
|
|
171
|
+
ddsProperty.property({
|
|
172
|
+
type: String,
|
|
173
|
+
reflect: true,
|
|
174
|
+
fallbackValue: "horizontal",
|
|
175
|
+
isAllowedValue: ddsProperty.oneOf([
|
|
176
|
+
"horizontal",
|
|
177
|
+
"vertical"
|
|
178
|
+
])
|
|
179
|
+
})
|
|
79
180
|
], exports.DaikinInlineNotification.prototype, "layout", 2);
|
|
80
181
|
__decorateClass([
|
|
81
|
-
|
|
182
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
82
183
|
], exports.DaikinInlineNotification.prototype, "closable", 2);
|
|
83
184
|
__decorateClass([
|
|
84
|
-
|
|
185
|
+
ddsProperty.property({ type: Object, reflect: true, attribute: false })
|
|
85
186
|
], exports.DaikinInlineNotification.prototype, "timestamp", 2);
|
|
86
187
|
exports.DaikinInlineNotification = __decorateClass([
|
|
87
188
|
decorators.ddsElement("daikin-inline-notification")
|
|
@@ -30,10 +30,14 @@ export declare class DaikinInlineNotification extends DDSElement {
|
|
|
30
30
|
static readonly styles: import('lit').CSSResult;
|
|
31
31
|
/**
|
|
32
32
|
* Status of the notification.
|
|
33
|
+
*
|
|
34
|
+
* @default "positive"
|
|
33
35
|
*/
|
|
34
36
|
status: ToastNotificationVariantProps["status"];
|
|
35
37
|
/**
|
|
36
38
|
* Specify how to arrange the elements.
|
|
39
|
+
*
|
|
40
|
+
* @default "horizontal"
|
|
37
41
|
*/
|
|
38
42
|
layout: ToastNotificationVariantProps["layout"];
|
|
39
43
|
/**
|
|
@@ -41,7 +45,10 @@ export declare class DaikinInlineNotification extends DDSElement {
|
|
|
41
45
|
*/
|
|
42
46
|
closable: boolean;
|
|
43
47
|
/**
|
|
44
|
-
* The timestamp to display.
|
|
48
|
+
* The timestamp to display. Accepts a Date object and displays it in YYYY/MM/DD format.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* element.timestamp = new Date();
|
|
45
52
|
*/
|
|
46
53
|
timestamp: Date | null;
|
|
47
54
|
/**
|
|
@@ -5,9 +5,11 @@ const lit = require("lit");
|
|
|
5
5
|
const decorators_js = require("lit/decorators.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");
|
|
12
|
+
require("../status-message/daikin-status-message.cjs");
|
|
11
13
|
var __defProp = Object.defineProperty;
|
|
12
14
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
15
|
var __decorateClass = (decorators2, target, key, kind) => {
|
|
@@ -112,6 +114,25 @@ exports.DaikinInputGroup = class DaikinInputGroup extends ddsElement.DDSElement
|
|
|
112
114
|
textareaLimitExceedError: this.textareaLimitExceedError,
|
|
113
115
|
none: ""
|
|
114
116
|
}[helperTextVariant];
|
|
117
|
+
const formatHelperText = (helperTextVariant2, helperText2) => {
|
|
118
|
+
switch (helperTextVariant2) {
|
|
119
|
+
case "error":
|
|
120
|
+
case "textareaLimitExceedError":
|
|
121
|
+
return lit.html`<daikin-status-message
|
|
122
|
+
status="negative"
|
|
123
|
+
status-message-role="alert"
|
|
124
|
+
size="small"
|
|
125
|
+
>
|
|
126
|
+
${helperText2}
|
|
127
|
+
</daikin-status-message>`;
|
|
128
|
+
case "none":
|
|
129
|
+
return lit.nothing;
|
|
130
|
+
default:
|
|
131
|
+
return lit.html`<span class=${cvaHelper({ type: helperTextVariant2 })}>
|
|
132
|
+
${helperText2}
|
|
133
|
+
</span>`;
|
|
134
|
+
}
|
|
135
|
+
};
|
|
115
136
|
return lit.html`<fieldset class="contents" ?disabled=${this.disabled}>
|
|
116
137
|
<label
|
|
117
138
|
class="flex flex-col justify-center gap-2 w-full text-ddt-color-common-text-primary font-daikinSerif"
|
|
@@ -124,12 +145,7 @@ exports.DaikinInputGroup = class DaikinInputGroup extends ddsElement.DDSElement
|
|
|
124
145
|
${this.required}
|
|
125
146
|
</span>` : lit.nothing}
|
|
126
147
|
</div>
|
|
127
|
-
|
|
128
|
-
class=${cvaHelper({ type: helperTextVariant })}
|
|
129
|
-
aria-live=${helperTextVariant === "error" ? "polite" : "off"}
|
|
130
|
-
>
|
|
131
|
-
${helperText}
|
|
132
|
-
</span>
|
|
148
|
+
${formatHelperText(helperTextVariant, helperText)}
|
|
133
149
|
<slot
|
|
134
150
|
@slotchange=${this._handleSlotChange}
|
|
135
151
|
@input=${this._handleInput}
|
|
@@ -156,25 +172,25 @@ exports.DaikinInputGroup.styles = lit.css`
|
|
|
156
172
|
}
|
|
157
173
|
`;
|
|
158
174
|
__decorateClass([
|
|
159
|
-
|
|
175
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
160
176
|
], exports.DaikinInputGroup.prototype, "label", 2);
|
|
161
177
|
__decorateClass([
|
|
162
|
-
|
|
178
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
163
179
|
], exports.DaikinInputGroup.prototype, "helper", 2);
|
|
164
180
|
__decorateClass([
|
|
165
|
-
|
|
181
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
166
182
|
], exports.DaikinInputGroup.prototype, "required", 2);
|
|
167
183
|
__decorateClass([
|
|
168
|
-
|
|
184
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
169
185
|
], exports.DaikinInputGroup.prototype, "error", 2);
|
|
170
186
|
__decorateClass([
|
|
171
|
-
|
|
187
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
172
188
|
], exports.DaikinInputGroup.prototype, "disabled", 2);
|
|
173
189
|
__decorateClass([
|
|
174
|
-
|
|
190
|
+
ddsProperty.property({ type: Number, reflect: true, attribute: "textarea-max-count" })
|
|
175
191
|
], exports.DaikinInputGroup.prototype, "textareaMaxCount", 2);
|
|
176
192
|
__decorateClass([
|
|
177
|
-
|
|
193
|
+
ddsProperty.property({
|
|
178
194
|
type: String,
|
|
179
195
|
reflect: true,
|
|
180
196
|
attribute: "textarea-limit-exceed-error"
|
|
@@ -2,10 +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 decorators_js = require("lit/decorators.js");
|
|
6
5
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
6
|
const ddsElement = require("../../base/dds-element.cjs");
|
|
8
7
|
require("../../base/dds-form-element.cjs");
|
|
8
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
9
9
|
const decorators = require("../../base/decorators.cjs");
|
|
10
10
|
require("../../base/define.cjs");
|
|
11
11
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -22,8 +22,6 @@ var __decorateClass = (decorators2, target, key, kind) => {
|
|
|
22
22
|
const LINK_CLASS_NAME = classVarianceAuthority.cva([
|
|
23
23
|
"font-daikinSerif",
|
|
24
24
|
"relative",
|
|
25
|
-
"border-b",
|
|
26
|
-
"border-b-current",
|
|
27
25
|
"link-enabled:text-ddt-color-link-text-default",
|
|
28
26
|
"link-enabled:hover:text-ddt-color-link-text-hover",
|
|
29
27
|
"link-enabled:hover:bg-ddt-color-common-surface-brand-hover",
|
|
@@ -35,6 +33,18 @@ const LINK_CLASS_NAME = classVarianceAuthority.cva([
|
|
|
35
33
|
"focus-visible:outline-ddt-color-common-border-focus",
|
|
36
34
|
"focus-visible:outline-offset-2"
|
|
37
35
|
])();
|
|
36
|
+
const cvaContent = classVarianceAuthority.cva(["leading-[130%]"], {
|
|
37
|
+
variants: {
|
|
38
|
+
noUnderline: {
|
|
39
|
+
true: [],
|
|
40
|
+
false: ["border-b", "border-b-current"]
|
|
41
|
+
},
|
|
42
|
+
size: {
|
|
43
|
+
small: ["text-sm"],
|
|
44
|
+
medium: ["text-base"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
});
|
|
38
48
|
exports.DaikinLink = class DaikinLink extends ddsElement.DDSElement {
|
|
39
49
|
constructor() {
|
|
40
50
|
super(...arguments);
|
|
@@ -42,6 +52,8 @@ exports.DaikinLink = class DaikinLink extends ddsElement.DDSElement {
|
|
|
42
52
|
this.target = null;
|
|
43
53
|
this.disabled = false;
|
|
44
54
|
this.showVisited = false;
|
|
55
|
+
this.size = "medium";
|
|
56
|
+
this.noUnderline = false;
|
|
45
57
|
}
|
|
46
58
|
render() {
|
|
47
59
|
return lit.html`<a
|
|
@@ -52,7 +64,9 @@ exports.DaikinLink = class DaikinLink extends ddsElement.DDSElement {
|
|
|
52
64
|
><span class="inline-flex mr-[0.125rem] align-sub">
|
|
53
65
|
<slot name="left-icon" class="icon-size-4"
|
|
54
66
|
><span class="-mr-[0.125rem]"></span></slot></span
|
|
55
|
-
><
|
|
67
|
+
><span
|
|
68
|
+
class=${cvaContent({ noUnderline: this.noUnderline, size: this.size })}
|
|
69
|
+
><slot></slot></span
|
|
56
70
|
><span class="inline-flex ml-[0.125rem] align-sub"
|
|
57
71
|
><slot name="right-icon" class="icon-size-4"
|
|
58
72
|
><span class="-ml-[0.125rem]"></span></slot></span
|
|
@@ -77,17 +91,23 @@ exports.DaikinLink.styles = lit.css`
|
|
|
77
91
|
}
|
|
78
92
|
`;
|
|
79
93
|
__decorateClass([
|
|
80
|
-
|
|
94
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
81
95
|
], exports.DaikinLink.prototype, "href", 2);
|
|
82
96
|
__decorateClass([
|
|
83
|
-
|
|
97
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
84
98
|
], exports.DaikinLink.prototype, "target", 2);
|
|
85
99
|
__decorateClass([
|
|
86
|
-
|
|
100
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
87
101
|
], exports.DaikinLink.prototype, "disabled", 2);
|
|
88
102
|
__decorateClass([
|
|
89
|
-
|
|
103
|
+
ddsProperty.property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
90
104
|
], exports.DaikinLink.prototype, "showVisited", 2);
|
|
105
|
+
__decorateClass([
|
|
106
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
107
|
+
], exports.DaikinLink.prototype, "size", 2);
|
|
108
|
+
__decorateClass([
|
|
109
|
+
ddsProperty.property({ type: Boolean, reflect: true, attribute: "no-underline" })
|
|
110
|
+
], exports.DaikinLink.prototype, "noUnderline", 2);
|
|
91
111
|
exports.DaikinLink = __decorateClass([
|
|
92
112
|
decorators.ddsElement("daikin-link")
|
|
93
113
|
], exports.DaikinLink);
|
|
@@ -34,6 +34,17 @@ export declare class DaikinLink extends DDSElement {
|
|
|
34
34
|
* Whether or not to change the color of visited links.
|
|
35
35
|
*/
|
|
36
36
|
showVisited: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Link size. The default value is `'medium'`.
|
|
39
|
+
*
|
|
40
|
+
* - `'small'`: Smaller font size (`0.875rem`).
|
|
41
|
+
* - `'medium'`: Base font size (`1rem`).
|
|
42
|
+
*/
|
|
43
|
+
size: "small" | "medium";
|
|
44
|
+
/**
|
|
45
|
+
* Whether or not to display an underline.
|
|
46
|
+
*/
|
|
47
|
+
noUnderline: boolean;
|
|
37
48
|
render(): import('lit-html').TemplateResult<1>;
|
|
38
49
|
}
|
|
39
50
|
declare global {
|
|
@@ -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");
|
|
@@ -63,7 +64,10 @@ exports.DaikinList = class DaikinList extends ddsElement.DDSElement {
|
|
|
63
64
|
nextItem.focus();
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
66
|
-
return lit.html`<div
|
|
67
|
+
return lit.html`<div
|
|
68
|
+
role=${this.listRole}
|
|
69
|
+
aria-label=${this.listRole === "menu" ? "Menu" : "List"}
|
|
70
|
+
>
|
|
67
71
|
<slot
|
|
68
72
|
@keydown=${this.handleKeyDown}
|
|
69
73
|
@slotchange=${this._handleSlotChange}
|
|
@@ -87,7 +91,7 @@ exports.DaikinList.styles = lit.css`
|
|
|
87
91
|
}
|
|
88
92
|
`;
|
|
89
93
|
__decorateClass([
|
|
90
|
-
|
|
94
|
+
ddsProperty.property({ type: String, attribute: false })
|
|
91
95
|
], exports.DaikinList.prototype, "listRole", 2);
|
|
92
96
|
__decorateClass([
|
|
93
97
|
decorators_js.queryAssignedElements({ selector: "daikin-list-item" })
|
|
@@ -6,6 +6,7 @@ const decorators_js = require("lit/decorators.js");
|
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.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");
|
|
@@ -54,7 +55,7 @@ const WRAPPER = classVarianceAuthority.cva([
|
|
|
54
55
|
"p-3",
|
|
55
56
|
"text-left",
|
|
56
57
|
"relative",
|
|
57
|
-
"break
|
|
58
|
+
"natural-break"
|
|
58
59
|
])();
|
|
59
60
|
const cvaIcon = classVarianceAuthority.cva(["icon-size-6", "slotted:flex-none"], {
|
|
60
61
|
variants: {
|
|
@@ -71,7 +72,6 @@ const cvaIcon = classVarianceAuthority.cva(["icon-size-6", "slotted:flex-none"],
|
|
|
71
72
|
exports.DaikinListItem = class DaikinListItem extends ddsElement.DDSElement {
|
|
72
73
|
constructor() {
|
|
73
74
|
super();
|
|
74
|
-
this.type = "button";
|
|
75
75
|
this.listItemRole = "listitem";
|
|
76
76
|
this.href = null;
|
|
77
77
|
this.disabled = false;
|
|
@@ -103,10 +103,16 @@ exports.DaikinListItem = class DaikinListItem extends ddsElement.DDSElement {
|
|
|
103
103
|
<slot class=${cvaContent({ disabled: this.disabled })}></slot>
|
|
104
104
|
</span>`;
|
|
105
105
|
const list = {
|
|
106
|
-
button: () => lit.html`<button
|
|
106
|
+
button: () => lit.html`<button
|
|
107
|
+
type="button"
|
|
108
|
+
part="item"
|
|
109
|
+
class=${INNER_CN}
|
|
110
|
+
?disabled=${disabled}
|
|
111
|
+
>
|
|
107
112
|
${content}
|
|
108
113
|
</button>`,
|
|
109
114
|
link: () => lit.html`<a
|
|
115
|
+
part="item"
|
|
110
116
|
class=${INNER_CN}
|
|
111
117
|
href=${ifDefined_js.ifDefined(!disabled ? this.href ?? void 0 : void 0)}
|
|
112
118
|
role=${ifDefined_js.ifDefined(disabled ? "link" : void 0)}
|
|
@@ -114,7 +120,7 @@ exports.DaikinListItem = class DaikinListItem extends ddsElement.DDSElement {
|
|
|
114
120
|
>
|
|
115
121
|
${content}
|
|
116
122
|
</a>`,
|
|
117
|
-
text: () => lit.html`<span class=${INNER_CN}>${content}</span>`
|
|
123
|
+
text: () => lit.html`<span part="item" class=${INNER_CN}>${content}</span>`
|
|
118
124
|
}[this.type]();
|
|
119
125
|
return lit.html`<div class=${WRAPPER} role=${this.listItemRole}>
|
|
120
126
|
${list}
|
|
@@ -151,16 +157,21 @@ exports.DaikinListItem.styles = lit.css`
|
|
|
151
157
|
}
|
|
152
158
|
`;
|
|
153
159
|
__decorateClass([
|
|
154
|
-
|
|
160
|
+
ddsProperty.property({
|
|
161
|
+
type: String,
|
|
162
|
+
reflect: true,
|
|
163
|
+
fallbackValue: "button",
|
|
164
|
+
isAllowedValue: ddsProperty.oneOf(["button", "link", "text"])
|
|
165
|
+
})
|
|
155
166
|
], exports.DaikinListItem.prototype, "type", 2);
|
|
156
167
|
__decorateClass([
|
|
157
|
-
|
|
168
|
+
ddsProperty.property({ type: String, attribute: false })
|
|
158
169
|
], exports.DaikinListItem.prototype, "listItemRole", 2);
|
|
159
170
|
__decorateClass([
|
|
160
|
-
|
|
171
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
161
172
|
], exports.DaikinListItem.prototype, "href", 2);
|
|
162
173
|
__decorateClass([
|
|
163
|
-
|
|
174
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
164
175
|
], exports.DaikinListItem.prototype, "disabled", 2);
|
|
165
176
|
__decorateClass([
|
|
166
177
|
decorators_js.query("a,button")
|
|
@@ -19,6 +19,8 @@ import { DDSElement } from "../../base/index.cjs";
|
|
|
19
19
|
* @slot left-icon - An optional slot for an icon to be placed to the left of the text. Place `daikin-icon` or something similar.
|
|
20
20
|
* @slot right-icon - An optional slot for an icon to be placed to the left of the text. Ignored if `action` slot is used. Place `daikin-icon` or something similar.
|
|
21
21
|
*
|
|
22
|
+
* @csspart item - CSS styles applied to the `item` part target the internal wrapper element (`<a>`, `<button>`, or `<span>`). For instance, setting `cursor: grab;` changes the hover cursor, signaling that the list item is draggable.
|
|
23
|
+
*
|
|
22
24
|
* @example
|
|
23
25
|
*
|
|
24
26
|
* ```js
|
|
@@ -36,6 +38,8 @@ export declare class DaikinListItem extends DDSElement {
|
|
|
36
38
|
* - `button` (default): The list item will be rendered as a `<button>` element.
|
|
37
39
|
* - `link`: The list item will be rendered as an `<a>` element.
|
|
38
40
|
* - `text`: The list item will be rendered as a `<span>` element. Use this if the list itself has no action.
|
|
41
|
+
*
|
|
42
|
+
* @default "button"
|
|
39
43
|
*/
|
|
40
44
|
type: "button" | "link" | "text";
|
|
41
45
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
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 ddsElement = require("../../base/dds-element.cjs");
|
|
7
6
|
require("../../base/dds-form-element.cjs");
|
|
7
|
+
const ddsProperty = require("../../base/dds-property.cjs");
|
|
8
8
|
const decorators = require("../../base/decorators.cjs");
|
|
9
9
|
require("../../base/define.cjs");
|
|
10
10
|
const tailwind = require("../../tailwind.css.cjs");
|
|
@@ -85,10 +85,15 @@ exports.DaikinLoading.styles = lit.css`
|
|
|
85
85
|
}
|
|
86
86
|
`;
|
|
87
87
|
__decorateClass([
|
|
88
|
-
|
|
88
|
+
ddsProperty.property({
|
|
89
|
+
type: String,
|
|
90
|
+
reflect: true,
|
|
91
|
+
fallbackValue: "medium",
|
|
92
|
+
isAllowedValue: ddsProperty.oneOf(["small", "medium"])
|
|
93
|
+
})
|
|
89
94
|
], exports.DaikinLoading.prototype, "size", 2);
|
|
90
95
|
__decorateClass([
|
|
91
|
-
|
|
96
|
+
ddsProperty.property({ type: Boolean, reflect: true })
|
|
92
97
|
], exports.DaikinLoading.prototype, "background", 2);
|
|
93
98
|
exports.DaikinLoading = __decorateClass([
|
|
94
99
|
decorators.ddsElement("daikin-loading")
|
|
@@ -6,6 +6,7 @@ const decorators_js = require("lit/decorators.js");
|
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.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");
|
|
@@ -51,23 +52,20 @@ exports.DaikinLogo = class DaikinLogo extends ddsElement.DDSElement {
|
|
|
51
52
|
super(...arguments);
|
|
52
53
|
this.href = null;
|
|
53
54
|
this.target = null;
|
|
54
|
-
this.logoAriaLabel = "Logo of Daikin";
|
|
55
|
-
this.mode = "positive";
|
|
56
55
|
}
|
|
57
56
|
render() {
|
|
58
57
|
if (!this.href) {
|
|
59
58
|
return lit.html`<span
|
|
60
59
|
class=${cvaWrapper({ type: "logo", mode: this.mode })}
|
|
61
60
|
role="img"
|
|
62
|
-
aria-label=${ifDefined_js.ifDefined(this.logoAriaLabel
|
|
63
|
-
alt=${ifDefined_js.ifDefined(this.logoAriaLabel ?? void 0)}
|
|
61
|
+
aria-label=${ifDefined_js.ifDefined(this.logoAriaLabel)}
|
|
64
62
|
></span>`;
|
|
65
63
|
} else {
|
|
66
64
|
return lit.html`<a
|
|
67
65
|
class=${cvaWrapper({ type: "link", mode: this.mode })}
|
|
68
|
-
aria-label=${ifDefined_js.ifDefined(this.logoAriaLabel
|
|
66
|
+
aria-label=${ifDefined_js.ifDefined(this.logoAriaLabel)}
|
|
69
67
|
href=${ifDefined_js.ifDefined(this.href)}
|
|
70
|
-
target=${ifDefined_js.ifDefined(this.target
|
|
68
|
+
target=${ifDefined_js.ifDefined(this.target)}
|
|
71
69
|
></a>`;
|
|
72
70
|
}
|
|
73
71
|
}
|
|
@@ -90,16 +88,26 @@ exports.DaikinLogo.styles = lit.css`
|
|
|
90
88
|
}
|
|
91
89
|
`;
|
|
92
90
|
__decorateClass([
|
|
93
|
-
|
|
91
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
94
92
|
], exports.DaikinLogo.prototype, "href", 2);
|
|
95
93
|
__decorateClass([
|
|
96
|
-
|
|
94
|
+
ddsProperty.property({ type: String, reflect: true })
|
|
97
95
|
], exports.DaikinLogo.prototype, "target", 2);
|
|
98
96
|
__decorateClass([
|
|
99
|
-
|
|
97
|
+
ddsProperty.property({
|
|
98
|
+
type: String,
|
|
99
|
+
reflect: true,
|
|
100
|
+
attribute: "logo-aria-label",
|
|
101
|
+
fallbackValue: "Logo of Daikin"
|
|
102
|
+
})
|
|
100
103
|
], exports.DaikinLogo.prototype, "logoAriaLabel", 2);
|
|
101
104
|
__decorateClass([
|
|
102
|
-
|
|
105
|
+
ddsProperty.property({
|
|
106
|
+
type: String,
|
|
107
|
+
reflect: true,
|
|
108
|
+
fallbackValue: "positive",
|
|
109
|
+
isAllowedValue: ddsProperty.oneOf(["positive", "negative"])
|
|
110
|
+
})
|
|
103
111
|
], exports.DaikinLogo.prototype, "mode", 2);
|
|
104
112
|
__decorateClass([
|
|
105
113
|
decorators_js.query("a")
|
|
@@ -32,11 +32,15 @@ export declare class DaikinLogo extends DDSElement {
|
|
|
32
32
|
target: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Provides an accessible name of the logo.
|
|
35
|
+
*
|
|
36
|
+
* @default "Logo of Daikin"
|
|
35
37
|
*/
|
|
36
38
|
logoAriaLabel: string | null;
|
|
37
39
|
/**
|
|
38
40
|
* Specify the the logo mode.
|
|
39
41
|
* Notice: Allow the use of a negative logo only when the positive logo is too close to the background to be legible.
|
|
42
|
+
*
|
|
43
|
+
* @default "positive"
|
|
40
44
|
*/
|
|
41
45
|
mode: "positive" | "negative";
|
|
42
46
|
private _focusableElement;
|