@daikin-oss/design-system-web-components 1.6.0 → 2.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 +184 -0
- package/custom-elements.json +2639 -1328
- package/dist/cjs/base/dds-element.cjs +1 -1
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +25 -8
- package/dist/cjs/components/accordion-item/daikin-accordion-item.d.cts +1 -0
- package/dist/cjs/components/breadcrumb/daikin-breadcrumb.d.cts +1 -1
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +9 -6
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +1 -0
- package/dist/cjs/components/calendar/daikin-calendar.cjs +73 -26
- package/dist/cjs/components/calendar/daikin-calendar.d.cts +13 -0
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +190 -52
- package/dist/cjs/components/checkbox/daikin-checkbox.d.cts +18 -0
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.cjs +7 -1
- package/dist/cjs/components/checkbox-group/daikin-checkbox-group.d.cts +5 -0
- package/dist/cjs/components/chip/daikin-chip.cjs +195 -93
- package/dist/cjs/components/chip/daikin-chip.d.cts +20 -0
- package/dist/cjs/components/combobox/daikin-combobox.cjs +111 -33
- package/dist/cjs/components/combobox/daikin-combobox.d.cts +10 -0
- package/dist/cjs/components/date-picker/daikin-date-picker.cjs +243 -65
- package/dist/cjs/components/date-picker/daikin-date-picker.d.cts +37 -2
- package/dist/cjs/components/drawer/daikin-drawer.cjs +1 -1
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +164 -32
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +13 -0
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +13 -6
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +2 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +2 -0
- package/dist/cjs/components/index.cjs +2 -2
- package/dist/cjs/components/input-group/daikin-input-group.cjs +88 -30
- package/dist/cjs/components/input-group/daikin-input-group.d.cts +10 -0
- package/dist/cjs/components/list-item/daikin-list-item.cjs +21 -10
- package/dist/cjs/components/list-item/daikin-list-item.d.cts +9 -0
- package/dist/cjs/components/logo/daikin-logo.cjs +1 -1
- package/dist/cjs/components/logo/daikin-logo.d.cts +2 -2
- package/dist/cjs/components/menu/daikin-menu.cjs +2 -2
- package/dist/cjs/components/modal-header/daikin-modal-header.cjs +10 -4
- package/dist/cjs/components/modal-header/daikin-modal-header.d.cts +1 -0
- package/dist/cjs/components/navigation/daikin-navigation.cjs +21 -0
- package/dist/cjs/components/navigation/daikin-navigation.d.cts +9 -0
- package/dist/cjs/components/navigation-item/daikin-navigation-item.cjs +18 -14
- package/dist/cjs/components/pagination/daikin-pagination.cjs +60 -19
- package/dist/cjs/components/pagination/daikin-pagination.d.cts +11 -0
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +27 -19
- package/dist/cjs/components/progress-bar/daikin-progress-bar.d.cts +1 -0
- package/dist/cjs/components/radio/daikin-radio.cjs +160 -35
- package/dist/cjs/components/radio/daikin-radio.d.cts +26 -0
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +10 -1
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +4 -0
- package/dist/cjs/components/select/daikin-select.cjs +128 -21
- package/dist/cjs/components/select/daikin-select.d.cts +11 -0
- package/dist/cjs/components/slider/daikin-slider.cjs +61 -16
- package/dist/cjs/components/slider/daikin-slider.d.cts +4 -0
- package/dist/cjs/components/status-message/daikin-status-message.cjs +1 -0
- package/dist/cjs/components/status-message/daikin-status-message.d.cts +2 -0
- package/dist/cjs/components/table/daikin-table.cjs +108 -16
- package/dist/cjs/components/table/daikin-table.d.cts +58 -1
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +3 -4
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +21 -15
- package/dist/cjs/components/tag/daikin-tag.cjs +99 -20
- package/dist/cjs/components/tag/daikin-tag.d.cts +14 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +22 -2
- package/dist/cjs/components/text-field/daikin-text-field.cjs +96 -50
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +9 -0
- package/dist/cjs/components/text-field/number-utils.cjs +51 -19
- package/dist/cjs/components/text-field/number-utils.d.cts +7 -0
- package/dist/cjs/components/text-masked-field/daikin-text-masked-field.cjs +31 -7
- package/dist/cjs/components/time-picker/daikin-time-picker.cjs +325 -108
- package/dist/cjs/components/time-picker/daikin-time-picker.d.cts +57 -14
- package/dist/cjs/components/time-picker/index.cjs +2 -2
- package/dist/cjs/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
- package/dist/cjs/components/toggle/daikin-toggle.cjs +110 -35
- package/dist/cjs/components/toggle/daikin-toggle.d.cts +5 -0
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +1 -1
- package/dist/cjs/components/tree-item/daikin-tree-item.cjs +24 -8
- package/dist/cjs/components/tree-item/daikin-tree-item.d.cts +1 -0
- package/dist/cjs/components/tree-section/daikin-tree-section.cjs +7 -1
- package/dist/cjs/components/tree-section/daikin-tree-section.d.cts +1 -0
- package/dist/cjs/components/vertical-navigation/daikin-vertical-navigation.cjs +1 -1
- package/dist/cjs/components/vertical-navigation-item/daikin-vertical-navigation-item.cjs +248 -38
- package/dist/cjs/components/vertical-navigation-item/daikin-vertical-navigation-item.d.cts +17 -7
- package/dist/cjs/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.cjs +103 -33
- package/dist/cjs/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.d.cts +6 -1
- package/dist/cjs/controllers/custom-readonly.cjs +59 -0
- package/dist/cjs/controllers/custom-readonly.d.cts +28 -0
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/tailwind.css.cjs +1 -1
- package/dist/cjs/utils/calendar-common.cjs +6 -2
- package/dist/cjs/utils/calendar-common.d.cts +1 -1
- package/dist/cjs/utils/extract-half-width-digits.cjs +11 -0
- package/dist/cjs/utils/extract-half-width-digits.d.cts +15 -0
- package/dist/cjs-dev/base/dds-element.cjs +1 -1
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +25 -8
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.d.cts +1 -0
- package/dist/cjs-dev/components/breadcrumb/daikin-breadcrumb.d.cts +1 -1
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +9 -6
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.cts +1 -0
- package/dist/cjs-dev/components/calendar/daikin-calendar.cjs +73 -26
- package/dist/cjs-dev/components/calendar/daikin-calendar.d.cts +13 -0
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +190 -52
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.d.cts +18 -0
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.cjs +7 -1
- package/dist/cjs-dev/components/checkbox-group/daikin-checkbox-group.d.cts +5 -0
- package/dist/cjs-dev/components/chip/daikin-chip.cjs +195 -93
- package/dist/cjs-dev/components/chip/daikin-chip.d.cts +20 -0
- package/dist/cjs-dev/components/combobox/daikin-combobox.cjs +111 -33
- package/dist/cjs-dev/components/combobox/daikin-combobox.d.cts +10 -0
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.cjs +243 -65
- package/dist/cjs-dev/components/date-picker/daikin-date-picker.d.cts +37 -2
- package/dist/cjs-dev/components/drawer/daikin-drawer.cjs +1 -1
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +164 -32
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +13 -0
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +13 -6
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +2 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +2 -0
- package/dist/cjs-dev/components/index.cjs +2 -2
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +88 -30
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +10 -0
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +21 -10
- package/dist/cjs-dev/components/list-item/daikin-list-item.d.cts +9 -0
- package/dist/cjs-dev/components/logo/daikin-logo.cjs +1 -1
- package/dist/cjs-dev/components/logo/daikin-logo.d.cts +2 -2
- package/dist/cjs-dev/components/menu/daikin-menu.cjs +2 -2
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.cjs +10 -4
- package/dist/cjs-dev/components/modal-header/daikin-modal-header.d.cts +1 -0
- package/dist/cjs-dev/components/navigation/daikin-navigation.cjs +21 -0
- package/dist/cjs-dev/components/navigation/daikin-navigation.d.cts +9 -0
- package/dist/cjs-dev/components/navigation-item/daikin-navigation-item.cjs +18 -14
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +60 -19
- package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +11 -0
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +27 -19
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.d.cts +1 -0
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +160 -35
- package/dist/cjs-dev/components/radio/daikin-radio.d.cts +26 -0
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +10 -1
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +4 -0
- package/dist/cjs-dev/components/select/daikin-select.cjs +128 -21
- package/dist/cjs-dev/components/select/daikin-select.d.cts +11 -0
- package/dist/cjs-dev/components/slider/daikin-slider.cjs +61 -16
- package/dist/cjs-dev/components/slider/daikin-slider.d.cts +4 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.cjs +1 -0
- package/dist/cjs-dev/components/status-message/daikin-status-message.d.cts +2 -0
- package/dist/cjs-dev/components/table/daikin-table.cjs +108 -16
- package/dist/cjs-dev/components/table/daikin-table.d.cts +58 -1
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +3 -4
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +21 -15
- package/dist/cjs-dev/components/tag/daikin-tag.cjs +99 -20
- package/dist/cjs-dev/components/tag/daikin-tag.d.cts +14 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +22 -2
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +96 -50
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +9 -0
- package/dist/cjs-dev/components/text-field/number-utils.cjs +51 -19
- package/dist/cjs-dev/components/text-field/number-utils.d.cts +7 -0
- package/dist/cjs-dev/components/text-masked-field/daikin-text-masked-field.cjs +31 -7
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.cjs +325 -108
- package/dist/cjs-dev/components/time-picker/daikin-time-picker.d.cts +57 -14
- package/dist/cjs-dev/components/time-picker/index.cjs +2 -2
- package/dist/cjs-dev/components/toast-notification-manager/daikin-toast-notification-manager.cjs +1 -1
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +110 -35
- package/dist/cjs-dev/components/toggle/daikin-toggle.d.cts +5 -0
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +1 -1
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.cjs +24 -8
- package/dist/cjs-dev/components/tree-item/daikin-tree-item.d.cts +1 -0
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.cjs +7 -1
- package/dist/cjs-dev/components/tree-section/daikin-tree-section.d.cts +1 -0
- package/dist/cjs-dev/components/vertical-navigation/daikin-vertical-navigation.cjs +1 -1
- package/dist/cjs-dev/components/vertical-navigation-item/daikin-vertical-navigation-item.cjs +248 -38
- package/dist/cjs-dev/components/vertical-navigation-item/daikin-vertical-navigation-item.d.cts +17 -7
- package/dist/cjs-dev/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.cjs +103 -33
- package/dist/cjs-dev/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.d.cts +6 -1
- package/dist/cjs-dev/controllers/custom-readonly.cjs +59 -0
- package/dist/cjs-dev/controllers/custom-readonly.d.cts +28 -0
- package/dist/cjs-dev/index.cjs +2 -2
- package/dist/cjs-dev/tailwind.css.cjs +1 -1
- package/dist/cjs-dev/utils/calendar-common.cjs +6 -2
- package/dist/cjs-dev/utils/calendar-common.d.cts +1 -1
- package/dist/cjs-dev/utils/extract-half-width-digits.cjs +11 -0
- package/dist/cjs-dev/utils/extract-half-width-digits.d.cts +15 -0
- package/dist/es/base/dds-element.js +1 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +1 -0
- package/dist/es/components/accordion-item/daikin-accordion-item.js +25 -8
- package/dist/es/components/breadcrumb/daikin-breadcrumb.d.ts +1 -1
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +1 -0
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +9 -6
- package/dist/es/components/calendar/daikin-calendar.d.ts +13 -0
- package/dist/es/components/calendar/daikin-calendar.js +73 -26
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +18 -0
- package/dist/es/components/checkbox/daikin-checkbox.js +190 -52
- package/dist/es/components/checkbox-group/daikin-checkbox-group.d.ts +5 -0
- package/dist/es/components/checkbox-group/daikin-checkbox-group.js +7 -1
- package/dist/es/components/chip/daikin-chip.d.ts +20 -0
- package/dist/es/components/chip/daikin-chip.js +195 -93
- package/dist/es/components/combobox/daikin-combobox.d.ts +10 -0
- package/dist/es/components/combobox/daikin-combobox.js +111 -33
- package/dist/es/components/date-picker/daikin-date-picker.d.ts +37 -2
- package/dist/es/components/date-picker/daikin-date-picker.js +243 -65
- package/dist/es/components/drawer/daikin-drawer.js +1 -1
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +13 -0
- package/dist/es/components/dropdown/daikin-dropdown.js +164 -32
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +13 -6
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +2 -0
- package/dist/es/components/icon-button/daikin-icon-button.js +2 -0
- package/dist/es/components/index.js +4 -4
- package/dist/es/components/input-group/daikin-input-group.d.ts +10 -0
- package/dist/es/components/input-group/daikin-input-group.js +89 -31
- package/dist/es/components/list-item/daikin-list-item.d.ts +9 -0
- package/dist/es/components/list-item/daikin-list-item.js +21 -10
- package/dist/es/components/logo/daikin-logo.d.ts +2 -2
- package/dist/es/components/logo/daikin-logo.js +1 -1
- package/dist/es/components/menu/daikin-menu.js +2 -2
- package/dist/es/components/modal-header/daikin-modal-header.d.ts +1 -0
- package/dist/es/components/modal-header/daikin-modal-header.js +10 -4
- package/dist/es/components/navigation/daikin-navigation.d.ts +9 -0
- package/dist/es/components/navigation/daikin-navigation.js +22 -1
- package/dist/es/components/navigation-item/daikin-navigation-item.js +18 -14
- package/dist/es/components/pagination/daikin-pagination.d.ts +11 -0
- package/dist/es/components/pagination/daikin-pagination.js +61 -20
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +1 -0
- package/dist/es/components/progress-bar/daikin-progress-bar.js +27 -19
- package/dist/es/components/radio/daikin-radio.d.ts +26 -0
- package/dist/es/components/radio/daikin-radio.js +160 -35
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +4 -0
- package/dist/es/components/radio-group/daikin-radio-group.js +10 -1
- package/dist/es/components/select/daikin-select.d.ts +11 -0
- package/dist/es/components/select/daikin-select.js +128 -21
- package/dist/es/components/slider/daikin-slider.d.ts +4 -0
- package/dist/es/components/slider/daikin-slider.js +61 -16
- package/dist/es/components/status-message/daikin-status-message.d.ts +2 -0
- package/dist/es/components/status-message/daikin-status-message.js +1 -0
- package/dist/es/components/table/daikin-table.d.ts +58 -1
- package/dist/es/components/table/daikin-table.js +109 -17
- package/dist/es/components/table-cell/daikin-table-cell.js +3 -4
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +21 -15
- package/dist/es/components/tag/daikin-tag.d.ts +14 -0
- package/dist/es/components/tag/daikin-tag.js +100 -21
- package/dist/es/components/text-area/daikin-text-area.js +22 -2
- package/dist/es/components/text-field/daikin-text-field.d.ts +9 -0
- package/dist/es/components/text-field/daikin-text-field.js +97 -51
- package/dist/es/components/text-field/number-utils.d.ts +7 -0
- package/dist/es/components/text-field/number-utils.js +51 -19
- package/dist/es/components/text-masked-field/daikin-text-masked-field.js +31 -7
- package/dist/es/components/time-picker/daikin-time-picker.d.ts +57 -14
- package/dist/es/components/time-picker/daikin-time-picker.js +327 -110
- package/dist/es/components/time-picker/index.js +4 -4
- package/dist/es/components/toast-notification-manager/daikin-toast-notification-manager.js +1 -1
- package/dist/es/components/toggle/daikin-toggle.d.ts +5 -0
- package/dist/es/components/toggle/daikin-toggle.js +110 -35
- package/dist/es/components/tooltip/daikin-tooltip.js +1 -1
- package/dist/es/components/tree-item/daikin-tree-item.d.ts +1 -0
- package/dist/es/components/tree-item/daikin-tree-item.js +24 -8
- package/dist/es/components/tree-section/daikin-tree-section.d.ts +1 -0
- package/dist/es/components/tree-section/daikin-tree-section.js +7 -1
- package/dist/es/components/vertical-navigation/daikin-vertical-navigation.js +1 -1
- package/dist/es/components/vertical-navigation-item/daikin-vertical-navigation-item.d.ts +17 -7
- package/dist/es/components/vertical-navigation-item/daikin-vertical-navigation-item.js +248 -38
- package/dist/es/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.d.ts +6 -1
- package/dist/es/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.js +104 -34
- package/dist/es/controllers/custom-readonly.d.ts +28 -0
- package/dist/es/controllers/custom-readonly.js +59 -0
- package/dist/es/index.js +4 -4
- package/dist/es/tailwind.css.js +1 -1
- package/dist/es/utils/calendar-common.d.ts +1 -1
- package/dist/es/utils/calendar-common.js +6 -2
- package/dist/es/utils/extract-half-width-digits.d.ts +15 -0
- package/dist/es/utils/extract-half-width-digits.js +11 -0
- package/dist/es-dev/base/dds-element.js +1 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +1 -0
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +25 -8
- package/dist/es-dev/components/breadcrumb/daikin-breadcrumb.d.ts +1 -1
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +1 -0
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +9 -6
- package/dist/es-dev/components/calendar/daikin-calendar.d.ts +13 -0
- package/dist/es-dev/components/calendar/daikin-calendar.js +73 -26
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +18 -0
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +190 -52
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.d.ts +5 -0
- package/dist/es-dev/components/checkbox-group/daikin-checkbox-group.js +7 -1
- package/dist/es-dev/components/chip/daikin-chip.d.ts +20 -0
- package/dist/es-dev/components/chip/daikin-chip.js +195 -93
- package/dist/es-dev/components/combobox/daikin-combobox.d.ts +10 -0
- package/dist/es-dev/components/combobox/daikin-combobox.js +111 -33
- package/dist/es-dev/components/date-picker/daikin-date-picker.d.ts +37 -2
- package/dist/es-dev/components/date-picker/daikin-date-picker.js +243 -65
- package/dist/es-dev/components/drawer/daikin-drawer.js +1 -1
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +13 -0
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +164 -32
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +13 -6
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +2 -0
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +2 -0
- package/dist/es-dev/components/index.js +4 -4
- package/dist/es-dev/components/input-group/daikin-input-group.d.ts +10 -0
- package/dist/es-dev/components/input-group/daikin-input-group.js +89 -31
- package/dist/es-dev/components/list-item/daikin-list-item.d.ts +9 -0
- package/dist/es-dev/components/list-item/daikin-list-item.js +21 -10
- package/dist/es-dev/components/logo/daikin-logo.d.ts +2 -2
- package/dist/es-dev/components/logo/daikin-logo.js +1 -1
- package/dist/es-dev/components/menu/daikin-menu.js +2 -2
- package/dist/es-dev/components/modal-header/daikin-modal-header.d.ts +1 -0
- package/dist/es-dev/components/modal-header/daikin-modal-header.js +10 -4
- package/dist/es-dev/components/navigation/daikin-navigation.d.ts +9 -0
- package/dist/es-dev/components/navigation/daikin-navigation.js +22 -1
- package/dist/es-dev/components/navigation-item/daikin-navigation-item.js +18 -14
- package/dist/es-dev/components/pagination/daikin-pagination.d.ts +11 -0
- package/dist/es-dev/components/pagination/daikin-pagination.js +61 -20
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +1 -0
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +27 -19
- package/dist/es-dev/components/radio/daikin-radio.d.ts +26 -0
- package/dist/es-dev/components/radio/daikin-radio.js +160 -35
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +4 -0
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +10 -1
- package/dist/es-dev/components/select/daikin-select.d.ts +11 -0
- package/dist/es-dev/components/select/daikin-select.js +128 -21
- package/dist/es-dev/components/slider/daikin-slider.d.ts +4 -0
- package/dist/es-dev/components/slider/daikin-slider.js +61 -16
- package/dist/es-dev/components/status-message/daikin-status-message.d.ts +2 -0
- package/dist/es-dev/components/status-message/daikin-status-message.js +1 -0
- package/dist/es-dev/components/table/daikin-table.d.ts +58 -1
- package/dist/es-dev/components/table/daikin-table.js +109 -17
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +3 -4
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +21 -15
- package/dist/es-dev/components/tag/daikin-tag.d.ts +14 -0
- package/dist/es-dev/components/tag/daikin-tag.js +100 -21
- package/dist/es-dev/components/text-area/daikin-text-area.js +22 -2
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +9 -0
- package/dist/es-dev/components/text-field/daikin-text-field.js +97 -51
- package/dist/es-dev/components/text-field/number-utils.d.ts +7 -0
- package/dist/es-dev/components/text-field/number-utils.js +51 -19
- package/dist/es-dev/components/text-masked-field/daikin-text-masked-field.js +31 -7
- package/dist/es-dev/components/time-picker/daikin-time-picker.d.ts +57 -14
- package/dist/es-dev/components/time-picker/daikin-time-picker.js +327 -110
- package/dist/es-dev/components/time-picker/index.js +4 -4
- package/dist/es-dev/components/toast-notification-manager/daikin-toast-notification-manager.js +1 -1
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +5 -0
- package/dist/es-dev/components/toggle/daikin-toggle.js +110 -35
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +1 -1
- package/dist/es-dev/components/tree-item/daikin-tree-item.d.ts +1 -0
- package/dist/es-dev/components/tree-item/daikin-tree-item.js +24 -8
- package/dist/es-dev/components/tree-section/daikin-tree-section.d.ts +1 -0
- package/dist/es-dev/components/tree-section/daikin-tree-section.js +7 -1
- package/dist/es-dev/components/vertical-navigation/daikin-vertical-navigation.js +1 -1
- package/dist/es-dev/components/vertical-navigation-item/daikin-vertical-navigation-item.d.ts +17 -7
- package/dist/es-dev/components/vertical-navigation-item/daikin-vertical-navigation-item.js +248 -38
- package/dist/es-dev/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.d.ts +6 -1
- package/dist/es-dev/components/vertical-navigation-menu-item/daikin-vertical-navigation-menu-item.js +104 -34
- package/dist/es-dev/controllers/custom-readonly.d.ts +28 -0
- package/dist/es-dev/controllers/custom-readonly.js +59 -0
- package/dist/es-dev/index.js +4 -4
- package/dist/es-dev/tailwind.css.js +1 -1
- package/dist/es-dev/utils/calendar-common.d.ts +1 -1
- package/dist/es-dev/utils/calendar-common.js +6 -2
- package/dist/es-dev/utils/extract-half-width-digits.d.ts +15 -0
- package/dist/es-dev/utils/extract-half-width-digits.js +11 -0
- package/icons/logo-negative.svg +16 -9
- package/icons/logo-positive.svg +16 -9
- package/package.json +6 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { DaikinTimePicker, calcDigitInput, formatPartsForUI, formatTimeForUI,
|
|
1
|
+
import { DaikinTimePicker, calcDigitInput, formatPartsForUI, formatTimeForUI, getTimeItemInSelection, isTimeOutOfRange, isValidValueTime, parsePartsFromUIValue, timeValueToUI, tryParseTimeFromUIValue, uiToTimeValue } from "./daikin-time-picker.js";
|
|
2
2
|
export {
|
|
3
3
|
DaikinTimePicker,
|
|
4
4
|
calcDigitInput,
|
|
5
5
|
formatPartsForUI,
|
|
6
6
|
formatTimeForUI,
|
|
7
|
-
from24HourFormat,
|
|
8
7
|
getTimeItemInSelection,
|
|
9
8
|
isTimeOutOfRange,
|
|
10
9
|
isValidValueTime,
|
|
11
10
|
parsePartsFromUIValue,
|
|
12
|
-
|
|
13
|
-
tryParseTimeFromUIValue
|
|
11
|
+
timeValueToUI,
|
|
12
|
+
tryParseTimeFromUIValue,
|
|
13
|
+
uiToTimeValue
|
|
14
14
|
};
|
|
@@ -157,7 +157,7 @@ let DaikinToastNotificationManager = class extends DDSElement {
|
|
|
157
157
|
return html`<aside
|
|
158
158
|
${ref(this._containerRef)}
|
|
159
159
|
class=${cvaContainer({ position: this.position })}
|
|
160
|
-
popover
|
|
160
|
+
.popover=${"manual"}
|
|
161
161
|
>
|
|
162
162
|
<slot
|
|
163
163
|
@close=${this._handleClose}
|
|
@@ -36,6 +36,10 @@ export declare class DaikinToggle extends DDSFormElement {
|
|
|
36
36
|
* Specify the toggle switch disabled state.
|
|
37
37
|
*/
|
|
38
38
|
disabled: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the toggle switch is readonly.
|
|
41
|
+
*/
|
|
42
|
+
readonly: boolean;
|
|
39
43
|
private readonly _inputRef;
|
|
40
44
|
/**
|
|
41
45
|
* Focuses on the inner input.
|
|
@@ -43,6 +47,7 @@ export declare class DaikinToggle extends DDSFormElement {
|
|
|
43
47
|
*/
|
|
44
48
|
focus(options?: FocusOptions): void;
|
|
45
49
|
private _updateFormValue;
|
|
50
|
+
private _handleClick;
|
|
46
51
|
private _handleChange;
|
|
47
52
|
render(): import('lit-html').TemplateResult<1>;
|
|
48
53
|
updated(changedProperties: PropertyValues<this>): void;
|
|
@@ -18,45 +18,103 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
18
18
|
if (kind && result) __defProp(target, key, result);
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
|
-
const TOGGLE_CLASS_NAME = cva(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
21
|
+
const TOGGLE_CLASS_NAME = cva(
|
|
22
|
+
[
|
|
23
|
+
"w-12",
|
|
24
|
+
"h-6",
|
|
25
|
+
"relative",
|
|
26
|
+
"rounded-full",
|
|
27
|
+
"transition-colors",
|
|
28
|
+
"duration-300",
|
|
29
|
+
"appearance-none",
|
|
30
|
+
"enabled:cursor-pointer",
|
|
31
|
+
"focus-visible:outline-solid",
|
|
32
|
+
"focus-visible:outline-2",
|
|
33
|
+
"focus-visible:outline-offset-2",
|
|
34
|
+
"enabled:outline-ddt-color-common-border-focus",
|
|
35
|
+
"disabled:bg-ddt-color-common-disabled",
|
|
36
|
+
"before:size-4",
|
|
37
|
+
"before:m-auto",
|
|
38
|
+
"before:rounded-full",
|
|
39
|
+
"before:absolute",
|
|
40
|
+
"before:top-0",
|
|
41
|
+
"before:bottom-0",
|
|
42
|
+
"before:left-1",
|
|
43
|
+
"before:transition",
|
|
44
|
+
"before:duration-300",
|
|
45
|
+
"before:border",
|
|
46
|
+
"before:border-transparent",
|
|
47
|
+
"disabled:before:bg-ddt-color-common-surface-hover"
|
|
48
|
+
],
|
|
49
|
+
{
|
|
50
|
+
variants: {
|
|
51
|
+
disabled: {
|
|
52
|
+
false: [],
|
|
53
|
+
true: ["cursor-default!"]
|
|
54
|
+
},
|
|
55
|
+
readonly: {
|
|
56
|
+
false: [],
|
|
57
|
+
true: ["cursor-default!"]
|
|
58
|
+
},
|
|
59
|
+
checked: {
|
|
60
|
+
false: [],
|
|
61
|
+
true: []
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
compoundVariants: [
|
|
65
|
+
{
|
|
66
|
+
readonly: false,
|
|
67
|
+
checked: false,
|
|
68
|
+
class: [
|
|
69
|
+
"bg-ddt-color-common-neutral-default",
|
|
70
|
+
"enabled:hover:bg-ddt-color-common-neutral-hover",
|
|
71
|
+
"enabled:active:bg-ddt-color-common-neutral-press",
|
|
72
|
+
"enabled:before:bg-ddt-color-common-background-default"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
readonly: false,
|
|
77
|
+
checked: true,
|
|
78
|
+
class: [
|
|
79
|
+
"bg-ddt-color-common-brand-default",
|
|
80
|
+
"enabled:hover:bg-ddt-color-common-brand-hover",
|
|
81
|
+
"enabled:active:bg-ddt-color-common-brand-press",
|
|
82
|
+
"before:translate-x-6",
|
|
83
|
+
"enabled:before:bg-ddt-color-common-background-default"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
readonly: true,
|
|
88
|
+
checked: false,
|
|
89
|
+
class: [
|
|
90
|
+
"border",
|
|
91
|
+
"border-ddt-color-common-disabled",
|
|
92
|
+
"bg-(--dds-color-common-surface-secondary)",
|
|
93
|
+
"before:bg-ddt-color-common-disabled",
|
|
94
|
+
"before:border-ddt-color-common-disabled"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
readonly: true,
|
|
99
|
+
checked: true,
|
|
100
|
+
class: [
|
|
101
|
+
"border",
|
|
102
|
+
"border-ddt-color-common-neutral-default",
|
|
103
|
+
"bg-(--dds-color-common-surface-secondary)",
|
|
104
|
+
"before:translate-x-6",
|
|
105
|
+
"before:bg-ddt-color-common-neutral-default",
|
|
106
|
+
"before:border-ddt-color-common-neutral-default"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
);
|
|
55
112
|
let DaikinToggle = class extends DDSFormElement {
|
|
56
113
|
constructor() {
|
|
57
114
|
super(...arguments);
|
|
58
115
|
this.checked = false;
|
|
59
116
|
this.disabled = false;
|
|
117
|
+
this.readonly = false;
|
|
60
118
|
this._inputRef = createRef();
|
|
61
119
|
}
|
|
62
120
|
/**
|
|
@@ -70,7 +128,17 @@ let DaikinToggle = class extends DDSFormElement {
|
|
|
70
128
|
_updateFormValue() {
|
|
71
129
|
this.setFormValue(this.checked ? this.value : null);
|
|
72
130
|
}
|
|
131
|
+
_handleClick(event) {
|
|
132
|
+
if (this.readonly) {
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
}
|
|
135
|
+
}
|
|
73
136
|
_handleChange(event) {
|
|
137
|
+
if (this.readonly) {
|
|
138
|
+
event.target.checked = this.checked;
|
|
139
|
+
event.preventDefault();
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
74
142
|
this.checked = event.target.checked;
|
|
75
143
|
this._updateFormValue();
|
|
76
144
|
this.dispatchEvent(new Event("change", event));
|
|
@@ -78,13 +146,17 @@ let DaikinToggle = class extends DDSFormElement {
|
|
|
78
146
|
render() {
|
|
79
147
|
return html`<input
|
|
80
148
|
${ref(this._inputRef)}
|
|
81
|
-
class=${TOGGLE_CLASS_NAME
|
|
149
|
+
class=${TOGGLE_CLASS_NAME({
|
|
150
|
+
readonly: this.readonly && !this.disabled,
|
|
151
|
+
checked: this.checked
|
|
152
|
+
})}
|
|
82
153
|
type="checkbox"
|
|
83
154
|
name=${ifDefined(this.getBackingProperty("name"))}
|
|
84
155
|
role="switch"
|
|
85
156
|
?disabled=${this.disabled}
|
|
86
157
|
.checked=${this.checked}
|
|
87
158
|
.value=${this.value}
|
|
159
|
+
@click=${this._handleClick}
|
|
88
160
|
@change=${this._handleChange}
|
|
89
161
|
/>`;
|
|
90
162
|
}
|
|
@@ -107,6 +179,9 @@ __decorateClass([
|
|
|
107
179
|
__decorateClass([
|
|
108
180
|
property({ type: Boolean, reflect: true })
|
|
109
181
|
], DaikinToggle.prototype, "disabled", 2);
|
|
182
|
+
__decorateClass([
|
|
183
|
+
property({ type: Boolean, reflect: true })
|
|
184
|
+
], DaikinToggle.prototype, "readonly", 2);
|
|
110
185
|
DaikinToggle = __decorateClass([
|
|
111
186
|
ddsElement("daikin-toggle")
|
|
112
187
|
], DaikinToggle);
|
|
@@ -144,7 +144,7 @@ let DaikinTooltip = class extends DDSElement {
|
|
|
144
144
|
aria-labelledby="tooltip"
|
|
145
145
|
part="tooltip"
|
|
146
146
|
class=${cvaTooltip({ color: this.color })}
|
|
147
|
-
popover=${this.popoverValue}
|
|
147
|
+
.popover=${this.popoverValue}
|
|
148
148
|
@beforetoggle=${this._handleBeforeToggle}
|
|
149
149
|
@toggle=${this._handleToggle}
|
|
150
150
|
${this._autoUpdateController.refFloating()}
|
|
@@ -19,6 +19,7 @@ export declare const cvaTreeChildren: (props?: ({
|
|
|
19
19
|
* @fires tree-move-focus - _Internal use._ A custom event used to move the focus within a tree.
|
|
20
20
|
*
|
|
21
21
|
* @slot - A slot for the tree item content.
|
|
22
|
+
* @slot left-icon - A slot for an icon to be placed to the left of the content. Place `daikin-icon` or something similar.
|
|
22
23
|
*
|
|
23
24
|
* @csspart item - CSS styles applied to the `item` part target the internal `<div>` element wrapping the content. For instance, setting `cursor: grab;` changes the hover cursor, signaling that the tree item is draggable.
|
|
24
25
|
*
|
|
@@ -25,10 +25,10 @@ const cvaTreeChildren = cva(
|
|
|
25
25
|
"flex",
|
|
26
26
|
"items-center",
|
|
27
27
|
"w-full",
|
|
28
|
-
"
|
|
29
|
-
"py-
|
|
30
|
-
"
|
|
31
|
-
"pl-[calc((var(--level)+1)*
|
|
28
|
+
"text-(length:--dds-font-size-label-text)",
|
|
29
|
+
"py-(--dds-padding-30)",
|
|
30
|
+
"px-(--dds-padding-40)",
|
|
31
|
+
"pl-[calc((var(--level)+1)*(var(--dds-padding-40)))]",
|
|
32
32
|
"natural-break",
|
|
33
33
|
"focus-visible:outline-solid",
|
|
34
34
|
"focus-visible:outline-2",
|
|
@@ -58,11 +58,10 @@ const cvaTreeChildren = cva(
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
icon: {
|
|
61
|
-
false: ["before:size-
|
|
61
|
+
false: ["before:size-(--dds-icon)", "before:flex-none"],
|
|
62
62
|
true: [
|
|
63
63
|
"before:icon-[daikin--chevron-right]",
|
|
64
|
-
"before:size-
|
|
65
|
-
"before:m-0.5",
|
|
64
|
+
"before:size-(--dds-icon)",
|
|
66
65
|
"before:transition-all",
|
|
67
66
|
"before:flex-none",
|
|
68
67
|
"before:self-start"
|
|
@@ -128,7 +127,15 @@ let DaikinTreeItem = class extends DDSElement {
|
|
|
128
127
|
@click=${() => emitTreeSelect(this)}
|
|
129
128
|
@keydown=${this._handleKeyDown}
|
|
130
129
|
>
|
|
131
|
-
<
|
|
130
|
+
<div class="flex items-start gap-(--dds-gap-20)">
|
|
131
|
+
<slot
|
|
132
|
+
name="left-icon"
|
|
133
|
+
class="slotted:shrink-0 size-(--dds-icon) slotted:size-(--dds-icon)"
|
|
134
|
+
></slot>
|
|
135
|
+
<span class="pt-(--dds-padding-05)">
|
|
136
|
+
<slot></slot>
|
|
137
|
+
</span>
|
|
138
|
+
</div>
|
|
132
139
|
</div>`;
|
|
133
140
|
}
|
|
134
141
|
updated(changedProperties) {
|
|
@@ -182,6 +189,15 @@ DaikinTreeItem.styles = css`
|
|
|
182
189
|
|
|
183
190
|
:host {
|
|
184
191
|
display: block;
|
|
192
|
+
|
|
193
|
+
--ddc-tree-item-min-h: var(--dds-input-height, 3rem);
|
|
194
|
+
--ddc-tree-item-padding-y: var(--dds-padding-30);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host([data-density="compact"]),
|
|
198
|
+
:host-context([data-density="compact"]) {
|
|
199
|
+
--ddc-tree-item-min-h: calc(var(--dds-input-height) + 4px);
|
|
200
|
+
--ddc-tree-item-padding-y: var(--dds-padding-30);
|
|
185
201
|
}
|
|
186
202
|
`;
|
|
187
203
|
__decorateClass([
|
|
@@ -16,6 +16,7 @@ import { DDSElement } from "../../base/index.js";
|
|
|
16
16
|
*
|
|
17
17
|
* @slot - A slot for tree children. Place `daikin-tree-section` and `daikin-tree-item` elements here.
|
|
18
18
|
* @slot label - A slot for section header content. Place a `span` element here.
|
|
19
|
+
* @slot left-icon - A slot for an icon to be placed to the right of the arrow and to the left of the label. Place `daikin-icon` or something similar.
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
*
|
|
@@ -127,7 +127,13 @@ let DaikinTreeSection = class extends DDSElement {
|
|
|
127
127
|
@click=${this._handleClick}
|
|
128
128
|
@keydown=${this._handleKeyDown}
|
|
129
129
|
>
|
|
130
|
-
<
|
|
130
|
+
<div class="flex items-start gap-(--dds-gap-20)">
|
|
131
|
+
<slot
|
|
132
|
+
name="left-icon"
|
|
133
|
+
class="slotted:shrink-0 size-(--dds-icon) slotted:size-(--dds-icon) mr-2"
|
|
134
|
+
></slot
|
|
135
|
+
><span class="pt-(--dds-padding-05)"><slot name="label"></slot></span>
|
|
136
|
+
</div>
|
|
131
137
|
</div>
|
|
132
138
|
<div role="group" ?hidden=${!this._open}>
|
|
133
139
|
<slot
|
|
@@ -26,7 +26,7 @@ let DaikinVerticalNavigation = class extends DDSElement {
|
|
|
26
26
|
}
|
|
27
27
|
_handleToggle(event) {
|
|
28
28
|
const target = event.target;
|
|
29
|
-
if (target.type
|
|
29
|
+
if (target.type !== "menu") {
|
|
30
30
|
if (this.exclusive && this.openItems.length > 0) {
|
|
31
31
|
this.openItems = [];
|
|
32
32
|
this._reflectItemOpen();
|
|
@@ -2,14 +2,16 @@ import { PropertyValues } from 'lit';
|
|
|
2
2
|
import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* The vertical navigation item component is a child element within the `daikin-vertical-navigation` component.
|
|
5
|
-
* It can be rendered as a direct link
|
|
5
|
+
* It can be rendered as a direct link, a collapsible menu, or an always-expanded section group
|
|
6
|
+
* (Use `daikin-vertical-navigation-menu-item` components for sub-items).
|
|
6
7
|
*
|
|
7
8
|
* Hierarchy:
|
|
8
9
|
* - `daikin-vertical-navigation` > `daikin-vertical-navigation-item`
|
|
9
10
|
*
|
|
10
11
|
* @fires toggle - Fires when the item is activated (menu button clicked, or link item activated). Used by `daikin-vertical-navigation` to update `openItems` (and enforce exclusive mode when enabled).
|
|
11
12
|
*
|
|
12
|
-
* @slot - A slot for the sub-list content (e.g. `daikin-vertical-navigation-menu-item` elements).
|
|
13
|
+
* @slot - A slot for the sub-list content (e.g. `daikin-vertical-navigation-menu-item` elements).
|
|
14
|
+
* Used when `type="menu"` or `type="section"`.
|
|
13
15
|
* @slot label - A slot for the item label text (used as the link text or the menu button label).
|
|
14
16
|
* @slot left-icon - A slot for an optional icon placed to the left of the label.
|
|
15
17
|
*
|
|
@@ -48,12 +50,17 @@ export declare class DaikinVerticalNavigationItem extends DDSElement implements
|
|
|
48
50
|
* Type of the vertical navigation item.
|
|
49
51
|
* - `"link"` (default): Renders as an `<a>` element for direct navigation.
|
|
50
52
|
* - `"menu"`: Renders as a collapsible section with a toggle button and a default slot for sub-items.
|
|
53
|
+
* - `"section"`: Renders as an always-expanded section without a chevron.
|
|
54
|
+
* If `href` is set, the parent is rendered as a link.
|
|
55
|
+
* If `href` is omitted, the parent is rendered as non-interactive title text.
|
|
51
56
|
*
|
|
52
57
|
* @default "link"
|
|
53
58
|
*/
|
|
54
|
-
type: "link" | "menu";
|
|
59
|
+
type: "link" | "menu" | "section";
|
|
55
60
|
/**
|
|
56
|
-
* The link `href`.
|
|
61
|
+
* The link `href`.
|
|
62
|
+
* Used when `type="link"`.
|
|
63
|
+
* Also used when `type="section"` to make the parent interactive.
|
|
57
64
|
*/
|
|
58
65
|
href: string | null;
|
|
59
66
|
/**
|
|
@@ -68,10 +75,12 @@ export declare class DaikinVerticalNavigationItem extends DDSElement implements
|
|
|
68
75
|
*/
|
|
69
76
|
open: boolean;
|
|
70
77
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
78
|
+
* Current state of this item.
|
|
79
|
+
* - `false`: default state
|
|
80
|
+
* - `true`: current state (blue indicator)
|
|
81
|
+
* - `"descendant"`: indicates a descendant is current (neutral indicator)
|
|
73
82
|
*/
|
|
74
|
-
current: boolean;
|
|
83
|
+
current: boolean | "descendant";
|
|
75
84
|
/**
|
|
76
85
|
* Badge to display on the right side of the item.
|
|
77
86
|
* Uses `daikin-badge` in standalone dot mode. Set to `"none"` (default) to hide the badge.
|
|
@@ -102,6 +111,7 @@ export declare class DaikinVerticalNavigationItem extends DDSElement implements
|
|
|
102
111
|
getDDSNavigationTarget(): NavigationTarget | null;
|
|
103
112
|
private _handleTriggerClick;
|
|
104
113
|
private _getSlottedItems;
|
|
114
|
+
private get _effectiveCurrent();
|
|
105
115
|
private _propagateDisabledToChildren;
|
|
106
116
|
updated(changedProperties: PropertyValues): void;
|
|
107
117
|
private _handleMenuSlotChange;
|