@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
|
@@ -144,7 +144,7 @@ const DiwaTextarea = class {
|
|
|
144
144
|
const taId = 'textarea';
|
|
145
145
|
const descId = 'desc';
|
|
146
146
|
const msgId = 'msg';
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: 'e05a6d6fddcf9b67e3450bddd47a817ead8a819d', "data-theme": this.theme }, h("style", { key: '7b439749933a1e71fdc90dbde478c2a13438ab9e', innerHTML: getComponentCss(this.state, this.disabled, this.readOnly, this.resize, this.compact) }), h("div", { key: '797b3ab869e20dd4d1aaa9f819c3ec7db2e5141a', class: "root" }, !this.hideLabel && this.label && (h("div", { key: 'c4e9ae80e3c1109e79ace701fe3511a5c228970a', class: "label-row" }, h("label", { key: '16d522f2b8d16179aecef5f8a9b2eefca39927e0', class: "label", htmlFor: taId }, this.label, this.required && h("span", { key: '2590e00516606e193a90eb90bf1259f783314b23', class: "required", "aria-hidden": "true" }, " *")), h("slot", { key: 'fdc720df4600d86bc4e3c4a914bc1c2ced36b44b', name: "label-after" }))), h("div", { key: 'd7116130ea846260e94e9d6600bbe48aa774fed6', class: "textarea-wrapper" }, h("textarea", { key: '786904c37ae83072d0946cdc8cd9c82674fd16fb', class: "ta", id: taId, name: this.name || undefined, value: this.value, placeholder: this.placeholder || undefined, disabled: this.disabled, required: this.required, readOnly: this.readOnly, rows: this.rows, maxLength: this.maxLength, minLength: this.minLength, "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 })), !this.message && this.description && (h("p", { key: '784e0e6b81f8725f5b4b8c802e53483912538bb2', id: descId, class: "description" }, this.description)), this.message && (h("p", { key: '4e922e262bceabe0ad91ff13850ec96a8db2cf2f', id: msgId, class: "message" }, this.message)))));
|
|
148
148
|
}
|
|
149
149
|
static get delegatesFocus() { return true; }
|
|
150
150
|
};
|
|
@@ -111,7 +111,7 @@ const DiwaToastItem = class {
|
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'ac3356dce41b1ac82ce382cde9124ca1cbd9c898', "data-theme": this.theme }, h("style", { key: '44040474045678ea79593ba6053397bd6b3630ae', innerHTML: getComponentCss(this.state) }), h("div", { key: '820679f0b38a44423bfda716b37713f0499a97c1', class: "toast" }, h("span", { key: 'b9a8da840cdd18267948cb651b1356ed822c36fd', class: "icon", "aria-hidden": "true", innerHTML: STATE_ICONS[this.state] }), h("span", { key: '628088dc4193bebb1f574eab30d9ea17f543f22e', class: "text" }, this.text), h("button", { key: '51bb1b6d997d2a1e990480ffbf34f0d1b1a0a278', type: "button", class: "close", "aria-label": "Dismiss notification", onClick: this.handleClose, innerHTML: CLOSE_ICON }))));
|
|
115
115
|
}
|
|
116
116
|
static get delegatesFocus() { return true; }
|
|
117
117
|
};
|
|
@@ -152,7 +152,7 @@ const DiwaToast = class {
|
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
154
|
var _a;
|
|
155
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: 'f082064e5989efc9f043e55ad71a56b80eb0d8e6', role: "status", "aria-live": "polite", "aria-atomic": "false", "data-theme": this.theme }, h("style", { key: '26ba9be7c067d1fb19a43a6081334c782809d91b', innerHTML: getComponentCss() }), this.currentMsg && (h("diwa-toast-item", { key: this.currentMsg.id, text: this.currentMsg.text, state: (_a = this.currentMsg.state) !== null && _a !== void 0 ? _a : 'neutral', theme: this.theme, onDismiss: () => toastManager.dismiss() }))));
|
|
156
156
|
}
|
|
157
157
|
get host() { return getElement(this); }
|
|
158
158
|
};
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy(JSON.parse("[[\"diwa-flyout\",[[1,\"diwa-flyout\",{\"theme\":[513],\"open\":[1540],\"position\":[513],\"backdrop\":[1],\"heading\":[1]},[[8,\"keydown\",\"onKeyDown\"]],{\"open\":[\"onOpenChange\"]}]]],[\"diwa-inline-notification\",[[1,\"diwa-inline-notification\",{\"theme\":[513],\"state\":[513],\"heading\":[1],\"description\":[1],\"dismissButton\":[4,\"dismiss-button\"],\"actionLabel\":[1,\"action-label\"],\"actionLoading\":[4,\"action-loading\"]}]]],[\"diwa-accordion\",[[17,\"diwa-accordion\",{\"theme\":[513],\"heading\":[1],\"headingTag\":[1,\"heading-tag\"],\"open\":[516],\"compact\":[516]}]]],[\"diwa-button\",[[17,\"diwa-button\",{\"theme\":[513],\"variant\":[513],\"size\":[513],\"type\":[1],\"disabled\":[516],\"loading\":[516],\"href\":[1],\"target\":[1],\"name\":[1],\"value\":[1],\"label\":[1],\"hideLabel\":[516,\"hide-label\"],\"icon\":[1]}]]],[\"diwa-input-password\",[[17,\"diwa-input-password\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"showToggle\":[4,\"show-toggle\"],\"_hasStart\":[32],\"_hasEnd\":[32],\"showPassword\":[32]}]]],[\"diwa-input-search\",[[17,\"diwa-input-search\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"showClearButton\":[4,\"show-clear-button\"],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-link\",[[17,\"diwa-link\",{\"theme\":[513],\"variant\":[513],\"href\":[1],\"target\":[1],\"download\":[1],\"rel\":[1],\"icon\":[1],\"hideLabel\":[516,\"hide-label\"],\"compact\":[516],\"label\":[1],\"disabled\":[516]}]]],[\"diwa-link-pure\",[[17,\"diwa-link-pure\",{\"theme\":[513],\"href\":[1],\"target\":[1],\"download\":[1],\"rel\":[1],\"icon\":[1],\"hideLabel\":[516,\"hide-label\"],\"active\":[516],\"underline\":[516],\"size\":[513],\"alignLabel\":[513,\"align-label\"],\"stretch\":[516],\"label\":[1]}]]],[\"diwa-switch\",[[17,\"diwa-switch\",{\"checked\":[516],\"disabled\":[516],\"loading\":[516],\"alignLabel\":[1,\"align-label\"],\"compact\":[516],\"theme\":[513]}]]],[\"diwa-tag\",[[1,\"diwa-tag\",{\"variant\":[513],\"compact\":[516],\"icon\":[1],\"theme\":[513]}]]],[\"diwa-toast\",[[1,\"diwa-toast\",{\"theme\":[513],\"currentMsg\":[32],\"addMessage\":[64]}]]],[\"diwa-badge\",[[1,\"diwa-badge\",{\"variant\":[513],\"size\":[513],\"label\":[1],\"theme\":[513]}]]],[\"diwa-checkbox\",[[17,\"diwa-checkbox\",{\"theme\":[513],\"label\":[1],\"name\":[1],\"value\":[1],\"checked\":[1540],\"indeterminate\":[516],\"disabled\":[516],\"required\":[4],\"state\":[513],\"message\":[1],\"compact\":[516],\"hideLabel\":[516,\"hide-label\"]},null,{\"indeterminate\":[\"watchIndeterminate\"]}]]],[\"diwa-divider\",[[1,\"diwa-divider\",{\"theme\":[513],\"orientation\":[513]}]]],[\"diwa-heading\",[[1,\"diwa-heading\",{\"theme\":[513],\"size\":[513],\"tag\":[513],\"weight\":[513],\"align\":[513],\"color\":[513],\"ellipsis\":[516]}]]],[\"diwa-input\",[[17,\"diwa-input\",{\"type\":[1],\"label\":[1],\"placeholder\":[1],\"value\":[1025],\"required\":[4],\"disabled\":[516],\"readonly\":[516],\"state\":[513],\"hint\":[1],\"autocomplete\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"theme\":[513]}]]],[\"diwa-input-date\",[[17,\"diwa-input-date\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-email\",[[17,\"diwa-input-email\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-month\",[[17,\"diwa-input-month\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-number\",[[17,\"diwa-input-number\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-tel\",[[17,\"diwa-input-tel\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-text\",[[17,\"diwa-input-text\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"spellCheck\":[4,\"spell-check\"],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-time\",[[17,\"diwa-input-time\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"step\":[2],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-url\",[[17,\"diwa-input-url\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-week\",[[17,\"diwa-input-week\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-modal\",[[17,\"diwa-modal\",{\"theme\":[513],\"open\":[516],\"heading\":[1],\"dismissButton\":[4,\"dismiss-button\"],\"disableBackdropClick\":[4,\"disable-backdrop-click\"],\"backdrop\":[1],\"_hasFooter\":[32],\"_hasHeader\":[32]},[[8,\"keydown\",\"onKeyDown\"]],{\"open\":[\"onOpenChange\"]}]]],[\"diwa-multi-select\",[[17,\"diwa-multi-select\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"name\":[1],\"value\":[1040],\"state\":[513],\"message\":[1],\"hideLabel\":[516,\"hide-label\"],\"disabled\":[516],\"required\":[4],\"compact\":[516],\"dropdownDirection\":[1,\"dropdown-direction\"],\"isOpen\":[32],\"filterText\":[32],\"hasFilterResults\":[32],\"dropdownClass\":[32],\"open\":[64],\"close\":[64]},[[0,\"diwaMultiSelectOptionUpdate\",\"onOptionUpdate\"],[0,\"slotchange\",\"onSlotChange\"]],{\"theme\":[\"onThemeChange\"],\"compact\":[\"onCompactChange\"],\"value\":[\"onValueChange\"],\"isOpen\":[\"onIsOpenChange\"]}]]],[\"diwa-multi-select-option\",[[17,\"diwa-multi-select-option\",{\"value\":[513],\"disabled\":[516],\"selected\":[1540],\"highlighted\":[1540],\"compact\":[1540],\"theme\":[1025],\"setFocus\":[64]},null,{\"selected\":[\"handlePropChange\"],\"highlighted\":[\"handlePropChange\"],\"disabled\":[\"handlePropChange\"]}]]],[\"diwa-pagination\",[[17,\"diwa-pagination\",{\"theme\":[513],\"totalItemsCount\":[2,\"total-items-count\"],\"itemsPerPage\":[2,\"items-per-page\"],\"activePage\":[1026,\"active-page\"],\"showLastPage\":[4,\"show-last-page\"],\"intl\":[16]}]]],[\"diwa-pin-code\",[[17,\"diwa-pin-code\",{\"label\":[1],\"description\":[1],\"state\":[1],\"message\":[1],\"length\":[2],\"value\":[1],\"type\":[1],\"required\":[516],\"disabled\":[516],\"compact\":[4],\"hideLabel\":[4,\"hide-label\"],\"theme\":[513]}]]],[\"diwa-popover\",[[17,\"diwa-popover\",{\"direction\":[1],\"description\":[1],\"theme\":[513],\"isOpen\":[32]},[[8,\"keydown\",\"handleGlobalKeydown\"],[9,\"pointerdown\",\"handleGlobalPointerDown\"]]]]],[\"diwa-radio-group\",[[1,\"diwa-radio-group\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"value\":[1537],\"direction\":[513],\"required\":[4],\"disabled\":[516],\"state\":[513],\"message\":[1],\"compact\":[516],\"hideLabel\":[516,\"hide-label\"],\"name\":[1]},[[0,\"diwa-radio-select\",\"handleItemSelect\"]]]]],[\"diwa-radio-group-item\",[[17,\"diwa-radio-group-item\",{\"theme\":[513],\"value\":[513],\"checked\":[1540],\"name\":[1537],\"disabled\":[516],\"compact\":[516]},null,{\"checked\":[\"handleCheckedChange\"]}]]],[\"diwa-scroller\",[[1,\"diwa-scroller\",{\"alignScrollIndicator\":[1,\"align-scroll-indicator\"],\"scrollbar\":[4],\"theme\":[513],\"hasOverflow\":[32],\"canScrollLeft\":[32],\"canScrollRight\":[32]}]]],[\"diwa-segmented-control\",[[1,\"diwa-segmented-control\",{\"theme\":[513],\"value\":[1537],\"disabled\":[516],\"compact\":[516]},[[0,\"diwa-segment-select\",\"handleItemSelect\"]]]]],[\"diwa-segmented-control-item\",[[17,\"diwa-segmented-control-item\",{\"theme\":[513],\"value\":[513],\"selected\":[1540],\"disabled\":[516],\"compact\":[516]}]]],[\"diwa-select\",[[17,\"diwa-select\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"name\":[1],\"value\":[1025],\"state\":[513],\"message\":[1],\"hideLabel\":[516,\"hide-label\"],\"disabled\":[516],\"required\":[4],\"compact\":[516],\"dropdownDirection\":[1,\"dropdown-direction\"],\"isOpen\":[32],\"hasFilterResults\":[32],\"dropdownClass\":[32],\"open\":[64],\"close\":[64]},[[0,\"diwaSelectOptionUpdate\",\"onOptionUpdate\"],[0,\"slotchange\",\"onSlotChange\"]],{\"theme\":[\"onThemeChange\"],\"compact\":[\"onCompactChange\"],\"value\":[\"onValueChange\"],\"isOpen\":[\"onIsOpenChange\"]}]]],[\"diwa-select-option\",[[17,\"diwa-select-option\",{\"value\":[513],\"disabled\":[516],\"selected\":[1540],\"highlighted\":[1540],\"theme\":[1025],\"compact\":[1540],\"setFocus\":[64]}]]],[\"diwa-stepper-horizontal\",[[1,\"diwa-stepper-horizontal\",{\"theme\":[513],\"activeStepIndex\":[1026,\"active-step-index\"]},null,{\"activeStepIndex\":[\"handleIndexChange\"]}]]],[\"diwa-stepper-horizontal-item\",[[1,\"diwa-stepper-horizontal-item\",{\"theme\":[513],\"label\":[1],\"sublabel\":[1],\"state\":[1537],\"stepNumber\":[1026,\"step-number\"],\"isLast\":[1028,\"is-last\"]}]]],[\"diwa-table\",[[1,\"diwa-table\",{\"theme\":[513],\"caption\":[1],\"compact\":[4],\"layout\":[1],\"bordered\":[4],\"striped\":[4]},[[0,\"diwaTableUpdate\",\"handleTableUpdate\"]]]]],[\"diwa-table-body\",[[1,\"diwa-table-body\",{\"theme\":[513]}]]],[\"diwa-table-cell\",[[1,\"diwa-table-cell\",{\"theme\":[513],\"multiline\":[4]}]]],[\"diwa-table-head\",[[1,\"diwa-table-head\",{\"theme\":[513]}]]],[\"diwa-table-head-cell\",[[1,\"diwa-table-head-cell\",{\"theme\":[513],\"sort\":[16],\"hideLabel\":[4,\"hide-label\"],\"multiline\":[4]}]]],[\"diwa-table-row\",[[1,\"diwa-table-row\",{\"theme\":[513]}]]],[\"diwa-tabs\",[[1,\"diwa-tabs\",{\"theme\":[513],\"activeTabIndex\":[1026,\"active-tab-index\"]},null,{\"activeTabIndex\":[\"handleIndexChange\"]}]]],[\"diwa-tabs-bar\",[[1,\"diwa-tabs-bar\",{\"theme\":[513],\"activeTabIndex\":[1026,\"active-tab-index\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeydown\"]],{\"activeTabIndex\":[\"handleIndexChange\"]}]]],[\"diwa-tabs-item\",[[1,\"diwa-tabs-item\",{\"theme\":[513],\"label\":[1],\"active\":[1540]}]]],[\"diwa-tag-dismissible\",[[17,\"diwa-tag-dismissible\",{\"variant\":[513],\"compact\":[516],\"label\":[1],\"theme\":[513]}]]],[\"diwa-text\",[[1,\"diwa-text\",{\"theme\":[513],\"tag\":[513],\"size\":[513],\"weight\":[513],\"align\":[513],\"color\":[513],\"ellipsis\":[516]}]]],[\"diwa-text-list\",[[1,\"diwa-text-list\",{\"theme\":[513],\"type\":[513]}]]],[\"diwa-text-list-item\",[[1,\"diwa-text-list-item\",{\"theme\":[513]}]]],[\"diwa-textarea\",[[17,\"diwa-textarea\",{\"label\":[1],\"description\":[1],\"state\":[1],\"message\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"required\":[4],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"rows\":[2],\"resize\":[1],\"compact\":[4],\"hideLabel\":[4,\"hide-label\"],\"theme\":[513]}]]],[\"diwa-spinner\",[[1,\"diwa-spinner\",{\"size\":[513],\"theme\":[513],\"label\":[1]}]]],[\"diwa-toast-item\",[[17,\"diwa-toast-item\",{\"theme\":[513],\"text\":[1],\"state\":[513]}]]],[\"diwa-icon\",[[1,\"diwa-icon\",{\"name\":[1],\"size\":[2],\"color\":[1],\"label\":[1],\"theme\":[513]}]]],[\"diwa-button-pure\",[[17,\"diwa-button-pure\",{\"theme\":[513],\"size\":[513],\"icon\":[1],\"disabled\":[516],\"loading\":[516],\"hideLabel\":[516,\"hide-label\"],\"active\":[516],\"underline\":[516],\"alignLabel\":[513,\"align-label\"],\"stretch\":[516],\"type\":[1],\"name\":[1],\"value\":[1],\"href\":[1],\"target\":[1],\"label\":[1]}]]]]"), options);
|
|
8
|
+
return bootstrapLazy(JSON.parse("[[\"diwa-flyout\",[[1,\"diwa-flyout\",{\"theme\":[513],\"open\":[1540],\"position\":[513],\"backdrop\":[1],\"heading\":[1]},[[8,\"keydown\",\"onKeyDown\"]],{\"open\":[\"onOpenChange\"]}]]],[\"diwa-inline-notification\",[[1,\"diwa-inline-notification\",{\"theme\":[513],\"state\":[513],\"heading\":[1],\"description\":[1],\"dismissButton\":[4,\"dismiss-button\"],\"actionLabel\":[1,\"action-label\"],\"actionLoading\":[4,\"action-loading\"]}]]],[\"diwa-accordion\",[[17,\"diwa-accordion\",{\"theme\":[513],\"heading\":[1],\"headingTag\":[1,\"heading-tag\"],\"open\":[516],\"compact\":[516]}]]],[\"diwa-button\",[[17,\"diwa-button\",{\"theme\":[513],\"variant\":[513],\"size\":[513],\"type\":[1],\"disabled\":[516],\"loading\":[516],\"href\":[1],\"target\":[1],\"name\":[1],\"value\":[1],\"label\":[1],\"hideLabel\":[516,\"hide-label\"],\"icon\":[1]}]]],[\"diwa-input-password\",[[17,\"diwa-input-password\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"showToggle\":[4,\"show-toggle\"],\"_hasStart\":[32],\"_hasEnd\":[32],\"showPassword\":[32]}]]],[\"diwa-input-search\",[[17,\"diwa-input-search\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"showClearButton\":[4,\"show-clear-button\"],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-link\",[[17,\"diwa-link\",{\"theme\":[513],\"variant\":[513],\"href\":[1],\"target\":[1],\"download\":[1],\"rel\":[1],\"icon\":[1],\"hideLabel\":[516,\"hide-label\"],\"compact\":[516],\"label\":[1],\"disabled\":[516]}]]],[\"diwa-link-pure\",[[17,\"diwa-link-pure\",{\"theme\":[513],\"href\":[1],\"target\":[1],\"download\":[1],\"rel\":[1],\"icon\":[1],\"hideLabel\":[516,\"hide-label\"],\"active\":[516],\"underline\":[516],\"size\":[513],\"alignLabel\":[513,\"align-label\"],\"stretch\":[516],\"label\":[1]}]]],[\"diwa-switch\",[[17,\"diwa-switch\",{\"checked\":[516],\"disabled\":[516],\"loading\":[516],\"alignLabel\":[1,\"align-label\"],\"compact\":[516],\"theme\":[513]}]]],[\"diwa-tag\",[[1,\"diwa-tag\",{\"variant\":[513],\"compact\":[516],\"icon\":[1],\"theme\":[513]}]]],[\"diwa-toast\",[[1,\"diwa-toast\",{\"theme\":[513],\"currentMsg\":[32],\"addMessage\":[64]}]]],[\"diwa-badge\",[[1,\"diwa-badge\",{\"variant\":[513],\"size\":[513],\"label\":[1],\"dot\":[516],\"theme\":[513]}]]],[\"diwa-checkbox\",[[17,\"diwa-checkbox\",{\"theme\":[513],\"label\":[1],\"name\":[1],\"value\":[1],\"checked\":[1540],\"indeterminate\":[516],\"disabled\":[516],\"required\":[4],\"state\":[513],\"message\":[1],\"compact\":[516],\"hideLabel\":[516,\"hide-label\"]},null,{\"indeterminate\":[\"watchIndeterminate\"]}]]],[\"diwa-divider\",[[1,\"diwa-divider\",{\"theme\":[513],\"orientation\":[513]}]]],[\"diwa-heading\",[[1,\"diwa-heading\",{\"theme\":[513],\"size\":[513],\"tag\":[513],\"weight\":[513],\"align\":[513],\"color\":[513],\"ellipsis\":[516]}]]],[\"diwa-input\",[[17,\"diwa-input\",{\"type\":[1],\"label\":[1],\"placeholder\":[1],\"value\":[1025],\"required\":[4],\"disabled\":[516],\"readonly\":[516],\"state\":[513],\"hint\":[1],\"autocomplete\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"theme\":[513]}]]],[\"diwa-input-date\",[[17,\"diwa-input-date\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-email\",[[17,\"diwa-input-email\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-month\",[[17,\"diwa-input-month\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-number\",[[17,\"diwa-input-number\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-tel\",[[17,\"diwa-input-tel\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-text\",[[17,\"diwa-input-text\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"spellCheck\":[4,\"spell-check\"],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-time\",[[17,\"diwa-input-time\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"step\":[2],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-url\",[[17,\"diwa-input-url\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-input-week\",[[17,\"diwa-input-week\",{\"label\":[1],\"description\":[1],\"message\":[1],\"state\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"disabled\":[516],\"required\":[516],\"readonly\":[516],\"hideLabel\":[4,\"hide-label\"],\"compact\":[4],\"autoComplete\":[1,\"auto-complete\"],\"theme\":[1],\"min\":[1],\"max\":[1],\"_hasStart\":[32],\"_hasEnd\":[32]}]]],[\"diwa-modal\",[[17,\"diwa-modal\",{\"theme\":[513],\"open\":[516],\"heading\":[1],\"dismissButton\":[4,\"dismiss-button\"],\"disableBackdropClick\":[4,\"disable-backdrop-click\"],\"backdrop\":[1],\"_hasFooter\":[32],\"_hasHeader\":[32]},[[8,\"keydown\",\"onKeyDown\"]],{\"open\":[\"onOpenChange\"]}]]],[\"diwa-multi-select\",[[17,\"diwa-multi-select\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"name\":[1],\"value\":[1040],\"state\":[513],\"message\":[1],\"hideLabel\":[516,\"hide-label\"],\"disabled\":[516],\"required\":[4],\"compact\":[516],\"dropdownDirection\":[1,\"dropdown-direction\"],\"isOpen\":[32],\"filterText\":[32],\"hasFilterResults\":[32],\"dropdownClass\":[32],\"open\":[64],\"close\":[64]},[[0,\"diwaMultiSelectOptionUpdate\",\"onOptionUpdate\"],[0,\"slotchange\",\"onSlotChange\"]],{\"theme\":[\"onThemeChange\"],\"compact\":[\"onCompactChange\"],\"value\":[\"onValueChange\"],\"isOpen\":[\"onIsOpenChange\"]}]]],[\"diwa-multi-select-option\",[[17,\"diwa-multi-select-option\",{\"value\":[513],\"disabled\":[516],\"selected\":[1540],\"highlighted\":[1540],\"compact\":[1540],\"theme\":[1025],\"setFocus\":[64]},null,{\"selected\":[\"handlePropChange\"],\"highlighted\":[\"handlePropChange\"],\"disabled\":[\"handlePropChange\"]}]]],[\"diwa-pagination\",[[17,\"diwa-pagination\",{\"theme\":[513],\"totalItemsCount\":[2,\"total-items-count\"],\"itemsPerPage\":[2,\"items-per-page\"],\"activePage\":[1026,\"active-page\"],\"showLastPage\":[4,\"show-last-page\"],\"intl\":[16]}]]],[\"diwa-pin-code\",[[17,\"diwa-pin-code\",{\"label\":[1],\"description\":[1],\"state\":[1],\"message\":[1],\"length\":[2],\"value\":[1],\"type\":[1],\"required\":[516],\"disabled\":[516],\"compact\":[4],\"hideLabel\":[4,\"hide-label\"],\"theme\":[513]}]]],[\"diwa-popover\",[[17,\"diwa-popover\",{\"direction\":[1],\"description\":[1],\"theme\":[513],\"isOpen\":[32]},[[8,\"keydown\",\"handleGlobalKeydown\"],[9,\"pointerdown\",\"handleGlobalPointerDown\"]]]]],[\"diwa-radio-group\",[[1,\"diwa-radio-group\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"value\":[1537],\"direction\":[513],\"required\":[4],\"disabled\":[516],\"state\":[513],\"message\":[1],\"compact\":[516],\"hideLabel\":[516,\"hide-label\"],\"name\":[1]},[[0,\"diwa-radio-select\",\"handleItemSelect\"]]]]],[\"diwa-radio-group-item\",[[17,\"diwa-radio-group-item\",{\"theme\":[513],\"value\":[513],\"checked\":[1540],\"name\":[1537],\"disabled\":[516],\"compact\":[516]},null,{\"checked\":[\"handleCheckedChange\"]}]]],[\"diwa-scroller\",[[1,\"diwa-scroller\",{\"alignScrollIndicator\":[1,\"align-scroll-indicator\"],\"scrollbar\":[4],\"theme\":[513],\"hasOverflow\":[32],\"canScrollLeft\":[32],\"canScrollRight\":[32]}]]],[\"diwa-segmented-control\",[[1,\"diwa-segmented-control\",{\"theme\":[513],\"value\":[1537],\"disabled\":[516],\"compact\":[516]},[[0,\"diwa-segment-select\",\"handleItemSelect\"]]]]],[\"diwa-segmented-control-item\",[[17,\"diwa-segmented-control-item\",{\"theme\":[513],\"value\":[513],\"selected\":[1540],\"disabled\":[516],\"compact\":[516]}]]],[\"diwa-select\",[[17,\"diwa-select\",{\"theme\":[513],\"label\":[1],\"description\":[1],\"name\":[1],\"value\":[1025],\"state\":[513],\"message\":[1],\"hideLabel\":[516,\"hide-label\"],\"disabled\":[516],\"required\":[4],\"compact\":[516],\"dropdownDirection\":[1,\"dropdown-direction\"],\"isOpen\":[32],\"hasFilterResults\":[32],\"dropdownClass\":[32],\"open\":[64],\"close\":[64]},[[0,\"diwaSelectOptionUpdate\",\"onOptionUpdate\"],[0,\"slotchange\",\"onSlotChange\"]],{\"theme\":[\"onThemeChange\"],\"compact\":[\"onCompactChange\"],\"value\":[\"onValueChange\"],\"isOpen\":[\"onIsOpenChange\"]}]]],[\"diwa-select-option\",[[17,\"diwa-select-option\",{\"value\":[513],\"disabled\":[516],\"selected\":[1540],\"highlighted\":[1540],\"theme\":[1025],\"compact\":[1540],\"setFocus\":[64]}]]],[\"diwa-stepper-horizontal\",[[1,\"diwa-stepper-horizontal\",{\"theme\":[513],\"activeStepIndex\":[1026,\"active-step-index\"]},null,{\"activeStepIndex\":[\"handleIndexChange\"]}]]],[\"diwa-stepper-horizontal-item\",[[1,\"diwa-stepper-horizontal-item\",{\"theme\":[513],\"label\":[1],\"sublabel\":[1],\"state\":[1537],\"stepNumber\":[1026,\"step-number\"],\"isLast\":[1028,\"is-last\"]}]]],[\"diwa-table\",[[1,\"diwa-table\",{\"theme\":[513],\"caption\":[1],\"compact\":[4],\"layout\":[1],\"bordered\":[4],\"striped\":[4]},[[0,\"diwaTableUpdate\",\"handleTableUpdate\"]]]]],[\"diwa-table-body\",[[1,\"diwa-table-body\",{\"theme\":[513]}]]],[\"diwa-table-cell\",[[1,\"diwa-table-cell\",{\"theme\":[513],\"multiline\":[4]}]]],[\"diwa-table-head\",[[1,\"diwa-table-head\",{\"theme\":[513]}]]],[\"diwa-table-head-cell\",[[1,\"diwa-table-head-cell\",{\"theme\":[513],\"sort\":[16],\"hideLabel\":[4,\"hide-label\"],\"multiline\":[4]}]]],[\"diwa-table-row\",[[1,\"diwa-table-row\",{\"theme\":[513]}]]],[\"diwa-tabs\",[[1,\"diwa-tabs\",{\"theme\":[513],\"activeTabIndex\":[1026,\"active-tab-index\"]},null,{\"activeTabIndex\":[\"handleIndexChange\"]}]]],[\"diwa-tabs-bar\",[[1,\"diwa-tabs-bar\",{\"theme\":[513],\"activeTabIndex\":[1026,\"active-tab-index\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeydown\"]],{\"activeTabIndex\":[\"handleIndexChange\"]}]]],[\"diwa-tabs-item\",[[1,\"diwa-tabs-item\",{\"theme\":[513],\"label\":[1],\"active\":[1540]}]]],[\"diwa-tag-dismissible\",[[17,\"diwa-tag-dismissible\",{\"variant\":[513],\"compact\":[516],\"label\":[1],\"theme\":[513]}]]],[\"diwa-text\",[[1,\"diwa-text\",{\"theme\":[513],\"tag\":[513],\"size\":[513],\"weight\":[513],\"align\":[513],\"color\":[513],\"ellipsis\":[516]}]]],[\"diwa-text-list\",[[1,\"diwa-text-list\",{\"theme\":[513],\"type\":[513]}]]],[\"diwa-text-list-item\",[[1,\"diwa-text-list-item\",{\"theme\":[513]}]]],[\"diwa-textarea\",[[17,\"diwa-textarea\",{\"label\":[1],\"description\":[1],\"state\":[1],\"message\":[1],\"name\":[1],\"value\":[1025],\"placeholder\":[1],\"required\":[4],\"disabled\":[516],\"readOnly\":[516,\"read-only\"],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"rows\":[2],\"resize\":[1],\"compact\":[4],\"hideLabel\":[4,\"hide-label\"],\"theme\":[513]}]]],[\"diwa-spinner\",[[1,\"diwa-spinner\",{\"size\":[513],\"theme\":[513],\"label\":[1]}]]],[\"diwa-toast-item\",[[17,\"diwa-toast-item\",{\"theme\":[513],\"text\":[1],\"state\":[513]}]]],[\"diwa-icon\",[[1,\"diwa-icon\",{\"name\":[1],\"size\":[2],\"color\":[1],\"label\":[1],\"theme\":[513]}]]],[\"diwa-button-pure\",[[17,\"diwa-button-pure\",{\"theme\":[513],\"size\":[513],\"icon\":[1],\"disabled\":[516],\"loading\":[516],\"hideLabel\":[516,\"hide-label\"],\"active\":[516],\"underline\":[516],\"alignLabel\":[513,\"align-label\"],\"stretch\":[516],\"type\":[1],\"name\":[1],\"value\":[1],\"href\":[1],\"target\":[1],\"label\":[1]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -3,11 +3,14 @@ import type { Theme } from '../../utils/styles';
|
|
|
3
3
|
/**
|
|
4
4
|
* @component diwa-badge
|
|
5
5
|
*
|
|
6
|
-
* A compact, pill-shaped
|
|
7
|
-
*
|
|
6
|
+
* A compact, pill-shaped status indicator with an optional animated dot.
|
|
7
|
+
* Use for live status, counts, counts, and key callouts.
|
|
8
|
+
* Prefer DiwaTag for category labels and filters — Tag has square corners and a
|
|
9
|
+
* visible border; Badge is always fully rounded with a subtler, muted border.
|
|
8
10
|
*
|
|
9
11
|
* Design token override API (set on :root or any ancestor):
|
|
10
12
|
* --diwa-badge-radius Border radius (defaults to --diwa-radius-full)
|
|
13
|
+
* --diwa-badge-border-color Override the auto-computed border colour
|
|
11
14
|
* --diwa-badge-padding-x Horizontal padding for md size
|
|
12
15
|
* --diwa-badge-padding-x-sm Horizontal padding for sm size
|
|
13
16
|
* --diwa-badge-font-size Font size for md size
|
|
@@ -15,7 +18,7 @@ import type { Theme } from '../../utils/styles';
|
|
|
15
18
|
* --diwa-badge-font-weight Font weight
|
|
16
19
|
*
|
|
17
20
|
* Usage:
|
|
18
|
-
* <diwa-badge variant="success">
|
|
21
|
+
* <diwa-badge variant="success" dot>Live</diwa-badge>
|
|
19
22
|
* <diwa-badge variant="danger" size="sm">3 errors</diwa-badge>
|
|
20
23
|
* <diwa-badge variant="neutral">Draft</diwa-badge>
|
|
21
24
|
*
|
|
@@ -31,6 +34,11 @@ export declare class DiwaBadge {
|
|
|
31
34
|
* (e.g., a numeric count without surrounding context).
|
|
32
35
|
*/
|
|
33
36
|
label?: string;
|
|
37
|
+
/**
|
|
38
|
+
* When true, renders a small animated pulsing dot before the slot content.
|
|
39
|
+
* Use to indicate live status or active processes.
|
|
40
|
+
*/
|
|
41
|
+
dot: boolean;
|
|
34
42
|
/** Per-component theme override. */
|
|
35
43
|
theme: Theme;
|
|
36
44
|
render(): any;
|
|
@@ -118,21 +118,28 @@ export namespace Components {
|
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* @component diwa-badge
|
|
121
|
-
* A compact, pill-shaped
|
|
122
|
-
*
|
|
121
|
+
* A compact, pill-shaped status indicator with an optional animated dot.
|
|
122
|
+
* Use for live status, counts, counts, and key callouts.
|
|
123
|
+
* Prefer DiwaTag for category labels and filters — Tag has square corners and a
|
|
124
|
+
* visible border; Badge is always fully rounded with a subtler, muted border.
|
|
123
125
|
* Design token override API (set on :root or any ancestor):
|
|
124
126
|
* --diwa-badge-radius Border radius (defaults to --diwa-radius-full)
|
|
127
|
+
* --diwa-badge-border-color Override the auto-computed border colour
|
|
125
128
|
* --diwa-badge-padding-x Horizontal padding for md size
|
|
126
129
|
* --diwa-badge-padding-x-sm Horizontal padding for sm size
|
|
127
130
|
* --diwa-badge-font-size Font size for md size
|
|
128
131
|
* --diwa-badge-font-size-sm Font size for sm size
|
|
129
132
|
* --diwa-badge-font-weight Font weight
|
|
130
133
|
* Usage:
|
|
131
|
-
* <diwa-badge variant="success">
|
|
134
|
+
* <diwa-badge variant="success" dot>Live</diwa-badge>
|
|
132
135
|
* <diwa-badge variant="danger" size="sm">3 errors</diwa-badge>
|
|
133
136
|
* <diwa-badge variant="neutral">Draft</diwa-badge>
|
|
134
137
|
*/
|
|
135
138
|
interface DiwaBadge {
|
|
139
|
+
/**
|
|
140
|
+
* When true, renders a small animated pulsing dot before the slot content. Use to indicate live status or active processes.
|
|
141
|
+
*/
|
|
142
|
+
"dot": boolean;
|
|
136
143
|
/**
|
|
137
144
|
* Accessible label. Use when slot content alone is insufficient (e.g., a numeric count without surrounding context).
|
|
138
145
|
*/
|
|
@@ -2155,17 +2162,20 @@ declare global {
|
|
|
2155
2162
|
};
|
|
2156
2163
|
/**
|
|
2157
2164
|
* @component diwa-badge
|
|
2158
|
-
* A compact, pill-shaped
|
|
2159
|
-
*
|
|
2165
|
+
* A compact, pill-shaped status indicator with an optional animated dot.
|
|
2166
|
+
* Use for live status, counts, counts, and key callouts.
|
|
2167
|
+
* Prefer DiwaTag for category labels and filters — Tag has square corners and a
|
|
2168
|
+
* visible border; Badge is always fully rounded with a subtler, muted border.
|
|
2160
2169
|
* Design token override API (set on :root or any ancestor):
|
|
2161
2170
|
* --diwa-badge-radius Border radius (defaults to --diwa-radius-full)
|
|
2171
|
+
* --diwa-badge-border-color Override the auto-computed border colour
|
|
2162
2172
|
* --diwa-badge-padding-x Horizontal padding for md size
|
|
2163
2173
|
* --diwa-badge-padding-x-sm Horizontal padding for sm size
|
|
2164
2174
|
* --diwa-badge-font-size Font size for md size
|
|
2165
2175
|
* --diwa-badge-font-size-sm Font size for sm size
|
|
2166
2176
|
* --diwa-badge-font-weight Font weight
|
|
2167
2177
|
* Usage:
|
|
2168
|
-
* <diwa-badge variant="success">
|
|
2178
|
+
* <diwa-badge variant="success" dot>Live</diwa-badge>
|
|
2169
2179
|
* <diwa-badge variant="danger" size="sm">3 errors</diwa-badge>
|
|
2170
2180
|
* <diwa-badge variant="neutral">Draft</diwa-badge>
|
|
2171
2181
|
*/
|
|
@@ -3455,21 +3465,28 @@ declare namespace LocalJSX {
|
|
|
3455
3465
|
}
|
|
3456
3466
|
/**
|
|
3457
3467
|
* @component diwa-badge
|
|
3458
|
-
* A compact, pill-shaped
|
|
3459
|
-
*
|
|
3468
|
+
* A compact, pill-shaped status indicator with an optional animated dot.
|
|
3469
|
+
* Use for live status, counts, counts, and key callouts.
|
|
3470
|
+
* Prefer DiwaTag for category labels and filters — Tag has square corners and a
|
|
3471
|
+
* visible border; Badge is always fully rounded with a subtler, muted border.
|
|
3460
3472
|
* Design token override API (set on :root or any ancestor):
|
|
3461
3473
|
* --diwa-badge-radius Border radius (defaults to --diwa-radius-full)
|
|
3474
|
+
* --diwa-badge-border-color Override the auto-computed border colour
|
|
3462
3475
|
* --diwa-badge-padding-x Horizontal padding for md size
|
|
3463
3476
|
* --diwa-badge-padding-x-sm Horizontal padding for sm size
|
|
3464
3477
|
* --diwa-badge-font-size Font size for md size
|
|
3465
3478
|
* --diwa-badge-font-size-sm Font size for sm size
|
|
3466
3479
|
* --diwa-badge-font-weight Font weight
|
|
3467
3480
|
* Usage:
|
|
3468
|
-
* <diwa-badge variant="success">
|
|
3481
|
+
* <diwa-badge variant="success" dot>Live</diwa-badge>
|
|
3469
3482
|
* <diwa-badge variant="danger" size="sm">3 errors</diwa-badge>
|
|
3470
3483
|
* <diwa-badge variant="neutral">Draft</diwa-badge>
|
|
3471
3484
|
*/
|
|
3472
3485
|
interface DiwaBadge {
|
|
3486
|
+
/**
|
|
3487
|
+
* When true, renders a small animated pulsing dot before the slot content. Use to indicate live status or active processes.
|
|
3488
|
+
*/
|
|
3489
|
+
"dot"?: boolean;
|
|
3473
3490
|
/**
|
|
3474
3491
|
* Accessible label. Use when slot content alone is insufficient (e.g., a numeric count without surrounding context).
|
|
3475
3492
|
*/
|
|
@@ -5546,17 +5563,20 @@ declare module "@stencil/core" {
|
|
|
5546
5563
|
"diwa-accordion": LocalJSX.DiwaAccordion & JSXBase.HTMLAttributes<HTMLDiwaAccordionElement>;
|
|
5547
5564
|
/**
|
|
5548
5565
|
* @component diwa-badge
|
|
5549
|
-
* A compact, pill-shaped
|
|
5550
|
-
*
|
|
5566
|
+
* A compact, pill-shaped status indicator with an optional animated dot.
|
|
5567
|
+
* Use for live status, counts, counts, and key callouts.
|
|
5568
|
+
* Prefer DiwaTag for category labels and filters — Tag has square corners and a
|
|
5569
|
+
* visible border; Badge is always fully rounded with a subtler, muted border.
|
|
5551
5570
|
* Design token override API (set on :root or any ancestor):
|
|
5552
5571
|
* --diwa-badge-radius Border radius (defaults to --diwa-radius-full)
|
|
5572
|
+
* --diwa-badge-border-color Override the auto-computed border colour
|
|
5553
5573
|
* --diwa-badge-padding-x Horizontal padding for md size
|
|
5554
5574
|
* --diwa-badge-padding-x-sm Horizontal padding for sm size
|
|
5555
5575
|
* --diwa-badge-font-size Font size for md size
|
|
5556
5576
|
* --diwa-badge-font-size-sm Font size for sm size
|
|
5557
5577
|
* --diwa-badge-font-weight Font weight
|
|
5558
5578
|
* Usage:
|
|
5559
|
-
* <diwa-badge variant="success">
|
|
5579
|
+
* <diwa-badge variant="success" dot>Live</diwa-badge>
|
|
5560
5580
|
* <diwa-badge variant="danger" size="sm">3 errors</diwa-badge>
|
|
5561
5581
|
* <diwa-badge variant="neutral">Draft</diwa-badge>
|
|
5562
5582
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-5eacc7d0.js';
|
|
2
2
|
import { g as getFocusStyle, a as getReducedMotionStyle } from './p-70bbb21a.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-473ec48f.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* diwa-accordion-styles.ts
|
|
@@ -2,6 +2,11 @@ import { p as proxyCustomElement, H, h, d as Host } from './p-5eacc7d0.js';
|
|
|
2
2
|
import { a as getReducedMotionStyle } from './p-70bbb21a.js';
|
|
3
3
|
|
|
4
4
|
const getComponentCss = () => `
|
|
5
|
+
@keyframes diwa-badge-pulse {
|
|
6
|
+
0%, 100% { opacity: 1; }
|
|
7
|
+
50% { opacity: 0.3; }
|
|
8
|
+
}
|
|
9
|
+
|
|
5
10
|
:host {
|
|
6
11
|
display: inline-flex;
|
|
7
12
|
align-items: center;
|
|
@@ -15,9 +20,10 @@ const getComponentCss = () => `
|
|
|
15
20
|
.badge {
|
|
16
21
|
display: inline-flex;
|
|
17
22
|
align-items: center;
|
|
18
|
-
|
|
23
|
+
gap: var(--diwa-space-1-5, 6px);
|
|
19
24
|
padding: var(--diwa-badge-padding-y, var(--diwa-space-0-5)) var(--diwa-badge-padding-x, var(--diwa-space-2));
|
|
20
25
|
border-radius: var(--diwa-badge-radius, var(--diwa-radius-full));
|
|
26
|
+
border: var(--diwa-border-width-thin, 1px) solid var(--diwa-badge-border-color, var(--diwa-border));
|
|
21
27
|
font-size: var(--diwa-badge-font-size, var(--diwa-font-size-md));
|
|
22
28
|
font-weight: var(--diwa-badge-font-weight, var(--diwa-font-weight-medium));
|
|
23
29
|
line-height: var(--diwa-line-height-tight);
|
|
@@ -27,7 +33,23 @@ const getComponentCss = () => `
|
|
|
27
33
|
transition: var(--diwa-transition-colors);
|
|
28
34
|
}
|
|
29
35
|
|
|
30
|
-
|
|
36
|
+
/* ── Pulsing dot indicator ──────────────────────────────────────────── */
|
|
37
|
+
|
|
38
|
+
.dot {
|
|
39
|
+
display: none;
|
|
40
|
+
width: 6px;
|
|
41
|
+
height: 6px;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
background-color: var(--_badge-dot-color, currentColor);
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
animation: diwa-badge-pulse 2s ease-in-out infinite;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([dot]) .dot {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
${getReducedMotionStyle('.badge', '.dot')}
|
|
31
53
|
|
|
32
54
|
/* ── Size: sm ──────────────────────────────────────────────────────── */
|
|
33
55
|
|
|
@@ -36,9 +58,16 @@ const getComponentCss = () => `
|
|
|
36
58
|
font-size: var(--diwa-badge-font-size-sm, var(--diwa-font-size-xs));
|
|
37
59
|
}
|
|
38
60
|
|
|
61
|
+
:host([size="sm"]) .dot {
|
|
62
|
+
width: 5px;
|
|
63
|
+
height: 5px;
|
|
64
|
+
}
|
|
65
|
+
|
|
39
66
|
/* ── Variant: neutral (default) ────────────────────────────────────── */
|
|
40
67
|
|
|
41
68
|
:host([variant="neutral"]) .badge {
|
|
69
|
+
--diwa-badge-border-color: var(--diwa-border);
|
|
70
|
+
--_badge-dot-color: var(--diwa-text-muted);
|
|
42
71
|
background-color: var(--diwa-bg-hover);
|
|
43
72
|
color: var(--diwa-text-secondary);
|
|
44
73
|
}
|
|
@@ -46,6 +75,8 @@ const getComponentCss = () => `
|
|
|
46
75
|
/* ── Variant: accent ───────────────────────────────────────────────── */
|
|
47
76
|
|
|
48
77
|
:host([variant="accent"]) .badge {
|
|
78
|
+
--diwa-badge-border-color: color-mix(in srgb, var(--diwa-accent) 25%, transparent);
|
|
79
|
+
--_badge-dot-color: var(--diwa-accent);
|
|
49
80
|
background-color: var(--diwa-accent-bg);
|
|
50
81
|
color: var(--diwa-accent);
|
|
51
82
|
}
|
|
@@ -53,6 +84,8 @@ const getComponentCss = () => `
|
|
|
53
84
|
/* ── Variant: success ──────────────────────────────────────────────── */
|
|
54
85
|
|
|
55
86
|
:host([variant="success"]) .badge {
|
|
87
|
+
--diwa-badge-border-color: color-mix(in srgb, var(--diwa-success-text) 25%, transparent);
|
|
88
|
+
--_badge-dot-color: var(--diwa-success-text);
|
|
56
89
|
background-color: var(--diwa-success-bg);
|
|
57
90
|
color: var(--diwa-success-text);
|
|
58
91
|
}
|
|
@@ -60,6 +93,8 @@ const getComponentCss = () => `
|
|
|
60
93
|
/* ── Variant: warning ──────────────────────────────────────────────── */
|
|
61
94
|
|
|
62
95
|
:host([variant="warning"]) .badge {
|
|
96
|
+
--diwa-badge-border-color: color-mix(in srgb, var(--diwa-warning-text) 25%, transparent);
|
|
97
|
+
--_badge-dot-color: var(--diwa-warning-text);
|
|
63
98
|
background-color: var(--diwa-warning-bg);
|
|
64
99
|
color: var(--diwa-warning-text);
|
|
65
100
|
}
|
|
@@ -67,6 +102,8 @@ const getComponentCss = () => `
|
|
|
67
102
|
/* ── Variant: danger ───────────────────────────────────────────────── */
|
|
68
103
|
|
|
69
104
|
:host([variant="danger"]) .badge {
|
|
105
|
+
--diwa-badge-border-color: color-mix(in srgb, var(--diwa-danger-text) 25%, transparent);
|
|
106
|
+
--_badge-dot-color: var(--diwa-danger-text);
|
|
70
107
|
background-color: var(--diwa-danger-bg);
|
|
71
108
|
color: var(--diwa-danger-text);
|
|
72
109
|
}
|
|
@@ -84,6 +121,11 @@ const DiwaBadge$1 = /*@__PURE__*/ proxyCustomElement(class DiwaBadge extends H {
|
|
|
84
121
|
this.variant = "neutral";
|
|
85
122
|
/** Size tier — controls height, padding, and font-size. */
|
|
86
123
|
this.size = "md";
|
|
124
|
+
/**
|
|
125
|
+
* When true, renders a small animated pulsing dot before the slot content.
|
|
126
|
+
* Use to indicate live status or active processes.
|
|
127
|
+
*/
|
|
128
|
+
this.dot = false;
|
|
87
129
|
/** Per-component theme override. */
|
|
88
130
|
this.theme = 'dark';
|
|
89
131
|
}
|
|
@@ -92,12 +134,13 @@ const DiwaBadge$1 = /*@__PURE__*/ proxyCustomElement(class DiwaBadge extends H {
|
|
|
92
134
|
// ──────────────────────────────────────────────────────────────
|
|
93
135
|
render() {
|
|
94
136
|
var _a;
|
|
95
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'b305c163c262aee55c46a7d69ede81bda62ac56f', "data-theme": this.theme }, h("style", { key: '40a4c220bcf3847f8e894bf5f05896d1c4c21f17', innerHTML: getComponentCss() }), h("span", { key: 'c642e078977a843580ef50d3a4fb942601e84ad7', class: "badge", part: "base", "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : undefined, role: this.label ? "status" : undefined }, this.dot && h("span", { key: '74ff1195c0aa5e28c16fafef5d11b79236e92ec6', class: "dot", "aria-hidden": "true" }), h("slot", { key: 'c429093035124e22ba2a03e98238407345c60d3b' }))));
|
|
96
138
|
}
|
|
97
139
|
}, [1, "diwa-badge", {
|
|
98
140
|
"variant": [513],
|
|
99
141
|
"size": [513],
|
|
100
142
|
"label": [1],
|
|
143
|
+
"dot": [516],
|
|
101
144
|
"theme": [513]
|
|
102
145
|
}]);
|
|
103
146
|
function defineCustomElement$1() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"diwa-badge.js","mappings":";;;AAEO,MAAM,eAAe,GAAG,MAAc
|
|
1
|
+
{"file":"diwa-badge.js","mappings":";;;AAEO,MAAM,eAAe,GAAG,MAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgDzC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D1C;;MC3EYA,WAAS;IAJtB;;;;;;;;QAU2B,YAAO,GAAiB,SAAS,CAAC;;QAGlC,SAAI,GAAc,IAAI,CAAC;;;;;QAYvB,QAAG,GAAY,KAAK,CAAC;;QAGrB,UAAK,GAAU,MAAM,CAAC;KAsBhD;;;;IAhBC,MAAM;;QACJ,QACE,EAAC,IAAI,mEAAa,IAAI,CAAC,KAAK,IAC1B,8DAAO,SAAS,EAAE,eAAe,EAAE,GAAI,EACvC,6DACE,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,MAAM,gBACC,MAAA,IAAI,CAAC,KAAK,mCAAI,SAAS,EACnC,IAAI,EAAE,IAAI,CAAC,KAAK,GAAG,QAAQ,GAAG,SAAS,IAEtC,IAAI,CAAC,GAAG,IAAI,6DAAM,KAAK,EAAC,KAAK,iBAAa,MAAM,GAAG,EACpD,8DAAQ,CACH,CACF,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["DiwaBadge"],"sources":["src/components/diwa-badge/diwa-badge-styles.ts","src/components/diwa-badge/diwa-badge.tsx"],"sourcesContent":["import { getReducedMotionStyle } from '../../utils/styles';\r\n\r\nexport const getComponentCss = (): string => `\r\n @keyframes diwa-badge-pulse {\r\n 0%, 100% { opacity: 1; }\r\n 50% { opacity: 0.3; }\r\n }\r\n\r\n :host {\r\n display: inline-flex;\r\n align-items: center;\r\n font-family: var(--diwa-font-family-base);\r\n }\r\n\r\n :host([hidden]) {\r\n display: none;\r\n }\r\n\r\n .badge {\r\n display: inline-flex;\r\n align-items: center;\r\n gap: var(--diwa-space-1-5, 6px);\r\n padding: var(--diwa-badge-padding-y, var(--diwa-space-0-5)) var(--diwa-badge-padding-x, var(--diwa-space-2));\r\n border-radius: var(--diwa-badge-radius, var(--diwa-radius-full));\r\n border: var(--diwa-border-width-thin, 1px) solid var(--diwa-badge-border-color, var(--diwa-border));\r\n font-size: var(--diwa-badge-font-size, var(--diwa-font-size-md));\r\n font-weight: var(--diwa-badge-font-weight, var(--diwa-font-weight-medium));\r\n line-height: var(--diwa-line-height-tight);\r\n white-space: nowrap;\r\n background-color: var(--diwa-bg-hover);\r\n color: var(--diwa-text-secondary);\r\n transition: var(--diwa-transition-colors);\r\n }\r\n\r\n /* ── Pulsing dot indicator ──────────────────────────────────────────── */\r\n\r\n .dot {\r\n display: none;\r\n width: 6px;\r\n height: 6px;\r\n border-radius: 50%;\r\n background-color: var(--_badge-dot-color, currentColor);\r\n flex-shrink: 0;\r\n animation: diwa-badge-pulse 2s ease-in-out infinite;\r\n }\r\n\r\n :host([dot]) .dot {\r\n display: block;\r\n }\r\n\r\n ${getReducedMotionStyle('.badge', '.dot')}\r\n\r\n /* ── Size: sm ──────────────────────────────────────────────────────── */\r\n\r\n :host([size=\"sm\"]) .badge {\r\n padding: var(--diwa-badge-padding-y-sm, var(--diwa-space-px)) var(--diwa-badge-padding-x-sm, var(--diwa-space-1-5, 6px));\r\n font-size: var(--diwa-badge-font-size-sm, var(--diwa-font-size-xs));\r\n }\r\n\r\n :host([size=\"sm\"]) .dot {\r\n width: 5px;\r\n height: 5px;\r\n }\r\n\r\n /* ── Variant: neutral (default) ────────────────────────────────────── */\r\n\r\n :host([variant=\"neutral\"]) .badge {\r\n --diwa-badge-border-color: var(--diwa-border);\r\n --_badge-dot-color: var(--diwa-text-muted);\r\n background-color: var(--diwa-bg-hover);\r\n color: var(--diwa-text-secondary);\r\n }\r\n\r\n /* ── Variant: accent ───────────────────────────────────────────────── */\r\n\r\n :host([variant=\"accent\"]) .badge {\r\n --diwa-badge-border-color: color-mix(in srgb, var(--diwa-accent) 25%, transparent);\r\n --_badge-dot-color: var(--diwa-accent);\r\n background-color: var(--diwa-accent-bg);\r\n color: var(--diwa-accent);\r\n }\r\n\r\n /* ── Variant: success ──────────────────────────────────────────────── */\r\n\r\n :host([variant=\"success\"]) .badge {\r\n --diwa-badge-border-color: color-mix(in srgb, var(--diwa-success-text) 25%, transparent);\r\n --_badge-dot-color: var(--diwa-success-text);\r\n background-color: var(--diwa-success-bg);\r\n color: var(--diwa-success-text);\r\n }\r\n\r\n /* ── Variant: warning ──────────────────────────────────────────────── */\r\n\r\n :host([variant=\"warning\"]) .badge {\r\n --diwa-badge-border-color: color-mix(in srgb, var(--diwa-warning-text) 25%, transparent);\r\n --_badge-dot-color: var(--diwa-warning-text);\r\n background-color: var(--diwa-warning-bg);\r\n color: var(--diwa-warning-text);\r\n }\r\n\r\n /* ── Variant: danger ───────────────────────────────────────────────── */\r\n\r\n :host([variant=\"danger\"]) .badge {\r\n --diwa-badge-border-color: color-mix(in srgb, var(--diwa-danger-text) 25%, transparent);\r\n --_badge-dot-color: var(--diwa-danger-text);\r\n background-color: var(--diwa-danger-bg);\r\n color: var(--diwa-danger-text);\r\n }\r\n`;\r\n","import { Component, Host, Prop, h } from \"@stencil/core\";\r\nimport type { BadgeSize, BadgeVariant } from \"./types\";\r\nimport type { Theme } from '../../utils/styles';\r\nimport { getComponentCss } from './diwa-badge-styles';\r\n\r\n/**\r\n * @component diwa-badge\r\n *\r\n * A compact, pill-shaped status indicator with an optional animated dot.\r\n * Use for live status, counts, counts, and key callouts.\r\n * Prefer DiwaTag for category labels and filters — Tag has square corners and a\r\n * visible border; Badge is always fully rounded with a subtler, muted border.\r\n *\r\n * Design token override API (set on :root or any ancestor):\r\n * --diwa-badge-radius Border radius (defaults to --diwa-radius-full)\r\n * --diwa-badge-border-color Override the auto-computed border colour\r\n * --diwa-badge-padding-x Horizontal padding for md size\r\n * --diwa-badge-padding-x-sm Horizontal padding for sm size\r\n * --diwa-badge-font-size Font size for md size\r\n * --diwa-badge-font-size-sm Font size for sm size\r\n * --diwa-badge-font-weight Font weight\r\n *\r\n * Usage:\r\n * <diwa-badge variant=\"success\" dot>Live</diwa-badge>\r\n * <diwa-badge variant=\"danger\" size=\"sm\">3 errors</diwa-badge>\r\n * <diwa-badge variant=\"neutral\">Draft</diwa-badge>\r\n *\r\n * @slot default — Badge label content (text or mixed inline content)\r\n */\r\n@Component({\r\n tag: \"diwa-badge\",\r\n shadow: true,\r\n})\r\nexport class DiwaBadge {\r\n // ──────────────────────────────────────────────────────────────\r\n // Props\r\n // ──────────────────────────────────────────────────────────────\r\n\r\n /** Semantic colour variant. Determines background and text colour. */\r\n @Prop({ reflect: true }) variant: BadgeVariant = \"neutral\";\r\n\r\n /** Size tier — controls height, padding, and font-size. */\r\n @Prop({ reflect: true }) size: BadgeSize = \"md\";\r\n\r\n /**\r\n * Accessible label. Use when slot content alone is insufficient\r\n * (e.g., a numeric count without surrounding context).\r\n */\r\n @Prop() label?: string;\r\n\r\n /**\r\n * When true, renders a small animated pulsing dot before the slot content.\r\n * Use to indicate live status or active processes.\r\n */\r\n @Prop({ reflect: true }) dot: boolean = false;\r\n\r\n /** Per-component theme override. */\r\n @Prop({ reflect: true }) theme: Theme = 'dark';\r\n\r\n // ──────────────────────────────────────────────────────────────\r\n // Render\r\n // ──────────────────────────────────────────────────────────────\r\n\r\n render() {\r\n return (\r\n <Host data-theme={this.theme}>\r\n <style innerHTML={getComponentCss()} />\r\n <span\r\n class=\"badge\"\r\n part=\"base\"\r\n aria-label={this.label ?? undefined}\r\n role={this.label ? \"status\" : undefined}\r\n >\r\n {this.dot && <span class=\"dot\" aria-hidden=\"true\" />}\r\n <slot />\r\n </span>\r\n </Host>\r\n );\r\n }\r\n}\r\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-5eacc7d0.js';
|
|
2
2
|
import { g as getFocusStyle, a as getReducedMotionStyle } from './p-70bbb21a.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-473ec48f.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* diwa-button-styles.ts
|
|
@@ -408,7 +408,7 @@ const DiwaButton$1 = /*@__PURE__*/ proxyCustomElement(class DiwaButton extends H
|
|
|
408
408
|
*
|
|
409
409
|
* The part="base" exposes internals for ::part() in host-app stylesheets.
|
|
410
410
|
*/
|
|
411
|
-
h(Host, { key: '
|
|
411
|
+
h(Host, { key: '40eee896f96707aa7e552ecb4a1dd9329dae5ec4', "data-theme": this.theme, role: isLink ? undefined : "button", "aria-disabled": (this.disabled || this.loading) && isLink ? "true" : undefined }, h("style", { key: 'd41a20f5d58d5408efeec81ea452d1bf4c160cbe', innerHTML: getComponentCss() }), h(Tag, Object.assign({ key: 'e4cb9b0f3b1d581803cee8a82ca9d838c48dd5f2' }, commonProps, buttonProps, { part: "base" /* ::part(base) hook for consumers */ }), this.loading && (h("span", { key: 'd57fe6c27bd115e73f136003e9cb3c3de494020e', class: "spinner", "aria-hidden": "true", part: "spinner" })), h("span", { key: 'bfdcd738e1b4541bae233a7be5804d1ba4fc02df', class: "icon-start", part: "icon-start", "aria-hidden": "true" }, this.icon !== 'none' && !this.loading && h("diwa-icon", { key: '674cf3892909a537d376dfb17bc4e14e6e5343ff', name: this.icon, size: this.iconSize }), h("slot", { key: '8bf7e06b4eab2814dccec4996a38f7fce76dedf9', name: "icon-start" })), h("span", { key: 'efa94bbd8858dba301646d8f072dac475cf16fc5', class: `label${this.hideLabel ? " label--hidden" : ""}`, part: "label" }, h("slot", { key: 'c296751f944fae738500ada889f0e057f6919e1f' })), h("span", { key: 'd057b75d8cf65aafc87d0b3996e0a024fff3e4f0', class: "icon-end", part: "icon-end", "aria-hidden": "true" }, h("slot", { key: 'b329bec720506f3b322c244cbf31139a57514a03', name: "icon-end" })))));
|
|
412
412
|
}
|
|
413
413
|
static get delegatesFocus() { return true; }
|
|
414
414
|
get host() { return this; }
|
|
@@ -269,7 +269,7 @@ const DiwaCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class DiwaCheckbox exten
|
|
|
269
269
|
render() {
|
|
270
270
|
const msgId = 'diwa-checkbox-msg';
|
|
271
271
|
const hasMessage = !!this.message && this.state !== 'none';
|
|
272
|
-
return (h(Host, { key: '
|
|
272
|
+
return (h(Host, { key: '4a275738fb178f5ca410adf8385d68a274cf8d93', "data-theme": this.theme }, h("style", { key: '13e8d7ac361c165947f5a2e25bb06ecb66440704', innerHTML: getComponentCss(this.state, this.disabled, this.compact) }), h("div", { key: 'f35a19d3d08107f69d16b3b6b488526849d2d87b', class: "root" }, h("div", { key: '28d6619129ccc4aea2424abe2a9c423331772e5e', class: "wrapper" }, h("div", { key: 'bf5025023183026f918e5b704fe1d15cf796012e', class: "input-container" }, h("input", { key: '6a2ddb4a178a42c5201e2e23a6b44f9d34b8d3c4', type: "checkbox", id: "cb", checked: this.checked, disabled: this.disabled, required: this.required, name: this.name, value: this.value, "aria-checked": this.indeterminate ? 'mixed' : undefined, "aria-describedby": hasMessage ? msgId : undefined, onChange: this.handleChange, ref: this.setCheckboxRef })), this.label && (h("label", { key: 'fd1131c140a407f03372e926eef701d90ad6ead6', class: `label${this.hideLabel ? ' label--hidden' : ''}`, htmlFor: "cb" }, this.label, this.required && (h("span", { key: '4aacf002203ea4338455d1bd8df93f892a3175a6', class: "required", "aria-hidden": "true" }, ' ', "*"))))), hasMessage && (h("span", { key: 'd99ead9fd47dd27adde24cf87d24bce86431aa40', id: msgId, class: "message" }, this.message)))));
|
|
273
273
|
}
|
|
274
274
|
static get delegatesFocus() { return true; }
|
|
275
275
|
get host() { return this; }
|
|
@@ -56,7 +56,7 @@ const DiwaDivider$1 = /*@__PURE__*/ proxyCustomElement(class DiwaDivider extends
|
|
|
56
56
|
// Render
|
|
57
57
|
// ──────────────────────────────────────────────────────────────
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'ff0589655d6b5e847b3600fd6ba6cf0dd3b247ac', "data-theme": this.theme }, h("style", { key: '38a30ff84f63f0825702480f686b49ec8d743d27', innerHTML: getComponentCss(this.orientation) }), h("hr", { key: '17df4c81b9b79b33f794a2f5ea111107b66ae7ce', class: "root", role: "separator", "aria-orientation": this.orientation })));
|
|
60
60
|
}
|
|
61
61
|
}, [1, "diwa-divider", {
|
|
62
62
|
"theme": [513],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-5eacc7d0.js';
|
|
2
2
|
import { a as getReducedMotionStyle } from './p-70bbb21a.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-236fbbdd.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-473ec48f.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* diwa-flyout-styles.ts
|
|
@@ -191,7 +191,7 @@ const DiwaFlyout$1 = /*@__PURE__*/ proxyCustomElement(class DiwaFlyout extends H
|
|
|
191
191
|
// Render
|
|
192
192
|
// ──────────────────────────────────────────────────────────────
|
|
193
193
|
render() {
|
|
194
|
-
return (h(Host, { key: '
|
|
194
|
+
return (h(Host, { key: '067e67fe0994d726754e6553d92a03b71981b218', "data-theme": this.theme }, h("style", { key: '2697a0d6d7f205b12cf0e16df31a5302cc7792a9' }, getComponentCss(this.open, this.position, this.backdrop)), h("div", { key: 'fbd2f50b7ffcf9329d59cdf0097ab620d689d42b', class: "backdrop", "aria-hidden": "true", onClick: this.handleDismiss }), h("div", { key: 'efc5f3d46f43b92ea438ceb8f290650851373060', class: "panel", role: "dialog", "aria-modal": "true", "aria-label": this.heading || 'Flyout', tabIndex: -1, ref: (el) => { this.panelEl = el; } }, h("div", { key: '2870307396623b837ba1a3dbac79c0fa6dfc60ea', class: "header" }, h("span", { key: '7b331d1bbe9852cfab2f432f5549cb9b683e63b4', class: "heading-text" }, this.heading), h("slot", { key: '5f4893f77513909bfecf12efe55d9ccfe9777a68', name: "header" }), h("diwa-button-pure", { key: '603aedc73fe95dd50e331f1e85cc005c143a2362', icon: "x", label: "Close flyout", size: "sm", hideLabel: true, onClick: this.handleDismiss })), h("div", { key: '01ece4db2102e3b76287194021b7da059ed4cb7f', class: "content" }, h("slot", { key: '43f4639680b69de1285beab4584caa21ef71cfb7' })), h("div", { key: '22c72dbb2f0c2f71d699e6ef027c6b13cf3ce6dc', class: "footer" }, h("slot", { key: '6ee08ebb96caa923054e6b4298f419e44e4b003f', name: "footer" })))));
|
|
195
195
|
}
|
|
196
196
|
static get watchers() { return {
|
|
197
197
|
"open": ["onOpenChange"]
|
|
@@ -114,7 +114,7 @@ const DiwaHeading$1 = /*@__PURE__*/ proxyCustomElement(class DiwaHeading extends
|
|
|
114
114
|
// ──────────────────────────────────────────────────────────────
|
|
115
115
|
render() {
|
|
116
116
|
const Tag = getHeadingTag(this.host, this.size, this.tag); // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
117
|
-
return (h(Host, { key: '
|
|
117
|
+
return (h(Host, { key: 'da76af7c3fbfbc20a58c3210145fb99c47474b01', "data-theme": this.theme }, h("style", { key: '3002fa6831effb8f00414fc6a2bc3729578251d3', innerHTML: getComponentCss(this.size, this.weight, this.align, this.color, this.ellipsis) }), h(Tag, { key: 'acc07263f7150f3d34383eeea09d093bf833a506', class: "heading" }, h("slot", { key: '95678b56667d381fabb3e34f9b70ca4fe7faaaa2' }))));
|
|
118
118
|
}
|
|
119
119
|
get host() { return this; }
|
|
120
120
|
}, [1, "diwa-heading", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-5eacc7d0.js';
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-236fbbdd.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-473ec48f.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* diwa-inline-notification-styles.ts
|
|
@@ -170,7 +170,7 @@ const DiwaInlineNotification$1 = /*@__PURE__*/ proxyCustomElement(class DiwaInli
|
|
|
170
170
|
render() {
|
|
171
171
|
const isAlert = this.state === 'error';
|
|
172
172
|
const showActions = this.dismissButton || Boolean(this.actionLabel);
|
|
173
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: 'ffbc48506e71547e9f670fada7b45ebbe0bbd9d2', "data-theme": this.theme }, h("style", { key: '4ccbe4e0e6b325dedc6263ea80481cecd39cac26', innerHTML: getComponentCss(this.state) }), h("div", { key: 'e304af7c978c4da1240c31e0468b2ec3895c7c3d', class: "root" }, h("div", { key: '1aea476763f19125e6ae889065014d0c24936025', class: "icon-wrap", "aria-hidden": "true" }, h("diwa-icon", { key: '3260c5b0aa23d6b995af704be6177a05ef85baa8', name: STATE_ICON[this.state], size: 16 })), h("div", { key: '79e994cb29375faede44260d9d77bee71a5e6e83', class: "content", role: isAlert ? 'alert' : 'status', "aria-live": isAlert ? 'assertive' : 'polite' }, this.heading && h("span", { key: '2d4964d50c797e7cf16480de07160a910374b0eb', class: "heading" }, this.heading), h("p", { key: 'e226d8728b99240e6e65b98eca4d87e369a50094', class: "description" }, this.description || h("slot", { key: '662f76be60914522329dd61a807133bcda44fa9f' }))), showActions && (h("div", { key: '20beaa3f3fc15584953092caa3f2a7176faf42d8', class: "actions" }, this.actionLabel && (h("diwa-button-pure", { key: '4631e465e1919bdb709473c7a0f8946c72882151', icon: "arrow-right", size: "sm", loading: this.actionLoading, theme: this.theme, onClick: this.handleAction }, this.actionLabel)), this.dismissButton && (h("diwa-button-pure", { key: '244273af8b94b76093e2f0065df740ea53bcdd33', icon: "x", label: "Dismiss notification", hideLabel: true, size: "sm", theme: this.theme, onClick: this.handleDismiss })))))));
|
|
174
174
|
}
|
|
175
175
|
}, [1, "diwa-inline-notification", {
|
|
176
176
|
"theme": [513],
|