@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 +0,0 @@
|
|
|
1
|
-
export const panelVariantArray = ['visible', 'drawer', 'modal'];
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--r-panel--min-width: 18.75rem;
|
|
3
|
-
--r-panel--background-color: var(--r-background-soft, #F3F1F0);
|
|
4
|
-
--r-panel--display: flex;
|
|
5
|
-
--r-panel--flex-direction: column;
|
|
6
|
-
--r-panel--position: fixed;
|
|
7
|
-
--r-panel--align-items: flex-start;
|
|
8
|
-
--r-panel--top: 0;
|
|
9
|
-
--r-panel--padding: 8px 0;
|
|
10
|
-
--r-panel--width: 18.75rem;
|
|
11
|
-
--r-panel--height: 100%;
|
|
12
|
-
--r-panel--color: var(--r-text-regular, #282828);
|
|
13
|
-
--r-panel--transition: all 250ms ease-in-out;
|
|
14
|
-
--r-panel--transform: none;
|
|
15
|
-
--r-panel--font-family: var(--r-font-family-text);
|
|
16
|
-
--r-panel--left: 0;
|
|
17
|
-
--r-panel--header--display: flex;
|
|
18
|
-
--r-panel--header--padding: 12px 16px;
|
|
19
|
-
--r-panel--header--justify-content: space-between;
|
|
20
|
-
--r-panel--header--align-items: center;
|
|
21
|
-
--r-panel--header--align-self: stretch;
|
|
22
|
-
--r-panel--header--icon-rotate: none;
|
|
23
|
-
--r-panel--header--flex-direction: row;
|
|
24
|
-
--r-panel--header--gap: 3.125rem;
|
|
25
|
-
--r-panel--header--logo--img--width: 100%;
|
|
26
|
-
--r-panel--header--logo--img--height: auto;
|
|
27
|
-
--r-panel--header--logo--img--expanded--width: 12rem;
|
|
28
|
-
--r-panel--header--logo--img--collapsed--width: 1.875rem;
|
|
29
|
-
--r-panel--header--height: unset;
|
|
30
|
-
--r-panel--body--display: block;
|
|
31
|
-
--r-panel--body--flex-grow: 1;
|
|
32
|
-
--r-panel--body--align-self: stretch;
|
|
33
|
-
--r-panel--body--overflow: auto;
|
|
34
|
-
--r-panel--body--padding: 4px 8px 0;
|
|
35
|
-
--r-panel--body-header--color: var(--r-text-soft, #686868);
|
|
36
|
-
--r-panel--body-header--font-size: var(--r-font-size-400, 1rem);
|
|
37
|
-
--r-panel--body-header--font-weight: var(--r-font-weight-regular, 400);
|
|
38
|
-
--r-panel--body-header--padding: 16px 0;
|
|
39
|
-
--r-panel--body-header--width: 16.75rem;
|
|
40
|
-
--r-panel--body-header--margin: 0px;
|
|
41
|
-
--r-panel--footer--dispay: flex;
|
|
42
|
-
--r-panel--footer--width: 100%;
|
|
43
|
-
--r-panel--footer--padding: 16px 16px 24px;
|
|
44
|
-
--r-panel--footer--flex-direction: column;
|
|
45
|
-
--r-panel--footer--justify-content: center;
|
|
46
|
-
--r-panel--footer-gap: var(--spacing-100, 1rem);
|
|
47
|
-
--r-panel--footer--align-self: stretch;
|
|
48
|
-
--r-panel--footer--text-align: center;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:host([variant=drawer]) r-button {
|
|
52
|
-
--r-button--padding: 0.625rem;
|
|
53
|
-
--r-button--background: var(--r-background-interactive-softer, #E7E4E2);
|
|
54
|
-
--r-button--border-radius: 10%;
|
|
55
|
-
--r-button--slot--position: relative;
|
|
56
|
-
--r-button--left: 5%;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host([variant=drawer][collapsed]) {
|
|
60
|
-
--r-panel--width: var(--r-spacing-450, 4.5rem);
|
|
61
|
-
--r-panel--header--display: none;
|
|
62
|
-
--r-panel--header--icon-rotate: rotate(180deg);
|
|
63
|
-
--r-panel--header--logo--expaned--display: none;
|
|
64
|
-
--r-panel--header--logo--collapsed--display: block;
|
|
65
|
-
--r-panel--header--flex-direction: column;
|
|
66
|
-
--r-panel--header--gap: 0.625rem;
|
|
67
|
-
--r-list-item--epxanded--background-color: rgba(40, 40, 40, 0.08);
|
|
68
|
-
}
|
|
69
|
-
:host([variant=drawer][collapsed]) r-button {
|
|
70
|
-
--r-button--slot--position: inherit;
|
|
71
|
-
transition: transform 250ms ease-in-out;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:host([variant=modal][collapsed]) {
|
|
75
|
-
--r-panel--transform: translate(-100%);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
:host([collapsed]:not([variant=modal])) {
|
|
79
|
-
--r-panel--min-width: 0;
|
|
80
|
-
--r-list-item--sr-text--display: block;
|
|
81
|
-
--r-list-item--text--display: none;
|
|
82
|
-
--r-list-item--trailing--display: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:host([variant=drawer]:not([has-header]):not([collapsed])),
|
|
86
|
-
:host([variant=drawer][has-header=false]:not([collapsed])) {
|
|
87
|
-
--r-panel--header--height: var(--spacing-150, 1.5rem);
|
|
88
|
-
--r-panel--header--padding: 12px 8px 0 16px;
|
|
89
|
-
}
|
|
90
|
-
:host([variant=drawer]:not([has-header]):not([collapsed])) r-button,
|
|
91
|
-
:host([variant=drawer][has-header=false]:not([collapsed])) r-button {
|
|
92
|
-
--r-button--top: 20%;
|
|
93
|
-
--r-button--left: 97%;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
:host([collapsed]) {
|
|
97
|
-
--r-list-item--active-parent--background-color: rgba(40, 40, 40, 0.08);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.r-panel {
|
|
101
|
-
z-index: 2;
|
|
102
|
-
min-width: var(--r-panel--min-width);
|
|
103
|
-
background-color: var(--r-panel--background-color);
|
|
104
|
-
display: var(--r-panel--display);
|
|
105
|
-
flex-direction: var(--r-panel--flex-direction);
|
|
106
|
-
align-items: var(--r-panel--align-items);
|
|
107
|
-
width: var(--r-panel--width);
|
|
108
|
-
height: var(--r-panel--height);
|
|
109
|
-
position: var(--r-panel--position);
|
|
110
|
-
top: var(--r-panel--top);
|
|
111
|
-
padding: var(--r-panel--padding);
|
|
112
|
-
color: var(--r-panel--color);
|
|
113
|
-
transition: var(--r-panel--transition);
|
|
114
|
-
transform: var(--r-panel--transform);
|
|
115
|
-
left: var(--r-panel--left);
|
|
116
|
-
font-family: var(--r-panel--font-family);
|
|
117
|
-
box-sizing: border-box;
|
|
118
|
-
}
|
|
119
|
-
.r-panel .logo-wrapper .logo-expanded {
|
|
120
|
-
width: var(--r-panel--header--logo--img--expanded--width);
|
|
121
|
-
}
|
|
122
|
-
.r-panel .logo-wrapper .logo-collapsed {
|
|
123
|
-
width: var(--r-panel--header--logo--img--collapsed--width);
|
|
124
|
-
}
|
|
125
|
-
.r-panel .logo-wrapper img {
|
|
126
|
-
width: var(--r-panel--header--logo--img--width);
|
|
127
|
-
height: var(--r-panel--header--logo--img--height);
|
|
128
|
-
}
|
|
129
|
-
.r-panel .logo-wrapper:focus, .r-panel .logo-wrapper:focus-visible {
|
|
130
|
-
box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
|
|
131
|
-
outline: 2px solid var(--r-border-focused, #0071e3);
|
|
132
|
-
outline-offset: 2px;
|
|
133
|
-
}
|
|
134
|
-
.r-panel--header {
|
|
135
|
-
display: flex;
|
|
136
|
-
padding: var(--r-panel--header--padding);
|
|
137
|
-
justify-content: var(--r-panel--header--justify-content);
|
|
138
|
-
align-items: var(--r-panel--header--align-items);
|
|
139
|
-
align-self: var(--r-panel--header--align-self);
|
|
140
|
-
flex-direction: var(--r-panel--header--flex-direction);
|
|
141
|
-
gap: var(--r-panel--header--gap);
|
|
142
|
-
height: var(--r-panel--header--height);
|
|
143
|
-
}
|
|
144
|
-
.r-panel--header r-button {
|
|
145
|
-
--r-button--padding: 0;
|
|
146
|
-
transform: var(--r-panel--header--icon-rotate);
|
|
147
|
-
background: var(--r-button--background);
|
|
148
|
-
position: var(--r-button--slot--position);
|
|
149
|
-
left: var(--r-button--left);
|
|
150
|
-
top: var(--r-button--top);
|
|
151
|
-
border-radius: var(--r-button--border-radius);
|
|
152
|
-
}
|
|
153
|
-
.r-panel--body {
|
|
154
|
-
flex-grow: var(--r-panel--body--flex-grow);
|
|
155
|
-
align-self: var(--r-panel--body--align-self);
|
|
156
|
-
display: var(--r-panel--body--display);
|
|
157
|
-
overflow: var(--r-panel--body--overflow);
|
|
158
|
-
padding: var(--r-panel--body--padding);
|
|
159
|
-
}
|
|
160
|
-
.r-panel--body ::slotted(.header) {
|
|
161
|
-
color: var(--r-panel--body-header--color);
|
|
162
|
-
font-size: var(--r-panel--body-header--font-size);
|
|
163
|
-
font-weight: var(--r-panel--body-header--font-weight);
|
|
164
|
-
padding: var(--r-panel--body-header--padding);
|
|
165
|
-
display: var(--r-panel--header--display);
|
|
166
|
-
width: var(--r-panel--body-header--width);
|
|
167
|
-
margin: var(--r-panel--body-header--margin);
|
|
168
|
-
}
|
|
169
|
-
.r-panel--footer {
|
|
170
|
-
width: var(--r-panel--footer--width);
|
|
171
|
-
}
|
|
172
|
-
.r-panel ::slotted([slot=footer]) {
|
|
173
|
-
display: var(--r-panel--footer--dispay);
|
|
174
|
-
padding: var(--r-panel--footer--padding);
|
|
175
|
-
flex-direction: var(--r-panel--footer--flex-direction);
|
|
176
|
-
justify-content: var(--r-panel--footer--justify-content);
|
|
177
|
-
gap: var(--r-panel--footer-gap);
|
|
178
|
-
align-self: var(--r-panel--footer--align-self);
|
|
179
|
-
text-align: var(--r-panel--footer--text-align);
|
|
180
|
-
}
|
|
181
|
-
.r-panel ::slotted(ul) {
|
|
182
|
-
margin: var(--r-panel--item-list--margin, 0);
|
|
183
|
-
padding: var(--r-panel--item-list--padding, 0);
|
|
184
|
-
list-style-type: var(--r-panel--item-list--list-style-type, "");
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@media (prefers-reduced-motion) {
|
|
188
|
-
.r-panel,
|
|
189
|
-
:host([variant=drawer][collapsed]) r-button {
|
|
190
|
-
transition: none;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class Panel {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** A boolean property that indicates whether the component includes a header */
|
|
5
|
-
this.hasHeader = false;
|
|
6
|
-
/** A boolean property that indicates whether the navitems are active of not */
|
|
7
|
-
this.active = false;
|
|
8
|
-
/** A boolean property that indicates whether the component includes a footer */
|
|
9
|
-
this.hasFooter = false;
|
|
10
|
-
/** Presentational style */
|
|
11
|
-
this.variant = 'visible';
|
|
12
|
-
/** A boolean property that determines the collapsed state of the component. The default state is `false`. */
|
|
13
|
-
this.collapsed = false;
|
|
14
|
-
/** Aria-label text for collapse */
|
|
15
|
-
this.labelCollapse = 'Collapse panel';
|
|
16
|
-
/** Aria-label text for expand */
|
|
17
|
-
this.labelExpand = 'Expand panel';
|
|
18
|
-
this.isCollapsed = this.collapsed;
|
|
19
|
-
// Pre-bound method for event listeners
|
|
20
|
-
this.updateCurrentLocationBound = this.updateCurrentLocation.bind(this);
|
|
21
|
-
this.handleSemiCollapsedButtonClick = () => {
|
|
22
|
-
this.togglePanel();
|
|
23
|
-
const parentPanels = document.querySelectorAll('r-list-item[expanded]');
|
|
24
|
-
if (this.isCollapsed) {
|
|
25
|
-
parentPanels.forEach(parentPanel => {
|
|
26
|
-
parentPanel.removeAttribute('expanded');
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
parentPanels.forEach(parentPanel => {
|
|
31
|
-
parentPanel.setAttribute('expanded', '');
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
this.handleFullyCollapsedButtonClick = () => {
|
|
36
|
-
this.collapsePanel();
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
toggleSubItems(event) {
|
|
40
|
-
const target = event.target;
|
|
41
|
-
if (target.tagName === 'R-LIST-ITEM' && this.isCollapsed && this.variant) {
|
|
42
|
-
const hasSubItems = target.hasAttribute('has-sub-items');
|
|
43
|
-
if (hasSubItems) {
|
|
44
|
-
this.expandPanel();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
/** Expand/Collapse Panel */
|
|
49
|
-
async togglePanel() {
|
|
50
|
-
this.isCollapsed = !this.isCollapsed;
|
|
51
|
-
}
|
|
52
|
-
/** Expand Panel */
|
|
53
|
-
async expandPanel() {
|
|
54
|
-
this.isCollapsed = false;
|
|
55
|
-
}
|
|
56
|
-
/** Collapse Panel */
|
|
57
|
-
async collapsePanel() {
|
|
58
|
-
this.isCollapsed = true;
|
|
59
|
-
}
|
|
60
|
-
handleCollapseChange(collapsed) {
|
|
61
|
-
this.isCollapsed = collapsed;
|
|
62
|
-
// Save the state to localStorage whenever it changes
|
|
63
|
-
if (this.variant === 'drawer' || this.variant === 'modal') {
|
|
64
|
-
localStorage.setItem('panelState', JSON.stringify(collapsed));
|
|
65
|
-
this.panelStateChanged.emit({ collapsed });
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
watchVariant(newVariant) {
|
|
69
|
-
this.isCollapsed = newVariant === 'modal';
|
|
70
|
-
}
|
|
71
|
-
handleDocumentClick(event) {
|
|
72
|
-
this.handleClickOutside(event);
|
|
73
|
-
}
|
|
74
|
-
getNavLinks() {
|
|
75
|
-
return document.querySelectorAll('r-list-item[href]');
|
|
76
|
-
}
|
|
77
|
-
get isVariantCollapsible() {
|
|
78
|
-
return this.variant === 'modal';
|
|
79
|
-
}
|
|
80
|
-
/*
|
|
81
|
-
* Collapse the panel when a click occurs outside of it (in mobile/when variant is 'modal'):
|
|
82
|
-
* Check if the clicked target is not an R-BUTTON element (that is the button[hamburger] that toggles the panel in mobile)
|
|
83
|
-
* Check if the click happened outside of the host element
|
|
84
|
-
* Ensure the variant is 'modal' and the panel is currently expanded
|
|
85
|
-
*/
|
|
86
|
-
handleClickOutside(event) {
|
|
87
|
-
if (event.target.tagName !== 'R-BUTTON' &&
|
|
88
|
-
!this.host.contains(event.target) &&
|
|
89
|
-
this.isVariantCollapsible &&
|
|
90
|
-
!this.isCollapsed) {
|
|
91
|
-
this.collapsePanel();
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
componentWillLoad() {
|
|
95
|
-
this.isCollapsed = this.isVariantCollapsible;
|
|
96
|
-
if (this.variant === 'drawer') {
|
|
97
|
-
const savedState = localStorage.getItem('panelState');
|
|
98
|
-
this.isCollapsed = savedState ? JSON.parse(savedState) : this.isCollapsed;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
componentWillRender() {
|
|
102
|
-
window.addEventListener('popstate', this.updateCurrentLocationBound);
|
|
103
|
-
window.addEventListener('hashchange', this.updateCurrentLocationBound);
|
|
104
|
-
this.highlightCurrentLink();
|
|
105
|
-
}
|
|
106
|
-
componentDidRender() {
|
|
107
|
-
this.highlightCurrentLink();
|
|
108
|
-
}
|
|
109
|
-
disconnectedCallback() {
|
|
110
|
-
window.removeEventListener('popstate', this.updateCurrentLocationBound);
|
|
111
|
-
window.removeEventListener('hashchange', this.updateCurrentLocationBound);
|
|
112
|
-
}
|
|
113
|
-
updateCurrentLocation() {
|
|
114
|
-
this.currentLocation = window.location.hash ? window.location.hash.slice(1) : window.location.href;
|
|
115
|
-
this.highlightCurrentLink();
|
|
116
|
-
}
|
|
117
|
-
// Highlight the current link based on the current URL
|
|
118
|
-
// Scroll the active link into view
|
|
119
|
-
highlightCurrentLink() {
|
|
120
|
-
const navLinks = this.getNavLinks();
|
|
121
|
-
navLinks.forEach((link) => {
|
|
122
|
-
if (link instanceof HTMLElement) {
|
|
123
|
-
const linkHref = link.getAttribute('href');
|
|
124
|
-
const isActive = linkHref === this.currentLocation || linkHref === window.location.pathname + window.location.hash;
|
|
125
|
-
this.updateLinkState(link, isActive);
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
const activeLink = document.querySelector('.active');
|
|
129
|
-
if (activeLink) {
|
|
130
|
-
activeLink.scrollIntoView({
|
|
131
|
-
behavior: 'smooth',
|
|
132
|
-
block: 'end'
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
// Update link attributes based on active state
|
|
137
|
-
updateLinkState(link, isActive) {
|
|
138
|
-
if (isActive) {
|
|
139
|
-
link.setAttribute('active', '');
|
|
140
|
-
link.classList.add('active');
|
|
141
|
-
this.expandParentMenus(link);
|
|
142
|
-
this.highlightParent(link);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
link.removeAttribute('active');
|
|
146
|
-
link.classList.remove('active');
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
highlightParent(link) {
|
|
150
|
-
const parentActive = link.parentElement;
|
|
151
|
-
if (parentActive && parentActive.tagName === 'R-LIST-ITEM') {
|
|
152
|
-
parentActive.setAttribute('active-parent', '');
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
expandParentMenus(link) {
|
|
156
|
-
var _a;
|
|
157
|
-
let parentPanel = link.closest('r-list-item[has-sub-items]');
|
|
158
|
-
while (parentPanel && !this.isCollapsed) {
|
|
159
|
-
parentPanel.setAttribute('expanded', '');
|
|
160
|
-
parentPanel = (_a = parentPanel.parentElement) === null || _a === void 0 ? void 0 : _a.closest('r-panel');
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
render() {
|
|
164
|
-
return (h(Host, { key: '0404a2c3acbba8414d7baffc8c0f861e512fe7cb', role: "navigation", collapsed: this.isCollapsed }, h("div", { key: 'b93d1555f060793b7137fd6aac0de2a1a1f35436', class: "r-panel" }, h("div", { key: 'b7dd2dee4c145a21a5a963750e8b26ab2d8b9bbe', class: "r-panel--header" }, this.hasHeader && (h("a", { key: 'dbb02cd6271fba2a5d4a783a20d5e6d9e34ee734', class: "logo-wrapper", href: this.logoLink }, this.isCollapsed ?
|
|
165
|
-
h("slot", { name: "logo-collapsed" })
|
|
166
|
-
:
|
|
167
|
-
h("slot", { name: "logo-expanded" }))), this.variant === 'modal' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", icon: "cross", rAriaLabel: `${this.labelCollapse}`, onClick: this.handleFullyCollapsedButtonClick })) : this.variant === 'drawer' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", icon: "angle-left", rAriaLabel: this.isCollapsed ? `${this.labelExpand}` : `${this.labelCollapse}`, onClick: this.handleSemiCollapsedButtonClick })) : this.variant === 'visible' ? (null) : null), h("div", { key: 'bb3d86b7a4b0890709d4a4637eca033ddaec24a6', class: "r-panel--body" }, h("slot", { key: '201aa3f616d3d239fc7b0edc23565a6618304ce5' })), this.hasFooter && !this.isCollapsed && (h("div", { key: 'a15f34fbb86ad8b16c6d036b885c7c8b13655fc6', class: "r-panel--footer" }, h("slot", { key: '41de73edf832d3a5ca93e4f9a79a62780fdcd68b', name: "footer" }))))));
|
|
168
|
-
}
|
|
169
|
-
static get is() { return "r-panel"; }
|
|
170
|
-
static get encapsulation() { return "shadow"; }
|
|
171
|
-
static get originalStyleUrls() {
|
|
172
|
-
return {
|
|
173
|
-
"$": ["panel.css"]
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
static get styleUrls() {
|
|
177
|
-
return {
|
|
178
|
-
"$": ["panel.css"]
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
static get properties() {
|
|
182
|
-
return {
|
|
183
|
-
"header": {
|
|
184
|
-
"type": "string",
|
|
185
|
-
"attribute": "header",
|
|
186
|
-
"mutable": false,
|
|
187
|
-
"complexType": {
|
|
188
|
-
"original": "string",
|
|
189
|
-
"resolved": "string",
|
|
190
|
-
"references": {}
|
|
191
|
-
},
|
|
192
|
-
"required": false,
|
|
193
|
-
"optional": true,
|
|
194
|
-
"docs": {
|
|
195
|
-
"tags": [],
|
|
196
|
-
"text": "The `header` property is a string that specifies the header text."
|
|
197
|
-
},
|
|
198
|
-
"getter": false,
|
|
199
|
-
"setter": false,
|
|
200
|
-
"reflect": false
|
|
201
|
-
},
|
|
202
|
-
"hasHeader": {
|
|
203
|
-
"type": "boolean",
|
|
204
|
-
"attribute": "has-header",
|
|
205
|
-
"mutable": false,
|
|
206
|
-
"complexType": {
|
|
207
|
-
"original": "boolean",
|
|
208
|
-
"resolved": "boolean",
|
|
209
|
-
"references": {}
|
|
210
|
-
},
|
|
211
|
-
"required": false,
|
|
212
|
-
"optional": false,
|
|
213
|
-
"docs": {
|
|
214
|
-
"tags": [],
|
|
215
|
-
"text": "A boolean property that indicates whether the component includes a header"
|
|
216
|
-
},
|
|
217
|
-
"getter": false,
|
|
218
|
-
"setter": false,
|
|
219
|
-
"reflect": false,
|
|
220
|
-
"defaultValue": "false"
|
|
221
|
-
},
|
|
222
|
-
"active": {
|
|
223
|
-
"type": "boolean",
|
|
224
|
-
"attribute": "active",
|
|
225
|
-
"mutable": false,
|
|
226
|
-
"complexType": {
|
|
227
|
-
"original": "boolean",
|
|
228
|
-
"resolved": "boolean",
|
|
229
|
-
"references": {}
|
|
230
|
-
},
|
|
231
|
-
"required": false,
|
|
232
|
-
"optional": false,
|
|
233
|
-
"docs": {
|
|
234
|
-
"tags": [],
|
|
235
|
-
"text": "A boolean property that indicates whether the navitems are active of not"
|
|
236
|
-
},
|
|
237
|
-
"getter": false,
|
|
238
|
-
"setter": false,
|
|
239
|
-
"reflect": false,
|
|
240
|
-
"defaultValue": "false"
|
|
241
|
-
},
|
|
242
|
-
"hasFooter": {
|
|
243
|
-
"type": "boolean",
|
|
244
|
-
"attribute": "has-footer",
|
|
245
|
-
"mutable": false,
|
|
246
|
-
"complexType": {
|
|
247
|
-
"original": "boolean",
|
|
248
|
-
"resolved": "boolean",
|
|
249
|
-
"references": {}
|
|
250
|
-
},
|
|
251
|
-
"required": false,
|
|
252
|
-
"optional": false,
|
|
253
|
-
"docs": {
|
|
254
|
-
"tags": [],
|
|
255
|
-
"text": "A boolean property that indicates whether the component includes a footer"
|
|
256
|
-
},
|
|
257
|
-
"getter": false,
|
|
258
|
-
"setter": false,
|
|
259
|
-
"reflect": false,
|
|
260
|
-
"defaultValue": "false"
|
|
261
|
-
},
|
|
262
|
-
"variant": {
|
|
263
|
-
"type": "string",
|
|
264
|
-
"attribute": "variant",
|
|
265
|
-
"mutable": false,
|
|
266
|
-
"complexType": {
|
|
267
|
-
"original": "PanelVariant",
|
|
268
|
-
"resolved": "\"drawer\" | \"modal\" | \"visible\"",
|
|
269
|
-
"references": {
|
|
270
|
-
"PanelVariant": {
|
|
271
|
-
"location": "import",
|
|
272
|
-
"path": "./exports",
|
|
273
|
-
"id": "src/components/panel/exports.ts::PanelVariant"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"required": false,
|
|
278
|
-
"optional": false,
|
|
279
|
-
"docs": {
|
|
280
|
-
"tags": [],
|
|
281
|
-
"text": "Presentational style"
|
|
282
|
-
},
|
|
283
|
-
"getter": false,
|
|
284
|
-
"setter": false,
|
|
285
|
-
"reflect": true,
|
|
286
|
-
"defaultValue": "'visible'"
|
|
287
|
-
},
|
|
288
|
-
"collapsed": {
|
|
289
|
-
"type": "boolean",
|
|
290
|
-
"attribute": "collapsed",
|
|
291
|
-
"mutable": false,
|
|
292
|
-
"complexType": {
|
|
293
|
-
"original": "boolean",
|
|
294
|
-
"resolved": "boolean",
|
|
295
|
-
"references": {}
|
|
296
|
-
},
|
|
297
|
-
"required": false,
|
|
298
|
-
"optional": false,
|
|
299
|
-
"docs": {
|
|
300
|
-
"tags": [],
|
|
301
|
-
"text": "A boolean property that determines the collapsed state of the component. The default state is `false`."
|
|
302
|
-
},
|
|
303
|
-
"getter": false,
|
|
304
|
-
"setter": false,
|
|
305
|
-
"reflect": false,
|
|
306
|
-
"defaultValue": "false"
|
|
307
|
-
},
|
|
308
|
-
"logoLink": {
|
|
309
|
-
"type": "string",
|
|
310
|
-
"attribute": "logo-link",
|
|
311
|
-
"mutable": false,
|
|
312
|
-
"complexType": {
|
|
313
|
-
"original": "string",
|
|
314
|
-
"resolved": "string",
|
|
315
|
-
"references": {}
|
|
316
|
-
},
|
|
317
|
-
"required": false,
|
|
318
|
-
"optional": false,
|
|
319
|
-
"docs": {
|
|
320
|
-
"tags": [],
|
|
321
|
-
"text": "Logo link"
|
|
322
|
-
},
|
|
323
|
-
"getter": false,
|
|
324
|
-
"setter": false,
|
|
325
|
-
"reflect": false
|
|
326
|
-
},
|
|
327
|
-
"labelCollapse": {
|
|
328
|
-
"type": "string",
|
|
329
|
-
"attribute": "label-collapse",
|
|
330
|
-
"mutable": false,
|
|
331
|
-
"complexType": {
|
|
332
|
-
"original": "string",
|
|
333
|
-
"resolved": "string",
|
|
334
|
-
"references": {}
|
|
335
|
-
},
|
|
336
|
-
"required": false,
|
|
337
|
-
"optional": false,
|
|
338
|
-
"docs": {
|
|
339
|
-
"tags": [],
|
|
340
|
-
"text": "Aria-label text for collapse"
|
|
341
|
-
},
|
|
342
|
-
"getter": false,
|
|
343
|
-
"setter": false,
|
|
344
|
-
"reflect": false,
|
|
345
|
-
"defaultValue": "'Collapse panel'"
|
|
346
|
-
},
|
|
347
|
-
"labelExpand": {
|
|
348
|
-
"type": "string",
|
|
349
|
-
"attribute": "label-expand",
|
|
350
|
-
"mutable": false,
|
|
351
|
-
"complexType": {
|
|
352
|
-
"original": "string",
|
|
353
|
-
"resolved": "string",
|
|
354
|
-
"references": {}
|
|
355
|
-
},
|
|
356
|
-
"required": false,
|
|
357
|
-
"optional": false,
|
|
358
|
-
"docs": {
|
|
359
|
-
"tags": [],
|
|
360
|
-
"text": "Aria-label text for expand"
|
|
361
|
-
},
|
|
362
|
-
"getter": false,
|
|
363
|
-
"setter": false,
|
|
364
|
-
"reflect": false,
|
|
365
|
-
"defaultValue": "'Expand panel'"
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
static get states() {
|
|
370
|
-
return {
|
|
371
|
-
"currentLocation": {},
|
|
372
|
-
"isCollapsed": {}
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
static get events() {
|
|
376
|
-
return [{
|
|
377
|
-
"method": "panelStateChanged",
|
|
378
|
-
"name": "panelStateChanged",
|
|
379
|
-
"bubbles": true,
|
|
380
|
-
"cancelable": true,
|
|
381
|
-
"composed": true,
|
|
382
|
-
"docs": {
|
|
383
|
-
"tags": [],
|
|
384
|
-
"text": "Event emitted when the panel state changes"
|
|
385
|
-
},
|
|
386
|
-
"complexType": {
|
|
387
|
-
"original": "{ collapsed: boolean }",
|
|
388
|
-
"resolved": "{ collapsed: boolean; }",
|
|
389
|
-
"references": {}
|
|
390
|
-
}
|
|
391
|
-
}];
|
|
392
|
-
}
|
|
393
|
-
static get methods() {
|
|
394
|
-
return {
|
|
395
|
-
"togglePanel": {
|
|
396
|
-
"complexType": {
|
|
397
|
-
"signature": "() => Promise<void>",
|
|
398
|
-
"parameters": [],
|
|
399
|
-
"references": {
|
|
400
|
-
"Promise": {
|
|
401
|
-
"location": "global",
|
|
402
|
-
"id": "global::Promise"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
"return": "Promise<void>"
|
|
406
|
-
},
|
|
407
|
-
"docs": {
|
|
408
|
-
"text": "Expand/Collapse Panel",
|
|
409
|
-
"tags": []
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
"expandPanel": {
|
|
413
|
-
"complexType": {
|
|
414
|
-
"signature": "() => Promise<void>",
|
|
415
|
-
"parameters": [],
|
|
416
|
-
"references": {
|
|
417
|
-
"Promise": {
|
|
418
|
-
"location": "global",
|
|
419
|
-
"id": "global::Promise"
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
"return": "Promise<void>"
|
|
423
|
-
},
|
|
424
|
-
"docs": {
|
|
425
|
-
"text": "Expand Panel",
|
|
426
|
-
"tags": []
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
"collapsePanel": {
|
|
430
|
-
"complexType": {
|
|
431
|
-
"signature": "() => Promise<void>",
|
|
432
|
-
"parameters": [],
|
|
433
|
-
"references": {
|
|
434
|
-
"Promise": {
|
|
435
|
-
"location": "global",
|
|
436
|
-
"id": "global::Promise"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
"return": "Promise<void>"
|
|
440
|
-
},
|
|
441
|
-
"docs": {
|
|
442
|
-
"text": "Collapse Panel",
|
|
443
|
-
"tags": []
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
static get elementRef() { return "host"; }
|
|
449
|
-
static get watchers() {
|
|
450
|
-
return [{
|
|
451
|
-
"propName": "isCollapsed",
|
|
452
|
-
"methodName": "handleCollapseChange"
|
|
453
|
-
}, {
|
|
454
|
-
"propName": "variant",
|
|
455
|
-
"methodName": "watchVariant"
|
|
456
|
-
}];
|
|
457
|
-
}
|
|
458
|
-
static get listeners() {
|
|
459
|
-
return [{
|
|
460
|
-
"name": "click",
|
|
461
|
-
"method": "toggleSubItems",
|
|
462
|
-
"target": undefined,
|
|
463
|
-
"capture": true,
|
|
464
|
-
"passive": false
|
|
465
|
-
}, {
|
|
466
|
-
"name": "click",
|
|
467
|
-
"method": "handleDocumentClick",
|
|
468
|
-
"target": "document",
|
|
469
|
-
"capture": false,
|
|
470
|
-
"passive": false
|
|
471
|
-
}];
|
|
472
|
-
}
|
|
473
|
-
}
|