@riverty/web-components 5.4.0 → 5.6.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 +35 -0
- package/README.md +3 -3
- package/custom-elements.json +27 -15
- package/dist/cjs/{index-BnETQtSf.js → index-DJ4H_bFj.js} +382 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/r-accordion-item.cjs.entry.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 +1 -1
- package/dist/cjs/r-accordion.cjs.entry.js +2 -2
- package/dist/cjs/r-alert.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/r-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/r-design-system-devtools.cjs.entry.js +1 -1
- package/dist/cjs/r-dialog.cjs.entry.js +8 -10
- package/dist/cjs/r-hint_3.cjs.entry.js +136 -38
- package/dist/cjs/r-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/r-icon.cjs.entry.js +3 -3
- package/dist/cjs/r-input-code.cjs.entry.js +1 -1
- package/dist/cjs/r-input-date.cjs.entry.js +7 -7
- package/dist/cjs/r-input-password.cjs.entry.js +3 -3
- package/dist/cjs/r-input-phone-number.cjs.entry.js +5 -5
- package/dist/cjs/r-input.cjs.entry.js +19 -6
- package/dist/cjs/r-list-item.cjs.entry.js +5 -6
- package/dist/cjs/r-pagination.cjs.entry.js +1 -1
- package/dist/cjs/r-panel.cjs.entry.js +1 -1
- package/dist/cjs/r-popover-action.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/r-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/r-select-option.cjs.entry.js +1 -1
- package/dist/cjs/r-select.cjs.entry.js +3 -3
- package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
- package/dist/cjs/r-stepper-item.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/r-toast-group.cjs.entry.js +15 -5
- package/dist/cjs/r-toast.cjs.entry.js +10 -11
- package/dist/cjs/web-components.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +1 -2
- package/dist/collection/components/button/button.js +1 -2
- package/dist/collection/components/checkbox/checkbox.js +4 -5
- package/dist/collection/components/dialog/dialog.css +1 -1
- package/dist/collection/components/dialog/dialog.js +23 -8
- package/dist/collection/components/icon/bundled-icons/riverty-kit.json +1 -1
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/riverty-kit.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +3 -4
- package/dist/collection/components/input/input.js +37 -5
- package/dist/collection/components/input-date/input-date.js +7 -7
- package/dist/collection/components/input-password/input-password.js +3 -3
- package/dist/collection/components/input-phone-number/input-phone-number.js +5 -5
- package/dist/collection/components/label/label.js +4 -4
- package/dist/collection/components/list-item/list-item/list-item.css +19 -11
- package/dist/collection/components/list-item/list-item/list-item.js +41 -4
- package/dist/collection/components/radio-group/radio-group.js +7 -7
- package/dist/collection/components/select/select.js +3 -4
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/toast/toast.css +8 -2
- package/dist/collection/components/toast/toast.js +10 -11
- package/dist/collection/components/toast-group/toast-group.css +14 -13
- package/dist/collection/components/toast-group/toast-group.js +14 -4
- package/dist/collection/components/tooltip/tooltip.css +6 -71
- package/dist/collection/components/tooltip/tooltip.js +135 -33
- package/dist/esm/{index-CTxpqopm.js → index-Da7qOBFr.js} +382 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/r-accordion-item.entry.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 +1 -1
- package/dist/esm/r-accordion.entry.js +2 -2
- package/dist/esm/r-alert.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/r-checkbox.entry.js +5 -5
- package/dist/esm/r-design-system-devtools.entry.js +1 -1
- package/dist/esm/r-dialog.entry.js +8 -10
- package/dist/esm/r-hint_3.entry.js +136 -38
- package/dist/esm/r-icon-button.entry.js +4 -4
- package/dist/esm/r-icon.entry.js +3 -3
- package/dist/esm/r-input-code.entry.js +1 -1
- package/dist/esm/r-input-date.entry.js +7 -7
- package/dist/esm/r-input-password.entry.js +3 -3
- package/dist/esm/r-input-phone-number.entry.js +5 -5
- package/dist/esm/r-input.entry.js +19 -6
- package/dist/esm/r-list-item.entry.js +5 -6
- package/dist/esm/r-pagination.entry.js +1 -1
- package/dist/esm/r-panel.entry.js +1 -1
- package/dist/esm/r-popover-action.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/r-radio-group.entry.js +7 -7
- package/dist/esm/r-select-option.entry.js +1 -1
- package/dist/esm/r-select.entry.js +3 -3
- package/dist/esm/r-skip-link.entry.js +1 -1
- package/dist/esm/r-stepper-item.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/r-toast-group.entry.js +15 -5
- package/dist/esm/r-toast.entry.js +10 -11
- package/dist/esm/web-components.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +0 -1
- package/dist/types/components/button/button.d.ts +0 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -1
- package/dist/types/components/dialog/dialog.d.ts +6 -1
- package/dist/types/components/icon/exports.d.ts +1 -0
- package/dist/types/components/icon/icon-data.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/icon/riverty-kit.d.ts +1 -0
- package/dist/types/components/icon-button/icon-button.d.ts +0 -1
- package/dist/types/components/input/input.d.ts +6 -0
- package/dist/types/components/input-date/input-date.d.ts +1 -1
- package/dist/types/components/input-password/input-password.d.ts +1 -1
- package/dist/types/components/input-phone-number/input-phone-number.d.ts +1 -1
- package/dist/types/components/label/label.d.ts +1 -1
- package/dist/types/components/list-item/list-item/list-item.d.ts +6 -1
- package/dist/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +3 -3
- package/dist/types/components/toast/toast.d.ts +1 -3
- package/dist/types/components/toast-group/toast-group.d.ts +2 -0
- package/dist/types/components/tooltip/tooltip.d.ts +12 -4
- package/dist/types/components.d.ts +63 -40
- package/dist/web-components/bundled-icons/riverty-kit.json +1 -1
- package/dist/web-components/{p-aecd025b.entry.js → p-00ca474f.entry.js} +1 -1
- package/dist/web-components/{p-9c40f9cd.entry.js → p-0bb04d79.entry.js} +1 -1
- package/dist/web-components/{p-48dfb286.entry.js → p-1ae69897.entry.js} +1 -1
- package/dist/web-components/{p-4cf01f30.entry.js → p-1c2497de.entry.js} +1 -1
- package/dist/web-components/{p-03ff9abf.entry.js → p-230e44ae.entry.js} +1 -1
- package/dist/web-components/p-29a1e75f.entry.js +1 -0
- package/dist/web-components/{p-1157b7f4.entry.js → p-2b2f581a.entry.js} +1 -1
- package/dist/web-components/{p-0a424361.entry.js → p-3b4e3faf.entry.js} +1 -1
- package/dist/web-components/p-3bc93d65.entry.js +1 -0
- package/dist/web-components/{p-dc93ed55.entry.js → p-429213ea.entry.js} +1 -1
- package/dist/web-components/{p-c7a9da98.entry.js → p-44ae9f33.entry.js} +1 -1
- package/dist/web-components/{p-c60294d4.entry.js → p-44be9992.entry.js} +1 -1
- package/dist/web-components/{p-66c454ce.entry.js → p-4652635a.entry.js} +1 -1
- package/dist/web-components/{p-e50503d0.entry.js → p-4bd3e077.entry.js} +1 -1
- package/dist/web-components/{p-89ff32dc.entry.js → p-4e3df002.entry.js} +1 -1
- package/dist/web-components/p-51a5804b.entry.js +1 -0
- package/dist/web-components/{p-2d85c0f3.entry.js → p-72c0c0d8.entry.js} +1 -1
- package/dist/web-components/{p-e273950c.entry.js → p-72fa1fd1.entry.js} +1 -1
- package/dist/web-components/{p-135be1d5.entry.js → p-755cc697.entry.js} +1 -1
- package/dist/web-components/{p-e74c363a.entry.js → p-77155630.entry.js} +1 -1
- package/dist/web-components/{p-3ea6a1be.entry.js → p-8028c2a9.entry.js} +1 -1
- package/dist/web-components/{p-3fc2b23b.entry.js → p-828cb164.entry.js} +1 -1
- package/dist/web-components/{p-988a7731.entry.js → p-85a9af42.entry.js} +1 -1
- package/dist/web-components/{p-24130cdb.entry.js → p-87f39749.entry.js} +1 -1
- package/dist/web-components/{p-c9b2389b.entry.js → p-89136369.entry.js} +1 -1
- package/dist/web-components/{p-77dc268e.entry.js → p-8c577cda.entry.js} +1 -1
- package/dist/web-components/{p-8d2f4097.entry.js → p-96ddeb7f.entry.js} +1 -1
- package/dist/web-components/{p-735da2bb.entry.js → p-9b08e9ee.entry.js} +1 -1
- package/dist/web-components/{p-6b7d5236.entry.js → p-9e50120b.entry.js} +1 -1
- package/dist/web-components/{p-900923ab.entry.js → p-9eb1f262.entry.js} +1 -1
- package/dist/web-components/p-Da7qOBFr.js +2 -0
- package/dist/web-components/{p-2394508f.entry.js → p-a022f356.entry.js} +1 -1
- package/dist/web-components/{p-df81177e.entry.js → p-a58124c4.entry.js} +1 -1
- package/dist/web-components/p-a5be3395.entry.js +1 -0
- package/dist/web-components/{p-9891afb8.entry.js → p-a7e7f8fa.entry.js} +1 -1
- package/dist/web-components/p-b2cec978.entry.js +1 -0
- package/dist/web-components/{p-71d6c4d7.entry.js → p-c7f8e59b.entry.js} +1 -1
- package/dist/web-components/{p-f625b739.entry.js → p-c937bd92.entry.js} +1 -1
- package/dist/web-components/p-cbcd7699.entry.js +1 -0
- package/dist/web-components/{p-fdf70aed.entry.js → p-d3ff65b0.entry.js} +1 -1
- package/dist/web-components/p-e0e2f2b2.entry.js +1 -0
- package/dist/web-components/{p-8d6a35e3.entry.js → p-e49b1ec3.entry.js} +1 -1
- package/dist/web-components/p-e4b66277.entry.js +1 -0
- package/dist/web-components/p-e6a31881.entry.js +1 -0
- package/dist/web-components/{p-05ba30ba.entry.js → p-f1e22caa.entry.js} +1 -1
- package/dist/web-components/p-f6a92287.entry.js +1 -0
- package/dist/web-components/p-f770e22b.entry.js +1 -0
- package/dist/web-components/p-f7adb875.entry.js +1 -0
- package/dist/web-components/web-components.esm.js +1 -1
- package/package.json +2 -1
- package/dist/web-components/p-0ac858b8.entry.js +0 -1
- package/dist/web-components/p-0bb0de18.entry.js +0 -1
- package/dist/web-components/p-10724c18.entry.js +0 -1
- package/dist/web-components/p-1ed3efd7.entry.js +0 -1
- package/dist/web-components/p-20f979ff.entry.js +0 -1
- package/dist/web-components/p-31c8388d.entry.js +0 -1
- package/dist/web-components/p-333707b2.entry.js +0 -1
- package/dist/web-components/p-61f78bf6.entry.js +0 -1
- package/dist/web-components/p-8f719321.entry.js +0 -1
- package/dist/web-components/p-9f583ed1.entry.js +0 -1
- package/dist/web-components/p-CTxpqopm.js +0 -2
- package/dist/web-components/p-caca2855.entry.js +0 -1
- package/dist/web-components/p-ef0f43e0.entry.js +0 -1
|
@@ -50,7 +50,6 @@ export namespace Components {
|
|
|
50
50
|
* An accordion represents a list of expandable/collapsable content sections with corresponding headers.
|
|
51
51
|
* By default, only one section can be expanded, which can be changed by setting the `multiple` attribute. Use accordions when a limited, additional amount of information needs to be shown within a page, or if there is a small space to show content.
|
|
52
52
|
* Each content section must be wrapped in a `<r-accordion-item>` elements.
|
|
53
|
-
* [Docs](https://riverty.design/components/accordion)
|
|
54
53
|
* Example:
|
|
55
54
|
* ```
|
|
56
55
|
* <r-accordion>
|
|
@@ -252,7 +251,6 @@ export namespace Components {
|
|
|
252
251
|
/**
|
|
253
252
|
* A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
|
|
254
253
|
* [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
|
|
255
|
-
* [Docs](https://riverty.design/components/button)
|
|
256
254
|
*/
|
|
257
255
|
interface RButton {
|
|
258
256
|
/**
|
|
@@ -319,7 +317,6 @@ export namespace Components {
|
|
|
319
317
|
/**
|
|
320
318
|
* Checkboxes allow users to select none, one, or multiple items from a list.
|
|
321
319
|
* Overall behavior is based on native `<input type="checkbox">`
|
|
322
|
-
* [Docs](https://riverty.design/components/checkbox)
|
|
323
320
|
*/
|
|
324
321
|
interface RCheckbox {
|
|
325
322
|
/**
|
|
@@ -597,7 +594,7 @@ export namespace Components {
|
|
|
597
594
|
}
|
|
598
595
|
interface RIcon {
|
|
599
596
|
/**
|
|
600
|
-
* Quick way to set display color to one of the
|
|
597
|
+
* Quick way to set display color to one of the Riverty color tokens
|
|
601
598
|
* @default null
|
|
602
599
|
*/
|
|
603
600
|
"color": string;
|
|
@@ -635,7 +632,6 @@ export namespace Components {
|
|
|
635
632
|
}
|
|
636
633
|
/**
|
|
637
634
|
* An icon button is a button that contains only an icon and is used to trigger an action.
|
|
638
|
-
* [Docs](https://riverty.design/components/icon-button)
|
|
639
635
|
*/
|
|
640
636
|
interface RIconButton {
|
|
641
637
|
/**
|
|
@@ -687,6 +683,10 @@ export namespace Components {
|
|
|
687
683
|
* Native `autocomplete` hint for browsers / password managers.
|
|
688
684
|
*/
|
|
689
685
|
"autocomplete"?: InputAutocomplete;
|
|
686
|
+
/**
|
|
687
|
+
* Automatically focus the input when it is first rendered. Mirrors native `autofocus` attribute behavior. Avoid using multiple times per page.
|
|
688
|
+
*/
|
|
689
|
+
"autofocus"?: boolean;
|
|
690
690
|
/**
|
|
691
691
|
* Custom message for `badInput` (conversion / parsing failure).
|
|
692
692
|
*/
|
|
@@ -1111,7 +1111,7 @@ export namespace Components {
|
|
|
1111
1111
|
*/
|
|
1112
1112
|
"tooltipIcon"?: IconName;
|
|
1113
1113
|
/**
|
|
1114
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
1114
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
1115
1115
|
*/
|
|
1116
1116
|
"tooltipIconColor"?: string;
|
|
1117
1117
|
/**
|
|
@@ -1239,7 +1239,7 @@ export namespace Components {
|
|
|
1239
1239
|
*/
|
|
1240
1240
|
"tooltipIcon"?: IconName;
|
|
1241
1241
|
/**
|
|
1242
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
1242
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
1243
1243
|
*/
|
|
1244
1244
|
"tooltipIconColor"?: string;
|
|
1245
1245
|
/**
|
|
@@ -1349,7 +1349,7 @@ export namespace Components {
|
|
|
1349
1349
|
*/
|
|
1350
1350
|
"tooltipIcon"?: IconName;
|
|
1351
1351
|
/**
|
|
1352
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
1352
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
1353
1353
|
*/
|
|
1354
1354
|
"tooltipIconColor"?: string;
|
|
1355
1355
|
/**
|
|
@@ -1384,7 +1384,7 @@ export namespace Components {
|
|
|
1384
1384
|
*/
|
|
1385
1385
|
"tooltipIcon"?: IconName;
|
|
1386
1386
|
/**
|
|
1387
|
-
* _DEPRECATED_ (This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
1387
|
+
* _DEPRECATED_ (This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
1388
1388
|
*/
|
|
1389
1389
|
"tooltipIconColor"?: string;
|
|
1390
1390
|
/**
|
|
@@ -1419,6 +1419,10 @@ export namespace Components {
|
|
|
1419
1419
|
* The main text or headline displayed in the text slot (2nd slot) of the list item.
|
|
1420
1420
|
*/
|
|
1421
1421
|
"headline"?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Defines if the leading icon shall become hidden.
|
|
1424
|
+
*/
|
|
1425
|
+
"hideLeadingIcon"?: boolean;
|
|
1422
1426
|
/**
|
|
1423
1427
|
* If provided, renders the list item as a link using the <a> tag with the given href attribute.
|
|
1424
1428
|
*/
|
|
@@ -1451,6 +1455,10 @@ export namespace Components {
|
|
|
1451
1455
|
* Text displayed in the trailing slot (3rd slot), as an alternative to an icon.
|
|
1452
1456
|
*/
|
|
1453
1457
|
"trailingText"?: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* When enabled, the description is limited to a single line and truncated with an ellipsis if it overflows.
|
|
1460
|
+
*/
|
|
1461
|
+
"truncateDescription"?: boolean;
|
|
1454
1462
|
/**
|
|
1455
1463
|
* Controls the style variation of the list item, such as regular or subitem.
|
|
1456
1464
|
* @default 'list-item'
|
|
@@ -1890,7 +1898,7 @@ export namespace Components {
|
|
|
1890
1898
|
*/
|
|
1891
1899
|
"tooltipIcon"?: IconName;
|
|
1892
1900
|
/**
|
|
1893
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
1901
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
1894
1902
|
*/
|
|
1895
1903
|
"tooltipIconColor"?: string;
|
|
1896
1904
|
/**
|
|
@@ -1918,7 +1926,6 @@ export namespace Components {
|
|
|
1918
1926
|
/**
|
|
1919
1927
|
* A select allows the user to choose between a set of options.
|
|
1920
1928
|
* Overall behavior is based on native `<select>`
|
|
1921
|
-
* [Docs](https://riverty.design/components/select)
|
|
1922
1929
|
*/
|
|
1923
1930
|
interface RSelect {
|
|
1924
1931
|
/**
|
|
@@ -2099,7 +2106,7 @@ export namespace Components {
|
|
|
2099
2106
|
*/
|
|
2100
2107
|
"tooltipIcon"?: IconName;
|
|
2101
2108
|
/**
|
|
2102
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
2109
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens.
|
|
2103
2110
|
*/
|
|
2104
2111
|
"tooltipIconColor"?: string;
|
|
2105
2112
|
/**
|
|
@@ -2437,7 +2444,7 @@ export namespace Components {
|
|
|
2437
2444
|
*/
|
|
2438
2445
|
"tooltipIcon"?: IconName;
|
|
2439
2446
|
/**
|
|
2440
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.)
|
|
2447
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Specifies the color of the tooltip icon from Riverty color tokens. Displayed alongside the label.
|
|
2441
2448
|
*/
|
|
2442
2449
|
"tooltipIconColor"?: string;
|
|
2443
2450
|
/**
|
|
@@ -2504,7 +2511,7 @@ export namespace Components {
|
|
|
2504
2511
|
*/
|
|
2505
2512
|
"href"?: string;
|
|
2506
2513
|
/**
|
|
2507
|
-
* Specifies an optional icon for the leading slot of the dialog.
|
|
2514
|
+
* Specifies an optional icon for the leading slot of the dialog.
|
|
2508
2515
|
*/
|
|
2509
2516
|
"leadingIcon"?: IconName;
|
|
2510
2517
|
/**
|
|
@@ -2531,7 +2538,7 @@ export namespace Components {
|
|
|
2531
2538
|
*/
|
|
2532
2539
|
"toggle": () => Promise<void>;
|
|
2533
2540
|
/**
|
|
2534
|
-
* Specifies an optional icon for the trailing slot of the dialog.
|
|
2541
|
+
* Specifies an optional icon for the trailing slot of the dialog.
|
|
2535
2542
|
* @default 'cross'
|
|
2536
2543
|
*/
|
|
2537
2544
|
"trailingIcon": IconName;
|
|
@@ -2575,6 +2582,10 @@ export interface RCheckboxGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
2575
2582
|
detail: T;
|
|
2576
2583
|
target: HTMLRCheckboxGroupElement;
|
|
2577
2584
|
}
|
|
2585
|
+
export interface RDialogCustomEvent<T> extends CustomEvent<T> {
|
|
2586
|
+
detail: T;
|
|
2587
|
+
target: HTMLRDialogElement;
|
|
2588
|
+
}
|
|
2578
2589
|
export interface RIconButtonCustomEvent<T> extends CustomEvent<T> {
|
|
2579
2590
|
detail: T;
|
|
2580
2591
|
target: HTMLRIconButtonElement;
|
|
@@ -2656,7 +2667,6 @@ declare global {
|
|
|
2656
2667
|
* An accordion represents a list of expandable/collapsable content sections with corresponding headers.
|
|
2657
2668
|
* By default, only one section can be expanded, which can be changed by setting the `multiple` attribute. Use accordions when a limited, additional amount of information needs to be shown within a page, or if there is a small space to show content.
|
|
2658
2669
|
* Each content section must be wrapped in a `<r-accordion-item>` elements.
|
|
2659
|
-
* [Docs](https://riverty.design/components/accordion)
|
|
2660
2670
|
* Example:
|
|
2661
2671
|
* ```
|
|
2662
2672
|
* <r-accordion>
|
|
@@ -2766,7 +2776,6 @@ declare global {
|
|
|
2766
2776
|
/**
|
|
2767
2777
|
* A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
|
|
2768
2778
|
* [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
|
|
2769
|
-
* [Docs](https://riverty.design/components/button)
|
|
2770
2779
|
*/
|
|
2771
2780
|
interface HTMLRButtonElement extends Components.RButton, HTMLStencilElement {
|
|
2772
2781
|
addEventListener<K extends keyof HTMLRButtonElementEventMap>(type: K, listener: (this: HTMLRButtonElement, ev: RButtonCustomEvent<HTMLRButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2801,7 +2810,6 @@ declare global {
|
|
|
2801
2810
|
/**
|
|
2802
2811
|
* Checkboxes allow users to select none, one, or multiple items from a list.
|
|
2803
2812
|
* Overall behavior is based on native `<input type="checkbox">`
|
|
2804
|
-
* [Docs](https://riverty.design/components/checkbox)
|
|
2805
2813
|
*/
|
|
2806
2814
|
interface HTMLRCheckboxElement extends Components.RCheckbox, HTMLStencilElement {
|
|
2807
2815
|
addEventListener<K extends keyof HTMLRCheckboxElementEventMap>(type: K, listener: (this: HTMLRCheckboxElement, ev: RCheckboxCustomEvent<HTMLRCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2850,7 +2858,18 @@ declare global {
|
|
|
2850
2858
|
prototype: HTMLRDesignSystemDevtoolsElement;
|
|
2851
2859
|
new (): HTMLRDesignSystemDevtoolsElement;
|
|
2852
2860
|
};
|
|
2861
|
+
interface HTMLRDialogElementEventMap {
|
|
2862
|
+
"close": any;
|
|
2863
|
+
}
|
|
2853
2864
|
interface HTMLRDialogElement extends Components.RDialog, HTMLStencilElement {
|
|
2865
|
+
addEventListener<K extends keyof HTMLRDialogElementEventMap>(type: K, listener: (this: HTMLRDialogElement, ev: RDialogCustomEvent<HTMLRDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2866
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2867
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2868
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2869
|
+
removeEventListener<K extends keyof HTMLRDialogElementEventMap>(type: K, listener: (this: HTMLRDialogElement, ev: RDialogCustomEvent<HTMLRDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2870
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2871
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2872
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2854
2873
|
}
|
|
2855
2874
|
var HTMLRDialogElement: {
|
|
2856
2875
|
prototype: HTMLRDialogElement;
|
|
@@ -2877,7 +2896,6 @@ declare global {
|
|
|
2877
2896
|
}
|
|
2878
2897
|
/**
|
|
2879
2898
|
* An icon button is a button that contains only an icon and is used to trigger an action.
|
|
2880
|
-
* [Docs](https://riverty.design/components/icon-button)
|
|
2881
2899
|
*/
|
|
2882
2900
|
interface HTMLRIconButtonElement extends Components.RIconButton, HTMLStencilElement {
|
|
2883
2901
|
addEventListener<K extends keyof HTMLRIconButtonElementEventMap>(type: K, listener: (this: HTMLRIconButtonElement, ev: RIconButtonCustomEvent<HTMLRIconButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3301,7 +3319,6 @@ declare global {
|
|
|
3301
3319
|
/**
|
|
3302
3320
|
* A select allows the user to choose between a set of options.
|
|
3303
3321
|
* Overall behavior is based on native `<select>`
|
|
3304
|
-
* [Docs](https://riverty.design/components/select)
|
|
3305
3322
|
*/
|
|
3306
3323
|
interface HTMLRSelectElement extends Components.RSelect, HTMLStencilElement {
|
|
3307
3324
|
addEventListener<K extends keyof HTMLRSelectElementEventMap>(type: K, listener: (this: HTMLRSelectElement, ev: RSelectCustomEvent<HTMLRSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3554,7 +3571,6 @@ declare namespace LocalJSX {
|
|
|
3554
3571
|
* An accordion represents a list of expandable/collapsable content sections with corresponding headers.
|
|
3555
3572
|
* By default, only one section can be expanded, which can be changed by setting the `multiple` attribute. Use accordions when a limited, additional amount of information needs to be shown within a page, or if there is a small space to show content.
|
|
3556
3573
|
* Each content section must be wrapped in a `<r-accordion-item>` elements.
|
|
3557
|
-
* [Docs](https://riverty.design/components/accordion)
|
|
3558
3574
|
* Example:
|
|
3559
3575
|
* ```
|
|
3560
3576
|
* <r-accordion>
|
|
@@ -3783,7 +3799,6 @@ declare namespace LocalJSX {
|
|
|
3783
3799
|
/**
|
|
3784
3800
|
* A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
|
|
3785
3801
|
* [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
|
|
3786
|
-
* [Docs](https://riverty.design/components/button)
|
|
3787
3802
|
*/
|
|
3788
3803
|
interface RButton {
|
|
3789
3804
|
/**
|
|
@@ -3842,7 +3857,6 @@ declare namespace LocalJSX {
|
|
|
3842
3857
|
/**
|
|
3843
3858
|
* Checkboxes allow users to select none, one, or multiple items from a list.
|
|
3844
3859
|
* Overall behavior is based on native `<input type="checkbox">`
|
|
3845
|
-
* [Docs](https://riverty.design/components/checkbox)
|
|
3846
3860
|
*/
|
|
3847
3861
|
interface RCheckbox {
|
|
3848
3862
|
/**
|
|
@@ -4058,6 +4072,10 @@ declare namespace LocalJSX {
|
|
|
4058
4072
|
* Allows to provide headline text to the dialog header section.
|
|
4059
4073
|
*/
|
|
4060
4074
|
"headline"?: string;
|
|
4075
|
+
/**
|
|
4076
|
+
* Emitted when the dialog is closed. Fired by close(), and by the close button.
|
|
4077
|
+
*/
|
|
4078
|
+
"onClose"?: (event: RDialogCustomEvent<any>) => void;
|
|
4061
4079
|
/**
|
|
4062
4080
|
* Define if dialog either shown or hidden.
|
|
4063
4081
|
* @default false
|
|
@@ -4093,7 +4111,7 @@ declare namespace LocalJSX {
|
|
|
4093
4111
|
}
|
|
4094
4112
|
interface RIcon {
|
|
4095
4113
|
/**
|
|
4096
|
-
* Quick way to set display color to one of the
|
|
4114
|
+
* Quick way to set display color to one of the Riverty color tokens
|
|
4097
4115
|
* @default null
|
|
4098
4116
|
*/
|
|
4099
4117
|
"color"?: string;
|
|
@@ -4131,7 +4149,6 @@ declare namespace LocalJSX {
|
|
|
4131
4149
|
}
|
|
4132
4150
|
/**
|
|
4133
4151
|
* An icon button is a button that contains only an icon and is used to trigger an action.
|
|
4134
|
-
* [Docs](https://riverty.design/components/icon-button)
|
|
4135
4152
|
*/
|
|
4136
4153
|
interface RIconButton {
|
|
4137
4154
|
/**
|
|
@@ -4175,6 +4192,10 @@ declare namespace LocalJSX {
|
|
|
4175
4192
|
* Native `autocomplete` hint for browsers / password managers.
|
|
4176
4193
|
*/
|
|
4177
4194
|
"autocomplete"?: InputAutocomplete;
|
|
4195
|
+
/**
|
|
4196
|
+
* Automatically focus the input when it is first rendered. Mirrors native `autofocus` attribute behavior. Avoid using multiple times per page.
|
|
4197
|
+
*/
|
|
4198
|
+
"autofocus"?: boolean;
|
|
4178
4199
|
/**
|
|
4179
4200
|
* Custom message for `badInput` (conversion / parsing failure).
|
|
4180
4201
|
*/
|
|
@@ -4615,7 +4636,7 @@ declare namespace LocalJSX {
|
|
|
4615
4636
|
*/
|
|
4616
4637
|
"tooltipIcon"?: IconName;
|
|
4617
4638
|
/**
|
|
4618
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
4639
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
4619
4640
|
*/
|
|
4620
4641
|
"tooltipIconColor"?: string;
|
|
4621
4642
|
/**
|
|
@@ -4751,7 +4772,7 @@ declare namespace LocalJSX {
|
|
|
4751
4772
|
*/
|
|
4752
4773
|
"tooltipIcon"?: IconName;
|
|
4753
4774
|
/**
|
|
4754
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
4775
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
4755
4776
|
*/
|
|
4756
4777
|
"tooltipIconColor"?: string;
|
|
4757
4778
|
/**
|
|
@@ -4873,7 +4894,7 @@ declare namespace LocalJSX {
|
|
|
4873
4894
|
*/
|
|
4874
4895
|
"tooltipIcon"?: IconName;
|
|
4875
4896
|
/**
|
|
4876
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
4897
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
4877
4898
|
*/
|
|
4878
4899
|
"tooltipIconColor"?: string;
|
|
4879
4900
|
/**
|
|
@@ -4908,7 +4929,7 @@ declare namespace LocalJSX {
|
|
|
4908
4929
|
*/
|
|
4909
4930
|
"tooltipIcon"?: IconName;
|
|
4910
4931
|
/**
|
|
4911
|
-
* _DEPRECATED_ (This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
4932
|
+
* _DEPRECATED_ (This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
4912
4933
|
*/
|
|
4913
4934
|
"tooltipIconColor"?: string;
|
|
4914
4935
|
/**
|
|
@@ -4943,6 +4964,10 @@ declare namespace LocalJSX {
|
|
|
4943
4964
|
* The main text or headline displayed in the text slot (2nd slot) of the list item.
|
|
4944
4965
|
*/
|
|
4945
4966
|
"headline"?: string;
|
|
4967
|
+
/**
|
|
4968
|
+
* Defines if the leading icon shall become hidden.
|
|
4969
|
+
*/
|
|
4970
|
+
"hideLeadingIcon"?: boolean;
|
|
4946
4971
|
/**
|
|
4947
4972
|
* If provided, renders the list item as a link using the <a> tag with the given href attribute.
|
|
4948
4973
|
*/
|
|
@@ -4971,6 +4996,10 @@ declare namespace LocalJSX {
|
|
|
4971
4996
|
* Text displayed in the trailing slot (3rd slot), as an alternative to an icon.
|
|
4972
4997
|
*/
|
|
4973
4998
|
"trailingText"?: string;
|
|
4999
|
+
/**
|
|
5000
|
+
* When enabled, the description is limited to a single line and truncated with an ellipsis if it overflows.
|
|
5001
|
+
*/
|
|
5002
|
+
"truncateDescription"?: boolean;
|
|
4974
5003
|
/**
|
|
4975
5004
|
* Controls the style variation of the list item, such as regular or subitem.
|
|
4976
5005
|
* @default 'list-item'
|
|
@@ -5401,7 +5430,7 @@ declare namespace LocalJSX {
|
|
|
5401
5430
|
*/
|
|
5402
5431
|
"tooltipIcon"?: IconName;
|
|
5403
5432
|
/**
|
|
5404
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
5433
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens
|
|
5405
5434
|
*/
|
|
5406
5435
|
"tooltipIconColor"?: string;
|
|
5407
5436
|
/**
|
|
@@ -5429,7 +5458,6 @@ declare namespace LocalJSX {
|
|
|
5429
5458
|
/**
|
|
5430
5459
|
* A select allows the user to choose between a set of options.
|
|
5431
5460
|
* Overall behavior is based on native `<select>`
|
|
5432
|
-
* [Docs](https://riverty.design/components/select)
|
|
5433
5461
|
*/
|
|
5434
5462
|
interface RSelect {
|
|
5435
5463
|
/**
|
|
@@ -5576,7 +5604,7 @@ declare namespace LocalJSX {
|
|
|
5576
5604
|
*/
|
|
5577
5605
|
"tooltipIcon"?: IconName;
|
|
5578
5606
|
/**
|
|
5579
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the
|
|
5607
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Change color of an icon that triggers tooltip to one of the Riverty color tokens.
|
|
5580
5608
|
*/
|
|
5581
5609
|
"tooltipIconColor"?: string;
|
|
5582
5610
|
/**
|
|
@@ -5910,7 +5938,7 @@ declare namespace LocalJSX {
|
|
|
5910
5938
|
*/
|
|
5911
5939
|
"tooltipIcon"?: IconName;
|
|
5912
5940
|
/**
|
|
5913
|
-
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.)
|
|
5941
|
+
* _DEPRECATED_ (Use popover slot instead. This property will be removed in November 2025 release.) Specifies the color of the tooltip icon from Riverty color tokens. Displayed alongside the label.
|
|
5914
5942
|
*/
|
|
5915
5943
|
"tooltipIconColor"?: string;
|
|
5916
5944
|
/**
|
|
@@ -5969,7 +5997,7 @@ declare namespace LocalJSX {
|
|
|
5969
5997
|
*/
|
|
5970
5998
|
"href"?: string;
|
|
5971
5999
|
/**
|
|
5972
|
-
* Specifies an optional icon for the leading slot of the dialog.
|
|
6000
|
+
* Specifies an optional icon for the leading slot of the dialog.
|
|
5973
6001
|
*/
|
|
5974
6002
|
"leadingIcon"?: IconName;
|
|
5975
6003
|
/**
|
|
@@ -6004,7 +6032,7 @@ declare namespace LocalJSX {
|
|
|
6004
6032
|
*/
|
|
6005
6033
|
"target"?: ToastActionTarget;
|
|
6006
6034
|
/**
|
|
6007
|
-
* Specifies an optional icon for the trailing slot of the dialog.
|
|
6035
|
+
* Specifies an optional icon for the trailing slot of the dialog.
|
|
6008
6036
|
* @default 'cross'
|
|
6009
6037
|
*/
|
|
6010
6038
|
"trailingIcon"?: IconName;
|
|
@@ -6089,7 +6117,6 @@ declare module "@stencil/core" {
|
|
|
6089
6117
|
* An accordion represents a list of expandable/collapsable content sections with corresponding headers.
|
|
6090
6118
|
* By default, only one section can be expanded, which can be changed by setting the `multiple` attribute. Use accordions when a limited, additional amount of information needs to be shown within a page, or if there is a small space to show content.
|
|
6091
6119
|
* Each content section must be wrapped in a `<r-accordion-item>` elements.
|
|
6092
|
-
* [Docs](https://riverty.design/components/accordion)
|
|
6093
6120
|
* Example:
|
|
6094
6121
|
* ```
|
|
6095
6122
|
* <r-accordion>
|
|
@@ -6116,13 +6143,11 @@ declare module "@stencil/core" {
|
|
|
6116
6143
|
/**
|
|
6117
6144
|
* A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
|
|
6118
6145
|
* [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
|
|
6119
|
-
* [Docs](https://riverty.design/components/button)
|
|
6120
6146
|
*/
|
|
6121
6147
|
"r-button": LocalJSX.RButton & JSXBase.HTMLAttributes<HTMLRButtonElement>;
|
|
6122
6148
|
/**
|
|
6123
6149
|
* Checkboxes allow users to select none, one, or multiple items from a list.
|
|
6124
6150
|
* Overall behavior is based on native `<input type="checkbox">`
|
|
6125
|
-
* [Docs](https://riverty.design/components/checkbox)
|
|
6126
6151
|
*/
|
|
6127
6152
|
"r-checkbox": LocalJSX.RCheckbox & JSXBase.HTMLAttributes<HTMLRCheckboxElement>;
|
|
6128
6153
|
"r-checkbox-group": LocalJSX.RCheckboxGroup & JSXBase.HTMLAttributes<HTMLRCheckboxGroupElement>;
|
|
@@ -6143,7 +6168,6 @@ declare module "@stencil/core" {
|
|
|
6143
6168
|
"r-icon": LocalJSX.RIcon & JSXBase.HTMLAttributes<HTMLRIconElement>;
|
|
6144
6169
|
/**
|
|
6145
6170
|
* An icon button is a button that contains only an icon and is used to trigger an action.
|
|
6146
|
-
* [Docs](https://riverty.design/components/icon-button)
|
|
6147
6171
|
*/
|
|
6148
6172
|
"r-icon-button": LocalJSX.RIconButton & JSXBase.HTMLAttributes<HTMLRIconButtonElement>;
|
|
6149
6173
|
"r-input": LocalJSX.RInput & JSXBase.HTMLAttributes<HTMLRInputElement>;
|
|
@@ -6189,7 +6213,6 @@ declare module "@stencil/core" {
|
|
|
6189
6213
|
/**
|
|
6190
6214
|
* A select allows the user to choose between a set of options.
|
|
6191
6215
|
* Overall behavior is based on native `<select>`
|
|
6192
|
-
* [Docs](https://riverty.design/components/select)
|
|
6193
6216
|
*/
|
|
6194
6217
|
"r-select": LocalJSX.RSelect & JSXBase.HTMLAttributes<HTMLRSelectElement>;
|
|
6195
6218
|
/**
|