@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,6 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import { css, unsafeCSS,
|
|
3
|
-
import { property
|
|
2
|
+
import { css, unsafeCSS, html, nothing } 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";
|
|
4
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
5
8
|
var __defProp = Object.defineProperty;
|
|
6
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -15,56 +18,61 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
15
18
|
const CHECKBOX_CLASS_NAME = cva([
|
|
16
19
|
"block",
|
|
17
20
|
"size-4",
|
|
18
|
-
"border-
|
|
21
|
+
"border-ddt-color-common-neutral-default",
|
|
19
22
|
"border-2",
|
|
20
23
|
"rounded-sm",
|
|
21
24
|
"relative",
|
|
22
25
|
"appearance-none",
|
|
23
|
-
"before:text-
|
|
26
|
+
"before:text-ddt-color-common-text-inverse",
|
|
24
27
|
"before:absolute",
|
|
25
28
|
"before:m-auto",
|
|
26
29
|
"before:inset-0",
|
|
27
30
|
"checked:before:i-daikin-checkbox-checked",
|
|
31
|
+
"checked:before:size-3",
|
|
28
32
|
"indeterminate:before:i-daikin-checkbox-indeterminate",
|
|
29
33
|
"indeterminate:before:size-2.5",
|
|
30
34
|
"focus-visible:outline",
|
|
31
35
|
"focus-visible:outline-2",
|
|
32
36
|
"focus-visible:outline-offset-2",
|
|
33
|
-
"focus-visible:outline-
|
|
34
|
-
"enabled:group-hover:border-
|
|
35
|
-
"enabled:group-hover:bg-
|
|
36
|
-
"enabled:group-active:border-
|
|
37
|
-
"enabled:group-active:bg-
|
|
38
|
-
"enabled:checked:border-
|
|
39
|
-
"enabled:checked:bg-
|
|
40
|
-
"enabled:checked:group-hover:bg-
|
|
41
|
-
"enabled:checked:group-hover:border-
|
|
42
|
-
"enabled:checked:group-hover:before:text-
|
|
43
|
-
"enabled:checked:group-active:bg-
|
|
44
|
-
"enabled:checked:group-active:border-
|
|
45
|
-
"enabled:checked:group-active:before:text-
|
|
46
|
-
"enabled:indeterminate:bg-
|
|
47
|
-
"enabled:indeterminate:border-
|
|
48
|
-
"enabled:indeterminate:group-hover:bg-
|
|
49
|
-
"enabled:indeterminate:group-hover:border-
|
|
50
|
-
"enabled:indeterminate:group-hover:before:text-
|
|
51
|
-
"enabled:indeterminate:group-active:bg-
|
|
52
|
-
"enabled:indeterminate:group-active:border-
|
|
53
|
-
"enabled:indeterminate:group-active:before:text-
|
|
54
|
-
"disabled:border-
|
|
55
|
-
"disabled:bg-
|
|
56
|
-
"disabled:checked:bg-
|
|
57
|
-
"disabled:indeterminate:bg-
|
|
37
|
+
"focus-visible:outline-ddt-color-common-border-focus",
|
|
38
|
+
"enabled:group-hover:border-ddt-color-common-neutral-hover",
|
|
39
|
+
"enabled:group-hover:bg-ddt-color-common-surface-hover",
|
|
40
|
+
"enabled:group-active:border-ddt-color-common-neutral-press",
|
|
41
|
+
"enabled:group-active:bg-ddt-color-common-surface-press",
|
|
42
|
+
"enabled:checked:border-ddt-color-common-brand-default",
|
|
43
|
+
"enabled:checked:bg-ddt-color-common-brand-default",
|
|
44
|
+
"enabled:checked:group-hover:bg-ddt-color-common-brand-hover",
|
|
45
|
+
"enabled:checked:group-hover:border-ddt-color-common-brand-hover",
|
|
46
|
+
"enabled:checked:group-hover:before:text-ddt-color-common-text-inverse",
|
|
47
|
+
"enabled:checked:group-active:bg-ddt-color-common-brand-press",
|
|
48
|
+
"enabled:checked:group-active:border-ddt-color-common-brand-press",
|
|
49
|
+
"enabled:checked:group-active:before:text-ddt-color-common-text-inverse",
|
|
50
|
+
"enabled:indeterminate:bg-ddt-color-common-brand-default",
|
|
51
|
+
"enabled:indeterminate:border-ddt-color-common-brand-default",
|
|
52
|
+
"enabled:indeterminate:group-hover:bg-ddt-color-common-brand-hover",
|
|
53
|
+
"enabled:indeterminate:group-hover:border-ddt-color-common-brand-hover",
|
|
54
|
+
"enabled:indeterminate:group-hover:before:text-ddt-color-common-text-inverse",
|
|
55
|
+
"enabled:indeterminate:group-active:bg-ddt-color-common-brand-press",
|
|
56
|
+
"enabled:indeterminate:group-active:border-ddt-color-common-brand-press",
|
|
57
|
+
"enabled:indeterminate:group-active:before:text-ddt-color-common-text-inverse",
|
|
58
|
+
"disabled:border-ddt-color-common-disabled",
|
|
59
|
+
"disabled:bg-ddt-color-common-text-inverse",
|
|
60
|
+
"disabled:checked:bg-ddt-color-common-disabled",
|
|
61
|
+
"disabled:indeterminate:bg-ddt-color-common-disabled"
|
|
58
62
|
])();
|
|
59
|
-
const cvaLabel = cva([
|
|
63
|
+
const cvaLabel = cva([], {
|
|
60
64
|
variants: {
|
|
61
65
|
disabled: {
|
|
62
|
-
false: ["text-
|
|
63
|
-
true: ["text-
|
|
66
|
+
false: ["text-ddt-color-common-text-primary"],
|
|
67
|
+
true: ["text-ddt-color-common-disabled"]
|
|
68
|
+
},
|
|
69
|
+
hidden: {
|
|
70
|
+
false: ["inline-block", "pr-2"],
|
|
71
|
+
true: ["hidden"]
|
|
64
72
|
}
|
|
65
73
|
}
|
|
66
74
|
});
|
|
67
|
-
let DaikinCheckbox = class extends
|
|
75
|
+
let DaikinCheckbox = class extends DDSElement {
|
|
68
76
|
constructor() {
|
|
69
77
|
super(...arguments);
|
|
70
78
|
this.name = "";
|
|
@@ -78,6 +86,9 @@ let DaikinCheckbox = class extends LitElement {
|
|
|
78
86
|
get checked() {
|
|
79
87
|
return this.checkState === "checked";
|
|
80
88
|
}
|
|
89
|
+
get _labelHidden() {
|
|
90
|
+
return this.labelPosition === "hidden";
|
|
91
|
+
}
|
|
81
92
|
/**
|
|
82
93
|
* A property-only accessor for `checkState` provided for convenience.
|
|
83
94
|
* _Getter_: Returns `true` when `checkState` is `"checked"`, and `false` otherwise.
|
|
@@ -90,9 +101,13 @@ let DaikinCheckbox = class extends LitElement {
|
|
|
90
101
|
this._internals.setFormValue(this.checked ? this.value : null);
|
|
91
102
|
}
|
|
92
103
|
_handleClick(event) {
|
|
104
|
+
var _a;
|
|
93
105
|
if (this.disabled) {
|
|
94
106
|
event.preventDefault();
|
|
95
107
|
}
|
|
108
|
+
if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT") {
|
|
109
|
+
event.stopPropagation();
|
|
110
|
+
}
|
|
96
111
|
}
|
|
97
112
|
_handleChange(event) {
|
|
98
113
|
this.checkState = event.target.checked ? "checked" : "unchecked";
|
|
@@ -100,29 +115,32 @@ let DaikinCheckbox = class extends LitElement {
|
|
|
100
115
|
this.dispatchEvent(new Event("change", event));
|
|
101
116
|
}
|
|
102
117
|
render() {
|
|
103
|
-
return html`<label
|
|
118
|
+
return html`<label
|
|
119
|
+
class="group flex gap-2 items-center size-full font-daikinSerif"
|
|
120
|
+
@click=${this._handleClick}
|
|
121
|
+
>
|
|
104
122
|
<span class="p-2">
|
|
105
123
|
<input
|
|
106
124
|
class=${CHECKBOX_CLASS_NAME}
|
|
107
125
|
type="checkbox"
|
|
108
126
|
name=${this.name}
|
|
109
|
-
aria-label=${this.
|
|
110
|
-
.value=${this.value}
|
|
111
|
-
.indeterminate=${this.checkState === "indeterminate"}
|
|
112
|
-
.checked=${this.checked}
|
|
127
|
+
aria-label=${this._labelHidden ? this.label : nothing}
|
|
113
128
|
?disabled=${this.disabled}
|
|
129
|
+
.checked=${this.checked}
|
|
130
|
+
.indeterminate=${this.checkState === "indeterminate"}
|
|
131
|
+
.value=${this.value}
|
|
114
132
|
@change=${this._handleChange}
|
|
115
|
-
@click=${this._handleClick}
|
|
116
133
|
/>
|
|
117
134
|
</span>
|
|
118
|
-
<
|
|
135
|
+
<slot
|
|
119
136
|
class=${cvaLabel({
|
|
120
|
-
disabled: this.disabled
|
|
137
|
+
disabled: this.disabled,
|
|
138
|
+
hidden: this._labelHidden
|
|
121
139
|
})}
|
|
122
|
-
?hidden=${this.
|
|
140
|
+
?hidden=${this._labelHidden}
|
|
123
141
|
>
|
|
124
142
|
${this.label}
|
|
125
|
-
</
|
|
143
|
+
</slot>
|
|
126
144
|
</label>`;
|
|
127
145
|
}
|
|
128
146
|
updated(changedProperties) {
|
|
@@ -158,7 +176,7 @@ __decorateClass([
|
|
|
158
176
|
property({ type: Boolean, reflect: true })
|
|
159
177
|
], DaikinCheckbox.prototype, "disabled", 2);
|
|
160
178
|
DaikinCheckbox = __decorateClass([
|
|
161
|
-
|
|
179
|
+
ddsElement("daikin-checkbox")
|
|
162
180
|
], DaikinCheckbox);
|
|
163
181
|
export {
|
|
164
182
|
DaikinCheckbox
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
3
|
import { DaikinInputGroup } from "../input-group/index.js";
|
|
3
4
|
/**
|
|
4
5
|
* A dropdown list component.
|
|
@@ -13,6 +14,11 @@ import { DaikinInputGroup } from "../input-group/index.js";
|
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
16
|
*
|
|
17
|
+
* ```js
|
|
18
|
+
* import "@daikin-oss/design-system-web-components/components/dropdown/index.js";
|
|
19
|
+
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
16
22
|
* ```html
|
|
17
23
|
* <daikin-dropdown label="Dropdown label">
|
|
18
24
|
* <daikin-dropdown-item value="value1">Dropdown item 1</daikin-dropdown-item>
|
|
@@ -21,7 +27,7 @@ import { DaikinInputGroup } from "../input-group/index.js";
|
|
|
21
27
|
* </daikin-dropdown>
|
|
22
28
|
* ```
|
|
23
29
|
*/
|
|
24
|
-
export declare class DaikinDropdown extends
|
|
30
|
+
export declare class DaikinDropdown extends DDSElement {
|
|
25
31
|
static readonly styles: import('lit').CSSResult;
|
|
26
32
|
static readonly formAssociated = true;
|
|
27
33
|
private _internals;
|
|
@@ -89,8 +95,16 @@ export declare class DaikinDropdown extends LitElement {
|
|
|
89
95
|
*/
|
|
90
96
|
private _handleFloatingReady;
|
|
91
97
|
render(): import('lit-html').TemplateResult<1>;
|
|
98
|
+
/**
|
|
99
|
+
* Focuses on the inner button.
|
|
100
|
+
* @param options focus options
|
|
101
|
+
*/
|
|
92
102
|
focus(options?: FocusOptions): void;
|
|
93
103
|
protected updated(changedProperties: PropertyValues<this>): void;
|
|
104
|
+
/**
|
|
105
|
+
* This method is used by `daikin-input-group` to reflect it's attributes to this component.
|
|
106
|
+
* @private
|
|
107
|
+
*/
|
|
94
108
|
reflectInputGroup(inputGroup: DaikinInputGroup): void;
|
|
95
109
|
}
|
|
96
110
|
declare global {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { flip, offset, size } from "@floating-ui/dom";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { css, unsafeCSS,
|
|
4
|
-
import { property, queryAssignedElements, query, state
|
|
3
|
+
import { css, unsafeCSS, html } from "lit";
|
|
4
|
+
import { property, queryAssignedElements, query, state } from "lit/decorators.js";
|
|
5
5
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
6
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
7
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
8
|
+
import "../../base/define.js";
|
|
6
9
|
import { ClickOutsideController } from "../../controllers/click-outside.js";
|
|
7
10
|
import { FloatingUIAutoUpdateController } from "../../controllers/floating-ui-auto-update.js";
|
|
8
11
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -24,7 +27,7 @@ const cvaButton = cva(
|
|
|
24
27
|
"w-full",
|
|
25
28
|
"h-full",
|
|
26
29
|
"min-h-12",
|
|
27
|
-
"bg-
|
|
30
|
+
"bg-ddt-color-common-background-default",
|
|
28
31
|
"p-3",
|
|
29
32
|
"border",
|
|
30
33
|
"border-[--color-base]",
|
|
@@ -39,8 +42,8 @@ const cvaButton = cva(
|
|
|
39
42
|
"-outline-offset-2",
|
|
40
43
|
"focus-visible:outline-2",
|
|
41
44
|
"focus-visible:outline-[--color-focus]",
|
|
42
|
-
"disabled:text-
|
|
43
|
-
"disabled:border-
|
|
45
|
+
"disabled:text-ddt-color-common-disabled",
|
|
46
|
+
"disabled:border-ddt-color-common-disabled",
|
|
44
47
|
"after:i-daikin-dropdown-chevron-down",
|
|
45
48
|
"after:w-6",
|
|
46
49
|
"after:h-6",
|
|
@@ -49,31 +52,31 @@ const cvaButton = cva(
|
|
|
49
52
|
"after:top-0",
|
|
50
53
|
"after:bottom-0",
|
|
51
54
|
"after:right-3",
|
|
52
|
-
"enabled:after:text-
|
|
53
|
-
"disabled:after:text-
|
|
55
|
+
"enabled:after:text-ddt-color-common-text-primary",
|
|
56
|
+
"disabled:after:text-ddt-color-common-disabled"
|
|
54
57
|
],
|
|
55
58
|
{
|
|
56
59
|
variants: {
|
|
57
60
|
open: {
|
|
58
61
|
false: [
|
|
59
|
-
"enabled:hover:bg-
|
|
60
|
-
"enabled:active:bg-
|
|
62
|
+
"enabled:hover:bg-ddt-color-common-surface-hover",
|
|
63
|
+
"enabled:active:bg-ddt-color-common-surface-press"
|
|
61
64
|
],
|
|
62
|
-
true: ["enabled:bg-
|
|
65
|
+
true: ["enabled:bg-ddt-color-common-surface-press"]
|
|
63
66
|
},
|
|
64
67
|
error: {
|
|
65
68
|
false: [
|
|
66
|
-
"var-color-
|
|
67
|
-
"var-color-
|
|
69
|
+
"var-color-ddt-color-common-neutral-default/color-base",
|
|
70
|
+
"var-color-ddt-color-common-border-focus/color-focus"
|
|
68
71
|
],
|
|
69
72
|
true: [
|
|
70
|
-
"var-color-
|
|
71
|
-
"var-color-
|
|
73
|
+
"var-color-ddt-color-common-danger-default/color-base",
|
|
74
|
+
"var-color-ddt-color-common-danger-default/color-focus"
|
|
72
75
|
]
|
|
73
76
|
},
|
|
74
77
|
placeholder: {
|
|
75
|
-
false: ["text-
|
|
76
|
-
true: ["text-
|
|
78
|
+
false: ["text-ddt-color-common-text-primary"],
|
|
79
|
+
true: ["text-ddt-color-common-text-secondary"]
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
}
|
|
@@ -93,7 +96,7 @@ const floatingPositionOptions = {
|
|
|
93
96
|
})
|
|
94
97
|
]
|
|
95
98
|
};
|
|
96
|
-
let DaikinDropdown = class extends
|
|
99
|
+
let DaikinDropdown = class extends DDSElement {
|
|
97
100
|
constructor() {
|
|
98
101
|
super(...arguments);
|
|
99
102
|
this._internals = this.attachInternals();
|
|
@@ -287,6 +290,10 @@ let DaikinDropdown = class extends LitElement {
|
|
|
287
290
|
this._clickOutsideController.directive(this.open && !this.disabled)}
|
|
288
291
|
</div>`;
|
|
289
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* Focuses on the inner button.
|
|
295
|
+
* @param options focus options
|
|
296
|
+
*/
|
|
290
297
|
focus(options) {
|
|
291
298
|
var _a;
|
|
292
299
|
(_a = this._button) == null ? void 0 : _a.focus(options);
|
|
@@ -306,6 +313,10 @@ let DaikinDropdown = class extends LitElement {
|
|
|
306
313
|
}
|
|
307
314
|
}
|
|
308
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* This method is used by `daikin-input-group` to reflect it's attributes to this component.
|
|
318
|
+
* @private
|
|
319
|
+
*/
|
|
309
320
|
reflectInputGroup(inputGroup) {
|
|
310
321
|
const isError = !inputGroup.disabled && !!inputGroup.error;
|
|
311
322
|
this.disabled = !!inputGroup.disabled;
|
|
@@ -361,7 +372,7 @@ __decorateClass([
|
|
|
361
372
|
state()
|
|
362
373
|
], DaikinDropdown.prototype, "_selectedItemLabel", 2);
|
|
363
374
|
DaikinDropdown = __decorateClass([
|
|
364
|
-
|
|
375
|
+
ddsElement("daikin-dropdown")
|
|
365
376
|
], DaikinDropdown);
|
|
366
377
|
export {
|
|
367
378
|
DaikinDropdown
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* The dropdown item (option) component that can be used within `daikin-dropdown` component.
|
|
4
4
|
*
|
|
@@ -11,11 +11,15 @@ import { LitElement } from 'lit';
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
*
|
|
14
|
+
* ```js
|
|
15
|
+
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
14
18
|
* ```html
|
|
15
19
|
* <daikin-dropdown-item value="value">Dropdown item</daikin-dropdown-item>
|
|
16
20
|
* ```
|
|
17
21
|
*/
|
|
18
|
-
export declare class DaikinDropdownItem extends
|
|
22
|
+
export declare class DaikinDropdownItem extends DDSElement {
|
|
19
23
|
static readonly styles: import('lit').CSSResult;
|
|
20
24
|
/**
|
|
21
25
|
* Form value of the dropdown item.
|
|
@@ -33,6 +37,10 @@ export declare class DaikinDropdownItem extends LitElement {
|
|
|
33
37
|
private _button;
|
|
34
38
|
private _handleClick;
|
|
35
39
|
render(): import('lit-html').TemplateResult<1>;
|
|
40
|
+
/**
|
|
41
|
+
* Focuses on the inner button.
|
|
42
|
+
* @param options focus options
|
|
43
|
+
*/
|
|
36
44
|
focus(options?: FocusOptions): void;
|
|
37
45
|
}
|
|
38
46
|
declare global {
|
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
import { DDSElement } from "../../base/dds-element.js";
|
|
5
|
+
import { ddsElement } from "../../base/decorators.js";
|
|
6
|
+
import "../../base/define.js";
|
|
4
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
5
8
|
var __defProp = Object.defineProperty;
|
|
6
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -19,8 +22,8 @@ const cvaOption = cva(
|
|
|
19
22
|
"justify-between",
|
|
20
23
|
"w-full",
|
|
21
24
|
"min-h-12",
|
|
22
|
-
"text-
|
|
23
|
-
"bg-
|
|
25
|
+
"text-ddt-color-common-text-primary",
|
|
26
|
+
"bg-ddt-color-common-background-default",
|
|
24
27
|
"p-3",
|
|
25
28
|
"font-daikinSerif",
|
|
26
29
|
"leading-5",
|
|
@@ -28,20 +31,20 @@ const cvaOption = cva(
|
|
|
28
31
|
"focus-visible:outline",
|
|
29
32
|
"focus-visible:outline-2",
|
|
30
33
|
"focus-visible:-outline-offset-2",
|
|
31
|
-
"focus-visible:outline-
|
|
32
|
-
"disabled:text-
|
|
34
|
+
"focus-visible:outline-ddt-color-common-border-focus",
|
|
35
|
+
"disabled:text-ddt-color-common-disabled"
|
|
33
36
|
],
|
|
34
37
|
{
|
|
35
38
|
variants: {
|
|
36
39
|
selected: {
|
|
37
40
|
false: [
|
|
38
|
-
"enabled:hover:bg-
|
|
39
|
-
"enabled:active:bg-
|
|
41
|
+
"enabled:hover:bg-ddt-color-common-surface-hover",
|
|
42
|
+
"enabled:active:bg-ddt-color-common-surface-press"
|
|
40
43
|
],
|
|
41
44
|
true: [
|
|
42
|
-
"enabled:bg-
|
|
43
|
-
"enabled:hover:bg-
|
|
44
|
-
"enabled:active:bg-
|
|
45
|
+
"enabled:bg-ddt-color-common-surface-selected-default",
|
|
46
|
+
"enabled:hover:bg-ddt-color-common-surface-selected-hover",
|
|
47
|
+
"enabled:active:bg-ddt-color-common-surface-selected-press",
|
|
45
48
|
"after:i-daikin-dropdown-check",
|
|
46
49
|
"after:size-6"
|
|
47
50
|
]
|
|
@@ -49,7 +52,7 @@ const cvaOption = cva(
|
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
54
|
);
|
|
52
|
-
let DaikinDropdownItem = class extends
|
|
55
|
+
let DaikinDropdownItem = class extends DDSElement {
|
|
53
56
|
constructor() {
|
|
54
57
|
super(...arguments);
|
|
55
58
|
this.value = "";
|
|
@@ -80,6 +83,10 @@ let DaikinDropdownItem = class extends LitElement {
|
|
|
80
83
|
<slot></slot>
|
|
81
84
|
</button>`;
|
|
82
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Focuses on the inner button.
|
|
88
|
+
* @param options focus options
|
|
89
|
+
*/
|
|
83
90
|
focus(options) {
|
|
84
91
|
var _a;
|
|
85
92
|
(_a = this._button) == null ? void 0 : _a.focus(options);
|
|
@@ -106,7 +113,7 @@ __decorateClass([
|
|
|
106
113
|
query("button")
|
|
107
114
|
], DaikinDropdownItem.prototype, "_button", 2);
|
|
108
115
|
DaikinDropdownItem = __decorateClass([
|
|
109
|
-
|
|
116
|
+
ddsElement("daikin-dropdown-item")
|
|
110
117
|
], DaikinDropdownItem);
|
|
111
118
|
export {
|
|
112
119
|
DaikinDropdownItem
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.js";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
3
3
|
import { icons } from "./icons.json.js";
|
|
4
4
|
export declare const iconList: string[];
|
|
5
5
|
export type IconType = keyof typeof icons;
|
|
6
6
|
declare const cvaIcon: (props?: ({
|
|
7
7
|
icon?: string | number | null | undefined;
|
|
8
|
-
color?: "
|
|
8
|
+
color?: "current" | "default" | "black" | "white" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
|
|
11
11
|
/**
|
|
@@ -17,7 +17,7 @@ export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
|
|
|
17
17
|
* If you try to use an icon that does not exist, a blank space will be displayed.
|
|
18
18
|
* In the development build, warnings will be displayed in the console, so please check there if you encounter any unexpected behavior.
|
|
19
19
|
*
|
|
20
|
-
* @cssprop [--
|
|
20
|
+
* @cssprop [--ddc-icon-size] - Icon size. If a value other than "current" is set for the `size` property, it will be overwritten automatically. This may be set by the parent component such as `daikin-icon-button`.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
|
|
|
29
29
|
* <daikin-icon icon="information" color="black" size="m"></daikin-icon>
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
export declare class DaikinIcon extends
|
|
32
|
+
export declare class DaikinIcon extends DDSElement {
|
|
33
33
|
static readonly styles: import('lit').CSSResult;
|
|
34
34
|
/**
|
|
35
35
|
* Specify the name of the icon
|
|
@@ -41,7 +41,7 @@ export declare class DaikinIcon extends LitElement {
|
|
|
41
41
|
color: IconVariantProps["color"];
|
|
42
42
|
/**
|
|
43
43
|
* Specify the size of the icon.
|
|
44
|
-
* If "current" is set, `--
|
|
44
|
+
* If "current" is set, `--ddc-icon-size` CSS variable will be used. `--ddc-icon-size` may be set by the parent component such as `daikin-icon-button`.
|
|
45
45
|
*/
|
|
46
46
|
size: "s" | "m" | "l" | "xl" | "current";
|
|
47
47
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
|
-
import { css, unsafeCSS,
|
|
3
|
-
import { property
|
|
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";
|
|
4
7
|
import tailwindStyles from "../../tailwind.css.js";
|
|
5
8
|
import { icons } from "./icons.json.js";
|
|
6
9
|
var __defProp = Object.defineProperty;
|
|
@@ -21,15 +24,15 @@ const cvaIcon = cva(["block"], {
|
|
|
21
24
|
variants: {
|
|
22
25
|
icon: iconClassMap,
|
|
23
26
|
color: {
|
|
24
|
-
black: ["text-
|
|
25
|
-
white: ["text-
|
|
27
|
+
black: ["text-ddt-color-common-background-overlay"],
|
|
28
|
+
white: ["text-ddt-color-common-text-inverse"],
|
|
26
29
|
default: ["text-[--default-color]"],
|
|
27
30
|
current: []
|
|
28
31
|
// uses `currentColor`
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
});
|
|
32
|
-
let DaikinIcon = class extends
|
|
35
|
+
let DaikinIcon = class extends DDSElement {
|
|
33
36
|
constructor() {
|
|
34
37
|
super(...arguments);
|
|
35
38
|
this.icon = null;
|
|
@@ -63,24 +66,24 @@ DaikinIcon.styles = css`
|
|
|
63
66
|
|
|
64
67
|
:host {
|
|
65
68
|
display: inline-block;
|
|
66
|
-
width: var(--
|
|
67
|
-
height: var(--
|
|
69
|
+
width: var(--ddc-icon-size, 100%);
|
|
70
|
+
height: var(--ddc-icon-size, 100%);
|
|
68
71
|
}
|
|
69
72
|
|
|
70
73
|
:host([size="s"]) {
|
|
71
|
-
--
|
|
74
|
+
--ddc-icon-size: 12px;
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
:host([size="m"]) {
|
|
75
|
-
--
|
|
78
|
+
--ddc-icon-size: 16px;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
:host([size="l"]) {
|
|
79
|
-
--
|
|
82
|
+
--ddc-icon-size: 20px;
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
:host([size="xl"]) {
|
|
83
|
-
--
|
|
86
|
+
--ddc-icon-size: 24px;
|
|
84
87
|
}
|
|
85
88
|
`;
|
|
86
89
|
__decorateClass([
|
|
@@ -93,7 +96,7 @@ __decorateClass([
|
|
|
93
96
|
property({ type: String, reflect: true })
|
|
94
97
|
], DaikinIcon.prototype, "size", 2);
|
|
95
98
|
DaikinIcon = __decorateClass([
|
|
96
|
-
|
|
99
|
+
ddsElement("daikin-icon")
|
|
97
100
|
], DaikinIcon);
|
|
98
101
|
export {
|
|
99
102
|
DaikinIcon,
|
|
@@ -32,14 +32,6 @@ declare const _default: {
|
|
|
32
32
|
"class": "i-daikin-pagination-chevron-right",
|
|
33
33
|
"color": "#414141"
|
|
34
34
|
},
|
|
35
|
-
"arrowUp": {
|
|
36
|
-
"class": "i-daikin-arrow-up",
|
|
37
|
-
"color": "#414141"
|
|
38
|
-
},
|
|
39
|
-
"success": {
|
|
40
|
-
"class": "i-daikin-status-success",
|
|
41
|
-
"color": "#0097E0"
|
|
42
|
-
},
|
|
43
35
|
"error": {
|
|
44
36
|
"class": "i-daikin-status-error",
|
|
45
37
|
"color": "#FF4949"
|
|
@@ -1,73 +1,4 @@
|
|
|
1
|
-
const icons = {
|
|
2
|
-
alarm: {
|
|
3
|
-
"class": "i-daikin-status-alarm",
|
|
4
|
-
color: null
|
|
5
|
-
},
|
|
6
|
-
close: {
|
|
7
|
-
"class": "i-daikin-notification-close",
|
|
8
|
-
color: "#a0a0a0"
|
|
9
|
-
},
|
|
10
|
-
information: {
|
|
11
|
-
"class": "i-daikin-status-information",
|
|
12
|
-
color: null
|
|
13
|
-
},
|
|
14
|
-
negative: {
|
|
15
|
-
"class": "i-daikin-status-negative",
|
|
16
|
-
color: null
|
|
17
|
-
},
|
|
18
|
-
positive: {
|
|
19
|
-
"class": "i-daikin-status-positive",
|
|
20
|
-
color: null
|
|
21
|
-
},
|
|
22
|
-
warning: {
|
|
23
|
-
"class": "i-daikin-status-warning",
|
|
24
|
-
color: null
|
|
25
|
-
},
|
|
26
|
-
"pagination-chevron-left": {
|
|
27
|
-
"class": "i-daikin-pagination-chevron-left",
|
|
28
|
-
color: "#414141"
|
|
29
|
-
},
|
|
30
|
-
"pagination-chevron-right": {
|
|
31
|
-
"class": "i-daikin-pagination-chevron-right",
|
|
32
|
-
color: "#414141"
|
|
33
|
-
},
|
|
34
|
-
arrowUp: {
|
|
35
|
-
"class": "i-daikin-arrow-up",
|
|
36
|
-
color: "#414141"
|
|
37
|
-
},
|
|
38
|
-
success: {
|
|
39
|
-
"class": "i-daikin-status-success",
|
|
40
|
-
color: "#0097E0"
|
|
41
|
-
},
|
|
42
|
-
error: {
|
|
43
|
-
"class": "i-daikin-status-error",
|
|
44
|
-
color: "#FF4949"
|
|
45
|
-
},
|
|
46
|
-
cross: {
|
|
47
|
-
"class": "i-daikin-cross",
|
|
48
|
-
color: null
|
|
49
|
-
},
|
|
50
|
-
"chevron-up": {
|
|
51
|
-
"class": "i-daikin-chevron-up",
|
|
52
|
-
color: null
|
|
53
|
-
},
|
|
54
|
-
"chevron-down": {
|
|
55
|
-
"class": "i-daikin-chevron-down",
|
|
56
|
-
color: null
|
|
57
|
-
},
|
|
58
|
-
"chevron-left": {
|
|
59
|
-
"class": "i-daikin-chevron-left",
|
|
60
|
-
color: null
|
|
61
|
-
},
|
|
62
|
-
"chevron-right": {
|
|
63
|
-
"class": "i-daikin-chevron-right",
|
|
64
|
-
color: null
|
|
65
|
-
},
|
|
66
|
-
sort: {
|
|
67
|
-
"class": "i-daikin-sort",
|
|
68
|
-
color: null
|
|
69
|
-
}
|
|
70
|
-
};
|
|
1
|
+
const icons = { "alarm": { "class": "i-daikin-status-alarm", "color": null }, "close": { "class": "i-daikin-notification-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-status-information", "color": null }, "negative": { "class": "i-daikin-status-negative", "color": null }, "positive": { "class": "i-daikin-status-positive", "color": null }, "warning": { "class": "i-daikin-status-warning", "color": null }, "pagination-chevron-left": { "class": "i-daikin-pagination-chevron-left", "color": "#414141" }, "pagination-chevron-right": { "class": "i-daikin-pagination-chevron-right", "color": "#414141" }, "error": { "class": "i-daikin-status-error", "color": "#FF4949" }, "cross": { "class": "i-daikin-cross", "color": null }, "chevron-up": { "class": "i-daikin-chevron-up", "color": null }, "chevron-down": { "class": "i-daikin-chevron-down", "color": null }, "chevron-left": { "class": "i-daikin-chevron-left", "color": null }, "chevron-right": { "class": "i-daikin-chevron-right", "color": null }, "sort": { "class": "i-daikin-sort", "color": null } };
|
|
71
2
|
export {
|
|
72
3
|
icons
|
|
73
4
|
};
|