@daikin-oss/design-system-web-components 0.4.0 → 0.6.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 +78 -0
- package/dist/cjs/components/accordion/daikin-accordion.cjs +4 -11
- package/dist/cjs/components/accordion/index.d.cts +1 -0
- package/dist/cjs/components/accordion-item/daikin-accordion-item.cjs +15 -14
- package/dist/cjs/components/accordion-item/{daikin-accordion-item.d.ts → daikin-accordion-item.d.cts} +1 -1
- package/dist/cjs/components/accordion-item/index.d.cts +1 -0
- package/dist/cjs/components/breadcrumb/index.d.cts +1 -0
- package/dist/cjs/components/breadcrumb-item/daikin-breadcrumb-item.cjs +1 -5
- package/dist/cjs/components/breadcrumb-item/{daikin-breadcrumb-item.d.ts → daikin-breadcrumb-item.d.cts} +1 -6
- package/dist/cjs/components/breadcrumb-item/index.d.cts +1 -0
- package/dist/cjs/components/button/daikin-button.cjs +30 -24
- package/dist/{cjs-dev/components/button/daikin-button.d.ts → cjs/components/button/daikin-button.d.cts} +3 -3
- package/dist/cjs/components/button/index.d.cts +1 -0
- package/dist/cjs/components/checkbox/daikin-checkbox.cjs +36 -35
- package/dist/{cjs-dev/components/checkbox/daikin-checkbox.d.ts → cjs/components/checkbox/daikin-checkbox.d.cts} +4 -4
- package/dist/cjs/components/checkbox/index.d.cts +1 -0
- package/dist/cjs/components/dropdown/daikin-dropdown.cjs +367 -0
- package/dist/cjs/components/dropdown/daikin-dropdown.d.cts +100 -0
- package/dist/cjs/components/dropdown/index.cjs +7 -0
- package/dist/cjs/components/dropdown/index.d.cts +1 -0
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.cjs +112 -0
- package/dist/cjs/components/dropdown-item/daikin-dropdown-item.d.cts +42 -0
- package/dist/cjs/components/dropdown-item/index.cjs +7 -0
- package/dist/cjs/components/dropdown-item/index.d.cts +1 -0
- package/dist/cjs/components/icon/daikin-icon.cjs +20 -16
- package/dist/{cjs-dev/components/icon/daikin-icon.d.ts → cjs/components/icon/daikin-icon.d.cts} +8 -6
- package/dist/cjs/components/icon/icons.json.cjs +30 -6
- package/dist/cjs/components/icon/{icons.json.d.ts → icons.json.d.cts} +30 -6
- package/dist/cjs/components/icon/index.d.cts +1 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.cjs +165 -0
- package/dist/cjs/components/icon-button/daikin-icon-button.d.cts +82 -0
- package/dist/cjs/components/icon-button/index.cjs +7 -0
- package/dist/cjs/components/icon-button/index.d.cts +1 -0
- package/dist/cjs/components/index.cjs +61 -6
- package/dist/cjs/components/index.d.cts +31 -0
- package/dist/cjs/components/input-group/daikin-input-group.cjs +103 -46
- package/dist/cjs/components/input-group/daikin-input-group.d.cts +131 -0
- package/dist/cjs/components/input-group/index.d.cts +1 -0
- package/dist/cjs/components/link/daikin-link.cjs +107 -0
- package/dist/cjs/components/link/daikin-link.d.cts +43 -0
- package/dist/cjs/components/link/index.cjs +7 -0
- package/dist/cjs/components/link/index.d.cts +1 -0
- package/dist/cjs/components/list/index.d.cts +1 -0
- package/dist/cjs/components/list-item/daikin-list-item.cjs +36 -13
- package/dist/cjs/components/list-item/index.d.cts +1 -0
- package/dist/cjs/components/notification/daikin-notification.cjs +31 -24
- package/dist/{cjs-dev/components/notification/daikin-notification.d.ts → cjs/components/notification/daikin-notification.d.cts} +7 -7
- package/dist/cjs/components/notification/index.d.cts +1 -0
- package/dist/cjs/components/pagination/daikin-pagination.cjs +215 -0
- package/dist/cjs/components/pagination/daikin-pagination.d.cts +39 -0
- package/dist/cjs/components/pagination/index.cjs +7 -0
- package/dist/cjs/components/pagination/index.d.cts +1 -0
- package/dist/cjs/components/pagination/pagination-utils.cjs +50 -0
- package/dist/cjs/components/pagination/pagination-utils.d.cts +28 -0
- package/dist/cjs/components/progress-bar/daikin-progress-bar.cjs +1 -1
- package/dist/{cjs-dev/components/progress-bar/daikin-progress-bar.d.ts → cjs/components/progress-bar/daikin-progress-bar.d.cts} +1 -1
- package/dist/cjs/components/progress-bar/index.d.cts +1 -0
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.cjs +75 -0
- package/dist/cjs/components/progress-indicator/daikin-progress-indicator.d.cts +47 -0
- package/dist/cjs/components/progress-indicator/index.cjs +7 -0
- package/dist/cjs/components/progress-indicator/index.d.cts +1 -0
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.cjs +84 -0
- package/dist/cjs/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +41 -0
- package/dist/cjs/components/progress-indicator-item/index.cjs +7 -0
- package/dist/cjs/components/progress-indicator-item/index.d.cts +1 -0
- package/dist/cjs/components/radio/daikin-radio.cjs +39 -18
- package/dist/cjs/components/radio/{daikin-radio.d.ts → daikin-radio.d.cts} +18 -4
- package/dist/cjs/components/radio/index.d.cts +1 -0
- package/dist/cjs/components/radio-group/daikin-radio-group.cjs +145 -0
- package/dist/cjs/components/radio-group/daikin-radio-group.d.cts +82 -0
- package/dist/cjs/components/radio-group/index.cjs +7 -0
- package/dist/cjs/components/radio-group/index.d.cts +1 -0
- package/dist/cjs/components/select/daikin-select.cjs +168 -0
- package/dist/cjs/components/select/daikin-select.d.cts +65 -0
- package/dist/cjs/components/select/index.cjs +7 -0
- package/dist/cjs/components/select/index.d.cts +1 -0
- package/dist/cjs/components/tab/daikin-tab.cjs +27 -22
- package/dist/cjs/components/tab/index.d.cts +1 -0
- package/dist/{cjs-dev/components/tab-panels/daikin-tab-panels.d.ts → cjs/components/tab-panels/daikin-tab-panels.d.cts} +4 -4
- package/dist/cjs/components/tab-panels/index.d.cts +1 -0
- package/dist/cjs/components/table/daikin-table.cjs +248 -0
- package/dist/cjs/components/table/daikin-table.d.cts +130 -0
- package/dist/cjs/components/table/index.cjs +7 -0
- package/dist/cjs/components/table/index.d.cts +1 -0
- package/dist/cjs/components/table-cell/daikin-table-cell.cjs +68 -0
- package/dist/cjs/components/table-cell/daikin-table-cell.d.cts +41 -0
- package/dist/cjs/components/table-cell/index.cjs +7 -0
- package/dist/cjs/components/table-cell/index.d.cts +1 -0
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.cjs +93 -0
- package/dist/cjs/components/table-header-cell/daikin-table-header-cell.d.cts +50 -0
- package/dist/cjs/components/table-header-cell/index.cjs +7 -0
- package/dist/cjs/components/table-header-cell/index.d.cts +1 -0
- package/dist/cjs/components/tabs/daikin-tabs.cjs +6 -1
- package/dist/{cjs-dev/components/tabs/daikin-tabs.d.ts → cjs/components/tabs/daikin-tabs.d.cts} +1 -5
- package/dist/cjs/components/tabs/index.d.cts +1 -0
- package/dist/cjs/components/text-area/daikin-text-area.cjs +164 -0
- package/dist/{cjs-dev/components/textarea/daikin-textarea.d.ts → cjs/components/text-area/daikin-text-area.d.cts} +31 -24
- package/dist/cjs/components/text-area/index.cjs +7 -0
- package/dist/cjs/components/text-area/index.d.cts +1 -0
- package/dist/cjs/components/text-field/daikin-text-field.cjs +222 -0
- package/dist/cjs/components/text-field/daikin-text-field.d.cts +94 -0
- package/dist/cjs/components/text-field/index.cjs +7 -0
- package/dist/cjs/components/text-field/index.d.cts +1 -0
- package/dist/cjs/components/toggle/daikin-toggle.cjs +13 -13
- package/dist/cjs/components/toggle/{daikin-toggle.d.ts → daikin-toggle.d.cts} +3 -3
- package/dist/cjs/components/toggle/index.d.cts +1 -0
- package/dist/cjs/components/tooltip/daikin-tooltip.cjs +77 -113
- package/dist/cjs/components/tooltip/{daikin-tooltip.d.ts → daikin-tooltip.d.cts} +21 -21
- package/dist/cjs/components/tooltip/index.d.cts +1 -0
- package/dist/cjs/controllers/click-outside.cjs +29 -0
- package/dist/cjs/controllers/click-outside.d.cts +37 -0
- package/dist/cjs/controllers/floating-ui-auto-update.cjs +81 -0
- package/dist/cjs/controllers/floating-ui-auto-update.d.cts +24 -0
- package/dist/cjs/controllers/helpers/controller-directive.cjs +50 -0
- package/dist/cjs/controllers/helpers/controller-directive.d.cts +12 -0
- package/dist/cjs/index.cjs +61 -6
- package/dist/cjs/index.d.cts +3 -0
- package/dist/cjs/tailwind.css.cjs +1 -2
- package/dist/cjs/utils/re-dispatch.cjs +10 -0
- package/dist/cjs/utils/re-dispatch.d.cts +1 -0
- package/dist/cjs-dev/components/accordion/daikin-accordion.cjs +4 -11
- package/dist/cjs-dev/components/accordion/index.d.cts +1 -0
- package/dist/cjs-dev/components/accordion-item/daikin-accordion-item.cjs +15 -14
- package/dist/cjs-dev/components/accordion-item/{daikin-accordion-item.d.ts → daikin-accordion-item.d.cts} +1 -1
- package/dist/cjs-dev/components/accordion-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/breadcrumb/index.d.cts +1 -0
- package/dist/cjs-dev/components/breadcrumb-item/daikin-breadcrumb-item.cjs +1 -5
- package/dist/cjs-dev/components/breadcrumb-item/{daikin-breadcrumb-item.d.ts → daikin-breadcrumb-item.d.cts} +1 -6
- package/dist/cjs-dev/components/breadcrumb-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/button/daikin-button.cjs +30 -24
- package/dist/{cjs/components/button/daikin-button.d.ts → cjs-dev/components/button/daikin-button.d.cts} +3 -3
- package/dist/cjs-dev/components/button/index.d.cts +1 -0
- package/dist/cjs-dev/components/checkbox/daikin-checkbox.cjs +36 -35
- package/dist/{cjs/components/checkbox/daikin-checkbox.d.ts → cjs-dev/components/checkbox/daikin-checkbox.d.cts} +4 -4
- package/dist/cjs-dev/components/checkbox/index.d.cts +1 -0
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.cjs +367 -0
- package/dist/cjs-dev/components/dropdown/daikin-dropdown.d.cts +100 -0
- package/dist/cjs-dev/components/dropdown/index.cjs +7 -0
- package/dist/cjs-dev/components/dropdown/index.d.cts +1 -0
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.cjs +112 -0
- package/dist/cjs-dev/components/dropdown-item/daikin-dropdown-item.d.cts +42 -0
- package/dist/cjs-dev/components/dropdown-item/index.cjs +7 -0
- package/dist/cjs-dev/components/dropdown-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/icon/daikin-icon.cjs +20 -16
- package/dist/{cjs/components/icon/daikin-icon.d.ts → cjs-dev/components/icon/daikin-icon.d.cts} +8 -6
- package/dist/cjs-dev/components/icon/icons.json.cjs +30 -6
- package/dist/cjs-dev/components/icon/{icons.json.d.ts → icons.json.d.cts} +30 -6
- package/dist/cjs-dev/components/icon/index.d.cts +1 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.cjs +165 -0
- package/dist/cjs-dev/components/icon-button/daikin-icon-button.d.cts +82 -0
- package/dist/cjs-dev/components/icon-button/index.cjs +7 -0
- package/dist/cjs-dev/components/icon-button/index.d.cts +1 -0
- package/dist/cjs-dev/components/index.cjs +61 -6
- package/dist/cjs-dev/components/index.d.cts +31 -0
- package/dist/cjs-dev/components/input-group/daikin-input-group.cjs +103 -46
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.cts +131 -0
- package/dist/cjs-dev/components/input-group/index.d.cts +1 -0
- package/dist/cjs-dev/components/link/daikin-link.cjs +107 -0
- package/dist/cjs-dev/components/link/daikin-link.d.cts +43 -0
- package/dist/cjs-dev/components/link/index.cjs +7 -0
- package/dist/cjs-dev/components/link/index.d.cts +1 -0
- package/dist/cjs-dev/components/list/index.d.cts +1 -0
- package/dist/cjs-dev/components/list-item/daikin-list-item.cjs +36 -13
- package/dist/cjs-dev/components/list-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/notification/daikin-notification.cjs +31 -24
- package/dist/{cjs/components/notification/daikin-notification.d.ts → cjs-dev/components/notification/daikin-notification.d.cts} +7 -7
- package/dist/cjs-dev/components/notification/index.d.cts +1 -0
- package/dist/cjs-dev/components/pagination/daikin-pagination.cjs +215 -0
- package/dist/cjs-dev/components/pagination/daikin-pagination.d.cts +39 -0
- package/dist/cjs-dev/components/pagination/index.cjs +7 -0
- package/dist/cjs-dev/components/pagination/index.d.cts +1 -0
- package/dist/cjs-dev/components/pagination/pagination-utils.cjs +50 -0
- package/dist/cjs-dev/components/pagination/pagination-utils.d.cts +28 -0
- package/dist/cjs-dev/components/progress-bar/daikin-progress-bar.cjs +1 -1
- package/dist/{cjs/components/progress-bar/daikin-progress-bar.d.ts → cjs-dev/components/progress-bar/daikin-progress-bar.d.cts} +1 -1
- package/dist/cjs-dev/components/progress-bar/index.d.cts +1 -0
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.cjs +85 -0
- package/dist/cjs-dev/components/progress-indicator/daikin-progress-indicator.d.cts +47 -0
- package/dist/cjs-dev/components/progress-indicator/index.cjs +7 -0
- package/dist/cjs-dev/components/progress-indicator/index.d.cts +1 -0
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.cjs +84 -0
- package/dist/cjs-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.cts +41 -0
- package/dist/cjs-dev/components/progress-indicator-item/index.cjs +7 -0
- package/dist/cjs-dev/components/progress-indicator-item/index.d.cts +1 -0
- package/dist/cjs-dev/components/radio/daikin-radio.cjs +39 -18
- package/dist/cjs-dev/components/radio/{daikin-radio.d.ts → daikin-radio.d.cts} +18 -4
- package/dist/cjs-dev/components/radio/index.d.cts +1 -0
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.cjs +145 -0
- package/dist/cjs-dev/components/radio-group/daikin-radio-group.d.cts +82 -0
- package/dist/cjs-dev/components/radio-group/index.cjs +7 -0
- package/dist/cjs-dev/components/radio-group/index.d.cts +1 -0
- package/dist/cjs-dev/components/select/daikin-select.cjs +168 -0
- package/dist/cjs-dev/components/select/daikin-select.d.cts +65 -0
- package/dist/cjs-dev/components/select/index.cjs +7 -0
- package/dist/cjs-dev/components/select/index.d.cts +1 -0
- package/dist/cjs-dev/components/tab/daikin-tab.cjs +27 -22
- package/dist/cjs-dev/components/tab/index.d.cts +1 -0
- package/dist/{cjs/components/tab-panels/daikin-tab-panels.d.ts → cjs-dev/components/tab-panels/daikin-tab-panels.d.cts} +4 -4
- package/dist/cjs-dev/components/tab-panels/index.d.cts +1 -0
- package/dist/cjs-dev/components/table/daikin-table.cjs +260 -0
- package/dist/cjs-dev/components/table/daikin-table.d.cts +130 -0
- package/dist/cjs-dev/components/table/index.cjs +7 -0
- package/dist/cjs-dev/components/table/index.d.cts +1 -0
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.cjs +68 -0
- package/dist/cjs-dev/components/table-cell/daikin-table-cell.d.cts +41 -0
- package/dist/cjs-dev/components/table-cell/index.cjs +7 -0
- package/dist/cjs-dev/components/table-cell/index.d.cts +1 -0
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.cjs +93 -0
- package/dist/cjs-dev/components/table-header-cell/daikin-table-header-cell.d.cts +50 -0
- package/dist/cjs-dev/components/table-header-cell/index.cjs +7 -0
- package/dist/cjs-dev/components/table-header-cell/index.d.cts +1 -0
- package/dist/cjs-dev/components/tabs/daikin-tabs.cjs +6 -1
- package/dist/{cjs/components/tabs/daikin-tabs.d.ts → cjs-dev/components/tabs/daikin-tabs.d.cts} +1 -5
- package/dist/cjs-dev/components/tabs/index.d.cts +1 -0
- package/dist/cjs-dev/components/text-area/daikin-text-area.cjs +164 -0
- package/dist/{es/components/textarea/daikin-textarea.d.ts → cjs-dev/components/text-area/daikin-text-area.d.cts} +31 -24
- package/dist/cjs-dev/components/text-area/index.cjs +7 -0
- package/dist/cjs-dev/components/text-area/index.d.cts +1 -0
- package/dist/cjs-dev/components/text-field/daikin-text-field.cjs +222 -0
- package/dist/cjs-dev/components/text-field/daikin-text-field.d.cts +94 -0
- package/dist/cjs-dev/components/text-field/index.cjs +7 -0
- package/dist/cjs-dev/components/text-field/index.d.cts +1 -0
- package/dist/cjs-dev/components/toggle/daikin-toggle.cjs +13 -13
- package/dist/cjs-dev/components/toggle/{daikin-toggle.d.ts → daikin-toggle.d.cts} +3 -3
- package/dist/cjs-dev/components/toggle/index.d.cts +1 -0
- package/dist/cjs-dev/components/tooltip/daikin-tooltip.cjs +77 -113
- package/dist/cjs-dev/components/tooltip/{daikin-tooltip.d.ts → daikin-tooltip.d.cts} +21 -21
- package/dist/cjs-dev/components/tooltip/index.d.cts +1 -0
- package/dist/cjs-dev/controllers/click-outside.cjs +29 -0
- package/dist/cjs-dev/controllers/click-outside.d.cts +37 -0
- package/dist/cjs-dev/controllers/floating-ui-auto-update.cjs +88 -0
- package/dist/cjs-dev/controllers/floating-ui-auto-update.d.cts +24 -0
- package/dist/cjs-dev/controllers/helpers/controller-directive.cjs +50 -0
- package/dist/cjs-dev/controllers/helpers/controller-directive.d.cts +12 -0
- package/dist/cjs-dev/index.cjs +61 -6
- package/dist/cjs-dev/index.d.cts +3 -0
- package/dist/cjs-dev/tailwind.css.cjs +1 -2
- package/dist/cjs-dev/utils/re-dispatch.cjs +10 -0
- package/dist/cjs-dev/utils/re-dispatch.d.cts +1 -0
- package/dist/es/components/accordion/daikin-accordion.js +4 -11
- package/dist/es/components/accordion/index.d.ts +1 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.d.ts +1 -1
- package/dist/es/components/accordion-item/daikin-accordion-item.js +15 -14
- package/dist/es/components/accordion-item/index.d.ts +1 -1
- package/dist/es/components/breadcrumb/index.d.ts +1 -1
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +1 -6
- package/dist/es/components/breadcrumb-item/daikin-breadcrumb-item.js +1 -5
- package/dist/es/components/breadcrumb-item/index.d.ts +1 -1
- package/dist/es/components/button/daikin-button.d.ts +3 -3
- package/dist/es/components/button/daikin-button.js +30 -24
- package/dist/es/components/button/index.d.ts +1 -1
- package/dist/es/components/checkbox/daikin-checkbox.d.ts +4 -4
- package/dist/es/components/checkbox/daikin-checkbox.js +36 -35
- package/dist/es/components/checkbox/index.d.ts +1 -1
- package/dist/es/components/dropdown/daikin-dropdown.d.ts +100 -0
- package/dist/es/components/dropdown/daikin-dropdown.js +368 -0
- package/dist/es/components/dropdown/index.d.ts +1 -0
- package/dist/es/components/dropdown/index.js +4 -0
- package/dist/es/components/dropdown-item/daikin-dropdown-item.d.ts +42 -0
- package/dist/es/components/dropdown-item/daikin-dropdown-item.js +113 -0
- package/dist/es/components/dropdown-item/index.d.ts +1 -0
- package/dist/es/components/dropdown-item/index.js +4 -0
- package/dist/es/components/icon/daikin-icon.d.ts +8 -6
- package/dist/es/components/icon/daikin-icon.js +20 -16
- package/dist/es/components/icon/icons.json.d.ts +30 -6
- package/dist/es/components/icon/icons.json.js +30 -6
- package/dist/es/components/icon/index.d.ts +1 -1
- package/dist/es/components/icon-button/daikin-icon-button.d.ts +82 -0
- package/dist/es/components/icon-button/daikin-icon-button.js +166 -0
- package/dist/es/components/icon-button/index.d.ts +1 -0
- package/dist/es/components/icon-button/index.js +4 -0
- package/dist/es/components/index.d.ts +31 -20
- package/dist/es/components/index.js +26 -4
- package/dist/es/components/input-group/daikin-input-group.d.ts +80 -27
- package/dist/es/components/input-group/daikin-input-group.js +105 -48
- package/dist/es/components/input-group/index.d.ts +1 -1
- package/dist/es/components/link/daikin-link.d.ts +43 -0
- package/dist/es/components/link/daikin-link.js +108 -0
- package/dist/es/components/link/index.d.ts +1 -0
- package/dist/es/components/link/index.js +4 -0
- package/dist/es/components/list/index.d.ts +1 -1
- package/dist/es/components/list-item/daikin-list-item.js +36 -13
- package/dist/es/components/list-item/index.d.ts +1 -1
- package/dist/es/components/notification/daikin-notification.d.ts +7 -7
- package/dist/es/components/notification/daikin-notification.js +31 -24
- package/dist/es/components/notification/index.d.ts +1 -1
- package/dist/es/components/pagination/daikin-pagination.d.ts +39 -0
- package/dist/es/components/pagination/daikin-pagination.js +216 -0
- package/dist/es/components/pagination/index.d.ts +1 -0
- package/dist/es/components/pagination/index.js +4 -0
- package/dist/es/components/pagination/pagination-utils.d.ts +28 -0
- package/dist/es/components/pagination/pagination-utils.js +50 -0
- package/dist/es/components/progress-bar/daikin-progress-bar.d.ts +1 -1
- package/dist/es/components/progress-bar/daikin-progress-bar.js +1 -1
- package/dist/es/components/progress-bar/index.d.ts +1 -1
- package/dist/es/components/progress-indicator/daikin-progress-indicator.d.ts +47 -0
- package/dist/es/components/progress-indicator/daikin-progress-indicator.js +76 -0
- package/dist/es/components/progress-indicator/index.d.ts +1 -0
- package/dist/es/components/progress-indicator/index.js +4 -0
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +41 -0
- package/dist/es/components/progress-indicator-item/daikin-progress-indicator-item.js +85 -0
- package/dist/es/components/progress-indicator-item/index.d.ts +1 -0
- package/dist/es/components/progress-indicator-item/index.js +4 -0
- package/dist/es/components/radio/daikin-radio.d.ts +18 -4
- package/dist/es/components/radio/daikin-radio.js +40 -19
- package/dist/es/components/radio/index.d.ts +1 -1
- package/dist/es/components/radio-group/daikin-radio-group.d.ts +82 -0
- package/dist/es/components/radio-group/daikin-radio-group.js +146 -0
- package/dist/es/components/radio-group/index.d.ts +1 -0
- package/dist/es/components/radio-group/index.js +4 -0
- package/dist/es/components/select/daikin-select.d.ts +65 -0
- package/dist/es/components/select/daikin-select.js +169 -0
- package/dist/es/components/select/index.d.ts +1 -0
- package/dist/es/components/select/index.js +4 -0
- package/dist/es/components/tab/daikin-tab.js +27 -22
- package/dist/es/components/tab/index.d.ts +1 -1
- package/dist/es/components/tab-panels/daikin-tab-panels.d.ts +4 -4
- package/dist/es/components/tab-panels/index.d.ts +1 -1
- package/dist/es/components/table/daikin-table.d.ts +130 -0
- package/dist/es/components/table/daikin-table.js +249 -0
- package/dist/es/components/table/index.d.ts +1 -0
- package/dist/es/components/table/index.js +4 -0
- package/dist/es/components/table-cell/daikin-table-cell.d.ts +41 -0
- package/dist/es/components/table-cell/daikin-table-cell.js +69 -0
- package/dist/es/components/table-cell/index.d.ts +1 -0
- package/dist/es/components/table-cell/index.js +4 -0
- package/dist/es/components/table-header-cell/daikin-table-header-cell.d.ts +50 -0
- package/dist/es/components/table-header-cell/daikin-table-header-cell.js +94 -0
- package/dist/es/components/table-header-cell/index.d.ts +1 -0
- package/dist/es/components/table-header-cell/index.js +4 -0
- package/dist/es/components/tabs/daikin-tabs.d.ts +1 -5
- package/dist/es/components/tabs/daikin-tabs.js +6 -1
- package/dist/es/components/tabs/index.d.ts +1 -1
- package/dist/{cjs/components/textarea/daikin-textarea.d.ts → es/components/text-area/daikin-text-area.d.ts} +31 -24
- package/dist/es/components/text-area/daikin-text-area.js +165 -0
- package/dist/es/components/text-area/index.d.ts +1 -0
- package/dist/es/components/text-area/index.js +4 -0
- package/dist/es/components/text-field/daikin-text-field.d.ts +94 -0
- package/dist/es/components/text-field/daikin-text-field.js +223 -0
- package/dist/es/components/text-field/index.d.ts +1 -0
- package/dist/es/components/text-field/index.js +4 -0
- package/dist/es/components/toggle/daikin-toggle.d.ts +3 -3
- package/dist/es/components/toggle/daikin-toggle.js +13 -13
- package/dist/es/components/toggle/index.d.ts +1 -1
- package/dist/es/components/tooltip/daikin-tooltip.d.ts +21 -21
- package/dist/es/components/tooltip/daikin-tooltip.js +78 -114
- package/dist/es/components/tooltip/index.d.ts +1 -1
- package/dist/es/controllers/click-outside.d.ts +37 -0
- package/dist/es/controllers/click-outside.js +29 -0
- package/dist/es/controllers/floating-ui-auto-update.d.ts +24 -0
- package/dist/es/controllers/floating-ui-auto-update.js +81 -0
- package/dist/es/controllers/helpers/controller-directive.d.ts +12 -0
- package/dist/es/controllers/helpers/controller-directive.js +50 -0
- package/dist/es/index.d.ts +3 -3
- package/dist/es/index.js +26 -4
- package/dist/es/tailwind.css.js +1 -2
- package/dist/es/utils/re-dispatch.d.ts +1 -0
- package/dist/es/utils/re-dispatch.js +10 -0
- package/dist/es-dev/components/accordion/daikin-accordion.js +4 -11
- package/dist/es-dev/components/accordion/index.d.ts +1 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.d.ts +1 -1
- package/dist/es-dev/components/accordion-item/daikin-accordion-item.js +15 -14
- package/dist/es-dev/components/accordion-item/index.d.ts +1 -1
- package/dist/es-dev/components/breadcrumb/index.d.ts +1 -1
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.d.ts +1 -6
- package/dist/es-dev/components/breadcrumb-item/daikin-breadcrumb-item.js +1 -5
- package/dist/es-dev/components/breadcrumb-item/index.d.ts +1 -1
- package/dist/es-dev/components/button/daikin-button.d.ts +3 -3
- package/dist/es-dev/components/button/daikin-button.js +30 -24
- package/dist/es-dev/components/button/index.d.ts +1 -1
- package/dist/es-dev/components/checkbox/daikin-checkbox.d.ts +4 -4
- package/dist/es-dev/components/checkbox/daikin-checkbox.js +36 -35
- package/dist/es-dev/components/checkbox/index.d.ts +1 -1
- package/dist/es-dev/components/dropdown/daikin-dropdown.d.ts +100 -0
- package/dist/es-dev/components/dropdown/daikin-dropdown.js +368 -0
- package/dist/es-dev/components/dropdown/index.d.ts +1 -0
- package/dist/es-dev/components/dropdown/index.js +4 -0
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.d.ts +42 -0
- package/dist/es-dev/components/dropdown-item/daikin-dropdown-item.js +113 -0
- package/dist/es-dev/components/dropdown-item/index.d.ts +1 -0
- package/dist/es-dev/components/dropdown-item/index.js +4 -0
- package/dist/es-dev/components/icon/daikin-icon.d.ts +8 -6
- package/dist/es-dev/components/icon/daikin-icon.js +20 -16
- package/dist/es-dev/components/icon/icons.json.d.ts +30 -6
- package/dist/es-dev/components/icon/icons.json.js +30 -6
- package/dist/es-dev/components/icon/index.d.ts +1 -1
- package/dist/es-dev/components/icon-button/daikin-icon-button.d.ts +82 -0
- package/dist/es-dev/components/icon-button/daikin-icon-button.js +166 -0
- package/dist/es-dev/components/icon-button/index.d.ts +1 -0
- package/dist/es-dev/components/icon-button/index.js +4 -0
- package/dist/es-dev/components/index.d.ts +31 -20
- package/dist/es-dev/components/index.js +26 -4
- package/dist/es-dev/components/input-group/daikin-input-group.d.ts +80 -27
- package/dist/es-dev/components/input-group/daikin-input-group.js +105 -48
- package/dist/es-dev/components/input-group/index.d.ts +1 -1
- package/dist/es-dev/components/link/daikin-link.d.ts +43 -0
- package/dist/es-dev/components/link/daikin-link.js +108 -0
- package/dist/es-dev/components/link/index.d.ts +1 -0
- package/dist/es-dev/components/link/index.js +4 -0
- package/dist/es-dev/components/list/index.d.ts +1 -1
- package/dist/es-dev/components/list-item/daikin-list-item.js +36 -13
- package/dist/es-dev/components/list-item/index.d.ts +1 -1
- package/dist/es-dev/components/notification/daikin-notification.d.ts +7 -7
- package/dist/es-dev/components/notification/daikin-notification.js +31 -24
- package/dist/es-dev/components/notification/index.d.ts +1 -1
- package/dist/es-dev/components/pagination/daikin-pagination.d.ts +39 -0
- package/dist/es-dev/components/pagination/daikin-pagination.js +216 -0
- package/dist/es-dev/components/pagination/index.d.ts +1 -0
- package/dist/es-dev/components/pagination/index.js +4 -0
- package/dist/es-dev/components/pagination/pagination-utils.d.ts +28 -0
- package/dist/es-dev/components/pagination/pagination-utils.js +50 -0
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.d.ts +1 -1
- package/dist/es-dev/components/progress-bar/daikin-progress-bar.js +1 -1
- package/dist/es-dev/components/progress-bar/index.d.ts +1 -1
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.d.ts +47 -0
- package/dist/es-dev/components/progress-indicator/daikin-progress-indicator.js +86 -0
- package/dist/es-dev/components/progress-indicator/index.d.ts +1 -0
- package/dist/es-dev/components/progress-indicator/index.js +4 -0
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.d.ts +41 -0
- package/dist/es-dev/components/progress-indicator-item/daikin-progress-indicator-item.js +85 -0
- package/dist/es-dev/components/progress-indicator-item/index.d.ts +1 -0
- package/dist/es-dev/components/progress-indicator-item/index.js +4 -0
- package/dist/es-dev/components/radio/daikin-radio.d.ts +18 -4
- package/dist/es-dev/components/radio/daikin-radio.js +40 -19
- package/dist/es-dev/components/radio/index.d.ts +1 -1
- package/dist/es-dev/components/radio-group/daikin-radio-group.d.ts +82 -0
- package/dist/es-dev/components/radio-group/daikin-radio-group.js +146 -0
- package/dist/es-dev/components/radio-group/index.d.ts +1 -0
- package/dist/es-dev/components/radio-group/index.js +4 -0
- package/dist/es-dev/components/select/daikin-select.d.ts +65 -0
- package/dist/es-dev/components/select/daikin-select.js +169 -0
- package/dist/es-dev/components/select/index.d.ts +1 -0
- package/dist/es-dev/components/select/index.js +4 -0
- package/dist/es-dev/components/tab/daikin-tab.js +27 -22
- package/dist/es-dev/components/tab/index.d.ts +1 -1
- package/dist/es-dev/components/tab-panels/daikin-tab-panels.d.ts +4 -4
- package/dist/es-dev/components/tab-panels/index.d.ts +1 -1
- package/dist/es-dev/components/table/daikin-table.d.ts +130 -0
- package/dist/es-dev/components/table/daikin-table.js +261 -0
- package/dist/es-dev/components/table/index.d.ts +1 -0
- package/dist/es-dev/components/table/index.js +4 -0
- package/dist/es-dev/components/table-cell/daikin-table-cell.d.ts +41 -0
- package/dist/es-dev/components/table-cell/daikin-table-cell.js +69 -0
- package/dist/es-dev/components/table-cell/index.d.ts +1 -0
- package/dist/es-dev/components/table-cell/index.js +4 -0
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.d.ts +50 -0
- package/dist/es-dev/components/table-header-cell/daikin-table-header-cell.js +94 -0
- package/dist/es-dev/components/table-header-cell/index.d.ts +1 -0
- package/dist/es-dev/components/table-header-cell/index.js +4 -0
- package/dist/es-dev/components/tabs/daikin-tabs.d.ts +1 -5
- package/dist/es-dev/components/tabs/daikin-tabs.js +6 -1
- package/dist/es-dev/components/tabs/index.d.ts +1 -1
- package/dist/es-dev/components/{textarea/daikin-textarea.d.ts → text-area/daikin-text-area.d.ts} +31 -24
- package/dist/es-dev/components/text-area/daikin-text-area.js +165 -0
- package/dist/es-dev/components/text-area/index.d.ts +1 -0
- package/dist/es-dev/components/text-area/index.js +4 -0
- package/dist/es-dev/components/text-field/daikin-text-field.d.ts +94 -0
- package/dist/es-dev/components/text-field/daikin-text-field.js +223 -0
- package/dist/es-dev/components/text-field/index.d.ts +1 -0
- package/dist/es-dev/components/text-field/index.js +4 -0
- package/dist/es-dev/components/toggle/daikin-toggle.d.ts +3 -3
- package/dist/es-dev/components/toggle/daikin-toggle.js +13 -13
- package/dist/es-dev/components/toggle/index.d.ts +1 -1
- package/dist/es-dev/components/tooltip/daikin-tooltip.d.ts +21 -21
- package/dist/es-dev/components/tooltip/daikin-tooltip.js +78 -114
- package/dist/es-dev/components/tooltip/index.d.ts +1 -1
- package/dist/es-dev/controllers/click-outside.d.ts +37 -0
- package/dist/es-dev/controllers/click-outside.js +29 -0
- package/dist/es-dev/controllers/floating-ui-auto-update.d.ts +24 -0
- package/dist/es-dev/controllers/floating-ui-auto-update.js +88 -0
- package/dist/es-dev/controllers/helpers/controller-directive.d.ts +12 -0
- package/dist/es-dev/controllers/helpers/controller-directive.js +50 -0
- package/dist/es-dev/index.d.ts +3 -3
- package/dist/es-dev/index.js +26 -4
- package/dist/es-dev/tailwind.css.js +1 -2
- package/dist/es-dev/utils/re-dispatch.d.ts +1 -0
- package/dist/es-dev/utils/re-dispatch.js +10 -0
- package/icons/arrow-up.svg +3 -0
- package/icons/cross.svg +3 -0
- package/icons/dropdown-check.svg +3 -0
- package/icons/dropdown-chevron-down.svg +3 -0
- package/icons/pagination-chevron-left.svg +3 -0
- package/icons/pagination-chevron-right.svg +3 -0
- package/icons/required.svg +3 -0
- package/icons/sort.svg +3 -0
- package/icons/status-error.svg +1 -1
- package/icons/{notification-status-negative.svg → status-negative.svg} +1 -1
- package/icons/status-positive.svg +4 -14
- package/icons/status-success.svg +6 -0
- package/package.json +55 -56
- package/dist/cjs/components/accordion/index.d.ts +0 -1
- package/dist/cjs/components/accordion-item/index.d.ts +0 -1
- package/dist/cjs/components/breadcrumb/index.d.ts +0 -1
- package/dist/cjs/components/breadcrumb-item/index.d.ts +0 -1
- package/dist/cjs/components/button/index.d.ts +0 -1
- package/dist/cjs/components/checkbox/index.d.ts +0 -1
- package/dist/cjs/components/icon/index.d.ts +0 -1
- package/dist/cjs/components/index.d.ts +0 -20
- package/dist/cjs/components/input-group/daikin-input-group.d.ts +0 -78
- package/dist/cjs/components/input-group/index.d.ts +0 -1
- package/dist/cjs/components/list/index.d.ts +0 -1
- package/dist/cjs/components/list-item/index.d.ts +0 -1
- package/dist/cjs/components/notification/index.d.ts +0 -1
- package/dist/cjs/components/progress-bar/index.d.ts +0 -1
- package/dist/cjs/components/radio/index.d.ts +0 -1
- package/dist/cjs/components/tab/index.d.ts +0 -1
- package/dist/cjs/components/tab-panels/index.d.ts +0 -1
- package/dist/cjs/components/tabs/index.d.ts +0 -1
- package/dist/cjs/components/text-input/daikin-text-input.cjs +0 -138
- package/dist/cjs/components/text-input/daikin-text-input.d.ts +0 -73
- package/dist/cjs/components/text-input/index.cjs +0 -7
- package/dist/cjs/components/text-input/index.d.ts +0 -1
- package/dist/cjs/components/textarea/daikin-textarea.cjs +0 -168
- package/dist/cjs/components/textarea/index.cjs +0 -7
- package/dist/cjs/components/textarea/index.d.ts +0 -1
- package/dist/cjs/components/toggle/index.d.ts +0 -1
- package/dist/cjs/components/tooltip/index.d.ts +0 -1
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs-dev/components/accordion/index.d.ts +0 -1
- package/dist/cjs-dev/components/accordion-item/index.d.ts +0 -1
- package/dist/cjs-dev/components/breadcrumb/index.d.ts +0 -1
- package/dist/cjs-dev/components/breadcrumb-item/index.d.ts +0 -1
- package/dist/cjs-dev/components/button/index.d.ts +0 -1
- package/dist/cjs-dev/components/checkbox/index.d.ts +0 -1
- package/dist/cjs-dev/components/icon/index.d.ts +0 -1
- package/dist/cjs-dev/components/index.d.ts +0 -20
- package/dist/cjs-dev/components/input-group/daikin-input-group.d.ts +0 -78
- package/dist/cjs-dev/components/input-group/index.d.ts +0 -1
- package/dist/cjs-dev/components/list/index.d.ts +0 -1
- package/dist/cjs-dev/components/list-item/index.d.ts +0 -1
- package/dist/cjs-dev/components/notification/index.d.ts +0 -1
- package/dist/cjs-dev/components/progress-bar/index.d.ts +0 -1
- package/dist/cjs-dev/components/radio/index.d.ts +0 -1
- package/dist/cjs-dev/components/tab/index.d.ts +0 -1
- package/dist/cjs-dev/components/tab-panels/index.d.ts +0 -1
- package/dist/cjs-dev/components/tabs/index.d.ts +0 -1
- package/dist/cjs-dev/components/text-input/daikin-text-input.cjs +0 -138
- package/dist/cjs-dev/components/text-input/daikin-text-input.d.ts +0 -73
- package/dist/cjs-dev/components/text-input/index.cjs +0 -7
- package/dist/cjs-dev/components/text-input/index.d.ts +0 -1
- package/dist/cjs-dev/components/textarea/daikin-textarea.cjs +0 -168
- package/dist/cjs-dev/components/textarea/index.cjs +0 -7
- package/dist/cjs-dev/components/textarea/index.d.ts +0 -1
- package/dist/cjs-dev/components/toggle/index.d.ts +0 -1
- package/dist/cjs-dev/components/tooltip/index.d.ts +0 -1
- package/dist/cjs-dev/index.d.ts +0 -3
- package/dist/es/components/text-input/daikin-text-input.d.ts +0 -73
- package/dist/es/components/text-input/daikin-text-input.js +0 -139
- package/dist/es/components/text-input/index.d.ts +0 -1
- package/dist/es/components/text-input/index.js +0 -4
- package/dist/es/components/textarea/daikin-textarea.js +0 -169
- package/dist/es/components/textarea/index.d.ts +0 -1
- package/dist/es/components/textarea/index.js +0 -4
- package/dist/es-dev/components/text-input/daikin-text-input.d.ts +0 -73
- package/dist/es-dev/components/text-input/daikin-text-input.js +0 -139
- package/dist/es-dev/components/text-input/index.d.ts +0 -1
- package/dist/es-dev/components/text-input/index.js +0 -4
- package/dist/es-dev/components/textarea/daikin-textarea.js +0 -169
- package/dist/es-dev/components/textarea/index.d.ts +0 -1
- package/dist/es-dev/components/textarea/index.js +0 -4
- package/icons/notification-status-positive.svg +0 -5
- /package/dist/cjs/{colors.d.ts → colors.d.cts} +0 -0
- /package/dist/cjs/components/accordion/{daikin-accordion.d.ts → daikin-accordion.d.cts} +0 -0
- /package/dist/cjs/components/breadcrumb/{daikin-breadcrumb.d.ts → daikin-breadcrumb.d.cts} +0 -0
- /package/dist/cjs/components/list/{daikin-list.d.ts → daikin-list.d.cts} +0 -0
- /package/dist/cjs/components/list-item/{daikin-list-item.d.ts → daikin-list-item.d.cts} +0 -0
- /package/dist/cjs/components/tab/{daikin-tab.d.ts → daikin-tab.d.cts} +0 -0
- /package/dist/cjs/components/tabs/{scroller.d.ts → scroller.d.cts} +0 -0
- /package/dist/cjs/constants/{events.d.ts → events.d.cts} +0 -0
- /package/dist/cjs/{is-client.d.ts → is-client.d.cts} +0 -0
- /package/dist/cjs/{lit-analyzer-types.d.ts → lit-analyzer-types.d.cts} +0 -0
- /package/dist/cjs/{type-utils.d.ts → type-utils.d.cts} +0 -0
- /package/dist/cjs-dev/{colors.d.ts → colors.d.cts} +0 -0
- /package/dist/cjs-dev/components/accordion/{daikin-accordion.d.ts → daikin-accordion.d.cts} +0 -0
- /package/dist/cjs-dev/components/breadcrumb/{daikin-breadcrumb.d.ts → daikin-breadcrumb.d.cts} +0 -0
- /package/dist/cjs-dev/components/list/{daikin-list.d.ts → daikin-list.d.cts} +0 -0
- /package/dist/cjs-dev/components/list-item/{daikin-list-item.d.ts → daikin-list-item.d.cts} +0 -0
- /package/dist/cjs-dev/components/tab/{daikin-tab.d.ts → daikin-tab.d.cts} +0 -0
- /package/dist/cjs-dev/components/tabs/{scroller.d.ts → scroller.d.cts} +0 -0
- /package/dist/cjs-dev/constants/{events.d.ts → events.d.cts} +0 -0
- /package/dist/cjs-dev/{is-client.d.ts → is-client.d.cts} +0 -0
- /package/dist/cjs-dev/{lit-analyzer-types.d.ts → lit-analyzer-types.d.cts} +0 -0
- /package/dist/cjs-dev/{type-utils.d.ts → type-utils.d.cts} +0 -0
- /package/icons/{notification-status-alarm.svg → status-alarm.svg} +0 -0
- /package/icons/{notification-status-information.svg → status-information.svg} +0 -0
- /package/icons/{notification-status-warning.svg → status-warning.svg} +0 -0
|
@@ -4,18 +4,29 @@ import { DaikinBreadcrumb } from "./breadcrumb/daikin-breadcrumb.js";
|
|
|
4
4
|
import { DaikinBreadcrumbItem } from "./breadcrumb-item/daikin-breadcrumb-item.js";
|
|
5
5
|
import { DaikinButton } from "./button/daikin-button.js";
|
|
6
6
|
import { DaikinCheckbox } from "./checkbox/daikin-checkbox.js";
|
|
7
|
+
import { DaikinDropdown } from "./dropdown/daikin-dropdown.js";
|
|
8
|
+
import { DaikinDropdownItem } from "./dropdown-item/daikin-dropdown-item.js";
|
|
7
9
|
import { DaikinIcon, iconList } from "./icon/daikin-icon.js";
|
|
10
|
+
import { DaikinIconButton } from "./icon-button/daikin-icon-button.js";
|
|
8
11
|
import { DaikinInputGroup } from "./input-group/daikin-input-group.js";
|
|
12
|
+
import { DaikinLink } from "./link/daikin-link.js";
|
|
9
13
|
import { DaikinList } from "./list/daikin-list.js";
|
|
10
14
|
import { DaikinListItem } from "./list-item/daikin-list-item.js";
|
|
11
15
|
import { DaikinNotification } from "./notification/daikin-notification.js";
|
|
16
|
+
import { DaikinPagination } from "./pagination/daikin-pagination.js";
|
|
12
17
|
import { DaikinProgressBar } from "./progress-bar/daikin-progress-bar.js";
|
|
18
|
+
import { DaikinProgressIndicator } from "./progress-indicator/daikin-progress-indicator.js";
|
|
19
|
+
import { DaikinProgressIndicatorItem } from "./progress-indicator-item/daikin-progress-indicator-item.js";
|
|
13
20
|
import { DaikinRadio } from "./radio/daikin-radio.js";
|
|
21
|
+
import { DaikinSelect } from "./select/daikin-select.js";
|
|
14
22
|
import { DaikinTab } from "./tab/daikin-tab.js";
|
|
15
23
|
import { DaikinTabPanels } from "./tab-panels/daikin-tab-panels.js";
|
|
24
|
+
import { DaikinTable } from "./table/daikin-table.js";
|
|
25
|
+
import { DaikinTableCell } from "./table-cell/daikin-table-cell.js";
|
|
26
|
+
import { DaikinTableHeaderCell } from "./table-header-cell/daikin-table-header-cell.js";
|
|
16
27
|
import { DaikinTabs } from "./tabs/daikin-tabs.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
28
|
+
import { DaikinTextArea } from "./text-area/daikin-text-area.js";
|
|
29
|
+
import { DaikinTextField } from "./text-field/daikin-text-field.js";
|
|
19
30
|
import { DaikinToggle } from "./toggle/daikin-toggle.js";
|
|
20
31
|
import { DaikinTooltip } from "./tooltip/daikin-tooltip.js";
|
|
21
32
|
export {
|
|
@@ -25,18 +36,29 @@ export {
|
|
|
25
36
|
DaikinBreadcrumbItem,
|
|
26
37
|
DaikinButton,
|
|
27
38
|
DaikinCheckbox,
|
|
39
|
+
DaikinDropdown,
|
|
40
|
+
DaikinDropdownItem,
|
|
28
41
|
DaikinIcon,
|
|
42
|
+
DaikinIconButton,
|
|
29
43
|
DaikinInputGroup,
|
|
44
|
+
DaikinLink,
|
|
30
45
|
DaikinList,
|
|
31
46
|
DaikinListItem,
|
|
32
47
|
DaikinNotification,
|
|
48
|
+
DaikinPagination,
|
|
33
49
|
DaikinProgressBar,
|
|
50
|
+
DaikinProgressIndicator,
|
|
51
|
+
DaikinProgressIndicatorItem,
|
|
34
52
|
DaikinRadio,
|
|
53
|
+
DaikinSelect,
|
|
35
54
|
DaikinTab,
|
|
36
55
|
DaikinTabPanels,
|
|
56
|
+
DaikinTable,
|
|
57
|
+
DaikinTableCell,
|
|
58
|
+
DaikinTableHeaderCell,
|
|
37
59
|
DaikinTabs,
|
|
38
|
-
|
|
39
|
-
|
|
60
|
+
DaikinTextArea,
|
|
61
|
+
DaikinTextField,
|
|
40
62
|
DaikinToggle,
|
|
41
63
|
DaikinTooltip,
|
|
42
64
|
iconList
|
|
@@ -1,71 +1,124 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import { DaikinTextInput } from '../text-input/daikin-text-input';
|
|
3
|
-
import { DaikinTextarea } from '../textarea/daikin-textarea';
|
|
4
|
-
type ControlElement = DaikinTextInput | DaikinTextarea;
|
|
5
2
|
/**
|
|
6
|
-
* The input group component serves as a wrapper for
|
|
3
|
+
* The input group component serves as a wrapper for an input control component (full list below), providing additional elements such as label text, helper text, or a counter.
|
|
7
4
|
* It enhances the user experience by associating supplementary information or functionality directly with the input field.
|
|
8
5
|
* This component is particularly useful for creating complex forms where clear communication and guidance are essential.
|
|
9
6
|
*
|
|
10
7
|
* Hierarchies:
|
|
11
|
-
* - `daikin-input-group` > `daikin-
|
|
12
|
-
* - `daikin-input-group` > `daikin-
|
|
8
|
+
* - `daikin-input-group` > `daikin-dropdown` > `daikin-dropdown-item`
|
|
9
|
+
* - `daikin-input-group` > `daikin-radio-group` > `daikin-radio`
|
|
10
|
+
* - `daikin-input-group` > `daikin-select`
|
|
11
|
+
* - `daikin-input-group` > `daikin-text-area`
|
|
12
|
+
* - `daikin-input-group` > `daikin-text-field`
|
|
13
13
|
*
|
|
14
|
-
* @slot - A slot for
|
|
14
|
+
* @slot - A slot for an input component. See **Hierarchies** for supported components.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
*
|
|
18
18
|
* ```js
|
|
19
19
|
* import "@daikin-oss/design-system-web-components/components/input-group/index.js";
|
|
20
|
-
*
|
|
21
|
-
* import "@daikin-oss/design-system-web-components/components/
|
|
20
|
+
* <!-- Import the following as necessary. -->
|
|
21
|
+
* import "@daikin-oss/design-system-web-components/components/dropdown/index.js";
|
|
22
|
+
* import "@daikin-oss/design-system-web-components/components/dropdown-item/index.js";
|
|
23
|
+
* import "@daikin-oss/design-system-web-components/components/radio-group/index.js";
|
|
24
|
+
* import "@daikin-oss/design-system-web-components/components/radio/index.js";
|
|
25
|
+
* import "@daikin-oss/design-system-web-components/components/select/index.js";
|
|
26
|
+
* import "@daikin-oss/design-system-web-components/components/text-area/index.js";
|
|
27
|
+
* import "@daikin-oss/design-system-web-components/components/text-field/index.js";
|
|
22
28
|
* ```
|
|
23
29
|
*
|
|
24
|
-
* With
|
|
30
|
+
* With Dropdown:
|
|
25
31
|
*
|
|
26
32
|
* ```html
|
|
27
33
|
* <daikin-input-group>
|
|
28
|
-
* <daikin-
|
|
34
|
+
* <daikin-dropdown value="Value of Dropdown">
|
|
35
|
+
* <daikin-dropdown-item value="Value of Dropdown Item">
|
|
36
|
+
* Dropdown item 1
|
|
37
|
+
* </daikin-dropdown-item>
|
|
38
|
+
* </daikin-dropdown>
|
|
29
39
|
* </daikin-input-group>
|
|
30
40
|
* ```
|
|
31
41
|
*
|
|
32
|
-
* With
|
|
42
|
+
* With Radio Group:
|
|
33
43
|
*
|
|
34
44
|
* ```html
|
|
35
45
|
* <daikin-input-group>
|
|
36
|
-
* <daikin-
|
|
46
|
+
* <daikin-radio-group value="Value of Radio Group">
|
|
47
|
+
* <daikin-radio value="Value of Radio Group" label="Option1"></daikin-radio>
|
|
48
|
+
* </daikin-radio-group>
|
|
37
49
|
* </daikin-input-group>
|
|
38
50
|
* ```
|
|
51
|
+
*
|
|
52
|
+
* With Select:
|
|
53
|
+
*
|
|
54
|
+
* ```html
|
|
55
|
+
* <daikin-input-group>
|
|
56
|
+
* <daikin-select>
|
|
57
|
+
* <select name="select">
|
|
58
|
+
* <option value="value1">Option 1</option>
|
|
59
|
+
* <option value="value2">Option 2</option>
|
|
60
|
+
* <option value="value3">Option 3</option>
|
|
61
|
+
* </select>
|
|
62
|
+
* </daikin-select>
|
|
63
|
+
* </daikin-input-group>
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* With Text Field:
|
|
67
|
+
*
|
|
68
|
+
* ```html
|
|
69
|
+
* <daikin-input-group>
|
|
70
|
+
* <daikin-text-field value="Content of Text Field"></daikin-text-field>
|
|
71
|
+
* </daikin-input-group>
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* With TextArea:
|
|
75
|
+
*
|
|
76
|
+
* ```html
|
|
77
|
+
* <daikin-input-group>
|
|
78
|
+
* <daikin-text-area value="Content of TextArea"></daikin-text-area>
|
|
79
|
+
* </daikin-input-group>
|
|
80
|
+
* ```
|
|
81
|
+
* ```
|
|
39
82
|
*/
|
|
40
83
|
export declare class DaikinInputGroup extends LitElement {
|
|
41
84
|
static readonly styles: import('lit').CSSResult;
|
|
42
85
|
/**
|
|
43
|
-
* Label text
|
|
86
|
+
* Label text displayed at the top of the field.
|
|
44
87
|
*/
|
|
45
|
-
label
|
|
88
|
+
label: string | null;
|
|
46
89
|
/**
|
|
47
|
-
* Helper text
|
|
90
|
+
* Helper text displayed at the top of the field.
|
|
91
|
+
* If `error` is specified and `disabled` is `false`, that takes precedence and helper text is not displayed.
|
|
48
92
|
*/
|
|
49
|
-
helper
|
|
93
|
+
helper: string | null;
|
|
50
94
|
/**
|
|
51
|
-
*
|
|
95
|
+
* Text indicating that the field is required.
|
|
96
|
+
* If a non-empty string is set,
|
|
97
|
+
* - the text will be displayed in red to the right of the label, and
|
|
98
|
+
* - the `required` attribute will be set for the input control in the slot.
|
|
99
|
+
* Ignored if `disabled` is `true`.
|
|
52
100
|
*/
|
|
53
|
-
|
|
101
|
+
required: string | null;
|
|
54
102
|
/**
|
|
55
|
-
*
|
|
103
|
+
* Error text displayed at the top of the field.
|
|
104
|
+
* Ignored if `disabled` is `true`.
|
|
105
|
+
* Reflected in presence of `error` attribute of the input control in the slot.
|
|
56
106
|
*/
|
|
57
|
-
|
|
107
|
+
error: string | null;
|
|
58
108
|
/**
|
|
59
|
-
*
|
|
109
|
+
* Whether the field is disabled.
|
|
110
|
+
* Reflected in `disabled` attribute of the input control in the slot.
|
|
60
111
|
*/
|
|
61
|
-
|
|
112
|
+
disabled: boolean;
|
|
62
113
|
/**
|
|
63
|
-
*
|
|
114
|
+
* Maximum value to display on the counter. When `null`, the counter will be hidden.
|
|
64
115
|
*/
|
|
65
|
-
|
|
66
|
-
_textareas
|
|
67
|
-
_controls
|
|
116
|
+
textareaMaxCount: number | null;
|
|
117
|
+
private readonly _textareas;
|
|
118
|
+
private readonly _controls;
|
|
119
|
+
private _textareaCount;
|
|
68
120
|
private _handleSlotChange;
|
|
121
|
+
private _handleInput;
|
|
69
122
|
private _reflectSlotProperties;
|
|
70
123
|
render(): import('lit-html').TemplateResult<1>;
|
|
71
124
|
updated(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { colorFeedbackNegative } from "@daikin-oss/dds-tokens/js/daikin/Light/variables.js";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { css, unsafeCSS, LitElement, html } from "lit";
|
|
4
|
-
import { property, queryAssignedElements, customElement } from "lit/decorators.js";
|
|
3
|
+
import { css, unsafeCSS, LitElement, html, nothing } from "lit";
|
|
4
|
+
import { property, queryAssignedElements, state, customElement } from "lit/decorators.js";
|
|
5
5
|
import tailwindStyles from "../../tailwind.css.js";
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
7
7
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -13,64 +13,116 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
13
|
if (kind && result) __defProp(target, key, result);
|
|
14
14
|
return result;
|
|
15
15
|
};
|
|
16
|
-
const cvaLabel = cva(["
|
|
16
|
+
const cvaLabel = cva(["flex", "items-center", "font-bold", "leading-5"], {
|
|
17
17
|
variants: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
required: {
|
|
23
|
-
optional: [],
|
|
24
|
-
required: ["after:content-['*']", "after:ml-[2px]"]
|
|
18
|
+
disabled: {
|
|
19
|
+
false: [],
|
|
20
|
+
true: ["text-system-state-disabled"]
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
});
|
|
28
|
-
const cvaHelper = cva(
|
|
24
|
+
const cvaHelper = cva(
|
|
25
|
+
["flex", "gap-1", "items-center", "leading-5", "text-sm"],
|
|
26
|
+
{
|
|
27
|
+
variants: {
|
|
28
|
+
type: {
|
|
29
|
+
helper: [],
|
|
30
|
+
helperDisabled: ["text-system-state-disabled"],
|
|
31
|
+
error: [
|
|
32
|
+
"text-system-state-error-active",
|
|
33
|
+
"font-bold",
|
|
34
|
+
"before:size-4",
|
|
35
|
+
"before:i-daikin-status-error"
|
|
36
|
+
],
|
|
37
|
+
none: ["hidden"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
const cvaCounter = cva(["text-sm", "font-bold"], {
|
|
43
|
+
variants: {
|
|
44
|
+
disabled: {
|
|
45
|
+
false: ["text-system-element-text-secondary"],
|
|
46
|
+
true: ["text-system-state-disabled"]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
const cvaCounterValueLength = cva([], {
|
|
29
51
|
variants: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
52
|
+
error: {
|
|
53
|
+
false: [],
|
|
54
|
+
true: ["text-system-state-error-active"]
|
|
33
55
|
}
|
|
34
56
|
}
|
|
35
57
|
});
|
|
36
58
|
let DaikinInputGroup = class extends LitElement {
|
|
37
59
|
constructor() {
|
|
38
60
|
super(...arguments);
|
|
61
|
+
this.label = null;
|
|
62
|
+
this.helper = null;
|
|
63
|
+
this.required = null;
|
|
64
|
+
this.error = null;
|
|
39
65
|
this.disabled = false;
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
this.textareaCounter = false;
|
|
66
|
+
this.textareaMaxCount = null;
|
|
67
|
+
this._textareaCount = null;
|
|
43
68
|
}
|
|
44
69
|
_handleSlotChange() {
|
|
45
70
|
this._reflectSlotProperties();
|
|
71
|
+
const textarea = this._textareas[0];
|
|
72
|
+
this._textareaCount = (textarea == null ? void 0 : textarea.count) ?? null;
|
|
73
|
+
}
|
|
74
|
+
_handleInput(event) {
|
|
75
|
+
if (event.target.tagName === "DAIKIN-TEXT-AREA") {
|
|
76
|
+
this._textareaCount = event.target.count;
|
|
77
|
+
}
|
|
46
78
|
}
|
|
47
79
|
_reflectSlotProperties() {
|
|
48
|
-
const isError = !this.disabled && !!this.error;
|
|
49
80
|
for (const control of this._controls) {
|
|
50
|
-
control.
|
|
51
|
-
control.error = isError;
|
|
52
|
-
}
|
|
53
|
-
for (const item of this._textareas) {
|
|
54
|
-
item.counter = this.textareaCounter;
|
|
81
|
+
control.reflectInputGroup(this);
|
|
55
82
|
}
|
|
56
83
|
}
|
|
57
84
|
render() {
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
85
|
+
const helperType = this.error && !this.disabled ? "error" : this.helper ? this.disabled ? "helperDisabled" : "helper" : "none";
|
|
86
|
+
const helperText = {
|
|
87
|
+
error: this.error,
|
|
88
|
+
helper: this.helper,
|
|
89
|
+
helperDisabled: this.helper,
|
|
90
|
+
none: ""
|
|
91
|
+
}[helperType];
|
|
65
92
|
return html`<fieldset class="content" ?disabled=${this.disabled}>
|
|
66
|
-
<label
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
93
|
+
<label
|
|
94
|
+
class="flex flex-col justify-center gap-2 w-full text-system-element-text-primary font-daikinSerif"
|
|
95
|
+
>
|
|
96
|
+
<div class="flex justify-between items-center gap-2">
|
|
97
|
+
<div class="flex items-center gap-1 font-bold">
|
|
98
|
+
${this.label ? html`<span class=${cvaLabel({ disabled: this.disabled })}>
|
|
99
|
+
${this.label}
|
|
100
|
+
</span>` : nothing}
|
|
101
|
+
${this.required && !this.disabled ? html`<span class="text-system-state-error-active text-xs">
|
|
102
|
+
${this.required}
|
|
103
|
+
</span>` : nothing}
|
|
104
|
+
</div>
|
|
105
|
+
${this.textareaMaxCount != null && this._textareaCount != null ? html`
|
|
106
|
+
<span class=${cvaCounter({ disabled: this.disabled })}>
|
|
107
|
+
<span
|
|
108
|
+
class=${cvaCounterValueLength({
|
|
109
|
+
error: this.textareaMaxCount < this._textareaCount
|
|
110
|
+
})}
|
|
111
|
+
>${this._textareaCount}</span
|
|
112
|
+
><span>/</span><span>${this.textareaMaxCount}</span>
|
|
113
|
+
</span>
|
|
114
|
+
` : nothing}
|
|
115
|
+
</div>
|
|
116
|
+
<span
|
|
117
|
+
class=${cvaHelper({ type: helperType })}
|
|
118
|
+
aria-live=${helperType === "error" ? "polite" : "off"}
|
|
119
|
+
>
|
|
120
|
+
${helperText}
|
|
121
|
+
</span>
|
|
122
|
+
<slot
|
|
123
|
+
@slotchange=${this._handleSlotChange}
|
|
124
|
+
@input=${this._handleInput}
|
|
125
|
+
></slot>
|
|
74
126
|
</label>
|
|
75
127
|
</fieldset>`;
|
|
76
128
|
}
|
|
@@ -85,33 +137,38 @@ DaikinInputGroup.styles = css`
|
|
|
85
137
|
--input-group-border-color-error: ${unsafeCSS(colorFeedbackNegative)};
|
|
86
138
|
|
|
87
139
|
display: block;
|
|
88
|
-
width:
|
|
140
|
+
width: 100%;
|
|
89
141
|
}
|
|
90
142
|
`;
|
|
91
143
|
__decorateClass([
|
|
92
|
-
property({ type: String })
|
|
144
|
+
property({ type: String, reflect: true })
|
|
93
145
|
], DaikinInputGroup.prototype, "label", 2);
|
|
94
146
|
__decorateClass([
|
|
95
|
-
property({ type: String })
|
|
147
|
+
property({ type: String, reflect: true })
|
|
96
148
|
], DaikinInputGroup.prototype, "helper", 2);
|
|
97
149
|
__decorateClass([
|
|
98
|
-
property({ type:
|
|
99
|
-
], DaikinInputGroup.prototype, "disabled", 2);
|
|
100
|
-
__decorateClass([
|
|
101
|
-
property({ type: Boolean, reflect: true })
|
|
150
|
+
property({ type: String, reflect: true })
|
|
102
151
|
], DaikinInputGroup.prototype, "required", 2);
|
|
103
152
|
__decorateClass([
|
|
104
153
|
property({ type: String, reflect: true })
|
|
105
154
|
], DaikinInputGroup.prototype, "error", 2);
|
|
106
155
|
__decorateClass([
|
|
107
156
|
property({ type: Boolean, reflect: true })
|
|
108
|
-
], DaikinInputGroup.prototype, "
|
|
157
|
+
], DaikinInputGroup.prototype, "disabled", 2);
|
|
109
158
|
__decorateClass([
|
|
110
|
-
|
|
159
|
+
property({ type: Number, reflect: true, attribute: "textarea-max-count" })
|
|
160
|
+
], DaikinInputGroup.prototype, "textareaMaxCount", 2);
|
|
161
|
+
__decorateClass([
|
|
162
|
+
queryAssignedElements({ selector: "daikin-text-area" })
|
|
111
163
|
], DaikinInputGroup.prototype, "_textareas", 2);
|
|
112
164
|
__decorateClass([
|
|
113
|
-
queryAssignedElements({
|
|
165
|
+
queryAssignedElements({
|
|
166
|
+
selector: "daikin-dropdown,daikin-radio-group,daikin-select,daikin-text-field,daikin-text-area"
|
|
167
|
+
})
|
|
114
168
|
], DaikinInputGroup.prototype, "_controls", 2);
|
|
169
|
+
__decorateClass([
|
|
170
|
+
state()
|
|
171
|
+
], DaikinInputGroup.prototype, "_textareaCount", 2);
|
|
115
172
|
DaikinInputGroup = __decorateClass([
|
|
116
173
|
customElement("daikin-input-group")
|
|
117
174
|
], DaikinInputGroup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./daikin-input-group.js";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* The link component uses the standard HTML <a> tag. Unlike the link used in the button component, it provides the style of the text as it is.
|
|
4
|
+
*
|
|
5
|
+
* @slot - A slot for the link content.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* ```js
|
|
10
|
+
* import "@daikin-oss/design-system-web-components/components/link/index.js";
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* ```html
|
|
14
|
+
* <daikin-link href="https://www.example.com">
|
|
15
|
+
* Link label
|
|
16
|
+
* </daikin-link>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class DaikinLink extends LitElement {
|
|
20
|
+
static readonly styles: import('lit').CSSResult;
|
|
21
|
+
/**
|
|
22
|
+
* Link `href`.
|
|
23
|
+
*/
|
|
24
|
+
href: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Link `target`.
|
|
27
|
+
*/
|
|
28
|
+
target: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Whether or not disabled.
|
|
31
|
+
*/
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether or not to change the color of visited links.
|
|
35
|
+
*/
|
|
36
|
+
showVisited: boolean;
|
|
37
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
38
|
+
}
|
|
39
|
+
declare global {
|
|
40
|
+
interface HTMLElementTagNameMap {
|
|
41
|
+
"daikin-link": DaikinLink;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { cva } from "class-variance-authority";
|
|
2
|
+
import { css, unsafeCSS, LitElement, html } from "lit";
|
|
3
|
+
import { property, customElement } from "lit/decorators.js";
|
|
4
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
5
|
+
import tailwindStyles from "../../tailwind.css.js";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13
|
+
if (kind && result) __defProp(target, key, result);
|
|
14
|
+
return result;
|
|
15
|
+
};
|
|
16
|
+
const LINK_CLASS_NAME = cva([
|
|
17
|
+
"flex",
|
|
18
|
+
"justify-center",
|
|
19
|
+
"items-center",
|
|
20
|
+
"gap-0.5",
|
|
21
|
+
"size-fit",
|
|
22
|
+
"font-daikinSerif",
|
|
23
|
+
"rounded-[1px]",
|
|
24
|
+
"relative",
|
|
25
|
+
"link-enabled:text-system-state-link-active",
|
|
26
|
+
"link-enabled:hover:text-system-state-link-hover",
|
|
27
|
+
"link-enabled:hover:bg-system-state-link-surface-hover",
|
|
28
|
+
"link-enabled:active:text-system-state-link-press",
|
|
29
|
+
"link-disabled:text-system-state-disabled",
|
|
30
|
+
"focus-visible:outline-none",
|
|
31
|
+
"focus-visible:before:block",
|
|
32
|
+
"focus-visible:before:rounded-none",
|
|
33
|
+
"focus-visible:before:absolute",
|
|
34
|
+
"focus-visible:before:inset-[-1px]",
|
|
35
|
+
"focus-visible:before:outline",
|
|
36
|
+
"focus-visible:before:outline-system-state-focus",
|
|
37
|
+
"focus-visible:before:outline-2",
|
|
38
|
+
"after:h-[1px]",
|
|
39
|
+
"after:absolute",
|
|
40
|
+
"after:inset-[auto_0_0_0]",
|
|
41
|
+
"after:bg-current"
|
|
42
|
+
])();
|
|
43
|
+
let DaikinLink = class extends LitElement {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments);
|
|
46
|
+
this.href = null;
|
|
47
|
+
this.target = null;
|
|
48
|
+
this.disabled = false;
|
|
49
|
+
this.showVisited = false;
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return html`
|
|
53
|
+
<a
|
|
54
|
+
class=${LINK_CLASS_NAME}
|
|
55
|
+
href=${ifDefined(this.disabled ? void 0 : this.href ?? void 0)}
|
|
56
|
+
target=${ifDefined(this.target ?? void 0)}
|
|
57
|
+
aria-disabled=${ifDefined(this.disabled ? "true" : void 0)}
|
|
58
|
+
>
|
|
59
|
+
<slot name="left-icon" class="icon-size-4"></slot>
|
|
60
|
+
<slot></slot>
|
|
61
|
+
<slot name="right-icon" class="icon-size-4"></slot>
|
|
62
|
+
</a>
|
|
63
|
+
`;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
DaikinLink.styles = css`
|
|
67
|
+
${unsafeCSS(tailwindStyles)}
|
|
68
|
+
|
|
69
|
+
:host {
|
|
70
|
+
display: block;
|
|
71
|
+
width: fit-content;
|
|
72
|
+
height: fit-content;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:host([show-visited]:not([disabled])) a:visited {
|
|
76
|
+
color: #5c2365; /* system-state-visited-active */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host([show-visited]:not([disabled])) a:hover:visited {
|
|
80
|
+
color: #4a1c51; /* system-state-visited-hover */
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host([show-visited]:not([disabled])) a:hover:visited {
|
|
84
|
+
background-color: #f0ddf3; /* system-state-visited-hover */
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([show-visited]:not([disabled])) a:active:visited {
|
|
88
|
+
color: #37153d; /* system-state-visited-press */
|
|
89
|
+
}
|
|
90
|
+
`;
|
|
91
|
+
__decorateClass([
|
|
92
|
+
property({ type: String, reflect: true })
|
|
93
|
+
], DaikinLink.prototype, "href", 2);
|
|
94
|
+
__decorateClass([
|
|
95
|
+
property({ type: String, reflect: true })
|
|
96
|
+
], DaikinLink.prototype, "target", 2);
|
|
97
|
+
__decorateClass([
|
|
98
|
+
property({ type: Boolean, reflect: true })
|
|
99
|
+
], DaikinLink.prototype, "disabled", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
property({ type: Boolean, reflect: true, attribute: "show-visited" })
|
|
102
|
+
], DaikinLink.prototype, "showVisited", 2);
|
|
103
|
+
DaikinLink = __decorateClass([
|
|
104
|
+
customElement("daikin-link")
|
|
105
|
+
], DaikinLink);
|
|
106
|
+
export {
|
|
107
|
+
DaikinLink
|
|
108
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./daikin-link.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./daikin-list.js";
|