@riverty/web-components 6.3.0 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  3. package/dist/cjs/focusable-Oll_rmtP.js +28 -0
  4. package/dist/cjs/formData-B2DZyLxP.js +44 -0
  5. package/dist/cjs/index-BnETQtSf.js +1834 -0
  6. package/dist/cjs/index.cjs.js +37 -0
  7. package/dist/cjs/loader.cjs.js +13 -0
  8. package/dist/cjs/r-accordion-panel.cjs.entry.js +24 -0
  9. package/dist/cjs/r-accordion-section.cjs.entry.js +125 -0
  10. package/dist/cjs/r-accordion-trigger.cjs.entry.js +93 -0
  11. package/dist/cjs/r-accordion.cjs.entry.js +20 -0
  12. package/dist/cjs/r-alert.cjs.entry.js +146 -0
  13. package/dist/cjs/r-badge.cjs.entry.js +41 -0
  14. package/dist/cjs/r-button.cjs.entry.js +149 -0
  15. package/dist/cjs/r-checkbox-group.cjs.entry.js +237 -0
  16. package/dist/cjs/r-checkbox.cjs.entry.js +274 -0
  17. package/dist/cjs/r-design-system-devtools.cjs.entry.js +31 -0
  18. package/dist/cjs/r-dialog.cjs.entry.js +107 -0
  19. package/dist/cjs/r-hint_2.cjs.entry.js +50 -0
  20. package/dist/cjs/r-icon-button_2.cjs.entry.js +492 -0
  21. package/dist/cjs/r-icon.cjs.entry.js +284 -0
  22. package/dist/cjs/r-illustration.cjs.entry.js +396 -0
  23. package/dist/cjs/r-input-code.cjs.entry.js +437 -0
  24. package/dist/cjs/r-input-date.cjs.entry.js +524 -0
  25. package/dist/cjs/r-input-password.cjs.entry.js +270 -0
  26. package/dist/cjs/r-input-phone-number.cjs.entry.js +2525 -0
  27. package/dist/cjs/r-input.cjs.entry.js +618 -0
  28. package/dist/cjs/r-list-item.cjs.entry.js +109 -0
  29. package/dist/cjs/r-pagination.cjs.entry.js +320 -0
  30. package/dist/cjs/r-panel.cjs.entry.js +184 -0
  31. package/dist/cjs/r-popover-action.cjs.entry.js +80 -0
  32. package/dist/cjs/r-popover-content.cjs.entry.js +62 -0
  33. package/dist/cjs/r-popover-headline.cjs.entry.js +28 -0
  34. package/dist/cjs/r-popover-trigger.cjs.entry.js +70 -0
  35. package/dist/cjs/r-popover.cjs.entry.js +347 -0
  36. package/dist/cjs/r-progress-bar.cjs.entry.js +25 -0
  37. package/dist/cjs/r-radio-button-description.cjs.entry.js +18 -0
  38. package/dist/cjs/r-radio-button-leading.cjs.entry.js +18 -0
  39. package/dist/cjs/r-radio-button-title.cjs.entry.js +18 -0
  40. package/dist/cjs/r-radio-button-trailing.cjs.entry.js +18 -0
  41. package/dist/cjs/r-radio-button.cjs.entry.js +139 -0
  42. package/dist/cjs/r-radio-group.cjs.entry.js +428 -0
  43. package/dist/cjs/r-select-option.cjs.entry.js +130 -0
  44. package/dist/cjs/r-select.cjs.entry.js +1107 -0
  45. package/dist/cjs/r-skip-link.cjs.entry.js +19 -0
  46. package/dist/cjs/r-stepper-item.cjs.entry.js +42 -0
  47. package/dist/cjs/r-stepper.cjs.entry.js +99 -0
  48. package/dist/cjs/r-tab-panel.cjs.entry.js +26 -0
  49. package/dist/cjs/r-tab.cjs.entry.js +62 -0
  50. package/dist/cjs/r-tabs-list.cjs.entry.js +175 -0
  51. package/dist/cjs/r-tabs.cjs.entry.js +277 -0
  52. package/dist/cjs/r-textarea.cjs.entry.js +270 -0
  53. package/dist/cjs/r-toast-group.cjs.entry.js +46 -0
  54. package/dist/cjs/r-toast.cjs.entry.js +314 -0
  55. package/dist/cjs/style-observer-D9zSP9wP.js +1118 -0
  56. package/dist/cjs/theming-NqxjhVJS.js +109 -0
  57. package/dist/cjs/web-components.cjs.js +25 -0
  58. package/dist/collection/collection-manifest.json +60 -0
  59. package/dist/collection/components/accordion/accordion.css +24 -0
  60. package/dist/collection/components/accordion/accordion.js +90 -0
  61. package/dist/collection/components/accordion/exports.js +1 -0
  62. package/dist/collection/components/accordion-panel/accordion-panel.css +50 -0
  63. package/dist/collection/components/accordion-panel/accordion-panel.js +86 -0
  64. package/dist/collection/components/accordion-section/accordion-section.css +27 -0
  65. package/dist/collection/components/accordion-section/accordion-section.js +235 -0
  66. package/dist/collection/components/accordion-trigger/accordion-trigger.css +93 -0
  67. package/dist/collection/components/accordion-trigger/accordion-trigger.js +220 -0
  68. package/dist/collection/components/alert/alert.css +120 -0
  69. package/dist/collection/components/alert/alert.js +526 -0
  70. package/dist/collection/components/alert/exports.js +2 -0
  71. package/dist/collection/components/badge/badge.css +62 -0
  72. package/dist/collection/components/badge/badge.js +124 -0
  73. package/dist/collection/components/badge/exports.js +1 -0
  74. package/dist/collection/components/button/button.css +180 -0
  75. package/dist/collection/components/button/button.js +510 -0
  76. package/dist/collection/components/button/exports.js +5 -0
  77. package/dist/collection/components/checkbox/checkbox.css +116 -0
  78. package/dist/collection/components/checkbox/checkbox.js +803 -0
  79. package/dist/collection/components/checkbox-group/checkbox-group.css +48 -0
  80. package/dist/collection/components/checkbox-group/checkbox-group.js +744 -0
  81. package/dist/collection/components/design-system-devtools/design-system-devtools.js +59 -0
  82. package/dist/collection/components/dialog/dialog.css +125 -0
  83. package/dist/collection/components/dialog/dialog.js +345 -0
  84. package/dist/collection/components/dialog/exports.js +9 -0
  85. package/dist/collection/components/hint/exports.js +1 -0
  86. package/dist/collection/components/hint/hint.css +63 -0
  87. package/dist/collection/components/hint/hint.js +114 -0
  88. package/dist/collection/components/icon/all-kit.js +2 -0
  89. package/dist/collection/components/icon/data.js +90 -0
  90. package/dist/collection/components/icon/exports.js +7 -0
  91. package/dist/collection/components/icon/icon.css +105 -0
  92. package/dist/collection/components/icon/icon.js +379 -0
  93. package/dist/collection/components/icon/riverty-kit.js +2 -0
  94. package/dist/collection/components/icon-button/icon-button.css +105 -0
  95. package/dist/collection/components/icon-button/icon-button.js +343 -0
  96. package/dist/collection/components/illustration/data.js +112 -0
  97. package/dist/collection/components/illustration/exports.js +3 -0
  98. package/dist/collection/components/illustration/illustration.css +52 -0
  99. package/dist/collection/components/illustration/illustration.js +540 -0
  100. package/dist/collection/components/illustration/illustrations-ui-kit.js +2 -0
  101. package/dist/collection/components/input/exports.js +62 -0
  102. package/dist/collection/components/input/input.css +186 -0
  103. package/dist/collection/components/input/input.js +1861 -0
  104. package/dist/collection/components/input-code/exports.js +2 -0
  105. package/dist/collection/components/input-code/input-code.css +127 -0
  106. package/dist/collection/components/input-code/input-code.js +1165 -0
  107. package/dist/collection/components/input-date/exports.js +1 -0
  108. package/dist/collection/components/input-date/input-date.css +148 -0
  109. package/dist/collection/components/input-date/input-date.js +1254 -0
  110. package/dist/collection/components/input-password/exports.js +1 -0
  111. package/dist/collection/components/input-password/input-password.css +25 -0
  112. package/dist/collection/components/input-password/input-password.js +1077 -0
  113. package/dist/collection/components/input-phone-number/input-phone-number.css +61 -0
  114. package/dist/collection/components/input-phone-number/input-phone-number.js +893 -0
  115. package/dist/collection/components/label/label.css +38 -0
  116. package/dist/collection/components/label/label.js +47 -0
  117. package/dist/collection/components/list-item/list-item/exports.js +2 -0
  118. package/dist/collection/components/list-item/list-item/list-item.css +199 -0
  119. package/dist/collection/components/list-item/list-item/list-item.js +467 -0
  120. package/dist/collection/components/pagination/exports.js +3 -0
  121. package/dist/collection/components/pagination/pagination.css +118 -0
  122. package/dist/collection/components/pagination/pagination.js +814 -0
  123. package/dist/collection/components/panel/exports.js +1 -0
  124. package/dist/collection/components/panel/panel.css +192 -0
  125. package/dist/collection/components/panel/panel.js +473 -0
  126. package/dist/collection/components/popover/exports.js +3 -0
  127. package/dist/collection/components/popover/popover.css +251 -0
  128. package/dist/collection/components/popover/popover.js +741 -0
  129. package/dist/collection/components/popover-action/popover-action.css +21 -0
  130. package/dist/collection/components/popover-action/popover-action.js +150 -0
  131. package/dist/collection/components/popover-content/popover-content.css +9 -0
  132. package/dist/collection/components/popover-content/popover-content.js +130 -0
  133. package/dist/collection/components/popover-headline/popover-headline.css +7 -0
  134. package/dist/collection/components/popover-headline/popover-headline.js +28 -0
  135. package/dist/collection/components/popover-trigger/exports.js +1 -0
  136. package/dist/collection/components/popover-trigger/popover-trigger.css +4 -0
  137. package/dist/collection/components/popover-trigger/popover-trigger.js +163 -0
  138. package/dist/collection/components/progress-bar/progress-bar.css +41 -0
  139. package/dist/collection/components/progress-bar/progress-bar.js +71 -0
  140. package/dist/collection/components/radio-button/radio-button.css +126 -0
  141. package/dist/collection/components/radio-button/radio-button.js +559 -0
  142. package/dist/collection/components/radio-button-description/radio-button-description.css +5 -0
  143. package/dist/collection/components/radio-button-description/radio-button-description.js +22 -0
  144. package/dist/collection/components/radio-button-leading/radio-button-leading.css +3 -0
  145. package/dist/collection/components/radio-button-leading/radio-button-leading.js +22 -0
  146. package/dist/collection/components/radio-button-title/radio-button-title.css +8 -0
  147. package/dist/collection/components/radio-button-title/radio-button-title.js +22 -0
  148. package/dist/collection/components/radio-button-trailing/radio-button-trailing.css +6 -0
  149. package/dist/collection/components/radio-button-trailing/radio-button-trailing.js +22 -0
  150. package/dist/collection/components/radio-group/exports.js +1 -0
  151. package/dist/collection/components/radio-group/radio-group.css +65 -0
  152. package/dist/collection/components/radio-group/radio-group.js +1023 -0
  153. package/dist/collection/components/select/exports.js +1 -0
  154. package/dist/collection/components/select/select.css +247 -0
  155. package/dist/collection/components/select/select.js +2038 -0
  156. package/dist/collection/components/select-option/select-option.css +93 -0
  157. package/dist/collection/components/select-option/select-option.js +459 -0
  158. package/dist/collection/components/skip-link/exports.js +1 -0
  159. package/dist/collection/components/skip-link/skip-link.css +37 -0
  160. package/dist/collection/components/skip-link/skip-link.js +52 -0
  161. package/dist/collection/components/stepper/stepper.css +25 -0
  162. package/dist/collection/components/stepper/stepper.js +216 -0
  163. package/dist/collection/components/stepper-item/stepper-item.css +62 -0
  164. package/dist/collection/components/stepper-item/stepper-item.js +171 -0
  165. package/dist/collection/components/tab/tab.css +81 -0
  166. package/dist/collection/components/tab/tab.js +169 -0
  167. package/dist/collection/components/tab-panel/tab-panel.css +19 -0
  168. package/dist/collection/components/tab-panel/tab-panel.js +72 -0
  169. package/dist/collection/components/tabs/tabs.css +4 -0
  170. package/dist/collection/components/tabs/tabs.js +345 -0
  171. package/dist/collection/components/tabs-list/exports.js +2 -0
  172. package/dist/collection/components/tabs-list/tabs-list.css +58 -0
  173. package/dist/collection/components/tabs-list/tabs-list.js +294 -0
  174. package/dist/collection/components/textarea/exports.js +8 -0
  175. package/dist/collection/components/textarea/textarea.css +148 -0
  176. package/dist/collection/components/textarea/textarea.js +1055 -0
  177. package/dist/collection/components/toast/exports.js +3 -0
  178. package/dist/collection/components/toast/toast.css +179 -0
  179. package/dist/collection/components/toast/toast.js +820 -0
  180. package/dist/collection/components/toast-group/exports.js +1 -0
  181. package/dist/collection/components/toast-group/toast-group.css +37 -0
  182. package/dist/collection/components/toast-group/toast-group.js +49 -0
  183. package/dist/collection/components/tooltip/exports.js +3 -0
  184. package/dist/collection/components/tooltip/tooltip.css +77 -0
  185. package/dist/collection/components/tooltip/tooltip.js +525 -0
  186. package/dist/collection/index.js +2 -0
  187. package/dist/collection/utils/focusable.js +24 -0
  188. package/dist/collection/utils/formData.js +40 -0
  189. package/dist/collection/utils/theming.js +103 -0
  190. package/dist/collection/utils/version-checker.js +33 -0
  191. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  192. package/dist/esm/focusable-ky1yonnS.js +26 -0
  193. package/dist/esm/formData-DvLT8-y3.js +42 -0
  194. package/dist/esm/index-CTxpqopm.js +1806 -0
  195. package/dist/esm/index.js +35 -0
  196. package/dist/esm/loader.js +11 -0
  197. package/dist/esm/r-accordion-panel.entry.js +22 -0
  198. package/dist/esm/r-accordion-section.entry.js +123 -0
  199. package/dist/esm/r-accordion-trigger.entry.js +91 -0
  200. package/dist/esm/r-accordion.entry.js +18 -0
  201. package/dist/esm/r-alert.entry.js +144 -0
  202. package/dist/esm/r-badge.entry.js +39 -0
  203. package/dist/esm/r-button.entry.js +147 -0
  204. package/dist/esm/r-checkbox-group.entry.js +235 -0
  205. package/dist/esm/r-checkbox.entry.js +272 -0
  206. package/dist/esm/r-design-system-devtools.entry.js +29 -0
  207. package/dist/esm/r-dialog.entry.js +105 -0
  208. package/dist/esm/r-hint_2.entry.js +47 -0
  209. package/dist/esm/r-icon-button_2.entry.js +489 -0
  210. package/dist/esm/r-icon.entry.js +282 -0
  211. package/dist/esm/r-illustration.entry.js +394 -0
  212. package/dist/esm/r-input-code.entry.js +435 -0
  213. package/dist/esm/r-input-date.entry.js +522 -0
  214. package/dist/esm/r-input-password.entry.js +268 -0
  215. package/dist/esm/r-input-phone-number.entry.js +2523 -0
  216. package/dist/esm/r-input.entry.js +616 -0
  217. package/dist/esm/r-list-item.entry.js +107 -0
  218. package/dist/esm/r-pagination.entry.js +318 -0
  219. package/dist/esm/r-panel.entry.js +182 -0
  220. package/dist/esm/r-popover-action.entry.js +78 -0
  221. package/dist/esm/r-popover-content.entry.js +60 -0
  222. package/dist/esm/r-popover-headline.entry.js +26 -0
  223. package/dist/esm/r-popover-trigger.entry.js +68 -0
  224. package/dist/esm/r-popover.entry.js +345 -0
  225. package/dist/esm/r-progress-bar.entry.js +23 -0
  226. package/dist/esm/r-radio-button-description.entry.js +16 -0
  227. package/dist/esm/r-radio-button-leading.entry.js +16 -0
  228. package/dist/esm/r-radio-button-title.entry.js +16 -0
  229. package/dist/esm/r-radio-button-trailing.entry.js +16 -0
  230. package/dist/esm/r-radio-button.entry.js +137 -0
  231. package/dist/esm/r-radio-group.entry.js +426 -0
  232. package/dist/esm/r-select-option.entry.js +128 -0
  233. package/dist/esm/r-select.entry.js +1105 -0
  234. package/dist/esm/r-skip-link.entry.js +17 -0
  235. package/dist/esm/r-stepper-item.entry.js +40 -0
  236. package/dist/esm/r-stepper.entry.js +97 -0
  237. package/dist/esm/r-tab-panel.entry.js +24 -0
  238. package/dist/esm/r-tab.entry.js +60 -0
  239. package/dist/esm/r-tabs-list.entry.js +173 -0
  240. package/dist/esm/r-tabs.entry.js +275 -0
  241. package/dist/esm/r-textarea.entry.js +268 -0
  242. package/dist/esm/r-toast-group.entry.js +44 -0
  243. package/dist/esm/r-toast.entry.js +312 -0
  244. package/dist/esm/style-observer-4Uv3PpKT.js +1116 -0
  245. package/dist/esm/theming-DD2IrjpG.js +106 -0
  246. package/dist/esm/web-components.js +21 -0
  247. package/dist/index.cjs.js +1 -0
  248. package/dist/index.js +1 -0
  249. package/dist/types/components/accordion/accordion.d.ts +27 -0
  250. package/dist/types/components/accordion/exports.d.ts +2 -0
  251. package/dist/types/components/accordion-panel/accordion-panel.d.ts +10 -0
  252. package/dist/types/components/accordion-section/accordion-section.d.ts +36 -0
  253. package/dist/types/components/accordion-trigger/accordion-trigger.d.ts +33 -0
  254. package/dist/types/components/alert/alert.d.ts +67 -0
  255. package/dist/types/components/alert/exports.d.ts +4 -0
  256. package/dist/types/components/badge/badge.d.ts +26 -0
  257. package/dist/types/components/badge/exports.d.ts +2 -0
  258. package/dist/types/components/button/button.d.ts +89 -0
  259. package/dist/types/components/button/exports.d.ts +10 -0
  260. package/dist/types/components/checkbox/checkbox.d.ts +138 -0
  261. package/dist/types/components/checkbox-group/checkbox-group.d.ts +124 -0
  262. package/dist/types/components/design-system-devtools/design-system-devtools.d.ts +15 -0
  263. package/dist/types/components/dialog/dialog.d.ts +69 -0
  264. package/dist/types/components/dialog/exports.d.ts +10 -0
  265. package/dist/types/components/hint/exports.d.ts +2 -0
  266. package/dist/types/components/hint/hint.d.ts +20 -0
  267. package/dist/types/components/icon/all-kit.d.ts +2890 -0
  268. package/dist/types/components/icon/data.d.ts +145 -0
  269. package/dist/types/components/icon/exports.d.ts +152 -0
  270. package/dist/types/components/icon/icon.d.ts +37 -0
  271. package/dist/types/components/icon/riverty-kit.d.ts +139 -0
  272. package/dist/types/components/icon-button/icon-button.d.ts +69 -0
  273. package/dist/types/components/illustration/data.d.ts +52 -0
  274. package/dist/types/components/illustration/exports.d.ts +23 -0
  275. package/dist/types/components/illustration/illustration.d.ts +51 -0
  276. package/dist/types/components/illustration/illustrations-ui-kit.d.ts +21 -0
  277. package/dist/types/components/input/exports.d.ts +55 -0
  278. package/dist/types/components/input/input.d.ts +365 -0
  279. package/dist/types/components/input-code/exports.d.ts +4 -0
  280. package/dist/types/components/input-code/input-code.d.ts +177 -0
  281. package/dist/types/components/input-date/exports.d.ts +5 -0
  282. package/dist/types/components/input-date/input-date.d.ts +174 -0
  283. package/dist/types/components/input-password/exports.d.ts +1 -0
  284. package/dist/types/components/input-password/input-password.d.ts +186 -0
  285. package/dist/types/components/input-phone-number/input-phone-number.d.ts +130 -0
  286. package/dist/types/components/label/label.d.ts +9 -0
  287. package/dist/types/components/list-item/list-item/exports.d.ts +4 -0
  288. package/dist/types/components/list-item/list-item/list-item.d.ts +61 -0
  289. package/dist/types/components/pagination/exports.d.ts +6 -0
  290. package/dist/types/components/pagination/pagination.d.ts +140 -0
  291. package/dist/types/components/panel/exports.d.ts +2 -0
  292. package/dist/types/components/panel/panel.d.ts +56 -0
  293. package/dist/types/components/popover/exports.d.ts +6 -0
  294. package/dist/types/components/popover/popover.d.ts +131 -0
  295. package/dist/types/components/popover-action/popover-action.d.ts +24 -0
  296. package/dist/types/components/popover-content/popover-content.d.ts +22 -0
  297. package/dist/types/components/popover-headline/popover-headline.d.ts +6 -0
  298. package/dist/types/components/popover-trigger/exports.d.ts +2 -0
  299. package/dist/types/components/popover-trigger/popover-trigger.d.ts +31 -0
  300. package/dist/types/components/progress-bar/progress-bar.d.ts +10 -0
  301. package/dist/types/components/radio-button/radio-button.d.ts +92 -0
  302. package/dist/types/components/radio-button-description/radio-button-description.d.ts +8 -0
  303. package/dist/types/components/radio-button-leading/radio-button-leading.d.ts +8 -0
  304. package/dist/types/components/radio-button-title/radio-button-title.d.ts +8 -0
  305. package/dist/types/components/radio-button-trailing/radio-button-trailing.d.ts +8 -0
  306. package/dist/types/components/radio-group/exports.d.ts +2 -0
  307. package/dist/types/components/radio-group/radio-group.d.ts +179 -0
  308. package/dist/types/components/select/exports.d.ts +2 -0
  309. package/dist/types/components/select/select.d.ts +319 -0
  310. package/dist/types/components/select-option/select-option.d.ts +113 -0
  311. package/dist/types/components/skip-link/exports.d.ts +2 -0
  312. package/dist/types/components/skip-link/skip-link.d.ts +6 -0
  313. package/dist/types/components/stepper/stepper.d.ts +22 -0
  314. package/dist/types/components/stepper-item/stepper-item.d.ts +23 -0
  315. package/dist/types/components/tab/tab.d.ts +23 -0
  316. package/dist/types/components/tab-panel/tab-panel.d.ts +7 -0
  317. package/dist/types/components/tabs/tabs.d.ts +49 -0
  318. package/dist/types/components/tabs-list/exports.d.ts +4 -0
  319. package/dist/types/components/tabs-list/tabs-list.d.ts +41 -0
  320. package/dist/types/components/textarea/exports.d.ts +2 -0
  321. package/dist/types/components/textarea/textarea.d.ts +158 -0
  322. package/dist/types/components/toast/exports.d.ts +6 -0
  323. package/dist/types/components/toast/toast.d.ts +146 -0
  324. package/dist/types/components/toast-group/exports.d.ts +2 -0
  325. package/dist/types/components/toast-group/toast-group.d.ts +9 -0
  326. package/dist/types/components/tooltip/exports.d.ts +6 -0
  327. package/dist/types/components/tooltip/tooltip.d.ts +132 -0
  328. package/dist/types/components.d.ts +6347 -0
  329. package/dist/types/index.d.ts +1 -0
  330. package/dist/types/stencil-public-runtime.d.ts +1732 -0
  331. package/dist/types/types/jsx-shim.d.ts +13 -0
  332. package/dist/types/types/style-observer.d.ts +20 -0
  333. package/dist/types/utils/focusable.d.ts +1 -0
  334. package/dist/types/utils/formData.d.ts +1 -0
  335. package/dist/types/utils/theming.d.ts +15 -0
  336. package/dist/types/utils/version-checker.d.ts +1 -0
  337. package/dist/web-components/index.esm.js +1 -0
  338. package/dist/web-components/p-01aefcf0.entry.js +1 -0
  339. package/dist/web-components/p-05cb55db.entry.js +1 -0
  340. package/dist/web-components/p-0a34d33b.entry.js +1 -0
  341. package/dist/web-components/p-11b22309.entry.js +1 -0
  342. package/dist/web-components/p-2d878934.entry.js +1 -0
  343. package/dist/web-components/p-325dbedf.entry.js +1 -0
  344. package/dist/web-components/p-34b9457b.entry.js +1 -0
  345. package/dist/web-components/p-36abd05a.entry.js +1 -0
  346. package/dist/web-components/p-386d1ef9.entry.js +1 -0
  347. package/dist/web-components/p-3d67b77b.entry.js +1 -0
  348. package/dist/web-components/p-4Uv3PpKT.js +1 -0
  349. package/dist/web-components/p-4b12fbc0.entry.js +1 -0
  350. package/dist/web-components/p-52f7b505.entry.js +1 -0
  351. package/dist/web-components/p-55600d47.entry.js +1 -0
  352. package/dist/web-components/p-57ebc474.entry.js +1 -0
  353. package/dist/web-components/p-57edf7f4.entry.js +1 -0
  354. package/dist/web-components/p-69a24fe2.entry.js +1 -0
  355. package/dist/web-components/p-6d92648c.entry.js +1 -0
  356. package/dist/web-components/p-75052597.entry.js +1 -0
  357. package/dist/web-components/p-7b2c5b63.entry.js +1 -0
  358. package/dist/web-components/p-7bf463ff.entry.js +1 -0
  359. package/dist/web-components/p-838e43d4.entry.js +1 -0
  360. package/dist/web-components/p-8c16d038.entry.js +1 -0
  361. package/dist/web-components/p-8f8313de.entry.js +1 -0
  362. package/dist/web-components/p-9026d5a2.entry.js +1 -0
  363. package/dist/web-components/p-95396b5c.entry.js +1 -0
  364. package/dist/web-components/p-9c31c7c4.entry.js +1 -0
  365. package/dist/web-components/p-9c415b9c.entry.js +1 -0
  366. package/dist/web-components/p-9f583ed1.entry.js +1 -0
  367. package/dist/web-components/p-B9rsR6cQ.js +1 -0
  368. package/dist/web-components/p-CTxpqopm.js +2 -0
  369. package/dist/web-components/p-DQuL1Twl.js +1 -0
  370. package/dist/web-components/p-DvLT8-y3.js +1 -0
  371. package/dist/web-components/p-b303b2cc.entry.js +1 -0
  372. package/dist/web-components/p-b8df041d.entry.js +1 -0
  373. package/dist/web-components/p-bc30844f.entry.js +1 -0
  374. package/dist/web-components/p-c4a77a65.entry.js +1 -0
  375. package/dist/web-components/p-c549addf.entry.js +1 -0
  376. package/dist/web-components/p-c65df19f.entry.js +1 -0
  377. package/dist/web-components/p-c80a5541.entry.js +1 -0
  378. package/dist/web-components/p-c96ee61a.entry.js +1 -0
  379. package/dist/web-components/p-cf3f044d.entry.js +1 -0
  380. package/dist/web-components/p-d1412932.entry.js +1 -0
  381. package/dist/web-components/p-d9778cfa.entry.js +1 -0
  382. package/dist/web-components/p-dbe4ccb8.entry.js +1 -0
  383. package/dist/web-components/p-ded50850.entry.js +1 -0
  384. package/dist/web-components/p-e5be895b.entry.js +1 -0
  385. package/dist/web-components/p-e6b34c1e.entry.js +1 -0
  386. package/dist/web-components/p-ec3c4800.entry.js +1 -0
  387. package/dist/web-components/p-f670fd87.entry.js +1 -0
  388. package/dist/web-components/p-f867e4c3.entry.js +1 -0
  389. package/dist/web-components/p-ff6b1b8f.entry.js +1 -0
  390. package/dist/web-components/p-ky1yonnS.js +1 -0
  391. package/dist/web-components/web-components.esm.js +1 -0
  392. package/loader/cdn.js +1 -0
  393. package/loader/index.cjs.js +1 -0
  394. package/loader/index.d.ts +24 -0
  395. package/loader/index.es2017.js +1 -0
  396. package/loader/index.js +2 -0
  397. package/package.json +1 -1
@@ -0,0 +1,526 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class Alert {
3
+ constructor() {
4
+ /** Alert status controls apperance according to the status */
5
+ this.status = 'info';
6
+ /** Sets role="alert" and will be announced to screen reader users */
7
+ this.announced = true;
8
+ /** Defines an icon size to be presented in leading slot*/
9
+ this.leadingIconSize = 'm';
10
+ /**
11
+ * Defines whether the leading icon is visible.
12
+ * @default true
13
+ * */
14
+ this.leadingIconVisible = true;
15
+ /** Defines an icon to be presented in trailing slot */
16
+ this.trailingIcon = 'cross';
17
+ /** Defines an icon size to be presented in trailing slot*/
18
+ this.trailingIconSize = 'm';
19
+ /**
20
+ * Defines the target for the linked URL when `href` is provided.
21
+ * Options: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
22
+ */
23
+ this.target = '_self';
24
+ /** Text content for an alert dismiss button */
25
+ this.dismissButtonAriaLabel = 'Dismiss alert';
26
+ this.isElContent = (selector) => {
27
+ const el = this.host.querySelector(selector);
28
+ return el !== null && (el === null || el === void 0 ? void 0 : el.textContent.trim().length) > 0;
29
+ };
30
+ this.collapseAlert = () => {
31
+ this.host.setAttribute('aria-hidden', 'true');
32
+ };
33
+ this.startCollapseTimer = () => {
34
+ const time = this.delay * 1000;
35
+ this.delayTimer = setTimeout(() => {
36
+ this.collapseAlert();
37
+ clearTimeout(this.delayTimer);
38
+ }, time);
39
+ };
40
+ this.handleTrailingButtonClick = () => {
41
+ this.rClickAlertTrailingIcon.emit();
42
+ this.collapseAlert();
43
+ };
44
+ }
45
+ get isLeadingSlot() {
46
+ return this.isElContent('[slot="leading"]');
47
+ }
48
+ get isLeading() {
49
+ return this.leadingIconVisible || this.isLeadingSlot;
50
+ }
51
+ get isTrailingIcon() {
52
+ var _a, _b;
53
+ return ((_a = this.trailingIcon) === null || _a === void 0 ? void 0 : _a.length) > 0 || ((_b = this.trailingIconSrc) === null || _b === void 0 ? void 0 : _b.length) > 0;
54
+ }
55
+ get isTrailingSlot() {
56
+ return this.isElContent('[slot="trailing"]');
57
+ }
58
+ get isTrailing() {
59
+ return this.isTrailingIcon || this.isTrailingSlot;
60
+ }
61
+ get isHeadline() {
62
+ var _a;
63
+ return ((_a = this.headline) === null || _a === void 0 ? void 0 : _a.length) > 0;
64
+ }
65
+ get isContent() {
66
+ var _a;
67
+ return ((_a = this.content) === null || _a === void 0 ? void 0 : _a.length) > 0;
68
+ }
69
+ get isLink() {
70
+ var _a, _b;
71
+ return ((_a = this.href) === null || _a === void 0 ? void 0 : _a.length) > 0 && ((_b = this.linkText) === null || _b === void 0 ? void 0 : _b.length) > 0;
72
+ }
73
+ get isSlot() {
74
+ return this.host.textContent.trim().length > 0;
75
+ }
76
+ get isMain() {
77
+ return this.isHeadline || this.isContent || this.isLink || this.isSlot;
78
+ }
79
+ get isDelay() {
80
+ return this.delay && this.delay >= 0;
81
+ }
82
+ get headlineSlotContent() {
83
+ var _a;
84
+ const el = this.host.querySelector('[slot="headline"]');
85
+ return (_a = el === null || el === void 0 ? void 0 : el.textContent) === null || _a === void 0 ? void 0 : _a.trim();
86
+ }
87
+ get hasHeadlineContent() {
88
+ return !!this.headlineSlotContent || !!this.headline;
89
+ }
90
+ get statusBasedLeadingIconName() {
91
+ if (this.leadingIcon)
92
+ return this.leadingIcon;
93
+ switch (this.status) {
94
+ case 'info':
95
+ return 'circled-information-i';
96
+ case 'warning':
97
+ return 'circled-exclamation-mark';
98
+ case 'error':
99
+ return 'triangle-with-exclamation-mark';
100
+ default:
101
+ return 'circled-information-i';
102
+ }
103
+ }
104
+ componentDidLoad() {
105
+ if (this.isDelay)
106
+ this.startCollapseTimer();
107
+ }
108
+ render() {
109
+ const hostAttrs = this.announced ? {
110
+ role: 'alert',
111
+ 'aria-live': this.status === 'info' ? 'polite' : 'assertive'
112
+ } : {
113
+ role: 'region',
114
+ 'aria-label': this.headlineSlotContent || this.headline || null
115
+ };
116
+ const leadingIconAttrs = {
117
+ name: this.statusBasedLeadingIconName,
118
+ src: this.leadingIconSrc,
119
+ size: this.leadingIconSize
120
+ };
121
+ const trailingIconAttrs = {
122
+ name: this.trailingIcon,
123
+ src: this.trailingIconSrc,
124
+ size: this.trailingIconSize
125
+ };
126
+ return (h(Host, Object.assign({ key: 'c15688c07ce4e954025a36400b922735b347e95f' }, hostAttrs), h("div", { key: '26babb75b7e859b21e59345c601d385662908d1d', class: "r-alert", "data-has-headline": `${this.hasHeadlineContent}` }, this.isLeading &&
127
+ h("div", { key: '694567d018738c0e8a3eca4a084b38bfd7e81c91', class: "r-alert--leading" }, h("slot", { key: 'cfc91101ce17b01b76a4d860012e91a06e536d75', name: "leading" }, this.leadingIconVisible && h("r-icon", Object.assign({ key: 'bbbeaa680cd6e44e22d955896b7b20b37fdbbd7b' }, leadingIconAttrs)))), this.isMain ?
128
+ h("div", { class: "r-alert--main" }, h("slot", { name: "headline" }, this.isHeadline && h("h3", { class: "r-alert--headline" }, this.headline)), h("slot", { name: "content" }, this.isContent && h("div", { class: "r-alert--content" }, this.content)), h("slot", { name: "link" }, this.isLink &&
129
+ h("r-button", { class: "r-alert--link", variant: "text-inline", size: "small", href: this.href, target: this.target }, this.linkText)), h("slot", null))
130
+ :
131
+ h("slot", null), this.isTrailing &&
132
+ h("div", { key: 'd75e4568127a9c493b998cb8b0b475c3009d007a', class: "r-alert--trailing" }, h("slot", { key: 'a8d14fb3e1b275e750505ca25124b61503addf1e', name: "trailing" }, this.isTrailingIcon &&
133
+ h("r-icon-button", { key: '2d259fdda1b57874d6e1430893798bdfe047d60a', name: !this.trailingIconSrc ? this.trailingIcon : null, onClick: this.handleTrailingButtonClick, label: this.dismissButtonAriaLabel }, this.trailingIconSrc && h("r-icon", Object.assign({ key: '4e3ba02d4a2926c2f76000a685476cafad783d23' }, trailingIconAttrs))))))));
134
+ }
135
+ static get is() { return "r-alert"; }
136
+ static get encapsulation() { return "shadow"; }
137
+ static get originalStyleUrls() {
138
+ return {
139
+ "$": ["alert.css"]
140
+ };
141
+ }
142
+ static get styleUrls() {
143
+ return {
144
+ "$": ["alert.css"]
145
+ };
146
+ }
147
+ static get properties() {
148
+ return {
149
+ "status": {
150
+ "type": "string",
151
+ "attribute": "status",
152
+ "mutable": false,
153
+ "complexType": {
154
+ "original": "AlertStatus",
155
+ "resolved": "\"error\" | \"info\" | \"warning\"",
156
+ "references": {
157
+ "AlertStatus": {
158
+ "location": "import",
159
+ "path": "./exports",
160
+ "id": "src/components/alert/exports.ts::AlertStatus"
161
+ }
162
+ }
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": "Alert status controls apperance according to the status"
169
+ },
170
+ "getter": false,
171
+ "setter": false,
172
+ "reflect": true,
173
+ "defaultValue": "'info'"
174
+ },
175
+ "announced": {
176
+ "type": "boolean",
177
+ "attribute": "announced",
178
+ "mutable": false,
179
+ "complexType": {
180
+ "original": "boolean",
181
+ "resolved": "boolean",
182
+ "references": {}
183
+ },
184
+ "required": false,
185
+ "optional": false,
186
+ "docs": {
187
+ "tags": [],
188
+ "text": "Sets role=\"alert\" and will be announced to screen reader users"
189
+ },
190
+ "getter": false,
191
+ "setter": false,
192
+ "reflect": true,
193
+ "defaultValue": "true"
194
+ },
195
+ "leadingIcon": {
196
+ "type": "string",
197
+ "attribute": "leading-icon",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "IconName",
201
+ "resolved": "string",
202
+ "references": {
203
+ "IconName": {
204
+ "location": "import",
205
+ "path": "../icon/exports",
206
+ "id": "src/components/icon/exports.ts::IconName"
207
+ }
208
+ }
209
+ },
210
+ "required": false,
211
+ "optional": true,
212
+ "docs": {
213
+ "tags": [],
214
+ "text": "Defines an icon to be presented in trailing slot"
215
+ },
216
+ "getter": false,
217
+ "setter": false,
218
+ "reflect": false
219
+ },
220
+ "leadingIconSrc": {
221
+ "type": "string",
222
+ "attribute": "leading-icon-src",
223
+ "mutable": false,
224
+ "complexType": {
225
+ "original": "string",
226
+ "resolved": "string",
227
+ "references": {}
228
+ },
229
+ "required": false,
230
+ "optional": true,
231
+ "docs": {
232
+ "tags": [],
233
+ "text": "Defines an icon source to be presented in leading slot"
234
+ },
235
+ "getter": false,
236
+ "setter": false,
237
+ "reflect": false
238
+ },
239
+ "leadingIconSize": {
240
+ "type": "string",
241
+ "attribute": "leading-icon-size",
242
+ "mutable": false,
243
+ "complexType": {
244
+ "original": "IconSize",
245
+ "resolved": "\"l\" | \"m\" | \"s\"",
246
+ "references": {
247
+ "IconSize": {
248
+ "location": "import",
249
+ "path": "../icon/exports",
250
+ "id": "src/components/icon/exports.ts::IconSize"
251
+ }
252
+ }
253
+ },
254
+ "required": false,
255
+ "optional": false,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": "Defines an icon size to be presented in leading slot"
259
+ },
260
+ "getter": false,
261
+ "setter": false,
262
+ "reflect": false,
263
+ "defaultValue": "'m'"
264
+ },
265
+ "leadingIconVisible": {
266
+ "type": "boolean",
267
+ "attribute": "leading-icon-visible",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "boolean",
271
+ "resolved": "boolean",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [{
278
+ "name": "default",
279
+ "text": "true"
280
+ }],
281
+ "text": "Defines whether the leading icon is visible."
282
+ },
283
+ "getter": false,
284
+ "setter": false,
285
+ "reflect": false,
286
+ "defaultValue": "true"
287
+ },
288
+ "trailingIcon": {
289
+ "type": "string",
290
+ "attribute": "trailing-icon",
291
+ "mutable": false,
292
+ "complexType": {
293
+ "original": "IconName",
294
+ "resolved": "string",
295
+ "references": {
296
+ "IconName": {
297
+ "location": "import",
298
+ "path": "../icon/exports",
299
+ "id": "src/components/icon/exports.ts::IconName"
300
+ }
301
+ }
302
+ },
303
+ "required": false,
304
+ "optional": true,
305
+ "docs": {
306
+ "tags": [],
307
+ "text": "Defines an icon to be presented in trailing slot"
308
+ },
309
+ "getter": false,
310
+ "setter": false,
311
+ "reflect": false,
312
+ "defaultValue": "'cross'"
313
+ },
314
+ "trailingIconSrc": {
315
+ "type": "string",
316
+ "attribute": "trailing-icon-src",
317
+ "mutable": false,
318
+ "complexType": {
319
+ "original": "string",
320
+ "resolved": "string",
321
+ "references": {}
322
+ },
323
+ "required": false,
324
+ "optional": true,
325
+ "docs": {
326
+ "tags": [],
327
+ "text": "Defines an icon source to be presented in trailing slot"
328
+ },
329
+ "getter": false,
330
+ "setter": false,
331
+ "reflect": false
332
+ },
333
+ "trailingIconSize": {
334
+ "type": "string",
335
+ "attribute": "trailing-icon-size",
336
+ "mutable": false,
337
+ "complexType": {
338
+ "original": "IconSize",
339
+ "resolved": "\"l\" | \"m\" | \"s\"",
340
+ "references": {
341
+ "IconSize": {
342
+ "location": "import",
343
+ "path": "../icon/exports",
344
+ "id": "src/components/icon/exports.ts::IconSize"
345
+ }
346
+ }
347
+ },
348
+ "required": false,
349
+ "optional": false,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": "Defines an icon size to be presented in trailing slot"
353
+ },
354
+ "getter": false,
355
+ "setter": false,
356
+ "reflect": false,
357
+ "defaultValue": "'m'"
358
+ },
359
+ "headline": {
360
+ "type": "string",
361
+ "attribute": "headline",
362
+ "mutable": false,
363
+ "complexType": {
364
+ "original": "string",
365
+ "resolved": "string",
366
+ "references": {}
367
+ },
368
+ "required": false,
369
+ "optional": true,
370
+ "docs": {
371
+ "tags": [],
372
+ "text": "Defines headline text of the alert"
373
+ },
374
+ "getter": false,
375
+ "setter": false,
376
+ "reflect": false
377
+ },
378
+ "content": {
379
+ "type": "string",
380
+ "attribute": "content",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "string",
384
+ "resolved": "string",
385
+ "references": {}
386
+ },
387
+ "required": false,
388
+ "optional": true,
389
+ "docs": {
390
+ "tags": [],
391
+ "text": "Defines content text of the alert"
392
+ },
393
+ "getter": false,
394
+ "setter": false,
395
+ "reflect": false
396
+ },
397
+ "href": {
398
+ "type": "string",
399
+ "attribute": "href",
400
+ "mutable": false,
401
+ "complexType": {
402
+ "original": "string",
403
+ "resolved": "string",
404
+ "references": {}
405
+ },
406
+ "required": false,
407
+ "optional": true,
408
+ "docs": {
409
+ "tags": [],
410
+ "text": "Defines href of the alert link"
411
+ },
412
+ "getter": false,
413
+ "setter": false,
414
+ "reflect": false
415
+ },
416
+ "linkText": {
417
+ "type": "string",
418
+ "attribute": "link-text",
419
+ "mutable": false,
420
+ "complexType": {
421
+ "original": "string",
422
+ "resolved": "string",
423
+ "references": {}
424
+ },
425
+ "required": false,
426
+ "optional": true,
427
+ "docs": {
428
+ "tags": [],
429
+ "text": "Defines link label text of the alert"
430
+ },
431
+ "getter": false,
432
+ "setter": false,
433
+ "reflect": false
434
+ },
435
+ "target": {
436
+ "type": "string",
437
+ "attribute": "target",
438
+ "mutable": false,
439
+ "complexType": {
440
+ "original": "AlertTarget",
441
+ "resolved": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
442
+ "references": {
443
+ "AlertTarget": {
444
+ "location": "import",
445
+ "path": "./exports",
446
+ "id": "src/components/alert/exports.ts::AlertTarget"
447
+ }
448
+ }
449
+ },
450
+ "required": false,
451
+ "optional": false,
452
+ "docs": {
453
+ "tags": [],
454
+ "text": "Defines the target for the linked URL when `href` is provided.\nOptions: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`."
455
+ },
456
+ "getter": false,
457
+ "setter": false,
458
+ "reflect": false,
459
+ "defaultValue": "'_self'"
460
+ },
461
+ "delay": {
462
+ "type": "number",
463
+ "attribute": "delay",
464
+ "mutable": false,
465
+ "complexType": {
466
+ "original": "number",
467
+ "resolved": "number",
468
+ "references": {}
469
+ },
470
+ "required": false,
471
+ "optional": true,
472
+ "docs": {
473
+ "tags": [],
474
+ "text": "Provide an amount of seconds before alert collapses"
475
+ },
476
+ "getter": false,
477
+ "setter": false,
478
+ "reflect": false
479
+ },
480
+ "dismissButtonAriaLabel": {
481
+ "type": "string",
482
+ "attribute": "dismiss-button-aria-label",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": false,
491
+ "docs": {
492
+ "tags": [],
493
+ "text": "Text content for an alert dismiss button"
494
+ },
495
+ "getter": false,
496
+ "setter": false,
497
+ "reflect": false,
498
+ "defaultValue": "'Dismiss alert'"
499
+ }
500
+ };
501
+ }
502
+ static get states() {
503
+ return {
504
+ "delayTimer": {}
505
+ };
506
+ }
507
+ static get events() {
508
+ return [{
509
+ "method": "rClickAlertTrailingIcon",
510
+ "name": "rClickAlertTrailingIcon",
511
+ "bubbles": true,
512
+ "cancelable": true,
513
+ "composed": true,
514
+ "docs": {
515
+ "tags": [],
516
+ "text": "Emit click on trigger"
517
+ },
518
+ "complexType": {
519
+ "original": "any",
520
+ "resolved": "any",
521
+ "references": {}
522
+ }
523
+ }];
524
+ }
525
+ static get elementRef() { return "host"; }
526
+ }
@@ -0,0 +1,2 @@
1
+ export const alertStatusArray = ['info', 'warning', 'error'];
2
+ export const alertTargetArray = ['_blank', '_self', '_parent', '_top'];
@@ -0,0 +1,62 @@
1
+ :host([variant=information]) {
2
+ --r-badge--icon--color: var(--r-status-info-regular, #3e5c73);
3
+ --r-badge--border-color: var(--r-status-info-regular, #3e5c73);
4
+ --r-badge--background-color: var(--r-status-info-soft, #f8fafb);
5
+ }
6
+
7
+ :host([variant=success]) {
8
+ --r-badge--icon--color: var(--r-status-success-regular, #298535);
9
+ --r-badge--border-color: var(--r-status-success-regular, #298535);
10
+ --r-badge--background-color: var(--r-status-success-soft, #f7fdf8);
11
+ }
12
+
13
+ :host([variant=warning]) {
14
+ --r-badge--icon--color: var(--r-status-warning-regular, #ff7429);
15
+ --r-badge--border-color: var(--r-status-warning-regular, #ff7429);
16
+ --r-badge--background-color: var(--r-status-warning-soft, #fef9f5);
17
+ }
18
+
19
+ :host([variant=error]) {
20
+ --r-badge--icon--color: var(--r-status-error-regular, #b00c15);
21
+ --r-badge--border-color: var(--r-status-error-regular, #b00c15);
22
+ --r-badge--background-color: var(--r-status-error-soft, #fef6f6);
23
+ }
24
+
25
+ :host {
26
+ display: var(--display, inline-flex);
27
+ line-height: var(--line-height, var(--r-line-height-s, 1.2));
28
+ }
29
+
30
+ .r-badge {
31
+ display: var(--r-badge--display, inline-flex);
32
+ justify-content: var(--r-badge--justify-content, center);
33
+ align-items: var(--r-badge--align-items, center);
34
+ gap: var(--r-badge--gap, var(--r-spacing-025, 0.25rem));
35
+ padding: var(--r-badge--padding, 0.05rem 0.5rem);
36
+ margin: var(--r-badge--margin, 0);
37
+ color: var(--r-badge--text--color, var(--r-text-regular, #282828));
38
+ border-width: var(--r-badge--border-width, 1.2px);
39
+ border-style: var(--r-badge--border-style, solid);
40
+ border-color: var(--r-badge--border-color, var(--r-status-info-regular, #3e5c73));
41
+ border-radius: var(--r-badge--border-radius, var(--r-spacing-150, 1.5rem));
42
+ background-color: var(--r-badge--background-color, var(--r-status-info-soft, #f8fafb));
43
+ box-sizing: var(--r-badge--box-sizing, border-box);
44
+ font-family: var(--r-badge--font-family, var(--r-font-family-text, system-ui));
45
+ font-weight: var(--r-badge--font-weight, var(--r-font-weight-regular, 400));
46
+ font-size: var(--r-badge--font-size, var(--r-font-size-300, 0.875rem));
47
+ line-height: var(--r-badge--line-height, var(--r-line-height-m, 1.5));
48
+ text-transform: var(--r-badge--text-transform, none);
49
+ }
50
+ .r-badge slot[name=icon] {
51
+ color: var(--r-badge--icon--color, var(--r-status-info-regular, #3e5c73));
52
+ }
53
+ .r-badge--icon {
54
+ display: var(--r-badge--icon--display, inline-flex);
55
+ }
56
+ .r-badge--content {
57
+ min-width: var(--r-badge--content--min-width, none);
58
+ max-width: var(--r-badge--content--max-width, none);
59
+ overflow: var(--r-badge--content--overflow, hidden);
60
+ white-space: var(--r-badge--content--white-space, nowrap);
61
+ text-overflow: var(--r-badge--content--text-overflow, ellipsis);
62
+ }