@riverty/web-components 6.2.1 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +78 -0
- package/custom-elements.json +4 -0
- package/package.json +3 -2
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/focusable-Oll_rmtP.js +0 -28
- package/dist/cjs/formData-B2DZyLxP.js +0 -44
- package/dist/cjs/index-BnETQtSf.js +0 -1834
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/r-accordion-panel.cjs.entry.js +0 -24
- package/dist/cjs/r-accordion-section.cjs.entry.js +0 -125
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +0 -93
- package/dist/cjs/r-accordion.cjs.entry.js +0 -20
- package/dist/cjs/r-alert.cjs.entry.js +0 -146
- package/dist/cjs/r-badge.cjs.entry.js +0 -40
- package/dist/cjs/r-button.cjs.entry.js +0 -149
- package/dist/cjs/r-checkbox-group.cjs.entry.js +0 -232
- package/dist/cjs/r-checkbox.cjs.entry.js +0 -269
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +0 -31
- package/dist/cjs/r-dialog.cjs.entry.js +0 -107
- package/dist/cjs/r-hint_2.cjs.entry.js +0 -50
- package/dist/cjs/r-icon-button_2.cjs.entry.js +0 -467
- package/dist/cjs/r-icon.cjs.entry.js +0 -284
- package/dist/cjs/r-illustration.cjs.entry.js +0 -396
- package/dist/cjs/r-input-code.cjs.entry.js +0 -432
- package/dist/cjs/r-input-date.cjs.entry.js +0 -519
- package/dist/cjs/r-input-password.cjs.entry.js +0 -265
- package/dist/cjs/r-input-phone-number.cjs.entry.js +0 -2525
- package/dist/cjs/r-input.cjs.entry.js +0 -402
- package/dist/cjs/r-list-item.cjs.entry.js +0 -109
- package/dist/cjs/r-pagination.cjs.entry.js +0 -314
- package/dist/cjs/r-panel.cjs.entry.js +0 -184
- package/dist/cjs/r-popover-action.cjs.entry.js +0 -80
- package/dist/cjs/r-popover-content.cjs.entry.js +0 -62
- package/dist/cjs/r-popover-headline.cjs.entry.js +0 -28
- package/dist/cjs/r-popover-trigger.cjs.entry.js +0 -70
- package/dist/cjs/r-popover.cjs.entry.js +0 -347
- package/dist/cjs/r-progress-bar.cjs.entry.js +0 -25
- package/dist/cjs/r-radio-button-description.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-title.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +0 -18
- package/dist/cjs/r-radio-button.cjs.entry.js +0 -139
- package/dist/cjs/r-radio-group.cjs.entry.js +0 -425
- package/dist/cjs/r-select-option.cjs.entry.js +0 -130
- package/dist/cjs/r-select.cjs.entry.js +0 -1101
- package/dist/cjs/r-skip-link.cjs.entry.js +0 -19
- package/dist/cjs/r-stepper-item.cjs.entry.js +0 -42
- package/dist/cjs/r-stepper.cjs.entry.js +0 -99
- package/dist/cjs/r-tab-panel.cjs.entry.js +0 -26
- package/dist/cjs/r-tab.cjs.entry.js +0 -62
- package/dist/cjs/r-tabs-list.cjs.entry.js +0 -175
- package/dist/cjs/r-tabs.cjs.entry.js +0 -277
- package/dist/cjs/r-textarea.cjs.entry.js +0 -270
- package/dist/cjs/r-toast-group.cjs.entry.js +0 -46
- package/dist/cjs/r-toast.cjs.entry.js +0 -306
- package/dist/cjs/style-observer-D9zSP9wP.js +0 -1118
- package/dist/cjs/theming-NqxjhVJS.js +0 -109
- package/dist/cjs/web-components.cjs.js +0 -25
- package/dist/collection/collection-manifest.json +0 -60
- package/dist/collection/components/accordion/accordion.css +0 -24
- package/dist/collection/components/accordion/accordion.js +0 -90
- package/dist/collection/components/accordion/exports.js +0 -1
- package/dist/collection/components/accordion-panel/accordion-panel.css +0 -50
- package/dist/collection/components/accordion-panel/accordion-panel.js +0 -86
- package/dist/collection/components/accordion-section/accordion-section.css +0 -27
- package/dist/collection/components/accordion-section/accordion-section.js +0 -235
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -93
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +0 -220
- package/dist/collection/components/alert/alert.css +0 -119
- package/dist/collection/components/alert/alert.js +0 -526
- package/dist/collection/components/alert/exports.js +0 -2
- package/dist/collection/components/badge/badge.css +0 -52
- package/dist/collection/components/badge/badge.js +0 -120
- package/dist/collection/components/badge/exports.js +0 -1
- package/dist/collection/components/button/button.css +0 -180
- package/dist/collection/components/button/button.js +0 -510
- package/dist/collection/components/button/exports.js +0 -5
- package/dist/collection/components/checkbox/checkbox.css +0 -116
- package/dist/collection/components/checkbox/checkbox.js +0 -777
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -48
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -718
- package/dist/collection/components/design-system-devtools/design-system-devtools.js +0 -59
- package/dist/collection/components/dialog/dialog.css +0 -125
- package/dist/collection/components/dialog/dialog.js +0 -345
- package/dist/collection/components/dialog/exports.js +0 -9
- package/dist/collection/components/hint/exports.js +0 -1
- package/dist/collection/components/hint/hint.css +0 -63
- package/dist/collection/components/hint/hint.js +0 -114
- package/dist/collection/components/icon/all-kit.js +0 -2
- package/dist/collection/components/icon/data.js +0 -90
- package/dist/collection/components/icon/exports.js +0 -7
- package/dist/collection/components/icon/icon.css +0 -105
- package/dist/collection/components/icon/icon.js +0 -379
- package/dist/collection/components/icon/riverty-kit.js +0 -2
- package/dist/collection/components/icon-button/icon-button.css +0 -105
- package/dist/collection/components/icon-button/icon-button.js +0 -343
- package/dist/collection/components/illustration/data.js +0 -112
- package/dist/collection/components/illustration/exports.js +0 -3
- package/dist/collection/components/illustration/illustration.css +0 -52
- package/dist/collection/components/illustration/illustration.js +0 -540
- package/dist/collection/components/illustration/illustrations-ui-kit.js +0 -2
- package/dist/collection/components/input/exports.js +0 -16
- package/dist/collection/components/input/input.css +0 -180
- package/dist/collection/components/input/input.js +0 -1572
- package/dist/collection/components/input-code/exports.js +0 -2
- package/dist/collection/components/input-code/input-code.css +0 -127
- package/dist/collection/components/input-code/input-code.js +0 -1139
- package/dist/collection/components/input-date/exports.js +0 -1
- package/dist/collection/components/input-date/input-date.css +0 -148
- package/dist/collection/components/input-date/input-date.js +0 -1228
- package/dist/collection/components/input-password/exports.js +0 -1
- package/dist/collection/components/input-password/input-password.css +0 -25
- package/dist/collection/components/input-password/input-password.js +0 -1051
- package/dist/collection/components/input-phone-number/input-phone-number.css +0 -61
- package/dist/collection/components/input-phone-number/input-phone-number.js +0 -874
- package/dist/collection/components/label/label.css +0 -38
- package/dist/collection/components/label/label.js +0 -47
- package/dist/collection/components/list-item/list-item/exports.js +0 -2
- package/dist/collection/components/list-item/list-item/list-item.css +0 -199
- package/dist/collection/components/list-item/list-item/list-item.js +0 -467
- package/dist/collection/components/pagination/exports.js +0 -3
- package/dist/collection/components/pagination/pagination.css +0 -118
- package/dist/collection/components/pagination/pagination.js +0 -799
- package/dist/collection/components/panel/exports.js +0 -1
- package/dist/collection/components/panel/panel.css +0 -192
- package/dist/collection/components/panel/panel.js +0 -473
- package/dist/collection/components/popover/exports.js +0 -3
- package/dist/collection/components/popover/popover.css +0 -251
- package/dist/collection/components/popover/popover.js +0 -741
- package/dist/collection/components/popover-action/popover-action.css +0 -21
- package/dist/collection/components/popover-action/popover-action.js +0 -150
- package/dist/collection/components/popover-content/popover-content.css +0 -9
- package/dist/collection/components/popover-content/popover-content.js +0 -130
- package/dist/collection/components/popover-headline/popover-headline.css +0 -7
- package/dist/collection/components/popover-headline/popover-headline.js +0 -28
- package/dist/collection/components/popover-trigger/exports.js +0 -1
- package/dist/collection/components/popover-trigger/popover-trigger.css +0 -4
- package/dist/collection/components/popover-trigger/popover-trigger.js +0 -163
- package/dist/collection/components/progress-bar/progress-bar.css +0 -41
- package/dist/collection/components/progress-bar/progress-bar.js +0 -71
- package/dist/collection/components/radio-button/radio-button.css +0 -126
- package/dist/collection/components/radio-button/radio-button.js +0 -559
- package/dist/collection/components/radio-button-description/radio-button-description.css +0 -5
- package/dist/collection/components/radio-button-description/radio-button-description.js +0 -22
- package/dist/collection/components/radio-button-leading/radio-button-leading.css +0 -3
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +0 -22
- package/dist/collection/components/radio-button-title/radio-button-title.css +0 -8
- package/dist/collection/components/radio-button-title/radio-button-title.js +0 -22
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +0 -6
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +0 -22
- package/dist/collection/components/radio-group/exports.js +0 -1
- package/dist/collection/components/radio-group/radio-group.css +0 -65
- package/dist/collection/components/radio-group/radio-group.js +0 -1020
- package/dist/collection/components/select/exports.js +0 -1
- package/dist/collection/components/select/select.css +0 -247
- package/dist/collection/components/select/select.js +0 -2011
- package/dist/collection/components/select-option/select-option.css +0 -93
- package/dist/collection/components/select-option/select-option.js +0 -459
- package/dist/collection/components/skip-link/exports.js +0 -1
- package/dist/collection/components/skip-link/skip-link.css +0 -37
- package/dist/collection/components/skip-link/skip-link.js +0 -52
- package/dist/collection/components/stepper/stepper.css +0 -25
- package/dist/collection/components/stepper/stepper.js +0 -216
- package/dist/collection/components/stepper-item/stepper-item.css +0 -62
- package/dist/collection/components/stepper-item/stepper-item.js +0 -171
- package/dist/collection/components/tab/tab.css +0 -81
- package/dist/collection/components/tab/tab.js +0 -169
- package/dist/collection/components/tab-panel/tab-panel.css +0 -19
- package/dist/collection/components/tab-panel/tab-panel.js +0 -72
- package/dist/collection/components/tabs/tabs.css +0 -4
- package/dist/collection/components/tabs/tabs.js +0 -345
- package/dist/collection/components/tabs-list/exports.js +0 -2
- package/dist/collection/components/tabs-list/tabs-list.css +0 -58
- package/dist/collection/components/tabs-list/tabs-list.js +0 -294
- package/dist/collection/components/textarea/exports.js +0 -8
- package/dist/collection/components/textarea/textarea.css +0 -148
- package/dist/collection/components/textarea/textarea.js +0 -1055
- package/dist/collection/components/toast/exports.js +0 -3
- package/dist/collection/components/toast/toast.css +0 -179
- package/dist/collection/components/toast/toast.js +0 -812
- package/dist/collection/components/toast-group/exports.js +0 -1
- package/dist/collection/components/toast-group/toast-group.css +0 -37
- package/dist/collection/components/toast-group/toast-group.js +0 -49
- package/dist/collection/components/tooltip/exports.js +0 -3
- package/dist/collection/components/tooltip/tooltip.css +0 -106
- package/dist/collection/components/tooltip/tooltip.js +0 -500
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/focusable.js +0 -24
- package/dist/collection/utils/formData.js +0 -40
- package/dist/collection/utils/theming.js +0 -103
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/focusable-ky1yonnS.js +0 -26
- package/dist/esm/formData-DvLT8-y3.js +0 -42
- package/dist/esm/index-CTxpqopm.js +0 -1806
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/r-accordion-panel.entry.js +0 -22
- package/dist/esm/r-accordion-section.entry.js +0 -123
- package/dist/esm/r-accordion-trigger.entry.js +0 -91
- package/dist/esm/r-accordion.entry.js +0 -18
- package/dist/esm/r-alert.entry.js +0 -144
- package/dist/esm/r-badge.entry.js +0 -38
- package/dist/esm/r-button.entry.js +0 -147
- package/dist/esm/r-checkbox-group.entry.js +0 -230
- package/dist/esm/r-checkbox.entry.js +0 -267
- package/dist/esm/r-design-system-devtools.entry.js +0 -29
- package/dist/esm/r-dialog.entry.js +0 -105
- package/dist/esm/r-hint_2.entry.js +0 -47
- package/dist/esm/r-icon-button_2.entry.js +0 -464
- package/dist/esm/r-icon.entry.js +0 -282
- package/dist/esm/r-illustration.entry.js +0 -394
- package/dist/esm/r-input-code.entry.js +0 -430
- package/dist/esm/r-input-date.entry.js +0 -517
- package/dist/esm/r-input-password.entry.js +0 -263
- package/dist/esm/r-input-phone-number.entry.js +0 -2523
- package/dist/esm/r-input.entry.js +0 -400
- package/dist/esm/r-list-item.entry.js +0 -107
- package/dist/esm/r-pagination.entry.js +0 -312
- package/dist/esm/r-panel.entry.js +0 -182
- package/dist/esm/r-popover-action.entry.js +0 -78
- package/dist/esm/r-popover-content.entry.js +0 -60
- package/dist/esm/r-popover-headline.entry.js +0 -26
- package/dist/esm/r-popover-trigger.entry.js +0 -68
- package/dist/esm/r-popover.entry.js +0 -345
- package/dist/esm/r-progress-bar.entry.js +0 -23
- package/dist/esm/r-radio-button-description.entry.js +0 -16
- package/dist/esm/r-radio-button-leading.entry.js +0 -16
- package/dist/esm/r-radio-button-title.entry.js +0 -16
- package/dist/esm/r-radio-button-trailing.entry.js +0 -16
- package/dist/esm/r-radio-button.entry.js +0 -137
- package/dist/esm/r-radio-group.entry.js +0 -423
- package/dist/esm/r-select-option.entry.js +0 -128
- package/dist/esm/r-select.entry.js +0 -1099
- package/dist/esm/r-skip-link.entry.js +0 -17
- package/dist/esm/r-stepper-item.entry.js +0 -40
- package/dist/esm/r-stepper.entry.js +0 -97
- package/dist/esm/r-tab-panel.entry.js +0 -24
- package/dist/esm/r-tab.entry.js +0 -60
- package/dist/esm/r-tabs-list.entry.js +0 -173
- package/dist/esm/r-tabs.entry.js +0 -275
- package/dist/esm/r-textarea.entry.js +0 -268
- package/dist/esm/r-toast-group.entry.js +0 -44
- package/dist/esm/r-toast.entry.js +0 -304
- package/dist/esm/style-observer-4Uv3PpKT.js +0 -1116
- package/dist/esm/theming-DD2IrjpG.js +0 -106
- package/dist/esm/web-components.js +0 -21
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/accordion/accordion.d.ts +0 -27
- package/dist/types/components/accordion/exports.d.ts +0 -2
- package/dist/types/components/accordion-panel/accordion-panel.d.ts +0 -10
- package/dist/types/components/accordion-section/accordion-section.d.ts +0 -36
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -33
- package/dist/types/components/alert/alert.d.ts +0 -67
- package/dist/types/components/alert/exports.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +0 -23
- package/dist/types/components/badge/exports.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -89
- package/dist/types/components/button/exports.d.ts +0 -10
- package/dist/types/components/checkbox/checkbox.d.ts +0 -136
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -122
- package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +0 -15
- package/dist/types/components/dialog/dialog.d.ts +0 -69
- package/dist/types/components/dialog/exports.d.ts +0 -10
- package/dist/types/components/hint/exports.d.ts +0 -2
- package/dist/types/components/hint/hint.d.ts +0 -20
- package/dist/types/components/icon/all-kit.d.ts +0 -2890
- package/dist/types/components/icon/data.d.ts +0 -145
- package/dist/types/components/icon/exports.d.ts +0 -152
- package/dist/types/components/icon/icon.d.ts +0 -37
- package/dist/types/components/icon/riverty-kit.d.ts +0 -139
- package/dist/types/components/icon-button/icon-button.d.ts +0 -69
- package/dist/types/components/illustration/data.d.ts +0 -52
- package/dist/types/components/illustration/exports.d.ts +0 -23
- package/dist/types/components/illustration/illustration.d.ts +0 -51
- package/dist/types/components/illustration/illustrations-ui-kit.d.ts +0 -21
- package/dist/types/components/input/exports.d.ts +0 -10
- package/dist/types/components/input/input.d.ts +0 -300
- package/dist/types/components/input-code/exports.d.ts +0 -4
- package/dist/types/components/input-code/input-code.d.ts +0 -175
- package/dist/types/components/input-date/exports.d.ts +0 -5
- package/dist/types/components/input-date/input-date.d.ts +0 -172
- package/dist/types/components/input-password/exports.d.ts +0 -1
- package/dist/types/components/input-password/input-password.d.ts +0 -184
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +0 -128
- package/dist/types/components/label/label.d.ts +0 -9
- package/dist/types/components/list-item/list-item/exports.d.ts +0 -4
- package/dist/types/components/list-item/list-item/list-item.d.ts +0 -61
- package/dist/types/components/pagination/exports.d.ts +0 -6
- package/dist/types/components/pagination/pagination.d.ts +0 -140
- package/dist/types/components/panel/exports.d.ts +0 -2
- package/dist/types/components/panel/panel.d.ts +0 -56
- package/dist/types/components/popover/exports.d.ts +0 -6
- package/dist/types/components/popover/popover.d.ts +0 -131
- package/dist/types/components/popover-action/popover-action.d.ts +0 -24
- package/dist/types/components/popover-content/popover-content.d.ts +0 -22
- package/dist/types/components/popover-headline/popover-headline.d.ts +0 -6
- package/dist/types/components/popover-trigger/exports.d.ts +0 -2
- package/dist/types/components/popover-trigger/popover-trigger.d.ts +0 -31
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -10
- package/dist/types/components/radio-button/radio-button.d.ts +0 -92
- package/dist/types/components/radio-button-description/radio-button-description.d.ts +0 -8
- package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +0 -8
- package/dist/types/components/radio-button-title/radio-button-title.d.ts +0 -8
- package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +0 -8
- package/dist/types/components/radio-group/exports.d.ts +0 -2
- package/dist/types/components/radio-group/radio-group.d.ts +0 -178
- package/dist/types/components/select/exports.d.ts +0 -2
- package/dist/types/components/select/select.d.ts +0 -317
- package/dist/types/components/select-option/select-option.d.ts +0 -113
- package/dist/types/components/skip-link/exports.d.ts +0 -2
- package/dist/types/components/skip-link/skip-link.d.ts +0 -6
- package/dist/types/components/stepper/stepper.d.ts +0 -22
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -23
- package/dist/types/components/tab/tab.d.ts +0 -23
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -7
- package/dist/types/components/tabs/tabs.d.ts +0 -49
- package/dist/types/components/tabs-list/exports.d.ts +0 -4
- package/dist/types/components/tabs-list/tabs-list.d.ts +0 -41
- package/dist/types/components/textarea/exports.d.ts +0 -2
- package/dist/types/components/textarea/textarea.d.ts +0 -158
- package/dist/types/components/toast/exports.d.ts +0 -6
- package/dist/types/components/toast/toast.d.ts +0 -146
- package/dist/types/components/toast-group/exports.d.ts +0 -2
- package/dist/types/components/toast-group/toast-group.d.ts +0 -9
- package/dist/types/components/tooltip/exports.d.ts +0 -6
- package/dist/types/components/tooltip/tooltip.d.ts +0 -131
- package/dist/types/components.d.ts +0 -6286
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1732
- package/dist/types/types/jsx-shim.d.ts +0 -13
- package/dist/types/types/style-observer.d.ts +0 -20
- package/dist/types/utils/focusable.d.ts +0 -1
- package/dist/types/utils/formData.d.ts +0 -1
- package/dist/types/utils/theming.d.ts +0 -15
- package/dist/web-components/index.esm.js +0 -0
- package/dist/web-components/p-02b22f8e.entry.js +0 -1
- package/dist/web-components/p-075a8dc8.entry.js +0 -1
- package/dist/web-components/p-0a34d33b.entry.js +0 -1
- package/dist/web-components/p-10cc9983.entry.js +0 -1
- package/dist/web-components/p-253068b9.entry.js +0 -1
- package/dist/web-components/p-3b8c8951.entry.js +0 -1
- package/dist/web-components/p-3beacdab.entry.js +0 -1
- package/dist/web-components/p-4214867d.entry.js +0 -1
- package/dist/web-components/p-42c857e9.entry.js +0 -1
- package/dist/web-components/p-44f87e16.entry.js +0 -1
- package/dist/web-components/p-477614c5.entry.js +0 -1
- package/dist/web-components/p-495ba3d2.entry.js +0 -1
- package/dist/web-components/p-4Uv3PpKT.js +0 -1
- package/dist/web-components/p-4de76291.entry.js +0 -1
- package/dist/web-components/p-55600d47.entry.js +0 -1
- package/dist/web-components/p-562051aa.entry.js +0 -1
- package/dist/web-components/p-5b850e0f.entry.js +0 -1
- package/dist/web-components/p-6013dfc8.entry.js +0 -1
- package/dist/web-components/p-62e7ae04.entry.js +0 -1
- package/dist/web-components/p-71519d37.entry.js +0 -1
- package/dist/web-components/p-88f7b47f.entry.js +0 -1
- package/dist/web-components/p-8975a6a3.entry.js +0 -1
- package/dist/web-components/p-8e125826.entry.js +0 -1
- package/dist/web-components/p-91cc0bde.entry.js +0 -1
- package/dist/web-components/p-93435fcd.entry.js +0 -1
- package/dist/web-components/p-947969d7.entry.js +0 -1
- package/dist/web-components/p-95396b5c.entry.js +0 -1
- package/dist/web-components/p-9de3a1a5.entry.js +0 -1
- package/dist/web-components/p-9f583ed1.entry.js +0 -1
- package/dist/web-components/p-B9rsR6cQ.js +0 -1
- package/dist/web-components/p-CTxpqopm.js +0 -2
- package/dist/web-components/p-DQuL1Twl.js +0 -1
- package/dist/web-components/p-DvLT8-y3.js +0 -1
- package/dist/web-components/p-a1086abe.entry.js +0 -1
- package/dist/web-components/p-bbba6d79.entry.js +0 -1
- package/dist/web-components/p-bde44ec4.entry.js +0 -1
- package/dist/web-components/p-bfc7e6c0.entry.js +0 -1
- package/dist/web-components/p-c1030394.entry.js +0 -1
- package/dist/web-components/p-c80a5541.entry.js +0 -1
- package/dist/web-components/p-c96ee61a.entry.js +0 -1
- package/dist/web-components/p-caf8f067.entry.js +0 -1
- package/dist/web-components/p-cc363c3d.entry.js +0 -1
- package/dist/web-components/p-cf4ff357.entry.js +0 -1
- package/dist/web-components/p-d0310ed4.entry.js +0 -1
- package/dist/web-components/p-d1412932.entry.js +0 -1
- package/dist/web-components/p-d2447e30.entry.js +0 -1
- package/dist/web-components/p-dc9cca06.entry.js +0 -1
- package/dist/web-components/p-e5b943a2.entry.js +0 -1
- package/dist/web-components/p-e67b13df.entry.js +0 -1
- package/dist/web-components/p-efec231a.entry.js +0 -1
- package/dist/web-components/p-f867e4c3.entry.js +0 -1
- package/dist/web-components/p-ff6b1b8f.entry.js +0 -1
- package/dist/web-components/p-ky1yonnS.js +0 -1
- package/dist/web-components/web-components.esm.js +0 -1
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
/**
|
|
3
|
-
* Can be used by developers to verify functionality of the design system.
|
|
4
|
-
*
|
|
5
|
-
* Example:
|
|
6
|
-
* ```html
|
|
7
|
-
* <r-design-system-devtools design-tokens></r-design-system-devtools>
|
|
8
|
-
* ```
|
|
9
|
-
*/
|
|
10
|
-
export class DesignSystemDevtools {
|
|
11
|
-
constructor() {
|
|
12
|
-
/** Whether to display a preview of some key design tokens */
|
|
13
|
-
this.designTokens = false;
|
|
14
|
-
}
|
|
15
|
-
renderDesignTokens() {
|
|
16
|
-
const tokens = [
|
|
17
|
-
'r-color-green-vanguard',
|
|
18
|
-
'r-color-grey-charcoal',
|
|
19
|
-
'r-color-white-haze',
|
|
20
|
-
'r-color-orange-ember',
|
|
21
|
-
];
|
|
22
|
-
return (h(Host, null, tokens.map(t => {
|
|
23
|
-
return (h("div", { style: { backgroundColor: `var(--${t})` } }, "This text should have ", h("code", null, t), " background color"));
|
|
24
|
-
})));
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
if (this.designTokens) {
|
|
28
|
-
return this.renderDesignTokens();
|
|
29
|
-
}
|
|
30
|
-
return h(Host, null);
|
|
31
|
-
}
|
|
32
|
-
static get is() { return "r-design-system-devtools"; }
|
|
33
|
-
static get encapsulation() { return "shadow"; }
|
|
34
|
-
static get properties() {
|
|
35
|
-
return {
|
|
36
|
-
"designTokens": {
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"attribute": "design-tokens",
|
|
39
|
-
"mutable": false,
|
|
40
|
-
"complexType": {
|
|
41
|
-
"original": "boolean",
|
|
42
|
-
"resolved": "boolean",
|
|
43
|
-
"references": {}
|
|
44
|
-
},
|
|
45
|
-
"required": false,
|
|
46
|
-
"optional": false,
|
|
47
|
-
"docs": {
|
|
48
|
-
"tags": [],
|
|
49
|
-
"text": "Whether to display a preview of some key design tokens"
|
|
50
|
-
},
|
|
51
|
-
"getter": false,
|
|
52
|
-
"setter": false,
|
|
53
|
-
"reflect": false,
|
|
54
|
-
"defaultValue": "false"
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
static get elementRef() { return "el"; }
|
|
59
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
:host([size=small]) {
|
|
2
|
-
--r-dialog--width: 23.4375rem;
|
|
3
|
-
--r-dialog--max-height: 15.625rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:host([size=medium]) {
|
|
7
|
-
--r-dialog--width: 37.5rem;
|
|
8
|
-
--r-dialog--max-height: 37.5rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
:host([size=large]) {
|
|
12
|
-
--r-dialog--width: 50rem;
|
|
13
|
-
--r-dialog--max-height: 45rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@media (max-width: 50rem) {
|
|
17
|
-
:host([size=large]) {
|
|
18
|
-
--r-dialog--width: 100%;
|
|
19
|
-
--right: 0;
|
|
20
|
-
--left: 0;
|
|
21
|
-
--r-dialog--footer--flex-wrap: wrap;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
@media (max-height: 48.75rem) {
|
|
25
|
-
:host([size=large]) {
|
|
26
|
-
--r-dialog--margin: 18px auto;
|
|
27
|
-
--top: 0;
|
|
28
|
-
--bottom: 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
@media (max-width: 37.5rem) {
|
|
32
|
-
:host([size=medium]) {
|
|
33
|
-
--r-dialog--width: 100%;
|
|
34
|
-
--right: 0;
|
|
35
|
-
--left: 0;
|
|
36
|
-
--r-dialog--footer--flex-wrap: wrap;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@media (max-height: 43.75rem) {
|
|
40
|
-
:host([size=medium]) {
|
|
41
|
-
--r-dialog--margin: 18px auto;
|
|
42
|
-
--top: 0;
|
|
43
|
-
--bottom: 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
:host {
|
|
47
|
-
top: var(--top, auto);
|
|
48
|
-
right: var(--right, auto);
|
|
49
|
-
bottom: var(--bottom, auto);
|
|
50
|
-
left: var(--left, auto);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.r-dialog {
|
|
54
|
-
border: var(--r-dialog--border, none);
|
|
55
|
-
padding: var(--r-dialog--padding, 24px 0);
|
|
56
|
-
box-sizing: var(--r-dialog--box-sizing, border-box);
|
|
57
|
-
overflow: var(--r-dialog--overflow, hidden);
|
|
58
|
-
width: var(--r-dialog--width, auto);
|
|
59
|
-
height: var(--r-dialog--height, auto);
|
|
60
|
-
background-color: var(--r-dialog--background-color, var(--r-background-softest));
|
|
61
|
-
margin: var(--r-dialog--margin, auto);
|
|
62
|
-
max-height: var(--r-dialog--max-height, auto);
|
|
63
|
-
}
|
|
64
|
-
.r-dialog--content {
|
|
65
|
-
display: var(--r-dialog--content--display, flex);
|
|
66
|
-
flex-direction: var(--r-dialog--content--flex-direction, column);
|
|
67
|
-
gap: var(--r-dialog--content--gap, var(--r-spacing-150, 1.5rem));
|
|
68
|
-
color: var(--r-dialog--content--color, var(--r-text-regular));
|
|
69
|
-
height: var(--r-dialog--content--height, 100%);
|
|
70
|
-
}
|
|
71
|
-
.r-dialog ::slotted([slot=header]), .r-dialog--headline {
|
|
72
|
-
font-family: var(--r-dialog--headline--font-family, var(--r-font-family-heading, sans-serif));
|
|
73
|
-
font-size: var(--r-dialog--headline--font-size, var(--r-font-size-500));
|
|
74
|
-
font-weight: var(--r-dialog--headline--font-weight, var(--r-font-weight-light));
|
|
75
|
-
margin: var(--r-dialog--headline--margin, 0);
|
|
76
|
-
flex: var(--r-dialog--headline--flex, 1);
|
|
77
|
-
}
|
|
78
|
-
.r-dialog--close {
|
|
79
|
-
--r-button--display: var(--r-dialog--close--dispaly, flex);
|
|
80
|
-
--r-button--padding: var(--r-dialog--close--padding, 0);
|
|
81
|
-
}
|
|
82
|
-
.r-dialog--header {
|
|
83
|
-
display: var(--r-dialog--header--display, flex);
|
|
84
|
-
justify-content: var(--r-dialog--header--justify-content, space-between);
|
|
85
|
-
align-items: var(--r-dialog--header--align-items, start);
|
|
86
|
-
gap: var(--r-dialog--header--gap, 32px);
|
|
87
|
-
padding: var(--r-dialog--header--padding, 0 24px);
|
|
88
|
-
}
|
|
89
|
-
.r-dialog--body {
|
|
90
|
-
font-family: var(--r-dialog--body--font-family, var(--r-font-family-text));
|
|
91
|
-
font-size: var(--r-dialog--body--font-size, var(--r-font-size-desktop-400));
|
|
92
|
-
line-height: var(--r-dialog--body--line-height, var(--r-line-height-m));
|
|
93
|
-
flex-grow: var(--r-dialog--body--flex-grow, 1);
|
|
94
|
-
overflow-y: var(--r-dialog--body--overflow, auto);
|
|
95
|
-
justify-self: var(--r-dialog--body--justify-self, stretch);
|
|
96
|
-
padding: var(--r-dialog--body--padding, 0 24px);
|
|
97
|
-
}
|
|
98
|
-
.r-dialog--body {
|
|
99
|
-
scrollbar-width: auto;
|
|
100
|
-
scrollbar-color: var(--r-border-softer) #ffffff;
|
|
101
|
-
}
|
|
102
|
-
.r-dialog--body::-webkit-scrollbar {
|
|
103
|
-
width: var(--r-spacing-100, 1rem);
|
|
104
|
-
}
|
|
105
|
-
.r-dialog--body::-webkit-scrollbar-track {
|
|
106
|
-
background: #ffffff;
|
|
107
|
-
}
|
|
108
|
-
.r-dialog--body::-webkit-scrollbar-thumb {
|
|
109
|
-
background-color: var(--r-border-softer);
|
|
110
|
-
border-radius: 10px;
|
|
111
|
-
border: 3px solid #ffffff;
|
|
112
|
-
}
|
|
113
|
-
.r-dialog ::slotted([slot=footer]) {
|
|
114
|
-
margin-top: var(--r-dialog--footer--margin-top, auto);
|
|
115
|
-
display: var(--r-dialog--footer--display, flex);
|
|
116
|
-
flex-direction: var(--r-dialog--footer--flex-direction, row);
|
|
117
|
-
flex-wrap: var(--r-dialog--footer--flex-wrap, nowrap);
|
|
118
|
-
justify-content: var(--r-dialog--footer--justify-content, flex-start);
|
|
119
|
-
gap: var(--r-dialog--footer--gap, var(--r-spacing-100, 1rem));
|
|
120
|
-
align-items: var(--r-dialog--footer--align-items, end);
|
|
121
|
-
padding: var(--r-dialog--header--padding, 0 24px);
|
|
122
|
-
}
|
|
123
|
-
.r-dialog::backdrop {
|
|
124
|
-
background: var(--backdrop--background-color, rgba(0, 0, 0, 0.25));
|
|
125
|
-
}
|
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class Dialog {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Define if dialog either shown or hidden. */
|
|
5
|
-
this.open = false;
|
|
6
|
-
/**
|
|
7
|
-
* Allows to set height of the dialog body container
|
|
8
|
-
* while the value is smaller then `max-height` of the
|
|
9
|
-
* dialog body pre-set according to the `size` prop.
|
|
10
|
-
*/
|
|
11
|
-
this.bodyHeight = 'auto';
|
|
12
|
-
/**
|
|
13
|
-
* Defines one of pre-defined sizes of the dialog.
|
|
14
|
-
*/
|
|
15
|
-
this.size = 'medium';
|
|
16
|
-
/**
|
|
17
|
-
* Defines if dialog is currently revealed.
|
|
18
|
-
* */
|
|
19
|
-
this.isOpen = this.open;
|
|
20
|
-
this.uniqueId = `r-dialog-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
|
|
21
|
-
this.onTriggerClick = () => {
|
|
22
|
-
this.close();
|
|
23
|
-
};
|
|
24
|
-
this.isInside = event => {
|
|
25
|
-
var _a;
|
|
26
|
-
const rect = (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
27
|
-
return rect.top <= event.clientY && event.clientY <= rect.bottom &&
|
|
28
|
-
rect.left <= event.clientX && event.clientX <= rect.right;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
handleOpenChange() {
|
|
32
|
-
if (this.open && !this.isOpen)
|
|
33
|
-
this.showModal();
|
|
34
|
-
}
|
|
35
|
-
get dialogLabel() {
|
|
36
|
-
var _a, _b;
|
|
37
|
-
return this.headline || ((_b = (_a = this.host.querySelector('[slot="header"]')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
38
|
-
}
|
|
39
|
-
/** Method to display a modal dialog */
|
|
40
|
-
async showModal() {
|
|
41
|
-
var _a;
|
|
42
|
-
this.isOpen = true;
|
|
43
|
-
(_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.showModal();
|
|
44
|
-
}
|
|
45
|
-
/** Method to display a non-modal dialog */
|
|
46
|
-
async close() {
|
|
47
|
-
var _a, _b;
|
|
48
|
-
const { returnValue } = this;
|
|
49
|
-
(_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.close(returnValue);
|
|
50
|
-
(_b = this.dialogClose) === null || _b === void 0 ? void 0 : _b.emit();
|
|
51
|
-
this.isOpen = false;
|
|
52
|
-
}
|
|
53
|
-
/** Method to either show or hide dialog
|
|
54
|
-
* depending on the current state. */
|
|
55
|
-
async toggle() {
|
|
56
|
-
if (this.isOpen)
|
|
57
|
-
this.showModal();
|
|
58
|
-
else
|
|
59
|
-
this.close();
|
|
60
|
-
}
|
|
61
|
-
_renderInitialState() {
|
|
62
|
-
if (this.isOpen) {
|
|
63
|
-
this.showModal();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
connectEventListeners() {
|
|
67
|
-
var _a;
|
|
68
|
-
(_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.addEventListener('close', this.close);
|
|
69
|
-
}
|
|
70
|
-
disconnectEventListeners() {
|
|
71
|
-
var _a;
|
|
72
|
-
(_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.removeEventListener('close', this.close);
|
|
73
|
-
}
|
|
74
|
-
componentDidLoad() {
|
|
75
|
-
this._renderInitialState();
|
|
76
|
-
this.connectEventListeners();
|
|
77
|
-
}
|
|
78
|
-
disconnectedCallback() {
|
|
79
|
-
this.disconnectEventListeners();
|
|
80
|
-
}
|
|
81
|
-
onMouseup(event) {
|
|
82
|
-
if (!this.isOpen)
|
|
83
|
-
return;
|
|
84
|
-
event.stopPropagation();
|
|
85
|
-
if (!this.isInside(event)) {
|
|
86
|
-
this.close();
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
return (h(Host, { key: '6f042592347577f063f6a80d2152b1149eadcb21', open: this.isOpen }, h("dialog", { key: 'fd3f19cf69a9077585bceccebaf0d0c9bccbaa86', class: "r-dialog", "aria-label": this.dialogLabel, ref: el => this.dialogElement = el, style: { '--r-dialog--body--height': this.bodyHeight } }, h("div", { key: '974e33afe5e96d3a67501d10a4ecd0486900ed64', class: "r-dialog--content" }, h("div", { key: '57bccc4346d7234564dc22c179a7e10051bd3af7', class: "r-dialog--header", id: `${this.uniqueId}-header` }, h("slot", { key: '0a59d6a775f11378f17be41665b2c71aecb17ff9', name: "header" }, (this.headline) &&
|
|
91
|
-
h("h2", { key: '6dd6970be5bde3f92d87bef1cbbd7152ba72f88f', class: "r-dialog--headline" }, this.headline)), h("r-icon-button", { key: '37ad4f5b3366ae057240e5bcf2c7443aac3faa9b', class: "r-dialog--close", name: "cross", size: "s", onRClick: this.onTriggerClick, label: this.closeAriaLabel })), h("div", { key: '951dec5b1da5b13196916ed6b64fee89cad83a0e', class: "r-dialog--body" }, this.bodyText, h("slot", { key: '1797cb38116d9818aec51e2dc6982dad1a01cf02' }), h("slot", { key: '0f091bf0e6f6fdd16b79c69aca9814a0d76d7ee6', name: "form" })), h("slot", { key: '2b5a1cadfa9e7a13d8fc4ddca4cf69a1e4a1cb5e', name: "footer" })))));
|
|
92
|
-
}
|
|
93
|
-
static get is() { return "r-dialog"; }
|
|
94
|
-
static get encapsulation() { return "shadow"; }
|
|
95
|
-
static get originalStyleUrls() {
|
|
96
|
-
return {
|
|
97
|
-
"$": ["dialog.css"]
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
static get styleUrls() {
|
|
101
|
-
return {
|
|
102
|
-
"$": ["dialog.css"]
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
static get properties() {
|
|
106
|
-
return {
|
|
107
|
-
"open": {
|
|
108
|
-
"type": "boolean",
|
|
109
|
-
"attribute": "open",
|
|
110
|
-
"mutable": false,
|
|
111
|
-
"complexType": {
|
|
112
|
-
"original": "boolean",
|
|
113
|
-
"resolved": "boolean",
|
|
114
|
-
"references": {}
|
|
115
|
-
},
|
|
116
|
-
"required": false,
|
|
117
|
-
"optional": false,
|
|
118
|
-
"docs": {
|
|
119
|
-
"tags": [],
|
|
120
|
-
"text": "Define if dialog either shown or hidden."
|
|
121
|
-
},
|
|
122
|
-
"getter": false,
|
|
123
|
-
"setter": false,
|
|
124
|
-
"reflect": false,
|
|
125
|
-
"defaultValue": "false"
|
|
126
|
-
},
|
|
127
|
-
"returnValue": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"attribute": "return-value",
|
|
130
|
-
"mutable": false,
|
|
131
|
-
"complexType": {
|
|
132
|
-
"original": "string",
|
|
133
|
-
"resolved": "string",
|
|
134
|
-
"references": {}
|
|
135
|
-
},
|
|
136
|
-
"required": false,
|
|
137
|
-
"optional": true,
|
|
138
|
-
"docs": {
|
|
139
|
-
"tags": [],
|
|
140
|
-
"text": "A value indicating the result of a user\u2019s \ninteraction with the dialog, used to determine what action \nthe user took before closing the dialog. \n\nFor example, it can differentiate between whether the user \nclicked a \u201CConfirm\u201D button or a \u201CCancel\u201D button."
|
|
141
|
-
},
|
|
142
|
-
"getter": false,
|
|
143
|
-
"setter": false,
|
|
144
|
-
"reflect": false
|
|
145
|
-
},
|
|
146
|
-
"headline": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"attribute": "headline",
|
|
149
|
-
"mutable": false,
|
|
150
|
-
"complexType": {
|
|
151
|
-
"original": "string",
|
|
152
|
-
"resolved": "string",
|
|
153
|
-
"references": {}
|
|
154
|
-
},
|
|
155
|
-
"required": false,
|
|
156
|
-
"optional": true,
|
|
157
|
-
"docs": {
|
|
158
|
-
"tags": [],
|
|
159
|
-
"text": "Allows to provide headline text to the dialog header section."
|
|
160
|
-
},
|
|
161
|
-
"getter": false,
|
|
162
|
-
"setter": false,
|
|
163
|
-
"reflect": false
|
|
164
|
-
},
|
|
165
|
-
"bodyText": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"attribute": "body-text",
|
|
168
|
-
"mutable": false,
|
|
169
|
-
"complexType": {
|
|
170
|
-
"original": "string",
|
|
171
|
-
"resolved": "string",
|
|
172
|
-
"references": {}
|
|
173
|
-
},
|
|
174
|
-
"required": false,
|
|
175
|
-
"optional": true,
|
|
176
|
-
"docs": {
|
|
177
|
-
"tags": [],
|
|
178
|
-
"text": "Allows plain text to be provided to the body of the dialog\nin cases where markup is not required. For more complex cases,\nincluding those requiring HTML markup, \nuse <div slot=\"body\">...</div>."
|
|
179
|
-
},
|
|
180
|
-
"getter": false,
|
|
181
|
-
"setter": false,
|
|
182
|
-
"reflect": false
|
|
183
|
-
},
|
|
184
|
-
"bodyHeight": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"attribute": "body-height",
|
|
187
|
-
"mutable": false,
|
|
188
|
-
"complexType": {
|
|
189
|
-
"original": "string",
|
|
190
|
-
"resolved": "string",
|
|
191
|
-
"references": {}
|
|
192
|
-
},
|
|
193
|
-
"required": false,
|
|
194
|
-
"optional": false,
|
|
195
|
-
"docs": {
|
|
196
|
-
"tags": [],
|
|
197
|
-
"text": "Allows to set height of the dialog body container \nwhile the value is smaller then `max-height` of the \ndialog body pre-set according to the `size` prop."
|
|
198
|
-
},
|
|
199
|
-
"getter": false,
|
|
200
|
-
"setter": false,
|
|
201
|
-
"reflect": false,
|
|
202
|
-
"defaultValue": "'auto'"
|
|
203
|
-
},
|
|
204
|
-
"size": {
|
|
205
|
-
"type": "string",
|
|
206
|
-
"attribute": "size",
|
|
207
|
-
"mutable": false,
|
|
208
|
-
"complexType": {
|
|
209
|
-
"original": "DialogSize",
|
|
210
|
-
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
211
|
-
"references": {
|
|
212
|
-
"DialogSize": {
|
|
213
|
-
"location": "import",
|
|
214
|
-
"path": "./exports",
|
|
215
|
-
"id": "src/components/dialog/exports.ts::DialogSize"
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"required": false,
|
|
220
|
-
"optional": false,
|
|
221
|
-
"docs": {
|
|
222
|
-
"tags": [],
|
|
223
|
-
"text": "Defines one of pre-defined sizes of the dialog."
|
|
224
|
-
},
|
|
225
|
-
"getter": false,
|
|
226
|
-
"setter": false,
|
|
227
|
-
"reflect": true,
|
|
228
|
-
"defaultValue": "'medium'"
|
|
229
|
-
},
|
|
230
|
-
"closeAriaLabel": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"attribute": "close-aria-label",
|
|
233
|
-
"mutable": false,
|
|
234
|
-
"complexType": {
|
|
235
|
-
"original": "string",
|
|
236
|
-
"resolved": "string",
|
|
237
|
-
"references": {}
|
|
238
|
-
},
|
|
239
|
-
"required": false,
|
|
240
|
-
"optional": false,
|
|
241
|
-
"docs": {
|
|
242
|
-
"tags": [],
|
|
243
|
-
"text": "Allows plain text to be provided to the close button of the dialog."
|
|
244
|
-
},
|
|
245
|
-
"getter": false,
|
|
246
|
-
"setter": false,
|
|
247
|
-
"reflect": true
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
static get states() {
|
|
252
|
-
return {
|
|
253
|
-
"isOpen": {}
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
static get events() {
|
|
257
|
-
return [{
|
|
258
|
-
"method": "dialogClose",
|
|
259
|
-
"name": "close",
|
|
260
|
-
"bubbles": true,
|
|
261
|
-
"cancelable": true,
|
|
262
|
-
"composed": true,
|
|
263
|
-
"docs": {
|
|
264
|
-
"tags": [],
|
|
265
|
-
"text": "Emitted when the dialog is closed.\nFired by close(), and by the close button."
|
|
266
|
-
},
|
|
267
|
-
"complexType": {
|
|
268
|
-
"original": "any",
|
|
269
|
-
"resolved": "any",
|
|
270
|
-
"references": {}
|
|
271
|
-
}
|
|
272
|
-
}];
|
|
273
|
-
}
|
|
274
|
-
static get methods() {
|
|
275
|
-
return {
|
|
276
|
-
"showModal": {
|
|
277
|
-
"complexType": {
|
|
278
|
-
"signature": "() => Promise<void>",
|
|
279
|
-
"parameters": [],
|
|
280
|
-
"references": {
|
|
281
|
-
"Promise": {
|
|
282
|
-
"location": "global",
|
|
283
|
-
"id": "global::Promise"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
"return": "Promise<void>"
|
|
287
|
-
},
|
|
288
|
-
"docs": {
|
|
289
|
-
"text": "Method to display a modal dialog",
|
|
290
|
-
"tags": []
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"close": {
|
|
294
|
-
"complexType": {
|
|
295
|
-
"signature": "() => Promise<void>",
|
|
296
|
-
"parameters": [],
|
|
297
|
-
"references": {
|
|
298
|
-
"Promise": {
|
|
299
|
-
"location": "global",
|
|
300
|
-
"id": "global::Promise"
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"return": "Promise<void>"
|
|
304
|
-
},
|
|
305
|
-
"docs": {
|
|
306
|
-
"text": "Method to display a non-modal dialog",
|
|
307
|
-
"tags": []
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"toggle": {
|
|
311
|
-
"complexType": {
|
|
312
|
-
"signature": "() => Promise<void>",
|
|
313
|
-
"parameters": [],
|
|
314
|
-
"references": {
|
|
315
|
-
"Promise": {
|
|
316
|
-
"location": "global",
|
|
317
|
-
"id": "global::Promise"
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
"return": "Promise<void>"
|
|
321
|
-
},
|
|
322
|
-
"docs": {
|
|
323
|
-
"text": "Method to either show or hide dialog \ndepending on the current state.",
|
|
324
|
-
"tags": []
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
static get elementRef() { return "host"; }
|
|
330
|
-
static get watchers() {
|
|
331
|
-
return [{
|
|
332
|
-
"propName": "open",
|
|
333
|
-
"methodName": "handleOpenChange"
|
|
334
|
-
}];
|
|
335
|
-
}
|
|
336
|
-
static get listeners() {
|
|
337
|
-
return [{
|
|
338
|
-
"name": "mouseup",
|
|
339
|
-
"method": "onMouseup",
|
|
340
|
-
"target": "window",
|
|
341
|
-
"capture": false,
|
|
342
|
-
"passive": true
|
|
343
|
-
}];
|
|
344
|
-
}
|
|
345
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const dialogSizeArray = ['small', 'medium', 'large'];
|
|
2
|
-
export const formMethodArray = ['GET', 'POST'];
|
|
3
|
-
export const formEnctypeArray = [
|
|
4
|
-
'application/x-www-form-urlencoded',
|
|
5
|
-
'multipart/form-data',
|
|
6
|
-
'text/plain'
|
|
7
|
-
];
|
|
8
|
-
export const formTargetArray = ['_self', '_blank', '_parent', '_top'];
|
|
9
|
-
export const formAutocompleteArray = ['on', 'off'];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const hintVariantArray = ['information', 'success', 'warning', 'error'];
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--r-hint--text--flex: 1;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
:host([variant=information]) {
|
|
6
|
-
--r-hint--color: var(--r-text-soft, #686868);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
:host([variant=success]),
|
|
10
|
-
:host([success]) {
|
|
11
|
-
--r-hint--color: var(--r-status-success-regular, #298535);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:host([variant=warning]),
|
|
15
|
-
:host([warning]) {
|
|
16
|
-
--r-hint--color: var(--r-status-warning-strong, #89411a);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host([variant=error]),
|
|
20
|
-
:host([invalid]) {
|
|
21
|
-
--r-hint--color: var(--r-status-error-regular, #b00c15);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host([icon-position=end]) {
|
|
25
|
-
--r-hint--flex-direction: row-reverse;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
:host {
|
|
29
|
-
display: block;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.r-hint {
|
|
33
|
-
display: var(--r-hint--display, flex);
|
|
34
|
-
flex-direction: var(--r-hint--flex-direction, row);
|
|
35
|
-
gap: var(--r-hint--gap, var(--r-spacing-050, 0.5rem));
|
|
36
|
-
font-family: var(--r-hint--font-family, var(--r-font-family-text, system-ui));
|
|
37
|
-
font-size: var(--r-hint--font-size, var(--r-font-size-300, 0.875rem));
|
|
38
|
-
line-height: var(--r-hint--line-height, var(--r-line-height-m, 1.5));
|
|
39
|
-
color: var(--r-hint--color, var(--r-text-soft, #686868));
|
|
40
|
-
font-weight: var(--r-hint--font-weight, var(--r-font-weight-regular, 400));
|
|
41
|
-
margin-top: var(--r-hint--margin-top, 0);
|
|
42
|
-
margin-bottom: var(--r-hint--margin-bottom, 0);
|
|
43
|
-
}
|
|
44
|
-
.r-hint--icon {
|
|
45
|
-
display: var(--r-hint--icon--display, flex);
|
|
46
|
-
align-items: var(--r-hint--icon--align-items, start);
|
|
47
|
-
min-width: var(--r-hint--icon--min-width, 1rem);
|
|
48
|
-
margin-top: var(--r-hint--icon--margin-top, 0.15rem);
|
|
49
|
-
}
|
|
50
|
-
.r-hint--text {
|
|
51
|
-
flex: var(--r-hint--text--flex, 1);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.visually-hidden {
|
|
55
|
-
position: absolute;
|
|
56
|
-
width: 1px;
|
|
57
|
-
height: 1px;
|
|
58
|
-
padding: 0;
|
|
59
|
-
margin: -1px;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
clip: rect(0, 0, 0, 0);
|
|
62
|
-
border: 0;
|
|
63
|
-
}
|