@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
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
6
|
import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
|
|
7
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -78,11 +79,8 @@ const cvaIconButton = cva(
|
|
|
78
79
|
let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
79
80
|
constructor() {
|
|
80
81
|
super();
|
|
81
|
-
this.variant = "fill";
|
|
82
|
-
this.color = "default";
|
|
83
82
|
this.disabled = false;
|
|
84
83
|
this.href = null;
|
|
85
|
-
this.type = "button";
|
|
86
84
|
this.buttonAriaLabel = null;
|
|
87
85
|
this.buttonRole = null;
|
|
88
86
|
this.buttonAriaHaspopup = null;
|
|
@@ -109,6 +107,7 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
|
109
107
|
return html`<a
|
|
110
108
|
class=${iconButtonCN}
|
|
111
109
|
href=${ifDefined(!linkDisabled ? this.href ?? void 0 : void 0)}
|
|
110
|
+
tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
112
111
|
role=${ifDefined(
|
|
113
112
|
this.buttonRole ?? (linkDisabled ? "link" : void 0)
|
|
114
113
|
)}
|
|
@@ -122,10 +121,11 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
|
122
121
|
<button
|
|
123
122
|
class=${iconButtonCN}
|
|
124
123
|
type=${this.type}
|
|
124
|
+
tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
125
125
|
aria-label=${this.buttonAriaLabel ?? ""}
|
|
126
126
|
?disabled=${this.disabled}
|
|
127
|
-
aria-
|
|
128
|
-
aria-
|
|
127
|
+
aria-expanded=${ifDefined(this.buttonAriaExpanded)}
|
|
128
|
+
aria-haspopup=${ifDefined(this.buttonAriaHaspopup)}
|
|
129
129
|
>
|
|
130
130
|
<slot class="icon-size-full"></slot>
|
|
131
131
|
</button>
|
|
@@ -148,18 +148,38 @@ DaikinIconButton.styles = css`
|
|
|
148
148
|
width: var(--ddc-icon-button-size, 2rem);
|
|
149
149
|
height: var(--ddc-icon-button-size, 2rem);
|
|
150
150
|
}
|
|
151
|
+
|
|
151
152
|
:host([size="s"]) {
|
|
152
153
|
--ddc-icon-button-size: 2rem; /* 32px */
|
|
153
154
|
}
|
|
155
|
+
|
|
154
156
|
:host([size="m"]) {
|
|
155
157
|
--ddc-icon-button-size: 3rem; /* 48px */
|
|
156
158
|
}
|
|
157
159
|
`;
|
|
158
160
|
__decorateClass([
|
|
159
|
-
property({
|
|
161
|
+
property({
|
|
162
|
+
type: String,
|
|
163
|
+
reflect: true,
|
|
164
|
+
fallbackValue: "fill",
|
|
165
|
+
isAllowedValue: oneOf([
|
|
166
|
+
"outline",
|
|
167
|
+
"fill",
|
|
168
|
+
"ghost"
|
|
169
|
+
])
|
|
170
|
+
})
|
|
160
171
|
], DaikinIconButton.prototype, "variant", 2);
|
|
161
172
|
__decorateClass([
|
|
162
|
-
property({
|
|
173
|
+
property({
|
|
174
|
+
type: String,
|
|
175
|
+
reflect: true,
|
|
176
|
+
fallbackValue: "default",
|
|
177
|
+
isAllowedValue: oneOf([
|
|
178
|
+
"default",
|
|
179
|
+
"neutral",
|
|
180
|
+
"danger"
|
|
181
|
+
])
|
|
182
|
+
})
|
|
163
183
|
], DaikinIconButton.prototype, "color", 2);
|
|
164
184
|
__decorateClass([
|
|
165
185
|
property({ type: Boolean, reflect: true })
|
|
@@ -168,7 +188,17 @@ __decorateClass([
|
|
|
168
188
|
property({ type: String, reflect: true })
|
|
169
189
|
], DaikinIconButton.prototype, "href", 2);
|
|
170
190
|
__decorateClass([
|
|
171
|
-
property({
|
|
191
|
+
property({
|
|
192
|
+
type: String,
|
|
193
|
+
reflect: true,
|
|
194
|
+
fallbackValue: "button",
|
|
195
|
+
isAllowedValue: oneOf([
|
|
196
|
+
"button",
|
|
197
|
+
"submit",
|
|
198
|
+
"reset",
|
|
199
|
+
"link"
|
|
200
|
+
])
|
|
201
|
+
})
|
|
172
202
|
], DaikinIconButton.prototype, "type", 2);
|
|
173
203
|
__decorateClass([
|
|
174
204
|
property({ type: String, reflect: true, attribute: "button-aria-label" })
|
|
@@ -180,10 +210,23 @@ __decorateClass([
|
|
|
180
210
|
property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
|
|
181
211
|
], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
|
|
182
212
|
__decorateClass([
|
|
183
|
-
property({ type:
|
|
213
|
+
property({ type: String, reflect: true, attribute: "button-aria-expanded" })
|
|
184
214
|
], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
|
|
185
215
|
__decorateClass([
|
|
186
|
-
property({
|
|
216
|
+
property({
|
|
217
|
+
type: Number,
|
|
218
|
+
reflect: true,
|
|
219
|
+
attribute: "button-tabindex",
|
|
220
|
+
fallbackValue: 0
|
|
221
|
+
})
|
|
222
|
+
], DaikinIconButton.prototype, "buttonTabIndex", 2);
|
|
223
|
+
__decorateClass([
|
|
224
|
+
property({
|
|
225
|
+
type: String,
|
|
226
|
+
reflect: true,
|
|
227
|
+
fallbackValue: "s",
|
|
228
|
+
isAllowedValue: oneOf(["s", "m"])
|
|
229
|
+
})
|
|
187
230
|
], DaikinIconButton.prototype, "size", 2);
|
|
188
231
|
__decorateClass([
|
|
189
232
|
query("button")
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./accordion/index.js";
|
|
2
2
|
export * from "./accordion-item/index.js";
|
|
3
3
|
export * from "./avatar/index.js";
|
|
4
|
+
export * from "./badge/index.js";
|
|
4
5
|
export * from "./breadcrumb/index.js";
|
|
5
6
|
export * from "./breadcrumb-item/index.js";
|
|
6
7
|
export * from "./button/index.js";
|
|
@@ -38,6 +39,7 @@ export * from "./radio/index.js";
|
|
|
38
39
|
export * from "./radio-group/index.js";
|
|
39
40
|
export * from "./select/index.js";
|
|
40
41
|
export * from "./slider/index.js";
|
|
42
|
+
export * from "./status-message/index.js";
|
|
41
43
|
export * from "./tab/index.js";
|
|
42
44
|
export * from "./tab-panels/index.js";
|
|
43
45
|
export * from "./table/index.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DaikinAccordion } from "./accordion/daikin-accordion.js";
|
|
2
2
|
import { DaikinAccordionItem } from "./accordion-item/daikin-accordion-item.js";
|
|
3
3
|
import { DaikinAvatar } from "./avatar/daikin-avatar.js";
|
|
4
|
+
import { DaikinBadge } from "./badge/daikin-badge.js";
|
|
4
5
|
import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
|
|
5
6
|
import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
|
|
6
7
|
import { DaikinButton } from "./button/daikin-button.js";
|
|
@@ -38,6 +39,7 @@ import { DaikinRadio } from "./radio/daikin-radio.js";
|
|
|
38
39
|
import { DaikinRadioGroup } from "./radio-group/daikin-radio-group.js";
|
|
39
40
|
import { DaikinSelect } from "./select/daikin-select.js";
|
|
40
41
|
import { DaikinSlider } from "./slider/daikin-slider.js";
|
|
42
|
+
import { DaikinStatusMessage } from "./status-message/daikin-status-message.js";
|
|
41
43
|
import { DaikinTab } from "./tab/daikin-tab.js";
|
|
42
44
|
import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
|
|
43
45
|
import { DaikinTable } from "./table/daikin-table.js";
|
|
@@ -59,6 +61,7 @@ export {
|
|
|
59
61
|
DaikinAccordion,
|
|
60
62
|
DaikinAccordionItem,
|
|
61
63
|
DaikinAvatar,
|
|
64
|
+
DaikinBadge,
|
|
62
65
|
DaikinBreadcrumb,
|
|
63
66
|
DaikinBreadcrumbItem,
|
|
64
67
|
DaikinButton,
|
|
@@ -96,6 +99,7 @@ export {
|
|
|
96
99
|
DaikinRadioGroup,
|
|
97
100
|
DaikinSelect,
|
|
98
101
|
DaikinSlider,
|
|
102
|
+
DaikinStatusMessage,
|
|
99
103
|
DaikinTab,
|
|
100
104
|
DaikinTabPanels,
|
|
101
105
|
DaikinTable,
|
|
@@ -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
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
1
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
2
|
-
import { property } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
8
|
-
import { formatDate,
|
|
9
|
+
import { formatDate, cvaTimestamp } from "../../utils/notification-common.js";
|
|
9
10
|
import "../icon-button/daikin-icon-button.js";
|
|
10
11
|
var __defProp = Object.defineProperty;
|
|
11
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -17,11 +18,90 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
17
18
|
if (kind && result) __defProp(target, key, result);
|
|
18
19
|
return result;
|
|
19
20
|
};
|
|
21
|
+
const cvaContainer = cva(
|
|
22
|
+
[
|
|
23
|
+
"flex",
|
|
24
|
+
"items-center",
|
|
25
|
+
"gap-3",
|
|
26
|
+
"w-full",
|
|
27
|
+
"h-full",
|
|
28
|
+
"text-ddt-color-common-text-primary",
|
|
29
|
+
"bg-ddt-color-common-background-default",
|
|
30
|
+
"p-4",
|
|
31
|
+
"overflow-hidden",
|
|
32
|
+
"font-daikinSerif",
|
|
33
|
+
"transition",
|
|
34
|
+
"box-border",
|
|
35
|
+
"before:size-6",
|
|
36
|
+
"before:flex-none"
|
|
37
|
+
],
|
|
38
|
+
{
|
|
39
|
+
variants: {
|
|
40
|
+
variant: {
|
|
41
|
+
toast: [
|
|
42
|
+
"rounded-lg",
|
|
43
|
+
"border",
|
|
44
|
+
"border-ddt-color-divider",
|
|
45
|
+
"translate-x-[--move-offset-x,0]",
|
|
46
|
+
"translate-y-[--move-offset-y,0]",
|
|
47
|
+
"opacity-[--opacity,1]",
|
|
48
|
+
"[pointer-events:var(--pointer-events,auto)]",
|
|
49
|
+
"[transition-duration:var(--transition-duration,var(--ddc-toast-animation-duration,0ms))]"
|
|
50
|
+
],
|
|
51
|
+
inline: []
|
|
52
|
+
},
|
|
53
|
+
status: {
|
|
54
|
+
positive: [
|
|
55
|
+
"before:text-ddt-color-common-success",
|
|
56
|
+
"before:i-daikin-success"
|
|
57
|
+
],
|
|
58
|
+
negative: [
|
|
59
|
+
"before:text-ddt-color-common-danger-default",
|
|
60
|
+
"before:i-daikin-error"
|
|
61
|
+
],
|
|
62
|
+
warning: [
|
|
63
|
+
"before:text-ddt-color-common-warning",
|
|
64
|
+
"before:i-daikin-warning"
|
|
65
|
+
],
|
|
66
|
+
alarm: ["before:text-ddt-color-common-alarm", "before:i-daikin-alarm"],
|
|
67
|
+
information: [
|
|
68
|
+
"before:text-ddt-color-common-information",
|
|
69
|
+
"before:i-daikin-information"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
const cvaContent = cva(["flex", "items-center", "w-full", "justify-between"], {
|
|
76
|
+
variants: {
|
|
77
|
+
layout: {
|
|
78
|
+
horizontal: ["gap-3", "overflow-hidden"],
|
|
79
|
+
vertical: ["items-stretch", "flex-col", "gap-1"]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const cvaTextContent = cva(["flex"], {
|
|
84
|
+
variants: {
|
|
85
|
+
layout: {
|
|
86
|
+
horizontal: ["flex-row", "gap-3"],
|
|
87
|
+
vertical: ["flex-col", "gap-1"]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const TITLE_CLASS_NAME = cva([
|
|
92
|
+
"slotted:inline-block",
|
|
93
|
+
"font-bold",
|
|
94
|
+
"leading-[130%]",
|
|
95
|
+
"slotted:natural-break"
|
|
96
|
+
])();
|
|
97
|
+
const DESCRIPTION_CLASS_NAME = cva([
|
|
98
|
+
"inline-block",
|
|
99
|
+
"leading-[130%]",
|
|
100
|
+
"natural-break"
|
|
101
|
+
])();
|
|
20
102
|
let DaikinInlineNotification = class extends DDSElement {
|
|
21
103
|
constructor() {
|
|
22
104
|
super(...arguments);
|
|
23
|
-
this.status = "positive";
|
|
24
|
-
this.layout = "horizontal";
|
|
25
105
|
this.closable = false;
|
|
26
106
|
this.timestamp = null;
|
|
27
107
|
}
|
|
@@ -38,8 +118,10 @@ let DaikinInlineNotification = class extends DDSElement {
|
|
|
38
118
|
class=${cvaContainer({ variant: "inline", status: this.status })}
|
|
39
119
|
>
|
|
40
120
|
<div class=${cvaContent({ layout: this.layout })}>
|
|
41
|
-
<
|
|
42
|
-
|
|
121
|
+
<div class=${cvaTextContent({ layout: this.layout })}>
|
|
122
|
+
<slot class=${TITLE_CLASS_NAME} name="title"></slot>
|
|
123
|
+
<slot class=${DESCRIPTION_CLASS_NAME}></slot>
|
|
124
|
+
</div>
|
|
43
125
|
${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
|
|
44
126
|
>${formattedTimestamp}</span
|
|
45
127
|
>` : nothing}
|
|
@@ -70,10 +152,29 @@ DaikinInlineNotification.styles = css`
|
|
|
70
152
|
}
|
|
71
153
|
`;
|
|
72
154
|
__decorateClass([
|
|
73
|
-
property({
|
|
155
|
+
property({
|
|
156
|
+
type: String,
|
|
157
|
+
reflect: true,
|
|
158
|
+
fallbackValue: "positive",
|
|
159
|
+
isAllowedValue: oneOf([
|
|
160
|
+
"positive",
|
|
161
|
+
"negative",
|
|
162
|
+
"warning",
|
|
163
|
+
"alarm",
|
|
164
|
+
"information"
|
|
165
|
+
])
|
|
166
|
+
})
|
|
74
167
|
], DaikinInlineNotification.prototype, "status", 2);
|
|
75
168
|
__decorateClass([
|
|
76
|
-
property({
|
|
169
|
+
property({
|
|
170
|
+
type: String,
|
|
171
|
+
reflect: true,
|
|
172
|
+
fallbackValue: "horizontal",
|
|
173
|
+
isAllowedValue: oneOf([
|
|
174
|
+
"horizontal",
|
|
175
|
+
"vertical"
|
|
176
|
+
])
|
|
177
|
+
})
|
|
77
178
|
], DaikinInlineNotification.prototype, "layout", 2);
|
|
78
179
|
__decorateClass([
|
|
79
180
|
property({ type: Boolean, reflect: true })
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { queryAssignedElements, state } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import "../../base/dds-form-element.js";
|
|
6
|
+
import { property } from "../../base/dds-property.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
10
|
+
import "../status-message/daikin-status-message.js";
|
|
9
11
|
var __defProp = Object.defineProperty;
|
|
10
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
13
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -110,6 +112,25 @@ let DaikinInputGroup = class extends DDSElement {
|
|
|
110
112
|
textareaLimitExceedError: this.textareaLimitExceedError,
|
|
111
113
|
none: ""
|
|
112
114
|
}[helperTextVariant];
|
|
115
|
+
const formatHelperText = (helperTextVariant2, helperText2) => {
|
|
116
|
+
switch (helperTextVariant2) {
|
|
117
|
+
case "error":
|
|
118
|
+
case "textareaLimitExceedError":
|
|
119
|
+
return html`<daikin-status-message
|
|
120
|
+
status="negative"
|
|
121
|
+
status-message-role="alert"
|
|
122
|
+
size="small"
|
|
123
|
+
>
|
|
124
|
+
${helperText2}
|
|
125
|
+
</daikin-status-message>`;
|
|
126
|
+
case "none":
|
|
127
|
+
return nothing;
|
|
128
|
+
default:
|
|
129
|
+
return html`<span class=${cvaHelper({ type: helperTextVariant2 })}>
|
|
130
|
+
${helperText2}
|
|
131
|
+
</span>`;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
113
134
|
return html`<fieldset class="contents" ?disabled=${this.disabled}>
|
|
114
135
|
<label
|
|
115
136
|
class="flex flex-col justify-center gap-2 w-full text-ddt-color-common-text-primary font-daikinSerif"
|
|
@@ -122,12 +143,7 @@ let DaikinInputGroup = class extends DDSElement {
|
|
|
122
143
|
${this.required}
|
|
123
144
|
</span>` : nothing}
|
|
124
145
|
</div>
|
|
125
|
-
|
|
126
|
-
class=${cvaHelper({ type: helperTextVariant })}
|
|
127
|
-
aria-live=${helperTextVariant === "error" ? "polite" : "off"}
|
|
128
|
-
>
|
|
129
|
-
${helperText}
|
|
130
|
-
</span>
|
|
146
|
+
${formatHelperText(helperTextVariant, helperText)}
|
|
131
147
|
<slot
|
|
132
148
|
@slotchange=${this._handleSlotChange}
|
|
133
149
|
@input=${this._handleInput}
|
|
@@ -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 {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import { property } from "lit/decorators.js";
|
|
4
3
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
5
|
import "../../base/dds-form-element.js";
|
|
6
|
+
import { property } from "../../base/dds-property.js";
|
|
7
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
8
|
import "../../base/define.js";
|
|
9
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -20,8 +20,6 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
20
20
|
const LINK_CLASS_NAME = cva([
|
|
21
21
|
"font-daikinSerif",
|
|
22
22
|
"relative",
|
|
23
|
-
"border-b",
|
|
24
|
-
"border-b-current",
|
|
25
23
|
"link-enabled:text-ddt-color-link-text-default",
|
|
26
24
|
"link-enabled:hover:text-ddt-color-link-text-hover",
|
|
27
25
|
"link-enabled:hover:bg-ddt-color-common-surface-brand-hover",
|
|
@@ -33,6 +31,18 @@ const LINK_CLASS_NAME = cva([
|
|
|
33
31
|
"focus-visible:outline-ddt-color-common-border-focus",
|
|
34
32
|
"focus-visible:outline-offset-2"
|
|
35
33
|
])();
|
|
34
|
+
const cvaContent = cva(["leading-[130%]"], {
|
|
35
|
+
variants: {
|
|
36
|
+
noUnderline: {
|
|
37
|
+
true: [],
|
|
38
|
+
false: ["border-b", "border-b-current"]
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
small: ["text-sm"],
|
|
42
|
+
medium: ["text-base"]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
36
46
|
let DaikinLink = class extends DDSElement {
|
|
37
47
|
constructor() {
|
|
38
48
|
super(...arguments);
|
|
@@ -40,6 +50,8 @@ let DaikinLink = class extends DDSElement {
|
|
|
40
50
|
this.target = null;
|
|
41
51
|
this.disabled = false;
|
|
42
52
|
this.showVisited = false;
|
|
53
|
+
this.size = "medium";
|
|
54
|
+
this.noUnderline = false;
|
|
43
55
|
}
|
|
44
56
|
render() {
|
|
45
57
|
return html`<a
|
|
@@ -50,7 +62,9 @@ let DaikinLink = class extends DDSElement {
|
|
|
50
62
|
><span class="inline-flex mr-[0.125rem] align-sub">
|
|
51
63
|
<slot name="left-icon" class="icon-size-4"
|
|
52
64
|
><span class="-mr-[0.125rem]"></span></slot></span
|
|
53
|
-
><
|
|
65
|
+
><span
|
|
66
|
+
class=${cvaContent({ noUnderline: this.noUnderline, size: this.size })}
|
|
67
|
+
><slot></slot></span
|
|
54
68
|
><span class="inline-flex ml-[0.125rem] align-sub"
|
|
55
69
|
><slot name="right-icon" class="icon-size-4"
|
|
56
70
|
><span class="-ml-[0.125rem]"></span></slot></span
|
|
@@ -86,6 +100,12 @@ __decorateClass([
|
|
|
86
100
|
__decorateClass([
|
|
87
101
|
property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
88
102
|
], DaikinLink.prototype, "showVisited", 2);
|
|
103
|
+
__decorateClass([
|
|
104
|
+
property({ type: String, reflect: true })
|
|
105
|
+
], DaikinLink.prototype, "size", 2);
|
|
106
|
+
__decorateClass([
|
|
107
|
+
property({ type: Boolean, reflect: true, attribute: "no-underline" })
|
|
108
|
+
], DaikinLink.prototype, "noUnderline", 2);
|
|
89
109
|
DaikinLink = __decorateClass([
|
|
90
110
|
ddsElement("daikin-link")
|
|
91
111
|
], DaikinLink);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
|
-
import {
|
|
2
|
+
import { queryAssignedElements } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import { property } from "../../base/dds-property.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -61,7 +62,10 @@ let DaikinList = class extends DDSElement {
|
|
|
61
62
|
nextItem.focus();
|
|
62
63
|
}
|
|
63
64
|
render() {
|
|
64
|
-
return html`<div
|
|
65
|
+
return html`<div
|
|
66
|
+
role=${this.listRole}
|
|
67
|
+
aria-label=${this.listRole === "menu" ? "Menu" : "List"}
|
|
68
|
+
>
|
|
65
69
|
<slot
|
|
66
70
|
@keydown=${this.handleKeyDown}
|
|
67
71
|
@slotchange=${this._handleSlotChange}
|
|
@@ -19,6 +19,8 @@ import { DDSElement } from "../../base/index.js";
|
|
|
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
|
/**
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
6
|
import "../../base/dds-form-element.js";
|
|
7
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -52,7 +53,7 @@ const WRAPPER = cva([
|
|
|
52
53
|
"p-3",
|
|
53
54
|
"text-left",
|
|
54
55
|
"relative",
|
|
55
|
-
"break
|
|
56
|
+
"natural-break"
|
|
56
57
|
])();
|
|
57
58
|
const cvaIcon = cva(["icon-size-6", "slotted:flex-none"], {
|
|
58
59
|
variants: {
|
|
@@ -69,7 +70,6 @@ const cvaIcon = cva(["icon-size-6", "slotted:flex-none"], {
|
|
|
69
70
|
let DaikinListItem = class extends DDSElement {
|
|
70
71
|
constructor() {
|
|
71
72
|
super();
|
|
72
|
-
this.type = "button";
|
|
73
73
|
this.listItemRole = "listitem";
|
|
74
74
|
this.href = null;
|
|
75
75
|
this.disabled = false;
|
|
@@ -101,10 +101,16 @@ let DaikinListItem = class extends DDSElement {
|
|
|
101
101
|
<slot class=${cvaContent({ disabled: this.disabled })}></slot>
|
|
102
102
|
</span>`;
|
|
103
103
|
const list = {
|
|
104
|
-
button: () => html`<button
|
|
104
|
+
button: () => html`<button
|
|
105
|
+
type="button"
|
|
106
|
+
part="item"
|
|
107
|
+
class=${INNER_CN}
|
|
108
|
+
?disabled=${disabled}
|
|
109
|
+
>
|
|
105
110
|
${content}
|
|
106
111
|
</button>`,
|
|
107
112
|
link: () => html`<a
|
|
113
|
+
part="item"
|
|
108
114
|
class=${INNER_CN}
|
|
109
115
|
href=${ifDefined(!disabled ? this.href ?? void 0 : void 0)}
|
|
110
116
|
role=${ifDefined(disabled ? "link" : void 0)}
|
|
@@ -112,7 +118,7 @@ let DaikinListItem = class extends DDSElement {
|
|
|
112
118
|
>
|
|
113
119
|
${content}
|
|
114
120
|
</a>`,
|
|
115
|
-
text: () => html`<span class=${INNER_CN}>${content}</span>`
|
|
121
|
+
text: () => html`<span part="item" class=${INNER_CN}>${content}</span>`
|
|
116
122
|
}[this.type]();
|
|
117
123
|
return html`<div class=${WRAPPER} role=${this.listItemRole}>
|
|
118
124
|
${list}
|
|
@@ -149,7 +155,12 @@ DaikinListItem.styles = css`
|
|
|
149
155
|
}
|
|
150
156
|
`;
|
|
151
157
|
__decorateClass([
|
|
152
|
-
property({
|
|
158
|
+
property({
|
|
159
|
+
type: String,
|
|
160
|
+
reflect: true,
|
|
161
|
+
fallbackValue: "button",
|
|
162
|
+
isAllowedValue: oneOf(["button", "link", "text"])
|
|
163
|
+
})
|
|
153
164
|
], DaikinListItem.prototype, "type", 2);
|
|
154
165
|
__decorateClass([
|
|
155
166
|
property({ type: String, attribute: false })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import { property } from "lit/decorators.js";
|
|
4
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
6
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
7
|
import "../../base/define.js";
|
|
8
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -83,7 +83,12 @@ DaikinLoading.styles = css`
|
|
|
83
83
|
}
|
|
84
84
|
`;
|
|
85
85
|
__decorateClass([
|
|
86
|
-
property({
|
|
86
|
+
property({
|
|
87
|
+
type: String,
|
|
88
|
+
reflect: true,
|
|
89
|
+
fallbackValue: "medium",
|
|
90
|
+
isAllowedValue: oneOf(["small", "medium"])
|
|
91
|
+
})
|
|
87
92
|
], DaikinLoading.prototype, "size", 2);
|
|
88
93
|
__decorateClass([
|
|
89
94
|
property({ type: Boolean, reflect: true })
|
|
@@ -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;
|