@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,93 +0,0 @@
|
|
|
1
|
-
:host(:hover) {
|
|
2
|
-
--r-select-option--background-color: var(--r-background-interactive-hovered);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
:host(:not([aria-disabled=true]):focus) {
|
|
6
|
-
outline: var(--outline, none);
|
|
7
|
-
--r-select-option--background-color: var(--r-background-interactive-hovered);
|
|
8
|
-
--r-select-option--border-color: var(--r-background-interactive-softest);
|
|
9
|
-
--r-select-option--box-shadow: inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);
|
|
10
|
-
--r-select-option--outline: 2px solid var(--r-border-focused, #0071e3);
|
|
11
|
-
--r-select-option--outline-offset: -4px;
|
|
12
|
-
--r-select-option--z-index: 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host([data-focused=true]) {
|
|
16
|
-
outline: var(--outline, none);
|
|
17
|
-
--r-select-option--background-color: var(--r-background-interactive-hovered);
|
|
18
|
-
--r-select-option--border-color: var(--r-background-interactive-softest);
|
|
19
|
-
--r-select-option--box-shadow: inset 0px 0px 0px 1px var(--r-border-focused-outlined, #fff), inset 0 0 0 3px var(--r-border-focused, #0071e3), inset 0 0 0 4px var(--r-border-focused-outlined, #fff);
|
|
20
|
-
--r-select-option--outline: 2px solid var(--r-border-focused, #0071e3);
|
|
21
|
-
--r-select-option--outline-offset: -4px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host(:not([aria-disabled=true]):active) {
|
|
25
|
-
--r-select-option--background-color: var(--r-background-interactive-pressed);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:host([aria-disabled=true]),
|
|
29
|
-
:host([aria-disabled=true]:hover),
|
|
30
|
-
:host([aria-disabled=true]:focus) {
|
|
31
|
-
--r-select-option--opacity: 0.4;
|
|
32
|
-
--r-select-option--background-color: transparent;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
:host([aria-selected=true]) {
|
|
36
|
-
--r-select-option--font-weight: 600;
|
|
37
|
-
--r-select-option--background-color: var(--r-background-interactive-hovered);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:host([aria-hidden=true]) {
|
|
41
|
-
--r-select-option--display: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host([icon-position=end]) {
|
|
45
|
-
--r-select-option--flex-direction: row-reverse;
|
|
46
|
-
--r-select-option--icon--margin-left: 0.75em;
|
|
47
|
-
--r-select-option--icon--margin-right: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.r-select-option {
|
|
51
|
-
box-sizing: var(--r-select-option--box-sizing);
|
|
52
|
-
position: var(--r-select-option--position);
|
|
53
|
-
display: var(--r-select-option--display, flex);
|
|
54
|
-
flex-direction: var(--r-select-option--flex-direction, row);
|
|
55
|
-
min-height: var(--r-select-option--min-height, 1.125em);
|
|
56
|
-
width: var(--r-select-option--width, auto);
|
|
57
|
-
font-size: var(--r-select-option--font-size, 1rem);
|
|
58
|
-
line-height: var(--r-select-option--line-height, 1.2);
|
|
59
|
-
font-weight: var(--r-select-option--font-weight, normal);
|
|
60
|
-
padding-top: var(--r-select-option--padding-top, 0.75em);
|
|
61
|
-
padding-right: var(--r-select-option--padding-right, 0.75em);
|
|
62
|
-
padding-bottom: var(--r-select-option--padding-bottom, 0.75em);
|
|
63
|
-
padding-left: var(--r-select-option--padding-left, 0.75em);
|
|
64
|
-
align-items: var(--r-select-option--align-items, center);
|
|
65
|
-
color: var(--r-select-option--color, inherit);
|
|
66
|
-
background-color: var(--r-select-option--background-color, rgba(0, 0, 0, 0));
|
|
67
|
-
border-color: var(--r-select-option--border-color, rgba(0, 0, 0, 0));
|
|
68
|
-
border-radius: var(--r-select-option--border-radius, 0);
|
|
69
|
-
border-width: var(--r-select-option--border-width, 1px);
|
|
70
|
-
border-style: var(--r-select-option--border-style, solid);
|
|
71
|
-
box-shadow: var(--r-select-option--box-shadow, none);
|
|
72
|
-
outline: var(--r-select-option--outline, none);
|
|
73
|
-
outline-offset: var(--r-select-option--outline-offset, 0);
|
|
74
|
-
transform: var(--r-select-option--transform, none);
|
|
75
|
-
z-index: var(--r-select-option--z-index, 0);
|
|
76
|
-
opacity: var(--r-select-option--opacity, 1);
|
|
77
|
-
}
|
|
78
|
-
.r-select-option--icon {
|
|
79
|
-
display: var(--r-select-option--icon--display, inline-flex);
|
|
80
|
-
align-items: var(--r-select-option--icon--align-items, center);
|
|
81
|
-
justify-content: var(--r-select-option--icon--justify-content, center);
|
|
82
|
-
margin-top: var(--r-select-option--icon--margin-top, 0.05em);
|
|
83
|
-
margin-left: var(--r-select-option--icon--margin-left, 0);
|
|
84
|
-
margin-right: var(--r-select-option--icon--margin-right, 0.75em);
|
|
85
|
-
}
|
|
86
|
-
.r-select-option--icon svg {
|
|
87
|
-
display: var(--r-select-option--icon--svg--display, inline-flex);
|
|
88
|
-
}
|
|
89
|
-
.r-select-option--label {
|
|
90
|
-
max-width: var(--r-select-option--label--max-width, 100%);
|
|
91
|
-
text-overflow: var(--r-select-option--label--text-overflow, ellipsis);
|
|
92
|
-
white-space: var(--r-select-option--label--white-space, normal);
|
|
93
|
-
}
|
|
@@ -1,459 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
/**
|
|
3
|
-
* `<r-select-option>` represents a single choice inside `<r-select>`.
|
|
4
|
-
*
|
|
5
|
-
* Accessibility:
|
|
6
|
-
* - Hosts `role="option"` and `aria-selected` / `aria-disabled`.
|
|
7
|
-
* - Emits granular events consumed by the parent select for state + keyboard logic.
|
|
8
|
-
*
|
|
9
|
-
* Keyboard (handled by parent `<r-select>`):
|
|
10
|
-
* - Arrow keys move focus between options.
|
|
11
|
-
* - Enter/Space commit the focused option.
|
|
12
|
-
* - Typeahead supported via characters typed while the listbox is open.
|
|
13
|
-
*
|
|
14
|
-
* Do not use directly outside `<r-select>`.
|
|
15
|
-
*/
|
|
16
|
-
export class SelectOption {
|
|
17
|
-
constructor() {
|
|
18
|
-
/**
|
|
19
|
-
* When true, the option is not focusable or selectable.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
this.disabled = false;
|
|
23
|
-
/**
|
|
24
|
-
* Marks the option as selected. Controlled by `<r-select>`; not user‑set in isolation.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
this.selected = false;
|
|
28
|
-
/**
|
|
29
|
-
* Icon size (applied when `icon` provided).
|
|
30
|
-
* @default "m"
|
|
31
|
-
*/
|
|
32
|
-
this.iconSize = 'm';
|
|
33
|
-
/**
|
|
34
|
-
* Icon color token / CSS color value (when `icon` provided).
|
|
35
|
-
* @default "var(--r-select-option--color)"
|
|
36
|
-
*/
|
|
37
|
-
this.iconColor = 'var(--r-select-option--color)';
|
|
38
|
-
/**
|
|
39
|
-
* Icon position relative to label content.
|
|
40
|
-
* @default "start"
|
|
41
|
-
*/
|
|
42
|
-
this.iconPosition = 'start';
|
|
43
|
-
/** Internal unique id assigned for accessibility / focus tracking. */
|
|
44
|
-
this.uniqueId = `r-select-option-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
|
|
45
|
-
this.isFocused = false;
|
|
46
|
-
this.isSelected = false;
|
|
47
|
-
this.handleClick = event => {
|
|
48
|
-
event.preventDefault();
|
|
49
|
-
if (this.disabled)
|
|
50
|
-
return;
|
|
51
|
-
const { host, value } = this;
|
|
52
|
-
this.optionClick.emit({
|
|
53
|
-
element: host,
|
|
54
|
-
value
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
this.handleKeydown = event => {
|
|
58
|
-
event.preventDefault();
|
|
59
|
-
if (this.disabled)
|
|
60
|
-
return;
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Sets the component's focus state programmatically.
|
|
65
|
-
* @method
|
|
66
|
-
* @returns Promise that resolves once the focus state has been applied.
|
|
67
|
-
*/
|
|
68
|
-
async setFocus() {
|
|
69
|
-
this.isFocused = true;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Removes the component's focus state programmatically.
|
|
73
|
-
* @method
|
|
74
|
-
* @returns Promise that resolves once the focus state has been removed.
|
|
75
|
-
*/
|
|
76
|
-
async setBlur() {
|
|
77
|
-
this.isFocused = false;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Marks this option as selected.
|
|
81
|
-
*
|
|
82
|
-
* Sets the internal `isSelected` flag to `true`. Declared as `async` to allow for
|
|
83
|
-
* future asynchronous side effects or integration with async selection workflows,
|
|
84
|
-
* and may be safely awaited by callers.
|
|
85
|
-
*
|
|
86
|
-
* Idempotent: calling it multiple times will keep the option selected.
|
|
87
|
-
*
|
|
88
|
-
* @returns Promise that resolves once the selection state has been updated.
|
|
89
|
-
*/
|
|
90
|
-
async setSelected() {
|
|
91
|
-
this.isSelected = true;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Clears the current selection state for this option by setting `isSelected` to `false`.
|
|
95
|
-
*
|
|
96
|
-
* Intended for use when programmatically resetting or updating the selection (e.g., on form reset
|
|
97
|
-
* or when enforcing single-selection logic in a parent component).
|
|
98
|
-
*
|
|
99
|
-
* Side effects:
|
|
100
|
-
* - Triggers any reactive updates or re-renders that depend on `isSelected`.
|
|
101
|
-
*
|
|
102
|
-
* @returns A promise that resolves after the selection state has been cleared.
|
|
103
|
-
*/
|
|
104
|
-
async clearSelected() {
|
|
105
|
-
this.isSelected = false;
|
|
106
|
-
}
|
|
107
|
-
get hasIconSlot() {
|
|
108
|
-
return !!this.host.querySelector('[slot="icon"]');
|
|
109
|
-
}
|
|
110
|
-
get definedValue() {
|
|
111
|
-
var _a, _b;
|
|
112
|
-
const text = (_a = this.host.textContent) === null || _a === void 0 ? void 0 : _a.trim();
|
|
113
|
-
const label = (_b = this.host.getAttribute('label')) === null || _b === void 0 ? void 0 : _b.trim();
|
|
114
|
-
return label || text || '';
|
|
115
|
-
}
|
|
116
|
-
componentWillLoad() {
|
|
117
|
-
var _a;
|
|
118
|
-
const isValue = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
119
|
-
if (!isValue) {
|
|
120
|
-
this.host.setAttribute('value', this.definedValue);
|
|
121
|
-
}
|
|
122
|
-
this.isSelected = this.selected;
|
|
123
|
-
}
|
|
124
|
-
render() {
|
|
125
|
-
const { disabled, uniqueId, icon, iconSize, iconColor, hasIconSlot } = this;
|
|
126
|
-
const iconAttributes = {
|
|
127
|
-
name: icon,
|
|
128
|
-
size: iconSize,
|
|
129
|
-
color: iconColor
|
|
130
|
-
};
|
|
131
|
-
return (h(Host, { key: 'd75c7a753d325360d4bee79ef7b96fbedd2d9b96', id: uniqueId, role: "option", onClick: this.handleClick, onKeydown: this.handleKeydown, "aria-disabled": `${disabled}`, "aria-selected": `${this.isSelected}`, "data-value": this.definedValue, "data-focused": `${this.isFocused}` }, h("div", { key: '8d8d449a5352f90d7731df10ea011856537b02f4', class: "r-select-option" }, icon && h("span", { key: 'f74192805472c8023b921f0a2869772f4c007d78', class: "r-select-option--icon" }, h("r-icon", Object.assign({ key: '6ac112921c222e83df33b2cf0113f3b158a98407' }, iconAttributes))), !icon && hasIconSlot && h("span", { key: '8c5779ab3446a8d4b8880bf1f9958f02d32ca5e4', class: "r-select-option--icon" }, h("slot", { key: '05647b1a0f7fb6f3c996461a825d8d60bb966b50', name: "icon" })), h("span", { key: 'a4de330d788288995da81cd7cbe7a9f8e9ba44c0', class: "r-select-option--label" }, h("slot", { key: '2cb6ac3d005a3bf9b75b0c23d27cbf1930bc15cc' })))));
|
|
132
|
-
}
|
|
133
|
-
static get is() { return "r-select-option"; }
|
|
134
|
-
static get encapsulation() { return "shadow"; }
|
|
135
|
-
static get originalStyleUrls() {
|
|
136
|
-
return {
|
|
137
|
-
"$": ["select-option.css"]
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
static get styleUrls() {
|
|
141
|
-
return {
|
|
142
|
-
"$": ["select-option.css"]
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
static get properties() {
|
|
146
|
-
return {
|
|
147
|
-
"disabled": {
|
|
148
|
-
"type": "boolean",
|
|
149
|
-
"attribute": "disabled",
|
|
150
|
-
"mutable": false,
|
|
151
|
-
"complexType": {
|
|
152
|
-
"original": "boolean",
|
|
153
|
-
"resolved": "boolean",
|
|
154
|
-
"references": {}
|
|
155
|
-
},
|
|
156
|
-
"required": false,
|
|
157
|
-
"optional": false,
|
|
158
|
-
"docs": {
|
|
159
|
-
"tags": [{
|
|
160
|
-
"name": "default",
|
|
161
|
-
"text": "false"
|
|
162
|
-
}],
|
|
163
|
-
"text": "When true, the option is not focusable or selectable."
|
|
164
|
-
},
|
|
165
|
-
"getter": false,
|
|
166
|
-
"setter": false,
|
|
167
|
-
"reflect": true,
|
|
168
|
-
"defaultValue": "false"
|
|
169
|
-
},
|
|
170
|
-
"selected": {
|
|
171
|
-
"type": "boolean",
|
|
172
|
-
"attribute": "selected",
|
|
173
|
-
"mutable": false,
|
|
174
|
-
"complexType": {
|
|
175
|
-
"original": "boolean",
|
|
176
|
-
"resolved": "boolean",
|
|
177
|
-
"references": {}
|
|
178
|
-
},
|
|
179
|
-
"required": false,
|
|
180
|
-
"optional": false,
|
|
181
|
-
"docs": {
|
|
182
|
-
"tags": [{
|
|
183
|
-
"name": "default",
|
|
184
|
-
"text": "false"
|
|
185
|
-
}],
|
|
186
|
-
"text": "Marks the option as selected. Controlled by `<r-select>`; not user\u2011set in isolation."
|
|
187
|
-
},
|
|
188
|
-
"getter": false,
|
|
189
|
-
"setter": false,
|
|
190
|
-
"reflect": true,
|
|
191
|
-
"defaultValue": "false"
|
|
192
|
-
},
|
|
193
|
-
"value": {
|
|
194
|
-
"type": "string",
|
|
195
|
-
"attribute": "value",
|
|
196
|
-
"mutable": false,
|
|
197
|
-
"complexType": {
|
|
198
|
-
"original": "string",
|
|
199
|
-
"resolved": "string",
|
|
200
|
-
"references": {}
|
|
201
|
-
},
|
|
202
|
-
"required": false,
|
|
203
|
-
"optional": true,
|
|
204
|
-
"docs": {
|
|
205
|
-
"tags": [],
|
|
206
|
-
"text": "Value submitted with a form when this option is selected.\nIf omitted or empty, it's auto-filled from text content / `label`."
|
|
207
|
-
},
|
|
208
|
-
"getter": false,
|
|
209
|
-
"setter": false,
|
|
210
|
-
"reflect": true
|
|
211
|
-
},
|
|
212
|
-
"label": {
|
|
213
|
-
"type": "string",
|
|
214
|
-
"attribute": "label",
|
|
215
|
-
"mutable": false,
|
|
216
|
-
"complexType": {
|
|
217
|
-
"original": "string",
|
|
218
|
-
"resolved": "string",
|
|
219
|
-
"references": {}
|
|
220
|
-
},
|
|
221
|
-
"required": false,
|
|
222
|
-
"optional": true,
|
|
223
|
-
"docs": {
|
|
224
|
-
"tags": [],
|
|
225
|
-
"text": "Presentational label. Falls back to slotted text; finally to `value`.\nUse `label` if the rendered text differs from the submitted `value`."
|
|
226
|
-
},
|
|
227
|
-
"getter": false,
|
|
228
|
-
"setter": false,
|
|
229
|
-
"reflect": true
|
|
230
|
-
},
|
|
231
|
-
"icon": {
|
|
232
|
-
"type": "string",
|
|
233
|
-
"attribute": "icon",
|
|
234
|
-
"mutable": false,
|
|
235
|
-
"complexType": {
|
|
236
|
-
"original": "IconName",
|
|
237
|
-
"resolved": "string",
|
|
238
|
-
"references": {
|
|
239
|
-
"IconName": {
|
|
240
|
-
"location": "import",
|
|
241
|
-
"path": "../icon/exports",
|
|
242
|
-
"id": "src/components/icon/exports.ts::IconName"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"required": false,
|
|
247
|
-
"optional": true,
|
|
248
|
-
"docs": {
|
|
249
|
-
"tags": [],
|
|
250
|
-
"text": "Name of an icon from the design system icon set to render with the option.\nMutually exclusive with a provided `<slot name=\"icon\">`."
|
|
251
|
-
},
|
|
252
|
-
"getter": false,
|
|
253
|
-
"setter": false,
|
|
254
|
-
"reflect": false
|
|
255
|
-
},
|
|
256
|
-
"iconSize": {
|
|
257
|
-
"type": "string",
|
|
258
|
-
"attribute": "icon-size",
|
|
259
|
-
"mutable": false,
|
|
260
|
-
"complexType": {
|
|
261
|
-
"original": "IconSize",
|
|
262
|
-
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
263
|
-
"references": {
|
|
264
|
-
"IconSize": {
|
|
265
|
-
"location": "import",
|
|
266
|
-
"path": "../icon/exports",
|
|
267
|
-
"id": "src/components/icon/exports.ts::IconSize"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"required": false,
|
|
272
|
-
"optional": true,
|
|
273
|
-
"docs": {
|
|
274
|
-
"tags": [{
|
|
275
|
-
"name": "default",
|
|
276
|
-
"text": "\"m\""
|
|
277
|
-
}],
|
|
278
|
-
"text": "Icon size (applied when `icon` provided)."
|
|
279
|
-
},
|
|
280
|
-
"getter": false,
|
|
281
|
-
"setter": false,
|
|
282
|
-
"reflect": false,
|
|
283
|
-
"defaultValue": "'m'"
|
|
284
|
-
},
|
|
285
|
-
"iconColor": {
|
|
286
|
-
"type": "string",
|
|
287
|
-
"attribute": "icon-color",
|
|
288
|
-
"mutable": false,
|
|
289
|
-
"complexType": {
|
|
290
|
-
"original": "string",
|
|
291
|
-
"resolved": "string",
|
|
292
|
-
"references": {}
|
|
293
|
-
},
|
|
294
|
-
"required": false,
|
|
295
|
-
"optional": true,
|
|
296
|
-
"docs": {
|
|
297
|
-
"tags": [{
|
|
298
|
-
"name": "default",
|
|
299
|
-
"text": "\"var(--r-select-option--color)\""
|
|
300
|
-
}],
|
|
301
|
-
"text": "Icon color token / CSS color value (when `icon` provided)."
|
|
302
|
-
},
|
|
303
|
-
"getter": false,
|
|
304
|
-
"setter": false,
|
|
305
|
-
"reflect": false,
|
|
306
|
-
"defaultValue": "'var(--r-select-option--color)'"
|
|
307
|
-
},
|
|
308
|
-
"iconPosition": {
|
|
309
|
-
"type": "string",
|
|
310
|
-
"attribute": "icon-position",
|
|
311
|
-
"mutable": false,
|
|
312
|
-
"complexType": {
|
|
313
|
-
"original": "IconPosition",
|
|
314
|
-
"resolved": "\"end\" | \"start\"",
|
|
315
|
-
"references": {
|
|
316
|
-
"IconPosition": {
|
|
317
|
-
"location": "import",
|
|
318
|
-
"path": "../icon/exports",
|
|
319
|
-
"id": "src/components/icon/exports.ts::IconPosition"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"required": false,
|
|
324
|
-
"optional": true,
|
|
325
|
-
"docs": {
|
|
326
|
-
"tags": [{
|
|
327
|
-
"name": "default",
|
|
328
|
-
"text": "\"start\""
|
|
329
|
-
}],
|
|
330
|
-
"text": "Icon position relative to label content."
|
|
331
|
-
},
|
|
332
|
-
"getter": false,
|
|
333
|
-
"setter": false,
|
|
334
|
-
"reflect": true,
|
|
335
|
-
"defaultValue": "'start'"
|
|
336
|
-
}
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
|
-
static get states() {
|
|
340
|
-
return {
|
|
341
|
-
"isFocused": {},
|
|
342
|
-
"isSelected": {}
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
static get events() {
|
|
346
|
-
return [{
|
|
347
|
-
"method": "optionClick",
|
|
348
|
-
"name": "optionClick",
|
|
349
|
-
"bubbles": true,
|
|
350
|
-
"cancelable": true,
|
|
351
|
-
"composed": true,
|
|
352
|
-
"docs": {
|
|
353
|
-
"tags": [],
|
|
354
|
-
"text": "Fires when the option is activated via pointer (not disabled).\nPayload includes the element + its value (resolved)."
|
|
355
|
-
},
|
|
356
|
-
"complexType": {
|
|
357
|
-
"original": "{\n element: HTMLRSelectOptionElement,\n value: any\n }",
|
|
358
|
-
"resolved": "{ element: HTMLRSelectOptionElement; value: any; }",
|
|
359
|
-
"references": {
|
|
360
|
-
"HTMLRSelectOptionElement": {
|
|
361
|
-
"location": "global",
|
|
362
|
-
"id": "global::HTMLRSelectOptionElement"
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}];
|
|
367
|
-
}
|
|
368
|
-
static get methods() {
|
|
369
|
-
return {
|
|
370
|
-
"setFocus": {
|
|
371
|
-
"complexType": {
|
|
372
|
-
"signature": "() => Promise<void>",
|
|
373
|
-
"parameters": [],
|
|
374
|
-
"references": {
|
|
375
|
-
"Promise": {
|
|
376
|
-
"location": "global",
|
|
377
|
-
"id": "global::Promise"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
"return": "Promise<void>"
|
|
381
|
-
},
|
|
382
|
-
"docs": {
|
|
383
|
-
"text": "Sets the component's focus state programmatically.",
|
|
384
|
-
"tags": [{
|
|
385
|
-
"name": "method",
|
|
386
|
-
"text": undefined
|
|
387
|
-
}, {
|
|
388
|
-
"name": "returns",
|
|
389
|
-
"text": "Promise that resolves once the focus state has been applied."
|
|
390
|
-
}]
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
"setBlur": {
|
|
394
|
-
"complexType": {
|
|
395
|
-
"signature": "() => Promise<void>",
|
|
396
|
-
"parameters": [],
|
|
397
|
-
"references": {
|
|
398
|
-
"Promise": {
|
|
399
|
-
"location": "global",
|
|
400
|
-
"id": "global::Promise"
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
"return": "Promise<void>"
|
|
404
|
-
},
|
|
405
|
-
"docs": {
|
|
406
|
-
"text": "Removes the component's focus state programmatically.",
|
|
407
|
-
"tags": [{
|
|
408
|
-
"name": "method",
|
|
409
|
-
"text": undefined
|
|
410
|
-
}, {
|
|
411
|
-
"name": "returns",
|
|
412
|
-
"text": "Promise that resolves once the focus state has been removed."
|
|
413
|
-
}]
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
"setSelected": {
|
|
417
|
-
"complexType": {
|
|
418
|
-
"signature": "() => Promise<void>",
|
|
419
|
-
"parameters": [],
|
|
420
|
-
"references": {
|
|
421
|
-
"Promise": {
|
|
422
|
-
"location": "global",
|
|
423
|
-
"id": "global::Promise"
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
"return": "Promise<void>"
|
|
427
|
-
},
|
|
428
|
-
"docs": {
|
|
429
|
-
"text": "Marks this option as selected.\n\nSets the internal `isSelected` flag to `true`. Declared as `async` to allow for\nfuture asynchronous side effects or integration with async selection workflows,\nand may be safely awaited by callers.\n\nIdempotent: calling it multiple times will keep the option selected.",
|
|
430
|
-
"tags": [{
|
|
431
|
-
"name": "returns",
|
|
432
|
-
"text": "Promise that resolves once the selection state has been updated."
|
|
433
|
-
}]
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
"clearSelected": {
|
|
437
|
-
"complexType": {
|
|
438
|
-
"signature": "() => Promise<void>",
|
|
439
|
-
"parameters": [],
|
|
440
|
-
"references": {
|
|
441
|
-
"Promise": {
|
|
442
|
-
"location": "global",
|
|
443
|
-
"id": "global::Promise"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"return": "Promise<void>"
|
|
447
|
-
},
|
|
448
|
-
"docs": {
|
|
449
|
-
"text": "Clears the current selection state for this option by setting `isSelected` to `false`.\n\nIntended for use when programmatically resetting or updating the selection (e.g., on form reset\nor when enforcing single-selection logic in a parent component).\n\nSide effects:\n- Triggers any reactive updates or re-renders that depend on `isSelected`.",
|
|
450
|
-
"tags": [{
|
|
451
|
-
"name": "returns",
|
|
452
|
-
"text": "A promise that resolves after the selection state has been cleared."
|
|
453
|
-
}]
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
|
-
static get elementRef() { return "host"; }
|
|
459
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const skipLinkPositionArray = ['left', 'center'];
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
position: absolute;
|
|
4
|
-
z-index: 99999;
|
|
5
|
-
}
|
|
6
|
-
:host:has(:not(:focus-within)) {
|
|
7
|
-
clip: rect(0 0 0 0);
|
|
8
|
-
clip-path: inset(50%);
|
|
9
|
-
height: 1px;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
position: absolute;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
width: 1px;
|
|
14
|
-
}
|
|
15
|
-
:host:has(:focus-within) {
|
|
16
|
-
top: var(--r-spacing-100);
|
|
17
|
-
padding: var(--r-spacing-100);
|
|
18
|
-
border: 1px solid var(--r-border-regular);
|
|
19
|
-
background: var(--r-background-softest);
|
|
20
|
-
left: var(--r-skip-link--left, 50%);
|
|
21
|
-
transform: var(--r-skip-link--transform, translateX(-50%));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host([position=left]) {
|
|
25
|
-
--r-skip-link--left: var(--r-spacing-100);
|
|
26
|
-
--r-skip-link--transform: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
::slotted(*:not(:focus-within)) {
|
|
30
|
-
clip: rect(0 0 0 0);
|
|
31
|
-
clip-path: inset(50%);
|
|
32
|
-
height: 1px;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
position: absolute;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
width: 1px;
|
|
37
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class SkipLink {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Defines skip link position */
|
|
5
|
-
this.position = 'center';
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return (h(Host, { key: '08280b6003ccf78bf96eba9778fd3ddcaebc8947' }, h("slot", { key: '7808e8156601912e0192fe0b74bdedda2c359e1c' })));
|
|
9
|
-
}
|
|
10
|
-
static get is() { return "r-skip-link"; }
|
|
11
|
-
static get encapsulation() { return "shadow"; }
|
|
12
|
-
static get originalStyleUrls() {
|
|
13
|
-
return {
|
|
14
|
-
"$": ["skip-link.css"]
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
static get styleUrls() {
|
|
18
|
-
return {
|
|
19
|
-
"$": ["skip-link.css"]
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
static get properties() {
|
|
23
|
-
return {
|
|
24
|
-
"position": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"attribute": "position",
|
|
27
|
-
"mutable": false,
|
|
28
|
-
"complexType": {
|
|
29
|
-
"original": "SkipLinkPosition",
|
|
30
|
-
"resolved": "\"center\" | \"left\"",
|
|
31
|
-
"references": {
|
|
32
|
-
"SkipLinkPosition": {
|
|
33
|
-
"location": "import",
|
|
34
|
-
"path": "./exports",
|
|
35
|
-
"id": "src/components/skip-link/exports.ts::SkipLinkPosition"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"required": false,
|
|
40
|
-
"optional": false,
|
|
41
|
-
"docs": {
|
|
42
|
-
"tags": [],
|
|
43
|
-
"text": "Defines skip link position"
|
|
44
|
-
},
|
|
45
|
-
"getter": false,
|
|
46
|
-
"setter": false,
|
|
47
|
-
"reflect": true,
|
|
48
|
-
"defaultValue": "'center'"
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.r-stepper {
|
|
2
|
-
display: var(--r-stepper--display, flex);
|
|
3
|
-
align-items: var(--r-stepper--align-items, top);
|
|
4
|
-
list-style-type: var(--r-stepper--list-style-type, none);
|
|
5
|
-
padding: var(--r-stepper--padding, 0);
|
|
6
|
-
margin: var(--r-stepper--margin, 0);
|
|
7
|
-
}
|
|
8
|
-
.r-stepper > r-stepper-item,
|
|
9
|
-
.r-stepper ::slotted(r-stepper-item) {
|
|
10
|
-
display: var(--r-stepper--slotted--stepper-item--display, flex);
|
|
11
|
-
}
|
|
12
|
-
.r-stepper > r-stepper-item:not(:last-of-type),
|
|
13
|
-
.r-stepper ::slotted(r-stepper-item:not(:last-child)) {
|
|
14
|
-
flex: var(--r-stepper--slotted--stepper-item--flex, 1);
|
|
15
|
-
}
|
|
16
|
-
.r-stepper > r-stepper-item:not(:last-of-type)::after,
|
|
17
|
-
.r-stepper ::slotted(r-stepper-item:not(:last-child))::after {
|
|
18
|
-
content: var(--r-stepper-divider--content, "");
|
|
19
|
-
display: var(--r-stepper-divider--display, block);
|
|
20
|
-
position: var(--r-stepper-divider--position, relative);
|
|
21
|
-
width: var(--r-stepper-divider--width, 100%);
|
|
22
|
-
height: var(--r-stepper-divider--height, 1px);
|
|
23
|
-
top: var(--r-stepper-divider--top, 0.625rem);
|
|
24
|
-
background-color: var(--r-stepper-divider--background-color, var(--r-text-regular, #282828));
|
|
25
|
-
}
|