@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,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { property, customElement } from "lit/decorators.js";
|
|
1
|
+
import { css, unsafeCSS, html, nothing } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
4
3
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
4
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
6
|
+
import "../../base/define.js";
|
|
5
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
8
|
+
import "../link/daikin-link.js";
|
|
6
9
|
var __defProp = Object.defineProperty;
|
|
7
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
11
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -13,87 +16,38 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
16
|
if (kind && result) __defProp(target, key, result);
|
|
14
17
|
return result;
|
|
15
18
|
};
|
|
16
|
-
|
|
17
|
-
[
|
|
18
|
-
"h-8",
|
|
19
|
-
"font-normal",
|
|
20
|
-
"not-italic",
|
|
21
|
-
"leading-8",
|
|
22
|
-
"text-sm",
|
|
23
|
-
"text-daikinBlue-500",
|
|
24
|
-
"outline-none",
|
|
25
|
-
"font-daikinSerif"
|
|
26
|
-
],
|
|
27
|
-
{
|
|
28
|
-
variants: {
|
|
29
|
-
variant: {
|
|
30
|
-
normal: [
|
|
31
|
-
"hover:text-daikinBlue-300",
|
|
32
|
-
"active:text-daikinNeutral-800",
|
|
33
|
-
"focus-visible:text-daikinBlue-700"
|
|
34
|
-
],
|
|
35
|
-
ellipsis: ["hover:text-daikinBlue-300"]
|
|
36
|
-
},
|
|
37
|
-
disabled: {
|
|
38
|
-
true: [
|
|
39
|
-
"!text-daikinNeutral-800",
|
|
40
|
-
"pointer-events-none",
|
|
41
|
-
"cursor-default",
|
|
42
|
-
"focus-visible:!text-daikinNeutral-800"
|
|
43
|
-
],
|
|
44
|
-
false: []
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
let DaikinBreadcrumbItem = class extends LitElement {
|
|
19
|
+
let DaikinBreadcrumbItem = class extends DDSElement {
|
|
50
20
|
constructor() {
|
|
51
21
|
super(...arguments);
|
|
52
|
-
this.href =
|
|
22
|
+
this.href = null;
|
|
53
23
|
this.variant = "normal";
|
|
54
|
-
this.disabled = false;
|
|
55
24
|
this.target = null;
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
25
|
+
this.showVisited = false;
|
|
26
|
+
this.appendDivider = false;
|
|
58
27
|
}
|
|
59
28
|
render() {
|
|
60
|
-
const
|
|
61
|
-
|
|
29
|
+
const link = this.variant === "normal" ? html`<daikin-link
|
|
30
|
+
class="text-sm"
|
|
31
|
+
href=${ifDefined(this.href ?? void 0)}
|
|
32
|
+
?show-visited=${this.showVisited}
|
|
33
|
+
><slot></slot
|
|
34
|
+
></daikin-link>` : html`<a
|
|
35
|
+
class="text-sm font-daikinSerif text-ddt-color-common-text-primary"
|
|
36
|
+
aria-disabled="true"
|
|
37
|
+
aria-current="true"
|
|
38
|
+
role="link"
|
|
39
|
+
><slot></slot
|
|
40
|
+
></a>`;
|
|
41
|
+
const divider = this.appendDivider ? html`<span
|
|
42
|
+
class="text-ddt-color-common-text-primary mx-2 text-sm"
|
|
62
43
|
aria-hidden="true"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
const isDisabled = this.last || this.disabled;
|
|
67
|
-
return html`
|
|
68
|
-
${this.variant === "normal" ? html`<a
|
|
69
|
-
class=${cvaLink({ variant: this.variant, disabled: isDisabled })}
|
|
70
|
-
href=${ifDefined(!isDisabled && this.href || void 0)}
|
|
71
|
-
target=${// eslint-disable-next-line @typescript-eslint/no-explicit-any -- workaround lit-analyzer checking
|
|
72
|
-
ifDefined(this.target)}
|
|
73
|
-
aria-disabled=${ifDefined(isDisabled || void 0)}
|
|
74
|
-
aria-current=${ifDefined(this.last || void 0)}
|
|
75
|
-
>
|
|
76
|
-
<slot></slot>
|
|
77
|
-
</a>` : html`<span class=${cvaLink(this)} aria-label="…">
|
|
78
|
-
<span>. . .</span>
|
|
79
|
-
</span> `}
|
|
80
|
-
${slash}
|
|
81
|
-
`;
|
|
44
|
+
>/</span
|
|
45
|
+
>` : nothing;
|
|
46
|
+
return html`<div class="inline" role="listitem">${link}${divider}</div>`;
|
|
82
47
|
}
|
|
83
48
|
};
|
|
84
49
|
DaikinBreadcrumbItem.styles = css`
|
|
85
50
|
${unsafeCSS(tailwindStyles)}
|
|
86
|
-
|
|
87
|
-
:host {
|
|
88
|
-
display: inline-flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
gap: 0.5rem;
|
|
91
|
-
flex-shrink: 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:host([hidden]) {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
51
|
`;
|
|
98
52
|
__decorateClass([
|
|
99
53
|
property({ type: String, reflect: true })
|
|
@@ -101,20 +55,17 @@ __decorateClass([
|
|
|
101
55
|
__decorateClass([
|
|
102
56
|
property({ type: String, reflect: true })
|
|
103
57
|
], DaikinBreadcrumbItem.prototype, "variant", 2);
|
|
104
|
-
__decorateClass([
|
|
105
|
-
property({ type: Boolean, reflect: true })
|
|
106
|
-
], DaikinBreadcrumbItem.prototype, "disabled", 2);
|
|
107
58
|
__decorateClass([
|
|
108
59
|
property({ type: String, reflect: true })
|
|
109
60
|
], DaikinBreadcrumbItem.prototype, "target", 2);
|
|
110
61
|
__decorateClass([
|
|
111
|
-
property({ type: Boolean, reflect: true, attribute: "
|
|
112
|
-
], DaikinBreadcrumbItem.prototype, "
|
|
62
|
+
property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
63
|
+
], DaikinBreadcrumbItem.prototype, "showVisited", 2);
|
|
113
64
|
__decorateClass([
|
|
114
|
-
property({ type: Boolean, reflect: true })
|
|
115
|
-
], DaikinBreadcrumbItem.prototype, "
|
|
65
|
+
property({ type: Boolean, reflect: true, attribute: "append-divider" })
|
|
66
|
+
], DaikinBreadcrumbItem.prototype, "appendDivider", 2);
|
|
116
67
|
DaikinBreadcrumbItem = __decorateClass([
|
|
117
|
-
|
|
68
|
+
ddsElement("daikin-breadcrumb-item")
|
|
118
69
|
], DaikinBreadcrumbItem);
|
|
119
70
|
export {
|
|
120
71
|
DaikinBreadcrumbItem
|
|
@@ -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 cvaButton: (props?: ({
|
|
@@ -6,12 +6,15 @@ declare const cvaButton: (props?: ({
|
|
|
6
6
|
variant?: "fill" | "outline" | "ghost" | null | undefined;
|
|
7
7
|
size?: "small" | "medium" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
|
|
9
|
+
declare const cvaIcon: (props?: ({
|
|
10
|
+
size?: "small" | "medium" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
+
type ButtonVariantProps = MergeVariantProps<typeof cvaButton | typeof cvaIcon>;
|
|
10
13
|
/**
|
|
11
14
|
* The button component is a versatile UI element that triggers actions or submits forms when clicked.
|
|
12
15
|
* It functions similarly to the HTML `<button>` tag, allowing users to initiate various operations such as submitting data, opening dialogs, or navigating to different sections of an application.
|
|
13
16
|
*
|
|
14
|
-
* @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<button>` element. Suppressed if `disabled` is true,
|
|
17
|
+
* @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<a>` or `<button>` element. Suppressed if `disabled` is true,
|
|
15
18
|
*
|
|
16
19
|
* @slot - A slot for the button content.
|
|
17
20
|
* @slot left-icon - A slot for an icon to be placed to the left of the text. Place `daikin-icon` or something similar.
|
|
@@ -29,7 +32,7 @@ type ButtonVariantProps = MergeVariantProps<typeof cvaButton>;
|
|
|
29
32
|
* </daikin-button>
|
|
30
33
|
* ```
|
|
31
34
|
*/
|
|
32
|
-
export declare class DaikinButton extends
|
|
35
|
+
export declare class DaikinButton extends DDSElement {
|
|
33
36
|
static readonly styles: import('lit').CSSResult;
|
|
34
37
|
/**
|
|
35
38
|
* Variant of the button.
|
|
@@ -55,7 +58,7 @@ export declare class DaikinButton extends LitElement {
|
|
|
55
58
|
href: string | null;
|
|
56
59
|
/**
|
|
57
60
|
* Type of the button.
|
|
58
|
-
* If `"link"` is specified, the button will be rendered as an `<a>` element
|
|
61
|
+
* If `"link"` is specified, the button will be rendered as an `<a>` element.
|
|
59
62
|
*/
|
|
60
63
|
type: "button" | "submit" | "reset" | "link";
|
|
61
64
|
/**
|
|
@@ -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
|
var __defProp = Object.defineProperty;
|
|
7
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,33 +28,34 @@ const cvaButton = cva(
|
|
|
25
28
|
"px-3",
|
|
26
29
|
"tracking-wide",
|
|
27
30
|
"text-nowrap",
|
|
31
|
+
"leading-[130%]",
|
|
28
32
|
"focus-visible:outline",
|
|
29
33
|
"focus-visible:outline-2",
|
|
30
34
|
"focus-visible:outline-offset-2",
|
|
31
|
-
"focus-visible:outline-
|
|
35
|
+
"focus-visible:outline-ddt-color-common-border-focus",
|
|
32
36
|
"var-color-transparent/color-secondary",
|
|
33
|
-
"link-disabled:var-color-
|
|
37
|
+
"link-disabled:var-color-ddt-color-common-disabled/color-primary"
|
|
34
38
|
],
|
|
35
39
|
{
|
|
36
40
|
variants: {
|
|
37
41
|
color: {
|
|
38
42
|
default: [
|
|
39
|
-
"link-enabled:var-color-
|
|
40
|
-
"link-enabled:hover:var-color-
|
|
41
|
-
"link-enabled:hover:var-color-
|
|
42
|
-
"link-enabled:active:var-color-
|
|
43
|
-
"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"
|
|
44
48
|
],
|
|
45
49
|
danger: [
|
|
46
|
-
"link-enabled:var-color-
|
|
47
|
-
"link-enabled:hover:var-color-
|
|
48
|
-
"link-enabled:hover:var-color-
|
|
49
|
-
"link-enabled:active:var-color-
|
|
50
|
-
"link-enabled:active:var-color-
|
|
50
|
+
"link-enabled:var-color-ddt-color-common-danger-default/color-primary",
|
|
51
|
+
"link-enabled:hover:var-color-ddt-color-common-danger-hover/color-primary",
|
|
52
|
+
"link-enabled:hover:var-color-ddt-color-common-surface-danger-hover/color-secondary",
|
|
53
|
+
"link-enabled:active:var-color-ddt-color-common-danger-press/color-primary",
|
|
54
|
+
"link-enabled:active:var-color-ddt-color-common-surface-danger-press/color-secondary"
|
|
51
55
|
]
|
|
52
56
|
},
|
|
53
57
|
variant: {
|
|
54
|
-
fill: ["text-
|
|
58
|
+
fill: ["text-ddt-color-common-text-inverse", "bg-[--color-primary]"],
|
|
55
59
|
outline: [
|
|
56
60
|
"border",
|
|
57
61
|
"text-[--color-primary]",
|
|
@@ -62,12 +66,20 @@ const cvaButton = cva(
|
|
|
62
66
|
},
|
|
63
67
|
size: {
|
|
64
68
|
small: ["text-sm"],
|
|
65
|
-
medium: [
|
|
69
|
+
medium: []
|
|
66
70
|
}
|
|
67
71
|
}
|
|
68
72
|
}
|
|
69
73
|
);
|
|
70
|
-
|
|
74
|
+
const cvaIcon = cva([], {
|
|
75
|
+
variants: {
|
|
76
|
+
size: {
|
|
77
|
+
small: ["icon-size-4"],
|
|
78
|
+
medium: ["icon-size-6"]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
let DaikinButton = class extends DDSElement {
|
|
71
83
|
constructor() {
|
|
72
84
|
super();
|
|
73
85
|
this.variant = "fill";
|
|
@@ -78,7 +90,7 @@ let DaikinButton = class extends LitElement {
|
|
|
78
90
|
this.type = "button";
|
|
79
91
|
this.buttonRole = null;
|
|
80
92
|
this.addEventListener("click", (event) => {
|
|
81
|
-
if (this.disabled) {
|
|
93
|
+
if (this.disabled || this.type === "link" && this.href == null) {
|
|
82
94
|
event.stopImmediatePropagation();
|
|
83
95
|
}
|
|
84
96
|
});
|
|
@@ -115,11 +127,11 @@ let DaikinButton = class extends LitElement {
|
|
|
115
127
|
type=${this.type}
|
|
116
128
|
role=${ifDefined(this.buttonRole ?? void 0)}
|
|
117
129
|
>
|
|
118
|
-
<slot name="left-icon" class
|
|
130
|
+
<slot name="left-icon" class=${cvaIcon({ size: this.size })}>
|
|
119
131
|
<span class="block -ml-1"></span>
|
|
120
132
|
</slot>
|
|
121
133
|
<span class="px-2"><slot></slot></span>
|
|
122
|
-
<slot name="right-icon" class
|
|
134
|
+
<slot name="right-icon" class=${cvaIcon({ size: this.size })}>
|
|
123
135
|
<span class="block -mr-1"></span>
|
|
124
136
|
</slot>
|
|
125
137
|
</button>
|
|
@@ -138,7 +150,8 @@ DaikinButton.styles = css`
|
|
|
138
150
|
${unsafeCSS(tailwindStyles)}
|
|
139
151
|
|
|
140
152
|
:host {
|
|
141
|
-
display: inline-
|
|
153
|
+
display: inline-flex;
|
|
154
|
+
max-width: 100%;
|
|
142
155
|
}
|
|
143
156
|
|
|
144
157
|
:host([size="small"]) {
|
|
@@ -176,7 +189,7 @@ __decorateClass([
|
|
|
176
189
|
query("a,button")
|
|
177
190
|
], DaikinButton.prototype, "_focusableElement", 2);
|
|
178
191
|
DaikinButton = __decorateClass([
|
|
179
|
-
|
|
192
|
+
ddsElement("daikin-button")
|
|
180
193
|
], DaikinButton);
|
|
181
194
|
export {
|
|
182
195
|
DaikinButton
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* `daikin-card` is a component for display content related to a single subject. The content can consist of multiple elements of varying types and sizes.
|
|
4
|
+
*
|
|
5
|
+
* Hierarchy:
|
|
6
|
+
* - `daikin-card` > `daikin-card-header`
|
|
7
|
+
* - `daikin-card` > `daikin-card-footer`
|
|
8
|
+
*
|
|
9
|
+
* @slot - A slot for card header, body, card footer. Place `daikin-card-header`, custom body content, `daikin-card-footer` here in order.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
*
|
|
13
|
+
* ```js
|
|
14
|
+
* import "@daikin-oss/design-system-web-components/components/card/index.js";
|
|
15
|
+
* import "@daikin-oss/design-system-web-components/components/card-footer/index.js";
|
|
16
|
+
* import "@daikin-oss/design-system-web-components/components/card-header/index.js";
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ```html
|
|
20
|
+
* <daikin-card outline>
|
|
21
|
+
* <daikin-card-header>
|
|
22
|
+
* <daikin-card-header>
|
|
23
|
+
* <daikin-icon slot="left-icon" icon="alarm" size="xl" color="current"></daikin-icon>
|
|
24
|
+
* <span slot="description">Description</span>
|
|
25
|
+
* <span>Card Title</span>
|
|
26
|
+
* <span slot="description">Description</span>
|
|
27
|
+
* </daikin-card-header>
|
|
28
|
+
* </daikin-card-header>
|
|
29
|
+
* <p>Card body.</p>
|
|
30
|
+
* <daikin-card-footer>
|
|
31
|
+
* <daikin-button size="small">Button</daikin-button>
|
|
32
|
+
* </daikin-card-footer>
|
|
33
|
+
* </daikin-card>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class DaikinCard extends DDSElement {
|
|
37
|
+
static styles: import('lit').CSSResult;
|
|
38
|
+
/**
|
|
39
|
+
* Specify whether the card border to be visible or not.
|
|
40
|
+
*/
|
|
41
|
+
outline: boolean;
|
|
42
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
43
|
+
}
|
|
44
|
+
declare global {
|
|
45
|
+
interface HTMLElementTagNameMap {
|
|
46
|
+
"daikin-card": DaikinCard;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { css, unsafeCSS, html } from "lit";
|
|
3
|
+
import { property } from "lit/decorators.js";
|
|
4
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
6
|
+
import "../../base/define.js";
|
|
7
|
+
import tailwindStyles from "../../tailwind.css.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
|
+
const cvaContainer = cva(
|
|
19
|
+
[
|
|
20
|
+
"flex",
|
|
21
|
+
"flex-col",
|
|
22
|
+
"gap-4",
|
|
23
|
+
"size-full",
|
|
24
|
+
"p-4",
|
|
25
|
+
"rounded-lg",
|
|
26
|
+
"bg-ddt-color-common-background-default"
|
|
27
|
+
],
|
|
28
|
+
{
|
|
29
|
+
variants: {
|
|
30
|
+
outline: {
|
|
31
|
+
true: ["border", "border-ddt-color-divider"],
|
|
32
|
+
false: []
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
let DaikinCard = class extends DDSElement {
|
|
38
|
+
constructor() {
|
|
39
|
+
super(...arguments);
|
|
40
|
+
this.outline = false;
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return html`<div
|
|
44
|
+
class=${cvaContainer({
|
|
45
|
+
outline: this.outline
|
|
46
|
+
})}
|
|
47
|
+
>
|
|
48
|
+
<slot class="text-ddt-color-common-text-primary"></slot>
|
|
49
|
+
</div>`;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
DaikinCard.styles = css`
|
|
53
|
+
${unsafeCSS(tailwindStyles)}
|
|
54
|
+
|
|
55
|
+
:host {
|
|
56
|
+
display: block;
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
__decorateClass([
|
|
61
|
+
property({ type: Boolean, reflect: true })
|
|
62
|
+
], DaikinCard.prototype, "outline", 2);
|
|
63
|
+
DaikinCard = __decorateClass([
|
|
64
|
+
ddsElement("daikin-card")
|
|
65
|
+
], DaikinCard);
|
|
66
|
+
export {
|
|
67
|
+
DaikinCard
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-card.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* `daikin-card-footer` is used to represent footer of the card component, and is used as a child element of the `daikin-card` component.
|
|
4
|
+
*
|
|
5
|
+
* Hierarchy:
|
|
6
|
+
* - `daikin-card` > `daikin-card-footer`
|
|
7
|
+
*
|
|
8
|
+
* @slot A slot for card footer action element. Place a `daikin-button` or `daikin-link` element here.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
*
|
|
12
|
+
* ```js
|
|
13
|
+
* import "@daikin-oss/design-system-web-components/components/card-footer/index.js";
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ```html
|
|
17
|
+
* <!-- See `daikin-card` component for complete example. -->
|
|
18
|
+
* <daikin-card-footer>
|
|
19
|
+
* <daikin-button size="small" color="default">
|
|
20
|
+
* Button
|
|
21
|
+
* </daikin-button>
|
|
22
|
+
* </daikin-card-footer>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class DaikinCardFooter extends DDSElement {
|
|
26
|
+
static styles: import('lit').CSSResult;
|
|
27
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
"daikin-card-footer": DaikinCardFooter;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { css, unsafeCSS, html } from "lit";
|
|
2
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
3
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
4
|
+
import "../../base/define.js";
|
|
5
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
8
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
9
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10
|
+
if (decorator = decorators[i])
|
|
11
|
+
result = decorator(result) || result;
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
let DaikinCardFooter = class extends DDSElement {
|
|
15
|
+
render() {
|
|
16
|
+
return html`<slot></slot>`;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
DaikinCardFooter.styles = css`
|
|
20
|
+
${unsafeCSS(tailwindStyles)}
|
|
21
|
+
|
|
22
|
+
:host {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
width: 100%;
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
DaikinCardFooter = __decorateClass([
|
|
30
|
+
ddsElement("daikin-card-footer")
|
|
31
|
+
], DaikinCardFooter);
|
|
32
|
+
export {
|
|
33
|
+
DaikinCardFooter
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-card-footer.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* `daikin-card-header` is used to represent header of the card component, and is used as a child element of the `daikin-card` component.
|
|
4
|
+
*
|
|
5
|
+
* Hierarchy:
|
|
6
|
+
* - `daikin-card` > `daikin-card-header`
|
|
7
|
+
*
|
|
8
|
+
* @slot description - An optional slot for description.
|
|
9
|
+
* @slot left-icon - An optional slot for an icon to be placed to the left of the text. Place a `daikin-icon` element or something similar.
|
|
10
|
+
* @slot - A slot for card title.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
*
|
|
14
|
+
* ```js
|
|
15
|
+
* import "@daikin-oss/design-system-web-components/components/card-header/index.js";
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ```html
|
|
19
|
+
* <!-- See `daikin-card` component for complete example. -->
|
|
20
|
+
* <daikin-card-header>
|
|
21
|
+
* <daikin-icon slot="left-icon" icon="alarm" size="xl" color="current"></daikin-icon>
|
|
22
|
+
* <span slot="description">Description</span>
|
|
23
|
+
* <span>Card Title</span>
|
|
24
|
+
* </daikin-card-header>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class DaikinCardHeader extends DDSElement {
|
|
28
|
+
static styles: import('lit').CSSResult;
|
|
29
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
30
|
+
}
|
|
31
|
+
declare global {
|
|
32
|
+
interface HTMLElementTagNameMap {
|
|
33
|
+
"daikin-card-header": DaikinCardHeader;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { css, unsafeCSS, html } from "lit";
|
|
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
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = decorator(result) || result;
|
|
13
|
+
return result;
|
|
14
|
+
};
|
|
15
|
+
const cvaTitle = cva([
|
|
16
|
+
"flex-none",
|
|
17
|
+
"text-ddt-color-common-text-primary",
|
|
18
|
+
"font-daikinSerif",
|
|
19
|
+
"text-base",
|
|
20
|
+
"leading-[1.3]",
|
|
21
|
+
"not-italic",
|
|
22
|
+
"font-bold"
|
|
23
|
+
])();
|
|
24
|
+
const cvaDescription = cva([
|
|
25
|
+
"flex-none",
|
|
26
|
+
"text-ddt-color-common-text-secondary",
|
|
27
|
+
"font-daikinSerif",
|
|
28
|
+
"text-sm",
|
|
29
|
+
"leading-normal",
|
|
30
|
+
"not-italic",
|
|
31
|
+
"font-normal"
|
|
32
|
+
])();
|
|
33
|
+
let DaikinCardHeader = class extends DDSElement {
|
|
34
|
+
render() {
|
|
35
|
+
return html`<div class="flex w-full gap-1">
|
|
36
|
+
<slot
|
|
37
|
+
name="left-icon"
|
|
38
|
+
class="flex-none icon-size-6 text-ddt-color-common-text-primary"
|
|
39
|
+
></slot>
|
|
40
|
+
<div class="flex-1 flex flex-col pt-0.5 gap-1">
|
|
41
|
+
<slot class=${cvaTitle}></slot>
|
|
42
|
+
<slot name="description" class=${cvaDescription}></slot>
|
|
43
|
+
</div>
|
|
44
|
+
</div>`;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
DaikinCardHeader.styles = css`
|
|
48
|
+
${unsafeCSS(tailwindStyles)}
|
|
49
|
+
|
|
50
|
+
:host {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
DaikinCardHeader = __decorateClass([
|
|
56
|
+
ddsElement("daikin-card-header")
|
|
57
|
+
], DaikinCardHeader);
|
|
58
|
+
export {
|
|
59
|
+
DaikinCardHeader
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-card-header.js";
|