@jobber/components 5.28.1 → 5.29.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 (570) 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-CoxAg0-j.js → AnimatedSwitcher-DaD84w-F.js} +1 -1
  6. package/dist/{AnimatedSwitcher-BIHika6m.js → AnimatedSwitcher-oLG7nCbj.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-eu58esnN.js → Autocomplete-CScLUNr1.js} +9 -9
  14. package/dist/{Autocomplete-DUi9Vi_l.js → Autocomplete-DBj21lw-.js} +9 -9
  15. package/dist/Avatar/index.cjs +2 -2
  16. package/dist/Avatar/index.mjs +2 -2
  17. package/dist/{Avatar-DrOeht23.js → Avatar-BVqumc1y.js} +1 -1
  18. package/dist/{Avatar-DExEAvzT.js → Avatar-Dtn9ZPYk.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-CjucNNNE.js → Banner-CU58qLES.js} +5 -5
  24. package/dist/{Banner-B-6dIs8k.js → Banner-DmYop68Q.js} +5 -5
  25. package/dist/{BannerIcon-DL46BJ_2.js → BannerIcon-CrSehvQb.js} +1 -1
  26. package/dist/{BannerIcon-CjIXhiAc.js → BannerIcon-DBZvACFu.js} +1 -1
  27. package/dist/Box/index.cjs +2 -2
  28. package/dist/Box/index.mjs +2 -2
  29. package/dist/{Box-DcZHla_x.js → Box-3LPUvANE.js} +1 -1
  30. package/dist/{Box-CkWdA_ke.js → Box-ivQLW8-4.js} +1 -1
  31. package/dist/Button/index.cjs +3 -3
  32. package/dist/Button/index.mjs +3 -3
  33. package/dist/{Button-Be5LsTsL.js → Button-CJ8K_1oO.js} +2 -2
  34. package/dist/{Button-DRMlRqkW.js → Button-yxhFJMjk.js} +2 -2
  35. package/dist/ButtonDismiss/index.cjs +4 -4
  36. package/dist/ButtonDismiss/index.mjs +4 -4
  37. package/dist/{ButtonDismiss-ByEKDMtf.js → ButtonDismiss-BoXmxpuC.js} +1 -1
  38. package/dist/{ButtonDismiss-C9DnpYJU.js → ButtonDismiss-DlWmI6Kp.js} +1 -1
  39. package/dist/Card/index.cjs +12 -12
  40. package/dist/Card/index.mjs +12 -12
  41. package/dist/{Card-D5Q7kfVE.js → Card-CzmE8DN6.js} +3 -3
  42. package/dist/{Card-CX-Ys4CI.js → Card-DQsHTJmr.js} +3 -3
  43. package/dist/Checkbox/index.cjs +5 -5
  44. package/dist/Checkbox/index.mjs +5 -5
  45. package/dist/{Checkbox-CCxK7Q1A.js → Checkbox-CxjbuezD.js} +3 -3
  46. package/dist/{Checkbox-BsYXiY6J.js → Checkbox-DC0S29wn.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-BPUOnIH0.js +115 -0
  53. package/dist/Chip-DQf-lSBO.js +120 -0
  54. package/dist/{ChipDismissible-CD4slFmP.js → ChipDismissible-BWtsVBU9.js} +3 -3
  55. package/dist/{ChipDismissible-uJeGZkp5.js → ChipDismissible-NhvPwS7L.js} +3 -3
  56. package/dist/Chips/ChipsTypes.d.ts +1 -2
  57. package/dist/Chips/InternalChip.d.ts +1 -1
  58. package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -15
  59. package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -15
  60. package/dist/Chips/InternalChipDismissible/index.cjs +28 -26
  61. package/dist/Chips/InternalChipDismissible/index.mjs +28 -26
  62. package/dist/Chips/index.cjs +32 -28
  63. package/dist/Chips/index.mjs +31 -27
  64. package/dist/{Chips-D5kJxz58.js → Chips-C4XiIPRK.js} +17 -18
  65. package/dist/{Chips-MPgm_-Cd.js → Chips-CGNboqAK.js} +13 -14
  66. package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
  67. package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
  68. package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -13
  69. package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -13
  70. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
  71. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
  72. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
  73. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
  74. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
  75. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
  76. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
  77. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
  78. package/dist/Combobox/components/ComboboxContent/index.cjs +21 -21
  79. package/dist/Combobox/components/ComboboxContent/index.mjs +21 -21
  80. package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
  81. package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
  82. package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -12
  83. package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -12
  84. package/dist/Combobox/index.cjs +38 -38
  85. package/dist/Combobox/index.mjs +38 -38
  86. package/dist/{Combobox-Dwb6xk7c.js → Combobox-C3S5AiXB.js} +9 -9
  87. package/dist/{Combobox-DNkmPujh.js → Combobox-DiczvEUy.js} +9 -9
  88. package/dist/{ComboboxAction-C-o5JKs6.js → ComboboxAction-CACXhdKK.js} +2 -2
  89. package/dist/{ComboboxAction-BRTgoBtL.js → ComboboxAction-DLLCttm1.js} +2 -2
  90. package/dist/{ComboboxActivator-BcvV4heN.js → ComboboxActivator-BGFA8UI0.js} +4 -4
  91. package/dist/{ComboboxActivator-DrHXZh9F.js → ComboboxActivator-BKM8z7g_.js} +4 -4
  92. package/dist/{ComboboxContent-Dazzj3OK.js → ComboboxContent-Bwk3qv27.js} +7 -7
  93. package/dist/{ComboboxContent-Ff8CSAxB.js → ComboboxContent-BzF_aTbc.js} +7 -7
  94. package/dist/{ComboboxContentHeader-rzwWT9eR.js → ComboboxContentHeader-BT6LkHSg.js} +2 -2
  95. package/dist/{ComboboxContentHeader-RMPM6z6Y.js → ComboboxContentHeader-CdhjOvEo.js} +2 -2
  96. package/dist/{ComboboxContentList-CDd9zkcb.js → ComboboxContentList-Dv4p8XGL.js} +6 -6
  97. package/dist/{ComboboxContentList-Hxcuz6sf.js → ComboboxContentList-OFaQAluV.js} +6 -6
  98. package/dist/{ComboboxContentSearch-Vx5wQz5-.js → ComboboxContentSearch-rEsDlVQS.js} +1 -1
  99. package/dist/{ComboboxContentSearch-BX8m8lI5.js → ComboboxContentSearch-xILKrxfd.js} +1 -1
  100. package/dist/{ComboboxLoadMore-5kqKX8ug.js → ComboboxLoadMore-DB8UEaxq.js} +1 -1
  101. package/dist/{ComboboxLoadMore-DsEHmYNj.js → ComboboxLoadMore-Di9xGOBR.js} +1 -1
  102. package/dist/{ComboboxOption-BKTiI7TT.js → ComboboxOption-C8qt64Bk.js} +3 -3
  103. package/dist/{ComboboxOption-fIJVuNbF.js → ComboboxOption-eDr6g3k9.js} +3 -3
  104. package/dist/{ComboboxProvider-Pn7mrE9_.js → ComboboxProvider-CEmGtNSA.js} +1 -1
  105. package/dist/{ComboboxProvider-BtwOxK7_.js → ComboboxProvider-DTJ7kt-v.js} +1 -1
  106. package/dist/{ComboboxTrigger-BxK-mC6e.js → ComboboxTrigger-DelLLUtZ.js} +4 -4
  107. package/dist/{ComboboxTrigger-DwWLJ4vk.js → ComboboxTrigger-vENP7S9Y.js} +4 -4
  108. package/dist/ConfirmationModal/index.cjs +17 -17
  109. package/dist/ConfirmationModal/index.mjs +17 -17
  110. package/dist/{ConfirmationModal-DwDoSP1v.js → ConfirmationModal-Igel_LvO.js} +4 -4
  111. package/dist/{ConfirmationModal-bqxu4KRr.js → ConfirmationModal-SdY2i7Xv.js} +4 -4
  112. package/dist/Content/index.cjs +1 -1
  113. package/dist/Content/index.mjs +1 -1
  114. package/dist/Countdown/index.cjs +3 -3
  115. package/dist/Countdown/index.mjs +3 -3
  116. package/dist/{Countdown-DftAvKEr.js → Countdown-BK7D87bl.js} +1 -1
  117. package/dist/{Countdown-yNdr51qa.js → Countdown-gpu3d927.js} +1 -1
  118. package/dist/DataDump/index.cjs +15 -15
  119. package/dist/DataDump/index.mjs +15 -15
  120. package/dist/{DataDump-CT_4I5GZ.js → DataDump-BJhiJhKk.js} +3 -3
  121. package/dist/{DataDump-BA20KfuG.js → DataDump-D1XKPbwS.js} +3 -3
  122. package/dist/DataList/components/DataListAction/index.cjs +4 -4
  123. package/dist/DataList/components/DataListAction/index.mjs +4 -4
  124. package/dist/DataList/components/DataListActions/index.cjs +30 -30
  125. package/dist/DataList/components/DataListActions/index.mjs +30 -30
  126. package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
  127. package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
  128. package/dist/DataList/components/DataListBulkActions/index.cjs +32 -32
  129. package/dist/DataList/components/DataListBulkActions/index.mjs +32 -32
  130. package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
  131. package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
  132. package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
  133. package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
  134. package/dist/DataList/components/DataListFilters/index.cjs +53 -53
  135. package/dist/DataList/components/DataListFilters/index.mjs +53 -53
  136. package/dist/DataList/components/DataListHeader/index.cjs +39 -39
  137. package/dist/DataList/components/DataListHeader/index.mjs +39 -39
  138. package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
  139. package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
  140. package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
  141. package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
  142. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
  143. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
  144. package/dist/DataList/components/DataListItem/index.cjs +38 -38
  145. package/dist/DataList/components/DataListItem/index.mjs +38 -38
  146. package/dist/DataList/components/DataListItemActions/index.cjs +31 -31
  147. package/dist/DataList/components/DataListItemActions/index.mjs +31 -31
  148. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
  149. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
  150. package/dist/DataList/components/DataListItems/index.cjs +39 -39
  151. package/dist/DataList/components/DataListItems/index.mjs +39 -39
  152. package/dist/DataList/components/DataListLayout/index.cjs +42 -42
  153. package/dist/DataList/components/DataListLayout/index.mjs +42 -42
  154. package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
  155. package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
  156. package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
  157. package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
  158. package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
  159. package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
  160. package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
  161. package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
  162. package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
  163. package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
  164. package/dist/DataList/components/DataListSearch/index.cjs +20 -20
  165. package/dist/DataList/components/DataListSearch/index.mjs +20 -20
  166. package/dist/DataList/components/DataListStatusBar/index.cjs +21 -21
  167. package/dist/DataList/components/DataListStatusBar/index.mjs +21 -21
  168. package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
  169. package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
  170. package/dist/DataList/components/DataListTags/index.cjs +4 -4
  171. package/dist/DataList/components/DataListTags/index.mjs +4 -4
  172. package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
  173. package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
  174. package/dist/DataList/context/DataListContext/index.cjs +3 -3
  175. package/dist/DataList/context/DataListContext/index.mjs +3 -3
  176. package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
  177. package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
  178. package/dist/DataList/index.cjs +84 -84
  179. package/dist/DataList/index.mjs +84 -84
  180. package/dist/{DataList-d8Rd5ILh.js → DataList-Bx1Sxjto.js} +21 -21
  181. package/dist/{DataList-DE0LuHd2.js → DataList-DsxkTv_U.js} +21 -21
  182. package/dist/{DataList.utils-D9EdDiIA.js → DataList.utils-CrlmjG88.js} +9 -9
  183. package/dist/{DataList.utils-D-rJeRoG.js → DataList.utils-CtRwgb-P.js} +9 -9
  184. package/dist/{DataListAction-qv7ezBSl.js → DataListAction-CLLR6wRm.js} +3 -3
  185. package/dist/{DataListAction-DRaOJBRs.js → DataListAction-DcWR-Pea.js} +3 -3
  186. package/dist/{DataListActions-D1UxKkd4.js → DataListActions-C5HPfbiz.js} +6 -6
  187. package/dist/{DataListActions-CBgy_ftk.js → DataListActions-n8zIB-Ts.js} +6 -6
  188. package/dist/{DataListActionsMenu-DyIPTdxT.js → DataListActionsMenu-CCH8jvNj.js} +5 -5
  189. package/dist/{DataListActionsMenu-DUqHi4k1.js → DataListActionsMenu-DZ6R6Qc7.js} +5 -5
  190. package/dist/{DataListBulkActions-Di7y-tHL.js → DataListBulkActions-CyUkcehW.js} +3 -3
  191. package/dist/{DataListBulkActions-CDHCFts5.js → DataListBulkActions-DE-YSbca.js} +3 -3
  192. package/dist/{DataListContext-zcO6Wxmg.js → DataListContext-CWoiQoPD.js} +1 -1
  193. package/dist/{DataListContext-H8vwjGaA.js → DataListContext-DAjLd7Ln.js} +1 -1
  194. package/dist/{DataListEmptyState-BADtYatm.js → DataListEmptyState-BfK18t_x.js} +4 -4
  195. package/dist/{DataListEmptyState-CnvGrt6F.js → DataListEmptyState-CvowU9rh.js} +4 -4
  196. package/dist/{DataListFilters-B0Uj4Bbn.js → DataListFilters-D_Q8ZVMa.js} +5 -5
  197. package/dist/{DataListFilters-DyJW51Jl.js → DataListFilters-dUPjuZkg.js} +5 -5
  198. package/dist/{DataListHeader-JHG2DN6r.js → DataListHeader-DZt1f0fk.js} +11 -11
  199. package/dist/{DataListHeader-DEX4djGY.js → DataListHeader-Dyax-_S3.js} +11 -11
  200. package/dist/{DataListHeaderTile-4UIquOix.js → DataListHeaderTile-BLBtwJN1.js} +5 -5
  201. package/dist/{DataListHeaderTile-Eza_Opy3.js → DataListHeaderTile-CWFXMesI.js} +5 -5
  202. package/dist/{DataListItem-qW21VBOK.js → DataListItem-DrTO9-vB.js} +10 -10
  203. package/dist/{DataListItem-BRMbyITj.js → DataListItem-zRjOrPZL.js} +10 -10
  204. package/dist/{DataListItemActions-B9Cnn5ra.js → DataListItemActions-BrTpNTmp.js} +2 -2
  205. package/dist/{DataListItemActions-XmGaaAgt.js → DataListItemActions-CgqYzP0M.js} +2 -2
  206. package/dist/{DataListItemActionsOverflow-aHcmDxRo.js → DataListItemActionsOverflow-BebHFOb1.js} +3 -3
  207. package/dist/{DataListItemActionsOverflow-BNVCibjO.js → DataListItemActionsOverflow-CJBK11yl.js} +3 -3
  208. package/dist/{DataListItemClickable-C2MOVFHM.js → DataListItemClickable-BLtI95kz.js} +3 -3
  209. package/dist/{DataListItemClickable-BbsvN4e9.js → DataListItemClickable-DIWgc9p7.js} +3 -3
  210. package/dist/{DataListItems-CpoLILZH.js → DataListItems-B9HkZphV.js} +3 -3
  211. package/dist/{DataListItems-EjgWf3Md.js → DataListItems-RBT7siw6.js} +3 -3
  212. package/dist/{DataListLayout-wxLer9sm.js → DataListLayout-BEWPV_31.js} +3 -3
  213. package/dist/{DataListLayout-C1jdHo9u.js → DataListLayout-quGKNz-r.js} +3 -3
  214. package/dist/{DataListLayoutActions-DQrJ3j7F.js → DataListLayoutActions-C2wtrfEn.js} +4 -4
  215. package/dist/{DataListLayoutActions-m5_BhqYh.js → DataListLayoutActions-CathaPDn.js} +4 -4
  216. package/dist/{DataListLayoutContext-B0yb-NBr.js → DataListLayoutContext-CpZUvvbN.js} +1 -1
  217. package/dist/{DataListLayoutContext-7z0rPFqY.js → DataListLayoutContext-CuhdFB4R.js} +1 -1
  218. package/dist/{DataListLoadMore-DcJ2KCag.js → DataListLoadMore-CtpubI2-.js} +5 -5
  219. package/dist/{DataListLoadMore-BJCI0r5A.js → DataListLoadMore-Dws99i2h.js} +5 -5
  220. package/dist/{DataListLoadingState-D_SG5_vO.js → DataListLoadingState-CiHp_NIP.js} +3 -3
  221. package/dist/{DataListLoadingState-7RfeVe14.js → DataListLoadingState-DOr0qsyX.js} +3 -3
  222. package/dist/{DataListOverflowFade-DPWLTPhn.js → DataListOverflowFade-B9aLCveE.js} +1 -1
  223. package/dist/{DataListOverflowFade-8ziI641_.js → DataListOverflowFade-CUamQC9w.js} +1 -1
  224. package/dist/{DataListSearch-C_D11YMx.js → DataListSearch-B2_qIPni.js} +6 -6
  225. package/dist/{DataListSearch-CjHrP829.js → DataListSearch-CcLxmDUQ.js} +6 -6
  226. package/dist/{DataListSort-QzZB8FJI.js → DataListSort-BV4xQJPz.js} +6 -6
  227. package/dist/{DataListSort-BSil-rJv.js → DataListSort-CBWqUUy4.js} +6 -6
  228. package/dist/{DataListSortingOptions-Cj-9oJqY.js → DataListSortingOptions-D1-I9aBM.js} +3 -3
  229. package/dist/{DataListSortingOptions-BqnPYdl6.js → DataListSortingOptions-EEMqDjMl.js} +3 -3
  230. package/dist/{DataListStatusBar-BemmD5Dd.js → DataListStatusBar-CiBTMNPP.js} +2 -2
  231. package/dist/{DataListStatusBar-C2DHT2wm.js → DataListStatusBar-K2LgWWLB.js} +2 -2
  232. package/dist/{DataListStickyHeader-DuLIUwmK.js → DataListStickyHeader-DDUHoQtL.js} +1 -1
  233. package/dist/{DataListStickyHeader-BSp1dQtI.js → DataListStickyHeader-QznJcqbn.js} +1 -1
  234. package/dist/{DataListTags-BWt7eBN-.js → DataListTags-CgwFwAa8.js} +2 -2
  235. package/dist/{DataListTags-B9oL7UFJ.js → DataListTags-Dg3AYhFG.js} +2 -2
  236. package/dist/{DataListTotalCount-DZYG8Rgp.js → DataListTotalCount-Dt0v_nmp.js} +2 -2
  237. package/dist/{DataListTotalCount-CEA9EsL6.js → DataListTotalCount-ha6C5FVM.js} +2 -2
  238. package/dist/DataTable/index.cjs +20 -20
  239. package/dist/DataTable/index.mjs +20 -20
  240. package/dist/DataTable/test-utilities/index.cjs +7 -7
  241. package/dist/DataTable/test-utilities/index.mjs +7 -7
  242. package/dist/{DataTable-CuqfFKed.js → DataTable-B4rr3wcM.js} +6 -6
  243. package/dist/{DataTable-BlCQCiIc.js → DataTable-BOCGkQ3D.js} +6 -6
  244. package/dist/DatePicker/index.cjs +18 -18
  245. package/dist/DatePicker/index.mjs +18 -18
  246. package/dist/{DatePicker-BgPNFunz.js → DatePicker-DRrTii5L.js} +14 -14
  247. package/dist/{DatePicker-gj1RtbqK.js → DatePicker-Pgex4xvU.js} +14 -14
  248. package/dist/{DayOfMonthSelect-BNfxRR9_.js → DayOfMonthSelect-BJu66IX4.js} +2 -2
  249. package/dist/{DayOfMonthSelect-b3w_grby.js → DayOfMonthSelect-Bh1FWo_g.js} +2 -2
  250. package/dist/DescriptionList/index.cjs +2 -2
  251. package/dist/DescriptionList/index.mjs +2 -2
  252. package/dist/{DescriptionList-EWWB_OjT.js → DescriptionList-C3NLISIi.js} +1 -1
  253. package/dist/{DescriptionList-Pjo4tAMq.js → DescriptionList-DA8lHrKd.js} +1 -1
  254. package/dist/Disclosure/index.cjs +9 -9
  255. package/dist/Disclosure/index.mjs +9 -9
  256. package/dist/{Disclosure-BN9gd8SY.js → Disclosure-BbGzY2T9.js} +3 -3
  257. package/dist/{Disclosure-DEqpps8f.js → Disclosure-s4wGDSMU.js} +3 -3
  258. package/dist/Divider/index.cjs +1 -1
  259. package/dist/Divider/index.mjs +1 -1
  260. package/dist/Drawer/index.cjs +6 -6
  261. package/dist/Drawer/index.mjs +6 -6
  262. package/dist/{DrawerGrid-CcCuixKW.js → DrawerGrid-Dug0Rbj8.js} +2 -2
  263. package/dist/{DrawerGrid-CHwDiISu.js → DrawerGrid-i9zFtgPd.js} +2 -2
  264. package/dist/Emphasis/index.cjs +2 -2
  265. package/dist/Emphasis/index.mjs +2 -2
  266. package/dist/{Emphasis-CJsosMtc.js → Emphasis-D6Ye36Uu.js} +1 -1
  267. package/dist/{Emphasis-Au-Dc7U5.js → Emphasis-KncBYy2d.js} +1 -1
  268. package/dist/FeatureSwitch/index.cjs +13 -13
  269. package/dist/FeatureSwitch/index.mjs +13 -13
  270. package/dist/{FeatureSwitch-BJk6Gzhu.js → FeatureSwitch-B6xGO3n3.js} +7 -7
  271. package/dist/{FeatureSwitch-BP1vOTBH.js → FeatureSwitch-Bpm-yXIn.js} +7 -7
  272. package/dist/Flex/index.cjs +1 -1
  273. package/dist/Flex/index.mjs +1 -1
  274. package/dist/Form/index.cjs +2 -2
  275. package/dist/Form/index.mjs +2 -2
  276. package/dist/{Form-C9ceyu8Q.js → Form-BONhjPH4.js} +1 -1
  277. package/dist/{Form-BVgvD8aj.js → Form-C-IRf6Bn.js} +1 -1
  278. package/dist/FormField/index.cjs +9 -9
  279. package/dist/FormField/index.mjs +9 -9
  280. package/dist/{FormField-D858o3FI.js → FormField-CbPkTtEY.js} +7 -7
  281. package/dist/{FormField-lm5acWWb.js → FormField-DBiYVKzn.js} +7 -7
  282. package/dist/FormatDate/index.cjs +1 -1
  283. package/dist/FormatDate/index.mjs +1 -1
  284. package/dist/FormatEmail/index.cjs +1 -1
  285. package/dist/FormatEmail/index.mjs +1 -1
  286. package/dist/FormatFile/index.cjs +21 -21
  287. package/dist/FormatFile/index.mjs +21 -21
  288. package/dist/{FormatFile-BZJrH-Qn.js → FormatFile-Du8OH5u8.js} +7 -7
  289. package/dist/{FormatFile-C1PeThvf.js → FormatFile-r0IeHP8f.js} +7 -7
  290. package/dist/FormatRelativeDateTime/index.cjs +1 -1
  291. package/dist/FormatRelativeDateTime/index.mjs +1 -1
  292. package/dist/FormatTime/index.cjs +1 -1
  293. package/dist/FormatTime/index.mjs +1 -1
  294. package/dist/Gallery/index.cjs +28 -28
  295. package/dist/Gallery/index.mjs +28 -28
  296. package/dist/{Gallery-B8oebnsx.js → Gallery-D-oXTuI7.js} +3 -3
  297. package/dist/{Gallery-BCL88l_u.js → Gallery-DdVFOaDH.js} +3 -3
  298. package/dist/Glimmer/index.cjs +3 -3
  299. package/dist/Glimmer/index.mjs +3 -3
  300. package/dist/{Glimmer-4rJTN2UQ.js → Glimmer-CDpBfdI2.js} +2 -2
  301. package/dist/{Glimmer-B002MNNu.js → Glimmer-DUD_RbUb.js} +2 -2
  302. package/dist/Grid/InternalGridCell/index.cjs +1 -1
  303. package/dist/Grid/InternalGridCell/index.mjs +1 -1
  304. package/dist/Grid/index.cjs +5 -5
  305. package/dist/Grid/index.mjs +5 -5
  306. package/dist/{Grid-DFL2cS4N.js → Grid-CSd9fq5H.js} +2 -2
  307. package/dist/{Grid-DlHNjTLg.js → Grid-DJtB5-Db.js} +2 -2
  308. package/dist/Heading/index.cjs +2 -2
  309. package/dist/Heading/index.mjs +2 -2
  310. package/dist/{Heading-vX3a7y_S.js → Heading-BKMr313j.js} +1 -1
  311. package/dist/{Heading-CzdEew1j.js → Heading-CEMY8Zdw.js} +1 -1
  312. package/dist/Icon/index.cjs +1 -1
  313. package/dist/Icon/index.mjs +1 -1
  314. package/dist/InlineLabel/index.cjs +2 -2
  315. package/dist/InlineLabel/index.mjs +2 -2
  316. package/dist/{InlineLabel-BjRMW9rz.js → InlineLabel-DfJBuid_.js} +1 -1
  317. package/dist/{InlineLabel-CRmS0EGF.js → InlineLabel-iKHRC7Ec.js} +1 -1
  318. package/dist/InputAvatar/index.cjs +13 -13
  319. package/dist/InputAvatar/index.mjs +13 -13
  320. package/dist/{InputAvatar-Bhpe3Dbx.js → InputAvatar-DYrmv-F-.js} +5 -5
  321. package/dist/{InputAvatar-DZG6w0Pi.js → InputAvatar-Diw2HZZO.js} +5 -5
  322. package/dist/InputDate/index.cjs +25 -25
  323. package/dist/InputDate/index.mjs +25 -25
  324. package/dist/{InputDate-DtOqj-te.js → InputDate-129kOzX2.js} +2 -2
  325. package/dist/{InputDate-Lhye_Sdh.js → InputDate-BI8sGz5W.js} +2 -2
  326. package/dist/InputEmail/index.cjs +10 -10
  327. package/dist/InputEmail/index.mjs +10 -10
  328. package/dist/{InputEmail-B7SzJq3R.js → InputEmail-0TRSiY-c.js} +1 -1
  329. package/dist/{InputEmail-CLIumdpK.js → InputEmail-DQzKKaol.js} +1 -1
  330. package/dist/InputFile/index.cjs +10 -10
  331. package/dist/InputFile/index.mjs +10 -10
  332. package/dist/{InputFile-XARn3mKz.js → InputFile-CXNyBwlA.js} +6 -6
  333. package/dist/{InputFile-ByY378Wh.js → InputFile-D6n1_Haa.js} +6 -6
  334. package/dist/InputGroup/index.cjs +1 -1
  335. package/dist/InputGroup/index.mjs +1 -1
  336. package/dist/InputNumber/index.cjs +10 -10
  337. package/dist/InputNumber/index.mjs +10 -10
  338. package/dist/{InputNumber-MTRrnVg9.js → InputNumber-Clo_iXm6.js} +1 -1
  339. package/dist/{InputNumber-xBI330Vd.js → InputNumber-DQ77APXu.js} +1 -1
  340. package/dist/InputPassword/index.cjs +10 -10
  341. package/dist/InputPassword/index.mjs +10 -10
  342. package/dist/{InputPassword-BeNsIu6U.js → InputPassword-Bcz197a7.js} +1 -1
  343. package/dist/{InputPassword-CQnkQOkn.js → InputPassword-CSTFCpk5.js} +1 -1
  344. package/dist/InputPhoneNumber/index.cjs +10 -10
  345. package/dist/InputPhoneNumber/index.mjs +10 -10
  346. package/dist/{InputPhoneNumber-BGRFZnPH.js → InputPhoneNumber-CT5EIxf5.js} +2 -2
  347. package/dist/{InputPhoneNumber-CUlUKWzl.js → InputPhoneNumber-D1TRr5_s.js} +2 -2
  348. package/dist/InputText/index.cjs +11 -11
  349. package/dist/InputText/index.mjs +11 -11
  350. package/dist/{InputText-Dp7U29-d.js → InputText-D7eKGVCc.js} +2 -2
  351. package/dist/{InputText-BtA8UbUL.js → InputText-fJM7HcSQ.js} +2 -2
  352. package/dist/InputTime/index.cjs +14 -14
  353. package/dist/InputTime/index.mjs +14 -14
  354. package/dist/{InputTime-DpHQPAt1.js → InputTime-BcBuzGBP.js} +3 -3
  355. package/dist/{InputTime-L4avGIAx.js → InputTime-CIgZ8pXe.js} +3 -3
  356. package/dist/InputValidation/index.cjs +4 -4
  357. package/dist/InputValidation/index.mjs +4 -4
  358. package/dist/{InputValidation-BWlZmY6p.js → InputValidation-CVj2b0t0.js} +2 -2
  359. package/dist/{InputValidation-ZBbBt7Vh.js → InputValidation-CdtuqV6X.js} +2 -2
  360. package/dist/InternalChipDismissible-BAHZA2N1.js +63 -0
  361. package/dist/InternalChipDismissible-BNrYWcbt.js +66 -0
  362. package/dist/LightBox/index.cjs +14 -14
  363. package/dist/LightBox/index.mjs +14 -14
  364. package/dist/{LightBox-BTdg_lBx.js → LightBox-D-56WQIr.js} +7 -7
  365. package/dist/{LightBox-Bl7EOB4R.js → LightBox-DNlXVL7J.js} +7 -7
  366. package/dist/Link/index.cjs +1 -1
  367. package/dist/Link/index.mjs +1 -1
  368. package/dist/List/index.cjs +20 -20
  369. package/dist/List/index.mjs +20 -20
  370. package/dist/{List-CFXQW0nj.js → List-DM11eHDL.js} +10 -10
  371. package/dist/{List-BOHLuMY6.js → List-TenD9JTz.js} +10 -10
  372. package/dist/Markdown/index.cjs +9 -9
  373. package/dist/Markdown/index.mjs +9 -9
  374. package/dist/{Markdown-xpKhEH1d.js → Markdown-CHhTuxFp.js} +7 -7
  375. package/dist/{Markdown-DAyiOn-F.js → Markdown-CLx4B787.js} +7 -7
  376. package/dist/Menu/index.cjs +10 -10
  377. package/dist/Menu/index.mjs +10 -10
  378. package/dist/{Menu-CNCYGiJv.js → Menu-N5Gcw3jf.js} +8 -8
  379. package/dist/{Menu-CG-yZwZx.js → Menu-mibx44p2.js} +8 -8
  380. package/dist/Modal/index.cjs +9 -9
  381. package/dist/Modal/index.mjs +9 -9
  382. package/dist/{Modal-De9iCL8z.js → Modal-2fsgVxnL.js} +6 -6
  383. package/dist/{Modal-6G5_t3pi.js → Modal-Ns_tzMj9.js} +6 -6
  384. package/dist/MultiSelect/index.cjs +6 -6
  385. package/dist/MultiSelect/index.mjs +6 -6
  386. package/dist/{MultiSelect-CywTml6I.js → MultiSelect-BSNoFDG-.js} +3 -3
  387. package/dist/{MultiSelect-ebdhk4eI.js → MultiSelect-BwBmSg_0.js} +3 -3
  388. package/dist/{Option-IyOIAlPa.js → Option-2JOvhijU.js} +1 -1
  389. package/dist/{Option-CJx9B1vi.js → Option-CjyGl_Kg.js} +1 -1
  390. package/dist/Page/index.cjs +24 -24
  391. package/dist/Page/index.mjs +24 -24
  392. package/dist/{Page-BSfgKtom.js → Page-C_wsQbaG.js} +8 -8
  393. package/dist/{Page-_kBqBDXd.js → Page-Dm2aAugl.js} +8 -8
  394. package/dist/Popover/index.cjs +6 -6
  395. package/dist/Popover/index.mjs +6 -6
  396. package/dist/{Popover-Dkuz9eMX.js → Popover-AxyBAft3.js} +2 -2
  397. package/dist/{Popover-NcHNtFXR.js → Popover-BqPpUFP0.js} +2 -2
  398. package/dist/ProgressBar/index.cjs +1 -1
  399. package/dist/ProgressBar/index.mjs +1 -1
  400. package/dist/RadioGroup/index.cjs +3 -3
  401. package/dist/RadioGroup/index.mjs +3 -3
  402. package/dist/{RadioGroup-C-O0AMan.js → RadioGroup-DxbptRQ9.js} +1 -1
  403. package/dist/{RadioGroup-XRgmUq7P.js → RadioGroup-DzWLtFVu.js} +1 -1
  404. package/dist/RecurringSelect/components/index.cjs +4 -4
  405. package/dist/RecurringSelect/components/index.mjs +4 -4
  406. package/dist/RecurringSelect/index.cjs +16 -16
  407. package/dist/RecurringSelect/index.mjs +16 -16
  408. package/dist/{RecurringSelect-BMxEpAzD.js → RecurringSelect-ChDS0kxP.js} +6 -6
  409. package/dist/{RecurringSelect-CFyadD2C.js → RecurringSelect-D3jIXBkc.js} +6 -6
  410. package/dist/Select/index.cjs +10 -10
  411. package/dist/Select/index.mjs +10 -10
  412. package/dist/SideDrawer/index.cjs +11 -11
  413. package/dist/SideDrawer/index.mjs +11 -11
  414. package/dist/{SideDrawer-B00H5OBA.js → SideDrawer-CwQTppgN.js} +7 -7
  415. package/dist/{SideDrawer-DjQK8S7T.js → SideDrawer-DjJVq1N5.js} +7 -7
  416. package/dist/Spinner/index.cjs +1 -1
  417. package/dist/Spinner/index.mjs +1 -1
  418. package/dist/StatusIndicator/index.cjs +1 -1
  419. package/dist/StatusIndicator/index.mjs +1 -1
  420. package/dist/StatusLabel/index.cjs +3 -3
  421. package/dist/StatusLabel/index.mjs +3 -3
  422. package/dist/{StatusLabel-evTfGyBy.js → StatusLabel-DHKw-Fzp.js} +2 -2
  423. package/dist/{StatusLabel-B8d2nI-p.js → StatusLabel-WC-DyKrx.js} +2 -2
  424. package/dist/Switch/index.cjs +2 -2
  425. package/dist/Switch/index.mjs +2 -2
  426. package/dist/{Switch-BvF_gkqu.js → Switch-BzwHmmHP.js} +1 -1
  427. package/dist/{Switch-Bt_ctl3D.js → Switch-Dzxl7Mzn.js} +1 -1
  428. package/dist/Table/index.cjs +1 -1
  429. package/dist/Table/index.mjs +1 -1
  430. package/dist/Tabs/index.cjs +7 -7
  431. package/dist/Tabs/index.mjs +7 -7
  432. package/dist/{Tabs-DxfO4v-y.js → Tabs-BhQ0Pd9h.js} +2 -2
  433. package/dist/{Tabs-CL2DQoRv.js → Tabs-CmAhxs49.js} +2 -2
  434. package/dist/Text/index.cjs +2 -2
  435. package/dist/Text/index.mjs +2 -2
  436. package/dist/{Text-D8Y7lL_F.js → Text-CqJJlMoN.js} +1 -1
  437. package/dist/{Text-DuRqrUA6.js → Text-nzswcFg-.js} +1 -1
  438. package/dist/Toast/index.cjs +4 -4
  439. package/dist/Toast/index.mjs +4 -4
  440. package/dist/Tooltip/Tooltip.d.ts +2 -1
  441. package/dist/Tooltip/index.cjs +3 -3
  442. package/dist/Tooltip/index.mjs +3 -3
  443. package/dist/{Tooltip-BemPZKPv.js → Tooltip-Ba_eXRx1.js} +6 -4
  444. package/dist/{Tooltip-DP45bb-m.js → Tooltip-DEp5u2la.js} +6 -4
  445. package/dist/Typography/index.cjs +1 -1
  446. package/dist/Typography/index.mjs +1 -1
  447. package/dist/{_baseAssignValue-DbybR8PI.js → _baseAssignValue-DyS_OdgN.js} +1 -1
  448. package/dist/{_baseAssignValue-DLrHbtUF.js → _baseAssignValue-VXKZK9Da.js} +1 -1
  449. package/dist/{_baseEach-BDZ7zkao.js → _baseEach-CzRNZRnN.js} +7 -7
  450. package/dist/{_baseEach-hlUsgdoT.js → _baseEach-fDf9Whhw.js} +7 -7
  451. package/dist/{_baseFlatten-BxVB4ypU.js → _baseFlatten-BUFMZIqx.js} +3 -3
  452. package/dist/{_baseFlatten-DNlluDxz.js → _baseFlatten-DsIBwXEd.js} +3 -3
  453. package/dist/{_getAllKeys-Bgo0foxj.js → _getAllKeys-BA-zk02m.js} +5 -5
  454. package/dist/{_getAllKeys-CZ-o-px8.js → _getAllKeys-DnQy5MX0.js} +5 -5
  455. package/dist/{_getTag-CkavLuqX.js → _getTag-BLthpkbl.js} +2 -2
  456. package/dist/{_getTag-CrE_M5dH.js → _getTag-ChjwBK_M.js} +2 -2
  457. package/dist/{_isIterateeCall-BWWHsGSj.js → _isIterateeCall-BqH6hlao.js} +4 -4
  458. package/dist/{_isIterateeCall-CD_otBJv.js → _isIterateeCall-aIR_uYa0.js} +4 -4
  459. package/dist/{_setToString-BOZjEXz-.js → _setToString-B5uSWesy.js} +1 -1
  460. package/dist/{_setToString-0BKDivBf.js → _setToString-Blfegnb1.js} +1 -1
  461. package/dist/{debounce-cevgOBoK.js → debounce-ECVkqv0U.js} +3 -3
  462. package/dist/{debounce-D5kYtzjj.js → debounce-lb4YcXnw.js} +3 -3
  463. package/dist/{helpers-D-HJXwfp.js → helpers-Bl9lI7ua.js} +1 -1
  464. package/dist/{helpers-B-bBr2g-.js → helpers-BqyeeJwH.js} +1 -1
  465. package/dist/{identity-0FqeluJk.js → identity-6LCwfdYl.js} +2 -2
  466. package/dist/{identity-fy78jxRs.js → identity-rfHtxfoR.js} +2 -2
  467. package/dist/{index-DABgCWmx.js → index-Bmmhze4J.js} +1 -1
  468. package/dist/{index-CumEEkyI.js → index-D6DBWZnn.js} +1 -1
  469. package/dist/index.cjs +160 -160
  470. package/dist/index.mjs +158 -158
  471. package/dist/{isObjectLike-AImsD5Tb.js → isObjectLike-Dvb2t0Dk.js} +1 -1
  472. package/dist/{isObjectLike-CJ14AINQ.js → isObjectLike-Y-Ib2btE.js} +1 -1
  473. package/dist/{isSymbol-Q2CVmxIW.js → isSymbol-BzJoujNo.js} +1 -1
  474. package/dist/{isSymbol-uw8S7evZ.js → isSymbol-DIwKPpFg.js} +1 -1
  475. package/dist/{isTypedArray-CchGeWiz.js → isTypedArray-CJU_mtoh.js} +1 -1
  476. package/dist/{isTypedArray-BgdZZE8e.js → isTypedArray-DSKXOAsW.js} +1 -1
  477. package/dist/{keysIn-DPy7oUrs.js → keysIn-BX2tIBmg.js} +4 -4
  478. package/dist/{keysIn-s8rHsVvE.js → keysIn-DFyME3Uh.js} +4 -4
  479. package/dist/{noop-BaeW8hGi.js → noop-CCv9MSoZ.js} +1 -1
  480. package/dist/{noop-Cv_z34gg.js → noop-Cf-1fuL4.js} +1 -1
  481. package/dist/{showToast-FHWC4Yby.js → showToast-pnPqFzve.js} +3 -3
  482. package/dist/{showToast-CObXQwHP.js → showToast-q-aZ04EP.js} +3 -3
  483. package/dist/styles.css +118 -117
  484. package/dist/{throttle-CKCYBgGY.js → throttle-B7MRjFl_.js} +3 -3
  485. package/dist/{throttle-CQbE4QMA.js → throttle-C9KeTR4t.js} +3 -3
  486. package/dist/{updateTheme-D2dTABjv.js → updateTheme-B1QR-_IL.js} +8 -8
  487. package/dist/{updateTheme-DFwZ48pS.js → updateTheme-kGGzdb9i.js} +8 -8
  488. package/dist/{useActiveLayout-DYMMTfzi.js → useActiveLayout-B3l7it51.js} +2 -2
  489. package/dist/{useActiveLayout-CWisXVbX.js → useActiveLayout-x_JOVYOp.js} +2 -2
  490. package/dist/{useAssert-DY51i5Ut.js → useAssert-C5hakLnL.js} +2 -2
  491. package/dist/{useAssert-CX96KQR2.js → useAssert-D-p6vtl7.js} +2 -2
  492. package/dist/{useBatchSelect-VFR2ab0x.js → useBatchSelect-CA3VIs84.js} +1 -1
  493. package/dist/{useBatchSelect-BO9t3nhb.js → useBatchSelect-Db7vLmPF.js} +1 -1
  494. package/dist/{useIsMounted-XwoI3PMb.js → useIsMounted-BIHqQDRI.js} +1 -1
  495. package/dist/{useIsMounted-DI9SHTXW.js → useIsMounted-TFp3DgIc.js} +1 -1
  496. package/dist/{useResizeObserver-Fvz7PIyg.js → useResizeObserver-Bfn6fCQK.js} +2 -2
  497. package/dist/{useResizeObserver-CSyhp4yl.js → useResizeObserver-DiLO8OMf.js} +2 -2
  498. package/dist/{useResponsiveSizing-BzaT2Fft.js → useResponsiveSizing-CTv-vmIO.js} +1 -1
  499. package/dist/{useResponsiveSizing-Dcb3n929.js → useResponsiveSizing-akStZwzv.js} +1 -1
  500. package/dist/{useScrollToActive-B3HTGWwn.js → useScrollToActive-5nJNVekd.js} +10 -10
  501. package/dist/{useScrollToActive-CjojLHiK.js → useScrollToActive-CzQuTmpI.js} +10 -10
  502. package/package.json +2 -2
  503. package/dist/Chip-BlFdroZ1.js +0 -78
  504. package/dist/Chip-C0ZX9Z1G.js +0 -75
  505. package/dist/InternalChipDismissible-BsQP3F8H.js +0 -152
  506. package/dist/InternalChipDismissible-Cwy9bTOa.js +0 -157
  507. /package/dist/{AnimatedPresence-D-uLVLKJ.js → AnimatedPresence-BACXi_Ww.js} +0 -0
  508. /package/dist/{AnimatedPresence-ajmdlw8G.js → AnimatedPresence-CE2LjqVP.js} +0 -0
  509. /package/dist/{AtlantisContext-C55qHHBJ.js → AtlantisContext-DuiViZUJ.js} +0 -0
  510. /package/dist/{AtlantisContext-CNDgOaIo.js → AtlantisContext-DwjPKpAK.js} +0 -0
  511. /package/dist/{Body-DN42g6Ws.js → Body-BolhZ5ob.js} +0 -0
  512. /package/dist/{Body-Bx2DFMpk.js → Body-DrZh9Kjs.js} +0 -0
  513. /package/dist/{Content-D1W3AqG7.js → Content-BwjC-ala.js} +0 -0
  514. /package/dist/{Content-DCkkU0MP.js → Content-oqxxuW8Z.js} +0 -0
  515. /package/dist/{DataList-C4IMLv3B.js → DataList-BO_ndws4.js} +0 -0
  516. /package/dist/{DataList-D0XQyAx-.js → DataList-DWg0A5tl.js} +0 -0
  517. /package/dist/{DataList.const-DoEhEdyM.js → DataList.const-CON9b9E7.js} +0 -0
  518. /package/dist/{DataList.const-Bhl02a1v.js → DataList.const-rYVuqnYD.js} +0 -0
  519. /package/dist/{DataListLayoutContext-Dla_VLyg.js → DataListLayoutContext-C1DIcsvB.js} +0 -0
  520. /package/dist/{DataListLayoutContext-BGukwrZ7.js → DataListLayoutContext-Cn_kuRvH.js} +0 -0
  521. /package/dist/{Divider-DaDrTLlS.js → Divider-8UdzHaql.js} +0 -0
  522. /package/dist/{Divider-wlptG3_L.js → Divider-U3r10Goc.js} +0 -0
  523. /package/dist/{Flex-CLTDGgwP.js → Flex-CWBb1Tom.js} +0 -0
  524. /package/dist/{Flex-Mnbov01h.js → Flex-XG-MSJFy.js} +0 -0
  525. /package/dist/{FormatDate-ga_BW8_d.js → FormatDate-CQ3fe1rG.js} +0 -0
  526. /package/dist/{FormatDate-C4KerLsR.js → FormatDate-wwobcubI.js} +0 -0
  527. /package/dist/{FormatEmail-BPyJ5Qwo.js → FormatEmail-Be-w7RAc.js} +0 -0
  528. /package/dist/{FormatEmail-1hJ1IYT4.js → FormatEmail-CGysbxsf.js} +0 -0
  529. /package/dist/{FormatRelativeDateTime-BpHYUKWj.js → FormatRelativeDateTime-CdgOQ6P2.js} +0 -0
  530. /package/dist/{FormatRelativeDateTime-Bu2jGrST.js → FormatRelativeDateTime-DwcE34Ou.js} +0 -0
  531. /package/dist/{FormatTime-pJC-xCsq.js → FormatTime-B8I-FSRP.js} +0 -0
  532. /package/dist/{FormatTime-DQUEly9E.js → FormatTime-BiWcLLPb.js} +0 -0
  533. /package/dist/{Icon-C_ATuSY9.js → Icon-Cjt1RIRg.js} +0 -0
  534. /package/dist/{Icon-Ca8CX9hv.js → Icon-DpzczQqp.js} +0 -0
  535. /package/dist/{InputGroup-Czmm6vf0.js → InputGroup-DKpNa2S7.js} +0 -0
  536. /package/dist/{InputGroup-1lhkIDPl.js → InputGroup-DfWtF1ZD.js} +0 -0
  537. /package/dist/{InternalGridCell-e2wyci6e.js → InternalGridCell-D2tszSDv.js} +0 -0
  538. /package/dist/{InternalGridCell-Db9r7_xh.js → InternalGridCell-DxzyUhMK.js} +0 -0
  539. /package/dist/{Link-2etFixhw.js → Link-CbB9HjAM.js} +0 -0
  540. /package/dist/{Link-xtUkFqbq.js → Link-DlWNX3P3.js} +0 -0
  541. /package/dist/{ProgressBar-Bjwzo8tt.js → ProgressBar-BHVtNucy.js} +0 -0
  542. /package/dist/{ProgressBar-bJrVMIXs.js → ProgressBar-CfIjcfQp.js} +0 -0
  543. /package/dist/{Spinner-sJx2P1k6.js → Spinner-BlhfmTTt.js} +0 -0
  544. /package/dist/{Spinner-B3TY8m6J.js → Spinner-D3Bol8gN.js} +0 -0
  545. /package/dist/{StatusIndicator-BUybQLGJ.js → StatusIndicator-0DYOYAAV.js} +0 -0
  546. /package/dist/{StatusIndicator-DOlfH87H.js → StatusIndicator-BZbLF4qX.js} +0 -0
  547. /package/dist/{Typography-ozRgRzr8.js → Typography-D42B7kE5.js} +0 -0
  548. /package/dist/{Typography-t4LygyT6.js → Typography-DY4m8z8-.js} +0 -0
  549. /package/dist/{_baseFor-CBhTOg3Q.js → _baseFor-DvgFu5lz.js} +0 -0
  550. /package/dist/{_baseFor-yxqNa2_W.js → _baseFor-w0VgW0nw.js} +0 -0
  551. /package/dist/{_commonjsHelpers-CO8AuIBS.js → _commonjsHelpers-Cg1NQxbS.js} +0 -0
  552. /package/dist/{_commonjsHelpers-CrDd7DSr.js → _commonjsHelpers-CyYfyqe6.js} +0 -0
  553. /package/dist/{_polyfill-node.process-OLe9fZgv.js → _polyfill-node.process-BdcUcrAt.js} +0 -0
  554. /package/dist/{_polyfill-node.process-DjW_Zdis.js → _polyfill-node.process-T_YvfiZn.js} +0 -0
  555. /package/dist/{tslib.es6-DcjuYfPy.js → tslib.es6-XlV5_qZb.js} +0 -0
  556. /package/dist/{tslib.es6-CFBrS1cO.js → tslib.es6-Y9cd6NiT.js} +0 -0
  557. /package/dist/{useChildComponent-DbwDtpTQ.js → useChildComponent-C_NjACfT.js} +0 -0
  558. /package/dist/{useChildComponent-DU0cyVzS.js → useChildComponent-DdSkp258.js} +0 -0
  559. /package/dist/{useFocusTrap-4yH3GEt-.js → useFocusTrap-BrYe4HOP.js} +0 -0
  560. /package/dist/{useFocusTrap-BOe69gwZ.js → useFocusTrap-DxSbd6aW.js} +0 -0
  561. /package/dist/{useFormFieldFocus-XH4Iqe00.js → useFormFieldFocus-CbXKlkBn.js} +0 -0
  562. /package/dist/{useFormFieldFocus-BhX9j3Ms.js → useFormFieldFocus-DBoumsfr.js} +0 -0
  563. /package/dist/{useInView-C9sgiUNB.js → useInView-CkOu7cTb.js} +0 -0
  564. /package/dist/{useInView-xLCaGjWW.js → useInView-DccoJ7NK.js} +0 -0
  565. /package/dist/{useOnKeyDown-CbEiTx4K.js → useOnKeyDown-CWWW4fEf.js} +0 -0
  566. /package/dist/{useOnKeyDown-CClEXQf2.js → useOnKeyDown-DGdw-KaS.js} +0 -0
  567. /package/dist/{useRefocusOnActivator-DBUF80yL.js → useRefocusOnActivator-CGbFUEHJ.js} +0 -0
  568. /package/dist/{useRefocusOnActivator-CKUIgL3_.js → useRefocusOnActivator-DisAnNys.js} +0 -0
  569. /package/dist/{useSafeLayoutEffect-BWIAWjse.js → useSafeLayoutEffect-BFgoigWz.js} +0 -0
  570. /package/dist/{useSafeLayoutEffect-Coqh_pQg.js → useSafeLayoutEffect-C8kMLRP3.js} +0 -0
@@ -1,75 +0,0 @@
1
- import React from 'react';
2
- import classnames from 'classnames';
3
- import { u as useInView_2 } from './useInView-C9sgiUNB.js';
4
- import { A as Avatar } from './Avatar-DExEAvzT.js';
5
- import { I as Icon } from './Icon-C_ATuSY9.js';
6
- import { u as useChildComponent } from './useChildComponent-DU0cyVzS.js';
7
- import { T as Typography } from './Typography-ozRgRzr8.js';
8
- import { T as Tooltip } from './Tooltip-DP45bb-m.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 singleChild = useChildComponent(children, d => d.type === Avatar || d.type === Icon);
14
- return (React.createElement("span", { className: classnames(styles.prefix, !singleChild && styles.empty) }, singleChild));
15
- }
16
-
17
- function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
18
- var _a;
19
- let singleChild = useChildComponent(children, d => d.type === Icon);
20
- const handleClick = (event) => {
21
- if (!onClick) {
22
- return;
23
- }
24
- event.preventDefault();
25
- event.stopPropagation();
26
- onClick(event);
27
- };
28
- if (!allowedSuffixIcons.includes((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name)) {
29
- singleChild = undefined;
30
- }
31
- 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));
32
- }
33
- const allowedSuffixIcons = ["cross", "add", "checkmark", "arrowDown"];
34
-
35
- const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
36
- const classes = classnames(styles.chip, {
37
- [styles.invalid]: invalid,
38
- [styles.base]: variation === "base",
39
- [styles.subtle]: variation === "subtle",
40
- [styles.disabled]: disabled,
41
- });
42
- const prefix = useChildComponent(children, d => d.type === Chip.Prefix);
43
- const suffix = useChildComponent(children, d => d.type === Chip.Suffix);
44
- const [labelRef, labelFullyVisible] = useInView_2();
45
- const [headingRef, headingFullyVisible] = useInView_2();
46
- const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
47
- return (React.createElement(Tooltip, { message: tooltipMessage },
48
- 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" },
49
- prefix,
50
- React.createElement("div", { className: styles.chipContent },
51
- heading && (React.createElement(React.Fragment, null,
52
- React.createElement(Typography, { size: "base", fontWeight: "medium" },
53
- heading,
54
- React.createElement("span", { ref: headingRef, className: styles.chipLabelRef })),
55
- label && React.createElement("span", { className: styles.chipBar }))),
56
- React.createElement(Typography, { size: "base" },
57
- label,
58
- React.createElement("span", { ref: labelRef, className: styles.chipLabelRef })),
59
- !labelFullyVisible && (React.createElement("div", { className: styles.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
60
- suffix)));
61
- };
62
- function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
63
- let message = "";
64
- if (heading && !headingFullyVisible) {
65
- message = `${heading} | ${label}`;
66
- }
67
- else if (!labelFullyVisible) {
68
- message = label;
69
- }
70
- return message;
71
- }
72
- Chip.Prefix = ChipPrefix;
73
- Chip.Suffix = ChipSuffix;
74
-
75
- 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-CjojLHiK.js';
3
- import './isObjectLike-CJ14AINQ.js';
4
- import '@jobber/design';
5
- import 'react-popper';
6
- import { a as debounce } from './debounce-D5kYtzjj.js';
7
- import classnames from 'classnames';
8
- import { T as Text } from './Text-DuRqrUA6.js';
9
- import { B as Button } from './Button-Be5LsTsL.js';
10
- import { S as Spinner } from './Spinner-B3TY8m6J.js';
11
- import { u as useAssert_2 } from './useAssert-CX96KQR2.js';
12
- import { I as Icon } from './Icon-C_ATuSY9.js';
13
- import { A as Avatar } from './Avatar-DExEAvzT.js';
14
- import { T as Typography } from './Typography-ozRgRzr8.js';
15
- import { T as Tooltip } from './Tooltip-DP45bb-m.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-B3HTGWwn.js');
5
- require('./isObjectLike-AImsD5Tb.js');
6
- require('@jobber/design');
7
- require('react-popper');
8
- var debounce = require('./debounce-cevgOBoK.js');
9
- var classnames = require('classnames');
10
- var Text = require('./Text-D8Y7lL_F.js');
11
- var Button = require('./Button-DRMlRqkW.js');
12
- var Spinner = require('./Spinner-sJx2P1k6.js');
13
- var useAssert = require('./useAssert-DY51i5Ut.js');
14
- var Icon = require('./Icon-Ca8CX9hv.js');
15
- var Avatar = require('./Avatar-DrOeht23.js');
16
- var Typography = require('./Typography-t4LygyT6.js');
17
- var Tooltip = require('./Tooltip-BemPZKPv.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
File without changes
File without changes
File without changes
File without changes