@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,198 +0,0 @@
|
|
|
1
|
-
import { colorFeedbackPositive, colorFeedbackWarning, colorFeedbackNegative } from "@daikin-oss/dds-tokens/js/daikin/Light/variables.js";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
|
-
import { css, unsafeCSS, LitElement, html, nothing } from "lit";
|
|
4
|
-
import { property, customElement } from "lit/decorators.js";
|
|
5
|
-
import { EVENT_CLOSE } from "../../constants/events.js";
|
|
6
|
-
import tailwindStyles from "../../tailwind.css.js";
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
10
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
11
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12
|
-
if (decorator = decorators[i])
|
|
13
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14
|
-
if (kind && result) __defProp(target, key, result);
|
|
15
|
-
return result;
|
|
16
|
-
};
|
|
17
|
-
const cvaContainer = cva(
|
|
18
|
-
["flex", "box-border", "bg-white", "overflow-hidden", "font-daikinSerif"],
|
|
19
|
-
{
|
|
20
|
-
variants: {
|
|
21
|
-
variant: {
|
|
22
|
-
toast: [
|
|
23
|
-
"border-2",
|
|
24
|
-
"border-solid",
|
|
25
|
-
"rounded-lg",
|
|
26
|
-
"shadow-notification"
|
|
27
|
-
],
|
|
28
|
-
inline: []
|
|
29
|
-
},
|
|
30
|
-
status: {
|
|
31
|
-
positive: ["border-[--colorFeedbackPositive]"],
|
|
32
|
-
negative: ["border-[--colorFeedbackNegative]"],
|
|
33
|
-
warning: ["border-[--colorFeedbackWarning]"],
|
|
34
|
-
alarm: ["border-[--colorFeedbackAlarm]"],
|
|
35
|
-
information: ["border-[--colorFeedbackInformation]"]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
defaultVariants: {
|
|
39
|
-
variant: "toast",
|
|
40
|
-
status: "positive"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
const cvaIconContainer = cva(
|
|
45
|
-
[
|
|
46
|
-
"flex-none",
|
|
47
|
-
"flex",
|
|
48
|
-
"justify-center",
|
|
49
|
-
"items-center",
|
|
50
|
-
"w-[2.75rem]",
|
|
51
|
-
"after:size-6",
|
|
52
|
-
"after:text-white"
|
|
53
|
-
],
|
|
54
|
-
{
|
|
55
|
-
variants: {
|
|
56
|
-
status: {
|
|
57
|
-
positive: [
|
|
58
|
-
"bg-[--colorFeedbackPositive]",
|
|
59
|
-
"after:i-daikin-status-positive"
|
|
60
|
-
],
|
|
61
|
-
negative: [
|
|
62
|
-
"bg-[--colorFeedbackNegative]",
|
|
63
|
-
"after:i-daikin-status-negative"
|
|
64
|
-
],
|
|
65
|
-
warning: [
|
|
66
|
-
"bg-[--colorFeedbackWarning]",
|
|
67
|
-
"after:i-daikin-status-warning"
|
|
68
|
-
],
|
|
69
|
-
alarm: ["bg-[--colorFeedbackAlarm]", "after:i-daikin-status-alarm"],
|
|
70
|
-
information: [
|
|
71
|
-
"bg-[--colorFeedbackInformation]",
|
|
72
|
-
"after:i-daikin-status-information"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
defaultVariants: {
|
|
77
|
-
status: "positive"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
const cvaContent = cva(
|
|
82
|
-
["flex", "justify-center", "gap-1", "w-fit", "flex-none"],
|
|
83
|
-
{
|
|
84
|
-
variants: {
|
|
85
|
-
line: {
|
|
86
|
-
single: ["items-center", "flex-row"],
|
|
87
|
-
multi: ["items-start", "flex-col"]
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
defaultVariants: {
|
|
91
|
-
line: "single"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
let DaikinNotification = class extends LitElement {
|
|
96
|
-
constructor() {
|
|
97
|
-
super(...arguments);
|
|
98
|
-
this.variant = "toast";
|
|
99
|
-
this.status = "positive";
|
|
100
|
-
this.line = "single";
|
|
101
|
-
this.open = false;
|
|
102
|
-
this.closeButton = false;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Call the event registered in "close".
|
|
106
|
-
*/
|
|
107
|
-
_handleClickClose() {
|
|
108
|
-
const event = new CustomEvent(EVENT_CLOSE);
|
|
109
|
-
this.open = false;
|
|
110
|
-
this.dispatchEvent(event);
|
|
111
|
-
}
|
|
112
|
-
render() {
|
|
113
|
-
const role = {
|
|
114
|
-
inline: "status",
|
|
115
|
-
toast: "alert"
|
|
116
|
-
}[this.variant];
|
|
117
|
-
return this.open ? html`<aside
|
|
118
|
-
class=${cvaContainer({
|
|
119
|
-
variant: this.variant,
|
|
120
|
-
status: this.status
|
|
121
|
-
})}
|
|
122
|
-
role=${role}
|
|
123
|
-
>
|
|
124
|
-
<div
|
|
125
|
-
class=${cvaIconContainer({
|
|
126
|
-
status: this.status
|
|
127
|
-
})}
|
|
128
|
-
></div>
|
|
129
|
-
<div
|
|
130
|
-
class="flex justify-between items-center gap-5 p-5 text-lg flex-auto flex-shrink-0"
|
|
131
|
-
>
|
|
132
|
-
<div
|
|
133
|
-
class=${cvaContent({
|
|
134
|
-
line: this.line
|
|
135
|
-
})}
|
|
136
|
-
>
|
|
137
|
-
<div class="font-bold flex-none">
|
|
138
|
-
<slot name="title"></slot>
|
|
139
|
-
</div>
|
|
140
|
-
<div class="flex-none">
|
|
141
|
-
<slot name="description"></slot>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
${this.closeButton ? html`
|
|
145
|
-
<div class="flex items-center gap-5">
|
|
146
|
-
<button
|
|
147
|
-
aria-label="Close"
|
|
148
|
-
class="relative flex w-5 h-5 after:i-daikin-notification-close after:size-5 after:text-[#a0a0a0]"
|
|
149
|
-
@click=${this._handleClickClose}
|
|
150
|
-
></button>
|
|
151
|
-
</div>
|
|
152
|
-
` : nothing}
|
|
153
|
-
</div>
|
|
154
|
-
</aside>` : nothing;
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
DaikinNotification.styles = css`
|
|
158
|
-
${unsafeCSS(tailwindStyles)}
|
|
159
|
-
|
|
160
|
-
:host {
|
|
161
|
-
--colorFeedbackPositive: ${unsafeCSS(colorFeedbackPositive)};
|
|
162
|
-
--colorFeedbackWarning: ${unsafeCSS(colorFeedbackWarning)};
|
|
163
|
-
--colorFeedbackNegative: ${unsafeCSS(colorFeedbackNegative)};
|
|
164
|
-
--colorFeedbackAlarm: #f68c54;
|
|
165
|
-
--colorFeedbackInformation: #0097e0;
|
|
166
|
-
|
|
167
|
-
display: block;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:host([variant="toast"]) {
|
|
171
|
-
width: max-content;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
:host([variant="inline"]) {
|
|
175
|
-
width: 100%;
|
|
176
|
-
}
|
|
177
|
-
`;
|
|
178
|
-
__decorateClass([
|
|
179
|
-
property({ type: String, reflect: true })
|
|
180
|
-
], DaikinNotification.prototype, "variant", 2);
|
|
181
|
-
__decorateClass([
|
|
182
|
-
property({ type: String })
|
|
183
|
-
], DaikinNotification.prototype, "status", 2);
|
|
184
|
-
__decorateClass([
|
|
185
|
-
property({ type: String })
|
|
186
|
-
], DaikinNotification.prototype, "line", 2);
|
|
187
|
-
__decorateClass([
|
|
188
|
-
property({ type: Boolean, reflect: true })
|
|
189
|
-
], DaikinNotification.prototype, "open", 2);
|
|
190
|
-
__decorateClass([
|
|
191
|
-
property({ type: Boolean, attribute: "close-button" })
|
|
192
|
-
], DaikinNotification.prototype, "closeButton", 2);
|
|
193
|
-
DaikinNotification = __decorateClass([
|
|
194
|
-
customElement("daikin-notification")
|
|
195
|
-
], DaikinNotification);
|
|
196
|
-
export {
|
|
197
|
-
DaikinNotification
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./daikin-notification.js";
|
package/dist/es-dev/colors.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
daikinBlue: {
|
|
3
|
-
50: string;
|
|
4
|
-
100: string;
|
|
5
|
-
200: string;
|
|
6
|
-
300: string;
|
|
7
|
-
400: string;
|
|
8
|
-
500: string;
|
|
9
|
-
600: string;
|
|
10
|
-
700: string;
|
|
11
|
-
800: string;
|
|
12
|
-
900: string;
|
|
13
|
-
DEFAULT: string;
|
|
14
|
-
};
|
|
15
|
-
daikinNeutral: {
|
|
16
|
-
50: string;
|
|
17
|
-
100: string;
|
|
18
|
-
200: string;
|
|
19
|
-
300: string;
|
|
20
|
-
400: string;
|
|
21
|
-
500: string;
|
|
22
|
-
600: string;
|
|
23
|
-
700: string;
|
|
24
|
-
800: string;
|
|
25
|
-
900: string;
|
|
26
|
-
};
|
|
27
|
-
daikinRed: {
|
|
28
|
-
50: string;
|
|
29
|
-
100: string;
|
|
30
|
-
200: string;
|
|
31
|
-
300: string;
|
|
32
|
-
400: string;
|
|
33
|
-
500: string;
|
|
34
|
-
600: string;
|
|
35
|
-
700: string;
|
|
36
|
-
800: string;
|
|
37
|
-
900: string;
|
|
38
|
-
1000: string;
|
|
39
|
-
DEFAULT: string;
|
|
40
|
-
};
|
|
41
|
-
daikinYellow: {
|
|
42
|
-
50: string;
|
|
43
|
-
100: string;
|
|
44
|
-
200: string;
|
|
45
|
-
300: string;
|
|
46
|
-
400: string;
|
|
47
|
-
500: string;
|
|
48
|
-
600: string;
|
|
49
|
-
700: string;
|
|
50
|
-
800: string;
|
|
51
|
-
900: string;
|
|
52
|
-
1000: string;
|
|
53
|
-
DEFAULT: string;
|
|
54
|
-
};
|
|
55
|
-
daikinGreen: {
|
|
56
|
-
50: string;
|
|
57
|
-
100: string;
|
|
58
|
-
200: string;
|
|
59
|
-
300: string;
|
|
60
|
-
400: string;
|
|
61
|
-
500: string;
|
|
62
|
-
600: string;
|
|
63
|
-
700: string;
|
|
64
|
-
800: string;
|
|
65
|
-
900: string;
|
|
66
|
-
1000: string;
|
|
67
|
-
DEFAULT: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
package/dist/es-dev/colors.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { colorBlue10, colorBlue20, colorBlue30, colorBlue50, colorBlue70, colorBlue80, colorBlue90, colorBlue100, colorGrey10, colorGrey20, colorGrey30, colorGrey40, colorGrey50, colorGrey60, colorGrey80, colorGrey100, colorRed10, colorRed20, colorRed30, colorRed40, colorRed50, colorRed70, colorRed80, colorRed90, colorRed100, colorRed110, colorYellow10, colorYellow20, colorYellow30, colorYellow40, colorYellow60, colorYellow70, colorYellow80, colorYellow90, colorYellow100, colorYellow110, colorGreen10, colorGreen20, colorGreen30, colorGreen40, colorGreen50, colorGreen70, colorGreen80, colorGreen90, colorGreen100, colorGreen110, colorBrandPrimary, colorBlue40, colorGrey90, colorGrey70, colorRed60, colorYellow50, colorGreen60 } from "@daikin-oss/dds-tokens/js/daikin/Light/variables.js";
|
|
2
|
-
const DAIKIN_PRIMARY_BLUE = colorBrandPrimary;
|
|
3
|
-
const DAIKIN_SECONDARY_BLUE = colorBlue40;
|
|
4
|
-
const DAIKIN_DARK_GREY = colorGrey90;
|
|
5
|
-
const DAIKIN_MEDIUM_GREY = colorGrey70;
|
|
6
|
-
const DAIKIN_NEGATIVE = colorRed60;
|
|
7
|
-
const DAIKIN_WARNING = colorYellow50;
|
|
8
|
-
const DAIKIN_POSITIVE = colorGreen60;
|
|
9
|
-
const colors = {
|
|
10
|
-
daikinBlue: {
|
|
11
|
-
50: colorBlue10,
|
|
12
|
-
100: colorBlue20,
|
|
13
|
-
200: colorBlue30,
|
|
14
|
-
300: DAIKIN_SECONDARY_BLUE,
|
|
15
|
-
400: colorBlue50,
|
|
16
|
-
500: DAIKIN_PRIMARY_BLUE,
|
|
17
|
-
600: colorBlue70,
|
|
18
|
-
700: colorBlue80,
|
|
19
|
-
800: colorBlue90,
|
|
20
|
-
900: colorBlue100,
|
|
21
|
-
DEFAULT: DAIKIN_PRIMARY_BLUE
|
|
22
|
-
},
|
|
23
|
-
daikinNeutral: {
|
|
24
|
-
50: colorGrey10,
|
|
25
|
-
100: colorGrey20,
|
|
26
|
-
200: colorGrey30,
|
|
27
|
-
300: colorGrey40,
|
|
28
|
-
400: colorGrey50,
|
|
29
|
-
500: colorGrey60,
|
|
30
|
-
600: DAIKIN_MEDIUM_GREY,
|
|
31
|
-
700: colorGrey80,
|
|
32
|
-
800: DAIKIN_DARK_GREY,
|
|
33
|
-
900: colorGrey100
|
|
34
|
-
},
|
|
35
|
-
daikinRed: {
|
|
36
|
-
50: colorRed10,
|
|
37
|
-
100: colorRed20,
|
|
38
|
-
200: colorRed30,
|
|
39
|
-
300: colorRed40,
|
|
40
|
-
400: colorRed50,
|
|
41
|
-
500: DAIKIN_NEGATIVE,
|
|
42
|
-
600: colorRed70,
|
|
43
|
-
700: colorRed80,
|
|
44
|
-
800: colorRed90,
|
|
45
|
-
900: colorRed100,
|
|
46
|
-
1e3: colorRed110,
|
|
47
|
-
DEFAULT: DAIKIN_NEGATIVE
|
|
48
|
-
},
|
|
49
|
-
daikinYellow: {
|
|
50
|
-
50: colorYellow10,
|
|
51
|
-
100: colorYellow20,
|
|
52
|
-
200: colorYellow30,
|
|
53
|
-
300: colorYellow40,
|
|
54
|
-
400: DAIKIN_WARNING,
|
|
55
|
-
500: colorYellow60,
|
|
56
|
-
600: colorYellow70,
|
|
57
|
-
700: colorYellow80,
|
|
58
|
-
800: colorYellow90,
|
|
59
|
-
900: colorYellow100,
|
|
60
|
-
1e3: colorYellow110,
|
|
61
|
-
DEFAULT: DAIKIN_WARNING
|
|
62
|
-
},
|
|
63
|
-
daikinGreen: {
|
|
64
|
-
50: colorGreen10,
|
|
65
|
-
100: colorGreen20,
|
|
66
|
-
200: colorGreen30,
|
|
67
|
-
300: colorGreen40,
|
|
68
|
-
400: colorGreen50,
|
|
69
|
-
500: DAIKIN_POSITIVE,
|
|
70
|
-
600: colorGreen70,
|
|
71
|
-
700: colorGreen80,
|
|
72
|
-
800: colorGreen90,
|
|
73
|
-
900: colorGreen100,
|
|
74
|
-
1e3: colorGreen110,
|
|
75
|
-
DEFAULT: DAIKIN_POSITIVE
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
export {
|
|
79
|
-
colors
|
|
80
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from 'lit';
|
|
2
|
-
import { MergeVariantProps } from "../../type-utils.js";
|
|
3
|
-
declare const cvaContainer: (props?: ({
|
|
4
|
-
variant?: "toast" | "inline" | null | undefined;
|
|
5
|
-
status?: "alarm" | "information" | "negative" | "positive" | "warning" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare const cvaIconContainer: (props?: ({
|
|
8
|
-
status?: "alarm" | "information" | "negative" | "positive" | "warning" | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
declare const cvaContent: (props?: ({
|
|
11
|
-
line?: "single" | "multi" | null | undefined;
|
|
12
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
-
type NotificationVariantProps = MergeVariantProps<typeof cvaContainer | typeof cvaIconContainer | typeof cvaContent>;
|
|
14
|
-
/**
|
|
15
|
-
* The notification component is a UI element used to inform users about important updates, alerts, or messages within an application.
|
|
16
|
-
*
|
|
17
|
-
* There are two variants of notification components: `toast` and `inline`.
|
|
18
|
-
*
|
|
19
|
-
* Toast notifications are brief messages that should appear temporarily at the edge of the screen, typically in the bottom or top corner.
|
|
20
|
-
* Toast notifications are ideal for conveying transient information that does not require user interaction, such as success messages, warnings, or alerts. \
|
|
21
|
-
* Please note that **currently we don't support automatic placement or stacking of toast notifications**.
|
|
22
|
-
*
|
|
23
|
-
* Inline notifications appear within the content of the application, usually embedded directly within a page or section.
|
|
24
|
-
* Inline notifications are more persistent 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.
|
|
25
|
-
*
|
|
26
|
-
* @fires close - A custom event emitted when a user clicks the close button.
|
|
27
|
-
*
|
|
28
|
-
* @slot title - A slot for the notification title content.
|
|
29
|
-
* @slot description - A slot for the notification description content.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
*
|
|
33
|
-
* ```js
|
|
34
|
-
* import "@daikin-oss/design-system-web-components/components/notification/index.js";
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* ```html
|
|
38
|
-
* <daikin-notification>
|
|
39
|
-
* <span slot="title">Notification title</span>
|
|
40
|
-
* <span slot="description">Notification description</span>
|
|
41
|
-
* </daikin-notification>
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare class DaikinNotification extends LitElement {
|
|
45
|
-
static readonly styles: import('lit').CSSResult;
|
|
46
|
-
/**
|
|
47
|
-
* Type of notification.
|
|
48
|
-
*/
|
|
49
|
-
variant: NotificationVariantProps["variant"];
|
|
50
|
-
/**
|
|
51
|
-
* Status of notification.
|
|
52
|
-
*/
|
|
53
|
-
status: NotificationVariantProps["status"];
|
|
54
|
-
/**
|
|
55
|
-
* Display in single or multiple lines.
|
|
56
|
-
*/
|
|
57
|
-
line: NotificationVariantProps["line"];
|
|
58
|
-
/**
|
|
59
|
-
* Specify the notification's open state.
|
|
60
|
-
*/
|
|
61
|
-
open: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Whether to display the close button.
|
|
64
|
-
*/
|
|
65
|
-
closeButton: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Call the event registered in "close".
|
|
68
|
-
*/
|
|
69
|
-
private _handleClickClose;
|
|
70
|
-
render(): import('lit-html').TemplateResult<1> | typeof nothing;
|
|
71
|
-
}
|
|
72
|
-
declare global {
|
|
73
|
-
interface HTMLElementTagNameMap {
|
|
74
|
-
"daikin-notification": DaikinNotification;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
export {};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { colorFeedbackPositive, colorFeedbackWarning, colorFeedbackNegative } from "@daikin-oss/dds-tokens/js/daikin/Light/variables.js";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
|
-
import { css, unsafeCSS, LitElement, html, nothing } from "lit";
|
|
4
|
-
import { property, customElement } from "lit/decorators.js";
|
|
5
|
-
import { EVENT_CLOSE } from "../../constants/events.js";
|
|
6
|
-
import tailwindStyles from "../../tailwind.css.js";
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
10
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
11
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12
|
-
if (decorator = decorators[i])
|
|
13
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14
|
-
if (kind && result) __defProp(target, key, result);
|
|
15
|
-
return result;
|
|
16
|
-
};
|
|
17
|
-
const cvaContainer = cva(
|
|
18
|
-
["flex", "box-border", "bg-white", "overflow-hidden", "font-daikinSerif"],
|
|
19
|
-
{
|
|
20
|
-
variants: {
|
|
21
|
-
variant: {
|
|
22
|
-
toast: [
|
|
23
|
-
"border-2",
|
|
24
|
-
"border-solid",
|
|
25
|
-
"rounded-lg",
|
|
26
|
-
"shadow-notification"
|
|
27
|
-
],
|
|
28
|
-
inline: []
|
|
29
|
-
},
|
|
30
|
-
status: {
|
|
31
|
-
positive: ["border-[--colorFeedbackPositive]"],
|
|
32
|
-
negative: ["border-[--colorFeedbackNegative]"],
|
|
33
|
-
warning: ["border-[--colorFeedbackWarning]"],
|
|
34
|
-
alarm: ["border-[--colorFeedbackAlarm]"],
|
|
35
|
-
information: ["border-[--colorFeedbackInformation]"]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
defaultVariants: {
|
|
39
|
-
variant: "toast",
|
|
40
|
-
status: "positive"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
const cvaIconContainer = cva(
|
|
45
|
-
[
|
|
46
|
-
"flex-none",
|
|
47
|
-
"flex",
|
|
48
|
-
"justify-center",
|
|
49
|
-
"items-center",
|
|
50
|
-
"w-[2.75rem]",
|
|
51
|
-
"after:size-6",
|
|
52
|
-
"after:text-white"
|
|
53
|
-
],
|
|
54
|
-
{
|
|
55
|
-
variants: {
|
|
56
|
-
status: {
|
|
57
|
-
positive: [
|
|
58
|
-
"bg-[--colorFeedbackPositive]",
|
|
59
|
-
"after:i-daikin-status-positive"
|
|
60
|
-
],
|
|
61
|
-
negative: [
|
|
62
|
-
"bg-[--colorFeedbackNegative]",
|
|
63
|
-
"after:i-daikin-status-negative"
|
|
64
|
-
],
|
|
65
|
-
warning: [
|
|
66
|
-
"bg-[--colorFeedbackWarning]",
|
|
67
|
-
"after:i-daikin-status-warning"
|
|
68
|
-
],
|
|
69
|
-
alarm: ["bg-[--colorFeedbackAlarm]", "after:i-daikin-status-alarm"],
|
|
70
|
-
information: [
|
|
71
|
-
"bg-[--colorFeedbackInformation]",
|
|
72
|
-
"after:i-daikin-status-information"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
defaultVariants: {
|
|
77
|
-
status: "positive"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
const cvaContent = cva(
|
|
82
|
-
["flex", "justify-center", "gap-1", "w-fit", "flex-none"],
|
|
83
|
-
{
|
|
84
|
-
variants: {
|
|
85
|
-
line: {
|
|
86
|
-
single: ["items-center", "flex-row"],
|
|
87
|
-
multi: ["items-start", "flex-col"]
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
defaultVariants: {
|
|
91
|
-
line: "single"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
let DaikinNotification = class extends LitElement {
|
|
96
|
-
constructor() {
|
|
97
|
-
super(...arguments);
|
|
98
|
-
this.variant = "toast";
|
|
99
|
-
this.status = "positive";
|
|
100
|
-
this.line = "single";
|
|
101
|
-
this.open = false;
|
|
102
|
-
this.closeButton = false;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Call the event registered in "close".
|
|
106
|
-
*/
|
|
107
|
-
_handleClickClose() {
|
|
108
|
-
const event = new CustomEvent(EVENT_CLOSE);
|
|
109
|
-
this.open = false;
|
|
110
|
-
this.dispatchEvent(event);
|
|
111
|
-
}
|
|
112
|
-
render() {
|
|
113
|
-
const role = {
|
|
114
|
-
inline: "status",
|
|
115
|
-
toast: "alert"
|
|
116
|
-
}[this.variant];
|
|
117
|
-
return this.open ? html`<aside
|
|
118
|
-
class=${cvaContainer({
|
|
119
|
-
variant: this.variant,
|
|
120
|
-
status: this.status
|
|
121
|
-
})}
|
|
122
|
-
role=${role}
|
|
123
|
-
>
|
|
124
|
-
<div
|
|
125
|
-
class=${cvaIconContainer({
|
|
126
|
-
status: this.status
|
|
127
|
-
})}
|
|
128
|
-
></div>
|
|
129
|
-
<div
|
|
130
|
-
class="flex justify-between items-center gap-5 p-5 text-lg flex-auto flex-shrink-0"
|
|
131
|
-
>
|
|
132
|
-
<div
|
|
133
|
-
class=${cvaContent({
|
|
134
|
-
line: this.line
|
|
135
|
-
})}
|
|
136
|
-
>
|
|
137
|
-
<div class="font-bold flex-none">
|
|
138
|
-
<slot name="title"></slot>
|
|
139
|
-
</div>
|
|
140
|
-
<div class="flex-none">
|
|
141
|
-
<slot name="description"></slot>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
${this.closeButton ? html`
|
|
145
|
-
<div class="flex items-center gap-5">
|
|
146
|
-
<button
|
|
147
|
-
aria-label="Close"
|
|
148
|
-
class="relative flex w-5 h-5 after:i-daikin-notification-close after:size-5 after:text-[#a0a0a0]"
|
|
149
|
-
@click=${this._handleClickClose}
|
|
150
|
-
></button>
|
|
151
|
-
</div>
|
|
152
|
-
` : nothing}
|
|
153
|
-
</div>
|
|
154
|
-
</aside>` : nothing;
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
DaikinNotification.styles = css`
|
|
158
|
-
${unsafeCSS(tailwindStyles)}
|
|
159
|
-
|
|
160
|
-
:host {
|
|
161
|
-
--colorFeedbackPositive: ${unsafeCSS(colorFeedbackPositive)};
|
|
162
|
-
--colorFeedbackWarning: ${unsafeCSS(colorFeedbackWarning)};
|
|
163
|
-
--colorFeedbackNegative: ${unsafeCSS(colorFeedbackNegative)};
|
|
164
|
-
--colorFeedbackAlarm: #f68c54;
|
|
165
|
-
--colorFeedbackInformation: #0097e0;
|
|
166
|
-
|
|
167
|
-
display: block;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:host([variant="toast"]) {
|
|
171
|
-
width: max-content;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
:host([variant="inline"]) {
|
|
175
|
-
width: 100%;
|
|
176
|
-
}
|
|
177
|
-
`;
|
|
178
|
-
__decorateClass([
|
|
179
|
-
property({ type: String, reflect: true })
|
|
180
|
-
], DaikinNotification.prototype, "variant", 2);
|
|
181
|
-
__decorateClass([
|
|
182
|
-
property({ type: String })
|
|
183
|
-
], DaikinNotification.prototype, "status", 2);
|
|
184
|
-
__decorateClass([
|
|
185
|
-
property({ type: String })
|
|
186
|
-
], DaikinNotification.prototype, "line", 2);
|
|
187
|
-
__decorateClass([
|
|
188
|
-
property({ type: Boolean, reflect: true })
|
|
189
|
-
], DaikinNotification.prototype, "open", 2);
|
|
190
|
-
__decorateClass([
|
|
191
|
-
property({ type: Boolean, attribute: "close-button" })
|
|
192
|
-
], DaikinNotification.prototype, "closeButton", 2);
|
|
193
|
-
DaikinNotification = __decorateClass([
|
|
194
|
-
customElement("daikin-notification")
|
|
195
|
-
], DaikinNotification);
|
|
196
|
-
export {
|
|
197
|
-
DaikinNotification
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./daikin-notification.js";
|
package/icons/arrow-up.svg
DELETED
package/icons/status-success.svg
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C12.416 0 16 3.584 16 8C16 12.416 12.416 16 8 16C3.584 16 0 12.416 0 8C0 3.584 3.584 0 8 0ZM6.84425 9.18186L10.5243 5.44774C10.8478 5.12217 11.3778 5.11679 11.708 5.43573C11.7119 5.43948 11.7602 5.4879 11.7602 5.4879C12.0799 5.80891 12.0799 6.32322 11.7602 6.64423L6.84425 11.6L4.23978 8.9783C3.92202 8.65924 3.91981 8.14874 4.23479 7.82702L4.26579 7.79535C4.58673 7.46755 5.11644 7.4583 5.44894 7.7747C5.45433 7.77983 6.84425 9.18186 6.84425 9.18186Z" fill="currentColor"/>
|
|
3
|
-
<mask style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16">
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C12.416 0 16 3.584 16 8C16 12.416 12.416 16 8 16C3.584 16 0 12.416 0 8C0 3.584 3.584 0 8 0ZM6.84425 9.18186L10.5243 5.44774C10.8478 5.12217 11.3778 5.11679 11.708 5.43573C11.7119 5.43948 11.7602 5.4879 11.7602 5.4879C12.0799 5.80891 12.0799 6.32322 11.7602 6.64423L6.84425 11.6L4.23978 8.9783C3.92202 8.65924 3.91981 8.14874 4.23479 7.82702L4.26579 7.79535C4.58673 7.46755 5.11644 7.4583 5.44894 7.7747C5.45433 7.77983 6.84425 9.18186 6.84425 9.18186Z" fill="white"/>
|
|
5
|
-
</mask>
|
|
6
|
-
</svg>
|