@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,294 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class RTabsList {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Visual variant of the tab list
|
|
6
|
+
* @defaulr 'expanded'
|
|
7
|
+
* */
|
|
8
|
+
this.variant = 'expanded';
|
|
9
|
+
/**
|
|
10
|
+
* Border style of the active tab
|
|
11
|
+
* @default 'standard'
|
|
12
|
+
* */
|
|
13
|
+
this.border = 'standard';
|
|
14
|
+
/** Indicates if the tab list is scrollable */
|
|
15
|
+
this.scrollable = false;
|
|
16
|
+
/** Indicates if the first tab is fully visible */
|
|
17
|
+
this.firstItemVisible = true;
|
|
18
|
+
/** Indicates if the last tab is fully visible */
|
|
19
|
+
this.lastItemVisible = false;
|
|
20
|
+
this.initiatizeResizeObserver = () => {
|
|
21
|
+
if (!this.containerRef || this.resizeObserver)
|
|
22
|
+
return;
|
|
23
|
+
this.resizeObserver = new ResizeObserver(() => this.updateScrollState());
|
|
24
|
+
this.resizeObserver.observe(this.containerRef);
|
|
25
|
+
};
|
|
26
|
+
this.updateScrollState = () => {
|
|
27
|
+
if (!this.containerRef)
|
|
28
|
+
return;
|
|
29
|
+
const { scrollWidth, clientWidth } = this.containerRef;
|
|
30
|
+
const containerRect = this.containerRef.getBoundingClientRect();
|
|
31
|
+
const tabs = Array.from(this.tabElements);
|
|
32
|
+
// Check if content is scrollable
|
|
33
|
+
this.scrollable = scrollWidth > clientWidth;
|
|
34
|
+
if (!this.scrollable || tabs.length === 0) {
|
|
35
|
+
this.firstItemVisible = true;
|
|
36
|
+
this.lastItemVisible = true;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const firstTab = tabs[0];
|
|
40
|
+
const firstTabRect = firstTab.getBoundingClientRect();
|
|
41
|
+
this.firstItemVisible = firstTabRect.left >= containerRect.left - 1;
|
|
42
|
+
const lastTab = tabs[tabs.length - 1];
|
|
43
|
+
const lastTabRect = lastTab.getBoundingClientRect();
|
|
44
|
+
this.lastItemVisible = lastTabRect.right <= containerRect.right + 1;
|
|
45
|
+
};
|
|
46
|
+
this.getVisibleTabOnLeft = () => {
|
|
47
|
+
if (!this.containerRef)
|
|
48
|
+
return null;
|
|
49
|
+
const containerRect = this.containerRef.getBoundingClientRect();
|
|
50
|
+
const tabs = Array.from(this.tabElements);
|
|
51
|
+
// Find first tab that's partially or fully visible from the left
|
|
52
|
+
for (const tab of tabs) {
|
|
53
|
+
const tabRect = tab.getBoundingClientRect();
|
|
54
|
+
if (tabRect.right > containerRect.left + 1) {
|
|
55
|
+
return tab;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return;
|
|
59
|
+
};
|
|
60
|
+
this.getVisibleTabOnRight = () => {
|
|
61
|
+
if (!this.containerRef)
|
|
62
|
+
return null;
|
|
63
|
+
const containerRect = this.containerRef.getBoundingClientRect();
|
|
64
|
+
const tabs = Array.from(this.tabElements);
|
|
65
|
+
for (let i = tabs.length - 1; i >= 0; i--) {
|
|
66
|
+
const tab = tabs[i];
|
|
67
|
+
const tabRect = tab.getBoundingClientRect();
|
|
68
|
+
if (tabRect.left < containerRect.right - 1) {
|
|
69
|
+
return tab;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
};
|
|
74
|
+
this.scrollLeft = () => {
|
|
75
|
+
if (!this.containerRef)
|
|
76
|
+
return;
|
|
77
|
+
const visibleTab = this.getVisibleTabOnLeft();
|
|
78
|
+
if (!visibleTab)
|
|
79
|
+
return;
|
|
80
|
+
const tabs = Array.from(this.tabElements);
|
|
81
|
+
const currentIndex = tabs.indexOf(visibleTab);
|
|
82
|
+
const prevTab = currentIndex > 0 ? tabs[currentIndex - 1] : null;
|
|
83
|
+
if (!prevTab)
|
|
84
|
+
return;
|
|
85
|
+
const containerLeft = this.containerRef.getBoundingClientRect().left;
|
|
86
|
+
const prevTabLeft = prevTab.getBoundingClientRect().left;
|
|
87
|
+
const offset = prevTabLeft - containerLeft;
|
|
88
|
+
this.containerRef.scrollBy({
|
|
89
|
+
left: offset,
|
|
90
|
+
behavior: 'smooth'
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
this.scrollRight = () => {
|
|
94
|
+
if (!this.containerRef)
|
|
95
|
+
return;
|
|
96
|
+
const visibleTab = this.getVisibleTabOnRight();
|
|
97
|
+
if (!visibleTab)
|
|
98
|
+
return;
|
|
99
|
+
const tabs = Array.from(this.tabElements);
|
|
100
|
+
const currentIndex = tabs.indexOf(visibleTab);
|
|
101
|
+
const nextTab = currentIndex < tabs.length - 1 ? tabs[currentIndex + 1] : null;
|
|
102
|
+
if (!nextTab)
|
|
103
|
+
return;
|
|
104
|
+
const containerRight = this.containerRef.getBoundingClientRect().right;
|
|
105
|
+
const nextTabRight = nextTab.getBoundingClientRect().right;
|
|
106
|
+
const offset = nextTabRight - containerRight;
|
|
107
|
+
this.containerRef.scrollBy({
|
|
108
|
+
left: offset,
|
|
109
|
+
behavior: 'smooth'
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
this.scrollToActiveTab = (activeTabElement) => {
|
|
113
|
+
if (!this.containerRef || !this.scrollable)
|
|
114
|
+
return;
|
|
115
|
+
const activeTab = activeTabElement || this.host.querySelector('r-tab[active]');
|
|
116
|
+
if (!activeTab)
|
|
117
|
+
return;
|
|
118
|
+
const containerRect = this.containerRef.getBoundingClientRect();
|
|
119
|
+
const activeTabRect = activeTab.getBoundingClientRect();
|
|
120
|
+
// Check if already fully visible
|
|
121
|
+
const isVisible = activeTabRect.left >= containerRect.left &&
|
|
122
|
+
activeTabRect.right <= containerRect.right;
|
|
123
|
+
if (isVisible)
|
|
124
|
+
return;
|
|
125
|
+
// Center the active tab
|
|
126
|
+
const offset = (activeTabRect.left - containerRect.left) -
|
|
127
|
+
(containerRect.width / 2) +
|
|
128
|
+
(activeTabRect.width / 2);
|
|
129
|
+
this.containerRef.scrollBy({
|
|
130
|
+
left: offset,
|
|
131
|
+
behavior: 'smooth'
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
this.renderScrollButton = (direction, disabled, onClick, tooltip) => {
|
|
135
|
+
const iconName = direction === 'left' ? 'angle-left' : 'angle-right';
|
|
136
|
+
const button = (h("r-icon-button", { onRClick: onClick, disabled: disabled, name: iconName, size: "s", rTabindex: -1, class: "r-tabs-list--scroll-button" }));
|
|
137
|
+
if (tooltip) {
|
|
138
|
+
return (h("r-tooltip", { text: tooltip, position: "top" }, button));
|
|
139
|
+
}
|
|
140
|
+
return button;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/** Listen for "click" event on `<r-tab>` */
|
|
144
|
+
tabChangeAction(event) {
|
|
145
|
+
this.scrollToActiveTab(event.target);
|
|
146
|
+
}
|
|
147
|
+
/** `<r-tab>` group of elements */
|
|
148
|
+
get tabElements() {
|
|
149
|
+
return this.host.querySelectorAll('r-tab');
|
|
150
|
+
}
|
|
151
|
+
componentDidLoad() {
|
|
152
|
+
this.updateScrollState();
|
|
153
|
+
this.initiatizeResizeObserver();
|
|
154
|
+
this.scrollToActiveTab();
|
|
155
|
+
}
|
|
156
|
+
disconnectedCallback() {
|
|
157
|
+
var _a;
|
|
158
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
159
|
+
}
|
|
160
|
+
render() {
|
|
161
|
+
return (h(Host, { key: '3a43356d4178acc008f6213b4f27488740582497', scrollable: `${this.scrollable}`, role: "tablist" }, h("div", { key: 'aa5fdb9a8e8445b083a9ac17d0b6c72f8693e181', class: "r-tabs-list" }, this.scrollable &&
|
|
162
|
+
h("div", { key: '2ba0a3eeae8fd073016af13c9781a20b3c1078cd', "aria-hidden": "true", class: "r-tabs-list--scroll-button-container" }, this.renderScrollButton('left', this.firstItemVisible, this.scrollLeft, this.scrollLeftTooltip), !this.firstItemVisible && h("div", { key: '132141c530c86a0cb5abb48ae5ab55fe00c33444', class: "r-tabs-list--scroll-indicator" })), h("div", { key: 'bbad4d5cf268fa5e15f2e83050ab4f40ec284cbc', class: "r-tabs-list--tabs-container", ref: (el) => this.containerRef = el, onScroll: this.updateScrollState }, h("slot", { key: '8531037917ff783f4467e232ffafff4f2fd0be1f' })), this.scrollable &&
|
|
163
|
+
h("div", { key: 'e39465fadb91478adf2f2ed529a89038ff6695c3', "aria-hidden": "true", class: "r-tabs-list--scroll-button-container" }, !this.lastItemVisible && h("div", { key: 'a4d5660cde041b1ab6ef77c8498e74a85fb79289', class: "r-tabs-list--scroll-indicator" }), this.renderScrollButton('right', this.lastItemVisible, this.scrollRight, this.scrollRightTooltip)))));
|
|
164
|
+
}
|
|
165
|
+
static get is() { return "r-tabs-list"; }
|
|
166
|
+
static get encapsulation() { return "shadow"; }
|
|
167
|
+
static get originalStyleUrls() {
|
|
168
|
+
return {
|
|
169
|
+
"$": ["tabs-list.css"]
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
static get styleUrls() {
|
|
173
|
+
return {
|
|
174
|
+
"$": ["tabs-list.css"]
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
static get properties() {
|
|
178
|
+
return {
|
|
179
|
+
"variant": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"attribute": "variant",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "TabListVariant",
|
|
185
|
+
"resolved": "\"compact\" | \"expanded\"",
|
|
186
|
+
"references": {
|
|
187
|
+
"TabListVariant": {
|
|
188
|
+
"location": "import",
|
|
189
|
+
"path": "./exports",
|
|
190
|
+
"id": "src/components/tabs-list/exports.ts::TabListVariant"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [{
|
|
198
|
+
"name": "defaulr",
|
|
199
|
+
"text": "'expanded'"
|
|
200
|
+
}],
|
|
201
|
+
"text": "Visual variant of the tab list"
|
|
202
|
+
},
|
|
203
|
+
"getter": false,
|
|
204
|
+
"setter": false,
|
|
205
|
+
"reflect": true,
|
|
206
|
+
"defaultValue": "'expanded'"
|
|
207
|
+
},
|
|
208
|
+
"border": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"attribute": "border",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "ActiveTabBorder",
|
|
214
|
+
"resolved": "\"branded\" | \"standard\"",
|
|
215
|
+
"references": {
|
|
216
|
+
"ActiveTabBorder": {
|
|
217
|
+
"location": "import",
|
|
218
|
+
"path": "./exports",
|
|
219
|
+
"id": "src/components/tabs-list/exports.ts::ActiveTabBorder"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": false,
|
|
224
|
+
"optional": false,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [{
|
|
227
|
+
"name": "default",
|
|
228
|
+
"text": "'standard'"
|
|
229
|
+
}],
|
|
230
|
+
"text": "Border style of the active tab"
|
|
231
|
+
},
|
|
232
|
+
"getter": false,
|
|
233
|
+
"setter": false,
|
|
234
|
+
"reflect": true,
|
|
235
|
+
"defaultValue": "'standard'"
|
|
236
|
+
},
|
|
237
|
+
"scrollLeftTooltip": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"attribute": "scroll-left-tooltip",
|
|
240
|
+
"mutable": false,
|
|
241
|
+
"complexType": {
|
|
242
|
+
"original": "string",
|
|
243
|
+
"resolved": "string",
|
|
244
|
+
"references": {}
|
|
245
|
+
},
|
|
246
|
+
"required": false,
|
|
247
|
+
"optional": false,
|
|
248
|
+
"docs": {
|
|
249
|
+
"tags": [],
|
|
250
|
+
"text": "Tooltip visibility for left scroll button"
|
|
251
|
+
},
|
|
252
|
+
"getter": false,
|
|
253
|
+
"setter": false,
|
|
254
|
+
"reflect": false
|
|
255
|
+
},
|
|
256
|
+
"scrollRightTooltip": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"attribute": "scroll-right-tooltip",
|
|
259
|
+
"mutable": false,
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "string",
|
|
262
|
+
"resolved": "string",
|
|
263
|
+
"references": {}
|
|
264
|
+
},
|
|
265
|
+
"required": false,
|
|
266
|
+
"optional": false,
|
|
267
|
+
"docs": {
|
|
268
|
+
"tags": [],
|
|
269
|
+
"text": "Tooltip visibility for left right button"
|
|
270
|
+
},
|
|
271
|
+
"getter": false,
|
|
272
|
+
"setter": false,
|
|
273
|
+
"reflect": false
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
static get states() {
|
|
278
|
+
return {
|
|
279
|
+
"scrollable": {},
|
|
280
|
+
"firstItemVisible": {},
|
|
281
|
+
"lastItemVisible": {}
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
static get elementRef() { return "host"; }
|
|
285
|
+
static get listeners() {
|
|
286
|
+
return [{
|
|
287
|
+
"name": "tabChange",
|
|
288
|
+
"method": "tabChangeAction",
|
|
289
|
+
"target": undefined,
|
|
290
|
+
"capture": false,
|
|
291
|
+
"passive": false
|
|
292
|
+
}];
|
|
293
|
+
}
|
|
294
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
opacity: 1;
|
|
3
|
+
display: block;
|
|
4
|
+
outline: none;
|
|
5
|
+
--r-label--margin-bottom: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host(:focus-visible) {
|
|
9
|
+
outline: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([resize=none]) {
|
|
13
|
+
--r-textarea--input--resize: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host([resize=both]) {
|
|
17
|
+
--r-textarea--input--resize: both;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host([resize=horizontal]) {
|
|
21
|
+
--r-textarea--input--resize: horizontal;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host([resize=vertical]) {
|
|
25
|
+
--r-textarea--input--resize: vertical;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([resize=initial]) {
|
|
29
|
+
--r-textarea--input--resize: initial;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([resize=inherit]) {
|
|
33
|
+
--r-textarea--input--resize: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([invalid]:not([invalid=false])) {
|
|
37
|
+
--r-textarea--container--background-color: var(--r-status-error-soft, #fef6f6);
|
|
38
|
+
--r-textarea--container--border-color: var(--r-status-error-regular, #b00c15);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.r-textarea--label-container {
|
|
42
|
+
display: var(--r-textarea--label-container--display, flex);
|
|
43
|
+
gap: var(--r-textarea--label-container--gap, var(--r-spacing-100, 1rem));
|
|
44
|
+
align-items: var(--r-textarea--label-container--align-items, center);
|
|
45
|
+
justify-content: var(--r-textarea--label-container--align-items, space-between);
|
|
46
|
+
}
|
|
47
|
+
.r-textarea--label-container ::slotted([slot=popover]) {
|
|
48
|
+
display: var(--r-textarea--popover--display, inline-flex);
|
|
49
|
+
height: var(--r-textarea--popover--height, var(--r-spacing-150, 1.5));
|
|
50
|
+
align-items: var(--r-textarea--popover--align-items, center);
|
|
51
|
+
justify-content: var(--r-textarea--popover--justify-content, center);
|
|
52
|
+
margin-right: var(--r-textarea--popover--margin-right, -0.25rem);
|
|
53
|
+
--r-popover--trigger--min-width: var(--r-textarea--popover-trigger--min-width, var(--r-spacing-150, 1.5));
|
|
54
|
+
}
|
|
55
|
+
.r-textarea--input::placeholder {
|
|
56
|
+
color: var(--r-textarea--input--placeholder--color, var(--r-text-soft, #686868));
|
|
57
|
+
}
|
|
58
|
+
.r-textarea--input {
|
|
59
|
+
vertical-align: top;
|
|
60
|
+
width: var(--r-textarea--input--width, 100%);
|
|
61
|
+
max-width: var(--r-textarea--input--max-width, 100%);
|
|
62
|
+
min-height: var(--r-textarea--input--min-height, 8.875em);
|
|
63
|
+
font-family: var(--r-textarea--input--font-family, var(--r-font-family-text, system-ui));
|
|
64
|
+
font-weight: var(--r-textarea--input--font-weight, var(--r-font-weight-regular, 400));
|
|
65
|
+
font-size: var(--r-textarea--input--font-size, var(--r-font-size-400, 1rem));
|
|
66
|
+
line-height: var(--r-textarea--input--line-height, var(--r-line-height-m, 1.5));
|
|
67
|
+
color: var(--r-textarea--input--color, var(--r-text-regular, #282828));
|
|
68
|
+
background-color: var(--r-textarea--input--background-color, transparent);
|
|
69
|
+
opacity: var(--r-textarea--input--opacity, 1);
|
|
70
|
+
border-width: var(--r-textarea--input--border-width, 0px);
|
|
71
|
+
border-style: var(--r-textarea--input--border-style, solid);
|
|
72
|
+
border-color: var(--r-textarea--input--border-color, var(--r-border-soft, #686868));
|
|
73
|
+
border-radius: var(--r-textarea--input--border-radius, 0);
|
|
74
|
+
box-sizing: var(--r-textarea--input--box-sizing, border-box);
|
|
75
|
+
box-shadow: var(--r-textarea--input--box-shadow, none);
|
|
76
|
+
padding: var(--r-textarea--input--padding, var(--r-textarea--input--padding-top, 0.688em) var(--r-textarea--input--padding-right, 0.625em) var(--r-textarea--input--padding-bottom, 0.688em) var(--r-textarea--input--padding-left, 0.625em));
|
|
77
|
+
margin-top: var(--r-textarea--input--margin-top, 0);
|
|
78
|
+
resize: var(--r-textarea--input--resize, both);
|
|
79
|
+
z-index: var(--r-textarea--input--z-index, initial);
|
|
80
|
+
outline: var(--r-textarea--input--outline, none);
|
|
81
|
+
outline-offset: var(--r-textarea--input--outline-offset, 0);
|
|
82
|
+
pointer-events: var(--r-textarea--input--pointer-events, auto);
|
|
83
|
+
cursor: var(--r-textarea--input--cursor, inherit);
|
|
84
|
+
}
|
|
85
|
+
.r-textarea--container {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: start;
|
|
88
|
+
overflow: visible;
|
|
89
|
+
background-color: var(--r-textarea--container--background-color, var(--r-background-interactive-softest, #f7f7f7));
|
|
90
|
+
border-width: var(--r-textarea--container--border-width, 1px);
|
|
91
|
+
border-style: var(--r-textarea--container--border-style, solid);
|
|
92
|
+
border-color: var(--r-textarea--container--border-color, var(--r-border-soft, #686868));
|
|
93
|
+
padding: var(--r-textarea--container--padding, 0);
|
|
94
|
+
margin-top: var(--r-textarea--container--margin-top, var(--r-spacing-025, 0.25rem));
|
|
95
|
+
box-shadow: var(--r-textarea--container--box-shadow, none);
|
|
96
|
+
outline: var(--r-textarea--container--outline, none);
|
|
97
|
+
outline-offset: var(--r-textarea--container--outline-offset, none);
|
|
98
|
+
}
|
|
99
|
+
.r-textarea--container[data-readonly=true] {
|
|
100
|
+
--r-textarea--container--background-color: var(--r-background-soft, #f3f1f0);
|
|
101
|
+
--r-textarea--container--border-color: transparent transparent var(--r-border-soft, #686868) transparent;
|
|
102
|
+
--r-textarea--container--cursor: text;
|
|
103
|
+
}
|
|
104
|
+
.r-textarea--container:hover:not([data-disabled=true]):not([data-readonly=true]) {
|
|
105
|
+
--r-textarea--container--background-color: var(--r-background-interactive-hovered);
|
|
106
|
+
}
|
|
107
|
+
.r-textarea--container:active:not([data-disabled=true]):not([data-readonly=true]) {
|
|
108
|
+
--r-textarea--container--background-color: var(--r-background-interactive-pressed);
|
|
109
|
+
}
|
|
110
|
+
.r-textarea--container:focus-within {
|
|
111
|
+
--r-textarea--container--box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
|
|
112
|
+
--r-textarea--container--outline: 2px solid var(--r-border-focused, #0071e3);
|
|
113
|
+
--r-textarea--container--outline-offset: 2px;
|
|
114
|
+
}
|
|
115
|
+
.r-textarea--trailing {
|
|
116
|
+
display: var(--r-textarea--trailing--display, flex);
|
|
117
|
+
margin-top: var(--r-textarea--trailing--margin-top, 0.688em);
|
|
118
|
+
margin-right: var(--r-textarea--trailing--margin-right, 0.625em);
|
|
119
|
+
margin-left: var(--r-textarea--trailing--margin-left, auto);
|
|
120
|
+
gap: var(--r-textarea--trailing--gap, 0.625rem);
|
|
121
|
+
}
|
|
122
|
+
.r-textarea--trailing:empty {
|
|
123
|
+
display: none;
|
|
124
|
+
}
|
|
125
|
+
.r-textarea--readonly-icon {
|
|
126
|
+
color: var(--r-textarea--readonly-icon--color, var(--r-icon-soft, #686868));
|
|
127
|
+
}
|
|
128
|
+
.r-textarea--messages {
|
|
129
|
+
display: flex;
|
|
130
|
+
gap: var(--r-textarea--messages--gap, var(--r-spacing-025, 0.25rem));
|
|
131
|
+
}
|
|
132
|
+
.r-textarea--messages--counter {
|
|
133
|
+
margin-left: auto;
|
|
134
|
+
}
|
|
135
|
+
.r-textarea--messages:has(r-hint) {
|
|
136
|
+
margin-top: var(--r-spacing-025, 0.25rem);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.visually-hidden {
|
|
140
|
+
position: absolute;
|
|
141
|
+
width: 1px;
|
|
142
|
+
height: 1px;
|
|
143
|
+
padding: 0;
|
|
144
|
+
margin: -1px;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
clip: rect(0, 0, 0, 0);
|
|
147
|
+
border: 0;
|
|
148
|
+
}
|