@riverty/web-components 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/focusable-Oll_rmtP.js +28 -0
- package/dist/cjs/formData-B2DZyLxP.js +44 -0
- package/dist/cjs/index-BnETQtSf.js +1834 -0
- package/dist/cjs/index.cjs.js +37 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/r-accordion-panel.cjs.entry.js +24 -0
- package/dist/cjs/r-accordion-section.cjs.entry.js +125 -0
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +93 -0
- package/dist/cjs/r-accordion.cjs.entry.js +20 -0
- package/dist/cjs/r-alert.cjs.entry.js +146 -0
- package/dist/cjs/r-badge.cjs.entry.js +41 -0
- package/dist/cjs/r-button.cjs.entry.js +149 -0
- package/dist/cjs/r-checkbox-group.cjs.entry.js +237 -0
- package/dist/cjs/r-checkbox.cjs.entry.js +274 -0
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +31 -0
- package/dist/cjs/r-dialog.cjs.entry.js +107 -0
- package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
- package/dist/cjs/r-icon-button_2.cjs.entry.js +492 -0
- package/dist/cjs/r-icon.cjs.entry.js +284 -0
- package/dist/cjs/r-illustration.cjs.entry.js +396 -0
- package/dist/cjs/r-input-code.cjs.entry.js +437 -0
- package/dist/cjs/r-input-date.cjs.entry.js +524 -0
- package/dist/cjs/r-input-password.cjs.entry.js +270 -0
- package/dist/cjs/r-input-phone-number.cjs.entry.js +2525 -0
- package/dist/cjs/r-input.cjs.entry.js +618 -0
- package/dist/cjs/r-list-item.cjs.entry.js +109 -0
- package/dist/cjs/r-pagination.cjs.entry.js +320 -0
- package/dist/cjs/r-panel.cjs.entry.js +184 -0
- package/dist/cjs/r-popover-action.cjs.entry.js +80 -0
- package/dist/cjs/r-popover-content.cjs.entry.js +62 -0
- package/dist/cjs/r-popover-headline.cjs.entry.js +28 -0
- package/dist/cjs/r-popover-trigger.cjs.entry.js +70 -0
- package/dist/cjs/r-popover.cjs.entry.js +347 -0
- package/dist/cjs/r-progress-bar.cjs.entry.js +25 -0
- package/dist/cjs/r-radio-button-description.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-title.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button.cjs.entry.js +139 -0
- package/dist/cjs/r-radio-group.cjs.entry.js +428 -0
- package/dist/cjs/r-select-option.cjs.entry.js +130 -0
- package/dist/cjs/r-select.cjs.entry.js +1107 -0
- package/dist/cjs/r-skip-link.cjs.entry.js +19 -0
- package/dist/cjs/r-stepper-item.cjs.entry.js +42 -0
- package/dist/cjs/r-stepper.cjs.entry.js +99 -0
- package/dist/cjs/r-tab-panel.cjs.entry.js +26 -0
- package/dist/cjs/r-tab.cjs.entry.js +62 -0
- package/dist/cjs/r-tabs-list.cjs.entry.js +175 -0
- package/dist/cjs/r-tabs.cjs.entry.js +277 -0
- package/dist/cjs/r-textarea.cjs.entry.js +270 -0
- package/dist/cjs/r-toast-group.cjs.entry.js +46 -0
- package/dist/cjs/r-toast.cjs.entry.js +314 -0
- package/dist/cjs/style-observer-D9zSP9wP.js +1118 -0
- package/dist/cjs/theming-NqxjhVJS.js +109 -0
- package/dist/cjs/web-components.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +60 -0
- package/dist/collection/components/accordion/accordion.css +24 -0
- package/dist/collection/components/accordion/accordion.js +90 -0
- package/dist/collection/components/accordion/exports.js +1 -0
- package/dist/collection/components/accordion-panel/accordion-panel.css +50 -0
- package/dist/collection/components/accordion-panel/accordion-panel.js +86 -0
- package/dist/collection/components/accordion-section/accordion-section.css +27 -0
- package/dist/collection/components/accordion-section/accordion-section.js +235 -0
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +93 -0
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +220 -0
- package/dist/collection/components/alert/alert.css +120 -0
- package/dist/collection/components/alert/alert.js +526 -0
- package/dist/collection/components/alert/exports.js +2 -0
- package/dist/collection/components/badge/badge.css +62 -0
- package/dist/collection/components/badge/badge.js +124 -0
- package/dist/collection/components/badge/exports.js +1 -0
- package/dist/collection/components/button/button.css +180 -0
- package/dist/collection/components/button/button.js +510 -0
- package/dist/collection/components/button/exports.js +5 -0
- package/dist/collection/components/checkbox/checkbox.css +116 -0
- package/dist/collection/components/checkbox/checkbox.js +803 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +48 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +744 -0
- package/dist/collection/components/design-system-devtools/design-system-devtools.js +59 -0
- package/dist/collection/components/dialog/dialog.css +125 -0
- package/dist/collection/components/dialog/dialog.js +345 -0
- package/dist/collection/components/dialog/exports.js +9 -0
- package/dist/collection/components/hint/exports.js +1 -0
- package/dist/collection/components/hint/hint.css +63 -0
- package/dist/collection/components/hint/hint.js +114 -0
- package/dist/collection/components/icon/all-kit.js +2 -0
- package/dist/collection/components/icon/data.js +90 -0
- package/dist/collection/components/icon/exports.js +7 -0
- package/dist/collection/components/icon/icon.css +105 -0
- package/dist/collection/components/icon/icon.js +379 -0
- package/dist/collection/components/icon/riverty-kit.js +2 -0
- package/dist/collection/components/icon-button/icon-button.css +105 -0
- package/dist/collection/components/icon-button/icon-button.js +343 -0
- package/dist/collection/components/illustration/data.js +112 -0
- package/dist/collection/components/illustration/exports.js +3 -0
- package/dist/collection/components/illustration/illustration.css +52 -0
- package/dist/collection/components/illustration/illustration.js +540 -0
- package/dist/collection/components/illustration/illustrations-ui-kit.js +2 -0
- package/dist/collection/components/input/exports.js +62 -0
- package/dist/collection/components/input/input.css +186 -0
- package/dist/collection/components/input/input.js +1861 -0
- package/dist/collection/components/input-code/exports.js +2 -0
- package/dist/collection/components/input-code/input-code.css +127 -0
- package/dist/collection/components/input-code/input-code.js +1165 -0
- package/dist/collection/components/input-date/exports.js +1 -0
- package/dist/collection/components/input-date/input-date.css +148 -0
- package/dist/collection/components/input-date/input-date.js +1254 -0
- package/dist/collection/components/input-password/exports.js +1 -0
- package/dist/collection/components/input-password/input-password.css +25 -0
- package/dist/collection/components/input-password/input-password.js +1077 -0
- package/dist/collection/components/input-phone-number/input-phone-number.css +61 -0
- package/dist/collection/components/input-phone-number/input-phone-number.js +893 -0
- package/dist/collection/components/label/label.css +38 -0
- package/dist/collection/components/label/label.js +47 -0
- package/dist/collection/components/list-item/list-item/exports.js +2 -0
- package/dist/collection/components/list-item/list-item/list-item.css +199 -0
- package/dist/collection/components/list-item/list-item/list-item.js +467 -0
- package/dist/collection/components/pagination/exports.js +3 -0
- package/dist/collection/components/pagination/pagination.css +118 -0
- package/dist/collection/components/pagination/pagination.js +814 -0
- package/dist/collection/components/panel/exports.js +1 -0
- package/dist/collection/components/panel/panel.css +192 -0
- package/dist/collection/components/panel/panel.js +473 -0
- package/dist/collection/components/popover/exports.js +3 -0
- package/dist/collection/components/popover/popover.css +251 -0
- package/dist/collection/components/popover/popover.js +741 -0
- package/dist/collection/components/popover-action/popover-action.css +21 -0
- package/dist/collection/components/popover-action/popover-action.js +150 -0
- package/dist/collection/components/popover-content/popover-content.css +9 -0
- package/dist/collection/components/popover-content/popover-content.js +130 -0
- package/dist/collection/components/popover-headline/popover-headline.css +7 -0
- package/dist/collection/components/popover-headline/popover-headline.js +28 -0
- package/dist/collection/components/popover-trigger/exports.js +1 -0
- package/dist/collection/components/popover-trigger/popover-trigger.css +4 -0
- package/dist/collection/components/popover-trigger/popover-trigger.js +163 -0
- package/dist/collection/components/progress-bar/progress-bar.css +41 -0
- package/dist/collection/components/progress-bar/progress-bar.js +71 -0
- package/dist/collection/components/radio-button/radio-button.css +126 -0
- package/dist/collection/components/radio-button/radio-button.js +559 -0
- package/dist/collection/components/radio-button-description/radio-button-description.css +5 -0
- package/dist/collection/components/radio-button-description/radio-button-description.js +22 -0
- package/dist/collection/components/radio-button-leading/radio-button-leading.css +3 -0
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +22 -0
- package/dist/collection/components/radio-button-title/radio-button-title.css +8 -0
- package/dist/collection/components/radio-button-title/radio-button-title.js +22 -0
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +6 -0
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +22 -0
- package/dist/collection/components/radio-group/exports.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +65 -0
- package/dist/collection/components/radio-group/radio-group.js +1023 -0
- package/dist/collection/components/select/exports.js +1 -0
- package/dist/collection/components/select/select.css +247 -0
- package/dist/collection/components/select/select.js +2038 -0
- package/dist/collection/components/select-option/select-option.css +93 -0
- package/dist/collection/components/select-option/select-option.js +459 -0
- package/dist/collection/components/skip-link/exports.js +1 -0
- package/dist/collection/components/skip-link/skip-link.css +37 -0
- package/dist/collection/components/skip-link/skip-link.js +52 -0
- package/dist/collection/components/stepper/stepper.css +25 -0
- package/dist/collection/components/stepper/stepper.js +216 -0
- package/dist/collection/components/stepper-item/stepper-item.css +62 -0
- package/dist/collection/components/stepper-item/stepper-item.js +171 -0
- package/dist/collection/components/tab/tab.css +81 -0
- package/dist/collection/components/tab/tab.js +169 -0
- package/dist/collection/components/tab-panel/tab-panel.css +19 -0
- package/dist/collection/components/tab-panel/tab-panel.js +72 -0
- package/dist/collection/components/tabs/tabs.css +4 -0
- package/dist/collection/components/tabs/tabs.js +345 -0
- package/dist/collection/components/tabs-list/exports.js +2 -0
- package/dist/collection/components/tabs-list/tabs-list.css +58 -0
- package/dist/collection/components/tabs-list/tabs-list.js +294 -0
- package/dist/collection/components/textarea/exports.js +8 -0
- package/dist/collection/components/textarea/textarea.css +148 -0
- package/dist/collection/components/textarea/textarea.js +1055 -0
- package/dist/collection/components/toast/exports.js +3 -0
- package/dist/collection/components/toast/toast.css +179 -0
- package/dist/collection/components/toast/toast.js +820 -0
- package/dist/collection/components/toast-group/exports.js +1 -0
- package/dist/collection/components/toast-group/toast-group.css +37 -0
- package/dist/collection/components/toast-group/toast-group.js +49 -0
- package/dist/collection/components/tooltip/exports.js +3 -0
- package/dist/collection/components/tooltip/tooltip.css +77 -0
- package/dist/collection/components/tooltip/tooltip.js +525 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/focusable.js +24 -0
- package/dist/collection/utils/formData.js +40 -0
- package/dist/collection/utils/theming.js +103 -0
- package/dist/collection/utils/version-checker.js +33 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/focusable-ky1yonnS.js +26 -0
- package/dist/esm/formData-DvLT8-y3.js +42 -0
- package/dist/esm/index-CTxpqopm.js +1806 -0
- package/dist/esm/index.js +35 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/r-accordion-panel.entry.js +22 -0
- package/dist/esm/r-accordion-section.entry.js +123 -0
- package/dist/esm/r-accordion-trigger.entry.js +91 -0
- package/dist/esm/r-accordion.entry.js +18 -0
- package/dist/esm/r-alert.entry.js +144 -0
- package/dist/esm/r-badge.entry.js +39 -0
- package/dist/esm/r-button.entry.js +147 -0
- package/dist/esm/r-checkbox-group.entry.js +235 -0
- package/dist/esm/r-checkbox.entry.js +272 -0
- package/dist/esm/r-design-system-devtools.entry.js +29 -0
- package/dist/esm/r-dialog.entry.js +105 -0
- package/dist/esm/r-hint_2.entry.js +47 -0
- package/dist/esm/r-icon-button_2.entry.js +489 -0
- package/dist/esm/r-icon.entry.js +282 -0
- package/dist/esm/r-illustration.entry.js +394 -0
- package/dist/esm/r-input-code.entry.js +435 -0
- package/dist/esm/r-input-date.entry.js +522 -0
- package/dist/esm/r-input-password.entry.js +268 -0
- package/dist/esm/r-input-phone-number.entry.js +2523 -0
- package/dist/esm/r-input.entry.js +616 -0
- package/dist/esm/r-list-item.entry.js +107 -0
- package/dist/esm/r-pagination.entry.js +318 -0
- package/dist/esm/r-panel.entry.js +182 -0
- package/dist/esm/r-popover-action.entry.js +78 -0
- package/dist/esm/r-popover-content.entry.js +60 -0
- package/dist/esm/r-popover-headline.entry.js +26 -0
- package/dist/esm/r-popover-trigger.entry.js +68 -0
- package/dist/esm/r-popover.entry.js +345 -0
- package/dist/esm/r-progress-bar.entry.js +23 -0
- package/dist/esm/r-radio-button-description.entry.js +16 -0
- package/dist/esm/r-radio-button-leading.entry.js +16 -0
- package/dist/esm/r-radio-button-title.entry.js +16 -0
- package/dist/esm/r-radio-button-trailing.entry.js +16 -0
- package/dist/esm/r-radio-button.entry.js +137 -0
- package/dist/esm/r-radio-group.entry.js +426 -0
- package/dist/esm/r-select-option.entry.js +128 -0
- package/dist/esm/r-select.entry.js +1105 -0
- package/dist/esm/r-skip-link.entry.js +17 -0
- package/dist/esm/r-stepper-item.entry.js +40 -0
- package/dist/esm/r-stepper.entry.js +97 -0
- package/dist/esm/r-tab-panel.entry.js +24 -0
- package/dist/esm/r-tab.entry.js +60 -0
- package/dist/esm/r-tabs-list.entry.js +173 -0
- package/dist/esm/r-tabs.entry.js +275 -0
- package/dist/esm/r-textarea.entry.js +268 -0
- package/dist/esm/r-toast-group.entry.js +44 -0
- package/dist/esm/r-toast.entry.js +312 -0
- package/dist/esm/style-observer-4Uv3PpKT.js +1116 -0
- package/dist/esm/theming-DD2IrjpG.js +106 -0
- package/dist/esm/web-components.js +21 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +27 -0
- package/dist/types/components/accordion/exports.d.ts +2 -0
- package/dist/types/components/accordion-panel/accordion-panel.d.ts +10 -0
- package/dist/types/components/accordion-section/accordion-section.d.ts +36 -0
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +33 -0
- package/dist/types/components/alert/alert.d.ts +67 -0
- package/dist/types/components/alert/exports.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +26 -0
- package/dist/types/components/badge/exports.d.ts +2 -0
- package/dist/types/components/button/button.d.ts +89 -0
- package/dist/types/components/button/exports.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +138 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +124 -0
- package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +15 -0
- package/dist/types/components/dialog/dialog.d.ts +69 -0
- package/dist/types/components/dialog/exports.d.ts +10 -0
- package/dist/types/components/hint/exports.d.ts +2 -0
- package/dist/types/components/hint/hint.d.ts +20 -0
- package/dist/types/components/icon/all-kit.d.ts +2890 -0
- package/dist/types/components/icon/data.d.ts +145 -0
- package/dist/types/components/icon/exports.d.ts +152 -0
- package/dist/types/components/icon/icon.d.ts +37 -0
- package/dist/types/components/icon/riverty-kit.d.ts +139 -0
- package/dist/types/components/icon-button/icon-button.d.ts +69 -0
- package/dist/types/components/illustration/data.d.ts +52 -0
- package/dist/types/components/illustration/exports.d.ts +23 -0
- package/dist/types/components/illustration/illustration.d.ts +51 -0
- package/dist/types/components/illustration/illustrations-ui-kit.d.ts +21 -0
- package/dist/types/components/input/exports.d.ts +55 -0
- package/dist/types/components/input/input.d.ts +365 -0
- package/dist/types/components/input-code/exports.d.ts +4 -0
- package/dist/types/components/input-code/input-code.d.ts +177 -0
- package/dist/types/components/input-date/exports.d.ts +5 -0
- package/dist/types/components/input-date/input-date.d.ts +174 -0
- package/dist/types/components/input-password/exports.d.ts +1 -0
- package/dist/types/components/input-password/input-password.d.ts +186 -0
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +130 -0
- package/dist/types/components/label/label.d.ts +9 -0
- package/dist/types/components/list-item/list-item/exports.d.ts +4 -0
- package/dist/types/components/list-item/list-item/list-item.d.ts +61 -0
- package/dist/types/components/pagination/exports.d.ts +6 -0
- package/dist/types/components/pagination/pagination.d.ts +140 -0
- package/dist/types/components/panel/exports.d.ts +2 -0
- package/dist/types/components/panel/panel.d.ts +56 -0
- package/dist/types/components/popover/exports.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +131 -0
- package/dist/types/components/popover-action/popover-action.d.ts +24 -0
- package/dist/types/components/popover-content/popover-content.d.ts +22 -0
- package/dist/types/components/popover-headline/popover-headline.d.ts +6 -0
- package/dist/types/components/popover-trigger/exports.d.ts +2 -0
- package/dist/types/components/popover-trigger/popover-trigger.d.ts +31 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +10 -0
- package/dist/types/components/radio-button/radio-button.d.ts +92 -0
- package/dist/types/components/radio-button-description/radio-button-description.d.ts +8 -0
- package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +8 -0
- package/dist/types/components/radio-button-title/radio-button-title.d.ts +8 -0
- package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +8 -0
- package/dist/types/components/radio-group/exports.d.ts +2 -0
- package/dist/types/components/radio-group/radio-group.d.ts +179 -0
- package/dist/types/components/select/exports.d.ts +2 -0
- package/dist/types/components/select/select.d.ts +319 -0
- package/dist/types/components/select-option/select-option.d.ts +113 -0
- package/dist/types/components/skip-link/exports.d.ts +2 -0
- package/dist/types/components/skip-link/skip-link.d.ts +6 -0
- package/dist/types/components/stepper/stepper.d.ts +22 -0
- package/dist/types/components/stepper-item/stepper-item.d.ts +23 -0
- package/dist/types/components/tab/tab.d.ts +23 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +7 -0
- package/dist/types/components/tabs/tabs.d.ts +49 -0
- package/dist/types/components/tabs-list/exports.d.ts +4 -0
- package/dist/types/components/tabs-list/tabs-list.d.ts +41 -0
- package/dist/types/components/textarea/exports.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +158 -0
- package/dist/types/components/toast/exports.d.ts +6 -0
- package/dist/types/components/toast/toast.d.ts +146 -0
- package/dist/types/components/toast-group/exports.d.ts +2 -0
- package/dist/types/components/toast-group/toast-group.d.ts +9 -0
- package/dist/types/components/tooltip/exports.d.ts +6 -0
- package/dist/types/components/tooltip/tooltip.d.ts +132 -0
- package/dist/types/components.d.ts +6347 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1732 -0
- package/dist/types/types/jsx-shim.d.ts +13 -0
- package/dist/types/types/style-observer.d.ts +20 -0
- package/dist/types/utils/focusable.d.ts +1 -0
- package/dist/types/utils/formData.d.ts +1 -0
- package/dist/types/utils/theming.d.ts +15 -0
- package/dist/types/utils/version-checker.d.ts +1 -0
- package/dist/web-components/index.esm.js +1 -0
- package/dist/web-components/p-01aefcf0.entry.js +1 -0
- package/dist/web-components/p-05cb55db.entry.js +1 -0
- package/dist/web-components/p-0a34d33b.entry.js +1 -0
- package/dist/web-components/p-11b22309.entry.js +1 -0
- package/dist/web-components/p-2d878934.entry.js +1 -0
- package/dist/web-components/p-325dbedf.entry.js +1 -0
- package/dist/web-components/p-34b9457b.entry.js +1 -0
- package/dist/web-components/p-36abd05a.entry.js +1 -0
- package/dist/web-components/p-386d1ef9.entry.js +1 -0
- package/dist/web-components/p-3d67b77b.entry.js +1 -0
- package/dist/web-components/p-4Uv3PpKT.js +1 -0
- package/dist/web-components/p-4b12fbc0.entry.js +1 -0
- package/dist/web-components/p-52f7b505.entry.js +1 -0
- package/dist/web-components/p-55600d47.entry.js +1 -0
- package/dist/web-components/p-57ebc474.entry.js +1 -0
- package/dist/web-components/p-57edf7f4.entry.js +1 -0
- package/dist/web-components/p-69a24fe2.entry.js +1 -0
- package/dist/web-components/p-6d92648c.entry.js +1 -0
- package/dist/web-components/p-75052597.entry.js +1 -0
- package/dist/web-components/p-7b2c5b63.entry.js +1 -0
- package/dist/web-components/p-7bf463ff.entry.js +1 -0
- package/dist/web-components/p-838e43d4.entry.js +1 -0
- package/dist/web-components/p-8c16d038.entry.js +1 -0
- package/dist/web-components/p-8f8313de.entry.js +1 -0
- package/dist/web-components/p-9026d5a2.entry.js +1 -0
- package/dist/web-components/p-95396b5c.entry.js +1 -0
- package/dist/web-components/p-9c31c7c4.entry.js +1 -0
- package/dist/web-components/p-9c415b9c.entry.js +1 -0
- package/dist/web-components/p-9f583ed1.entry.js +1 -0
- package/dist/web-components/p-B9rsR6cQ.js +1 -0
- package/dist/web-components/p-CTxpqopm.js +2 -0
- package/dist/web-components/p-DQuL1Twl.js +1 -0
- package/dist/web-components/p-DvLT8-y3.js +1 -0
- package/dist/web-components/p-b303b2cc.entry.js +1 -0
- package/dist/web-components/p-b8df041d.entry.js +1 -0
- package/dist/web-components/p-bc30844f.entry.js +1 -0
- package/dist/web-components/p-c4a77a65.entry.js +1 -0
- package/dist/web-components/p-c549addf.entry.js +1 -0
- package/dist/web-components/p-c65df19f.entry.js +1 -0
- package/dist/web-components/p-c80a5541.entry.js +1 -0
- package/dist/web-components/p-c96ee61a.entry.js +1 -0
- package/dist/web-components/p-cf3f044d.entry.js +1 -0
- package/dist/web-components/p-d1412932.entry.js +1 -0
- package/dist/web-components/p-d9778cfa.entry.js +1 -0
- package/dist/web-components/p-dbe4ccb8.entry.js +1 -0
- package/dist/web-components/p-ded50850.entry.js +1 -0
- package/dist/web-components/p-e5be895b.entry.js +1 -0
- package/dist/web-components/p-e6b34c1e.entry.js +1 -0
- package/dist/web-components/p-ec3c4800.entry.js +1 -0
- package/dist/web-components/p-f670fd87.entry.js +1 -0
- package/dist/web-components/p-f867e4c3.entry.js +1 -0
- package/dist/web-components/p-ff6b1b8f.entry.js +1 -0
- package/dist/web-components/p-ky1yonnS.js +1 -0
- package/dist/web-components/web-components.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
outline: none;
|
|
4
|
+
position: relative;
|
|
5
|
+
pointer-events: auto;
|
|
6
|
+
border: 0.0625rem solid transparent;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
min-width: 17.5rem;
|
|
9
|
+
}
|
|
10
|
+
:host slot {
|
|
11
|
+
display: contents;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host(:hover:not([disabled]:not([disabled=false])):not([checked]:not([checked=false]))) {
|
|
15
|
+
--r-radio-button--cursor: pointer;
|
|
16
|
+
--r-radio-button--box--background-color: var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(:active:not([disabled]:not([disabled=false])):not([checked]:not([checked=false]))) {
|
|
20
|
+
--r-radio-button--box--border-color: var(--r-border-regular, #282828);
|
|
21
|
+
--r-radio-button--box--background-color: var(--r-background-interactive-pressed, rgba(40, 40, 40, 0.12));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host(:focus-within),
|
|
25
|
+
:host(.focused) {
|
|
26
|
+
--r-radio-button--box--box-shadow: 0 0 0 4px var(--r-border-focused-outlined, #fff);
|
|
27
|
+
--r-radio-button--box--outline: 2px solid var(--r-border-focused, #0071e3);
|
|
28
|
+
--r-radio-button--box--outline-offset: 1px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host([checked]:not([checked=false])),
|
|
32
|
+
:host([checked]:not([checked=false]):hover) {
|
|
33
|
+
cursor: default;
|
|
34
|
+
--r-radio-button--box--border-color: var(--r-border-regular, #282828);
|
|
35
|
+
--r-radio-button--box--background-color: var(--r-background-interactive-softest, #fff);
|
|
36
|
+
--r-radio-button--marker--transform: scale(1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([invalid]:not([invalid=false])),
|
|
40
|
+
:host([invalid]:not([invalid=false])[checked]:not([checked=false])) {
|
|
41
|
+
--r-radio-button--box--border-color: var(--r-status-error-regular, #b00c15);
|
|
42
|
+
--r-radio-button--box--background-color: var(--r-status-error-soft, #fef6f6);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([disabled]:not([disabled=false])) {
|
|
46
|
+
--r-radio-button--box--opacity: 0.4;
|
|
47
|
+
cursor: not-allowed;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.r-radio-button {
|
|
51
|
+
display: var(--r-radio-button--display, flex);
|
|
52
|
+
flex: var(--r-radio-button--flex, 1);
|
|
53
|
+
gap: var(--r-radio-button--gap, var(--r-spacing-075, 0.75rem));
|
|
54
|
+
position: var(--r-radio-button--position, relative);
|
|
55
|
+
min-height: var(--r-radio-button--min-height, 24px);
|
|
56
|
+
user-select: var(--r-radio-button--user-select, none);
|
|
57
|
+
box-sizing: var(--r-radio-button--box-sizing, border-box);
|
|
58
|
+
font-family: var(--r-radio-button--font-family, var(--r-font-family-text, system-ui));
|
|
59
|
+
font-size: var(--r-radio-button--font-size, var(--r-font-size-400, 1rem));
|
|
60
|
+
line-height: var(--r-radio-button--line-height, var(--r-line-height-m, 1.5rem));
|
|
61
|
+
text-align: var(--r-radio-button--text-align, left);
|
|
62
|
+
color: var(--r-radio-button--color, var(--r-text-regular, #282828));
|
|
63
|
+
opacity: var(--r-radio-button--opacity, 1);
|
|
64
|
+
box-shadow: var(--r-radio-button--box-shadow, none);
|
|
65
|
+
outline: var(--r-radio-button--outline, none);
|
|
66
|
+
cursor: var(--r-radio-button--cursor, inherit);
|
|
67
|
+
padding: var(--r-radio-button--padding, var(--r-spacing-100, 1rem));
|
|
68
|
+
margin: var(--r-radio-button--margin, 0);
|
|
69
|
+
background-color: var(--r-radio-button--background-color, transparent);
|
|
70
|
+
border-color: var(--r-radio-button--border-color, transparent);
|
|
71
|
+
border-width: var(--r-radio-button--border-width, 0);
|
|
72
|
+
border-style: var(--r-radio-button--border-style, solid);
|
|
73
|
+
}
|
|
74
|
+
.r-radio-button--input {
|
|
75
|
+
position: var(--r-radio-button--input--position, absolute);
|
|
76
|
+
z-index: var(--r-radio-button--input--z-index, -1);
|
|
77
|
+
opacity: var(--r-radio-button--input--opacity, 0);
|
|
78
|
+
}
|
|
79
|
+
.r-radio-button--box {
|
|
80
|
+
position: var(--r-radio-button--box--position, relative);
|
|
81
|
+
display: var(--r-radio-button--box--display, block);
|
|
82
|
+
top: var(--r-radio-button--box--top, 0);
|
|
83
|
+
left: var(--r-radio-button--box--left, 0);
|
|
84
|
+
width: var(--r-radio-button--box--width, 1.5rem);
|
|
85
|
+
height: var(--r-radio-button--box--height, 1.5rem);
|
|
86
|
+
background-color: var(--r-radio-button--box--background-color, var(--r-background-interactive-softest, #fff));
|
|
87
|
+
border-width: var(--r-radio-button--box--border-width, 0.0625rem);
|
|
88
|
+
border-style: var(--r-radio-button--box--border-style, solid);
|
|
89
|
+
border-color: var(--r-radio-button--box--border-color, var(--r-border-soft, #686868));
|
|
90
|
+
border-radius: var(--r-radio-button--box--border-radius, 50%);
|
|
91
|
+
box-sizing: var(--r-radio-button--box--box-sizing, border-box);
|
|
92
|
+
box-shadow: var(--r-radio-button--box--box-shadow, none);
|
|
93
|
+
outline: var(--r-radio-button--box--outline, none);
|
|
94
|
+
outline-offset: var(--r-radio-button--box--outline-offset, 0);
|
|
95
|
+
cursor: var(--r-radio-button--box--cursor, inherit);
|
|
96
|
+
opacity: var(--r-radio-button--box--opacity, 1);
|
|
97
|
+
}
|
|
98
|
+
.r-radio-button--box::before {
|
|
99
|
+
content: var(--r-radio-button--marker--content, "");
|
|
100
|
+
display: var(--r-radio-button--marker--display, block);
|
|
101
|
+
width: var(--r-radio-button--marker--width, 0.75rem);
|
|
102
|
+
height: var(--r-radio-button--marker--height, 0.75rem);
|
|
103
|
+
position: var(--r-radio-button--marker--position, absolute);
|
|
104
|
+
top: var(--r-radio-button--marker--top, calc(50% - 0.375rem));
|
|
105
|
+
left: var(--r-radio-button--marker--left, calc(50% - 0.375rem));
|
|
106
|
+
border-radius: var(--r-radio-button--marker--border-radius, 50%);
|
|
107
|
+
background-color: var(--r-radio-button--marker--background-color, var(--r-background-interactive-regular, #282828));
|
|
108
|
+
transition: var(--r-radio-button--marker--transition, 0.1s all);
|
|
109
|
+
transform: var(--r-radio-button--marker--transform, scale(0));
|
|
110
|
+
transform-origin: var(--r-radio-button--marker--transform-origin, center);
|
|
111
|
+
}
|
|
112
|
+
.r-radio-button--text {
|
|
113
|
+
flex: var(--r-radio-button--text--flex, 1);
|
|
114
|
+
display: var(--r-radio-button--text--display, flex);
|
|
115
|
+
flex-direction: var(--r-radio-button--text--flex-direction, column);
|
|
116
|
+
gap: var(--r-radio-button--text--gap, var(--r-spacing-025, 0.25rem));
|
|
117
|
+
font-weight: var(--r-radio-button--text--font-weight, var(--r-font-weight-semibold, 600));
|
|
118
|
+
}
|
|
119
|
+
.r-radio-button--leading {
|
|
120
|
+
min-height: var(--r-radio-button--leading--min-height, var(--r-spacing-150, 1.5rem));
|
|
121
|
+
min-width: var(--r-radio-button--leading--min-width, calc(var(--r-spacing-150, 1.5rem) + 2 * var(--r-spacing-075, 0.75rem)));
|
|
122
|
+
color: var(--r-radio-button--leading--color, var(--r-icon-soft, #686868));
|
|
123
|
+
display: var(--r-radio-button--leading--display, flex);
|
|
124
|
+
justify-content: var(--r-radio-button--leading--justify-content, center);
|
|
125
|
+
align-items: var(--r-radio-button--leading--align-items, start);
|
|
126
|
+
}
|
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* A radio button is used to select a single option in a list.
|
|
4
|
+
*/
|
|
5
|
+
export class RadioButton {
|
|
6
|
+
constructor() {
|
|
7
|
+
/** Value of element data within a form */
|
|
8
|
+
this.value = this.slotTextValue;
|
|
9
|
+
/** Automatically focus the radio button when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior. */
|
|
10
|
+
this.autofocus = false;
|
|
11
|
+
/** Unique id */
|
|
12
|
+
this.uniqueId = `r-radio-button-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
|
|
13
|
+
this.onClick = (event) => {
|
|
14
|
+
if (this.disabled)
|
|
15
|
+
return;
|
|
16
|
+
event.stopPropagation();
|
|
17
|
+
event.preventDefault();
|
|
18
|
+
this.radioButtonClick.emit(event);
|
|
19
|
+
};
|
|
20
|
+
this.onKeydown = (event) => {
|
|
21
|
+
if (this.disabled)
|
|
22
|
+
return;
|
|
23
|
+
this.radioButtonKeydown.emit(event);
|
|
24
|
+
};
|
|
25
|
+
this.onFocus = () => {
|
|
26
|
+
this.host.classList.add('focused');
|
|
27
|
+
};
|
|
28
|
+
this.onBlur = () => {
|
|
29
|
+
this.host.classList.remove('focused');
|
|
30
|
+
};
|
|
31
|
+
this.applyAutofocus = () => {
|
|
32
|
+
queueMicrotask(() => {
|
|
33
|
+
this.setFocus();
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/** Sets focus on the radio button element */
|
|
38
|
+
async setFocus() {
|
|
39
|
+
var _a;
|
|
40
|
+
(_a = this.nativeEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
41
|
+
}
|
|
42
|
+
/** Blurs the radio button element */
|
|
43
|
+
async setBlur() {
|
|
44
|
+
var _a;
|
|
45
|
+
(_a = this.nativeEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
46
|
+
}
|
|
47
|
+
/** Selects the radio button element */
|
|
48
|
+
async select() {
|
|
49
|
+
var _a, _b, _c;
|
|
50
|
+
if (this.checked)
|
|
51
|
+
return;
|
|
52
|
+
if (this.disabled)
|
|
53
|
+
return;
|
|
54
|
+
(_a = this.radioElements) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
|
|
55
|
+
radio.checked = false;
|
|
56
|
+
radio.shadowRoot.querySelector('.r-radio-button--input').setAttribute('tabindex', '-1');
|
|
57
|
+
});
|
|
58
|
+
this.checked = true;
|
|
59
|
+
(_b = this.nativeEl) === null || _b === void 0 ? void 0 : _b.setAttribute('tabindex', '0');
|
|
60
|
+
(_c = this.nativeEl) === null || _c === void 0 ? void 0 : _c.focus();
|
|
61
|
+
const { host, value, checked } = this;
|
|
62
|
+
this.rChange.emit({ element: host, value, checked });
|
|
63
|
+
}
|
|
64
|
+
/** Reference to the radio button elements */
|
|
65
|
+
get radioElements() {
|
|
66
|
+
if (this.groupEl) {
|
|
67
|
+
// Use :scope > to only select direct children, excluding nested radio-group buttons
|
|
68
|
+
return this.groupEl.querySelectorAll(`:scope > r-radio-button`);
|
|
69
|
+
}
|
|
70
|
+
if (this.parentFormEl) {
|
|
71
|
+
return this.parentFormEl.querySelectorAll(`r-radio-button[name=${this.name}]`);
|
|
72
|
+
}
|
|
73
|
+
return document.querySelectorAll(`r-radio-button[name=${this.name}]`);
|
|
74
|
+
}
|
|
75
|
+
/** Get the text content of the slot */
|
|
76
|
+
get slotTextValue() {
|
|
77
|
+
return this.host.textContent || null;
|
|
78
|
+
}
|
|
79
|
+
/** Identify wrapping radio group element */
|
|
80
|
+
get groupEl() {
|
|
81
|
+
return this.host.closest('r-radio-group') || null;
|
|
82
|
+
}
|
|
83
|
+
/** Identify wrapping form element */
|
|
84
|
+
get parentFormEl() {
|
|
85
|
+
return this.host.closest('form') || null;
|
|
86
|
+
}
|
|
87
|
+
/** Check if the radio button is leading */
|
|
88
|
+
get isLeading() {
|
|
89
|
+
return this.icon !== undefined || this.host.querySelector('[slot="leading"]') !== null || this.host.querySelector('r-radio-button-leading') !== null;
|
|
90
|
+
}
|
|
91
|
+
/** Check if the radio button is trailing */
|
|
92
|
+
get isTrailing() {
|
|
93
|
+
return this.host.querySelector('[slot="trailing"]') !== null || this.host.querySelector('r-radio-button-trailing') !== null;
|
|
94
|
+
}
|
|
95
|
+
get shouldAutofocus() {
|
|
96
|
+
return this.autofocus && (!this.groupEl || !this.groupEl.autofocus);
|
|
97
|
+
}
|
|
98
|
+
componentWillLoad() {
|
|
99
|
+
if (!this.initialState)
|
|
100
|
+
this.initialState = this.checked;
|
|
101
|
+
if (this.groupEl && !this.name) {
|
|
102
|
+
this.name = this.groupEl.name;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
componentDidLoad() {
|
|
106
|
+
if (this.shouldAutofocus)
|
|
107
|
+
this.applyAutofocus();
|
|
108
|
+
}
|
|
109
|
+
render() {
|
|
110
|
+
const { name, value, checked, disabled, hint, uniqueId, required, invalid, error, autofocus } = this;
|
|
111
|
+
const inputAttrs = {
|
|
112
|
+
type: 'radio',
|
|
113
|
+
tabindex: '-1',
|
|
114
|
+
name,
|
|
115
|
+
value,
|
|
116
|
+
disabled,
|
|
117
|
+
checked,
|
|
118
|
+
required,
|
|
119
|
+
autofocus
|
|
120
|
+
};
|
|
121
|
+
return (h(Host, { key: 'ce9e98b6480c18675ac0dac4b118e574872f9af7' }, h("label", { key: 'adb23e0f9092e7c5bc2c0c70df71fa255f8a441b', class: "r-radio-button", onClick: this.onClick, onKeyDown: this.onKeydown }, h("input", Object.assign({ key: 'cdd35d3caebb8e7eb8162dcc97c73f85067a55bb' }, inputAttrs, { id: `${uniqueId}-input`, class: "r-radio-button--input", ref: el => this.nativeEl = el, onFocus: this.onFocus, onBlur: this.onBlur })), h("span", { key: '89e258e8d5b41a51ff48ad26f1e83bcdb447089a', class: "r-radio-button--box" }), this.isLeading &&
|
|
122
|
+
h("div", { key: '14e5cbd3fb54b86761f68f53f64081be3021bf9d', class: "r-radio-button--leading" }, h("slot", { key: '8350ee29002de443338179d8e926356fa080cb97', name: "leading" }, this.icon && h("r-icon", { key: 'ba1ad94e6eabd2aa113e46ddc4f5f7cdc8e39635', name: this.icon, size: "m" }))), h("div", { key: '75c735e748dc36c3c785cb048f920060f31c7c9a', class: "r-radio-button--text" }, h("slot", { key: 'b2f39d35860d6ed36bf1913836af065ed093a9b4', name: "title" }, h("div", { key: '4f6fdd992b61a01c13810fbee76f66d514f8e8e2', style: { display: 'contents' } }, h("slot", { key: 'b0d6d3eb4b9687751822fd6e026cc5eec2fe3d6b' }))), h("slot", { key: '66f2d4a0262d494b4c5c700e48abb7210e5fc8df', name: "description" }, this.description)), this.isTrailing &&
|
|
123
|
+
h("div", { key: '64bb5efd43a7e52461dff3e3416c968bbe44d1a4', class: "r-radio-button--trailing" }, h("slot", { key: '20798c2198cc1360f6b04fa0a94984bb697eda6c', name: "trailing" }))), invalid && error &&
|
|
124
|
+
h("r-hint", { key: '06bd4aa937a926612c428e9f9cfcde98e60c6ca7', role: "alert", variant: "error", id: `${uniqueId}-hint` }, this.error), hint &&
|
|
125
|
+
h("r-hint", { key: '5031e00344241c184fb8ef2aa8275274415b8a3e', role: "note", variant: "information", id: `${uniqueId}-hint` }, hint)));
|
|
126
|
+
}
|
|
127
|
+
static get is() { return "r-radio-button"; }
|
|
128
|
+
static get encapsulation() { return "shadow"; }
|
|
129
|
+
static get originalStyleUrls() {
|
|
130
|
+
return {
|
|
131
|
+
"$": ["radio-button.css"]
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
static get styleUrls() {
|
|
135
|
+
return {
|
|
136
|
+
"$": ["radio-button.css"]
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
static get properties() {
|
|
140
|
+
return {
|
|
141
|
+
"form": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"attribute": "form",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "string",
|
|
147
|
+
"resolved": "string",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": true,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": "Specifies the `id` of the `<form>` to which the element belongs"
|
|
155
|
+
},
|
|
156
|
+
"getter": false,
|
|
157
|
+
"setter": false,
|
|
158
|
+
"reflect": true
|
|
159
|
+
},
|
|
160
|
+
"name": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"attribute": "name",
|
|
163
|
+
"mutable": true,
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "string",
|
|
166
|
+
"resolved": "string",
|
|
167
|
+
"references": {}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": true,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": "Name of element (data) within a form"
|
|
174
|
+
},
|
|
175
|
+
"getter": false,
|
|
176
|
+
"setter": false,
|
|
177
|
+
"reflect": true
|
|
178
|
+
},
|
|
179
|
+
"value": {
|
|
180
|
+
"type": "any",
|
|
181
|
+
"attribute": "value",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "any",
|
|
185
|
+
"resolved": "any",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": "Value of element data within a form"
|
|
193
|
+
},
|
|
194
|
+
"getter": false,
|
|
195
|
+
"setter": false,
|
|
196
|
+
"reflect": true,
|
|
197
|
+
"defaultValue": "this.slotTextValue"
|
|
198
|
+
},
|
|
199
|
+
"novalidate": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"attribute": "novalidate",
|
|
202
|
+
"mutable": false,
|
|
203
|
+
"complexType": {
|
|
204
|
+
"original": "boolean",
|
|
205
|
+
"resolved": "boolean",
|
|
206
|
+
"references": {}
|
|
207
|
+
},
|
|
208
|
+
"required": false,
|
|
209
|
+
"optional": true,
|
|
210
|
+
"docs": {
|
|
211
|
+
"tags": [],
|
|
212
|
+
"text": "Specifies if element must be ignored during validation of the form elements"
|
|
213
|
+
},
|
|
214
|
+
"getter": false,
|
|
215
|
+
"setter": false,
|
|
216
|
+
"reflect": false
|
|
217
|
+
},
|
|
218
|
+
"invalid": {
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"attribute": "invalid",
|
|
221
|
+
"mutable": false,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "boolean",
|
|
224
|
+
"resolved": "boolean",
|
|
225
|
+
"references": {}
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": true,
|
|
229
|
+
"docs": {
|
|
230
|
+
"tags": [],
|
|
231
|
+
"text": "Apply validation error visual style"
|
|
232
|
+
},
|
|
233
|
+
"getter": false,
|
|
234
|
+
"setter": false,
|
|
235
|
+
"reflect": true
|
|
236
|
+
},
|
|
237
|
+
"required": {
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"attribute": "required",
|
|
240
|
+
"mutable": false,
|
|
241
|
+
"complexType": {
|
|
242
|
+
"original": "boolean",
|
|
243
|
+
"resolved": "boolean",
|
|
244
|
+
"references": {}
|
|
245
|
+
},
|
|
246
|
+
"required": false,
|
|
247
|
+
"optional": true,
|
|
248
|
+
"docs": {
|
|
249
|
+
"tags": [],
|
|
250
|
+
"text": "Defines if an element shall be validated"
|
|
251
|
+
},
|
|
252
|
+
"getter": false,
|
|
253
|
+
"setter": false,
|
|
254
|
+
"reflect": true
|
|
255
|
+
},
|
|
256
|
+
"disabled": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"attribute": "disabled",
|
|
259
|
+
"mutable": false,
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "boolean",
|
|
262
|
+
"resolved": "boolean",
|
|
263
|
+
"references": {}
|
|
264
|
+
},
|
|
265
|
+
"required": false,
|
|
266
|
+
"optional": true,
|
|
267
|
+
"docs": {
|
|
268
|
+
"tags": [],
|
|
269
|
+
"text": "Prevents user interaction and applies disabled style"
|
|
270
|
+
},
|
|
271
|
+
"getter": false,
|
|
272
|
+
"setter": false,
|
|
273
|
+
"reflect": true
|
|
274
|
+
},
|
|
275
|
+
"autofocus": {
|
|
276
|
+
"type": "boolean",
|
|
277
|
+
"attribute": "autofocus",
|
|
278
|
+
"mutable": false,
|
|
279
|
+
"complexType": {
|
|
280
|
+
"original": "boolean",
|
|
281
|
+
"resolved": "boolean",
|
|
282
|
+
"references": {}
|
|
283
|
+
},
|
|
284
|
+
"required": false,
|
|
285
|
+
"optional": true,
|
|
286
|
+
"docs": {
|
|
287
|
+
"tags": [],
|
|
288
|
+
"text": "Automatically focus the radio button when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior."
|
|
289
|
+
},
|
|
290
|
+
"getter": false,
|
|
291
|
+
"setter": false,
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"defaultValue": "false"
|
|
294
|
+
},
|
|
295
|
+
"checked": {
|
|
296
|
+
"type": "boolean",
|
|
297
|
+
"attribute": "checked",
|
|
298
|
+
"mutable": true,
|
|
299
|
+
"complexType": {
|
|
300
|
+
"original": "boolean",
|
|
301
|
+
"resolved": "boolean",
|
|
302
|
+
"references": {}
|
|
303
|
+
},
|
|
304
|
+
"required": false,
|
|
305
|
+
"optional": true,
|
|
306
|
+
"docs": {
|
|
307
|
+
"tags": [],
|
|
308
|
+
"text": "When true the radio is selected"
|
|
309
|
+
},
|
|
310
|
+
"getter": false,
|
|
311
|
+
"setter": false,
|
|
312
|
+
"reflect": true
|
|
313
|
+
},
|
|
314
|
+
"hint": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"attribute": "hint",
|
|
317
|
+
"mutable": false,
|
|
318
|
+
"complexType": {
|
|
319
|
+
"original": "string",
|
|
320
|
+
"resolved": "string",
|
|
321
|
+
"references": {}
|
|
322
|
+
},
|
|
323
|
+
"required": false,
|
|
324
|
+
"optional": true,
|
|
325
|
+
"docs": {
|
|
326
|
+
"tags": [],
|
|
327
|
+
"text": "Optional hint, visually presented under the radio button,\ngiving additional context to the user"
|
|
328
|
+
},
|
|
329
|
+
"getter": false,
|
|
330
|
+
"setter": false,
|
|
331
|
+
"reflect": false
|
|
332
|
+
},
|
|
333
|
+
"error": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"attribute": "error",
|
|
336
|
+
"mutable": false,
|
|
337
|
+
"complexType": {
|
|
338
|
+
"original": "string",
|
|
339
|
+
"resolved": "string",
|
|
340
|
+
"references": {}
|
|
341
|
+
},
|
|
342
|
+
"required": false,
|
|
343
|
+
"optional": true,
|
|
344
|
+
"docs": {
|
|
345
|
+
"tags": [],
|
|
346
|
+
"text": "Custom validation error message"
|
|
347
|
+
},
|
|
348
|
+
"getter": false,
|
|
349
|
+
"setter": false,
|
|
350
|
+
"reflect": false
|
|
351
|
+
},
|
|
352
|
+
"description": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"attribute": "description",
|
|
355
|
+
"mutable": false,
|
|
356
|
+
"complexType": {
|
|
357
|
+
"original": "string",
|
|
358
|
+
"resolved": "string",
|
|
359
|
+
"references": {}
|
|
360
|
+
},
|
|
361
|
+
"required": false,
|
|
362
|
+
"optional": true,
|
|
363
|
+
"docs": {
|
|
364
|
+
"tags": [],
|
|
365
|
+
"text": "Additional directions for radio-button"
|
|
366
|
+
},
|
|
367
|
+
"getter": false,
|
|
368
|
+
"setter": false,
|
|
369
|
+
"reflect": false
|
|
370
|
+
},
|
|
371
|
+
"icon": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"attribute": "icon",
|
|
374
|
+
"mutable": false,
|
|
375
|
+
"complexType": {
|
|
376
|
+
"original": "IconName",
|
|
377
|
+
"resolved": "string",
|
|
378
|
+
"references": {
|
|
379
|
+
"IconName": {
|
|
380
|
+
"location": "import",
|
|
381
|
+
"path": "../icon/exports",
|
|
382
|
+
"id": "src/components/icon/exports.ts::IconName"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": false,
|
|
387
|
+
"optional": true,
|
|
388
|
+
"docs": {
|
|
389
|
+
"tags": [],
|
|
390
|
+
"text": "Icon name from the set"
|
|
391
|
+
},
|
|
392
|
+
"getter": false,
|
|
393
|
+
"setter": false,
|
|
394
|
+
"reflect": false
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
static get events() {
|
|
399
|
+
return [{
|
|
400
|
+
"method": "rChange",
|
|
401
|
+
"name": "rChange",
|
|
402
|
+
"bubbles": true,
|
|
403
|
+
"cancelable": true,
|
|
404
|
+
"composed": true,
|
|
405
|
+
"docs": {
|
|
406
|
+
"tags": [],
|
|
407
|
+
"text": "Emits `rChange` event on the `<r-radio-button>` when status changes"
|
|
408
|
+
},
|
|
409
|
+
"complexType": {
|
|
410
|
+
"original": "{\n element: HTMLRRadioButtonElement,\n value: any,\n checked: boolean\n }",
|
|
411
|
+
"resolved": "{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }",
|
|
412
|
+
"references": {
|
|
413
|
+
"HTMLRRadioButtonElement": {
|
|
414
|
+
"location": "global",
|
|
415
|
+
"id": "global::HTMLRRadioButtonElement"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}, {
|
|
420
|
+
"method": "rReset",
|
|
421
|
+
"name": "rReset",
|
|
422
|
+
"bubbles": true,
|
|
423
|
+
"cancelable": true,
|
|
424
|
+
"composed": true,
|
|
425
|
+
"docs": {
|
|
426
|
+
"tags": [],
|
|
427
|
+
"text": "Emits `rReset` event on the `<r-radio-button>` onReset changes its status"
|
|
428
|
+
},
|
|
429
|
+
"complexType": {
|
|
430
|
+
"original": "{\n element: HTMLRRadioButtonElement,\n value: any,\n checked: boolean\n }",
|
|
431
|
+
"resolved": "{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }",
|
|
432
|
+
"references": {
|
|
433
|
+
"HTMLRRadioButtonElement": {
|
|
434
|
+
"location": "global",
|
|
435
|
+
"id": "global::HTMLRRadioButtonElement"
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}, {
|
|
440
|
+
"method": "radioButtonClick",
|
|
441
|
+
"name": "radioButtonClick",
|
|
442
|
+
"bubbles": true,
|
|
443
|
+
"cancelable": true,
|
|
444
|
+
"composed": true,
|
|
445
|
+
"docs": {
|
|
446
|
+
"tags": [],
|
|
447
|
+
"text": "Emits `radioButtonClick` event on the `<r-radio-button>` on click event"
|
|
448
|
+
},
|
|
449
|
+
"complexType": {
|
|
450
|
+
"original": "Event",
|
|
451
|
+
"resolved": "Event",
|
|
452
|
+
"references": {
|
|
453
|
+
"Event": {
|
|
454
|
+
"location": "import",
|
|
455
|
+
"path": "@stencil/core",
|
|
456
|
+
"id": "../../node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}, {
|
|
461
|
+
"method": "radioButtonKeydown",
|
|
462
|
+
"name": "radioButtonKeydown",
|
|
463
|
+
"bubbles": true,
|
|
464
|
+
"cancelable": true,
|
|
465
|
+
"composed": true,
|
|
466
|
+
"docs": {
|
|
467
|
+
"tags": [],
|
|
468
|
+
"text": "Emits `rChange` event on the `<r-radio-button>` when on keydown event"
|
|
469
|
+
},
|
|
470
|
+
"complexType": {
|
|
471
|
+
"original": "Event",
|
|
472
|
+
"resolved": "Event",
|
|
473
|
+
"references": {
|
|
474
|
+
"Event": {
|
|
475
|
+
"location": "import",
|
|
476
|
+
"path": "@stencil/core",
|
|
477
|
+
"id": "../../node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event"
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}, {
|
|
482
|
+
"method": "radioButtonDeselect",
|
|
483
|
+
"name": "radioButtonDeselect",
|
|
484
|
+
"bubbles": true,
|
|
485
|
+
"cancelable": true,
|
|
486
|
+
"composed": true,
|
|
487
|
+
"docs": {
|
|
488
|
+
"tags": [],
|
|
489
|
+
"text": "Emits `radioButtonDeselect` event on the `<r-radio-button>` when on deselect event"
|
|
490
|
+
},
|
|
491
|
+
"complexType": {
|
|
492
|
+
"original": "{\n element: HTMLRRadioButtonElement,\n value: any,\n checked: boolean\n }",
|
|
493
|
+
"resolved": "{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }",
|
|
494
|
+
"references": {
|
|
495
|
+
"HTMLRRadioButtonElement": {
|
|
496
|
+
"location": "global",
|
|
497
|
+
"id": "global::HTMLRRadioButtonElement"
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}];
|
|
502
|
+
}
|
|
503
|
+
static get methods() {
|
|
504
|
+
return {
|
|
505
|
+
"setFocus": {
|
|
506
|
+
"complexType": {
|
|
507
|
+
"signature": "() => Promise<void>",
|
|
508
|
+
"parameters": [],
|
|
509
|
+
"references": {
|
|
510
|
+
"Promise": {
|
|
511
|
+
"location": "global",
|
|
512
|
+
"id": "global::Promise"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"return": "Promise<void>"
|
|
516
|
+
},
|
|
517
|
+
"docs": {
|
|
518
|
+
"text": "Sets focus on the radio button element",
|
|
519
|
+
"tags": []
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"setBlur": {
|
|
523
|
+
"complexType": {
|
|
524
|
+
"signature": "() => Promise<void>",
|
|
525
|
+
"parameters": [],
|
|
526
|
+
"references": {
|
|
527
|
+
"Promise": {
|
|
528
|
+
"location": "global",
|
|
529
|
+
"id": "global::Promise"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"return": "Promise<void>"
|
|
533
|
+
},
|
|
534
|
+
"docs": {
|
|
535
|
+
"text": "Blurs the radio button element",
|
|
536
|
+
"tags": []
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"select": {
|
|
540
|
+
"complexType": {
|
|
541
|
+
"signature": "() => Promise<void>",
|
|
542
|
+
"parameters": [],
|
|
543
|
+
"references": {
|
|
544
|
+
"Promise": {
|
|
545
|
+
"location": "global",
|
|
546
|
+
"id": "global::Promise"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"return": "Promise<void>"
|
|
550
|
+
},
|
|
551
|
+
"docs": {
|
|
552
|
+
"text": "Selects the radio button element",
|
|
553
|
+
"tags": []
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
static get elementRef() { return "host"; }
|
|
559
|
+
}
|