@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,510 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * A button can be used by a user to trigger an action. Corresponds to, and is rendered as a,
4
+ * [native button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button).
5
+ *
6
+ */
7
+ export class Button {
8
+ constructor() {
9
+ /**
10
+ * Button behavior, corresponding to
11
+ * [native `type` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)
12
+ */
13
+ this.type = 'button';
14
+ /** Visual size */
15
+ this.size = 'large';
16
+ /** Presentational style */
17
+ this.variant = 'primary';
18
+ /** Position of an icon within button.
19
+ * Only use it when 'icon' is specified.
20
+ * */
21
+ this.iconPosition = 'start';
22
+ this._activateTmpButton = (formEl) => {
23
+ if (!formEl) {
24
+ return;
25
+ }
26
+ const { type } = this;
27
+ switch (type) {
28
+ case 'submit':
29
+ case 'reset': {
30
+ /* Create temporary button inside the <form>
31
+ and either submit or reset it based on button type */
32
+ const tmpButton = document.createElement('button');
33
+ tmpButton.type = type;
34
+ tmpButton.style.display = 'none';
35
+ formEl.appendChild(tmpButton);
36
+ tmpButton.click();
37
+ tmpButton.remove();
38
+ break;
39
+ }
40
+ }
41
+ };
42
+ /**
43
+ * Handles button action based on its type attribute
44
+ * @param {Event} event event<Event> from onClick on the component
45
+ */
46
+ this.handleClick = (event) => {
47
+ if (this.disabled)
48
+ return;
49
+ if (!this.hasShadowDom)
50
+ return;
51
+ if (!this.isLink && this.isResetOrSubmit) {
52
+ event.preventDefault();
53
+ this._activateTmpButton(this.formEl);
54
+ }
55
+ this.rClick.emit();
56
+ };
57
+ this.handleSlotChange = () => {
58
+ this.host.setAttribute('data-icon-only', `${this.isIconOnly}`);
59
+ };
60
+ }
61
+ handleIconChange() {
62
+ this.host.setAttribute('data-icon-only', `${this.isIconOnly}`);
63
+ }
64
+ /** Simulate a button click */
65
+ async triggerClick() {
66
+ var _a;
67
+ (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.click();
68
+ }
69
+ /** Set focus on the button */
70
+ async setFocus() {
71
+ var _a;
72
+ (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.focus();
73
+ }
74
+ /** Remove focus from the button */
75
+ async setBlur() {
76
+ var _a;
77
+ (_a = this.nativeElement) === null || _a === void 0 ? void 0 : _a.blur();
78
+ }
79
+ get hasText() {
80
+ return this.host.textContent.trim().length > 0;
81
+ }
82
+ get hasIcon() {
83
+ const isIconInSlot = this.host.querySelector('r-icon') !== null;
84
+ const isIconInShadow = this.host.shadowRoot.querySelector('r-icon') !== null;
85
+ return isIconInSlot || isIconInShadow;
86
+ }
87
+ get isIconOnly() {
88
+ return this.hasIcon && !this.hasText;
89
+ }
90
+ get isLink() {
91
+ return typeof this.href === 'string';
92
+ }
93
+ get hasShadowDom() {
94
+ const { host } = this;
95
+ return !!host.shadowRoot && !!host.attachShadow;
96
+ }
97
+ get formEl() {
98
+ const { form, host } = this;
99
+ /** If form attr contains form id */
100
+ if (typeof form === 'string') {
101
+ const formEl = document.getElementById(form);
102
+ if (formEl instanceof HTMLFormElement) {
103
+ return formEl;
104
+ }
105
+ }
106
+ /** If form attr is not defined checking for form as parent */
107
+ if (typeof form === 'undefined') {
108
+ const formEl = host.closest('form');
109
+ if (formEl instanceof HTMLFormElement) {
110
+ return formEl;
111
+ }
112
+ }
113
+ return null;
114
+ }
115
+ get isResetOrSubmit() {
116
+ return this.type === 'submit' || this.type === 'reset';
117
+ }
118
+ get hasIconSlot() {
119
+ return !!this.host.querySelector('[slot="icon"]');
120
+ }
121
+ get ariaCurrentValue() {
122
+ const { rAriaCurrent } = this;
123
+ return !rAriaCurrent || rAriaCurrent === "false" ? null : rAriaCurrent;
124
+ }
125
+ componentDidLoad() {
126
+ this.host.dataset.iconOnly = `${this.isIconOnly}`;
127
+ }
128
+ render() {
129
+ const { type, disabled, form, href, target, isLink, icon, iconPosition, rAriaLabel } = this;
130
+ const linkAttr = disabled ? { 'aria-disabled': 'true', role: 'link' } : { href, target };
131
+ const btnAttr = { 'aria-disabled': `${disabled || false}`, disabled, type, form };
132
+ const attrs = isLink ? Object.assign({}, linkAttr) : Object.assign({}, btnAttr);
133
+ const iconAttrs = {
134
+ name: icon,
135
+ position: iconPosition
136
+ };
137
+ const TagName = isLink ? 'a' : 'button';
138
+ return (h(Host, { key: 'e93ad739417293917e59c26f213c0fbf784ed4d7' }, h(TagName, Object.assign({ key: 'c447e81e5900ad18d0af96025d6f5634fd1e5d2f', class: "r-button" }, attrs, { "aria-label": rAriaLabel || null, "aria-current": this.ariaCurrentValue, ref: (el) => (this.nativeElement = el), onClick: this.handleClick }), h("span", { key: '4f2706c98face1c8ef1cc72ae186501f49540d39', class: "r-button--slot" }, icon && h("r-icon", Object.assign({ key: '916942e6657fa1f7e342d120111a381db7200470', name: icon }, iconAttrs, { size: "s" })), this.hasIconSlot && h("slot", { key: '961c37f8d825639256a8234dbae92bdc926c7263', name: "icon" }), h("div", { key: '19189a21d18b0145d6990dd3bfecfd8d85d37aa9', style: { display: 'contents' } }, h("slot", { key: 'da586b1e067dac24d0fb81e59599d3ee83a536f4', onSlotchange: this.handleSlotChange }))))));
139
+ }
140
+ static get is() { return "r-button"; }
141
+ static get encapsulation() { return "shadow"; }
142
+ static get originalStyleUrls() {
143
+ return {
144
+ "$": ["button.css"]
145
+ };
146
+ }
147
+ static get styleUrls() {
148
+ return {
149
+ "$": ["button.css"]
150
+ };
151
+ }
152
+ static get properties() {
153
+ return {
154
+ "form": {
155
+ "type": "string",
156
+ "attribute": "form",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "string",
160
+ "resolved": "string",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": true,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": "Reference form element id with which the button is associated."
168
+ },
169
+ "getter": false,
170
+ "setter": false,
171
+ "reflect": false
172
+ },
173
+ "type": {
174
+ "type": "string",
175
+ "attribute": "type",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "ButtonType",
179
+ "resolved": "\"button\" | \"reset\" | \"submit\"",
180
+ "references": {
181
+ "ButtonType": {
182
+ "location": "import",
183
+ "path": "./exports",
184
+ "id": "src/components/button/exports.ts::ButtonType"
185
+ }
186
+ }
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [],
192
+ "text": "Button behavior, corresponding to\n[native `type` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)"
193
+ },
194
+ "getter": false,
195
+ "setter": false,
196
+ "reflect": true,
197
+ "defaultValue": "'button'"
198
+ },
199
+ "rAriaLabel": {
200
+ "type": "string",
201
+ "attribute": "r-aria-label",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "string",
205
+ "resolved": "string",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": false,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": "Sets string value for `aria-label` attribute\n(https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label)"
213
+ },
214
+ "getter": false,
215
+ "setter": false,
216
+ "reflect": true
217
+ },
218
+ "size": {
219
+ "type": "string",
220
+ "attribute": "size",
221
+ "mutable": false,
222
+ "complexType": {
223
+ "original": "ButtonSize",
224
+ "resolved": "\"large\" | \"small\"",
225
+ "references": {
226
+ "ButtonSize": {
227
+ "location": "import",
228
+ "path": "./exports",
229
+ "id": "src/components/button/exports.ts::ButtonSize"
230
+ }
231
+ }
232
+ },
233
+ "required": false,
234
+ "optional": false,
235
+ "docs": {
236
+ "tags": [],
237
+ "text": "Visual size"
238
+ },
239
+ "getter": false,
240
+ "setter": false,
241
+ "reflect": true,
242
+ "defaultValue": "'large'"
243
+ },
244
+ "variant": {
245
+ "type": "string",
246
+ "attribute": "variant",
247
+ "mutable": false,
248
+ "complexType": {
249
+ "original": "ButtonVariant",
250
+ "resolved": "\"blank\" | \"primary\" | \"secondary\" | \"text\" | \"text-inline\"",
251
+ "references": {
252
+ "ButtonVariant": {
253
+ "location": "import",
254
+ "path": "./exports",
255
+ "id": "src/components/button/exports.ts::ButtonVariant"
256
+ }
257
+ }
258
+ },
259
+ "required": false,
260
+ "optional": false,
261
+ "docs": {
262
+ "tags": [],
263
+ "text": "Presentational style"
264
+ },
265
+ "getter": false,
266
+ "setter": false,
267
+ "reflect": true,
268
+ "defaultValue": "'primary'"
269
+ },
270
+ "expanded": {
271
+ "type": "boolean",
272
+ "attribute": "expanded",
273
+ "mutable": false,
274
+ "complexType": {
275
+ "original": "boolean",
276
+ "resolved": "boolean",
277
+ "references": {}
278
+ },
279
+ "required": false,
280
+ "optional": true,
281
+ "docs": {
282
+ "tags": [],
283
+ "text": "Whether to present as a full-width (100%) button.\n\nOnly primary and secondary buttons can be expanded."
284
+ },
285
+ "getter": false,
286
+ "setter": false,
287
+ "reflect": true
288
+ },
289
+ "disabled": {
290
+ "type": "boolean",
291
+ "attribute": "disabled",
292
+ "mutable": false,
293
+ "complexType": {
294
+ "original": "boolean",
295
+ "resolved": "boolean",
296
+ "references": {}
297
+ },
298
+ "required": false,
299
+ "optional": true,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": "Prevents user interaction and applies disabled style"
303
+ },
304
+ "getter": false,
305
+ "setter": false,
306
+ "reflect": true
307
+ },
308
+ "icon": {
309
+ "type": "string",
310
+ "attribute": "icon",
311
+ "mutable": false,
312
+ "complexType": {
313
+ "original": "IconName",
314
+ "resolved": "string",
315
+ "references": {
316
+ "IconName": {
317
+ "location": "import",
318
+ "path": "../icon/exports",
319
+ "id": "src/components/icon/exports.ts::IconName"
320
+ }
321
+ }
322
+ },
323
+ "required": false,
324
+ "optional": true,
325
+ "docs": {
326
+ "tags": [],
327
+ "text": "Name of an icon to display within button."
328
+ },
329
+ "getter": false,
330
+ "setter": false,
331
+ "reflect": false
332
+ },
333
+ "iconPosition": {
334
+ "type": "string",
335
+ "attribute": "icon-position",
336
+ "mutable": false,
337
+ "complexType": {
338
+ "original": "IconPosition",
339
+ "resolved": "\"end\" | \"start\"",
340
+ "references": {
341
+ "IconPosition": {
342
+ "location": "import",
343
+ "path": "../icon/exports",
344
+ "id": "src/components/icon/exports.ts::IconPosition"
345
+ }
346
+ }
347
+ },
348
+ "required": false,
349
+ "optional": false,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": "Position of an icon within button.\nOnly use it when 'icon' is specified."
353
+ },
354
+ "getter": false,
355
+ "setter": false,
356
+ "reflect": false,
357
+ "defaultValue": "'start'"
358
+ },
359
+ "href": {
360
+ "type": "string",
361
+ "attribute": "href",
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": "URL or a URL fragment that the hyperlink points to.\nIf the property is set, an anchor tag will be rendered."
373
+ },
374
+ "getter": false,
375
+ "setter": false,
376
+ "reflect": false
377
+ },
378
+ "target": {
379
+ "type": "string",
380
+ "attribute": "target",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "ButtonTarget",
384
+ "resolved": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
385
+ "references": {
386
+ "ButtonTarget": {
387
+ "location": "import",
388
+ "path": "./exports",
389
+ "id": "src/components/button/exports.ts::ButtonTarget"
390
+ }
391
+ }
392
+ },
393
+ "required": false,
394
+ "optional": true,
395
+ "docs": {
396
+ "tags": [],
397
+ "text": "Specifies where to display the linked URL.\nOnly applies when an `href` is provided.\nSpecial keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`."
398
+ },
399
+ "getter": false,
400
+ "setter": false,
401
+ "reflect": false
402
+ },
403
+ "rAriaCurrent": {
404
+ "type": "string",
405
+ "attribute": "r-aria-current",
406
+ "mutable": false,
407
+ "complexType": {
408
+ "original": "ButtonAriaCurrent",
409
+ "resolved": "\"date\" | \"false\" | \"location\" | \"page\" | \"step\" | \"time\" | \"true\"",
410
+ "references": {
411
+ "ButtonAriaCurrent": {
412
+ "location": "import",
413
+ "path": "./exports",
414
+ "id": "src/components/button/exports.ts::ButtonAriaCurrent"
415
+ }
416
+ }
417
+ },
418
+ "required": false,
419
+ "optional": true,
420
+ "docs": {
421
+ "tags": [],
422
+ "text": "Indicates the current item within a set of related elements.\nCorresponds to\n[native `aria-current` attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)"
423
+ },
424
+ "getter": false,
425
+ "setter": false,
426
+ "reflect": false
427
+ }
428
+ };
429
+ }
430
+ static get events() {
431
+ return [{
432
+ "method": "rClick",
433
+ "name": "rClick",
434
+ "bubbles": true,
435
+ "cancelable": true,
436
+ "composed": true,
437
+ "docs": {
438
+ "tags": [],
439
+ "text": "Emits `rClick` event on click and keyup"
440
+ },
441
+ "complexType": {
442
+ "original": "any",
443
+ "resolved": "any",
444
+ "references": {}
445
+ }
446
+ }];
447
+ }
448
+ static get methods() {
449
+ return {
450
+ "triggerClick": {
451
+ "complexType": {
452
+ "signature": "() => Promise<void>",
453
+ "parameters": [],
454
+ "references": {
455
+ "Promise": {
456
+ "location": "global",
457
+ "id": "global::Promise"
458
+ }
459
+ },
460
+ "return": "Promise<void>"
461
+ },
462
+ "docs": {
463
+ "text": "Simulate a button click",
464
+ "tags": []
465
+ }
466
+ },
467
+ "setFocus": {
468
+ "complexType": {
469
+ "signature": "() => Promise<void>",
470
+ "parameters": [],
471
+ "references": {
472
+ "Promise": {
473
+ "location": "global",
474
+ "id": "global::Promise"
475
+ }
476
+ },
477
+ "return": "Promise<void>"
478
+ },
479
+ "docs": {
480
+ "text": "Set focus on the button",
481
+ "tags": []
482
+ }
483
+ },
484
+ "setBlur": {
485
+ "complexType": {
486
+ "signature": "() => Promise<void>",
487
+ "parameters": [],
488
+ "references": {
489
+ "Promise": {
490
+ "location": "global",
491
+ "id": "global::Promise"
492
+ }
493
+ },
494
+ "return": "Promise<void>"
495
+ },
496
+ "docs": {
497
+ "text": "Remove focus from the button",
498
+ "tags": []
499
+ }
500
+ }
501
+ };
502
+ }
503
+ static get elementRef() { return "host"; }
504
+ static get watchers() {
505
+ return [{
506
+ "propName": "icon",
507
+ "methodName": "handleIconChange"
508
+ }];
509
+ }
510
+ }
@@ -0,0 +1,5 @@
1
+ export const buttonTypeArray = ['button', 'submit', 'reset'];
2
+ export const buttonVariantArray = ['primary', 'secondary', 'text', 'text-inline', 'blank'];
3
+ export const buttonSizeArray = ['large', 'small'];
4
+ export const buttonTargetArray = ['_blank', '_self', '_parent', '_top'];
5
+ export const buttonAriaCurrentArray = ['true', 'false', 'page', 'step', 'location', 'date', 'time'];
@@ -0,0 +1,116 @@
1
+ :host {
2
+ display: block;
3
+ user-select: none;
4
+ box-sizing: border-box;
5
+ font-family: var(--r-font-family-text);
6
+ font-size: var(--r-font-size-400);
7
+ text-align: left;
8
+ color: var(--r-text-regular);
9
+ cursor: pointer;
10
+ }
11
+ :host ::slotted(a),
12
+ :host ::slotted(a:visited),
13
+ :host ::slotted(a:hover),
14
+ :host ::slotted(a:focus),
15
+ :host ::slotted(a:active) {
16
+ color: var(--r-text-regular);
17
+ }
18
+ :host slot {
19
+ display: contents;
20
+ }
21
+
22
+ :host(:hover:not([disabled]:not([disabled=false]))) {
23
+ --r-checkbox--box--background-color: var(--r-background-interactive-hovered);
24
+ }
25
+
26
+ :host(:focus-within:not(:active)) {
27
+ box-shadow: 0 0 0 3px var(--r-border-focused-outlined, #fff), inset 0 0 0 1px var(--r-border-focused-outlined, #fff);
28
+ outline: 2px solid var(--r-border-focused, #0071e3);
29
+ outline-offset: 2px;
30
+ --r-checkbox--box--box-shadow: 0 0 0 3px var(--r-border-focused-outlined, #fff), inset 0 0 0 1px var(--r-border-focused-outlined, #fff);
31
+ --r-checkbox--box--outline: 2px solid var(--r-border-focused, #0071e3);
32
+ --r-checkbox--box--outline-offset: 2px;
33
+ }
34
+
35
+ :host(:active:not([disabled]:not([disabled=false]))) {
36
+ --r-checkbox--box--background-color: var(--r-background-interactive-pressed);
37
+ }
38
+
39
+ :host([invalid]:not([invalid=false])) {
40
+ --r-checkbox--box--border-color: var(--r-status-error-regular);
41
+ --r-checkbox--box--background-color: var(--r-status-error-soft);
42
+ --r-checkbox--marker--color: var(--r-status-error-regular);
43
+ }
44
+
45
+ :host([disabled]:not([disabled=false])) {
46
+ --r-checkbox--box--opacity: 0.4;
47
+ --r-checkbox--cursor: not-allowed;
48
+ --r-checkbox--label-container--cursor: not-allowed;
49
+ --r-checkbox--label--cursor: not-allowed;
50
+ cursor: not-allowed;
51
+ }
52
+
53
+ .r-checkbox {
54
+ position: var(--r-checkbox--position, relative);
55
+ display: var(--r-checkbox--display, flex);
56
+ gap: var(--r-checkbox--gap, var(--r-spacing-100, 1rem));
57
+ cursor: var(--r-checkbox--cursor, pointer);
58
+ padding: var(--r-checkbox--padding, var(--r-spacing-100, 1rem));
59
+ min-height: var(--r-checkbox--min-height, var(--r-spacing-150, 1.5rem));
60
+ }
61
+ .r-checkbox--input {
62
+ position: var(--r-checkbox--input--position, absolute);
63
+ top: var(--r-checkbox--input--top, var(--r-checkbox--padding));
64
+ left: var(--r-checkbox--input--left, var(--r-checkbox--padding));
65
+ opacity: var(--r-checkbox--input--opacity, 0);
66
+ width: var(--r-checkbox--input--width, 1.5rem);
67
+ height: var(--r-checkbox--input--height, 1.5rem);
68
+ box-sizing: var(--r-checkbox--input--box-sizing, border-box);
69
+ padding: var(--r-checkbox--input--padding, 0);
70
+ margin: var(--r-checkbox--input--margin, 0);
71
+ }
72
+ .r-checkbox--box {
73
+ position: var(--r-checkbox--box--position, relative);
74
+ display: var(--r-checkbox--box--display, flex);
75
+ align-items: var(--r-checkbox--box--align-items, center);
76
+ justify-content: var(--r-checkbox--box--justify-content, center);
77
+ left: var(--r-checkbox--box--left, 0);
78
+ top: var(--r-checkbox--box--top, 0);
79
+ height: var(--r-checkbox--box--height, 1.5rem);
80
+ width: var(--r-checkbox--box--width, 1.5rem);
81
+ min-width: var(--r-checkbox--box--min-width, 1.5rem);
82
+ background-color: var(--r-checkbox--box--background-color, var(--r-background-interactive-softest, #fff));
83
+ border-width: var(--r-checkbox--box--border-width, 0.0625rem);
84
+ border-style: var(--r-checkbox--box--border-style, solid);
85
+ border-color: var(--r-checkbox--box--border-color, var(--r-border-soft, #686868));
86
+ outline: var(--r-checkbox--box--outline, none);
87
+ outline-offset: var(--r-checkbox--box--outline-offset, 0);
88
+ box-sizing: var(--r-checkbox--box--box-sizing, border-box);
89
+ box-shadow: var(--r-checkbox--box--box-shadow, none);
90
+ opacity: var(--r-checkbox--box--opacity, 1);
91
+ }
92
+ .r-checkbox--description {
93
+ cursor: var(--r-checkbox--label-container--cursor, pointer);
94
+ flex: var(--r-checkbox--label-container--flex, 1);
95
+ line-height: var(--r-checkbox--label-container--line-height, 1.5);
96
+ display: var(--r-checkbox--label-container--display, flex);
97
+ flex-direction: var(--r-checkbox--label-container--flex-direction, column);
98
+ gap: var(--r-checkbox--label-container--gap, var(--r-spacing-025, 0.25rem));
99
+ }
100
+ .r-checkbox--label {
101
+ cursor: var(--r-checkbox--label--cursor, pointer);
102
+ }
103
+ .r-checkbox--message {
104
+ margin-top: var(--r-checkbox--message--margin-top, var(--r-spacing-025, 0.25rem));
105
+ }
106
+
107
+ :host(.visually-hidden),
108
+ .visually-hidden {
109
+ position: absolute;
110
+ width: 0.0625rem;
111
+ height: 0.0625rem;
112
+ clip: rect(0 0 0 0);
113
+ clip-path: inset(50%);
114
+ overflow: hidden;
115
+ white-space: nowrap;
116
+ }