@daikin-oss/design-system-web-components 0.6.0 → 1.0.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 +167 -12
- package/README.md +40 -23
- package/dist/cjs/base/dds-element.cjs +8 -0
- package/dist/cjs/base/dds-element.d.cts +4 -0
- package/dist/cjs/base/decorators.cjs +13 -0
- package/dist/cjs/base/decorators.d.cts +2 -0
- package/dist/cjs/base/define.cjs +18 -0
- package/dist/cjs/base/define.d.cts +1 -0
- package/dist/cjs/base/index.cjs +8 -0
- package/dist/cjs/base/index.d.cts +3 -0
- package/dist/cjs/components/accordion/daikin-accordion.cjs +39 -6
- package/dist/cjs/components/accordion/daikin-accordion.d.cts +15 -2
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +45 -85
- package/dist/cjs/components/accordion-item/daikin-accordion-item.d.cts +10 -16
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +27 -85
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +12 -24
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +33 -82
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +16 -25
- package/dist/cjs/components/button/daikin-button.cjs +36 -23
- package/dist/cjs/components/button/daikin-button.d.cts +8 -5
- package/dist/cjs/components/card/daikin-card.cjs +67 -0
- package/dist/cjs/components/card/daikin-card.d.cts +48 -0
- package/dist/cjs/components/card/index.cjs +7 -0
- package/dist/cjs/components/card/index.d.cts +1 -0
- package/dist/cjs/components/card-footer/daikin-card-footer.cjs +33 -0
- package/dist/cjs/components/card-footer/daikin-card-footer.d.cts +33 -0
- package/dist/cjs/components/card-footer/index.cjs +7 -0
- package/dist/cjs/components/card-footer/index.d.cts +1 -0
- package/dist/cjs/components/card-header/daikin-card-header.cjs +59 -0
- package/dist/cjs/components/card-header/daikin-card-header.d.cts +35 -0
- package/dist/cjs/components/card-header/index.cjs +7 -0
- package/dist/cjs/components/card-header/index.d.cts +1 -0
- package/dist/cjs/components/carousel/daikin-carousel.cjs +217 -0
- package/dist/cjs/components/carousel/daikin-carousel.d.cts +56 -0
- package/dist/cjs/components/carousel/index.cjs +7 -0
- package/dist/cjs/components/carousel/index.d.cts +1 -0
- package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +80 -0
- package/dist/cjs/components/carousel-item/daikin-carousel-item.d.cts +50 -0
- package/dist/cjs/components/carousel-item/index.cjs +7 -0
- package/dist/cjs/components/carousel-item/index.d.cts +1 -0
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +63 -45
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +4 -2
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +30 -19
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +16 -2
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +21 -14
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
- package/dist/cjs/components/icon/daikin-icon.cjs +16 -13
- package/dist/cjs/components/icon/daikin-icon.d.cts +5 -5
- package/dist/cjs/components/icon/icons.json.cjs +1 -70
- package/dist/cjs/components/icon/icons.json.d.cts +0 -8
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +29 -25
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs/components/index.cjs +56 -5
- package/dist/cjs/components/index.d.cts +11 -1
- package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +92 -0
- package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +55 -0
- package/dist/cjs/components/inline-notification/index.cjs +7 -0
- package/dist/cjs/components/inline-notification/index.d.cts +1 -0
- package/dist/cjs/components/input-group/daikin-input-group.cjs +71 -52
- package/dist/cjs/components/input-group/daikin-input-group.d.cts +25 -8
- package/dist/cjs/components/link/daikin-link.cjs +40 -55
- package/dist/cjs/components/link/daikin-link.d.cts +2 -2
- package/dist/cjs/components/list/daikin-list.cjs +9 -9
- package/dist/cjs/components/list/daikin-list.d.cts +7 -2
- package/dist/cjs/components/list-item/daikin-list-item.cjs +16 -13
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +6 -2
- package/dist/cjs/components/pagination/daikin-pagination.cjs +40 -33
- package/dist/cjs/components/pagination/daikin-pagination.d.cts +6 -2
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +33 -18
- package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +3 -2
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +17 -26
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +28 -29
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
- package/dist/cjs/components/radio/daikin-radio.cjs +57 -33
- package/dist/cjs/components/radio/daikin-radio.d.cts +18 -8
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +31 -11
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +20 -14
- package/dist/cjs/components/select/daikin-select.cjs +25 -16
- package/dist/cjs/components/select/daikin-select.d.cts +11 -2
- package/dist/cjs/components/tab/daikin-tab.cjs +38 -23
- package/dist/cjs/components/tab/daikin-tab.d.cts +7 -2
- package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +9 -7
- package/dist/cjs/components/tab-panels/daikin-tab-panels.d.cts +2 -2
- package/dist/cjs/components/table/daikin-table.cjs +15 -12
- package/dist/cjs/components/table/daikin-table.d.cts +9 -2
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +10 -7
- package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +6 -2
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +12 -10
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
- package/dist/cjs/components/tabs/daikin-tabs.cjs +25 -10
- package/dist/cjs/components/tabs/daikin-tabs.d.cts +8 -2
- package/dist/cjs/components/text-area/daikin-text-area.cjs +31 -20
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +7 -2
- package/dist/cjs/components/text-field/daikin-text-field.cjs +29 -19
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +7 -2
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +94 -0
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +69 -0
- package/dist/cjs/components/toast-notification/index.cjs +7 -0
- package/dist/cjs/components/toast-notification/index.d.cts +1 -0
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
- package/dist/cjs/components/toast-notification-manager/index.cjs +7 -0
- package/dist/cjs/components/toast-notification-manager/index.d.cts +1 -0
- package/dist/cjs/components/toggle/daikin-toggle.cjs +18 -15
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +3 -2
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +45 -33
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +16 -6
- package/dist/cjs/components/tree/common.cjs +90 -0
- package/dist/cjs/components/tree/common.d.cts +32 -0
- package/dist/cjs/components/tree/daikin-tree.cjs +108 -0
- package/dist/cjs/components/tree/daikin-tree.d.cts +73 -0
- package/dist/cjs/components/tree/index.cjs +7 -0
- package/dist/cjs/components/tree/index.d.cts +1 -0
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +201 -0
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +95 -0
- package/dist/cjs/components/tree-item/index.cjs +8 -0
- package/dist/cjs/components/tree-item/index.d.cts +1 -0
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +230 -0
- package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +109 -0
- package/dist/cjs/components/tree-section/index.cjs +7 -0
- package/dist/cjs/components/tree-section/index.d.cts +1 -0
- package/dist/cjs/controllers/click-outside.d.cts +1 -1
- package/dist/cjs/index.cjs +56 -7
- package/dist/cjs/index.d.cts +0 -1
- package/dist/cjs/tailwind.css.cjs +1 -1
- package/dist/cjs/utils/is-simple-key.cjs +6 -0
- package/dist/cjs/utils/is-simple-key.d.cts +7 -0
- package/dist/cjs/utils/notification-common.cjs +121 -0
- package/dist/cjs/utils/notification-common.d.cts +19 -0
- package/dist/cjs-dev/base/dds-element.cjs +8 -0
- package/dist/cjs-dev/base/dds-element.d.cts +4 -0
- package/dist/cjs-dev/base/decorators.cjs +13 -0
- package/dist/cjs-dev/base/decorators.d.cts +2 -0
- package/dist/cjs-dev/base/define.cjs +18 -0
- package/dist/cjs-dev/base/define.d.cts +1 -0
- package/dist/cjs-dev/base/index.cjs +8 -0
- package/dist/cjs-dev/base/index.d.cts +3 -0
- package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +46 -6
- package/dist/cjs-dev/components/accordion/daikin-accordion.d.cts +15 -2
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +45 -85
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.cts +10 -16
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +27 -85
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +12 -24
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +33 -82
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +16 -25
- package/dist/cjs-dev/components/button/daikin-button.cjs +36 -23
- package/dist/cjs-dev/components/button/daikin-button.d.cts +8 -5
- package/dist/cjs-dev/components/card/daikin-card.cjs +67 -0
- package/dist/cjs-dev/components/card/daikin-card.d.cts +48 -0
- package/dist/cjs-dev/components/card/index.cjs +7 -0
- package/dist/cjs-dev/components/card/index.d.cts +1 -0
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +33 -0
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.d.cts +33 -0
- package/dist/cjs-dev/components/card-footer/index.cjs +7 -0
- package/dist/cjs-dev/components/card-footer/index.d.cts +1 -0
- package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +59 -0
- package/dist/cjs-dev/components/card-header/daikin-card-header.d.cts +35 -0
- package/dist/cjs-dev/components/card-header/index.cjs +7 -0
- package/dist/cjs-dev/components/card-header/index.d.cts +1 -0
- package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +227 -0
- package/dist/cjs-dev/components/carousel/daikin-carousel.d.cts +56 -0
- package/dist/cjs-dev/components/carousel/index.cjs +7 -0
- package/dist/cjs-dev/components/carousel/index.d.cts +1 -0
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +80 -0
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.d.cts +50 -0
- package/dist/cjs-dev/components/carousel-item/index.cjs +7 -0
- package/dist/cjs-dev/components/carousel-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +63 -45
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +4 -2
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +30 -19
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +16 -2
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +21 -14
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +16 -13
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +5 -5
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -70
- package/dist/cjs-dev/components/icon/icons.json.d.cts +0 -8
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +29 -25
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs-dev/components/index.cjs +56 -5
- package/dist/cjs-dev/components/index.d.cts +11 -1
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +92 -0
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +55 -0
- package/dist/cjs-dev/components/inline-notification/index.cjs +7 -0
- package/dist/cjs-dev/components/inline-notification/index.d.cts +1 -0
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +71 -52
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +25 -8
- package/dist/cjs-dev/components/link/daikin-link.cjs +40 -55
- package/dist/cjs-dev/components/link/daikin-link.d.cts +2 -2
- package/dist/cjs-dev/components/list/daikin-list.cjs +9 -9
- package/dist/cjs-dev/components/list/daikin-list.d.cts +7 -2
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +16 -13
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +6 -2
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +40 -33
- package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +6 -2
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +33 -18
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +3 -2
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +17 -36
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.d.cts +12 -5
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +28 -29
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +57 -33
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +18 -8
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +31 -11
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +20 -14
- package/dist/cjs-dev/components/select/daikin-select.cjs +25 -16
- package/dist/cjs-dev/components/select/daikin-select.d.cts +11 -2
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +38 -23
- package/dist/cjs-dev/components/tab/daikin-tab.d.cts +7 -2
- package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +9 -7
- package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.d.cts +2 -2
- package/dist/cjs-dev/components/table/daikin-table.cjs +15 -12
- package/dist/cjs-dev/components/table/daikin-table.d.cts +9 -2
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +10 -7
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +6 -2
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +12 -10
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +25 -10
- package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +8 -2
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +31 -20
- package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +7 -2
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +29 -19
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +7 -2
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +94 -0
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +69 -0
- package/dist/cjs-dev/components/toast-notification/index.cjs +7 -0
- package/dist/cjs-dev/components/toast-notification/index.d.cts +1 -0
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +192 -0
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +67 -0
- package/dist/cjs-dev/components/toast-notification-manager/index.cjs +7 -0
- package/dist/cjs-dev/components/toast-notification-manager/index.d.cts +1 -0
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +18 -15
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +3 -2
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +45 -33
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +16 -6
- package/dist/cjs-dev/components/tree/common.cjs +90 -0
- package/dist/cjs-dev/components/tree/common.d.cts +32 -0
- package/dist/cjs-dev/components/tree/daikin-tree.cjs +108 -0
- package/dist/cjs-dev/components/tree/daikin-tree.d.cts +73 -0
- package/dist/cjs-dev/components/tree/index.cjs +7 -0
- package/dist/cjs-dev/components/tree/index.d.cts +1 -0
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +201 -0
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +95 -0
- package/dist/cjs-dev/components/tree-item/index.cjs +8 -0
- package/dist/cjs-dev/components/tree-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +230 -0
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +109 -0
- package/dist/cjs-dev/components/tree-section/index.cjs +7 -0
- package/dist/cjs-dev/components/tree-section/index.d.cts +1 -0
- package/dist/cjs-dev/controllers/click-outside.d.cts +1 -1
- package/dist/cjs-dev/index.cjs +56 -7
- package/dist/cjs-dev/index.d.cts +0 -1
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- package/dist/cjs-dev/utils/is-simple-key.cjs +6 -0
- package/dist/cjs-dev/utils/is-simple-key.d.cts +7 -0
- package/dist/cjs-dev/utils/notification-common.cjs +124 -0
- package/dist/cjs-dev/utils/notification-common.d.cts +19 -0
- package/dist/es/base/dds-element.d.ts +4 -0
- package/dist/es/base/dds-element.js +8 -0
- package/dist/es/base/decorators.d.ts +2 -0
- package/dist/es/base/decorators.js +13 -0
- package/dist/es/base/define.d.ts +1 -0
- package/dist/es/base/define.js +18 -0
- package/dist/es/base/index.d.ts +3 -0
- package/dist/es/base/index.js +8 -0
- package/dist/es/components/accordion/daikin-accordion.d.ts +15 -2
- package/dist/es/components/accordion/daikin-accordion.js +38 -5
- package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +10 -16
- package/dist/es/components/accordion-item/daikin-accordion-item.js +44 -84
- package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +12 -24
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +26 -84
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +16 -25
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +32 -81
- package/dist/es/components/button/daikin-button.d.ts +8 -5
- package/dist/es/components/button/daikin-button.js +35 -22
- package/dist/es/components/card/daikin-card.d.ts +48 -0
- package/dist/es/components/card/daikin-card.js +68 -0
- package/dist/es/components/card/index.d.ts +1 -0
- package/dist/es/components/card/index.js +4 -0
- package/dist/es/components/card-footer/daikin-card-footer.d.ts +33 -0
- package/dist/es/components/card-footer/daikin-card-footer.js +34 -0
- package/dist/es/components/card-footer/index.d.ts +1 -0
- package/dist/es/components/card-footer/index.js +4 -0
- package/dist/es/components/card-header/daikin-card-header.d.ts +35 -0
- package/dist/es/components/card-header/daikin-card-header.js +60 -0
- package/dist/es/components/card-header/index.d.ts +1 -0
- package/dist/es/components/card-header/index.js +4 -0
- package/dist/es/components/carousel/daikin-carousel.d.ts +56 -0
- package/dist/es/components/carousel/daikin-carousel.js +218 -0
- package/dist/es/components/carousel/index.d.ts +1 -0
- package/dist/es/components/carousel/index.js +4 -0
- package/dist/es/components/carousel-item/daikin-carousel-item.d.ts +50 -0
- package/dist/es/components/carousel-item/daikin-carousel-item.js +81 -0
- package/dist/es/components/carousel-item/index.d.ts +1 -0
- package/dist/es/components/carousel-item/index.js +4 -0
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +4 -2
- package/dist/es/components/checkbox/daikin-checkbox.js +62 -44
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +16 -2
- package/dist/es/components/dropdown/daikin-dropdown.js +29 -18
- package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +10 -2
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +20 -13
- package/dist/es/components/icon/daikin-icon.d.ts +5 -5
- package/dist/es/components/icon/daikin-icon.js +15 -12
- package/dist/es/components/icon/icons.json.d.ts +0 -8
- package/dist/es/components/icon/icons.json.js +1 -70
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +2 -2
- package/dist/es/components/icon-button/daikin-icon-button.js +28 -24
- package/dist/es/components/index.d.ts +11 -1
- package/dist/es/components/index.js +23 -2
- package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +55 -0
- package/dist/es/components/inline-notification/daikin-inline-notification.js +93 -0
- package/dist/es/components/inline-notification/index.d.ts +1 -0
- package/dist/es/components/inline-notification/index.js +4 -0
- package/dist/es/components/input-group/daikin-input-group.d.ts +25 -8
- package/dist/es/components/input-group/daikin-input-group.js +70 -51
- package/dist/es/components/link/daikin-link.d.ts +2 -2
- package/dist/es/components/link/daikin-link.js +39 -54
- package/dist/es/components/list/daikin-list.d.ts +7 -2
- package/dist/es/components/list/daikin-list.js +7 -7
- package/dist/es/components/list-item/daikin-list-item.d.ts +6 -2
- package/dist/es/components/list-item/daikin-list-item.js +15 -12
- package/dist/es/components/pagination/daikin-pagination.d.ts +6 -2
- package/dist/es/components/pagination/daikin-pagination.js +39 -32
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +3 -2
- package/dist/es/components/progress-bar/daikin-progress-bar.js +32 -17
- package/dist/es/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +16 -25
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +27 -28
- package/dist/es/components/radio/daikin-radio.d.ts +18 -8
- package/dist/es/components/radio/daikin-radio.js +56 -32
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +20 -14
- package/dist/es/components/radio-group/daikin-radio-group.js +30 -10
- package/dist/es/components/select/daikin-select.d.ts +11 -2
- package/dist/es/components/select/daikin-select.js +24 -15
- package/dist/es/components/tab/daikin-tab.d.ts +7 -2
- package/dist/es/components/tab/daikin-tab.js +37 -22
- package/dist/es/components/tab-panels/daikin-tab-panels.d.ts +2 -2
- package/dist/es/components/tab-panels/daikin-tab-panels.js +8 -6
- package/dist/es/components/table/daikin-table.d.ts +9 -2
- package/dist/es/components/table/daikin-table.js +14 -11
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +6 -2
- package/dist/es/components/table-cell/daikin-table-cell.js +9 -6
- package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +11 -9
- package/dist/es/components/tabs/daikin-tabs.d.ts +8 -2
- package/dist/es/components/tabs/daikin-tabs.js +24 -9
- package/dist/es/components/text-area/daikin-text-area.d.ts +7 -2
- package/dist/es/components/text-area/daikin-text-area.js +30 -19
- package/dist/es/components/text-field/daikin-text-field.d.ts +7 -2
- package/dist/es/components/text-field/daikin-text-field.js +28 -18
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +69 -0
- package/dist/es/components/toast-notification/daikin-toast-notification.js +95 -0
- package/dist/es/components/toast-notification/index.d.ts +1 -0
- package/dist/es/components/toast-notification/index.js +4 -0
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
- package/dist/es/components/toast-notification-manager/index.d.ts +1 -0
- package/dist/es/components/toast-notification-manager/index.js +4 -0
- package/dist/es/components/toggle/daikin-toggle.d.ts +3 -2
- package/dist/es/components/toggle/daikin-toggle.js +17 -14
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +16 -6
- package/dist/es/components/tooltip/daikin-tooltip.js +44 -32
- package/dist/es/components/tree/common.d.ts +32 -0
- package/dist/es/components/tree/common.js +90 -0
- package/dist/es/components/tree/daikin-tree.d.ts +73 -0
- package/dist/es/components/tree/daikin-tree.js +109 -0
- package/dist/es/components/tree/index.d.ts +1 -0
- package/dist/es/components/tree/index.js +4 -0
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +95 -0
- package/dist/es/components/tree-item/daikin-tree-item.js +202 -0
- package/dist/es/components/tree-item/index.d.ts +1 -0
- package/dist/es/components/tree-item/index.js +5 -0
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +109 -0
- package/dist/es/components/tree-section/daikin-tree-section.js +231 -0
- package/dist/es/components/tree-section/index.d.ts +1 -0
- package/dist/es/components/tree-section/index.js +4 -0
- package/dist/es/controllers/click-outside.d.ts +1 -1
- package/dist/es/index.d.ts +0 -1
- package/dist/es/index.js +23 -4
- package/dist/es/tailwind.css.js +1 -1
- package/dist/es/utils/is-simple-key.d.ts +7 -0
- package/dist/es/utils/is-simple-key.js +6 -0
- package/dist/es/utils/notification-common.d.ts +19 -0
- package/dist/es/utils/notification-common.js +121 -0
- package/dist/es-dev/base/dds-element.d.ts +4 -0
- package/dist/es-dev/base/dds-element.js +8 -0
- package/dist/es-dev/base/decorators.d.ts +2 -0
- package/dist/es-dev/base/decorators.js +13 -0
- package/dist/es-dev/base/define.d.ts +1 -0
- package/dist/es-dev/base/define.js +18 -0
- package/dist/es-dev/base/index.d.ts +3 -0
- package/dist/es-dev/base/index.js +8 -0
- package/dist/es-dev/components/accordion/daikin-accordion.d.ts +15 -2
- package/dist/es-dev/components/accordion/daikin-accordion.js +45 -5
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +10 -16
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +44 -84
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +12 -24
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +26 -84
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +16 -25
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +32 -81
- package/dist/es-dev/components/button/daikin-button.d.ts +8 -5
- package/dist/es-dev/components/button/daikin-button.js +35 -22
- package/dist/es-dev/components/card/daikin-card.d.ts +48 -0
- package/dist/es-dev/components/card/daikin-card.js +68 -0
- package/dist/es-dev/components/card/index.d.ts +1 -0
- package/dist/es-dev/components/card/index.js +4 -0
- package/dist/es-dev/components/card-footer/daikin-card-footer.d.ts +33 -0
- package/dist/es-dev/components/card-footer/daikin-card-footer.js +34 -0
- package/dist/es-dev/components/card-footer/index.d.ts +1 -0
- package/dist/es-dev/components/card-footer/index.js +4 -0
- package/dist/es-dev/components/card-header/daikin-card-header.d.ts +35 -0
- package/dist/es-dev/components/card-header/daikin-card-header.js +60 -0
- package/dist/es-dev/components/card-header/index.d.ts +1 -0
- package/dist/es-dev/components/card-header/index.js +4 -0
- package/dist/es-dev/components/carousel/daikin-carousel.d.ts +56 -0
- package/dist/es-dev/components/carousel/daikin-carousel.js +228 -0
- package/dist/es-dev/components/carousel/index.d.ts +1 -0
- package/dist/es-dev/components/carousel/index.js +4 -0
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.d.ts +50 -0
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +81 -0
- package/dist/es-dev/components/carousel-item/index.d.ts +1 -0
- package/dist/es-dev/components/carousel-item/index.js +4 -0
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +4 -2
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +62 -44
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +16 -2
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +29 -18
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.d.ts +10 -2
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +20 -13
- package/dist/es-dev/components/icon/daikin-icon.d.ts +5 -5
- package/dist/es-dev/components/icon/daikin-icon.js +15 -12
- package/dist/es-dev/components/icon/icons.json.d.ts +0 -8
- package/dist/es-dev/components/icon/icons.json.js +1 -70
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +2 -2
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +28 -24
- package/dist/es-dev/components/index.d.ts +11 -1
- package/dist/es-dev/components/index.js +23 -2
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +55 -0
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +93 -0
- package/dist/es-dev/components/inline-notification/index.d.ts +1 -0
- package/dist/es-dev/components/inline-notification/index.js +4 -0
- package/dist/es-dev/components/input-group/daikin-input-group.d.ts +25 -8
- package/dist/es-dev/components/input-group/daikin-input-group.js +70 -51
- package/dist/es-dev/components/link/daikin-link.d.ts +2 -2
- package/dist/es-dev/components/link/daikin-link.js +39 -54
- package/dist/es-dev/components/list/daikin-list.d.ts +7 -2
- package/dist/es-dev/components/list/daikin-list.js +7 -7
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +6 -2
- package/dist/es-dev/components/list-item/daikin-list-item.js +15 -12
- package/dist/es-dev/components/pagination/daikin-pagination.d.ts +6 -2
- package/dist/es-dev/components/pagination/daikin-pagination.js +39 -32
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +3 -2
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +32 -17
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +16 -35
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +8 -4
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +27 -28
- package/dist/es-dev/components/radio/daikin-radio.d.ts +18 -8
- package/dist/es-dev/components/radio/daikin-radio.js +56 -32
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +20 -14
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +30 -10
- package/dist/es-dev/components/select/daikin-select.d.ts +11 -2
- package/dist/es-dev/components/select/daikin-select.js +24 -15
- package/dist/es-dev/components/tab/daikin-tab.d.ts +7 -2
- package/dist/es-dev/components/tab/daikin-tab.js +37 -22
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.d.ts +2 -2
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +8 -6
- package/dist/es-dev/components/table/daikin-table.d.ts +9 -2
- package/dist/es-dev/components/table/daikin-table.js +14 -11
- package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +6 -2
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +9 -6
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +6 -2
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +11 -9
- package/dist/es-dev/components/tabs/daikin-tabs.d.ts +8 -2
- package/dist/es-dev/components/tabs/daikin-tabs.js +24 -9
- package/dist/es-dev/components/text-area/daikin-text-area.d.ts +7 -2
- package/dist/es-dev/components/text-area/daikin-text-area.js +30 -19
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +7 -2
- package/dist/es-dev/components/text-field/daikin-text-field.js +28 -18
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +69 -0
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +95 -0
- package/dist/es-dev/components/toast-notification/index.d.ts +1 -0
- package/dist/es-dev/components/toast-notification/index.js +4 -0
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +67 -0
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +193 -0
- package/dist/es-dev/components/toast-notification-manager/index.d.ts +1 -0
- package/dist/es-dev/components/toast-notification-manager/index.js +4 -0
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +3 -2
- package/dist/es-dev/components/toggle/daikin-toggle.js +17 -14
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +16 -6
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +44 -32
- package/dist/es-dev/components/tree/common.d.ts +32 -0
- package/dist/es-dev/components/tree/common.js +90 -0
- package/dist/es-dev/components/tree/daikin-tree.d.ts +73 -0
- package/dist/es-dev/components/tree/daikin-tree.js +109 -0
- package/dist/es-dev/components/tree/index.d.ts +1 -0
- package/dist/es-dev/components/tree/index.js +4 -0
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +95 -0
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +202 -0
- package/dist/es-dev/components/tree-item/index.d.ts +1 -0
- package/dist/es-dev/components/tree-item/index.js +5 -0
- package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +109 -0
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +231 -0
- package/dist/es-dev/components/tree-section/index.d.ts +1 -0
- package/dist/es-dev/components/tree-section/index.js +4 -0
- package/dist/es-dev/controllers/click-outside.d.ts +1 -1
- package/dist/es-dev/index.d.ts +0 -1
- package/dist/es-dev/index.js +23 -4
- package/dist/es-dev/tailwind.css.js +1 -1
- package/dist/es-dev/utils/is-simple-key.d.ts +7 -0
- package/dist/es-dev/utils/is-simple-key.js +6 -0
- package/dist/es-dev/utils/notification-common.d.ts +19 -0
- package/dist/es-dev/utils/notification-common.js +124 -0
- package/icons/checkbox-checked.svg +2 -3
- package/icons/sort.svg +1 -1
- package/icons/status-error.svg +1 -1
- package/icons/status-negative.svg +4 -2
- package/icons/status-warning.svg +2 -4
- package/package.json +58 -49
- package/dist/cjs/colors.cjs +0 -80
- package/dist/cjs/colors.d.cts +0 -69
- package/dist/cjs/components/notification/daikin-notification.cjs +0 -197
- package/dist/cjs/components/notification/daikin-notification.d.cts +0 -77
- package/dist/cjs/components/notification/index.cjs +0 -7
- package/dist/cjs/components/notification/index.d.cts +0 -1
- package/dist/cjs/constants/events.cjs +0 -4
- package/dist/cjs-dev/colors.cjs +0 -80
- package/dist/cjs-dev/colors.d.cts +0 -69
- package/dist/cjs-dev/components/notification/daikin-notification.cjs +0 -197
- package/dist/cjs-dev/components/notification/daikin-notification.d.cts +0 -77
- package/dist/cjs-dev/components/notification/index.cjs +0 -7
- package/dist/cjs-dev/components/notification/index.d.cts +0 -1
- package/dist/cjs-dev/constants/events.cjs +0 -4
- package/dist/es/colors.d.ts +0 -69
- package/dist/es/colors.js +0 -80
- package/dist/es/components/notification/daikin-notification.d.ts +0 -77
- package/dist/es/components/notification/daikin-notification.js +0 -198
- package/dist/es/components/notification/index.d.ts +0 -1
- package/dist/es/components/notification/index.js +0 -4
- package/dist/es/constants/events.js +0 -4
- package/dist/es-dev/colors.d.ts +0 -69
- package/dist/es-dev/colors.js +0 -80
- package/dist/es-dev/components/notification/daikin-notification.d.ts +0 -77
- package/dist/es-dev/components/notification/daikin-notification.js +0 -198
- package/dist/es-dev/components/notification/index.d.ts +0 -1
- package/dist/es-dev/components/notification/index.js +0 -4
- package/dist/es-dev/constants/events.js +0 -4
- package/icons/arrow-up.svg +0 -3
- package/icons/status-success.svg +0 -6
|
@@ -5,16 +5,21 @@ const daikinAccordionItem = require("./accordion-item/daikin-accordion-item.cjs"
|
|
|
5
5
|
const daikinBreadcrumb = require("./breadcrumb/daikin-breadcrumb.cjs");
|
|
6
6
|
const daikinBreadcrumbItem = require("./breadcrumb-item/daikin-breadcrumb-item.cjs");
|
|
7
7
|
const daikinButton = require("./button/daikin-button.cjs");
|
|
8
|
+
const daikinCard = require("./card/daikin-card.cjs");
|
|
9
|
+
const daikinCardFooter = require("./card-footer/daikin-card-footer.cjs");
|
|
10
|
+
const daikinCardHeader = require("./card-header/daikin-card-header.cjs");
|
|
11
|
+
const daikinCarousel = require("./carousel/daikin-carousel.cjs");
|
|
12
|
+
const daikinCarouselItem = require("./carousel-item/daikin-carousel-item.cjs");
|
|
8
13
|
const daikinCheckbox = require("./checkbox/daikin-checkbox.cjs");
|
|
9
14
|
const daikinDropdown = require("./dropdown/daikin-dropdown.cjs");
|
|
10
15
|
const daikinDropdownItem = require("./dropdown-item/daikin-dropdown-item.cjs");
|
|
11
16
|
const daikinIcon = require("./icon/daikin-icon.cjs");
|
|
12
17
|
const daikinIconButton = require("./icon-button/daikin-icon-button.cjs");
|
|
18
|
+
const daikinInlineNotification = require("./inline-notification/daikin-inline-notification.cjs");
|
|
13
19
|
const daikinInputGroup = require("./input-group/daikin-input-group.cjs");
|
|
14
20
|
const daikinLink = require("./link/daikin-link.cjs");
|
|
15
21
|
const daikinList = require("./list/daikin-list.cjs");
|
|
16
22
|
const daikinListItem = require("./list-item/daikin-list-item.cjs");
|
|
17
|
-
const daikinNotification = require("./notification/daikin-notification.cjs");
|
|
18
23
|
const daikinPagination = require("./pagination/daikin-pagination.cjs");
|
|
19
24
|
const daikinProgressBar = require("./progress-bar/daikin-progress-bar.cjs");
|
|
20
25
|
const daikinProgressIndicator = require("./progress-indicator/daikin-progress-indicator.cjs");
|
|
@@ -29,8 +34,13 @@ const daikinTableHeaderCell = require("./table-header-cell/daikin-table-header-c
|
|
|
29
34
|
const daikinTabs = require("./tabs/daikin-tabs.cjs");
|
|
30
35
|
const daikinTextArea = require("./text-area/daikin-text-area.cjs");
|
|
31
36
|
const daikinTextField = require("./text-field/daikin-text-field.cjs");
|
|
37
|
+
const daikinToastNotification = require("./toast-notification/daikin-toast-notification.cjs");
|
|
38
|
+
const daikinToastNotificationManager = require("./toast-notification-manager/daikin-toast-notification-manager.cjs");
|
|
32
39
|
const daikinToggle = require("./toggle/daikin-toggle.cjs");
|
|
33
40
|
const daikinTooltip = require("./tooltip/daikin-tooltip.cjs");
|
|
41
|
+
const daikinTree = require("./tree/daikin-tree.cjs");
|
|
42
|
+
const daikinTreeItem = require("./tree-item/daikin-tree-item.cjs");
|
|
43
|
+
const daikinTreeSection = require("./tree-section/daikin-tree-section.cjs");
|
|
34
44
|
Object.defineProperty(exports, "DaikinAccordion", {
|
|
35
45
|
enumerable: true,
|
|
36
46
|
get: () => daikinAccordion.DaikinAccordion
|
|
@@ -51,6 +61,26 @@ Object.defineProperty(exports, "DaikinButton", {
|
|
|
51
61
|
enumerable: true,
|
|
52
62
|
get: () => daikinButton.DaikinButton
|
|
53
63
|
});
|
|
64
|
+
Object.defineProperty(exports, "DaikinCard", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: () => daikinCard.DaikinCard
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "DaikinCardFooter", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: () => daikinCardFooter.DaikinCardFooter
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "DaikinCardHeader", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: () => daikinCardHeader.DaikinCardHeader
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "DaikinCarousel", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: () => daikinCarousel.DaikinCarousel
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "DaikinCarouselItem", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: () => daikinCarouselItem.DaikinCarouselItem
|
|
83
|
+
});
|
|
54
84
|
Object.defineProperty(exports, "DaikinCheckbox", {
|
|
55
85
|
enumerable: true,
|
|
56
86
|
get: () => daikinCheckbox.DaikinCheckbox
|
|
@@ -72,6 +102,10 @@ Object.defineProperty(exports, "DaikinIconButton", {
|
|
|
72
102
|
enumerable: true,
|
|
73
103
|
get: () => daikinIconButton.DaikinIconButton
|
|
74
104
|
});
|
|
105
|
+
Object.defineProperty(exports, "DaikinInlineNotification", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: () => daikinInlineNotification.DaikinInlineNotification
|
|
108
|
+
});
|
|
75
109
|
Object.defineProperty(exports, "DaikinInputGroup", {
|
|
76
110
|
enumerable: true,
|
|
77
111
|
get: () => daikinInputGroup.DaikinInputGroup
|
|
@@ -88,10 +122,6 @@ Object.defineProperty(exports, "DaikinListItem", {
|
|
|
88
122
|
enumerable: true,
|
|
89
123
|
get: () => daikinListItem.DaikinListItem
|
|
90
124
|
});
|
|
91
|
-
Object.defineProperty(exports, "DaikinNotification", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: () => daikinNotification.DaikinNotification
|
|
94
|
-
});
|
|
95
125
|
Object.defineProperty(exports, "DaikinPagination", {
|
|
96
126
|
enumerable: true,
|
|
97
127
|
get: () => daikinPagination.DaikinPagination
|
|
@@ -148,6 +178,14 @@ Object.defineProperty(exports, "DaikinTextField", {
|
|
|
148
178
|
enumerable: true,
|
|
149
179
|
get: () => daikinTextField.DaikinTextField
|
|
150
180
|
});
|
|
181
|
+
Object.defineProperty(exports, "DaikinToastNotification", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: () => daikinToastNotification.DaikinToastNotification
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "DaikinToastNotificationManager", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: () => daikinToastNotificationManager.DaikinToastNotificationManager
|
|
188
|
+
});
|
|
151
189
|
Object.defineProperty(exports, "DaikinToggle", {
|
|
152
190
|
enumerable: true,
|
|
153
191
|
get: () => daikinToggle.DaikinToggle
|
|
@@ -156,3 +194,16 @@ Object.defineProperty(exports, "DaikinTooltip", {
|
|
|
156
194
|
enumerable: true,
|
|
157
195
|
get: () => daikinTooltip.DaikinTooltip
|
|
158
196
|
});
|
|
197
|
+
Object.defineProperty(exports, "DaikinTree", {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: () => daikinTree.DaikinTree
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "DaikinTreeItem", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: () => daikinTreeItem.DaikinTreeItem
|
|
204
|
+
});
|
|
205
|
+
exports.cvaTreeChildren = daikinTreeItem.cvaTreeChildren;
|
|
206
|
+
Object.defineProperty(exports, "DaikinTreeSection", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: () => daikinTreeSection.DaikinTreeSection
|
|
209
|
+
});
|
|
@@ -3,16 +3,21 @@ export * from "./accordion-item/index.cjs";
|
|
|
3
3
|
export * from "./breadcrumb/index.cjs";
|
|
4
4
|
export * from "./breadcrumb-item/index.cjs";
|
|
5
5
|
export * from "./button/index.cjs";
|
|
6
|
+
export * from "./card/index.cjs";
|
|
7
|
+
export * from "./card-footer/index.cjs";
|
|
8
|
+
export * from "./card-header/index.cjs";
|
|
9
|
+
export * from "./carousel/index.cjs";
|
|
10
|
+
export * from "./carousel-item/index.cjs";
|
|
6
11
|
export * from "./checkbox/index.cjs";
|
|
7
12
|
export * from "./dropdown/index.cjs";
|
|
8
13
|
export * from "./dropdown-item/index.cjs";
|
|
9
14
|
export * from "./icon/index.cjs";
|
|
10
15
|
export * from "./icon-button/index.cjs";
|
|
16
|
+
export * from "./inline-notification/index.cjs";
|
|
11
17
|
export * from "./input-group/index.cjs";
|
|
12
18
|
export * from "./link/index.cjs";
|
|
13
19
|
export * from "./list/index.cjs";
|
|
14
20
|
export * from "./list-item/index.cjs";
|
|
15
|
-
export * from "./notification/index.cjs";
|
|
16
21
|
export * from "./pagination/index.cjs";
|
|
17
22
|
export * from "./progress-bar/index.cjs";
|
|
18
23
|
export * from "./progress-indicator/index.cjs";
|
|
@@ -27,5 +32,10 @@ export * from "./table-header-cell/index.cjs";
|
|
|
27
32
|
export * from "./tabs/index.cjs";
|
|
28
33
|
export * from "./text-area/index.cjs";
|
|
29
34
|
export * from "./text-field/index.cjs";
|
|
35
|
+
export * from "./toast-notification/index.cjs";
|
|
36
|
+
export * from "./toast-notification-manager/index.cjs";
|
|
30
37
|
export * from "./toggle/index.cjs";
|
|
31
38
|
export * from "./tooltip/index.cjs";
|
|
39
|
+
export * from "./tree/index.cjs";
|
|
40
|
+
export * from "./tree-item/index.cjs";
|
|
41
|
+
export * from "./tree-section/index.cjs";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const lit = require("lit");
|
|
4
|
+
const decorators_js = require("lit/decorators.js");
|
|
5
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
6
|
+
const decorators = require("../../base/decorators.cjs");
|
|
7
|
+
require("../../base/define.cjs");
|
|
8
|
+
const tailwind = require("../../tailwind.css.cjs");
|
|
9
|
+
const notificationCommon = require("../../utils/notification-common.cjs");
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
13
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators2[i])
|
|
16
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
|
+
if (kind && result) __defProp(target, key, result);
|
|
18
|
+
return result;
|
|
19
|
+
};
|
|
20
|
+
exports.DaikinInlineNotification = class DaikinInlineNotification extends ddsElement.DDSElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.status = "positive";
|
|
24
|
+
this.layout = "horizontal";
|
|
25
|
+
this.closable = false;
|
|
26
|
+
this.timestamp = null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Emits a "close" event and sets `this.hidden` to true.
|
|
30
|
+
*/
|
|
31
|
+
_handleClickClose() {
|
|
32
|
+
this.hidden = true;
|
|
33
|
+
this.dispatchEvent(new Event("close"));
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
const formattedTimestamp = this.timestamp ? notificationCommon.formatDate(this.timestamp) : null;
|
|
37
|
+
return lit.html`<aside
|
|
38
|
+
class=${notificationCommon.cvaContainer({ variant: "inline", status: this.status })}
|
|
39
|
+
role="status"
|
|
40
|
+
>
|
|
41
|
+
<div class=${notificationCommon.cvaContent({ layout: this.layout })}>
|
|
42
|
+
<slot class=${notificationCommon.cvaTitle({ layout: this.layout })} name="title"></slot>
|
|
43
|
+
<slot
|
|
44
|
+
class=${notificationCommon.cvaDescription({ layout: this.layout })}
|
|
45
|
+
name="description"
|
|
46
|
+
></slot>
|
|
47
|
+
${formattedTimestamp ? lit.html`<span class=${notificationCommon.cvaTimestamp({ layout: this.layout })}
|
|
48
|
+
>${formattedTimestamp}</span
|
|
49
|
+
>` : lit.nothing}
|
|
50
|
+
</div>
|
|
51
|
+
<slot name="action" class="flex-none"></slot>
|
|
52
|
+
${this.closable ? lit.html`
|
|
53
|
+
<daikin-icon-button
|
|
54
|
+
variant="ghost"
|
|
55
|
+
button-aria-label="Close"
|
|
56
|
+
@click=${this._handleClickClose}
|
|
57
|
+
>
|
|
58
|
+
<span
|
|
59
|
+
class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-cross"
|
|
60
|
+
></span>
|
|
61
|
+
</daikin-icon-button>
|
|
62
|
+
` : lit.nothing}
|
|
63
|
+
</aside>`;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
exports.DaikinInlineNotification.styles = lit.css`
|
|
67
|
+
${lit.unsafeCSS(tailwind.default)}
|
|
68
|
+
|
|
69
|
+
:host {
|
|
70
|
+
display: block;
|
|
71
|
+
width: 100%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:host([hidden]) {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
`;
|
|
78
|
+
__decorateClass([
|
|
79
|
+
decorators_js.property({ type: String })
|
|
80
|
+
], exports.DaikinInlineNotification.prototype, "status", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
decorators_js.property({ type: String })
|
|
83
|
+
], exports.DaikinInlineNotification.prototype, "layout", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
decorators_js.property({ type: Boolean, reflect: true })
|
|
86
|
+
], exports.DaikinInlineNotification.prototype, "closable", 2);
|
|
87
|
+
__decorateClass([
|
|
88
|
+
decorators_js.property({ type: Object, reflect: true, attribute: false })
|
|
89
|
+
], exports.DaikinInlineNotification.prototype, "timestamp", 2);
|
|
90
|
+
exports.DaikinInlineNotification = __decorateClass([
|
|
91
|
+
decorators.ddsElement("daikin-inline-notification")
|
|
92
|
+
], exports.DaikinInlineNotification);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
|
+
import { ToastNotificationVariantProps } from "../toast-notification/index.cjs";
|
|
3
|
+
/**
|
|
4
|
+
* The inline notification component is a UI element used to inform users about important updates, alerts, or messages within an application.
|
|
5
|
+
*
|
|
6
|
+
* An inline notification appears within the content of the application, usually embedded directly within a page or section.
|
|
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
|
+
*
|
|
9
|
+
* @fires close - A custom event emitted when a user clicks the close button.
|
|
10
|
+
*
|
|
11
|
+
* @slot title - A slot for the title content.
|
|
12
|
+
* @slot description - A slot for the description content.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
*
|
|
16
|
+
* ```js
|
|
17
|
+
* import "@daikin-oss/design-system-web-components/components/inline-notification/index.js";
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ```html
|
|
21
|
+
* <daikin-inline-notification>
|
|
22
|
+
* <span slot="title">InlineNotification title</span>
|
|
23
|
+
* <span slot="description">InlineNotification description</span>
|
|
24
|
+
* </daikin-inline-notification>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class DaikinInlineNotification extends DDSElement {
|
|
28
|
+
static readonly styles: import('lit').CSSResult;
|
|
29
|
+
/**
|
|
30
|
+
* Status of the notification.
|
|
31
|
+
*/
|
|
32
|
+
status: ToastNotificationVariantProps["status"];
|
|
33
|
+
/**
|
|
34
|
+
* Specify how to arrange the elements.
|
|
35
|
+
*/
|
|
36
|
+
layout: ToastNotificationVariantProps["layout"];
|
|
37
|
+
/**
|
|
38
|
+
* Whether to display the close button.
|
|
39
|
+
*/
|
|
40
|
+
closable: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The timestamp to display.
|
|
43
|
+
*/
|
|
44
|
+
timestamp: Date | null;
|
|
45
|
+
/**
|
|
46
|
+
* Emits a "close" event and sets `this.hidden` to true.
|
|
47
|
+
*/
|
|
48
|
+
private _handleClickClose;
|
|
49
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
interface HTMLElementTagNameMap {
|
|
53
|
+
"daikin-inline-notification": DaikinInlineNotification;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const daikinInlineNotification = require("./daikin-inline-notification.cjs");
|
|
4
|
+
Object.defineProperty(exports, "DaikinInlineNotification", {
|
|
5
|
+
enumerable: true,
|
|
6
|
+
get: () => daikinInlineNotification.DaikinInlineNotification
|
|
7
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-inline-notification.cjs";
|
|
@@ -1,63 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const variables_js = require("@daikin-oss/dds-tokens/js/daikin/Light/variables.js");
|
|
4
3
|
const classVarianceAuthority = require("class-variance-authority");
|
|
5
4
|
const lit = require("lit");
|
|
6
5
|
const decorators_js = require("lit/decorators.js");
|
|
6
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
7
|
+
const decorators = require("../../base/decorators.cjs");
|
|
8
|
+
require("../../base/define.cjs");
|
|
7
9
|
const tailwind = require("../../tailwind.css.cjs");
|
|
8
10
|
var __defProp = Object.defineProperty;
|
|
9
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
|
-
var __decorateClass = (
|
|
12
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
11
13
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
12
|
-
for (var i =
|
|
13
|
-
if (decorator =
|
|
14
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators2[i])
|
|
14
16
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
15
17
|
if (kind && result) __defProp(target, key, result);
|
|
16
18
|
return result;
|
|
17
19
|
};
|
|
18
|
-
const cvaLabel = classVarianceAuthority.cva(["flex", "items-center", "font-bold", "leading-
|
|
20
|
+
const cvaLabel = classVarianceAuthority.cva(["flex", "items-center", "font-bold", "leading-[130%]"], {
|
|
19
21
|
variants: {
|
|
20
22
|
disabled: {
|
|
21
23
|
false: [],
|
|
22
|
-
true: ["text-
|
|
24
|
+
true: ["text-ddt-color-common-disabled"]
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
});
|
|
26
28
|
const cvaHelper = classVarianceAuthority.cva(
|
|
27
|
-
["flex", "gap-1", "items-center", "leading-
|
|
29
|
+
["flex", "gap-1", "items-center", "leading-[130%]", "text-sm"],
|
|
28
30
|
{
|
|
29
31
|
variants: {
|
|
30
32
|
type: {
|
|
31
|
-
helper: [],
|
|
32
|
-
helperDisabled: ["text-
|
|
33
|
+
helper: ["text-ddt-color-common-text-secondary"],
|
|
34
|
+
helperDisabled: ["text-ddt-color-common-disabled"],
|
|
33
35
|
error: [
|
|
34
|
-
"text-
|
|
36
|
+
"text-ddt-color-common-danger-default",
|
|
35
37
|
"font-bold",
|
|
36
38
|
"before:size-4",
|
|
37
|
-
"before:i-daikin-status-error"
|
|
39
|
+
"before:i-daikin-status-error",
|
|
40
|
+
"before:flex-none"
|
|
41
|
+
],
|
|
42
|
+
textareaLimitExceedError: [
|
|
43
|
+
"text-ddt-color-common-danger-default",
|
|
44
|
+
"font-bold",
|
|
45
|
+
"before:size-4",
|
|
46
|
+
"before:i-daikin-status-error",
|
|
47
|
+
"before:flex-none"
|
|
38
48
|
],
|
|
39
49
|
none: ["hidden"]
|
|
40
50
|
}
|
|
41
51
|
}
|
|
42
52
|
}
|
|
43
53
|
);
|
|
44
|
-
const cvaCounter = classVarianceAuthority.cva(["text-sm", "font-bold"], {
|
|
54
|
+
const cvaCounter = classVarianceAuthority.cva(["text-sm", "font-bold", "ml-auto"], {
|
|
45
55
|
variants: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
const cvaCounterValueLength = classVarianceAuthority.cva([], {
|
|
53
|
-
variants: {
|
|
54
|
-
error: {
|
|
55
|
-
false: [],
|
|
56
|
-
true: ["text-system-state-error-active"]
|
|
56
|
+
variant: {
|
|
57
|
+
normal: ["text-ddt-color-common-text-secondary"],
|
|
58
|
+
disabled: ["text-ddt-color-common-disabled"],
|
|
59
|
+
error: ["text-ddt-color-common-danger-default"]
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
62
|
});
|
|
60
|
-
exports.DaikinInputGroup = class DaikinInputGroup extends
|
|
63
|
+
exports.DaikinInputGroup = class DaikinInputGroup extends ddsElement.DDSElement {
|
|
61
64
|
constructor() {
|
|
62
65
|
super(...arguments);
|
|
63
66
|
this.label = null;
|
|
@@ -66,8 +69,12 @@ exports.DaikinInputGroup = class DaikinInputGroup extends lit.LitElement {
|
|
|
66
69
|
this.error = null;
|
|
67
70
|
this.disabled = false;
|
|
68
71
|
this.textareaMaxCount = null;
|
|
72
|
+
this.textareaLimitExceedError = null;
|
|
69
73
|
this._textareaCount = null;
|
|
70
74
|
}
|
|
75
|
+
get textareaLimitExceeded() {
|
|
76
|
+
return this.textareaMaxCount != null && this._textareaCount != null && this.textareaMaxCount < this._textareaCount;
|
|
77
|
+
}
|
|
71
78
|
_handleSlotChange() {
|
|
72
79
|
this._reflectSlotProperties();
|
|
73
80
|
const textarea = this._textareas[0];
|
|
@@ -84,40 +91,41 @@ exports.DaikinInputGroup = class DaikinInputGroup extends lit.LitElement {
|
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
render() {
|
|
87
|
-
const
|
|
94
|
+
const helperTextVariant = (() => {
|
|
95
|
+
if (this.textareaLimitExceeded && !!this.textareaLimitExceedError && !this.disabled) {
|
|
96
|
+
return "textareaLimitExceedError";
|
|
97
|
+
} else if (!!this.error && !this.disabled) {
|
|
98
|
+
return "error";
|
|
99
|
+
} else if (!!this.helper && this.disabled) {
|
|
100
|
+
return "helperDisabled";
|
|
101
|
+
} else if (this.helper) {
|
|
102
|
+
return "helper";
|
|
103
|
+
} else {
|
|
104
|
+
return "none";
|
|
105
|
+
}
|
|
106
|
+
})();
|
|
88
107
|
const helperText = {
|
|
89
|
-
error: this.error,
|
|
90
108
|
helper: this.helper,
|
|
91
109
|
helperDisabled: this.helper,
|
|
110
|
+
error: this.error,
|
|
111
|
+
textareaLimitExceedError: this.textareaLimitExceedError,
|
|
92
112
|
none: ""
|
|
93
|
-
}[
|
|
113
|
+
}[helperTextVariant];
|
|
94
114
|
return lit.html`<fieldset class="content" ?disabled=${this.disabled}>
|
|
95
115
|
<label
|
|
96
|
-
class="flex flex-col justify-center gap-2 w-full text-
|
|
116
|
+
class="flex flex-col justify-center gap-2 w-full text-ddt-color-common-text-primary font-daikinSerif"
|
|
97
117
|
>
|
|
98
|
-
<div class="flex
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</span>` : lit.nothing}
|
|
106
|
-
</div>
|
|
107
|
-
${this.textareaMaxCount != null && this._textareaCount != null ? lit.html`
|
|
108
|
-
<span class=${cvaCounter({ disabled: this.disabled })}>
|
|
109
|
-
<span
|
|
110
|
-
class=${cvaCounterValueLength({
|
|
111
|
-
error: this.textareaMaxCount < this._textareaCount
|
|
112
|
-
})}
|
|
113
|
-
>${this._textareaCount}</span
|
|
114
|
-
><span>/</span><span>${this.textareaMaxCount}</span>
|
|
115
|
-
</span>
|
|
116
|
-
` : lit.nothing}
|
|
118
|
+
<div class="flex items-center flex-wrap gap-1 font-bold">
|
|
119
|
+
${this.label ? lit.html`<span class=${cvaLabel({ disabled: this.disabled })}>
|
|
120
|
+
${this.label}
|
|
121
|
+
</span>` : lit.nothing}
|
|
122
|
+
${this.required && !this.disabled ? lit.html`<span class="text-ddt-color-common-danger-default text-xs">
|
|
123
|
+
${this.required}
|
|
124
|
+
</span>` : lit.nothing}
|
|
117
125
|
</div>
|
|
118
126
|
<span
|
|
119
|
-
class=${cvaHelper({ type:
|
|
120
|
-
aria-live=${
|
|
127
|
+
class=${cvaHelper({ type: helperTextVariant })}
|
|
128
|
+
aria-live=${helperTextVariant === "error" ? "polite" : "off"}
|
|
121
129
|
>
|
|
122
130
|
${helperText}
|
|
123
131
|
</span>
|
|
@@ -125,6 +133,12 @@ exports.DaikinInputGroup = class DaikinInputGroup extends lit.LitElement {
|
|
|
125
133
|
@slotchange=${this._handleSlotChange}
|
|
126
134
|
@input=${this._handleInput}
|
|
127
135
|
></slot>
|
|
136
|
+
${this.textareaMaxCount != null && this._textareaCount != null ? lit.html`<span
|
|
137
|
+
class=${cvaCounter({
|
|
138
|
+
variant: this.disabled ? "disabled" : this.textareaLimitExceeded ? "error" : "normal"
|
|
139
|
+
})}
|
|
140
|
+
>${this._textareaCount}/${this.textareaMaxCount}</span
|
|
141
|
+
>` : lit.nothing}
|
|
128
142
|
</label>
|
|
129
143
|
</fieldset>`;
|
|
130
144
|
}
|
|
@@ -136,8 +150,6 @@ exports.DaikinInputGroup.styles = lit.css`
|
|
|
136
150
|
${lit.unsafeCSS(tailwind.default)}
|
|
137
151
|
|
|
138
152
|
:host {
|
|
139
|
-
--input-group-border-color-error: ${lit.unsafeCSS(variables_js.colorFeedbackNegative)};
|
|
140
|
-
|
|
141
153
|
display: block;
|
|
142
154
|
width: 100%;
|
|
143
155
|
}
|
|
@@ -160,6 +172,13 @@ __decorateClass([
|
|
|
160
172
|
__decorateClass([
|
|
161
173
|
decorators_js.property({ type: Number, reflect: true, attribute: "textarea-max-count" })
|
|
162
174
|
], exports.DaikinInputGroup.prototype, "textareaMaxCount", 2);
|
|
175
|
+
__decorateClass([
|
|
176
|
+
decorators_js.property({
|
|
177
|
+
type: String,
|
|
178
|
+
reflect: true,
|
|
179
|
+
attribute: "textarea-limit-exceed-error"
|
|
180
|
+
})
|
|
181
|
+
], exports.DaikinInputGroup.prototype, "textareaLimitExceedError", 2);
|
|
163
182
|
__decorateClass([
|
|
164
183
|
decorators_js.queryAssignedElements({ selector: "daikin-text-area" })
|
|
165
184
|
], exports.DaikinInputGroup.prototype, "_textareas", 2);
|
|
@@ -172,5 +191,5 @@ __decorateClass([
|
|
|
172
191
|
decorators_js.state()
|
|
173
192
|
], exports.DaikinInputGroup.prototype, "_textareaCount", 2);
|
|
174
193
|
exports.DaikinInputGroup = __decorateClass([
|
|
175
|
-
|
|
194
|
+
decorators.ddsElement("daikin-input-group")
|
|
176
195
|
], exports.DaikinInputGroup);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
/**
|
|
3
3
|
* The input group component serves as a wrapper for an input control component (full list below), providing additional elements such as label text, helper text, or a counter.
|
|
4
4
|
* It enhances the user experience by associating supplementary information or functionality directly with the input field.
|
|
@@ -20,8 +20,8 @@ import { LitElement } from 'lit';
|
|
|
20
20
|
* <!-- Import the following as necessary. -->
|
|
21
21
|
* import "@daikin-oss/design-system-web-components/components/dropdown/index.js";
|
|
22
22
|
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
23
|
-
* import "@daikin-oss/design-system-web-components/components/radio-group/index.js";
|
|
24
23
|
* import "@daikin-oss/design-system-web-components/components/radio/index.js";
|
|
24
|
+
* import "@daikin-oss/design-system-web-components/components/radio-group/index.js";
|
|
25
25
|
* import "@daikin-oss/design-system-web-components/components/select/index.js";
|
|
26
26
|
* import "@daikin-oss/design-system-web-components/components/text-area/index.js";
|
|
27
27
|
* import "@daikin-oss/design-system-web-components/components/text-field/index.js";
|
|
@@ -31,10 +31,16 @@ import { LitElement } from 'lit';
|
|
|
31
31
|
*
|
|
32
32
|
* ```html
|
|
33
33
|
* <daikin-input-group>
|
|
34
|
-
* <daikin-dropdown
|
|
35
|
-
* <daikin-dropdown-item value="
|
|
34
|
+
* <daikin-dropdown>
|
|
35
|
+
* <daikin-dropdown-item value="value1">
|
|
36
36
|
* Dropdown item 1
|
|
37
37
|
* </daikin-dropdown-item>
|
|
38
|
+
* <daikin-dropdown-item value="value2">
|
|
39
|
+
* Dropdown item 2
|
|
40
|
+
* </daikin-dropdown-item>
|
|
41
|
+
* <daikin-dropdown-item value="value3">
|
|
42
|
+
* Dropdown item 3
|
|
43
|
+
* </daikin-dropdown-item>
|
|
38
44
|
* </daikin-dropdown>
|
|
39
45
|
* </daikin-input-group>
|
|
40
46
|
* ```
|
|
@@ -43,8 +49,10 @@ import { LitElement } from 'lit';
|
|
|
43
49
|
*
|
|
44
50
|
* ```html
|
|
45
51
|
* <daikin-input-group>
|
|
46
|
-
* <daikin-radio-group
|
|
47
|
-
* <daikin-radio value="
|
|
52
|
+
* <daikin-radio-group>
|
|
53
|
+
* <daikin-radio value="value1">Radio option 1</daikin-radio>
|
|
54
|
+
* <daikin-radio value="value2">Radio option 2</daikin-radio>
|
|
55
|
+
* <daikin-radio value="value3">Radio option 3</daikin-radio>
|
|
48
56
|
* </daikin-radio-group>
|
|
49
57
|
* </daikin-input-group>
|
|
50
58
|
* ```
|
|
@@ -80,7 +88,7 @@ import { LitElement } from 'lit';
|
|
|
80
88
|
* ```
|
|
81
89
|
* ```
|
|
82
90
|
*/
|
|
83
|
-
export declare class DaikinInputGroup extends
|
|
91
|
+
export declare class DaikinInputGroup extends DDSElement {
|
|
84
92
|
static readonly styles: import('lit').CSSResult;
|
|
85
93
|
/**
|
|
86
94
|
* Label text displayed at the top of the field.
|
|
@@ -111,12 +119,21 @@ export declare class DaikinInputGroup extends LitElement {
|
|
|
111
119
|
*/
|
|
112
120
|
disabled: boolean;
|
|
113
121
|
/**
|
|
114
|
-
*
|
|
122
|
+
* The maximum number of characters that can be input into the text area.
|
|
123
|
+
* If set, a counter will be displayed at the bottom of the text area.
|
|
124
|
+
* Users can enter more characters than the limit, but in that case the counter will turn red and an error message will be displayed (if specified) to indicate that the limit has been exceeded.
|
|
115
125
|
*/
|
|
116
126
|
textareaMaxCount: number | null;
|
|
127
|
+
/**
|
|
128
|
+
* An error message displayed when the number of characters in the text area exceeds the limit (optional).
|
|
129
|
+
* When the number of characters in the text area exceeds the limit, this is displayed below the label by overriding `helper` and `error`.
|
|
130
|
+
* Only used when a text area is assigned to a slot and `textareaMaxCount` is set.
|
|
131
|
+
*/
|
|
132
|
+
textareaLimitExceedError: string | null;
|
|
117
133
|
private readonly _textareas;
|
|
118
134
|
private readonly _controls;
|
|
119
135
|
private _textareaCount;
|
|
136
|
+
get textareaLimitExceeded(): boolean;
|
|
120
137
|
private _handleSlotChange;
|
|
121
138
|
private _handleInput;
|
|
122
139
|
private _reflectSlotProperties;
|