@bi-digital/react 0.3.3 → 0.3.5

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 (323) hide show
  1. package/dist/alert-C6PxDwHt.js.map +1 -1
  2. package/dist/{alert-footer-DWZoQIek.d.ts → alert-footer-BHrSGdIt.d.ts} +68 -68
  3. package/dist/{alert-footer-DL4rCThp.js → alert-footer-DfjvFlBv.js} +2 -3
  4. package/dist/{alert-footer-DL4rCThp.js.map → alert-footer-DfjvFlBv.js.map} +1 -1
  5. package/dist/avatar-6Q2xwviO.js.map +1 -1
  6. package/dist/{badge-D9OVAKG8.js → badge-tKh0f84O.js} +2 -3
  7. package/dist/{badge-D9OVAKG8.js.map → badge-tKh0f84O.js.map} +1 -1
  8. package/dist/{button-fhd-JARc.js → button-BzU7DrNe.js} +2 -3
  9. package/dist/{button-fhd-JARc.js.map → button-BzU7DrNe.js.map} +1 -1
  10. package/dist/{card-action-D8M3_IVq.js → card-action-DiyQo6bH.js} +3 -4
  11. package/dist/{card-action-D8M3_IVq.js.map → card-action-DiyQo6bH.js.map} +1 -1
  12. package/dist/card-actions-CIsnmxsm.js.map +1 -1
  13. package/dist/{card-content-DkEHp8mv.js → card-content-BUc3uxiV.js} +2 -3
  14. package/dist/{card-content-DkEHp8mv.js.map → card-content-BUc3uxiV.js.map} +1 -1
  15. package/dist/card-date-Bd87BGDE.js.map +1 -1
  16. package/dist/card-header-D-RMd4xS.js.map +1 -1
  17. package/dist/card-media-DhU2_Ueq.js.map +1 -1
  18. package/dist/{card-QAnFhTk6.js → card-xvRovR7u.js} +2 -3
  19. package/dist/{card-QAnFhTk6.js.map → card-xvRovR7u.js.map} +1 -1
  20. package/dist/{checkbox-ZR1Z2PCF.js → checkbox-D04YsX0C.js} +4 -4
  21. package/dist/{checkbox-ZR1Z2PCF.js.map → checkbox-D04YsX0C.js.map} +1 -1
  22. package/dist/checkbox-subsection-BPe5aj-W.js.map +1 -1
  23. package/dist/{chip-b9xUiF7_.js → chip-BXBQ6E1H.js} +2 -3
  24. package/dist/{chip-b9xUiF7_.js.map → chip-BXBQ6E1H.js.map} +1 -1
  25. package/dist/components/alert/alert-footer.d.ts +9 -9
  26. package/dist/components/alert/alert-footer.js +1 -1
  27. package/dist/components/alert/alert.d.ts +9 -9
  28. package/dist/components/alert/index.d.ts +9 -9
  29. package/dist/components/alert/index.js +1 -1
  30. package/dist/components/avatar/avatar.d.ts +9 -9
  31. package/dist/components/avatar/index.d.ts +9 -9
  32. package/dist/components/badge/badge.d.ts +9 -9
  33. package/dist/components/badge/badge.js +1 -1
  34. package/dist/components/badge/index.d.ts +9 -9
  35. package/dist/components/badge/index.js +1 -1
  36. package/dist/components/button/button.d.ts +9 -9
  37. package/dist/components/button/button.js +1 -1
  38. package/dist/components/button/index.d.ts +9 -9
  39. package/dist/components/button/index.js +1 -1
  40. package/dist/components/card/card-action.d.ts +9 -9
  41. package/dist/components/card/card-action.js +2 -2
  42. package/dist/components/card/card-actions.d.ts +9 -9
  43. package/dist/components/card/card-content.d.ts +9 -9
  44. package/dist/components/card/card-content.js +1 -1
  45. package/dist/components/card/card-date.d.ts +9 -9
  46. package/dist/components/card/card-header.d.ts +9 -9
  47. package/dist/components/card/card-media.d.ts +9 -9
  48. package/dist/components/card/card.d.ts +9 -9
  49. package/dist/components/card/card.js +1 -1
  50. package/dist/components/card/index.d.ts +9 -9
  51. package/dist/components/card/index.js +4 -4
  52. package/dist/components/checkbox/checkbox-subsection.d.ts +9 -9
  53. package/dist/components/checkbox/checkbox.d.ts +9 -9
  54. package/dist/components/checkbox/checkbox.js +5 -5
  55. package/dist/components/checkbox/index.d.ts +9 -9
  56. package/dist/components/checkbox/index.js +5 -5
  57. package/dist/components/chip/chip.d.ts +9 -9
  58. package/dist/components/chip/chip.js +1 -1
  59. package/dist/components/chip/index.d.ts +9 -9
  60. package/dist/components/chip/index.js +1 -1
  61. package/dist/components/dialog/dialog-close-button.d.ts +9 -9
  62. package/dist/components/dialog/dialog-close-button.js +2 -2
  63. package/dist/components/dialog/dialog-content.d.ts +9 -9
  64. package/dist/components/dialog/dialog-content.js +1 -1
  65. package/dist/components/dialog/dialog-footer.d.ts +9 -9
  66. package/dist/components/dialog/dialog-footer.js +1 -1
  67. package/dist/components/dialog/dialog-header.d.ts +9 -9
  68. package/dist/components/dialog/dialog-header.js +1 -1
  69. package/dist/components/dialog/dialog-trigger-context.d.ts +1 -1
  70. package/dist/components/dialog/dialog-trigger.d.ts +9 -9
  71. package/dist/components/dialog/dialog-trigger.js +2 -2
  72. package/dist/components/dialog/dialog.d.ts +9 -9
  73. package/dist/components/dialog/dialog.js +1 -1
  74. package/dist/components/dialog/index.d.ts +9 -9
  75. package/dist/components/dialog/index.js +7 -7
  76. package/dist/components/drawer/drawer-close-button.d.ts +9 -9
  77. package/dist/components/drawer/drawer-close-button.js +8 -8
  78. package/dist/components/drawer/drawer-content.d.ts +9 -9
  79. package/dist/components/drawer/drawer-content.js +8 -8
  80. package/dist/components/drawer/drawer-footer.d.ts +9 -9
  81. package/dist/components/drawer/drawer-footer.js +8 -8
  82. package/dist/components/drawer/drawer-header.d.ts +9 -9
  83. package/dist/components/drawer/drawer-header.js +8 -8
  84. package/dist/components/drawer/drawer-trigger-context.js +7 -7
  85. package/dist/components/drawer/drawer-trigger.d.ts +9 -9
  86. package/dist/components/drawer/drawer-trigger.js +8 -8
  87. package/dist/components/drawer/drawer.d.ts +9 -9
  88. package/dist/components/drawer/drawer.js +8 -8
  89. package/dist/components/drawer/index.d.ts +9 -9
  90. package/dist/components/drawer/index.js +13 -13
  91. package/dist/components/dropdown/dropdown-button.d.ts +9 -9
  92. package/dist/components/dropdown/dropdown-button.js +2 -2
  93. package/dist/components/dropdown/dropdown-item.d.ts +1 -1
  94. package/dist/components/dropdown/dropdown-list.d.ts +1 -1
  95. package/dist/components/dropdown/dropdown-trigger-context.d.ts +9 -9
  96. package/dist/components/dropdown/dropdown-trigger-context.js +3 -3
  97. package/dist/components/dropdown/dropdown-trigger.d.ts +9 -9
  98. package/dist/components/dropdown/dropdown-trigger.js +4 -4
  99. package/dist/components/dropdown/dropdown.d.ts +9 -9
  100. package/dist/components/dropdown/dropdown.js +4 -4
  101. package/dist/components/dropdown/index.d.ts +9 -9
  102. package/dist/components/dropdown/index.js +6 -6
  103. package/dist/components/field/field-affix.d.ts +9 -9
  104. package/dist/components/field/field-affix.js +1 -1
  105. package/dist/components/field/field-description.d.ts +9 -9
  106. package/dist/components/field/field-description.js +1 -1
  107. package/dist/components/field/field.d.ts +9 -9
  108. package/dist/components/field/field.js +1 -1
  109. package/dist/components/field/index.d.ts +9 -9
  110. package/dist/components/field/index.js +3 -3
  111. package/dist/components/fieldset/fieldset-description.d.ts +9 -9
  112. package/dist/components/fieldset/fieldset-description.js +1 -1
  113. package/dist/components/fieldset/fieldset-legend.d.ts +9 -9
  114. package/dist/components/fieldset/fieldset-legend.js +2 -2
  115. package/dist/components/fieldset/fieldset.d.ts +9 -9
  116. package/dist/components/fieldset/index.d.ts +9 -9
  117. package/dist/components/fieldset/index.js +3 -3
  118. package/dist/components/filter-group/filter-group.d.ts +9 -9
  119. package/dist/components/filter-group/index.d.ts +9 -9
  120. package/dist/components/footer/footer-links.d.ts +1 -1
  121. package/dist/components/footer/footer.d.ts +9 -9
  122. package/dist/components/footer/footer.js +2 -2
  123. package/dist/components/footer/index.d.ts +9 -9
  124. package/dist/components/footer/index.js +2 -2
  125. package/dist/components/index.d.ts +9 -9
  126. package/dist/components/index.js +45 -45
  127. package/dist/components/input/index.d.ts +9 -9
  128. package/dist/components/input/input.d.ts +9 -9
  129. package/dist/components/label/index.d.ts +9 -9
  130. package/dist/components/label/index.js +1 -1
  131. package/dist/components/label/label.d.ts +9 -9
  132. package/dist/components/label/label.js +1 -1
  133. package/dist/components/link/index.d.ts +9 -9
  134. package/dist/components/link/index.js +1 -1
  135. package/dist/components/link/link.d.ts +9 -9
  136. package/dist/components/link/link.js +1 -1
  137. package/dist/components/logo/index.d.ts +9 -9
  138. package/dist/components/logo/logo.d.ts +9 -9
  139. package/dist/components/navbar/index.d.ts +9 -9
  140. package/dist/components/navbar/navbar.d.ts +9 -9
  141. package/dist/components/navbar/sub-navbar.d.ts +9 -9
  142. package/dist/components/pagination/index.d.ts +9 -9
  143. package/dist/components/pagination/index.js +3 -3
  144. package/dist/components/pagination/pagination-button.d.ts +9 -9
  145. package/dist/components/pagination/pagination-button.js +2 -2
  146. package/dist/components/pagination/pagination-item.d.ts +1 -1
  147. package/dist/components/pagination/pagination-item.js +1 -1
  148. package/dist/components/pagination/pagination.d.ts +9 -9
  149. package/dist/components/popover/index.d.ts +9 -9
  150. package/dist/components/popover/index.js +3 -3
  151. package/dist/components/popover/popover-trigger-context.d.ts +1 -1
  152. package/dist/components/popover/popover-trigger.d.ts +9 -9
  153. package/dist/components/popover/popover-trigger.js +2 -2
  154. package/dist/components/popover/popover.d.ts +9 -9
  155. package/dist/components/popover/popover.js +1 -1
  156. package/dist/components/radio/index.d.ts +9 -9
  157. package/dist/components/radio/index.js +5 -5
  158. package/dist/components/radio/radio.d.ts +9 -9
  159. package/dist/components/radio/radio.js +5 -5
  160. package/dist/components/search/index.d.ts +9 -9
  161. package/dist/components/search/index.js +5 -5
  162. package/dist/components/search/search.d.ts +9 -9
  163. package/dist/components/search/search.js +5 -5
  164. package/dist/components/select/index.d.ts +9 -9
  165. package/dist/components/select/index.js +2 -2
  166. package/dist/components/select/select-optgroup.d.ts +9 -9
  167. package/dist/components/select/select-optgroup.js +1 -1
  168. package/dist/components/select/select-option.d.ts +9 -9
  169. package/dist/components/select/select-option.js +1 -1
  170. package/dist/components/select/select.d.ts +9 -9
  171. package/dist/components/selectfield/index.d.ts +9 -9
  172. package/dist/components/selectfield/index.js +8 -8
  173. package/dist/components/selectfield/selectfield.d.ts +9 -9
  174. package/dist/components/selectfield/selectfield.js +8 -8
  175. package/dist/components/skip-link/index.d.ts +9 -9
  176. package/dist/components/skip-link/index.js +1 -1
  177. package/dist/components/skip-link/skip-link.d.ts +9 -9
  178. package/dist/components/skip-link/skip-link.js +1 -1
  179. package/dist/components/spinner/index.d.ts +9 -9
  180. package/dist/components/spinner/spinner.d.ts +9 -9
  181. package/dist/components/sticky-header/index.d.ts +2 -2
  182. package/dist/components/sticky-header/index.js +1 -1
  183. package/dist/components/sticky-header/sticky-header.d.ts +1 -1
  184. package/dist/components/sticky-header/sticky-header.js +1 -1
  185. package/dist/components/tabs/index.d.ts +9 -9
  186. package/dist/components/tabs/index.js +2 -2
  187. package/dist/components/tabs/tab.d.ts +9 -9
  188. package/dist/components/tabs/tab.js +2 -2
  189. package/dist/components/tabs/tabs-list.d.ts +9 -9
  190. package/dist/components/tabs/tabs-panel.d.ts +9 -9
  191. package/dist/components/tabs/tabs.d.ts +9 -9
  192. package/dist/components/textarea/index.d.ts +9 -9
  193. package/dist/components/textarea/textarea.d.ts +9 -9
  194. package/dist/components/textfield/index.d.ts +9 -9
  195. package/dist/components/textfield/index.js +6 -6
  196. package/dist/components/textfield/textfield.d.ts +9 -9
  197. package/dist/components/textfield/textfield.js +6 -6
  198. package/dist/components/validation-message/index.d.ts +9 -9
  199. package/dist/components/validation-message/index.js +1 -1
  200. package/dist/components/validation-message/validation-message.d.ts +9 -9
  201. package/dist/components/validation-message/validation-message.js +1 -1
  202. package/dist/{dialog-DzGRZgbP.js → dialog-DLouxw4y.js} +2 -3
  203. package/dist/{dialog-DzGRZgbP.js.map → dialog-DLouxw4y.js.map} +1 -1
  204. package/dist/{dialog-close-button-C1omdnIn.js → dialog-close-button-DNOVMUt7.js} +2 -2
  205. package/dist/{dialog-close-button-C1omdnIn.js.map → dialog-close-button-DNOVMUt7.js.map} +1 -1
  206. package/dist/{dialog-content-R35XpbSj.js → dialog-content-ByDqO6K-.js} +2 -3
  207. package/dist/{dialog-content-R35XpbSj.js.map → dialog-content-ByDqO6K-.js.map} +1 -1
  208. package/dist/{dialog-footer-AoiCz_Uj.js → dialog-footer-xGzY5JMf.js} +2 -3
  209. package/dist/{dialog-footer-AoiCz_Uj.js.map → dialog-footer-xGzY5JMf.js.map} +1 -1
  210. package/dist/{dialog-header-Bbq9DcHX.js → dialog-header-D3I5Q8fm.js} +2 -3
  211. package/dist/{dialog-header-Bbq9DcHX.js.map → dialog-header-D3I5Q8fm.js.map} +1 -1
  212. package/dist/{dialog-trigger-DinHpkua.js → dialog-trigger-BgCUVVqE.js} +2 -2
  213. package/dist/{dialog-trigger-DinHpkua.js.map → dialog-trigger-BgCUVVqE.js.map} +1 -1
  214. package/dist/dialog-trigger-context-51mA5fz3.js.map +1 -1
  215. package/dist/{dialog-trigger-context-BxroyS54.d.ts → dialog-trigger-context-ClG9UVsz.d.ts} +3 -3
  216. package/dist/{drawer-CZ05Lizo.js → drawer-D71b1GFM.js} +2 -2
  217. package/dist/{drawer-CZ05Lizo.js.map → drawer-D71b1GFM.js.map} +1 -1
  218. package/dist/{drawer-close-button-DC39bNW2.js → drawer-close-button-DUl-Rv_Q.js} +2 -2
  219. package/dist/{drawer-close-button-DC39bNW2.js.map → drawer-close-button-DUl-Rv_Q.js.map} +1 -1
  220. package/dist/{drawer-content-CFc-rxBo.js → drawer-content-ClBmFSOu.js} +2 -2
  221. package/dist/{drawer-content-CFc-rxBo.js.map → drawer-content-ClBmFSOu.js.map} +1 -1
  222. package/dist/{drawer-footer-CfHjfvEg.js → drawer-footer--sVRArFE.js} +2 -2
  223. package/dist/{drawer-footer-CfHjfvEg.js.map → drawer-footer--sVRArFE.js.map} +1 -1
  224. package/dist/{drawer-header-DK4XoaaW.js → drawer-header-CltvXMkH.js} +2 -2
  225. package/dist/{drawer-header-DK4XoaaW.js.map → drawer-header-CltvXMkH.js.map} +1 -1
  226. package/dist/{drawer-trigger-Do9Htx5M.js → drawer-trigger-DFM774gy.js} +2 -2
  227. package/dist/{drawer-trigger-Do9Htx5M.js.map → drawer-trigger-DFM774gy.js.map} +1 -1
  228. package/dist/drawer-trigger-context-BUWPPdas.js.map +1 -1
  229. package/dist/{dropdown-b7acNLZb.js → dropdown-D6CTkQ5a.js} +2 -2
  230. package/dist/{dropdown-b7acNLZb.js.map → dropdown-D6CTkQ5a.js.map} +1 -1
  231. package/dist/dropdown-Fzf2CeX4.js.map +1 -1
  232. package/dist/{dropdown-button-FQqIwqdp.js → dropdown-button-CywUProG.js} +2 -2
  233. package/dist/{dropdown-button-FQqIwqdp.js.map → dropdown-button-CywUProG.js.map} +1 -1
  234. package/dist/{dropdown-item-CGg_2cV1.d.ts → dropdown-item-C2nSQM-4.d.ts} +3 -3
  235. package/dist/dropdown-item-DQQXQC4J.js.map +1 -1
  236. package/dist/{dropdown-list-D8szW6_q.d.ts → dropdown-list-BGpCDv5U.d.ts} +3 -3
  237. package/dist/dropdown-list-DB1mST67.js.map +1 -1
  238. package/dist/{dropdown-trigger-Fwrigwtg.js → dropdown-trigger-C_CyL38J.js} +2 -2
  239. package/dist/{dropdown-trigger-Fwrigwtg.js.map → dropdown-trigger-C_CyL38J.js.map} +1 -1
  240. package/dist/dropdown-trigger-context-BCcyoZEx.js.map +1 -1
  241. package/dist/{field-DFMMLG-d.js → field-Dul9LBgF.js} +2 -3
  242. package/dist/{field-DFMMLG-d.js.map → field-Dul9LBgF.js.map} +1 -1
  243. package/dist/{field-affix-npc6m7XL.js → field-affix-C5w3NK4H.js} +3 -5
  244. package/dist/{field-affix-npc6m7XL.js.map → field-affix-C5w3NK4H.js.map} +1 -1
  245. package/dist/{field-description-Dhm1VA08.js → field-description-Yya33j8H.js} +2 -3
  246. package/dist/{field-description-Dhm1VA08.js.map → field-description-Yya33j8H.js.map} +1 -1
  247. package/dist/fieldset-Bpu4CRKG.js.map +1 -1
  248. package/dist/{fieldset-description-DiHvcLh-.js → fieldset-description-Dbu9_oUQ.js} +2 -3
  249. package/dist/{fieldset-description-DiHvcLh-.js.map → fieldset-description-Dbu9_oUQ.js.map} +1 -1
  250. package/dist/{fieldset-legend-CR4srn2-.js → fieldset-legend-BBKsX2hf.js} +2 -2
  251. package/dist/{fieldset-legend-CR4srn2-.js.map → fieldset-legend-BBKsX2hf.js.map} +1 -1
  252. package/dist/filter-group-Fzw9g6JB.js.map +1 -1
  253. package/dist/{footer-B9sjkncE.js → footer-C7EDtlw0.js} +2 -2
  254. package/dist/{footer-B9sjkncE.js.map → footer-C7EDtlw0.js.map} +1 -1
  255. package/dist/{footer-links-DlrXiXOi.d.ts → footer-links-4wK1EANv.d.ts} +3 -3
  256. package/dist/footer-links-BIUrxu38.js.map +1 -1
  257. package/dist/index-Cp46Zvz-.d.ts +1 -0
  258. package/dist/input-Dr7BnTyd.js.map +1 -1
  259. package/dist/{label-DUzvAx-T.js → label-DG_ojO9g.js} +2 -3
  260. package/dist/{label-DUzvAx-T.js.map → label-DG_ojO9g.js.map} +1 -1
  261. package/dist/{link-BqDeZAJF.js → link-Dmgzb_KP.js} +2 -3
  262. package/dist/{link-BqDeZAJF.js.map → link-Dmgzb_KP.js.map} +1 -1
  263. package/dist/logo-QKrYvRFP.js.map +1 -1
  264. package/dist/main.d.ts +9 -9
  265. package/dist/main.js +45 -45
  266. package/dist/navbar-Dxv7GQO0.js.map +1 -1
  267. package/dist/pagination-DH6vZYMO.js.map +1 -1
  268. package/dist/{pagination-button-CMSNwkeT.js → pagination-button-Dw341heB.js} +2 -2
  269. package/dist/{pagination-button-CMSNwkeT.js.map → pagination-button-Dw341heB.js.map} +1 -1
  270. package/dist/{pagination-item-wgtqjgnC.d.ts → pagination-item-B-EdUfyv.d.ts} +3 -3
  271. package/dist/{pagination-item-DzskmZxf.js → pagination-item-wXC7T4rH.js} +2 -3
  272. package/dist/{pagination-item-DzskmZxf.js.map → pagination-item-wXC7T4rH.js.map} +1 -1
  273. package/dist/popover-DOMLkRA5.js.map +1 -1
  274. package/dist/{popover-DmA4qMtu.js → popover-pki5aMm2.js} +2 -4
  275. package/dist/{popover-DmA4qMtu.js.map → popover-pki5aMm2.js.map} +1 -1
  276. package/dist/{popover-trigger-Chi8uvRM.js → popover-trigger-BoB6rkG4.js} +2 -2
  277. package/dist/{popover-trigger-Chi8uvRM.js.map → popover-trigger-BoB6rkG4.js.map} +1 -1
  278. package/dist/popover-trigger-context-Cre9Mczn.js.map +1 -1
  279. package/dist/{popover-trigger-context-8iojEYe0.d.ts → popover-trigger-context-DQxqvfS9.d.ts} +3 -3
  280. package/dist/{radio-DAC5mhl3.js → radio-CDZoe1OO.js} +4 -4
  281. package/dist/{radio-DAC5mhl3.js.map → radio-CDZoe1OO.js.map} +1 -1
  282. package/dist/{search-DzjgrvFl.js → search-CmU2iA48.js} +4 -4
  283. package/dist/{search-DzjgrvFl.js.map → search-CmU2iA48.js.map} +1 -1
  284. package/dist/select-R87VdG5U.js.map +1 -1
  285. package/dist/{select-optgroup-jowSQvbc.js → select-optgroup-DTnIUQEq.js} +2 -3
  286. package/dist/{select-optgroup-jowSQvbc.js.map → select-optgroup-DTnIUQEq.js.map} +1 -1
  287. package/dist/{select-option-WAhhr82L.js → select-option-BFmgqY3h.js} +2 -3
  288. package/dist/{select-option-WAhhr82L.js.map → select-option-BFmgqY3h.js.map} +1 -1
  289. package/dist/{selectfield-BD-t6Mmm.js → selectfield-CZ37jU-y.js} +5 -5
  290. package/dist/{selectfield-BD-t6Mmm.js.map → selectfield-CZ37jU-y.js.map} +1 -1
  291. package/dist/{skip-link-CbdX4Taw.js → skip-link-iWhLptx_.js} +2 -3
  292. package/dist/{skip-link-CbdX4Taw.js.map → skip-link-iWhLptx_.js.map} +1 -1
  293. package/dist/spinner-Ch5bEQBR.js.map +1 -1
  294. package/dist/{sticky-header-BMeHtK7e.d.ts → sticky-header-CO6D5l-R.d.ts} +3 -3
  295. package/dist/{sticky-header-gE5HX2ug.js → sticky-header-DOQD4Wye.js} +2 -3
  296. package/dist/{sticky-header-gE5HX2ug.js.map → sticky-header-DOQD4Wye.js.map} +1 -1
  297. package/dist/{sub-navbar-BdJ9EKsU.js → sub-navbar-DTTytyEQ.js} +7 -9
  298. package/dist/{sub-navbar-BdJ9EKsU.js.map → sub-navbar-DTTytyEQ.js.map} +1 -1
  299. package/dist/sub-navbar-DkxQv0WJ.js.map +1 -1
  300. package/dist/{tab-BvSndQZ_.js → tab-BEnC2rri.js} +2 -2
  301. package/dist/{tab-BvSndQZ_.js.map → tab-BEnC2rri.js.map} +1 -1
  302. package/dist/tabs-C70z_5SJ.js.map +1 -1
  303. package/dist/tabs-list-npvK06bl.js.map +1 -1
  304. package/dist/tabs-panel-L8HovooI.js.map +1 -1
  305. package/dist/textarea-B1fAOfkt.js.map +1 -1
  306. package/dist/{textfield-DwLkaC2S.js → textfield-BH0g7AtT.js} +6 -6
  307. package/dist/{textfield-DwLkaC2S.js.map → textfield-BH0g7AtT.js.map} +1 -1
  308. package/dist/useCheckboxGroup-BDH3ewt8.js.map +1 -1
  309. package/dist/useIsElementAboveViewport-lmdnXDdc.js.map +1 -1
  310. package/dist/useMediaQuery-ICPWsO_p.js.map +1 -1
  311. package/dist/useMergeRefs-DC710CHX.js.map +1 -1
  312. package/dist/usePagination-DQR72JNE.js.map +1 -1
  313. package/dist/useScrollDirection-C2EmQi0U.js.map +1 -1
  314. package/dist/utilities/hooks/index.d.ts +9 -9
  315. package/dist/utilities/hooks/usePagination/usePagination.d.ts +9 -9
  316. package/dist/utilities/index.d.ts +9 -9
  317. package/dist/{validation-message-CPGA4DxM.js → validation-message-J5bvdg8v.js} +2 -3
  318. package/dist/{validation-message-CPGA4DxM.js.map → validation-message-J5bvdg8v.js.map} +1 -1
  319. package/dist/vanilla/index.js +1 -1
  320. package/dist/vanilla/sub-navbar/index.js +1 -1
  321. package/dist/vite-env.d.ts +1 -2
  322. package/package.json +18 -10
  323. package/dist/index-Cv0onxlx.d.ts +0 -1
@@ -5,8 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/button/button.tsx
7
7
  const Button = ({ asChild, variant = "filled", size = "medium", stretch, dark, submitting, icon, children, className, startIcon, endIcon, active, ref,...props }) => {
8
- const Component = asChild ? Slot : "button";
9
- return /* @__PURE__ */ jsxs(Component, {
8
+ return /* @__PURE__ */ jsxs(asChild ? Slot : "button", {
10
9
  "aria-busy": Boolean(submitting) || void 0,
11
10
  "aria-disabled": Boolean(submitting) || void 0,
12
11
  className: clsx("bi-button", className),
@@ -38,4 +37,4 @@ const Button = ({ asChild, variant = "filled", size = "medium", stretch, dark, s
38
37
 
39
38
  //#endregion
40
39
  export { Button };
41
- //# sourceMappingURL=button-fhd-JARc.js.map
40
+ //# sourceMappingURL=button-BzU7DrNe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-fhd-JARc.js","names":[],"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ButtonProps = MergeRight<\n DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;;AA0DA,MAAa,UAAU,EACrB,SACA,UAAU,UACV,OAAO,UACP,SACA,MACA,YACA,MACA,UACA,WACA,WACA,SACA,QACA,IACA,GAAG,YACc;CACjB,MAAM,YAAY,UAAU,OAAO;AAEnC,QACE,qBAAC;EACC,aAAW,QAAQ,eAAe;EAClC,iBAAe,QAAQ,eAAe;EACtC,WAAW,KAAK,aAAa;EAC7B,gBAAc;EACd,aAAW;EACX,gBAAc,WAAW;EACzB,aAAW,QAAQ;EACnB,aAAW,QAAQ;EACnB,eAAa,UAAU;EAClB;EAEL,MAAM,UAAU,SAAY;EAE5B,GAAI;;GAEH,CAAC,SACC,aACC,oBAAC;IAAQ,eAAY;IAAO,WAAU;QAEtC,aAAa,oBAAC;IAAK,WAAU;cAAyB;;GAE1D,oBAAC,uBAAW,QAAQ,aAAa,oBAAC,WAAQ,eAAY,YAAY;GACjE,CAAC,QAAQ,WAAW,oBAAC;IAAK,WAAU;cAAuB"}
1
+ {"version":3,"file":"button-BzU7DrNe.js","names":[],"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ButtonProps = MergeRight<\n DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;;AA0DA,MAAa,UAAU,EACrB,SACA,UAAU,UACV,OAAO,UACP,SACA,MACA,YACA,MACA,UACA,WACA,WACA,SACA,QACA,IACA,GAAG,YACc;AAGjB,QACE,qBAHgB,UAAU,OAAO;EAI/B,aAAW,QAAQ,WAAW,IAAI;EAClC,iBAAe,QAAQ,WAAW,IAAI;EACtC,WAAW,KAAK,aAAa,UAAU;EACvC,gBAAc;EACd,aAAW;EACX,gBAAc,WAAW;EACzB,aAAW,QAAQ;EACnB,aAAW,QAAQ;EACnB,eAAa,UAAU;EAClB;EAEL,MAAM,UAAU,SAAY;EAE5B,GAAI;;GAEH,CAAC,SACC,aACC,oBAAC;IAAQ,eAAY;IAAO,WAAU;KAA0B,GAEhE,aAAa,oBAAC;IAAK,WAAU;cAAyB;KAAiB;GAE3E,oBAAC,uBAAW,QAAQ,aAAa,oBAAC,WAAQ,eAAY,SAAS,GAAG,WAAqB;GACtF,CAAC,QAAQ,WAAW,oBAAC;IAAK,WAAU;cAAuB;KAAe;;GACjE"}
@@ -1,12 +1,11 @@
1
- import { Button } from "./button-fhd-JARc.js";
1
+ import { Button } from "./button-BzU7DrNe.js";
2
2
  import clsx from "clsx/lite";
3
3
  import { Slot } from "@radix-ui/react-slot";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/card/card-action.tsx
7
7
  const CardAction = ({ asChild, ref, children, dark, className,...props }) => {
8
- const Component = asChild ? Slot : Button;
9
- return /* @__PURE__ */ jsx(Component, {
8
+ return /* @__PURE__ */ jsx(asChild ? Slot : Button, {
10
9
  variant: "text",
11
10
  size: "large",
12
11
  icon: true,
@@ -20,4 +19,4 @@ const CardAction = ({ asChild, ref, children, dark, className,...props }) => {
20
19
 
21
20
  //#endregion
22
21
  export { CardAction };
23
- //# sourceMappingURL=card-action-D8M3_IVq.js.map
22
+ //# sourceMappingURL=card-action-DiyQo6bH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card-action-D8M3_IVq.js","names":[],"sources":["../src/components/card/card-action.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Button, type ButtonProps } from '../button';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type CardActionProps = ButtonProps;\n\nexport const CardAction = ({ asChild, ref, children, dark, className, ...props }: CardActionProps) => {\n const Component = asChild ? Slot : Button;\n return (\n <Component\n variant='text'\n size='large'\n icon\n dark={dark}\n className={clsx('bi-card--action', className)}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;;AAMA,MAAa,cAAc,EAAE,SAAS,KAAK,UAAU,MAAM,UAAW,GAAG,YAA6B;CACpG,MAAM,YAAY,UAAU,OAAO;AACnC,QACE,oBAAC;EACC,SAAQ;EACR,MAAK;EACL;EACM;EACN,WAAW,KAAK,mBAAmB;EAC9B;EACL,GAAI;EAEH"}
1
+ {"version":3,"file":"card-action-DiyQo6bH.js","names":[],"sources":["../src/components/card/card-action.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Button, type ButtonProps } from '../button';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type CardActionProps = ButtonProps;\n\nexport const CardAction = ({ asChild, ref, children, dark, className, ...props }: CardActionProps) => {\n const Component = asChild ? Slot : Button;\n return (\n <Component\n variant='text'\n size='large'\n icon\n dark={dark}\n className={clsx('bi-card--action', className)}\n ref={ref}\n {...props}\n >\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;;AAMA,MAAa,cAAc,EAAE,SAAS,KAAK,UAAU,MAAM,UAAW,GAAG,YAA6B;AAEpG,QACE,oBAFgB,UAAU,OAAO;EAG/B,SAAQ;EACR,MAAK;EACL;EACM;EACN,WAAW,KAAK,mBAAmB,UAAU;EACxC;EACL,GAAI;EAEH;GACS"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-actions-CIsnmxsm.js","names":[],"sources":["../src/components/card/card-actions.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardActionsProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardActions = ({ className, ref, children, ...props }: CardActionsProps) => {\n return (\n <div className={clsx('bi-card--actions', className)} ref={ref} {...props}>\n {children}\n </div>\n );\n};\n"],"mappings":";;;;AAWA,MAAa,eAAe,EAAE,WAAW,KAAK,SAAU,GAAG,YAA8B;AACvF,QACE,oBAAC;EAAI,WAAW,KAAK,oBAAoB;EAAiB;EAAK,GAAI;EAChE"}
1
+ {"version":3,"file":"card-actions-CIsnmxsm.js","names":[],"sources":["../src/components/card/card-actions.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardActionsProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardActions = ({ className, ref, children, ...props }: CardActionsProps) => {\n return (\n <div className={clsx('bi-card--actions', className)} ref={ref} {...props}>\n {children}\n </div>\n );\n};\n"],"mappings":";;;;AAWA,MAAa,eAAe,EAAE,WAAW,KAAK,SAAU,GAAG,YAA8B;AACvF,QACE,oBAAC;EAAI,WAAW,KAAK,oBAAoB,UAAU;EAAO;EAAK,GAAI;EAChE;GACG"}
@@ -4,8 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/card/card-content.tsx
6
6
  const CardContent = ({ className, ref, children, asChild,...props }) => {
7
- const Component = asChild ? Slot : "div";
8
- return /* @__PURE__ */ jsx(Component, {
7
+ return /* @__PURE__ */ jsx(asChild ? Slot : "div", {
9
8
  className: clsx("bi-card--content", className),
10
9
  ref,
11
10
  ...props,
@@ -15,4 +14,4 @@ const CardContent = ({ className, ref, children, asChild,...props }) => {
15
14
 
16
15
  //#endregion
17
16
  export { CardContent };
18
- //# sourceMappingURL=card-content-DkEHp8mv.js.map
17
+ //# sourceMappingURL=card-content-BUc3uxiV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card-content-DkEHp8mv.js","names":[],"sources":["../src/components/card/card-content.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type CardContentProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n disabled?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardContent = ({ className, ref, children, asChild, ...props }: CardContentProps) => {\n const Component = asChild ? Slot : 'div';\n return (\n <Component className={clsx('bi-card--content', className)} ref={ref} {...props}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AAkBA,MAAa,eAAe,EAAE,WAAW,KAAK,UAAU,QAAS,GAAG,YAA8B;CAChG,MAAM,YAAY,UAAU,OAAO;AACnC,QACE,oBAAC;EAAU,WAAW,KAAK,oBAAoB;EAAiB;EAAK,GAAI;EACtE"}
1
+ {"version":3,"file":"card-content-BUc3uxiV.js","names":[],"sources":["../src/components/card/card-content.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type CardContentProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n disabled?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardContent = ({ className, ref, children, asChild, ...props }: CardContentProps) => {\n const Component = asChild ? Slot : 'div';\n return (\n <Component className={clsx('bi-card--content', className)} ref={ref} {...props}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AAkBA,MAAa,eAAe,EAAE,WAAW,KAAK,UAAU,QAAS,GAAG,YAA8B;AAEhG,QACE,oBAFgB,UAAU,OAAO;EAEtB,WAAW,KAAK,oBAAoB,UAAU;EAAO;EAAK,GAAI;EACtE;GACS"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-date-Bd87BGDE.js","names":[],"sources":["../src/components/card/card-date.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardDateProps = MergeRight<\n Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>,\n {\n /**\n * The day of the month.\n */\n day: number;\n /**\n * The month, should be a short string like \"Jan\", \"Feb\", etc.\n */\n month: string;\n ref?: Ref<HTMLParagraphElement>;\n }\n>;\n\nexport const CardDate = ({ className, ref, day, month, ...props }: CardDateProps) => {\n return (\n <p className={clsx('bi-card--date', className)} ref={ref} {...props}>\n {day}\n <span>{month}</span>\n </p>\n );\n};\n"],"mappings":";;;;AAmBA,MAAa,YAAY,EAAE,WAAW,KAAK,KAAK,MAAO,GAAG,YAA2B;AACnF,QACE,qBAAC;EAAE,WAAW,KAAK,iBAAiB;EAAiB;EAAK,GAAI;aAC3D,KACD,oBAAC,oBAAM"}
1
+ {"version":3,"file":"card-date-Bd87BGDE.js","names":[],"sources":["../src/components/card/card-date.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardDateProps = MergeRight<\n Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>,\n {\n /**\n * The day of the month.\n */\n day: number;\n /**\n * The month, should be a short string like \"Jan\", \"Feb\", etc.\n */\n month: string;\n ref?: Ref<HTMLParagraphElement>;\n }\n>;\n\nexport const CardDate = ({ className, ref, day, month, ...props }: CardDateProps) => {\n return (\n <p className={clsx('bi-card--date', className)} ref={ref} {...props}>\n {day}\n <span>{month}</span>\n </p>\n );\n};\n"],"mappings":";;;;AAmBA,MAAa,YAAY,EAAE,WAAW,KAAK,KAAK,MAAO,GAAG,YAA2B;AACnF,QACE,qBAAC;EAAE,WAAW,KAAK,iBAAiB,UAAU;EAAO;EAAK,GAAI;aAC3D,KACD,oBAAC,oBAAM,QAAa;GAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-header-D-RMd4xS.js","names":[],"sources":["../src/components/card/card-header.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx';\n\nexport type CardHeaderProps = MergeRight<\n Omit<HTMLAttributes<HTMLDivElement>, 'children'>,\n {\n /**\n * The header of the card\n */\n header?: ReactNode;\n /**\n * The label of the card, displayed above the header\n */\n label?: ReactNode;\n /**\n * The sublabel of the card, displayed next to the label\n */\n subLabel?: ReactNode;\n /**\n * The description of the card, displayed below the header\n */\n description?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardHeader = ({ className, ref, header, label, subLabel, description, ...props }: CardHeaderProps) => {\n return (\n <div className={clsx('bi-card--header', className)} ref={ref} {...props}>\n {(label || subLabel) && (\n <p className='bi-card--header-label'>\n {label && <span className='bi-card--header-bold'>{label}</span>}\n {label && subLabel && <span aria-hidden='true' className='bi-card--header-dot'></span>}\n {subLabel && <span>{subLabel}</span>}\n </p>\n )}\n {header && <h3 className='bi-card--header-title'>{header}</h3>}\n {description && <p className='bi-card--header-label'>{description}</p>}\n </div>\n );\n};\n"],"mappings":";;;;AA2BA,MAAa,cAAc,EAAE,WAAW,KAAK,QAAQ,OAAO,UAAU,YAAa,GAAG,YAA6B;AACjH,QACE,qBAAC;EAAI,WAAW,KAAK,mBAAmB;EAAiB;EAAK,GAAI;;IAC9D,SAAS,aACT,qBAAC;IAAE,WAAU;;KACV,SAAS,oBAAC;MAAK,WAAU;gBAAwB;;KACjD,SAAS,YAAY,oBAAC;MAAK,eAAY;MAAO,WAAU;;KACxD,YAAY,oBAAC,oBAAM;;;GAGvB,UAAU,oBAAC;IAAG,WAAU;cAAyB;;GACjD,eAAe,oBAAC;IAAE,WAAU;cAAyB"}
1
+ {"version":3,"file":"card-header-D-RMd4xS.js","names":[],"sources":["../src/components/card/card-header.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx';\n\nexport type CardHeaderProps = MergeRight<\n Omit<HTMLAttributes<HTMLDivElement>, 'children'>,\n {\n /**\n * The header of the card\n */\n header?: ReactNode;\n /**\n * The label of the card, displayed above the header\n */\n label?: ReactNode;\n /**\n * The sublabel of the card, displayed next to the label\n */\n subLabel?: ReactNode;\n /**\n * The description of the card, displayed below the header\n */\n description?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardHeader = ({ className, ref, header, label, subLabel, description, ...props }: CardHeaderProps) => {\n return (\n <div className={clsx('bi-card--header', className)} ref={ref} {...props}>\n {(label || subLabel) && (\n <p className='bi-card--header-label'>\n {label && <span className='bi-card--header-bold'>{label}</span>}\n {label && subLabel && <span aria-hidden='true' className='bi-card--header-dot'></span>}\n {subLabel && <span>{subLabel}</span>}\n </p>\n )}\n {header && <h3 className='bi-card--header-title'>{header}</h3>}\n {description && <p className='bi-card--header-label'>{description}</p>}\n </div>\n );\n};\n"],"mappings":";;;;AA2BA,MAAa,cAAc,EAAE,WAAW,KAAK,QAAQ,OAAO,UAAU,YAAa,GAAG,YAA6B;AACjH,QACE,qBAAC;EAAI,WAAW,KAAK,mBAAmB,UAAU;EAAO;EAAK,GAAI;;IAC9D,SAAS,aACT,qBAAC;IAAE,WAAU;;KACV,SAAS,oBAAC;MAAK,WAAU;gBAAwB;OAAa;KAC9D,SAAS,YAAY,oBAAC;MAAK,eAAY;MAAO,WAAU;OAA6B;KACrF,YAAY,oBAAC,oBAAM,WAAgB;;KAClC;GAEL,UAAU,oBAAC;IAAG,WAAU;cAAyB;KAAY;GAC7D,eAAe,oBAAC;IAAE,WAAU;cAAyB;KAAgB;;GAClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-media-DhU2_Ueq.js","names":[],"sources":["../src/components/card/card-media.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardMediaProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The media to display. Must be audio, figure, iframe, img or video-tag to get correct styles.\n */\n children?: ReactNode;\n /**\n * Optional content to overlay on top of the media.\n */\n overlay?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardMedia = ({ className, ref, children, overlay, ...props }: CardMediaProps) => {\n return (\n <div className={clsx('bi-card--media', className)} ref={ref} {...props}>\n {children}\n <div className='bi-card--media-overlay'>{overlay}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAmBA,MAAa,aAAa,EAAE,WAAW,KAAK,UAAU,QAAS,GAAG,YAA4B;AAC5F,QACE,qBAAC;EAAI,WAAW,KAAK,kBAAkB;EAAiB;EAAK,GAAI;aAC9D,UACD,oBAAC;GAAI,WAAU;aAA0B"}
1
+ {"version":3,"file":"card-media-DhU2_Ueq.js","names":[],"sources":["../src/components/card/card-media.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\n\nexport type CardMediaProps = MergeRight<\n HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The media to display. Must be audio, figure, iframe, img or video-tag to get correct styles.\n */\n children?: ReactNode;\n /**\n * Optional content to overlay on top of the media.\n */\n overlay?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const CardMedia = ({ className, ref, children, overlay, ...props }: CardMediaProps) => {\n return (\n <div className={clsx('bi-card--media', className)} ref={ref} {...props}>\n {children}\n <div className='bi-card--media-overlay'>{overlay}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAmBA,MAAa,aAAa,EAAE,WAAW,KAAK,UAAU,QAAS,GAAG,YAA4B;AAC5F,QACE,qBAAC;EAAI,WAAW,KAAK,kBAAkB,UAAU;EAAO;EAAK,GAAI;aAC9D,UACD,oBAAC;GAAI,WAAU;aAA0B;IAAc;GACnD"}
@@ -4,8 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/card/card.tsx
6
6
  const Card = ({ orientation = "horizontal", color = "neutral", error = false, dark = false, className, ref, children, asChild,...props }) => {
7
- const Component = asChild ? Slot : "div";
8
- return /* @__PURE__ */ jsx(Component, {
7
+ return /* @__PURE__ */ jsx(asChild ? Slot : "div", {
9
8
  className: clsx("bi-card", className),
10
9
  "data-orientation": orientation,
11
10
  "data-color": color,
@@ -19,4 +18,4 @@ const Card = ({ orientation = "horizontal", color = "neutral", error = false, da
19
18
 
20
19
  //#endregion
21
20
  export { Card };
22
- //# sourceMappingURL=card-QAnFhTk6.js.map
21
+ //# sourceMappingURL=card-xvRovR7u.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card-QAnFhTk6.js","names":[],"sources":["../src/components/card/card.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\n\nexport type CardProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The orientation of the card\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical';\n /**\n * The color of the card\n * @default 'neutral'\n */\n color?: 'neutral' | 'info' | 'warning';\n error?: boolean;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const Card = ({\n orientation = 'horizontal',\n color = 'neutral',\n error = false,\n dark = false,\n className,\n ref,\n children,\n asChild,\n ...props\n}: CardProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-card', className)}\n data-orientation={orientation}\n data-color={color}\n data-error={error}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n <Slottable>{children}</Slottable>\n </Component>\n );\n};\n"],"mappings":";;;;;AA6BA,MAAa,QAAQ,EACnB,cAAc,cACd,QAAQ,WACR,QAAQ,OACR,OAAO,OACP,WACA,KACA,UACA,QACA,GAAG,YACY;CACf,MAAM,YAAY,UAAU,OAAO;AAEnC,QACE,oBAAC;EACC,WAAW,KAAK,WAAW;EAC3B,oBAAkB;EAClB,cAAY;EACZ,cAAY;EACZ,aAAW;EACN;EACL,GAAI;YAEJ,oBAAC,aAAW"}
1
+ {"version":3,"file":"card-xvRovR7u.js","names":[],"sources":["../src/components/card/card.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport clsx from 'clsx/lite';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\n\nexport type CardProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The orientation of the card\n * @default 'horizontal'\n */\n orientation?: 'horizontal' | 'vertical';\n /**\n * The color of the card\n * @default 'neutral'\n */\n color?: 'neutral' | 'info' | 'warning';\n error?: boolean;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const Card = ({\n orientation = 'horizontal',\n color = 'neutral',\n error = false,\n dark = false,\n className,\n ref,\n children,\n asChild,\n ...props\n}: CardProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-card', className)}\n data-orientation={orientation}\n data-color={color}\n data-error={error}\n data-dark={dark}\n ref={ref}\n {...props}\n >\n <Slottable>{children}</Slottable>\n </Component>\n );\n};\n"],"mappings":";;;;;AA6BA,MAAa,QAAQ,EACnB,cAAc,cACd,QAAQ,WACR,QAAQ,OACR,OAAO,OACP,WACA,KACA,UACA,QACA,GAAG,YACY;AAGf,QACE,oBAHgB,UAAU,OAAO;EAI/B,WAAW,KAAK,WAAW,UAAU;EACrC,oBAAkB;EAClB,cAAY;EACZ,cAAY;EACZ,aAAW;EACN;EACL,GAAI;YAEJ,oBAAC,aAAW,WAAqB;GACvB"}
@@ -1,7 +1,7 @@
1
- import { Field } from "./field-DFMMLG-d.js";
2
- import { FieldDescription } from "./field-description-Dhm1VA08.js";
1
+ import { Field } from "./field-Dul9LBgF.js";
2
+ import { FieldDescription } from "./field-description-Yya33j8H.js";
3
3
  import { Input } from "./input-Dr7BnTyd.js";
4
- import { Label } from "./label-DUzvAx-T.js";
4
+ import { Label } from "./label-DG_ojO9g.js";
5
5
  import { useMergeRefs } from "./useMergeRefs-DC710CHX.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { useEffect, useId, useRef } from "react";
@@ -55,4 +55,4 @@ const Checkbox = ({ dark, label, description, error, fullwidth, style, className
55
55
 
56
56
  //#endregion
57
57
  export { Checkbox };
58
- //# sourceMappingURL=checkbox-ZR1Z2PCF.js.map
58
+ //# sourceMappingURL=checkbox-D04YsX0C.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-ZR1Z2PCF.js","names":["input: HTMLInputElement | null"],"sources":["../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import { useEffect, useId, useRef, type ReactNode, type Ref } from 'react';\n\nimport type { LabelRequiredProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Field, FieldDescription } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { Label } from '../label';\nimport { useMergeRefs } from '../../utilities/hooks/useMergeRefs/useMergeRefs';\n\nexport type CheckboxProps = MergeRight<\n LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>,\n {\n /** Label */\n label?: ReactNode;\n /** Description */\n description?: ReactNode;\n /** Add error indication to the checkbox. */\n error?: boolean;\n /** Specify whether the Checkbox is indeterminate */\n indeterminate?: boolean;\n /** If true, the checkbox will take up the full width of the container, and not just \"fit-content\" which is default */\n fullwidth?: boolean;\n ref?: Ref<HTMLInputElement>;\n }\n>;\n\nexport const Checkbox = ({\n dark,\n label,\n description,\n error,\n fullwidth,\n style,\n className,\n indeterminate,\n ref,\n id,\n 'aria-describedby': ariaDescribedByProp,\n ...props\n}: CheckboxProps) => {\n const checkRef = useRef<HTMLInputElement>(null);\n const refs = useMergeRefs([checkRef, ref]);\n const descriptionId = useId();\n\n useEffect(() => {\n let input: HTMLInputElement | null;\n if (ref && typeof ref !== 'function') {\n input = ref.current;\n } else {\n input = checkRef.current;\n }\n\n if (input) {\n input.indeterminate = indeterminate || false;\n }\n }, [indeterminate, checkRef, ref]);\n\n const ariaDescribedBy = [description ? descriptionId : '', ariaDescribedByProp].join(' ').trim() || undefined;\n\n return (\n <Field className={className} data-dark={dark} style={style} fullwidth={fullwidth} asChild>\n <label>\n <Input\n type='checkbox'\n id={id}\n ref={refs}\n aria-invalid={error || undefined}\n aria-describedby={ariaDescribedBy}\n dark={dark}\n {...props}\n />\n {label && (\n <Label weight='medium' htmlFor={id} asChild>\n <span>{label}</span>\n </Label>\n )}\n {description && (\n // Aria-hidden is used to prevent screen readers from reading the description twice:\n // once as part of the label and once from being connected through aria-describedby.\n <FieldDescription aria-hidden='true' id={descriptionId}>\n {description}\n </FieldDescription>\n )}\n </label>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AA0BA,MAAa,YAAY,EACvB,MACA,OACA,aACA,OACA,WACA,OACA,WACA,eACA,KACA,IACA,oBAAoB,oBACpB,GAAG,YACgB;CACnB,MAAM,WAAW,OAAyB;CAC1C,MAAM,OAAO,aAAa,CAAC,UAAU;CACrC,MAAM,gBAAgB;AAEtB,iBAAgB;EACd,IAAIA;AACJ,MAAI,OAAO,OAAO,QAAQ,WACxB,SAAQ,IAAI;MAEZ,SAAQ,SAAS;AAGnB,MAAI,MACF,OAAM,gBAAgB,iBAAiB;IAExC;EAAC;EAAe;EAAU;;CAE7B,MAAM,kBAAkB,CAAC,cAAc,gBAAgB,IAAI,qBAAqB,KAAK,KAAK,UAAU;AAEpG,QACE,oBAAC;EAAiB;EAAW,aAAW;EAAa;EAAkB;EAAW;YAChF,qBAAC;GACC,oBAAC;IACC,MAAK;IACD;IACJ,KAAK;IACL,gBAAc,SAAS;IACvB,oBAAkB;IACZ;IACN,GAAI;;GAEL,SACC,oBAAC;IAAM,QAAO;IAAS,SAAS;IAAI;cAClC,oBAAC,oBAAM;;GAGV,eAGC,oBAAC;IAAiB,eAAY;IAAO,IAAI;cACtC"}
1
+ {"version":3,"file":"checkbox-D04YsX0C.js","names":["input: HTMLInputElement | null"],"sources":["../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import { useEffect, useId, useRef, type ReactNode, type Ref } from 'react';\n\nimport type { LabelRequiredProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Field, FieldDescription } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { Label } from '../label';\nimport { useMergeRefs } from '../../utilities/hooks/useMergeRefs/useMergeRefs';\n\nexport type CheckboxProps = MergeRight<\n LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>,\n {\n /** Label */\n label?: ReactNode;\n /** Description */\n description?: ReactNode;\n /** Add error indication to the checkbox. */\n error?: boolean;\n /** Specify whether the Checkbox is indeterminate */\n indeterminate?: boolean;\n /** If true, the checkbox will take up the full width of the container, and not just \"fit-content\" which is default */\n fullwidth?: boolean;\n ref?: Ref<HTMLInputElement>;\n }\n>;\n\nexport const Checkbox = ({\n dark,\n label,\n description,\n error,\n fullwidth,\n style,\n className,\n indeterminate,\n ref,\n id,\n 'aria-describedby': ariaDescribedByProp,\n ...props\n}: CheckboxProps) => {\n const checkRef = useRef<HTMLInputElement>(null);\n const refs = useMergeRefs([checkRef, ref]);\n const descriptionId = useId();\n\n useEffect(() => {\n let input: HTMLInputElement | null;\n if (ref && typeof ref !== 'function') {\n input = ref.current;\n } else {\n input = checkRef.current;\n }\n\n if (input) {\n input.indeterminate = indeterminate || false;\n }\n }, [indeterminate, checkRef, ref]);\n\n const ariaDescribedBy = [description ? descriptionId : '', ariaDescribedByProp].join(' ').trim() || undefined;\n\n return (\n <Field className={className} data-dark={dark} style={style} fullwidth={fullwidth} asChild>\n <label>\n <Input\n type='checkbox'\n id={id}\n ref={refs}\n aria-invalid={error || undefined}\n aria-describedby={ariaDescribedBy}\n dark={dark}\n {...props}\n />\n {label && (\n <Label weight='medium' htmlFor={id} asChild>\n <span>{label}</span>\n </Label>\n )}\n {description && (\n // Aria-hidden is used to prevent screen readers from reading the description twice:\n // once as part of the label and once from being connected through aria-describedby.\n <FieldDescription aria-hidden='true' id={descriptionId}>\n {description}\n </FieldDescription>\n )}\n </label>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AA0BA,MAAa,YAAY,EACvB,MACA,OACA,aACA,OACA,WACA,OACA,WACA,eACA,KACA,IACA,oBAAoB,oBACpB,GAAG,YACgB;CACnB,MAAM,WAAW,OAAyB,KAAK;CAC/C,MAAM,OAAO,aAAa,CAAC,UAAU,IAAI,CAAC;CAC1C,MAAM,gBAAgB,OAAO;AAE7B,iBAAgB;EACd,IAAIA;AACJ,MAAI,OAAO,OAAO,QAAQ,WACxB,SAAQ,IAAI;MAEZ,SAAQ,SAAS;AAGnB,MAAI,MACF,OAAM,gBAAgB,iBAAiB;IAExC;EAAC;EAAe;EAAU;EAAI,CAAC;CAElC,MAAM,kBAAkB,CAAC,cAAc,gBAAgB,IAAI,oBAAoB,CAAC,KAAK,IAAI,CAAC,MAAM,IAAI;AAEpG,QACE,oBAAC;EAAiB;EAAW,aAAW;EAAa;EAAkB;EAAW;YAChF,qBAAC;GACC,oBAAC;IACC,MAAK;IACD;IACJ,KAAK;IACL,gBAAc,SAAS;IACvB,oBAAkB;IACZ;IACN,GAAI;KACJ;GACD,SACC,oBAAC;IAAM,QAAO;IAAS,SAAS;IAAI;cAClC,oBAAC,oBAAM,QAAa;KACd;GAET,eAGC,oBAAC;IAAiB,eAAY;IAAO,IAAI;cACtC;KACgB;MAEf;GACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-subsection-BPe5aj-W.js","names":[],"sources":["../src/components/checkbox/checkbox-subsection.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HtmlHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type CheckboxSubsectionProps = MergeRight<\n DefaultProps & HtmlHTMLAttributes<HTMLDivElement>,\n { ref?: Ref<HTMLDivElement> }\n>;\n\nexport const CheckboxSubsection = ({ children, className, dark, ref, ...props }: CheckboxSubsectionProps) => {\n return (\n <div className={clsx('bi-checkbox-subsection', className)} data-dark={dark} {...props} ref={ref}>\n <div />\n <div>{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAUA,MAAa,sBAAsB,EAAE,UAAU,WAAW,MAAM,IAAK,GAAG,YAAqC;AAC3G,QACE,qBAAC;EAAI,WAAW,KAAK,0BAA0B;EAAY,aAAW;EAAM,GAAI;EAAY;aAC1F,oBAAC,YACD,oBAAC,SAAK"}
1
+ {"version":3,"file":"checkbox-subsection-BPe5aj-W.js","names":[],"sources":["../src/components/checkbox/checkbox-subsection.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HtmlHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type CheckboxSubsectionProps = MergeRight<\n DefaultProps & HtmlHTMLAttributes<HTMLDivElement>,\n { ref?: Ref<HTMLDivElement> }\n>;\n\nexport const CheckboxSubsection = ({ children, className, dark, ref, ...props }: CheckboxSubsectionProps) => {\n return (\n <div className={clsx('bi-checkbox-subsection', className)} data-dark={dark} {...props} ref={ref}>\n <div />\n <div>{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;AAUA,MAAa,sBAAsB,EAAE,UAAU,WAAW,MAAM,IAAK,GAAG,YAAqC;AAC3G,QACE,qBAAC;EAAI,WAAW,KAAK,0BAA0B,UAAU;EAAE,aAAW;EAAM,GAAI;EAAY;aAC1F,oBAAC,UAAM,EACP,oBAAC,SAAK,WAAe;GACjB"}
@@ -4,8 +4,7 @@ import clsx from "clsx";
4
4
 
5
5
  //#region src/components/chip/chip.tsx
6
6
  const Chip = ({ children, color = "primary", size = "medium", startIcon, dark, asChild, className, ref,...props }) => {
7
- const Component = asChild ? Slot : "div";
8
- return /* @__PURE__ */ jsxs(Component, {
7
+ return /* @__PURE__ */ jsxs(asChild ? Slot : "div", {
9
8
  className: clsx("bi-chip", className),
10
9
  "data-color": color,
11
10
  "data-size": size,
@@ -18,4 +17,4 @@ const Chip = ({ children, color = "primary", size = "medium", startIcon, dark, a
18
17
 
19
18
  //#endregion
20
19
  export { Chip };
21
- //# sourceMappingURL=chip-b9xUiF7_.js.map
20
+ //# sourceMappingURL=chip-BXBQ6E1H.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip-b9xUiF7_.js","names":[],"sources":["../src/components/chip/chip.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ChipProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The chip size\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The chip color\n * @default 'primary'\n */\n color?: 'neutral' | 'primary-light' | 'info' | 'white' | 'primary' | 'alert' | 'warning' | 'success';\n /** Set an icon before the chip label */\n startIcon?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n }\n>;\n\nexport const Chip = ({\n children,\n color = 'primary',\n size = 'medium',\n startIcon,\n dark,\n asChild,\n className,\n ref,\n ...props\n}: ChipProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-chip', className)}\n data-color={color}\n data-size={size}\n data-dark={dark || undefined}\n ref={ref}\n {...props}\n >\n {startIcon}\n <Slottable>{children}</Slottable>\n </Component>\n );\n};\n"],"mappings":";;;;;AA8BA,MAAa,QAAQ,EACnB,UACA,QAAQ,WACR,OAAO,UACP,WACA,MACA,SACA,WACA,IACA,GAAG,YACY;CACf,MAAM,YAAY,UAAU,OAAO;AAEnC,QACE,qBAAC;EACC,WAAW,KAAK,WAAW;EAC3B,cAAY;EACZ,aAAW;EACX,aAAW,QAAQ;EACd;EACL,GAAI;aAEH,WACD,oBAAC,aAAW"}
1
+ {"version":3,"file":"chip-BXBQ6E1H.js","names":[],"sources":["../src/components/chip/chip.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ChipProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The chip size\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The chip color\n * @default 'primary'\n */\n color?: 'neutral' | 'primary-light' | 'info' | 'white' | 'primary' | 'alert' | 'warning' | 'success';\n /** Set an icon before the chip label */\n startIcon?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n }\n>;\n\nexport const Chip = ({\n children,\n color = 'primary',\n size = 'medium',\n startIcon,\n dark,\n asChild,\n className,\n ref,\n ...props\n}: ChipProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-chip', className)}\n data-color={color}\n data-size={size}\n data-dark={dark || undefined}\n ref={ref}\n {...props}\n >\n {startIcon}\n <Slottable>{children}</Slottable>\n </Component>\n );\n};\n"],"mappings":";;;;;AA8BA,MAAa,QAAQ,EACnB,UACA,QAAQ,WACR,OAAO,UACP,WACA,MACA,SACA,WACA,IACA,GAAG,YACY;AAGf,QACE,qBAHgB,UAAU,OAAO;EAI/B,WAAW,KAAK,WAAW,UAAU;EACrC,cAAY;EACZ,aAAW;EACX,aAAW,QAAQ;EACd;EACL,GAAI;aAEH,WACD,oBAAC,aAAW,WAAqB;GACvB"}
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { AlertFooter, AlertFooterProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { AlertFooter, AlertFooterProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,3 +1,3 @@
1
- import { AlertFooter } from "../../alert-footer-DL4rCThp.js";
1
+ import { AlertFooter } from "../../alert-footer-DfjvFlBv.js";
2
2
 
3
3
  export { AlertFooter };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Alert, AlertProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Alert, AlertProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Alert, AlertFooter, AlertFooterProps, AlertProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Alert, AlertFooter, AlertFooterProps, AlertProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,5 +1,5 @@
1
1
  import { Alert } from "../../alert-C6PxDwHt.js";
2
- import { AlertFooter } from "../../alert-footer-DL4rCThp.js";
2
+ import { AlertFooter } from "../../alert-footer-DfjvFlBv.js";
3
3
  import "../../alert-BubQTdmN.js";
4
4
 
5
5
  export { Alert, AlertFooter };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Avatar, AvatarProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Avatar, AvatarProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Avatar, AvatarProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Avatar, AvatarProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Badge, BadgeProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Badge, BadgeProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,3 +1,3 @@
1
- import { Badge } from "../../badge-D9OVAKG8.js";
1
+ import { Badge } from "../../badge-tKh0f84O.js";
2
2
 
3
3
  export { Badge };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Badge, BadgeProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Badge, BadgeProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,4 +1,4 @@
1
- import { Badge } from "../../badge-D9OVAKG8.js";
1
+ import { Badge } from "../../badge-tKh0f84O.js";
2
2
  import "../../badge-0qk6AKns.js";
3
3
 
4
4
  export { Badge };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Button, ButtonProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Button, ButtonProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,5 +1,5 @@
1
1
  import "../../spinner-Ch5bEQBR.js";
2
2
  import "../../spinner-BqbijPkO.js";
3
- import { Button } from "../../button-fhd-JARc.js";
3
+ import { Button } from "../../button-BzU7DrNe.js";
4
4
 
5
5
  export { Button };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { Button, ButtonProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { Button, ButtonProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,6 +1,6 @@
1
1
  import "../../spinner-Ch5bEQBR.js";
2
2
  import "../../spinner-BqbijPkO.js";
3
- import { Button } from "../../button-fhd-JARc.js";
3
+ import { Button } from "../../button-BzU7DrNe.js";
4
4
  import "../../button-Mlhn5A3s.js";
5
5
 
6
6
  export { Button };
@@ -1,16 +1,16 @@
1
1
  import "../../useCheckboxGroup-D61FVz37.js";
2
2
  import "../../useIsomorphicLayoutEffect-DYtMRdO-.js";
3
3
  import "../../types-Bga-EYiy.js";
4
- import { CardAction, CardActionProps } from "../../alert-footer-DWZoQIek.js";
5
- import "../../dialog-trigger-context-BxroyS54.js";
4
+ import { CardAction, CardActionProps } from "../../alert-footer-BHrSGdIt.js";
5
+ import "../../dialog-trigger-context-ClG9UVsz.js";
6
6
  import "../../drawer-trigger-context-CNBRwj7l.js";
7
- import "../../popover-trigger-context-8iojEYe0.js";
8
- import "../../dropdown-item-CGg_2cV1.js";
9
- import "../../dropdown-list-D8szW6_q.js";
10
- import "../../footer-links-DlrXiXOi.js";
11
- import "../../pagination-item-wgtqjgnC.js";
12
- import "../../sticky-header-BMeHtK7e.js";
13
- import "../../index-Cv0onxlx.js";
7
+ import "../../popover-trigger-context-DQxqvfS9.js";
8
+ import "../../dropdown-item-C2nSQM-4.js";
9
+ import "../../dropdown-list-BGpCDv5U.js";
10
+ import "../../footer-links-4wK1EANv.js";
11
+ import "../../pagination-item-B-EdUfyv.js";
12
+ import "../../sticky-header-CO6D5l-R.js";
13
+ import "../../index-Cp46Zvz-.js";
14
14
  import "../../useIsElementAboveViewport-C3qzTbfj.js";
15
15
  import "../../useScrollDirection-BmllObvZ.js";
16
16
  import "../../useMediaQuery-DYDgFKom.js";
@@ -1,7 +1,7 @@
1
1
  import "../../spinner-Ch5bEQBR.js";
2
2
  import "../../spinner-BqbijPkO.js";
3
- import "../../button-fhd-JARc.js";
3
+ import "../../button-BzU7DrNe.js";
4
4
  import "../../button-Mlhn5A3s.js";
5
- import { CardAction } from "../../card-action-D8M3_IVq.js";
5
+ import { CardAction } from "../../card-action-DiyQo6bH.js";
6
6
 
7
7
  export { CardAction };