@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
2
|
import { ARIARole } from "../../lit-analyzer-types.js";
|
|
3
3
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
4
4
|
declare const cvaIconButton: (props?: ({
|
|
@@ -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 DDSElement {
|
|
36
36
|
static readonly styles: import('lit').CSSResult;
|
|
37
37
|
/**
|
|
38
38
|
* Variant of the button.
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import { css, unsafeCSS,
|
|
3
|
-
import { property, query
|
|
2
|
+
import { css, unsafeCSS, html } from "lit";
|
|
3
|
+
import { property, query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
6
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
7
|
+
import "../../base/define.js";
|
|
5
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
6
9
|
import "../icon/daikin-icon.js";
|
|
7
10
|
var __defProp = Object.defineProperty;
|
|
@@ -19,8 +22,7 @@ const cvaIconButton = cva(
|
|
|
19
22
|
"inline-flex",
|
|
20
23
|
"justify-center",
|
|
21
24
|
"items-center",
|
|
22
|
-
"
|
|
23
|
-
"h-8",
|
|
25
|
+
"size-full",
|
|
24
26
|
"font-daikinSerif",
|
|
25
27
|
"font-bold",
|
|
26
28
|
"rounded",
|
|
@@ -30,37 +32,37 @@ const cvaIconButton = cva(
|
|
|
30
32
|
"focus-visible:outline",
|
|
31
33
|
"focus-visible:outline-2",
|
|
32
34
|
"focus-visible:outline-offset-2",
|
|
33
|
-
"focus-visible:outline-
|
|
35
|
+
"focus-visible:outline-ddt-color-common-border-focus",
|
|
34
36
|
"var-color-transparent/color-secondary",
|
|
35
|
-
"link-disabled:var-color-
|
|
37
|
+
"link-disabled:var-color-ddt-color-common-disabled/color-primary"
|
|
36
38
|
],
|
|
37
39
|
{
|
|
38
40
|
variants: {
|
|
39
41
|
color: {
|
|
40
42
|
default: [
|
|
41
|
-
"link-enabled:var-color-
|
|
42
|
-
"link-enabled:hover:var-color-
|
|
43
|
-
"link-enabled:hover:var-color-
|
|
44
|
-
"link-enabled:active:var-color-
|
|
45
|
-
"link-enabled:active:var-color-
|
|
43
|
+
"link-enabled:var-color-ddt-color-common-brand-default/color-primary",
|
|
44
|
+
"link-enabled:hover:var-color-ddt-color-common-brand-hover/color-primary",
|
|
45
|
+
"link-enabled:hover:var-color-ddt-color-common-surface-brand-hover/color-secondary",
|
|
46
|
+
"link-enabled:active:var-color-ddt-color-common-brand-press/color-primary",
|
|
47
|
+
"link-enabled:active:var-color-ddt-color-common-surface-brand-press/color-secondary"
|
|
46
48
|
],
|
|
47
49
|
neutral: [
|
|
48
|
-
"link-enabled:var-color-
|
|
49
|
-
"link-enabled:hover:var-color-
|
|
50
|
-
"link-enabled:hover:var-color-
|
|
51
|
-
"link-enabled:active:var-color-
|
|
52
|
-
"link-enabled:active:var-color-
|
|
50
|
+
"link-enabled:var-color-ddt-color-common-neutral-default/color-primary",
|
|
51
|
+
"link-enabled:hover:var-color-ddt-color-common-neutral-hover/color-primary",
|
|
52
|
+
"link-enabled:hover:var-color-ddt-color-common-surface-neutral-hover/color-secondary",
|
|
53
|
+
"link-enabled:active:var-color-ddt-color-common-neutral-press/color-primary",
|
|
54
|
+
"link-enabled:active:var-color-ddt-color-common-surface-neutral-press/color-secondary"
|
|
53
55
|
],
|
|
54
56
|
danger: [
|
|
55
|
-
"link-enabled:var-color-
|
|
56
|
-
"link-enabled:hover:var-color-
|
|
57
|
-
"link-enabled:hover:var-color-
|
|
58
|
-
"link-enabled:active:var-color-
|
|
59
|
-
"link-enabled:active:var-color-
|
|
57
|
+
"link-enabled:var-color-ddt-color-common-danger-default/color-primary",
|
|
58
|
+
"link-enabled:hover:var-color-ddt-color-common-danger-hover/color-primary",
|
|
59
|
+
"link-enabled:hover:var-color-ddt-color-common-surface-danger-hover/color-secondary",
|
|
60
|
+
"link-enabled:active:var-color-ddt-color-common-danger-press/color-primary",
|
|
61
|
+
"link-enabled:active:var-color-ddt-color-common-surface-danger-press/color-secondary"
|
|
60
62
|
]
|
|
61
63
|
},
|
|
62
64
|
variant: {
|
|
63
|
-
fill: ["text-
|
|
65
|
+
fill: ["text-ddt-color-common-text-inverse", "bg-[--color-primary]"],
|
|
64
66
|
outline: [
|
|
65
67
|
"border",
|
|
66
68
|
"text-[--color-primary]",
|
|
@@ -72,7 +74,7 @@ const cvaIconButton = cva(
|
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
);
|
|
75
|
-
let DaikinIconButton = class extends
|
|
77
|
+
let DaikinIconButton = class extends DDSElement {
|
|
76
78
|
constructor() {
|
|
77
79
|
super();
|
|
78
80
|
this.variant = "fill";
|
|
@@ -132,6 +134,8 @@ DaikinIconButton.styles = css`
|
|
|
132
134
|
|
|
133
135
|
:host {
|
|
134
136
|
display: inline-block;
|
|
137
|
+
width: 2rem;
|
|
138
|
+
height: 2rem;
|
|
135
139
|
}
|
|
136
140
|
`;
|
|
137
141
|
__decorateClass([
|
|
@@ -159,7 +163,7 @@ __decorateClass([
|
|
|
159
163
|
query("button")
|
|
160
164
|
], DaikinIconButton.prototype, "_button", 2);
|
|
161
165
|
DaikinIconButton = __decorateClass([
|
|
162
|
-
|
|
166
|
+
ddsElement("daikin-icon-button")
|
|
163
167
|
], DaikinIconButton);
|
|
164
168
|
export {
|
|
165
169
|
DaikinIconButton
|
|
@@ -3,16 +3,21 @@ export * from "./accordion-item/index.js";
|
|
|
3
3
|
export * from "./breadcrumb/index.js";
|
|
4
4
|
export * from "./breadcrumb-item/index.js";
|
|
5
5
|
export * from "./button/index.js";
|
|
6
|
+
export * from "./card/index.js";
|
|
7
|
+
export * from "./card-footer/index.js";
|
|
8
|
+
export * from "./card-header/index.js";
|
|
9
|
+
export * from "./carousel/index.js";
|
|
10
|
+
export * from "./carousel-item/index.js";
|
|
6
11
|
export * from "./checkbox/index.js";
|
|
7
12
|
export * from "./dropdown/index.js";
|
|
8
13
|
export * from "./dropdown-item/index.js";
|
|
9
14
|
export * from "./icon/index.js";
|
|
10
15
|
export * from "./icon-button/index.js";
|
|
16
|
+
export * from "./inline-notification/index.js";
|
|
11
17
|
export * from "./input-group/index.js";
|
|
12
18
|
export * from "./link/index.js";
|
|
13
19
|
export * from "./list/index.js";
|
|
14
20
|
export * from "./list-item/index.js";
|
|
15
|
-
export * from "./notification/index.js";
|
|
16
21
|
export * from "./pagination/index.js";
|
|
17
22
|
export * from "./progress-bar/index.js";
|
|
18
23
|
export * from "./progress-indicator/index.js";
|
|
@@ -27,5 +32,10 @@ export * from "./table-header-cell/index.js";
|
|
|
27
32
|
export * from "./tabs/index.js";
|
|
28
33
|
export * from "./text-area/index.js";
|
|
29
34
|
export * from "./text-field/index.js";
|
|
35
|
+
export * from "./toast-notification/index.js";
|
|
36
|
+
export * from "./toast-notification-manager/index.js";
|
|
30
37
|
export * from "./toggle/index.js";
|
|
31
38
|
export * from "./tooltip/index.js";
|
|
39
|
+
export * from "./tree/index.js";
|
|
40
|
+
export * from "./tree-item/index.js";
|
|
41
|
+
export * from "./tree-section/index.js";
|
|
@@ -3,16 +3,21 @@ import { DaikinAccordionItem } from "./accordion-item/daikin-accordion-item.js";
|
|
|
3
3
|
import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
|
|
4
4
|
import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
|
|
5
5
|
import { DaikinButton } from "./button/daikin-button.js";
|
|
6
|
+
import { DaikinCard } from "./card/daikin-card.js";
|
|
7
|
+
import { DaikinCardFooter } from "./card-footer/daikin-card-footer.js";
|
|
8
|
+
import { DaikinCardHeader } from "./card-header/daikin-card-header.js";
|
|
9
|
+
import { DaikinCarousel } from "./carousel/daikin-carousel.js";
|
|
10
|
+
import { DaikinCarouselItem } from "./carousel-item/daikin-carousel-item.js";
|
|
6
11
|
import { DaikinCheckbox } from "./checkbox/daikin-checkbox.js";
|
|
7
12
|
import { DaikinDropdown } from "./dropdown/daikin-dropdown.js";
|
|
8
13
|
import { DaikinDropdownItem } from "./dropdown-item/daikin-dropdown-item.js";
|
|
9
14
|
import { DaikinIcon, iconList } from "./icon/daikin-icon.js";
|
|
10
15
|
import { DaikinIconButton } from "./icon-button/daikin-icon-button.js";
|
|
16
|
+
import { DaikinInlineNotification } from "./inline-notification/daikin-inline-notification.js";
|
|
11
17
|
import { DaikinInputGroup } from "./input-group/daikin-input-group.js";
|
|
12
18
|
import { DaikinLink } from "./link/daikin-link.js";
|
|
13
19
|
import { DaikinList } from "./list/daikin-list.js";
|
|
14
20
|
import { DaikinListItem } from "./list-item/daikin-list-item.js";
|
|
15
|
-
import { DaikinNotification } from "./notification/daikin-notification.js";
|
|
16
21
|
import { DaikinPagination } from "./pagination/daikin-pagination.js";
|
|
17
22
|
import { DaikinProgressBar } from "./progress-bar/daikin-progress-bar.js";
|
|
18
23
|
import { DaikinProgressIndicator } from "./progress-indicator/daikin-progress-indicator.js";
|
|
@@ -27,24 +32,34 @@ import { DaikinTableHeaderCell } from "./table-header-cell/daikin-table-header-c
|
|
|
27
32
|
import { DaikinTabs } from "./tabs/daikin-tabs.js";
|
|
28
33
|
import { DaikinTextArea } from "./text-area/daikin-text-area.js";
|
|
29
34
|
import { DaikinTextField } from "./text-field/daikin-text-field.js";
|
|
35
|
+
import { DaikinToastNotification } from "./toast-notification/daikin-toast-notification.js";
|
|
36
|
+
import { DaikinToastNotificationManager } from "./toast-notification-manager/daikin-toast-notification-manager.js";
|
|
30
37
|
import { DaikinToggle } from "./toggle/daikin-toggle.js";
|
|
31
38
|
import { DaikinTooltip } from "./tooltip/daikin-tooltip.js";
|
|
39
|
+
import { DaikinTree } from "./tree/daikin-tree.js";
|
|
40
|
+
import { DaikinTreeItem, cvaTreeChildren } from "./tree-item/daikin-tree-item.js";
|
|
41
|
+
import { DaikinTreeSection } from "./tree-section/daikin-tree-section.js";
|
|
32
42
|
export {
|
|
33
43
|
DaikinAccordion,
|
|
34
44
|
DaikinAccordionItem,
|
|
35
45
|
DaikinBreadcrumb,
|
|
36
46
|
DaikinBreadcrumbItem,
|
|
37
47
|
DaikinButton,
|
|
48
|
+
DaikinCard,
|
|
49
|
+
DaikinCardFooter,
|
|
50
|
+
DaikinCardHeader,
|
|
51
|
+
DaikinCarousel,
|
|
52
|
+
DaikinCarouselItem,
|
|
38
53
|
DaikinCheckbox,
|
|
39
54
|
DaikinDropdown,
|
|
40
55
|
DaikinDropdownItem,
|
|
41
56
|
DaikinIcon,
|
|
42
57
|
DaikinIconButton,
|
|
58
|
+
DaikinInlineNotification,
|
|
43
59
|
DaikinInputGroup,
|
|
44
60
|
DaikinLink,
|
|
45
61
|
DaikinList,
|
|
46
62
|
DaikinListItem,
|
|
47
|
-
DaikinNotification,
|
|
48
63
|
DaikinPagination,
|
|
49
64
|
DaikinProgressBar,
|
|
50
65
|
DaikinProgressIndicator,
|
|
@@ -59,7 +74,13 @@ export {
|
|
|
59
74
|
DaikinTabs,
|
|
60
75
|
DaikinTextArea,
|
|
61
76
|
DaikinTextField,
|
|
77
|
+
DaikinToastNotification,
|
|
78
|
+
DaikinToastNotificationManager,
|
|
62
79
|
DaikinToggle,
|
|
63
80
|
DaikinTooltip,
|
|
81
|
+
DaikinTree,
|
|
82
|
+
DaikinTreeItem,
|
|
83
|
+
DaikinTreeSection,
|
|
84
|
+
cvaTreeChildren,
|
|
64
85
|
iconList
|
|
65
86
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
import { ToastNotificationVariantProps } from "../toast-notification/index.js";
|
|
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,93 @@
|
|
|
1
|
+
import { css, unsafeCSS, html, nothing } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
4
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
5
|
+
import "../../base/define.js";
|
|
6
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
7
|
+
import { formatDate, cvaContainer, cvaContent, cvaTitle, cvaDescription, cvaTimestamp } from "../../utils/notification-common.js";
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
11
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
12
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13
|
+
if (decorator = decorators[i])
|
|
14
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
15
|
+
if (kind && result) __defProp(target, key, result);
|
|
16
|
+
return result;
|
|
17
|
+
};
|
|
18
|
+
let DaikinInlineNotification = class extends DDSElement {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.status = "positive";
|
|
22
|
+
this.layout = "horizontal";
|
|
23
|
+
this.closable = false;
|
|
24
|
+
this.timestamp = null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Emits a "close" event and sets `this.hidden` to true.
|
|
28
|
+
*/
|
|
29
|
+
_handleClickClose() {
|
|
30
|
+
this.hidden = true;
|
|
31
|
+
this.dispatchEvent(new Event("close"));
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
const formattedTimestamp = this.timestamp ? formatDate(this.timestamp) : null;
|
|
35
|
+
return html`<aside
|
|
36
|
+
class=${cvaContainer({ variant: "inline", status: this.status })}
|
|
37
|
+
role="status"
|
|
38
|
+
>
|
|
39
|
+
<div class=${cvaContent({ layout: this.layout })}>
|
|
40
|
+
<slot class=${cvaTitle({ layout: this.layout })} name="title"></slot>
|
|
41
|
+
<slot
|
|
42
|
+
class=${cvaDescription({ layout: this.layout })}
|
|
43
|
+
name="description"
|
|
44
|
+
></slot>
|
|
45
|
+
${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
|
|
46
|
+
>${formattedTimestamp}</span
|
|
47
|
+
>` : nothing}
|
|
48
|
+
</div>
|
|
49
|
+
<slot name="action" class="flex-none"></slot>
|
|
50
|
+
${this.closable ? html`
|
|
51
|
+
<daikin-icon-button
|
|
52
|
+
variant="ghost"
|
|
53
|
+
button-aria-label="Close"
|
|
54
|
+
@click=${this._handleClickClose}
|
|
55
|
+
>
|
|
56
|
+
<span
|
|
57
|
+
class="flex size-6 text-ddt-color-common-text-secondary relative i-daikin-cross"
|
|
58
|
+
></span>
|
|
59
|
+
</daikin-icon-button>
|
|
60
|
+
` : nothing}
|
|
61
|
+
</aside>`;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
DaikinInlineNotification.styles = css`
|
|
65
|
+
${unsafeCSS(tailwindStyles)}
|
|
66
|
+
|
|
67
|
+
:host {
|
|
68
|
+
display: block;
|
|
69
|
+
width: 100%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([hidden]) {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
__decorateClass([
|
|
77
|
+
property({ type: String })
|
|
78
|
+
], DaikinInlineNotification.prototype, "status", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
property({ type: String })
|
|
81
|
+
], DaikinInlineNotification.prototype, "layout", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
property({ type: Boolean, reflect: true })
|
|
84
|
+
], DaikinInlineNotification.prototype, "closable", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
property({ type: Object, reflect: true, attribute: false })
|
|
87
|
+
], DaikinInlineNotification.prototype, "timestamp", 2);
|
|
88
|
+
DaikinInlineNotification = __decorateClass([
|
|
89
|
+
ddsElement("daikin-inline-notification")
|
|
90
|
+
], DaikinInlineNotification);
|
|
91
|
+
export {
|
|
92
|
+
DaikinInlineNotification
|
|
93
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-inline-notification.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
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;
|