@daikin-oss/design-system-web-components 1.0.0 → 1.2.0
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 +127 -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 +6 -3
- package/dist/cjs/components/avatar/daikin-avatar.cjs +160 -0
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +67 -0
- package/dist/cjs/components/avatar/index.cjs +7 -0
- package/dist/cjs/components/avatar/index.d.cts +1 -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 +547 -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/checkbox/daikin-checkbox.cjs +13 -16
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +13 -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/date-picker/daikin-date-picker.cjs +611 -0
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +105 -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 +181 -86
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +48 -18
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +97 -36
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +6 -1
- package/dist/cjs/components/icon/icons.json.cjs +1 -1
- package/dist/cjs/components/icon/icons.json.d.cts +30 -14
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +18 -2
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +12 -2
- package/dist/cjs/components/index.cjs +55 -0
- package/dist/cjs/components/index.d.cts +11 -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 +22 -0
- 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 +25 -5
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +9 -3
- package/dist/cjs/components/loading/daikin-loading.cjs +91 -0
- package/dist/cjs/components/loading/daikin-loading.d.cts +33 -0
- package/dist/cjs/components/loading/index.cjs +7 -0
- package/dist/cjs/components/loading/index.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 +2 -2
- 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/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/table/daikin-table.cjs +42 -4
- package/dist/cjs/components/table/daikin-table.d.cts +5 -0
- 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.d.cts +1 -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 +149 -52
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +28 -18
- 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/toast-notification-manager/daikin-toast-notification-manager.d.cts +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 +12 -6
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +3 -2
- 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/focus-trap.cjs +42 -0
- package/dist/cjs/controllers/focus-trap.d.cts +10 -0
- package/dist/cjs/index.cjs +55 -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/is-similar-to-click.cjs +4 -0
- package/dist/cjs/utils/is-similar-to-click.d.cts +1 -0
- package/dist/cjs/utils/notification-common.cjs +19 -15
- package/dist/cjs/utils/notification-common.d.cts +1 -1
- 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 +6 -3
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +160 -0
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +67 -0
- package/dist/cjs-dev/components/avatar/index.cjs +7 -0
- package/dist/cjs-dev/components/avatar/index.d.cts +1 -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 +558 -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/checkbox/daikin-checkbox.cjs +13 -16
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +13 -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/date-picker/daikin-date-picker.cjs +622 -0
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +105 -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 +181 -86
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +48 -18
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +97 -36
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +6 -1
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
- package/dist/cjs-dev/components/icon/icons.json.d.cts +30 -14
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +18 -2
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +12 -2
- package/dist/cjs-dev/components/index.cjs +55 -0
- package/dist/cjs-dev/components/index.d.cts +11 -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 +22 -0
- 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 +25 -5
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +9 -3
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +91 -0
- package/dist/cjs-dev/components/loading/daikin-loading.d.cts +33 -0
- package/dist/cjs-dev/components/loading/index.cjs +7 -0
- package/dist/cjs-dev/components/loading/index.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 +2 -2
- 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/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/table/daikin-table.cjs +42 -4
- package/dist/cjs-dev/components/table/daikin-table.d.cts +5 -0
- 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.d.cts +1 -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 +149 -52
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +28 -18
- 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/toast-notification-manager/daikin-toast-notification-manager.d.cts +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 +12 -6
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +3 -2
- 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/focus-trap.cjs +42 -0
- package/dist/cjs-dev/controllers/focus-trap.d.cts +10 -0
- package/dist/cjs-dev/index.cjs +55 -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/is-similar-to-click.cjs +4 -0
- package/dist/cjs-dev/utils/is-similar-to-click.d.cts +1 -0
- package/dist/cjs-dev/utils/notification-common.cjs +19 -15
- package/dist/cjs-dev/utils/notification-common.d.cts +1 -1
- 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 +7 -4
- package/dist/es/components/avatar/daikin-avatar.d.ts +67 -0
- package/dist/es/components/avatar/daikin-avatar.js +161 -0
- package/dist/es/components/avatar/index.d.ts +1 -0
- package/dist/es/components/avatar/index.js +4 -0
- 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 +548 -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 +1 -1
- package/dist/es/components/carousel/daikin-carousel.js +1 -1
- package/dist/es/components/carousel-item/daikin-carousel-item.js +1 -1
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +13 -12
- package/dist/es/components/checkbox/daikin-checkbox.js +14 -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/date-picker/daikin-date-picker.d.ts +105 -0
- package/dist/es/components/date-picker/daikin-date-picker.js +612 -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 +48 -18
- package/dist/es/components/dropdown/daikin-dropdown.js +182 -87
- package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +6 -1
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +98 -37
- package/dist/es/components/icon/daikin-icon.js +1 -1
- package/dist/es/components/icon/icons.json.d.ts +30 -14
- package/dist/es/components/icon/icons.json.js +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +12 -2
- package/dist/es/components/icon-button/daikin-icon-button.js +19 -3
- package/dist/es/components/index.d.ts +11 -0
- package/dist/es/components/index.js +22 -0
- 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 +22 -0
- 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 +26 -6
- package/dist/es/components/loading/daikin-loading.d.ts +33 -0
- package/dist/es/components/loading/daikin-loading.js +92 -0
- package/dist/es/components/loading/index.d.ts +1 -0
- package/dist/es/components/loading/index.js +4 -0
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/es/components/tab-panels/daikin-tab-panels.js +1 -1
- package/dist/es/components/table/daikin-table.d.ts +5 -0
- package/dist/es/components/table/daikin-table.js +43 -5
- 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 +1 -1
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +1 -1
- 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 +28 -18
- package/dist/es/components/text-field/daikin-text-field.js +150 -53
- 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.d.ts +1 -1
- 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 +3 -2
- package/dist/es/components/tooltip/daikin-tooltip.js +13 -7
- 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/focus-trap.d.ts +10 -0
- package/dist/es/controllers/focus-trap.js +42 -0
- package/dist/es/index.js +22 -0
- 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/is-similar-to-click.d.ts +1 -0
- package/dist/es/utils/is-similar-to-click.js +4 -0
- package/dist/es/utils/notification-common.d.ts +1 -1
- 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 +7 -4
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +67 -0
- package/dist/es-dev/components/avatar/daikin-avatar.js +161 -0
- package/dist/es-dev/components/avatar/index.d.ts +1 -0
- package/dist/es-dev/components/avatar/index.js +4 -0
- 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 +559 -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 +1 -1
- package/dist/es-dev/components/carousel/daikin-carousel.js +1 -1
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +1 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +13 -12
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +14 -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/date-picker/daikin-date-picker.d.ts +105 -0
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +623 -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 +48 -18
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +182 -87
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.d.ts +6 -1
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +98 -37
- package/dist/es-dev/components/icon/daikin-icon.js +1 -1
- package/dist/es-dev/components/icon/icons.json.d.ts +30 -14
- package/dist/es-dev/components/icon/icons.json.js +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +12 -2
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +19 -3
- package/dist/es-dev/components/index.d.ts +11 -0
- package/dist/es-dev/components/index.js +22 -0
- 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 +22 -0
- 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 +26 -6
- package/dist/es-dev/components/loading/daikin-loading.d.ts +33 -0
- package/dist/es-dev/components/loading/daikin-loading.js +92 -0
- package/dist/es-dev/components/loading/index.d.ts +1 -0
- package/dist/es-dev/components/loading/index.js +4 -0
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +1 -1
- package/dist/es-dev/components/table/daikin-table.d.ts +5 -0
- package/dist/es-dev/components/table/daikin-table.js +43 -5
- 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 +1 -1
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +1 -1
- 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 +28 -18
- package/dist/es-dev/components/text-field/daikin-text-field.js +150 -53
- 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.d.ts +1 -1
- 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 +3 -2
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +13 -7
- 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/focus-trap.d.ts +10 -0
- package/dist/es-dev/controllers/focus-trap.js +42 -0
- package/dist/es-dev/index.js +22 -0
- 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/is-similar-to-click.d.ts +1 -0
- package/dist/es-dev/utils/is-similar-to-click.js +4 -0
- package/dist/es-dev/utils/notification-common.d.ts +1 -1
- 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/dropdown-chevron-down.svg +3 -3
- 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/password-hidden.svg +3 -0
- package/icons/password-visible.svg +3 -0
- package/icons/profile.svg +4 -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 +7 -3
- 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,10 +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 { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
6
|
import "../../base/define.js";
|
|
7
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
8
|
+
import { isSimilarToClick } from "../../utils/is-similar-to-click.js";
|
|
9
|
+
import "../checkbox/daikin-checkbox.js";
|
|
8
10
|
var __defProp = Object.defineProperty;
|
|
9
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
12
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -19,35 +21,49 @@ const cvaOption = cva(
|
|
|
19
21
|
[
|
|
20
22
|
"flex",
|
|
21
23
|
"items-center",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
+
"gap-1",
|
|
25
|
+
"size-full",
|
|
24
26
|
"min-h-12",
|
|
25
|
-
"text-ddt-color-common-text-primary",
|
|
26
|
-
"bg-ddt-color-common-background-default",
|
|
27
|
-
"p-3",
|
|
28
27
|
"font-daikinSerif",
|
|
29
|
-
"leading-
|
|
28
|
+
"leading-[130%]",
|
|
30
29
|
"text-left",
|
|
30
|
+
"relative",
|
|
31
31
|
"focus-visible:outline",
|
|
32
32
|
"focus-visible:outline-2",
|
|
33
33
|
"focus-visible:-outline-offset-2",
|
|
34
|
-
"focus-visible:outline-ddt-color-common-border-focus"
|
|
35
|
-
"disabled:text-ddt-color-common-disabled"
|
|
34
|
+
"focus-visible:outline-ddt-color-common-border-focus"
|
|
36
35
|
],
|
|
37
36
|
{
|
|
38
37
|
variants: {
|
|
39
38
|
selected: {
|
|
40
39
|
false: [
|
|
41
|
-
"
|
|
42
|
-
"
|
|
40
|
+
"var-color-ddt-color-common-background-default/color-primary",
|
|
41
|
+
"hover:var-color-ddt-color-common-surface-hover/color-primary",
|
|
42
|
+
"active:var-color-ddt-color-common-surface-press/color-primary"
|
|
43
43
|
],
|
|
44
44
|
true: [
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
45
|
+
"var-color-ddt-color-common-surface-selected-default/color-primary",
|
|
46
|
+
"hover:var-color-ddt-color-common-surface-selected-hover/color-primary",
|
|
47
|
+
"active:var-color-ddt-color-common-surface-selected-press/color-primary",
|
|
48
48
|
"after:i-daikin-dropdown-check",
|
|
49
|
-
"after:size-6"
|
|
49
|
+
"after:size-6",
|
|
50
|
+
"after:flex-none"
|
|
50
51
|
]
|
|
52
|
+
},
|
|
53
|
+
disabled: {
|
|
54
|
+
false: [
|
|
55
|
+
"text-ddt-color-common-text-primary",
|
|
56
|
+
"bg-[--color-primary]",
|
|
57
|
+
"cursor-pointer"
|
|
58
|
+
],
|
|
59
|
+
true: [
|
|
60
|
+
"text-ddt-color-common-disabled",
|
|
61
|
+
"bg-ddt-color-common-background-default"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
multiple: {
|
|
65
|
+
false: ["justify-between", "p-3"],
|
|
66
|
+
true: ["after:hidden"]
|
|
51
67
|
}
|
|
52
68
|
}
|
|
53
69
|
}
|
|
@@ -58,30 +74,72 @@ let DaikinDropdownItem = class extends DDSElement {
|
|
|
58
74
|
this.value = "";
|
|
59
75
|
this.disabled = false;
|
|
60
76
|
this.selected = false;
|
|
77
|
+
this.selectable = false;
|
|
61
78
|
}
|
|
62
|
-
_handleClick() {
|
|
63
|
-
if (this.disabled) {
|
|
79
|
+
_handleClick(event) {
|
|
80
|
+
if (this.disabled || event.target.tagName === "DAIKIN-CHECKBOX") {
|
|
64
81
|
return;
|
|
65
82
|
}
|
|
66
|
-
this.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
);
|
|
83
|
+
this._emitSelect();
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
}
|
|
86
|
+
_handleChange(event) {
|
|
87
|
+
this._emitSelect();
|
|
88
|
+
event.preventDefault();
|
|
89
|
+
}
|
|
90
|
+
_handleKeydown(event) {
|
|
91
|
+
if (!isSimilarToClick(event.key) || this.disabled) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
this._emitSelect();
|
|
95
|
+
event.preventDefault();
|
|
96
|
+
}
|
|
97
|
+
_handleMousedown(event) {
|
|
98
|
+
if (event.detail === 2) {
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
_emitSelect() {
|
|
103
|
+
this.dispatchEvent(new Event("select", { bubbles: true }));
|
|
71
104
|
}
|
|
72
105
|
render() {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
106
|
+
const optionClassName = cvaOption({
|
|
107
|
+
selected: this.selected,
|
|
108
|
+
disabled: this.disabled,
|
|
109
|
+
multiple: this.selectable
|
|
110
|
+
});
|
|
111
|
+
return this.selectable ? html`<span
|
|
112
|
+
class=${optionClassName}
|
|
113
|
+
data-value=${this.value}
|
|
114
|
+
role="option"
|
|
115
|
+
aria-selected=${this.selected}
|
|
116
|
+
tabindex="-1"
|
|
117
|
+
aria-disabled=${this.disabled}
|
|
118
|
+
@click=${this._handleClick}
|
|
119
|
+
@keydown=${this._handleKeydown}
|
|
120
|
+
@mousedown=${this._handleMousedown}
|
|
121
|
+
>
|
|
122
|
+
<daikin-checkbox
|
|
123
|
+
class="size-full part-[label]:p-2 part-[label]:cursor-pointer"
|
|
124
|
+
check-state=${this.selected ? "checked" : "unchecked"}
|
|
125
|
+
tabindex="-1"
|
|
126
|
+
?disabled=${this.disabled}
|
|
127
|
+
@change=${this._handleChange}
|
|
128
|
+
>
|
|
129
|
+
<slot></slot>
|
|
130
|
+
</daikin-checkbox>
|
|
131
|
+
</span>` : html`<button
|
|
132
|
+
type="button"
|
|
133
|
+
class=${optionClassName}
|
|
134
|
+
data-value=${this.value}
|
|
135
|
+
role="option"
|
|
136
|
+
aria-selected=${this.selected}
|
|
137
|
+
tabindex="-1"
|
|
138
|
+
?disabled=${this.disabled}
|
|
139
|
+
@click=${this._handleClick}
|
|
140
|
+
>
|
|
141
|
+
<slot></slot>
|
|
142
|
+
</button>`;
|
|
85
143
|
}
|
|
86
144
|
/**
|
|
87
145
|
* Focuses on the inner button.
|
|
@@ -89,7 +147,7 @@ let DaikinDropdownItem = class extends DDSElement {
|
|
|
89
147
|
*/
|
|
90
148
|
focus(options) {
|
|
91
149
|
var _a;
|
|
92
|
-
(_a = this.
|
|
150
|
+
(_a = this._focusableElement) == null ? void 0 : _a.focus(options);
|
|
93
151
|
}
|
|
94
152
|
};
|
|
95
153
|
DaikinDropdownItem.styles = css`
|
|
@@ -110,8 +168,11 @@ __decorateClass([
|
|
|
110
168
|
property({ type: Boolean, reflect: true })
|
|
111
169
|
], DaikinDropdownItem.prototype, "selected", 2);
|
|
112
170
|
__decorateClass([
|
|
113
|
-
|
|
114
|
-
], DaikinDropdownItem.prototype, "
|
|
171
|
+
property({ type: Boolean, reflect: true })
|
|
172
|
+
], DaikinDropdownItem.prototype, "selectable", 2);
|
|
173
|
+
__decorateClass([
|
|
174
|
+
query("button,span[role=option]")
|
|
175
|
+
], DaikinDropdownItem.prototype, "_focusableElement", 2);
|
|
115
176
|
DaikinDropdownItem = __decorateClass([
|
|
116
177
|
ddsElement("daikin-dropdown-item")
|
|
117
178
|
], DaikinDropdownItem);
|
|
@@ -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 { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import { ddsElement } from "../../base/decorators.js";
|
|
@@ -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,12 +40,8 @@ declare const _default: {
|
|
|
32
40
|
"class": "i-daikin-pagination-chevron-right",
|
|
33
41
|
"color": "#414141"
|
|
34
42
|
},
|
|
35
|
-
"
|
|
36
|
-
"class": "i-daikin-
|
|
37
|
-
"color": "#FF4949"
|
|
38
|
-
},
|
|
39
|
-
"cross": {
|
|
40
|
-
"class": "i-daikin-cross",
|
|
43
|
+
"profile": {
|
|
44
|
+
"class": "i-daikin-profile",
|
|
41
45
|
"color": null
|
|
42
46
|
},
|
|
43
47
|
"chevron-up": {
|
|
@@ -59,6 +63,18 @@ declare const _default: {
|
|
|
59
63
|
"sort": {
|
|
60
64
|
"class": "i-daikin-sort",
|
|
61
65
|
"color": null
|
|
66
|
+
},
|
|
67
|
+
"negative": {
|
|
68
|
+
"class": "i-daikin-error",
|
|
69
|
+
"color": null
|
|
70
|
+
},
|
|
71
|
+
"positive": {
|
|
72
|
+
"class": "i-daikin-success",
|
|
73
|
+
"color": null
|
|
74
|
+
},
|
|
75
|
+
"cross": {
|
|
76
|
+
"class": "i-daikin-close",
|
|
77
|
+
"color": null
|
|
62
78
|
}
|
|
63
79
|
}
|
|
64
80
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
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 }, "negative": { "class": "i-daikin-error", "color": null }, "positive": { "class": "i-daikin-success", "color": null }, "cross": { "class": "i-daikin-close", "color": null } };
|
|
2
2
|
export {
|
|
3
3
|
icons
|
|
4
4
|
};
|
|
@@ -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,16 @@ 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;
|
|
68
78
|
private _button;
|
|
69
79
|
constructor();
|
|
70
80
|
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,17 @@ 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;
|
|
87
90
|
this.addEventListener("click", (event) => {
|
|
88
91
|
if (this.disabled) {
|
|
89
92
|
event.stopImmediatePropagation();
|
|
90
93
|
}
|
|
94
|
+
if (this.type === "submit") {
|
|
95
|
+
this.requestSubmit();
|
|
96
|
+
} else if (this.type === "reset") {
|
|
97
|
+
this.reset();
|
|
98
|
+
}
|
|
91
99
|
});
|
|
92
100
|
}
|
|
93
101
|
render() {
|
|
@@ -115,6 +123,8 @@ let DaikinIconButton = class extends DDSElement {
|
|
|
115
123
|
type=${this.type}
|
|
116
124
|
aria-label=${this.buttonAriaLabel ?? ""}
|
|
117
125
|
?disabled=${this.disabled}
|
|
126
|
+
aria-haspopup=${ifDefined(this.buttonAriaHaspopup ?? void 0)}
|
|
127
|
+
aria-expanded=${ifDefined(this.buttonAriaExpanded ?? void 0)}
|
|
118
128
|
>
|
|
119
129
|
<slot class="icon-size-full"></slot>
|
|
120
130
|
</button>
|
|
@@ -159,6 +169,12 @@ __decorateClass([
|
|
|
159
169
|
__decorateClass([
|
|
160
170
|
property({ type: String, reflect: true, attribute: "button-role" })
|
|
161
171
|
], DaikinIconButton.prototype, "buttonRole", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
|
|
174
|
+
], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
|
|
175
|
+
__decorateClass([
|
|
176
|
+
property({ type: Boolean, reflect: true, attribute: "button-aria-expanded" })
|
|
177
|
+
], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
|
|
162
178
|
__decorateClass([
|
|
163
179
|
query("button")
|
|
164
180
|
], DaikinIconButton.prototype, "_button", 2);
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export * from "./accordion/index.js";
|
|
2
2
|
export * from "./accordion-item/index.js";
|
|
3
|
+
export * from "./avatar/index.js";
|
|
3
4
|
export * from "./breadcrumb/index.js";
|
|
4
5
|
export * from "./breadcrumb-item/index.js";
|
|
5
6
|
export * from "./button/index.js";
|
|
7
|
+
export * from "./calendar/index.js";
|
|
6
8
|
export * from "./card/index.js";
|
|
7
9
|
export * from "./card-footer/index.js";
|
|
8
10
|
export * from "./card-header/index.js";
|
|
9
11
|
export * from "./carousel/index.js";
|
|
10
12
|
export * from "./carousel-item/index.js";
|
|
11
13
|
export * from "./checkbox/index.js";
|
|
14
|
+
export * from "./checkbox-group/index.js";
|
|
15
|
+
export * from "./date-picker/index.js";
|
|
12
16
|
export * from "./dropdown/index.js";
|
|
13
17
|
export * from "./dropdown-item/index.js";
|
|
14
18
|
export * from "./icon/index.js";
|
|
@@ -18,12 +22,19 @@ export * from "./input-group/index.js";
|
|
|
18
22
|
export * from "./link/index.js";
|
|
19
23
|
export * from "./list/index.js";
|
|
20
24
|
export * from "./list-item/index.js";
|
|
25
|
+
export * from "./loading/index.js";
|
|
26
|
+
export * from "./logo/index.js";
|
|
27
|
+
export * from "./menu/index.js";
|
|
28
|
+
export * from "./modal/index.js";
|
|
29
|
+
export * from "./modal-footer/index.js";
|
|
30
|
+
export * from "./modal-header/index.js";
|
|
21
31
|
export * from "./pagination/index.js";
|
|
22
32
|
export * from "./progress-bar/index.js";
|
|
23
33
|
export * from "./progress-indicator/index.js";
|
|
24
34
|
export * from "./progress-indicator-item/index.js";
|
|
25
35
|
export * from "./radio/index.js";
|
|
26
36
|
export * from "./select/index.js";
|
|
37
|
+
export * from "./slider/index.js";
|
|
27
38
|
export * from "./tab/index.js";
|
|
28
39
|
export * from "./tab-panels/index.js";
|
|
29
40
|
export * from "./table/index.js";
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { DaikinAccordion } from "./accordion/daikin-accordion.js";
|
|
2
2
|
import { DaikinAccordionItem } from "./accordion-item/daikin-accordion-item.js";
|
|
3
|
+
import { DaikinAvatar } from "./avatar/daikin-avatar.js";
|
|
3
4
|
import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
|
|
4
5
|
import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
|
|
5
6
|
import { DaikinButton } from "./button/daikin-button.js";
|
|
7
|
+
import { DaikinCalendar } from "./calendar/daikin-calendar.js";
|
|
6
8
|
import { DaikinCard } from "./card/daikin-card.js";
|
|
7
9
|
import { DaikinCardFooter } from "./card-footer/daikin-card-footer.js";
|
|
8
10
|
import { DaikinCardHeader } from "./card-header/daikin-card-header.js";
|
|
9
11
|
import { DaikinCarousel } from "./carousel/daikin-carousel.js";
|
|
10
12
|
import { DaikinCarouselItem } from "./carousel-item/daikin-carousel-item.js";
|
|
11
13
|
import { DaikinCheckbox } from "./checkbox/daikin-checkbox.js";
|
|
14
|
+
import { DaikinCheckboxGroup } from "./checkbox-group/daikin-checkbox-group.js";
|
|
15
|
+
import { DaikinDatePicker } from "./date-picker/daikin-date-picker.js";
|
|
12
16
|
import { DaikinDropdown } from "./dropdown/daikin-dropdown.js";
|
|
13
17
|
import { DaikinDropdownItem } from "./dropdown-item/daikin-dropdown-item.js";
|
|
14
18
|
import { DaikinIcon, iconList } from "./icon/daikin-icon.js";
|
|
@@ -18,12 +22,19 @@ import { DaikinInputGroup } from "./input-group/daikin-input-group.js";
|
|
|
18
22
|
import { DaikinLink } from "./link/daikin-link.js";
|
|
19
23
|
import { DaikinList } from "./list/daikin-list.js";
|
|
20
24
|
import { DaikinListItem } from "./list-item/daikin-list-item.js";
|
|
25
|
+
import { DaikinLoading } from "./loading/daikin-loading.js";
|
|
26
|
+
import { DaikinLogo } from "./logo/daikin-logo.js";
|
|
27
|
+
import { DaikinMenu } from "./menu/daikin-menu.js";
|
|
28
|
+
import { DaikinModal } from "./modal/daikin-modal.js";
|
|
29
|
+
import { DaikinModalFooter } from "./modal-footer/daikin-modal-footer.js";
|
|
30
|
+
import { DaikinModalHeader } from "./modal-header/daikin-modal-header.js";
|
|
21
31
|
import { DaikinPagination } from "./pagination/daikin-pagination.js";
|
|
22
32
|
import { DaikinProgressBar } from "./progress-bar/daikin-progress-bar.js";
|
|
23
33
|
import { DaikinProgressIndicator } from "./progress-indicator/daikin-progress-indicator.js";
|
|
24
34
|
import { DaikinProgressIndicatorItem } from "./progress-indicator-item/daikin-progress-indicator-item.js";
|
|
25
35
|
import { DaikinRadio } from "./radio/daikin-radio.js";
|
|
26
36
|
import { DaikinSelect } from "./select/daikin-select.js";
|
|
37
|
+
import { DaikinSlider } from "./slider/daikin-slider.js";
|
|
27
38
|
import { DaikinTab } from "./tab/daikin-tab.js";
|
|
28
39
|
import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
|
|
29
40
|
import { DaikinTable } from "./table/daikin-table.js";
|
|
@@ -42,15 +53,19 @@ import { DaikinTreeSection } from "./tree-section/daikin-tree-section.js";
|
|
|
42
53
|
export {
|
|
43
54
|
DaikinAccordion,
|
|
44
55
|
DaikinAccordionItem,
|
|
56
|
+
DaikinAvatar,
|
|
45
57
|
DaikinBreadcrumb,
|
|
46
58
|
DaikinBreadcrumbItem,
|
|
47
59
|
DaikinButton,
|
|
60
|
+
DaikinCalendar,
|
|
48
61
|
DaikinCard,
|
|
49
62
|
DaikinCardFooter,
|
|
50
63
|
DaikinCardHeader,
|
|
51
64
|
DaikinCarousel,
|
|
52
65
|
DaikinCarouselItem,
|
|
53
66
|
DaikinCheckbox,
|
|
67
|
+
DaikinCheckboxGroup,
|
|
68
|
+
DaikinDatePicker,
|
|
54
69
|
DaikinDropdown,
|
|
55
70
|
DaikinDropdownItem,
|
|
56
71
|
DaikinIcon,
|
|
@@ -60,12 +75,19 @@ export {
|
|
|
60
75
|
DaikinLink,
|
|
61
76
|
DaikinList,
|
|
62
77
|
DaikinListItem,
|
|
78
|
+
DaikinLoading,
|
|
79
|
+
DaikinLogo,
|
|
80
|
+
DaikinMenu,
|
|
81
|
+
DaikinModal,
|
|
82
|
+
DaikinModalFooter,
|
|
83
|
+
DaikinModalHeader,
|
|
63
84
|
DaikinPagination,
|
|
64
85
|
DaikinProgressBar,
|
|
65
86
|
DaikinProgressIndicator,
|
|
66
87
|
DaikinProgressIndicatorItem,
|
|
67
88
|
DaikinRadio,
|
|
68
89
|
DaikinSelect,
|
|
90
|
+
DaikinSlider,
|
|
69
91
|
DaikinTab,
|
|
70
92
|
DaikinTabPanels,
|
|
71
93
|
DaikinTable,
|
|
@@ -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,6 +5,7 @@ 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-date-picker`
|
|
8
9
|
* - `daikin-input-group` > `daikin-dropdown` > `daikin-dropdown-item`
|
|
9
10
|
* - `daikin-input-group` > `daikin-radio-group` > `daikin-radio`
|
|
10
11
|
* - `daikin-input-group` > `daikin-select`
|
|
@@ -18,6 +19,7 @@ import { DDSElement } from "../../base/index.js";
|
|
|
18
19
|
* ```js
|
|
19
20
|
* import "@daikin-oss/design-system-web-components/components/input-group/index.js";
|
|
20
21
|
* <!-- Import the following as necessary. -->
|
|
22
|
+
* import "@daikin-oss/design-system-web-components/components/date-picker/index.js";
|
|
21
23
|
* import "@daikin-oss/design-system-web-components/components/dropdown/index.js";
|
|
22
24
|
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
23
25
|
* import "@daikin-oss/design-system-web-components/components/radio/index.js";
|
|
@@ -27,6 +29,14 @@ import { DDSElement } from "../../base/index.js";
|
|
|
27
29
|
* import "@daikin-oss/design-system-web-components/components/text-field/index.js";
|
|
28
30
|
* ```
|
|
29
31
|
*
|
|
32
|
+
* With Date Picker:
|
|
33
|
+
*
|
|
34
|
+
* ```html
|
|
35
|
+
* <daikin-input-group>
|
|
36
|
+
* <daikin-date-picker></daikin-date-picker>
|
|
37
|
+
* </daikin-input-group>
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
30
40
|
* With Dropdown:
|
|
31
41
|
*
|
|
32
42
|
* ```html
|
|
@@ -57,6 +67,18 @@ import { DDSElement } from "../../base/index.js";
|
|
|
57
67
|
* </daikin-input-group>
|
|
58
68
|
* ```
|
|
59
69
|
*
|
|
70
|
+
* With Checkbox Group:
|
|
71
|
+
*
|
|
72
|
+
* ```html
|
|
73
|
+
* <daikin-input-group>
|
|
74
|
+
* <daikin-checkbox-group>
|
|
75
|
+
* <daikin-checkbox name="name1" value="value1" label="Checkbox Item 1"></daikin-checkbox>
|
|
76
|
+
* <daikin-checkbox name="name2" value="value2" label="Checkbox Item 2"></daikin-checkbox>
|
|
77
|
+
* <daikin-checkbox name="name3" value="value3" label="Checkbox Item 3"></daikin-checkbox>
|
|
78
|
+
* </daikin-checkbox-group>
|
|
79
|
+
* </daikin-input-group>
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
60
82
|
* With Select:
|
|
61
83
|
*
|
|
62
84
|
* ```html
|