@riverty/web-components 6.2.1 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +78 -0
- package/custom-elements.json +4 -0
- package/package.json +3 -2
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/focusable-Oll_rmtP.js +0 -28
- package/dist/cjs/formData-B2DZyLxP.js +0 -44
- package/dist/cjs/index-BnETQtSf.js +0 -1834
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/r-accordion-panel.cjs.entry.js +0 -24
- package/dist/cjs/r-accordion-section.cjs.entry.js +0 -125
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +0 -93
- package/dist/cjs/r-accordion.cjs.entry.js +0 -20
- package/dist/cjs/r-alert.cjs.entry.js +0 -146
- package/dist/cjs/r-badge.cjs.entry.js +0 -40
- package/dist/cjs/r-button.cjs.entry.js +0 -149
- package/dist/cjs/r-checkbox-group.cjs.entry.js +0 -232
- package/dist/cjs/r-checkbox.cjs.entry.js +0 -269
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +0 -31
- package/dist/cjs/r-dialog.cjs.entry.js +0 -107
- package/dist/cjs/r-hint_2.cjs.entry.js +0 -50
- package/dist/cjs/r-icon-button_2.cjs.entry.js +0 -467
- package/dist/cjs/r-icon.cjs.entry.js +0 -284
- package/dist/cjs/r-illustration.cjs.entry.js +0 -396
- package/dist/cjs/r-input-code.cjs.entry.js +0 -432
- package/dist/cjs/r-input-date.cjs.entry.js +0 -519
- package/dist/cjs/r-input-password.cjs.entry.js +0 -265
- package/dist/cjs/r-input-phone-number.cjs.entry.js +0 -2525
- package/dist/cjs/r-input.cjs.entry.js +0 -402
- package/dist/cjs/r-list-item.cjs.entry.js +0 -109
- package/dist/cjs/r-pagination.cjs.entry.js +0 -314
- package/dist/cjs/r-panel.cjs.entry.js +0 -184
- package/dist/cjs/r-popover-action.cjs.entry.js +0 -80
- package/dist/cjs/r-popover-content.cjs.entry.js +0 -62
- package/dist/cjs/r-popover-headline.cjs.entry.js +0 -28
- package/dist/cjs/r-popover-trigger.cjs.entry.js +0 -70
- package/dist/cjs/r-popover.cjs.entry.js +0 -347
- package/dist/cjs/r-progress-bar.cjs.entry.js +0 -25
- package/dist/cjs/r-radio-button-description.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-title.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button.cjs.entry.js +0 -139
- package/dist/cjs/r-radio-group.cjs.entry.js +0 -425
- package/dist/cjs/r-select-option.cjs.entry.js +0 -130
- package/dist/cjs/r-select.cjs.entry.js +0 -1101
- package/dist/cjs/r-skip-link.cjs.entry.js +0 -19
- package/dist/cjs/r-stepper-item.cjs.entry.js +0 -42
- package/dist/cjs/r-stepper.cjs.entry.js +0 -99
- package/dist/cjs/r-tab-panel.cjs.entry.js +0 -26
- package/dist/cjs/r-tab.cjs.entry.js +0 -62
- package/dist/cjs/r-tabs-list.cjs.entry.js +0 -175
- package/dist/cjs/r-tabs.cjs.entry.js +0 -277
- package/dist/cjs/r-textarea.cjs.entry.js +0 -270
- package/dist/cjs/r-toast-group.cjs.entry.js +0 -46
- package/dist/cjs/r-toast.cjs.entry.js +0 -306
- package/dist/cjs/style-observer-D9zSP9wP.js +0 -1118
- package/dist/cjs/theming-NqxjhVJS.js +0 -109
- package/dist/cjs/web-components.cjs.js +0 -25
- package/dist/collection/collection-manifest.json +0 -60
- package/dist/collection/components/accordion/accordion.css +0 -24
- package/dist/collection/components/accordion/accordion.js +0 -90
- package/dist/collection/components/accordion/exports.js +0 -1
- package/dist/collection/components/accordion-panel/accordion-panel.css +0 -50
- package/dist/collection/components/accordion-panel/accordion-panel.js +0 -86
- package/dist/collection/components/accordion-section/accordion-section.css +0 -27
- package/dist/collection/components/accordion-section/accordion-section.js +0 -235
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -93
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +0 -220
- package/dist/collection/components/alert/alert.css +0 -119
- package/dist/collection/components/alert/alert.js +0 -526
- package/dist/collection/components/alert/exports.js +0 -2
- package/dist/collection/components/badge/badge.css +0 -52
- package/dist/collection/components/badge/badge.js +0 -120
- package/dist/collection/components/badge/exports.js +0 -1
- package/dist/collection/components/button/button.css +0 -180
- package/dist/collection/components/button/button.js +0 -510
- package/dist/collection/components/button/exports.js +0 -5
- package/dist/collection/components/checkbox/checkbox.css +0 -116
- package/dist/collection/components/checkbox/checkbox.js +0 -777
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -48
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -718
- package/dist/collection/components/design-system-devtools/design-system-devtools.js +0 -59
- package/dist/collection/components/dialog/dialog.css +0 -125
- package/dist/collection/components/dialog/dialog.js +0 -345
- package/dist/collection/components/dialog/exports.js +0 -9
- package/dist/collection/components/hint/exports.js +0 -1
- package/dist/collection/components/hint/hint.css +0 -63
- package/dist/collection/components/hint/hint.js +0 -114
- package/dist/collection/components/icon/all-kit.js +0 -2
- package/dist/collection/components/icon/data.js +0 -90
- package/dist/collection/components/icon/exports.js +0 -7
- package/dist/collection/components/icon/icon.css +0 -105
- package/dist/collection/components/icon/icon.js +0 -379
- package/dist/collection/components/icon/riverty-kit.js +0 -2
- package/dist/collection/components/icon-button/icon-button.css +0 -105
- package/dist/collection/components/icon-button/icon-button.js +0 -343
- package/dist/collection/components/illustration/data.js +0 -112
- package/dist/collection/components/illustration/exports.js +0 -3
- package/dist/collection/components/illustration/illustration.css +0 -52
- package/dist/collection/components/illustration/illustration.js +0 -540
- package/dist/collection/components/illustration/illustrations-ui-kit.js +0 -2
- package/dist/collection/components/input/exports.js +0 -16
- package/dist/collection/components/input/input.css +0 -180
- package/dist/collection/components/input/input.js +0 -1572
- package/dist/collection/components/input-code/exports.js +0 -2
- package/dist/collection/components/input-code/input-code.css +0 -127
- package/dist/collection/components/input-code/input-code.js +0 -1139
- package/dist/collection/components/input-date/exports.js +0 -1
- package/dist/collection/components/input-date/input-date.css +0 -148
- package/dist/collection/components/input-date/input-date.js +0 -1228
- package/dist/collection/components/input-password/exports.js +0 -1
- package/dist/collection/components/input-password/input-password.css +0 -25
- package/dist/collection/components/input-password/input-password.js +0 -1051
- package/dist/collection/components/input-phone-number/input-phone-number.css +0 -61
- package/dist/collection/components/input-phone-number/input-phone-number.js +0 -874
- package/dist/collection/components/label/label.css +0 -38
- package/dist/collection/components/label/label.js +0 -47
- package/dist/collection/components/list-item/list-item/exports.js +0 -2
- package/dist/collection/components/list-item/list-item/list-item.css +0 -199
- package/dist/collection/components/list-item/list-item/list-item.js +0 -467
- package/dist/collection/components/pagination/exports.js +0 -3
- package/dist/collection/components/pagination/pagination.css +0 -118
- package/dist/collection/components/pagination/pagination.js +0 -799
- package/dist/collection/components/panel/exports.js +0 -1
- package/dist/collection/components/panel/panel.css +0 -192
- package/dist/collection/components/panel/panel.js +0 -473
- package/dist/collection/components/popover/exports.js +0 -3
- package/dist/collection/components/popover/popover.css +0 -251
- package/dist/collection/components/popover/popover.js +0 -741
- package/dist/collection/components/popover-action/popover-action.css +0 -21
- package/dist/collection/components/popover-action/popover-action.js +0 -150
- package/dist/collection/components/popover-content/popover-content.css +0 -9
- package/dist/collection/components/popover-content/popover-content.js +0 -130
- package/dist/collection/components/popover-headline/popover-headline.css +0 -7
- package/dist/collection/components/popover-headline/popover-headline.js +0 -28
- package/dist/collection/components/popover-trigger/exports.js +0 -1
- package/dist/collection/components/popover-trigger/popover-trigger.css +0 -4
- package/dist/collection/components/popover-trigger/popover-trigger.js +0 -163
- package/dist/collection/components/progress-bar/progress-bar.css +0 -41
- package/dist/collection/components/progress-bar/progress-bar.js +0 -71
- package/dist/collection/components/radio-button/radio-button.css +0 -126
- package/dist/collection/components/radio-button/radio-button.js +0 -559
- package/dist/collection/components/radio-button-description/radio-button-description.css +0 -5
- package/dist/collection/components/radio-button-description/radio-button-description.js +0 -22
- package/dist/collection/components/radio-button-leading/radio-button-leading.css +0 -3
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +0 -22
- package/dist/collection/components/radio-button-title/radio-button-title.css +0 -8
- package/dist/collection/components/radio-button-title/radio-button-title.js +0 -22
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +0 -6
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +0 -22
- package/dist/collection/components/radio-group/exports.js +0 -1
- package/dist/collection/components/radio-group/radio-group.css +0 -65
- package/dist/collection/components/radio-group/radio-group.js +0 -1020
- package/dist/collection/components/select/exports.js +0 -1
- package/dist/collection/components/select/select.css +0 -247
- package/dist/collection/components/select/select.js +0 -2011
- package/dist/collection/components/select-option/select-option.css +0 -93
- package/dist/collection/components/select-option/select-option.js +0 -459
- package/dist/collection/components/skip-link/exports.js +0 -1
- package/dist/collection/components/skip-link/skip-link.css +0 -37
- package/dist/collection/components/skip-link/skip-link.js +0 -52
- package/dist/collection/components/stepper/stepper.css +0 -25
- package/dist/collection/components/stepper/stepper.js +0 -216
- package/dist/collection/components/stepper-item/stepper-item.css +0 -62
- package/dist/collection/components/stepper-item/stepper-item.js +0 -171
- package/dist/collection/components/tab/tab.css +0 -81
- package/dist/collection/components/tab/tab.js +0 -169
- package/dist/collection/components/tab-panel/tab-panel.css +0 -19
- package/dist/collection/components/tab-panel/tab-panel.js +0 -72
- package/dist/collection/components/tabs/tabs.css +0 -4
- package/dist/collection/components/tabs/tabs.js +0 -345
- package/dist/collection/components/tabs-list/exports.js +0 -2
- package/dist/collection/components/tabs-list/tabs-list.css +0 -58
- package/dist/collection/components/tabs-list/tabs-list.js +0 -294
- package/dist/collection/components/textarea/exports.js +0 -8
- package/dist/collection/components/textarea/textarea.css +0 -148
- package/dist/collection/components/textarea/textarea.js +0 -1055
- package/dist/collection/components/toast/exports.js +0 -3
- package/dist/collection/components/toast/toast.css +0 -179
- package/dist/collection/components/toast/toast.js +0 -812
- package/dist/collection/components/toast-group/exports.js +0 -1
- package/dist/collection/components/toast-group/toast-group.css +0 -37
- package/dist/collection/components/toast-group/toast-group.js +0 -49
- package/dist/collection/components/tooltip/exports.js +0 -3
- package/dist/collection/components/tooltip/tooltip.css +0 -106
- package/dist/collection/components/tooltip/tooltip.js +0 -500
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/focusable.js +0 -24
- package/dist/collection/utils/formData.js +0 -40
- package/dist/collection/utils/theming.js +0 -103
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/focusable-ky1yonnS.js +0 -26
- package/dist/esm/formData-DvLT8-y3.js +0 -42
- package/dist/esm/index-CTxpqopm.js +0 -1806
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/r-accordion-panel.entry.js +0 -22
- package/dist/esm/r-accordion-section.entry.js +0 -123
- package/dist/esm/r-accordion-trigger.entry.js +0 -91
- package/dist/esm/r-accordion.entry.js +0 -18
- package/dist/esm/r-alert.entry.js +0 -144
- package/dist/esm/r-badge.entry.js +0 -38
- package/dist/esm/r-button.entry.js +0 -147
- package/dist/esm/r-checkbox-group.entry.js +0 -230
- package/dist/esm/r-checkbox.entry.js +0 -267
- package/dist/esm/r-design-system-devtools.entry.js +0 -29
- package/dist/esm/r-dialog.entry.js +0 -105
- package/dist/esm/r-hint_2.entry.js +0 -47
- package/dist/esm/r-icon-button_2.entry.js +0 -464
- package/dist/esm/r-icon.entry.js +0 -282
- package/dist/esm/r-illustration.entry.js +0 -394
- package/dist/esm/r-input-code.entry.js +0 -430
- package/dist/esm/r-input-date.entry.js +0 -517
- package/dist/esm/r-input-password.entry.js +0 -263
- package/dist/esm/r-input-phone-number.entry.js +0 -2523
- package/dist/esm/r-input.entry.js +0 -400
- package/dist/esm/r-list-item.entry.js +0 -107
- package/dist/esm/r-pagination.entry.js +0 -312
- package/dist/esm/r-panel.entry.js +0 -182
- package/dist/esm/r-popover-action.entry.js +0 -78
- package/dist/esm/r-popover-content.entry.js +0 -60
- package/dist/esm/r-popover-headline.entry.js +0 -26
- package/dist/esm/r-popover-trigger.entry.js +0 -68
- package/dist/esm/r-popover.entry.js +0 -345
- package/dist/esm/r-progress-bar.entry.js +0 -23
- package/dist/esm/r-radio-button-description.entry.js +0 -16
- package/dist/esm/r-radio-button-leading.entry.js +0 -16
- package/dist/esm/r-radio-button-title.entry.js +0 -16
- package/dist/esm/r-radio-button-trailing.entry.js +0 -16
- package/dist/esm/r-radio-button.entry.js +0 -137
- package/dist/esm/r-radio-group.entry.js +0 -423
- package/dist/esm/r-select-option.entry.js +0 -128
- package/dist/esm/r-select.entry.js +0 -1099
- package/dist/esm/r-skip-link.entry.js +0 -17
- package/dist/esm/r-stepper-item.entry.js +0 -40
- package/dist/esm/r-stepper.entry.js +0 -97
- package/dist/esm/r-tab-panel.entry.js +0 -24
- package/dist/esm/r-tab.entry.js +0 -60
- package/dist/esm/r-tabs-list.entry.js +0 -173
- package/dist/esm/r-tabs.entry.js +0 -275
- package/dist/esm/r-textarea.entry.js +0 -268
- package/dist/esm/r-toast-group.entry.js +0 -44
- package/dist/esm/r-toast.entry.js +0 -304
- package/dist/esm/style-observer-4Uv3PpKT.js +0 -1116
- package/dist/esm/theming-DD2IrjpG.js +0 -106
- package/dist/esm/web-components.js +0 -21
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/accordion/accordion.d.ts +0 -27
- package/dist/types/components/accordion/exports.d.ts +0 -2
- package/dist/types/components/accordion-panel/accordion-panel.d.ts +0 -10
- package/dist/types/components/accordion-section/accordion-section.d.ts +0 -36
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -33
- package/dist/types/components/alert/alert.d.ts +0 -67
- package/dist/types/components/alert/exports.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +0 -23
- package/dist/types/components/badge/exports.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -89
- package/dist/types/components/button/exports.d.ts +0 -10
- package/dist/types/components/checkbox/checkbox.d.ts +0 -136
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -122
- package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +0 -15
- package/dist/types/components/dialog/dialog.d.ts +0 -69
- package/dist/types/components/dialog/exports.d.ts +0 -10
- package/dist/types/components/hint/exports.d.ts +0 -2
- package/dist/types/components/hint/hint.d.ts +0 -20
- package/dist/types/components/icon/all-kit.d.ts +0 -2890
- package/dist/types/components/icon/data.d.ts +0 -145
- package/dist/types/components/icon/exports.d.ts +0 -152
- package/dist/types/components/icon/icon.d.ts +0 -37
- package/dist/types/components/icon/riverty-kit.d.ts +0 -139
- package/dist/types/components/icon-button/icon-button.d.ts +0 -69
- package/dist/types/components/illustration/data.d.ts +0 -52
- package/dist/types/components/illustration/exports.d.ts +0 -23
- package/dist/types/components/illustration/illustration.d.ts +0 -51
- package/dist/types/components/illustration/illustrations-ui-kit.d.ts +0 -21
- package/dist/types/components/input/exports.d.ts +0 -10
- package/dist/types/components/input/input.d.ts +0 -300
- package/dist/types/components/input-code/exports.d.ts +0 -4
- package/dist/types/components/input-code/input-code.d.ts +0 -175
- package/dist/types/components/input-date/exports.d.ts +0 -5
- package/dist/types/components/input-date/input-date.d.ts +0 -172
- package/dist/types/components/input-password/exports.d.ts +0 -1
- package/dist/types/components/input-password/input-password.d.ts +0 -184
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +0 -128
- package/dist/types/components/label/label.d.ts +0 -9
- package/dist/types/components/list-item/list-item/exports.d.ts +0 -4
- package/dist/types/components/list-item/list-item/list-item.d.ts +0 -61
- package/dist/types/components/pagination/exports.d.ts +0 -6
- package/dist/types/components/pagination/pagination.d.ts +0 -140
- package/dist/types/components/panel/exports.d.ts +0 -2
- package/dist/types/components/panel/panel.d.ts +0 -56
- package/dist/types/components/popover/exports.d.ts +0 -6
- package/dist/types/components/popover/popover.d.ts +0 -131
- package/dist/types/components/popover-action/popover-action.d.ts +0 -24
- package/dist/types/components/popover-content/popover-content.d.ts +0 -22
- package/dist/types/components/popover-headline/popover-headline.d.ts +0 -6
- package/dist/types/components/popover-trigger/exports.d.ts +0 -2
- package/dist/types/components/popover-trigger/popover-trigger.d.ts +0 -31
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -10
- package/dist/types/components/radio-button/radio-button.d.ts +0 -92
- package/dist/types/components/radio-button-description/radio-button-description.d.ts +0 -8
- package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +0 -8
- package/dist/types/components/radio-button-title/radio-button-title.d.ts +0 -8
- package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +0 -8
- package/dist/types/components/radio-group/exports.d.ts +0 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -178
- package/dist/types/components/select/exports.d.ts +0 -2
- package/dist/types/components/select/select.d.ts +0 -317
- package/dist/types/components/select-option/select-option.d.ts +0 -113
- package/dist/types/components/skip-link/exports.d.ts +0 -2
- package/dist/types/components/skip-link/skip-link.d.ts +0 -6
- package/dist/types/components/stepper/stepper.d.ts +0 -22
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -23
- package/dist/types/components/tab/tab.d.ts +0 -23
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -7
- package/dist/types/components/tabs/tabs.d.ts +0 -49
- package/dist/types/components/tabs-list/exports.d.ts +0 -4
- package/dist/types/components/tabs-list/tabs-list.d.ts +0 -41
- package/dist/types/components/textarea/exports.d.ts +0 -2
- package/dist/types/components/textarea/textarea.d.ts +0 -158
- package/dist/types/components/toast/exports.d.ts +0 -6
- package/dist/types/components/toast/toast.d.ts +0 -146
- package/dist/types/components/toast-group/exports.d.ts +0 -2
- package/dist/types/components/toast-group/toast-group.d.ts +0 -9
- package/dist/types/components/tooltip/exports.d.ts +0 -6
- package/dist/types/components/tooltip/tooltip.d.ts +0 -131
- package/dist/types/components.d.ts +0 -6286
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1732
- package/dist/types/types/jsx-shim.d.ts +0 -13
- package/dist/types/types/style-observer.d.ts +0 -20
- package/dist/types/utils/focusable.d.ts +0 -1
- package/dist/types/utils/formData.d.ts +0 -1
- package/dist/types/utils/theming.d.ts +0 -15
- package/dist/web-components/index.esm.js +0 -0
- package/dist/web-components/p-02b22f8e.entry.js +0 -1
- package/dist/web-components/p-075a8dc8.entry.js +0 -1
- package/dist/web-components/p-0a34d33b.entry.js +0 -1
- package/dist/web-components/p-10cc9983.entry.js +0 -1
- package/dist/web-components/p-253068b9.entry.js +0 -1
- package/dist/web-components/p-3b8c8951.entry.js +0 -1
- package/dist/web-components/p-3beacdab.entry.js +0 -1
- package/dist/web-components/p-4214867d.entry.js +0 -1
- package/dist/web-components/p-42c857e9.entry.js +0 -1
- package/dist/web-components/p-44f87e16.entry.js +0 -1
- package/dist/web-components/p-477614c5.entry.js +0 -1
- package/dist/web-components/p-495ba3d2.entry.js +0 -1
- package/dist/web-components/p-4Uv3PpKT.js +0 -1
- package/dist/web-components/p-4de76291.entry.js +0 -1
- package/dist/web-components/p-55600d47.entry.js +0 -1
- package/dist/web-components/p-562051aa.entry.js +0 -1
- package/dist/web-components/p-5b850e0f.entry.js +0 -1
- package/dist/web-components/p-6013dfc8.entry.js +0 -1
- package/dist/web-components/p-62e7ae04.entry.js +0 -1
- package/dist/web-components/p-71519d37.entry.js +0 -1
- package/dist/web-components/p-88f7b47f.entry.js +0 -1
- package/dist/web-components/p-8975a6a3.entry.js +0 -1
- package/dist/web-components/p-8e125826.entry.js +0 -1
- package/dist/web-components/p-91cc0bde.entry.js +0 -1
- package/dist/web-components/p-93435fcd.entry.js +0 -1
- package/dist/web-components/p-947969d7.entry.js +0 -1
- package/dist/web-components/p-95396b5c.entry.js +0 -1
- package/dist/web-components/p-9de3a1a5.entry.js +0 -1
- package/dist/web-components/p-9f583ed1.entry.js +0 -1
- package/dist/web-components/p-B9rsR6cQ.js +0 -1
- package/dist/web-components/p-CTxpqopm.js +0 -2
- package/dist/web-components/p-DQuL1Twl.js +0 -1
- package/dist/web-components/p-DvLT8-y3.js +0 -1
- package/dist/web-components/p-a1086abe.entry.js +0 -1
- package/dist/web-components/p-bbba6d79.entry.js +0 -1
- package/dist/web-components/p-bde44ec4.entry.js +0 -1
- package/dist/web-components/p-bfc7e6c0.entry.js +0 -1
- package/dist/web-components/p-c1030394.entry.js +0 -1
- package/dist/web-components/p-c80a5541.entry.js +0 -1
- package/dist/web-components/p-c96ee61a.entry.js +0 -1
- package/dist/web-components/p-caf8f067.entry.js +0 -1
- package/dist/web-components/p-cc363c3d.entry.js +0 -1
- package/dist/web-components/p-cf4ff357.entry.js +0 -1
- package/dist/web-components/p-d0310ed4.entry.js +0 -1
- package/dist/web-components/p-d1412932.entry.js +0 -1
- package/dist/web-components/p-d2447e30.entry.js +0 -1
- package/dist/web-components/p-dc9cca06.entry.js +0 -1
- package/dist/web-components/p-e5b943a2.entry.js +0 -1
- package/dist/web-components/p-e67b13df.entry.js +0 -1
- package/dist/web-components/p-efec231a.entry.js +0 -1
- package/dist/web-components/p-f867e4c3.entry.js +0 -1
- package/dist/web-components/p-ff6b1b8f.entry.js +0 -1
- package/dist/web-components/p-ky1yonnS.js +0 -1
- package/dist/web-components/web-components.esm.js +0 -1
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,126 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,559 +0,0 @@
|
|
|
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: 'cf6b1b5db202773a2c6eea4df6a9303275054a73' }, h("label", { key: '4e203583a2b779e239c2893eadccc3514f84b0c4', class: "r-radio-button", onClick: this.onClick, onKeyDown: this.onKeydown }, h("input", Object.assign({ key: '14e89b050928abd51b66e8637c39bbd8da8e9856' }, inputAttrs, { id: `${uniqueId}-input`, class: "r-radio-button--input", ref: el => this.nativeEl = el, onFocus: this.onFocus, onBlur: this.onBlur })), h("span", { key: 'ee55afd60c5dbb947e9c12fffc401f7acfcefada', class: "r-radio-button--box" }), this.isLeading &&
|
|
122
|
-
h("div", { key: 'eabd27b399dee0bc2cef0fb7a92adad55095708b', class: "r-radio-button--leading" }, h("slot", { key: '5ec99653141268456cf9c8b2398f70c7b1afd36d', name: "leading" }, this.icon && h("r-icon", { key: '47662e84ad1aac02e867ddd040b5b7e1890ba986', name: this.icon, size: "m" }))), h("div", { key: 'bcaaf67c6cdf95a0bfa0dd5784d69c237e551a0e', class: "r-radio-button--text" }, h("slot", { key: 'a54f1823afe368d85f9bd4743ac0aa1df7298049', name: "title" }, h("div", { key: 'b531b659b920d7f064f10e622b83099d14270935', style: { display: 'contents' } }, h("slot", { key: 'b51f3e83234681804c49cb1043d90de70e4929db' }))), h("slot", { key: 'd217abfd3675898afd5b41a543200f7104019aed', name: "description" }, this.description)), this.isTrailing &&
|
|
123
|
-
h("div", { key: '664ddcc19dba3029343532caa13b05a6e3834977', class: "r-radio-button--trailing" }, h("slot", { key: 'b4ec626236a01c9c74b20ae09194ea414bc7699c', name: "trailing" }))), invalid && error &&
|
|
124
|
-
h("r-hint", { key: 'bd60d4337984662f410613b470b6e3be695343f5', role: "alert", variant: "error", id: `${uniqueId}-hint` }, this.error), hint &&
|
|
125
|
-
h("r-hint", { key: '31c5712fe6f2164219e28484a40ce5452a836743', 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
|
-
}
|