@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,216 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
const OFFSET = 20;
|
|
3
|
-
export class Stepper {
|
|
4
|
-
constructor() {
|
|
5
|
-
/** Complete steps. Default value 0 */
|
|
6
|
-
this.completed = 0;
|
|
7
|
-
/** _DEPRECATED_ (use `completed` instead) Completed steps. Default value 0 */
|
|
8
|
-
this.completeSteps = 0;
|
|
9
|
-
/** Label for completed steps for screen reader users. */
|
|
10
|
-
this.completedStepsLabel = 'Completed';
|
|
11
|
-
this.handleSlotChange = () => {
|
|
12
|
-
this.setStepStatus();
|
|
13
|
-
this.updateVisibilityOfStepText();
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
handleCompletedStepsLabelChange() {
|
|
17
|
-
this.setStepStatus();
|
|
18
|
-
}
|
|
19
|
-
onResize() {
|
|
20
|
-
this.updateVisibilityOfStepText();
|
|
21
|
-
}
|
|
22
|
-
get hasSteps() {
|
|
23
|
-
return this.host.querySelectorAll('r-stepper-item').length > 0;
|
|
24
|
-
}
|
|
25
|
-
componentDidLoad() {
|
|
26
|
-
this.setStepStatus();
|
|
27
|
-
this.updateVisibilityOfStepText();
|
|
28
|
-
}
|
|
29
|
-
setStepStatus() {
|
|
30
|
-
var _a;
|
|
31
|
-
const innerSteps = ((_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('r-stepper-item')) || [];
|
|
32
|
-
const slotSteps = this.host.querySelectorAll('r-stepper-item') || [];
|
|
33
|
-
const allSteps = [...Array.from(innerSteps), ...Array.from(slotSteps)];
|
|
34
|
-
allSteps === null || allSteps === void 0 ? void 0 : allSteps.forEach((step) => {
|
|
35
|
-
const existingSpan = step.querySelector('.visually-hidden');
|
|
36
|
-
if (existingSpan) {
|
|
37
|
-
existingSpan.remove();
|
|
38
|
-
}
|
|
39
|
-
const span = document.createElement('span');
|
|
40
|
-
span.className = 'visually-hidden';
|
|
41
|
-
span.textContent = `${step.complete ? `${this.completedStepsLabel}.` : ''}`;
|
|
42
|
-
step.prepend(span);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
getTextElementWidth(stepElement) {
|
|
46
|
-
var _a;
|
|
47
|
-
const textElement = (_a = stepElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.r-stepper-item--text');
|
|
48
|
-
if (!textElement)
|
|
49
|
-
return 0;
|
|
50
|
-
// Temporarily remove visually-hidden to get the natural width
|
|
51
|
-
const wasHidden = textElement.classList.contains('visually-hidden');
|
|
52
|
-
if (wasHidden) {
|
|
53
|
-
textElement.classList.remove('visually-hidden');
|
|
54
|
-
}
|
|
55
|
-
const width = textElement.offsetWidth;
|
|
56
|
-
// Restore the previous state
|
|
57
|
-
if (wasHidden) {
|
|
58
|
-
textElement.classList.add('visually-hidden');
|
|
59
|
-
}
|
|
60
|
-
return width;
|
|
61
|
-
}
|
|
62
|
-
updateVisibilityOfStepText() {
|
|
63
|
-
const slotSteps = this.host.querySelectorAll('r-stepper-item') || [];
|
|
64
|
-
let totalWidth = 0;
|
|
65
|
-
slotSteps.forEach((step) => {
|
|
66
|
-
totalWidth += this.getTextElementWidth(step) + OFFSET;
|
|
67
|
-
});
|
|
68
|
-
const isOverflowing = totalWidth >= this.host.offsetWidth;
|
|
69
|
-
if (isOverflowing) {
|
|
70
|
-
slotSteps.forEach((step) => {
|
|
71
|
-
var _a;
|
|
72
|
-
(_a = step.shadowRoot.querySelector('.r-stepper-item--text')) === null || _a === void 0 ? void 0 : _a.classList.add('visually-hidden');
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
slotSteps.forEach((step) => {
|
|
77
|
-
var _a;
|
|
78
|
-
(_a = step.shadowRoot.querySelector('.r-stepper-item--text')) === null || _a === void 0 ? void 0 : _a.classList.remove('visually-hidden');
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const completed = this.completed || this.completeSteps;
|
|
84
|
-
return (h(Host, { key: '9a8684fe78d610b90c824a8bd06371efc222b94a' }, h("ol", { key: '89c37db27cab79946f29e5302784f3a17c853cef', class: "r-stepper", "aria-label": this.label || null }, !this.hasSteps && Array.from({ length: this.total }, (_, index) => (h("r-stepper-item", { number: index + 1, complete: completed > index, active: completed === index, key: index }))), h("slot", { key: '92d043648fb9c12ca5222a569ec40a917798af5a', onSlotchange: this.handleSlotChange }))));
|
|
85
|
-
}
|
|
86
|
-
static get is() { return "r-stepper"; }
|
|
87
|
-
static get encapsulation() { return "shadow"; }
|
|
88
|
-
static get originalStyleUrls() {
|
|
89
|
-
return {
|
|
90
|
-
"$": ["stepper.css"]
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
static get styleUrls() {
|
|
94
|
-
return {
|
|
95
|
-
"$": ["stepper.css"]
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
static get properties() {
|
|
99
|
-
return {
|
|
100
|
-
"completed": {
|
|
101
|
-
"type": "number",
|
|
102
|
-
"attribute": "completed",
|
|
103
|
-
"mutable": false,
|
|
104
|
-
"complexType": {
|
|
105
|
-
"original": "number",
|
|
106
|
-
"resolved": "number",
|
|
107
|
-
"references": {}
|
|
108
|
-
},
|
|
109
|
-
"required": false,
|
|
110
|
-
"optional": false,
|
|
111
|
-
"docs": {
|
|
112
|
-
"tags": [],
|
|
113
|
-
"text": "Complete steps. Default value 0"
|
|
114
|
-
},
|
|
115
|
-
"getter": false,
|
|
116
|
-
"setter": false,
|
|
117
|
-
"reflect": true,
|
|
118
|
-
"defaultValue": "0"
|
|
119
|
-
},
|
|
120
|
-
"completeSteps": {
|
|
121
|
-
"type": "number",
|
|
122
|
-
"attribute": "complete-steps",
|
|
123
|
-
"mutable": false,
|
|
124
|
-
"complexType": {
|
|
125
|
-
"original": "number",
|
|
126
|
-
"resolved": "number",
|
|
127
|
-
"references": {}
|
|
128
|
-
},
|
|
129
|
-
"required": false,
|
|
130
|
-
"optional": false,
|
|
131
|
-
"docs": {
|
|
132
|
-
"tags": [],
|
|
133
|
-
"text": "_DEPRECATED_ (use `completed` instead) Completed steps. Default value 0"
|
|
134
|
-
},
|
|
135
|
-
"getter": false,
|
|
136
|
-
"setter": false,
|
|
137
|
-
"reflect": true,
|
|
138
|
-
"defaultValue": "0"
|
|
139
|
-
},
|
|
140
|
-
"total": {
|
|
141
|
-
"type": "number",
|
|
142
|
-
"attribute": "total",
|
|
143
|
-
"mutable": false,
|
|
144
|
-
"complexType": {
|
|
145
|
-
"original": "number",
|
|
146
|
-
"resolved": "number",
|
|
147
|
-
"references": {}
|
|
148
|
-
},
|
|
149
|
-
"required": false,
|
|
150
|
-
"optional": true,
|
|
151
|
-
"docs": {
|
|
152
|
-
"tags": [],
|
|
153
|
-
"text": "Total number of steps. Used when no slot-based steps provided."
|
|
154
|
-
},
|
|
155
|
-
"getter": false,
|
|
156
|
-
"setter": false,
|
|
157
|
-
"reflect": false
|
|
158
|
-
},
|
|
159
|
-
"label": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"attribute": "label",
|
|
162
|
-
"mutable": false,
|
|
163
|
-
"complexType": {
|
|
164
|
-
"original": "string",
|
|
165
|
-
"resolved": "string",
|
|
166
|
-
"references": {}
|
|
167
|
-
},
|
|
168
|
-
"required": false,
|
|
169
|
-
"optional": true,
|
|
170
|
-
"docs": {
|
|
171
|
-
"tags": [],
|
|
172
|
-
"text": "Label for the stepper for screen reader users."
|
|
173
|
-
},
|
|
174
|
-
"getter": false,
|
|
175
|
-
"setter": false,
|
|
176
|
-
"reflect": true
|
|
177
|
-
},
|
|
178
|
-
"completedStepsLabel": {
|
|
179
|
-
"type": "string",
|
|
180
|
-
"attribute": "completed-steps-label",
|
|
181
|
-
"mutable": false,
|
|
182
|
-
"complexType": {
|
|
183
|
-
"original": "string",
|
|
184
|
-
"resolved": "string",
|
|
185
|
-
"references": {}
|
|
186
|
-
},
|
|
187
|
-
"required": false,
|
|
188
|
-
"optional": true,
|
|
189
|
-
"docs": {
|
|
190
|
-
"tags": [],
|
|
191
|
-
"text": "Label for completed steps for screen reader users."
|
|
192
|
-
},
|
|
193
|
-
"getter": false,
|
|
194
|
-
"setter": false,
|
|
195
|
-
"reflect": true,
|
|
196
|
-
"defaultValue": "'Completed'"
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
static get elementRef() { return "host"; }
|
|
201
|
-
static get watchers() {
|
|
202
|
-
return [{
|
|
203
|
-
"propName": "completedStepsLabel",
|
|
204
|
-
"methodName": "handleCompletedStepsLabelChange"
|
|
205
|
-
}];
|
|
206
|
-
}
|
|
207
|
-
static get listeners() {
|
|
208
|
-
return [{
|
|
209
|
-
"name": "resize",
|
|
210
|
-
"method": "onResize",
|
|
211
|
-
"target": "window",
|
|
212
|
-
"capture": false,
|
|
213
|
-
"passive": true
|
|
214
|
-
}];
|
|
215
|
-
}
|
|
216
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
:host([active]) {
|
|
2
|
-
--r-stepper-item--indicator--background-color: var(--r-background-inverse, #282828);
|
|
3
|
-
--r-stepper-item--color: var(--r-text-inverse, #FFF);
|
|
4
|
-
--r-stepper-item--text--color: var(--r-text-regular, #282828);
|
|
5
|
-
--r-stepper-item--indicator--border-color: transparent;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host([complete]) {
|
|
9
|
-
--r-stepper-item--indicator--background-color: var(--r-status-success-regular, #298535);
|
|
10
|
-
--r-stepper-item--color: var(--r-text-inverse, #FFF);
|
|
11
|
-
--r-stepper-item--text--color: var(--r-text-regular, #282828);
|
|
12
|
-
--r-stepper-item--indicator--border-color: transparent;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
::slotted(.visually-hidden),
|
|
16
|
-
[data-visually-hidden-only=true],
|
|
17
|
-
.visually-hidden {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
border: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.r-stepper-item {
|
|
29
|
-
display: var(--r-stepper-item--display, flex);
|
|
30
|
-
flex-direction: var(--r-stepper-item--flex-direction, column);
|
|
31
|
-
align-items: var(--r-stepper-item--align-items, center);
|
|
32
|
-
justify-content: var(--r-stepper-item--justify-content, center);
|
|
33
|
-
font-size: var(--r-stepper-item--font-size, var(--r-font-size-200, 0.8125rem));
|
|
34
|
-
color: var(--r-stepper-item--color, var(--r-text-regular, #282828));
|
|
35
|
-
font-family: var(--r-stepper-item--font-family, var(--r-font-family-text, system-ui));
|
|
36
|
-
width: var(--r-stepper-item--width, var(--r-spacing-225, 2.25rem));
|
|
37
|
-
white-space: var(--r-stepper-item--white-space, nowrap);
|
|
38
|
-
gap: var(--r-stepper-item--gap, var(--r-spacing-100, 0.5rem));
|
|
39
|
-
}
|
|
40
|
-
.r-stepper-item--indicator {
|
|
41
|
-
width: var(--r-stepper-item--indicator--width, var(--r-spacing-125, 1.25rem));
|
|
42
|
-
height: var(--r-stepper-item--indicator--height, var(--r-spacing-125, 1.25rem));
|
|
43
|
-
line-height: var(--r-stepper-item--indicator--line-height, var(--r-spacing-125, 1.25rem));
|
|
44
|
-
border-radius: var(--r-stepper-item--indicator--border-radius, 50%);
|
|
45
|
-
background-color: var(--r-stepper-item--indicator--background-color, transparent);
|
|
46
|
-
display: var(--r-stepper-item--indicator--display, flex);
|
|
47
|
-
justify-content: var(--r-stepper-item--indicator--justify-content, center);
|
|
48
|
-
align-items: var(--r-stepper-item--indicator--align-items, center);
|
|
49
|
-
border-width: var(--r-stepper-item--indicator--border-width, 1px);
|
|
50
|
-
border-style: var(--r-stepper-item--indicator--border-style, solid);
|
|
51
|
-
border-color: var(--r-stepper-item--indicator--border-color, var(--r-text-regular, #282828));
|
|
52
|
-
margin-left: var(--r-stepper-item--indicator--margin-left, var(--r-spacing-100, 0.5rem));
|
|
53
|
-
margin-right: var(--r-stepper-item--indicator--margin-right, var(--r-spacing-100, 0.5rem));
|
|
54
|
-
}
|
|
55
|
-
.r-stepper-item--indicator--step-number {
|
|
56
|
-
vertical-align: var(--r-stepper-item--step-number--vertical-align, middle);
|
|
57
|
-
}
|
|
58
|
-
.r-stepper-item--text {
|
|
59
|
-
font-size: var(--r-stepper-item--text--font-size, var(--r-font-size-200, 0.8125rem));
|
|
60
|
-
color: var(--r-stepper-item--text--color, var(--r-text-regular, #282828));
|
|
61
|
-
text-align: var(--r-stepper-item--text--text-align, center);
|
|
62
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class StepperItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Defines a property complete that determines whether the step is complete */
|
|
5
|
-
this.complete = false;
|
|
6
|
-
/** Defines a property active that determines whether the step is active */
|
|
7
|
-
this.active = false;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Checks if the slot contains only visually-hidden elements (no visible text).
|
|
11
|
-
* Returns true if only visually-hidden elements are present.
|
|
12
|
-
*/
|
|
13
|
-
get hasOnlyVisuallyHiddenContent() {
|
|
14
|
-
var _a;
|
|
15
|
-
const textContent = ((_a = this.host.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '';
|
|
16
|
-
const visuallyHiddenElement = this.host.querySelector('.visually-hidden');
|
|
17
|
-
if (!visuallyHiddenElement) {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
const visuallyHiddenText = visuallyHiddenElement.textContent || '';
|
|
21
|
-
const remainingText = textContent.replace(visuallyHiddenText.trim(), '').trim();
|
|
22
|
-
return !remainingText.length;
|
|
23
|
-
}
|
|
24
|
-
get hasText() {
|
|
25
|
-
return this.host.textContent.trim().length > 0;
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
const number = this.number || this.stepNumber;
|
|
29
|
-
return (h(Host, { key: '4f55b5491ec5eee7cad6313fa85e7d6cc89b2178', role: "listitem", "aria-current": this.active ? 'step' : null }, h("div", { key: '2864f0e19f2f11af0f8674b9a701cd948024c085', class: "r-stepper-item" }, h("div", { key: 'de896ec98a13a4b20965a3ca58c5517a30de1f74', class: "r-stepper-item--indicator" }, this.complete ? (h("r-icon", { name: "check", size: "s" })) : this.icon ? (h("r-icon", { name: this.icon, iconAriaLabel: this.label, size: "s" })) : number !== undefined ? (h("span", { "aria-hidden": `${!this.hasOnlyVisuallyHiddenContent}`, class: "r-stepper-item--indicator--step-number" }, number)) : null), this.hasText &&
|
|
30
|
-
h("div", { key: 'cf3b6b5e3f4454830ecce06a6b6c16225aadd93e', "data-visually-hidden-only": `${this.hasOnlyVisuallyHiddenContent}`, class: "r-stepper-item--text" }, h("slot", { key: '65bd1f231c445f9681750c71ef156297edbf05fb' })))));
|
|
31
|
-
}
|
|
32
|
-
static get is() { return "r-stepper-item"; }
|
|
33
|
-
static get encapsulation() { return "shadow"; }
|
|
34
|
-
static get originalStyleUrls() {
|
|
35
|
-
return {
|
|
36
|
-
"$": ["stepper-item.css"]
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
static get styleUrls() {
|
|
40
|
-
return {
|
|
41
|
-
"$": ["stepper-item.css"]
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
static get properties() {
|
|
45
|
-
return {
|
|
46
|
-
"complete": {
|
|
47
|
-
"type": "boolean",
|
|
48
|
-
"attribute": "complete",
|
|
49
|
-
"mutable": false,
|
|
50
|
-
"complexType": {
|
|
51
|
-
"original": "boolean",
|
|
52
|
-
"resolved": "boolean",
|
|
53
|
-
"references": {}
|
|
54
|
-
},
|
|
55
|
-
"required": false,
|
|
56
|
-
"optional": false,
|
|
57
|
-
"docs": {
|
|
58
|
-
"tags": [],
|
|
59
|
-
"text": "Defines a property complete that determines whether the step is complete"
|
|
60
|
-
},
|
|
61
|
-
"getter": false,
|
|
62
|
-
"setter": false,
|
|
63
|
-
"reflect": true,
|
|
64
|
-
"defaultValue": "false"
|
|
65
|
-
},
|
|
66
|
-
"active": {
|
|
67
|
-
"type": "boolean",
|
|
68
|
-
"attribute": "active",
|
|
69
|
-
"mutable": false,
|
|
70
|
-
"complexType": {
|
|
71
|
-
"original": "boolean",
|
|
72
|
-
"resolved": "boolean",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": "Defines a property active that determines whether the step is active"
|
|
80
|
-
},
|
|
81
|
-
"getter": false,
|
|
82
|
-
"setter": false,
|
|
83
|
-
"reflect": true,
|
|
84
|
-
"defaultValue": "false"
|
|
85
|
-
},
|
|
86
|
-
"icon": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"attribute": "icon",
|
|
89
|
-
"mutable": false,
|
|
90
|
-
"complexType": {
|
|
91
|
-
"original": "IconName",
|
|
92
|
-
"resolved": "string",
|
|
93
|
-
"references": {
|
|
94
|
-
"IconName": {
|
|
95
|
-
"location": "import",
|
|
96
|
-
"path": "../icon/exports",
|
|
97
|
-
"id": "src/components/icon/exports.ts::IconName"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"required": false,
|
|
102
|
-
"optional": true,
|
|
103
|
-
"docs": {
|
|
104
|
-
"tags": [],
|
|
105
|
-
"text": "Defines an icon for the step. Optional."
|
|
106
|
-
},
|
|
107
|
-
"getter": false,
|
|
108
|
-
"setter": false,
|
|
109
|
-
"reflect": true
|
|
110
|
-
},
|
|
111
|
-
"number": {
|
|
112
|
-
"type": "number",
|
|
113
|
-
"attribute": "number",
|
|
114
|
-
"mutable": false,
|
|
115
|
-
"complexType": {
|
|
116
|
-
"original": "number",
|
|
117
|
-
"resolved": "number",
|
|
118
|
-
"references": {}
|
|
119
|
-
},
|
|
120
|
-
"required": false,
|
|
121
|
-
"optional": true,
|
|
122
|
-
"docs": {
|
|
123
|
-
"tags": [],
|
|
124
|
-
"text": "Defines the step number. Optional."
|
|
125
|
-
},
|
|
126
|
-
"getter": false,
|
|
127
|
-
"setter": false,
|
|
128
|
-
"reflect": true
|
|
129
|
-
},
|
|
130
|
-
"stepNumber": {
|
|
131
|
-
"type": "number",
|
|
132
|
-
"attribute": "step-number",
|
|
133
|
-
"mutable": false,
|
|
134
|
-
"complexType": {
|
|
135
|
-
"original": "number",
|
|
136
|
-
"resolved": "number",
|
|
137
|
-
"references": {}
|
|
138
|
-
},
|
|
139
|
-
"required": false,
|
|
140
|
-
"optional": true,
|
|
141
|
-
"docs": {
|
|
142
|
-
"tags": [],
|
|
143
|
-
"text": "_DEPRECATED_ (use `number` instead) Index of the progress step"
|
|
144
|
-
},
|
|
145
|
-
"getter": false,
|
|
146
|
-
"setter": false,
|
|
147
|
-
"reflect": true
|
|
148
|
-
},
|
|
149
|
-
"label": {
|
|
150
|
-
"type": "string",
|
|
151
|
-
"attribute": "label",
|
|
152
|
-
"mutable": false,
|
|
153
|
-
"complexType": {
|
|
154
|
-
"original": "string",
|
|
155
|
-
"resolved": "string",
|
|
156
|
-
"references": {}
|
|
157
|
-
},
|
|
158
|
-
"required": false,
|
|
159
|
-
"optional": true,
|
|
160
|
-
"docs": {
|
|
161
|
-
"tags": [],
|
|
162
|
-
"text": "Label for the step icon for screen reader users."
|
|
163
|
-
},
|
|
164
|
-
"getter": false,
|
|
165
|
-
"setter": false,
|
|
166
|
-
"reflect": true
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
static get elementRef() { return "host"; }
|
|
171
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
outline: none;
|
|
4
|
-
opacity: 1;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host(:hover:not([disabled]:not([disabled=false]))) {
|
|
9
|
-
--r-tab--background: var(--r-background-interactive-hovered, rgba(40, 40, 40, 0.04));
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
:host(:active:not([disabled]:not([disabled=false]))) {
|
|
13
|
-
--r-tab--background: var(--r-background-interactive-pressed, rgba(40,40,40,0.12));
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host(:focus-visible) {
|
|
17
|
-
--r-tab--box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
|
|
18
|
-
--r-tab--outline: 2px solid var(--r-border-focused, #0071e3);
|
|
19
|
-
--r-tab--outline-offset: 2px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
:host([active]:not([active=false])) {
|
|
23
|
-
cursor: default;
|
|
24
|
-
--r-tab--font-weight: var(--r-font-weight-semibold, 600);
|
|
25
|
-
--r-tab--marker--visibility: visible;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:host([disabled]:not([disabled=false])) {
|
|
29
|
-
cursor: not-allowed;
|
|
30
|
-
--r-tab--pointer-events: none;
|
|
31
|
-
--r-tab--color: var(--r-text-soft, #686868);
|
|
32
|
-
--r-tab--marker--background-color: var(--r-border-soft, #686868) ;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.r-tab {
|
|
36
|
-
position: var(--r-tab--position, relative);
|
|
37
|
-
font-family: var(--r-tab--font-family, var(--r-font-family-text, system-ui));
|
|
38
|
-
font-weight: var(--r-tab--font-weight, var(--r-font-weight-regular, 400));
|
|
39
|
-
font-size: var(--r-tab--font-size, var(--r-font-size-400, 1rem));
|
|
40
|
-
line-height: var(--r-tab--line-height, var(--r-line-height-m, 1.5));
|
|
41
|
-
cursor: var(--r-tab--cursor, inherit);
|
|
42
|
-
pointer-events: var(--r-tab--pointer-events, initial);
|
|
43
|
-
display: var(--r-tab--display, flex);
|
|
44
|
-
align-items: var(--r-tab--align-items, center);
|
|
45
|
-
justify-content: var(--r-tab--justify-content, center);
|
|
46
|
-
gap: var(--r-tab--gap, var(--r-spacing-050, 0.5rem));
|
|
47
|
-
width: var(--r-tab--width, auto);
|
|
48
|
-
padding-top: var(--r-tab--padding-top, var(--r-spacing-025, 0.25rem));
|
|
49
|
-
padding-right: var(--r-tab--padding-right, var(--r-spacing-050, 0.5rem));
|
|
50
|
-
padding-bottom: var(--r-tab--padding-bottom, var(--r-spacing-100, 1rem));
|
|
51
|
-
padding-left: var(--r-tab--padding-left, var(--r-spacing-050, 0.5rem));
|
|
52
|
-
margin-bottom: var(--r-tab--margin-bottom, -1px);
|
|
53
|
-
opacity: var(--r-tab--opacity, 1);
|
|
54
|
-
background: var(--r-tab--background, none);
|
|
55
|
-
color: var(--r-tab--color, var(--r-text-regular, #282828));
|
|
56
|
-
border: var(--r-tab--border, none);
|
|
57
|
-
box-shadow: var(--r-tab--box-shadow, none);
|
|
58
|
-
outline: var(--r-tab--outline, none);
|
|
59
|
-
outline-offset: var(--r-tab--outline-offset, 0);
|
|
60
|
-
}
|
|
61
|
-
.r-tab::after {
|
|
62
|
-
content: var(--r-tab--marker--content, "");
|
|
63
|
-
width: var(--r-tab--marker--width, 100%);
|
|
64
|
-
height: var(--r-tab--marker--height, 3px);
|
|
65
|
-
position: var(--r-tab--marker--position, absolute);
|
|
66
|
-
bottom: var(--r-tab--marker--bottom, 0);
|
|
67
|
-
left: var(--r-tab--marker--left, 0);
|
|
68
|
-
visibility: var(--r-tab--marker--visibility, hidden);
|
|
69
|
-
background-color: var(--r-tab--marker--background-color, var(--r-border-regular, #282828));
|
|
70
|
-
transition: var(--r-tab--marker--transition, all 0.1s ease-in);
|
|
71
|
-
}
|
|
72
|
-
.r-tab--disabled-icon,
|
|
73
|
-
.r-tab ::slotted([slot=icon]) {
|
|
74
|
-
color: var(--r-tab--icon--color, var(--r-icon-soft, #686868));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media (prefers-reduced-motion) {
|
|
78
|
-
.r-tab::after {
|
|
79
|
-
transition: none;
|
|
80
|
-
}
|
|
81
|
-
}
|