@diwacopilot/components 1.1.0 → 1.2.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/dist/cjs/diwa-badge.cjs.entry.js +45 -3
- package/dist/cjs/diwa-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/diwa-button-pure.cjs.entry.js +1 -1
- package/dist/cjs/diwa-button.cjs.entry.js +1 -1
- package/dist/cjs/diwa-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/diwa-components.cjs.js +1 -1
- package/dist/cjs/diwa-divider.cjs.entry.js +1 -1
- package/dist/cjs/diwa-flyout.cjs.entry.js +1 -1
- package/dist/cjs/diwa-heading.cjs.entry.js +1 -1
- package/dist/cjs/diwa-icon.cjs.entry.js +1 -1
- package/dist/cjs/diwa-inline-notification.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-date.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-email.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-month.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-number.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-password.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-search.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-tel.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-text.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-time.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-url.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input-week.cjs.entry.js +1 -1
- package/dist/cjs/diwa-input.cjs.entry.js +1 -1
- package/dist/cjs/diwa-link-pure.cjs.entry.js +1 -1
- package/dist/cjs/diwa-link.cjs.entry.js +1 -1
- package/dist/cjs/diwa-modal.cjs.entry.js +1 -1
- package/dist/cjs/diwa-multi-select-option.cjs.entry.js +1 -1
- package/dist/cjs/diwa-multi-select.cjs.entry.js +2 -2
- package/dist/cjs/diwa-pagination.cjs.entry.js +1 -1
- package/dist/cjs/diwa-pin-code.cjs.entry.js +2 -2
- package/dist/cjs/diwa-popover.cjs.entry.js +1 -1
- package/dist/cjs/diwa-radio-group-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/diwa-scroller.cjs.entry.js +1 -1
- package/dist/cjs/diwa-segmented-control-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-segmented-control.cjs.entry.js +1 -1
- package/dist/cjs/diwa-select-option.cjs.entry.js +1 -1
- package/dist/cjs/diwa-select.cjs.entry.js +1 -1
- package/dist/cjs/diwa-spinner.cjs.entry.js +1 -1
- package/dist/cjs/diwa-stepper-horizontal-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-stepper-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/diwa-switch.cjs.entry.js +1 -1
- package/dist/cjs/diwa-table-body.cjs.entry.js +1 -1
- package/dist/cjs/diwa-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/diwa-table-head-cell.cjs.entry.js +4 -4
- package/dist/cjs/diwa-table-head.cjs.entry.js +1 -1
- package/dist/cjs/diwa-table-row.cjs.entry.js +1 -1
- package/dist/cjs/diwa-table.cjs.entry.js +1 -1
- package/dist/cjs/diwa-tabs-bar.cjs.entry.js +1 -1
- package/dist/cjs/diwa-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-tabs.cjs.entry.js +1 -1
- package/dist/cjs/diwa-tag-dismissible.cjs.entry.js +1 -1
- package/dist/cjs/diwa-tag.cjs.entry.js +1 -1
- package/dist/cjs/diwa-text-list-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-text-list.cjs.entry.js +1 -1
- package/dist/cjs/diwa-text.cjs.entry.js +1 -1
- package/dist/cjs/diwa-textarea.cjs.entry.js +1 -1
- package/dist/cjs/diwa-toast-item.cjs.entry.js +1 -1
- package/dist/cjs/diwa-toast.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/diwa-badge/diwa-badge-styles.js +39 -2
- package/dist/collection/components/diwa-badge/diwa-badge-styles.js.map +1 -1
- package/dist/collection/components/diwa-badge/diwa-badge.js +32 -4
- package/dist/collection/components/diwa-badge/diwa-badge.js.map +1 -1
- package/dist/collection/components/diwa-button/diwa-button.js +1 -1
- package/dist/collection/components/diwa-button-pure/diwa-button-pure.js +1 -1
- package/dist/collection/components/diwa-checkbox/diwa-checkbox.js +1 -1
- package/dist/collection/components/diwa-divider/diwa-divider.js +1 -1
- package/dist/collection/components/diwa-flyout/diwa-flyout.js +1 -1
- package/dist/collection/components/diwa-heading/diwa-heading.js +1 -1
- package/dist/collection/components/diwa-icon/diwa-icon.js +1 -1
- package/dist/collection/components/diwa-inline-notification/diwa-inline-notification.js +1 -1
- package/dist/collection/components/diwa-input/diwa-input.js +1 -1
- package/dist/collection/components/diwa-input-date/diwa-input-date.js +1 -1
- package/dist/collection/components/diwa-input-email/diwa-input-email.js +1 -1
- package/dist/collection/components/diwa-input-month/diwa-input-month.js +1 -1
- package/dist/collection/components/diwa-input-number/diwa-input-number.js +1 -1
- package/dist/collection/components/diwa-input-password/diwa-input-password.js +1 -1
- package/dist/collection/components/diwa-input-search/diwa-input-search.js +1 -1
- package/dist/collection/components/diwa-input-tel/diwa-input-tel.js +1 -1
- package/dist/collection/components/diwa-input-text/diwa-input-text.js +1 -1
- package/dist/collection/components/diwa-input-time/diwa-input-time.js +1 -1
- package/dist/collection/components/diwa-input-url/diwa-input-url.js +1 -1
- package/dist/collection/components/diwa-input-week/diwa-input-week.js +1 -1
- package/dist/collection/components/diwa-link/diwa-link.js +1 -1
- package/dist/collection/components/diwa-link-pure/diwa-link-pure.js +1 -1
- package/dist/collection/components/diwa-modal/diwa-modal.js +1 -1
- package/dist/collection/components/diwa-multi-select/diwa-multi-select.js +2 -2
- package/dist/collection/components/diwa-multi-select-option/diwa-multi-select-option.js +1 -1
- package/dist/collection/components/diwa-pagination/diwa-pagination.js +1 -1
- package/dist/collection/components/diwa-pin-code/diwa-pin-code.js +2 -2
- package/dist/collection/components/diwa-popover/diwa-popover.js +1 -1
- package/dist/collection/components/diwa-radio-group/diwa-radio-group.js +1 -1
- package/dist/collection/components/diwa-radio-group-item/diwa-radio-group-item.js +1 -1
- package/dist/collection/components/diwa-scroller/diwa-scroller.js +1 -1
- package/dist/collection/components/diwa-segmented-control/diwa-segmented-control.js +1 -1
- package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item.js +1 -1
- package/dist/collection/components/diwa-select/diwa-select.js +1 -1
- package/dist/collection/components/diwa-select-option/diwa-select-option.js +1 -1
- package/dist/collection/components/diwa-spinner/diwa-spinner.js +1 -1
- package/dist/collection/components/diwa-stepper-horizontal/diwa-stepper-horizontal.js +1 -1
- package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item.js +1 -1
- package/dist/collection/components/diwa-switch/diwa-switch.js +1 -1
- package/dist/collection/components/diwa-table/diwa-table.js +1 -1
- package/dist/collection/components/diwa-table-body/diwa-table-body.js +1 -1
- package/dist/collection/components/diwa-table-cell/diwa-table-cell.js +1 -1
- package/dist/collection/components/diwa-table-head/diwa-table-head.js +1 -1
- package/dist/collection/components/diwa-table-head-cell/diwa-table-head-cell.js +4 -4
- package/dist/collection/components/diwa-table-row/diwa-table-row.js +1 -1
- package/dist/collection/components/diwa-tabs/diwa-tabs.js +1 -1
- package/dist/collection/components/diwa-tabs-bar/diwa-tabs-bar.js +1 -1
- package/dist/collection/components/diwa-tabs-item/diwa-tabs-item.js +1 -1
- package/dist/collection/components/diwa-tag/diwa-tag.js +1 -1
- package/dist/collection/components/diwa-tag-dismissible/diwa-tag-dismissible.js +1 -1
- package/dist/collection/components/diwa-text/diwa-text.js +1 -1
- package/dist/collection/components/diwa-text-list/diwa-text-list.js +1 -1
- package/dist/collection/components/diwa-text-list-item/diwa-text-list-item.js +1 -1
- package/dist/collection/components/diwa-textarea/diwa-textarea.js +1 -1
- package/dist/collection/components/diwa-toast/diwa-toast.js +1 -1
- package/dist/collection/components/diwa-toast-item/diwa-toast-item.js +1 -1
- package/dist/diwa-components/diwa-components.esm.js +1 -1
- package/dist/diwa-components/diwa-components.esm.js.map +1 -1
- package/dist/diwa-components/{p-c78591ce.entry.js → p-0028e799.entry.js} +2 -2
- package/dist/diwa-components/{p-3fb5cc30.entry.js → p-008bdfa4.entry.js} +2 -2
- package/dist/diwa-components/{p-95b0fdea.entry.js → p-027e5299.entry.js} +2 -2
- package/dist/diwa-components/{p-3660b09a.entry.js → p-03a4902e.entry.js} +2 -2
- package/dist/diwa-components/p-05a02076.entry.js +2 -0
- package/dist/diwa-components/{p-230692aa.entry.js → p-090f557b.entry.js} +2 -2
- package/dist/diwa-components/{p-9ade0403.entry.js → p-0b6aa730.entry.js} +2 -2
- package/dist/diwa-components/{p-d917625e.entry.js → p-0c2776f7.entry.js} +2 -2
- package/dist/diwa-components/{p-cc0e1662.entry.js → p-11aae5f1.entry.js} +2 -2
- package/dist/diwa-components/{p-9eef4779.entry.js → p-13aeda0b.entry.js} +2 -2
- package/dist/diwa-components/{p-36b004e9.entry.js → p-145e5281.entry.js} +2 -2
- package/dist/diwa-components/{p-35b69160.entry.js → p-20332312.entry.js} +2 -2
- package/dist/diwa-components/{p-3b38fa01.entry.js → p-247210ec.entry.js} +2 -2
- package/dist/diwa-components/p-24c10d6e.entry.js +2 -0
- package/dist/diwa-components/{p-78b16866.entry.js → p-2c3cff37.entry.js} +2 -2
- package/dist/diwa-components/{p-1830772d.entry.js → p-310a22ca.entry.js} +2 -2
- package/dist/diwa-components/{p-7a99a2aa.entry.js → p-335e06ab.entry.js} +2 -2
- package/dist/diwa-components/{p-def36bc4.entry.js → p-33b49ced.entry.js} +2 -2
- package/dist/diwa-components/{p-37e1bea3.entry.js → p-36056450.entry.js} +2 -2
- package/dist/diwa-components/{p-8369c48e.entry.js → p-3a992d7e.entry.js} +2 -2
- package/dist/diwa-components/p-3e68a752.entry.js +2 -0
- package/dist/diwa-components/{p-bbede25d.entry.js → p-4332671a.entry.js} +2 -2
- package/dist/diwa-components/p-454aa95f.entry.js +2 -0
- package/dist/diwa-components/{p-238da82a.entry.js → p-46a8a0a7.entry.js} +2 -2
- package/dist/diwa-components/{p-3269a4b7.entry.js → p-50420bc6.entry.js} +2 -2
- package/dist/diwa-components/{p-13e71247.entry.js → p-52f32ba8.entry.js} +2 -2
- package/dist/diwa-components/{p-e19ad9fa.entry.js → p-5e75b7b3.entry.js} +2 -2
- package/dist/diwa-components/{p-1250d0c7.entry.js → p-630b5003.entry.js} +2 -2
- package/dist/diwa-components/{p-952af214.entry.js → p-645e5f9a.entry.js} +2 -2
- package/dist/diwa-components/{p-db70e030.entry.js → p-6dcf2862.entry.js} +2 -2
- package/dist/diwa-components/p-6f639ee0.entry.js +2 -0
- package/dist/diwa-components/p-76f75cb3.entry.js +2 -0
- package/dist/diwa-components/p-76f75cb3.entry.js.map +1 -0
- package/dist/diwa-components/{p-bd501daa.entry.js → p-8285e16e.entry.js} +2 -2
- package/dist/diwa-components/p-82be1b3a.entry.js +2 -0
- package/dist/diwa-components/{p-9910d570.entry.js → p-845b2a42.entry.js} +2 -2
- package/dist/diwa-components/p-851e4c86.entry.js +2 -0
- package/dist/diwa-components/{p-f44d4091.entry.js.map → p-851e4c86.entry.js.map} +1 -1
- package/dist/diwa-components/{p-87932af2.entry.js → p-878039a1.entry.js} +2 -2
- package/dist/diwa-components/{p-c6ca8d8b.entry.js → p-887e0cb5.entry.js} +2 -2
- package/dist/diwa-components/{p-926e283b.entry.js → p-8b210952.entry.js} +2 -2
- package/dist/diwa-components/{p-66c53adc.entry.js → p-90504a91.entry.js} +2 -2
- package/dist/diwa-components/p-90d0db67.entry.js +2 -0
- package/dist/diwa-components/{p-117dc41d.entry.js → p-a446b615.entry.js} +2 -2
- package/dist/diwa-components/{p-71c45961.entry.js → p-b33f4993.entry.js} +2 -2
- package/dist/diwa-components/p-b595f330.entry.js +2 -0
- package/dist/diwa-components/{p-50866c5a.entry.js → p-bcc6545a.entry.js} +2 -2
- package/dist/diwa-components/{p-1d708e1e.entry.js → p-c2557813.entry.js} +2 -2
- package/dist/diwa-components/p-c3535eb8.entry.js +2 -0
- package/dist/diwa-components/p-c4083a76.entry.js +2 -0
- package/dist/diwa-components/{p-429c596d.entry.js.map → p-c4083a76.entry.js.map} +1 -1
- package/dist/diwa-components/{p-e9673253.entry.js → p-c427acf5.entry.js} +2 -2
- package/dist/diwa-components/{p-b072ff72.entry.js → p-c862863d.entry.js} +2 -2
- package/dist/diwa-components/{p-66c15f66.entry.js → p-c9ec0829.entry.js} +2 -2
- package/dist/diwa-components/{p-9c89e586.entry.js → p-d57421af.entry.js} +2 -2
- package/dist/diwa-components/{p-998dd88e.entry.js → p-e23fbe5f.entry.js} +2 -2
- package/dist/diwa-components/{p-863c88a4.entry.js → p-e6f7dd21.entry.js} +2 -2
- package/dist/diwa-components/p-ecb1eabd.entry.js +2 -0
- package/dist/diwa-components/{p-29419c9a.entry.js → p-f842df14.entry.js} +2 -2
- package/dist/diwa-components/{p-5f9139bc.entry.js → p-fa3f0cb0.entry.js} +2 -2
- package/dist/esm/diwa-badge.entry.js +45 -3
- package/dist/esm/diwa-badge.entry.js.map +1 -1
- package/dist/esm/diwa-button-pure.entry.js +1 -1
- package/dist/esm/diwa-button.entry.js +1 -1
- package/dist/esm/diwa-checkbox.entry.js +1 -1
- package/dist/esm/diwa-components.js +1 -1
- package/dist/esm/diwa-divider.entry.js +1 -1
- package/dist/esm/diwa-flyout.entry.js +1 -1
- package/dist/esm/diwa-heading.entry.js +1 -1
- package/dist/esm/diwa-icon.entry.js +1 -1
- package/dist/esm/diwa-inline-notification.entry.js +1 -1
- package/dist/esm/diwa-input-date.entry.js +1 -1
- package/dist/esm/diwa-input-email.entry.js +1 -1
- package/dist/esm/diwa-input-month.entry.js +1 -1
- package/dist/esm/diwa-input-number.entry.js +1 -1
- package/dist/esm/diwa-input-password.entry.js +1 -1
- package/dist/esm/diwa-input-search.entry.js +1 -1
- package/dist/esm/diwa-input-tel.entry.js +1 -1
- package/dist/esm/diwa-input-text.entry.js +1 -1
- package/dist/esm/diwa-input-time.entry.js +1 -1
- package/dist/esm/diwa-input-url.entry.js +1 -1
- package/dist/esm/diwa-input-week.entry.js +1 -1
- package/dist/esm/diwa-input.entry.js +1 -1
- package/dist/esm/diwa-link-pure.entry.js +1 -1
- package/dist/esm/diwa-link.entry.js +1 -1
- package/dist/esm/diwa-modal.entry.js +1 -1
- package/dist/esm/diwa-multi-select-option.entry.js +1 -1
- package/dist/esm/diwa-multi-select.entry.js +2 -2
- package/dist/esm/diwa-pagination.entry.js +1 -1
- package/dist/esm/diwa-pin-code.entry.js +2 -2
- package/dist/esm/diwa-popover.entry.js +1 -1
- package/dist/esm/diwa-radio-group-item.entry.js +1 -1
- package/dist/esm/diwa-radio-group.entry.js +1 -1
- package/dist/esm/diwa-scroller.entry.js +1 -1
- package/dist/esm/diwa-segmented-control-item.entry.js +1 -1
- package/dist/esm/diwa-segmented-control.entry.js +1 -1
- package/dist/esm/diwa-select-option.entry.js +1 -1
- package/dist/esm/diwa-select.entry.js +1 -1
- package/dist/esm/diwa-spinner.entry.js +1 -1
- package/dist/esm/diwa-stepper-horizontal-item.entry.js +1 -1
- package/dist/esm/diwa-stepper-horizontal.entry.js +1 -1
- package/dist/esm/diwa-switch.entry.js +1 -1
- package/dist/esm/diwa-table-body.entry.js +1 -1
- package/dist/esm/diwa-table-cell.entry.js +1 -1
- package/dist/esm/diwa-table-head-cell.entry.js +4 -4
- package/dist/esm/diwa-table-head.entry.js +1 -1
- package/dist/esm/diwa-table-row.entry.js +1 -1
- package/dist/esm/diwa-table.entry.js +1 -1
- package/dist/esm/diwa-tabs-bar.entry.js +1 -1
- package/dist/esm/diwa-tabs-item.entry.js +1 -1
- package/dist/esm/diwa-tabs.entry.js +1 -1
- package/dist/esm/diwa-tag-dismissible.entry.js +1 -1
- package/dist/esm/diwa-tag.entry.js +1 -1
- package/dist/esm/diwa-text-list-item.entry.js +1 -1
- package/dist/esm/diwa-text-list.entry.js +1 -1
- package/dist/esm/diwa-text.entry.js +1 -1
- package/dist/esm/diwa-textarea.entry.js +1 -1
- package/dist/esm/diwa-toast-item.entry.js +1 -1
- package/dist/esm/diwa-toast.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/diwa-badge/diwa-badge.d.ts +11 -3
- package/dist/types/components.d.ts +32 -12
- package/dist-custom-elements/diwa-accordion.js +1 -1
- package/dist-custom-elements/diwa-badge.js +46 -3
- package/dist-custom-elements/diwa-badge.js.map +1 -1
- package/dist-custom-elements/diwa-button-pure.js +1 -1
- package/dist-custom-elements/diwa-button.js +2 -2
- package/dist-custom-elements/diwa-checkbox.js +1 -1
- package/dist-custom-elements/diwa-divider.js +1 -1
- package/dist-custom-elements/diwa-flyout.js +3 -3
- package/dist-custom-elements/diwa-heading.js +1 -1
- package/dist-custom-elements/diwa-icon.js +1 -1
- package/dist-custom-elements/diwa-inline-notification.js +3 -3
- package/dist-custom-elements/diwa-input-date.js +1 -1
- package/dist-custom-elements/diwa-input-email.js +1 -1
- package/dist-custom-elements/diwa-input-month.js +1 -1
- package/dist-custom-elements/diwa-input-number.js +1 -1
- package/dist-custom-elements/diwa-input-password.js +2 -2
- package/dist-custom-elements/diwa-input-search.js +2 -2
- package/dist-custom-elements/diwa-input-tel.js +1 -1
- package/dist-custom-elements/diwa-input-text.js +1 -1
- package/dist-custom-elements/diwa-input-time.js +1 -1
- package/dist-custom-elements/diwa-input-url.js +1 -1
- package/dist-custom-elements/diwa-input-week.js +1 -1
- package/dist-custom-elements/diwa-input.js +1 -1
- package/dist-custom-elements/diwa-link-pure.js +2 -2
- package/dist-custom-elements/diwa-link.js +2 -2
- package/dist-custom-elements/diwa-modal.js +1 -1
- package/dist-custom-elements/diwa-multi-select-option.js +1 -1
- package/dist-custom-elements/diwa-multi-select.js +2 -2
- package/dist-custom-elements/diwa-pagination.js +1 -1
- package/dist-custom-elements/diwa-pin-code.js +2 -2
- package/dist-custom-elements/diwa-popover.js +1 -1
- package/dist-custom-elements/diwa-radio-group-item.js +1 -1
- package/dist-custom-elements/diwa-radio-group.js +1 -1
- package/dist-custom-elements/diwa-scroller.js +1 -1
- package/dist-custom-elements/diwa-segmented-control-item.js +1 -1
- package/dist-custom-elements/diwa-segmented-control.js +1 -1
- package/dist-custom-elements/diwa-select-option.js +1 -1
- package/dist-custom-elements/diwa-select.js +1 -1
- package/dist-custom-elements/diwa-spinner.js +1 -1
- package/dist-custom-elements/diwa-stepper-horizontal-item.js +1 -1
- package/dist-custom-elements/diwa-stepper-horizontal.js +1 -1
- package/dist-custom-elements/diwa-switch.js +2 -2
- package/dist-custom-elements/diwa-table-body.js +1 -1
- package/dist-custom-elements/diwa-table-cell.js +1 -1
- package/dist-custom-elements/diwa-table-head-cell.js +4 -4
- package/dist-custom-elements/diwa-table-head.js +1 -1
- package/dist-custom-elements/diwa-table-row.js +1 -1
- package/dist-custom-elements/diwa-table.js +1 -1
- package/dist-custom-elements/diwa-tabs-bar.js +1 -1
- package/dist-custom-elements/diwa-tabs-item.js +1 -1
- package/dist-custom-elements/diwa-tabs.js +1 -1
- package/dist-custom-elements/diwa-tag-dismissible.js +1 -1
- package/dist-custom-elements/diwa-tag.js +2 -2
- package/dist-custom-elements/diwa-text-list-item.js +1 -1
- package/dist-custom-elements/diwa-text-list.js +1 -1
- package/dist-custom-elements/diwa-text.js +1 -1
- package/dist-custom-elements/diwa-textarea.js +1 -1
- package/dist-custom-elements/diwa-toast-item.js +1 -1
- package/dist-custom-elements/diwa-toast.js +2 -2
- package/dist-custom-elements/{p-7c951f7f.js → p-0e219692.js} +2 -2
- package/dist-custom-elements/{p-7c951f7f.js.map → p-0e219692.js.map} +1 -1
- package/dist-custom-elements/{p-105f3f97.js → p-236fbbdd.js} +3 -3
- package/dist-custom-elements/{p-105f3f97.js.map → p-236fbbdd.js.map} +1 -1
- package/dist-custom-elements/{p-b7255dc4.js → p-3fce050e.js} +2 -2
- package/dist-custom-elements/{p-b7255dc4.js.map → p-3fce050e.js.map} +1 -1
- package/dist-custom-elements/{p-8972ae69.js → p-473ec48f.js} +2 -2
- package/dist-custom-elements/{p-8972ae69.js.map → p-473ec48f.js.map} +1 -1
- package/package.json +3 -2
- package/dist/diwa-components/p-084204ab.entry.js +0 -2
- package/dist/diwa-components/p-084204ab.entry.js.map +0 -1
- package/dist/diwa-components/p-09f2e643.entry.js +0 -2
- package/dist/diwa-components/p-429c596d.entry.js +0 -2
- package/dist/diwa-components/p-5a597e27.entry.js +0 -2
- package/dist/diwa-components/p-7dc7291f.entry.js +0 -2
- package/dist/diwa-components/p-8506ea0c.entry.js +0 -2
- package/dist/diwa-components/p-d25377eb.entry.js +0 -2
- package/dist/diwa-components/p-e137afc9.entry.js +0 -2
- package/dist/diwa-components/p-e1935375.entry.js +0 -2
- package/dist/diwa-components/p-e602c199.entry.js +0 -2
- package/dist/diwa-components/p-f44d4091.entry.js +0 -2
- package/dist/diwa-components/p-f60f1d81.entry.js +0 -2
- package/dist/diwa-components/p-fae653f7.entry.js +0 -2
- /package/dist/diwa-components/{p-c78591ce.entry.js.map → p-0028e799.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-3fb5cc30.entry.js.map → p-008bdfa4.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-95b0fdea.entry.js.map → p-027e5299.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-3660b09a.entry.js.map → p-03a4902e.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-e602c199.entry.js.map → p-05a02076.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-230692aa.entry.js.map → p-090f557b.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-9ade0403.entry.js.map → p-0b6aa730.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-d917625e.entry.js.map → p-0c2776f7.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-cc0e1662.entry.js.map → p-11aae5f1.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-9eef4779.entry.js.map → p-13aeda0b.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-36b004e9.entry.js.map → p-145e5281.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-35b69160.entry.js.map → p-20332312.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-3b38fa01.entry.js.map → p-247210ec.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-f60f1d81.entry.js.map → p-24c10d6e.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-78b16866.entry.js.map → p-2c3cff37.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-d25377eb.entry.js.map → p-310a22ca.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-7a99a2aa.entry.js.map → p-335e06ab.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-def36bc4.entry.js.map → p-33b49ced.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-37e1bea3.entry.js.map → p-36056450.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-8369c48e.entry.js.map → p-3a992d7e.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-e137afc9.entry.js.map → p-3e68a752.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-bbede25d.entry.js.map → p-4332671a.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-09f2e643.entry.js.map → p-454aa95f.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-238da82a.entry.js.map → p-46a8a0a7.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-3269a4b7.entry.js.map → p-50420bc6.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-13e71247.entry.js.map → p-52f32ba8.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-e19ad9fa.entry.js.map → p-5e75b7b3.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-1250d0c7.entry.js.map → p-630b5003.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-952af214.entry.js.map → p-645e5f9a.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-db70e030.entry.js.map → p-6dcf2862.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-e1935375.entry.js.map → p-6f639ee0.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-bd501daa.entry.js.map → p-8285e16e.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-fae653f7.entry.js.map → p-82be1b3a.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-9910d570.entry.js.map → p-845b2a42.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-87932af2.entry.js.map → p-878039a1.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-c6ca8d8b.entry.js.map → p-887e0cb5.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-926e283b.entry.js.map → p-8b210952.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-66c53adc.entry.js.map → p-90504a91.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-8506ea0c.entry.js.map → p-90d0db67.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-117dc41d.entry.js.map → p-a446b615.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-71c45961.entry.js.map → p-b33f4993.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-1830772d.entry.js.map → p-b595f330.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-50866c5a.entry.js.map → p-bcc6545a.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-1d708e1e.entry.js.map → p-c2557813.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-5a597e27.entry.js.map → p-c3535eb8.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-e9673253.entry.js.map → p-c427acf5.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-b072ff72.entry.js.map → p-c862863d.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-66c15f66.entry.js.map → p-c9ec0829.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-9c89e586.entry.js.map → p-d57421af.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-998dd88e.entry.js.map → p-e23fbe5f.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-863c88a4.entry.js.map → p-e6f7dd21.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-7dc7291f.entry.js.map → p-ecb1eabd.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-29419c9a.entry.js.map → p-f842df14.entry.js.map} +0 -0
- /package/dist/diwa-components/{p-5f9139bc.entry.js.map → p-fa3f0cb0.entry.js.map} +0 -0
|
@@ -36,7 +36,7 @@ export class DiwaInputMonth {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '7e2fc2fb4d5bc3a2d0626195ba455534c0b31cd9', "data-theme": this.theme }, h("style", { key: '297bf17e809ef4cb24527150bd10d527372f6ec4', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: '40f803796b2ad4826bf1a29d2c1a64f036250e4a', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '9efbe4ef3d630d871e7f8f769f52e6a1b1643c96', class: "label-row" }, h("label", { key: 'fb435d70eb71b86cc52a595652ecf65ca79ee687', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '75b7ca7a155ce5b928e7c0b53c7b234045feab53', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: 'f6b1b3db76a7b1710204d1a1d773ff1f0e604011', name: "label-after" }))), h("div", { key: '8dc462e725448e63fbbe4c9b567ef297cc446d53', class: "input-wrapper" }, this._hasStart && h("div", { key: '8705f9b3f279a000535818917f2e7c6ecbf83474', class: "slot-start" }, h("slot", { key: '1f6e208903529967ce7937abf887d951101fe6b7', name: "start" })), h("input", { key: '2f5125325f6d05a89d9cb44036db46ca84ee54e3', id: inputId, class: "input", type: "month", name: this.name || undefined, value: this.value, disabled: this.disabled, required: this.required, readOnly: this.readonly, min: this.min, max: this.max, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '3b7cbeb4a6bda91bcc9104d01b93ddb2aec29ad8', class: "slot-end" }, h("slot", { key: '1768bad83b473f6c765da4b8b3823423472c6c06', name: "end" }))), !this.message && this.description && (h("p", { key: '7e728724297c93a9c46af72520d8b7f398a4e0fa', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '96ba5eac1ac8d60a78d82cccbefda43daf109cdc', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-month"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DiwaInputNumber {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'b4f8682b78caaac783e5ad162de7b478b7d4fc23', "data-theme": this.theme }, h("style", { key: 'f9923a8baab1f25596ecae28d5ab0baeef994a68', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: 'c046d583174983807353668a326ce4523add50b0', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '801af990d4911d2a18a75f9b9928370104d57045', class: "label-row" }, h("label", { key: 'aa4517f5547742454601b0294e43e44cddfd6c49', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '4e2cbbbd13de2c0ca16c07c367793dc9c02f79e4', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '5dea4480281cbcba2ffc13ab76dd5976f4f25a58', name: "label-after" }))), h("div", { key: 'adcc078f982ce097689f7d0a0625536f4ec3168c', class: "input-wrapper" }, this._hasStart && h("div", { key: '6b9c6841af7da338cf3fa0eb4ee5393e276ec79b', class: "slot-start" }, h("slot", { key: '6b270d34c9d90240c7c1d31343ca63e3f40b3388', name: "start" })), h("input", { key: '1d57c501e13aedc773338ad3b33634120db4f0e6', id: inputId, class: "input", type: "number", name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, min: this.min !== undefined ? String(this.min) : undefined, max: this.max !== undefined ? String(this.max) : undefined, step: this.step !== undefined ? String(this.step) : undefined, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '9400a3f7dd14cd75b4429137da53949ac1d113eb', class: "slot-end" }, h("slot", { key: '2c44c8873d404c5693d38e4beb2878ebe4a90be9', name: "end" }))), !this.message && this.description && (h("p", { key: '59028396a49bf08492497f792af3a74f45360366', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '3117e747339600533d27520fd7062dec5d116d14', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-number"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class DiwaInputPassword {
|
|
|
44
44
|
const descId = 'desc';
|
|
45
45
|
const msgId = 'msg';
|
|
46
46
|
const hasSuffix = this.showToggle && !this.disabled;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '20db28ebd695b8ed01d9e778500f045e8a9592b1', "data-theme": this.theme }, h("style", { key: '5861eb3a8b5e1f93b348da351b0e128b54c6d5e3', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, hasSuffix) }), h("div", { key: '73be73109206677e2d3adc8c74603dd1b3a567a3', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '1feea39238a942be304d22e89f8ef937e6531f6d', class: "label-row" }, h("label", { key: '6e3c510ad4617ea65f708490ac8de8b1b8cd2e4e', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '6fc23908b7bfd11755b35b42643af30dd7a163c0', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: 'b81c162cf1dae965eecff6921fe2b963d3ac80fd', name: "label-after" }))), h("div", { key: '80c6d5d9284328bb2bf9edc3283c2c97c3426778', class: "input-wrapper" }, this._hasStart && h("div", { key: 'b5c5ef283df3941c749747a9529f7bb7c50ba42d', class: "slot-start" }, h("slot", { key: 'c6ce7ffce018a7562ffe4e48d65e080c874690ee', name: "start" })), h("input", { key: 'b0a9d37d30557a6f3d4410b957e4a4dfc8914434', id: inputId, class: "input", type: this.showPassword ? 'text' : 'password', name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: 'dbefaf7656c9ef0be0046db17e0627a352ebf24a', class: "slot-end" }, h("slot", { key: '2f2f29884c0463120ee729344c529999348d3829', name: "end" })), hasSuffix && (h("button", { key: '91f2f1000d0de9bd4045023a6dece41f9d8e89fd', class: "suffix-btn", type: "button", "aria-label": this.showPassword ? 'Hide password' : 'Show password', onClick: this.handleToggle }, h("diwa-icon", { key: '08dc47a37c081d5b07afc5fad0aa12a89d3b0e50', name: this.showPassword ? 'eye-off' : 'eye', size: 16 })))), !this.message && this.description && (h("p", { key: '72b447fdf2d9c7e5feacf0668ae28a10cf04bcf9', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '19c8a0aa1ddca0c8168de676c3bb33d979c5b917', id: msgId, class: "message" }, this.message)))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "diwa-input-password"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class DiwaInputSearch {
|
|
|
44
44
|
const descId = 'desc';
|
|
45
45
|
const msgId = 'msg';
|
|
46
46
|
const hasSuffix = this.showClearButton && !!this.value && !this.disabled && !this.readonly;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '31d147be6a3be7636052091c56b44912ab02003d', "data-theme": this.theme }, h("style", { key: '263d9d8c493350b855c80efd830253be0c5b56d4', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, hasSuffix) }), h("div", { key: 'adec0693218224c0031649320946ee34d6d6b06f', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '23b26ea9a30c6484c6661641e821d6476339c8a2', class: "label-row" }, h("label", { key: 'f13e94da3243031970f12ba6925ab57eba9b8d12', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '744a3b770e5c8d45976c699c29fc9009e0cc8330', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: 'cc51b5721f0f62e80dffbb15787509a4bb3f4bd6', name: "label-after" }))), h("div", { key: '58fbd5e42e30cf5c1adbe687fbe59f0ec634cecf', class: "input-wrapper" }, this._hasStart && h("div", { key: 'bdead83f49e612de8aa4a7b7bffc9febe2e26892', class: "slot-start" }, h("slot", { key: '37f2fb05bfceb8cd9453d90d56624fd2e9b03496', name: "start" })), h("input", { key: 'b81455b6e07526d57eaf9a9a2ec309628ef68aec', id: inputId, class: "input", type: "search", name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: 'a9154d5474a264e5023d11966693623fbd3995f6', class: "slot-end" }, h("slot", { key: '0df9b3e2ad104f2f0b2fac71656c31cbf9d5b00a', name: "end" })), hasSuffix && (h("button", { key: 'a8f0a67e158bff535f07648aad3151c954bbe331', class: "suffix-btn", type: "button", "aria-label": "Clear search", onClick: this.handleClear }, h("diwa-icon", { key: '5d3e54d606c753775813ae8491f26192ed622ba4', name: "x", size: 14 })))), !this.message && this.description && (h("p", { key: '034b1939498d9990aefa263d8081bf2cdbce448a', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: 'f5e2fcb68225c412ae8e56e6c70187aae658280b', id: msgId, class: "message" }, this.message)))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "diwa-input-search"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DiwaInputTel {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '8dd9e6d7ce484dc007be367fc938cfc9f2637055', "data-theme": this.theme }, h("style", { key: 'bbc1fc772c27c1b34d968e376b05c55de36f6de2', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: '41aae906ee1f609e7cf441beb538d46802e0e59c', class: "root" }, !this.hideLabel && this.label && (h("div", { key: 'b38939d751f7563f12f32f28232b30bbc7cbb91c', class: "label-row" }, h("label", { key: '88d0afa08e2a9dabff5dde12a2c4084a4047f6da', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '45ba6033d1b558a2d4fa2141e2c3af8d34ca7d6d', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '6394d6d221720fd1557ebf1d8bc29960f9b2ef98', name: "label-after" }))), h("div", { key: '3e5054f7816a4e69ea69f050d4f04496630cb2a2', class: "input-wrapper" }, this._hasStart && h("div", { key: '86140c93dd2d3ccef3571a8e7ce852fc08c48685', class: "slot-start" }, h("slot", { key: '6cde09ce08c571d0d8d7e8bac9959e612f4cd0e7', name: "start" })), h("input", { key: '41db3d184dfe86ec79fbb2d5278c7bfa0e6a0e80', id: inputId, class: "input", type: "tel", name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '93a6a567853440a105edf2181664669087dd33aa', class: "slot-end" }, h("slot", { key: '472d5180f28d44e7c4a168b0c087200c223871eb', name: "end" }))), !this.message && this.description && (h("p", { key: 'fd16c4facf83bcfe32e6c8b333fed9e3dca8cd56', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: 'cae69922e63caad5193c1e01cb91d95773fbf2e2', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-tel"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class DiwaInputText {
|
|
|
38
38
|
const inputId = 'input';
|
|
39
39
|
const descId = 'desc';
|
|
40
40
|
const msgId = 'msg';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'cf5f9f2d3ba5bc48d23f13d7074a5cc785f5c021', "data-theme": this.theme }, h("style", { key: 'b7102ec7511e08b137ea2efc422f5b36b81597a0', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: '622cf8be5e1478189ccea7214b02fadd9a07bed2', class: "root" }, !this.hideLabel && this.label && (h("div", { key: 'd296ac0ab02e8f84ed217af9b01ae2349caa1a18', class: "label-row" }, h("label", { key: '44803400cf86e60c59e16ba6bebea76182eabdad', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '2adf1391b392a6a7b95f6655aa2804980cf05ccf', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '1b379b6699660a72369c9e55a1956df572c14397', name: "label-after" }))), h("div", { key: '39224f82800bb8e99bdd53995738526ae65621a4', class: "input-wrapper" }, this._hasStart && h("div", { key: 'a867100568d568e48c983665bbd5b061166c4b55', class: "slot-start" }, h("slot", { key: '64766d4b417983edb5c36debaa95d7c456b56082', name: "start" })), h("input", { key: 'adf19b770e6b6ce184988352faa26b75a8e3789b', id: inputId, class: "input", type: "text", name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, maxLength: this.maxLength, minLength: this.minLength, spellcheck: this.spellCheck, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '2f1e8a238c4a0435b0045b3cecb2949851481802', class: "slot-end" }, h("slot", { key: 'baf200515708d548e22ea3010e3a5f08081c2eaf', name: "end" }))), !this.message && this.description && (h("p", { key: 'b0e064fb6f48eb930f965c79cf04ac403653b509', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: 'd8195e8edbe19a8674dcf067ed5e9d316d204b31', id: msgId, class: "message" }, this.message)))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "diwa-input-text"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DiwaInputTime {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '590c42b8ac5040423364e94c2d609103ffe679c0', "data-theme": this.theme }, h("style", { key: 'a9c044a7601adccaec56dfb2f75e97654811c008', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: 'a3044568670138fd9bda11db72fdc78b84b1d59d', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '8eae3be59f2aeba38a828e11c041553812eb6837', class: "label-row" }, h("label", { key: 'bcad9a73a6394266ba095b9bcde4bf68d11c80de', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '271654dd6fafa2d754ae9b99e9428dac0d467033', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '21cfdf2bcbf1ea587ef71fde155b149c7103f93d', name: "label-after" }))), h("div", { key: 'f9ee735610383bfd8efc1a1228929c211572f1e3', class: "input-wrapper" }, this._hasStart && h("div", { key: '41b6d07e9870cad44306fe45e41d9f918bb6558c', class: "slot-start" }, h("slot", { key: '10166490543f315e2fc5001dfd43e61291251099', name: "start" })), h("input", { key: '8c9bde6aff78aca34d962d0ca514848bff75ed66', id: inputId, class: "input", type: "time", name: this.name || undefined, value: this.value, disabled: this.disabled, required: this.required, readOnly: this.readonly, min: this.min, max: this.max, step: this.step !== undefined ? String(this.step) : undefined, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '170d89de3bf6b4482c7447759f5629ab9bc33510', class: "slot-end" }, h("slot", { key: '816d59e53641c03eb1d5be6562e7cd8430e9af47', name: "end" }))), !this.message && this.description && (h("p", { key: '02200cedb485798bb1de48d4cc51f58ea2db1e97', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '6257763b76659c43f045ac9c7740eb55a1ee6255', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-time"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DiwaInputUrl {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '79daf083047c2e7a2e23de8d288345cc994cf110', "data-theme": this.theme }, h("style", { key: '857a3da85e5a2ca16c0011770744d358d978f660', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: 'e8d7a0e0f423cb820dde4740d301110f6b28539b', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '7b98f4f850e0e606fc42108c8153ccc297b698a2', class: "label-row" }, h("label", { key: '0e51f7a41550c08999d3d85a0f4fc3655608a943', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: 'd2e5916985c1db129bcd2a1d0c4b8c199fe72250', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '41422293e1d83c437977d9506070b2e1fd0f05a7', name: "label-after" }))), h("div", { key: 'f6e9e59d67c3008b52ecfe92032fe6759d2065d8', class: "input-wrapper" }, this._hasStart && h("div", { key: '3890e2c3bafa98d500a3288b8a5e6123514d6a34', class: "slot-start" }, h("slot", { key: '71aef0b13bb7dc7c500a4d4949049eda9523ca83', name: "start" })), h("input", { key: '3dcbc559ed5578ac4f4c0748d1e7ecc02773c7f9', id: inputId, class: "input", type: "url", name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readonly, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: '8f1d081727a1207023e3dccf8af75d30da0986c2', class: "slot-end" }, h("slot", { key: '47e00c738bcdf1516e53199178d2742f8b30946e', name: "end" }))), !this.message && this.description && (h("p", { key: 'c0861105c46b18b1abe5a5de5a3a99f075b4aaf0', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '240aea2a88f53150806f04a7f7468cef9d0738af', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-url"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class DiwaInputWeek {
|
|
|
36
36
|
const inputId = 'input';
|
|
37
37
|
const descId = 'desc';
|
|
38
38
|
const msgId = 'msg';
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '94730f472917007ec8a932eddd373445e112072c', "data-theme": this.theme }, h("style", { key: 'c802055f4f73f1d0e2e9bad50903fa23a46b7392', innerHTML: getComponentCss(this.state, this.disabled, this.readonly, this.compact, this._hasStart, this._hasEnd, false) }), h("div", { key: '283896eb16c298d9e12018d07c36030fb5989e59', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '33ab418ce0c4eabdb8cb907a88d7110b67413000', class: "label-row" }, h("label", { key: 'dda6859fa1c5985143e5da22c20a665dec3af343', class: "label", htmlFor: inputId }, this.label, this.required && h("span", { key: '14a40c47a58db709a6463b874cb8f595bbf265c3', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: '77dbcce7196961dba3c75e466189ee655cd6990b', name: "label-after" }))), h("div", { key: '499ebfed173183facede7acad369db75c3dd353f', class: "input-wrapper" }, this._hasStart && h("div", { key: '51c49c28e60a5a07435305bf4346586526186b81', class: "slot-start" }, h("slot", { key: 'db30bb64e64cf606820504dfcaa05ed533072307', name: "start" })), h("input", { key: '66265a0864819689c4c1c572f2315598ab3fce46', id: inputId, class: "input", type: "week", name: this.name || undefined, value: this.value, disabled: this.disabled, required: this.required, readOnly: this.readonly, min: this.min, max: this.max, autocomplete: this.autoComplete, "aria-label": this.hideLabel && this.label ? this.label : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": this.message ? msgId : this.description ? descId : undefined, onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus }), this._hasEnd && h("div", { key: 'bc932d60430cdc077f242de022e9a59847aa233c', class: "slot-end" }, h("slot", { key: '08d086a8b1ca06a48cc449f2cbb519db530a51ad', name: "end" }))), !this.message && this.description && (h("p", { key: '5178e0a010062baafc441f942d8fd8881d48841b', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: 'c5a35822c126dea9738bffb07dc8bab9c92615b7', id: msgId, class: "message" }, this.message)))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "diwa-input-week"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class DiwaLink {
|
|
|
38
38
|
const iconSize = this.compact ? 16 : 20;
|
|
39
39
|
const anchorProps = isAnchor
|
|
40
40
|
? Object.assign(Object.assign({ href: this.href, target: this.target, download: this.download, rel: (_a = this.rel) !== null && _a !== void 0 ? _a : (this.target === "_blank" ? "noopener noreferrer" : undefined) }, (this.label ? { "aria-label": this.label } : {})), (this.disabled ? { "aria-disabled": "true", tabIndex: -1 } : {})) : {};
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '3084d48e4054064d4cded143a1ca8abe50c5ff6e', "data-theme": this.theme }, h("style", { key: 'b4a2af6ea1f3fcc270716ab43d9dbb2906d0cc9a', innerHTML: getComponentCss() }), h(Tag, Object.assign({ key: '5e0728ea634713e1b8bb1dceb633591567ab4d10', class: "inner" }, anchorProps, { part: "base" }), hasIcon && (h("span", { key: 'a972160dc036db8ec2ad42e3ce5ea6378917cc57', class: "icon", "aria-hidden": "true" }, h("diwa-icon", { key: 'b4a442de79d1842ee5157a78ba722250b6ab7129', name: this.icon, size: iconSize }))), h("span", { key: '34bc94660fd0f1d350db1b324bd846bfbd39a936', class: `label${this.hideLabel ? " label--hidden" : ""}`, part: "label" }, h("slot", { key: '28ad8f5a6bc2238beb524e58ac919be76fc9f716' })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "diwa-link"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class DiwaLinkPure {
|
|
|
49
49
|
const iconSize = this.size === "sm" ? 14 : this.size === "lg" ? 20 : 16;
|
|
50
50
|
const anchorProps = isAnchor
|
|
51
51
|
? Object.assign({ href: this.href, target: this.target, download: this.download, rel: (_a = this.rel) !== null && _a !== void 0 ? _a : (this.target === "_blank" ? "noopener noreferrer" : undefined) }, (this.label ? { "aria-label": this.label } : {})) : {};
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '151e2ccb51fddc1c75a95717f2828e26f436d8bc', "data-theme": this.theme }, h("style", { key: '13d21d184ad17818999dd79982579427deb1abc1', innerHTML: getComponentCss() }), h(Tag, Object.assign({ key: '47d9ce0db987cadf606730aa385e868e9a03633e', class: "root" }, anchorProps, { part: "base" }), hasIcon && (h("span", { key: 'db89d6a428e17049d457190e5255486bcaecc48a', class: "icon", "aria-hidden": "true" }, h("diwa-icon", { key: 'b94918195e7a2dee50d061f0efd7a476aa525950', name: this.icon, size: iconSize }))), h("span", { key: 'b45e4f2bd9aa89d78237f21cd8842d365f4fe93d', class: `label${this.hideLabel ? " label--hidden" : ""}`, part: "label" }, h("slot", { key: '1613058d56403ec4a41b31e28eef798df3454720' })))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "diwa-link-pure"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -153,7 +153,7 @@ export class DiwaModal {
|
|
|
153
153
|
// ──────────────────────────────────────────────────────────────
|
|
154
154
|
render() {
|
|
155
155
|
const { open, heading, dismissButton, backdrop, _hasFooter, _hasHeader } = this;
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: '57a2fd4dc471d90e3a2a828efd1cc1758bfe7f26', "data-theme": this.theme }, h("style", { key: '2e536cba383f0ce7694b5a73313a79c41e4d8d02' }, getComponentCss(open, backdrop, dismissButton, _hasFooter)), h("div", { key: '45b9b6c630842bf91886f95f2f6f6202f223b1d8', class: "backdrop", "aria-hidden": "true", onClick: this.handleBackdropClick }), h("div", { key: 'ff862abe357d87d75373e89d08730aaa1233a1a3', class: "modal", role: "dialog", "aria-modal": "true", "aria-labelledby": heading ? this._headingId : undefined, "aria-label": !heading ? 'Dialog' : undefined, "aria-hidden": open ? undefined : 'true', tabIndex: -1, ref: (el) => { this._modalEl = el; } }, h("div", { key: '1939a77e8be95dcc8a2737b99424d6af9a0e1ba5', class: "header" }, h("div", { key: 'a3c9abf4f9701d58e4abaa14868174b0ba85435b', class: "header-top" }, heading && (h("h2", { key: '326e415590d81d12e3ccf6f1a4c18221ace965e8', class: "heading", id: this._headingId }, heading)), dismissButton && (h("button", { key: 'dfeaf05f599cdadd4870dd533f327a018a41100c', class: "dismiss", type: "button", "aria-label": "Close dialog", onClick: this.handleDismiss }, h("svg", { key: 'b268902e6d1f61fba2317283bf0fd5c4f9036bdc', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", width: "16", height: "16", "aria-hidden": "true" }, h("path", { key: '7c3502fadadd024bdba1d4d2e958b4c70a3b2123', d: "M18 6 6 18M6 6l12 12" }))))), _hasHeader && (h("div", { key: '5c78ce207ef91759f082e8d47a9b18927f66ccc8', class: "header-sub" }, h("slot", { key: '0cc55bc679a0050007ebc4c3dd34c0c2729e63bb', name: "header" })))), h("div", { key: '55bf215004400be7303d250ecdb8fd131bd25edc', class: "body" }, h("slot", { key: '0d2d3d5c359542582cb3ffe43959cf2be88eb92c' })), _hasFooter && (h("div", { key: 'aae5c5096f915571983b31fc1dc375034ed73392', class: "footer" }, h("slot", { key: 'eb71dd2a657cbdf91289273f8fc630d822db5a30', name: "footer" }))))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "diwa-modal"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -343,10 +343,10 @@ export class DiwaMultiSelect {
|
|
|
343
343
|
const hintId = `${this.internalId}-hint`;
|
|
344
344
|
const hasMessage = !!this.message && this.state !== 'none';
|
|
345
345
|
const hasValue = this.value.length > 0;
|
|
346
|
-
return (h(Host, { key: '
|
|
346
|
+
return (h(Host, { key: 'f20b6581c9e60236f375f1b79139815b4f5d9c9e', "data-theme": this.theme }, h("style", { key: 'a2ddb28813ba51cf7ee030263c1b5cd260ff28ad', innerHTML: getComponentCss(this.isOpen, this.disabled, this.state, this.compact, this.dropdownClass.includes('--up')) }), (this.label || this.host.querySelector('[slot="label"]')) && (h("span", { key: '737abd1e95d14587d6000db252939db616505466', class: "label", id: labelId, part: "label" }, h("slot", { key: '02d2e507ad802c161fa794b29bfb2e3a89bba333', name: "label" }, this.label), this.required && h("span", { key: '3293ad8f9c7979a4214bc0eef9d781941819d270', class: "label__required", "aria-hidden": "true" }, "*"))), (this.description || this.host.querySelector('[slot="description"]')) && (h("span", { key: 'fd82e469c37a3044d913a06958a864f2419c65b3', class: "description", part: "description" }, h("slot", { key: 'b5871b765b1c4893d6b00955ccc6bd7a6def3fc5', name: "description" }, this.description))), h("div", { key: '069e8360136e98b0896daabcaa20872eddb9177e', class: "trigger", role: "combobox", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId, "aria-labelledby": this.label ? labelId : undefined, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-describedby": hasMessage ? hintId : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown, ref: (el) => (this.triggerEl = el), part: "trigger" }, h("span", { key: '259bdbc4cbd76e47b4cefade89ca80e09aa4a0d4', class: `trigger__value${!hasValue ? ' trigger__placeholder' : ''}`, part: "value" }, this.hasCustomSelectedSlot ? (h("slot", { name: "selected" })) : hasValue ? (this.selectedLabels) : (this.label || 'Select options')), hasValue && (h("button", { key: '36defe25675609a09f59d11a658414e473c553af', class: "trigger__reset", type: "button", "aria-label": "Reset selection", onClick: this.onResetClick, onKeyDown: (e) => {
|
|
347
347
|
if (e.key === 'Tab')
|
|
348
348
|
this.isOpen = false;
|
|
349
|
-
}, part: "reset" }, "\u2715")), h("span", { key: '
|
|
349
|
+
}, part: "reset" }, "\u2715")), h("span", { key: '6b3ae84ccdb3f695eeeedfea33ba395451f91719', class: "trigger__chevron", "aria-hidden": "true", part: "chevron" }, h("svg", { key: '64e93f928b7b8ae56f95fba89496bc2550cd3302', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a698a050291d0350a672aa60f7a08213b8ee7864', d: "M4 6L8 10L12 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '96a03b0f283c201eba568b353e33f99c18cd29fa', class: this.dropdownClass, role: "dialog", "aria-label": this.label, "aria-hidden": this.isOpen ? undefined : 'true', part: "dropdown" }, this.hasCustomFilterSlot ? (h("div", { class: "filter" }, h("slot", { name: "filter" }))) : (h("div", { class: "filter" }, h("input", { class: "filter__input", type: "text", placeholder: "Filter options\u2026", "aria-label": "Filter options", autocomplete: "off", value: this.filterText, onInput: this.onFilterInput, onKeyDown: this.onTriggerKeyDown, ref: (el) => (this.filterInputEl = el), part: "filter-input" }))), h("div", { key: '342b37e5cf35be1bc35c26373a8458accd429a52', class: "options", id: listboxId, role: "listbox", "aria-label": this.label, "aria-multiselectable": "true", part: "options" }, !this.hasFilterResults && (h("div", { key: 'ce2ebd9f6f471ae6a4dd9516115a0abe84c20ec7', class: "no-results", role: "alert", "aria-live": "polite" }, "No results found")), h("slot", { key: 'c29c766c84889a205a3b292acd5e4f0e55a99917', name: "options-status" }), h("slot", { key: '32521900a8bc0423c1f7501517763a1af9b99c1b', onSlotchange: () => this.onSlotChange() }))), hasMessage && (h("span", { key: '74a68d28b638f54752d798137ce96c8c551c8857', id: hintId, class: "message", part: "message", "aria-live": this.state === 'error' ? 'polite' : undefined }, h("slot", { key: 'ff4dfbd3a7f9af3ef920d1986f41bd14076247dc', name: "message" }, this.message)))));
|
|
350
350
|
}
|
|
351
351
|
static get is() { return "diwa-multi-select"; }
|
|
352
352
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class DiwaMultiSelectOption {
|
|
|
56
56
|
(_a = this.optionEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '387eb35be3bd7addb47c5f4d68fb2525dccdcb76', "data-theme": this.theme }, h("style", { key: '0d5b07bd190fe8d6706d57a62576fcea84e54eb8', innerHTML: getComponentCss(this.compact) }), h("div", { key: 'c9194a83e037be7b424502392abf78cff85d6d15', class: "option", role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: (el) => (this.optionEl = el), part: "option" }, h("span", { key: 'a318fc68bbd4726068b4a625d32b4dd95b4d86ea', class: "checkbox", "aria-hidden": "true", part: "checkbox" }), h("span", { key: '900c18dcd4f96fcb122fabd55c77fa3f4db7d965', class: "label", part: "label" }, h("slot", { key: '8339b7379e52b1aac590f5a38cae164c1f1b7808' })))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "diwa-multi-select-option"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,7 +77,7 @@ export class DiwaPagination {
|
|
|
77
77
|
const prevLabel = (_c = intl.prev) !== null && _c !== void 0 ? _c : 'Previous page';
|
|
78
78
|
const nextLabel = (_d = intl.next) !== null && _d !== void 0 ? _d : 'Next page';
|
|
79
79
|
const pageLabel = (_e = intl.page) !== null && _e !== void 0 ? _e : 'Page';
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'e6c7aa31aabb891a607d3e5396a5c4413bd36195', "data-theme": this.theme }, h("style", { key: '58206c30ec4ba3dd4c2972bee88dceba92099e3b', innerHTML: getComponentCss() }), h("nav", { key: '437c5abf36082bdbc21ae6f72c77edc1c5c2a0a0', "aria-label": rootLabel, class: "nav" }, h("ul", { key: '94930f888757eb824f0d71c4d8c75ed53f0599c5', class: "list" }, items.map((item, index) => {
|
|
81
81
|
const { type, isActive, value } = item;
|
|
82
82
|
if (type === ItemType.PREVIOUS) {
|
|
83
83
|
return (h("li", { key: "prev" }, h("button", { class: "btn", disabled: !isActive, "aria-label": prevLabel, onClick: () => isActive && this.handleClick(value) }, h("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { points: "15 18 9 12 15 6" })))));
|
|
@@ -93,10 +93,10 @@ export class DiwaPinCode {
|
|
|
93
93
|
const valueChars = this.value.padEnd(safeLength, '').slice(0, safeLength);
|
|
94
94
|
const descId = 'desc';
|
|
95
95
|
const msgId = 'msg';
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '42b316cecb07dd8f38bc0dfe35f2d660071c9d0a', "data-theme": this.theme }, h("style", { key: 'f621d085b00e66aa985160e59df85cd15363c1e6', innerHTML: getComponentCss(this.state, this.disabled, this.compact) }), h("div", { key: '46f2f396909e1378f6ea3c6175e9c250888fb7f2', class: "root" }, !this.hideLabel && this.label && (h("div", { key: '7a0ed287315f44d87b3b2285799872b031ee85d2', class: "label-row" }, h("span", { key: '677e5c6bbfdf9a1fac7ed2357f9b035bbf058c23', class: "label" }, this.label, this.required && h("span", { key: '7acfcc3a89f97eada2c483269828e51390ece4f1', class: "required", "aria-hidden": "true" }, " *")))), h("div", { key: 'b89f8ac92e1f5818fff9e005bda7ae6860fe3ea3', class: "boxes", role: "group", "aria-label": this.hideLabel && this.label ? this.label : undefined }, Array.from({ length: safeLength }).map((_, i) => {
|
|
97
97
|
var _a;
|
|
98
98
|
return (h("input", { key: i, class: "box", type: this.type === 'password' ? 'password' : 'text', inputMode: this.type === 'number' ? 'numeric' : 'text', maxLength: 1, value: (_a = valueChars[i]) !== null && _a !== void 0 ? _a : '', disabled: this.disabled, required: this.required && i === 0, "aria-label": `Digit ${i + 1} of ${safeLength}`, "aria-describedby": i === 0 ? (this.message ? msgId : this.description ? descId : undefined) : undefined, onInput: (e) => this.handleInput(e, i), onKeyDown: (e) => this.handleKeyDown(e, i), onPaste: i === 0 ? this.handlePaste : undefined, onFocus: (e) => e.target.select(), autocomplete: i === 0 ? 'one-time-code' : 'off' }));
|
|
99
|
-
})), !this.message && this.description && (h("p", { key: '
|
|
99
|
+
})), !this.message && this.description && (h("p", { key: '77dedd816520995799988a9dcdfa5cc2019f76ce', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '886e7f76acc8c15e965bd680ddedc6b100939f0d', id: msgId, class: "message" }, this.message)))));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "diwa-pin-code"; }
|
|
102
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class DiwaPopover {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '09f649039a99b456fcedf4483383341810ac55be', "data-theme": this.theme }, h("style", { key: '0a2cf250642b076e60d87800f813c8155365b247', innerHTML: getComponentCss(this.isOpen, this.direction) }), h("slot", { key: '14a103bb5c665cb9aed21496b06722e15f89f299', name: "button" }, h("button", { key: 'c156d661eedb2255e5c0817bcccc84494369a7c4', class: "trigger", type: "button", "aria-expanded": String(this.isOpen), "aria-haspopup": "true", onClick: this.toggle }, h("svg", { key: '48db1f2fb41745dc443e8f3c969184fa8da6fa6c', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("circle", { key: 'f9994b25f044912cf2e97f35b3f8c91b112792fc', cx: "12", cy: "12", r: "10" }), h("line", { key: '234a8b16cd08ad0ecf2479483b7bfd6b1a3092e6', x1: "12", y1: "8", x2: "12", y2: "12" }), h("line", { key: 'd5d52b35ad5894e196bff0f0af3ce7dde547aac1', x1: "12", y1: "16", x2: "12.01", y2: "16" })))), h("div", { key: 'c91727245e163aebbd6db9f86d66cbd1d144dbf1', class: "panel", role: "tooltip", "aria-hidden": String(!this.isOpen) }, this.description && h("p", { key: '6a6a451ad2bcc92588ea7319585e12b1eb21b2ab' }, this.description), h("slot", { key: '54dad0ddb906415a13fedefe8994200b94ecbb6f' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "diwa-popover"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,7 +68,7 @@ export class DiwaRadioGroup {
|
|
|
68
68
|
const id = `diwa-rg-${this.host.id || Math.random().toString(36).slice(2, 7)}`;
|
|
69
69
|
const descId = this.description ? `${id}-desc` : undefined;
|
|
70
70
|
const msgId = this.message && this.state !== 'none' ? `${id}-msg` : undefined;
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '353bef6b4f86cf97107f3412f7dc4985d2d11d07', "data-theme": this.theme }, h("style", { key: '66d357becb10cfe088c8684e571821ad28b13ea7', innerHTML: getComponentCss(this.state, this.direction, this.disabled, this.compact) }), h("div", { key: '7adf0acbcfa1283d19d42d1fffbbf071a123b6b9', class: "root", role: "radiogroup", "aria-labelledby": this.label ? `${id}-label` : undefined, "aria-describedby": [descId, msgId].filter(Boolean).join(' ') || undefined, "aria-required": this.required ? 'true' : undefined }, this.label && (h("span", { key: '04d65fbfef552fc0698550273c705376527aff68', id: `${id}-label`, class: `label${this.hideLabel ? ' label-visually-hidden' : ''}` }, this.label, this.required && h("span", { key: '8880df582e11501249fe4b10f2c1fc511ed260c1', class: "label-required", "aria-hidden": "true" }, " *"))), this.description && (h("span", { key: '1824e6ec894a9681ac4fe5e16c206becdca493ea', id: descId, class: "description" }, this.description)), h("div", { key: 'dd0cf861519847041b08f0fa09dc9118cbce9bea', class: "options" }, h("slot", { key: '59f2aa4514c3eec3802d258a9f785a925360166c' })), h("span", { key: '76d853b81b97304acf0567d1f7bc147c71592896', id: msgId, class: "message", hidden: !msgId }, this.message))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "diwa-radio-group"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class DiwaRadioGroupItem {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const labelId = `diwa-rgi-${this.value || Math.random().toString(36).slice(2, 7)}`;
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '86f4629d1ec15ca4166b99a2edad8e5345853639' }, h("style", { key: '30efbaa2b8c0102ec11b4c369371a7bf4ee6f37f', innerHTML: getComponentCss(this.checked, this.disabled, this.compact) }), h("label", { key: 'f9cf23065409265184bbb70ddab10b5fded2db49', class: "wrapper" }, h("span", { key: 'bea2800f348a6d178c924a6c2fe1b6371642dd12', class: "input-container" }, h("input", { key: 'e2fa14e6810b6c3c0cacc078f43421838f9e34d0', id: labelId, type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, onChange: this.handleChange, "aria-checked": this.checked ? 'true' : 'false' })), h("span", { key: '1e393282f8e72fe9d055dde92d00f034f3164454', class: "label-text" }, h("slot", { key: '0611edb3b9b31dfb6d8ebdba3282b97c705530ad' })))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "diwa-radio-group-item"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,7 +57,7 @@ export class DiwaScroller {
|
|
|
57
57
|
this.canScrollRight = currentScrollLeft < maxScrollLeft - epsilon;
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'dc9d01bade501000f75086f335d9bf302174a945', "data-theme": this.theme }, h("style", { key: 'a8765192f0a7967cbe3e3531ee891d6352420d03', innerHTML: getComponentCss(this.scrollbar, this.alignScrollIndicator, this.hasOverflow, this.canScrollLeft, this.canScrollRight) }), h("div", { key: 'fb55280f572009f65ed2fc25564264d8e01e2ce0', class: "scroller" }, h("button", { key: '8b9d8dbaa725f6b7fa2aec9c36ba53552ae49d17', type: "button", class: "scroll-button scroll-button--start", "aria-label": "Scroll left", disabled: !this.canScrollLeft, hidden: !this.hasOverflow, onClick: () => this.scrollByPage('start') }, h("svg", { key: '37f2e8fdd719fd1253864f4cdf9c7297d353c86d', viewBox: "0 0 16 16", width: "16", height: "16", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { key: 'f842f28a51771992e81bffa1467a3e6980d85835', d: "M10 3.5 5 8l5 4.5" }))), h("div", { key: 'f0a55b2be01fe47dc58f94946b92b8fa82235e14', class: "scroll-wrapper" }, h("div", { key: 'e612dbb880d43d09ee67d879f6c33c8c419899d7', class: "scroll-area", tabIndex: this.hasOverflow ? 0 : undefined, role: this.hasOverflow ? 'region' : undefined, "aria-label": this.hasOverflow ? 'Scrollable content' : undefined, onScroll: this.handleScroll, ref: this.setScrollAreaRef }, h("slot", { key: '53572974e4cb804c3012d2ba8f08039accee8e5e', onSlotchange: this.handleSlotChange })), h("div", { key: 'a2c66030fa02a387f40f7b3b640e69b35a0d0bd4', class: "fade fade--start", "aria-hidden": "true" }), h("div", { key: 'a0f79f41b4152bc636f4ad3be6b924c303019cef', class: "fade fade--end", "aria-hidden": "true" })), h("button", { key: '3a992435dfb230deea38d9fb2033907bdb15a9a3', type: "button", class: "scroll-button scroll-button--end", "aria-label": "Scroll right", disabled: !this.canScrollRight, hidden: !this.hasOverflow, onClick: () => this.scrollByPage('end') }, h("svg", { key: '6b14a8fe8dcdf9fd33f9c05a2aa39859e61599df', viewBox: "0 0 16 16", width: "16", height: "16", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { key: 'f1c8d634899420420576899086f247b68435d008', d: "M6 3.5 11 8l-5 4.5" }))))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "diwa-scroller"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class DiwaSegmentedControl {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '40695f16ca3a0601152b10a53bbb5c9812a14eba', role: "group", "data-theme": this.theme }, h("style", { key: '2d8853e5dc014243df0d27691c78a3ed83e18ad2', innerHTML: getComponentCss() }), h("div", { key: '102dc801b004efcb3a5c945d4500342939229c87', class: "track" }, h("slot", { key: 'bbda373551c9ebd3a32cbb6c12a13b8b1bd77bcc' }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "diwa-segmented-control"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/diwa-segmented-control-item/diwa-segmented-control-item.js
CHANGED
|
@@ -29,7 +29,7 @@ export class DiwaSegmentedControlItem {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'f3db1aeca532bd4acf5fa3ae0b1a4e549b60e973' }, h("style", { key: '829f2b2395967cc90ac37e045e06544b96bb8658', innerHTML: getComponentCss(this.selected, this.disabled, this.compact) }), h("button", { key: 'e1e5836b27393ba06b76f53f7a76671bc1565d5f', class: "btn", type: "button", disabled: this.disabled, "aria-pressed": this.selected ? 'true' : 'false', onClick: this.handleClick }, h("slot", { key: '6d854105c0a6f0a2787a309c9506713eab38f885' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "diwa-segmented-control-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -306,7 +306,7 @@ export class DiwaSelect {
|
|
|
306
306
|
const hasMessage = !!this.message && this.state !== 'none';
|
|
307
307
|
const hasValue = this.value !== undefined && this.value !== '';
|
|
308
308
|
const displayLabel = hasValue ? this.selectedLabel : undefined;
|
|
309
|
-
return (h(Host, { key: '
|
|
309
|
+
return (h(Host, { key: '3ddf86c6e8e2cf807768ca8b209aad8a5c8da5fc', "data-theme": this.theme }, h("style", { key: 'c0244dc80bc55386fbb8b5a87c5130f94b287008', innerHTML: getComponentCss(this.isOpen, this.disabled, this.state, this.compact, this.dropdownClass.includes('--up')) }), (this.label || this.host.querySelector('[slot="label"]')) && (h("span", { key: '8ba197493fd4514a3f53b7e8d7f64da5adc4ef39', class: "label", id: labelId, part: "label" }, h("slot", { key: '994d35d52e2dbb6c402a0a0bea42032367aa31b9', name: "label" }, this.label), this.required && h("span", { key: '5c5c38c33bd4452270378f556204dece249b48eb', class: "label__required", "aria-hidden": "true" }, "*"))), (this.description || this.host.querySelector('[slot="description"]')) && (h("span", { key: 'addd8e741c169b88210f9b7ac93acd4450a02279', class: "description", part: "description" }, h("slot", { key: 'a36853c06f747e2d1e67b633ffc749881261f697', name: "description" }, this.description))), h("div", { key: '8f281c76cb95f7908c258e4c268199e98bb26702', class: "trigger", role: "combobox", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId, "aria-labelledby": this.label ? labelId : undefined, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.state === 'error' ? 'true' : undefined, "aria-describedby": hasMessage ? hintId : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown, ref: (el) => (this.triggerEl = el), part: "trigger" }, h("span", { key: 'fbf9388b481d492ae2c1a9dceca6e0144d99f7a7', class: `trigger__value${!displayLabel ? ' trigger__placeholder' : ''}`, part: "value" }, displayLabel !== null && displayLabel !== void 0 ? displayLabel : (this.label || 'Select an option')), h("span", { key: 'df535dcb6ad2ab76f910fd5c04ac6138e7f3759d', class: "trigger__chevron", "aria-hidden": "true", part: "chevron" }, h("svg", { key: 'd21f5ea814c41c59ab2b3d2abc1c14f839619f4e', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("polyline", { key: '08b69903e085e0ec9379bfb552dd058b293924f1', points: "6 9 12 15 18 9" })))), h("div", { key: '89f3400afb3e4ab984e42f413b0f34434155b0ff', class: this.dropdownClass, role: "listbox", id: listboxId, "aria-multiselectable": "false", "aria-labelledby": this.label ? labelId : undefined, part: "dropdown" }, h("div", { key: 'a4242becefb0417a2c70c39bcd7cd4c523961046', class: "filter", part: "filter" }, h("input", { key: '79b965331aed2dd3d7607fe00dfc329c88aa6edd', class: "filter__input", type: "text", placeholder: "Filter options\u2026", "aria-label": "Filter options", onInput: this.onFilterInput, ref: (el) => (this.filterInputEl = el), part: "filter-input" })), h("div", { key: '06e022229e36d9214590809c201b2665e9a36152', class: "options", part: "options" }, !this.hasFilterResults && (h("div", { key: '67b8e26c137b2abbe03dde407d784e6caa915245', class: "no-results", "aria-live": "polite" }, "No options found")), h("slot", { key: 'a6cfe5c0249767c1b3537d4413760a2d66b63e5f' }))), hasMessage && (h("span", { key: 'e3093360156dab2d6f9a04cb9209d969f43dacd0', class: "message", id: hintId, role: "status", part: "message" }, h("slot", { key: 'dd9b2b269840618318506de2e6b85496faa167a3', name: "message" }, this.message)))));
|
|
310
310
|
}
|
|
311
311
|
static get is() { return "diwa-select"; }
|
|
312
312
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class DiwaSelectOption {
|
|
|
51
51
|
(_a = this.optionEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '9158ac98075c499743af5e90042851b600c8da90', "data-theme": this.theme }, h("style", { key: '8dd7b313f3a81fd7d478b76596ecd60cbcec7ecb', innerHTML: getComponentCss() }), h("div", { key: '88ac7bcf19615142315509da16fb101fe7e59f36', class: "option", role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: (el) => (this.optionEl = el), part: "option" }, h("span", { key: 'a4b3dfab5484a3916be1d64170c5337d9cc01f53', class: "check", "aria-hidden": "true", part: "check" }, "\u2713"), h("span", { key: 'c2d81f7766672cb0e5c755e2f0879361e65d3205', class: "label", part: "label" }, h("slot", { key: '0efdefa87396d832b47fba5fcdc66cb117f75396' })))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "diwa-select-option"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class DiwaSpinner {
|
|
|
63
63
|
* when the spinner appears without stealing focus (live region,
|
|
64
64
|
* polite by default). aria-label provides the announcement text.
|
|
65
65
|
*/
|
|
66
|
-
h(Host, { key: '
|
|
66
|
+
h(Host, { key: '5a130b11797c45cf6c3e9d1e1493f35cbef40ed6', role: "status", "aria-label": this.label, "data-theme": this.theme }, h("style", { key: 'b1f1c14a660db1ec56afbf814c6bfc5b21e4cf24', innerHTML: getComponentCss() }), h("svg", { key: '3e30e5ce78a52ba9904f808641fda6b0a3f5131f', ref: (el) => (this.svgEl = el), class: "glyph", "aria-hidden": "true", part: "ring", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "diwa-spinner"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class DiwaStepperHorizontal {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '2f3e3ab9f5968923e59b4d11016a034a44936165', "data-theme": this.theme }, h("style", { key: 'ec8979d4bd2b04cd3b416fabf6f03d1f997842e9', innerHTML: getComponentCss() }), h("div", { key: '77a3700aeded2ff1b69d8dd94482e55aeb48531d', class: "stepper", role: "list", "aria-label": "Progress" }, h("slot", { key: '29b9e4804e4451b008f602cc205a1532b663b2f9' }))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "diwa-stepper-horizontal"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/diwa-stepper-horizontal-item/diwa-stepper-horizontal-item.js
CHANGED
|
@@ -33,7 +33,7 @@ export class DiwaStepperHorizontalItem {
|
|
|
33
33
|
return h("span", { class: "circle-inner" }, this.stepNumber);
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'd11b7dd7e030ab412668905ce3a0dfb5f2025ad4', role: "listitem", "aria-current": this.state === 'current' ? 'step' : undefined }, h("style", { key: 'b98a5924354cfae2dace22dde1173eb638873693', innerHTML: getComponentCss(this.state, this.isLast) }), h("div", { key: 'bd51d2326d1981355da09a3bc2cc6a1e0fcf1821', class: "item" }, h("div", { key: '5743051e93e4a32992d55452dbaa7c2fae61b539', class: "circle" }, this.renderIcon()), h("div", { key: '1603b51edc94ab77d7f0dbea4f821e39661475ba', class: "connector", "aria-hidden": "true" }), this.label && h("span", { key: 'be03753d722f189919f0e2dd7fd3adebb6de2928', class: "label" }, this.label), this.sublabel && h("span", { key: '42e900cc2e384ac193497434ba9fe4e86bc90a74', class: "sublabel" }, this.sublabel))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "diwa-stepper-horizontal-item"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class DiwaSwitch {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'c6b0baae527682b7fb1fedf325313ab069cd0954', "data-theme": this.theme }, h("style", { key: '2436ea48c102aa6f3aae71136c713c9dadb881c2', innerHTML: getComponentCss(this.checked, this.disabled, this.loading, this.alignLabel, this.compact) }), h("span", { key: '78305942636540d14f49d3f8a84a166dd04a1004', class: "wrapper", onClick: this.handleClick }, h("span", { key: '4230dc3c39be578dbe97d9aed6cf29f53343ff97', class: "track", role: "switch", "aria-checked": String(this.checked), "aria-disabled": this.disabled || this.loading ? 'true' : undefined, tabIndex: this.disabled || this.loading ? -1 : 0, onKeyDown: this.handleKeyDown }, !this.loading && h("span", { key: '8e994b990b591d23e0c70bd7d6d731695673e14d', class: "thumb" }), this.loading && (h("span", { key: '621a6e985a3b8bb8a2a4622541d57d823dfbb53d', class: "loading-indicator", "aria-hidden": "true" }, h("diwa-spinner", { key: '442ea0df62cc4584843fde69be0fd90828655165', size: "sm" })))), h("span", { key: '022e8db4854c28e515c01aafddd56c6a2d1cc7ec', class: "label" }, h("slot", { key: '47f4b3744afc1fecc2d92c00c42b7f40268bb16b' })))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "diwa-switch"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class DiwaTable {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const tableLabel = this.caption || undefined;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'ba6d8dc15f1b749d17d551f1d7da68b265e089f1', "data-theme": this.theme }, h("style", { key: '18ab26b2b3416c3fcaa363f9c6d4964ee2ea07ed', innerHTML: getComponentCss(this.compact, this.layout, this.bordered, this.striped) }), h("div", { key: '9e3ceb6c632cd27c08b19d8208826e3f233c966b', class: "table", role: "table", "aria-label": tableLabel }, h("slot", { key: '6575fad2e3ff1aa77111f6d9363171ae80eeef41' }))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "diwa-table"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class DiwaTableBody {
|
|
|
6
6
|
this.theme = 'dark';
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '060d3016c96ac3c29b5265450828f0c2770696c8', role: "rowgroup", "data-theme": this.theme }, h("style", { key: '025471a64af1c06620e36d273bbe27afc5b70d1b', innerHTML: getComponentCss() }), h("slot", { key: 'a0b770fa75b04264b919a63b55846c7941931fc8' })));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "diwa-table-body"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class DiwaTableCell {
|
|
|
7
7
|
this.multiline = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '70f68af8b28744b825c139f341c0815e11e5f08e', role: "cell" }, h("style", { key: '53bf58da9f8e9d9f0ee8ccc566cf4607b3b1d0b3', innerHTML: getComponentCss(this.multiline) }), h("slot", { key: '8089efa5309487c4c0682c4781d3ebcd8bb6a48b' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "diwa-table-cell"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|