@riverty/web-components 6.3.0 → 6.3.1
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 +6 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/focusable-Oll_rmtP.js +28 -0
- package/dist/cjs/formData-B2DZyLxP.js +44 -0
- package/dist/cjs/index-BnETQtSf.js +1834 -0
- package/dist/cjs/index.cjs.js +37 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/r-accordion-panel.cjs.entry.js +24 -0
- package/dist/cjs/r-accordion-section.cjs.entry.js +125 -0
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +93 -0
- package/dist/cjs/r-accordion.cjs.entry.js +20 -0
- package/dist/cjs/r-alert.cjs.entry.js +146 -0
- package/dist/cjs/r-badge.cjs.entry.js +41 -0
- package/dist/cjs/r-button.cjs.entry.js +149 -0
- package/dist/cjs/r-checkbox-group.cjs.entry.js +237 -0
- package/dist/cjs/r-checkbox.cjs.entry.js +274 -0
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +31 -0
- package/dist/cjs/r-dialog.cjs.entry.js +107 -0
- package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
- package/dist/cjs/r-icon-button_2.cjs.entry.js +492 -0
- package/dist/cjs/r-icon.cjs.entry.js +284 -0
- package/dist/cjs/r-illustration.cjs.entry.js +396 -0
- package/dist/cjs/r-input-code.cjs.entry.js +437 -0
- package/dist/cjs/r-input-date.cjs.entry.js +524 -0
- package/dist/cjs/r-input-password.cjs.entry.js +270 -0
- package/dist/cjs/r-input-phone-number.cjs.entry.js +2525 -0
- package/dist/cjs/r-input.cjs.entry.js +618 -0
- package/dist/cjs/r-list-item.cjs.entry.js +109 -0
- package/dist/cjs/r-pagination.cjs.entry.js +320 -0
- package/dist/cjs/r-panel.cjs.entry.js +184 -0
- package/dist/cjs/r-popover-action.cjs.entry.js +80 -0
- package/dist/cjs/r-popover-content.cjs.entry.js +62 -0
- package/dist/cjs/r-popover-headline.cjs.entry.js +28 -0
- package/dist/cjs/r-popover-trigger.cjs.entry.js +70 -0
- package/dist/cjs/r-popover.cjs.entry.js +347 -0
- package/dist/cjs/r-progress-bar.cjs.entry.js +25 -0
- package/dist/cjs/r-radio-button-description.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-title.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +18 -0
- package/dist/cjs/r-radio-button.cjs.entry.js +139 -0
- package/dist/cjs/r-radio-group.cjs.entry.js +428 -0
- package/dist/cjs/r-select-option.cjs.entry.js +130 -0
- package/dist/cjs/r-select.cjs.entry.js +1107 -0
- package/dist/cjs/r-skip-link.cjs.entry.js +19 -0
- package/dist/cjs/r-stepper-item.cjs.entry.js +42 -0
- package/dist/cjs/r-stepper.cjs.entry.js +99 -0
- package/dist/cjs/r-tab-panel.cjs.entry.js +26 -0
- package/dist/cjs/r-tab.cjs.entry.js +62 -0
- package/dist/cjs/r-tabs-list.cjs.entry.js +175 -0
- package/dist/cjs/r-tabs.cjs.entry.js +277 -0
- package/dist/cjs/r-textarea.cjs.entry.js +270 -0
- package/dist/cjs/r-toast-group.cjs.entry.js +46 -0
- package/dist/cjs/r-toast.cjs.entry.js +314 -0
- package/dist/cjs/style-observer-D9zSP9wP.js +1118 -0
- package/dist/cjs/theming-NqxjhVJS.js +109 -0
- package/dist/cjs/web-components.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +60 -0
- package/dist/collection/components/accordion/accordion.css +24 -0
- package/dist/collection/components/accordion/accordion.js +90 -0
- package/dist/collection/components/accordion/exports.js +1 -0
- package/dist/collection/components/accordion-panel/accordion-panel.css +50 -0
- package/dist/collection/components/accordion-panel/accordion-panel.js +86 -0
- package/dist/collection/components/accordion-section/accordion-section.css +27 -0
- package/dist/collection/components/accordion-section/accordion-section.js +235 -0
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +93 -0
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +220 -0
- package/dist/collection/components/alert/alert.css +120 -0
- package/dist/collection/components/alert/alert.js +526 -0
- package/dist/collection/components/alert/exports.js +2 -0
- package/dist/collection/components/badge/badge.css +62 -0
- package/dist/collection/components/badge/badge.js +124 -0
- package/dist/collection/components/badge/exports.js +1 -0
- package/dist/collection/components/button/button.css +180 -0
- package/dist/collection/components/button/button.js +510 -0
- package/dist/collection/components/button/exports.js +5 -0
- package/dist/collection/components/checkbox/checkbox.css +116 -0
- package/dist/collection/components/checkbox/checkbox.js +803 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +48 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +744 -0
- package/dist/collection/components/design-system-devtools/design-system-devtools.js +59 -0
- package/dist/collection/components/dialog/dialog.css +125 -0
- package/dist/collection/components/dialog/dialog.js +345 -0
- package/dist/collection/components/dialog/exports.js +9 -0
- package/dist/collection/components/hint/exports.js +1 -0
- package/dist/collection/components/hint/hint.css +63 -0
- package/dist/collection/components/hint/hint.js +114 -0
- package/dist/collection/components/icon/all-kit.js +2 -0
- package/dist/collection/components/icon/data.js +90 -0
- package/dist/collection/components/icon/exports.js +7 -0
- package/dist/collection/components/icon/icon.css +105 -0
- package/dist/collection/components/icon/icon.js +379 -0
- package/dist/collection/components/icon/riverty-kit.js +2 -0
- package/dist/collection/components/icon-button/icon-button.css +105 -0
- package/dist/collection/components/icon-button/icon-button.js +343 -0
- package/dist/collection/components/illustration/data.js +112 -0
- package/dist/collection/components/illustration/exports.js +3 -0
- package/dist/collection/components/illustration/illustration.css +52 -0
- package/dist/collection/components/illustration/illustration.js +540 -0
- package/dist/collection/components/illustration/illustrations-ui-kit.js +2 -0
- package/dist/collection/components/input/exports.js +62 -0
- package/dist/collection/components/input/input.css +186 -0
- package/dist/collection/components/input/input.js +1861 -0
- package/dist/collection/components/input-code/exports.js +2 -0
- package/dist/collection/components/input-code/input-code.css +127 -0
- package/dist/collection/components/input-code/input-code.js +1165 -0
- package/dist/collection/components/input-date/exports.js +1 -0
- package/dist/collection/components/input-date/input-date.css +148 -0
- package/dist/collection/components/input-date/input-date.js +1254 -0
- package/dist/collection/components/input-password/exports.js +1 -0
- package/dist/collection/components/input-password/input-password.css +25 -0
- package/dist/collection/components/input-password/input-password.js +1077 -0
- package/dist/collection/components/input-phone-number/input-phone-number.css +61 -0
- package/dist/collection/components/input-phone-number/input-phone-number.js +893 -0
- package/dist/collection/components/label/label.css +38 -0
- package/dist/collection/components/label/label.js +47 -0
- package/dist/collection/components/list-item/list-item/exports.js +2 -0
- package/dist/collection/components/list-item/list-item/list-item.css +199 -0
- package/dist/collection/components/list-item/list-item/list-item.js +467 -0
- package/dist/collection/components/pagination/exports.js +3 -0
- package/dist/collection/components/pagination/pagination.css +118 -0
- package/dist/collection/components/pagination/pagination.js +814 -0
- package/dist/collection/components/panel/exports.js +1 -0
- package/dist/collection/components/panel/panel.css +192 -0
- package/dist/collection/components/panel/panel.js +473 -0
- package/dist/collection/components/popover/exports.js +3 -0
- package/dist/collection/components/popover/popover.css +251 -0
- package/dist/collection/components/popover/popover.js +741 -0
- package/dist/collection/components/popover-action/popover-action.css +21 -0
- package/dist/collection/components/popover-action/popover-action.js +150 -0
- package/dist/collection/components/popover-content/popover-content.css +9 -0
- package/dist/collection/components/popover-content/popover-content.js +130 -0
- package/dist/collection/components/popover-headline/popover-headline.css +7 -0
- package/dist/collection/components/popover-headline/popover-headline.js +28 -0
- package/dist/collection/components/popover-trigger/exports.js +1 -0
- package/dist/collection/components/popover-trigger/popover-trigger.css +4 -0
- package/dist/collection/components/popover-trigger/popover-trigger.js +163 -0
- package/dist/collection/components/progress-bar/progress-bar.css +41 -0
- package/dist/collection/components/progress-bar/progress-bar.js +71 -0
- package/dist/collection/components/radio-button/radio-button.css +126 -0
- package/dist/collection/components/radio-button/radio-button.js +559 -0
- package/dist/collection/components/radio-button-description/radio-button-description.css +5 -0
- package/dist/collection/components/radio-button-description/radio-button-description.js +22 -0
- package/dist/collection/components/radio-button-leading/radio-button-leading.css +3 -0
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +22 -0
- package/dist/collection/components/radio-button-title/radio-button-title.css +8 -0
- package/dist/collection/components/radio-button-title/radio-button-title.js +22 -0
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +6 -0
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +22 -0
- package/dist/collection/components/radio-group/exports.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +65 -0
- package/dist/collection/components/radio-group/radio-group.js +1023 -0
- package/dist/collection/components/select/exports.js +1 -0
- package/dist/collection/components/select/select.css +247 -0
- package/dist/collection/components/select/select.js +2038 -0
- package/dist/collection/components/select-option/select-option.css +93 -0
- package/dist/collection/components/select-option/select-option.js +459 -0
- package/dist/collection/components/skip-link/exports.js +1 -0
- package/dist/collection/components/skip-link/skip-link.css +37 -0
- package/dist/collection/components/skip-link/skip-link.js +52 -0
- package/dist/collection/components/stepper/stepper.css +25 -0
- package/dist/collection/components/stepper/stepper.js +216 -0
- package/dist/collection/components/stepper-item/stepper-item.css +62 -0
- package/dist/collection/components/stepper-item/stepper-item.js +171 -0
- package/dist/collection/components/tab/tab.css +81 -0
- package/dist/collection/components/tab/tab.js +169 -0
- package/dist/collection/components/tab-panel/tab-panel.css +19 -0
- package/dist/collection/components/tab-panel/tab-panel.js +72 -0
- package/dist/collection/components/tabs/tabs.css +4 -0
- package/dist/collection/components/tabs/tabs.js +345 -0
- package/dist/collection/components/tabs-list/exports.js +2 -0
- package/dist/collection/components/tabs-list/tabs-list.css +58 -0
- package/dist/collection/components/tabs-list/tabs-list.js +294 -0
- package/dist/collection/components/textarea/exports.js +8 -0
- package/dist/collection/components/textarea/textarea.css +148 -0
- package/dist/collection/components/textarea/textarea.js +1055 -0
- package/dist/collection/components/toast/exports.js +3 -0
- package/dist/collection/components/toast/toast.css +179 -0
- package/dist/collection/components/toast/toast.js +820 -0
- package/dist/collection/components/toast-group/exports.js +1 -0
- package/dist/collection/components/toast-group/toast-group.css +37 -0
- package/dist/collection/components/toast-group/toast-group.js +49 -0
- package/dist/collection/components/tooltip/exports.js +3 -0
- package/dist/collection/components/tooltip/tooltip.css +77 -0
- package/dist/collection/components/tooltip/tooltip.js +525 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/focusable.js +24 -0
- package/dist/collection/utils/formData.js +40 -0
- package/dist/collection/utils/theming.js +103 -0
- package/dist/collection/utils/version-checker.js +33 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/focusable-ky1yonnS.js +26 -0
- package/dist/esm/formData-DvLT8-y3.js +42 -0
- package/dist/esm/index-CTxpqopm.js +1806 -0
- package/dist/esm/index.js +35 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/r-accordion-panel.entry.js +22 -0
- package/dist/esm/r-accordion-section.entry.js +123 -0
- package/dist/esm/r-accordion-trigger.entry.js +91 -0
- package/dist/esm/r-accordion.entry.js +18 -0
- package/dist/esm/r-alert.entry.js +144 -0
- package/dist/esm/r-badge.entry.js +39 -0
- package/dist/esm/r-button.entry.js +147 -0
- package/dist/esm/r-checkbox-group.entry.js +235 -0
- package/dist/esm/r-checkbox.entry.js +272 -0
- package/dist/esm/r-design-system-devtools.entry.js +29 -0
- package/dist/esm/r-dialog.entry.js +105 -0
- package/dist/esm/r-hint_2.entry.js +47 -0
- package/dist/esm/r-icon-button_2.entry.js +489 -0
- package/dist/esm/r-icon.entry.js +282 -0
- package/dist/esm/r-illustration.entry.js +394 -0
- package/dist/esm/r-input-code.entry.js +435 -0
- package/dist/esm/r-input-date.entry.js +522 -0
- package/dist/esm/r-input-password.entry.js +268 -0
- package/dist/esm/r-input-phone-number.entry.js +2523 -0
- package/dist/esm/r-input.entry.js +616 -0
- package/dist/esm/r-list-item.entry.js +107 -0
- package/dist/esm/r-pagination.entry.js +318 -0
- package/dist/esm/r-panel.entry.js +182 -0
- package/dist/esm/r-popover-action.entry.js +78 -0
- package/dist/esm/r-popover-content.entry.js +60 -0
- package/dist/esm/r-popover-headline.entry.js +26 -0
- package/dist/esm/r-popover-trigger.entry.js +68 -0
- package/dist/esm/r-popover.entry.js +345 -0
- package/dist/esm/r-progress-bar.entry.js +23 -0
- package/dist/esm/r-radio-button-description.entry.js +16 -0
- package/dist/esm/r-radio-button-leading.entry.js +16 -0
- package/dist/esm/r-radio-button-title.entry.js +16 -0
- package/dist/esm/r-radio-button-trailing.entry.js +16 -0
- package/dist/esm/r-radio-button.entry.js +137 -0
- package/dist/esm/r-radio-group.entry.js +426 -0
- package/dist/esm/r-select-option.entry.js +128 -0
- package/dist/esm/r-select.entry.js +1105 -0
- package/dist/esm/r-skip-link.entry.js +17 -0
- package/dist/esm/r-stepper-item.entry.js +40 -0
- package/dist/esm/r-stepper.entry.js +97 -0
- package/dist/esm/r-tab-panel.entry.js +24 -0
- package/dist/esm/r-tab.entry.js +60 -0
- package/dist/esm/r-tabs-list.entry.js +173 -0
- package/dist/esm/r-tabs.entry.js +275 -0
- package/dist/esm/r-textarea.entry.js +268 -0
- package/dist/esm/r-toast-group.entry.js +44 -0
- package/dist/esm/r-toast.entry.js +312 -0
- package/dist/esm/style-observer-4Uv3PpKT.js +1116 -0
- package/dist/esm/theming-DD2IrjpG.js +106 -0
- package/dist/esm/web-components.js +21 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +27 -0
- package/dist/types/components/accordion/exports.d.ts +2 -0
- package/dist/types/components/accordion-panel/accordion-panel.d.ts +10 -0
- package/dist/types/components/accordion-section/accordion-section.d.ts +36 -0
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +33 -0
- package/dist/types/components/alert/alert.d.ts +67 -0
- package/dist/types/components/alert/exports.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +26 -0
- package/dist/types/components/badge/exports.d.ts +2 -0
- package/dist/types/components/button/button.d.ts +89 -0
- package/dist/types/components/button/exports.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +138 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +124 -0
- package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +15 -0
- package/dist/types/components/dialog/dialog.d.ts +69 -0
- package/dist/types/components/dialog/exports.d.ts +10 -0
- package/dist/types/components/hint/exports.d.ts +2 -0
- package/dist/types/components/hint/hint.d.ts +20 -0
- package/dist/types/components/icon/all-kit.d.ts +2890 -0
- package/dist/types/components/icon/data.d.ts +145 -0
- package/dist/types/components/icon/exports.d.ts +152 -0
- package/dist/types/components/icon/icon.d.ts +37 -0
- package/dist/types/components/icon/riverty-kit.d.ts +139 -0
- package/dist/types/components/icon-button/icon-button.d.ts +69 -0
- package/dist/types/components/illustration/data.d.ts +52 -0
- package/dist/types/components/illustration/exports.d.ts +23 -0
- package/dist/types/components/illustration/illustration.d.ts +51 -0
- package/dist/types/components/illustration/illustrations-ui-kit.d.ts +21 -0
- package/dist/types/components/input/exports.d.ts +55 -0
- package/dist/types/components/input/input.d.ts +365 -0
- package/dist/types/components/input-code/exports.d.ts +4 -0
- package/dist/types/components/input-code/input-code.d.ts +177 -0
- package/dist/types/components/input-date/exports.d.ts +5 -0
- package/dist/types/components/input-date/input-date.d.ts +174 -0
- package/dist/types/components/input-password/exports.d.ts +1 -0
- package/dist/types/components/input-password/input-password.d.ts +186 -0
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +130 -0
- package/dist/types/components/label/label.d.ts +9 -0
- package/dist/types/components/list-item/list-item/exports.d.ts +4 -0
- package/dist/types/components/list-item/list-item/list-item.d.ts +61 -0
- package/dist/types/components/pagination/exports.d.ts +6 -0
- package/dist/types/components/pagination/pagination.d.ts +140 -0
- package/dist/types/components/panel/exports.d.ts +2 -0
- package/dist/types/components/panel/panel.d.ts +56 -0
- package/dist/types/components/popover/exports.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +131 -0
- package/dist/types/components/popover-action/popover-action.d.ts +24 -0
- package/dist/types/components/popover-content/popover-content.d.ts +22 -0
- package/dist/types/components/popover-headline/popover-headline.d.ts +6 -0
- package/dist/types/components/popover-trigger/exports.d.ts +2 -0
- package/dist/types/components/popover-trigger/popover-trigger.d.ts +31 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +10 -0
- package/dist/types/components/radio-button/radio-button.d.ts +92 -0
- package/dist/types/components/radio-button-description/radio-button-description.d.ts +8 -0
- package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +8 -0
- package/dist/types/components/radio-button-title/radio-button-title.d.ts +8 -0
- package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +8 -0
- package/dist/types/components/radio-group/exports.d.ts +2 -0
- package/dist/types/components/radio-group/radio-group.d.ts +179 -0
- package/dist/types/components/select/exports.d.ts +2 -0
- package/dist/types/components/select/select.d.ts +319 -0
- package/dist/types/components/select-option/select-option.d.ts +113 -0
- package/dist/types/components/skip-link/exports.d.ts +2 -0
- package/dist/types/components/skip-link/skip-link.d.ts +6 -0
- package/dist/types/components/stepper/stepper.d.ts +22 -0
- package/dist/types/components/stepper-item/stepper-item.d.ts +23 -0
- package/dist/types/components/tab/tab.d.ts +23 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +7 -0
- package/dist/types/components/tabs/tabs.d.ts +49 -0
- package/dist/types/components/tabs-list/exports.d.ts +4 -0
- package/dist/types/components/tabs-list/tabs-list.d.ts +41 -0
- package/dist/types/components/textarea/exports.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +158 -0
- package/dist/types/components/toast/exports.d.ts +6 -0
- package/dist/types/components/toast/toast.d.ts +146 -0
- package/dist/types/components/toast-group/exports.d.ts +2 -0
- package/dist/types/components/toast-group/toast-group.d.ts +9 -0
- package/dist/types/components/tooltip/exports.d.ts +6 -0
- package/dist/types/components/tooltip/tooltip.d.ts +132 -0
- package/dist/types/components.d.ts +6347 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1732 -0
- package/dist/types/types/jsx-shim.d.ts +13 -0
- package/dist/types/types/style-observer.d.ts +20 -0
- package/dist/types/utils/focusable.d.ts +1 -0
- package/dist/types/utils/formData.d.ts +1 -0
- package/dist/types/utils/theming.d.ts +15 -0
- package/dist/types/utils/version-checker.d.ts +1 -0
- package/dist/web-components/index.esm.js +1 -0
- package/dist/web-components/p-01aefcf0.entry.js +1 -0
- package/dist/web-components/p-05cb55db.entry.js +1 -0
- package/dist/web-components/p-0a34d33b.entry.js +1 -0
- package/dist/web-components/p-11b22309.entry.js +1 -0
- package/dist/web-components/p-2d878934.entry.js +1 -0
- package/dist/web-components/p-325dbedf.entry.js +1 -0
- package/dist/web-components/p-34b9457b.entry.js +1 -0
- package/dist/web-components/p-36abd05a.entry.js +1 -0
- package/dist/web-components/p-386d1ef9.entry.js +1 -0
- package/dist/web-components/p-3d67b77b.entry.js +1 -0
- package/dist/web-components/p-4Uv3PpKT.js +1 -0
- package/dist/web-components/p-4b12fbc0.entry.js +1 -0
- package/dist/web-components/p-52f7b505.entry.js +1 -0
- package/dist/web-components/p-55600d47.entry.js +1 -0
- package/dist/web-components/p-57ebc474.entry.js +1 -0
- package/dist/web-components/p-57edf7f4.entry.js +1 -0
- package/dist/web-components/p-69a24fe2.entry.js +1 -0
- package/dist/web-components/p-6d92648c.entry.js +1 -0
- package/dist/web-components/p-75052597.entry.js +1 -0
- package/dist/web-components/p-7b2c5b63.entry.js +1 -0
- package/dist/web-components/p-7bf463ff.entry.js +1 -0
- package/dist/web-components/p-838e43d4.entry.js +1 -0
- package/dist/web-components/p-8c16d038.entry.js +1 -0
- package/dist/web-components/p-8f8313de.entry.js +1 -0
- package/dist/web-components/p-9026d5a2.entry.js +1 -0
- package/dist/web-components/p-95396b5c.entry.js +1 -0
- package/dist/web-components/p-9c31c7c4.entry.js +1 -0
- package/dist/web-components/p-9c415b9c.entry.js +1 -0
- package/dist/web-components/p-9f583ed1.entry.js +1 -0
- package/dist/web-components/p-B9rsR6cQ.js +1 -0
- package/dist/web-components/p-CTxpqopm.js +2 -0
- package/dist/web-components/p-DQuL1Twl.js +1 -0
- package/dist/web-components/p-DvLT8-y3.js +1 -0
- package/dist/web-components/p-b303b2cc.entry.js +1 -0
- package/dist/web-components/p-b8df041d.entry.js +1 -0
- package/dist/web-components/p-bc30844f.entry.js +1 -0
- package/dist/web-components/p-c4a77a65.entry.js +1 -0
- package/dist/web-components/p-c549addf.entry.js +1 -0
- package/dist/web-components/p-c65df19f.entry.js +1 -0
- package/dist/web-components/p-c80a5541.entry.js +1 -0
- package/dist/web-components/p-c96ee61a.entry.js +1 -0
- package/dist/web-components/p-cf3f044d.entry.js +1 -0
- package/dist/web-components/p-d1412932.entry.js +1 -0
- package/dist/web-components/p-d9778cfa.entry.js +1 -0
- package/dist/web-components/p-dbe4ccb8.entry.js +1 -0
- package/dist/web-components/p-ded50850.entry.js +1 -0
- package/dist/web-components/p-e5be895b.entry.js +1 -0
- package/dist/web-components/p-e6b34c1e.entry.js +1 -0
- package/dist/web-components/p-ec3c4800.entry.js +1 -0
- package/dist/web-components/p-f670fd87.entry.js +1 -0
- package/dist/web-components/p-f867e4c3.entry.js +1 -0
- package/dist/web-components/p-ff6b1b8f.entry.js +1 -0
- package/dist/web-components/p-ky1yonnS.js +1 -0
- package/dist/web-components/web-components.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
export declare const PATH_ICONS = "https://cdn.riverty.design/icons/";
|
|
2
|
+
export declare const DEFAULT_KIT_NAME = "riverty";
|
|
3
|
+
export declare const parseElementFromSvgContent: (content: string) => SVGSVGElement;
|
|
4
|
+
export declare const getSvgElementBySrc: (src: string) => Promise<SVGSVGElement>;
|
|
5
|
+
export declare const getSvgContentByName: (name: string) => any;
|
|
6
|
+
export declare const getSvgElementByName: (name: any) => SVGSVGElement;
|
|
7
|
+
export declare const getIconsData: () => {
|
|
8
|
+
ai: string;
|
|
9
|
+
"alarm-clock": string;
|
|
10
|
+
"angle-down": string;
|
|
11
|
+
"angle-left-double": string;
|
|
12
|
+
"angle-left-with-vertical-line": string;
|
|
13
|
+
"angle-left": string;
|
|
14
|
+
"angle-right-double": string;
|
|
15
|
+
"angle-right-with-vertical-line": string;
|
|
16
|
+
"angle-right": string;
|
|
17
|
+
"angle-up": string;
|
|
18
|
+
"arrow-down-left": string;
|
|
19
|
+
"arrow-down-right": string;
|
|
20
|
+
"arrow-down-with-horizontal-line": string;
|
|
21
|
+
"arrow-down": string;
|
|
22
|
+
"arrow-left-with-vertical-line": string;
|
|
23
|
+
"arrow-left": string;
|
|
24
|
+
"arrow-pointing-backward": string;
|
|
25
|
+
"arrow-pointing-down-at-tray": string;
|
|
26
|
+
"arrow-pointing-forward": string;
|
|
27
|
+
"arrow-right-with-vertical-line": string;
|
|
28
|
+
"arrow-right": string;
|
|
29
|
+
"arrow-splitting": string;
|
|
30
|
+
"arrow-up-left": string;
|
|
31
|
+
"arrow-up-right-from-square": string;
|
|
32
|
+
"arrow-up-right": string;
|
|
33
|
+
"arrow-up-with-horizontal-line": string;
|
|
34
|
+
"arrow-up": string;
|
|
35
|
+
"arrows-circled": string;
|
|
36
|
+
"arrows-pointing-outwards": string;
|
|
37
|
+
bag: string;
|
|
38
|
+
bank: string;
|
|
39
|
+
beer: string;
|
|
40
|
+
"bell-crossed-out": string;
|
|
41
|
+
bell: string;
|
|
42
|
+
"biometric-id-face-scan": string;
|
|
43
|
+
"biometric-id-fingerprint": string;
|
|
44
|
+
box: string;
|
|
45
|
+
"broken-glass": string;
|
|
46
|
+
"building-office": string;
|
|
47
|
+
"bullet-list": string;
|
|
48
|
+
"bulls-eye": string;
|
|
49
|
+
calendar: string;
|
|
50
|
+
camera: string;
|
|
51
|
+
cart: string;
|
|
52
|
+
check: string;
|
|
53
|
+
"circle-slash": string;
|
|
54
|
+
"circled-check": string;
|
|
55
|
+
"circled-cross": string;
|
|
56
|
+
"circled-exclamation-mark": string;
|
|
57
|
+
"circled-information-i": string;
|
|
58
|
+
"circled-percentage-sign": string;
|
|
59
|
+
"circled-question-mark": string;
|
|
60
|
+
"clipboard-with-checkmark": string;
|
|
61
|
+
clipboard: string;
|
|
62
|
+
clock: string;
|
|
63
|
+
"code-prompt": string;
|
|
64
|
+
cog: string;
|
|
65
|
+
"coins-stack": string;
|
|
66
|
+
cookie: string;
|
|
67
|
+
copy: string;
|
|
68
|
+
"credit-card-with-plus-sign": string;
|
|
69
|
+
"credit-card": string;
|
|
70
|
+
cross: string;
|
|
71
|
+
"currency-dollar": string;
|
|
72
|
+
"currency-euro": string;
|
|
73
|
+
"document-checked": string;
|
|
74
|
+
document: string;
|
|
75
|
+
"ellipsis-vertical": string;
|
|
76
|
+
ellipsis: string;
|
|
77
|
+
envelope: string;
|
|
78
|
+
euro: string;
|
|
79
|
+
"eye-crossed-out": string;
|
|
80
|
+
eye: string;
|
|
81
|
+
flag: string;
|
|
82
|
+
folder: string;
|
|
83
|
+
"funnel-filter": string;
|
|
84
|
+
gallery: string;
|
|
85
|
+
globe: string;
|
|
86
|
+
graph: string;
|
|
87
|
+
hamburger: string;
|
|
88
|
+
"happy-face": string;
|
|
89
|
+
headset: string;
|
|
90
|
+
heart: string;
|
|
91
|
+
"hour-glass": string;
|
|
92
|
+
house: string;
|
|
93
|
+
image: string;
|
|
94
|
+
invoice: string;
|
|
95
|
+
key: string;
|
|
96
|
+
"link-crossed-out": string;
|
|
97
|
+
link: string;
|
|
98
|
+
login: string;
|
|
99
|
+
logout: string;
|
|
100
|
+
"mad-face": string;
|
|
101
|
+
magnifier: string;
|
|
102
|
+
"money-bill": string;
|
|
103
|
+
"money-coin": string;
|
|
104
|
+
"organization-chart": string;
|
|
105
|
+
"padlock-closed": string;
|
|
106
|
+
"padlock-open": string;
|
|
107
|
+
"paper-plane": string;
|
|
108
|
+
"paperclip-2": string;
|
|
109
|
+
"pen-disabled": string;
|
|
110
|
+
pen: string;
|
|
111
|
+
"phone-with-shield": string;
|
|
112
|
+
"pie-chart": string;
|
|
113
|
+
plus: string;
|
|
114
|
+
printer: string;
|
|
115
|
+
"puzzle-piece": string;
|
|
116
|
+
"qr-code": string;
|
|
117
|
+
receipt: string;
|
|
118
|
+
"recycle-bin-1": string;
|
|
119
|
+
"sad-face": string;
|
|
120
|
+
scale: string;
|
|
121
|
+
"shield-check": string;
|
|
122
|
+
shield: string;
|
|
123
|
+
"sign-at": string;
|
|
124
|
+
signature: string;
|
|
125
|
+
slider: string;
|
|
126
|
+
"speech-bubble-oval": string;
|
|
127
|
+
"speech-bubble": string;
|
|
128
|
+
"splitted-circles": string;
|
|
129
|
+
star: string;
|
|
130
|
+
store: string;
|
|
131
|
+
"straight-face": string;
|
|
132
|
+
"thumb-up": string;
|
|
133
|
+
tray: string;
|
|
134
|
+
"triangle-with-exclamation-mark": string;
|
|
135
|
+
"two-speech-bubbles": string;
|
|
136
|
+
"upload-document": string;
|
|
137
|
+
"user-avatar-multiple": string;
|
|
138
|
+
"user-avatar-with-bars": string;
|
|
139
|
+
"user-avatar-with-exclamation-mark": string;
|
|
140
|
+
"user-avatar-with-minus": string;
|
|
141
|
+
"user-avatar": string;
|
|
142
|
+
"very-happy-face": string;
|
|
143
|
+
webhook: string;
|
|
144
|
+
};
|
|
145
|
+
export declare const addToIconsData: (name: string, value: string) => void;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export declare const iconsData: {
|
|
2
|
+
ai: string;
|
|
3
|
+
"alarm-clock": string;
|
|
4
|
+
"angle-down": string;
|
|
5
|
+
"angle-left-double": string;
|
|
6
|
+
"angle-left-with-vertical-line": string;
|
|
7
|
+
"angle-left": string;
|
|
8
|
+
"angle-right-double": string;
|
|
9
|
+
"angle-right-with-vertical-line": string;
|
|
10
|
+
"angle-right": string;
|
|
11
|
+
"angle-up": string;
|
|
12
|
+
"arrow-down-left": string;
|
|
13
|
+
"arrow-down-right": string;
|
|
14
|
+
"arrow-down-with-horizontal-line": string;
|
|
15
|
+
"arrow-down": string;
|
|
16
|
+
"arrow-left-with-vertical-line": string;
|
|
17
|
+
"arrow-left": string;
|
|
18
|
+
"arrow-pointing-backward": string;
|
|
19
|
+
"arrow-pointing-down-at-tray": string;
|
|
20
|
+
"arrow-pointing-forward": string;
|
|
21
|
+
"arrow-right-with-vertical-line": string;
|
|
22
|
+
"arrow-right": string;
|
|
23
|
+
"arrow-splitting": string;
|
|
24
|
+
"arrow-up-left": string;
|
|
25
|
+
"arrow-up-right-from-square": string;
|
|
26
|
+
"arrow-up-right": string;
|
|
27
|
+
"arrow-up-with-horizontal-line": string;
|
|
28
|
+
"arrow-up": string;
|
|
29
|
+
"arrows-circled": string;
|
|
30
|
+
"arrows-pointing-outwards": string;
|
|
31
|
+
bag: string;
|
|
32
|
+
bank: string;
|
|
33
|
+
beer: string;
|
|
34
|
+
"bell-crossed-out": string;
|
|
35
|
+
bell: string;
|
|
36
|
+
"biometric-id-face-scan": string;
|
|
37
|
+
"biometric-id-fingerprint": string;
|
|
38
|
+
box: string;
|
|
39
|
+
"broken-glass": string;
|
|
40
|
+
"building-office": string;
|
|
41
|
+
"bullet-list": string;
|
|
42
|
+
"bulls-eye": string;
|
|
43
|
+
calendar: string;
|
|
44
|
+
camera: string;
|
|
45
|
+
cart: string;
|
|
46
|
+
check: string;
|
|
47
|
+
"circle-slash": string;
|
|
48
|
+
"circled-check": string;
|
|
49
|
+
"circled-cross": string;
|
|
50
|
+
"circled-exclamation-mark": string;
|
|
51
|
+
"circled-information-i": string;
|
|
52
|
+
"circled-percentage-sign": string;
|
|
53
|
+
"circled-question-mark": string;
|
|
54
|
+
"clipboard-with-checkmark": string;
|
|
55
|
+
clipboard: string;
|
|
56
|
+
clock: string;
|
|
57
|
+
"code-prompt": string;
|
|
58
|
+
cog: string;
|
|
59
|
+
"coins-stack": string;
|
|
60
|
+
cookie: string;
|
|
61
|
+
copy: string;
|
|
62
|
+
"credit-card-with-plus-sign": string;
|
|
63
|
+
"credit-card": string;
|
|
64
|
+
cross: string;
|
|
65
|
+
"currency-dollar": string;
|
|
66
|
+
"currency-euro": string;
|
|
67
|
+
"document-checked": string;
|
|
68
|
+
document: string;
|
|
69
|
+
"ellipsis-vertical": string;
|
|
70
|
+
ellipsis: string;
|
|
71
|
+
envelope: string;
|
|
72
|
+
euro: string;
|
|
73
|
+
"eye-crossed-out": string;
|
|
74
|
+
eye: string;
|
|
75
|
+
flag: string;
|
|
76
|
+
folder: string;
|
|
77
|
+
"funnel-filter": string;
|
|
78
|
+
gallery: string;
|
|
79
|
+
globe: string;
|
|
80
|
+
graph: string;
|
|
81
|
+
hamburger: string;
|
|
82
|
+
"happy-face": string;
|
|
83
|
+
headset: string;
|
|
84
|
+
heart: string;
|
|
85
|
+
"hour-glass": string;
|
|
86
|
+
house: string;
|
|
87
|
+
image: string;
|
|
88
|
+
invoice: string;
|
|
89
|
+
key: string;
|
|
90
|
+
"link-crossed-out": string;
|
|
91
|
+
link: string;
|
|
92
|
+
login: string;
|
|
93
|
+
logout: string;
|
|
94
|
+
"mad-face": string;
|
|
95
|
+
magnifier: string;
|
|
96
|
+
"money-bill": string;
|
|
97
|
+
"money-coin": string;
|
|
98
|
+
"organization-chart": string;
|
|
99
|
+
"padlock-closed": string;
|
|
100
|
+
"padlock-open": string;
|
|
101
|
+
"paper-plane": string;
|
|
102
|
+
"paperclip-2": string;
|
|
103
|
+
"pen-disabled": string;
|
|
104
|
+
pen: string;
|
|
105
|
+
"phone-with-shield": string;
|
|
106
|
+
"pie-chart": string;
|
|
107
|
+
plus: string;
|
|
108
|
+
printer: string;
|
|
109
|
+
"puzzle-piece": string;
|
|
110
|
+
"qr-code": string;
|
|
111
|
+
receipt: string;
|
|
112
|
+
"recycle-bin-1": string;
|
|
113
|
+
"sad-face": string;
|
|
114
|
+
scale: string;
|
|
115
|
+
"shield-check": string;
|
|
116
|
+
shield: string;
|
|
117
|
+
"sign-at": string;
|
|
118
|
+
signature: string;
|
|
119
|
+
slider: string;
|
|
120
|
+
"speech-bubble-oval": string;
|
|
121
|
+
"speech-bubble": string;
|
|
122
|
+
"splitted-circles": string;
|
|
123
|
+
star: string;
|
|
124
|
+
store: string;
|
|
125
|
+
"straight-face": string;
|
|
126
|
+
"thumb-up": string;
|
|
127
|
+
tray: string;
|
|
128
|
+
"triangle-with-exclamation-mark": string;
|
|
129
|
+
"two-speech-bubbles": string;
|
|
130
|
+
"upload-document": string;
|
|
131
|
+
"user-avatar-multiple": string;
|
|
132
|
+
"user-avatar-with-bars": string;
|
|
133
|
+
"user-avatar-with-exclamation-mark": string;
|
|
134
|
+
"user-avatar-with-minus": string;
|
|
135
|
+
"user-avatar": string;
|
|
136
|
+
"very-happy-face": string;
|
|
137
|
+
webhook: string;
|
|
138
|
+
};
|
|
139
|
+
export declare const iconSizeArray: readonly ["s", "m", "l"];
|
|
140
|
+
export declare const iconSizeValue: {
|
|
141
|
+
readonly s: "16";
|
|
142
|
+
readonly m: "24";
|
|
143
|
+
readonly l: "32";
|
|
144
|
+
};
|
|
145
|
+
export declare const iconPositionArray: readonly ["start", "end"];
|
|
146
|
+
export declare const iconKitArray: readonly ["riverty", "test"];
|
|
147
|
+
export declare const iconVariantArray: readonly ["button"];
|
|
148
|
+
export type IconSize = typeof iconSizeArray[number];
|
|
149
|
+
export type IconName = keyof typeof iconsData | string;
|
|
150
|
+
export type IconKit = typeof iconKitArray[number];
|
|
151
|
+
export type IconVariant = typeof iconVariantArray[number];
|
|
152
|
+
export type IconPosition = typeof iconPositionArray[number];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IconKit, IconName, IconSize, IconVariant } from './exports';
|
|
2
|
+
export declare class RIcon {
|
|
3
|
+
/** Host html element */
|
|
4
|
+
host: HTMLRIconElement;
|
|
5
|
+
/** Name of icon to select from the set */
|
|
6
|
+
name?: IconName;
|
|
7
|
+
/** Source of an icon to fetch from */
|
|
8
|
+
src?: string;
|
|
9
|
+
/** Select kit */
|
|
10
|
+
kit: IconKit;
|
|
11
|
+
/** Select one of pre-set sizes (width and height automatically selected) */
|
|
12
|
+
size?: IconSize;
|
|
13
|
+
/** Customize `viewBox` of rendered icon SVG element */
|
|
14
|
+
viewBox: string;
|
|
15
|
+
/**
|
|
16
|
+
* Quick way to set display color to one of the
|
|
17
|
+
* Riverty color tokens
|
|
18
|
+
*/
|
|
19
|
+
color: string;
|
|
20
|
+
/**
|
|
21
|
+
* Defines UI deviations for the icon.
|
|
22
|
+
* */
|
|
23
|
+
variant?: IconVariant;
|
|
24
|
+
/**
|
|
25
|
+
* Defines an accessible name for the icon.
|
|
26
|
+
* */
|
|
27
|
+
iconAriaLabel?: string;
|
|
28
|
+
private get cssColor();
|
|
29
|
+
private svgElement;
|
|
30
|
+
private _setElementAttrs;
|
|
31
|
+
private _defineSvgAttrs;
|
|
32
|
+
private _passAttributesToSvg;
|
|
33
|
+
private _defineSvgElement;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
componentWillRender(): Promise<void>;
|
|
36
|
+
render(): any;
|
|
37
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const data: {
|
|
2
|
+
ai: string;
|
|
3
|
+
"alarm-clock": string;
|
|
4
|
+
"angle-down": string;
|
|
5
|
+
"angle-left-double": string;
|
|
6
|
+
"angle-left-with-vertical-line": string;
|
|
7
|
+
"angle-left": string;
|
|
8
|
+
"angle-right-double": string;
|
|
9
|
+
"angle-right-with-vertical-line": string;
|
|
10
|
+
"angle-right": string;
|
|
11
|
+
"angle-up": string;
|
|
12
|
+
"arrow-down-left": string;
|
|
13
|
+
"arrow-down-right": string;
|
|
14
|
+
"arrow-down-with-horizontal-line": string;
|
|
15
|
+
"arrow-down": string;
|
|
16
|
+
"arrow-left-with-vertical-line": string;
|
|
17
|
+
"arrow-left": string;
|
|
18
|
+
"arrow-pointing-backward": string;
|
|
19
|
+
"arrow-pointing-down-at-tray": string;
|
|
20
|
+
"arrow-pointing-forward": string;
|
|
21
|
+
"arrow-right-with-vertical-line": string;
|
|
22
|
+
"arrow-right": string;
|
|
23
|
+
"arrow-splitting": string;
|
|
24
|
+
"arrow-up-left": string;
|
|
25
|
+
"arrow-up-right-from-square": string;
|
|
26
|
+
"arrow-up-right": string;
|
|
27
|
+
"arrow-up-with-horizontal-line": string;
|
|
28
|
+
"arrow-up": string;
|
|
29
|
+
"arrows-circled": string;
|
|
30
|
+
"arrows-pointing-outwards": string;
|
|
31
|
+
bag: string;
|
|
32
|
+
bank: string;
|
|
33
|
+
beer: string;
|
|
34
|
+
"bell-crossed-out": string;
|
|
35
|
+
bell: string;
|
|
36
|
+
"biometric-id-face-scan": string;
|
|
37
|
+
"biometric-id-fingerprint": string;
|
|
38
|
+
box: string;
|
|
39
|
+
"broken-glass": string;
|
|
40
|
+
"building-office": string;
|
|
41
|
+
"bullet-list": string;
|
|
42
|
+
"bulls-eye": string;
|
|
43
|
+
calendar: string;
|
|
44
|
+
camera: string;
|
|
45
|
+
cart: string;
|
|
46
|
+
check: string;
|
|
47
|
+
"circle-slash": string;
|
|
48
|
+
"circled-check": string;
|
|
49
|
+
"circled-cross": string;
|
|
50
|
+
"circled-exclamation-mark": string;
|
|
51
|
+
"circled-information-i": string;
|
|
52
|
+
"circled-percentage-sign": string;
|
|
53
|
+
"circled-question-mark": string;
|
|
54
|
+
"clipboard-with-checkmark": string;
|
|
55
|
+
clipboard: string;
|
|
56
|
+
clock: string;
|
|
57
|
+
"code-prompt": string;
|
|
58
|
+
cog: string;
|
|
59
|
+
"coins-stack": string;
|
|
60
|
+
cookie: string;
|
|
61
|
+
copy: string;
|
|
62
|
+
"credit-card-with-plus-sign": string;
|
|
63
|
+
"credit-card": string;
|
|
64
|
+
cross: string;
|
|
65
|
+
"currency-dollar": string;
|
|
66
|
+
"currency-euro": string;
|
|
67
|
+
"document-checked": string;
|
|
68
|
+
document: string;
|
|
69
|
+
"ellipsis-vertical": string;
|
|
70
|
+
ellipsis: string;
|
|
71
|
+
envelope: string;
|
|
72
|
+
euro: string;
|
|
73
|
+
"eye-crossed-out": string;
|
|
74
|
+
eye: string;
|
|
75
|
+
flag: string;
|
|
76
|
+
folder: string;
|
|
77
|
+
"funnel-filter": string;
|
|
78
|
+
gallery: string;
|
|
79
|
+
globe: string;
|
|
80
|
+
graph: string;
|
|
81
|
+
hamburger: string;
|
|
82
|
+
"happy-face": string;
|
|
83
|
+
headset: string;
|
|
84
|
+
heart: string;
|
|
85
|
+
"hour-glass": string;
|
|
86
|
+
house: string;
|
|
87
|
+
image: string;
|
|
88
|
+
invoice: string;
|
|
89
|
+
key: string;
|
|
90
|
+
"link-crossed-out": string;
|
|
91
|
+
link: string;
|
|
92
|
+
login: string;
|
|
93
|
+
logout: string;
|
|
94
|
+
"mad-face": string;
|
|
95
|
+
magnifier: string;
|
|
96
|
+
"money-bill": string;
|
|
97
|
+
"money-coin": string;
|
|
98
|
+
"organization-chart": string;
|
|
99
|
+
"padlock-closed": string;
|
|
100
|
+
"padlock-open": string;
|
|
101
|
+
"paper-plane": string;
|
|
102
|
+
"paperclip-2": string;
|
|
103
|
+
"pen-disabled": string;
|
|
104
|
+
pen: string;
|
|
105
|
+
"phone-with-shield": string;
|
|
106
|
+
"pie-chart": string;
|
|
107
|
+
plus: string;
|
|
108
|
+
printer: string;
|
|
109
|
+
"puzzle-piece": string;
|
|
110
|
+
"qr-code": string;
|
|
111
|
+
receipt: string;
|
|
112
|
+
"recycle-bin-1": string;
|
|
113
|
+
"sad-face": string;
|
|
114
|
+
scale: string;
|
|
115
|
+
"shield-check": string;
|
|
116
|
+
shield: string;
|
|
117
|
+
"sign-at": string;
|
|
118
|
+
signature: string;
|
|
119
|
+
slider: string;
|
|
120
|
+
"speech-bubble-oval": string;
|
|
121
|
+
"speech-bubble": string;
|
|
122
|
+
"splitted-circles": string;
|
|
123
|
+
star: string;
|
|
124
|
+
store: string;
|
|
125
|
+
"straight-face": string;
|
|
126
|
+
"thumb-up": string;
|
|
127
|
+
tray: string;
|
|
128
|
+
"triangle-with-exclamation-mark": string;
|
|
129
|
+
"two-speech-bubbles": string;
|
|
130
|
+
"upload-document": string;
|
|
131
|
+
"user-avatar-multiple": string;
|
|
132
|
+
"user-avatar-with-bars": string;
|
|
133
|
+
"user-avatar-with-exclamation-mark": string;
|
|
134
|
+
"user-avatar-with-minus": string;
|
|
135
|
+
"user-avatar": string;
|
|
136
|
+
"very-happy-face": string;
|
|
137
|
+
webhook: string;
|
|
138
|
+
};
|
|
139
|
+
export default data;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { IconName, IconSize } from '../icon/exports';
|
|
3
|
+
import { TooltipPosition } from '../tooltip/exports';
|
|
4
|
+
/**
|
|
5
|
+
* An icon button is a button that contains only an icon and is used to trigger an action.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export declare class IconButton {
|
|
9
|
+
host: HTMLRIconButtonElement;
|
|
10
|
+
/**
|
|
11
|
+
* The label for the button, used for accessibility.
|
|
12
|
+
* This label is not visible on the button itself.
|
|
13
|
+
* It is recommended to provide a label for screen readers.
|
|
14
|
+
* If not provided, the button will be considered as having no label.
|
|
15
|
+
*/
|
|
16
|
+
label?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the icon to display within the button.
|
|
19
|
+
*/
|
|
20
|
+
name: IconName;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the size of the icon used within the button.
|
|
23
|
+
*/
|
|
24
|
+
size: IconSize;
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use the `<r-tooltip>` component as a wrapper instead.
|
|
27
|
+
* Sets position for the tooltip.
|
|
28
|
+
* - `top`: Tooltip appears above the button.
|
|
29
|
+
* - `bottom`: Tooltip appears below the button.
|
|
30
|
+
* - `left`: Tooltip appears to the left of the button.
|
|
31
|
+
* - `right`: Tooltip appears to the right of the button.
|
|
32
|
+
*/
|
|
33
|
+
tooltipPosition: TooltipPosition;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use the `<r-tooltip>` component as a wrapper instead.
|
|
36
|
+
* Text to display within the tooltip when the button is hovered or focused.
|
|
37
|
+
*/
|
|
38
|
+
tooltipText?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Prevents user interaction and applies disabled style.
|
|
41
|
+
*/
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Defines the visual style of the button.
|
|
45
|
+
* - `standard`: Default button style.
|
|
46
|
+
* - `contained`: Button with a contained background.
|
|
47
|
+
*/
|
|
48
|
+
variant: 'standard' | 'contained';
|
|
49
|
+
/**
|
|
50
|
+
* Defines the tabindex of the button for keyboard navigation.
|
|
51
|
+
*/
|
|
52
|
+
rTabindex?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Emits `rClick` event on click.
|
|
55
|
+
*/
|
|
56
|
+
rClick: EventEmitter;
|
|
57
|
+
/** Reference to the native button */
|
|
58
|
+
private nativeElement?;
|
|
59
|
+
/** Simulate a button click */
|
|
60
|
+
triggerClick(): Promise<void>;
|
|
61
|
+
/** Set focus on the button */
|
|
62
|
+
setFocus(): Promise<void>;
|
|
63
|
+
/** Remove focus from the button */
|
|
64
|
+
setBlur(): Promise<void>;
|
|
65
|
+
private _handleClick;
|
|
66
|
+
private onFocus;
|
|
67
|
+
private onBlur;
|
|
68
|
+
render(): any;
|
|
69
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const PATH_ILLUSTRATIONS = "https://cdn.riverty.design/illustrations/";
|
|
2
|
+
export declare const DEFAULT_KIT_NAME = "UI";
|
|
3
|
+
export declare const parseElementFromSvgContent: (content: string) => SVGSVGElement;
|
|
4
|
+
export declare const getSvgContentByName: (name: string) => any;
|
|
5
|
+
/**
|
|
6
|
+
* Returns the current in-memory cache object containing all loaded illustrations.
|
|
7
|
+
* Cache is stored as { [illustrationName]: svgContent }
|
|
8
|
+
*/
|
|
9
|
+
export declare const getIllustrationsData: () => {
|
|
10
|
+
"app-update-refresh": string;
|
|
11
|
+
"empty-state-404": string;
|
|
12
|
+
"error-phone-01": string;
|
|
13
|
+
"error-phone-02": string;
|
|
14
|
+
"error-scan": string;
|
|
15
|
+
"identity-verification-scan-01": string;
|
|
16
|
+
"identity-verification-scan-02": string;
|
|
17
|
+
"identity-verification-scan-03": string;
|
|
18
|
+
"identity-verification-scan-04-1": string;
|
|
19
|
+
"identity-verification-scan-04": string;
|
|
20
|
+
"payment-complete": string;
|
|
21
|
+
"payment-failed": string;
|
|
22
|
+
"payment-start": string;
|
|
23
|
+
"returns-complete": string;
|
|
24
|
+
"returns-start": string;
|
|
25
|
+
"rewards-gift": string;
|
|
26
|
+
"success-hands": string;
|
|
27
|
+
"success-phone": string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Adds a newly fetched illustration to the in-memory cache.
|
|
31
|
+
* Stores the SVG content by illustration name to prevent redundant CDN fetches.
|
|
32
|
+
* @param name - The illustration name/identifier
|
|
33
|
+
* @param content - The SVG content as string
|
|
34
|
+
*/
|
|
35
|
+
export declare const addToIllustrationsData: (name: any, content: any) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves a cached SVG illustration from memory by name.
|
|
38
|
+
* Returns null if not found in cache.
|
|
39
|
+
* Used to avoid re-fetching already loaded illustrations.
|
|
40
|
+
* @param name - The illustration name to retrieve from cache
|
|
41
|
+
* @returns SVG DOM element if found, null otherwise
|
|
42
|
+
*/
|
|
43
|
+
export declare const getSvgElementByName: (name: string) => SVGSVGElement;
|
|
44
|
+
/**
|
|
45
|
+
* Fetches an SVG illustration from the CDN using the illustration name.
|
|
46
|
+
* Constructs URL as https://cdn.riverty.design/illustrations/{name}.svg
|
|
47
|
+
* Throws error if fetch fails or response is not OK.
|
|
48
|
+
* @param name - The illustration name to fetch from CDN
|
|
49
|
+
* @returns Promise resolving to SVG DOM element
|
|
50
|
+
* @throws Error if fetch fails or response status is not OK
|
|
51
|
+
*/
|
|
52
|
+
export declare const getSvgElementByNameFromCdn: (name: string) => Promise<SVGSVGElement>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const illustrationsData: {
|
|
2
|
+
"app-update-refresh": string;
|
|
3
|
+
"empty-state-404": string;
|
|
4
|
+
"error-phone-01": string;
|
|
5
|
+
"error-phone-02": string;
|
|
6
|
+
"error-scan": string;
|
|
7
|
+
"identity-verification-scan-01": string;
|
|
8
|
+
"identity-verification-scan-02": string;
|
|
9
|
+
"identity-verification-scan-03": string;
|
|
10
|
+
"identity-verification-scan-04-1": string;
|
|
11
|
+
"identity-verification-scan-04": string;
|
|
12
|
+
"payment-complete": string;
|
|
13
|
+
"payment-failed": string;
|
|
14
|
+
"payment-start": string;
|
|
15
|
+
"returns-complete": string;
|
|
16
|
+
"returns-start": string;
|
|
17
|
+
"rewards-gift": string;
|
|
18
|
+
"success-hands": string;
|
|
19
|
+
"success-phone": string;
|
|
20
|
+
};
|
|
21
|
+
export declare const illustrationThemeArray: readonly ["light", "dark", "auto"];
|
|
22
|
+
export type IllustrationTheme = typeof illustrationThemeArray[number];
|
|
23
|
+
export type IllustrationName = keyof typeof illustrationsData | string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { IllustrationName, IllustrationTheme } from './exports';
|
|
3
|
+
export declare class RIllustration {
|
|
4
|
+
/** Host html element */
|
|
5
|
+
host: HTMLRIllustrationElement;
|
|
6
|
+
/** Name of illustration to select from the set */
|
|
7
|
+
name?: IllustrationName;
|
|
8
|
+
/** Defines initial width of an illustration. */
|
|
9
|
+
width?: string;
|
|
10
|
+
/** Theme mode for illustration rendering */
|
|
11
|
+
theme: IllustrationTheme;
|
|
12
|
+
/** Minimum width constraint for responsive behavior */
|
|
13
|
+
minWidth?: string;
|
|
14
|
+
/** Maximum width constraint for responsive behavior */
|
|
15
|
+
maxWidth?: string;
|
|
16
|
+
/** Optional title element to be added inside the SVG for accessibility */
|
|
17
|
+
svgTitle?: string;
|
|
18
|
+
/** Optional description element to be added inside the SVG for accessibility */
|
|
19
|
+
svgDescription?: string;
|
|
20
|
+
/** Error message text to display when illustration fails to load */
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/** Accessibility: title for the image representing "failed-to-load" state */
|
|
23
|
+
emptyImageTitle?: string;
|
|
24
|
+
/** Accessibility: title for the marker representing "failed-to-load" state */
|
|
25
|
+
emptyMarkerTitle?: string;
|
|
26
|
+
/** Emitted when illustration fails to load */
|
|
27
|
+
rFailed: EventEmitter<void>;
|
|
28
|
+
/** Emitted when illustration completes loading */
|
|
29
|
+
rComplete: EventEmitter<void>;
|
|
30
|
+
detectedTheme: string | null;
|
|
31
|
+
error: boolean;
|
|
32
|
+
private get cssVars();
|
|
33
|
+
private get ariaRole();
|
|
34
|
+
private get ariaLabelledBy();
|
|
35
|
+
private svgElement;
|
|
36
|
+
private svgAttributes;
|
|
37
|
+
private svgInnerHTML;
|
|
38
|
+
private themeObserver;
|
|
39
|
+
private uniqueId;
|
|
40
|
+
private _setElementAttrs;
|
|
41
|
+
private _defineSvgAttrs;
|
|
42
|
+
private _passAttributesToSvg;
|
|
43
|
+
private _defineIllustrationElement;
|
|
44
|
+
componentWillLoad(): void;
|
|
45
|
+
componentWillRender(): Promise<void>;
|
|
46
|
+
private _extractSvgData;
|
|
47
|
+
private _buildSvgContent;
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
private _setupAutoThemeDetection;
|
|
50
|
+
render(): any;
|
|
51
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const data: {
|
|
2
|
+
"app-update-refresh": string;
|
|
3
|
+
"empty-state-404": string;
|
|
4
|
+
"error-phone-01": string;
|
|
5
|
+
"error-phone-02": string;
|
|
6
|
+
"error-scan": string;
|
|
7
|
+
"identity-verification-scan-01": string;
|
|
8
|
+
"identity-verification-scan-02": string;
|
|
9
|
+
"identity-verification-scan-03": string;
|
|
10
|
+
"identity-verification-scan-04-1": string;
|
|
11
|
+
"identity-verification-scan-04": string;
|
|
12
|
+
"payment-complete": string;
|
|
13
|
+
"payment-failed": string;
|
|
14
|
+
"payment-start": string;
|
|
15
|
+
"returns-complete": string;
|
|
16
|
+
"returns-start": string;
|
|
17
|
+
"rewards-gift": string;
|
|
18
|
+
"success-hands": string;
|
|
19
|
+
"success-phone": string;
|
|
20
|
+
};
|
|
21
|
+
export default data;
|