@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 { queryAssignedElements,
|
|
3
|
+
import { queryAssignedElements, state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
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";
|
|
@@ -29,8 +30,6 @@ const cvaRadioGroup = cva(["size-full", "flex", "gap-x-8", "gap-y-2"], {
|
|
|
29
30
|
let DaikinRadioGroup = class extends DDSElement {
|
|
30
31
|
constructor() {
|
|
31
32
|
super(...arguments);
|
|
32
|
-
this.orientation = "vertical";
|
|
33
|
-
this.name = "";
|
|
34
33
|
this.value = "";
|
|
35
34
|
this.required = false;
|
|
36
35
|
this.disabled = false;
|
|
@@ -49,7 +48,7 @@ let DaikinRadioGroup = class extends DDSElement {
|
|
|
49
48
|
const selectedRadio = radios.find((radio) => radio.value === this.value);
|
|
50
49
|
const firstEnabledRadio = radios.find((radio) => !radio.disabled);
|
|
51
50
|
for (const daikinRadio of this._radios) {
|
|
52
|
-
if (this.name) {
|
|
51
|
+
if (this.getBackingProperty("name") != null) {
|
|
53
52
|
daikinRadio.name = this.name;
|
|
54
53
|
}
|
|
55
54
|
const isSelected = daikinRadio === selectedRadio;
|
|
@@ -142,13 +141,21 @@ __decorateClass([
|
|
|
142
141
|
queryAssignedElements({ selector: "daikin-radio" })
|
|
143
142
|
], DaikinRadioGroup.prototype, "_radios", 2);
|
|
144
143
|
__decorateClass([
|
|
145
|
-
property({
|
|
144
|
+
property({
|
|
145
|
+
type: String,
|
|
146
|
+
reflect: true,
|
|
147
|
+
fallbackValue: "vertical",
|
|
148
|
+
isAllowedValue: oneOf([
|
|
149
|
+
"horizontal",
|
|
150
|
+
"vertical"
|
|
151
|
+
])
|
|
152
|
+
})
|
|
146
153
|
], DaikinRadioGroup.prototype, "orientation", 2);
|
|
147
154
|
__decorateClass([
|
|
148
|
-
property({ type: String, reflect: true })
|
|
155
|
+
property({ type: String, reflect: true, fallbackValue: "" })
|
|
149
156
|
], DaikinRadioGroup.prototype, "name", 2);
|
|
150
157
|
__decorateClass([
|
|
151
|
-
property({ type: String
|
|
158
|
+
property({ type: String })
|
|
152
159
|
], DaikinRadioGroup.prototype, "value", 2);
|
|
153
160
|
__decorateClass([
|
|
154
161
|
property({ type: Boolean, reflect: true })
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, 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";
|
|
@@ -4,6 +4,13 @@ import { DDSFormElement } from "../../base/index.js";
|
|
|
4
4
|
* The slider component is a control that allows users to input numerical values within a specific range intuitively.
|
|
5
5
|
* It functions similarly to the HTML `<input type="range">` tag, allows you to set the range of values.
|
|
6
6
|
*
|
|
7
|
+
* @attr form - The form the component belongs to.
|
|
8
|
+
* @attr name - The form name, submitted as a name/value pair when submitting the form.
|
|
9
|
+
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
|
|
10
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
11
|
+
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
|
|
12
|
+
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
|
|
13
|
+
*
|
|
7
14
|
* @fires change - A retargeted event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<input type="range">` element.
|
|
8
15
|
* @fires input - A retargeted event of a [input event](https://developer.mozilla.org/en-US/docs/Web/API/Element/input_event).
|
|
9
16
|
*
|
|
@@ -21,14 +28,20 @@ export declare class DaikinSlider extends DDSFormElement {
|
|
|
21
28
|
static readonly styles: import('lit').CSSResult;
|
|
22
29
|
/**
|
|
23
30
|
* The smallest value in the range of permitted values.
|
|
31
|
+
*
|
|
32
|
+
* @default "0"
|
|
24
33
|
*/
|
|
25
34
|
min: string;
|
|
26
35
|
/**
|
|
27
36
|
* The largest value in the range of permitted values.
|
|
37
|
+
*
|
|
38
|
+
* @default "100"
|
|
28
39
|
*/
|
|
29
40
|
max: string;
|
|
30
41
|
/**
|
|
31
42
|
* The step attribute is a number that specifies the granularity that the value must adhere to.
|
|
43
|
+
*
|
|
44
|
+
* @default "1"
|
|
32
45
|
*/
|
|
33
46
|
step: string;
|
|
34
47
|
/**
|
|
@@ -38,6 +51,8 @@ export declare class DaikinSlider extends DDSFormElement {
|
|
|
38
51
|
/**
|
|
39
52
|
* The aria-label of the slider.
|
|
40
53
|
* You should specify this value based on the slider's use case, such as "air conditioner temperature".
|
|
54
|
+
*
|
|
55
|
+
* @default "slider"
|
|
41
56
|
*/
|
|
42
57
|
sliderAriaLabel: string;
|
|
43
58
|
constructor();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { state } from "lit/decorators.js";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
6
|
import { DDSFormElement } from "../../base/dds-form-element.js";
|
|
7
|
+
import { property } 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";
|
|
@@ -69,11 +70,7 @@ const cvaSliderTrack = cva(
|
|
|
69
70
|
let DaikinSlider = class extends DDSFormElement {
|
|
70
71
|
constructor() {
|
|
71
72
|
super();
|
|
72
|
-
this.min = "1";
|
|
73
|
-
this.max = "100";
|
|
74
|
-
this.step = "1";
|
|
75
73
|
this.disabled = false;
|
|
76
|
-
this.sliderAriaLabel = "slider";
|
|
77
74
|
this._dragging = false;
|
|
78
75
|
this._sliderRef = createRef();
|
|
79
76
|
this._thumbRef = createRef();
|
|
@@ -242,19 +239,24 @@ DaikinSlider.styles = css`
|
|
|
242
239
|
}
|
|
243
240
|
`;
|
|
244
241
|
__decorateClass([
|
|
245
|
-
property({ type: String, reflect: true })
|
|
242
|
+
property({ type: String, reflect: true, fallbackValue: "0" })
|
|
246
243
|
], DaikinSlider.prototype, "min", 2);
|
|
247
244
|
__decorateClass([
|
|
248
|
-
property({ type: String, reflect: true })
|
|
245
|
+
property({ type: String, reflect: true, fallbackValue: "100" })
|
|
249
246
|
], DaikinSlider.prototype, "max", 2);
|
|
250
247
|
__decorateClass([
|
|
251
|
-
property({ type: String, reflect: true })
|
|
248
|
+
property({ type: String, reflect: true, fallbackValue: "1" })
|
|
252
249
|
], DaikinSlider.prototype, "step", 2);
|
|
253
250
|
__decorateClass([
|
|
254
251
|
property({ type: Boolean, reflect: true })
|
|
255
252
|
], DaikinSlider.prototype, "disabled", 2);
|
|
256
253
|
__decorateClass([
|
|
257
|
-
property({
|
|
254
|
+
property({
|
|
255
|
+
type: String,
|
|
256
|
+
reflect: true,
|
|
257
|
+
attribute: "slider-aria-label",
|
|
258
|
+
fallbackValue: "slider"
|
|
259
|
+
})
|
|
258
260
|
], DaikinSlider.prototype, "sliderAriaLabel", 2);
|
|
259
261
|
__decorateClass([
|
|
260
262
|
state()
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A status message is a concise UI component for displaying status feedback, notifications, or contextual information to users. It typically indicates success, warning, error, or other states, helping users quickly understand the current state or important updates in the interface.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
*
|
|
7
|
+
* ```js
|
|
8
|
+
* import "@daikin-oss/design-system-web-components/components/status-message/index.js";
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* ```html
|
|
12
|
+
* <daikin-status-message>description</daikin-status-message>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class DaikinStatusMessage extends DDSElement {
|
|
16
|
+
static readonly styles: import('lit').CSSResult;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the size of the status message component.
|
|
19
|
+
* - "small": Compact status message style.
|
|
20
|
+
* - "medium": Default status message style.
|
|
21
|
+
*
|
|
22
|
+
* @default "medium"
|
|
23
|
+
*/
|
|
24
|
+
size: "small" | "medium";
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the status of the message.
|
|
27
|
+
* - "neutral": Neutral or incomplete status.
|
|
28
|
+
* - "positive": Success or confirmation status.
|
|
29
|
+
* - "negative": Error or failure status.
|
|
30
|
+
* - "warning": Warning or caution status.
|
|
31
|
+
*
|
|
32
|
+
* @default "positive"
|
|
33
|
+
*/
|
|
34
|
+
status: "neutral" | "positive" | "negative" | "warning";
|
|
35
|
+
/**
|
|
36
|
+
* Sets the ARIA role of the status message component.
|
|
37
|
+
* - "[alert](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/alert_role)": Indicates an important message that requires user attention.
|
|
38
|
+
* - "[status](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/status_role)": Indicates an advisory message that provides feedback or updates.
|
|
39
|
+
* - `null` (default): No specific ARIA role, meaning the message content will not be announced automatically when it changes.
|
|
40
|
+
*/
|
|
41
|
+
statusMessageRole: "alert" | "status" | null;
|
|
42
|
+
/**
|
|
43
|
+
* Provides an alternative text for screen readers that is read by assistive technologies but not displayed visually.
|
|
44
|
+
*
|
|
45
|
+
* e.g. If you use the message component for a password validation status (ensure the statusMessageRole is `status`), you might do the following:
|
|
46
|
+
* When the user inputs an 8-character password, set the status to `positive` and update the screenReaderText to "Met,". This allows the screen reader to announce the full updated message, such as "Met, minimum 8 characters".
|
|
47
|
+
*/
|
|
48
|
+
screenReaderText: string | null;
|
|
49
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
"daikin-status-message": DaikinStatusMessage;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import "../../base/dds-form-element.js";
|
|
6
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
7
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
8
|
+
import "../../base/define.js";
|
|
9
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
13
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators[i])
|
|
16
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
|
+
if (kind && result) __defProp(target, key, result);
|
|
18
|
+
return result;
|
|
19
|
+
};
|
|
20
|
+
const cvaWrapper = cva(
|
|
21
|
+
[
|
|
22
|
+
"flex",
|
|
23
|
+
"items-center",
|
|
24
|
+
"size-full",
|
|
25
|
+
"font-daikinSerif",
|
|
26
|
+
"font-normal",
|
|
27
|
+
"leading-[130%]",
|
|
28
|
+
"gap-1",
|
|
29
|
+
"natural-break",
|
|
30
|
+
"before:content-['']",
|
|
31
|
+
"before:flex-none"
|
|
32
|
+
],
|
|
33
|
+
{
|
|
34
|
+
variants: {
|
|
35
|
+
size: {
|
|
36
|
+
small: ["before:size-4", "text-sm"],
|
|
37
|
+
medium: ["before:size-6", "text-base"]
|
|
38
|
+
},
|
|
39
|
+
status: {
|
|
40
|
+
neutral: [
|
|
41
|
+
"text-ddt-color-common-text-primary",
|
|
42
|
+
"before:i-daikin-neutral",
|
|
43
|
+
"before:text-ddt-color-common-disabled"
|
|
44
|
+
],
|
|
45
|
+
positive: [
|
|
46
|
+
"text-ddt-color-common-text-primary",
|
|
47
|
+
"before:i-daikin-success",
|
|
48
|
+
"before:text-ddt-color-common-success"
|
|
49
|
+
],
|
|
50
|
+
negative: [
|
|
51
|
+
"text-ddt-color-common-danger-default",
|
|
52
|
+
"before:i-daikin-error",
|
|
53
|
+
"before:text-ddt-color-common-danger-default"
|
|
54
|
+
],
|
|
55
|
+
warning: [
|
|
56
|
+
"text-ddt-color-common-text-primary",
|
|
57
|
+
"before:i-daikin-warning",
|
|
58
|
+
"before:text-ddt-color-common-warning"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
let DaikinStatusMessage = class extends DDSElement {
|
|
65
|
+
constructor() {
|
|
66
|
+
super(...arguments);
|
|
67
|
+
this.statusMessageRole = null;
|
|
68
|
+
this.screenReaderText = null;
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return html`
|
|
72
|
+
<div
|
|
73
|
+
class=${cvaWrapper({ status: this.status, size: this.size })}
|
|
74
|
+
role=${ifDefined(this.statusMessageRole ?? void 0)}
|
|
75
|
+
>
|
|
76
|
+
${this.screenReaderText ? html`<span class="sr-only">${this.screenReaderText}</span>` : nothing}
|
|
77
|
+
<span>
|
|
78
|
+
<slot></slot>
|
|
79
|
+
</span>
|
|
80
|
+
</div>
|
|
81
|
+
`;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
DaikinStatusMessage.styles = css`
|
|
85
|
+
${unsafeCSS(tailwindStyles)}
|
|
86
|
+
|
|
87
|
+
:host {
|
|
88
|
+
display: flex;
|
|
89
|
+
width: 100%;
|
|
90
|
+
}
|
|
91
|
+
`;
|
|
92
|
+
__decorateClass([
|
|
93
|
+
property({
|
|
94
|
+
type: String,
|
|
95
|
+
reflect: true,
|
|
96
|
+
fallbackValue: "medium",
|
|
97
|
+
isAllowedValue: oneOf(["small", "medium"])
|
|
98
|
+
})
|
|
99
|
+
], DaikinStatusMessage.prototype, "size", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
property({
|
|
102
|
+
type: String,
|
|
103
|
+
reflect: true,
|
|
104
|
+
fallbackValue: "positive",
|
|
105
|
+
isAllowedValue: oneOf([
|
|
106
|
+
"neutral",
|
|
107
|
+
"positive",
|
|
108
|
+
"negative",
|
|
109
|
+
"warning"
|
|
110
|
+
])
|
|
111
|
+
})
|
|
112
|
+
], DaikinStatusMessage.prototype, "status", 2);
|
|
113
|
+
__decorateClass([
|
|
114
|
+
property({ type: String, reflect: true, attribute: "status-message-role" })
|
|
115
|
+
], DaikinStatusMessage.prototype, "statusMessageRole", 2);
|
|
116
|
+
__decorateClass([
|
|
117
|
+
property({ type: String, reflect: true, attribute: "screen-reader-text" })
|
|
118
|
+
], DaikinStatusMessage.prototype, "screenReaderText", 2);
|
|
119
|
+
DaikinStatusMessage = __decorateClass([
|
|
120
|
+
ddsElement("daikin-status-message")
|
|
121
|
+
], DaikinStatusMessage);
|
|
122
|
+
export {
|
|
123
|
+
DaikinStatusMessage
|
|
124
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-status-message.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
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 { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import "../../base/dds-form-element.js";
|
|
6
|
+
import { property, oneOf } 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";
|
|
@@ -122,13 +123,18 @@ DaikinTab.styles = css`
|
|
|
122
123
|
}
|
|
123
124
|
`;
|
|
124
125
|
__decorateClass([
|
|
125
|
-
property({ type: String
|
|
126
|
+
property({ type: String })
|
|
126
127
|
], DaikinTab.prototype, "value", 2);
|
|
127
128
|
__decorateClass([
|
|
128
129
|
property({ type: Boolean, reflect: true })
|
|
129
130
|
], DaikinTab.prototype, "disabled", 2);
|
|
130
131
|
__decorateClass([
|
|
131
|
-
property({
|
|
132
|
+
property({
|
|
133
|
+
type: String,
|
|
134
|
+
reflect: true,
|
|
135
|
+
fallbackValue: "stretch",
|
|
136
|
+
isAllowedValue: oneOf(["stretch", "fit"])
|
|
137
|
+
})
|
|
132
138
|
], DaikinTab.prototype, "sizing", 2);
|
|
133
139
|
__decorateClass([
|
|
134
140
|
property({ type: Boolean, reflect: true })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
2
|
-
import { property } from "lit/decorators.js";
|
|
3
2
|
import { repeat } from "lit/directives/repeat.js";
|
|
4
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import { property } 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";
|
|
@@ -40,7 +40,7 @@ DaikinTabPanels.styles = css`
|
|
|
40
40
|
${unsafeCSS(tailwindStyles)}
|
|
41
41
|
`;
|
|
42
42
|
__decorateClass([
|
|
43
|
-
property({ type: String
|
|
43
|
+
property({ type: String })
|
|
44
44
|
], DaikinTabPanels.prototype, "value", 2);
|
|
45
45
|
__decorateClass([
|
|
46
46
|
property({
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { repeat } from "lit/directives/repeat.js";
|
|
7
7
|
import { DDSElement } from "../../base/dds-element.js";
|
|
8
8
|
import "../../base/dds-form-element.js";
|
|
9
|
+
import { property } from "../../base/dds-property.js";
|
|
9
10
|
import { ddsElement } from "../../base/decorators.js";
|
|
10
11
|
import "../../base/define.js";
|
|
11
12
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -36,12 +37,12 @@ const cvaRow = cva(
|
|
|
36
37
|
variants: {
|
|
37
38
|
selected: {
|
|
38
39
|
false: [
|
|
39
|
-
"group-[:not([data-hover])]:
|
|
40
|
+
"group-[:not([data-hover])]:hover:bg-ddt-color-common-surface-hover",
|
|
40
41
|
"data-[hover]:bg-ddt-color-common-surface-hover"
|
|
41
42
|
],
|
|
42
43
|
true: [
|
|
43
44
|
"bg-ddt-color-common-surface-selected-default",
|
|
44
|
-
"group-[:not([data-hover])]:
|
|
45
|
+
"group-[:not([data-hover])]:hover:bg-ddt-color-common-surface-selected-hover",
|
|
45
46
|
"data-[hover]:bg-ddt-color-common-surface-selected-hover"
|
|
46
47
|
]
|
|
47
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DDSElement } from "../../base/index.js";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
3
3
|
declare const cvaCell: (props?: ({
|
|
4
|
-
alignment?: "
|
|
4
|
+
alignment?: "left" | "right" | "center" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
type TableCellVariantProps = MergeVariantProps<typeof cvaCell>;
|
|
7
7
|
/**
|
|
@@ -31,8 +31,10 @@ type TableCellVariantProps = MergeVariantProps<typeof cvaCell>;
|
|
|
31
31
|
export declare class DaikinTableCell extends DDSElement {
|
|
32
32
|
static readonly styles: import('lit').CSSResult;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* Alignment of cell contents.
|
|
35
|
+
* Controlled by `daikin-table` component.
|
|
36
|
+
*
|
|
37
|
+
* @default "left"
|
|
36
38
|
*/
|
|
37
39
|
alignment: TableCellVariantProps["alignment"];
|
|
38
40
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -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";
|
|
@@ -27,7 +27,7 @@ const cvaCell = cva(
|
|
|
27
27
|
"px-4",
|
|
28
28
|
"py-3",
|
|
29
29
|
"text-ddt-color-common-text-primary",
|
|
30
|
-
"break
|
|
30
|
+
"natural-break"
|
|
31
31
|
],
|
|
32
32
|
{
|
|
33
33
|
variants: {
|
|
@@ -40,10 +40,6 @@ const cvaCell = cva(
|
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
let DaikinTableCell = class extends DDSElement {
|
|
43
|
-
constructor() {
|
|
44
|
-
super(...arguments);
|
|
45
|
-
this.alignment = "left";
|
|
46
|
-
}
|
|
47
43
|
render() {
|
|
48
44
|
return html`<span class=${cvaCell({ alignment: this.alignment })}>
|
|
49
45
|
<slot></slot>
|
|
@@ -64,7 +60,16 @@ DaikinTableCell.styles = css`
|
|
|
64
60
|
}
|
|
65
61
|
`;
|
|
66
62
|
__decorateClass([
|
|
67
|
-
property({
|
|
63
|
+
property({
|
|
64
|
+
type: String,
|
|
65
|
+
reflect: true,
|
|
66
|
+
fallbackValue: "left",
|
|
67
|
+
isAllowedValue: oneOf([
|
|
68
|
+
"left",
|
|
69
|
+
"right",
|
|
70
|
+
"center"
|
|
71
|
+
])
|
|
72
|
+
})
|
|
68
73
|
], DaikinTableCell.prototype, "alignment", 2);
|
|
69
74
|
DaikinTableCell = __decorateClass([
|
|
70
75
|
ddsElement("daikin-table-cell")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DDSElement } from "../../base/index.js";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
3
3
|
declare const cvaHeaderCell: (props?: ({
|
|
4
|
-
alignment?: "
|
|
4
|
+
alignment?: "left" | "right" | "center" | null | undefined;
|
|
5
5
|
sortable?: boolean | null | undefined;
|
|
6
6
|
order?: "desc" | "asc" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -37,18 +37,22 @@ export declare class DaikinTableHeaderCell extends DDSElement {
|
|
|
37
37
|
static readonly styles: import('lit').CSSResult;
|
|
38
38
|
/**
|
|
39
39
|
* Alignment of cell contents.
|
|
40
|
+
* Controlled by `daikin-table` component.
|
|
41
|
+
*
|
|
42
|
+
* @default "left"
|
|
40
43
|
*/
|
|
41
44
|
alignment: TableHeaderCellVariantProps["alignment"];
|
|
42
45
|
/**
|
|
43
46
|
* Whether to display as a sortable column or not.
|
|
44
47
|
* When set to `true`, it becomes clickable and the sort icon is displayed on the right.
|
|
45
48
|
* It also makes the component emit the `change-sort` event when clicked.
|
|
49
|
+
* Controlled by `daikin-table` component.
|
|
46
50
|
*/
|
|
47
51
|
sortable: boolean;
|
|
48
52
|
/**
|
|
49
53
|
* The current sort order of the column.
|
|
50
54
|
* Can be "asc", "desc", or null if not sorted.
|
|
51
|
-
* Controlled by `daikin-table
|
|
55
|
+
* Controlled by `daikin-table` component.
|
|
52
56
|
*/
|
|
53
57
|
order: TableHeaderCellVariantProps["order"] | null;
|
|
54
58
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -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";
|
|
@@ -75,7 +75,6 @@ const cvaHeaderCell = cva(
|
|
|
75
75
|
let DaikinTableHeaderCell = class extends DDSElement {
|
|
76
76
|
constructor() {
|
|
77
77
|
super(...arguments);
|
|
78
|
-
this.alignment = "left";
|
|
79
78
|
this.sortable = false;
|
|
80
79
|
this.order = null;
|
|
81
80
|
}
|
|
@@ -106,7 +105,16 @@ DaikinTableHeaderCell.styles = css`
|
|
|
106
105
|
}
|
|
107
106
|
`;
|
|
108
107
|
__decorateClass([
|
|
109
|
-
property({
|
|
108
|
+
property({
|
|
109
|
+
type: String,
|
|
110
|
+
reflect: true,
|
|
111
|
+
fallbackValue: "left",
|
|
112
|
+
isAllowedValue: oneOf([
|
|
113
|
+
"left",
|
|
114
|
+
"right",
|
|
115
|
+
"center"
|
|
116
|
+
])
|
|
117
|
+
})
|
|
110
118
|
], DaikinTableHeaderCell.prototype, "alignment", 2);
|
|
111
119
|
__decorateClass([
|
|
112
120
|
property({ type: Boolean, reflect: true })
|
|
@@ -1,11 +1,13 @@
|
|
|
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, 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
9
|
import { scrollIntoViewOnlyParent } from "../../utils/scroller.js";
|
|
10
|
+
import "../tab/daikin-tab.js";
|
|
9
11
|
var __defProp = Object.defineProperty;
|
|
10
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
13
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -20,7 +22,6 @@ let DaikinTabs = class extends DDSElement {
|
|
|
20
22
|
constructor() {
|
|
21
23
|
super(...arguments);
|
|
22
24
|
this.value = "";
|
|
23
|
-
this.sizing = "stretch";
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Emits `beforechange` event if necessary and returns whether we should proceed.
|
|
@@ -208,10 +209,15 @@ DaikinTabs.styles = css`
|
|
|
208
209
|
}
|
|
209
210
|
`;
|
|
210
211
|
__decorateClass([
|
|
211
|
-
property({ type: String
|
|
212
|
+
property({ type: String })
|
|
212
213
|
], DaikinTabs.prototype, "value", 2);
|
|
213
214
|
__decorateClass([
|
|
214
|
-
property({
|
|
215
|
+
property({
|
|
216
|
+
type: String,
|
|
217
|
+
reflect: true,
|
|
218
|
+
fallbackValue: "stretch",
|
|
219
|
+
isAllowedValue: oneOf(["stretch", "fit"])
|
|
220
|
+
})
|
|
215
221
|
], DaikinTabs.prototype, "sizing", 2);
|
|
216
222
|
__decorateClass([
|
|
217
223
|
queryAssignedElements({ selector: "daikin-tab" })
|
|
@@ -10,6 +10,13 @@ import { DaikinInputGroup } from "../input-group/index.js";
|
|
|
10
10
|
* - `daikin-text-area` (can be used solely)
|
|
11
11
|
* - `daikin-input-group` > `daikin-text-area`
|
|
12
12
|
*
|
|
13
|
+
* @attr form - The form the component belongs to.
|
|
14
|
+
* @attr name - The form name, submitted as a name/value pair when submitting the form.
|
|
15
|
+
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
|
|
16
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
17
|
+
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
|
|
18
|
+
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
|
|
19
|
+
*
|
|
13
20
|
* @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<textarea>` element.
|
|
14
21
|
* @fires input - A retargeted event of a [input event](https://developer.mozilla.org/en-US/docs/Web/API/Element/input_event).
|
|
15
22
|
*
|
|
@@ -29,7 +36,7 @@ export declare class DaikinTextArea extends DDSFormElement {
|
|
|
29
36
|
/**
|
|
30
37
|
* Placeholder text.
|
|
31
38
|
*/
|
|
32
|
-
placeholder: string
|
|
39
|
+
placeholder: string;
|
|
33
40
|
/**
|
|
34
41
|
* Whether the text area is disabled.
|
|
35
42
|
*/
|
|
@@ -49,7 +56,7 @@ export declare class DaikinTextArea extends DDSFormElement {
|
|
|
49
56
|
/**
|
|
50
57
|
* Value of `autocomplete` attribute of the internal `<textarea>`.
|
|
51
58
|
*/
|
|
52
|
-
autocomplete
|
|
59
|
+
autocomplete: HTMLInputElement["autocomplete"] | "";
|
|
53
60
|
/**
|
|
54
61
|
* Whether to allow resizing of the text area.
|
|
55
62
|
*/
|