@riverty/web-components 5.7.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +128 -0
- package/custom-elements.json +152 -372
- package/dist/cjs/index-DJ4H_bFj.js +6 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/r-accordion-panel.cjs.entry.js +1 -1
- package/dist/cjs/r-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/r-accordion-trigger.cjs.entry.js +5 -35
- package/dist/cjs/r-accordion.cjs.entry.js +3 -7
- package/dist/cjs/r-alert.cjs.entry.js +45 -14
- package/dist/cjs/r-badge.cjs.entry.js +1 -1
- package/dist/cjs/r-button.cjs.entry.js +2 -2
- package/dist/cjs/r-checkbox-group.cjs.entry.js +28 -24
- package/dist/cjs/r-checkbox.cjs.entry.js +97 -81
- package/dist/cjs/r-dialog.cjs.entry.js +3 -11
- package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
- package/dist/cjs/{r-hint_3.cjs.entry.js → r-icon-button_2.cjs.entry.js} +64 -51
- package/dist/cjs/r-icon.cjs.entry.js +1 -1
- package/dist/cjs/r-input-code.cjs.entry.js +133 -25
- package/dist/cjs/r-input-date.cjs.entry.js +87 -23
- package/dist/cjs/r-input-password.cjs.entry.js +34 -13
- package/dist/cjs/r-input-phone-number.cjs.entry.js +30 -22
- package/dist/cjs/r-input.cjs.entry.js +108 -49
- package/dist/cjs/r-list-item.cjs.entry.js +5 -5
- package/dist/cjs/r-pagination.cjs.entry.js +1 -1
- package/dist/cjs/r-panel.cjs.entry.js +2 -2
- package/dist/cjs/r-popover-action.cjs.entry.js +2 -2
- package/dist/cjs/r-popover-content.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-headline.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-trigger.cjs.entry.js +1 -1
- package/dist/cjs/r-popover.cjs.entry.js +3 -3
- package/dist/cjs/r-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-description.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-leading.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-title.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button-trailing.cjs.entry.js +1 -1
- package/dist/cjs/r-radio-button.cjs.entry.js +29 -12
- package/dist/cjs/r-radio-group.cjs.entry.js +32 -32
- package/dist/cjs/r-select-option.cjs.entry.js +1 -1
- package/dist/cjs/r-select.cjs.entry.js +116 -40
- package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
- package/dist/cjs/r-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/r-stepper.cjs.entry.js +1 -1
- package/dist/cjs/r-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/r-tab.cjs.entry.js +1 -1
- package/dist/cjs/r-tabs-list.cjs.entry.js +1 -1
- package/dist/cjs/r-tabs.cjs.entry.js +1 -1
- package/dist/cjs/r-textarea.cjs.entry.js +24 -23
- package/dist/cjs/r-toast-group.cjs.entry.js +1 -1
- package/dist/cjs/r-toast.cjs.entry.js +51 -20
- package/dist/cjs/web-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/accordion/accordion.css +0 -2
- package/dist/collection/components/accordion/accordion.js +4 -8
- package/dist/collection/components/accordion/exports.js +1 -1
- package/dist/collection/components/accordion-panel/accordion-panel.js +1 -1
- package/dist/collection/components/accordion-section/accordion-section.js +1 -1
- package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -4
- package/dist/collection/components/accordion-trigger/accordion-trigger.js +4 -215
- package/dist/collection/components/alert/alert.css +58 -12
- package/dist/collection/components/alert/alert.js +92 -17
- package/dist/collection/components/alert/exports.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/button/button.css +6 -7
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +121 -104
- package/dist/collection/components/checkbox-group/checkbox-group.js +48 -63
- package/dist/collection/components/dialog/dialog.css +1 -3
- package/dist/collection/components/dialog/dialog.js +2 -10
- package/dist/collection/components/hint/hint.js +2 -2
- package/dist/collection/components/icon/bundled-icons/riverty-kit.json +1 -1
- package/dist/collection/components/icon/riverty-kit.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +0 -7
- package/dist/collection/components/icon-button/icon-button.js +3 -3
- package/dist/collection/components/input/input.css +3 -0
- package/dist/collection/components/input/input.js +221 -378
- package/dist/collection/components/input-code/exports.js +2 -0
- package/dist/collection/components/input-code/input-code.js +335 -34
- package/dist/collection/components/input-date/input-date.js +237 -87
- package/dist/collection/components/input-password/exports.js +1 -0
- package/dist/collection/components/input-password/input-password.css +1 -0
- package/dist/collection/components/input-password/input-password.js +233 -75
- package/dist/collection/components/input-phone-number/input-phone-number.js +50 -85
- package/dist/collection/components/label/label.js +3 -113
- package/dist/collection/components/list-item/list-item/list-item.css +7 -7
- package/dist/collection/components/list-item/list-item/list-item.js +4 -26
- package/dist/collection/components/pagination/pagination.css +23 -23
- package/dist/collection/components/panel/panel.js +2 -2
- package/dist/collection/components/popover/exports.js +0 -1
- package/dist/collection/components/popover/popover.css +13 -13
- package/dist/collection/components/popover/popover.js +2 -55
- package/dist/collection/components/popover-action/popover-action.css +3 -5
- package/dist/collection/components/popover-action/popover-action.js +1 -1
- package/dist/collection/components/popover-content/popover-content.js +1 -1
- package/dist/collection/components/popover-headline/popover-headline.js +1 -1
- package/dist/collection/components/popover-trigger/popover-trigger.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +49 -12
- package/dist/collection/components/radio-button-description/radio-button-description.js +1 -1
- package/dist/collection/components/radio-button-leading/radio-button-leading.js +1 -1
- package/dist/collection/components/radio-button-title/radio-button-title.js +1 -1
- package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +53 -135
- package/dist/collection/components/select/select.js +197 -349
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/skip-link/skip-link.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +2 -2
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tabs-list/tabs-list.js +1 -1
- package/dist/collection/components/textarea/textarea.js +44 -163
- package/dist/collection/components/toast/toast.css +22 -14
- package/dist/collection/components/toast/toast.js +95 -43
- package/dist/collection/components/toast-group/toast-group.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/esm/index-Da7qOBFr.js +6 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/r-accordion-panel.entry.js +1 -1
- package/dist/esm/r-accordion-section.entry.js +1 -1
- package/dist/esm/r-accordion-trigger.entry.js +5 -35
- package/dist/esm/r-accordion.entry.js +3 -7
- package/dist/esm/r-alert.entry.js +45 -14
- package/dist/esm/r-badge.entry.js +1 -1
- package/dist/esm/r-button.entry.js +2 -2
- package/dist/esm/r-checkbox-group.entry.js +28 -24
- package/dist/esm/r-checkbox.entry.js +97 -81
- package/dist/esm/r-dialog.entry.js +3 -11
- package/dist/esm/r-hint_2.entry.js +47 -0
- package/dist/esm/{r-hint_3.entry.js → r-icon-button_2.entry.js} +65 -51
- package/dist/esm/r-icon.entry.js +1 -1
- package/dist/esm/r-input-code.entry.js +133 -25
- package/dist/esm/r-input-date.entry.js +87 -23
- package/dist/esm/r-input-password.entry.js +34 -13
- package/dist/esm/r-input-phone-number.entry.js +30 -22
- package/dist/esm/r-input.entry.js +108 -49
- package/dist/esm/r-list-item.entry.js +5 -5
- package/dist/esm/r-pagination.entry.js +1 -1
- package/dist/esm/r-panel.entry.js +2 -2
- package/dist/esm/r-popover-action.entry.js +2 -2
- package/dist/esm/r-popover-content.entry.js +1 -1
- package/dist/esm/r-popover-headline.entry.js +1 -1
- package/dist/esm/r-popover-trigger.entry.js +1 -1
- package/dist/esm/r-popover.entry.js +3 -3
- package/dist/esm/r-progress-bar.entry.js +1 -1
- package/dist/esm/r-radio-button-description.entry.js +1 -1
- package/dist/esm/r-radio-button-leading.entry.js +1 -1
- package/dist/esm/r-radio-button-title.entry.js +1 -1
- package/dist/esm/r-radio-button-trailing.entry.js +1 -1
- package/dist/esm/r-radio-button.entry.js +29 -12
- package/dist/esm/r-radio-group.entry.js +32 -32
- package/dist/esm/r-select-option.entry.js +1 -1
- package/dist/esm/r-select.entry.js +116 -40
- package/dist/esm/r-skip-link.entry.js +1 -1
- package/dist/esm/r-stepper-item.entry.js +2 -2
- package/dist/esm/r-stepper.entry.js +1 -1
- package/dist/esm/r-tab-panel.entry.js +1 -1
- package/dist/esm/r-tab.entry.js +1 -1
- package/dist/esm/r-tabs-list.entry.js +1 -1
- package/dist/esm/r-tabs.entry.js +1 -1
- package/dist/esm/r-textarea.entry.js +24 -23
- package/dist/esm/r-toast-group.entry.js +1 -1
- package/dist/esm/r-toast.entry.js +51 -20
- package/dist/esm/web-components.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -5
- package/dist/types/components/accordion/exports.d.ts +1 -1
- package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -36
- package/dist/types/components/alert/alert.d.ts +9 -1
- package/dist/types/components/alert/exports.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +29 -34
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +6 -11
- package/dist/types/components/dialog/dialog.d.ts +0 -2
- package/dist/types/components/input/input.d.ts +35 -72
- package/dist/types/components/input-code/exports.d.ts +4 -0
- package/dist/types/components/input-code/input-code.d.ts +54 -7
- package/dist/types/components/input-date/input-date.d.ts +30 -16
- package/dist/types/components/input-password/exports.d.ts +1 -0
- package/dist/types/components/input-password/input-password.d.ts +53 -16
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +5 -16
- package/dist/types/components/label/label.d.ts +0 -18
- package/dist/types/components/list-item/list-item/list-item.d.ts +0 -6
- package/dist/types/components/popover/exports.d.ts +0 -2
- package/dist/types/components/popover/popover.d.ts +1 -14
- package/dist/types/components/radio-button/radio-button.d.ts +5 -0
- package/dist/types/components/radio-group/radio-group.d.ts +6 -28
- package/dist/types/components/select/select.d.ts +34 -52
- package/dist/types/components/textarea/textarea.d.ts +5 -32
- package/dist/types/components/toast/toast.d.ts +10 -7
- package/dist/types/components.d.ts +347 -647
- package/dist/web-components/bundled-icons/riverty-kit.json +1 -1
- package/dist/web-components/p-0347feff.entry.js +1 -0
- package/dist/web-components/p-05738503.entry.js +1 -0
- package/dist/web-components/p-0e4c8bf1.entry.js +1 -0
- package/dist/web-components/p-1da75540.entry.js +1 -0
- package/dist/web-components/p-26ef77d6.entry.js +1 -0
- package/dist/web-components/p-3884c6e7.entry.js +1 -0
- package/dist/web-components/p-3a5a67e7.entry.js +1 -0
- package/dist/web-components/p-3f60c6c0.entry.js +1 -0
- package/dist/web-components/p-4254a383.entry.js +1 -0
- package/dist/web-components/{p-87f39749.entry.js → p-4595fa8e.entry.js} +1 -1
- package/dist/web-components/{p-4e3df002.entry.js → p-4cc58c6a.entry.js} +1 -1
- package/dist/web-components/p-5441b746.entry.js +1 -0
- package/dist/web-components/{p-72fa1fd1.entry.js → p-550e2237.entry.js} +1 -1
- package/dist/web-components/p-589baaf9.entry.js +1 -0
- package/dist/web-components/p-60341de2.entry.js +1 -0
- package/dist/web-components/{p-4bd3e077.entry.js → p-60ca994e.entry.js} +1 -1
- package/dist/web-components/{p-44ae9f33.entry.js → p-62b788bf.entry.js} +1 -1
- package/dist/web-components/{p-2b2f581a.entry.js → p-6303b9fe.entry.js} +1 -1
- package/dist/web-components/p-63fd817d.entry.js +1 -0
- package/dist/web-components/{p-e0e2f2b2.entry.js → p-673dbfd0.entry.js} +1 -1
- package/dist/web-components/p-67fa3f84.entry.js +1 -0
- package/dist/web-components/p-6a4f3836.entry.js +1 -0
- package/dist/web-components/p-6cc2ea2c.entry.js +1 -0
- package/dist/web-components/p-70784685.entry.js +1 -0
- package/dist/web-components/{p-429213ea.entry.js → p-7fed6f4d.entry.js} +1 -1
- package/dist/web-components/p-8a66d20c.entry.js +1 -0
- package/dist/web-components/{p-0bb04d79.entry.js → p-8b4d2448.entry.js} +1 -1
- package/dist/web-components/{p-c7f8e59b.entry.js → p-8c31cbd5.entry.js} +1 -1
- package/dist/web-components/p-8dac326b.entry.js +1 -0
- package/dist/web-components/{p-1c2497de.entry.js → p-9ef1bbee.entry.js} +1 -1
- package/dist/web-components/p-a0dbde7c.entry.js +1 -0
- package/dist/web-components/{p-755cc697.entry.js → p-a71485d8.entry.js} +1 -1
- package/dist/web-components/p-a7d22c76.entry.js +1 -0
- package/dist/web-components/{p-85a9af42.entry.js → p-ae251d2f.entry.js} +1 -1
- package/dist/web-components/{p-77155630.entry.js → p-b98ab649.entry.js} +1 -1
- package/dist/web-components/p-b9e3b3d6.entry.js +1 -0
- package/dist/web-components/p-c1e748f2.entry.js +1 -0
- package/dist/web-components/p-c478712b.entry.js +1 -0
- package/dist/web-components/{p-72c0c0d8.entry.js → p-d054eb4d.entry.js} +1 -1
- package/dist/web-components/p-d433a828.entry.js +1 -0
- package/dist/web-components/p-d7726e46.entry.js +1 -0
- package/dist/web-components/p-d819c8e5.entry.js +1 -0
- package/dist/web-components/p-e2188953.entry.js +1 -0
- package/dist/web-components/{p-3b4e3faf.entry.js → p-e5945c01.entry.js} +1 -1
- package/dist/web-components/{p-d1379ac6.entry.js → p-f9d5004c.entry.js} +1 -1
- package/dist/web-components/web-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/r-accordion-item.cjs.entry.js +0 -78
- package/dist/cjs/r-icon-button.cjs.entry.js +0 -81
- package/dist/collection/components/accordion-item/accordion-item.css +0 -121
- package/dist/collection/components/accordion-item/accordion-item.js +0 -138
- package/dist/esm/r-accordion-item.entry.js +0 -76
- package/dist/esm/r-icon-button.entry.js +0 -79
- package/dist/types/components/accordion-item/accordion-item.d.ts +0 -26
- package/dist/web-components/p-00ca474f.entry.js +0 -1
- package/dist/web-components/p-289eb4b0.entry.js +0 -1
- package/dist/web-components/p-2b8e12ae.entry.js +0 -1
- package/dist/web-components/p-2e2c8a5b.entry.js +0 -1
- package/dist/web-components/p-3a39932b.entry.js +0 -1
- package/dist/web-components/p-3bc93d65.entry.js +0 -1
- package/dist/web-components/p-44be9992.entry.js +0 -1
- package/dist/web-components/p-4652635a.entry.js +0 -1
- package/dist/web-components/p-51a5804b.entry.js +0 -1
- package/dist/web-components/p-63474b32.entry.js +0 -1
- package/dist/web-components/p-74d2a563.entry.js +0 -1
- package/dist/web-components/p-7ad8e78b.entry.js +0 -1
- package/dist/web-components/p-8028c2a9.entry.js +0 -1
- package/dist/web-components/p-96ddeb7f.entry.js +0 -1
- package/dist/web-components/p-9d898089.entry.js +0 -1
- package/dist/web-components/p-9e50120b.entry.js +0 -1
- package/dist/web-components/p-9eb1f262.entry.js +0 -1
- package/dist/web-components/p-a022f356.entry.js +0 -1
- package/dist/web-components/p-a7e7f8fa.entry.js +0 -1
- package/dist/web-components/p-b2f03016.entry.js +0 -1
- package/dist/web-components/p-c300c22f.entry.js +0 -1
- package/dist/web-components/p-c937bd92.entry.js +0 -1
- package/dist/web-components/p-cbcd7699.entry.js +0 -1
- package/dist/web-components/p-d93c240d.entry.js +0 -1
- package/dist/web-components/p-e4b66277.entry.js +0 -1
- package/dist/web-components/p-e6a31881.entry.js +0 -1
- package/dist/web-components/p-f6a92287.entry.js +0 -1
- package/dist/web-components/p-f770e22b.entry.js +0 -1
- package/dist/web-components/p-f952161b.entry.js +0 -1
|
@@ -128,7 +128,7 @@ export class SelectOption {
|
|
|
128
128
|
size: iconSize,
|
|
129
129
|
color: iconColor
|
|
130
130
|
};
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: 'd059d75cec11ef39ddea8c4ddc9ce8bc9d1a57e7', id: uniqueId, role: "option", onClick: this.handleClick, onKeydown: this.handleKeydown, "aria-disabled": `${disabled}`, "aria-selected": `${this.isSelected}`, "data-value": this.definedValue, "data-focused": `${this.isFocused}` }, h("div", { key: '70fa5c2fc9194d197b4124b6afad296d2849032c', class: "r-select-option" }, icon && h("span", { key: '07bdfeb2d8330c989e6b59c34ee85cac029135cb', class: "r-select-option--icon" }, h("r-icon", Object.assign({ key: '358748199ca580e8a9d397ed4f5642a722703441' }, iconAttributes))), !icon && hasIconSlot && h("span", { key: '60a4e6059188b27d0fbe6e9b0134882cea803d90', class: "r-select-option--icon" }, h("slot", { key: '08b11beec2c086b21ab92ad6cab080bae1cd0eac', name: "icon" })), h("span", { key: '4397696c7b8ec172098d9bd82e0c89c55781bb91', class: "r-select-option--label" }, h("slot", { key: 'b9dddec8b9c455f130ed38577c9321cb6aced0dd' })))));
|
|
132
132
|
}
|
|
133
133
|
static get is() { return "r-select-option"; }
|
|
134
134
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class SkipLink {
|
|
|
5
5
|
this.position = 'center';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '5097cfa89ded56bcfb98dc24ca0b1e42c389e4ae' }, h("slot", { key: 'bba803efc4b82b0612e270665d5f80b740a786f1' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "r-skip-link"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class Stepper {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const completed = this.completed || this.completeSteps;
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '196ddb8922499f7222418d19cd6ddc994c211119' }, h("div", { key: '2220fcb8ec2125a15db198ec7948780d8d331e50', class: "r-stepper" }, !this.hasSteps && Array.from({ length: this.total }, (_, index) => (h("r-stepper-item", { number: index + 1, complete: completed > index, active: completed === index, key: index }))), h("slot", { key: '69c7eb87d53b67b19efc6da0ab489debc7e6b06c' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "r-stepper"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,8 +11,8 @@ export class StepperItem {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const number = this.number || this.stepNumber;
|
|
14
|
-
return (h(Host, { key: '
|
|
15
|
-
h("div", { key: '
|
|
14
|
+
return (h(Host, { key: '3613c92e8ac7583bf5e3db7e90edca9a921fa475' }, h("div", { key: 'ca2c38443d9a855baea829e99ec9c642c279a3be', class: "r-stepper-item" }, h("div", { key: '513f01a9a3ac3a87c3622b14f051765121308241', class: "r-stepper-item--indicator" }, this.complete ? (h("r-icon", { name: "check", size: "s" })) : this.icon ? (h("r-icon", { name: this.icon, size: "s" })) : number !== undefined ? (h("span", { class: "r-stepper-item--indicator--step-number" }, number)) : null), this.hasText &&
|
|
15
|
+
h("div", { key: 'cec8659e5ff31608b05c6f62798a8a1048cd7539', class: "r-stepper-item--text" }, h("slot", { key: '6a9d581948decc8a15e66401275cb85bf52bb459' })))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "r-stepper-item"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class RTab {
|
|
|
41
41
|
'aria-selected': `${active}`,
|
|
42
42
|
'aria-disabled': `${disabled}`
|
|
43
43
|
};
|
|
44
|
-
return (h(Host, Object.assign({ key: '
|
|
44
|
+
return (h(Host, Object.assign({ key: '04af619a56c41414b02e942d9d5bba11ef5eb1a0', onClick: this.handleClick, onKeyUp: this.handleKeyup, onKeyDown: this.handleKeydown }, hostAttrs), h("span", { key: 'e3fcc9b084de339aafcf98d8c5ca06f0e9615916', class: "r-tab" }, h("span", { key: 'bb52bf58758c2404a61b595706ecb3e3f71942ee', class: "r-tab--slot" }, h("slot", { key: '939a0e9618875e4909dbb763290f5f439122e312' })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "r-tab"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class RTabPanel {
|
|
|
12
12
|
active,
|
|
13
13
|
'aria-labelledby': tabId
|
|
14
14
|
};
|
|
15
|
-
return (h(Host, Object.assign({ key: '
|
|
15
|
+
return (h(Host, Object.assign({ key: 'de50044bd0be5598615c2f84e66f5a552edb4ab9', class: "r-typography" }, hostAttrs), h("div", { key: 'e4db4fd5b115c96474f31d9d16881f496b8f4fd2', class: "r-tab-panel" }, h("slot", { key: 'd2ad80745f97933fb173f6ecd3635829d3c890ac' }))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "r-tab-panel"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -233,7 +233,7 @@ export class RTabs {
|
|
|
233
233
|
this._changeFocusTab(e.target, e.detail.keycode);
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
|
-
return (h(Host, { key: '
|
|
236
|
+
return (h(Host, { key: '4c86b16a8af456854579e7141ff2b3d2b60627e5', class: "r-tabs" }, h("slot", { key: '589b8ae9f3f51df095ed28b896714e1407fd9d87' })));
|
|
237
237
|
}
|
|
238
238
|
static get is() { return "r-tabs"; }
|
|
239
239
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
export class RTabsList {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '98a63f5b2df8649a90efc639cf745537eb903446', role: "tablist" }, h("div", { key: 'f1f0ce63461fed127e2e0789e941404545265b51', class: "r-tabs-list" }, h("slot", { key: 'e8302171cd66fba6332ed3301be7370dff43e69d' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "r-tabs-list"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,11 +13,6 @@ export class RTextarea {
|
|
|
13
13
|
this.resize = 'none';
|
|
14
14
|
/** Custom message when the character limit is reached to alert screen reader users. */
|
|
15
15
|
this.characterLimitReachedMessage = "You've reached the character limit.";
|
|
16
|
-
/**
|
|
17
|
-
* _DEPRECATED_ (This property will be removed in November 2025 release.)
|
|
18
|
-
* Controls the visibility of validation indicators for the field.
|
|
19
|
-
* */
|
|
20
|
-
this.showValid = false;
|
|
21
16
|
/** Custom validity state */
|
|
22
17
|
this.validityState = null;
|
|
23
18
|
/** Custom validity message */
|
|
@@ -72,16 +67,19 @@ export class RTextarea {
|
|
|
72
67
|
this.rReset.emit({ element: host, value });
|
|
73
68
|
};
|
|
74
69
|
this.getValidityStateData = (element) => {
|
|
70
|
+
let validityState = '';
|
|
71
|
+
let validityMessage = '';
|
|
75
72
|
for (const state in element.validity) {
|
|
76
73
|
if (element.validity[state]) {
|
|
77
|
-
|
|
74
|
+
validityState = state;
|
|
78
75
|
if (this[state + 'Message']) {
|
|
79
|
-
|
|
80
|
-
return;
|
|
76
|
+
validityMessage = this[state + 'Message'];
|
|
77
|
+
return { validityState, validityMessage };
|
|
81
78
|
}
|
|
82
|
-
|
|
79
|
+
validityMessage = element.validationMessage;
|
|
83
80
|
}
|
|
84
81
|
}
|
|
82
|
+
return { validityState, validityMessage };
|
|
85
83
|
};
|
|
86
84
|
this.validateFormElement = (element = null) => {
|
|
87
85
|
if (element === null)
|
|
@@ -90,7 +88,9 @@ export class RTextarea {
|
|
|
90
88
|
return;
|
|
91
89
|
if (this.error)
|
|
92
90
|
return;
|
|
93
|
-
this.getValidityStateData(element);
|
|
91
|
+
const { validityState, validityMessage } = this.getValidityStateData(element);
|
|
92
|
+
this.validityState = validityState;
|
|
93
|
+
this.validityMessage = validityMessage;
|
|
94
94
|
const isValid = this.validityState === 'valid';
|
|
95
95
|
this.valid = isValid;
|
|
96
96
|
this.invalid = !isValid;
|
|
@@ -144,6 +144,14 @@ export class RTextarea {
|
|
|
144
144
|
this.customErrorMessage = message;
|
|
145
145
|
this.validateFormElement(this.nativeElement);
|
|
146
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Validates the textarea without triggering UI and returns a boolean indicating its validity.
|
|
149
|
+
* @returns A boolean indicating whether the textarea is valid.
|
|
150
|
+
*/
|
|
151
|
+
async checkValidity() {
|
|
152
|
+
const { validityState } = this.getValidityStateData(this.nativeElement);
|
|
153
|
+
return validityState === 'valid';
|
|
154
|
+
}
|
|
147
155
|
/** Validates an element and displays validity state. */
|
|
148
156
|
async reportValidity() {
|
|
149
157
|
this.validateFormElement(this.nativeElement);
|
|
@@ -167,11 +175,8 @@ export class RTextarea {
|
|
|
167
175
|
const hasMessage = !!(this.customErrorMessage || this.validityMessage);
|
|
168
176
|
return isInvalid && hasMessage;
|
|
169
177
|
}
|
|
170
|
-
get hasValidationSuccess() {
|
|
171
|
-
return this.valid && this.validMessage && this.showValid;
|
|
172
|
-
}
|
|
173
178
|
get hasMessage() {
|
|
174
|
-
return this.hasError || this.hasValidationError
|
|
179
|
+
return this.hasError || this.hasValidationError;
|
|
175
180
|
}
|
|
176
181
|
/**
|
|
177
182
|
* Determine whether this element should be ignored
|
|
@@ -212,7 +217,7 @@ export class RTextarea {
|
|
|
212
217
|
this.disconnectFormEventListeners();
|
|
213
218
|
}
|
|
214
219
|
render() {
|
|
215
|
-
const { name, rows, cols, placeholder, required, showCounter, maxlength, minlength, form, value, disabled, resize, hint, invalid, label, uniqueId, fieldIndicator,
|
|
220
|
+
const { name, rows, cols, placeholder, required, showCounter, maxlength, minlength, form, value, disabled, resize, hint, invalid, label, uniqueId, fieldIndicator, readonly } = this;
|
|
216
221
|
const textareaAttrs = {
|
|
217
222
|
name,
|
|
218
223
|
rows,
|
|
@@ -231,14 +236,10 @@ export class RTextarea {
|
|
|
231
236
|
'aria-invalid': `${!!invalid}`,
|
|
232
237
|
'aria-required': `${!!required}`
|
|
233
238
|
};
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
tooltipIcon,
|
|
238
|
-
tooltipIconColor
|
|
239
|
+
const labelAttr = label ? {
|
|
240
|
+
label,
|
|
241
|
+
fieldIndicator
|
|
239
242
|
} : {};
|
|
240
|
-
const labelAttr = label ? Object.assign({ label,
|
|
241
|
-
fieldIndicator }, tooltipAttrs) : {};
|
|
242
243
|
// Filter out event listener properties based on naming convention.
|
|
243
244
|
// Pass them to native element.
|
|
244
245
|
const eventListeners = Object.entries(this).reduce((acc, [key, value]) => {
|
|
@@ -249,7 +250,7 @@ export class RTextarea {
|
|
|
249
250
|
}, {});
|
|
250
251
|
return (h(Host, null, h("div", { class: "r-textarea--label-container" }, h("label", { htmlFor: uniqueId }, label &&
|
|
251
252
|
h("r-label", Object.assign({ id: `${uniqueId}-label` }, labelAttr), label)), h("slot", { name: "popover" })), hint &&
|
|
252
|
-
h("r-hint", { id: `${uniqueId}-hint`, role: "note" }, hint), h("div", { class: "r-textarea--container", "data-disabled": `${!!disabled}`, "data-readonly": `${!!readonly}` }, h("textarea", Object.assign({ class: "r-textarea--input" }, textareaAttrs, eventListeners, { ref: el => this.nativeElement = el, onChange: this.onChange, onInput: this.onInput })), h("div", { class: "r-textarea--trailing" }, this.readonly && h("r-icon", { class: "r-textarea--readonly-icon", name: "pen-disabled", size: "s" }), this.hasTrailingSlot && h("slot", { name: "trailing" }))), h("div", { class: "r-textarea--messages" }, h("r-hint", { "aria-live": "polite", "aria-atomic": "true", id: `${uniqueId}-message`, class: !this.hasMessage && 'visually-hidden', variant: invalid ? 'error' : 'success' }, this.hasError && this.error, this.hasValidationError && (this.customErrorMessage || this.validityMessage)
|
|
253
|
+
h("r-hint", { id: `${uniqueId}-hint`, role: "note" }, hint), h("div", { class: "r-textarea--container", "data-disabled": `${!!disabled}`, "data-readonly": `${!!readonly}` }, h("textarea", Object.assign({ class: "r-textarea--input" }, textareaAttrs, eventListeners, { ref: el => this.nativeElement = el, onChange: this.onChange, onInput: this.onInput })), h("div", { class: "r-textarea--trailing" }, this.readonly && h("r-icon", { class: "r-textarea--readonly-icon", name: "pen-disabled", size: "s" }), this.hasTrailingSlot && h("slot", { name: "trailing" }))), h("div", { class: "r-textarea--messages" }, h("r-hint", { "aria-live": "polite", "aria-atomic": "true", id: `${uniqueId}-message`, class: !this.hasMessage && 'visually-hidden', variant: invalid ? 'error' : 'success' }, this.hasError && this.error, this.hasValidationError && (this.customErrorMessage || this.validityMessage)), showCounter && h("r-hint", { "aria-hidden": true, class: "r-textarea--messages--counter" }, `${value.length}${maxlength ? '/' : ''}${maxlength}`), maxlength &&
|
|
253
254
|
h("div", { class: "visually-hidden", ref: el => this.characterLimitReachedAlert = el, "aria-live": "assertive" }))));
|
|
254
255
|
}
|
|
255
256
|
static get is() { return "r-textarea"; }
|
|
@@ -656,26 +657,6 @@ export class RTextarea {
|
|
|
656
657
|
"setter": false,
|
|
657
658
|
"reflect": false
|
|
658
659
|
},
|
|
659
|
-
"showValid": {
|
|
660
|
-
"type": "boolean",
|
|
661
|
-
"attribute": "show-valid",
|
|
662
|
-
"mutable": false,
|
|
663
|
-
"complexType": {
|
|
664
|
-
"original": "boolean",
|
|
665
|
-
"resolved": "boolean",
|
|
666
|
-
"references": {}
|
|
667
|
-
},
|
|
668
|
-
"required": false,
|
|
669
|
-
"optional": false,
|
|
670
|
-
"docs": {
|
|
671
|
-
"tags": [],
|
|
672
|
-
"text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nControls the visibility of validation indicators for the field."
|
|
673
|
-
},
|
|
674
|
-
"getter": false,
|
|
675
|
-
"setter": false,
|
|
676
|
-
"reflect": false,
|
|
677
|
-
"defaultValue": "false"
|
|
678
|
-
},
|
|
679
660
|
"valid": {
|
|
680
661
|
"type": "boolean",
|
|
681
662
|
"attribute": "valid",
|
|
@@ -695,25 +676,6 @@ export class RTextarea {
|
|
|
695
676
|
"setter": false,
|
|
696
677
|
"reflect": true
|
|
697
678
|
},
|
|
698
|
-
"validMessage": {
|
|
699
|
-
"type": "string",
|
|
700
|
-
"attribute": "valid-message",
|
|
701
|
-
"mutable": false,
|
|
702
|
-
"complexType": {
|
|
703
|
-
"original": "string",
|
|
704
|
-
"resolved": "string",
|
|
705
|
-
"references": {}
|
|
706
|
-
},
|
|
707
|
-
"required": false,
|
|
708
|
-
"optional": true,
|
|
709
|
-
"docs": {
|
|
710
|
-
"tags": [],
|
|
711
|
-
"text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nCustom message displayed when the `<textarea>` value is valid,\nproviding positive feedback to the user."
|
|
712
|
-
},
|
|
713
|
-
"getter": false,
|
|
714
|
-
"setter": false,
|
|
715
|
-
"reflect": false
|
|
716
|
-
},
|
|
717
679
|
"invalid": {
|
|
718
680
|
"type": "boolean",
|
|
719
681
|
"attribute": "invalid",
|
|
@@ -789,107 +751,6 @@ export class RTextarea {
|
|
|
789
751
|
"getter": false,
|
|
790
752
|
"setter": false,
|
|
791
753
|
"reflect": false
|
|
792
|
-
},
|
|
793
|
-
"optional": {
|
|
794
|
-
"type": "boolean",
|
|
795
|
-
"attribute": "optional",
|
|
796
|
-
"mutable": false,
|
|
797
|
-
"complexType": {
|
|
798
|
-
"original": "boolean",
|
|
799
|
-
"resolved": "boolean",
|
|
800
|
-
"references": {}
|
|
801
|
-
},
|
|
802
|
-
"required": false,
|
|
803
|
-
"optional": true,
|
|
804
|
-
"docs": {
|
|
805
|
-
"tags": [],
|
|
806
|
-
"text": "_DEPRECATED_ This property will be removed"
|
|
807
|
-
},
|
|
808
|
-
"getter": false,
|
|
809
|
-
"setter": false,
|
|
810
|
-
"reflect": false
|
|
811
|
-
},
|
|
812
|
-
"optionalText": {
|
|
813
|
-
"type": "string",
|
|
814
|
-
"attribute": "optional-text",
|
|
815
|
-
"mutable": false,
|
|
816
|
-
"complexType": {
|
|
817
|
-
"original": "string",
|
|
818
|
-
"resolved": "string",
|
|
819
|
-
"references": {}
|
|
820
|
-
},
|
|
821
|
-
"required": false,
|
|
822
|
-
"optional": true,
|
|
823
|
-
"docs": {
|
|
824
|
-
"tags": [],
|
|
825
|
-
"text": "_DEPRECATED_ (use `fieldIndicator` instead) Text of an additional marker in the label"
|
|
826
|
-
},
|
|
827
|
-
"getter": false,
|
|
828
|
-
"setter": false,
|
|
829
|
-
"reflect": false
|
|
830
|
-
},
|
|
831
|
-
"tooltip": {
|
|
832
|
-
"type": "string",
|
|
833
|
-
"attribute": "tooltip",
|
|
834
|
-
"mutable": false,
|
|
835
|
-
"complexType": {
|
|
836
|
-
"original": "string",
|
|
837
|
-
"resolved": "string",
|
|
838
|
-
"references": {}
|
|
839
|
-
},
|
|
840
|
-
"required": false,
|
|
841
|
-
"optional": true,
|
|
842
|
-
"docs": {
|
|
843
|
-
"tags": [],
|
|
844
|
-
"text": "_DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.)\nTooltip text displayed when the user hovers over the icon,\nproviding additional information."
|
|
845
|
-
},
|
|
846
|
-
"getter": false,
|
|
847
|
-
"setter": false,
|
|
848
|
-
"reflect": false
|
|
849
|
-
},
|
|
850
|
-
"tooltipIcon": {
|
|
851
|
-
"type": "string",
|
|
852
|
-
"attribute": "tooltip-icon",
|
|
853
|
-
"mutable": false,
|
|
854
|
-
"complexType": {
|
|
855
|
-
"original": "IconName",
|
|
856
|
-
"resolved": "string",
|
|
857
|
-
"references": {
|
|
858
|
-
"IconName": {
|
|
859
|
-
"location": "import",
|
|
860
|
-
"path": "../icon/exports",
|
|
861
|
-
"id": "src/components/icon/exports.ts::IconName"
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
"required": false,
|
|
866
|
-
"optional": true,
|
|
867
|
-
"docs": {
|
|
868
|
-
"tags": [],
|
|
869
|
-
"text": "_DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.)\nIcon used to trigger the tooltip for the label,\nproviding a visual cue for additional information."
|
|
870
|
-
},
|
|
871
|
-
"getter": false,
|
|
872
|
-
"setter": false,
|
|
873
|
-
"reflect": false
|
|
874
|
-
},
|
|
875
|
-
"tooltipIconColor": {
|
|
876
|
-
"type": "string",
|
|
877
|
-
"attribute": "tooltip-icon-color",
|
|
878
|
-
"mutable": false,
|
|
879
|
-
"complexType": {
|
|
880
|
-
"original": "string",
|
|
881
|
-
"resolved": "string",
|
|
882
|
-
"references": {}
|
|
883
|
-
},
|
|
884
|
-
"required": false,
|
|
885
|
-
"optional": true,
|
|
886
|
-
"docs": {
|
|
887
|
-
"tags": [],
|
|
888
|
-
"text": "_DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.)\nSpecifies the color of the tooltip icon from Riverty color tokens.\nDisplayed alongside the label."
|
|
889
|
-
},
|
|
890
|
-
"getter": false,
|
|
891
|
-
"setter": false,
|
|
892
|
-
"reflect": false
|
|
893
754
|
}
|
|
894
755
|
};
|
|
895
756
|
}
|
|
@@ -1151,6 +1012,26 @@ export class RTextarea {
|
|
|
1151
1012
|
"tags": []
|
|
1152
1013
|
}
|
|
1153
1014
|
},
|
|
1015
|
+
"checkValidity": {
|
|
1016
|
+
"complexType": {
|
|
1017
|
+
"signature": "() => Promise<boolean>",
|
|
1018
|
+
"parameters": [],
|
|
1019
|
+
"references": {
|
|
1020
|
+
"Promise": {
|
|
1021
|
+
"location": "global",
|
|
1022
|
+
"id": "global::Promise"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"return": "Promise<boolean>"
|
|
1026
|
+
},
|
|
1027
|
+
"docs": {
|
|
1028
|
+
"text": "Validates the textarea without triggering UI and returns a boolean indicating its validity.",
|
|
1029
|
+
"tags": [{
|
|
1030
|
+
"name": "returns",
|
|
1031
|
+
"text": "A boolean indicating whether the textarea is valid."
|
|
1032
|
+
}]
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1154
1035
|
"reportValidity": {
|
|
1155
1036
|
"complexType": {
|
|
1156
1037
|
"signature": "() => Promise<void>",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
:host([status=warning]) {
|
|
8
8
|
--r-toast--border-color: var(--r-status-warning-regular, #ff7429);
|
|
9
9
|
--r-toast--background-color: var(--r-status-warning-soft, #fef9f5);
|
|
10
|
-
--r-toast--leading-icon--color: var(--r-status-warning-
|
|
10
|
+
--r-toast--leading-icon--color: var(--r-status-warning-regular, #89411A);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
:host([status=error]) {
|
|
@@ -58,13 +58,6 @@
|
|
|
58
58
|
:host ::slotted(p + ol) {
|
|
59
59
|
margin-top: 1rem;
|
|
60
60
|
}
|
|
61
|
-
:host .r-toast--action-link:hover {
|
|
62
|
-
--r-toast--action--color: var(--r-text-strong, #000000);
|
|
63
|
-
}
|
|
64
|
-
:host .r-toast--action-link:focus {
|
|
65
|
-
outline: var(--r-toast--action-link--outline, 2px solid var(--r-border-focused, #0071e3));
|
|
66
|
-
box-shadow: var(--r-toast--action-link--box-shadow, 0 0 0 1px var(--r-border-focused-outlined, #fff), 0 0 0 3px var(--r-border-focused, #0071e3), 0 0 0 4px var(--r-border-focused-outlined, #fff));
|
|
67
|
-
}
|
|
68
61
|
:host .r-toast--trailing-button {
|
|
69
62
|
--r-button--width: 2.75rem;
|
|
70
63
|
--r-button--height: 2.75rem;
|
|
@@ -95,8 +88,8 @@
|
|
|
95
88
|
display: var(--r-toast--display, flex);
|
|
96
89
|
flex-direction: var(--r-toast--flex-direction, row);
|
|
97
90
|
align-items: var(--r-toast--align-items, stretch);
|
|
98
|
-
gap: var(--r-toast--gap, var(--r-spacing-
|
|
99
|
-
padding: var(--r-toast--padding,
|
|
91
|
+
gap: var(--r-toast--gap, var(--r-spacing-050, 0.5rem));
|
|
92
|
+
padding: var(--r-toast--padding, 12px);
|
|
100
93
|
border-width: var(--r-toast--border-width, 1px);
|
|
101
94
|
border-style: var(--r-toast--border-style, solid);
|
|
102
95
|
border-color: var(--r-toast--border-color, var(--r-status-info-regular, #3e5c73));
|
|
@@ -110,12 +103,13 @@
|
|
|
110
103
|
.r-toast--leading-icon {
|
|
111
104
|
color: var(--r-toast--leading-icon--color, var(--r-status-info-regular, #3e5c73));
|
|
112
105
|
margin-top: var(--r-toast--leading-icon--margin-top, 0);
|
|
106
|
+
margin-right: var(--r-toast--leading-icon--margin-right, var(--r-spacing-025, 0.25rem));
|
|
113
107
|
}
|
|
114
108
|
.r-toast--headline {
|
|
115
109
|
color: var(--r-toast--headline--color, var(--r-text-regular, #282828));
|
|
116
110
|
font-size: var(--r-toast--headline--font-size, var(--r-font-size-400, 1rem));
|
|
117
111
|
font-weight: var(--r-toast--headline--font-weight, var(--r-font-weight-semibold, 600));
|
|
118
|
-
line-height: var(--r-toast--headline--line-height, 1);
|
|
112
|
+
line-height: var(--r-toast--headline--line-height, var(--r-line-height-m, 1.5));
|
|
119
113
|
margin: var(--r-toast--headline--margin, 0);
|
|
120
114
|
}
|
|
121
115
|
.r-toast--content {
|
|
@@ -123,7 +117,7 @@
|
|
|
123
117
|
color: var(--r-toast--content--color, var(--r-text-regular, #282828));
|
|
124
118
|
line-height: var(--r-toast--content--line-height, var(--r-line-height-m, 1.5));
|
|
125
119
|
font-size: var(--r-toast--content--font-size, var(--r-font-size-300, 0.875rem));
|
|
126
|
-
font-weight: var(--r-toast--content--font-weight, var(--r-font-weight-
|
|
120
|
+
font-weight: var(--r-toast--content--font-weight, var(--r-font-weight-regular, 400));
|
|
127
121
|
margin-top: var(--r-toast--content--margin-top, 0);
|
|
128
122
|
}
|
|
129
123
|
.r-toast--action {
|
|
@@ -133,8 +127,22 @@
|
|
|
133
127
|
font-size: var(--r-toast--action--font-size, var(--r-font-size-300, 0.875rem));
|
|
134
128
|
font-weight: var(--r-toast--action--font-weight, var(--r-font-weight-light, 300));
|
|
135
129
|
}
|
|
136
|
-
.r-toast--action-link
|
|
137
|
-
|
|
130
|
+
.r-toast--action-link,
|
|
131
|
+
.r-toast--action ::slotted(r-button) {
|
|
132
|
+
--r-button--background-color: transparent;
|
|
133
|
+
--r-button--border-width: 0;
|
|
134
|
+
--r-button--color: var(--r-text-regular);
|
|
135
|
+
--r-button--padding: 10px 2px 18px 2px;
|
|
136
|
+
--r-button--slot--text-decoration: underline;
|
|
137
|
+
--r-button--slot--text-underline-offset: 9px;
|
|
138
|
+
}
|
|
139
|
+
.r-toast--action-link:hover,
|
|
140
|
+
.r-toast--action ::slotted(r-button:hover:not([disabled]):not([disabled=true])) {
|
|
141
|
+
--r-button--background-color: var(--r-background-interactive-hovered);
|
|
142
|
+
}
|
|
143
|
+
.r-toast--action-link:active,
|
|
144
|
+
.r-toast--action ::slotted(r-button:active:not([disabled]):not([disabled=true])) {
|
|
145
|
+
--r-button--background-color: var(--r-background-interactive-pressed);
|
|
138
146
|
}
|
|
139
147
|
.r-toast--action ::slotted(*) {
|
|
140
148
|
font-size: inherit;
|