@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
|
@@ -21,15 +21,17 @@ export declare class DaikinCalendar extends DDSElement {
|
|
|
21
21
|
/**
|
|
22
22
|
* The current value of the input, submitted as a name/value pair with form data.
|
|
23
23
|
*/
|
|
24
|
-
value: string
|
|
24
|
+
value: string;
|
|
25
25
|
/**
|
|
26
26
|
* The minimum date.
|
|
27
|
-
*
|
|
27
|
+
*
|
|
28
|
+
* @default "1900-01-01"
|
|
28
29
|
*/
|
|
29
30
|
min: string;
|
|
30
31
|
/**
|
|
31
32
|
* The maximum date.
|
|
32
|
-
*
|
|
33
|
+
*
|
|
34
|
+
* @default "2099-12-31"
|
|
33
35
|
*/
|
|
34
36
|
max: string;
|
|
35
37
|
/**
|
|
@@ -46,6 +48,15 @@ export declare class DaikinCalendar extends DDSElement {
|
|
|
46
48
|
* Intended for use only by `daikin-date-picker`.
|
|
47
49
|
*/
|
|
48
50
|
view: "year" | "month" | "day";
|
|
51
|
+
/**
|
|
52
|
+
* The date that was last focused.
|
|
53
|
+
* Used to preserve focus when tabbing out and back in.
|
|
54
|
+
*/
|
|
55
|
+
private _lastFocusedDate;
|
|
56
|
+
/**
|
|
57
|
+
* The date to be focused.
|
|
58
|
+
* Used to set focus on a date that is not in the current view (year and month).
|
|
59
|
+
*/
|
|
49
60
|
private _dateToBeFocused;
|
|
50
61
|
private get _value();
|
|
51
62
|
private get _min();
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html, nothing } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { state } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
7
|
import "../../base/dds-form-element.js";
|
|
8
|
+
import { property } from "../../base/dds-property.js";
|
|
8
9
|
import { ddsElement } from "../../base/decorators.js";
|
|
9
10
|
import "../../base/define.js";
|
|
10
11
|
import tailwindStyles from "../../tailwind.css.js";
|
|
11
|
-
import { tryParseDateFromProperty, parseDateFromProperty, cloneDate, isMonthOutOfRange, getDateByMonthOffsetClamped, formatDateForProperty, clampDate, isSameYearMonth, createDateClamped, calcWeeksOnCalendar, isDateOutOfRange, cvaIconButton, normalizeDate, DEFAULT_MIN_DATE, DEFAULT_MAX_DATE } from "../../utils/calendar-common.js";
|
|
12
|
+
import { tryParseDateFromProperty, parseDateFromProperty, cloneDate, isMonthOutOfRange, getDateByMonthOffsetClamped, formatDateForProperty, clampDate, isSameYearMonth, createDateClamped, calcWeeksOnCalendar, toFirstDayOfMonth, isDateOutOfRange, cvaIconButton, normalizeDate, DEFAULT_MIN_DATE, DEFAULT_MAX_DATE } from "../../utils/calendar-common.js";
|
|
12
13
|
import { scrollIntoViewOnlyParent } from "../../utils/scroller.js";
|
|
13
14
|
import "../icon-button/daikin-icon-button.js";
|
|
14
15
|
var __defProp = Object.defineProperty;
|
|
@@ -124,16 +125,15 @@ function getNextFocusDateByKey(date, event) {
|
|
|
124
125
|
let DaikinCalendar = class extends DDSElement {
|
|
125
126
|
constructor() {
|
|
126
127
|
super(...arguments);
|
|
127
|
-
this.value =
|
|
128
|
-
this.min = "1900-01-01";
|
|
129
|
-
this.max = "2099-12-31";
|
|
128
|
+
this.value = "";
|
|
130
129
|
this.defaultValue = null;
|
|
131
130
|
this.view = "day";
|
|
131
|
+
this._lastFocusedDate = null;
|
|
132
132
|
this._dateToBeFocused = null;
|
|
133
133
|
this._viewDate = getToday();
|
|
134
134
|
}
|
|
135
135
|
get _value() {
|
|
136
|
-
return tryParseDateFromProperty(this.value
|
|
136
|
+
return tryParseDateFromProperty(this.value);
|
|
137
137
|
}
|
|
138
138
|
get _min() {
|
|
139
139
|
return tryParseDateFromProperty(this.min) ?? parseDateFromProperty(DEFAULT_MIN_DATE);
|
|
@@ -175,6 +175,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
175
175
|
}
|
|
176
176
|
_navigateMonth(date, offset) {
|
|
177
177
|
this._viewDate = getDateByMonthOffsetClamped(date, offset);
|
|
178
|
+
this._lastFocusedDate = null;
|
|
178
179
|
}
|
|
179
180
|
_handleCalendarClick(date) {
|
|
180
181
|
this.value = formatDateForProperty(date);
|
|
@@ -206,6 +207,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
206
207
|
`[data-type=day][data-date="${formatDateForProperty(dateToBeFocused)}"]`
|
|
207
208
|
);
|
|
208
209
|
if (dateButton && isSameYearMonth(dateToBeFocused, focusedDate)) {
|
|
210
|
+
this._lastFocusedDate = dateToBeFocused;
|
|
209
211
|
dateButton.focus();
|
|
210
212
|
} else {
|
|
211
213
|
this._dateToBeFocused = dateToBeFocused;
|
|
@@ -361,7 +363,19 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
361
363
|
viewDate.getUTCFullYear(),
|
|
362
364
|
viewDate.getUTCMonth()
|
|
363
365
|
);
|
|
364
|
-
const focusable =
|
|
366
|
+
const focusable = (
|
|
367
|
+
// If the last focused date is in the same month as the view date, use it as the focusable date.
|
|
368
|
+
this._lastFocusedDate && isSameYearMonth(viewDate, this._lastFocusedDate) ? this._lastFocusedDate : (
|
|
369
|
+
// If the value is in the same month as the view date, use it as the focusable date.
|
|
370
|
+
value && isSameYearMonth(viewDate, value) ? value : (
|
|
371
|
+
// If today's date is in the same month as the view date, use it as the focusable date.
|
|
372
|
+
isSameYearMonth(viewDate, today) ? today : (
|
|
373
|
+
// Otherwise, use the first day of the month (clamped).
|
|
374
|
+
clampDate(toFirstDayOfMonth(viewDate), min, max)
|
|
375
|
+
)
|
|
376
|
+
)
|
|
377
|
+
)
|
|
378
|
+
);
|
|
365
379
|
return html`<div class="flex flex-col gap-2 w-full h-72" role="grid">
|
|
366
380
|
<div class="flex gap-1 flex-wrap w-full px-4" role="row">
|
|
367
381
|
${repeat(
|
|
@@ -396,9 +410,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
396
410
|
})}
|
|
397
411
|
role="gridcell"
|
|
398
412
|
?disabled=${isDateOutOfRange(date, min, max)}
|
|
399
|
-
tabindex=${
|
|
400
|
-
focusable.getTime() != date.getTime() ? -1 : void 0
|
|
401
|
-
)}
|
|
413
|
+
tabindex=${date.getTime() === focusable.getTime() ? nothing : -1}
|
|
402
414
|
aria-current=${date.getTime() === today.getTime() ? "date" : nothing}
|
|
403
415
|
aria-selected=${date.getTime() === (value == null ? void 0 : value.getTime())}
|
|
404
416
|
data-type="day"
|
|
@@ -496,11 +508,14 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
496
508
|
}
|
|
497
509
|
}
|
|
498
510
|
updated(changedProperties) {
|
|
499
|
-
if (
|
|
511
|
+
if (this._dateToBeFocused != null) {
|
|
500
512
|
const dateButton = this.renderRoot.querySelector(
|
|
501
513
|
`[data-type=day][data-date="${formatDateForProperty(this._dateToBeFocused)}"]`
|
|
502
514
|
);
|
|
503
|
-
|
|
515
|
+
if (dateButton) {
|
|
516
|
+
this._lastFocusedDate = this._dateToBeFocused;
|
|
517
|
+
dateButton.focus();
|
|
518
|
+
}
|
|
504
519
|
this._dateToBeFocused = null;
|
|
505
520
|
}
|
|
506
521
|
if (changedProperties.get("view") != null) {
|
|
@@ -529,13 +544,13 @@ DaikinCalendar.styles = css`
|
|
|
529
544
|
}
|
|
530
545
|
`;
|
|
531
546
|
__decorateClass([
|
|
532
|
-
property({ type: String
|
|
547
|
+
property({ type: String })
|
|
533
548
|
], DaikinCalendar.prototype, "value", 2);
|
|
534
549
|
__decorateClass([
|
|
535
|
-
property({ type: String, reflect: true })
|
|
550
|
+
property({ type: String, reflect: true, fallbackValue: "1900-01-01" })
|
|
536
551
|
], DaikinCalendar.prototype, "min", 2);
|
|
537
552
|
__decorateClass([
|
|
538
|
-
property({ type: String, reflect: true })
|
|
553
|
+
property({ type: String, reflect: true, fallbackValue: "2099-12-31" })
|
|
539
554
|
], DaikinCalendar.prototype, "max", 2);
|
|
540
555
|
__decorateClass([
|
|
541
556
|
property({ type: String, reflect: true, attribute: "default-value" })
|
|
@@ -543,6 +558,12 @@ __decorateClass([
|
|
|
543
558
|
__decorateClass([
|
|
544
559
|
property({ type: String, attribute: false })
|
|
545
560
|
], DaikinCalendar.prototype, "view", 2);
|
|
561
|
+
__decorateClass([
|
|
562
|
+
state()
|
|
563
|
+
], DaikinCalendar.prototype, "_lastFocusedDate", 2);
|
|
564
|
+
__decorateClass([
|
|
565
|
+
state()
|
|
566
|
+
], DaikinCalendar.prototype, "_dateToBeFocused", 2);
|
|
546
567
|
__decorateClass([
|
|
547
568
|
state()
|
|
548
569
|
], DaikinCalendar.prototype, "_viewDate", 2);
|
|
@@ -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 } 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";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
2
|
import { DDSElement } from "../../base/dds-element.js";
|
|
3
3
|
import "../../base/dds-form-element.js";
|
|
4
|
+
import "lit/decorators.js";
|
|
4
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
5
6
|
import "../../base/define.js";
|
|
6
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -2,6 +2,7 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import "lit/decorators.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,10 +1,11 @@
|
|
|
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 { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { DDSElement } from "../../base/dds-element.js";
|
|
7
7
|
import "../../base/dds-form-element.js";
|
|
8
|
+
import { property } from "../../base/dds-property.js";
|
|
8
9
|
import { ddsElement } from "../../base/decorators.js";
|
|
9
10
|
import "../../base/define.js";
|
|
10
11
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { unsafeCSS, css, html } from "lit";
|
|
2
|
-
import {
|
|
2
|
+
import { queryAssignedElements, state } 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";
|
|
@@ -5,11 +5,18 @@ import { DDSFormElement } from "../../base/index.js";
|
|
|
5
5
|
* It functions similarly to the HTML `<input type="checkbox">` tag, enabling users to toggle the selection of each option independently.
|
|
6
6
|
* This component is ideal for cases where multiple selections are allowed or required.
|
|
7
7
|
*
|
|
8
|
+
* @attr form - The form the component belongs to.
|
|
9
|
+
* @attr name - The form name, submitted as a name/value pair when submitting the form.
|
|
10
|
+
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
|
|
11
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
12
|
+
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
|
|
13
|
+
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
|
|
14
|
+
*
|
|
8
15
|
* @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<input type="checkbox">` element.
|
|
9
16
|
*
|
|
10
17
|
* @slot - A slot for the checkbox label content.
|
|
11
18
|
*
|
|
12
|
-
* @csspart label -
|
|
19
|
+
* @csspart label - CSS styles applied to the `label` part target the internal `<label>` element containing the checkbox. For instance, setting `cursor: pointer;` is useful when the checkbox acts as part of a larger interactive component.
|
|
13
20
|
*
|
|
14
21
|
* @example
|
|
15
22
|
*
|
|
@@ -31,10 +38,14 @@ export declare class DaikinCheckbox extends DDSFormElement {
|
|
|
31
38
|
* Label position.
|
|
32
39
|
* - `right` (default): The label will be placed to the right of the checkbox.
|
|
33
40
|
* - `hidden`: The label will not be shown.
|
|
41
|
+
*
|
|
42
|
+
* @default "right"
|
|
34
43
|
*/
|
|
35
44
|
labelPosition: "right" | "hidden";
|
|
36
45
|
/**
|
|
37
46
|
* Specify the checkbox checked state.
|
|
47
|
+
*
|
|
48
|
+
* @default "unchecked"
|
|
38
49
|
*/
|
|
39
50
|
checkState: "unchecked" | "indeterminate" | "checked";
|
|
40
51
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
4
|
import "../../base/dds-element.js";
|
|
5
5
|
import { DDSFormElement } from "../../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";
|
|
@@ -76,9 +77,6 @@ const cvaLabel = cva([], {
|
|
|
76
77
|
let DaikinCheckbox = class extends DDSFormElement {
|
|
77
78
|
constructor() {
|
|
78
79
|
super(...arguments);
|
|
79
|
-
this.label = "";
|
|
80
|
-
this.labelPosition = "right";
|
|
81
|
-
this.checkState = "unchecked";
|
|
82
80
|
this.disabled = false;
|
|
83
81
|
this.disabledByParent = false;
|
|
84
82
|
}
|
|
@@ -124,7 +122,7 @@ let DaikinCheckbox = class extends DDSFormElement {
|
|
|
124
122
|
<input
|
|
125
123
|
class=${CHECKBOX_CLASS_NAME}
|
|
126
124
|
type="checkbox"
|
|
127
|
-
name=${this.name}
|
|
125
|
+
name=${ifDefined(this.getBackingProperty("name"))}
|
|
128
126
|
?disabled=${disabled}
|
|
129
127
|
aria-label=${this._labelHidden ? this.label : nothing}
|
|
130
128
|
.checked=${this.checked}
|
|
@@ -158,13 +156,29 @@ DaikinCheckbox.styles = css`
|
|
|
158
156
|
}
|
|
159
157
|
`;
|
|
160
158
|
__decorateClass([
|
|
161
|
-
property({ type: String })
|
|
159
|
+
property({ type: String, reflect: true, fallbackValue: "" })
|
|
162
160
|
], DaikinCheckbox.prototype, "label", 2);
|
|
163
161
|
__decorateClass([
|
|
164
|
-
property({
|
|
162
|
+
property({
|
|
163
|
+
type: String,
|
|
164
|
+
reflect: true,
|
|
165
|
+
attribute: "label-position",
|
|
166
|
+
fallbackValue: "right",
|
|
167
|
+
isAllowedValue: oneOf(["right", "hidden"])
|
|
168
|
+
})
|
|
165
169
|
], DaikinCheckbox.prototype, "labelPosition", 2);
|
|
166
170
|
__decorateClass([
|
|
167
|
-
property({
|
|
171
|
+
property({
|
|
172
|
+
type: String,
|
|
173
|
+
reflect: true,
|
|
174
|
+
attribute: "check-state",
|
|
175
|
+
fallbackValue: "unchecked",
|
|
176
|
+
isAllowedValue: oneOf([
|
|
177
|
+
"unchecked",
|
|
178
|
+
"indeterminate",
|
|
179
|
+
"checked"
|
|
180
|
+
])
|
|
181
|
+
})
|
|
168
182
|
], DaikinCheckbox.prototype, "checkState", 2);
|
|
169
183
|
__decorateClass([
|
|
170
184
|
property({ type: Boolean, reflect: true })
|
|
@@ -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, queryAssignedElements } 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";
|
|
@@ -75,7 +76,15 @@ DaikinCheckboxGroup.styles = css`
|
|
|
75
76
|
}
|
|
76
77
|
`;
|
|
77
78
|
__decorateClass([
|
|
78
|
-
property({
|
|
79
|
+
property({
|
|
80
|
+
type: String,
|
|
81
|
+
reflect: true,
|
|
82
|
+
fallbackValue: "vertical",
|
|
83
|
+
isAllowedValue: oneOf([
|
|
84
|
+
"vertical",
|
|
85
|
+
"horizontal"
|
|
86
|
+
])
|
|
87
|
+
})
|
|
79
88
|
], DaikinCheckboxGroup.prototype, "orientation", 2);
|
|
80
89
|
__decorateClass([
|
|
81
90
|
property({ type: Boolean, reflect: true })
|
|
@@ -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 } 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";
|
|
@@ -16,7 +16,14 @@ export type ComboboxItem = string | ComboboxOption;
|
|
|
16
16
|
export declare function defaultFilterFn(items: readonly ComboboxItem[], value: string): readonly ComboboxItem[];
|
|
17
17
|
/**
|
|
18
18
|
* A combobox component.
|
|
19
|
-
* Unlike a dropdown component, a combobox primarily functions as a text field (using a native
|
|
19
|
+
* Unlike a dropdown component, a combobox primarily functions as a text field (using a native `<input>` tag) that can accept custom user input. The dropdown list serves as a helpful aid to expedite the user's input process.
|
|
20
|
+
*
|
|
21
|
+
* @attr form - The form the component belongs to.
|
|
22
|
+
* @attr name - The form name, submitted as a name/value pair when submitting the form.
|
|
23
|
+
* @attr value - The initial form value, submitted as a name/value pair when submitting the form.
|
|
24
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
25
|
+
* @prop {String} name - The form name, submitted as a name/value pair when submitting the form.
|
|
26
|
+
* @prop {String} value - The form value, submitted as a name/value pair when submitting the form.
|
|
20
27
|
*
|
|
21
28
|
* @fires change - A custom event emitted when a user selects a combobox item or inputs a custom value.
|
|
22
29
|
* @fires input - A retargeted event of a [input event](https://developer.mozilla.org/en-US/docs/Web/API/Element/input_event). Triggered when the user types in the input field, clicks clear button, or selects from dropdown options.
|
|
@@ -41,7 +48,7 @@ export declare class DaikinCombobox extends DDSFormElement {
|
|
|
41
48
|
/**
|
|
42
49
|
* Placeholder text of the combobox.
|
|
43
50
|
*/
|
|
44
|
-
placeholder: string
|
|
51
|
+
placeholder: string;
|
|
45
52
|
/**
|
|
46
53
|
* Whether the combobox is disabled.
|
|
47
54
|
*/
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { flip, offset, size } from "@floating-ui/dom";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
4
|
-
import {
|
|
4
|
+
import { state, query } from "lit/decorators.js";
|
|
5
5
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
6
6
|
import { repeat } from "lit/directives/repeat.js";
|
|
7
7
|
import "../../base/dds-element.js";
|
|
8
8
|
import { DDSFormElement } from "../../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 { ClickOutsideController } from "../../controllers/click-outside.js";
|
|
@@ -104,8 +105,11 @@ const cvaOption = cva(
|
|
|
104
105
|
"active:var-color-ddt-color-common-surface-selected-press/color-primary",
|
|
105
106
|
"after:i-daikin-dropdown-check",
|
|
106
107
|
"after:size-6",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
108
|
+
"pr-10",
|
|
109
|
+
"after:absolute",
|
|
110
|
+
"after:right-3",
|
|
111
|
+
"after:top-1/2",
|
|
112
|
+
"after:-translate-y-1/2"
|
|
109
113
|
]
|
|
110
114
|
},
|
|
111
115
|
disabled: {
|
|
@@ -183,7 +187,6 @@ function defaultFilterFn(items, value) {
|
|
|
183
187
|
let DaikinCombobox = class extends DDSFormElement {
|
|
184
188
|
constructor() {
|
|
185
189
|
super(...arguments);
|
|
186
|
-
this.placeholder = null;
|
|
187
190
|
this.disabled = false;
|
|
188
191
|
this.required = false;
|
|
189
192
|
this.error = false;
|
|
@@ -247,7 +250,9 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
247
250
|
this._currentFocusItemIndex = null;
|
|
248
251
|
}
|
|
249
252
|
_handleFocusOut(event) {
|
|
250
|
-
if (
|
|
253
|
+
if (this.open && // ignore if focusing within the component, especially to the menu items
|
|
254
|
+
// or menu item will be destroyed before click event is handled
|
|
255
|
+
(!event.relatedTarget || !this.renderRoot.contains(event.relatedTarget))) {
|
|
251
256
|
this._closePopup();
|
|
252
257
|
}
|
|
253
258
|
}
|
|
@@ -272,8 +277,9 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
272
277
|
}
|
|
273
278
|
_handleClickItem(item) {
|
|
274
279
|
const value = getItemValue(item);
|
|
275
|
-
this._handleClick();
|
|
276
280
|
this.value = value;
|
|
281
|
+
this.open = false;
|
|
282
|
+
this._currentFocusItemIndex = null;
|
|
277
283
|
this.dispatchEvent(
|
|
278
284
|
new Event("input", {
|
|
279
285
|
bubbles: true,
|
|
@@ -397,9 +403,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
397
403
|
_handleInput(event) {
|
|
398
404
|
this.value = event.target.value;
|
|
399
405
|
this._synchronizeShowItems("filtered");
|
|
400
|
-
|
|
401
|
-
this.open = true;
|
|
402
|
-
}
|
|
406
|
+
this.open = this._viewItems.length > 0;
|
|
403
407
|
}
|
|
404
408
|
/**
|
|
405
409
|
* Handles change events from the combobox input field.
|
|
@@ -424,20 +428,18 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
424
428
|
placeholder: !this.value || this.value.length === 0
|
|
425
429
|
})}
|
|
426
430
|
role="combobox"
|
|
427
|
-
|
|
428
|
-
|
|
431
|
+
name=${ifDefined(this.getBackingProperty("name"))}
|
|
432
|
+
placeholder=${ifDefined(this.getBackingProperty("placeholder"))}
|
|
429
433
|
.value=${this.value}
|
|
430
434
|
?disabled=${this.disabled}
|
|
431
|
-
aria-label=${ifDefined(this._label
|
|
435
|
+
aria-label=${ifDefined(this._label)}
|
|
432
436
|
aria-expanded=${this.open && !this.disabled}
|
|
433
437
|
aria-disabled=${this.disabled}
|
|
434
|
-
aria-controls
|
|
438
|
+
aria-controls=${this.open ? "combobox-items" : nothing}
|
|
435
439
|
aria-autocomplete="list"
|
|
436
440
|
aria-required=${this.required}
|
|
437
441
|
aria-haspopup="listbox"
|
|
438
|
-
aria-activedescendant=${
|
|
439
|
-
this._currentFocusItemIndex !== null ? `combobox-item-${this._currentFocusItemIndex}` : void 0
|
|
440
|
-
)}
|
|
442
|
+
aria-activedescendant=${this._currentFocusItemIndex !== null ? `combobox-item-${this._currentFocusItemIndex}` : nothing}
|
|
441
443
|
@input=${this._handleInput}
|
|
442
444
|
@change=${this._handleChange}
|
|
443
445
|
@click=${this._handleClick}
|
|
@@ -453,7 +455,7 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
453
455
|
variant="ghost"
|
|
454
456
|
?disabled=${this.disabled}
|
|
455
457
|
button-aria-label="Clear"
|
|
456
|
-
|
|
458
|
+
button-tabindex="-1"
|
|
457
459
|
@click=${this._handleClearClick}
|
|
458
460
|
@focusout=${this._handleFocusOut}
|
|
459
461
|
>
|
|
@@ -461,7 +463,8 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
461
463
|
</daikin-icon-button>` : nothing}
|
|
462
464
|
<span
|
|
463
465
|
class=${cvaArrow({ open: this.open, disabled: this.disabled })}
|
|
464
|
-
|
|
466
|
+
role="img"
|
|
467
|
+
aria-label=${this.open ? "Close" : "Open"}
|
|
465
468
|
@mousedown=${this._handleArrowClick}
|
|
466
469
|
@keydown=${this._handleKeyDown}
|
|
467
470
|
>
|
|
@@ -471,12 +474,14 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
471
474
|
<div
|
|
472
475
|
id="combobox-items"
|
|
473
476
|
popover="manual"
|
|
477
|
+
tabindex="-1"
|
|
474
478
|
class="flex flex-col overflow-hidden rounded border border-ddt-color-divider floating-unready:hidden absolute left-[--floating-x,0] top-[--floating-y,0] min-w-[--floating-width] max-h-[12.5rem] opacity-1 transition-[opacity] max-w-min"
|
|
475
479
|
@floating-ready=${this._handleFloatingReady}
|
|
476
480
|
${this._autoUpdateController.refFloating()}
|
|
477
481
|
>
|
|
478
482
|
<div
|
|
479
|
-
|
|
483
|
+
tabindex="-1"
|
|
484
|
+
class="flex-1 overflow-y-auto natural-break"
|
|
480
485
|
aria-label=${ifDefined(this._label ?? void 0)}
|
|
481
486
|
role="listbox"
|
|
482
487
|
>
|
|
@@ -538,6 +543,10 @@ let DaikinCombobox = class extends DDSFormElement {
|
|
|
538
543
|
this.focus();
|
|
539
544
|
}
|
|
540
545
|
}
|
|
546
|
+
if (changedProperties.has("_currentFocusItemIndex")) {
|
|
547
|
+
const focusedItem = this.renderRoot.querySelector("[data-focus]");
|
|
548
|
+
focusedItem == null ? void 0 : focusedItem.scrollIntoView({ block: "nearest" });
|
|
549
|
+
}
|
|
541
550
|
}
|
|
542
551
|
/**
|
|
543
552
|
* This method is used by `daikin-input-group` to reflect it's attributes to this component.
|
|
@@ -564,7 +573,7 @@ DaikinCombobox.styles = css`
|
|
|
564
573
|
}
|
|
565
574
|
`;
|
|
566
575
|
__decorateClass([
|
|
567
|
-
property({ type: String, reflect: true })
|
|
576
|
+
property({ type: String, reflect: true, fallbackValue: "" })
|
|
568
577
|
], DaikinCombobox.prototype, "placeholder", 2);
|
|
569
578
|
__decorateClass([
|
|
570
579
|
property({ type: Boolean, reflect: true })
|
|
@@ -4,6 +4,13 @@ import { DaikinInputGroup } from "../input-group/daikin-input-group.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* The date picker component provides a date selection function that can be combined with forms. This component uses `daikin-calendar` internally (users do not need to nest this).
|
|
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 select - Fires when the date is selected.
|
|
8
15
|
*
|
|
9
16
|
* @example
|
|
@@ -21,15 +28,17 @@ export declare class DaikinDatePicker extends DDSFormElement {
|
|
|
21
28
|
/**
|
|
22
29
|
* The placeholder text.
|
|
23
30
|
*/
|
|
24
|
-
placeholder: string
|
|
31
|
+
placeholder: string;
|
|
25
32
|
/**
|
|
26
33
|
* The minimum date.
|
|
27
|
-
*
|
|
34
|
+
*
|
|
35
|
+
* @default "1900-01-01"
|
|
28
36
|
*/
|
|
29
37
|
min: string;
|
|
30
38
|
/**
|
|
31
39
|
* The maximum date.
|
|
32
|
-
*
|
|
40
|
+
*
|
|
41
|
+
* @default "2099-12-31"
|
|
33
42
|
*/
|
|
34
43
|
max: string;
|
|
35
44
|
/**
|
|
@@ -70,12 +79,15 @@ export declare class DaikinDatePicker extends DDSFormElement {
|
|
|
70
79
|
private _autoUpdateController;
|
|
71
80
|
private _dateInputElement;
|
|
72
81
|
private _calendarElement;
|
|
82
|
+
private _calendarButtonElement;
|
|
73
83
|
private get _value();
|
|
74
84
|
private get _min();
|
|
75
85
|
private get _max();
|
|
76
|
-
private get _defaultValue();
|
|
77
86
|
private get _viewDate();
|
|
78
87
|
private get _open();
|
|
88
|
+
private _ignoreCloseByFocusTrap;
|
|
89
|
+
private _handleCloseCalendar;
|
|
90
|
+
private readonly _focusTrapController;
|
|
79
91
|
private _emitSelect;
|
|
80
92
|
private _handleFocusIn;
|
|
81
93
|
private _handleFocusOut;
|
|
@@ -84,12 +96,14 @@ export declare class DaikinDatePicker extends DDSFormElement {
|
|
|
84
96
|
private _handleKeyDown;
|
|
85
97
|
private _handleBeforeInput;
|
|
86
98
|
private _handleSelect;
|
|
99
|
+
private _handlePointerDown;
|
|
87
100
|
private _handlePointerUp;
|
|
88
101
|
private _handleCalendarKeyDown;
|
|
89
102
|
private _handleToggle;
|
|
90
103
|
private _updateValue;
|
|
91
104
|
private _updateInputSelection;
|
|
92
105
|
private _updateSelection;
|
|
106
|
+
label: string | null;
|
|
93
107
|
render(): import('lit-html').TemplateResult<1>;
|
|
94
108
|
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
95
109
|
protected updated(changedProperties: PropertyValues<this>): void;
|