@daikin-oss/design-system-web-components 1.4.0-next.0 → 1.4.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 +345 -0
- package/dist/cjs/base/dds-element.cjs +82 -1
- package/dist/cjs/base/dds-element.d.cts +40 -0
- package/dist/cjs/base/dds-form-element.cjs +15 -6
- package/dist/cjs/base/dds-form-element.d.cts +2 -2
- package/dist/cjs/base/dds-property.cjs +11 -0
- package/dist/cjs/base/dds-property.d.cts +92 -0
- package/dist/cjs/base/define.cjs +2 -0
- package/dist/cjs/base/index.cjs +3 -0
- package/dist/cjs/base/index.d.cts +1 -0
- package/dist/cjs/components/accordion/daikin-accordion.cjs +3 -2
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +6 -7
- package/dist/cjs/components/avatar/daikin-avatar.cjs +20 -15
- package/dist/cjs/components/avatar/daikin-avatar.d.cts +3 -1
- package/dist/cjs/components/badge/daikin-badge.cjs +37 -16
- package/dist/cjs/components/badge/daikin-badge.d.cts +11 -5
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +33 -7
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
- package/dist/cjs/components/button/daikin-button.cjs +57 -16
- package/dist/cjs/components/button/daikin-button.d.cts +19 -3
- package/dist/cjs/components/calendar/daikin-calendar.cjs +8 -9
- package/dist/cjs/components/calendar/daikin-calendar.d.cts +5 -3
- package/dist/cjs/components/card/daikin-card.cjs +2 -2
- package/dist/cjs/components/card-footer/daikin-card-footer.cjs +1 -0
- package/dist/cjs/components/card-header/daikin-card-header.cjs +1 -0
- package/dist/cjs/components/carousel/daikin-carousel.cjs +2 -1
- package/dist/cjs/components/carousel-item/daikin-carousel-item.cjs +3 -2
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +24 -10
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +12 -1
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
- package/dist/cjs/components/chip/daikin-chip.cjs +2 -1
- package/dist/cjs/components/combobox/daikin-combobox.cjs +29 -23
- package/dist/cjs/components/combobox/daikin-combobox.d.cts +9 -2
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +38 -24
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +13 -4
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +13 -13
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +7 -0
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
- package/dist/cjs/components/icon/daikin-icon.cjs +20 -7
- package/dist/cjs/components/icon/daikin-icon.d.cts +88 -39
- package/dist/cjs/components/icon/icons.json.cjs +1 -1
- package/dist/cjs/components/icon/icons.json.d.cts +4 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +58 -15
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +18 -4
- package/dist/cjs/components/inline-notification/daikin-inline-notification.cjs +112 -11
- package/dist/cjs/components/inline-notification/daikin-inline-notification.d.cts +4 -0
- package/dist/cjs/components/input-group/daikin-input-group.cjs +9 -8
- package/dist/cjs/components/link/daikin-link.cjs +28 -8
- package/dist/cjs/components/link/daikin-link.d.cts +11 -0
- package/dist/cjs/components/list/daikin-list.cjs +6 -2
- package/dist/cjs/components/list-item/daikin-list-item.cjs +19 -8
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +4 -0
- package/dist/cjs/components/loading/daikin-loading.cjs +8 -3
- package/dist/cjs/components/logo/daikin-logo.cjs +18 -10
- package/dist/cjs/components/logo/daikin-logo.d.cts +4 -0
- package/dist/cjs/components/menu/daikin-menu.cjs +58 -19
- package/dist/cjs/components/menu/daikin-menu.d.cts +23 -1
- package/dist/cjs/components/modal/daikin-modal.cjs +11 -6
- package/dist/cjs/components/modal/daikin-modal.d.cts +2 -0
- package/dist/cjs/components/modal-footer/daikin-modal-footer.cjs +1 -0
- package/dist/cjs/components/modal-header/daikin-modal-header.cjs +3 -3
- package/dist/cjs/components/pagination/daikin-pagination.cjs +4 -4
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +21 -9
- package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +4 -0
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +11 -6
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
- package/dist/cjs/components/radio/daikin-radio.cjs +14 -9
- package/dist/cjs/components/radio/daikin-radio.d.cts +9 -0
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +15 -8
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +3 -1
- package/dist/cjs/components/select/daikin-select.cjs +4 -3
- package/dist/cjs/components/slider/daikin-slider.cjs +11 -9
- package/dist/cjs/components/slider/daikin-slider.d.cts +15 -0
- package/dist/cjs/components/status-message/daikin-status-message.cjs +23 -10
- package/dist/cjs/components/status-message/daikin-status-message.d.cts +4 -0
- package/dist/cjs/components/tab/daikin-tab.cjs +10 -4
- package/dist/cjs/components/tab-panels/daikin-tab-panels.cjs +4 -4
- package/dist/cjs/components/table/daikin-table.cjs +9 -8
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +12 -7
- package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +5 -3
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +6 -2
- package/dist/cjs/components/tabs/daikin-tabs.cjs +9 -3
- package/dist/cjs/components/tabs/daikin-tabs.d.cts +2 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +15 -12
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +9 -2
- package/dist/cjs/components/text-field/daikin-text-field.cjs +28 -31
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +11 -2
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +39 -18
- package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +23 -1
- package/dist/cjs/components/toast-notification/daikin-toast-notification.cjs +118 -13
- package/dist/cjs/components/toast-notification/daikin-toast-notification.d.cts +11 -1
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
- package/dist/cjs/components/toggle/daikin-toggle.cjs +7 -6
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +7 -0
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +37 -13
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +9 -1
- package/dist/cjs/components/tree/daikin-tree.cjs +3 -2
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +6 -5
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +2 -0
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +6 -5
- package/dist/cjs/tailwind.css.cjs +1 -1
- package/dist/cjs/utils/notification-common.cjs +0 -94
- package/dist/cjs/utils/notification-common.d.cts +0 -13
- package/dist/cjs-dev/base/dds-element.cjs +92 -1
- package/dist/cjs-dev/base/dds-element.d.cts +40 -0
- package/dist/cjs-dev/base/dds-form-element.cjs +15 -6
- package/dist/cjs-dev/base/dds-form-element.d.cts +2 -2
- package/dist/cjs-dev/base/dds-property.cjs +11 -0
- package/dist/cjs-dev/base/dds-property.d.cts +92 -0
- package/dist/cjs-dev/base/define.cjs +2 -0
- package/dist/cjs-dev/base/index.cjs +3 -0
- package/dist/cjs-dev/base/index.d.cts +1 -0
- package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +3 -2
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +6 -7
- package/dist/cjs-dev/components/avatar/daikin-avatar.cjs +20 -15
- package/dist/cjs-dev/components/avatar/daikin-avatar.d.cts +3 -1
- package/dist/cjs-dev/components/badge/daikin-badge.cjs +37 -16
- package/dist/cjs-dev/components/badge/daikin-badge.d.cts +11 -5
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +33 -7
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +38 -6
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +52 -19
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +3 -1
- package/dist/cjs-dev/components/button/daikin-button.cjs +57 -16
- package/dist/cjs-dev/components/button/daikin-button.d.cts +19 -3
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +8 -9
- package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +5 -3
- package/dist/cjs-dev/components/card/daikin-card.cjs +2 -2
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +1 -0
- package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +1 -0
- package/dist/cjs-dev/components/carousel/daikin-carousel.cjs +2 -1
- package/dist/cjs-dev/components/carousel-item/daikin-carousel-item.cjs +3 -2
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +24 -10
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +12 -1
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +12 -3
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +2 -0
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +2 -1
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +29 -23
- package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +9 -2
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +38 -24
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +13 -4
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +13 -13
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +7 -0
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +5 -4
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +20 -7
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +88 -39
- package/dist/cjs-dev/components/icon/icons.json.cjs +1 -1
- package/dist/cjs-dev/components/icon/icons.json.d.cts +4 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +58 -15
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +18 -4
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.cjs +112 -11
- package/dist/cjs-dev/components/inline-notification/daikin-inline-notification.d.cts +4 -0
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +9 -8
- package/dist/cjs-dev/components/link/daikin-link.cjs +28 -8
- package/dist/cjs-dev/components/link/daikin-link.d.cts +11 -0
- package/dist/cjs-dev/components/list/daikin-list.cjs +6 -2
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +19 -8
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +4 -0
- package/dist/cjs-dev/components/loading/daikin-loading.cjs +8 -3
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +18 -10
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +4 -0
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +58 -19
- package/dist/cjs-dev/components/menu/daikin-menu.d.cts +23 -1
- package/dist/cjs-dev/components/modal/daikin-modal.cjs +11 -6
- package/dist/cjs-dev/components/modal/daikin-modal.d.cts +2 -0
- package/dist/cjs-dev/components/modal-footer/daikin-modal-footer.cjs +1 -0
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +3 -3
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +4 -4
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +21 -9
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +4 -0
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +2 -1
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +11 -6
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +2 -0
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +14 -9
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +9 -0
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +15 -8
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +3 -1
- package/dist/cjs-dev/components/select/daikin-select.cjs +4 -3
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +11 -9
- package/dist/cjs-dev/components/slider/daikin-slider.d.cts +15 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +23 -10
- package/dist/cjs-dev/components/status-message/daikin-status-message.d.cts +4 -0
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +10 -4
- package/dist/cjs-dev/components/tab-panels/daikin-tab-panels.cjs +4 -4
- package/dist/cjs-dev/components/table/daikin-table.cjs +9 -8
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +12 -7
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +5 -3
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +13 -5
- 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 +9 -3
- package/dist/cjs-dev/components/tabs/daikin-tabs.d.cts +2 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +15 -12
- package/dist/cjs-dev/components/text-area/daikin-text-area.d.cts +9 -2
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +28 -31
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +11 -2
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +22 -19
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.d.cts +9 -2
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +39 -18
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +23 -1
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.cjs +118 -13
- package/dist/cjs-dev/components/toast-notification/daikin-toast-notification.d.cts +11 -1
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +14 -2
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.cts +3 -1
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +7 -6
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +7 -0
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +37 -13
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +9 -1
- package/dist/cjs-dev/components/tree/daikin-tree.cjs +3 -2
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +6 -5
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +2 -0
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +6 -5
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- package/dist/cjs-dev/utils/notification-common.cjs +0 -94
- package/dist/cjs-dev/utils/notification-common.d.cts +0 -13
- package/dist/es/base/dds-element.d.ts +40 -0
- package/dist/es/base/dds-element.js +82 -1
- package/dist/es/base/dds-form-element.d.ts +2 -2
- package/dist/es/base/dds-form-element.js +15 -6
- package/dist/es/base/dds-property.d.ts +92 -0
- package/dist/es/base/dds-property.js +11 -0
- package/dist/es/base/define.js +2 -0
- package/dist/es/base/index.d.ts +1 -0
- package/dist/es/base/index.js +4 -1
- package/dist/es/components/accordion/daikin-accordion.js +2 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.js +4 -5
- package/dist/es/components/avatar/daikin-avatar.d.ts +3 -1
- package/dist/es/components/avatar/daikin-avatar.js +18 -13
- package/dist/es/components/badge/daikin-badge.d.ts +11 -5
- package/dist/es/components/badge/daikin-badge.js +34 -13
- package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +38 -6
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +33 -7
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
- package/dist/es/components/button/daikin-button.d.ts +19 -3
- package/dist/es/components/button/daikin-button.js +54 -13
- package/dist/es/components/calendar/daikin-calendar.d.ts +5 -3
- package/dist/es/components/calendar/daikin-calendar.js +7 -8
- package/dist/es/components/card/daikin-card.js +1 -1
- package/dist/es/components/card-footer/daikin-card-footer.js +1 -0
- package/dist/es/components/card-header/daikin-card-header.js +1 -0
- package/dist/es/components/carousel/daikin-carousel.js +2 -1
- package/dist/es/components/carousel-item/daikin-carousel-item.js +2 -1
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +12 -1
- package/dist/es/components/checkbox/daikin-checkbox.js +22 -8
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
- package/dist/es/components/checkbox-group/daikin-checkbox-group.js +11 -2
- package/dist/es/components/chip/daikin-chip.js +2 -1
- package/dist/es/components/combobox/daikin-combobox.d.ts +9 -2
- package/dist/es/components/combobox/daikin-combobox.js +24 -18
- package/dist/es/components/date-picker/daikin-date-picker.d.ts +13 -4
- package/dist/es/components/date-picker/daikin-date-picker.js +35 -21
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +7 -0
- package/dist/es/components/dropdown/daikin-dropdown.js +7 -7
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +2 -1
- package/dist/es/components/icon/daikin-icon.d.ts +88 -39
- package/dist/es/components/icon/daikin-icon.js +20 -7
- package/dist/es/components/icon/icons.json.d.ts +4 -0
- package/dist/es/components/icon/icons.json.js +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +18 -4
- package/dist/es/components/icon-button/daikin-icon-button.js +54 -11
- package/dist/es/components/inline-notification/daikin-inline-notification.d.ts +4 -0
- package/dist/es/components/inline-notification/daikin-inline-notification.js +109 -8
- package/dist/es/components/input-group/daikin-input-group.js +3 -2
- package/dist/es/components/link/daikin-link.d.ts +11 -0
- package/dist/es/components/link/daikin-link.js +24 -4
- package/dist/es/components/list/daikin-list.js +6 -2
- package/dist/es/components/list-item/daikin-list-item.d.ts +4 -0
- package/dist/es/components/list-item/daikin-list-item.js +17 -6
- package/dist/es/components/loading/daikin-loading.js +7 -2
- package/dist/es/components/logo/daikin-logo.d.ts +4 -0
- package/dist/es/components/logo/daikin-logo.js +17 -9
- package/dist/es/components/menu/daikin-menu.d.ts +23 -1
- package/dist/es/components/menu/daikin-menu.js +58 -19
- package/dist/es/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es/components/modal/daikin-modal.js +8 -3
- package/dist/es/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es/components/modal-header/daikin-modal-header.js +2 -2
- package/dist/es/components/pagination/daikin-pagination.js +1 -1
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +4 -0
- package/dist/es/components/progress-bar/daikin-progress-bar.js +19 -7
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +2 -1
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +11 -6
- package/dist/es/components/radio/daikin-radio.d.ts +9 -0
- package/dist/es/components/radio/daikin-radio.js +11 -6
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +3 -1
- package/dist/es/components/radio-group/daikin-radio-group.js +14 -7
- package/dist/es/components/select/daikin-select.js +2 -1
- package/dist/es/components/slider/daikin-slider.d.ts +15 -0
- package/dist/es/components/slider/daikin-slider.js +11 -9
- package/dist/es/components/status-message/daikin-status-message.d.ts +4 -0
- package/dist/es/components/status-message/daikin-status-message.js +21 -8
- package/dist/es/components/tab/daikin-tab.js +9 -3
- package/dist/es/components/tab-panels/daikin-tab-panels.js +2 -2
- package/dist/es/components/table/daikin-table.js +2 -1
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +5 -3
- package/dist/es/components/table-cell/daikin-table-cell.js +12 -7
- 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 -3
- package/dist/es/components/tabs/daikin-tabs.d.ts +2 -0
- package/dist/es/components/tabs/daikin-tabs.js +10 -4
- package/dist/es/components/text-area/daikin-text-area.d.ts +9 -2
- package/dist/es/components/text-area/daikin-text-area.js +11 -8
- package/dist/es/components/text-field/daikin-text-field.d.ts +11 -2
- package/dist/es/components/text-field/daikin-text-field.js +18 -21
- package/dist/es/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +15 -12
- package/dist/es/components/time-picker/daikin-time-picker.d.ts +23 -1
- package/dist/es/components/time-picker/daikin-time-picker.js +37 -16
- package/dist/es/components/toast-notification/daikin-toast-notification.d.ts +11 -1
- package/dist/es/components/toast-notification/daikin-toast-notification.js +112 -7
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
- package/dist/es/components/toggle/daikin-toggle.d.ts +7 -0
- package/dist/es/components/toggle/daikin-toggle.js +5 -4
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +9 -1
- package/dist/es/components/tooltip/daikin-tooltip.js +36 -12
- package/dist/es/components/tree/daikin-tree.js +2 -1
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +2 -0
- package/dist/es/components/tree-item/daikin-tree-item.js +2 -1
- package/dist/es/components/tree-section/daikin-tree-section.js +2 -1
- package/dist/es/tailwind.css.js +1 -1
- package/dist/es/utils/notification-common.d.ts +0 -13
- package/dist/es/utils/notification-common.js +0 -94
- package/dist/es-dev/base/dds-element.d.ts +40 -0
- package/dist/es-dev/base/dds-element.js +92 -1
- package/dist/es-dev/base/dds-form-element.d.ts +2 -2
- package/dist/es-dev/base/dds-form-element.js +15 -6
- package/dist/es-dev/base/dds-property.d.ts +92 -0
- package/dist/es-dev/base/dds-property.js +11 -0
- package/dist/es-dev/base/define.js +2 -0
- package/dist/es-dev/base/index.d.ts +1 -0
- package/dist/es-dev/base/index.js +4 -1
- package/dist/es-dev/components/accordion/daikin-accordion.js +2 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +4 -5
- package/dist/es-dev/components/avatar/daikin-avatar.d.ts +3 -1
- package/dist/es-dev/components/avatar/daikin-avatar.js +18 -13
- package/dist/es-dev/components/badge/daikin-badge.d.ts +11 -5
- package/dist/es-dev/components/badge/daikin-badge.js +34 -13
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +38 -6
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +33 -7
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +3 -1
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +48 -15
- package/dist/es-dev/components/button/daikin-button.d.ts +19 -3
- package/dist/es-dev/components/button/daikin-button.js +54 -13
- package/dist/es-dev/components/calendar/daikin-calendar.d.ts +5 -3
- package/dist/es-dev/components/calendar/daikin-calendar.js +7 -8
- package/dist/es-dev/components/card/daikin-card.js +1 -1
- package/dist/es-dev/components/card-footer/daikin-card-footer.js +1 -0
- package/dist/es-dev/components/card-header/daikin-card-header.js +1 -0
- package/dist/es-dev/components/carousel/daikin-carousel.js +2 -1
- package/dist/es-dev/components/carousel-item/daikin-carousel-item.js +2 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +12 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +22 -8
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +2 -0
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +11 -2
- package/dist/es-dev/components/chip/daikin-chip.js +2 -1
- package/dist/es-dev/components/combobox/daikin-combobox.d.ts +9 -2
- package/dist/es-dev/components/combobox/daikin-combobox.js +24 -18
- package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +13 -4
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +35 -21
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +7 -0
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +7 -7
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +2 -1
- package/dist/es-dev/components/icon/daikin-icon.d.ts +88 -39
- package/dist/es-dev/components/icon/daikin-icon.js +20 -7
- package/dist/es-dev/components/icon/icons.json.d.ts +4 -0
- package/dist/es-dev/components/icon/icons.json.js +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +18 -4
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +54 -11
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.d.ts +4 -0
- package/dist/es-dev/components/inline-notification/daikin-inline-notification.js +109 -8
- package/dist/es-dev/components/input-group/daikin-input-group.js +3 -2
- package/dist/es-dev/components/link/daikin-link.d.ts +11 -0
- package/dist/es-dev/components/link/daikin-link.js +24 -4
- package/dist/es-dev/components/list/daikin-list.js +6 -2
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +4 -0
- package/dist/es-dev/components/list-item/daikin-list-item.js +17 -6
- package/dist/es-dev/components/loading/daikin-loading.js +7 -2
- package/dist/es-dev/components/logo/daikin-logo.d.ts +4 -0
- package/dist/es-dev/components/logo/daikin-logo.js +17 -9
- package/dist/es-dev/components/menu/daikin-menu.d.ts +23 -1
- package/dist/es-dev/components/menu/daikin-menu.js +58 -19
- package/dist/es-dev/components/modal/daikin-modal.d.ts +2 -0
- package/dist/es-dev/components/modal/daikin-modal.js +8 -3
- package/dist/es-dev/components/modal-footer/daikin-modal-footer.js +1 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.js +2 -2
- package/dist/es-dev/components/pagination/daikin-pagination.js +1 -1
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +4 -0
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +19 -7
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +2 -1
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +2 -0
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +11 -6
- package/dist/es-dev/components/radio/daikin-radio.d.ts +9 -0
- package/dist/es-dev/components/radio/daikin-radio.js +11 -6
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +3 -1
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +14 -7
- package/dist/es-dev/components/select/daikin-select.js +2 -1
- package/dist/es-dev/components/slider/daikin-slider.d.ts +15 -0
- package/dist/es-dev/components/slider/daikin-slider.js +11 -9
- package/dist/es-dev/components/status-message/daikin-status-message.d.ts +4 -0
- package/dist/es-dev/components/status-message/daikin-status-message.js +21 -8
- package/dist/es-dev/components/tab/daikin-tab.js +9 -3
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.js +2 -2
- package/dist/es-dev/components/table/daikin-table.js +2 -1
- package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +5 -3
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +12 -7
- 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 -3
- package/dist/es-dev/components/tabs/daikin-tabs.d.ts +2 -0
- package/dist/es-dev/components/tabs/daikin-tabs.js +10 -4
- package/dist/es-dev/components/text-area/daikin-text-area.d.ts +9 -2
- package/dist/es-dev/components/text-area/daikin-text-area.js +11 -8
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +11 -2
- package/dist/es-dev/components/text-field/daikin-text-field.js +18 -21
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.d.ts +9 -2
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +15 -12
- package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +23 -1
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +37 -16
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.d.ts +11 -1
- package/dist/es-dev/components/toast-notification/daikin-toast-notification.js +112 -7
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.d.ts +3 -1
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +15 -3
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +7 -0
- package/dist/es-dev/components/toggle/daikin-toggle.js +5 -4
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +9 -1
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +36 -12
- package/dist/es-dev/components/tree/daikin-tree.js +2 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +2 -0
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +2 -1
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +2 -1
- package/dist/es-dev/tailwind.css.js +1 -1
- package/dist/es-dev/utils/notification-common.d.ts +0 -13
- package/dist/es-dev/utils/notification-common.js +0 -94
- package/icons/download.svg +3 -0
- package/package.json +18 -17
|
@@ -86,6 +86,10 @@ declare const icons: {
|
|
|
86
86
|
class: string;
|
|
87
87
|
color: null;
|
|
88
88
|
};
|
|
89
|
+
download: {
|
|
90
|
+
class: string;
|
|
91
|
+
color: null;
|
|
92
|
+
};
|
|
89
93
|
};
|
|
90
94
|
export declare const iconList: string[];
|
|
91
95
|
export type IconType = keyof typeof icons;
|
|
@@ -95,47 +99,44 @@ declare const cvaIcon: (props?: ({
|
|
|
95
99
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
96
100
|
export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
|
|
97
101
|
/**
|
|
98
|
-
*
|
|
99
|
-
* The icon set
|
|
102
|
+
* A versatile UI element that displays small graphical symbols or images representing actions, objects, or concepts within an application.
|
|
103
|
+
* The component uses the predefined DDS icon set by default but also supports custom icons via the icon registry.
|
|
100
104
|
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
105
|
+
* Predefined DDS icons are automatically rendered using optimized CSS classes.
|
|
106
|
+
* Custom icons can be dynamically loaded from various sources using the icon registry.
|
|
103
107
|
*
|
|
104
|
-
*
|
|
108
|
+
* If an icon cannot be loaded, a blank space is displayed.
|
|
109
|
+
* In development builds, warnings are logged to the console for debugging.
|
|
105
110
|
*
|
|
106
|
-
*
|
|
107
|
-
* - **background**: Uses CSS background-image for secure rendering without color customization
|
|
108
|
-
* - **inline**: Traditional SVG rendering using innerHTML (use with caution)
|
|
109
|
-
* - **static** (for DDS icons): Uses predefined CSS classes from the DDS icon set
|
|
111
|
+
* ### Using Custom Icons
|
|
110
112
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
+
* Custom icons must be registered with the icon registry before use.
|
|
114
|
+
* They can be registered individually or in bulk using pattern matching, with support for multiple rendering modes.
|
|
113
115
|
*
|
|
114
|
-
*
|
|
115
|
-
* This works out-of-the-box for mask and static modes, and can be achieved for inline mode with additional effort. The background mode does not support custom colors.
|
|
116
|
+
* #### Rendering Modes
|
|
116
117
|
*
|
|
117
|
-
*
|
|
118
|
-
* In development builds, warnings will be shown in the console for debugging.
|
|
118
|
+
* Custom icons support multiple rendering modes, each with different characteristics:
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
* - **mask** (default): Uses CSS `mask-image` to render the icon.
|
|
121
|
+
* - Secure rendering method (SVG is converted to data URL).
|
|
122
|
+
* - Supports color customization via the `color` property or CSS `color`.
|
|
123
|
+
* - Best choice for most use cases with custom icons.
|
|
124
|
+
* - **background**: Uses CSS `background-image` to render the icon.
|
|
125
|
+
* - Secure rendering method (SVG is converted to data URL).
|
|
126
|
+
* - Does NOT support color customization; the icon is rendered with its original colors.
|
|
127
|
+
* - Use this mode when you need to preserve the original colors of multi-color SVG icons.
|
|
128
|
+
* - **inline**: Traditional SVG rendering using `innerHTML`.
|
|
129
|
+
* - Renders the raw SVG markup directly in the DOM.
|
|
130
|
+
* - Supports color customization if the SVG uses `currentColor` or inheritable properties.
|
|
131
|
+
* - ⚠️ **Security Warning**: Only use this mode with SVG content from trusted sources. Untrusted SVG content may lead to XSS vulnerabilities.
|
|
132
|
+
* - Use `mask` or `background` modes for better security.
|
|
121
133
|
*
|
|
122
|
-
*
|
|
134
|
+
* #### Registration Examples
|
|
123
135
|
*
|
|
124
136
|
* ```js
|
|
125
|
-
* import "@daikin-oss/design-system-web-components/components/icon/index.js";
|
|
126
|
-
* ```
|
|
127
|
-
*
|
|
128
|
-
* ```html
|
|
129
|
-
* <!-- Using a DDS static icon -->
|
|
130
|
-
* <daikin-icon icon="information" color="black" size="m"></daikin-icon>
|
|
131
|
-
*
|
|
132
|
-
* <!-- Using a custom icon -->
|
|
133
|
-
* <daikin-icon icon="my-custom-icon" color="black" size="m"></daikin-icon>
|
|
134
|
-
*
|
|
135
|
-
* <script>
|
|
136
137
|
* import { iconRegistry } from "@daikin-oss/design-system-web-components/icon-registry.js";
|
|
137
138
|
*
|
|
138
|
-
* // Register
|
|
139
|
+
* // Register a single custom icon using mask mode for secure rendering and color customization
|
|
139
140
|
* iconRegistry.register({
|
|
140
141
|
* name: "my-custom-icon",
|
|
141
142
|
* svg: {
|
|
@@ -145,39 +146,87 @@ export type IconVariantProps = MergeVariantProps<typeof cvaIcon>;
|
|
|
145
146
|
* },
|
|
146
147
|
* });
|
|
147
148
|
*
|
|
148
|
-
* // Register
|
|
149
|
+
* // Register multiple custom icons dynamically using pattern matching
|
|
149
150
|
* iconRegistry.register({
|
|
150
|
-
* match: /^custom-/,
|
|
151
|
+
* match: /^dynamic-custom-/,
|
|
151
152
|
* async fetch: (name) => {
|
|
152
153
|
* const response = await fetch(`/path/to/custom/icons/${name}.svg`);
|
|
153
154
|
* if (!response.ok) {
|
|
154
155
|
* throw new Error(`Failed to load custom icon "${name}"`);
|
|
155
156
|
* }
|
|
157
|
+
* // You can return just the SVG content as a string (defaults to mask mode)
|
|
158
|
+
* // Or return an object with `svg`, `defaultColor` (optional), and `mode` (optional) for more control
|
|
156
159
|
* return response.text();
|
|
157
160
|
* },
|
|
158
161
|
* });
|
|
159
|
-
*
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
164
|
+
* Once registered, you can use your custom icons in components:
|
|
165
|
+
*
|
|
166
|
+
* ```html
|
|
167
|
+
* <daikin-icon icon="my-custom-icon" color="current" size="m"></daikin-icon>
|
|
168
|
+
* <daikin-icon icon="dynamic-custom-icon-123" color="current" size="m"></daikin-icon>
|
|
169
|
+
* ```
|
|
170
|
+
*
|
|
171
|
+
* ### Changing Icon Color
|
|
172
|
+
*
|
|
173
|
+
* To use a custom color, set the `color` property to `"current"` and apply the desired color using the CSS `color` property:
|
|
174
|
+
*
|
|
175
|
+
* ```html
|
|
176
|
+
* <daikin-icon icon="information" color="current" style="color: red;"></daikin-icon>
|
|
177
|
+
* <!-- or you can inherit the color from a parent element -->
|
|
178
|
+
* <div style="color: blue;">
|
|
179
|
+
* <daikin-icon icon="information" color="current"></daikin-icon>
|
|
180
|
+
* </div>
|
|
181
|
+
* ```
|
|
182
|
+
*
|
|
183
|
+
* This behavior is supported natively for DDS icons and `mask` mode (the default for custom icons).
|
|
184
|
+
* In `inline` mode, color inheritance works only if the SVG uses `currentColor` or inheritable properties.
|
|
185
|
+
* Note that `background` mode does not support custom colors.
|
|
186
|
+
*
|
|
187
|
+
* @cssprop [--ddc-icon-size] - The size of the icon. If you set a value other than "current" for the `size` property, this will be automatically overwritten.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
*
|
|
191
|
+
* ```js
|
|
192
|
+
* import "@daikin-oss/design-system-web-components/components/icon/index.js";
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* ```html
|
|
196
|
+
* <!-- Using a DDS static icon -->
|
|
197
|
+
* <daikin-icon icon="information" color="current" size="m"></daikin-icon>
|
|
198
|
+
*
|
|
199
|
+
* <!-- Using a custom icon -->
|
|
200
|
+
* <daikin-icon icon="my-custom-icon" color="current" size="m"></daikin-icon>
|
|
160
201
|
* ```
|
|
161
202
|
*/
|
|
162
203
|
export declare class DaikinIcon extends DDSElement {
|
|
163
204
|
static readonly styles: import('lit').CSSResult;
|
|
164
205
|
/**
|
|
165
|
-
*
|
|
166
|
-
*
|
|
206
|
+
* The icon registry instance to use.
|
|
207
|
+
* Defaults to the global icon registry.
|
|
167
208
|
*/
|
|
168
209
|
registry: IconRegistry;
|
|
169
210
|
/**
|
|
170
|
-
*
|
|
211
|
+
* The name of the icon to display.
|
|
171
212
|
* Can be a static DDS icon name or a custom icon name registered in the icon registry.
|
|
172
213
|
*/
|
|
173
|
-
icon: string
|
|
214
|
+
icon: string;
|
|
174
215
|
/**
|
|
175
|
-
*
|
|
216
|
+
* The color of the icon.
|
|
217
|
+
* Use `"current"` for most cases.
|
|
218
|
+
*
|
|
219
|
+
* **This property will be removed in a future release.**
|
|
220
|
+
* To prepare for this change, start using `color="current"` and set icon colors via the CSS `color` property instead of using predefined color values.
|
|
221
|
+
*
|
|
222
|
+
* @default "default"
|
|
176
223
|
*/
|
|
177
224
|
color: IconVariantProps["color"];
|
|
178
225
|
/**
|
|
179
|
-
*
|
|
180
|
-
* If "current"
|
|
226
|
+
* The size of the icon.
|
|
227
|
+
* If set to "current", the `--ddc-icon-size` CSS variable will be used. `--ddc-icon-size` may be set by a parent component such as `daikin-icon-button`.
|
|
228
|
+
*
|
|
229
|
+
* @default "current"
|
|
181
230
|
*/
|
|
182
231
|
size: "s" | "m" | "l" | "xl" | "current";
|
|
183
232
|
private _iconData;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { state } from "lit/decorators.js";
|
|
4
4
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
5
5
|
import { DDSElement } from "../../base/dds-element.js";
|
|
6
6
|
import "../../base/dds-form-element.js";
|
|
7
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import { iconRegistry } from "../../icon-registry.js";
|
|
@@ -61,9 +62,6 @@ let DaikinIcon = class extends DDSElement {
|
|
|
61
62
|
constructor() {
|
|
62
63
|
super(...arguments);
|
|
63
64
|
this.registry = iconRegistry;
|
|
64
|
-
this.icon = null;
|
|
65
|
-
this.color = "default";
|
|
66
|
-
this.size = "current";
|
|
67
65
|
this._iconData = null;
|
|
68
66
|
}
|
|
69
67
|
connectedCallback() {
|
|
@@ -210,13 +208,28 @@ __decorateClass([
|
|
|
210
208
|
property({ attribute: false })
|
|
211
209
|
], DaikinIcon.prototype, "registry", 2);
|
|
212
210
|
__decorateClass([
|
|
213
|
-
property({ type: String, reflect: true })
|
|
211
|
+
property({ type: String, reflect: true, fallbackValue: "" })
|
|
214
212
|
], DaikinIcon.prototype, "icon", 2);
|
|
215
213
|
__decorateClass([
|
|
216
|
-
property({
|
|
214
|
+
property({
|
|
215
|
+
type: String,
|
|
216
|
+
reflect: true,
|
|
217
|
+
fallbackValue: "default",
|
|
218
|
+
isAllowedValue: oneOf([
|
|
219
|
+
"default",
|
|
220
|
+
"current",
|
|
221
|
+
"black",
|
|
222
|
+
"white"
|
|
223
|
+
])
|
|
224
|
+
})
|
|
217
225
|
], DaikinIcon.prototype, "color", 2);
|
|
218
226
|
__decorateClass([
|
|
219
|
-
property({
|
|
227
|
+
property({
|
|
228
|
+
type: String,
|
|
229
|
+
reflect: true,
|
|
230
|
+
fallbackValue: "current",
|
|
231
|
+
isAllowedValue: oneOf(["s", "m", "l", "xl", "current"])
|
|
232
|
+
})
|
|
220
233
|
], DaikinIcon.prototype, "size", 2);
|
|
221
234
|
__decorateClass([
|
|
222
235
|
state()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const icons = { "logo-positive": { "class": "i-daikin-logo-positive", "color": null }, "logo-negative": { "class": "i-daikin-logo-negative", "color": null }, "alarm": { "class": "i-daikin-alarm", "color": null }, "close": { "class": "i-daikin-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-information", "color": null }, "error": { "class": "i-daikin-error", "color": null }, "success": { "class": "i-daikin-success", "color": null }, "warning": { "class": "i-daikin-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" }, "profile": { "class": "i-daikin-profile", "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 }, "negative": { "class": "i-daikin-error", "color": null }, "positive": { "class": "i-daikin-success", "color": null }, "cross": { "class": "i-daikin-close", "color": null }, "notification": { "class": "i-daikin-notification", "color": null }, "neutral": { "class": "i-daikin-neutral", "color": null } };
|
|
1
|
+
const icons = { "logo-positive": { "class": "i-daikin-logo-positive", "color": null }, "logo-negative": { "class": "i-daikin-logo-negative", "color": null }, "alarm": { "class": "i-daikin-alarm", "color": null }, "close": { "class": "i-daikin-close", "color": "#a0a0a0" }, "information": { "class": "i-daikin-information", "color": null }, "error": { "class": "i-daikin-error", "color": null }, "success": { "class": "i-daikin-success", "color": null }, "warning": { "class": "i-daikin-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" }, "profile": { "class": "i-daikin-profile", "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 }, "negative": { "class": "i-daikin-error", "color": null }, "positive": { "class": "i-daikin-success", "color": null }, "cross": { "class": "i-daikin-close", "color": null }, "notification": { "class": "i-daikin-notification", "color": null }, "neutral": { "class": "i-daikin-neutral", "color": null }, "download": { "class": "i-daikin-download", "color": null } };
|
|
2
2
|
const iconsJson = {
|
|
3
3
|
icons
|
|
4
4
|
};
|
|
@@ -2,7 +2,7 @@ import { DDSFormSubmitElement } from "../../base/index.js";
|
|
|
2
2
|
import { ARIARole } from "../../lit-analyzer-types.js";
|
|
3
3
|
import { MergeVariantProps } from "../../type-utils.js";
|
|
4
4
|
declare const cvaIconButton: (props?: ({
|
|
5
|
-
color?: "
|
|
5
|
+
color?: "default" | "danger" | "neutral" | null | undefined;
|
|
6
6
|
variant?: "fill" | "outline" | "ghost" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
|
|
@@ -14,6 +14,9 @@ type IconButtonVariantProps = MergeVariantProps<typeof cvaIconButton>;
|
|
|
14
14
|
* - About fill color - The icon should be able to accept the CSS `color` property.
|
|
15
15
|
* - About size - The recommended width of the icon is 24px * 24px. Please make sure that the size of the icon you insert conforms to this, or please set the `width` and `height` properties of the icon to 100%.
|
|
16
16
|
*
|
|
17
|
+
* @attr form - The form the component belongs to.
|
|
18
|
+
* @prop {String} formAttr - The form the component belongs to.
|
|
19
|
+
*
|
|
17
20
|
* @fires click - A retargeted event of a [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event) emitted from the inner `<button>` element. Suppressed if `disabled` is true,
|
|
18
21
|
*
|
|
19
22
|
* @slot - A slot for an icon. Place a daikin-icon element or something similar.
|
|
@@ -36,10 +39,14 @@ export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
|
36
39
|
static readonly styles: import('lit').CSSResult;
|
|
37
40
|
/**
|
|
38
41
|
* Variant of the button.
|
|
42
|
+
*
|
|
43
|
+
* @default "fill"
|
|
39
44
|
*/
|
|
40
45
|
variant: IconButtonVariantProps["variant"];
|
|
41
46
|
/**
|
|
42
47
|
* Color of the button.
|
|
48
|
+
*
|
|
49
|
+
* @default "default"
|
|
43
50
|
*/
|
|
44
51
|
color: IconButtonVariantProps["color"];
|
|
45
52
|
/**
|
|
@@ -55,6 +62,8 @@ export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
|
55
62
|
/**
|
|
56
63
|
* Type of the button.
|
|
57
64
|
* If `"link"` is specified, the button will be rendered as an `<a>` element.
|
|
65
|
+
*
|
|
66
|
+
* @default "button"
|
|
58
67
|
*/
|
|
59
68
|
type: "button" | "submit" | "reset" | "link";
|
|
60
69
|
/**
|
|
@@ -74,13 +83,18 @@ export declare class DaikinIconButton extends DDSFormSubmitElement {
|
|
|
74
83
|
* The aria-expanded of icon button when `type="button"`.
|
|
75
84
|
* When used within a daikin-menu component, this property will be controlled by daikin-menu, so you don't need to specify it explicitly.
|
|
76
85
|
*/
|
|
77
|
-
buttonAriaExpanded:
|
|
86
|
+
buttonAriaExpanded: "true" | "false" | "undefined" | null;
|
|
87
|
+
/**
|
|
88
|
+
* The `tabindex` of the button.
|
|
89
|
+
* If omitted or set to 0, the button follows the default tab flow.
|
|
90
|
+
* Setting it to -1 makes the button unreachable via the Tab key.
|
|
91
|
+
* This is useful when the button is part of a composite widget and accessible via other keys.
|
|
92
|
+
*/
|
|
93
|
+
buttonTabIndex: number;
|
|
78
94
|
/**
|
|
79
95
|
* Size of the button.
|
|
80
96
|
* - `s`: 32px * 32px
|
|
81
97
|
* - `m`: 48px * 48px
|
|
82
|
-
*
|
|
83
|
-
* Default is `s`.
|
|
84
98
|
*/
|
|
85
99
|
size: "s" | "m";
|
|
86
100
|
private _button;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { query } from "lit/decorators.js";
|
|
4
4
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
5
|
import "../../base/dds-element.js";
|
|
6
6
|
import { DDSFormSubmitElement } from "../../base/dds-form-element.js";
|
|
7
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
7
8
|
import { ddsElement } from "../../base/decorators.js";
|
|
8
9
|
import "../../base/define.js";
|
|
9
10
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -78,11 +79,8 @@ const cvaIconButton = cva(
|
|
|
78
79
|
let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
79
80
|
constructor() {
|
|
80
81
|
super();
|
|
81
|
-
this.variant = "fill";
|
|
82
|
-
this.color = "default";
|
|
83
82
|
this.disabled = false;
|
|
84
83
|
this.href = null;
|
|
85
|
-
this.type = "button";
|
|
86
84
|
this.buttonAriaLabel = null;
|
|
87
85
|
this.buttonRole = null;
|
|
88
86
|
this.buttonAriaHaspopup = null;
|
|
@@ -109,6 +107,7 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
|
109
107
|
return html`<a
|
|
110
108
|
class=${iconButtonCN}
|
|
111
109
|
href=${ifDefined(!linkDisabled ? this.href ?? void 0 : void 0)}
|
|
110
|
+
tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
112
111
|
role=${ifDefined(
|
|
113
112
|
this.buttonRole ?? (linkDisabled ? "link" : void 0)
|
|
114
113
|
)}
|
|
@@ -122,10 +121,11 @@ let DaikinIconButton = class extends DDSFormSubmitElement {
|
|
|
122
121
|
<button
|
|
123
122
|
class=${iconButtonCN}
|
|
124
123
|
type=${this.type}
|
|
124
|
+
tabindex=${ifDefined(this.getBackingProperty("buttonTabIndex"))}
|
|
125
125
|
aria-label=${this.buttonAriaLabel ?? ""}
|
|
126
126
|
?disabled=${this.disabled}
|
|
127
|
-
aria-
|
|
128
|
-
aria-
|
|
127
|
+
aria-expanded=${ifDefined(this.buttonAriaExpanded)}
|
|
128
|
+
aria-haspopup=${ifDefined(this.buttonAriaHaspopup)}
|
|
129
129
|
>
|
|
130
130
|
<slot class="icon-size-full"></slot>
|
|
131
131
|
</button>
|
|
@@ -148,18 +148,38 @@ DaikinIconButton.styles = css`
|
|
|
148
148
|
width: var(--ddc-icon-button-size, 2rem);
|
|
149
149
|
height: var(--ddc-icon-button-size, 2rem);
|
|
150
150
|
}
|
|
151
|
+
|
|
151
152
|
:host([size="s"]) {
|
|
152
153
|
--ddc-icon-button-size: 2rem; /* 32px */
|
|
153
154
|
}
|
|
155
|
+
|
|
154
156
|
:host([size="m"]) {
|
|
155
157
|
--ddc-icon-button-size: 3rem; /* 48px */
|
|
156
158
|
}
|
|
157
159
|
`;
|
|
158
160
|
__decorateClass([
|
|
159
|
-
property({
|
|
161
|
+
property({
|
|
162
|
+
type: String,
|
|
163
|
+
reflect: true,
|
|
164
|
+
fallbackValue: "fill",
|
|
165
|
+
isAllowedValue: oneOf([
|
|
166
|
+
"outline",
|
|
167
|
+
"fill",
|
|
168
|
+
"ghost"
|
|
169
|
+
])
|
|
170
|
+
})
|
|
160
171
|
], DaikinIconButton.prototype, "variant", 2);
|
|
161
172
|
__decorateClass([
|
|
162
|
-
property({
|
|
173
|
+
property({
|
|
174
|
+
type: String,
|
|
175
|
+
reflect: true,
|
|
176
|
+
fallbackValue: "default",
|
|
177
|
+
isAllowedValue: oneOf([
|
|
178
|
+
"default",
|
|
179
|
+
"neutral",
|
|
180
|
+
"danger"
|
|
181
|
+
])
|
|
182
|
+
})
|
|
163
183
|
], DaikinIconButton.prototype, "color", 2);
|
|
164
184
|
__decorateClass([
|
|
165
185
|
property({ type: Boolean, reflect: true })
|
|
@@ -168,7 +188,17 @@ __decorateClass([
|
|
|
168
188
|
property({ type: String, reflect: true })
|
|
169
189
|
], DaikinIconButton.prototype, "href", 2);
|
|
170
190
|
__decorateClass([
|
|
171
|
-
property({
|
|
191
|
+
property({
|
|
192
|
+
type: String,
|
|
193
|
+
reflect: true,
|
|
194
|
+
fallbackValue: "button",
|
|
195
|
+
isAllowedValue: oneOf([
|
|
196
|
+
"button",
|
|
197
|
+
"submit",
|
|
198
|
+
"reset",
|
|
199
|
+
"link"
|
|
200
|
+
])
|
|
201
|
+
})
|
|
172
202
|
], DaikinIconButton.prototype, "type", 2);
|
|
173
203
|
__decorateClass([
|
|
174
204
|
property({ type: String, reflect: true, attribute: "button-aria-label" })
|
|
@@ -180,10 +210,23 @@ __decorateClass([
|
|
|
180
210
|
property({ type: String, reflect: true, attribute: "button-aria-haspopup" })
|
|
181
211
|
], DaikinIconButton.prototype, "buttonAriaHaspopup", 2);
|
|
182
212
|
__decorateClass([
|
|
183
|
-
property({ type:
|
|
213
|
+
property({ type: String, reflect: true, attribute: "button-aria-expanded" })
|
|
184
214
|
], DaikinIconButton.prototype, "buttonAriaExpanded", 2);
|
|
185
215
|
__decorateClass([
|
|
186
|
-
property({
|
|
216
|
+
property({
|
|
217
|
+
type: Number,
|
|
218
|
+
reflect: true,
|
|
219
|
+
attribute: "button-tabindex",
|
|
220
|
+
fallbackValue: 0
|
|
221
|
+
})
|
|
222
|
+
], DaikinIconButton.prototype, "buttonTabIndex", 2);
|
|
223
|
+
__decorateClass([
|
|
224
|
+
property({
|
|
225
|
+
type: String,
|
|
226
|
+
reflect: true,
|
|
227
|
+
fallbackValue: "s",
|
|
228
|
+
isAllowedValue: oneOf(["s", "m"])
|
|
229
|
+
})
|
|
187
230
|
], DaikinIconButton.prototype, "size", 2);
|
|
188
231
|
__decorateClass([
|
|
189
232
|
query("button")
|
|
@@ -30,10 +30,14 @@ export declare class DaikinInlineNotification extends DDSElement {
|
|
|
30
30
|
static readonly styles: import('lit').CSSResult;
|
|
31
31
|
/**
|
|
32
32
|
* Status of the notification.
|
|
33
|
+
*
|
|
34
|
+
* @default "positive"
|
|
33
35
|
*/
|
|
34
36
|
status: ToastNotificationVariantProps["status"];
|
|
35
37
|
/**
|
|
36
38
|
* Specify how to arrange the elements.
|
|
39
|
+
*
|
|
40
|
+
* @default "horizontal"
|
|
37
41
|
*/
|
|
38
42
|
layout: ToastNotificationVariantProps["layout"];
|
|
39
43
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
1
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
2
|
-
import { property } from "lit/decorators.js";
|
|
3
3
|
import { DDSElement } from "../../base/dds-element.js";
|
|
4
4
|
import "../../base/dds-form-element.js";
|
|
5
|
+
import { property, oneOf } from "../../base/dds-property.js";
|
|
5
6
|
import { ddsElement } from "../../base/decorators.js";
|
|
6
7
|
import "../../base/define.js";
|
|
7
8
|
import tailwindStyles from "../../tailwind.css.js";
|
|
8
|
-
import { formatDate,
|
|
9
|
+
import { formatDate, cvaTimestamp } from "../../utils/notification-common.js";
|
|
9
10
|
import "../icon-button/daikin-icon-button.js";
|
|
10
11
|
var __defProp = Object.defineProperty;
|
|
11
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -17,11 +18,90 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
17
18
|
if (kind && result) __defProp(target, key, result);
|
|
18
19
|
return result;
|
|
19
20
|
};
|
|
21
|
+
const cvaContainer = cva(
|
|
22
|
+
[
|
|
23
|
+
"flex",
|
|
24
|
+
"items-center",
|
|
25
|
+
"gap-3",
|
|
26
|
+
"w-full",
|
|
27
|
+
"h-full",
|
|
28
|
+
"text-ddt-color-common-text-primary",
|
|
29
|
+
"bg-ddt-color-common-background-default",
|
|
30
|
+
"p-4",
|
|
31
|
+
"overflow-hidden",
|
|
32
|
+
"font-daikinSerif",
|
|
33
|
+
"transition",
|
|
34
|
+
"box-border",
|
|
35
|
+
"before:size-6",
|
|
36
|
+
"before:flex-none"
|
|
37
|
+
],
|
|
38
|
+
{
|
|
39
|
+
variants: {
|
|
40
|
+
variant: {
|
|
41
|
+
toast: [
|
|
42
|
+
"rounded-lg",
|
|
43
|
+
"border",
|
|
44
|
+
"border-ddt-color-divider",
|
|
45
|
+
"translate-x-[--move-offset-x,0]",
|
|
46
|
+
"translate-y-[--move-offset-y,0]",
|
|
47
|
+
"opacity-[--opacity,1]",
|
|
48
|
+
"[pointer-events:var(--pointer-events,auto)]",
|
|
49
|
+
"[transition-duration:var(--transition-duration,var(--ddc-toast-animation-duration,0ms))]"
|
|
50
|
+
],
|
|
51
|
+
inline: []
|
|
52
|
+
},
|
|
53
|
+
status: {
|
|
54
|
+
positive: [
|
|
55
|
+
"before:text-ddt-color-common-success",
|
|
56
|
+
"before:i-daikin-success"
|
|
57
|
+
],
|
|
58
|
+
negative: [
|
|
59
|
+
"before:text-ddt-color-common-danger-default",
|
|
60
|
+
"before:i-daikin-error"
|
|
61
|
+
],
|
|
62
|
+
warning: [
|
|
63
|
+
"before:text-ddt-color-common-warning",
|
|
64
|
+
"before:i-daikin-warning"
|
|
65
|
+
],
|
|
66
|
+
alarm: ["before:text-ddt-color-common-alarm", "before:i-daikin-alarm"],
|
|
67
|
+
information: [
|
|
68
|
+
"before:text-ddt-color-common-information",
|
|
69
|
+
"before:i-daikin-information"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
const cvaContent = cva(["flex", "items-center", "w-full", "justify-between"], {
|
|
76
|
+
variants: {
|
|
77
|
+
layout: {
|
|
78
|
+
horizontal: ["gap-3", "overflow-hidden"],
|
|
79
|
+
vertical: ["items-stretch", "flex-col", "gap-1"]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const cvaTextContent = cva(["flex"], {
|
|
84
|
+
variants: {
|
|
85
|
+
layout: {
|
|
86
|
+
horizontal: ["flex-row", "gap-3"],
|
|
87
|
+
vertical: ["flex-col", "gap-1"]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const TITLE_CLASS_NAME = cva([
|
|
92
|
+
"slotted:inline-block",
|
|
93
|
+
"font-bold",
|
|
94
|
+
"leading-[130%]",
|
|
95
|
+
"slotted:natural-break"
|
|
96
|
+
])();
|
|
97
|
+
const DESCRIPTION_CLASS_NAME = cva([
|
|
98
|
+
"inline-block",
|
|
99
|
+
"leading-[130%]",
|
|
100
|
+
"natural-break"
|
|
101
|
+
])();
|
|
20
102
|
let DaikinInlineNotification = class extends DDSElement {
|
|
21
103
|
constructor() {
|
|
22
104
|
super(...arguments);
|
|
23
|
-
this.status = "positive";
|
|
24
|
-
this.layout = "horizontal";
|
|
25
105
|
this.closable = false;
|
|
26
106
|
this.timestamp = null;
|
|
27
107
|
}
|
|
@@ -38,8 +118,10 @@ let DaikinInlineNotification = class extends DDSElement {
|
|
|
38
118
|
class=${cvaContainer({ variant: "inline", status: this.status })}
|
|
39
119
|
>
|
|
40
120
|
<div class=${cvaContent({ layout: this.layout })}>
|
|
41
|
-
<
|
|
42
|
-
|
|
121
|
+
<div class=${cvaTextContent({ layout: this.layout })}>
|
|
122
|
+
<slot class=${TITLE_CLASS_NAME} name="title"></slot>
|
|
123
|
+
<slot class=${DESCRIPTION_CLASS_NAME}></slot>
|
|
124
|
+
</div>
|
|
43
125
|
${formattedTimestamp ? html`<span class=${cvaTimestamp({ layout: this.layout })}
|
|
44
126
|
>${formattedTimestamp}</span
|
|
45
127
|
>` : nothing}
|
|
@@ -70,10 +152,29 @@ DaikinInlineNotification.styles = css`
|
|
|
70
152
|
}
|
|
71
153
|
`;
|
|
72
154
|
__decorateClass([
|
|
73
|
-
property({
|
|
155
|
+
property({
|
|
156
|
+
type: String,
|
|
157
|
+
reflect: true,
|
|
158
|
+
fallbackValue: "positive",
|
|
159
|
+
isAllowedValue: oneOf([
|
|
160
|
+
"positive",
|
|
161
|
+
"negative",
|
|
162
|
+
"warning",
|
|
163
|
+
"alarm",
|
|
164
|
+
"information"
|
|
165
|
+
])
|
|
166
|
+
})
|
|
74
167
|
], DaikinInlineNotification.prototype, "status", 2);
|
|
75
168
|
__decorateClass([
|
|
76
|
-
property({
|
|
169
|
+
property({
|
|
170
|
+
type: String,
|
|
171
|
+
reflect: true,
|
|
172
|
+
fallbackValue: "horizontal",
|
|
173
|
+
isAllowedValue: oneOf([
|
|
174
|
+
"horizontal",
|
|
175
|
+
"vertical"
|
|
176
|
+
])
|
|
177
|
+
})
|
|
77
178
|
], DaikinInlineNotification.prototype, "layout", 2);
|
|
78
179
|
__decorateClass([
|
|
79
180
|
property({ type: Boolean, reflect: true })
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { cva } from "class-variance-authority";
|
|
2
2
|
import { unsafeCSS, css, nothing, html } from "lit";
|
|
3
|
-
import {
|
|
3
|
+
import { queryAssignedElements, state } from "lit/decorators.js";
|
|
4
4
|
import { DDSElement } from "../../base/dds-element.js";
|
|
5
5
|
import "../../base/dds-form-element.js";
|
|
6
|
+
import { property } from "../../base/dds-property.js";
|
|
6
7
|
import { ddsElement } from "../../base/decorators.js";
|
|
7
8
|
import "../../base/define.js";
|
|
8
9
|
import tailwindStyles from "../../tailwind.css.js";
|
|
@@ -117,7 +118,7 @@ let DaikinInputGroup = class extends DDSElement {
|
|
|
117
118
|
case "textareaLimitExceedError":
|
|
118
119
|
return html`<daikin-status-message
|
|
119
120
|
status="negative"
|
|
120
|
-
message-role="alert"
|
|
121
|
+
status-message-role="alert"
|
|
121
122
|
size="small"
|
|
122
123
|
>
|
|
123
124
|
${helperText2}
|
|
@@ -34,6 +34,17 @@ export declare class DaikinLink extends DDSElement {
|
|
|
34
34
|
* Whether or not to change the color of visited links.
|
|
35
35
|
*/
|
|
36
36
|
showVisited: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Link size. The default value is `'medium'`.
|
|
39
|
+
*
|
|
40
|
+
* - `'small'`: Smaller font size (`0.875rem`).
|
|
41
|
+
* - `'medium'`: Base font size (`1rem`).
|
|
42
|
+
*/
|
|
43
|
+
size: "small" | "medium";
|
|
44
|
+
/**
|
|
45
|
+
* Whether or not to display an underline.
|
|
46
|
+
*/
|
|
47
|
+
noUnderline: boolean;
|
|
37
48
|
render(): import('lit-html').TemplateResult<1>;
|
|
38
49
|
}
|
|
39
50
|
declare global {
|