@daikin-oss/design-system-web-components 0.7.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 +109 -12
- package/README.md +2 -2
- 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 +37 -77
- package/dist/cjs/components/accordion-item/daikin-accordion-item.d.cts +10 -16
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.cjs +8 -5
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +2 -2
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +8 -5
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +2 -2
- package/dist/cjs/components/button/daikin-button.cjs +20 -8
- package/dist/cjs/components/button/daikin-button.d.cts +6 -3
- package/dist/cjs/components/card/daikin-card.cjs +11 -7
- package/dist/cjs/components/card/daikin-card.d.cts +8 -2
- package/dist/cjs/components/card-footer/daikin-card-footer.cjs +9 -9
- package/dist/cjs/components/card-footer/daikin-card-footer.d.cts +6 -2
- package/dist/cjs/components/card-header/daikin-card-header.cjs +10 -10
- package/dist/cjs/components/card-header/daikin-card-header.d.cts +6 -2
- 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 +34 -16
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +4 -2
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +16 -5
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +16 -2
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +12 -5
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
- package/dist/cjs/components/icon/daikin-icon.cjs +8 -5
- package/dist/cjs/components/icon/daikin-icon.d.cts +2 -2
- 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 +8 -5
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs/components/index.cjs +25 -5
- package/dist/cjs/components/index.d.cts +5 -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 +12 -9
- package/dist/cjs/components/input-group/daikin-input-group.d.cts +15 -7
- package/dist/cjs/components/link/daikin-link.cjs +9 -6
- 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 +8 -5
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +6 -2
- package/dist/cjs/components/pagination/daikin-pagination.cjs +22 -13
- package/dist/cjs/components/pagination/daikin-pagination.d.cts +6 -2
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +13 -8
- package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +3 -2
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +16 -20
- 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 +24 -25
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +8 -4
- package/dist/cjs/components/radio/daikin-radio.cjs +45 -23
- 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 +15 -6
- package/dist/cjs/components/select/daikin-select.d.cts +11 -2
- package/dist/cjs/components/tab/daikin-tab.cjs +25 -10
- 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 +9 -6
- package/dist/cjs/components/table/daikin-table.d.cts +9 -2
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +8 -5
- 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 +8 -5
- 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 +16 -7
- package/dist/cjs/components/text-area/daikin-text-area.d.cts +7 -2
- package/dist/cjs/components/text-field/daikin-text-field.cjs +16 -7
- 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 +8 -5
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +3 -2
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +42 -30
- package/dist/cjs/components/tooltip/daikin-tooltip.d.cts +16 -6
- package/dist/cjs/components/tree/daikin-tree.cjs +36 -37
- package/dist/cjs/components/tree/daikin-tree.d.cts +13 -14
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +22 -18
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +9 -9
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +26 -41
- package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +10 -20
- package/dist/cjs/controllers/click-outside.d.cts +1 -1
- package/dist/cjs/index.cjs +25 -5
- package/dist/cjs/tailwind.css.cjs +1 -1
- 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 +37 -77
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.cts +10 -16
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.cjs +8 -5
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +2 -2
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +8 -5
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +2 -2
- package/dist/cjs-dev/components/button/daikin-button.cjs +20 -8
- package/dist/cjs-dev/components/button/daikin-button.d.cts +6 -3
- package/dist/cjs-dev/components/card/daikin-card.cjs +11 -7
- package/dist/cjs-dev/components/card/daikin-card.d.cts +8 -2
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.cjs +9 -9
- package/dist/cjs-dev/components/card-footer/daikin-card-footer.d.cts +6 -2
- package/dist/cjs-dev/components/card-header/daikin-card-header.cjs +10 -10
- package/dist/cjs-dev/components/card-header/daikin-card-header.d.cts +6 -2
- 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 +34 -16
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +4 -2
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +16 -5
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +16 -2
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +12 -5
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +10 -2
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +8 -5
- package/dist/cjs-dev/components/icon/daikin-icon.d.cts +2 -2
- 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 +8 -5
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -2
- package/dist/cjs-dev/components/index.cjs +25 -5
- package/dist/cjs-dev/components/index.d.cts +5 -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 +12 -9
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +15 -7
- package/dist/cjs-dev/components/link/daikin-link.cjs +9 -6
- 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 +8 -5
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +6 -2
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +22 -13
- package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +6 -2
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +13 -8
- 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 +16 -30
- 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 +24 -25
- 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 +45 -23
- 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 +15 -6
- package/dist/cjs-dev/components/select/daikin-select.d.cts +11 -2
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +25 -10
- 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 +9 -6
- package/dist/cjs-dev/components/table/daikin-table.d.cts +9 -2
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +8 -5
- 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 +8 -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 +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 +16 -7
- 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 +16 -7
- 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 +8 -5
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +3 -2
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +42 -30
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.d.cts +16 -6
- package/dist/cjs-dev/components/tree/daikin-tree.cjs +36 -37
- package/dist/cjs-dev/components/tree/daikin-tree.d.cts +13 -14
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +22 -18
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +9 -9
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +26 -41
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +10 -20
- package/dist/cjs-dev/controllers/click-outside.d.cts +1 -1
- package/dist/cjs-dev/index.cjs +25 -5
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- 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 +36 -76
- package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +2 -2
- package/dist/es/components/breadcrumb/daikin-breadcrumb.js +7 -4
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +2 -2
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +7 -4
- package/dist/es/components/button/daikin-button.d.ts +6 -3
- package/dist/es/components/button/daikin-button.js +19 -7
- package/dist/es/components/card/daikin-card.d.ts +8 -2
- package/dist/es/components/card/daikin-card.js +10 -6
- package/dist/es/components/card-footer/daikin-card-footer.d.ts +6 -2
- package/dist/es/components/card-footer/daikin-card-footer.js +7 -7
- package/dist/es/components/card-header/daikin-card-header.d.ts +6 -2
- package/dist/es/components/card-header/daikin-card-header.js +8 -8
- 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 +33 -15
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +16 -2
- package/dist/es/components/dropdown/daikin-dropdown.js +15 -4
- package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +10 -2
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +11 -4
- package/dist/es/components/icon/daikin-icon.d.ts +2 -2
- package/dist/es/components/icon/daikin-icon.js +7 -4
- 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 +7 -4
- package/dist/es/components/index.d.ts +5 -1
- package/dist/es/components/index.js +10 -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 +15 -7
- package/dist/es/components/input-group/daikin-input-group.js +11 -8
- package/dist/es/components/link/daikin-link.d.ts +2 -2
- package/dist/es/components/link/daikin-link.js +8 -5
- 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 +7 -4
- package/dist/es/components/pagination/daikin-pagination.d.ts +6 -2
- package/dist/es/components/pagination/daikin-pagination.js +21 -12
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +3 -2
- package/dist/es/components/progress-bar/daikin-progress-bar.js +12 -7
- package/dist/es/components/progress-indicator/daikin-progress-indicator.d.ts +12 -5
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +15 -19
- 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 +23 -24
- package/dist/es/components/radio/daikin-radio.d.ts +18 -8
- package/dist/es/components/radio/daikin-radio.js +44 -22
- 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 +14 -5
- package/dist/es/components/tab/daikin-tab.d.ts +7 -2
- package/dist/es/components/tab/daikin-tab.js +24 -9
- 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 +8 -5
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +6 -2
- package/dist/es/components/table-cell/daikin-table-cell.js +7 -4
- 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 +7 -4
- 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 +15 -6
- package/dist/es/components/text-field/daikin-text-field.d.ts +7 -2
- package/dist/es/components/text-field/daikin-text-field.js +15 -6
- 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 +7 -4
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +16 -6
- package/dist/es/components/tooltip/daikin-tooltip.js +41 -29
- package/dist/es/components/tree/daikin-tree.d.ts +13 -14
- package/dist/es/components/tree/daikin-tree.js +35 -36
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +9 -9
- package/dist/es/components/tree-item/daikin-tree-item.js +21 -17
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +10 -20
- package/dist/es/components/tree-section/daikin-tree-section.js +25 -40
- package/dist/es/controllers/click-outside.d.ts +1 -1
- package/dist/es/index.js +10 -2
- package/dist/es/tailwind.css.js +1 -1
- 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 +36 -76
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +2 -2
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.js +7 -4
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +2 -2
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +7 -4
- package/dist/es-dev/components/button/daikin-button.d.ts +6 -3
- package/dist/es-dev/components/button/daikin-button.js +19 -7
- package/dist/es-dev/components/card/daikin-card.d.ts +8 -2
- package/dist/es-dev/components/card/daikin-card.js +10 -6
- package/dist/es-dev/components/card-footer/daikin-card-footer.d.ts +6 -2
- package/dist/es-dev/components/card-footer/daikin-card-footer.js +7 -7
- package/dist/es-dev/components/card-header/daikin-card-header.d.ts +6 -2
- package/dist/es-dev/components/card-header/daikin-card-header.js +8 -8
- 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 +33 -15
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +16 -2
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +15 -4
- 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 +11 -4
- package/dist/es-dev/components/icon/daikin-icon.d.ts +2 -2
- package/dist/es-dev/components/icon/daikin-icon.js +7 -4
- 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 +7 -4
- package/dist/es-dev/components/index.d.ts +5 -1
- package/dist/es-dev/components/index.js +10 -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 +15 -7
- package/dist/es-dev/components/input-group/daikin-input-group.js +11 -8
- package/dist/es-dev/components/link/daikin-link.d.ts +2 -2
- package/dist/es-dev/components/link/daikin-link.js +8 -5
- 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 +7 -4
- package/dist/es-dev/components/pagination/daikin-pagination.d.ts +6 -2
- package/dist/es-dev/components/pagination/daikin-pagination.js +21 -12
- 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 +12 -7
- 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 +15 -29
- 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 +23 -24
- package/dist/es-dev/components/radio/daikin-radio.d.ts +18 -8
- package/dist/es-dev/components/radio/daikin-radio.js +44 -22
- 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 +14 -5
- package/dist/es-dev/components/tab/daikin-tab.d.ts +7 -2
- package/dist/es-dev/components/tab/daikin-tab.js +24 -9
- 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 +8 -5
- 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 +7 -4
- 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 +7 -4
- 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 +15 -6
- 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 +15 -6
- 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 +7 -4
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +16 -6
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +41 -29
- package/dist/es-dev/components/tree/daikin-tree.d.ts +13 -14
- package/dist/es-dev/components/tree/daikin-tree.js +35 -36
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +9 -9
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +21 -17
- package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +10 -20
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +25 -40
- package/dist/es-dev/controllers/click-outside.d.ts +1 -1
- package/dist/es-dev/index.js +10 -2
- package/dist/es-dev/tailwind.css.js +1 -1
- 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/status-negative.svg +4 -2
- package/icons/status-warning.svg +2 -4
- package/package.json +54 -50
- package/dist/cjs/components/notification/daikin-notification.cjs +0 -196
- 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/components/notification/daikin-notification.cjs +0 -196
- 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/components/notification/daikin-notification.d.ts +0 -77
- package/dist/es/components/notification/daikin-notification.js +0 -197
- 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/components/notification/daikin-notification.d.ts +0 -77
- package/dist/es-dev/components/notification/daikin-notification.js +0 -197
- 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
|
@@ -5,14 +5,17 @@ const lit = require("lit");
|
|
|
5
5
|
const decorators_js = require("lit/decorators.js");
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
7
|
const repeat_js = require("lit/directives/repeat.js");
|
|
8
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
9
|
+
const decorators = require("../../base/decorators.cjs");
|
|
10
|
+
require("../../base/define.cjs");
|
|
8
11
|
const tailwind = require("../../tailwind.css.cjs");
|
|
9
12
|
const paginationUtils = require("./pagination-utils.cjs");
|
|
10
13
|
var __defProp = Object.defineProperty;
|
|
11
14
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
-
var __decorateClass = (
|
|
15
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
13
16
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
-
for (var i =
|
|
15
|
-
if (decorator =
|
|
17
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
18
|
+
if (decorator = decorators2[i])
|
|
16
19
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
20
|
if (kind && result) __defProp(target, key, result);
|
|
18
21
|
return result;
|
|
@@ -27,13 +30,15 @@ const cvaPageButton = classVarianceAuthority.cva(
|
|
|
27
30
|
"justify-center",
|
|
28
31
|
"min-w-12",
|
|
29
32
|
"min-h-12",
|
|
33
|
+
"p-1",
|
|
30
34
|
"font-daikinSerif",
|
|
31
35
|
"text-base",
|
|
32
36
|
"not-italic",
|
|
33
37
|
"leading-6",
|
|
38
|
+
"bg-clip-content",
|
|
34
39
|
"focus-visible:outline",
|
|
35
40
|
"focus-visible:outline-2",
|
|
36
|
-
"focus-visible:outline-offset-
|
|
41
|
+
"focus-visible:outline-offset-[-2px]",
|
|
37
42
|
"focus-visible:outline-ddt-color-common-border-focus"
|
|
38
43
|
],
|
|
39
44
|
{
|
|
@@ -43,22 +48,22 @@ const cvaPageButton = classVarianceAuthority.cva(
|
|
|
43
48
|
"text-ddt-color-common-brand-default",
|
|
44
49
|
"focus-visible:text-ddt-color-common-brand-default",
|
|
45
50
|
"font-bold",
|
|
46
|
-
"hover:text-ddt-color-common-
|
|
47
|
-
"hover:bg-ddt-color-common-surface-
|
|
51
|
+
"hover:text-ddt-color-common-brand-hover",
|
|
52
|
+
"hover:bg-ddt-color-common-surface-brand-hover",
|
|
48
53
|
"active:text-ddt-color-common-brand-press",
|
|
49
|
-
"active:bg-ddt-color-common-surface-
|
|
54
|
+
"active:bg-ddt-color-common-surface-brand-press",
|
|
50
55
|
"after:bg-ddt-color-common-brand-default",
|
|
51
56
|
"after:content-['']",
|
|
52
57
|
"after:h-1",
|
|
53
58
|
"after:absolute",
|
|
54
|
-
"after:inset-
|
|
59
|
+
"after:inset-1",
|
|
55
60
|
"after:top-auto"
|
|
56
61
|
],
|
|
57
62
|
false: [
|
|
58
63
|
"font-normal",
|
|
59
64
|
"text-ddt-color-common-neutral-default",
|
|
60
65
|
"active:bg-ddt-color-common-surface-neutral-press",
|
|
61
|
-
"active:text-ddt-color-common-
|
|
66
|
+
"active:text-ddt-color-common-neutral-press",
|
|
62
67
|
"hover:bg-ddt-color-common-surface-neutral-hover",
|
|
63
68
|
"hover:text-ddt-color-common-neutral-hover"
|
|
64
69
|
]
|
|
@@ -103,10 +108,10 @@ const cvaChevronButton = classVarianceAuthority.cva([
|
|
|
103
108
|
"disabled:!text-ddt-color-common-disabled",
|
|
104
109
|
"focus-visible:outline",
|
|
105
110
|
"focus-visible:outline-2",
|
|
106
|
-
"focus-visible:outline-offset-
|
|
111
|
+
"focus-visible:outline-offset-[-2px]",
|
|
107
112
|
"focus-visible:outline-ddt-color-common-border-focus"
|
|
108
113
|
]);
|
|
109
|
-
exports.DaikinPagination = class DaikinPagination extends
|
|
114
|
+
exports.DaikinPagination = class DaikinPagination extends ddsElement.DDSElement {
|
|
110
115
|
constructor() {
|
|
111
116
|
super(...arguments);
|
|
112
117
|
this.current = 1;
|
|
@@ -134,7 +139,11 @@ exports.DaikinPagination = class DaikinPagination extends lit.LitElement {
|
|
|
134
139
|
this.window
|
|
135
140
|
);
|
|
136
141
|
return lit.html`
|
|
137
|
-
<div
|
|
142
|
+
<div
|
|
143
|
+
aria-label="Pagination"
|
|
144
|
+
role="navigation"
|
|
145
|
+
class="inline-flex flex-wrap"
|
|
146
|
+
>
|
|
138
147
|
<button
|
|
139
148
|
class=${cvaChevron}
|
|
140
149
|
type="button"
|
|
@@ -209,5 +218,5 @@ __decorateClass([
|
|
|
209
218
|
decorators_js.property({ type: Number, reflect: true })
|
|
210
219
|
], exports.DaikinPagination.prototype, "window", 2);
|
|
211
220
|
exports.DaikinPagination = __decorateClass([
|
|
212
|
-
|
|
221
|
+
decorators.ddsElement("daikin-pagination")
|
|
213
222
|
], exports.DaikinPagination);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
/**
|
|
3
3
|
* The pagination component is used to navigate through a list of items that are divided into multiple pages.
|
|
4
4
|
*
|
|
@@ -6,11 +6,15 @@ import { LitElement } from 'lit';
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
*
|
|
9
|
+
* ```js
|
|
10
|
+
* import "@daikin-oss/design-system-web-components/components/pagination/index.js";
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
9
13
|
* ```html
|
|
10
14
|
* <daikin-pagination window="5" total="20" current="3"></daikin-pagination>
|
|
11
15
|
* ```
|
|
12
16
|
*/
|
|
13
|
-
export declare class DaikinPagination extends
|
|
17
|
+
export declare class DaikinPagination extends DDSElement {
|
|
14
18
|
static readonly styles: import('lit').CSSResult;
|
|
15
19
|
/**
|
|
16
20
|
* The current page number, starting at 1.
|
|
@@ -3,13 +3,16 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const classVarianceAuthority = require("class-variance-authority");
|
|
4
4
|
const lit = require("lit");
|
|
5
5
|
const decorators_js = require("lit/decorators.js");
|
|
6
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
7
|
+
const decorators = require("../../base/decorators.cjs");
|
|
8
|
+
require("../../base/define.cjs");
|
|
6
9
|
const tailwind = require("../../tailwind.css.cjs");
|
|
7
10
|
var __defProp = Object.defineProperty;
|
|
8
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __decorateClass = (
|
|
12
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
10
13
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
11
|
-
for (var i =
|
|
12
|
-
if (decorator =
|
|
14
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators2[i])
|
|
13
16
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14
17
|
if (kind && result) __defProp(target, key, result);
|
|
15
18
|
return result;
|
|
@@ -17,7 +20,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
17
20
|
const cvaBar = classVarianceAuthority.cva(
|
|
18
21
|
[
|
|
19
22
|
"w-full",
|
|
20
|
-
"bg-ddt-color-common-
|
|
23
|
+
"bg-ddt-color-common-border-empty",
|
|
21
24
|
"overflow-hidden",
|
|
22
25
|
"relative",
|
|
23
26
|
"after:block",
|
|
@@ -53,7 +56,7 @@ const cvaBarContainer = classVarianceAuthority.cva(
|
|
|
53
56
|
"justify-between",
|
|
54
57
|
"items-center",
|
|
55
58
|
"text-ddt-color-common-text-primary",
|
|
56
|
-
"leading-
|
|
59
|
+
"leading-[130%]",
|
|
57
60
|
"font-bold"
|
|
58
61
|
],
|
|
59
62
|
{
|
|
@@ -62,12 +65,14 @@ const cvaBarContainer = classVarianceAuthority.cva(
|
|
|
62
65
|
inprogress: [],
|
|
63
66
|
completed: [
|
|
64
67
|
"after:size-4",
|
|
68
|
+
"after:flex-none",
|
|
65
69
|
"after:bg-ddt-color-common-success",
|
|
66
70
|
"after:i-daikin-status-positive"
|
|
67
71
|
],
|
|
68
72
|
indeterminate: [],
|
|
69
73
|
error: [
|
|
70
74
|
"after:size-4",
|
|
75
|
+
"after:flex-none",
|
|
71
76
|
"after:text-ddt-color-common-danger-default",
|
|
72
77
|
"after:i-daikin-status-error"
|
|
73
78
|
]
|
|
@@ -75,7 +80,7 @@ const cvaBarContainer = classVarianceAuthority.cva(
|
|
|
75
80
|
}
|
|
76
81
|
}
|
|
77
82
|
);
|
|
78
|
-
const cvaHelper = classVarianceAuthority.cva(["text-sm"], {
|
|
83
|
+
const cvaHelper = classVarianceAuthority.cva(["text-sm", "leading-[130%]"], {
|
|
79
84
|
variants: {
|
|
80
85
|
variant: {
|
|
81
86
|
inprogress: ["text-ddt-color-common-text-primary"],
|
|
@@ -89,7 +94,7 @@ const cvaHelper = classVarianceAuthority.cva(["text-sm"], {
|
|
|
89
94
|
}
|
|
90
95
|
}
|
|
91
96
|
});
|
|
92
|
-
exports.DaikinProgressBar = class DaikinProgressBar extends
|
|
97
|
+
exports.DaikinProgressBar = class DaikinProgressBar extends ddsElement.DDSElement {
|
|
93
98
|
constructor() {
|
|
94
99
|
super(...arguments);
|
|
95
100
|
this.variant = "inprogress";
|
|
@@ -167,5 +172,5 @@ __decorateClass([
|
|
|
167
172
|
decorators_js.property({ type: String })
|
|
168
173
|
], exports.DaikinProgressBar.prototype, "helper", 2);
|
|
169
174
|
exports.DaikinProgressBar = __decorateClass([
|
|
170
|
-
|
|
175
|
+
decorators.ddsElement("daikin-progress-bar")
|
|
171
176
|
], exports.DaikinProgressBar);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
3
|
import { MergeVariantProps } from "../../type-utils.cjs";
|
|
3
4
|
declare const cvaBar: (props?: ({
|
|
4
5
|
variant?: "error" | "indeterminate" | "inprogress" | "completed" | null | undefined;
|
|
@@ -33,7 +34,7 @@ type ProgressBarVariantProps = MergeVariantProps<typeof cvaBar | typeof cvaHelpe
|
|
|
33
34
|
* </daikin-progress-bar>
|
|
34
35
|
* ```
|
|
35
36
|
*/
|
|
36
|
-
export declare class DaikinProgressBar extends
|
|
37
|
+
export declare class DaikinProgressBar extends DDSElement {
|
|
37
38
|
static readonly styles: import('lit').CSSResult;
|
|
38
39
|
/**
|
|
39
40
|
* Variant of the progress bar.
|
|
@@ -2,37 +2,33 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const lit = require("lit");
|
|
4
4
|
const decorators_js = require("lit/decorators.js");
|
|
5
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
6
|
+
const decorators = require("../../base/decorators.cjs");
|
|
7
|
+
require("../../base/define.cjs");
|
|
5
8
|
const tailwind = require("../../tailwind.css.cjs");
|
|
6
9
|
var __defProp = Object.defineProperty;
|
|
7
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
-
var __decorateClass = (
|
|
11
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
9
12
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
-
for (var i =
|
|
11
|
-
if (decorator =
|
|
13
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators2[i])
|
|
12
15
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13
16
|
if (kind && result) __defProp(target, key, result);
|
|
14
17
|
return result;
|
|
15
18
|
};
|
|
16
|
-
exports.DaikinProgressIndicator = class DaikinProgressIndicator extends
|
|
19
|
+
exports.DaikinProgressIndicator = class DaikinProgressIndicator extends ddsElement.DDSElement {
|
|
17
20
|
constructor() {
|
|
18
21
|
super(...arguments);
|
|
19
|
-
this.currentItem =
|
|
22
|
+
this.currentItem = 0;
|
|
20
23
|
}
|
|
21
|
-
|
|
24
|
+
_updateSteps() {
|
|
22
25
|
const items = this._items;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
if (items.length - 1 < this.currentItem) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (this.currentItem < 0) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
items.forEach((item, i) => item.current = this.currentItem === i);
|
|
26
|
+
items.forEach((item, i) => {
|
|
27
|
+
item.status = i < this.currentItem ? "finished" : i === this.currentItem ? "inprogress" : "unfinished";
|
|
28
|
+
});
|
|
33
29
|
}
|
|
34
30
|
_handleSlotChange() {
|
|
35
|
-
this.
|
|
31
|
+
this._updateSteps();
|
|
36
32
|
}
|
|
37
33
|
render() {
|
|
38
34
|
return lit.html`<div
|
|
@@ -43,11 +39,11 @@ exports.DaikinProgressIndicator = class DaikinProgressIndicator extends lit.LitE
|
|
|
43
39
|
</div>`;
|
|
44
40
|
}
|
|
45
41
|
firstUpdated() {
|
|
46
|
-
this.
|
|
42
|
+
this._updateSteps();
|
|
47
43
|
}
|
|
48
44
|
updated(changedProperties) {
|
|
49
45
|
if (changedProperties.has("currentItem")) {
|
|
50
|
-
this.
|
|
46
|
+
this._updateSteps();
|
|
51
47
|
}
|
|
52
48
|
}
|
|
53
49
|
};
|
|
@@ -66,5 +62,5 @@ __decorateClass([
|
|
|
66
62
|
decorators_js.queryAssignedElements({ selector: "daikin-progress-indicator-item" })
|
|
67
63
|
], exports.DaikinProgressIndicator.prototype, "_items", 2);
|
|
68
64
|
exports.DaikinProgressIndicator = __decorateClass([
|
|
69
|
-
|
|
65
|
+
decorators.ddsElement("daikin-progress-indicator")
|
|
70
66
|
], exports.DaikinProgressIndicator);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
3
|
/**
|
|
3
4
|
* The progress indicator is used to let the user know where they are in the task list.
|
|
4
5
|
*
|
|
@@ -9,6 +10,11 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
*
|
|
13
|
+
* ```js
|
|
14
|
+
* import "@daikin-oss/design-system-web-components/components/progress-indicator/index.js";
|
|
15
|
+
* import "@daikin-oss/design-system-web-components/components/progress-indicator-item/index.js";
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
12
18
|
* ```html
|
|
13
19
|
* <daikin-progress-indicator>
|
|
14
20
|
* <daikin-progress-indicator-item state="unfinished">
|
|
@@ -26,14 +32,15 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
26
32
|
* </daikin-progress-indicator>
|
|
27
33
|
* ```
|
|
28
34
|
*/
|
|
29
|
-
export declare class DaikinProgressIndicator extends
|
|
35
|
+
export declare class DaikinProgressIndicator extends DDSElement {
|
|
30
36
|
static readonly styles: import('lit').CSSResult;
|
|
31
37
|
/**
|
|
32
|
-
* Specify the index
|
|
38
|
+
* Specify the index of the step that is currently in progress, starting from 0. This will automatically set the status of each step.
|
|
39
|
+
* To mark all steps as upcoming, specify a number less or equal to -1. To mark all steps as completed, specify a number greater than or equal to the number of steps.
|
|
33
40
|
*/
|
|
34
|
-
currentItem: number
|
|
41
|
+
currentItem: number;
|
|
35
42
|
private readonly _items;
|
|
36
|
-
private
|
|
43
|
+
private _updateSteps;
|
|
37
44
|
private _handleSlotChange;
|
|
38
45
|
render(): import('lit-html').TemplateResult<1>;
|
|
39
46
|
protected firstUpdated(): void;
|
|
@@ -4,14 +4,17 @@ const classVarianceAuthority = require("class-variance-authority");
|
|
|
4
4
|
const lit = require("lit");
|
|
5
5
|
const decorators_js = require("lit/decorators.js");
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
8
|
+
const decorators = require("../../base/decorators.cjs");
|
|
9
|
+
require("../../base/define.cjs");
|
|
7
10
|
const tailwind = require("../../tailwind.css.cjs");
|
|
8
11
|
require("../icon/daikin-icon.cjs");
|
|
9
12
|
var __defProp = Object.defineProperty;
|
|
10
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
-
var __decorateClass = (
|
|
14
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
12
15
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
13
|
-
for (var i =
|
|
14
|
-
if (decorator =
|
|
16
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
17
|
+
if (decorator = decorators2[i])
|
|
15
18
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
16
19
|
if (kind && result) __defProp(target, key, result);
|
|
17
20
|
return result;
|
|
@@ -19,48 +22,47 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
19
22
|
const cvaContainer = classVarianceAuthority.cva(
|
|
20
23
|
[
|
|
21
24
|
"flex",
|
|
22
|
-
"
|
|
23
|
-
"gap-1",
|
|
25
|
+
"gap-2",
|
|
24
26
|
"w-full",
|
|
25
27
|
"text-ddt-color-common-text-primary",
|
|
26
28
|
"pt-2",
|
|
27
29
|
"border-t-[0.25rem]",
|
|
28
|
-
"font-daikinSerif"
|
|
29
|
-
"leading-[130%]"
|
|
30
|
+
"font-daikinSerif"
|
|
30
31
|
],
|
|
31
32
|
{
|
|
32
33
|
variants: {
|
|
33
34
|
status: {
|
|
34
|
-
unfinished: ["border-ddt-color-common-
|
|
35
|
+
unfinished: ["border-ddt-color-common-border-empty"],
|
|
35
36
|
inprogress: ["border-ddt-color-common-brand-default"],
|
|
36
37
|
finished: ["border-ddt-color-common-brand-default"]
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
);
|
|
41
|
-
exports.DaikinProgressIndicatorItem = class DaikinProgressIndicatorItem extends
|
|
42
|
+
exports.DaikinProgressIndicatorItem = class DaikinProgressIndicatorItem extends ddsElement.DDSElement {
|
|
42
43
|
constructor() {
|
|
43
44
|
super(...arguments);
|
|
44
45
|
this.status = "unfinished";
|
|
45
|
-
this.current = false;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
return lit.html`<div
|
|
49
49
|
class=${cvaContainer({ status: this.status })}
|
|
50
50
|
role="listitem"
|
|
51
|
-
aria-current=${ifDefined_js.ifDefined(
|
|
51
|
+
aria-current=${ifDefined_js.ifDefined(
|
|
52
|
+
this.status === "inprogress" ? "step" : void 0
|
|
53
|
+
)}
|
|
52
54
|
>
|
|
53
|
-
<div class="flex
|
|
54
|
-
<slot></slot>
|
|
55
|
-
|
|
56
|
-
<span
|
|
57
|
-
role="img"
|
|
58
|
-
class="flex-none size-4 i-daikin-status-positive text-ddt-color-common-brand-default"
|
|
59
|
-
aria-label="Completed"
|
|
60
|
-
></span>
|
|
61
|
-
` : lit.nothing}
|
|
55
|
+
<div class="flex flex-col gap-1 w-full">
|
|
56
|
+
<slot class="font-bold leading-[130%]"></slot>
|
|
57
|
+
<slot name="description" class="text-sm leading-[130%]"></slot>
|
|
62
58
|
</div>
|
|
63
|
-
|
|
59
|
+
${this.status === "finished" ? lit.html`
|
|
60
|
+
<span
|
|
61
|
+
role="img"
|
|
62
|
+
class="flex-none size-4 i-daikin-status-positive text-ddt-color-common-brand-default"
|
|
63
|
+
aria-label="Completed"
|
|
64
|
+
></span>
|
|
65
|
+
` : lit.nothing}
|
|
64
66
|
</div>`;
|
|
65
67
|
}
|
|
66
68
|
};
|
|
@@ -76,9 +78,6 @@ exports.DaikinProgressIndicatorItem.styles = lit.css`
|
|
|
76
78
|
__decorateClass([
|
|
77
79
|
decorators_js.property({ type: String, reflect: true })
|
|
78
80
|
], exports.DaikinProgressIndicatorItem.prototype, "status", 2);
|
|
79
|
-
__decorateClass([
|
|
80
|
-
decorators_js.property({ type: Boolean, reflect: true })
|
|
81
|
-
], exports.DaikinProgressIndicatorItem.prototype, "current", 2);
|
|
82
81
|
exports.DaikinProgressIndicatorItem = __decorateClass([
|
|
83
|
-
|
|
82
|
+
decorators.ddsElement("daikin-progress-indicator-item")
|
|
84
83
|
], exports.DaikinProgressIndicatorItem);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
import { MergeVariantProps } from "../../type-utils.cjs";
|
|
3
3
|
declare const cvaContainer: (props?: ({
|
|
4
4
|
status?: "inprogress" | "unfinished" | "finished" | null | undefined;
|
|
@@ -17,6 +17,10 @@ type ProgressIndicatorItemVariantProps = MergeVariantProps<typeof cvaContainer>;
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
*
|
|
20
|
+
* ```js
|
|
21
|
+
* import "@daikin-oss/design-system-web-components/components/progress-indicator-item/index.js";
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
20
24
|
* ```html
|
|
21
25
|
* <daikin-progress-indicator-item state="unfinished">
|
|
22
26
|
* Progress indicator label
|
|
@@ -24,13 +28,13 @@ type ProgressIndicatorItemVariantProps = MergeVariantProps<typeof cvaContainer>;
|
|
|
24
28
|
* </daikin-progress-indicator-item>
|
|
25
29
|
* ```
|
|
26
30
|
*/
|
|
27
|
-
export declare class DaikinProgressIndicatorItem extends
|
|
31
|
+
export declare class DaikinProgressIndicatorItem extends DDSElement {
|
|
28
32
|
static readonly styles: import('lit').CSSResult;
|
|
29
33
|
/**
|
|
30
|
-
* Status of the progress indicator item
|
|
34
|
+
* Status of the progress indicator item.
|
|
35
|
+
* Controlled by `daikin-progress-indicator`.
|
|
31
36
|
*/
|
|
32
37
|
status: ProgressIndicatorItemVariantProps["status"];
|
|
33
|
-
current: boolean;
|
|
34
38
|
render(): import('lit-html').TemplateResult<1>;
|
|
35
39
|
}
|
|
36
40
|
declare global {
|
|
@@ -4,13 +4,16 @@ const classVarianceAuthority = require("class-variance-authority");
|
|
|
4
4
|
const lit = require("lit");
|
|
5
5
|
const decorators_js = require("lit/decorators.js");
|
|
6
6
|
const ifDefined_js = require("lit/directives/if-defined.js");
|
|
7
|
+
const ddsElement = require("../../base/dds-element.cjs");
|
|
8
|
+
const decorators = require("../../base/decorators.cjs");
|
|
9
|
+
require("../../base/define.cjs");
|
|
7
10
|
const tailwind = require("../../tailwind.css.cjs");
|
|
8
11
|
var __defProp = Object.defineProperty;
|
|
9
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
|
-
var __decorateClass = (
|
|
13
|
+
var __decorateClass = (decorators2, target, key, kind) => {
|
|
11
14
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
12
|
-
for (var i =
|
|
13
|
-
if (decorator =
|
|
15
|
+
for (var i = decorators2.length - 1, decorator; i >= 0; i--)
|
|
16
|
+
if (decorator = decorators2[i])
|
|
14
17
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
15
18
|
if (kind && result) __defProp(target, key, result);
|
|
16
19
|
return result;
|
|
@@ -39,15 +42,19 @@ const RADIO_CLASS_NAME = classVarianceAuthority.cva([
|
|
|
39
42
|
"enabled:checked:group-active:border-ddt-color-common-brand-press",
|
|
40
43
|
"disabled:border-ddt-color-common-disabled"
|
|
41
44
|
])();
|
|
42
|
-
const cvaLabel = classVarianceAuthority.cva([
|
|
45
|
+
const cvaLabel = classVarianceAuthority.cva([], {
|
|
43
46
|
variants: {
|
|
44
47
|
disabled: {
|
|
45
48
|
false: ["text-ddt-color-common-text-primary"],
|
|
46
49
|
true: ["text-ddt-color-common-disabled"]
|
|
50
|
+
},
|
|
51
|
+
hidden: {
|
|
52
|
+
false: ["inline-block"],
|
|
53
|
+
true: ["hidden"]
|
|
47
54
|
}
|
|
48
55
|
}
|
|
49
56
|
});
|
|
50
|
-
exports.DaikinRadio = class DaikinRadio extends
|
|
57
|
+
exports.DaikinRadio = class DaikinRadio extends ddsElement.DDSElement {
|
|
51
58
|
constructor() {
|
|
52
59
|
super(...arguments);
|
|
53
60
|
this.name = "";
|
|
@@ -56,24 +63,24 @@ exports.DaikinRadio = class DaikinRadio extends lit.LitElement {
|
|
|
56
63
|
this.labelPosition = "right";
|
|
57
64
|
this.checked = false;
|
|
58
65
|
this.disabled = false;
|
|
66
|
+
this.disabledByParent = false;
|
|
59
67
|
this.skipTab = false;
|
|
60
68
|
this._internals = this.attachInternals();
|
|
61
69
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
* @param options focus options
|
|
65
|
-
*/
|
|
66
|
-
focus(options) {
|
|
67
|
-
var _a;
|
|
68
|
-
(_a = this._radio) == null ? void 0 : _a.focus(options);
|
|
70
|
+
get _labelHidden() {
|
|
71
|
+
return this.labelPosition === "hidden";
|
|
69
72
|
}
|
|
70
73
|
_updateFormValue() {
|
|
71
74
|
this._internals.setFormValue(this.checked ? this.value : null);
|
|
72
75
|
}
|
|
73
76
|
_handleClick(event) {
|
|
77
|
+
var _a;
|
|
74
78
|
if (this.disabled) {
|
|
75
79
|
event.preventDefault();
|
|
76
80
|
}
|
|
81
|
+
if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT") {
|
|
82
|
+
event.stopPropagation();
|
|
83
|
+
}
|
|
77
84
|
}
|
|
78
85
|
_handleChange(event) {
|
|
79
86
|
this.checked = event.target.checked;
|
|
@@ -86,29 +93,33 @@ exports.DaikinRadio = class DaikinRadio extends lit.LitElement {
|
|
|
86
93
|
);
|
|
87
94
|
}
|
|
88
95
|
render() {
|
|
89
|
-
|
|
96
|
+
const disabled = this.disabled || this.disabledByParent;
|
|
97
|
+
return lit.html`<label
|
|
98
|
+
class="group flex gap-2 items-center size-full font-daikinSerif"
|
|
99
|
+
@click=${this._handleClick}
|
|
100
|
+
>
|
|
90
101
|
<span class="p-2">
|
|
91
102
|
<input
|
|
92
103
|
class=${RADIO_CLASS_NAME}
|
|
93
104
|
type="radio"
|
|
94
105
|
name=${this.name}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
?disabled=${
|
|
106
|
+
aria-label=${this._labelHidden ? this.label : lit.nothing}
|
|
107
|
+
tabindex=${ifDefined_js.ifDefined(this.skipTab ? "-1" : void 0)}
|
|
108
|
+
?disabled=${disabled}
|
|
98
109
|
.checked=${this.checked}
|
|
99
|
-
|
|
110
|
+
.value=${this.value}
|
|
100
111
|
@change=${this._handleChange}
|
|
101
|
-
tabindex=${ifDefined_js.ifDefined(this.skipTab ? "-1" : void 0)}
|
|
102
112
|
/>
|
|
103
113
|
</span>
|
|
104
|
-
<
|
|
114
|
+
<slot
|
|
105
115
|
class=${cvaLabel({
|
|
106
|
-
disabled
|
|
116
|
+
disabled,
|
|
117
|
+
hidden: this._labelHidden
|
|
107
118
|
})}
|
|
108
|
-
?hidden=${this.
|
|
119
|
+
?hidden=${this._labelHidden}
|
|
109
120
|
>
|
|
110
121
|
${this.label}
|
|
111
|
-
</
|
|
122
|
+
</slot>
|
|
112
123
|
</label>`;
|
|
113
124
|
}
|
|
114
125
|
updated(changedProperties) {
|
|
@@ -116,6 +127,14 @@ exports.DaikinRadio = class DaikinRadio extends lit.LitElement {
|
|
|
116
127
|
this._updateFormValue();
|
|
117
128
|
}
|
|
118
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Focuses on the inner radio.
|
|
132
|
+
* @param options focus options
|
|
133
|
+
*/
|
|
134
|
+
focus(options) {
|
|
135
|
+
var _a;
|
|
136
|
+
(_a = this._radio) == null ? void 0 : _a.focus(options);
|
|
137
|
+
}
|
|
119
138
|
};
|
|
120
139
|
exports.DaikinRadio.styles = lit.css`
|
|
121
140
|
${lit.unsafeCSS(tailwind.default)}
|
|
@@ -143,6 +162,9 @@ __decorateClass([
|
|
|
143
162
|
__decorateClass([
|
|
144
163
|
decorators_js.property({ type: Boolean, reflect: true })
|
|
145
164
|
], exports.DaikinRadio.prototype, "disabled", 2);
|
|
165
|
+
__decorateClass([
|
|
166
|
+
decorators_js.property({ type: Boolean, reflect: true, attribute: false })
|
|
167
|
+
], exports.DaikinRadio.prototype, "disabledByParent", 2);
|
|
146
168
|
__decorateClass([
|
|
147
169
|
decorators_js.property({ type: Boolean, attribute: false })
|
|
148
170
|
], exports.DaikinRadio.prototype, "skipTab", 2);
|
|
@@ -150,5 +172,5 @@ __decorateClass([
|
|
|
150
172
|
decorators_js.query("input")
|
|
151
173
|
], exports.DaikinRadio.prototype, "_radio", 2);
|
|
152
174
|
exports.DaikinRadio = __decorateClass([
|
|
153
|
-
|
|
175
|
+
decorators.ddsElement("daikin-radio")
|
|
154
176
|
], exports.DaikinRadio);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DDSElement } from "../../base/index.cjs";
|
|
2
2
|
/**
|
|
3
3
|
* The radio button component is a UI element that allows users to select one options from a set of choices.
|
|
4
4
|
* It functions similarly to the HTML `<input type="radio">` tag. \
|
|
@@ -9,6 +9,8 @@ import { LitElement } from 'lit';
|
|
|
9
9
|
*
|
|
10
10
|
* @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `<input type="radio">` element.
|
|
11
11
|
*
|
|
12
|
+
* @slot - A slot for the radio label content.
|
|
13
|
+
*
|
|
12
14
|
* @example
|
|
13
15
|
*
|
|
14
16
|
* ```js
|
|
@@ -19,7 +21,7 @@ import { LitElement } from 'lit';
|
|
|
19
21
|
* <daikin-radio name="name" value="value" label="Radio button label"></daikin-radio>
|
|
20
22
|
* ```
|
|
21
23
|
*/
|
|
22
|
-
export declare class DaikinRadio extends
|
|
24
|
+
export declare class DaikinRadio extends DDSElement {
|
|
23
25
|
static readonly styles: import('lit').CSSResult;
|
|
24
26
|
/**
|
|
25
27
|
* The form name, submitted as a name/value pair when submitting the form.
|
|
@@ -47,24 +49,32 @@ export declare class DaikinRadio extends LitElement {
|
|
|
47
49
|
* Specify the radio button disabled state.
|
|
48
50
|
*/
|
|
49
51
|
disabled: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Specify the radio disabled state controlled by the parent component.
|
|
54
|
+
* Controlled by `daikin-radio-group`.
|
|
55
|
+
*
|
|
56
|
+
* @private
|
|
57
|
+
*/
|
|
58
|
+
disabledByParent: boolean;
|
|
50
59
|
/**
|
|
51
60
|
* Whether the radio button can be focused.
|
|
52
61
|
* Automatically set by `daikin-radio-group` component.
|
|
53
62
|
*/
|
|
54
63
|
skipTab: boolean;
|
|
55
|
-
static readonly formAssociated = true;
|
|
56
64
|
private _radio;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
* @param options focus options
|
|
60
|
-
*/
|
|
61
|
-
focus(options?: FocusOptions): void;
|
|
65
|
+
static readonly formAssociated = true;
|
|
66
|
+
private get _labelHidden();
|
|
62
67
|
private _internals;
|
|
63
68
|
private _updateFormValue;
|
|
64
69
|
private _handleClick;
|
|
65
70
|
private _handleChange;
|
|
66
71
|
render(): import('lit-html').TemplateResult<1>;
|
|
67
72
|
updated(changedProperties: Map<string, unknown>): void;
|
|
73
|
+
/**
|
|
74
|
+
* Focuses on the inner radio.
|
|
75
|
+
* @param options focus options
|
|
76
|
+
*/
|
|
77
|
+
focus(options?: FocusOptions): void;
|
|
68
78
|
}
|
|
69
79
|
declare global {
|
|
70
80
|
interface HTMLElementTagNameMap {
|