@jobber/components 5.37.1 → 5.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/dist/AnimatedPresence/index.cjs +1 -1
  2. package/dist/AnimatedPresence/index.mjs +1 -1
  3. package/dist/AnimatedSwitcher/index.cjs +2 -2
  4. package/dist/AnimatedSwitcher/index.mjs +2 -2
  5. package/dist/{AnimatedSwitcher-Bl_pLp0b.js → AnimatedSwitcher-D45btTUD.js} +1 -1
  6. package/dist/{AnimatedSwitcher-DnWN63IS.js → AnimatedSwitcher-DvRGAg3w.js} +1 -1
  7. package/dist/AtlantisContext/index.cjs +1 -1
  8. package/dist/AtlantisContext/index.mjs +1 -1
  9. package/dist/AtlantisThemeContext/index.cjs +10 -10
  10. package/dist/AtlantisThemeContext/index.mjs +10 -10
  11. package/dist/Autocomplete/index.cjs +19 -19
  12. package/dist/Autocomplete/index.mjs +19 -19
  13. package/dist/{Autocomplete-Dg3WkGqN.js → Autocomplete-B1pGUDBM.js} +9 -9
  14. package/dist/{Autocomplete-B8imR-gC.js → Autocomplete-Djtaq8bb.js} +9 -9
  15. package/dist/Avatar/index.cjs +2 -2
  16. package/dist/Avatar/index.mjs +2 -2
  17. package/dist/{Avatar-BoNMbFuY.js → Avatar-Gbt233aK.js} +1 -1
  18. package/dist/{Avatar-BnkP21mh.js → Avatar-bDQkB7iF.js} +1 -1
  19. package/dist/Banner/components/BannerIcon/index.cjs +2 -2
  20. package/dist/Banner/components/BannerIcon/index.mjs +2 -2
  21. package/dist/Banner/index.cjs +13 -13
  22. package/dist/Banner/index.mjs +13 -13
  23. package/dist/{Banner-DZIxukGu.js → Banner-0_tXdc0a.js} +5 -5
  24. package/dist/{Banner-KCNOSdqK.js → Banner-Tl0EkvBt.js} +5 -5
  25. package/dist/{BannerIcon-C-nWrBxf.js → BannerIcon-BeXr__S4.js} +1 -1
  26. package/dist/{BannerIcon-BUhwJ9Wl.js → BannerIcon-C5kxeHBH.js} +1 -1
  27. package/dist/Box/index.cjs +2 -2
  28. package/dist/Box/index.mjs +2 -2
  29. package/dist/{Box-DbY9SqDc.js → Box-B4Kbc_c7.js} +1 -1
  30. package/dist/{Box-9zIu2Ydi.js → Box-D1GTf6TL.js} +1 -1
  31. package/dist/Button/index.cjs +3 -3
  32. package/dist/Button/index.mjs +3 -3
  33. package/dist/{Button-Cq7nFrdg.js → Button-Cw357-Ir.js} +2 -2
  34. package/dist/{Button-BorESRA8.js → Button-DLsHuj_y.js} +2 -2
  35. package/dist/ButtonDismiss/index.cjs +4 -4
  36. package/dist/ButtonDismiss/index.mjs +4 -4
  37. package/dist/{ButtonDismiss-D8npydqy.js → ButtonDismiss-BiWJhbRd.js} +1 -1
  38. package/dist/{ButtonDismiss-DNG4nzU2.js → ButtonDismiss-GtzBolIo.js} +1 -1
  39. package/dist/Card/index.cjs +12 -12
  40. package/dist/Card/index.mjs +12 -12
  41. package/dist/{Card-BvWWcYp9.js → Card-CCRyoE0a.js} +3 -3
  42. package/dist/{Card-B8nwnfxP.js → Card-CwONF3gc.js} +3 -3
  43. package/dist/Checkbox/index.cjs +5 -5
  44. package/dist/Checkbox/index.mjs +5 -5
  45. package/dist/{Checkbox-Bm4bbZMA.js → Checkbox-CMGDBsOj.js} +3 -3
  46. package/dist/{Checkbox-BVxrbbMO.js → Checkbox-mTvnPEro.js} +3 -3
  47. package/dist/Chip/Chip.d.ts +1 -1
  48. package/dist/Chip/hooks/index.cjs +1 -1
  49. package/dist/Chip/hooks/index.mjs +1 -1
  50. package/dist/Chip/index.cjs +11 -11
  51. package/dist/Chip/index.mjs +11 -11
  52. package/dist/Chip-BWQgTcl7.js +122 -0
  53. package/dist/Chip-Ds_AnRPN.js +117 -0
  54. package/dist/{ChipDismissible-Do8onnFa.js → ChipDismissible-D2-YTOOX.js} +3 -3
  55. package/dist/{ChipDismissible-C-P-M44I.js → ChipDismissible-RFt3DWua.js} +3 -3
  56. package/dist/Chips/ChipsTypes.d.ts +1 -2
  57. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -15
  58. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -15
  59. package/dist/Chips/InternalChipDismissible/index.cjs +28 -26
  60. package/dist/Chips/InternalChipDismissible/index.mjs +28 -26
  61. package/dist/Chips/index.cjs +32 -28
  62. package/dist/Chips/index.mjs +31 -27
  63. package/dist/{Chips-OVVb2yYY.js → Chips-BRPMoKPB.js} +28 -18
  64. package/dist/{Chips-Deg33_pK.js → Chips-UemOs_QV.js} +26 -16
  65. package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
  66. package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
  67. package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -13
  68. package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -13
  69. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
  70. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
  71. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
  72. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
  73. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
  74. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
  75. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
  76. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
  77. package/dist/Combobox/components/ComboboxContent/index.cjs +21 -21
  78. package/dist/Combobox/components/ComboboxContent/index.mjs +21 -21
  79. package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
  80. package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
  81. package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -12
  82. package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -12
  83. package/dist/Combobox/index.cjs +38 -38
  84. package/dist/Combobox/index.mjs +38 -38
  85. package/dist/{Combobox-C9sMiuCZ.js → Combobox-CSiXmvws.js} +9 -9
  86. package/dist/{Combobox-CIgjnK53.js → Combobox-FEa16wKn.js} +9 -9
  87. package/dist/{ComboboxAction-BPB5owGT.js → ComboboxAction-Bg8prvX-.js} +2 -2
  88. package/dist/{ComboboxAction-B9kakA_g.js → ComboboxAction-CZO3vFBs.js} +2 -2
  89. package/dist/{ComboboxActivator-BgqquQ3s.js → ComboboxActivator-BSKFiUMY.js} +4 -4
  90. package/dist/{ComboboxActivator-DJVjr_mM.js → ComboboxActivator-CeA9kewb.js} +4 -4
  91. package/dist/{ComboboxContent-Du9VHdke.js → ComboboxContent-8-Pqpsw6.js} +7 -7
  92. package/dist/{ComboboxContent-CTAgQFRs.js → ComboboxContent-CpiXhiUb.js} +7 -7
  93. package/dist/{ComboboxContentHeader-B2VGSxdz.js → ComboboxContentHeader-BKhbQz66.js} +2 -2
  94. package/dist/{ComboboxContentHeader-CUC5AzsM.js → ComboboxContentHeader-tyeAt9p8.js} +2 -2
  95. package/dist/{ComboboxContentList-t9xAh_Gw.js → ComboboxContentList-1VMLhbw-.js} +6 -6
  96. package/dist/{ComboboxContentList-B6kMBdJO.js → ComboboxContentList-XhYtCFyI.js} +6 -6
  97. package/dist/{ComboboxContentSearch-C024BzOE.js → ComboboxContentSearch-CQ3vpfU9.js} +1 -1
  98. package/dist/{ComboboxContentSearch-CYDyq2Uj.js → ComboboxContentSearch-Dq18bF6-.js} +1 -1
  99. package/dist/{ComboboxLoadMore-CcT1HZq3.js → ComboboxLoadMore-HVv3p0I2.js} +1 -1
  100. package/dist/{ComboboxLoadMore-9EIciqgq.js → ComboboxLoadMore-hxIVp3wT.js} +1 -1
  101. package/dist/{ComboboxOption-BmH7lptP.js → ComboboxOption-CCz24xd9.js} +3 -3
  102. package/dist/{ComboboxOption-Bj_bxbrx.js → ComboboxOption-D5QHJIgk.js} +3 -3
  103. package/dist/{ComboboxProvider-BdnOwyBU.js → ComboboxProvider-1nnfngT5.js} +1 -1
  104. package/dist/{ComboboxProvider-BMHtOBbO.js → ComboboxProvider-rn-22yVI.js} +1 -1
  105. package/dist/{ComboboxTrigger-QjWJ6H6d.js → ComboboxTrigger-B86E_nq_.js} +4 -4
  106. package/dist/{ComboboxTrigger-l9OK0Zgy.js → ComboboxTrigger-BMBx6vS2.js} +4 -4
  107. package/dist/ConfirmationModal/index.cjs +17 -17
  108. package/dist/ConfirmationModal/index.mjs +17 -17
  109. package/dist/{ConfirmationModal-BTP0f4D1.js → ConfirmationModal-CZ6ieU4k.js} +4 -4
  110. package/dist/{ConfirmationModal-CMlBtwQD.js → ConfirmationModal-CrYKloOm.js} +4 -4
  111. package/dist/Content/index.cjs +1 -1
  112. package/dist/Content/index.mjs +1 -1
  113. package/dist/Countdown/index.cjs +3 -3
  114. package/dist/Countdown/index.mjs +3 -3
  115. package/dist/{Countdown-D7p9T4nB.js → Countdown-BEoutBTp.js} +1 -1
  116. package/dist/{Countdown-Ccc213j2.js → Countdown-BeeyE9FK.js} +1 -1
  117. package/dist/DataDump/index.cjs +15 -15
  118. package/dist/DataDump/index.mjs +15 -15
  119. package/dist/{DataDump-DVwjLqsF.js → DataDump-C37QObv8.js} +3 -3
  120. package/dist/{DataDump-DRNoSCVf.js → DataDump-ClDzdkhz.js} +3 -3
  121. package/dist/DataList/components/DataListAction/index.cjs +4 -4
  122. package/dist/DataList/components/DataListAction/index.mjs +4 -4
  123. package/dist/DataList/components/DataListActions/index.cjs +28 -28
  124. package/dist/DataList/components/DataListActions/index.mjs +28 -28
  125. package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
  126. package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
  127. package/dist/DataList/components/DataListBulkActions/index.cjs +30 -30
  128. package/dist/DataList/components/DataListBulkActions/index.mjs +30 -30
  129. package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
  130. package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
  131. package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
  132. package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
  133. package/dist/DataList/components/DataListFilters/index.cjs +53 -53
  134. package/dist/DataList/components/DataListFilters/index.mjs +53 -53
  135. package/dist/DataList/components/DataListHeader/index.cjs +37 -37
  136. package/dist/DataList/components/DataListHeader/index.mjs +37 -37
  137. package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
  138. package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
  139. package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
  140. package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
  141. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
  142. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
  143. package/dist/DataList/components/DataListItem/index.cjs +36 -36
  144. package/dist/DataList/components/DataListItem/index.mjs +36 -36
  145. package/dist/DataList/components/DataListItemActions/index.cjs +29 -29
  146. package/dist/DataList/components/DataListItemActions/index.mjs +29 -29
  147. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
  148. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
  149. package/dist/DataList/components/DataListItems/index.cjs +37 -37
  150. package/dist/DataList/components/DataListItems/index.mjs +37 -37
  151. package/dist/DataList/components/DataListLayout/index.cjs +40 -40
  152. package/dist/DataList/components/DataListLayout/index.mjs +40 -40
  153. package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
  154. package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
  155. package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
  156. package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
  157. package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
  158. package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
  159. package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
  160. package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
  161. package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
  162. package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
  163. package/dist/DataList/components/DataListSearch/index.cjs +20 -20
  164. package/dist/DataList/components/DataListSearch/index.mjs +20 -20
  165. package/dist/DataList/components/DataListStatusBar/index.cjs +21 -21
  166. package/dist/DataList/components/DataListStatusBar/index.mjs +21 -21
  167. package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
  168. package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
  169. package/dist/DataList/components/DataListTags/index.cjs +4 -4
  170. package/dist/DataList/components/DataListTags/index.mjs +4 -4
  171. package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
  172. package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
  173. package/dist/DataList/context/DataListContext/index.cjs +3 -3
  174. package/dist/DataList/context/DataListContext/index.mjs +3 -3
  175. package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
  176. package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
  177. package/dist/DataList/index.cjs +84 -84
  178. package/dist/DataList/index.mjs +84 -84
  179. package/dist/{DataList-WPgipgql.js → DataList-BTbzwdE6.js} +21 -21
  180. package/dist/{DataList-JWDEDvbP.js → DataList-xN66K5i7.js} +21 -21
  181. package/dist/{DataList.utils-BcWWSeCL.js → DataList.utils-0IlGx0am.js} +9 -9
  182. package/dist/{DataList.utils-Bl2bcw3S.js → DataList.utils-BJbJIpsV.js} +9 -9
  183. package/dist/{DataListAction-zHlhpvEB.js → DataListAction-B_mdtEdW.js} +3 -3
  184. package/dist/{DataListAction-C5WfHuba.js → DataListAction-L83FXEic.js} +3 -3
  185. package/dist/{DataListActions-CM0Xe2H2.js → DataListActions-210P187Z.js} +5 -5
  186. package/dist/{DataListActions-HwENhAaX.js → DataListActions-DUeWmplP.js} +5 -5
  187. package/dist/{DataListActionsMenu-K5B3wYJI.js → DataListActionsMenu-CbQ3TZCr.js} +5 -5
  188. package/dist/{DataListActionsMenu-C6mmGUJg.js → DataListActionsMenu-Ch-IAi39.js} +5 -5
  189. package/dist/{DataListBulkActions-BEwCWj79.js → DataListBulkActions-DhCxRQWF.js} +3 -3
  190. package/dist/{DataListBulkActions-DWtqZR1s.js → DataListBulkActions-YeZ2Rw4w.js} +3 -3
  191. package/dist/{DataListContext-nc3OMIku.js → DataListContext-5u4Tklkl.js} +1 -1
  192. package/dist/{DataListContext-DSdVeYAt.js → DataListContext-DheTAQ2a.js} +1 -1
  193. package/dist/{DataListEmptyState-Chl206Pp.js → DataListEmptyState-Byfes2b0.js} +4 -4
  194. package/dist/{DataListEmptyState-ICsfS1cs.js → DataListEmptyState-Dnt-Vpmh.js} +4 -4
  195. package/dist/{DataListFilters-B9spUOiw.js → DataListFilters-4_41FAhD.js} +5 -5
  196. package/dist/{DataListFilters-B6nJrnJK.js → DataListFilters-u2Db_CWB.js} +5 -5
  197. package/dist/{DataListHeader-DlQvau0F.js → DataListHeader-BdsnM5zE.js} +11 -11
  198. package/dist/{DataListHeader-BmJDpEFS.js → DataListHeader-tHvDWrPQ.js} +11 -11
  199. package/dist/{DataListHeaderTile-D0qfr0K3.js → DataListHeaderTile-CVRCa2lX.js} +5 -5
  200. package/dist/{DataListHeaderTile-CAleemPi.js → DataListHeaderTile-nigcaSnl.js} +5 -5
  201. package/dist/{DataListItem-COjdyNnu.js → DataListItem-BIXWkP0P.js} +10 -10
  202. package/dist/{DataListItem-BrOzWOX9.js → DataListItem-BjezWIVh.js} +10 -10
  203. package/dist/{DataListItemActions-CVgrxgh4.js → DataListItemActions-DjPSrhM2.js} +2 -2
  204. package/dist/{DataListItemActions-CmpWu6cL.js → DataListItemActions-aC3JC5vH.js} +2 -2
  205. package/dist/{DataListItemActionsOverflow-C93XxlHf.js → DataListItemActionsOverflow-Bx54YN8d.js} +3 -3
  206. package/dist/{DataListItemActionsOverflow-Dju_og7h.js → DataListItemActionsOverflow-DN_TnGgk.js} +3 -3
  207. package/dist/{DataListItemClickable-m98es9yw.js → DataListItemClickable-BwcruX8f.js} +3 -3
  208. package/dist/{DataListItemClickable-CiBRlKW-.js → DataListItemClickable-qo08gHET.js} +3 -3
  209. package/dist/{DataListItems-I5jvsTNk.js → DataListItems-CA3Xe52F.js} +3 -3
  210. package/dist/{DataListItems-Bz8bDtsM.js → DataListItems-D_Fw_Sdu.js} +3 -3
  211. package/dist/{DataListLayout-DruWhQIG.js → DataListLayout-66etaqwu.js} +3 -3
  212. package/dist/{DataListLayout-COSeHqaq.js → DataListLayout-CCHxXv-z.js} +3 -3
  213. package/dist/{DataListLayoutActions-BOBep3-N.js → DataListLayoutActions-CaFLhBLo.js} +4 -4
  214. package/dist/{DataListLayoutActions-DHBZkfuY.js → DataListLayoutActions-_h1ijWDB.js} +4 -4
  215. package/dist/{DataListLayoutContext-wpzX6sm7.js → DataListLayoutContext-6IWlZC14.js} +1 -1
  216. package/dist/{DataListLayoutContext-CPH4DAcG.js → DataListLayoutContext-B3SLNIp4.js} +1 -1
  217. package/dist/{DataListLoadMore-xPLO970d.js → DataListLoadMore-Ckzmk5qO.js} +5 -5
  218. package/dist/{DataListLoadMore-rOxtGKqN.js → DataListLoadMore-DYrwd_pC.js} +5 -5
  219. package/dist/{DataListLoadingState-o8KbKwXr.js → DataListLoadingState-1OaIqYU0.js} +3 -3
  220. package/dist/{DataListLoadingState-Dw5_66dn.js → DataListLoadingState-C7DLOsuF.js} +3 -3
  221. package/dist/{DataListOverflowFade-C8ErqDbr.js → DataListOverflowFade-B_LSfJru.js} +1 -1
  222. package/dist/{DataListOverflowFade-_diz1rYQ.js → DataListOverflowFade-Dtk6kTlK.js} +1 -1
  223. package/dist/{DataListSearch-BJA5IbsN.js → DataListSearch-CJWP8IND.js} +6 -6
  224. package/dist/{DataListSearch-CFkCaren.js → DataListSearch-CLuyJ1DQ.js} +6 -6
  225. package/dist/{DataListSort-BpNX4j_-.js → DataListSort-Cg4QF58w.js} +6 -6
  226. package/dist/{DataListSort-Ci0et0BW.js → DataListSort-DMjIXCax.js} +6 -6
  227. package/dist/{DataListSortingOptions-ChWq5axB.js → DataListSortingOptions-CMMTRqwJ.js} +3 -3
  228. package/dist/{DataListSortingOptions-CNQXrzpl.js → DataListSortingOptions-D9cou7TY.js} +3 -3
  229. package/dist/{DataListStatusBar-C1rSenkQ.js → DataListStatusBar-BhF5H-7l.js} +2 -2
  230. package/dist/{DataListStatusBar-fod1OWtI.js → DataListStatusBar-BrLWEgU1.js} +2 -2
  231. package/dist/{DataListStickyHeader-cq6y57nf.js → DataListStickyHeader-Bhp9iQ5f.js} +1 -1
  232. package/dist/{DataListStickyHeader-B7RUkmzc.js → DataListStickyHeader-D7ubSeC-.js} +1 -1
  233. package/dist/{DataListTags-DP-6qZuR.js → DataListTags-CkWNu93n.js} +2 -2
  234. package/dist/{DataListTags-Bjo2Bfht.js → DataListTags-cisnscmt.js} +2 -2
  235. package/dist/{DataListTotalCount-BDCtwDlm.js → DataListTotalCount-Co3xIw06.js} +2 -2
  236. package/dist/{DataListTotalCount-Bu02_mt7.js → DataListTotalCount-DlJ1d4D3.js} +2 -2
  237. package/dist/DataTable/index.cjs +20 -20
  238. package/dist/DataTable/index.mjs +20 -20
  239. package/dist/DataTable/test-utilities/index.cjs +7 -7
  240. package/dist/DataTable/test-utilities/index.mjs +7 -7
  241. package/dist/{DataTable-D9exXhm9.js → DataTable-BOXtp1S-.js} +6 -6
  242. package/dist/{DataTable-DsygBxi7.js → DataTable-DfgxWO-6.js} +6 -6
  243. package/dist/DatePicker/index.cjs +18 -18
  244. package/dist/DatePicker/index.mjs +18 -18
  245. package/dist/{DatePicker-icc2E511.js → DatePicker-CAYCMbkD.js} +14 -14
  246. package/dist/{DatePicker-HTMdgT6p.js → DatePicker-DmMdK6wq.js} +14 -14
  247. package/dist/{DayOfMonthSelect-DyljmuGj.js → DayOfMonthSelect-DFEyV0_Y.js} +2 -2
  248. package/dist/{DayOfMonthSelect-wDMdpXSS.js → DayOfMonthSelect-wWw5XzzC.js} +2 -2
  249. package/dist/DescriptionList/index.cjs +2 -2
  250. package/dist/DescriptionList/index.mjs +2 -2
  251. package/dist/{DescriptionList-BLK9WuRz.js → DescriptionList-B069hNnH.js} +1 -1
  252. package/dist/{DescriptionList-Br9qr2kk.js → DescriptionList-DF35xR6s.js} +1 -1
  253. package/dist/Disclosure/index.cjs +9 -9
  254. package/dist/Disclosure/index.mjs +9 -9
  255. package/dist/{Disclosure-BtogqmUQ.js → Disclosure-CRf-mrmz.js} +3 -3
  256. package/dist/{Disclosure-CMjm_vo4.js → Disclosure-D-73GJUd.js} +3 -3
  257. package/dist/Divider/index.cjs +1 -1
  258. package/dist/Divider/index.mjs +1 -1
  259. package/dist/Drawer/index.cjs +6 -6
  260. package/dist/Drawer/index.mjs +6 -6
  261. package/dist/{DrawerGrid-BYOZ43hZ.js → DrawerGrid-BeNoqziR.js} +2 -2
  262. package/dist/{DrawerGrid-DFr_xOuF.js → DrawerGrid-DrmdlZvW.js} +2 -2
  263. package/dist/Emphasis/index.cjs +2 -2
  264. package/dist/Emphasis/index.mjs +2 -2
  265. package/dist/{Emphasis-DAoE1j_p.js → Emphasis-C7Sgb9fW.js} +1 -1
  266. package/dist/{Emphasis-DDc_5UQU.js → Emphasis-xfGhAJd0.js} +1 -1
  267. package/dist/FeatureSwitch/index.cjs +13 -13
  268. package/dist/FeatureSwitch/index.mjs +13 -13
  269. package/dist/{FeatureSwitch-VlarLTSQ.js → FeatureSwitch-CXsFndw6.js} +7 -7
  270. package/dist/{FeatureSwitch-Ce4xQ-zs.js → FeatureSwitch-D9EcJXm9.js} +7 -7
  271. package/dist/Flex/index.cjs +1 -1
  272. package/dist/Flex/index.mjs +1 -1
  273. package/dist/Form/index.cjs +2 -2
  274. package/dist/Form/index.mjs +2 -2
  275. package/dist/{Form-CUlr1Nrn.js → Form-Bb9azKs_.js} +1 -1
  276. package/dist/{Form-X-L0reLn.js → Form-DcSyfl2s.js} +1 -1
  277. package/dist/FormField/index.cjs +9 -9
  278. package/dist/FormField/index.mjs +9 -9
  279. package/dist/{FormField-DJylXUXX.js → FormField-DS2pXAMR.js} +7 -7
  280. package/dist/{FormField-DbqoZin8.js → FormField-sb-hXNmu.js} +7 -7
  281. package/dist/FormatDate/index.cjs +1 -1
  282. package/dist/FormatDate/index.mjs +1 -1
  283. package/dist/FormatEmail/index.cjs +1 -1
  284. package/dist/FormatEmail/index.mjs +1 -1
  285. package/dist/FormatFile/index.cjs +21 -21
  286. package/dist/FormatFile/index.mjs +21 -21
  287. package/dist/{FormatFile-BcUf0HHj.js → FormatFile-BU1cBrOf.js} +7 -7
  288. package/dist/{FormatFile-CIdyPi1K.js → FormatFile-DfV5X4TX.js} +7 -7
  289. package/dist/FormatRelativeDateTime/index.cjs +1 -1
  290. package/dist/FormatRelativeDateTime/index.mjs +1 -1
  291. package/dist/FormatTime/index.cjs +1 -1
  292. package/dist/FormatTime/index.mjs +1 -1
  293. package/dist/Gallery/index.cjs +28 -28
  294. package/dist/Gallery/index.mjs +28 -28
  295. package/dist/{Gallery-BKJnqQgV.js → Gallery-Cqvdt3G1.js} +3 -3
  296. package/dist/{Gallery-D_KqVcj0.js → Gallery-Dj65Jv0V.js} +3 -3
  297. package/dist/Glimmer/index.cjs +3 -3
  298. package/dist/Glimmer/index.mjs +3 -3
  299. package/dist/{Glimmer-DlNmm3YL.js → Glimmer-Bob47e-0.js} +2 -2
  300. package/dist/{Glimmer-C7aBW0K0.js → Glimmer-tGV-6pMn.js} +2 -2
  301. package/dist/Grid/InternalGridCell/index.cjs +1 -1
  302. package/dist/Grid/InternalGridCell/index.mjs +1 -1
  303. package/dist/Grid/index.cjs +5 -5
  304. package/dist/Grid/index.mjs +5 -5
  305. package/dist/{Grid-BCEpSWAq.js → Grid-Cw0Qwm6T.js} +2 -2
  306. package/dist/{Grid-Cm01epbB.js → Grid-DttUGERH.js} +2 -2
  307. package/dist/Heading/index.cjs +2 -2
  308. package/dist/Heading/index.mjs +2 -2
  309. package/dist/{Heading-BdwZmSBA.js → Heading-BBlPOLFc.js} +1 -1
  310. package/dist/{Heading-V-kQ4HU2.js → Heading-Biph8WwB.js} +1 -1
  311. package/dist/Icon/index.cjs +1 -1
  312. package/dist/Icon/index.mjs +1 -1
  313. package/dist/InlineLabel/index.cjs +2 -2
  314. package/dist/InlineLabel/index.mjs +2 -2
  315. package/dist/{InlineLabel-Cd-6ixSO.js → InlineLabel-D-C2s8KF.js} +1 -1
  316. package/dist/{InlineLabel-0Bm2Npqr.js → InlineLabel-Db-T9zd8.js} +1 -1
  317. package/dist/InputAvatar/index.cjs +13 -13
  318. package/dist/InputAvatar/index.mjs +13 -13
  319. package/dist/{InputAvatar-B2JBCGeP.js → InputAvatar-Cclwq_SB.js} +5 -5
  320. package/dist/{InputAvatar-C6uuajSS.js → InputAvatar-D9YuicmG.js} +5 -5
  321. package/dist/InputDate/index.cjs +25 -25
  322. package/dist/InputDate/index.mjs +25 -25
  323. package/dist/{InputDate-BF9QBz4w.js → InputDate-BZchR_ca.js} +2 -2
  324. package/dist/{InputDate-BgIPRudq.js → InputDate-CcgJz6Tr.js} +2 -2
  325. package/dist/InputEmail/index.cjs +10 -10
  326. package/dist/InputEmail/index.mjs +10 -10
  327. package/dist/{InputEmail-Dm7Zawo8.js → InputEmail-Dh4N9rnv.js} +1 -1
  328. package/dist/{InputEmail-DWcNZT6I.js → InputEmail-hGXC7b8Q.js} +1 -1
  329. package/dist/InputFile/index.cjs +10 -10
  330. package/dist/InputFile/index.mjs +10 -10
  331. package/dist/{InputFile-DTOMwGan.js → InputFile-DW9y724R.js} +6 -6
  332. package/dist/{InputFile-DnFGiJmW.js → InputFile-zve-eklN.js} +6 -6
  333. package/dist/InputGroup/index.cjs +1 -1
  334. package/dist/InputGroup/index.mjs +1 -1
  335. package/dist/InputNumber/index.cjs +10 -10
  336. package/dist/InputNumber/index.mjs +10 -10
  337. package/dist/{InputNumber-g_-7Ht_x.js → InputNumber-4cnMrsGO.js} +1 -1
  338. package/dist/{InputNumber-D-YR6XAS.js → InputNumber-D3nwLDrS.js} +1 -1
  339. package/dist/InputPassword/index.cjs +10 -10
  340. package/dist/InputPassword/index.mjs +10 -10
  341. package/dist/{InputPassword-B0-pYUyB.js → InputPassword-Bzf7U5QJ.js} +1 -1
  342. package/dist/{InputPassword-yYD5djYr.js → InputPassword-DcOaGS6B.js} +1 -1
  343. package/dist/InputPhoneNumber/index.cjs +10 -10
  344. package/dist/InputPhoneNumber/index.mjs +10 -10
  345. package/dist/{InputPhoneNumber-BNV37HRt.js → InputPhoneNumber-B5VFOZWZ.js} +2 -2
  346. package/dist/{InputPhoneNumber-DA9LEh7q.js → InputPhoneNumber-DjDrb8to.js} +2 -2
  347. package/dist/InputText/index.cjs +11 -11
  348. package/dist/InputText/index.mjs +11 -11
  349. package/dist/{InputText-CTYpGpWS.js → InputText-Bc4M_POa.js} +2 -2
  350. package/dist/{InputText-ydn6uKsU.js → InputText-CP9RccN7.js} +2 -2
  351. package/dist/InputTime/index.cjs +14 -14
  352. package/dist/InputTime/index.mjs +14 -14
  353. package/dist/{InputTime-DhwX1iTd.js → InputTime-Bqmp4LXg.js} +3 -3
  354. package/dist/{InputTime-CAQBIbGk.js → InputTime-mRz15-ag.js} +3 -3
  355. package/dist/InputValidation/index.cjs +4 -4
  356. package/dist/InputValidation/index.mjs +4 -4
  357. package/dist/{InputValidation-69YEs5tU.js → InputValidation-D6eShbIt.js} +2 -2
  358. package/dist/{InputValidation-uzGACYXl.js → InputValidation-DeRIsFsp.js} +2 -2
  359. package/dist/InternalChipDismissible-Bp_bWPeX.js +63 -0
  360. package/dist/InternalChipDismissible-_oOuEaJb.js +66 -0
  361. package/dist/LightBox/index.cjs +14 -14
  362. package/dist/LightBox/index.mjs +14 -14
  363. package/dist/{LightBox-ZQ9ITc4T.js → LightBox-DvmAhJYP.js} +7 -7
  364. package/dist/{LightBox-3oyhNT13.js → LightBox-dvt6lMNd.js} +7 -7
  365. package/dist/Link/index.cjs +1 -1
  366. package/dist/Link/index.mjs +1 -1
  367. package/dist/List/index.cjs +20 -20
  368. package/dist/List/index.mjs +20 -20
  369. package/dist/{List-V1t82bVJ.js → List-C0bKaUvI.js} +10 -10
  370. package/dist/{List-B_nXYLb9.js → List-Y_m1GtzU.js} +10 -10
  371. package/dist/Markdown/index.cjs +9 -9
  372. package/dist/Markdown/index.mjs +9 -9
  373. package/dist/{Markdown--WRSbAoK.js → Markdown-Bi05gK9z.js} +7 -7
  374. package/dist/{Markdown-DPZrZ5qy.js → Markdown-C-1PkCU5.js} +7 -7
  375. package/dist/Menu/index.cjs +10 -10
  376. package/dist/Menu/index.mjs +10 -10
  377. package/dist/{Menu-CnV-QpqP.js → Menu-C6j8icw3.js} +8 -8
  378. package/dist/{Menu-Bn014wDz.js → Menu-jKAsIMtg.js} +8 -8
  379. package/dist/Modal/index.cjs +9 -9
  380. package/dist/Modal/index.mjs +9 -9
  381. package/dist/{Modal-CZoDK5iK.js → Modal-DJCSLpuw.js} +6 -6
  382. package/dist/{Modal-D6djgAcT.js → Modal-Qz__Cwo_.js} +6 -6
  383. package/dist/MultiSelect/index.cjs +6 -6
  384. package/dist/MultiSelect/index.mjs +6 -6
  385. package/dist/{MultiSelect-Dq5lwHMQ.js → MultiSelect-CYr7n_-T.js} +3 -3
  386. package/dist/{MultiSelect-y6bFv4gm.js → MultiSelect-DMwFLDpd.js} +3 -3
  387. package/dist/{Option-BiMDdP1b.js → Option-CsJM76kz.js} +1 -1
  388. package/dist/{Option-CW4u2VZN.js → Option-DM-FgxPK.js} +1 -1
  389. package/dist/Page/index.cjs +24 -24
  390. package/dist/Page/index.mjs +24 -24
  391. package/dist/{Page-2ynDE_E8.js → Page-BavAFhrr.js} +8 -8
  392. package/dist/{Page-DPerZ6WX.js → Page-DEl1ufXc.js} +8 -8
  393. package/dist/Popover/index.cjs +6 -6
  394. package/dist/Popover/index.mjs +6 -6
  395. package/dist/{Popover-CYYw26fX.js → Popover-BEWpEVK7.js} +2 -2
  396. package/dist/{Popover-CVGKu6Qw.js → Popover-DSnSxcYU.js} +2 -2
  397. package/dist/ProgressBar/index.cjs +1 -1
  398. package/dist/ProgressBar/index.mjs +1 -1
  399. package/dist/RadioGroup/index.cjs +3 -3
  400. package/dist/RadioGroup/index.mjs +3 -3
  401. package/dist/{RadioGroup-BRttbA_n.js → RadioGroup-B79lAUdZ.js} +1 -1
  402. package/dist/{RadioGroup-D2PQFj2s.js → RadioGroup-Da5oRGdB.js} +1 -1
  403. package/dist/RecurringSelect/components/index.cjs +4 -4
  404. package/dist/RecurringSelect/components/index.mjs +4 -4
  405. package/dist/RecurringSelect/index.cjs +16 -16
  406. package/dist/RecurringSelect/index.mjs +16 -16
  407. package/dist/{RecurringSelect-DcPsU8yk.js → RecurringSelect-TEuPEPWS.js} +6 -6
  408. package/dist/{RecurringSelect-BBAwkMyG.js → RecurringSelect-rsrCbDNh.js} +6 -6
  409. package/dist/Select/index.cjs +10 -10
  410. package/dist/Select/index.mjs +10 -10
  411. package/dist/SideDrawer/index.cjs +11 -11
  412. package/dist/SideDrawer/index.mjs +11 -11
  413. package/dist/{SideDrawer-DXhfUBmy.js → SideDrawer-CWRxYFSu.js} +7 -7
  414. package/dist/{SideDrawer-CIeUj6er.js → SideDrawer-qi-atYa6.js} +7 -7
  415. package/dist/Spinner/index.cjs +1 -1
  416. package/dist/Spinner/index.mjs +1 -1
  417. package/dist/StatusIndicator/index.cjs +1 -1
  418. package/dist/StatusIndicator/index.mjs +1 -1
  419. package/dist/StatusLabel/index.cjs +3 -3
  420. package/dist/StatusLabel/index.mjs +3 -3
  421. package/dist/{StatusLabel-CwDQRTDS.js → StatusLabel-B-nbrlxn.js} +2 -2
  422. package/dist/{StatusLabel-BvWPQXVi.js → StatusLabel-BCW5gisr.js} +2 -2
  423. package/dist/Switch/index.cjs +2 -2
  424. package/dist/Switch/index.mjs +2 -2
  425. package/dist/{Switch-BpWqAVwb.js → Switch-BLKWcYOS.js} +1 -1
  426. package/dist/{Switch-ozBMDbYN.js → Switch-BaB10Ydl.js} +1 -1
  427. package/dist/Table/index.cjs +1 -1
  428. package/dist/Table/index.mjs +1 -1
  429. package/dist/Tabs/index.cjs +7 -7
  430. package/dist/Tabs/index.mjs +7 -7
  431. package/dist/{Tabs-BIzmZZ8Z.js → Tabs-BFYMos7P.js} +2 -2
  432. package/dist/{Tabs-C-8heObC.js → Tabs-Bvq1fqRB.js} +2 -2
  433. package/dist/Text/index.cjs +2 -2
  434. package/dist/Text/index.mjs +2 -2
  435. package/dist/{Text-CIOw_MbQ.js → Text-B0ggBplq.js} +1 -1
  436. package/dist/{Text-OejtJe9c.js → Text-jjSKDrw-.js} +1 -1
  437. package/dist/Toast/index.cjs +4 -4
  438. package/dist/Toast/index.mjs +4 -4
  439. package/dist/Tooltip/Tooltip.d.ts +2 -1
  440. package/dist/Tooltip/index.cjs +3 -3
  441. package/dist/Tooltip/index.mjs +3 -3
  442. package/dist/{Tooltip-C4syshPl.js → Tooltip-BDXP4pyS.js} +6 -4
  443. package/dist/{Tooltip-CyjsiD9h.js → Tooltip-C9JBz6M9.js} +6 -4
  444. package/dist/Typography/index.cjs +1 -1
  445. package/dist/Typography/index.mjs +1 -1
  446. package/dist/{_baseAssignValue-DqutJn-l.js → _baseAssignValue-CeHu5KJ7.js} +1 -1
  447. package/dist/{_baseAssignValue-CQPk8ome.js → _baseAssignValue-DGmqudAT.js} +1 -1
  448. package/dist/{_baseEach-CqpoWL75.js → _baseEach-BYeOIKni.js} +7 -7
  449. package/dist/{_baseEach-BswM2DnU.js → _baseEach-mgJVw9ae.js} +7 -7
  450. package/dist/{_baseFlatten-BIGjs7C-.js → _baseFlatten-BUCWilZg.js} +3 -3
  451. package/dist/{_baseFlatten-D1NZA8St.js → _baseFlatten-bwbr66hJ.js} +3 -3
  452. package/dist/{_getAllKeys-DuIeLomp.js → _getAllKeys-B0qArHwj.js} +5 -5
  453. package/dist/{_getAllKeys-Co5GejcG.js → _getAllKeys-B6iwtHMp.js} +5 -5
  454. package/dist/{_getTag-DkDYgCHT.js → _getTag-BqjZyh-j.js} +2 -2
  455. package/dist/{_getTag-aOqfN4ej.js → _getTag-C_ITyZCI.js} +2 -2
  456. package/dist/{_isIterateeCall-CzcrXhGB.js → _isIterateeCall-BIAGiMig.js} +4 -4
  457. package/dist/{_isIterateeCall-5JAuCV4M.js → _isIterateeCall-BNl3cdoq.js} +4 -4
  458. package/dist/{_setToString-DVlWBogw.js → _setToString-C7RwMA11.js} +1 -1
  459. package/dist/{_setToString-DH7GKT40.js → _setToString-CzKRbhyV.js} +1 -1
  460. package/dist/{debounce-4ZcizSQk.js → debounce-B08Maooe.js} +3 -3
  461. package/dist/{debounce-3grWz_0o.js → debounce-s15hWybq.js} +3 -3
  462. package/dist/{helpers-DTFNSL5D.js → helpers-BOAu1vaC.js} +1 -1
  463. package/dist/{helpers-C038k1cG.js → helpers-r8r91l_2.js} +1 -1
  464. package/dist/{identity-CBz1SXvU.js → identity-BAOeCZJm.js} +2 -2
  465. package/dist/{identity-CjCnhCLi.js → identity-ZxEoiIJX.js} +2 -2
  466. package/dist/{index-BrZCdZ8b.js → index-DAJIkmeD.js} +1 -1
  467. package/dist/{index-CG-Ht9bC.js → index-yPRcMZ_H.js} +1 -1
  468. package/dist/index.cjs +160 -160
  469. package/dist/index.mjs +158 -158
  470. package/dist/{isObjectLike-i_S0AKMg.js → isObjectLike-4Yd8T8FR.js} +1 -1
  471. package/dist/{isObjectLike-DTwl2dr2.js → isObjectLike-D1YiP1XU.js} +1 -1
  472. package/dist/{isSymbol-CqA9L5IE.js → isSymbol-B0s5GHcC.js} +1 -1
  473. package/dist/{isSymbol-DwoFqCBz.js → isSymbol-v0Zzh12-.js} +1 -1
  474. package/dist/{isTypedArray-Cd4gzGPz.js → isTypedArray-B8ZChn46.js} +1 -1
  475. package/dist/{isTypedArray-K4_TLJfP.js → isTypedArray-CmPxpu8_.js} +1 -1
  476. package/dist/{keysIn-CohO8U3u.js → keysIn-Dfdr3z5Z.js} +4 -4
  477. package/dist/{keysIn-CHML7XSO.js → keysIn-hQcVLKcp.js} +4 -4
  478. package/dist/{noop-DzXzmgsn.js → noop-CAx177gb.js} +1 -1
  479. package/dist/{noop-CraOGF8Z.js → noop-D9Y5MG5n.js} +1 -1
  480. package/dist/{showToast-B_Ma7Fnz.js → showToast-CS5R-4LK.js} +3 -3
  481. package/dist/{showToast-BjO_9QYQ.js → showToast-CuVUIaAD.js} +3 -3
  482. package/dist/styles.css +163 -265
  483. package/dist/{throttle-Cprv6cRN.js → throttle-QtIZuNyM.js} +3 -3
  484. package/dist/{throttle-BdsTStEK.js → throttle-gSkQbGPK.js} +3 -3
  485. package/dist/{updateTheme-C4xUL5Rh.js → updateTheme-5GzkzB5d.js} +8 -8
  486. package/dist/{updateTheme-Dy4NdRvb.js → updateTheme-JKZqjR35.js} +8 -8
  487. package/dist/{useActiveLayout-DlI6NCb5.js → useActiveLayout-3t2ekYEU.js} +2 -2
  488. package/dist/{useActiveLayout-kVPdH4fH.js → useActiveLayout-B2M1H53H.js} +2 -2
  489. package/dist/{useAssert-D4PJ4ymq.js → useAssert-DeDzmf8w.js} +2 -2
  490. package/dist/{useAssert-6YWzzvfL.js → useAssert-nolVn0-0.js} +2 -2
  491. package/dist/{useBatchSelect-CD3CQd6g.js → useBatchSelect-ByI0BqEk.js} +1 -1
  492. package/dist/{useBatchSelect-2xrVPfVW.js → useBatchSelect-DWinxSDP.js} +1 -1
  493. package/dist/{useIsMounted-B7_9jE75.js → useIsMounted-BRwZjot8.js} +4 -1
  494. package/dist/{useIsMounted-CSRPXMQN.js → useIsMounted-C5IR8jDM.js} +4 -1
  495. package/dist/{useResizeObserver-DRmrXVEe.js → useResizeObserver-8HY3hMai.js} +2 -2
  496. package/dist/{useResizeObserver-Dopljm7C.js → useResizeObserver-jWhmquZ0.js} +2 -2
  497. package/dist/{useResponsiveSizing-s676YOix.js → useResponsiveSizing-9QQN0EFU.js} +1 -1
  498. package/dist/{useResponsiveSizing-BTk6Z4hD.js → useResponsiveSizing-ComOPgOQ.js} +1 -1
  499. package/dist/{useScrollToActive-CcSdwphe.js → useScrollToActive-BKZ6e8vn.js} +10 -10
  500. package/dist/{useScrollToActive-Cb2c6DGY.js → useScrollToActive-_tVmfyq_.js} +10 -10
  501. package/package.json +2 -2
  502. package/dist/Chip-CvKSs5Nu.js +0 -80
  503. package/dist/Chip-Qfqwzu4r.js +0 -77
  504. package/dist/InternalChipDismissible-CLJsvs-K.js +0 -152
  505. package/dist/InternalChipDismissible-StTOvxpy.js +0 -157
  506. /package/dist/{AnimatedPresence-C_ifExQb.js → AnimatedPresence-8d33fV3z.js} +0 -0
  507. /package/dist/{AnimatedPresence-BSHjWG3g.js → AnimatedPresence-DjajsaC4.js} +0 -0
  508. /package/dist/{AtlantisContext-B_kSxChh.js → AtlantisContext-BvtCybNR.js} +0 -0
  509. /package/dist/{AtlantisContext-DZca2inZ.js → AtlantisContext-CEvphuN5.js} +0 -0
  510. /package/dist/{Body-BWFtJbrK.js → Body-Ci79c-5r.js} +0 -0
  511. /package/dist/{Body-BoBvPqSR.js → Body-aIVCeET0.js} +0 -0
  512. /package/dist/{Content-Bx0v_zCB.js → Content-C1maIuLq.js} +0 -0
  513. /package/dist/{Content-Ch4LRCkE.js → Content-DP9XVDn1.js} +0 -0
  514. /package/dist/{DataList-ClkPt70Q.js → DataList-Db8PeeNg.js} +0 -0
  515. /package/dist/{DataList-CYqkARF1.js → DataList-DmgG-jJB.js} +0 -0
  516. /package/dist/{DataList.const-CfcXhjZR.js → DataList.const-C5MOShrr.js} +0 -0
  517. /package/dist/{DataList.const-B_t_nNPW.js → DataList.const-CWr0pMgl.js} +0 -0
  518. /package/dist/{DataListLayoutContext-CMP9akyy.js → DataListLayoutContext-CZ9koJv5.js} +0 -0
  519. /package/dist/{DataListLayoutContext-C6pmOwAK.js → DataListLayoutContext-CdnIvgKL.js} +0 -0
  520. /package/dist/{Divider-Bujkbn0S.js → Divider-DP0A1bLh.js} +0 -0
  521. /package/dist/{Divider-Ckj89q12.js → Divider-Dzaksxrq.js} +0 -0
  522. /package/dist/{Flex-DKsSO5WG.js → Flex-CMBStPSe.js} +0 -0
  523. /package/dist/{Flex-CgPsBE97.js → Flex-cffvx9p5.js} +0 -0
  524. /package/dist/{FormatDate-BykyDIok.js → FormatDate-BGF1mq5n.js} +0 -0
  525. /package/dist/{FormatDate-DqkZgz-g.js → FormatDate-GxTCUWGE.js} +0 -0
  526. /package/dist/{FormatEmail-oUGQG6fS.js → FormatEmail-CtMZOIhl.js} +0 -0
  527. /package/dist/{FormatEmail-BWlErqrB.js → FormatEmail-CxQj_4fh.js} +0 -0
  528. /package/dist/{FormatRelativeDateTime-qsuzQpw7.js → FormatRelativeDateTime-BWzofaJk.js} +0 -0
  529. /package/dist/{FormatRelativeDateTime-DZdPFvNL.js → FormatRelativeDateTime-Dv9KmvLL.js} +0 -0
  530. /package/dist/{FormatTime-DrEvQdpB.js → FormatTime-BfYSSo_a.js} +0 -0
  531. /package/dist/{FormatTime-BX2DYl6y.js → FormatTime-CxRxznGt.js} +0 -0
  532. /package/dist/{Icon-mR0kGeqa.js → Icon-4aSo6vx6.js} +0 -0
  533. /package/dist/{Icon-CTOShA1M.js → Icon-BL38PebQ.js} +0 -0
  534. /package/dist/{InputGroup-BwLBcvFq.js → InputGroup-BA6qHYqP.js} +0 -0
  535. /package/dist/{InputGroup-BLBAs8kR.js → InputGroup-DEU6I9cj.js} +0 -0
  536. /package/dist/{InternalGridCell-DaDvVgLh.js → InternalGridCell-Dl5bgix3.js} +0 -0
  537. /package/dist/{InternalGridCell-EhAARK4o.js → InternalGridCell-TtNjv3GQ.js} +0 -0
  538. /package/dist/{Link-BvHAM12c.js → Link-BDzrTaCd.js} +0 -0
  539. /package/dist/{Link-D_jAr-9l.js → Link-BeQDW25S.js} +0 -0
  540. /package/dist/{ProgressBar-B-zmvqlj.js → ProgressBar-KXSKgo2n.js} +0 -0
  541. /package/dist/{ProgressBar-B8_uczjK.js → ProgressBar-uKr9q01v.js} +0 -0
  542. /package/dist/{Spinner-CclQH5p6.js → Spinner-Bl4EVXFP.js} +0 -0
  543. /package/dist/{Spinner-DGU4hKiw.js → Spinner-Dl6L-FFy.js} +0 -0
  544. /package/dist/{StatusIndicator-2FH29rXU.js → StatusIndicator-BG7EM03K.js} +0 -0
  545. /package/dist/{StatusIndicator-BnyooPKW.js → StatusIndicator-h36d6X8_.js} +0 -0
  546. /package/dist/{Typography-CZXlC9J2.js → Typography-CA5uhNNq.js} +0 -0
  547. /package/dist/{Typography-CRoX9edW.js → Typography-VubwNP1h.js} +0 -0
  548. /package/dist/{_baseFor-BYQUrQxA.js → _baseFor--lofiDp-.js} +0 -0
  549. /package/dist/{_baseFor-CAR1UOUq.js → _baseFor-AiaFeKTR.js} +0 -0
  550. /package/dist/{_commonjsHelpers-CeSHm1M2.js → _commonjsHelpers-BLIunDkT.js} +0 -0
  551. /package/dist/{_commonjsHelpers-pBx_5ASz.js → _commonjsHelpers-Wxgt4_Xa.js} +0 -0
  552. /package/dist/{_polyfill-node.process-BsVBF5ZD.js → _polyfill-node.process-B9jKKjWE.js} +0 -0
  553. /package/dist/{_polyfill-node.process-C_XaL-sh.js → _polyfill-node.process-ChNelYVc.js} +0 -0
  554. /package/dist/{tslib.es6-ICijM8p3.js → tslib.es6-BSZYTK_Y.js} +0 -0
  555. /package/dist/{tslib.es6-BM-XvdQm.js → tslib.es6-Ces_VRSu.js} +0 -0
  556. /package/dist/{useChildComponent-0yCY0m_Z.js → useChildComponent-Ch1y9a4p.js} +0 -0
  557. /package/dist/{useChildComponent-Bk38nqw-.js → useChildComponent-nEzG80x5.js} +0 -0
  558. /package/dist/{useFocusTrap-CvxGDYWB.js → useFocusTrap-CnK73-Jl.js} +0 -0
  559. /package/dist/{useFocusTrap-BI0mm-W8.js → useFocusTrap-CrUEn4DA.js} +0 -0
  560. /package/dist/{useFormFieldFocus-3olK06ss.js → useFormFieldFocus-1ERKAh63.js} +0 -0
  561. /package/dist/{useFormFieldFocus-DwWv7ePV.js → useFormFieldFocus-D66DRBf8.js} +0 -0
  562. /package/dist/{useInView-5w2grgM7.js → useInView-D69kSooj.js} +0 -0
  563. /package/dist/{useInView-CEgmyj9o.js → useInView-f-EiINqU.js} +0 -0
  564. /package/dist/{useOnKeyDown-v8DX4vns.js → useOnKeyDown-DyaRHzEn.js} +0 -0
  565. /package/dist/{useOnKeyDown-DpSuHrqE.js → useOnKeyDown-YIK7w0d8.js} +0 -0
  566. /package/dist/{useRefocusOnActivator-DMTdlldm.js → useRefocusOnActivator-2Nu7D9WQ.js} +0 -0
  567. /package/dist/{useRefocusOnActivator-C7S07qnG.js → useRefocusOnActivator-C0uzSamb.js} +0 -0
  568. /package/dist/{useSafeLayoutEffect-CqNRT675.js → useSafeLayoutEffect-CIw8eTBT.js} +0 -0
  569. /package/dist/{useSafeLayoutEffect-DldEYPfW.js → useSafeLayoutEffect-DUsEPAJl.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var _commonjsHelpers = require('./_commonjsHelpers-CeSHm1M2.js');
3
+ var _commonjsHelpers = require('./_commonjsHelpers-BLIunDkT.js');
4
4
  var React = require('react');
5
- var throttle$1 = require('./throttle-Cprv6cRN.js');
5
+ var throttle$1 = require('./throttle-QtIZuNyM.js');
6
6
 
7
7
  function _mergeNamespaces(n, m) {
8
8
  m.forEach(function (e) {
@@ -1,6 +1,6 @@
1
- import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-pBx_5ASz.js';
1
+ import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-Wxgt4_Xa.js';
2
2
  import React from 'react';
3
- import { a as throttle_1 } from './throttle-BdsTStEK.js';
3
+ import { a as throttle_1 } from './throttle-gSkQbGPK.js';
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
6
  m.forEach(function (e) {
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useSyncExternalStore } from 'react';
2
- import { e as BREAKPOINT_SIZES } from './DataList.const-CfcXhjZR.js';
2
+ import { e as BREAKPOINT_SIZES } from './DataList.const-C5MOShrr.js';
3
3
 
4
4
  const mediaQueryStore = {
5
5
  subscribe(onChange, query) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var DataList_const = require('./DataList.const-B_t_nNPW.js');
4
+ var DataList_const = require('./DataList.const-CWr0pMgl.js');
5
5
 
6
6
  const mediaQueryStore = {
7
7
  subscribe(onChange, query) {
@@ -1,14 +1,14 @@
1
1
  import React, { useRef, useId, useState, useEffect } from 'react';
2
- import { g as getDefaultExportFromCjs } from './_commonjsHelpers-pBx_5ASz.js';
3
- import { _ as _baseFlatten } from './_baseFlatten-BIGjs7C-.js';
4
- import { a as _arrayMap, b as _baseGet } from './_getAllKeys-DuIeLomp.js';
5
- import { _ as _baseEach, a as _baseIteratee } from './_baseEach-BswM2DnU.js';
6
- import { b as isArrayLike_1, k as _baseUnary, a as isArray_1 } from './isTypedArray-Cd4gzGPz.js';
7
- import { i as isSymbol_1 } from './isSymbol-DwoFqCBz.js';
8
- import { i as identity_1 } from './identity-CBz1SXvU.js';
9
- import { _ as _baseRest, a as _isIterateeCall } from './_isIterateeCall-5JAuCV4M.js';
10
- import { a as debounce } from './debounce-4ZcizSQk.js';
11
- import { I as Icon } from './Icon-CTOShA1M.js';
2
+ import { g as getDefaultExportFromCjs } from './_commonjsHelpers-Wxgt4_Xa.js';
3
+ import { _ as _baseFlatten } from './_baseFlatten-BUCWilZg.js';
4
+ import { a as _arrayMap, b as _baseGet } from './_getAllKeys-B0qArHwj.js';
5
+ import { _ as _baseEach, a as _baseIteratee } from './_baseEach-mgJVw9ae.js';
6
+ import { b as isArrayLike_1, k as _baseUnary, a as isArray_1 } from './isTypedArray-B8ZChn46.js';
7
+ import { i as isSymbol_1 } from './isSymbol-v0Zzh12-.js';
8
+ import { i as identity_1 } from './identity-BAOeCZJm.js';
9
+ import { _ as _baseRest, a as _isIterateeCall } from './_isIterateeCall-BNl3cdoq.js';
10
+ import { a as debounce } from './debounce-B08Maooe.js';
11
+ import { I as Icon } from './Icon-BL38PebQ.js';
12
12
  import { usePopper } from 'react-popper';
13
13
 
14
14
  var baseEach = _baseEach,
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var _commonjsHelpers = require('./_commonjsHelpers-CeSHm1M2.js');
5
- var _baseFlatten = require('./_baseFlatten-D1NZA8St.js');
6
- var _getAllKeys = require('./_getAllKeys-Co5GejcG.js');
7
- var _baseEach = require('./_baseEach-CqpoWL75.js');
8
- var isTypedArray = require('./isTypedArray-K4_TLJfP.js');
9
- var isSymbol$1 = require('./isSymbol-CqA9L5IE.js');
10
- var identity$1 = require('./identity-CjCnhCLi.js');
11
- var _isIterateeCall = require('./_isIterateeCall-CzcrXhGB.js');
12
- var debounce = require('./debounce-3grWz_0o.js');
13
- var Icon = require('./Icon-mR0kGeqa.js');
4
+ var _commonjsHelpers = require('./_commonjsHelpers-BLIunDkT.js');
5
+ var _baseFlatten = require('./_baseFlatten-bwbr66hJ.js');
6
+ var _getAllKeys = require('./_getAllKeys-B6iwtHMp.js');
7
+ var _baseEach = require('./_baseEach-BYeOIKni.js');
8
+ var isTypedArray = require('./isTypedArray-CmPxpu8_.js');
9
+ var isSymbol$1 = require('./isSymbol-B0s5GHcC.js');
10
+ var identity$1 = require('./identity-ZxEoiIJX.js');
11
+ var _isIterateeCall = require('./_isIterateeCall-BIAGiMig.js');
12
+ var debounce = require('./debounce-s15hWybq.js');
13
+ var Icon = require('./Icon-4aSo6vx6.js');
14
14
  var reactPopper = require('react-popper');
15
15
 
16
16
  var baseEach = _baseEach._baseEach,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "5.37.1",
3
+ "version": "5.39.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -495,5 +495,5 @@
495
495
  "> 1%",
496
496
  "IE 10"
497
497
  ],
498
- "gitHead": "453644a266a523942e0d280584025e3998eb164f"
498
+ "gitHead": "f30f32b00a3f8f235aad4274903c8d5b5d91f49e"
499
499
  }
@@ -1,80 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var classnames = require('classnames');
5
- var useInView = require('./useInView-5w2grgM7.js');
6
- var Avatar = require('./Avatar-BoNMbFuY.js');
7
- var Icon = require('./Icon-mR0kGeqa.js');
8
- var useChildComponent = require('./useChildComponent-Bk38nqw-.js');
9
- var Typography = require('./Typography-CZXlC9J2.js');
10
- var Tooltip = require('./Tooltip-CyjsiD9h.js');
11
-
12
- var styles = {"chip":"af7U8MvcbHE-","clickableSuffix":"GnA73aYUbak-","suffix":"ySADfZ0FckM-","prefix":"e905AYK4SCc-","empty":"usdkmQ9Sxbk-","chipBar":"dg1-Izy1eQA-","selected":"-lz0EYLTDgg-","base":"wSI5L-5rODg-","invalid":"SmUxkzpIC84-","subtle":"Mux23dmZSuw-","disabled":"MbRItb9vKhc-","chipContent":"tJhURjR2Vec-","truncateGradient":"G3QXY0rNcK0-","chipLabelRef":"MUKEW6c2nNA-","spinning":"v2Qb-3r7q-g-"};
13
-
14
- function ChipPrefix({ children }) {
15
- const avatarOrIcon = useChildComponent.useChildComponent(children, d => d.type === Avatar.Avatar || d.type === Icon.Icon);
16
- if (!avatarOrIcon)
17
- return React.createElement(React.Fragment, null, children);
18
- return React.createElement("span", { className: classnames(styles.prefix) }, avatarOrIcon);
19
- }
20
-
21
- function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
22
- var _a;
23
- let singleChild = useChildComponent.useChildComponent(children, d => d.type === Icon.Icon);
24
- const handleClick = (event) => {
25
- if (!onClick) {
26
- return;
27
- }
28
- event.preventDefault();
29
- event.stopPropagation();
30
- onClick(event);
31
- };
32
- if (!allowedSuffixIcons.includes((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name)) {
33
- singleChild = undefined;
34
- }
35
- return (React.createElement("span", { className: classnames(onClick ? styles.clickableSuffix : styles.suffix, className, !singleChild && styles.empty), onClick: handleClick, onKeyPress: handleClick, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, "data-testid": testID, "aria-label": ariaLabel }, singleChild));
36
- }
37
- const allowedSuffixIcons = ["cross", "add", "checkmark", "arrowDown"];
38
-
39
- const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
40
- const classes = classnames(styles.chip, {
41
- [styles.invalid]: invalid,
42
- [styles.base]: variation === "base",
43
- [styles.subtle]: variation === "subtle",
44
- [styles.disabled]: disabled,
45
- });
46
- const prefix = useChildComponent.useChildComponent(children, d => d.type === Chip.Prefix);
47
- const suffix = useChildComponent.useChildComponent(children, d => d.type === Chip.Suffix);
48
- const [labelRef, labelFullyVisible] = useInView.useInView_2();
49
- const [headingRef, headingFullyVisible] = useInView.useInView_2();
50
- const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
51
- return (React.createElement(Tooltip.Tooltip, { message: tooltipMessage },
52
- React.createElement("button", { className: classes, onClick: (ev) => onClick && onClick(value, ev), tabIndex: tabIndex, onKeyDown: onKeyDown, "aria-label": ariaLabel || label, disabled: disabled, role: role, type: "button" },
53
- prefix,
54
- React.createElement("div", { className: styles.chipContent },
55
- heading && (React.createElement(React.Fragment, null,
56
- React.createElement(Typography.Typography, { size: "base", fontWeight: "medium" },
57
- heading,
58
- React.createElement("span", { ref: headingRef, className: styles.chipLabelRef })),
59
- label && React.createElement("span", { className: styles.chipBar }))),
60
- React.createElement(Typography.Typography, { size: "base" },
61
- label,
62
- React.createElement("span", { ref: labelRef, className: styles.chipLabelRef })),
63
- !labelFullyVisible && (React.createElement("div", { className: styles.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
64
- suffix)));
65
- };
66
- function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
67
- let message = "";
68
- if (heading && !headingFullyVisible) {
69
- message = `${heading} | ${label}`;
70
- }
71
- else if (!labelFullyVisible) {
72
- message = label;
73
- }
74
- return message;
75
- }
76
- Chip.Prefix = ChipPrefix;
77
- Chip.Suffix = ChipSuffix;
78
-
79
- exports.Chip = Chip;
80
- exports.styles = styles;
@@ -1,77 +0,0 @@
1
- import React from 'react';
2
- import classnames from 'classnames';
3
- import { u as useInView_2 } from './useInView-CEgmyj9o.js';
4
- import { A as Avatar } from './Avatar-BnkP21mh.js';
5
- import { I as Icon } from './Icon-CTOShA1M.js';
6
- import { u as useChildComponent } from './useChildComponent-0yCY0m_Z.js';
7
- import { T as Typography } from './Typography-CRoX9edW.js';
8
- import { T as Tooltip } from './Tooltip-C4syshPl.js';
9
-
10
- var styles = {"chip":"af7U8MvcbHE-","clickableSuffix":"GnA73aYUbak-","suffix":"ySADfZ0FckM-","prefix":"e905AYK4SCc-","empty":"usdkmQ9Sxbk-","chipBar":"dg1-Izy1eQA-","selected":"-lz0EYLTDgg-","base":"wSI5L-5rODg-","invalid":"SmUxkzpIC84-","subtle":"Mux23dmZSuw-","disabled":"MbRItb9vKhc-","chipContent":"tJhURjR2Vec-","truncateGradient":"G3QXY0rNcK0-","chipLabelRef":"MUKEW6c2nNA-","spinning":"v2Qb-3r7q-g-"};
11
-
12
- function ChipPrefix({ children }) {
13
- const avatarOrIcon = useChildComponent(children, d => d.type === Avatar || d.type === Icon);
14
- if (!avatarOrIcon)
15
- return React.createElement(React.Fragment, null, children);
16
- return React.createElement("span", { className: classnames(styles.prefix) }, avatarOrIcon);
17
- }
18
-
19
- function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
20
- var _a;
21
- let singleChild = useChildComponent(children, d => d.type === Icon);
22
- const handleClick = (event) => {
23
- if (!onClick) {
24
- return;
25
- }
26
- event.preventDefault();
27
- event.stopPropagation();
28
- onClick(event);
29
- };
30
- if (!allowedSuffixIcons.includes((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name)) {
31
- singleChild = undefined;
32
- }
33
- return (React.createElement("span", { className: classnames(onClick ? styles.clickableSuffix : styles.suffix, className, !singleChild && styles.empty), onClick: handleClick, onKeyPress: handleClick, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, "data-testid": testID, "aria-label": ariaLabel }, singleChild));
34
- }
35
- const allowedSuffixIcons = ["cross", "add", "checkmark", "arrowDown"];
36
-
37
- const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
38
- const classes = classnames(styles.chip, {
39
- [styles.invalid]: invalid,
40
- [styles.base]: variation === "base",
41
- [styles.subtle]: variation === "subtle",
42
- [styles.disabled]: disabled,
43
- });
44
- const prefix = useChildComponent(children, d => d.type === Chip.Prefix);
45
- const suffix = useChildComponent(children, d => d.type === Chip.Suffix);
46
- const [labelRef, labelFullyVisible] = useInView_2();
47
- const [headingRef, headingFullyVisible] = useInView_2();
48
- const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
49
- return (React.createElement(Tooltip, { message: tooltipMessage },
50
- React.createElement("button", { className: classes, onClick: (ev) => onClick && onClick(value, ev), tabIndex: tabIndex, onKeyDown: onKeyDown, "aria-label": ariaLabel || label, disabled: disabled, role: role, type: "button" },
51
- prefix,
52
- React.createElement("div", { className: styles.chipContent },
53
- heading && (React.createElement(React.Fragment, null,
54
- React.createElement(Typography, { size: "base", fontWeight: "medium" },
55
- heading,
56
- React.createElement("span", { ref: headingRef, className: styles.chipLabelRef })),
57
- label && React.createElement("span", { className: styles.chipBar }))),
58
- React.createElement(Typography, { size: "base" },
59
- label,
60
- React.createElement("span", { ref: labelRef, className: styles.chipLabelRef })),
61
- !labelFullyVisible && (React.createElement("div", { className: styles.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
62
- suffix)));
63
- };
64
- function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
65
- let message = "";
66
- if (heading && !headingFullyVisible) {
67
- message = `${heading} | ${label}`;
68
- }
69
- else if (!labelFullyVisible) {
70
- message = label;
71
- }
72
- return message;
73
- }
74
- Chip.Prefix = ChipPrefix;
75
- Chip.Suffix = ChipSuffix;
76
-
77
- export { Chip as C, styles as s };
@@ -1,152 +0,0 @@
1
- import React, { useRef, useState, useEffect } from 'react';
2
- import { a as useInternalChipDismissibleInput, d as useScrollToActive, b as useInView, c as useRepositionMenu, u as useInternalChipDismissible } from './useScrollToActive-CcSdwphe.js';
3
- import './isObjectLike-DTwl2dr2.js';
4
- import '@jobber/design';
5
- import 'react-popper';
6
- import { a as debounce } from './debounce-4ZcizSQk.js';
7
- import classnames from 'classnames';
8
- import { T as Text } from './Text-OejtJe9c.js';
9
- import { B as Button } from './Button-BorESRA8.js';
10
- import { S as Spinner } from './Spinner-CclQH5p6.js';
11
- import { u as useAssert_2 } from './useAssert-6YWzzvfL.js';
12
- import { I as Icon } from './Icon-CTOShA1M.js';
13
- import { A as Avatar } from './Avatar-BnkP21mh.js';
14
- import { T as Typography } from './Typography-CRoX9edW.js';
15
- import { T as Tooltip } from './Tooltip-C4syshPl.js';
16
-
17
- var styles$1 = {"wrapper":"zn6onyiQVmA-","chip":"PEnZzMEgbhU-","hasPrefix":"dtysUhwYdG4-","hasSuffix":"xGaMCAYsdwA-","clickable":"SNT7gGV-h-o-","input":"W4D98cvEth4-","active":"_0hEzaTXK9M0-","invalid":"JApS2787BU8-","disabled":"Kg0c8WVgMpg-","button":"_0-ZWexS4Gfg-","icon":"DQPnZP4UZpw-","spinning":"_233cNMGKLQo-"};
18
-
19
- function InternalChipButton({ icon, invalid, disabled, label, onClick, }) {
20
- const buttonRef = useRef();
21
- return (React.createElement("div", { ref: buttonRef, className: styles$1.button, tabIndex: 0, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown, onClick: handleClick, role: "button", "aria-label": `Remove ${label}`, "aria-hidden": true, "aria-disabled": disabled, "data-testid": "remove-chip-button" },
22
- React.createElement(Icon, { name: icon, color: getColor() })));
23
- function handleKeyUp(event) {
24
- if (document.activeElement === buttonRef.current &&
25
- (event.key === " " || event.key === "Enter")) {
26
- event.stopPropagation();
27
- buttonRef.current.click();
28
- }
29
- }
30
- function handleKeyDown(event) {
31
- if (document.activeElement === buttonRef.current && event.key === " ") {
32
- // Don't scroll down
33
- event.preventDefault();
34
- }
35
- }
36
- function getColor() {
37
- if (disabled)
38
- return "disabled";
39
- if (invalid)
40
- return "critical";
41
- return "greyBlue";
42
- }
43
- function handleClick(event) {
44
- event.stopPropagation();
45
- onClick === null || onClick === void 0 ? void 0 : onClick(event);
46
- }
47
- }
48
-
49
- function InternalChipAffix({ affix, active, invalid, disabled, }) {
50
- assertProps();
51
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === Avatar) {
52
- return React.createElement(Avatar, Object.assign({}, affix.props, { size: "small" }));
53
- }
54
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === Icon) {
55
- return renderChipIcon(affix);
56
- }
57
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton) {
58
- return React.createElement(InternalChipButton, Object.assign({}, affix.props));
59
- }
60
- return React.createElement(React.Fragment, null);
61
- function renderChipIcon(icon) {
62
- const color = getIconColor();
63
- return (React.createElement("div", { className: styles$1.icon }, React.cloneElement(icon, Object.assign({ size: "base" }, (color && { color: color })))));
64
- }
65
- function getIconColor() {
66
- if (disabled && !active)
67
- return "disabled";
68
- if (invalid && !disabled)
69
- return "critical";
70
- if (active)
71
- return "white";
72
- return;
73
- }
74
- function assertProps() {
75
- const isAvatar = (affix === null || affix === void 0 ? void 0 : affix.type) === Avatar || false;
76
- const isIcon = (affix === null || affix === void 0 ? void 0 : affix.type) === Icon || false;
77
- const isChipButton = (affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton || false;
78
- useAssert_2(!!affix && !(isAvatar || isIcon || isChipButton), `Prefix prop only accepts "<Avatar />" or "<Icon />" component. You have "${affix === null || affix === void 0 ? void 0 : affix.type}".`);
79
- }
80
- }
81
-
82
- function InternalChip({ label, active = false, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
83
- const [truncateRef, setTruncateRef] = useState();
84
- const isClickable = onClick && !disabled;
85
- const classNames = classnames(styles$1.chip, {
86
- [styles$1.clickable]: isClickable,
87
- [styles$1.active]: active,
88
- [styles$1.disabled]: disabled,
89
- [styles$1.invalid]: invalid,
90
- [styles$1.hasPrefix]: prefix,
91
- [styles$1.hasSuffix]: suffix,
92
- });
93
- const affixProps = { active, invalid, disabled };
94
- const Tag = onClick ? "button" : "div";
95
- const chip = (React.createElement(Tag, Object.assign({ className: classNames }, (isClickable && { onClick, disabled }), { onKeyDown: onKeyDown, "data-testid": "chip-wrapper", "aria-label": ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined }),
96
- React.createElement(InternalChipAffix, Object.assign({ affix: prefix }, affixProps)),
97
- React.createElement(Typography, { element: "span", numberOfLines: 1, size: "base" },
98
- React.createElement("span", { ref: setTruncateRef }, label)),
99
- React.createElement(InternalChipAffix, Object.assign({ affix: suffix }, affixProps))));
100
- return isTruncated() ? React.createElement(Tooltip, { message: label }, chip) : chip;
101
- function isTruncated() {
102
- var _a;
103
- const truncateParentHeight = ((_a = truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.parentElement) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
104
- const truncateChildHeight = (truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.offsetHeight) || 0;
105
- return truncateChildHeight >= truncateParentHeight * 2;
106
- }
107
- }
108
-
109
- var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
110
-
111
- function InternalChipDismissibleInput(props) {
112
- const { activator = React.createElement(Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
113
- const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useInternalChipDismissibleInput(props);
114
- const menuRef = useScrollToActive(activeIndex);
115
- const { ref: visibleChildRef, isInView } = useInView();
116
- const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useRepositionMenu(attachTo);
117
- useEffect(() => {
118
- if (menuOpen && update)
119
- update();
120
- }, [allOptions]);
121
- useEffect(() => {
122
- handleDebouncedSearch();
123
- return handleDebouncedSearch.cancel;
124
- }, [searchValue]);
125
- useEffect(() => {
126
- isInView && onLoadMore && onLoadMore(searchValue);
127
- }, [isInView]);
128
- if (!menuOpen) {
129
- return React.cloneElement(activator, { onClick: handleOpenMenu });
130
- }
131
- return (React.createElement(React.Fragment, null,
132
- React.createElement("input", { ref: inputRef, className: styles.input, type: "text", role: "combobox", "aria-label": "Press up and down arrow to cycle through the options or type to narrow down the results", "aria-autocomplete": "list", "aria-owns": menuId, "aria-expanded": hasAvailableOptions, "aria-activedescendant": generateDescendantId(activeIndex), value: searchValue, onChange: handleSearchChange, onKeyDown: handleKeyDown, onBlur: debounce(handleBlur, 200), onFocus: handleOpenMenu, autoFocus: true }),
133
- (hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
134
- React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
135
- allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
136
- [styles.activeOption]: activeIndex === i,
137
- }), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
138
- React.createElement("span", { "aria-hidden": true }, option.prefix),
139
- React.createElement(Text, null, option.label)))),
140
- React.createElement("div", { ref: visibleChildRef }),
141
- isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
142
- React.createElement(Spinner, { size: "small", inline: true }))))))));
143
- }
144
-
145
- function InternalChipDismissible(props) {
146
- const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useInternalChipDismissible(props);
147
- return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
148
- sortedVisibleChipOptions.map(chip => (React.createElement(InternalChip, Object.assign({ key: chip.value }, chip, { onKeyDown: handleChipKeyDown(chip.value), onClick: handleChipClick(chip.value), ariaLabel: `${chip.label}. Press delete or backspace to remove ${chip.label}`, tabIndex: 0, suffix: React.createElement(InternalChipButton, { icon: "remove", invalid: chip.invalid, disabled: chip.disabled, label: chip.label, onClick: handleChipRemove(chip.value) }) })))),
149
- React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
150
- }
151
-
152
- export { InternalChipDismissible as I, InternalChip as a, InternalChipButton as b, styles$1 as s };
@@ -1,157 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var useScrollToActive = require('./useScrollToActive-Cb2c6DGY.js');
5
- require('./isObjectLike-i_S0AKMg.js');
6
- require('@jobber/design');
7
- require('react-popper');
8
- var debounce = require('./debounce-3grWz_0o.js');
9
- var classnames = require('classnames');
10
- var Text = require('./Text-CIOw_MbQ.js');
11
- var Button = require('./Button-Cq7nFrdg.js');
12
- var Spinner = require('./Spinner-DGU4hKiw.js');
13
- var useAssert = require('./useAssert-D4PJ4ymq.js');
14
- var Icon = require('./Icon-mR0kGeqa.js');
15
- var Avatar = require('./Avatar-BoNMbFuY.js');
16
- var Typography = require('./Typography-CZXlC9J2.js');
17
- var Tooltip = require('./Tooltip-CyjsiD9h.js');
18
-
19
- var styles$1 = {"wrapper":"zn6onyiQVmA-","chip":"PEnZzMEgbhU-","hasPrefix":"dtysUhwYdG4-","hasSuffix":"xGaMCAYsdwA-","clickable":"SNT7gGV-h-o-","input":"W4D98cvEth4-","active":"_0hEzaTXK9M0-","invalid":"JApS2787BU8-","disabled":"Kg0c8WVgMpg-","button":"_0-ZWexS4Gfg-","icon":"DQPnZP4UZpw-","spinning":"_233cNMGKLQo-"};
20
-
21
- function InternalChipButton({ icon, invalid, disabled, label, onClick, }) {
22
- const buttonRef = React.useRef();
23
- return (React.createElement("div", { ref: buttonRef, className: styles$1.button, tabIndex: 0, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown, onClick: handleClick, role: "button", "aria-label": `Remove ${label}`, "aria-hidden": true, "aria-disabled": disabled, "data-testid": "remove-chip-button" },
24
- React.createElement(Icon.Icon, { name: icon, color: getColor() })));
25
- function handleKeyUp(event) {
26
- if (document.activeElement === buttonRef.current &&
27
- (event.key === " " || event.key === "Enter")) {
28
- event.stopPropagation();
29
- buttonRef.current.click();
30
- }
31
- }
32
- function handleKeyDown(event) {
33
- if (document.activeElement === buttonRef.current && event.key === " ") {
34
- // Don't scroll down
35
- event.preventDefault();
36
- }
37
- }
38
- function getColor() {
39
- if (disabled)
40
- return "disabled";
41
- if (invalid)
42
- return "critical";
43
- return "greyBlue";
44
- }
45
- function handleClick(event) {
46
- event.stopPropagation();
47
- onClick === null || onClick === void 0 ? void 0 : onClick(event);
48
- }
49
- }
50
-
51
- function InternalChipAffix({ affix, active, invalid, disabled, }) {
52
- assertProps();
53
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === Avatar.Avatar) {
54
- return React.createElement(Avatar.Avatar, Object.assign({}, affix.props, { size: "small" }));
55
- }
56
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === Icon.Icon) {
57
- return renderChipIcon(affix);
58
- }
59
- if ((affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton) {
60
- return React.createElement(InternalChipButton, Object.assign({}, affix.props));
61
- }
62
- return React.createElement(React.Fragment, null);
63
- function renderChipIcon(icon) {
64
- const color = getIconColor();
65
- return (React.createElement("div", { className: styles$1.icon }, React.cloneElement(icon, Object.assign({ size: "base" }, (color && { color: color })))));
66
- }
67
- function getIconColor() {
68
- if (disabled && !active)
69
- return "disabled";
70
- if (invalid && !disabled)
71
- return "critical";
72
- if (active)
73
- return "white";
74
- return;
75
- }
76
- function assertProps() {
77
- const isAvatar = (affix === null || affix === void 0 ? void 0 : affix.type) === Avatar.Avatar || false;
78
- const isIcon = (affix === null || affix === void 0 ? void 0 : affix.type) === Icon.Icon || false;
79
- const isChipButton = (affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton || false;
80
- useAssert.useAssert_2(!!affix && !(isAvatar || isIcon || isChipButton), `Prefix prop only accepts "<Avatar />" or "<Icon />" component. You have "${affix === null || affix === void 0 ? void 0 : affix.type}".`);
81
- }
82
- }
83
-
84
- function InternalChip({ label, active = false, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
85
- const [truncateRef, setTruncateRef] = React.useState();
86
- const isClickable = onClick && !disabled;
87
- const classNames = classnames(styles$1.chip, {
88
- [styles$1.clickable]: isClickable,
89
- [styles$1.active]: active,
90
- [styles$1.disabled]: disabled,
91
- [styles$1.invalid]: invalid,
92
- [styles$1.hasPrefix]: prefix,
93
- [styles$1.hasSuffix]: suffix,
94
- });
95
- const affixProps = { active, invalid, disabled };
96
- const Tag = onClick ? "button" : "div";
97
- const chip = (React.createElement(Tag, Object.assign({ className: classNames }, (isClickable && { onClick, disabled }), { onKeyDown: onKeyDown, "data-testid": "chip-wrapper", "aria-label": ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined }),
98
- React.createElement(InternalChipAffix, Object.assign({ affix: prefix }, affixProps)),
99
- React.createElement(Typography.Typography, { element: "span", numberOfLines: 1, size: "base" },
100
- React.createElement("span", { ref: setTruncateRef }, label)),
101
- React.createElement(InternalChipAffix, Object.assign({ affix: suffix }, affixProps))));
102
- return isTruncated() ? React.createElement(Tooltip.Tooltip, { message: label }, chip) : chip;
103
- function isTruncated() {
104
- var _a;
105
- const truncateParentHeight = ((_a = truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.parentElement) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
106
- const truncateChildHeight = (truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.offsetHeight) || 0;
107
- return truncateChildHeight >= truncateParentHeight * 2;
108
- }
109
- }
110
-
111
- var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
112
-
113
- function InternalChipDismissibleInput(props) {
114
- const { activator = React.createElement(Button.Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
115
- const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useScrollToActive.useInternalChipDismissibleInput(props);
116
- const menuRef = useScrollToActive.useScrollToActive(activeIndex);
117
- const { ref: visibleChildRef, isInView } = useScrollToActive.useInView();
118
- const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useScrollToActive.useRepositionMenu(attachTo);
119
- React.useEffect(() => {
120
- if (menuOpen && update)
121
- update();
122
- }, [allOptions]);
123
- React.useEffect(() => {
124
- handleDebouncedSearch();
125
- return handleDebouncedSearch.cancel;
126
- }, [searchValue]);
127
- React.useEffect(() => {
128
- isInView && onLoadMore && onLoadMore(searchValue);
129
- }, [isInView]);
130
- if (!menuOpen) {
131
- return React.cloneElement(activator, { onClick: handleOpenMenu });
132
- }
133
- return (React.createElement(React.Fragment, null,
134
- React.createElement("input", { ref: inputRef, className: styles.input, type: "text", role: "combobox", "aria-label": "Press up and down arrow to cycle through the options or type to narrow down the results", "aria-autocomplete": "list", "aria-owns": menuId, "aria-expanded": hasAvailableOptions, "aria-activedescendant": generateDescendantId(activeIndex), value: searchValue, onChange: handleSearchChange, onKeyDown: handleKeyDown, onBlur: debounce.debounce(handleBlur, 200), onFocus: handleOpenMenu, autoFocus: true }),
135
- (hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
136
- React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
137
- allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
138
- [styles.activeOption]: activeIndex === i,
139
- }), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
140
- React.createElement("span", { "aria-hidden": true }, option.prefix),
141
- React.createElement(Text.Text, null, option.label)))),
142
- React.createElement("div", { ref: visibleChildRef }),
143
- isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
144
- React.createElement(Spinner.Spinner, { size: "small", inline: true }))))))));
145
- }
146
-
147
- function InternalChipDismissible(props) {
148
- const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useScrollToActive.useInternalChipDismissible(props);
149
- return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
150
- sortedVisibleChipOptions.map(chip => (React.createElement(InternalChip, Object.assign({ key: chip.value }, chip, { onKeyDown: handleChipKeyDown(chip.value), onClick: handleChipClick(chip.value), ariaLabel: `${chip.label}. Press delete or backspace to remove ${chip.label}`, tabIndex: 0, suffix: React.createElement(InternalChipButton, { icon: "remove", invalid: chip.invalid, disabled: chip.disabled, label: chip.label, onClick: handleChipRemove(chip.value) }) })))),
151
- React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
152
- }
153
-
154
- exports.InternalChip = InternalChip;
155
- exports.InternalChipButton = InternalChipButton;
156
- exports.InternalChipDismissible = InternalChipDismissible;
157
- exports.styles = styles$1;
File without changes
File without changes
File without changes
File without changes