@daikin-oss/design-system-web-components 1.1.0 → 1.3.0-next.2
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 +145 -0
- package/LICENSE +1 -1
- package/dist/cjs/base/dds-element.cjs +1 -1
- package/dist/cjs/base/dds-form-element.cjs +139 -0
- package/dist/cjs/base/dds-form-element.d.cts +100 -0
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +7 -3
- package/dist/cjs/components/avatar/daikin-avatar.cjs +1 -0
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +3 -0
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +2 -0
- package/dist/cjs/components/button/daikin-button.cjs +35 -13
- package/dist/cjs/components/button/daikin-button.d.cts +20 -10
- package/dist/cjs/components/calendar/daikin-calendar.cjs +549 -0
- package/dist/cjs/components/calendar/daikin-calendar.d.cts +87 -0
- package/dist/cjs/components/calendar/index.cjs +7 -0
- package/dist/cjs/components/calendar/index.d.cts +1 -0
- package/dist/cjs/components/card/daikin-card.cjs +1 -1
- package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -1
- package/dist/cjs/components/carousel/daikin-carousel.cjs +7 -3
- package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +2 -2
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +12 -16
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +9 -12
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +94 -0
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +69 -0
- package/dist/cjs/components/checkbox-group/index.cjs +7 -0
- package/dist/cjs/components/checkbox-group/index.d.cts +1 -0
- package/dist/cjs/components/chip/daikin-chip.cjs +106 -0
- package/dist/cjs/components/chip/daikin-chip.d.cts +36 -0
- package/dist/cjs/components/chip/index.cjs +7 -0
- package/dist/cjs/components/chip/index.d.cts +1 -0
- package/dist/cjs/components/combobox/daikin-combobox.cjs +604 -0
- package/dist/cjs/components/combobox/daikin-combobox.d.cts +134 -0
- package/dist/cjs/components/combobox/index.cjs +8 -0
- package/dist/cjs/components/combobox/index.d.cts +1 -0
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +626 -0
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +106 -0
- package/dist/cjs/components/date-picker/index.cjs +7 -0
- package/dist/cjs/components/date-picker/index.d.cts +1 -0
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +91 -57
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +7 -15
- package/dist/cjs/components/icon/daikin-icon.cjs +117 -12
- package/dist/cjs/components/icon/daikin-icon.d.cts +129 -9
- package/dist/cjs/components/icon/icons.json.cjs +6 -2
- package/dist/cjs/components/icon/icons.json.d.cts +16 -16
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +30 -4
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +20 -2
- package/dist/cjs/components/index.cjs +81 -0
- package/dist/cjs/components/index.d.cts +14 -0
- package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +13 -18
- package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +3 -1
- package/dist/cjs/components/input-group/daikin-input-group.cjs +4 -4
- package/dist/cjs/components/input-group/daikin-input-group.d.cts +50 -1
- package/dist/cjs/components/list/daikin-list.cjs +75 -3
- package/dist/cjs/components/list/daikin-list.d.cts +16 -0
- package/dist/cjs/components/list-item/daikin-list-item.cjs +27 -7
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +9 -3
- package/dist/cjs/components/loading/daikin-loading.cjs +1 -1
- package/dist/cjs/components/loading/daikin-loading.d.cts +1 -0
- package/dist/cjs/components/logo/daikin-logo.cjs +105 -0
- package/dist/cjs/components/logo/daikin-logo.d.cts +54 -0
- package/dist/cjs/components/logo/index.cjs +7 -0
- package/dist/cjs/components/logo/index.d.cts +1 -0
- package/dist/cjs/components/menu/daikin-menu.cjs +205 -0
- package/dist/cjs/components/menu/daikin-menu.d.cts +89 -0
- package/dist/cjs/components/menu/index.cjs +7 -0
- package/dist/cjs/components/menu/index.d.cts +1 -0
- package/dist/cjs/components/modal/daikin-modal.cjs +115 -0
- package/dist/cjs/components/modal/daikin-modal.d.cts +61 -0
- package/dist/cjs/components/modal/index.cjs +7 -0
- package/dist/cjs/components/modal/index.d.cts +1 -0
- package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +40 -0
- package/dist/cjs/components/modal-footer/daikin-modal-footer.d.cts +33 -0
- package/dist/cjs/components/modal-footer/index.cjs +7 -0
- package/dist/cjs/components/modal-footer/index.d.cts +1 -0
- package/dist/cjs/components/modal-header/daikin-modal-header.cjs +96 -0
- package/dist/cjs/components/modal-header/daikin-modal-header.d.cts +43 -0
- package/dist/cjs/components/modal-header/index.cjs +7 -0
- package/dist/cjs/components/modal-header/index.d.cts +1 -0
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +5 -5
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
- package/dist/cjs/components/radio/daikin-radio.cjs +4 -13
- package/dist/cjs/components/radio/daikin-radio.d.cts +2 -12
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +1 -1
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +2 -1
- package/dist/cjs/components/select/daikin-select.cjs +6 -1
- package/dist/cjs/components/slider/daikin-slider.cjs +263 -0
- package/dist/cjs/components/slider/daikin-slider.d.cts +67 -0
- package/dist/cjs/components/slider/index.cjs +7 -0
- package/dist/cjs/components/slider/index.d.cts +1 -0
- package/dist/cjs/components/slider/slider-utils.cjs +57 -0
- package/dist/cjs/components/slider/slider-utils.d.cts +37 -0
- package/dist/cjs/components/tab/daikin-tab.cjs +1 -0
- package/dist/cjs/components/table/daikin-table.cjs +74 -15
- package/dist/cjs/components/table/daikin-table.d.cts +72 -34
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +2 -1
- package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +1 -1
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +8 -1
- package/dist/cjs/components/tabs/daikin-tabs.cjs +2 -2
- package/dist/cjs/components/text-area/daikin-text-area.cjs +4 -13
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +2 -12
- package/dist/cjs/components/text-field/daikin-text-field.cjs +289 -57
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +57 -18
- package/dist/cjs/components/text-field/number-utils.cjs +61 -0
- package/dist/cjs/components/text-field/number-utils.d.cts +26 -0
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
- package/dist/cjs/components/text-masked-field/index.cjs +7 -0
- package/dist/cjs/components/text-masked-field/index.d.cts +1 -0
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +577 -0
- package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +165 -0
- package/dist/cjs/components/time-picker/index.cjs +17 -0
- package/dist/cjs/components/time-picker/index.d.cts +1 -0
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +10 -7
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +2 -0
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
- package/dist/cjs/components/toggle/daikin-toggle.cjs +4 -13
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +2 -12
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +24 -8
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +11 -3
- package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +2 -0
- package/dist/cjs/controllers/click-outside.cjs +3 -1
- package/dist/cjs/controllers/floating-ui-auto-update.cjs +22 -4
- package/dist/cjs/controllers/floating-ui-auto-update.d.cts +12 -0
- package/dist/cjs/controllers/focus-trap.cjs +42 -0
- package/dist/cjs/controllers/focus-trap.d.cts +10 -0
- package/dist/cjs/icon-registry.cjs +170 -0
- package/dist/cjs/icon-registry.d.cts +120 -0
- package/dist/cjs/index.cjs +84 -0
- package/dist/cjs/index.d.cts +1 -0
- package/dist/cjs/tailwind.css.cjs +1 -1
- package/dist/cjs/utils/calendar-common.cjs +151 -0
- package/dist/cjs/utils/calendar-common.d.cts +64 -0
- package/dist/cjs/utils/notification-common.cjs +19 -15
- package/dist/cjs/utils/notification-common.d.cts +2 -2
- package/dist/cjs/{components/tabs → utils}/scroller.cjs +20 -12
- package/dist/cjs/{components/tabs → utils}/scroller.d.cts +2 -2
- package/dist/cjs-dev/base/dds-element.cjs +1 -1
- package/dist/cjs-dev/base/dds-form-element.cjs +139 -0
- package/dist/cjs-dev/base/dds-form-element.d.cts +100 -0
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +7 -3
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +1 -0
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +3 -0
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +2 -0
- package/dist/cjs-dev/components/button/daikin-button.cjs +35 -13
- package/dist/cjs-dev/components/button/daikin-button.d.cts +20 -10
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +560 -0
- package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +87 -0
- package/dist/cjs-dev/components/calendar/index.cjs +7 -0
- package/dist/cjs-dev/components/calendar/index.d.cts +1 -0
- package/dist/cjs-dev/components/card/daikin-card.cjs +1 -1
- package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -1
- package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +7 -3
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +2 -2
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +12 -16
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +9 -12
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +94 -0
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +69 -0
- package/dist/cjs-dev/components/checkbox-group/index.cjs +7 -0
- package/dist/cjs-dev/components/checkbox-group/index.d.cts +1 -0
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +106 -0
- package/dist/cjs-dev/components/chip/daikin-chip.d.cts +36 -0
- package/dist/cjs-dev/components/chip/index.cjs +7 -0
- package/dist/cjs-dev/components/chip/index.d.cts +1 -0
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +604 -0
- package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +134 -0
- package/dist/cjs-dev/components/combobox/index.cjs +8 -0
- package/dist/cjs-dev/components/combobox/index.d.cts +1 -0
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +637 -0
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +106 -0
- package/dist/cjs-dev/components/date-picker/index.cjs +7 -0
- package/dist/cjs-dev/components/date-picker/index.d.cts +1 -0
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +91 -57
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +7 -15
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +141 -16
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +129 -9
- package/dist/cjs-dev/components/icon/icons.json.cjs +6 -2
- package/dist/cjs-dev/components/icon/icons.json.d.cts +16 -16
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +30 -4
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +20 -2
- package/dist/cjs-dev/components/index.cjs +81 -0
- package/dist/cjs-dev/components/index.d.cts +14 -0
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +13 -18
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +3 -1
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +4 -4
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +50 -1
- package/dist/cjs-dev/components/list/daikin-list.cjs +75 -3
- package/dist/cjs-dev/components/list/daikin-list.d.cts +16 -0
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +27 -7
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +9 -3
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +1 -1
- package/dist/cjs-dev/components/loading/daikin-loading.d.cts +1 -0
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +105 -0
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +54 -0
- package/dist/cjs-dev/components/logo/index.cjs +7 -0
- package/dist/cjs-dev/components/logo/index.d.cts +1 -0
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +205 -0
- package/dist/cjs-dev/components/menu/daikin-menu.d.cts +89 -0
- package/dist/cjs-dev/components/menu/index.cjs +7 -0
- package/dist/cjs-dev/components/menu/index.d.cts +1 -0
- package/dist/cjs-dev/components/modal/daikin-modal.cjs +115 -0
- package/dist/cjs-dev/components/modal/daikin-modal.d.cts +61 -0
- package/dist/cjs-dev/components/modal/index.cjs +7 -0
- package/dist/cjs-dev/components/modal/index.d.cts +1 -0
- package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.cjs +40 -0
- package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.d.cts +33 -0
- package/dist/cjs-dev/components/modal-footer/index.cjs +7 -0
- package/dist/cjs-dev/components/modal-footer/index.d.cts +1 -0
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +96 -0
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.d.cts +43 -0
- package/dist/cjs-dev/components/modal-header/index.cjs +7 -0
- package/dist/cjs-dev/components/modal-header/index.d.cts +1 -0
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +5 -5
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +1 -1
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +4 -13
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +2 -12
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +1 -1
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +2 -1
- package/dist/cjs-dev/components/select/daikin-select.cjs +6 -1
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +263 -0
- package/dist/cjs-dev/components/slider/daikin-slider.d.cts +67 -0
- package/dist/cjs-dev/components/slider/index.cjs +7 -0
- package/dist/cjs-dev/components/slider/index.d.cts +1 -0
- package/dist/cjs-dev/components/slider/slider-utils.cjs +57 -0
- package/dist/cjs-dev/components/slider/slider-utils.d.cts +37 -0
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +1 -0
- package/dist/cjs-dev/components/table/daikin-table.cjs +77 -18
- package/dist/cjs-dev/components/table/daikin-table.d.cts +72 -34
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +2 -1
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +1 -1
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +31 -6
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +8 -1
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +2 -2
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +4 -13
- package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +2 -12
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +289 -57
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +57 -18
- package/dist/cjs-dev/components/text-field/number-utils.cjs +64 -0
- package/dist/cjs-dev/components/text-field/number-utils.d.cts +26 -0
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +312 -0
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +136 -0
- package/dist/cjs-dev/components/text-masked-field/index.cjs +7 -0
- package/dist/cjs-dev/components/text-masked-field/index.d.cts +1 -0
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +589 -0
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +165 -0
- package/dist/cjs-dev/components/time-picker/index.cjs +17 -0
- package/dist/cjs-dev/components/time-picker/index.d.cts +1 -0
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +10 -7
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +2 -0
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +4 -13
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +2 -12
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +24 -8
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +11 -3
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +2 -0
- package/dist/cjs-dev/controllers/click-outside.cjs +3 -1
- package/dist/cjs-dev/controllers/floating-ui-auto-update.cjs +22 -4
- package/dist/cjs-dev/controllers/floating-ui-auto-update.d.cts +12 -0
- package/dist/cjs-dev/controllers/focus-trap.cjs +42 -0
- package/dist/cjs-dev/controllers/focus-trap.d.cts +10 -0
- package/dist/cjs-dev/icon-registry.cjs +170 -0
- package/dist/cjs-dev/icon-registry.d.cts +120 -0
- package/dist/cjs-dev/index.cjs +84 -0
- package/dist/cjs-dev/index.d.cts +1 -0
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- package/dist/cjs-dev/utils/calendar-common.cjs +151 -0
- package/dist/cjs-dev/utils/calendar-common.d.cts +64 -0
- package/dist/cjs-dev/utils/notification-common.cjs +19 -15
- package/dist/cjs-dev/utils/notification-common.d.cts +2 -2
- package/dist/cjs-dev/{components/tabs → utils}/scroller.cjs +20 -12
- package/dist/cjs-dev/{components/tabs → utils}/scroller.d.cts +2 -2
- package/dist/es/base/dds-element.js +1 -1
- package/dist/es/base/dds-form-element.d.ts +100 -0
- package/dist/es/base/dds-form-element.js +139 -0
- package/dist/es/components/accordion/daikin-accordion.js +1 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.js +8 -4
- package/dist/es/components/avatar/daikin-avatar.d.ts +3 -0
- package/dist/es/components/avatar/daikin-avatar.js +2 -1
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +1 -1
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +3 -1
- package/dist/es/components/button/daikin-button.d.ts +20 -10
- package/dist/es/components/button/daikin-button.js +36 -14
- package/dist/es/components/calendar/daikin-calendar.d.ts +87 -0
- package/dist/es/components/calendar/daikin-calendar.js +550 -0
- package/dist/es/components/calendar/index.d.ts +1 -0
- package/dist/es/components/calendar/index.js +4 -0
- package/dist/es/components/card/daikin-card.js +2 -2
- package/dist/es/components/card-footer/daikin-card-footer.js +1 -1
- package/dist/es/components/card-header/daikin-card-header.js +2 -2
- package/dist/es/components/carousel/daikin-carousel.js +8 -4
- package/dist/es/components/carousel-item/daikin-carousel-item.js +3 -3
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +9 -12
- package/dist/es/components/checkbox/daikin-checkbox.js +13 -17
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +69 -0
- package/dist/es/components/checkbox-group/daikin-checkbox-group.js +95 -0
- package/dist/es/components/checkbox-group/index.d.ts +1 -0
- package/dist/es/components/checkbox-group/index.js +4 -0
- package/dist/es/components/chip/daikin-chip.d.ts +36 -0
- package/dist/es/components/chip/daikin-chip.js +107 -0
- package/dist/es/components/chip/index.d.ts +1 -0
- package/dist/es/components/chip/index.js +4 -0
- package/dist/es/components/combobox/daikin-combobox.d.ts +134 -0
- package/dist/es/components/combobox/daikin-combobox.js +605 -0
- package/dist/es/components/combobox/index.d.ts +1 -0
- package/dist/es/components/combobox/index.js +5 -0
- package/dist/es/components/date-picker/daikin-date-picker.d.ts +106 -0
- package/dist/es/components/date-picker/daikin-date-picker.js +627 -0
- package/dist/es/components/date-picker/index.d.ts +1 -0
- package/dist/es/components/date-picker/index.js +4 -0
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +7 -15
- package/dist/es/components/dropdown/daikin-dropdown.js +92 -58
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +1 -1
- package/dist/es/components/icon/daikin-icon.d.ts +129 -9
- package/dist/es/components/icon/daikin-icon.js +119 -14
- package/dist/es/components/icon/icons.json.d.ts +16 -16
- package/dist/es/components/icon/icons.json.js +5 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +20 -2
- package/dist/es/components/icon-button/daikin-icon-button.js +31 -5
- package/dist/es/components/index.d.ts +14 -0
- package/dist/es/components/index.js +40 -1
- package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +3 -1
- package/dist/es/components/inline-notification/daikin-inline-notification.js +14 -19
- package/dist/es/components/input-group/daikin-input-group.d.ts +50 -1
- package/dist/es/components/input-group/daikin-input-group.js +5 -5
- package/dist/es/components/link/daikin-link.js +1 -1
- package/dist/es/components/list/daikin-list.d.ts +16 -0
- package/dist/es/components/list/daikin-list.js +76 -4
- package/dist/es/components/list-item/daikin-list-item.d.ts +9 -3
- package/dist/es/components/list-item/daikin-list-item.js +28 -8
- package/dist/es/components/loading/daikin-loading.d.ts +1 -0
- package/dist/es/components/loading/daikin-loading.js +2 -2
- package/dist/es/components/logo/daikin-logo.d.ts +54 -0
- package/dist/es/components/logo/daikin-logo.js +106 -0
- package/dist/es/components/logo/index.d.ts +1 -0
- package/dist/es/components/logo/index.js +4 -0
- package/dist/es/components/menu/daikin-menu.d.ts +89 -0
- package/dist/es/components/menu/daikin-menu.js +206 -0
- package/dist/es/components/menu/index.d.ts +1 -0
- package/dist/es/components/menu/index.js +4 -0
- package/dist/es/components/modal/daikin-modal.d.ts +61 -0
- package/dist/es/components/modal/daikin-modal.js +116 -0
- package/dist/es/components/modal/index.d.ts +1 -0
- package/dist/es/components/modal/index.js +4 -0
- package/dist/es/components/modal-footer/daikin-modal-footer.d.ts +33 -0
- package/dist/es/components/modal-footer/daikin-modal-footer.js +41 -0
- package/dist/es/components/modal-footer/index.d.ts +1 -0
- package/dist/es/components/modal-footer/index.js +4 -0
- package/dist/es/components/modal-header/daikin-modal-header.d.ts +43 -0
- package/dist/es/components/modal-header/daikin-modal-header.js +97 -0
- package/dist/es/components/modal-header/index.d.ts +1 -0
- package/dist/es/components/modal-header/index.js +4 -0
- package/dist/es/components/pagination/daikin-pagination.js +1 -1
- package/dist/es/components/progress-bar/daikin-progress-bar.js +6 -6
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +1 -1
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
- package/dist/es/components/radio/daikin-radio.d.ts +2 -12
- package/dist/es/components/radio/daikin-radio.js +5 -14
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +2 -1
- package/dist/es/components/radio-group/daikin-radio-group.js +2 -2
- package/dist/es/components/select/daikin-select.js +7 -2
- package/dist/es/components/slider/daikin-slider.d.ts +67 -0
- package/dist/es/components/slider/daikin-slider.js +264 -0
- package/dist/es/components/slider/index.d.ts +1 -0
- package/dist/es/components/slider/index.js +4 -0
- package/dist/es/components/slider/slider-utils.d.ts +37 -0
- package/dist/es/components/slider/slider-utils.js +57 -0
- package/dist/es/components/tab/daikin-tab.js +2 -1
- package/dist/es/components/tab-panels/daikin-tab-panels.js +1 -1
- package/dist/es/components/table/daikin-table.d.ts +72 -34
- package/dist/es/components/table/daikin-table.js +75 -16
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +1 -1
- package/dist/es/components/table-cell/daikin-table-cell.js +3 -2
- package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +8 -1
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +32 -7
- package/dist/es/components/tabs/daikin-tabs.js +3 -3
- package/dist/es/components/text-area/daikin-text-area.d.ts +2 -12
- package/dist/es/components/text-area/daikin-text-area.js +5 -14
- package/dist/es/components/text-field/daikin-text-field.d.ts +57 -18
- package/dist/es/components/text-field/daikin-text-field.js +290 -58
- package/dist/es/components/text-field/number-utils.d.ts +26 -0
- package/dist/es/components/text-field/number-utils.js +61 -0
- package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +313 -0
- package/dist/es/components/text-masked-field/index.d.ts +1 -0
- package/dist/es/components/text-masked-field/index.js +4 -0
- package/dist/es/components/time-picker/daikin-time-picker.d.ts +165 -0
- package/dist/es/components/time-picker/daikin-time-picker.js +578 -0
- package/dist/es/components/time-picker/index.d.ts +1 -0
- package/dist/es/components/time-picker/index.js +14 -0
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +2 -0
- package/dist/es/components/toast-notification/daikin-toast-notification.js +11 -8
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +2 -2
- package/dist/es/components/toggle/daikin-toggle.d.ts +2 -12
- package/dist/es/components/toggle/daikin-toggle.js +5 -14
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +11 -3
- package/dist/es/components/tooltip/daikin-tooltip.js +25 -9
- package/dist/es/components/tree/daikin-tree.js +1 -1
- package/dist/es/components/tree-item/daikin-tree-item.js +1 -1
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +2 -0
- package/dist/es/components/tree-section/daikin-tree-section.js +1 -1
- package/dist/es/controllers/click-outside.js +3 -1
- package/dist/es/controllers/floating-ui-auto-update.d.ts +12 -0
- package/dist/es/controllers/floating-ui-auto-update.js +22 -4
- package/dist/es/controllers/focus-trap.d.ts +10 -0
- package/dist/es/controllers/focus-trap.js +42 -0
- package/dist/es/icon-registry.d.ts +120 -0
- package/dist/es/icon-registry.js +170 -0
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +43 -1
- package/dist/es/tailwind.css.js +1 -1
- package/dist/es/utils/calendar-common.d.ts +64 -0
- package/dist/es/utils/calendar-common.js +151 -0
- package/dist/es/utils/notification-common.d.ts +2 -2
- package/dist/es/utils/notification-common.js +19 -15
- package/dist/es/{components/tabs → utils}/scroller.d.ts +2 -2
- package/dist/es/{components/tabs → utils}/scroller.js +20 -12
- package/dist/es-dev/base/dds-element.js +1 -1
- package/dist/es-dev/base/dds-form-element.d.ts +100 -0
- package/dist/es-dev/base/dds-form-element.js +139 -0
- package/dist/es-dev/components/accordion/daikin-accordion.js +1 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +8 -4
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +3 -0
- package/dist/es-dev/components/avatar/daikin-avatar.js +2 -1
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +1 -1
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +3 -1
- package/dist/es-dev/components/button/daikin-button.d.ts +20 -10
- package/dist/es-dev/components/button/daikin-button.js +36 -14
- package/dist/es-dev/components/calendar/daikin-calendar.d.ts +87 -0
- package/dist/es-dev/components/calendar/daikin-calendar.js +561 -0
- package/dist/es-dev/components/calendar/index.d.ts +1 -0
- package/dist/es-dev/components/calendar/index.js +4 -0
- package/dist/es-dev/components/card/daikin-card.js +2 -2
- package/dist/es-dev/components/card-footer/daikin-card-footer.js +1 -1
- package/dist/es-dev/components/card-header/daikin-card-header.js +2 -2
- package/dist/es-dev/components/carousel/daikin-carousel.js +8 -4
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +3 -3
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +9 -12
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +13 -17
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +69 -0
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +95 -0
- package/dist/es-dev/components/checkbox-group/index.d.ts +1 -0
- package/dist/es-dev/components/checkbox-group/index.js +4 -0
- package/dist/es-dev/components/chip/daikin-chip.d.ts +36 -0
- package/dist/es-dev/components/chip/daikin-chip.js +107 -0
- package/dist/es-dev/components/chip/index.d.ts +1 -0
- package/dist/es-dev/components/chip/index.js +4 -0
- package/dist/es-dev/components/combobox/daikin-combobox.d.ts +134 -0
- package/dist/es-dev/components/combobox/daikin-combobox.js +605 -0
- package/dist/es-dev/components/combobox/index.d.ts +1 -0
- package/dist/es-dev/components/combobox/index.js +5 -0
- package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +106 -0
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +638 -0
- package/dist/es-dev/components/date-picker/index.d.ts +1 -0
- package/dist/es-dev/components/date-picker/index.js +4 -0
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +7 -15
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +92 -58
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +1 -1
- package/dist/es-dev/components/icon/daikin-icon.d.ts +129 -9
- package/dist/es-dev/components/icon/daikin-icon.js +143 -18
- package/dist/es-dev/components/icon/icons.json.d.ts +16 -16
- package/dist/es-dev/components/icon/icons.json.js +5 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +20 -2
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +31 -5
- package/dist/es-dev/components/index.d.ts +14 -0
- package/dist/es-dev/components/index.js +40 -1
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +3 -1
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +14 -19
- package/dist/es-dev/components/input-group/daikin-input-group.d.ts +50 -1
- package/dist/es-dev/components/input-group/daikin-input-group.js +5 -5
- package/dist/es-dev/components/link/daikin-link.js +1 -1
- package/dist/es-dev/components/list/daikin-list.d.ts +16 -0
- package/dist/es-dev/components/list/daikin-list.js +76 -4
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +9 -3
- package/dist/es-dev/components/list-item/daikin-list-item.js +28 -8
- package/dist/es-dev/components/loading/daikin-loading.d.ts +1 -0
- package/dist/es-dev/components/loading/daikin-loading.js +2 -2
- package/dist/es-dev/components/logo/daikin-logo.d.ts +54 -0
- package/dist/es-dev/components/logo/daikin-logo.js +106 -0
- package/dist/es-dev/components/logo/index.d.ts +1 -0
- package/dist/es-dev/components/logo/index.js +4 -0
- package/dist/es-dev/components/menu/daikin-menu.d.ts +89 -0
- package/dist/es-dev/components/menu/daikin-menu.js +206 -0
- package/dist/es-dev/components/menu/index.d.ts +1 -0
- package/dist/es-dev/components/menu/index.js +4 -0
- package/dist/es-dev/components/modal/daikin-modal.d.ts +61 -0
- package/dist/es-dev/components/modal/daikin-modal.js +116 -0
- package/dist/es-dev/components/modal/index.d.ts +1 -0
- package/dist/es-dev/components/modal/index.js +4 -0
- package/dist/es-dev/components/modal-footer/daikin-modal-footer.d.ts +33 -0
- package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +41 -0
- package/dist/es-dev/components/modal-footer/index.d.ts +1 -0
- package/dist/es-dev/components/modal-footer/index.js +4 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.d.ts +43 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.js +97 -0
- package/dist/es-dev/components/modal-header/index.d.ts +1 -0
- package/dist/es-dev/components/modal-header/index.js +4 -0
- package/dist/es-dev/components/pagination/daikin-pagination.js +1 -1
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +6 -6
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +1 -1
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +2 -2
- package/dist/es-dev/components/radio/daikin-radio.d.ts +2 -12
- package/dist/es-dev/components/radio/daikin-radio.js +5 -14
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +2 -1
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +2 -2
- package/dist/es-dev/components/select/daikin-select.js +7 -2
- package/dist/es-dev/components/slider/daikin-slider.d.ts +67 -0
- package/dist/es-dev/components/slider/daikin-slider.js +264 -0
- package/dist/es-dev/components/slider/index.d.ts +1 -0
- package/dist/es-dev/components/slider/index.js +4 -0
- package/dist/es-dev/components/slider/slider-utils.d.ts +37 -0
- package/dist/es-dev/components/slider/slider-utils.js +57 -0
- package/dist/es-dev/components/tab/daikin-tab.js +2 -1
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +1 -1
- package/dist/es-dev/components/table/daikin-table.d.ts +72 -34
- package/dist/es-dev/components/table/daikin-table.js +78 -19
- package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +1 -1
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +3 -2
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +8 -1
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +32 -7
- package/dist/es-dev/components/tabs/daikin-tabs.js +3 -3
- package/dist/es-dev/components/text-area/daikin-text-area.d.ts +2 -12
- package/dist/es-dev/components/text-area/daikin-text-area.js +5 -14
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +57 -18
- package/dist/es-dev/components/text-field/daikin-text-field.js +290 -58
- package/dist/es-dev/components/text-field/number-utils.d.ts +26 -0
- package/dist/es-dev/components/text-field/number-utils.js +64 -0
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +136 -0
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +313 -0
- package/dist/es-dev/components/text-masked-field/index.d.ts +1 -0
- package/dist/es-dev/components/text-masked-field/index.js +4 -0
- package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +165 -0
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +590 -0
- package/dist/es-dev/components/time-picker/index.d.ts +1 -0
- package/dist/es-dev/components/time-picker/index.js +14 -0
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +2 -0
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +11 -8
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +2 -2
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +2 -12
- package/dist/es-dev/components/toggle/daikin-toggle.js +5 -14
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +11 -3
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +25 -9
- package/dist/es-dev/components/tree/daikin-tree.js +1 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +1 -1
- package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +2 -0
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +1 -1
- package/dist/es-dev/controllers/click-outside.js +3 -1
- package/dist/es-dev/controllers/floating-ui-auto-update.d.ts +12 -0
- package/dist/es-dev/controllers/floating-ui-auto-update.js +22 -4
- package/dist/es-dev/controllers/focus-trap.d.ts +10 -0
- package/dist/es-dev/controllers/focus-trap.js +42 -0
- package/dist/es-dev/icon-registry.d.ts +120 -0
- package/dist/es-dev/icon-registry.js +170 -0
- package/dist/es-dev/index.d.ts +1 -0
- package/dist/es-dev/index.js +43 -1
- package/dist/es-dev/tailwind.css.js +1 -1
- package/dist/es-dev/utils/calendar-common.d.ts +64 -0
- package/dist/es-dev/utils/calendar-common.js +151 -0
- package/dist/es-dev/utils/notification-common.d.ts +2 -2
- package/dist/es-dev/utils/notification-common.js +19 -15
- package/dist/es-dev/{components/tabs → utils}/scroller.d.ts +2 -2
- package/dist/es-dev/{components/tabs → utils}/scroller.js +20 -12
- package/icons/alarm.svg +3 -0
- package/icons/calendar.svg +3 -0
- package/icons/chevron-down.svg +3 -3
- package/icons/chevron-left.svg +2 -2
- package/icons/chevron-right.svg +2 -2
- package/icons/chevron-up.svg +2 -2
- package/icons/close.svg +3 -0
- package/icons/error.svg +3 -0
- package/icons/information.svg +3 -0
- package/icons/logo-negative.svg +10 -0
- package/icons/logo-positive.svg +10 -0
- package/icons/{dropdown-chevron-down.svg → number-minus.svg} +3 -1
- package/icons/number-plus.svg +5 -0
- package/icons/password-hidden.svg +3 -0
- package/icons/password-visible.svg +3 -0
- package/icons/pulldown-down.svg +3 -0
- package/icons/search.svg +3 -0
- package/icons/success.svg +3 -0
- package/icons/warning.svg +3 -0
- package/package.json +20 -6
- package/icons/cross.svg +0 -3
- package/icons/notification-close.svg +0 -5
- package/icons/status-alarm.svg +0 -5
- package/icons/status-error.svg +0 -3
- package/icons/status-information.svg +0 -5
- package/icons/status-negative.svg +0 -5
- package/icons/status-positive.svg +0 -5
- package/icons/status-warning.svg +0 -3
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"icons": {
|
|
3
|
+
"logo-positive": {
|
|
4
|
+
"class": "i-daikin-logo-positive",
|
|
5
|
+
"color": null
|
|
6
|
+
},
|
|
7
|
+
"logo-negative": {
|
|
8
|
+
"class": "i-daikin-logo-negative",
|
|
9
|
+
"color": null
|
|
10
|
+
},
|
|
3
11
|
"alarm": {
|
|
4
|
-
"class": "i-daikin-
|
|
12
|
+
"class": "i-daikin-alarm",
|
|
5
13
|
"color": null
|
|
6
14
|
},
|
|
7
15
|
"close": {
|
|
8
|
-
"class": "i-daikin-
|
|
16
|
+
"class": "i-daikin-close",
|
|
9
17
|
"color": "#a0a0a0"
|
|
10
18
|
},
|
|
11
19
|
"information": {
|
|
12
|
-
"class": "i-daikin-
|
|
20
|
+
"class": "i-daikin-information",
|
|
13
21
|
"color": null
|
|
14
22
|
},
|
|
15
|
-
"
|
|
16
|
-
"class": "i-daikin-
|
|
23
|
+
"error": {
|
|
24
|
+
"class": "i-daikin-error",
|
|
17
25
|
"color": null
|
|
18
26
|
},
|
|
19
|
-
"
|
|
20
|
-
"class": "i-daikin-
|
|
27
|
+
"success": {
|
|
28
|
+
"class": "i-daikin-success",
|
|
21
29
|
"color": null
|
|
22
30
|
},
|
|
23
31
|
"warning": {
|
|
24
|
-
"class": "i-daikin-
|
|
32
|
+
"class": "i-daikin-warning",
|
|
25
33
|
"color": null
|
|
26
34
|
},
|
|
27
35
|
"pagination-chevron-left": {
|
|
@@ -32,14 +40,6 @@ declare const _default: {
|
|
|
32
40
|
"class": "i-daikin-pagination-chevron-right",
|
|
33
41
|
"color": "#414141"
|
|
34
42
|
},
|
|
35
|
-
"error": {
|
|
36
|
-
"class": "i-daikin-status-error",
|
|
37
|
-
"color": "#FF4949"
|
|
38
|
-
},
|
|
39
|
-
"cross": {
|
|
40
|
-
"class": "i-daikin-cross",
|
|
41
|
-
"color": null
|
|
42
|
-
},
|
|
43
43
|
"profile": {
|
|
44
44
|
"class": "i-daikin-profile",
|
|
45
45
|
"color": null
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
const icons = { "
|
|
1
|
+
const icons = { "logo-positive": { "class": "i-daikin-logo-positive", "color": null }, "logo-negative": { "class": "i-daikin-logo-negative", "color": null }, "alarm": { "class": "i-daikin-alarm", "color": null }, "close": { "class": "i-daikin-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-information", "color": null }, "error": { "class": "i-daikin-error", "color": null }, "success": { "class": "i-daikin-success", "color": null }, "warning": { "class": "i-daikin-warning", "color": null }, "pagination-chevron-left": { "class": "i-daikin-pagination-chevron-left", "color": "#414141" }, "pagination-chevron-right": { "class": "i-daikin-pagination-chevron-right", "color": "#414141" }, "profile": { "class": "i-daikin-profile", "color": null }, "chevron-up": { "class": "i-daikin-chevron-up", "color": null }, "chevron-down": { "class": "i-daikin-chevron-down", "color": null }, "chevron-left": { "class": "i-daikin-chevron-left", "color": null }, "chevron-right": { "class": "i-daikin-chevron-right", "color": null }, "sort": { "class": "i-daikin-sort", "color": null } };
|
|
2
|
+
const iconsJson = {
|
|
3
|
+
icons
|
|
4
|
+
};
|
|
2
5
|
export {
|
|
6
|
+
iconsJson as default,
|
|
3
7
|
icons
|
|
4
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DDSElement } from "../../base/index.js";
|
|
2
1
|
import { ARIARole } from "../../lit-analyzer-types.js";
|
|
3
2
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
3
|
+
import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
|
|
4
4
|
declare const cvaIconButton: (props?: ({
|
|
5
5
|
color?: "default" | "danger" | "neutral" | null | undefined;
|
|
6
6
|
variant?: "fill" | "outline" | "ghost" | null | undefined;
|
|
@@ -32,7 +32,7 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
|
|
|
32
32
|
* </daikin-icon-button>
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
export declare class DaikinIconButton extends
|
|
35
|
+
export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
36
36
|
static readonly styles: import('lit').CSSResult;
|
|
37
37
|
/**
|
|
38
38
|
* Variant of the button.
|
|
@@ -65,6 +65,24 @@ export declare class DaikinIconButton extends DDSElement {
|
|
|
65
65
|
* Optional ARIA role of the button.
|
|
66
66
|
*/
|
|
67
67
|
buttonRole: ARIARole | null;
|
|
68
|
+
/**
|
|
69
|
+
* The aria-haspopup of the icon button when `type="button"`.
|
|
70
|
+
* When used within a daikin-menu component, this property is automatically assigned the value `buttonAriaHaspopup="menu"`.
|
|
71
|
+
*/
|
|
72
|
+
buttonAriaHaspopup: "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | null;
|
|
73
|
+
/**
|
|
74
|
+
* The aria-expanded of icon button when `type="button"`.
|
|
75
|
+
* When used within a daikin-menu component, this property will be controlled by daikin-menu, so you don't need to specify it explicitly.
|
|
76
|
+
*/
|
|
77
|
+
buttonAriaExpanded: boolean | null;
|
|
78
|
+
/**
|
|
79
|
+
* Size of the button.
|
|
80
|
+
* - `s`: 32px * 32px
|
|
81
|
+
* - `m`: 48px * 48px
|
|
82
|
+
*
|
|
83
|
+
* Default is `s`.
|
|
84
|
+
*/
|
|
85
|
+
size: "s" | "m";
|
|
68
86
|
private _button;
|
|
69
87
|
constructor();
|
|
70
88
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import {
|
|
2
|
+
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property, query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
|
-
import
|
|
5
|
+
import "../../base/dds-element.js";
|
|
6
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
7
|
import "../../base/define.js";
|
|
8
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
9
|
+
import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
|
|
9
10
|
import "../icon/daikin-icon.js";
|
|
10
11
|
var __defProp = Object.defineProperty;
|
|
11
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -74,7 +75,7 @@ const cvaIconButton = cva(
|
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
);
|
|
77
|
-
let DaikinIconButton = class extends
|
|
78
|
+
let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
78
79
|
constructor() {
|
|
79
80
|
super();
|
|
80
81
|
this.variant = "fill";
|
|
@@ -84,10 +85,18 @@ let DaikinIconButton = class extends DDSElement {
|
|
|
84
85
|
this.type = "button";
|
|
85
86
|
this.buttonAriaLabel = null;
|
|
86
87
|
this.buttonRole = null;
|
|
88
|
+
this.buttonAriaHaspopup = null;
|
|
89
|
+
this.buttonAriaExpanded = null;
|
|
90
|
+
this.size = "s";
|
|
87
91
|
this.addEventListener("click", (event) => {
|
|
88
92
|
if (this.disabled) {
|
|
89
93
|
event.stopImmediatePropagation();
|
|
90
94
|
}
|
|
95
|
+
if (this.type === "submit") {
|
|
96
|
+
this.requestSubmit();
|
|
97
|
+
} else if (this.type === "reset") {
|
|
98
|
+
this.reset();
|
|
99
|
+
}
|
|
91
100
|
});
|
|
92
101
|
}
|
|
93
102
|
render() {
|
|
@@ -115,6 +124,8 @@ let DaikinIconButton = class extends DDSElement {
|
|
|
115
124
|
type=${this.type}
|
|
116
125
|
aria-label=${this.buttonAriaLabel ?? ""}
|
|
117
126
|
?disabled=${this.disabled}
|
|
127
|
+
aria-haspopup=${ifDefined(this.buttonAriaHaspopup ?? void 0)}
|
|
128
|
+
aria-expanded=${ifDefined(this.buttonAriaExpanded ?? void 0)}
|
|
118
129
|
>
|
|
119
130
|
<slot class="icon-size-full"></slot>
|
|
120
131
|
</button>
|
|
@@ -134,8 +145,14 @@ DaikinIconButton.styles = css`
|
|
|
134
145
|
|
|
135
146
|
:host {
|
|
136
147
|
display: inline-block;
|
|
137
|
-
width: 2rem;
|
|
138
|
-
height: 2rem;
|
|
148
|
+
width: var(--ddc-icon-button-size, 2rem);
|
|
149
|
+
height: var(--ddc-icon-button-size, 2rem);
|
|
150
|
+
}
|
|
151
|
+
:host([size="s"]) {
|
|
152
|
+
--ddc-icon-button-size: 2rem; /* 32px */
|
|
153
|
+
}
|
|
154
|
+
:host([size="m"]) {
|
|
155
|
+
--ddc-icon-button-size: 3rem; /* 48px */
|
|
139
156
|
}
|
|
140
157
|
`;
|
|
141
158
|
__decorateClass([
|
|
@@ -159,6 +176,15 @@ __decorateClass([
|
|
|
159
176
|
__decorateClass([
|
|
160
177
|
property({ type: String, reflect: true, attribute: "button-role" })
|
|
161
178
|
], DaikinIconButton.prototype, "buttonRole", 2);
|
|
179
|
+
__decorateClass([
|
|
180
|
+
property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
|
|
181
|
+
], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
|
|
182
|
+
__decorateClass([
|
|
183
|
+
property({ type: Boolean, reflect: true, attribute: "button-aria-expanded" })
|
|
184
|
+
], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
|
|
185
|
+
__decorateClass([
|
|
186
|
+
property({ type: String, reflect: true })
|
|
187
|
+
], DaikinIconButton.prototype, "size", 2);
|
|
162
188
|
__decorateClass([
|
|
163
189
|
query("button")
|
|
164
190
|
], DaikinIconButton.prototype, "_button", 2);
|
|
@@ -4,12 +4,17 @@ export * from "./avatar/index.js";
|
|
|
4
4
|
export * from "./breadcrumb/index.js";
|
|
5
5
|
export * from "./breadcrumb-item/index.js";
|
|
6
6
|
export * from "./button/index.js";
|
|
7
|
+
export * from "./calendar/index.js";
|
|
7
8
|
export * from "./card/index.js";
|
|
8
9
|
export * from "./card-footer/index.js";
|
|
9
10
|
export * from "./card-header/index.js";
|
|
10
11
|
export * from "./carousel/index.js";
|
|
11
12
|
export * from "./carousel-item/index.js";
|
|
12
13
|
export * from "./checkbox/index.js";
|
|
14
|
+
export * from "./checkbox-group/index.js";
|
|
15
|
+
export * from "./chip/index.js";
|
|
16
|
+
export * from "./combobox/index.js";
|
|
17
|
+
export * from "./date-picker/index.js";
|
|
13
18
|
export * from "./dropdown/index.js";
|
|
14
19
|
export * from "./dropdown-item/index.js";
|
|
15
20
|
export * from "./icon/index.js";
|
|
@@ -20,12 +25,19 @@ export * from "./link/index.js";
|
|
|
20
25
|
export * from "./list/index.js";
|
|
21
26
|
export * from "./list-item/index.js";
|
|
22
27
|
export * from "./loading/index.js";
|
|
28
|
+
export * from "./logo/index.js";
|
|
29
|
+
export * from "./menu/index.js";
|
|
30
|
+
export * from "./modal/index.js";
|
|
31
|
+
export * from "./modal-footer/index.js";
|
|
32
|
+
export * from "./modal-header/index.js";
|
|
23
33
|
export * from "./pagination/index.js";
|
|
24
34
|
export * from "./progress-bar/index.js";
|
|
25
35
|
export * from "./progress-indicator/index.js";
|
|
26
36
|
export * from "./progress-indicator-item/index.js";
|
|
27
37
|
export * from "./radio/index.js";
|
|
38
|
+
export * from "./radio-group/index.js";
|
|
28
39
|
export * from "./select/index.js";
|
|
40
|
+
export * from "./slider/index.js";
|
|
29
41
|
export * from "./tab/index.js";
|
|
30
42
|
export * from "./tab-panels/index.js";
|
|
31
43
|
export * from "./table/index.js";
|
|
@@ -34,6 +46,8 @@ export * from "./table-header-cell/index.js";
|
|
|
34
46
|
export * from "./tabs/index.js";
|
|
35
47
|
export * from "./text-area/index.js";
|
|
36
48
|
export * from "./text-field/index.js";
|
|
49
|
+
export * from "./text-masked-field/index.js";
|
|
50
|
+
export * from "./time-picker/index.js";
|
|
37
51
|
export * from "./toast-notification/index.js";
|
|
38
52
|
export * from "./toast-notification-manager/index.js";
|
|
39
53
|
export * from "./toggle/index.js";
|
|
@@ -4,12 +4,17 @@ import { DaikinAvatar } from "./avatar/daikin-avatar.js";
|
|
|
4
4
|
import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
|
|
5
5
|
import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
|
|
6
6
|
import { DaikinButton } from "./button/daikin-button.js";
|
|
7
|
+
import { DaikinCalendar } from "./calendar/daikin-calendar.js";
|
|
7
8
|
import { DaikinCard } from "./card/daikin-card.js";
|
|
8
9
|
import { DaikinCardFooter } from "./card-footer/daikin-card-footer.js";
|
|
9
10
|
import { DaikinCardHeader } from "./card-header/daikin-card-header.js";
|
|
10
11
|
import { DaikinCarousel } from "./carousel/daikin-carousel.js";
|
|
11
12
|
import { DaikinCarouselItem } from "./carousel-item/daikin-carousel-item.js";
|
|
12
13
|
import { DaikinCheckbox } from "./checkbox/daikin-checkbox.js";
|
|
14
|
+
import { DaikinCheckboxGroup } from "./checkbox-group/daikin-checkbox-group.js";
|
|
15
|
+
import { DaikinChip } from "./chip/daikin-chip.js";
|
|
16
|
+
import { DaikinCombobox, defaultFilterFn } from "./combobox/daikin-combobox.js";
|
|
17
|
+
import { DaikinDatePicker } from "./date-picker/daikin-date-picker.js";
|
|
13
18
|
import { DaikinDropdown } from "./dropdown/daikin-dropdown.js";
|
|
14
19
|
import { DaikinDropdownItem } from "./dropdown-item/daikin-dropdown-item.js";
|
|
15
20
|
import { DaikinIcon, iconList } from "./icon/daikin-icon.js";
|
|
@@ -20,12 +25,19 @@ import { DaikinLink } from "./link/daikin-link.js";
|
|
|
20
25
|
import { DaikinList } from "./list/daikin-list.js";
|
|
21
26
|
import { DaikinListItem } from "./list-item/daikin-list-item.js";
|
|
22
27
|
import { DaikinLoading } from "./loading/daikin-loading.js";
|
|
28
|
+
import { DaikinLogo } from "./logo/daikin-logo.js";
|
|
29
|
+
import { DaikinMenu } from "./menu/daikin-menu.js";
|
|
30
|
+
import { DaikinModal } from "./modal/daikin-modal.js";
|
|
31
|
+
import { DaikinModalFooter } from "./modal-footer/daikin-modal-footer.js";
|
|
32
|
+
import { DaikinModalHeader } from "./modal-header/daikin-modal-header.js";
|
|
23
33
|
import { DaikinPagination } from "./pagination/daikin-pagination.js";
|
|
24
34
|
import { DaikinProgressBar } from "./progress-bar/daikin-progress-bar.js";
|
|
25
35
|
import { DaikinProgressIndicator } from "./progress-indicator/daikin-progress-indicator.js";
|
|
26
36
|
import { DaikinProgressIndicatorItem } from "./progress-indicator-item/daikin-progress-indicator-item.js";
|
|
27
37
|
import { DaikinRadio } from "./radio/daikin-radio.js";
|
|
38
|
+
import { DaikinRadioGroup } from "./radio-group/daikin-radio-group.js";
|
|
28
39
|
import { DaikinSelect } from "./select/daikin-select.js";
|
|
40
|
+
import { DaikinSlider } from "./slider/daikin-slider.js";
|
|
29
41
|
import { DaikinTab } from "./tab/daikin-tab.js";
|
|
30
42
|
import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
|
|
31
43
|
import { DaikinTable } from "./table/daikin-table.js";
|
|
@@ -34,6 +46,8 @@ import { DaikinTableHeaderCell } from "./table-header-cell/daikin-table-header-c
|
|
|
34
46
|
import { DaikinTabs } from "./tabs/daikin-tabs.js";
|
|
35
47
|
import { DaikinTextArea } from "./text-area/daikin-text-area.js";
|
|
36
48
|
import { DaikinTextField } from "./text-field/daikin-text-field.js";
|
|
49
|
+
import { DaikinTextMaskedField } from "./text-masked-field/daikin-text-masked-field.js";
|
|
50
|
+
import { DaikinTimePicker, calcDigitInput, formatPartsForUI, formatTimeForUI, from24HourFormat, getTimeItemInSelection, isTimeOutOfRange, isValidValueTime, parsePartsFromUIValue, to24HourFormat, tryParseTimeFromUIValue } from "./time-picker/daikin-time-picker.js";
|
|
37
51
|
import { DaikinToastNotification } from "./toast-notification/daikin-toast-notification.js";
|
|
38
52
|
import { DaikinToastNotificationManager } from "./toast-notification-manager/daikin-toast-notification-manager.js";
|
|
39
53
|
import { DaikinToggle } from "./toggle/daikin-toggle.js";
|
|
@@ -48,12 +62,17 @@ export {
|
|
|
48
62
|
DaikinBreadcrumb,
|
|
49
63
|
DaikinBreadcrumbItem,
|
|
50
64
|
DaikinButton,
|
|
65
|
+
DaikinCalendar,
|
|
51
66
|
DaikinCard,
|
|
52
67
|
DaikinCardFooter,
|
|
53
68
|
DaikinCardHeader,
|
|
54
69
|
DaikinCarousel,
|
|
55
70
|
DaikinCarouselItem,
|
|
56
71
|
DaikinCheckbox,
|
|
72
|
+
DaikinCheckboxGroup,
|
|
73
|
+
DaikinChip,
|
|
74
|
+
DaikinCombobox,
|
|
75
|
+
DaikinDatePicker,
|
|
57
76
|
DaikinDropdown,
|
|
58
77
|
DaikinDropdownItem,
|
|
59
78
|
DaikinIcon,
|
|
@@ -64,12 +83,19 @@ export {
|
|
|
64
83
|
DaikinList,
|
|
65
84
|
DaikinListItem,
|
|
66
85
|
DaikinLoading,
|
|
86
|
+
DaikinLogo,
|
|
87
|
+
DaikinMenu,
|
|
88
|
+
DaikinModal,
|
|
89
|
+
DaikinModalFooter,
|
|
90
|
+
DaikinModalHeader,
|
|
67
91
|
DaikinPagination,
|
|
68
92
|
DaikinProgressBar,
|
|
69
93
|
DaikinProgressIndicator,
|
|
70
94
|
DaikinProgressIndicatorItem,
|
|
71
95
|
DaikinRadio,
|
|
96
|
+
DaikinRadioGroup,
|
|
72
97
|
DaikinSelect,
|
|
98
|
+
DaikinSlider,
|
|
73
99
|
DaikinTab,
|
|
74
100
|
DaikinTabPanels,
|
|
75
101
|
DaikinTable,
|
|
@@ -78,6 +104,8 @@ export {
|
|
|
78
104
|
DaikinTabs,
|
|
79
105
|
DaikinTextArea,
|
|
80
106
|
DaikinTextField,
|
|
107
|
+
DaikinTextMaskedField,
|
|
108
|
+
DaikinTimePicker,
|
|
81
109
|
DaikinToastNotification,
|
|
82
110
|
DaikinToastNotificationManager,
|
|
83
111
|
DaikinToggle,
|
|
@@ -85,6 +113,17 @@ export {
|
|
|
85
113
|
DaikinTree,
|
|
86
114
|
DaikinTreeItem,
|
|
87
115
|
DaikinTreeSection,
|
|
116
|
+
calcDigitInput,
|
|
88
117
|
cvaTreeChildren,
|
|
89
|
-
|
|
118
|
+
defaultFilterFn,
|
|
119
|
+
formatPartsForUI,
|
|
120
|
+
formatTimeForUI,
|
|
121
|
+
from24HourFormat,
|
|
122
|
+
getTimeItemInSelection,
|
|
123
|
+
iconList,
|
|
124
|
+
isTimeOutOfRange,
|
|
125
|
+
isValidValueTime,
|
|
126
|
+
parsePartsFromUIValue,
|
|
127
|
+
to24HourFormat,
|
|
128
|
+
tryParseTimeFromUIValue
|
|
90
129
|
};
|
|
@@ -6,10 +6,12 @@ import { ToastNotificationVariantProps } from "../toast-notification/index.js";
|
|
|
6
6
|
* An inline notification appears within the content of the application, usually embedded directly within a page or section.
|
|
7
7
|
* Inline notification is more persistent than toast notification and are used to highlight important information or status updates that should remain visible to the user until they are acknowledged or the issue is resolved.
|
|
8
8
|
*
|
|
9
|
+
* @tokenImports ../../utils/notification-common.ts
|
|
10
|
+
*
|
|
9
11
|
* @fires close - A custom event emitted when a user clicks the close button.
|
|
10
12
|
*
|
|
13
|
+
* @slot A slot for the inline notification description content.
|
|
11
14
|
* @slot title - A slot for the title content.
|
|
12
|
-
* @slot description - A slot for the description content.
|
|
13
15
|
*
|
|
14
16
|
* @example
|
|
15
17
|
*
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { css,
|
|
1
|
+
import { unsafeCSS, css, nothing, html } from "lit";
|
|
2
2
|
import { property } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
4
|
import { ddsElement } from "../../base/decorators.js";
|
|
5
5
|
import "../../base/define.js";
|
|
6
6
|
import tailwindStyles from "../../tailwind.css.js";
|
|
7
7
|
import { formatDate, cvaContainer, cvaContent, cvaTitle, cvaDescription, cvaTimestamp } from "../../utils/notification-common.js";
|
|
8
|
+
import "../icon-button/daikin-icon-button.js";
|
|
8
9
|
var __defProp = Object.defineProperty;
|
|
9
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
11
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -34,30 +35,24 @@ let DaikinInlineNotification = class extends DDSElement {
|
|
|
34
35
|
const formattedTimestamp = this.timestamp ? formatDate(this.timestamp) : null;
|
|
35
36
|
return html`<aside
|
|
36
37
|
class=${cvaContainer({ variant: "inline", status: this.status })}
|
|
37
|
-
role="status"
|
|
38
38
|
>
|
|
39
39
|
<div class=${cvaContent({ layout: this.layout })}>
|
|
40
40
|
<slot class=${cvaTitle({ layout: this.layout })} name="title"></slot>
|
|
41
|
-
<slot
|
|
42
|
-
class=${cvaDescription({ layout: this.layout })}
|
|
43
|
-
name="description"
|
|
44
|
-
></slot>
|
|
41
|
+
<slot class=${cvaDescription({ layout: this.layout })}></slot>
|
|
45
42
|
${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
|
|
46
43
|
>${formattedTimestamp}</span
|
|
47
44
|
>` : nothing}
|
|
48
45
|
</div>
|
|
49
46
|
<slot name="action" class="flex-none"></slot>
|
|
50
|
-
${this.closable ? html
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</daikin-icon-button>
|
|
60
|
-
` : nothing}
|
|
47
|
+
${this.closable ? html`<daikin-icon-button
|
|
48
|
+
variant="ghost"
|
|
49
|
+
button-aria-label="Close"
|
|
50
|
+
@click=${this._handleClickClose}
|
|
51
|
+
>
|
|
52
|
+
<span
|
|
53
|
+
class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-close"
|
|
54
|
+
></span>
|
|
55
|
+
</daikin-icon-button>` : nothing}
|
|
61
56
|
</aside>`;
|
|
62
57
|
}
|
|
63
58
|
};
|
|
@@ -74,10 +69,10 @@ DaikinInlineNotification.styles = css`
|
|
|
74
69
|
}
|
|
75
70
|
`;
|
|
76
71
|
__decorateClass([
|
|
77
|
-
property({ type: String })
|
|
72
|
+
property({ type: String, reflect: true })
|
|
78
73
|
], DaikinInlineNotification.prototype, "status", 2);
|
|
79
74
|
__decorateClass([
|
|
80
|
-
property({ type: String })
|
|
75
|
+
property({ type: String, reflect: true })
|
|
81
76
|
], DaikinInlineNotification.prototype, "layout", 2);
|
|
82
77
|
__decorateClass([
|
|
83
78
|
property({ type: Boolean, reflect: true })
|
|
@@ -5,11 +5,15 @@ import { DDSElement } from "../../base/index.js";
|
|
|
5
5
|
* This component is particularly useful for creating complex forms where clear communication and guidance are essential.
|
|
6
6
|
*
|
|
7
7
|
* Hierarchies:
|
|
8
|
+
* - `daikin-input-group` > `daikin-checkbox-group` > `daikin-checkbox`
|
|
9
|
+
* - `daikin-input-group` > `daikin-combobox`
|
|
10
|
+
* - `daikin-input-group` > `daikin-date-picker`
|
|
8
11
|
* - `daikin-input-group` > `daikin-dropdown` > `daikin-dropdown-item`
|
|
9
12
|
* - `daikin-input-group` > `daikin-radio-group` > `daikin-radio`
|
|
10
13
|
* - `daikin-input-group` > `daikin-select`
|
|
11
14
|
* - `daikin-input-group` > `daikin-text-area`
|
|
12
15
|
* - `daikin-input-group` > `daikin-text-field`
|
|
16
|
+
* - `daikin-input-group` > `daikin-time-picker`
|
|
13
17
|
*
|
|
14
18
|
* @slot - A slot for an input component. See **Hierarchies** for supported components.
|
|
15
19
|
*
|
|
@@ -18,13 +22,51 @@ import { DDSElement } from "../../base/index.js";
|
|
|
18
22
|
* ```js
|
|
19
23
|
* import "@daikin-oss/design-system-web-components/components/input-group/index.js";
|
|
20
24
|
* <!-- Import the following as necessary. -->
|
|
25
|
+
* import "@daikin-oss/design-system-web-components/components/checkbox-group/index.js";
|
|
26
|
+
* import "@daikin-oss/design-system-web-components/components/checkbox/index.js";
|
|
27
|
+
* import "@daikin-oss/design-system-web-components/components/combobox/index.js";
|
|
28
|
+
* import "@daikin-oss/design-system-web-components/components/date-picker/index.js";
|
|
21
29
|
* import "@daikin-oss/design-system-web-components/components/dropdown/index.js";
|
|
22
30
|
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
23
|
-
* import "@daikin-oss/design-system-web-components/components/radio/index.js";
|
|
24
31
|
* import "@daikin-oss/design-system-web-components/components/radio-group/index.js";
|
|
32
|
+
* import "@daikin-oss/design-system-web-components/components/radio/index.js";
|
|
25
33
|
* import "@daikin-oss/design-system-web-components/components/select/index.js";
|
|
26
34
|
* import "@daikin-oss/design-system-web-components/components/text-area/index.js";
|
|
27
35
|
* import "@daikin-oss/design-system-web-components/components/text-field/index.js";
|
|
36
|
+
* import "@daikin-oss/design-system-web-components/components/time-picker/index.js";
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* With Checkbox Group:
|
|
40
|
+
*
|
|
41
|
+
* ```html
|
|
42
|
+
* <daikin-input-group>
|
|
43
|
+
* <daikin-checkbox-group>
|
|
44
|
+
* <daikin-checkbox name="name1" value="value1" label="Checkbox Item 1"></daikin-checkbox>
|
|
45
|
+
* <daikin-checkbox name="name2" value="value2" label="Checkbox Item 2"></daikin-checkbox>
|
|
46
|
+
* <daikin-checkbox name="name3" value="value3" label="Checkbox Item 3"></daikin-checkbox>
|
|
47
|
+
* </daikin-checkbox-group>
|
|
48
|
+
* </daikin-input-group>
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* With Combobox:
|
|
52
|
+
*
|
|
53
|
+
* ```html
|
|
54
|
+
* <daikin-input-group>
|
|
55
|
+
* <daikin-combobox></daikin-combobox>
|
|
56
|
+
* </daikin-input-group>
|
|
57
|
+
*
|
|
58
|
+
* <script>
|
|
59
|
+
* const combobox = document.querySelector("daikin-combobox");
|
|
60
|
+
* combobox.items = ["Apple", "Banana", "Cherry"];
|
|
61
|
+
* </script>
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* With Date Picker:
|
|
65
|
+
*
|
|
66
|
+
* ```html
|
|
67
|
+
* <daikin-input-group>
|
|
68
|
+
* <daikin-date-picker></daikin-date-picker>
|
|
69
|
+
* </daikin-input-group>
|
|
28
70
|
* ```
|
|
29
71
|
*
|
|
30
72
|
* With Dropdown:
|
|
@@ -86,6 +128,13 @@ import { DDSElement } from "../../base/index.js";
|
|
|
86
128
|
* <daikin-text-area value="Content of TextArea"></daikin-text-area>
|
|
87
129
|
* </daikin-input-group>
|
|
88
130
|
* ```
|
|
131
|
+
*
|
|
132
|
+
* With Time Picker:
|
|
133
|
+
*
|
|
134
|
+
* ```html
|
|
135
|
+
* <daikin-input-group>
|
|
136
|
+
* <daikin-time-picker></daikin-time-picker>
|
|
137
|
+
* </daikin-input-group>
|
|
89
138
|
* ```
|
|
90
139
|
*/
|
|
91
140
|
export declare class DaikinInputGroup extends DDSElement {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import { css,
|
|
2
|
+
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
3
|
import { property, queryAssignedElements, state } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
@@ -34,14 +34,14 @@ const cvaHelper = cva(
|
|
|
34
34
|
"text-ddt-color-common-danger-default",
|
|
35
35
|
"font-bold",
|
|
36
36
|
"before:size-4",
|
|
37
|
-
"before:i-daikin-
|
|
37
|
+
"before:i-daikin-error",
|
|
38
38
|
"before:flex-none"
|
|
39
39
|
],
|
|
40
40
|
textareaLimitExceedError: [
|
|
41
41
|
"text-ddt-color-common-danger-default",
|
|
42
42
|
"font-bold",
|
|
43
43
|
"before:size-4",
|
|
44
|
-
"before:i-daikin-
|
|
44
|
+
"before:i-daikin-error",
|
|
45
45
|
"before:flex-none"
|
|
46
46
|
],
|
|
47
47
|
none: ["hidden"]
|
|
@@ -109,7 +109,7 @@ let DaikinInputGroup = class extends DDSElement {
|
|
|
109
109
|
textareaLimitExceedError: this.textareaLimitExceedError,
|
|
110
110
|
none: ""
|
|
111
111
|
}[helperTextVariant];
|
|
112
|
-
return html`<fieldset class="
|
|
112
|
+
return html`<fieldset class="contents" ?disabled=${this.disabled}>
|
|
113
113
|
<label
|
|
114
114
|
class="flex flex-col justify-center gap-2 w-full text-ddt-color-common-text-primary font-daikinSerif"
|
|
115
115
|
>
|
|
@@ -182,7 +182,7 @@ __decorateClass([
|
|
|
182
182
|
], DaikinInputGroup.prototype, "_textareas", 2);
|
|
183
183
|
__decorateClass([
|
|
184
184
|
queryAssignedElements({
|
|
185
|
-
selector: "daikin-dropdown,daikin-radio-group,daikin-select,daikin-text-
|
|
185
|
+
selector: "daikin-checkbox-group,daikin-combobox,daikin-date-picker,daikin-dropdown,daikin-radio-group,daikin-select,daikin-text-area,daikin-text-field,daikin-time-picker"
|
|
186
186
|
})
|
|
187
187
|
], DaikinInputGroup.prototype, "_controls", 2);
|
|
188
188
|
__decorateClass([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import {
|
|
2
|
+
import { unsafeCSS, css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
@@ -4,6 +4,7 @@ import { DDSElement } from "../../base/index.js";
|
|
|
4
4
|
*
|
|
5
5
|
* Hierarchy:
|
|
6
6
|
* - `daikin-list` > `daikin-list-item`
|
|
7
|
+
* - `daikin-menu` > `daikin-list` > `daikin-list-item`
|
|
7
8
|
*
|
|
8
9
|
* @slot - A slot for the list items. Place `daikin-list-item` elements here.
|
|
9
10
|
*
|
|
@@ -23,7 +24,22 @@ import { DDSElement } from "../../base/index.js";
|
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
26
|
export declare class DaikinList extends DDSElement {
|
|
27
|
+
static readonly styles: import('lit').CSSResult;
|
|
28
|
+
/**
|
|
29
|
+
* The ARIA `role` of the component.
|
|
30
|
+
* Controlled by the `daikin-menu` component if used within it.
|
|
31
|
+
*/
|
|
32
|
+
listRole: "list" | "menu";
|
|
33
|
+
private readonly _listItems;
|
|
34
|
+
private _reflectSlotProperties;
|
|
35
|
+
private _handleSlotChange;
|
|
36
|
+
private handleKeyDown;
|
|
26
37
|
render(): import('lit-html').TemplateResult<1>;
|
|
38
|
+
/**
|
|
39
|
+
* Focuses on the first list item in the slot.
|
|
40
|
+
* @private
|
|
41
|
+
*/
|
|
42
|
+
focusFirstItem(): void;
|
|
27
43
|
}
|
|
28
44
|
declare global {
|
|
29
45
|
interface HTMLElementTagNameMap {
|