@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
|
@@ -10,8 +10,12 @@ const cvaIconButton = classVarianceAuthority.cva(
|
|
|
10
10
|
intent: {
|
|
11
11
|
previous: ["size-5", "icon-[daikin--chevron-left]"],
|
|
12
12
|
next: ["size-5", "icon-[daikin--chevron-right]"],
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
calendar: ["size-[var(--dds-icon,24px)]", "icon-[daikin--calendar]"],
|
|
14
|
+
calender: ["size-[var(--dds-icon,24px)]", "icon-[daikin--calendar]"],
|
|
15
|
+
pulldown: [
|
|
16
|
+
"size-[var(--dds-icon,24px)]",
|
|
17
|
+
"icon-[daikin--pulldown-down]"
|
|
18
|
+
]
|
|
15
19
|
},
|
|
16
20
|
rotate: {
|
|
17
21
|
default: [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const DEFAULT_MIN_DATE = "1900-01-01";
|
|
2
2
|
export declare const DEFAULT_MAX_DATE = "2099-12-31";
|
|
3
3
|
export declare const cvaIconButton: (props?: ({
|
|
4
|
-
intent?: "previous" | "next" | "calender" | "pulldown" | null | undefined;
|
|
4
|
+
intent?: "previous" | "next" | "calendar" | "calender" | "pulldown" | null | undefined;
|
|
5
5
|
rotate?: "default" | "inverse" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
/**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function extractHalfWidthDigits(composedText) {
|
|
4
|
+
return Array.from(
|
|
5
|
+
composedText.replace(
|
|
6
|
+
/[0-9]/g,
|
|
7
|
+
(char) => String.fromCodePoint((char.codePointAt(0) ?? 0) - 65296 + 48)
|
|
8
|
+
)
|
|
9
|
+
).filter((ch) => /^\d$/.test(ch));
|
|
10
|
+
}
|
|
11
|
+
exports.extractHalfWidthDigits = extractHalfWidthDigits;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a string of composed IME text to an array of half-width digit characters.
|
|
3
|
+
*
|
|
4
|
+
* Full-width digits (U+FF10–U+FF19, e.g. "123") are converted to their half-width
|
|
5
|
+
* equivalents ("123"), and all non-digit characters are discarded.
|
|
6
|
+
*
|
|
7
|
+
* @param composedText - The raw string from a `CompositionEvent.data`.
|
|
8
|
+
* @returns An array of single half-width digit characters ("0"–"9").
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* extractHalfWidthDigits("2025") // => ["2", "0", "2", "5"]
|
|
12
|
+
* extractHalfWidthDigits("abc") // => []
|
|
13
|
+
* extractHalfWidthDigits("123") // => ["1", "2", "3"]
|
|
14
|
+
*/
|
|
15
|
+
export declare function extractHalfWidthDigits(composedText: string): string[];
|
|
@@ -11,6 +11,7 @@ import { DDSElement } from "../../base/index.js";
|
|
|
11
11
|
*
|
|
12
12
|
* @slot - A slot for the accordion item content.
|
|
13
13
|
* @slot summary - A slot for the accordion item summary content.
|
|
14
|
+
* @slot left-icon - A slot for an icon to be placed to the left of the summary text. Place `daikin-icon` or something similar.
|
|
14
15
|
*
|
|
15
16
|
* @cssprop [--divider-top-display=none] - The `display` property of the top divider. Must be either `block` or `none`. Set automatically by `daikin-accordion` component.
|
|
16
17
|
* @cssprop [--divider-bottom-display=none] - The `display` property of the bottom divider. Must be either `block` or `none`. Set automatically by `daikin-accordion` component.
|
|
@@ -22,17 +22,18 @@ const cvaSummary = cva(
|
|
|
22
22
|
"flex",
|
|
23
23
|
"justify-between",
|
|
24
24
|
"items-center",
|
|
25
|
-
"gap-
|
|
25
|
+
"gap-(--dds-padding-30)",
|
|
26
26
|
"w-full",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"px-(--dds-padding-30)",
|
|
28
|
+
"py-(--dds-padding-30)",
|
|
29
|
+
"text-(length:--dds-font-size-label-text)",
|
|
29
30
|
"natural-break",
|
|
30
31
|
"text-left",
|
|
31
32
|
"focus-visible:outline-solid",
|
|
32
33
|
"focus-visible:outline-2",
|
|
33
34
|
"focus-visible:-outline-offset-2",
|
|
34
35
|
"focus-visible:outline-ddt-color-common-border-focus",
|
|
35
|
-
"after:size-
|
|
36
|
+
"after:size-(--dds-icon)",
|
|
36
37
|
"after:transition-all",
|
|
37
38
|
"after:icon-[daikin--chevron-down]",
|
|
38
39
|
"after:flex-none",
|
|
@@ -59,7 +60,13 @@ const cvaSummary = cva(
|
|
|
59
60
|
}
|
|
60
61
|
);
|
|
61
62
|
const cvaContent = cva(
|
|
62
|
-
[
|
|
63
|
+
[
|
|
64
|
+
"grid",
|
|
65
|
+
"duration-250",
|
|
66
|
+
"ease-in-out",
|
|
67
|
+
"leading-normal",
|
|
68
|
+
"text-(length:--dds-font-size-label-text)"
|
|
69
|
+
],
|
|
63
70
|
{
|
|
64
71
|
variants: {
|
|
65
72
|
open: {
|
|
@@ -120,7 +127,15 @@ let DaikinAccordionItem = class extends DDSElement {
|
|
|
120
127
|
@click=${this._handleSummaryClick}
|
|
121
128
|
@keydown=${this._handleKeyDown}
|
|
122
129
|
>
|
|
123
|
-
<
|
|
130
|
+
<div class="flex items-start gap-1">
|
|
131
|
+
<slot
|
|
132
|
+
name="left-icon"
|
|
133
|
+
class="slotted:shrink-0 size-(--dds-icon) slotted:size-(--dds-icon)"
|
|
134
|
+
></slot
|
|
135
|
+
><span class="pl-(--dds-space-100) pt-(--dds-padding-05)"
|
|
136
|
+
><slot name="summary"></slot
|
|
137
|
+
></span>
|
|
138
|
+
</div>
|
|
124
139
|
</button>
|
|
125
140
|
<div
|
|
126
141
|
${ref(this._contentRef)}
|
|
@@ -128,10 +143,12 @@ let DaikinAccordionItem = class extends DDSElement {
|
|
|
128
143
|
role="region"
|
|
129
144
|
class=${cvaContent({ open })}
|
|
130
145
|
aria-labelledby="summary"
|
|
131
|
-
|
|
146
|
+
.inert=${!open}
|
|
132
147
|
>
|
|
133
148
|
<div class="overflow-hidden">
|
|
134
|
-
<div
|
|
149
|
+
<div
|
|
150
|
+
class="pt-(--dds-padding-20) px-(--dds-padding-40) pb-(--dds-padding-30)"
|
|
151
|
+
>
|
|
135
152
|
<slot class="slotted:natural-break"></slot>
|
|
136
153
|
</div>
|
|
137
154
|
</div>
|
|
@@ -37,7 +37,7 @@ import { DDSElement } from "../../base/index.js";
|
|
|
37
37
|
* <!-- Menu width can be set on the slotted <daikin-list slot="menu">, or via daikin-menu::part(menu). See the menu documentation for details. -->
|
|
38
38
|
* <daikin-menu placement="bottom-start">
|
|
39
39
|
* <daikin-breadcrumb-item></daikin-breadcrumb-item>
|
|
40
|
-
* <daikin-list
|
|
40
|
+
* <daikin-list slot="menu" style="width: 10rem">
|
|
41
41
|
* <daikin-list-item type="link" href="#">
|
|
42
42
|
* Breadcrumb 2
|
|
43
43
|
* </daikin-list-item>
|
|
@@ -6,6 +6,7 @@ import { DDSElement, DDSNavigable, NavigationTarget } from "../../base/index.js"
|
|
|
6
6
|
* - `daikin-breadcrumb` > `daikin-breadcrumb-item`
|
|
7
7
|
*
|
|
8
8
|
* @slot - A slot for the breadcrumb item content.
|
|
9
|
+
* @slot left-icon - A slot for an icon to be placed to the left of the content. Place `daikin-icon` or something similar. This will only be displayed when `variant="normal"` or `variant="current"`.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
*
|
|
@@ -76,9 +76,10 @@ let DaikinBreadcrumbItem = class extends DDSElement {
|
|
|
76
76
|
target=${ifDefined(this.target)}
|
|
77
77
|
?no-underline=${true}
|
|
78
78
|
?show-visited=${this.showVisited}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
><span slot="left-icon" class="inline-block -translate-y-px"
|
|
80
|
+
><slot name="left-icon"></slot></span
|
|
81
|
+
><slot></slot
|
|
82
|
+
></daikin-link>` : this.variant === "ellipsis" ? html`<button
|
|
82
83
|
${ref(this._focusableRef)}
|
|
83
84
|
type="button"
|
|
84
85
|
class=${LINK_CLASS_NAME}
|
|
@@ -93,9 +94,11 @@ let DaikinBreadcrumbItem = class extends DDSElement {
|
|
|
93
94
|
aria-current="true"
|
|
94
95
|
target=${ifDefined(this.target)}
|
|
95
96
|
role="link"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
><span class="inline-flex mr-0.5 align-sub -translate-y-px"
|
|
98
|
+
><slot name="left-icon" class="icon-size-4"
|
|
99
|
+
><span class="-mr-0.5"></span></slot></span
|
|
100
|
+
><slot></slot
|
|
101
|
+
></a>`;
|
|
99
102
|
const divider = this.appendDivider ? html`<span
|
|
100
103
|
class="text-ddt-color-common-text-primary mx-2 text-sm"
|
|
101
104
|
aria-hidden="true"
|
|
@@ -41,6 +41,12 @@ export declare class DaikinCalendar extends DDSElement {
|
|
|
41
41
|
* If there is a `value` attribute, this is ignored.
|
|
42
42
|
*/
|
|
43
43
|
defaultValue: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* The locale used for calendar formatting.
|
|
46
|
+
* If not provided, the browser's default locale will be used.
|
|
47
|
+
* The component automatically adapts the calendar text to the user's locale. Currently, only English and Japanese are supported.
|
|
48
|
+
*/
|
|
49
|
+
locale: "en" | "ja" | null;
|
|
44
50
|
/**
|
|
45
51
|
* _Internal use._
|
|
46
52
|
*
|
|
@@ -60,6 +66,12 @@ export declare class DaikinCalendar extends DDSElement {
|
|
|
60
66
|
* Used to set focus on a date that is not in the current view (year and month).
|
|
61
67
|
*/
|
|
62
68
|
private _dateToBeFocused;
|
|
69
|
+
/**
|
|
70
|
+
* The locale used for calendar text.
|
|
71
|
+
* If not provided, the component uses the browser locale and falls back to English for unsupported locales.
|
|
72
|
+
* Currently, only English (`en`) and Japanese (`ja`) are supported.
|
|
73
|
+
*/
|
|
74
|
+
private get _locale();
|
|
63
75
|
private get _value();
|
|
64
76
|
private get _min();
|
|
65
77
|
private get _max();
|
|
@@ -83,6 +95,7 @@ export declare class DaikinCalendar extends DDSElement {
|
|
|
83
95
|
private _handleYearAndMonthPickerClick;
|
|
84
96
|
private _handleCalendarKeyDown;
|
|
85
97
|
private _handleYearAndMonthPickerKeyDown;
|
|
98
|
+
private _createCalendarHeaderLabel;
|
|
86
99
|
private _createYearAndMonthPickerContainer;
|
|
87
100
|
private _createYearAndMonthPickerButton;
|
|
88
101
|
private _createYearPicker;
|
|
@@ -22,29 +22,56 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
22
22
|
if (kind && result) __defProp(target, key, result);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
const MONTHS =
|
|
26
|
-
[
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
[
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
]
|
|
25
|
+
const MONTHS = {
|
|
26
|
+
en: [
|
|
27
|
+
["Jan", "January"],
|
|
28
|
+
["Feb", "February"],
|
|
29
|
+
["Mar", "March"],
|
|
30
|
+
["Apr", "April"],
|
|
31
|
+
["May", "May"],
|
|
32
|
+
["Jun", "June"],
|
|
33
|
+
["Jul", "July"],
|
|
34
|
+
["Aug", "August"],
|
|
35
|
+
["Sep", "September"],
|
|
36
|
+
["Oct", "October"],
|
|
37
|
+
["Nov", "November"],
|
|
38
|
+
["Dec", "December"]
|
|
39
|
+
],
|
|
40
|
+
ja: [
|
|
41
|
+
["1月", "1月"],
|
|
42
|
+
["2月", "2月"],
|
|
43
|
+
["3月", "3月"],
|
|
44
|
+
["4月", "4月"],
|
|
45
|
+
["5月", "5月"],
|
|
46
|
+
["6月", "6月"],
|
|
47
|
+
["7月", "7月"],
|
|
48
|
+
["8月", "8月"],
|
|
49
|
+
["9月", "9月"],
|
|
50
|
+
["10月", "10月"],
|
|
51
|
+
["11月", "11月"],
|
|
52
|
+
["12月", "12月"]
|
|
53
|
+
]
|
|
54
|
+
};
|
|
55
|
+
const DAYS = {
|
|
56
|
+
en: [
|
|
57
|
+
["Sun", "Sunday"],
|
|
58
|
+
["Mon", "Monday"],
|
|
59
|
+
["Tue", "Tuesday"],
|
|
60
|
+
["Wed", "Wednesday"],
|
|
61
|
+
["Thu", "Thursday"],
|
|
62
|
+
["Fri", "Friday"],
|
|
63
|
+
["Sat", "Saturday"]
|
|
64
|
+
],
|
|
65
|
+
ja: [
|
|
66
|
+
["日", "日曜日"],
|
|
67
|
+
["月", "月曜日"],
|
|
68
|
+
["火", "火曜日"],
|
|
69
|
+
["水", "水曜日"],
|
|
70
|
+
["木", "木曜日"],
|
|
71
|
+
["金", "金曜日"],
|
|
72
|
+
["土", "土曜日"]
|
|
73
|
+
]
|
|
74
|
+
};
|
|
48
75
|
const cvaContentButton = cva(
|
|
49
76
|
[
|
|
50
77
|
"flex",
|
|
@@ -127,11 +154,22 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
127
154
|
super(...arguments);
|
|
128
155
|
this.value = "";
|
|
129
156
|
this.defaultValue = null;
|
|
157
|
+
this.locale = null;
|
|
130
158
|
this.view = "day";
|
|
131
159
|
this._lastFocusedDate = null;
|
|
132
160
|
this._dateToBeFocused = null;
|
|
133
161
|
this._viewDate = getToday();
|
|
134
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* The locale used for calendar text.
|
|
165
|
+
* If not provided, the component uses the browser locale and falls back to English for unsupported locales.
|
|
166
|
+
* Currently, only English (`en`) and Japanese (`ja`) are supported.
|
|
167
|
+
*/
|
|
168
|
+
get _locale() {
|
|
169
|
+
const raw = String(this.locale ?? navigator.language);
|
|
170
|
+
const base = raw.split("-")[0].toLowerCase();
|
|
171
|
+
return base === "ja" ? "ja" : "en";
|
|
172
|
+
}
|
|
135
173
|
get _value() {
|
|
136
174
|
return tryParseDateFromProperty(this.value);
|
|
137
175
|
}
|
|
@@ -246,6 +284,11 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
246
284
|
const newIndex = (focusedIndex + offset + buttons.length) % buttons.length;
|
|
247
285
|
buttons[newIndex].focus();
|
|
248
286
|
}
|
|
287
|
+
_createCalendarHeaderLabel(month, year) {
|
|
288
|
+
const locale = this._locale;
|
|
289
|
+
const monthLabel = MONTHS[locale][month][1];
|
|
290
|
+
return locale === "ja" ? `${year}年 ${monthLabel}` : `${monthLabel} ${year}`;
|
|
291
|
+
}
|
|
249
292
|
_createYearAndMonthPickerContainer(children) {
|
|
250
293
|
return html`<div class="w-full h-72">
|
|
251
294
|
<div
|
|
@@ -332,7 +375,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
332
375
|
const focusableMonth = selectedMonth ?? todayMonth ?? (isSameYearMonth(min, viewDate) ? min.getUTCMonth() : 0);
|
|
333
376
|
return this._createYearAndMonthPickerContainer(
|
|
334
377
|
html`${repeat(
|
|
335
|
-
MONTHS,
|
|
378
|
+
MONTHS[this._locale],
|
|
336
379
|
([abbr]) => abbr,
|
|
337
380
|
([abbr, full], month) => {
|
|
338
381
|
const date = createDateClamped(
|
|
@@ -381,7 +424,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
381
424
|
return html`<div class="flex flex-col gap-2 w-full h-72" role="grid">
|
|
382
425
|
<div class="flex gap-1 flex-wrap w-full px-4" role="row">
|
|
383
426
|
${repeat(
|
|
384
|
-
DAYS,
|
|
427
|
+
DAYS[this._locale],
|
|
385
428
|
([abbr]) => abbr,
|
|
386
429
|
([abbr, full]) => html`<div
|
|
387
430
|
class="flex justify-center items-center size-8 text-ddt-color-common-text-secondary text-xs font-bold leading-[1.3]"
|
|
@@ -433,6 +476,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
433
476
|
const view = this.view;
|
|
434
477
|
const year = viewDate.getUTCFullYear();
|
|
435
478
|
const month = viewDate.getUTCMonth();
|
|
479
|
+
const headerLabel = this._createCalendarHeaderLabel(month, year);
|
|
436
480
|
const pulldownLabel = {
|
|
437
481
|
year: "Switch to month view",
|
|
438
482
|
month: "Switch to year view",
|
|
@@ -458,7 +502,7 @@ let DaikinCalendar = class extends DDSElement {
|
|
|
458
502
|
class="text-ddt-color-common-text-primary font-bold"
|
|
459
503
|
aria-live="polite"
|
|
460
504
|
>
|
|
461
|
-
${
|
|
505
|
+
${headerLabel}
|
|
462
506
|
</span>
|
|
463
507
|
<daikin-icon-button
|
|
464
508
|
type="button"
|
|
@@ -557,6 +601,9 @@ __decorateClass([
|
|
|
557
601
|
__decorateClass([
|
|
558
602
|
property({ type: String, reflect: true, attribute: "default-value" })
|
|
559
603
|
], DaikinCalendar.prototype, "defaultValue", 2);
|
|
604
|
+
__decorateClass([
|
|
605
|
+
property({ type: String, reflect: true })
|
|
606
|
+
], DaikinCalendar.prototype, "locale", 2);
|
|
560
607
|
__decorateClass([
|
|
561
608
|
property({ type: String, attribute: false })
|
|
562
609
|
], DaikinCalendar.prototype, "view", 2);
|
|
@@ -53,6 +53,10 @@ export declare class DaikinCheckbox extends DDSFormElement {
|
|
|
53
53
|
* Specify the checkbox disabled state.
|
|
54
54
|
*/
|
|
55
55
|
disabled: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the checkbox is readonly.
|
|
58
|
+
*/
|
|
59
|
+
readonly: boolean;
|
|
56
60
|
/**
|
|
57
61
|
* Specify the checkbox disabled state controlled by the parent component.
|
|
58
62
|
* Controlled by `daikin-checkbox-group`.
|
|
@@ -60,6 +64,13 @@ export declare class DaikinCheckbox extends DDSFormElement {
|
|
|
60
64
|
* @private
|
|
61
65
|
*/
|
|
62
66
|
disabledByParent: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Specify the checkbox readonly state controlled by the parent component.
|
|
69
|
+
* Controlled by `daikin-checkbox-group`.
|
|
70
|
+
*
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
readonlyByParent: boolean;
|
|
63
74
|
/**
|
|
64
75
|
* The effective disabled state of the checkbox.
|
|
65
76
|
* Returns `true` if either `disabled` or `disabledByParent` is `true`.
|
|
@@ -67,6 +78,13 @@ export declare class DaikinCheckbox extends DDSFormElement {
|
|
|
67
78
|
* @private
|
|
68
79
|
*/
|
|
69
80
|
private get _disabled();
|
|
81
|
+
/**
|
|
82
|
+
* The effective readonly state of the checkbox.
|
|
83
|
+
* Returns `true` if either `readonly` or `readonlyByParent` is `true`.
|
|
84
|
+
*
|
|
85
|
+
* @private
|
|
86
|
+
*/
|
|
87
|
+
private get _readonly();
|
|
70
88
|
private readonly _inputRef;
|
|
71
89
|
/**
|
|
72
90
|
* Focuses on the inner checkbox.
|