@riverty/web-components 6.2.0 → 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 +30 -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.js +0 -540
- package/dist/collection/components/illustration/illustration.scss +0 -56
- 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-c1f59ed1.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-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,21 +0,0 @@
|
|
|
1
|
-
:host slot {
|
|
2
|
-
display: contents;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
::slotted(r-button) {
|
|
6
|
-
--r-button--color: var(--r-text-regular);
|
|
7
|
-
--r-button--border-width: 0;
|
|
8
|
-
--r-button--background-color: rgba(0,0,0,0);
|
|
9
|
-
--r-button--slot--position: relative;
|
|
10
|
-
--r-button--slot--text-decoration: underline;
|
|
11
|
-
--r-button--padding: 10px 2px 18px 2px;
|
|
12
|
-
--r-button--slot--text-underline-offset: 9px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
::slotted(r-button:hover:not([disabled]):not([disabled=false])) {
|
|
16
|
-
--r-button--background-color: var(--r-background-interactive-hovered);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
::slotted(r-button:active:not([disabled]):not([disabled=false])) {
|
|
20
|
-
--r-button--background-color: var(--r-background-interactive-pressed);
|
|
21
|
-
}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { setupInverseThemeAwareness, stopInverseThemeAwareness } from "../../utils/theming";
|
|
3
|
-
import { focusableElements } from "../../utils/focusable";
|
|
4
|
-
export class PopoverAction {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.handleSlotChange = () => {
|
|
7
|
-
this.setButtonDefaults();
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
connectedCallback() {
|
|
11
|
-
// Apply default properties to any buttons
|
|
12
|
-
this.setButtonDefaults();
|
|
13
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
14
|
-
setupInverseThemeAwareness(this.host, themeContextElement);
|
|
15
|
-
}
|
|
16
|
-
disconnectedCallback() {
|
|
17
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
18
|
-
stopInverseThemeAwareness(this.host, themeContextElement);
|
|
19
|
-
}
|
|
20
|
-
setButtonDefaults() {
|
|
21
|
-
const buttons = this.host.querySelectorAll('r-button');
|
|
22
|
-
// Set default attributes on each button
|
|
23
|
-
buttons.forEach(button => {
|
|
24
|
-
// Default size="small"
|
|
25
|
-
if (!button.hasAttribute('size')) {
|
|
26
|
-
button.setAttribute('size', 'small');
|
|
27
|
-
}
|
|
28
|
-
// Default variant="text-inline"
|
|
29
|
-
if (!button.hasAttribute('variant')) {
|
|
30
|
-
button.setAttribute('variant', 'text-inline');
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Set focus on the first focusable element within the popover action
|
|
36
|
-
* @returns {Promise<HTMLElement | null>} The focused element or null if no element is found
|
|
37
|
-
*/
|
|
38
|
-
async setFocus() {
|
|
39
|
-
if (!this.activeElement)
|
|
40
|
-
return;
|
|
41
|
-
if ('setFocus' in this.activeElement && typeof this.activeElement.setFocus === 'function') {
|
|
42
|
-
await this.activeElement.setFocus();
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
this.activeElement.focus();
|
|
46
|
-
return this.activeElement;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Remove focus from the first focusable element within the popover action
|
|
50
|
-
* @returns {Promise<void>}
|
|
51
|
-
*/
|
|
52
|
-
async setBlur() {
|
|
53
|
-
var _a;
|
|
54
|
-
(_a = this.activeElement) === null || _a === void 0 ? void 0 : _a.blur();
|
|
55
|
-
}
|
|
56
|
-
get activeElement() {
|
|
57
|
-
return this.getActiveElements[0] || null;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Get all focusable elements within the popover content
|
|
61
|
-
* @returns {Promise<HTMLElement[]>} Array of focusable elements
|
|
62
|
-
*/
|
|
63
|
-
async getActiveElements() {
|
|
64
|
-
return focusableElements(this.host);
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
return (h(Host, { key: '8e0de158033b48c66aa49930911e1f383c2010ae', slot: "action" }, h("slot", { key: 'b9c762d2c1774600a29306559253125abc21cbcd', onSlotchange: this.handleSlotChange })));
|
|
68
|
-
}
|
|
69
|
-
static get is() { return "r-popover-action"; }
|
|
70
|
-
static get encapsulation() { return "shadow"; }
|
|
71
|
-
static get originalStyleUrls() {
|
|
72
|
-
return {
|
|
73
|
-
"$": ["popover-action.css"]
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
static get styleUrls() {
|
|
77
|
-
return {
|
|
78
|
-
"$": ["popover-action.css"]
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
static get methods() {
|
|
82
|
-
return {
|
|
83
|
-
"setFocus": {
|
|
84
|
-
"complexType": {
|
|
85
|
-
"signature": "() => Promise<any>",
|
|
86
|
-
"parameters": [],
|
|
87
|
-
"references": {
|
|
88
|
-
"Promise": {
|
|
89
|
-
"location": "global",
|
|
90
|
-
"id": "global::Promise"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"return": "Promise<any>"
|
|
94
|
-
},
|
|
95
|
-
"docs": {
|
|
96
|
-
"text": "Set focus on the first focusable element within the popover action",
|
|
97
|
-
"tags": [{
|
|
98
|
-
"name": "returns",
|
|
99
|
-
"text": "The focused element or null if no element is found"
|
|
100
|
-
}]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"setBlur": {
|
|
104
|
-
"complexType": {
|
|
105
|
-
"signature": "() => Promise<void>",
|
|
106
|
-
"parameters": [],
|
|
107
|
-
"references": {
|
|
108
|
-
"Promise": {
|
|
109
|
-
"location": "global",
|
|
110
|
-
"id": "global::Promise"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"return": "Promise<void>"
|
|
114
|
-
},
|
|
115
|
-
"docs": {
|
|
116
|
-
"text": "Remove focus from the first focusable element within the popover action",
|
|
117
|
-
"tags": [{
|
|
118
|
-
"name": "returns",
|
|
119
|
-
"text": undefined
|
|
120
|
-
}]
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"getActiveElements": {
|
|
124
|
-
"complexType": {
|
|
125
|
-
"signature": "() => Promise<HTMLElement[]>",
|
|
126
|
-
"parameters": [],
|
|
127
|
-
"references": {
|
|
128
|
-
"Promise": {
|
|
129
|
-
"location": "global",
|
|
130
|
-
"id": "global::Promise"
|
|
131
|
-
},
|
|
132
|
-
"HTMLElement": {
|
|
133
|
-
"location": "global",
|
|
134
|
-
"id": "global::HTMLElement"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"return": "Promise<HTMLElement[]>"
|
|
138
|
-
},
|
|
139
|
-
"docs": {
|
|
140
|
-
"text": "Get all focusable elements within the popover content",
|
|
141
|
-
"tags": [{
|
|
142
|
-
"name": "returns",
|
|
143
|
-
"text": "Array of focusable elements"
|
|
144
|
-
}]
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
static get elementRef() { return "host"; }
|
|
150
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { setupInverseThemeAwareness, stopInverseThemeAwareness } from "../../utils/theming";
|
|
3
|
-
import { focusableElements } from "../../utils/focusable";
|
|
4
|
-
export class PopoverContent {
|
|
5
|
-
connectedCallback() {
|
|
6
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
7
|
-
setupInverseThemeAwareness(this.host, themeContextElement);
|
|
8
|
-
}
|
|
9
|
-
disconnectedCallback() {
|
|
10
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
11
|
-
stopInverseThemeAwareness(this.host, themeContextElement);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Set focus on the first focusable element within the popover content
|
|
15
|
-
* @returns {Promise<HTMLElement | null>} The focused element or null if no element is found
|
|
16
|
-
*/
|
|
17
|
-
async setFocus() {
|
|
18
|
-
var _a;
|
|
19
|
-
if (!this.activeElement)
|
|
20
|
-
return Promise.resolve(null);
|
|
21
|
-
if ('setFocus' in this.activeElement && typeof this.activeElement.setFocus === 'function') {
|
|
22
|
-
await this.activeElement.setFocus();
|
|
23
|
-
return Promise.resolve(this.activeElement);
|
|
24
|
-
}
|
|
25
|
-
(_a = this.activeElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
26
|
-
return Promise.resolve(this.activeElement);
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Remove focus from the first focusable element within the popover content
|
|
30
|
-
* @returns {Promise<void>}
|
|
31
|
-
*/
|
|
32
|
-
async setBlur() {
|
|
33
|
-
var _a;
|
|
34
|
-
(_a = this.activeElement) === null || _a === void 0 ? void 0 : _a.blur();
|
|
35
|
-
}
|
|
36
|
-
get activeElement() {
|
|
37
|
-
return this.getActiveElements[0] || null;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Get all focusable elements within the popover content
|
|
41
|
-
* @returns {Promise<HTMLElement[]>} Array of focusable elements
|
|
42
|
-
*/
|
|
43
|
-
async getActiveElements() {
|
|
44
|
-
return focusableElements(this.host);
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return (h(Host, { key: 'f05a31b3948094f5f7ca657f4bd81474af2fcb6e', slot: "content", class: "r-typography" }, h("slot", { key: '0ecbe8de6c0ec200499aead61fc883804c4c4dd7' })));
|
|
48
|
-
}
|
|
49
|
-
static get is() { return "r-popover-content"; }
|
|
50
|
-
static get encapsulation() { return "shadow"; }
|
|
51
|
-
static get originalStyleUrls() {
|
|
52
|
-
return {
|
|
53
|
-
"$": ["popover-content.css"]
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
static get styleUrls() {
|
|
57
|
-
return {
|
|
58
|
-
"$": ["popover-content.css"]
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
static get methods() {
|
|
62
|
-
return {
|
|
63
|
-
"setFocus": {
|
|
64
|
-
"complexType": {
|
|
65
|
-
"signature": "() => Promise<any>",
|
|
66
|
-
"parameters": [],
|
|
67
|
-
"references": {
|
|
68
|
-
"Promise": {
|
|
69
|
-
"location": "global",
|
|
70
|
-
"id": "global::Promise"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"return": "Promise<any>"
|
|
74
|
-
},
|
|
75
|
-
"docs": {
|
|
76
|
-
"text": "Set focus on the first focusable element within the popover content",
|
|
77
|
-
"tags": [{
|
|
78
|
-
"name": "returns",
|
|
79
|
-
"text": "The focused element or null if no element is found"
|
|
80
|
-
}]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"setBlur": {
|
|
84
|
-
"complexType": {
|
|
85
|
-
"signature": "() => Promise<void>",
|
|
86
|
-
"parameters": [],
|
|
87
|
-
"references": {
|
|
88
|
-
"Promise": {
|
|
89
|
-
"location": "global",
|
|
90
|
-
"id": "global::Promise"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"return": "Promise<void>"
|
|
94
|
-
},
|
|
95
|
-
"docs": {
|
|
96
|
-
"text": "Remove focus from the first focusable element within the popover content",
|
|
97
|
-
"tags": [{
|
|
98
|
-
"name": "returns",
|
|
99
|
-
"text": undefined
|
|
100
|
-
}]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"getActiveElements": {
|
|
104
|
-
"complexType": {
|
|
105
|
-
"signature": "() => Promise<HTMLElement[]>",
|
|
106
|
-
"parameters": [],
|
|
107
|
-
"references": {
|
|
108
|
-
"Promise": {
|
|
109
|
-
"location": "global",
|
|
110
|
-
"id": "global::Promise"
|
|
111
|
-
},
|
|
112
|
-
"HTMLElement": {
|
|
113
|
-
"location": "global",
|
|
114
|
-
"id": "global::HTMLElement"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"return": "Promise<HTMLElement[]>"
|
|
118
|
-
},
|
|
119
|
-
"docs": {
|
|
120
|
-
"text": "Get all focusable elements within the popover content",
|
|
121
|
-
"tags": [{
|
|
122
|
-
"name": "returns",
|
|
123
|
-
"text": "Array of focusable elements"
|
|
124
|
-
}]
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
static get elementRef() { return "host"; }
|
|
130
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { setupInverseThemeAwareness, stopInverseThemeAwareness } from "../../utils/theming";
|
|
3
|
-
export class PopoverHeadline {
|
|
4
|
-
connectedCallback() {
|
|
5
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
6
|
-
setupInverseThemeAwareness(this.host, themeContextElement);
|
|
7
|
-
}
|
|
8
|
-
disconnectedCallback() {
|
|
9
|
-
const themeContextElement = this.host.closest('r-popover');
|
|
10
|
-
stopInverseThemeAwareness(this.host, themeContextElement);
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h(Host, { key: '21f1656241f40201d5eb98cfb454d9c509f6cfe1', slot: "headline" }, h("slot", { key: 'fa9861bd13bcb23b420c5b5aa085ba6ceecb3df4' })));
|
|
14
|
-
}
|
|
15
|
-
static get is() { return "r-popover-headline"; }
|
|
16
|
-
static get encapsulation() { return "shadow"; }
|
|
17
|
-
static get originalStyleUrls() {
|
|
18
|
-
return {
|
|
19
|
-
"$": ["popover-headline.css"]
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
static get styleUrls() {
|
|
23
|
-
return {
|
|
24
|
-
"$": ["popover-headline.css"]
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
static get elementRef() { return "host"; }
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const popoverTriggerActionArray = ['show', 'hide', 'toggle'];
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class PopoverTrigger {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.handleMouseEnter = () => {
|
|
5
|
-
this.triggerMouseEnter.emit();
|
|
6
|
-
};
|
|
7
|
-
this.handleMouseLeave = () => {
|
|
8
|
-
this.triggerMouseLeave.emit();
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
get activeElement() {
|
|
12
|
-
const selector = [
|
|
13
|
-
'r-button',
|
|
14
|
-
'r-icon-button',
|
|
15
|
-
'a[href]',
|
|
16
|
-
'button:not([disabled])',
|
|
17
|
-
'[tabindex]:not([tabindex="-1"])'
|
|
18
|
-
].join(', ');
|
|
19
|
-
const el = this.host.querySelector(selector);
|
|
20
|
-
if (!el || !(el instanceof HTMLElement))
|
|
21
|
-
return null;
|
|
22
|
-
const tag = el.tagName.toLowerCase();
|
|
23
|
-
// Return strongly typed elements if needed
|
|
24
|
-
if (tag === 'r-button' || tag === 'r-icon-button') {
|
|
25
|
-
return el; // Adjust type to your component’s base
|
|
26
|
-
}
|
|
27
|
-
// Default mappings for known HTML types
|
|
28
|
-
if (tag === 'button')
|
|
29
|
-
return el;
|
|
30
|
-
if (tag === 'a')
|
|
31
|
-
return el;
|
|
32
|
-
return el;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Set focus on the first focusable element within the trigger
|
|
36
|
-
* @returns {Promise<HTMLElement | null>} The focused element or null if no element is found
|
|
37
|
-
*/
|
|
38
|
-
async setFocus() {
|
|
39
|
-
if (!this.activeElement)
|
|
40
|
-
return Promise.resolve(null);
|
|
41
|
-
if ('setFocus' in this.activeElement && typeof this.activeElement.setFocus === 'function') {
|
|
42
|
-
await this.activeElement.setFocus();
|
|
43
|
-
return Promise.resolve(this.activeElement);
|
|
44
|
-
}
|
|
45
|
-
this.activeElement.focus();
|
|
46
|
-
return Promise.resolve(this.activeElement);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Remove focus from the first focusable element within the trigger
|
|
50
|
-
*/
|
|
51
|
-
async setBlur() {
|
|
52
|
-
var _a;
|
|
53
|
-
(_a = this.activeElement) === null || _a === void 0 ? void 0 : _a.blur();
|
|
54
|
-
}
|
|
55
|
-
render() {
|
|
56
|
-
return (h(Host, { key: '313cccef6d7f463a6088581b2efc3057a97d61b2', slot: "trigger", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("slot", { key: '65ff3ba6c677c693445c0c82feae795a94768cf8' })));
|
|
57
|
-
}
|
|
58
|
-
static get is() { return "r-popover-trigger"; }
|
|
59
|
-
static get encapsulation() { return "shadow"; }
|
|
60
|
-
static get originalStyleUrls() {
|
|
61
|
-
return {
|
|
62
|
-
"$": ["popover-trigger.css"]
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
static get styleUrls() {
|
|
66
|
-
return {
|
|
67
|
-
"$": ["popover-trigger.css"]
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
static get events() {
|
|
71
|
-
return [{
|
|
72
|
-
"method": "triggerMouseEnter",
|
|
73
|
-
"name": "triggerMouseEnter",
|
|
74
|
-
"bubbles": true,
|
|
75
|
-
"cancelable": true,
|
|
76
|
-
"composed": true,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [{
|
|
79
|
-
"name": "event",
|
|
80
|
-
"text": "triggerMouseEnter"
|
|
81
|
-
}, {
|
|
82
|
-
"name": "property",
|
|
83
|
-
"text": "{HTMLRPopoverTriggerElement} element - The trigger element"
|
|
84
|
-
}, {
|
|
85
|
-
"name": "property",
|
|
86
|
-
"text": "{MouseEvent} event - The mouse event"
|
|
87
|
-
}],
|
|
88
|
-
"text": "Event emitted when the mouse enters the trigger"
|
|
89
|
-
},
|
|
90
|
-
"complexType": {
|
|
91
|
-
"original": "any",
|
|
92
|
-
"resolved": "any",
|
|
93
|
-
"references": {}
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
"method": "triggerMouseLeave",
|
|
97
|
-
"name": "triggerMouseLeave",
|
|
98
|
-
"bubbles": true,
|
|
99
|
-
"cancelable": true,
|
|
100
|
-
"composed": true,
|
|
101
|
-
"docs": {
|
|
102
|
-
"tags": [{
|
|
103
|
-
"name": "event",
|
|
104
|
-
"text": "triggerMouseLeave"
|
|
105
|
-
}, {
|
|
106
|
-
"name": "property",
|
|
107
|
-
"text": "{HTMLRPopoverTriggerElement} element - The trigger element"
|
|
108
|
-
}, {
|
|
109
|
-
"name": "property",
|
|
110
|
-
"text": "{MouseEvent} event - The mouse event"
|
|
111
|
-
}],
|
|
112
|
-
"text": "Event emitted when the mouse leaves the trigger"
|
|
113
|
-
},
|
|
114
|
-
"complexType": {
|
|
115
|
-
"original": "any",
|
|
116
|
-
"resolved": "any",
|
|
117
|
-
"references": {}
|
|
118
|
-
}
|
|
119
|
-
}];
|
|
120
|
-
}
|
|
121
|
-
static get methods() {
|
|
122
|
-
return {
|
|
123
|
-
"setFocus": {
|
|
124
|
-
"complexType": {
|
|
125
|
-
"signature": "() => Promise<any>",
|
|
126
|
-
"parameters": [],
|
|
127
|
-
"references": {
|
|
128
|
-
"Promise": {
|
|
129
|
-
"location": "global",
|
|
130
|
-
"id": "global::Promise"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"return": "Promise<any>"
|
|
134
|
-
},
|
|
135
|
-
"docs": {
|
|
136
|
-
"text": "Set focus on the first focusable element within the trigger",
|
|
137
|
-
"tags": [{
|
|
138
|
-
"name": "returns",
|
|
139
|
-
"text": "The focused element or null if no element is found"
|
|
140
|
-
}]
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"setBlur": {
|
|
144
|
-
"complexType": {
|
|
145
|
-
"signature": "() => Promise<void>",
|
|
146
|
-
"parameters": [],
|
|
147
|
-
"references": {
|
|
148
|
-
"Promise": {
|
|
149
|
-
"location": "global",
|
|
150
|
-
"id": "global::Promise"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"return": "Promise<void>"
|
|
154
|
-
},
|
|
155
|
-
"docs": {
|
|
156
|
-
"text": "Remove focus from the first focusable element within the trigger",
|
|
157
|
-
"tags": []
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
static get elementRef() { return "host"; }
|
|
163
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--r-progress-bar--appearance: none;
|
|
3
|
-
--r-progress-bar--width: 100%;
|
|
4
|
-
--r-progress-bar--height: 8px;
|
|
5
|
-
--r-progress-bar--background-color: var(--r-background-soft);
|
|
6
|
-
--r-progress-bar--border-radius: 0;
|
|
7
|
-
--r-progress-bar--border: none;
|
|
8
|
-
--progress-bar--value--background-color: var(--r-background-interactive-regular);
|
|
9
|
-
--progress-bar--value--border-radius: 0;
|
|
10
|
-
--progress-bar--value--transition: all 0.6s ease;
|
|
11
|
-
display: block;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.r-progress-bar {
|
|
15
|
-
appearance: var(--r-progress-bar--appearance);
|
|
16
|
-
width: var(--r-progress-bar--width);
|
|
17
|
-
height: var(--r-progress-bar--height);
|
|
18
|
-
background-color: var(--r-progress-bar--background-color);
|
|
19
|
-
border-radius: var(--r-progress-bar--border-radius);
|
|
20
|
-
border: var(--r-progress-bar--border);
|
|
21
|
-
}
|
|
22
|
-
.r-progress-bar::-webkit-progress-bar {
|
|
23
|
-
background-color: var(--r-progress-bar--background-color);
|
|
24
|
-
border-radius: var(--r-progress-bar--border-radius);
|
|
25
|
-
border: var(--r-progress-bar--border);
|
|
26
|
-
}
|
|
27
|
-
.r-progress-bar::-webkit-progress-value {
|
|
28
|
-
background-color: var(--progress-bar--value--background-color);
|
|
29
|
-
border-radius: var(--progress-bar--value--border-radius);
|
|
30
|
-
transition: var(--progress-bar--value--transition);
|
|
31
|
-
}
|
|
32
|
-
.r-progress-bar::-moz-progress-bar {
|
|
33
|
-
background-color: var(--progress-bar--value--background-color);
|
|
34
|
-
border-radius: var(--progress-bar--value--border-radius);
|
|
35
|
-
transition: var(--progress-bar--value--transition);
|
|
36
|
-
}
|
|
37
|
-
.r-progress-bar::-ms-fill {
|
|
38
|
-
background-color: var(--progress-bar--value--background-color);
|
|
39
|
-
border-radius: var(--progress-bar--value--border-radius);
|
|
40
|
-
transition: var(--progress-bar--value--transition);
|
|
41
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class ProgressBar {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Progress bar value */
|
|
5
|
-
this.progress = 0;
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
const { progress, rAriaLabel } = this;
|
|
9
|
-
const progressBarAttrs = {
|
|
10
|
-
value: progress,
|
|
11
|
-
max: '100',
|
|
12
|
-
'aria-label': rAriaLabel
|
|
13
|
-
};
|
|
14
|
-
return (h(Host, { key: '8d8307ebac0b8a231569bd86c35175d9f11e14ac' }, h("progress", Object.assign({ key: '631b8ecaaca4fde5c14ddabb74ff076610557832' }, progressBarAttrs, { class: "r-progress-bar" }))));
|
|
15
|
-
}
|
|
16
|
-
static get is() { return "r-progress-bar"; }
|
|
17
|
-
static get encapsulation() { return "shadow"; }
|
|
18
|
-
static get originalStyleUrls() {
|
|
19
|
-
return {
|
|
20
|
-
"$": ["progress-bar.css"]
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
static get styleUrls() {
|
|
24
|
-
return {
|
|
25
|
-
"$": ["progress-bar.css"]
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
static get properties() {
|
|
29
|
-
return {
|
|
30
|
-
"progress": {
|
|
31
|
-
"type": "number",
|
|
32
|
-
"attribute": "progress",
|
|
33
|
-
"mutable": false,
|
|
34
|
-
"complexType": {
|
|
35
|
-
"original": "number",
|
|
36
|
-
"resolved": "number",
|
|
37
|
-
"references": {}
|
|
38
|
-
},
|
|
39
|
-
"required": false,
|
|
40
|
-
"optional": false,
|
|
41
|
-
"docs": {
|
|
42
|
-
"tags": [],
|
|
43
|
-
"text": "Progress bar value"
|
|
44
|
-
},
|
|
45
|
-
"getter": false,
|
|
46
|
-
"setter": false,
|
|
47
|
-
"reflect": true,
|
|
48
|
-
"defaultValue": "0"
|
|
49
|
-
},
|
|
50
|
-
"rAriaLabel": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"attribute": "r-aria-label",
|
|
53
|
-
"mutable": false,
|
|
54
|
-
"complexType": {
|
|
55
|
-
"original": "string",
|
|
56
|
-
"resolved": "string",
|
|
57
|
-
"references": {}
|
|
58
|
-
},
|
|
59
|
-
"required": false,
|
|
60
|
-
"optional": false,
|
|
61
|
-
"docs": {
|
|
62
|
-
"tags": [],
|
|
63
|
-
"text": "Sets string value for `aria-label` attribute\n(https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label)"
|
|
64
|
-
},
|
|
65
|
-
"getter": false,
|
|
66
|
-
"setter": false,
|
|
67
|
-
"reflect": true
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
}
|