@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,106 +0,0 @@
|
|
|
1
|
-
import { S as StyleObserver } from './style-observer-4Uv3PpKT.js';
|
|
2
|
-
|
|
3
|
-
// Track observers per theme context element
|
|
4
|
-
const contextObservers = new Map();
|
|
5
|
-
// Track which elements already have inverse theme setup to avoid duplicates
|
|
6
|
-
const inverseThemeTargets = new WeakMap();
|
|
7
|
-
// Special design token defined for this purpose. Defined as either 'light' or 'dark'.
|
|
8
|
-
const THEME_STATE_PROPERTY = '--r-internal-theme-state';
|
|
9
|
-
/**
|
|
10
|
-
* Sets up an inverse theme relationship between a target element and its theme context element.
|
|
11
|
-
* The target will automatically update its theme to be the inverse of its parent context.
|
|
12
|
-
* @param targetElement Element that should have inverse theme
|
|
13
|
-
* @param themeContextElement Element that contains the theme context
|
|
14
|
-
*/
|
|
15
|
-
const setupInverseThemeAwareness = (targetElement, themeContextElement) => {
|
|
16
|
-
if (!themeContextElement || !targetElement)
|
|
17
|
-
return;
|
|
18
|
-
// Check if this target is already set up with this context
|
|
19
|
-
const existingTargets = inverseThemeTargets.get(themeContextElement);
|
|
20
|
-
if (existingTargets === null || existingTargets === void 0 ? void 0 : existingTargets.has(targetElement))
|
|
21
|
-
return;
|
|
22
|
-
// Store this target as set up
|
|
23
|
-
if (!existingTargets) {
|
|
24
|
-
inverseThemeTargets.set(themeContextElement, new Set([targetElement]));
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
existingTargets.add(targetElement);
|
|
28
|
-
}
|
|
29
|
-
// Find or create observer for this context
|
|
30
|
-
let observer = contextObservers.get(themeContextElement);
|
|
31
|
-
if (!observer) {
|
|
32
|
-
const observerCallback = (records) => {
|
|
33
|
-
const record = records[0];
|
|
34
|
-
if (!record)
|
|
35
|
-
return;
|
|
36
|
-
const theme = resolveTheme(record.value);
|
|
37
|
-
const inverseTheme = theme === 'dark' ? 'light' : 'dark';
|
|
38
|
-
// Update all targets for this context
|
|
39
|
-
const targets = inverseThemeTargets.get(themeContextElement);
|
|
40
|
-
targets === null || targets === void 0 ? void 0 : targets.forEach(target => {
|
|
41
|
-
target.setAttribute('data-theme', inverseTheme);
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
observer = new StyleObserver(observerCallback, {
|
|
45
|
-
target: themeContextElement,
|
|
46
|
-
properties: THEME_STATE_PROPERTY
|
|
47
|
-
});
|
|
48
|
-
contextObservers.set(themeContextElement, observer);
|
|
49
|
-
// Immediate check for initial value
|
|
50
|
-
const computedStyle = window.getComputedStyle(themeContextElement);
|
|
51
|
-
const initialValue = computedStyle.getPropertyValue(THEME_STATE_PROPERTY);
|
|
52
|
-
observerCallback([{
|
|
53
|
-
target: themeContextElement,
|
|
54
|
-
property: THEME_STATE_PROPERTY,
|
|
55
|
-
value: initialValue,
|
|
56
|
-
oldValue: null
|
|
57
|
-
}]);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
// Observer exists already, just need to set initial theme on the new target
|
|
61
|
-
const computedStyle = window.getComputedStyle(themeContextElement);
|
|
62
|
-
const initialValue = computedStyle.getPropertyValue(THEME_STATE_PROPERTY);
|
|
63
|
-
const theme = resolveTheme(initialValue);
|
|
64
|
-
const inverseTheme = theme === 'dark' ? 'light' : 'dark';
|
|
65
|
-
targetElement.setAttribute('data-theme', inverseTheme);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Removes the inverse theme relationship between a target element and its theme context element.
|
|
70
|
-
* This function cleans up any observers and references created by setupInverseThemeAwareness.
|
|
71
|
-
* @param targetElement Element that has inverse theme
|
|
72
|
-
* @param themeContextElement Element that contains the theme context
|
|
73
|
-
*/
|
|
74
|
-
const stopInverseThemeAwareness = (targetElement, themeContextElement) => {
|
|
75
|
-
if (!themeContextElement || !targetElement)
|
|
76
|
-
return;
|
|
77
|
-
// Get the set of targets for this context
|
|
78
|
-
const targets = inverseThemeTargets.get(themeContextElement);
|
|
79
|
-
if (!targets || !targets.has(targetElement))
|
|
80
|
-
return;
|
|
81
|
-
// Remove the target from the set
|
|
82
|
-
targets.delete(targetElement);
|
|
83
|
-
// If no more targets for this context, clean up the observer
|
|
84
|
-
if (targets.size === 0) {
|
|
85
|
-
inverseThemeTargets.delete(themeContextElement);
|
|
86
|
-
const observer = contextObservers.get(themeContextElement);
|
|
87
|
-
if (observer) {
|
|
88
|
-
// Remove the observer (StyleObserver has no disconnect method, it auto-cleans)
|
|
89
|
-
contextObservers.delete(themeContextElement);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* Resolves theme based on CSS property value
|
|
95
|
-
* @param value - The value of the CSS property (should be 'light' or 'dark')
|
|
96
|
-
* @returns The resolved theme
|
|
97
|
-
*/
|
|
98
|
-
const resolveTheme = (value) => {
|
|
99
|
-
const trimmedValue = value === null || value === void 0 ? void 0 : value.trim();
|
|
100
|
-
if (trimmedValue === 'dark') {
|
|
101
|
-
return 'dark';
|
|
102
|
-
}
|
|
103
|
-
return 'light';
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
export { stopInverseThemeAwareness as a, setupInverseThemeAwareness as s };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-CTxpqopm.js';
|
|
2
|
-
export { s as setNonce } from './index-CTxpqopm.js';
|
|
3
|
-
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
|
-
|
|
5
|
-
/*
|
|
6
|
-
Stencil Client Patch Browser v4.37.1 | MIT Licensed | https://stenciljs.com
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
var patchBrowser = () => {
|
|
10
|
-
const importMeta = import.meta.url;
|
|
11
|
-
const opts = {};
|
|
12
|
-
if (importMeta !== "") {
|
|
13
|
-
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
14
|
-
}
|
|
15
|
-
return promiseResolve(opts);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
patchBrowser().then(async (options) => {
|
|
19
|
-
await globalScripts();
|
|
20
|
-
return bootstrapLazy(JSON.parse("[[\"r-pagination\",[[257,\"r-pagination\",{\"arrows\":[1028],\"totalResults\":[514,\"total-results\"],\"pageActive\":[1538,\"page-active\"],\"itemsPerPage\":[1026,\"items-per-page\"],\"itemsPerPageOptions\":[16,\"items-per-page-options\"],\"variant\":[1],\"resultsLine\":[1028,\"results-line\"],\"startText\":[1,\"start-text\"],\"middleText\":[1,\"middle-text\"],\"endText\":[1,\"end-text\"],\"selectText\":[1,\"select-text\"],\"listBoxPosition\":[1,\"list-box-position\"],\"previousPageButtonLabel\":[1,\"previous-page-button-label\"],\"nextPageButtonLabel\":[1,\"next-page-button-label\"],\"firstPageButtonLabel\":[1,\"first-page-button-label\"],\"lastPageButtonLabel\":[1,\"last-page-button-label\"],\"pageLabel\":[1,\"page-label\"],\"ellipsisLabel\":[1,\"ellipsis-label\"],\"itemsPerPageLabel\":[1,\"items-per-page-label\"],\"total\":[32],\"active\":[32],\"previous\":[32],\"next\":[32],\"first\":[32],\"last\":[32]}]]],[\"r-input-password\",[[257,\"r-input-password\",{\"form\":[1],\"novalidate\":[4],\"name\":[513],\"value\":[1537],\"placeholder\":[1],\"label\":[513],\"fieldIndicator\":[1,\"field-indicator\"],\"hint\":[1],\"fullWidth\":[516,\"full-width\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"maxlength\":[2],\"minlength\":[2],\"pattern\":[1],\"valueMissingMessage\":[1,\"value-missing-message\"],\"tooLongMessage\":[1,\"too-long-message\"],\"tooShortMessage\":[1,\"too-short-message\"],\"patternMismatchMessage\":[1,\"pattern-mismatch-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"showPasswordAriaLabel\":[1,\"show-password-aria-label\"],\"hidePasswordAriaLabel\":[1,\"hide-password-aria-label\"],\"shownPasswordMessage\":[1,\"shown-password-message\"],\"hiddenPasswordMessage\":[1,\"hidden-password-message\"],\"passwordrules\":[1],\"autocomplete\":[1],\"showed\":[32],\"validityState\":[32],\"validityMessage\":[32],\"passwordVisibilityTimer\":[32],\"toggleShow\":[64],\"showPassword\":[64],\"hidePassword\":[64],\"getValue\":[64],\"setValue\":[64],\"checkValidity\":[64]}]]],[\"r-alert\",[[257,\"r-alert\",{\"status\":[513],\"announced\":[516],\"leadingIcon\":[1,\"leading-icon\"],\"leadingIconSrc\":[1,\"leading-icon-src\"],\"leadingIconSize\":[1,\"leading-icon-size\"],\"leadingIconVisible\":[4,\"leading-icon-visible\"],\"trailingIcon\":[1,\"trailing-icon\"],\"trailingIconSrc\":[1,\"trailing-icon-src\"],\"trailingIconSize\":[1,\"trailing-icon-size\"],\"headline\":[1],\"content\":[1],\"href\":[1],\"linkText\":[1,\"link-text\"],\"target\":[1],\"delay\":[2],\"dismissButtonAriaLabel\":[1,\"dismiss-button-aria-label\"],\"delayTimer\":[32]}]]],[\"r-checkbox-group\",[[257,\"r-checkbox-group\",{\"form\":[1],\"name\":[1],\"value\":[1],\"required\":[516],\"valueMissingMessage\":[1,\"value-missing-message\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"customErrorMessage\":[1,\"custom-error-message\"],\"label\":[1],\"fieldIndicator\":[1,\"field-indicator\"],\"help\":[1],\"helpIcon\":[1,\"help-icon\"],\"helpIconColor\":[1,\"help-icon-color\"],\"hint\":[1],\"showSelectAll\":[516,\"show-select-all\"],\"novalidate\":[4],\"checked\":[4],\"indetermitate\":[4],\"indeterminate\":[32],\"allChecked\":[32],\"noChecked\":[32],\"validityState\":[32],\"validityMessage\":[32],\"checkValidity\":[64],\"resetValidity\":[64],\"checkAll\":[64],\"uncheckAll\":[64]},[[0,\"rChange\",\"handleCheckboxChange\"]]]]],[\"r-input-phone-number\",[[257,\"r-input-phone-number\",{\"value\":[513],\"form\":[1],\"novalidate\":[4],\"label\":[1],\"fieldIndicator\":[1,\"field-indicator\"],\"hint\":[1],\"name\":[1],\"inputLabel\":[1,\"input-label\"],\"countryCodeLabel\":[1,\"country-code-label\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"customErrorMessage\":[513,\"custom-error-message\"],\"valueMissingMessage\":[1,\"value-missing-message\"],\"fullWidth\":[516,\"full-width\"],\"fullPhoneNumber\":[32],\"phoneNumber\":[32],\"validityState\":[32],\"validityMessage\":[32],\"getValue\":[64],\"setValue\":[64],\"setCustomValidity\":[64],\"checkValidity\":[64],\"reportValidity\":[64],\"reset\":[64]},null,{\"value\":[\"watchValueChange\"],\"disabled\":[\"handleDisabledChange\"],\"required\":[\"handleRequiredChange\"],\"readonly\":[\"handleReadonlyChange\"],\"label\":[\"handleLabelChange\"]}]]],[\"r-toast\",[[257,\"r-toast\",{\"open\":[516],\"status\":[513],\"announced\":[516],\"leadingIcon\":[1,\"leading-icon\"],\"leadingIconVisible\":[4,\"leading-icon-visible\"],\"trailingIcon\":[1,\"trailing-icon\"],\"headline\":[513],\"href\":[1],\"action\":[1],\"target\":[1],\"delay\":[2],\"dismissMode\":[1,\"dismiss-mode\"],\"dismissLabel\":[1,\"dismiss-label\"],\"delayBeforeRemoval\":[2,\"delay-before-removal\"],\"isOpen\":[32],\"dismiss\":[64],\"reveal\":[64],\"hide\":[64],\"toggle\":[64],\"measureAndPrepareHeight\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"r-dialog\",[[257,\"r-dialog\",{\"open\":[4],\"returnValue\":[1,\"return-value\"],\"headline\":[1],\"bodyText\":[1,\"body-text\"],\"bodyHeight\":[1,\"body-height\"],\"size\":[513],\"closeAriaLabel\":[513,\"close-aria-label\"],\"isOpen\":[32],\"showModal\":[64],\"close\":[64],\"toggle\":[64]},[[9,\"mouseup\",\"onMouseup\"]],{\"open\":[\"handleOpenChange\"]}]]],[\"r-input-code\",[[257,\"r-input-code\",{\"form\":[1],\"name\":[1],\"length\":[2],\"disabled\":[516],\"novalidate\":[4],\"required\":[4],\"readonly\":[516],\"label\":[1],\"fieldIndicator\":[1,\"field-indicator\"],\"hint\":[1],\"invalid\":[1540],\"error\":[1],\"valid\":[1540],\"tooShortMessage\":[1,\"too-short-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"valueMissingMessage\":[1,\"value-missing-message\"],\"fullWidth\":[516,\"full-width\"],\"ariaCharacterLabel\":[1,\"aria-character-label\"],\"value\":[1537],\"inputmode\":[1],\"enterkeyhint\":[1],\"autocomplete\":[1],\"values\":[32],\"wasComplete\":[32],\"lastCompletedValue\":[32],\"validityState\":[32],\"validityMessage\":[32],\"getValue\":[64],\"reset\":[64],\"setValue\":[64],\"checkValidity\":[64],\"focusSegment\":[64],\"getSegmentValue\":[64],\"setSegmentValue\":[64]},null,{\"values\":[\"handleValuesChange\"],\"length\":[\"handleLengthChange\"]}]]],[\"r-input-date\",[[257,\"r-input-date\",{\"form\":[1],\"novalidate\":[4],\"name\":[513],\"format\":[1537],\"value\":[1537],\"label\":[513],\"fieldIndicator\":[1,\"field-indicator\"],\"hint\":[1],\"fullWidth\":[516,\"full-width\"],\"dayAriaLabel\":[513,\"day-aria-label\"],\"monthAriaLabel\":[513,\"month-aria-label\"],\"yearAriaLabel\":[513,\"year-aria-label\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"valueMissingMessage\":[1,\"value-missing-message\"],\"invalidDateMessage\":[1,\"invalid-date-message\"],\"min\":[513],\"max\":[513],\"rangeUnderflowMessage\":[1,\"range-underflow-message\"],\"rangeOverflowMessage\":[1,\"range-overflow-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"currentValues\":[32],\"delimiter\":[32],\"validityState\":[32],\"validityMessage\":[32],\"touched\":[32],\"dirty\":[32],\"getValue\":[64],\"setValue\":[64],\"getFormat\":[64],\"setFormat\":[64],\"isTouched\":[64],\"isDirty\":[64],\"markAsPristine\":[64],\"reset\":[64],\"checkValidity\":[64]},null,{\"format\":[\"handleFormatChange\"],\"value\":[\"handleValueChange\"]}]]],[\"r-popover\",[[257,\"r-popover\",{\"open\":[516],\"dismissMode\":[513,\"dismiss-mode\"],\"dismissAriaLabel\":[1,\"dismiss-aria-label\"],\"triggerAction\":[513,\"trigger-action\"],\"triggerAriaLabel\":[1,\"trigger-aria-label\"],\"vertical\":[1],\"horizontal\":[1],\"positionState\":[32],\"isOpen\":[32],\"show\":[64],\"hide\":[64],\"toggle\":[64],\"setFocus\":[64],\"setBlur\":[64]},[[8,\"keyup\",\"onKeyup\"],[9,\"resize\",\"onResize\"],[9,\"scroll\",\"onScroll\"]],{\"open\":[\"handleOpenChange\"],\"isOpen\":[\"watchOpen\"],\"horizontal\":[\"handlePreferredPositionChange\"],\"vertical\":[\"handlePreferredPositionChange\"]}]]],[\"r-radio-group\",[[257,\"r-radio-group\",{\"form\":[513],\"name\":[513],\"value\":[1537],\"novalidate\":[4],\"label\":[1],\"required\":[4],\"fieldIndicator\":[1,\"field-indicator\"],\"valueMissingMessage\":[1,\"value-missing-message\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"customErrorMessage\":[1,\"custom-error-message\"],\"hint\":[1],\"variant\":[513],\"autofocus\":[4],\"parentValue\":[1,\"parent-value\"],\"validityState\":[32],\"validityMessage\":[32],\"resetValidity\":[64],\"reset\":[64],\"setValue\":[64],\"getValue\":[64],\"clearValue\":[64],\"checkValidity\":[64],\"reportValidity\":[64],\"setCustomValidity\":[64],\"setFocus\":[64],\"setBlur\":[64]},[[0,\"rChange\",\"rChangeAction\"],[0,\"radioButtonClick\",\"radioButtonClickAction\"],[0,\"radioButtonKeydown\",\"radioButtonKeydownAction\"]]]]],[\"r-tabs-list\",[[257,\"r-tabs-list\",{\"variant\":[513],\"border\":[513],\"scrollLeftTooltip\":[1,\"scroll-left-tooltip\"],\"scrollRightTooltip\":[1,\"scroll-right-tooltip\"],\"scrollable\":[32],\"firstItemVisible\":[32],\"lastItemVisible\":[32]},[[0,\"tabChange\",\"tabChangeAction\"]]]]],[\"r-textarea\",[[257,\"r-textarea\",{\"form\":[1],\"novalidate\":[4],\"name\":[513],\"value\":[1537],\"placeholder\":[1],\"rows\":[2],\"cols\":[2],\"resize\":[513],\"disabled\":[4],\"readonly\":[516],\"hint\":[1],\"required\":[516],\"valueMissingMessage\":[1,\"value-missing-message\"],\"maxlength\":[2],\"showCounter\":[4,\"show-counter\"],\"characterLimitReachedMessage\":[1,\"character-limit-reached-message\"],\"tooLongMessage\":[1,\"too-long-message\"],\"minlength\":[2],\"tooShortMessage\":[1,\"too-short-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"label\":[1],\"fieldIndicator\":[1,\"field-indicator\"],\"validityState\":[32],\"validityMessage\":[32],\"setValue\":[64],\"getValue\":[64],\"reset\":[64],\"setFocus\":[64],\"setBlur\":[64],\"setSelectionRange\":[64],\"setRangeText\":[64],\"setCustomValidity\":[64],\"checkValidity\":[64],\"reportValidity\":[64]}]]],[\"r-panel\",[[257,\"r-panel\",{\"header\":[1],\"hasHeader\":[4,\"has-header\"],\"active\":[4],\"hasFooter\":[4,\"has-footer\"],\"variant\":[513],\"collapsed\":[4],\"logoLink\":[1,\"logo-link\"],\"labelCollapse\":[1,\"label-collapse\"],\"labelExpand\":[1,\"label-expand\"],\"currentLocation\":[32],\"isCollapsed\":[32],\"togglePanel\":[64],\"expandPanel\":[64],\"collapsePanel\":[64]},[[2,\"click\",\"toggleSubItems\"],[4,\"click\",\"handleDocumentClick\"]],{\"isCollapsed\":[\"handleCollapseChange\"],\"variant\":[\"watchVariant\"]}]]],[\"r-radio-button\",[[257,\"r-radio-button\",{\"form\":[513],\"name\":[1537],\"value\":[520],\"novalidate\":[4],\"invalid\":[516],\"required\":[516],\"disabled\":[516],\"autofocus\":[4],\"checked\":[1540],\"hint\":[1],\"error\":[1],\"description\":[1],\"icon\":[1],\"setFocus\":[64],\"setBlur\":[64],\"select\":[64]}]]],[\"r-stepper\",[[257,\"r-stepper\",{\"completed\":[514],\"completeSteps\":[514,\"complete-steps\"],\"total\":[2],\"label\":[513],\"completedStepsLabel\":[513,\"completed-steps-label\"]},[[9,\"resize\",\"onResize\"]],{\"completedStepsLabel\":[\"handleCompletedStepsLabelChange\"]}]]],[\"r-accordion-trigger\",[[257,\"r-accordion-trigger\",{\"panel\":[1],\"expanded\":[516],\"disabled\":[516],\"splitted\":[4]},null,{\"expanded\":[\"updateExpanded\"]}]]],[\"r-badge\",[[257,\"r-badge\",{\"variant\":[1],\"iconAriaLabel\":[1,\"icon-aria-label\"],\"iconVisible\":[4,\"icon-visible\"]}]]],[\"r-list-item\",[[257,\"r-list-item\",{\"headline\":[1],\"description\":[1],\"truncateDescription\":[4,\"truncate-description\"],\"leadingIcon\":[1,\"leading-icon\"],\"leadingIconSrc\":[1,\"leading-icon-src\"],\"hideLeadingIcon\":[4,\"hide-leading-icon\"],\"trailingIcon\":[1,\"trailing-icon\"],\"trailingIconSrc\":[1,\"trailing-icon-src\"],\"trailingText\":[1,\"trailing-text\"],\"alignment\":[513],\"divider\":[516],\"href\":[513],\"disabled\":[516],\"variant\":[513],\"expanded\":[1540],\"active\":[516],\"toggleSubitems\":[64]}]]],[\"r-tab\",[[257,\"r-tab\",{\"disabled\":[516],\"active\":[516],\"panelId\":[513,\"panel-id\"]}]]],[\"r-accordion\",[[257,\"r-accordion\",{\"multiple\":[516],\"size\":[513]}]]],[\"r-accordion-panel\",[[257,\"r-accordion-panel\",{\"trigger\":[1],\"expanded\":[516],\"disabled\":[516]}]]],[\"r-accordion-section\",[[257,\"r-accordion-section\",{\"disabled\":[1540],\"expanded\":[1540],\"headingAriaLevel\":[514,\"heading-aria-level\"],\"isExpanded\":[32]},[[0,\"rClickTrigger\",\"rClickTriggerAction\"],[0,\"rKeyupTrigger\",\"rKeyupTriggerAction\"]],{\"expanded\":[\"expandedAction\"]}]]],[\"r-design-system-devtools\",[[257,\"r-design-system-devtools\",{\"designTokens\":[4,\"design-tokens\"]}]]],[\"r-illustration\",[[257,\"r-illustration\",{\"name\":[513],\"width\":[513],\"theme\":[513],\"minWidth\":[1,\"min-width\"],\"maxWidth\":[1,\"max-width\"],\"svgTitle\":[1,\"svg-title\"],\"svgDescription\":[1,\"svg-description\"],\"errorMessage\":[1,\"error-message\"],\"emptyImageTitle\":[1,\"empty-image-title\"],\"emptyMarkerTitle\":[1,\"empty-marker-title\"],\"detectedTheme\":[32],\"error\":[32]}]]],[\"r-popover-action\",[[257,\"r-popover-action\",{\"setFocus\":[64],\"setBlur\":[64],\"getActiveElements\":[64]}]]],[\"r-popover-content\",[[257,\"r-popover-content\",{\"setFocus\":[64],\"setBlur\":[64],\"getActiveElements\":[64]}]]],[\"r-popover-headline\",[[257,\"r-popover-headline\"]]],[\"r-popover-trigger\",[[257,\"r-popover-trigger\",{\"setFocus\":[64],\"setBlur\":[64]}]]],[\"r-progress-bar\",[[257,\"r-progress-bar\",{\"progress\":[514],\"rAriaLabel\":[513,\"r-aria-label\"]}]]],[\"r-radio-button-description\",[[257,\"r-radio-button-description\"]]],[\"r-radio-button-leading\",[[257,\"r-radio-button-leading\"]]],[\"r-radio-button-title\",[[257,\"r-radio-button-title\"]]],[\"r-radio-button-trailing\",[[257,\"r-radio-button-trailing\"]]],[\"r-skip-link\",[[257,\"r-skip-link\",{\"position\":[513]}]]],[\"r-tab-panel\",[[257,\"r-tab-panel\",{\"active\":[516],\"tabId\":[513,\"tab-id\"]}]]],[\"r-tabs\",[[257,\"r-tabs\",{\"navigation\":[4],\"activeTab\":[32]},[[0,\"tabChange\",\"tabChangeAction\"],[0,\"moveTabFocus\",\"moveTabFocusAction\"]]]]],[\"r-toast-group\",[[257,\"r-toast-group\"]]],[\"r-icon\",[[257,\"r-icon\",{\"name\":[513],\"src\":[1],\"kit\":[1],\"size\":[513],\"viewBox\":[1,\"view-box\"],\"color\":[1],\"variant\":[513],\"iconAriaLabel\":[1,\"icon-aria-label\"]}]]],[\"r-select\",[[257,\"r-select\",{\"form\":[513],\"novalidate\":[4],\"name\":[513],\"value\":[513],\"label\":[513],\"internal\":[516],\"placeholder\":[513],\"hint\":[513],\"disabled\":[516],\"required\":[516],\"fieldIndicator\":[513,\"field-indicator\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[513],\"fullWidth\":[516,\"full-width\"],\"listboxPosition\":[1,\"listbox-position\"],\"valueMissingMessage\":[513,\"value-missing-message\"],\"customErrorMessage\":[513,\"custom-error-message\"],\"expanded\":[4],\"readonly\":[516],\"combobox\":[516],\"toggleButtonAriaLabel\":[1,\"toggle-button-aria-label\"],\"noResultsFound\":[1,\"no-results-found\"],\"listboxPositionState\":[32],\"validityState\":[32],\"validityMessage\":[32],\"isExpanded\":[32],\"isReadonly\":[32],\"currentValue\":[32],\"valueToDisplay\":[32],\"isInitializing\":[32],\"isResetting\":[32],\"focusedOption\":[32],\"isValueFocused\":[32],\"isNoResultsFound\":[32],\"touched\":[32],\"dirty\":[32],\"setReadonly\":[64],\"clearReadonly\":[64],\"setValue\":[64],\"getValue\":[64],\"reset\":[64],\"resetValidation\":[64],\"isTouched\":[64],\"isDirty\":[64],\"markAsPristine\":[64],\"checkValidity\":[64],\"reportValidity\":[64],\"setFocus\":[64],\"setBlur\":[64],\"expand\":[64],\"collapse\":[64],\"getFocusedOption\":[64],\"setFocusedOption\":[64]},[[0,\"optionClick\",\"optionSelectAction\"],[0,\"rTooltipFocus\",\"tooltipFocusAction\"],[9,\"mouseup\",\"onMouseup\"],[8,\"keyup\",\"onKeyup\"],[9,\"scroll\",\"handleScrolling\"],[9,\"resize\",\"handleResizing\"]],{\"listboxPosition\":[\"handleListboxPositionChange\"],\"expanded\":[\"handleExpandedChange\"],\"readonly\":[\"handleReadonlyChange\"],\"value\":[\"handleValueChange\"]}]]],[\"r-checkbox\",[[257,\"r-checkbox\",{\"form\":[1],\"novalidate\":[4],\"name\":[513],\"value\":[513],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"autofocus\":[4],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"required\":[516],\"valueMissingMessage\":[1,\"value-missing-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"validityState\":[32],\"validityMessage\":[32],\"touched\":[32],\"getValidityState\":[64],\"setFocus\":[64],\"setBlur\":[64],\"check\":[64],\"uncheck\":[64],\"toggleChecked\":[64],\"setIndeterminate\":[64],\"clearIndeterminate\":[64],\"checkValidity\":[64]},null,{\"checked\":[\"handleCheckedChange\"]}]]],[\"r-stepper-item\",[[257,\"r-stepper-item\",{\"complete\":[516],\"active\":[516],\"icon\":[513],\"number\":[514],\"stepNumber\":[514,\"step-number\"],\"label\":[513]}]]],[\"r-input\",[[257,\"r-input\",{\"form\":[1],\"novalidate\":[4],\"type\":[513],\"name\":[513],\"value\":[1537],\"placeholder\":[1],\"label\":[513],\"fieldIndicator\":[1,\"field-indicator\"],\"internal\":[516],\"hint\":[1],\"fullWidth\":[516,\"full-width\"],\"valid\":[1540],\"invalid\":[1540],\"error\":[1],\"disabled\":[516],\"required\":[516],\"maxlength\":[2],\"minlength\":[2],\"min\":[2],\"max\":[2],\"pattern\":[8],\"step\":[2],\"valueMissingMessage\":[1,\"value-missing-message\"],\"typeMismatchMessage\":[1,\"type-mismatch-message\"],\"patternMismatchMessage\":[1,\"pattern-mismatch-message\"],\"tooLongMessage\":[1,\"too-long-message\"],\"tooShortMessage\":[1,\"too-short-message\"],\"rangeOverflowMessage\":[1,\"range-overflow-message\"],\"rangeUnderflowMessage\":[1,\"range-underflow-message\"],\"stepMismatchMessage\":[1,\"step-mismatch-message\"],\"badInputMessage\":[1,\"bad-input-message\"],\"customErrorMessage\":[1,\"custom-error-message\"],\"autocomplete\":[1],\"enterkeyhint\":[1],\"spellcheck\":[1540],\"autocapitalize\":[1],\"passwordrules\":[1],\"autofocus\":[516],\"readonly\":[516],\"inputmode\":[1],\"validityMarker\":[516,\"validity-marker\"],\"validityState\":[32],\"validityMessage\":[32],\"touched\":[32],\"dirty\":[32],\"setFocus\":[64],\"setBlur\":[64],\"select\":[64],\"getSelectionStart\":[64],\"getSelectionEnd\":[64],\"setSelectionRange\":[64],\"getValue\":[64],\"setValue\":[64],\"checkValidity\":[64],\"isTouched\":[64],\"isDirty\":[64],\"markAsPristine\":[64]},null,{\"value\":[\"handleValueChange\"],\"type\":[\"handleTypeChange\"]}]]],[\"r-select-option\",[[257,\"r-select-option\",{\"disabled\":[516],\"selected\":[516],\"value\":[513],\"label\":[513],\"icon\":[1],\"iconSize\":[1,\"icon-size\"],\"iconColor\":[1,\"icon-color\"],\"iconPosition\":[513,\"icon-position\"],\"isFocused\":[32],\"isSelected\":[32],\"setFocus\":[64],\"setBlur\":[64],\"setSelected\":[64],\"clearSelected\":[64]}]]],[\"r-button\",[[257,\"r-button\",{\"form\":[1],\"type\":[513],\"rAriaLabel\":[513,\"r-aria-label\"],\"size\":[513],\"variant\":[513],\"expanded\":[516],\"disabled\":[516],\"icon\":[1],\"iconPosition\":[1,\"icon-position\"],\"href\":[1],\"target\":[1],\"rAriaCurrent\":[1,\"r-aria-current\"],\"triggerClick\":[64],\"setFocus\":[64],\"setBlur\":[64]},null,{\"icon\":[\"handleIconChange\"]}]]],[\"r-icon-button_2\",[[257,\"r-icon-button\",{\"label\":[1],\"name\":[513],\"size\":[513],\"tooltipPosition\":[1,\"tooltip-position\"],\"tooltipText\":[1,\"tooltip-text\"],\"disabled\":[516],\"variant\":[513],\"rTabindex\":[514,\"r-tabindex\"],\"triggerClick\":[64],\"setFocus\":[64],\"setBlur\":[64]}],[257,\"r-tooltip\",{\"text\":[513],\"position\":[513],\"positionState\":[32],\"arrowPositionState\":[32],\"isShown\":[32]},[[9,\"scroll\",\"handleScrolling\"],[9,\"resize\",\"handleResizing\"],[8,\"keydown\",\"handleKeydown\"]],{\"position\":[\"handleVerticalPosition\"]}]]],[\"r-hint_2\",[[257,\"r-label\",{\"fieldIndicator\":[513,\"field-indicator\"]}],[257,\"r-hint\",{\"invalid\":[516],\"variant\":[513],\"icon\":[1]}]]]]"), options);
|
|
21
|
-
});
|
package/dist/index.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './esm/index.js';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AccordionSize } from './exports';
|
|
2
|
-
/**
|
|
3
|
-
* An accordion represents a list of expandable/collapsable content sections with corresponding headers.
|
|
4
|
-
*
|
|
5
|
-
* By default, only one section can be expanded, which can be changed by setting the `multiple` attribute. Use accordions when a limited, additional amount of information needs to be shown within a page, or if there is a small space to show content.
|
|
6
|
-
*
|
|
7
|
-
* Each content section must be wrapped in a `<r-accordion-item>` elements.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* Example:
|
|
11
|
-
*
|
|
12
|
-
* ```
|
|
13
|
-
* <r-accordion>
|
|
14
|
-
* <r-accordion-item header="Economic health">
|
|
15
|
-
* <p>Economic health is a concept that …</p>
|
|
16
|
-
* </r-accordion-item>
|
|
17
|
-
* </r-accordion>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class Accordion {
|
|
21
|
-
host: HTMLRAccordionElement;
|
|
22
|
-
/** Whether to allow multiple accordion items to be expanded at once */
|
|
23
|
-
multiple?: boolean;
|
|
24
|
-
/** Defines the size of an accordion UI. */
|
|
25
|
-
size: AccordionSize;
|
|
26
|
-
render(): any;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class AccordionPanel {
|
|
2
|
-
host: HTMLRAccordionPanelElement;
|
|
3
|
-
/** Id of the trigger that controls this panel. */
|
|
4
|
-
trigger?: string;
|
|
5
|
-
/** Indication of the panel expanded state. */
|
|
6
|
-
expanded?: boolean;
|
|
7
|
-
/** Indication of the panel disabled state. */
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
render(): any;
|
|
10
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class AccordionSection {
|
|
3
|
-
host: HTMLRAccordionSectionElement;
|
|
4
|
-
/** Indicates if `<r-accordion-section>` is disabled */
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
/** Indicates if `<r-accordion-expanded>` is expanded */
|
|
7
|
-
expanded?: boolean;
|
|
8
|
-
/** Defines heading level for accordion header */
|
|
9
|
-
headingAriaLevel: number;
|
|
10
|
-
isExpanded: boolean;
|
|
11
|
-
private get hasExpandedChild();
|
|
12
|
-
rClickTriggerAction(): void;
|
|
13
|
-
rKeyupTriggerAction(): void;
|
|
14
|
-
/** Emit click on trigger */
|
|
15
|
-
rChangeExpanded: EventEmitter<{
|
|
16
|
-
element: HTMLRAccordionSectionElement;
|
|
17
|
-
expanded: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
private uniqueId;
|
|
20
|
-
private get accordionElement();
|
|
21
|
-
private get triggerElement();
|
|
22
|
-
private get panelElement();
|
|
23
|
-
get hasTrigger(): boolean;
|
|
24
|
-
get hasPanel(): boolean;
|
|
25
|
-
get complete(): boolean;
|
|
26
|
-
private _checkStructure;
|
|
27
|
-
private _linkElements;
|
|
28
|
-
private _checkDisabled;
|
|
29
|
-
private _checkExpanded;
|
|
30
|
-
private _resetExpanded;
|
|
31
|
-
private _switchExpanded;
|
|
32
|
-
private _updateProp;
|
|
33
|
-
expandedAction(): void;
|
|
34
|
-
componentWillLoad(): void;
|
|
35
|
-
render(): any;
|
|
36
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
export declare class AccordionTrigger {
|
|
3
|
-
/** Current element */
|
|
4
|
-
host: HTMLRAccordionTriggerElement;
|
|
5
|
-
/** Id of the panel this trigger controls. */
|
|
6
|
-
panel: string;
|
|
7
|
-
/** Indication of the controlled panel revelation. */
|
|
8
|
-
expanded?: boolean;
|
|
9
|
-
/** Controls disabled state */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Controls if expanded and collapsed icons are not the same */
|
|
12
|
-
splitted?: boolean;
|
|
13
|
-
/** Emit click on trigger */
|
|
14
|
-
rClickTrigger: EventEmitter<{
|
|
15
|
-
element: HTMLRAccordionTriggerElement;
|
|
16
|
-
panelId: string;
|
|
17
|
-
expanded: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
/** Emit keyup on trigger */
|
|
20
|
-
rKeyupTrigger: EventEmitter<{
|
|
21
|
-
element: HTMLRAccordionTriggerElement;
|
|
22
|
-
panelId: string;
|
|
23
|
-
expanded: boolean;
|
|
24
|
-
}>;
|
|
25
|
-
private handleClick;
|
|
26
|
-
private handleKeyup;
|
|
27
|
-
private handleKeydown;
|
|
28
|
-
private get hasPanel();
|
|
29
|
-
private get nameAddition();
|
|
30
|
-
private _replaceSlotName;
|
|
31
|
-
updateExpanded(): void;
|
|
32
|
-
render(): any;
|
|
33
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { AlertStatus, AlertTarget } from './exports';
|
|
3
|
-
import { IconName, IconSize } from '../icon/exports';
|
|
4
|
-
export declare class Alert {
|
|
5
|
-
host: HTMLRAlertElement;
|
|
6
|
-
/** Alert status controls apperance according to the status */
|
|
7
|
-
status: AlertStatus;
|
|
8
|
-
/** Sets role="alert" and will be announced to screen reader users */
|
|
9
|
-
announced: boolean;
|
|
10
|
-
/** Defines an icon to be presented in trailing slot */
|
|
11
|
-
leadingIcon?: IconName;
|
|
12
|
-
/** Defines an icon source to be presented in leading slot */
|
|
13
|
-
leadingIconSrc?: string;
|
|
14
|
-
/** Defines an icon size to be presented in leading slot*/
|
|
15
|
-
leadingIconSize: IconSize;
|
|
16
|
-
/**
|
|
17
|
-
* Defines whether the leading icon is visible.
|
|
18
|
-
* @default true
|
|
19
|
-
* */
|
|
20
|
-
leadingIconVisible: boolean;
|
|
21
|
-
/** Defines an icon to be presented in trailing slot */
|
|
22
|
-
trailingIcon?: IconName;
|
|
23
|
-
/** Defines an icon source to be presented in trailing slot */
|
|
24
|
-
trailingIconSrc?: string;
|
|
25
|
-
/** Defines an icon size to be presented in trailing slot*/
|
|
26
|
-
trailingIconSize: IconSize;
|
|
27
|
-
/** Defines headline text of the alert */
|
|
28
|
-
headline?: string;
|
|
29
|
-
/** Defines content text of the alert */
|
|
30
|
-
content?: string;
|
|
31
|
-
/** Defines href of the alert link */
|
|
32
|
-
href?: string;
|
|
33
|
-
/** Defines link label text of the alert */
|
|
34
|
-
linkText?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Defines the target for the linked URL when `href` is provided.
|
|
37
|
-
* Options: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
|
38
|
-
*/
|
|
39
|
-
target: AlertTarget;
|
|
40
|
-
/** Provide an amount of seconds before alert collapses */
|
|
41
|
-
delay?: number;
|
|
42
|
-
/** Text content for an alert dismiss button */
|
|
43
|
-
dismissButtonAriaLabel: string;
|
|
44
|
-
delayTimer: any;
|
|
45
|
-
/** Emit click on trigger */
|
|
46
|
-
rClickAlertTrailingIcon: EventEmitter;
|
|
47
|
-
private isElContent;
|
|
48
|
-
private get isLeadingSlot();
|
|
49
|
-
private get isLeading();
|
|
50
|
-
private get isTrailingIcon();
|
|
51
|
-
private get isTrailingSlot();
|
|
52
|
-
private get isTrailing();
|
|
53
|
-
private get isHeadline();
|
|
54
|
-
private get isContent();
|
|
55
|
-
private get isLink();
|
|
56
|
-
private get isSlot();
|
|
57
|
-
private get isMain();
|
|
58
|
-
private get isDelay();
|
|
59
|
-
private get headlineSlotContent();
|
|
60
|
-
private get hasHeadlineContent();
|
|
61
|
-
private get statusBasedLeadingIconName();
|
|
62
|
-
private collapseAlert;
|
|
63
|
-
private startCollapseTimer;
|
|
64
|
-
private handleTrailingButtonClick;
|
|
65
|
-
componentDidLoad(): void;
|
|
66
|
-
render(): any;
|
|
67
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const alertStatusArray: readonly ["info", "warning", "error"];
|
|
2
|
-
export declare const alertTargetArray: readonly ["_blank", "_self", "_parent", "_top"];
|
|
3
|
-
export type AlertStatus = typeof alertStatusArray[number];
|
|
4
|
-
export type AlertTarget = typeof alertTargetArray[number];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BadgeVariant } from './exports';
|
|
2
|
-
/**
|
|
3
|
-
* Informational element used to indicate the status of an object or action.
|
|
4
|
-
*/
|
|
5
|
-
export declare class RBadge {
|
|
6
|
-
/**
|
|
7
|
-
* Variant defines how the component will be presented in UI,
|
|
8
|
-
* optional.
|
|
9
|
-
* @default "information"
|
|
10
|
-
* */
|
|
11
|
-
variant?: BadgeVariant;
|
|
12
|
-
/**
|
|
13
|
-
* Defines an accessible name for the icon
|
|
14
|
-
* */
|
|
15
|
-
iconAriaLabel?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Defines if badge icon should be visible
|
|
18
|
-
* @default false
|
|
19
|
-
* */
|
|
20
|
-
iconVisible?: boolean;
|
|
21
|
-
private get iconName();
|
|
22
|
-
render(): any;
|
|
23
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { IconName, IconPosition } from '../icon/exports';
|
|
3
|
-
import { ButtonAriaCurrent, ButtonSize, ButtonTarget, ButtonType, ButtonVariant } from './exports';
|
|
4
|
-
/**
|
|
5
|
-
* A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
|
|
6
|
-
* [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare class Button {
|
|
10
|
-
host: HTMLRButtonElement;
|
|
11
|
-
/**
|
|
12
|
-
* Reference form element id with which the button is associated.
|
|
13
|
-
*/
|
|
14
|
-
form?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Button behavior, corresponding to
|
|
17
|
-
* [native `type` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)
|
|
18
|
-
*/
|
|
19
|
-
type: ButtonType;
|
|
20
|
-
/**
|
|
21
|
-
* Sets string value for `aria-label` attribute
|
|
22
|
-
* (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label)
|
|
23
|
-
*/
|
|
24
|
-
rAriaLabel: string;
|
|
25
|
-
/** Visual size */
|
|
26
|
-
size: ButtonSize;
|
|
27
|
-
/** Presentational style */
|
|
28
|
-
variant: ButtonVariant;
|
|
29
|
-
/**
|
|
30
|
-
* Whether to present as a full-width (100%) button.
|
|
31
|
-
*
|
|
32
|
-
* Only primary and secondary buttons can be expanded.
|
|
33
|
-
*/
|
|
34
|
-
expanded?: boolean;
|
|
35
|
-
/** Prevents user interaction and applies disabled style */
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
/** Name of an icon to display within button. */
|
|
38
|
-
icon?: IconName;
|
|
39
|
-
/** Position of an icon within button.
|
|
40
|
-
* Only use it when 'icon' is specified.
|
|
41
|
-
* */
|
|
42
|
-
iconPosition: IconPosition;
|
|
43
|
-
/**
|
|
44
|
-
* URL or a URL fragment that the hyperlink points to.
|
|
45
|
-
* If the property is set, an anchor tag will be rendered.
|
|
46
|
-
*/
|
|
47
|
-
href?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Specifies where to display the linked URL.
|
|
50
|
-
* Only applies when an `href` is provided.
|
|
51
|
-
* Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
|
|
52
|
-
*/
|
|
53
|
-
target?: ButtonTarget;
|
|
54
|
-
/**
|
|
55
|
-
* Indicates the current item within a set of related elements.
|
|
56
|
-
* Corresponds to
|
|
57
|
-
* [native `aria-current` attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)
|
|
58
|
-
*/
|
|
59
|
-
rAriaCurrent?: ButtonAriaCurrent;
|
|
60
|
-
/** Emits `rClick` event on click and keyup */
|
|
61
|
-
rClick: EventEmitter;
|
|
62
|
-
handleIconChange(): void;
|
|
63
|
-
/** Reference to the native button */
|
|
64
|
-
private nativeElement?;
|
|
65
|
-
/** Simulate a button click */
|
|
66
|
-
triggerClick(): Promise<void>;
|
|
67
|
-
/** Set focus on the button */
|
|
68
|
-
setFocus(): Promise<void>;
|
|
69
|
-
/** Remove focus from the button */
|
|
70
|
-
setBlur(): Promise<void>;
|
|
71
|
-
get hasText(): boolean;
|
|
72
|
-
get hasIcon(): boolean;
|
|
73
|
-
get isIconOnly(): boolean;
|
|
74
|
-
get isLink(): boolean;
|
|
75
|
-
private _activateTmpButton;
|
|
76
|
-
private get hasShadowDom();
|
|
77
|
-
private get formEl();
|
|
78
|
-
private get isResetOrSubmit();
|
|
79
|
-
private get hasIconSlot();
|
|
80
|
-
private get ariaCurrentValue();
|
|
81
|
-
/**
|
|
82
|
-
* Handles button action based on its type attribute
|
|
83
|
-
* @param {Event} event event<Event> from onClick on the component
|
|
84
|
-
*/
|
|
85
|
-
private handleClick;
|
|
86
|
-
private handleSlotChange;
|
|
87
|
-
componentDidLoad(): void;
|
|
88
|
-
render(): any;
|
|
89
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const buttonTypeArray: readonly ["button", "submit", "reset"];
|
|
2
|
-
export declare const buttonVariantArray: readonly ["primary", "secondary", "text", "text-inline", "blank"];
|
|
3
|
-
export declare const buttonSizeArray: readonly ["large", "small"];
|
|
4
|
-
export declare const buttonTargetArray: readonly ["_blank", "_self", "_parent", "_top"];
|
|
5
|
-
export declare const buttonAriaCurrentArray: readonly ["true", "false", "page", "step", "location", "date", "time"];
|
|
6
|
-
export type ButtonType = typeof buttonTypeArray[number];
|
|
7
|
-
export type ButtonVariant = typeof buttonVariantArray[number];
|
|
8
|
-
export type ButtonSize = typeof buttonSizeArray[number];
|
|
9
|
-
export type ButtonTarget = typeof buttonTargetArray[number];
|
|
10
|
-
export type ButtonAriaCurrent = typeof buttonAriaCurrentArray[number];
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
/**
|
|
3
|
-
* Checkboxes allow users to select none, one, or multiple items from a list.
|
|
4
|
-
*
|
|
5
|
-
* Overall behavior is based on native `<input type="checkbox">`
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export declare class Checkbox {
|
|
9
|
-
/** Host DOM element */
|
|
10
|
-
host: HTMLRCheckboxElement;
|
|
11
|
-
/** Specifies the `id` of the `<form>` to which the element belongs */
|
|
12
|
-
form?: string;
|
|
13
|
-
/** Specifies if element must be ignored during validation of the form elements */
|
|
14
|
-
novalidate?: boolean;
|
|
15
|
-
/** Name of element (data) within a form */
|
|
16
|
-
name?: string;
|
|
17
|
-
/** Value of element data within a form */
|
|
18
|
-
value?: string;
|
|
19
|
-
/** Pass initial checked state */
|
|
20
|
-
checked?: boolean;
|
|
21
|
-
/** Visually present checkbox in indeterminate state (neither checked nor unchecked) */
|
|
22
|
-
indeterminate?: boolean;
|
|
23
|
-
/** Prevent user interaction and apply disabled style */
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/** Automatically focus the checkbox when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior. */
|
|
26
|
-
autofocus?: boolean;
|
|
27
|
-
/** Indicate that validation is successful */
|
|
28
|
-
valid?: boolean;
|
|
29
|
-
/** Indicate that validation has failed */
|
|
30
|
-
invalid?: boolean;
|
|
31
|
-
/** Custom validation error message */
|
|
32
|
-
error?: string;
|
|
33
|
-
/** Specifies if checkbox must be checked */
|
|
34
|
-
required?: boolean;
|
|
35
|
-
/** Set custom message for `valueMissing` property of a ValidityState object (set by `required`) within Constrain Validation API */
|
|
36
|
-
valueMissingMessage?: string;
|
|
37
|
-
/** Set custom message for `customError` property of a ValidityState object indicating whether the element's custom validity message has been set to a non-empty string by calling the element's setCustomValidity() method. */
|
|
38
|
-
customErrorMessage?: string;
|
|
39
|
-
validityState: string;
|
|
40
|
-
validityMessage: string;
|
|
41
|
-
touched: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Emit custom `rChange` event when checkbox onChange event emitted.
|
|
44
|
-
* Emitted `event.details` contain checkbox value and checked state.
|
|
45
|
-
* */
|
|
46
|
-
rChange: EventEmitter<{
|
|
47
|
-
element: HTMLRCheckboxElement;
|
|
48
|
-
value: any;
|
|
49
|
-
checked: boolean;
|
|
50
|
-
}>;
|
|
51
|
-
/** Emits `rReset` when component was reset to initial state by form reset */
|
|
52
|
-
rReset: EventEmitter<{
|
|
53
|
-
element: HTMLRCheckboxElement;
|
|
54
|
-
value: any;
|
|
55
|
-
checked: boolean;
|
|
56
|
-
}>;
|
|
57
|
-
/** Emits event after each validation */
|
|
58
|
-
rValidate: EventEmitter<{
|
|
59
|
-
state: string;
|
|
60
|
-
message: string;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Asynchronously retrieves the validity state of the checkbox.
|
|
64
|
-
*
|
|
65
|
-
* This method updates the internal validity state and message by calling `getValidityStateData`
|
|
66
|
-
* with the native element, and then returns an object containing the current validity state and message.
|
|
67
|
-
*
|
|
68
|
-
* @returns A promise that resolves to an object containing the validity state and message.
|
|
69
|
-
* The object has two properties:
|
|
70
|
-
* - `state`: A string representing the validity state.
|
|
71
|
-
* - `message`: A string containing the validity message.
|
|
72
|
-
*/
|
|
73
|
-
getValidityState(): Promise<{
|
|
74
|
-
state: string;
|
|
75
|
-
message: string;
|
|
76
|
-
}>;
|
|
77
|
-
/**
|
|
78
|
-
* Sets focus on the checkbox element.
|
|
79
|
-
*/
|
|
80
|
-
setFocus(): Promise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* Removes focus from the checkbox element.
|
|
83
|
-
*/
|
|
84
|
-
setBlur(): Promise<void>;
|
|
85
|
-
/**
|
|
86
|
-
* Checks the checkbox element.
|
|
87
|
-
*/
|
|
88
|
-
check(): Promise<void>;
|
|
89
|
-
/**
|
|
90
|
-
* Unchecks the checkbox element.
|
|
91
|
-
*/
|
|
92
|
-
uncheck(): Promise<void>;
|
|
93
|
-
/**
|
|
94
|
-
* Toggles the checked state of the checkbox element.
|
|
95
|
-
*/
|
|
96
|
-
toggleChecked(): Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* Sets the indeterminate state of the checkbox element.
|
|
99
|
-
*/
|
|
100
|
-
setIndeterminate(): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* Sets the indeterminate state of the checkbox element.
|
|
103
|
-
*/
|
|
104
|
-
clearIndeterminate(): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Validates the checkbox without triggering UI and returns a boolean indicating its validity.
|
|
107
|
-
* @returns A boolean indicating whether the checkbox is valid.
|
|
108
|
-
*/
|
|
109
|
-
checkValidity(): Promise<boolean>;
|
|
110
|
-
private initial;
|
|
111
|
-
private nativeElement?;
|
|
112
|
-
private uniqueId;
|
|
113
|
-
handleCheckedChange(): Promise<void>;
|
|
114
|
-
/** Identify wrapping form element */
|
|
115
|
-
private get parentFormEl();
|
|
116
|
-
/** Determine whether this element should be ignored during Constraint Validation API validation. */
|
|
117
|
-
private get isNoValidate();
|
|
118
|
-
private get hasErrorMessage();
|
|
119
|
-
private get hasCustomErrorMessage();
|
|
120
|
-
private get hasValidationError();
|
|
121
|
-
private get hasInvalidMessage();
|
|
122
|
-
private getValidityStateData;
|
|
123
|
-
private validateFormElement;
|
|
124
|
-
private handleClick;
|
|
125
|
-
private onSubmitForm;
|
|
126
|
-
private onResetForm;
|
|
127
|
-
private contributeToFormData;
|
|
128
|
-
private connectFormEventListeners;
|
|
129
|
-
private disconnectFormEventListeners;
|
|
130
|
-
private applyAutofocus;
|
|
131
|
-
componentWillLoad(): void;
|
|
132
|
-
componentDidLoad(): void;
|
|
133
|
-
connectedCallback(): void;
|
|
134
|
-
disconnectedCallback(): void;
|
|
135
|
-
render(): any;
|
|
136
|
-
}
|