@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.
Files changed (273) hide show
  1. package/CHANGELOG.md +128 -0
  2. package/custom-elements.json +152 -372
  3. package/dist/cjs/index-DJ4H_bFj.js +6 -10
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/r-accordion-panel.cjs.entry.js +1 -1
  6. package/dist/cjs/r-accordion-section.cjs.entry.js +1 -1
  7. package/dist/cjs/r-accordion-trigger.cjs.entry.js +5 -35
  8. package/dist/cjs/r-accordion.cjs.entry.js +3 -7
  9. package/dist/cjs/r-alert.cjs.entry.js +45 -14
  10. package/dist/cjs/r-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/r-button.cjs.entry.js +2 -2
  12. package/dist/cjs/r-checkbox-group.cjs.entry.js +28 -24
  13. package/dist/cjs/r-checkbox.cjs.entry.js +97 -81
  14. package/dist/cjs/r-dialog.cjs.entry.js +3 -11
  15. package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
  16. package/dist/cjs/{r-hint_3.cjs.entry.js → r-icon-button_2.cjs.entry.js} +64 -51
  17. package/dist/cjs/r-icon.cjs.entry.js +1 -1
  18. package/dist/cjs/r-input-code.cjs.entry.js +133 -25
  19. package/dist/cjs/r-input-date.cjs.entry.js +87 -23
  20. package/dist/cjs/r-input-password.cjs.entry.js +34 -13
  21. package/dist/cjs/r-input-phone-number.cjs.entry.js +30 -22
  22. package/dist/cjs/r-input.cjs.entry.js +108 -49
  23. package/dist/cjs/r-list-item.cjs.entry.js +5 -5
  24. package/dist/cjs/r-pagination.cjs.entry.js +1 -1
  25. package/dist/cjs/r-panel.cjs.entry.js +2 -2
  26. package/dist/cjs/r-popover-action.cjs.entry.js +2 -2
  27. package/dist/cjs/r-popover-content.cjs.entry.js +1 -1
  28. package/dist/cjs/r-popover-headline.cjs.entry.js +1 -1
  29. package/dist/cjs/r-popover-trigger.cjs.entry.js +1 -1
  30. package/dist/cjs/r-popover.cjs.entry.js +3 -3
  31. package/dist/cjs/r-progress-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/r-radio-button-description.cjs.entry.js +1 -1
  33. package/dist/cjs/r-radio-button-leading.cjs.entry.js +1 -1
  34. package/dist/cjs/r-radio-button-title.cjs.entry.js +1 -1
  35. package/dist/cjs/r-radio-button-trailing.cjs.entry.js +1 -1
  36. package/dist/cjs/r-radio-button.cjs.entry.js +29 -12
  37. package/dist/cjs/r-radio-group.cjs.entry.js +32 -32
  38. package/dist/cjs/r-select-option.cjs.entry.js +1 -1
  39. package/dist/cjs/r-select.cjs.entry.js +116 -40
  40. package/dist/cjs/r-skip-link.cjs.entry.js +1 -1
  41. package/dist/cjs/r-stepper-item.cjs.entry.js +2 -2
  42. package/dist/cjs/r-stepper.cjs.entry.js +1 -1
  43. package/dist/cjs/r-tab-panel.cjs.entry.js +1 -1
  44. package/dist/cjs/r-tab.cjs.entry.js +1 -1
  45. package/dist/cjs/r-tabs-list.cjs.entry.js +1 -1
  46. package/dist/cjs/r-tabs.cjs.entry.js +1 -1
  47. package/dist/cjs/r-textarea.cjs.entry.js +24 -23
  48. package/dist/cjs/r-toast-group.cjs.entry.js +1 -1
  49. package/dist/cjs/r-toast.cjs.entry.js +51 -20
  50. package/dist/cjs/web-components.cjs.js +1 -1
  51. package/dist/collection/collection-manifest.json +0 -1
  52. package/dist/collection/components/accordion/accordion.css +0 -2
  53. package/dist/collection/components/accordion/accordion.js +4 -8
  54. package/dist/collection/components/accordion/exports.js +1 -1
  55. package/dist/collection/components/accordion-panel/accordion-panel.js +1 -1
  56. package/dist/collection/components/accordion-section/accordion-section.js +1 -1
  57. package/dist/collection/components/accordion-trigger/accordion-trigger.css +0 -4
  58. package/dist/collection/components/accordion-trigger/accordion-trigger.js +4 -215
  59. package/dist/collection/components/alert/alert.css +58 -12
  60. package/dist/collection/components/alert/alert.js +92 -17
  61. package/dist/collection/components/alert/exports.js +1 -1
  62. package/dist/collection/components/badge/badge.js +1 -1
  63. package/dist/collection/components/button/button.css +6 -7
  64. package/dist/collection/components/button/button.js +1 -1
  65. package/dist/collection/components/checkbox/checkbox.js +121 -104
  66. package/dist/collection/components/checkbox-group/checkbox-group.js +48 -63
  67. package/dist/collection/components/dialog/dialog.css +1 -3
  68. package/dist/collection/components/dialog/dialog.js +2 -10
  69. package/dist/collection/components/hint/hint.js +2 -2
  70. package/dist/collection/components/icon/bundled-icons/riverty-kit.json +1 -1
  71. package/dist/collection/components/icon/riverty-kit.js +1 -1
  72. package/dist/collection/components/icon-button/icon-button.css +0 -7
  73. package/dist/collection/components/icon-button/icon-button.js +3 -3
  74. package/dist/collection/components/input/input.css +3 -0
  75. package/dist/collection/components/input/input.js +221 -378
  76. package/dist/collection/components/input-code/exports.js +2 -0
  77. package/dist/collection/components/input-code/input-code.js +335 -34
  78. package/dist/collection/components/input-date/input-date.js +237 -87
  79. package/dist/collection/components/input-password/exports.js +1 -0
  80. package/dist/collection/components/input-password/input-password.css +1 -0
  81. package/dist/collection/components/input-password/input-password.js +233 -75
  82. package/dist/collection/components/input-phone-number/input-phone-number.js +50 -85
  83. package/dist/collection/components/label/label.js +3 -113
  84. package/dist/collection/components/list-item/list-item/list-item.css +7 -7
  85. package/dist/collection/components/list-item/list-item/list-item.js +4 -26
  86. package/dist/collection/components/pagination/pagination.css +23 -23
  87. package/dist/collection/components/panel/panel.js +2 -2
  88. package/dist/collection/components/popover/exports.js +0 -1
  89. package/dist/collection/components/popover/popover.css +13 -13
  90. package/dist/collection/components/popover/popover.js +2 -55
  91. package/dist/collection/components/popover-action/popover-action.css +3 -5
  92. package/dist/collection/components/popover-action/popover-action.js +1 -1
  93. package/dist/collection/components/popover-content/popover-content.js +1 -1
  94. package/dist/collection/components/popover-headline/popover-headline.js +1 -1
  95. package/dist/collection/components/popover-trigger/popover-trigger.js +1 -1
  96. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  97. package/dist/collection/components/radio-button/radio-button.js +49 -12
  98. package/dist/collection/components/radio-button-description/radio-button-description.js +1 -1
  99. package/dist/collection/components/radio-button-leading/radio-button-leading.js +1 -1
  100. package/dist/collection/components/radio-button-title/radio-button-title.js +1 -1
  101. package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +1 -1
  102. package/dist/collection/components/radio-group/radio-group.js +53 -135
  103. package/dist/collection/components/select/select.js +197 -349
  104. package/dist/collection/components/select-option/select-option.js +1 -1
  105. package/dist/collection/components/skip-link/skip-link.js +1 -1
  106. package/dist/collection/components/stepper/stepper.js +1 -1
  107. package/dist/collection/components/stepper-item/stepper-item.js +2 -2
  108. package/dist/collection/components/tab/tab.js +1 -1
  109. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  110. package/dist/collection/components/tabs/tabs.js +1 -1
  111. package/dist/collection/components/tabs-list/tabs-list.js +1 -1
  112. package/dist/collection/components/textarea/textarea.js +44 -163
  113. package/dist/collection/components/toast/toast.css +22 -14
  114. package/dist/collection/components/toast/toast.js +95 -43
  115. package/dist/collection/components/toast-group/toast-group.js +1 -1
  116. package/dist/collection/components/tooltip/tooltip.js +1 -1
  117. package/dist/esm/index-Da7qOBFr.js +6 -10
  118. package/dist/esm/loader.js +1 -1
  119. package/dist/esm/r-accordion-panel.entry.js +1 -1
  120. package/dist/esm/r-accordion-section.entry.js +1 -1
  121. package/dist/esm/r-accordion-trigger.entry.js +5 -35
  122. package/dist/esm/r-accordion.entry.js +3 -7
  123. package/dist/esm/r-alert.entry.js +45 -14
  124. package/dist/esm/r-badge.entry.js +1 -1
  125. package/dist/esm/r-button.entry.js +2 -2
  126. package/dist/esm/r-checkbox-group.entry.js +28 -24
  127. package/dist/esm/r-checkbox.entry.js +97 -81
  128. package/dist/esm/r-dialog.entry.js +3 -11
  129. package/dist/esm/r-hint_2.entry.js +47 -0
  130. package/dist/esm/{r-hint_3.entry.js → r-icon-button_2.entry.js} +65 -51
  131. package/dist/esm/r-icon.entry.js +1 -1
  132. package/dist/esm/r-input-code.entry.js +133 -25
  133. package/dist/esm/r-input-date.entry.js +87 -23
  134. package/dist/esm/r-input-password.entry.js +34 -13
  135. package/dist/esm/r-input-phone-number.entry.js +30 -22
  136. package/dist/esm/r-input.entry.js +108 -49
  137. package/dist/esm/r-list-item.entry.js +5 -5
  138. package/dist/esm/r-pagination.entry.js +1 -1
  139. package/dist/esm/r-panel.entry.js +2 -2
  140. package/dist/esm/r-popover-action.entry.js +2 -2
  141. package/dist/esm/r-popover-content.entry.js +1 -1
  142. package/dist/esm/r-popover-headline.entry.js +1 -1
  143. package/dist/esm/r-popover-trigger.entry.js +1 -1
  144. package/dist/esm/r-popover.entry.js +3 -3
  145. package/dist/esm/r-progress-bar.entry.js +1 -1
  146. package/dist/esm/r-radio-button-description.entry.js +1 -1
  147. package/dist/esm/r-radio-button-leading.entry.js +1 -1
  148. package/dist/esm/r-radio-button-title.entry.js +1 -1
  149. package/dist/esm/r-radio-button-trailing.entry.js +1 -1
  150. package/dist/esm/r-radio-button.entry.js +29 -12
  151. package/dist/esm/r-radio-group.entry.js +32 -32
  152. package/dist/esm/r-select-option.entry.js +1 -1
  153. package/dist/esm/r-select.entry.js +116 -40
  154. package/dist/esm/r-skip-link.entry.js +1 -1
  155. package/dist/esm/r-stepper-item.entry.js +2 -2
  156. package/dist/esm/r-stepper.entry.js +1 -1
  157. package/dist/esm/r-tab-panel.entry.js +1 -1
  158. package/dist/esm/r-tab.entry.js +1 -1
  159. package/dist/esm/r-tabs-list.entry.js +1 -1
  160. package/dist/esm/r-tabs.entry.js +1 -1
  161. package/dist/esm/r-textarea.entry.js +24 -23
  162. package/dist/esm/r-toast-group.entry.js +1 -1
  163. package/dist/esm/r-toast.entry.js +51 -20
  164. package/dist/esm/web-components.js +1 -1
  165. package/dist/types/components/accordion/accordion.d.ts +1 -5
  166. package/dist/types/components/accordion/exports.d.ts +1 -1
  167. package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +0 -36
  168. package/dist/types/components/alert/alert.d.ts +9 -1
  169. package/dist/types/components/alert/exports.d.ts +1 -1
  170. package/dist/types/components/checkbox/checkbox.d.ts +29 -34
  171. package/dist/types/components/checkbox-group/checkbox-group.d.ts +6 -11
  172. package/dist/types/components/dialog/dialog.d.ts +0 -2
  173. package/dist/types/components/input/input.d.ts +35 -72
  174. package/dist/types/components/input-code/exports.d.ts +4 -0
  175. package/dist/types/components/input-code/input-code.d.ts +54 -7
  176. package/dist/types/components/input-date/input-date.d.ts +30 -16
  177. package/dist/types/components/input-password/exports.d.ts +1 -0
  178. package/dist/types/components/input-password/input-password.d.ts +53 -16
  179. package/dist/types/components/input-phone-number/input-phone-number.d.ts +5 -16
  180. package/dist/types/components/label/label.d.ts +0 -18
  181. package/dist/types/components/list-item/list-item/list-item.d.ts +0 -6
  182. package/dist/types/components/popover/exports.d.ts +0 -2
  183. package/dist/types/components/popover/popover.d.ts +1 -14
  184. package/dist/types/components/radio-button/radio-button.d.ts +5 -0
  185. package/dist/types/components/radio-group/radio-group.d.ts +6 -28
  186. package/dist/types/components/select/select.d.ts +34 -52
  187. package/dist/types/components/textarea/textarea.d.ts +5 -32
  188. package/dist/types/components/toast/toast.d.ts +10 -7
  189. package/dist/types/components.d.ts +347 -647
  190. package/dist/web-components/bundled-icons/riverty-kit.json +1 -1
  191. package/dist/web-components/p-0347feff.entry.js +1 -0
  192. package/dist/web-components/p-05738503.entry.js +1 -0
  193. package/dist/web-components/p-0e4c8bf1.entry.js +1 -0
  194. package/dist/web-components/p-1da75540.entry.js +1 -0
  195. package/dist/web-components/p-26ef77d6.entry.js +1 -0
  196. package/dist/web-components/p-3884c6e7.entry.js +1 -0
  197. package/dist/web-components/p-3a5a67e7.entry.js +1 -0
  198. package/dist/web-components/p-3f60c6c0.entry.js +1 -0
  199. package/dist/web-components/p-4254a383.entry.js +1 -0
  200. package/dist/web-components/{p-87f39749.entry.js → p-4595fa8e.entry.js} +1 -1
  201. package/dist/web-components/{p-4e3df002.entry.js → p-4cc58c6a.entry.js} +1 -1
  202. package/dist/web-components/p-5441b746.entry.js +1 -0
  203. package/dist/web-components/{p-72fa1fd1.entry.js → p-550e2237.entry.js} +1 -1
  204. package/dist/web-components/p-589baaf9.entry.js +1 -0
  205. package/dist/web-components/p-60341de2.entry.js +1 -0
  206. package/dist/web-components/{p-4bd3e077.entry.js → p-60ca994e.entry.js} +1 -1
  207. package/dist/web-components/{p-44ae9f33.entry.js → p-62b788bf.entry.js} +1 -1
  208. package/dist/web-components/{p-2b2f581a.entry.js → p-6303b9fe.entry.js} +1 -1
  209. package/dist/web-components/p-63fd817d.entry.js +1 -0
  210. package/dist/web-components/{p-e0e2f2b2.entry.js → p-673dbfd0.entry.js} +1 -1
  211. package/dist/web-components/p-67fa3f84.entry.js +1 -0
  212. package/dist/web-components/p-6a4f3836.entry.js +1 -0
  213. package/dist/web-components/p-6cc2ea2c.entry.js +1 -0
  214. package/dist/web-components/p-70784685.entry.js +1 -0
  215. package/dist/web-components/{p-429213ea.entry.js → p-7fed6f4d.entry.js} +1 -1
  216. package/dist/web-components/p-8a66d20c.entry.js +1 -0
  217. package/dist/web-components/{p-0bb04d79.entry.js → p-8b4d2448.entry.js} +1 -1
  218. package/dist/web-components/{p-c7f8e59b.entry.js → p-8c31cbd5.entry.js} +1 -1
  219. package/dist/web-components/p-8dac326b.entry.js +1 -0
  220. package/dist/web-components/{p-1c2497de.entry.js → p-9ef1bbee.entry.js} +1 -1
  221. package/dist/web-components/p-a0dbde7c.entry.js +1 -0
  222. package/dist/web-components/{p-755cc697.entry.js → p-a71485d8.entry.js} +1 -1
  223. package/dist/web-components/p-a7d22c76.entry.js +1 -0
  224. package/dist/web-components/{p-85a9af42.entry.js → p-ae251d2f.entry.js} +1 -1
  225. package/dist/web-components/{p-77155630.entry.js → p-b98ab649.entry.js} +1 -1
  226. package/dist/web-components/p-b9e3b3d6.entry.js +1 -0
  227. package/dist/web-components/p-c1e748f2.entry.js +1 -0
  228. package/dist/web-components/p-c478712b.entry.js +1 -0
  229. package/dist/web-components/{p-72c0c0d8.entry.js → p-d054eb4d.entry.js} +1 -1
  230. package/dist/web-components/p-d433a828.entry.js +1 -0
  231. package/dist/web-components/p-d7726e46.entry.js +1 -0
  232. package/dist/web-components/p-d819c8e5.entry.js +1 -0
  233. package/dist/web-components/p-e2188953.entry.js +1 -0
  234. package/dist/web-components/{p-3b4e3faf.entry.js → p-e5945c01.entry.js} +1 -1
  235. package/dist/web-components/{p-d1379ac6.entry.js → p-f9d5004c.entry.js} +1 -1
  236. package/dist/web-components/web-components.esm.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/cjs/r-accordion-item.cjs.entry.js +0 -78
  239. package/dist/cjs/r-icon-button.cjs.entry.js +0 -81
  240. package/dist/collection/components/accordion-item/accordion-item.css +0 -121
  241. package/dist/collection/components/accordion-item/accordion-item.js +0 -138
  242. package/dist/esm/r-accordion-item.entry.js +0 -76
  243. package/dist/esm/r-icon-button.entry.js +0 -79
  244. package/dist/types/components/accordion-item/accordion-item.d.ts +0 -26
  245. package/dist/web-components/p-00ca474f.entry.js +0 -1
  246. package/dist/web-components/p-289eb4b0.entry.js +0 -1
  247. package/dist/web-components/p-2b8e12ae.entry.js +0 -1
  248. package/dist/web-components/p-2e2c8a5b.entry.js +0 -1
  249. package/dist/web-components/p-3a39932b.entry.js +0 -1
  250. package/dist/web-components/p-3bc93d65.entry.js +0 -1
  251. package/dist/web-components/p-44be9992.entry.js +0 -1
  252. package/dist/web-components/p-4652635a.entry.js +0 -1
  253. package/dist/web-components/p-51a5804b.entry.js +0 -1
  254. package/dist/web-components/p-63474b32.entry.js +0 -1
  255. package/dist/web-components/p-74d2a563.entry.js +0 -1
  256. package/dist/web-components/p-7ad8e78b.entry.js +0 -1
  257. package/dist/web-components/p-8028c2a9.entry.js +0 -1
  258. package/dist/web-components/p-96ddeb7f.entry.js +0 -1
  259. package/dist/web-components/p-9d898089.entry.js +0 -1
  260. package/dist/web-components/p-9e50120b.entry.js +0 -1
  261. package/dist/web-components/p-9eb1f262.entry.js +0 -1
  262. package/dist/web-components/p-a022f356.entry.js +0 -1
  263. package/dist/web-components/p-a7e7f8fa.entry.js +0 -1
  264. package/dist/web-components/p-b2f03016.entry.js +0 -1
  265. package/dist/web-components/p-c300c22f.entry.js +0 -1
  266. package/dist/web-components/p-c937bd92.entry.js +0 -1
  267. package/dist/web-components/p-cbcd7699.entry.js +0 -1
  268. package/dist/web-components/p-d93c240d.entry.js +0 -1
  269. package/dist/web-components/p-e4b66277.entry.js +0 -1
  270. package/dist/web-components/p-e6a31881.entry.js +0 -1
  271. package/dist/web-components/p-f6a92287.entry.js +0 -1
  272. package/dist/web-components/p-f770e22b.entry.js +0 -1
  273. package/dist/web-components/p-f952161b.entry.js +0 -1
@@ -4,30 +4,10 @@ import { Host, h } from "@stencil/core";
4
4
  * for consistent presentation of text with optional associated tooltip.
5
5
  */
6
6
  export class RLabel {
7
- constructor() {
8
- /**
9
- * _DEPRECATED_ (This property will be removed in November 2025 release.)
10
- * Defines preferable position of the tooltip */
11
- this.tooltipPosition = 'right';
12
- /**
13
- * _DEPRECATED_ (This property will be removed in November 2025 release.)
14
- * Icon tooltip trigger by name from the set */
15
- this.tooltipIcon = 'circled-question-mark';
16
- }
17
7
  render() {
18
- const { tooltip, tooltipPosition, tooltipIcon, tooltipIconColor, fieldIndicator } = this;
19
- const tooltipAttrs = {
20
- text: tooltip,
21
- position: tooltipPosition
22
- };
23
- const tooltipIconAttrs = {
24
- name: tooltipIcon,
25
- size: 's',
26
- color: tooltipIconColor
27
- };
28
- return (h(Host, { key: '2d7da94197a774e5b3399ff59dba01f946f0d8df' }, h("div", { key: '56baaf39a736e1f504502c9f49b4cf5fbff2f911', class: "r-label" }, h("span", { key: '5b0032c31e83b628d73a207eeaa915368edc7237', class: "r-label--slot" }, h("slot", { key: 'fbcd30c185b9eef55ea43c8ca8b082a0308953e2' }), fieldIndicator &&
29
- h("span", { key: '0d355d5857e515e735dc543d3416540e0a0ffdba', class: "r-label--marker" }, fieldIndicator)), tooltip &&
30
- h("span", { key: 'b450b3e7ee2b33dbdc02d9fce04bd2ef6a97713d', class: "r-label--tooltip-icon" }, h("r-tooltip", Object.assign({ key: 'a1b2a24a312b7eabd5acd43273658bce3199ef1b' }, tooltipAttrs), h("r-icon", Object.assign({ key: 'c22f6349b9c67a82b29f4a5758a77fb1b2910b75' }, tooltipIconAttrs)))))));
8
+ const { fieldIndicator } = this;
9
+ return (h(Host, { key: 'd823556813a282022aa18e138a3ac89d7f22af2a' }, h("div", { key: '1cea58412a4599e009080eb224d17324d5cad0b3', class: "r-label" }, h("span", { key: 'c0ade32425b07866b7a3096f203c7848eaa83e55', class: "r-label--slot" }, h("slot", { key: '9c782ed621889966189bba0d4c46de620315c9c4' }), fieldIndicator &&
10
+ h("span", { key: 'c4a4fcbed3e744bed679d8e9c6416a51407a686a', class: "r-label--marker" }, fieldIndicator)))));
31
11
  }
32
12
  static get is() { return "r-label"; }
33
13
  static get encapsulation() { return "shadow"; }
@@ -43,96 +23,6 @@ export class RLabel {
43
23
  }
44
24
  static get properties() {
45
25
  return {
46
- "tooltip": {
47
- "type": "string",
48
- "attribute": "tooltip",
49
- "mutable": false,
50
- "complexType": {
51
- "original": "string",
52
- "resolved": "string",
53
- "references": {}
54
- },
55
- "required": false,
56
- "optional": true,
57
- "docs": {
58
- "tags": [],
59
- "text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nTooltip represents additional description"
60
- },
61
- "getter": false,
62
- "setter": false,
63
- "reflect": false
64
- },
65
- "tooltipPosition": {
66
- "type": "string",
67
- "attribute": "tooltip-position",
68
- "mutable": false,
69
- "complexType": {
70
- "original": "TooltipPosition",
71
- "resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
72
- "references": {
73
- "TooltipPosition": {
74
- "location": "import",
75
- "path": "../tooltip/exports",
76
- "id": "src/components/tooltip/exports.ts::TooltipPosition"
77
- }
78
- }
79
- },
80
- "required": false,
81
- "optional": true,
82
- "docs": {
83
- "tags": [],
84
- "text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nDefines preferable position of the tooltip"
85
- },
86
- "getter": false,
87
- "setter": false,
88
- "reflect": false,
89
- "defaultValue": "'right'"
90
- },
91
- "tooltipIcon": {
92
- "type": "string",
93
- "attribute": "tooltip-icon",
94
- "mutable": false,
95
- "complexType": {
96
- "original": "IconName",
97
- "resolved": "string",
98
- "references": {
99
- "IconName": {
100
- "location": "import",
101
- "path": "../icon/exports",
102
- "id": "src/components/icon/exports.ts::IconName"
103
- }
104
- }
105
- },
106
- "required": false,
107
- "optional": true,
108
- "docs": {
109
- "tags": [],
110
- "text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nIcon tooltip trigger by name from the set"
111
- },
112
- "getter": false,
113
- "setter": false,
114
- "reflect": false,
115
- "defaultValue": "'circled-question-mark'"
116
- },
117
- "tooltipIconColor": {
118
- "type": "string",
119
- "attribute": "tooltip-icon-color",
120
- "mutable": false,
121
- "complexType": {
122
- "original": "string",
123
- "resolved": "string",
124
- "references": {}
125
- },
126
- "required": false,
127
- "optional": true,
128
- "docs": {
129
- "tags": [],
130
- "text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nChange color of an icon that triggers tooltip to one of the Riverty color tokens"
131
- },
132
- "getter": false,
133
- "setter": false,
134
- "reflect": true
135
- },
136
26
  "fieldIndicator": {
137
27
  "type": "string",
138
28
  "attribute": "field-indicator",
@@ -151,15 +151,15 @@
151
151
  line-height: var(--r-list-item--headline--line-height, 1.5);
152
152
  color: var(--r-list-item--headline--color, inherit);
153
153
  }
154
- .r-list-item--subtext, .r-list-item--description {
155
- font-size: var(--r-list-item--description--font-size, var(--r-list-item--subtext--font-size, 1rem));
156
- font-weight: var(--r-list-item--description--font-weight, var(--r-list-item--subtext--font-weight, 400));
157
- line-height: var(--r-list-item--description--line-height, var(--r-list-item--subtext--line-height, 1.5));
158
- color: var(--r-list-item--description--color, var(--r-list-item--subtext--color, var(--r-text-regular, #282828)));
154
+ .r-list-item--description {
155
+ font-size: var(--r-list-item--description--font-size, 1rem);
156
+ font-weight: var(--r-list-item--description--font-weight, 400);
157
+ line-height: var(--r-list-item--description--line-height, 1.5);
158
+ color: var(--r-list-item--description--color, var(--r-text-regular, #282828));
159
159
  white-space: var(--r-list-item--description--white-space, normal);
160
160
  overflow: var(--r-list-item--description--overflow, hidden);
161
161
  text-overflow: var(--r-list-item--description--text-overflow, ellipsis);
162
162
  }
163
- .r-list-item--subtext ::slotted(a), .r-list-item--description ::slotted(a) {
164
- color: var(--r-list-item--description--color, var(--r-list-item--subtext--slotted--color, inherit));
163
+ .r-list-item--description ::slotted(a) {
164
+ color: var(--r-list-item--description--color, inherit);
165
165
  }
@@ -44,7 +44,7 @@ export class RListItem {
44
44
  return this.isEl('[slot="headline"]');
45
45
  }
46
46
  get isDescriptionSlot() {
47
- return this.isEl('[slot="description"]') || this.isEl('[slot="subtext"]');
47
+ return this.isEl('[slot="description"]');
48
48
  }
49
49
  get hasSubitems() {
50
50
  return this.isEl('[variant="subitem"]');
@@ -77,15 +77,15 @@ export class RListItem {
77
77
  return this.href && !this.disabled ? 'a' : 'div';
78
78
  }
79
79
  render() {
80
- const { leadingIcon, leadingIconSrc, trailingIcon, trailingIconSrc, headline, trailingText, subtext, description } = this;
80
+ const { leadingIcon, leadingIconSrc, trailingIcon, trailingIconSrc, headline, trailingText, description } = this;
81
81
  const TagName = this.tagName;
82
82
  const itemAttrs = Object.assign({ href: TagName === 'a' ? this.href : null }, (this.disabled ? { role: 'link', 'aria-disabled': 'true' } : null));
83
83
  const ListItemContent = (h(TagName, Object.assign({ class: "r-list-item" }, itemAttrs), this.isLeading &&
84
84
  h("span", { class: "r-list-item--leading" }, h("slot", { name: "leading" }, this.isLeadingIcon && !this.hideLeadingIcon &&
85
85
  h("r-icon", { class: "r-list-item--leading-icon", name: leadingIcon, src: leadingIconSrc }))), h("span", { class: "r-list-item--text" }, !this.isTextSlot ?
86
86
  h(Fragment, null, (this.isHeadlineSlot || headline) &&
87
- h("span", { class: "r-list-item--headline" }, h("slot", { name: "headline" }, headline)), (description || this.isDescriptionSlot || subtext) &&
88
- h("span", { class: "r-list-item--description" }, h("slot", { name: "subtext" }, subtext), h("slot", { name: "description" }, description)))
87
+ h("span", { class: "r-list-item--headline" }, h("slot", { name: "headline" }, headline)), (description || this.isDescriptionSlot) &&
88
+ h("span", { class: "r-list-item--description" }, h("slot", { name: "description" }, description)))
89
89
  :
90
90
  h("slot", { name: "text" })), this.isTrailing &&
91
91
  h("span", { class: "r-list-item--trailing" }, h("slot", { name: "trailing" }, this.isTrailingIcon && !trailingText &&
@@ -128,28 +128,6 @@ export class RListItem {
128
128
  "setter": false,
129
129
  "reflect": false
130
130
  },
131
- "subtext": {
132
- "type": "string",
133
- "attribute": "subtext",
134
- "mutable": false,
135
- "complexType": {
136
- "original": "string",
137
- "resolved": "string",
138
- "references": {}
139
- },
140
- "required": false,
141
- "optional": true,
142
- "docs": {
143
- "tags": [{
144
- "name": "deprecated",
145
- "text": "Use `description` instead. Will be removed November 2025.\nSecondary text displayed below the headline (2nd slot), used for additional details or context."
146
- }],
147
- "text": ""
148
- },
149
- "getter": false,
150
- "setter": false,
151
- "reflect": false
152
- },
153
131
  "description": {
154
132
  "type": "string",
155
133
  "attribute": "description",
@@ -90,29 +90,6 @@
90
90
  .r-pagination--header label {
91
91
  font-size: var(--r-pagination--font-size);
92
92
  }
93
- .r-pagination--item {
94
- --r-button--display: flex;
95
- --r-button--width: var(--r-pagination--button--width);
96
- --r-button--height: var(--r-pagination--button--height);
97
- --r-button--color: var(--r-pagination--button--color);
98
- --r-button--background-color: var(--r-pagination--button--background-color);
99
- --r-button--border-width: var(--r-pagination--button--border-width);
100
- --r-button--padding: var(--r-pagination--button--padding);
101
- --r-button--icon--width: auto;
102
- --r-button--icon--height: auto;
103
- align-items: var(--r-pagination--item--align-items);
104
- background-color: var(--r-pagination--item--background-color);
105
- color: var(--r-pagination--item--color);
106
- display: var(--r-pagination--item--display);
107
- font-family: var(--r-pagination--item--font-family);
108
- height: var(--r-pagination--item--height);
109
- justify-content: var(--r-pagination--item--justify-content);
110
- margin-left: var(--r-pagination--item--margin-left);
111
- margin-right: var(--r-pagination--item--margin-right);
112
- opacity: var(--r-pagination--item--opacity);
113
- width: var(--r-pagination--item--width);
114
- z-index: var(--r-pagination--item--z-index);
115
- }
116
93
  .r-pagination--item:hover {
117
94
  --r-pagination--item--background-color: var(--r-background-interactive-hovered);
118
95
  }
@@ -155,3 +132,26 @@
155
132
  .r-pagination--item.number {
156
133
  --r-button--font-size: 0.813rem;
157
134
  }
135
+ .r-pagination--item {
136
+ --r-button--display: flex;
137
+ --r-button--width: var(--r-pagination--button--width);
138
+ --r-button--height: var(--r-pagination--button--height);
139
+ --r-button--color: var(--r-pagination--button--color);
140
+ --r-button--background-color: var(--r-pagination--button--background-color);
141
+ --r-button--border-width: var(--r-pagination--button--border-width);
142
+ --r-button--padding: var(--r-pagination--button--padding);
143
+ --r-button--icon--width: auto;
144
+ --r-button--icon--height: auto;
145
+ align-items: var(--r-pagination--item--align-items);
146
+ background-color: var(--r-pagination--item--background-color);
147
+ color: var(--r-pagination--item--color);
148
+ display: var(--r-pagination--item--display);
149
+ font-family: var(--r-pagination--item--font-family);
150
+ height: var(--r-pagination--item--height);
151
+ justify-content: var(--r-pagination--item--justify-content);
152
+ margin-left: var(--r-pagination--item--margin-left);
153
+ margin-right: var(--r-pagination--item--margin-right);
154
+ opacity: var(--r-pagination--item--opacity);
155
+ width: var(--r-pagination--item--width);
156
+ z-index: var(--r-pagination--item--z-index);
157
+ }
@@ -161,10 +161,10 @@ export class Panel {
161
161
  }
162
162
  }
163
163
  render() {
164
- return (h(Host, { key: 'f57ca21d8a782d736984c091af8ad7bede50f81b', collapsed: this.isCollapsed }, h("div", { key: '138a6e18232630123667ad328c393c93e4908cf6', class: "r-panel" }, h("div", { key: '377662f16e8fca37a557adaf4fd8329e47828303', class: "r-panel--header" }, this.hasHeader && (h("a", { key: 'f183b59e3dff6ca76905b2b52902d2e6ec6f2709', class: "logo-wrapper", href: this.logoLink }, this.isCollapsed ?
164
+ return (h(Host, { key: '4898806bfe378b36f5fc784a6a4ea4477f164d86', collapsed: this.isCollapsed }, h("div", { key: 'f0acaedbc5e440b20a49791d5a3544955bdcd1f7', class: "r-panel" }, h("div", { key: '390898c282414aecd4cfd75e4da80fb6b04e8ffa', class: "r-panel--header" }, this.hasHeader && (h("a", { key: '9358558193e8c7ec82d8bf40240b9fb8d00d902d', class: "logo-wrapper", href: this.logoLink }, this.isCollapsed ?
165
165
  h("slot", { name: "logo-collapsed" })
166
166
  :
167
- h("slot", { name: "logo-expanded" }))), this.variant === 'modal' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", title: `${this.labelCollapse}`, icon: "cross", "r-aria-label": `${this.labelCollapse}`, onClick: this.handleFullyCollapsedButtonClick })) : this.variant === 'drawer' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", title: this.isCollapsed ? `${this.labelExpand}` : `${this.labelCollapse}`, icon: "angle-left", "r-aria-label": this.isCollapsed ? `${this.labelExpand}` : `${this.labelCollapse}`, onClick: this.handleSemiCollapsedButtonClick })) : this.variant === 'visible' ? (null) : null), h("div", { key: '0f239dc288b9c73f348341e99a06cce9e4499a0e', class: "r-panel--body" }, h("slot", { key: '6fd883065b4db924b1c245e7ea5bcf71229f0840' })), this.hasFooter && !this.isCollapsed && (h("div", { key: 'ce6a1f84358a505940d3ef04c5c218caa972b090', class: "r-panel--footer" }, h("slot", { key: 'e4422d8955e7e64babab3b3f04cfa06f32dad74a', name: "footer" }))))));
167
+ h("slot", { name: "logo-expanded" }))), this.variant === 'modal' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", title: `${this.labelCollapse}`, icon: "cross", "r-aria-label": `${this.labelCollapse}`, onClick: this.handleFullyCollapsedButtonClick })) : this.variant === 'drawer' ? (h("r-button", { class: "r-panel--trigger", variant: "blank", title: this.isCollapsed ? `${this.labelExpand}` : `${this.labelCollapse}`, icon: "angle-left", "r-aria-label": this.isCollapsed ? `${this.labelExpand}` : `${this.labelCollapse}`, onClick: this.handleSemiCollapsedButtonClick })) : this.variant === 'visible' ? (null) : null), h("div", { key: '070e63b95136c2cab2bf7a1a84390568c1341c47', class: "r-panel--body" }, h("slot", { key: 'e595b40da67e61bb23638d5ea1a615005d705a41' })), this.hasFooter && !this.isCollapsed && (h("div", { key: '7adb855c7aa805299abba58795aacb27ce4e6ba5', class: "r-panel--footer" }, h("slot", { key: '6e438b003d443bf62b2faad2bf180a4466190e77', name: "footer" }))))));
168
168
  }
169
169
  static get is() { return "r-panel"; }
170
170
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,3 @@
1
1
  export const popoverDismissModeArray = ['auto', 'manual'];
2
- export const popoverSizeArray = ['s', 'l'];
3
2
  export const popoverHorizontalArray = ['left', 'center', 'right', 'cover'];
4
3
  export const popoverVerticalArray = ['top', 'middle', 'bottom', 'cover'];
@@ -6,6 +6,11 @@
6
6
  font-weight: var(--r-font-weight-regular, 400);
7
7
  font-size: var(--r-font-size-400, 1rem);
8
8
  text-align: left;
9
+ }
10
+ :host slot {
11
+ display: contents;
12
+ }
13
+ :host {
9
14
  --board--shift: 1rem;
10
15
  --board--min-width: 304px;
11
16
  --board--max-width: 504px;
@@ -14,17 +19,6 @@
14
19
  --pointer--height: 0.5rem;
15
20
  --pointer--spacer: 0.25rem;
16
21
  }
17
- :host slot {
18
- display: contents;
19
- }
20
-
21
- :host([size=s]) {
22
- --r-popover--board--max-width: 375px;
23
- }
24
-
25
- :host([size=l]) {
26
- --r-popover--board--max-width: 500px;
27
- }
28
22
 
29
23
  :host([data-open=true]) {
30
24
  --r-popover--pointer--display: block;
@@ -187,6 +181,12 @@
187
181
  right: var(--r-popover--dismiss--right, 20px);
188
182
  color: var(--r-text-inverse);
189
183
  }
184
+ .r-popover--dismiss:hover {
185
+ --r-icon-button--background-color: var(--r-background-interactive-hovered-inverse, rgba(243, 241, 240, 0.04));
186
+ }
187
+ .r-popover--dismiss:active {
188
+ --r-icon-button--background-color: var(--r-background-interactive-pressed-inverse, rgba(243, 241, 240, 0.12));
189
+ }
190
190
  .r-popover--trigger {
191
191
  border: var(--r-popover--trigger--border, none);
192
192
  background: var(--r-popover--trigger--background, none);
@@ -211,8 +211,8 @@
211
211
  left: var(--r-popover--board--left, -1000em);
212
212
  visibility: var(--r-popover--board--visibility, hidden);
213
213
  width: var(--r-popover--board--width, 100%);
214
- min-width: var(--r-popover--board--max-width, var(--board--min-width));
215
- max-width: var(--r-popover--board--max-width, var(--board--max-width));
214
+ min-width: var(--board--min-width);
215
+ max-width: var(--board--max-width);
216
216
  height: var(--r-popover--board--height, auto);
217
217
  max-height: var(--r-popover--board--max-height, var(--board--max-height));
218
218
  background-color: var(--r-popover--board--background-color, var(--r-background-inverse));
@@ -280,8 +280,8 @@ export class Popover {
280
280
  this.open ? this.show() : this.hide();
281
281
  }
282
282
  render() {
283
- return (h(Host, { key: 'da45eae6a21cc01596344d33afc5def4da57967f', id: this.uniqueId, "data-position": this.positionState, "data-open": `${this.isOpen}`, open: this.isOpen }, h("div", { key: 'ad832de894e0af250cc93bdf3158032bc252740f', class: "r-popover" }, h("button", { key: '28c4938bb02cb7c4eaed074178dda00c2c39a0b7', class: "r-popover--trigger", "aria-label": this.triggerAriaLabel, ref: el => this.triggerElement = el, popoverTarget: `${this.uniqueId}-board`, popoverTargetAction: this.triggerAction }, h("slot", { key: '0a74ac9d6a7ecdba54771e733f8db5af1709e7fb', name: "trigger" })), h("div", { key: 'dbdb43df6a9823f5d8c954146347f40438bbf053', class: "r-popover--board", id: `${this.uniqueId}-board`, popover: this.dismissMode, ref: el => this.boardElement = el, onToggle: this.onToggle, onKeyDown: this.onKeyDown }, this.hasDismiss &&
284
- h("r-icon-button", { key: '99cb4c1c050cdf197346ef84f7c610f5f6ed0b4c', ref: el => this.dismissElement = el, class: "r-popover--dismiss", name: "cross", onClick: this.onClickDismiss, label: this.dismissAriaLabel }), h("div", { key: 'fe7e18bd38a4f3879aada14169bfa50f84cd2eac', class: "r-popover--board-content" }, h("slot", { key: 'b5674f8f2f72340cf5af712f513a20bda9e04b47', name: "headline" }), h("slot", { key: '024ce9cc17f041df172d853176d09f4ec493df20', name: "content" }), h("slot", { key: '437ca7707856b7c6db59240d7b4378c74dc8fda8', name: "action" })), h("div", { key: '93184bd493520dbea03c7c63bbfe8c4ae788cde3', class: "r-popover--board-pointer", "aria-hidden": "true" }, h("svg", { key: '779d8b7df8f92ea14517ce9ce5099a73a4fdeac8', width: "16", height: "8", viewBox: "0 0 16 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '53b9fee3e6a34cf184d8818ac272122f04193ff6', d: "M8 8L0 0L16 0L8 8Z", fill: "currentColor" })))))));
283
+ return (h(Host, { key: '13318df823b3f54e05823c9fc9821839f56583b2', id: this.uniqueId, "data-position": this.positionState, "data-open": `${this.isOpen}`, open: this.isOpen }, h("div", { key: '3f750ac2a82236f6a4074fa419b44f0c42f2b7e6', class: "r-popover" }, h("button", { key: '46e4bb247c2eda0e0cc0c4774acac6daf8801bc4', class: "r-popover--trigger", "aria-label": this.triggerAriaLabel, ref: el => this.triggerElement = el, popoverTarget: `${this.uniqueId}-board`, popoverTargetAction: this.triggerAction }, h("slot", { key: 'fac2e6d0ee9ac8830df16d379a0ec5e873becd58', name: "trigger" })), h("div", { key: '636c2ee45476903dc8b812924081f3b45499b18a', class: "r-popover--board", id: `${this.uniqueId}-board`, popover: this.dismissMode, ref: el => this.boardElement = el, onToggle: this.onToggle, onKeyDown: this.onKeyDown }, this.hasDismiss &&
284
+ h("r-icon-button", { key: '4f6a1168587faf500cddb85981f0dd7209af4020', ref: el => this.dismissElement = el, class: "r-popover--dismiss", name: "cross", onClick: this.onClickDismiss, label: this.dismissAriaLabel }), h("div", { key: 'bfa17c2df8022a01192550c315ba32e3a5247e3f', class: "r-popover--board-content" }, h("slot", { key: '001d74737028aee0d413e9ed679ff853070d5559', name: "headline" }), h("slot", { key: '9a33119f2e2f6bf10f0005f83283a1e964332583', name: "content" }), h("slot", { key: '2ff477aed3ef83d6bfff4fb3fdaeb3501dfba7c7', name: "action" })), h("div", { key: '6c0b891bc2e9def0892f65fe8882deef565b2037', class: "r-popover--board-pointer", "aria-hidden": "true" }, h("svg", { key: 'e9da72e80bb395041f4a9cc269cf835b643a335c', width: "16", height: "8", viewBox: "0 0 16 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '44eb8e0fa2c3d294074787595097fcdf82311052', d: "M8 8L0 0L16 0L8 8Z", fill: "currentColor" })))))));
285
285
  }
286
286
  static get is() { return "r-popover"; }
287
287
  static get encapsulation() { return "shadow"; }
@@ -319,37 +319,6 @@ export class Popover {
319
319
  "setter": false,
320
320
  "reflect": true
321
321
  },
322
- "size": {
323
- "type": "string",
324
- "attribute": "size",
325
- "mutable": false,
326
- "complexType": {
327
- "original": "PopoverSize",
328
- "resolved": "\"l\" | \"s\"",
329
- "references": {
330
- "PopoverSize": {
331
- "location": "import",
332
- "path": "./exports",
333
- "id": "src/components/popover/exports.ts::PopoverSize"
334
- }
335
- }
336
- },
337
- "required": false,
338
- "optional": false,
339
- "docs": {
340
- "tags": [{
341
- "name": "default",
342
- "text": "\"s\""
343
- }, {
344
- "name": "deprecated",
345
- "text": "This property will be removed in November 2025 release."
346
- }],
347
- "text": "_DEPRECATED_ (This property will be removed in November 2025 release.)\nSize of the Popover: `s` | `l`."
348
- },
349
- "getter": false,
350
- "setter": false,
351
- "reflect": true
352
- },
353
322
  "dismissMode": {
354
323
  "type": "string",
355
324
  "attribute": "dismiss-mode",
@@ -446,28 +415,6 @@ export class Popover {
446
415
  "setter": false,
447
416
  "reflect": false
448
417
  },
449
- "containerAriaLabel": {
450
- "type": "string",
451
- "attribute": "container-aria-label",
452
- "mutable": false,
453
- "complexType": {
454
- "original": "string",
455
- "resolved": "string",
456
- "references": {}
457
- },
458
- "required": false,
459
- "optional": true,
460
- "docs": {
461
- "tags": [{
462
- "name": "deprecated",
463
- "text": "This property will be removed in December 2025 release."
464
- }],
465
- "text": "Defines `aria-label` content for the popover container.\nUsed for accessibility to describe the popover content area."
466
- },
467
- "getter": false,
468
- "setter": false,
469
- "reflect": false
470
- },
471
418
  "vertical": {
472
419
  "type": "string",
473
420
  "attribute": "vertical",
@@ -4,20 +4,18 @@
4
4
 
5
5
  ::slotted(r-button) {
6
6
  --r-button--color: var(--r-text-regular);
7
- --r-button--border-color: rgba(0,0,0,0);
7
+ --r-button--border-width: 0;
8
8
  --r-button--background-color: rgba(0,0,0,0);
9
9
  --r-button--slot--position: relative;
10
10
  --r-button--slot--text-decoration: underline;
11
- --r-button--padding: 12px 0.125rem 19px 0.125rem;
12
- --r-button--slot--text-underline-offset: 12px;
11
+ --r-button--padding: 10px 2px 18px 2px;
12
+ --r-button--slot--text-underline-offset: 9px;
13
13
  }
14
14
 
15
15
  ::slotted(r-button:hover:not([disabled]):not([disabled=false])) {
16
- --r-button--border-color: var(--r-border-soft);
17
16
  --r-button--background-color: var(--r-background-interactive-hovered);
18
17
  }
19
18
 
20
19
  ::slotted(r-button:active:not([disabled]):not([disabled=false])) {
21
20
  --r-button--background-color: var(--r-background-interactive-pressed);
22
- --r-button--border-color: var(--r-border-soft);
23
21
  }
@@ -64,7 +64,7 @@ export class PopoverAction {
64
64
  return focusableElements(this.host);
65
65
  }
66
66
  render() {
67
- return (h(Host, { key: '573250bc4f9a1a8725e8808885854ca320b203bc', slot: "action" }, h("slot", { key: 'd753af20723fb9e2ae49f9977cda81fa1c3df8c6', onSlotchange: this.handleSlotChange })));
67
+ return (h(Host, { key: '898d4a649622403956b34ea5065ca5135e67c595', slot: "action" }, h("slot", { key: 'f61e085a1797778c33f07eaf3987cd743d56a662', onSlotchange: this.handleSlotChange })));
68
68
  }
69
69
  static get is() { return "r-popover-action"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class PopoverContent {
44
44
  return focusableElements(this.host);
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: 'ec778d5e0a294bcbe389039abc6f0b620b7bc69c', slot: "content", class: "r-typography" }, h("slot", { key: '40c27d279a1093be8a98731881ad83da147f5bbc' })));
47
+ return (h(Host, { key: 'b85780e40b627c6d859af763113bc88e21768f88', slot: "content", class: "r-typography" }, h("slot", { key: '7bd5e6152e29a4e20d837c21e1df7bff68a673da' })));
48
48
  }
49
49
  static get is() { return "r-popover-content"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class PopoverHeadline {
10
10
  stopInverseThemeAwareness(this.host, themeContextElement);
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'f878fb9ca3ffe1df00088bbd2fe1b6321130228a', slot: "headline" }, h("slot", { key: '1a477943ab993f8960f3e77dd90a72a276bf4200' })));
13
+ return (h(Host, { key: '6b604401e4e82c17a300f00d6af33902b38f493c', slot: "headline" }, h("slot", { key: '64c8c6ff661e0317ba3ae0d4f32f6424d91fccbe' })));
14
14
  }
15
15
  static get is() { return "r-popover-headline"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class PopoverTrigger {
53
53
  (_a = this.activeElement) === null || _a === void 0 ? void 0 : _a.blur();
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '78536189423d25a1cf3ee3630512ad44b2dbd444', slot: "trigger", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("slot", { key: 'e634da1b6053eb1c0df7f08f5486f9492c2bd4d0' })));
56
+ return (h(Host, { key: 'fe285ee3a91600ee0e0cebeb9f5818eb30d89f06', slot: "trigger", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("slot", { key: '3782871f7aac634d3c1ccef2f516cdf00916b4f6' })));
57
57
  }
58
58
  static get is() { return "r-popover-trigger"; }
59
59
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class ProgressBar {
11
11
  max: '100',
12
12
  'aria-label': rAriaLabel
13
13
  };
14
- return (h(Host, { key: '81203123d2df8fb029855f39dc359b98991630ee' }, h("progress", Object.assign({ key: 'f766b44c2c4088ab67d69b57de074fee15be166c' }, progressBarAttrs, { class: "r-progress-bar" }))));
14
+ return (h(Host, { key: 'f79c73155a42eef63910abde1fc2cebd147b7129' }, h("progress", Object.assign({ key: 'ce94e9a20124fa8cd1561612e2797e17f0ebe19f' }, progressBarAttrs, { class: "r-progress-bar" }))));
15
15
  }
16
16
  static get is() { return "r-progress-bar"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -6,6 +6,8 @@ export class RadioButton {
6
6
  constructor() {
7
7
  /** Value of element data within a form */
8
8
  this.value = this.slotTextValue;
9
+ /** Automatically focus the radio button when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior. */
10
+ this.autofocus = false;
9
11
  /** Unique id */
10
12
  this.uniqueId = `r-radio-button-${Date.now().toString(32)}${Math.random().toString(32)}`.replace(/\./g, '');
11
13
  this.onClick = (event) => {
@@ -26,18 +28,25 @@ export class RadioButton {
26
28
  this.onBlur = () => {
27
29
  this.host.classList.remove('focused');
28
30
  };
31
+ this.applyAutofocus = () => {
32
+ queueMicrotask(() => {
33
+ this.setFocus();
34
+ });
35
+ };
29
36
  }
30
37
  /** Sets focus on the radio button element */
31
38
  async setFocus() {
32
- this.nativeEl.focus();
39
+ var _a;
40
+ (_a = this.nativeEl) === null || _a === void 0 ? void 0 : _a.focus();
33
41
  }
34
42
  /** Blurs the radio button element */
35
43
  async setBlur() {
36
- this.nativeEl.blur();
44
+ var _a;
45
+ (_a = this.nativeEl) === null || _a === void 0 ? void 0 : _a.blur();
37
46
  }
38
47
  /** Selects the radio button element */
39
48
  async select() {
40
- var _a;
49
+ var _a, _b, _c;
41
50
  if (this.checked)
42
51
  return;
43
52
  if (this.disabled)
@@ -47,8 +56,8 @@ export class RadioButton {
47
56
  radio.shadowRoot.querySelector('.r-radio-button--input').setAttribute('tabindex', '-1');
48
57
  });
49
58
  this.checked = true;
50
- this.nativeEl.setAttribute('tabindex', '0');
51
- this.nativeEl.focus();
59
+ (_b = this.nativeEl) === null || _b === void 0 ? void 0 : _b.setAttribute('tabindex', '0');
60
+ (_c = this.nativeEl) === null || _c === void 0 ? void 0 : _c.focus();
52
61
  const { host, value, checked } = this;
53
62
  this.rChange.emit({ element: host, value, checked });
54
63
  }
@@ -82,6 +91,9 @@ export class RadioButton {
82
91
  get isTrailing() {
83
92
  return this.host.querySelector('[slot="trailing"]') !== null || this.host.querySelector('r-radio-button-trailing') !== null;
84
93
  }
94
+ get shouldAutofocus() {
95
+ return this.autofocus && (!this.groupEl || !this.groupEl.autofocus);
96
+ }
85
97
  componentWillLoad() {
86
98
  if (!this.initialState)
87
99
  this.initialState = this.checked;
@@ -89,8 +101,12 @@ export class RadioButton {
89
101
  this.name = this.groupEl.name;
90
102
  }
91
103
  }
104
+ componentDidLoad() {
105
+ if (this.shouldAutofocus)
106
+ this.applyAutofocus();
107
+ }
92
108
  render() {
93
- const { name, value, checked, disabled, hint, uniqueId, required, invalid, error } = this;
109
+ const { name, value, checked, disabled, hint, uniqueId, required, invalid, error, autofocus } = this;
94
110
  const inputAttrs = {
95
111
  type: 'radio',
96
112
  tabindex: '-1',
@@ -98,13 +114,14 @@ export class RadioButton {
98
114
  value,
99
115
  disabled,
100
116
  checked,
101
- required
117
+ required,
118
+ autofocus
102
119
  };
103
- return (h(Host, { key: '862574a20e04e55e3e7e0b8cb48131652f029030' }, h("label", { key: 'b916e9d5740605bad9a1f88c6bb07d0564b63f16', class: "r-radio-button", onClick: this.onClick, onKeyDown: this.onKeydown }, h("input", Object.assign({ key: 'd0ca90e85e619d8c5b9a8c71ae1582db65562036' }, inputAttrs, { id: `${uniqueId}-input`, class: "r-radio-button--input", ref: el => this.nativeEl = el, onFocus: this.onFocus, onBlur: this.onBlur })), h("span", { key: 'f77f3e56e88c5e3ad1f3e36e5f96715edb7e91cc', class: "r-radio-button--box" }), this.isLeading &&
104
- h("div", { key: '60d6a15880fafd8007d20a80137b30f19d4f641e', class: "r-radio-button--leading" }, h("slot", { key: '9329c56d97e5e357ea70d165ee11ac171c605519', name: "leading" }, this.icon && h("r-icon", { key: 'ace86d3b61cd39f05ca3146e54d3ae4820d7b66d', name: this.icon, size: "m" }))), h("div", { key: '7773e0c5b2348245e4b4dafc06a6b10a6dc245c3', class: "r-radio-button--text" }, h("slot", { key: 'f060b0853a7a6ed0108d0182669807fd0236da33', name: "title" }, h("div", { key: '1ca5059e718a0bda9a53e2e0f630a617d0252638', style: { display: 'contents' } }, h("slot", { key: 'cb9128b915d2a71cff7e8960d5bd86973c615232' }))), h("slot", { key: 'f07a62e2caa36ceb27bc547cf86c7dfcdce1c5b4', name: "description" }, this.description)), this.isTrailing &&
105
- h("div", { key: 'cc5e6dff1c324fdce239f8d4e553e154bdb73eac', class: "r-radio-button--trailing" }, h("slot", { key: '3d5e862c5830adb7a480fbb71ff92fef054bf1f7', name: "trailing" }))), invalid && error &&
106
- h("r-hint", { key: '997b440b69a23cb432b8376b0351a947ec3b162e', role: "alert", variant: "error", id: `${uniqueId}-hint` }, this.error), hint &&
107
- h("r-hint", { key: 'd3c41065b4924f42a2971d1cb91154e8e3041238', role: "note", variant: "information", id: `${uniqueId}-hint` }, hint)));
120
+ return (h(Host, { key: '718b29840798212b4a31a2250fe79620554a9fb5' }, h("label", { key: 'ab86d4ca9bb300628a5b7f4bf10ba2ce88656d6d', class: "r-radio-button", onClick: this.onClick, onKeyDown: this.onKeydown }, h("input", Object.assign({ key: '529324a5ae32238b56ab9443a9ba3dd67b9b76bd' }, inputAttrs, { id: `${uniqueId}-input`, class: "r-radio-button--input", ref: el => this.nativeEl = el, onFocus: this.onFocus, onBlur: this.onBlur })), h("span", { key: 'a90a3704b4fc2d431482cca0c4064241001e09d2', class: "r-radio-button--box" }), this.isLeading &&
121
+ h("div", { key: '8a067dc10dc0f764c507be6610a8bf6f80565f8b', class: "r-radio-button--leading" }, h("slot", { key: 'db99a204cdf0932b203a65698f6167ede11309c4', name: "leading" }, this.icon && h("r-icon", { key: '8f6b1c585e0dcfcee9bb471e59f4d911ff72e7bc', name: this.icon, size: "m" }))), h("div", { key: 'b2ec0c20df6bffa599c5331016f3c52ce5661a17', class: "r-radio-button--text" }, h("slot", { key: '82ed5be7758c72ece18d4df27c0dbeb7e00ab1fc', name: "title" }, h("div", { key: '9c839853016eb5e7a3940bea0f9c5c755933ae55', style: { display: 'contents' } }, h("slot", { key: '78875045c000e5dcd0375fe2143e3032bf3a5226' }))), h("slot", { key: 'd75f2511dc33c734eb34c0d8953ed5be2f4cb7ea', name: "description" }, this.description)), this.isTrailing &&
122
+ h("div", { key: 'fd204a1c99ac54d60fc4479de3ca650d8ecf6508', class: "r-radio-button--trailing" }, h("slot", { key: '9a82590bc860567d1a60f9125622b1e63471ad94', name: "trailing" }))), invalid && error &&
123
+ h("r-hint", { key: '1fc760af1aff4ca5aaa595270c294b492fdb14e3', role: "alert", variant: "error", id: `${uniqueId}-hint` }, this.error), hint &&
124
+ h("r-hint", { key: '079a060908d285505f7093820933c173194f2348', role: "note", variant: "information", id: `${uniqueId}-hint` }, hint)));
108
125
  }
109
126
  static get is() { return "r-radio-button"; }
110
127
  static get encapsulation() { return "shadow"; }
@@ -254,6 +271,26 @@ export class RadioButton {
254
271
  "setter": false,
255
272
  "reflect": true
256
273
  },
274
+ "autofocus": {
275
+ "type": "boolean",
276
+ "attribute": "autofocus",
277
+ "mutable": false,
278
+ "complexType": {
279
+ "original": "boolean",
280
+ "resolved": "boolean",
281
+ "references": {}
282
+ },
283
+ "required": false,
284
+ "optional": true,
285
+ "docs": {
286
+ "tags": [],
287
+ "text": "Automatically focus the radio button when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior."
288
+ },
289
+ "getter": false,
290
+ "setter": false,
291
+ "reflect": false,
292
+ "defaultValue": "false"
293
+ },
257
294
  "checked": {
258
295
  "type": "boolean",
259
296
  "attribute": "checked",