@jobber/components 5.27.2 → 5.28.1-dependabot-9919b28.6

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 (571) 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-DuH4mq9a.js → AnimatedSwitcher-BmjvnFvR.js} +1 -1
  6. package/dist/{AnimatedSwitcher-BHgFgUkQ.js → AnimatedSwitcher-D5WqRRTY.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-BL6gdIi-.js → Autocomplete-BV_MXh9C.js} +9 -9
  14. package/dist/{Autocomplete-qkO1o9_z.js → Autocomplete-gj7ifj-O.js} +9 -9
  15. package/dist/Avatar/index.cjs +2 -2
  16. package/dist/Avatar/index.mjs +2 -2
  17. package/dist/{Avatar-Cn6WsKMC.js → Avatar-BD5kaesA.js} +1 -1
  18. package/dist/{Avatar-B-ZTRqFj.js → Avatar-BxpDoMDd.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-8E_8R89J.js → Banner-BAHMqVnw.js} +5 -5
  24. package/dist/{Banner-FPSmDjcD.js → Banner-BjIlf_bo.js} +5 -5
  25. package/dist/{BannerIcon-Cznztr2X.js → BannerIcon-BPjI8Jiv.js} +1 -1
  26. package/dist/{BannerIcon-CPp0E3bM.js → BannerIcon-DWb4P8u_.js} +1 -1
  27. package/dist/Box/index.cjs +2 -2
  28. package/dist/Box/index.mjs +2 -2
  29. package/dist/{Box-BsDpLgN-.js → Box-BObXEcuF.js} +1 -1
  30. package/dist/{Box-CGB67ZdG.js → Box-uVwTPld0.js} +1 -1
  31. package/dist/Button/index.cjs +3 -3
  32. package/dist/Button/index.mjs +3 -3
  33. package/dist/{Button-BARWNdDW.js → Button-ApoYsDAn.js} +2 -2
  34. package/dist/{Button-DQAv8a0h.js → Button-CL9VJQaC.js} +2 -2
  35. package/dist/ButtonDismiss/index.cjs +4 -4
  36. package/dist/ButtonDismiss/index.mjs +4 -4
  37. package/dist/{ButtonDismiss-DVfTsUD9.js → ButtonDismiss-DUAxZsJg.js} +1 -1
  38. package/dist/{ButtonDismiss-Dm8OY5a-.js → ButtonDismiss-DkHsiC6t.js} +1 -1
  39. package/dist/Card/index.cjs +12 -12
  40. package/dist/Card/index.mjs +12 -12
  41. package/dist/{Card-B8OCIC--.js → Card-CJU_hGgA.js} +3 -3
  42. package/dist/{Card-C6onUxFg.js → Card-zwWL_UD6.js} +3 -3
  43. package/dist/Checkbox/index.cjs +5 -5
  44. package/dist/Checkbox/index.mjs +5 -5
  45. package/dist/{Checkbox-D5TyVO0h.js → Checkbox-BWTYT27k.js} +3 -3
  46. package/dist/{Checkbox-ByYv2PfD.js → Checkbox-lZiZsj55.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-CeyElEMQ.js +115 -0
  53. package/dist/Chip-DupEqxPn.js +120 -0
  54. package/dist/{ChipDismissible-Bcf1EV5a.js → ChipDismissible-C-HiF-v0.js} +3 -3
  55. package/dist/{ChipDismissible-CKQBCK3h.js → ChipDismissible-SjgdTrMR.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-Dm3sih7w.js → Chips-CzsSZbnq.js} +17 -18
  65. package/dist/{Chips-D5XPtUOY.js → Chips-Dv3b7rxG.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-BmxOa66A.js → Combobox-D6rpT9ZM.js} +9 -9
  87. package/dist/{Combobox-CaoE0ua-.js → Combobox-deN4TrHH.js} +9 -9
  88. package/dist/{ComboboxAction-CcpNH13T.js → ComboboxAction-ARcViH-u.js} +2 -2
  89. package/dist/{ComboboxAction-CPTXZK7L.js → ComboboxAction-D3vYOR15.js} +2 -2
  90. package/dist/{ComboboxActivator-BxQaExxT.js → ComboboxActivator-BsxDS74i.js} +4 -4
  91. package/dist/{ComboboxActivator-D8W0yXUM.js → ComboboxActivator-D8e_qL4h.js} +4 -4
  92. package/dist/{ComboboxContent-CsdUYqiB.js → ComboboxContent-CDDNGJAv.js} +7 -7
  93. package/dist/{ComboboxContent-Co1MygQQ.js → ComboboxContent-DOg5cuqY.js} +7 -7
  94. package/dist/{ComboboxContentHeader-DZXeXNUB.js → ComboboxContentHeader-BEpMAsrV.js} +2 -2
  95. package/dist/{ComboboxContentHeader-Dz9SSEYn.js → ComboboxContentHeader-BPOhKXUJ.js} +2 -2
  96. package/dist/{ComboboxContentList-BVvdW4v3.js → ComboboxContentList-CFdzd3j9.js} +6 -6
  97. package/dist/{ComboboxContentList-Cya-dWWt.js → ComboboxContentList-UM14gvW6.js} +6 -6
  98. package/dist/{ComboboxContentSearch-BWwm3lUM.js → ComboboxContentSearch--Y8ZXQSa.js} +1 -1
  99. package/dist/{ComboboxContentSearch-Bohb3e_-.js → ComboboxContentSearch-Cip-qwEh.js} +1 -1
  100. package/dist/{ComboboxLoadMore-BwTE82WQ.js → ComboboxLoadMore-5VUBuTdn.js} +1 -1
  101. package/dist/{ComboboxLoadMore-C3weBTzY.js → ComboboxLoadMore-D8OrwuCC.js} +1 -1
  102. package/dist/{ComboboxOption-B04EgYv7.js → ComboboxOption-BfzCT6T0.js} +3 -3
  103. package/dist/{ComboboxOption-7eR9vXX8.js → ComboboxOption-DQRjFnaW.js} +3 -3
  104. package/dist/{ComboboxProvider-BPr8zCOU.js → ComboboxProvider-BuQPxIFs.js} +1 -1
  105. package/dist/{ComboboxProvider-NCbAb7Pj.js → ComboboxProvider-DuBHMVTW.js} +1 -1
  106. package/dist/{ComboboxTrigger-CdLgYgbf.js → ComboboxTrigger-BLBHP9SY.js} +4 -4
  107. package/dist/{ComboboxTrigger-NiHAVWYc.js → ComboboxTrigger-ERMDZjuL.js} +4 -4
  108. package/dist/ConfirmationModal/index.cjs +17 -17
  109. package/dist/ConfirmationModal/index.mjs +17 -17
  110. package/dist/{ConfirmationModal-C8j-bDUt.js → ConfirmationModal-DJk6sgeR.js} +4 -4
  111. package/dist/{ConfirmationModal-B2Yntmhh.js → ConfirmationModal-DnuJwslR.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-D7Hp5o90.js → Countdown-C9krgeKz.js} +1 -1
  117. package/dist/{Countdown-CE-jfiot.js → Countdown-DDP7Eii2.js} +1 -1
  118. package/dist/DataDump/index.cjs +15 -15
  119. package/dist/DataDump/index.mjs +15 -15
  120. package/dist/{DataDump-lATzbL5c.js → DataDump-BB0gFkty.js} +3 -3
  121. package/dist/{DataDump-DOJhbsmr.js → DataDump-CZQ_yd0K.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-j5_H3E7K.js → DataList-BiPh71LL.js} +21 -21
  181. package/dist/{DataList-CvKAxSTU.js → DataList-Cr0wF8VG.js} +21 -21
  182. package/dist/{DataList.utils-tpB2jteD.js → DataList.utils-BbcqXrXn.js} +9 -9
  183. package/dist/{DataList.utils-JiUs_-Lm.js → DataList.utils-DsiWmuGV.js} +9 -9
  184. package/dist/{DataListAction-Bv-z-XE9.js → DataListAction-B9o3PLsW.js} +3 -3
  185. package/dist/{DataListAction-DaKERJAl.js → DataListAction-fhuYW5Ol.js} +3 -3
  186. package/dist/{DataListActions-uba7Opy4.js → DataListActions-CWC9L0Ny.js} +6 -6
  187. package/dist/{DataListActions-CMc9BRxo.js → DataListActions-DJETqfCY.js} +6 -6
  188. package/dist/{DataListActionsMenu-DMA4xrYn.js → DataListActionsMenu-Cv8INX1y.js} +5 -5
  189. package/dist/{DataListActionsMenu-DFcnrR_7.js → DataListActionsMenu-DLz4yU2K.js} +5 -5
  190. package/dist/{DataListBulkActions-D0eDtnzc.js → DataListBulkActions-5H7ahwBW.js} +3 -3
  191. package/dist/{DataListBulkActions-abSVeRNJ.js → DataListBulkActions-CXA42O51.js} +3 -3
  192. package/dist/{DataListContext-BbVSqMaZ.js → DataListContext-DO9YXjk3.js} +1 -1
  193. package/dist/{DataListContext-CDILpN1C.js → DataListContext-DyNNQ8Vf.js} +1 -1
  194. package/dist/{DataListEmptyState-BcxTJ3Dz.js → DataListEmptyState-BWRNmkeV.js} +4 -4
  195. package/dist/{DataListEmptyState-CSwx9EPZ.js → DataListEmptyState-HgtOgXql.js} +4 -4
  196. package/dist/{DataListFilters-BoMANN0x.js → DataListFilters-BBPKSGFj.js} +5 -5
  197. package/dist/{DataListFilters-BQlqEKFX.js → DataListFilters-BCqQdGq7.js} +5 -5
  198. package/dist/{DataListHeader-Ciiq5_jp.js → DataListHeader-B5cYl6Ii.js} +11 -11
  199. package/dist/{DataListHeader-dezk0SU2.js → DataListHeader-Dv6WcQgt.js} +11 -11
  200. package/dist/{DataListHeaderTile-B6F3PuUj.js → DataListHeaderTile-DNWUV7L8.js} +5 -5
  201. package/dist/{DataListHeaderTile-C3Io5o4h.js → DataListHeaderTile-UeyU17dh.js} +5 -5
  202. package/dist/{DataListItem-CLQDctWI.js → DataListItem-CRDg2M4W.js} +10 -10
  203. package/dist/{DataListItem-BQmMST3Y.js → DataListItem-DOQDxm_S.js} +10 -10
  204. package/dist/{DataListItemActions-CYTMCzZo.js → DataListItemActions-C2n9cLt1.js} +2 -2
  205. package/dist/{DataListItemActions-tHVG0_CP.js → DataListItemActions-CKl1FxFZ.js} +2 -2
  206. package/dist/{DataListItemActionsOverflow-DNr9Q5hy.js → DataListItemActionsOverflow-4PioUIOz.js} +3 -3
  207. package/dist/{DataListItemActionsOverflow-BXOJaz-J.js → DataListItemActionsOverflow-CIB0Ni7g.js} +3 -3
  208. package/dist/{DataListItemClickable-w8ukaWOs.js → DataListItemClickable-Cu3r576H.js} +3 -3
  209. package/dist/{DataListItemClickable-DxllX40J.js → DataListItemClickable-D5lGH9H6.js} +3 -3
  210. package/dist/{DataListItems-CLH5bhoz.js → DataListItems-CJZgWHlW.js} +3 -3
  211. package/dist/{DataListItems-U8UFMm89.js → DataListItems-Dn23KTmI.js} +3 -3
  212. package/dist/{DataListLayout-e4XNfNI0.js → DataListLayout-CQQbV9fk.js} +3 -3
  213. package/dist/{DataListLayout-jdEEgM9D.js → DataListLayout-Dzt092Eq.js} +3 -3
  214. package/dist/{DataListLayoutActions-B2GEeeff.js → DataListLayoutActions-BIYOyeYh.js} +4 -4
  215. package/dist/{DataListLayoutActions-CyGe9MEX.js → DataListLayoutActions-Clv3bSoP.js} +4 -4
  216. package/dist/{DataListLayoutContext-gLVSP9ik.js → DataListLayoutContext-7bW8FKUc.js} +1 -1
  217. package/dist/{DataListLayoutContext-DF3iO7Ig.js → DataListLayoutContext-Cf1sGrau.js} +1 -1
  218. package/dist/{DataListLoadMore-BnNxMgD-.js → DataListLoadMore-BRfzTy5n.js} +5 -5
  219. package/dist/{DataListLoadMore-DayOzm5C.js → DataListLoadMore-DkpW81YO.js} +5 -5
  220. package/dist/{DataListLoadingState-Bwho-QQH.js → DataListLoadingState-2rzwmXJA.js} +3 -3
  221. package/dist/{DataListLoadingState-RnJnABYu.js → DataListLoadingState-BZUoxwkp.js} +3 -3
  222. package/dist/{DataListOverflowFade-D0JeTMPY.js → DataListOverflowFade-BV24XGZa.js} +1 -1
  223. package/dist/{DataListOverflowFade-Btel-t0l.js → DataListOverflowFade-CO2OmuHL.js} +1 -1
  224. package/dist/{DataListSearch-NHR3_M__.js → DataListSearch-CDCmgF-h.js} +6 -6
  225. package/dist/{DataListSearch-z1VL0nmM.js → DataListSearch-MIF7pPdp.js} +6 -6
  226. package/dist/{DataListSort-CR96q_Ow.js → DataListSort-BpGjsjNy.js} +6 -6
  227. package/dist/{DataListSort-CxKgA-XW.js → DataListSort-DIazAfvg.js} +6 -6
  228. package/dist/{DataListSortingOptions-BNgwmMvA.js → DataListSortingOptions-Bb05a5Sp.js} +3 -3
  229. package/dist/{DataListSortingOptions-Low_rZVv.js → DataListSortingOptions-CWIzXiWB.js} +3 -3
  230. package/dist/{DataListStatusBar-CaGK5wpH.js → DataListStatusBar-CZiuWPER.js} +2 -2
  231. package/dist/{DataListStatusBar-PbOM6dyq.js → DataListStatusBar-l5Nu-vje.js} +2 -2
  232. package/dist/{DataListStickyHeader-BTJAJxJF.js → DataListStickyHeader--rV-zzy6.js} +1 -1
  233. package/dist/{DataListStickyHeader-BbtXkdt9.js → DataListStickyHeader-v_KAkTKF.js} +1 -1
  234. package/dist/{DataListTags-48b2LE6q.js → DataListTags-BaNdG5_k.js} +2 -2
  235. package/dist/{DataListTags-pPVHhaon.js → DataListTags-CKcmPF5B.js} +2 -2
  236. package/dist/{DataListTotalCount-B7H5Xh_h.js → DataListTotalCount-CjoM_rLt.js} +2 -2
  237. package/dist/{DataListTotalCount-56mey610.js → DataListTotalCount-euYk3Tab.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-Dz74dWhX.js → DataTable-CKCbyo_I.js} +6 -6
  243. package/dist/{DataTable-M0NTFXJ9.js → DataTable-DKz0kR8B.js} +6 -6
  244. package/dist/DatePicker/index.cjs +18 -18
  245. package/dist/DatePicker/index.mjs +18 -18
  246. package/dist/{DatePicker-BMzZzId9.js → DatePicker-CnAbTFs_.js} +14 -14
  247. package/dist/{DatePicker-GlYTGroG.js → DatePicker-lTUOjFt7.js} +14 -14
  248. package/dist/{DayOfMonthSelect-kaMfEfeq.js → DayOfMonthSelect-DXp08CY3.js} +2 -2
  249. package/dist/{DayOfMonthSelect-BRY430il.js → DayOfMonthSelect-YHtIX_qD.js} +2 -2
  250. package/dist/DescriptionList/index.cjs +2 -2
  251. package/dist/DescriptionList/index.mjs +2 -2
  252. package/dist/{DescriptionList-BCBQyL7j.js → DescriptionList-BNky6-hv.js} +1 -1
  253. package/dist/{DescriptionList-Brb73vwq.js → DescriptionList-CQneMODU.js} +1 -1
  254. package/dist/Disclosure/Disclosure.d.ts +3 -2
  255. package/dist/Disclosure/index.cjs +10 -10
  256. package/dist/Disclosure/index.mjs +10 -10
  257. package/dist/{Disclosure-CayVr4TE.js → Disclosure-BdWss0J5.js} +15 -6
  258. package/dist/{Disclosure-DbHL3w-G.js → Disclosure-CK6S6myy.js} +15 -6
  259. package/dist/Divider/index.cjs +1 -1
  260. package/dist/Divider/index.mjs +1 -1
  261. package/dist/Drawer/index.cjs +6 -6
  262. package/dist/Drawer/index.mjs +6 -6
  263. package/dist/{DrawerGrid-_WPilMu5.js → DrawerGrid-CnSoHAcm.js} +2 -2
  264. package/dist/{DrawerGrid-EbtAzB06.js → DrawerGrid-Csy1rZvd.js} +2 -2
  265. package/dist/Emphasis/index.cjs +2 -2
  266. package/dist/Emphasis/index.mjs +2 -2
  267. package/dist/{Emphasis-Bc96LKCu.js → Emphasis-BSFb8o8y.js} +1 -1
  268. package/dist/{Emphasis-Dz0puMSi.js → Emphasis-BcUFnOiN.js} +1 -1
  269. package/dist/FeatureSwitch/index.cjs +13 -13
  270. package/dist/FeatureSwitch/index.mjs +13 -13
  271. package/dist/{FeatureSwitch-DpI7n-4p.js → FeatureSwitch-BW31swtD.js} +7 -7
  272. package/dist/{FeatureSwitch-CYac5DuW.js → FeatureSwitch-D7RyFTxI.js} +7 -7
  273. package/dist/Flex/index.cjs +1 -1
  274. package/dist/Flex/index.mjs +1 -1
  275. package/dist/Form/index.cjs +2 -2
  276. package/dist/Form/index.mjs +2 -2
  277. package/dist/{Form-DNtcgGpi.js → Form-Bo5M0kY_.js} +1 -1
  278. package/dist/{Form-nQfPfSxe.js → Form-CKDTpRyu.js} +1 -1
  279. package/dist/FormField/index.cjs +9 -9
  280. package/dist/FormField/index.mjs +9 -9
  281. package/dist/{FormField-i5gXE-cD.js → FormField-CznoUxIq.js} +7 -7
  282. package/dist/{FormField-BTQsSd_r.js → FormField-REP5RujT.js} +7 -7
  283. package/dist/FormatDate/index.cjs +1 -1
  284. package/dist/FormatDate/index.mjs +1 -1
  285. package/dist/FormatEmail/index.cjs +1 -1
  286. package/dist/FormatEmail/index.mjs +1 -1
  287. package/dist/FormatFile/index.cjs +21 -21
  288. package/dist/FormatFile/index.mjs +21 -21
  289. package/dist/{FormatFile-5CrWa16G.js → FormatFile-0QzrB-ul.js} +7 -7
  290. package/dist/{FormatFile-DEgRn4zD.js → FormatFile-CIB6lssS.js} +7 -7
  291. package/dist/FormatRelativeDateTime/index.cjs +1 -1
  292. package/dist/FormatRelativeDateTime/index.mjs +1 -1
  293. package/dist/FormatTime/index.cjs +1 -1
  294. package/dist/FormatTime/index.mjs +1 -1
  295. package/dist/Gallery/index.cjs +28 -28
  296. package/dist/Gallery/index.mjs +28 -28
  297. package/dist/{Gallery-DuVS4O0n.js → Gallery-CguN9d0I.js} +3 -3
  298. package/dist/{Gallery-C2jTlPmr.js → Gallery-CsiNzAJr.js} +3 -3
  299. package/dist/Glimmer/index.cjs +3 -3
  300. package/dist/Glimmer/index.mjs +3 -3
  301. package/dist/{Glimmer-Ctz7nqxK.js → Glimmer-DUIKJzxr.js} +2 -2
  302. package/dist/{Glimmer-DU_vperh.js → Glimmer-x9Db42QS.js} +2 -2
  303. package/dist/Grid/InternalGridCell/index.cjs +1 -1
  304. package/dist/Grid/InternalGridCell/index.mjs +1 -1
  305. package/dist/Grid/index.cjs +5 -5
  306. package/dist/Grid/index.mjs +5 -5
  307. package/dist/{Grid-DNtuZXM8.js → Grid-CwjLpXL-.js} +2 -2
  308. package/dist/{Grid-BC-CXVzm.js → Grid-D6eTrGGZ.js} +2 -2
  309. package/dist/Heading/index.cjs +2 -2
  310. package/dist/Heading/index.mjs +2 -2
  311. package/dist/{Heading-BZdLVSt0.js → Heading-BMV-gVsL.js} +1 -1
  312. package/dist/{Heading-Ct00M4sR.js → Heading-BTduGR4_.js} +1 -1
  313. package/dist/Icon/index.cjs +1 -1
  314. package/dist/Icon/index.mjs +1 -1
  315. package/dist/InlineLabel/index.cjs +2 -2
  316. package/dist/InlineLabel/index.mjs +2 -2
  317. package/dist/{InlineLabel-OhwNZ6GN.js → InlineLabel-COswR7hy.js} +1 -1
  318. package/dist/{InlineLabel-FoCTRICP.js → InlineLabel-DJ33jcWv.js} +1 -1
  319. package/dist/InputAvatar/index.cjs +13 -13
  320. package/dist/InputAvatar/index.mjs +13 -13
  321. package/dist/{InputAvatar-h7WSrwvt.js → InputAvatar-B2wkggC6.js} +5 -5
  322. package/dist/{InputAvatar-B_WIMdzB.js → InputAvatar-eLwXsSFO.js} +5 -5
  323. package/dist/InputDate/index.cjs +25 -25
  324. package/dist/InputDate/index.mjs +25 -25
  325. package/dist/{InputDate-C0v5yZaA.js → InputDate-C4mOaDkA.js} +2 -2
  326. package/dist/{InputDate-BGZTffSI.js → InputDate-HprTnkj4.js} +2 -2
  327. package/dist/InputEmail/index.cjs +10 -10
  328. package/dist/InputEmail/index.mjs +10 -10
  329. package/dist/{InputEmail-D5zvI76b.js → InputEmail-CfSpTHsH.js} +1 -1
  330. package/dist/{InputEmail-Djamq1e4.js → InputEmail-v6Psaowp.js} +1 -1
  331. package/dist/InputFile/index.cjs +10 -10
  332. package/dist/InputFile/index.mjs +10 -10
  333. package/dist/{InputFile-BDeHxy-z.js → InputFile-CMiPOfTU.js} +6 -6
  334. package/dist/{InputFile-_DuP18iq.js → InputFile-D39T_bwz.js} +6 -6
  335. package/dist/InputGroup/index.cjs +1 -1
  336. package/dist/InputGroup/index.mjs +1 -1
  337. package/dist/InputNumber/index.cjs +10 -10
  338. package/dist/InputNumber/index.mjs +10 -10
  339. package/dist/{InputNumber-DLU_0PLw.js → InputNumber-BTxwy9nP.js} +1 -1
  340. package/dist/{InputNumber-BDrvUM3B.js → InputNumber-CNUgIIiy.js} +1 -1
  341. package/dist/InputPassword/index.cjs +10 -10
  342. package/dist/InputPassword/index.mjs +10 -10
  343. package/dist/{InputPassword-0CBhEOsZ.js → InputPassword-D72QQTkm.js} +1 -1
  344. package/dist/{InputPassword-CXwXYdRb.js → InputPassword-qzwg9Pf3.js} +1 -1
  345. package/dist/InputPhoneNumber/index.cjs +10 -10
  346. package/dist/InputPhoneNumber/index.mjs +10 -10
  347. package/dist/{InputPhoneNumber-ZWGFy2V8.js → InputPhoneNumber-B3ofUlgD.js} +2 -2
  348. package/dist/{InputPhoneNumber-D_38ZP73.js → InputPhoneNumber-DvwQNxWJ.js} +2 -2
  349. package/dist/InputText/index.cjs +11 -11
  350. package/dist/InputText/index.mjs +11 -11
  351. package/dist/{InputText-BInI3-Xp.js → InputText-8i4aGL22.js} +2 -2
  352. package/dist/{InputText-DFndx02E.js → InputText-BPxMTVAa.js} +2 -2
  353. package/dist/InputTime/index.cjs +14 -14
  354. package/dist/InputTime/index.mjs +14 -14
  355. package/dist/{InputTime-ikNHj3K2.js → InputTime-BiVACY-1.js} +3 -3
  356. package/dist/{InputTime-mXS53i8i.js → InputTime-MO3ibKSP.js} +3 -3
  357. package/dist/InputValidation/index.cjs +4 -4
  358. package/dist/InputValidation/index.mjs +4 -4
  359. package/dist/{InputValidation-9ULUUZde.js → InputValidation-Br5f1rfq.js} +2 -2
  360. package/dist/{InputValidation-BRakc41a.js → InputValidation-DeE8V9Hj.js} +2 -2
  361. package/dist/InternalChipDismissible-DcSw3xos.js +63 -0
  362. package/dist/InternalChipDismissible-RGOeTHCr.js +66 -0
  363. package/dist/LightBox/index.cjs +14 -14
  364. package/dist/LightBox/index.mjs +14 -14
  365. package/dist/{LightBox-DqQ5uLoX.js → LightBox-DZY9Ueat.js} +7 -7
  366. package/dist/{LightBox-u6yG9Gyt.js → LightBox-g4HKMs-x.js} +7 -7
  367. package/dist/Link/index.cjs +1 -1
  368. package/dist/Link/index.mjs +1 -1
  369. package/dist/List/index.cjs +20 -20
  370. package/dist/List/index.mjs +20 -20
  371. package/dist/{List-rnqUrYvM.js → List-BQ0db_Yx.js} +10 -10
  372. package/dist/{List-D7QWJzFl.js → List-DxGNfC7v.js} +10 -10
  373. package/dist/Markdown/index.cjs +9 -9
  374. package/dist/Markdown/index.mjs +9 -9
  375. package/dist/{Markdown-CvpfBDDZ.js → Markdown-BEXmc1_1.js} +7 -7
  376. package/dist/{Markdown-I_67ZWQz.js → Markdown-B_VLytqL.js} +7 -7
  377. package/dist/Menu/index.cjs +10 -10
  378. package/dist/Menu/index.mjs +10 -10
  379. package/dist/{Menu-HLKqkk8c.js → Menu-BptN7Ypt.js} +8 -8
  380. package/dist/{Menu-Bui3E0uj.js → Menu-C3uRoeRM.js} +8 -8
  381. package/dist/Modal/index.cjs +9 -9
  382. package/dist/Modal/index.mjs +9 -9
  383. package/dist/{Modal-CPHihsKP.js → Modal-BgdQzu1h.js} +6 -6
  384. package/dist/{Modal-ks7HOzbR.js → Modal-CCF7Niq0.js} +6 -6
  385. package/dist/MultiSelect/index.cjs +6 -6
  386. package/dist/MultiSelect/index.mjs +6 -6
  387. package/dist/{MultiSelect-B-1v0Gbe.js → MultiSelect-BQEFc1lO.js} +3 -3
  388. package/dist/{MultiSelect-BCib9a_A.js → MultiSelect-CL3K3iuQ.js} +3 -3
  389. package/dist/{Option-DvueERYx.js → Option-CZ66RLYU.js} +1 -1
  390. package/dist/{Option-HcLNvIyg.js → Option-swdOx_wt.js} +1 -1
  391. package/dist/Page/index.cjs +24 -24
  392. package/dist/Page/index.mjs +24 -24
  393. package/dist/{Page-xpEw6qe_.js → Page-BzUZU5Hr.js} +8 -8
  394. package/dist/{Page-Phcm1dL8.js → Page-CcWDZXX4.js} +8 -8
  395. package/dist/Popover/index.cjs +6 -6
  396. package/dist/Popover/index.mjs +6 -6
  397. package/dist/{Popover-SY18NcWd.js → Popover-COe_un-L.js} +2 -2
  398. package/dist/{Popover-B6pbfdeK.js → Popover-nnxmdGbf.js} +2 -2
  399. package/dist/ProgressBar/index.cjs +1 -1
  400. package/dist/ProgressBar/index.mjs +1 -1
  401. package/dist/RadioGroup/index.cjs +3 -3
  402. package/dist/RadioGroup/index.mjs +3 -3
  403. package/dist/{RadioGroup-Dx-rmkXS.js → RadioGroup-CsmtJtmh.js} +1 -1
  404. package/dist/{RadioGroup-DuNt-8PK.js → RadioGroup-DCVkLmQU.js} +1 -1
  405. package/dist/RecurringSelect/components/index.cjs +4 -4
  406. package/dist/RecurringSelect/components/index.mjs +4 -4
  407. package/dist/RecurringSelect/index.cjs +16 -16
  408. package/dist/RecurringSelect/index.mjs +16 -16
  409. package/dist/{RecurringSelect-CTNCtwDG.js → RecurringSelect-9ll3hhir.js} +6 -6
  410. package/dist/{RecurringSelect-BM3UINCC.js → RecurringSelect-BZV7mUgE.js} +6 -6
  411. package/dist/Select/index.cjs +10 -10
  412. package/dist/Select/index.mjs +10 -10
  413. package/dist/SideDrawer/index.cjs +11 -11
  414. package/dist/SideDrawer/index.mjs +11 -11
  415. package/dist/{SideDrawer-BQuiohzx.js → SideDrawer-6zR68YoW.js} +7 -7
  416. package/dist/{SideDrawer-ClaYKkfR.js → SideDrawer-xy7TRZ3e.js} +7 -7
  417. package/dist/Spinner/index.cjs +1 -1
  418. package/dist/Spinner/index.mjs +1 -1
  419. package/dist/StatusIndicator/index.cjs +1 -1
  420. package/dist/StatusIndicator/index.mjs +1 -1
  421. package/dist/StatusLabel/index.cjs +3 -3
  422. package/dist/StatusLabel/index.mjs +3 -3
  423. package/dist/{StatusLabel-gSx0Nssr.js → StatusLabel-BePWeCVJ.js} +2 -2
  424. package/dist/{StatusLabel-D2B0YztT.js → StatusLabel-D0mWMiwQ.js} +2 -2
  425. package/dist/Switch/index.cjs +2 -2
  426. package/dist/Switch/index.mjs +2 -2
  427. package/dist/{Switch-CEG8CbB6.js → Switch-CRJvnRLR.js} +1 -1
  428. package/dist/{Switch-DFJ1Dhwt.js → Switch-DnKS2TVF.js} +1 -1
  429. package/dist/Table/index.cjs +1 -1
  430. package/dist/Table/index.mjs +1 -1
  431. package/dist/Tabs/index.cjs +7 -7
  432. package/dist/Tabs/index.mjs +7 -7
  433. package/dist/{Tabs-DuZqyMT6.js → Tabs-Cezo0usV.js} +2 -2
  434. package/dist/{Tabs-DAZ2VZyI.js → Tabs-DP5S-MGz.js} +2 -2
  435. package/dist/Text/index.cjs +2 -2
  436. package/dist/Text/index.mjs +2 -2
  437. package/dist/{Text-YRFGdqKY.js → Text-BVlKohfD.js} +1 -1
  438. package/dist/{Text-B-rrlbOI.js → Text-BuxFsFO8.js} +1 -1
  439. package/dist/Toast/index.cjs +4 -4
  440. package/dist/Toast/index.mjs +4 -4
  441. package/dist/Tooltip/Tooltip.d.ts +2 -1
  442. package/dist/Tooltip/index.cjs +3 -3
  443. package/dist/Tooltip/index.mjs +3 -3
  444. package/dist/{Tooltip-hE3T8xq8.js → Tooltip-B2UutL8q.js} +6 -4
  445. package/dist/{Tooltip-1nYHeOQP.js → Tooltip-M6HMLDOS.js} +6 -4
  446. package/dist/Typography/index.cjs +1 -1
  447. package/dist/Typography/index.mjs +1 -1
  448. package/dist/{_baseAssignValue-DO2AQC_k.js → _baseAssignValue-Cw9jW-TU.js} +1 -1
  449. package/dist/{_baseAssignValue-CorYtY9N.js → _baseAssignValue-gCf2ERhZ.js} +1 -1
  450. package/dist/{_baseEach-Cr5hEMau.js → _baseEach-EuobFjIc.js} +7 -7
  451. package/dist/{_baseEach-6BzD1x6o.js → _baseEach-tXmxvqgN.js} +7 -7
  452. package/dist/{_baseFlatten-Ddv8uJWW.js → _baseFlatten-CXnQkRhJ.js} +3 -3
  453. package/dist/{_baseFlatten-DFl_xQXY.js → _baseFlatten-DMK6bgDP.js} +3 -3
  454. package/dist/{_getAllKeys-982DsUMF.js → _getAllKeys-Bx01Awr2.js} +5 -5
  455. package/dist/{_getAllKeys-9Bia5YbH.js → _getAllKeys-uEyYwCUX.js} +5 -5
  456. package/dist/{_getTag-B8XVLk_l.js → _getTag-C55Pz7ov.js} +2 -2
  457. package/dist/{_getTag-LaU6-ClO.js → _getTag-DsxVqB39.js} +2 -2
  458. package/dist/{_isIterateeCall-jHbIkyVQ.js → _isIterateeCall-C3hgiK91.js} +4 -4
  459. package/dist/{_isIterateeCall-BikfWVnc.js → _isIterateeCall-OuLvd2fE.js} +4 -4
  460. package/dist/{_setToString-B4BAON_s.js → _setToString-CPCL53RR.js} +1 -1
  461. package/dist/{_setToString-BdjsvurY.js → _setToString-CWt1qQLw.js} +1 -1
  462. package/dist/{debounce-CSvnUZMP.js → debounce-CEAKxYiy.js} +3 -3
  463. package/dist/{debounce-Dw-KTRpD.js → debounce-D5I3tPg9.js} +3 -3
  464. package/dist/{helpers-GJSWoCFB.js → helpers-Bgr4I-nr.js} +1 -1
  465. package/dist/{helpers-HewFKVHX.js → helpers-DHB-fhWO.js} +1 -1
  466. package/dist/{identity-QEzSZquB.js → identity-BXnywWVz.js} +2 -2
  467. package/dist/{identity-13dF25RE.js → identity-BiVLVv7a.js} +2 -2
  468. package/dist/{index-WG-RNSjL.js → index-DbwSF1SJ.js} +1 -1
  469. package/dist/{index-Dvu6NoJv.js → index-DyqeFuqL.js} +1 -1
  470. package/dist/index.cjs +160 -160
  471. package/dist/index.mjs +158 -158
  472. package/dist/{isObjectLike-DGbSN0Fg.js → isObjectLike-CJkDx0sy.js} +1 -1
  473. package/dist/{isObjectLike-DnTCnA7b.js → isObjectLike-mXDq8n7q.js} +1 -1
  474. package/dist/{isSymbol-Dx1CGCQx.js → isSymbol-C-BazcW9.js} +1 -1
  475. package/dist/{isSymbol-DLpu9XTa.js → isSymbol-DiqueSAp.js} +1 -1
  476. package/dist/{isTypedArray-BTOhm399.js → isTypedArray-BznwQO84.js} +1 -1
  477. package/dist/{isTypedArray-Gm3JZoCN.js → isTypedArray-C3q1VdS4.js} +1 -1
  478. package/dist/{keysIn-mX5Cgfyk.js → keysIn-CGa7fOtJ.js} +4 -4
  479. package/dist/{keysIn-BfCTX0lM.js → keysIn-fN1i01YT.js} +4 -4
  480. package/dist/{noop-BRU39NEn.js → noop-Cevd80jH.js} +1 -1
  481. package/dist/{noop-603PojEw.js → noop-dRd5rXwl.js} +1 -1
  482. package/dist/{showToast-C1yMGguW.js → showToast-CONSD9rQ.js} +3 -3
  483. package/dist/{showToast-BBT36XjF.js → showToast-uUpbymh-.js} +3 -3
  484. package/dist/styles.css +125 -120
  485. package/dist/{throttle-Cmm8MrBU.js → throttle-D_qyeHbn.js} +3 -3
  486. package/dist/{throttle-DF-P9-Hb.js → throttle-w1Yctdpq.js} +3 -3
  487. package/dist/{updateTheme-YuwCaPE7.js → updateTheme-CHRH5q9b.js} +8 -8
  488. package/dist/{updateTheme-DwpBf1mp.js → updateTheme-CHVXi66I.js} +8 -8
  489. package/dist/{useActiveLayout-CSUbYHub.js → useActiveLayout-CC6oUtVj.js} +2 -2
  490. package/dist/{useActiveLayout-BlRwhkMP.js → useActiveLayout-HEnXJgQI.js} +2 -2
  491. package/dist/{useAssert-CxAZ5dAQ.js → useAssert-BY16VjeK.js} +2 -2
  492. package/dist/{useAssert-CiXtNgER.js → useAssert-CwXLYwaR.js} +2 -2
  493. package/dist/{useBatchSelect-DV5mWCmg.js → useBatchSelect-DfkqCkn1.js} +1 -1
  494. package/dist/{useBatchSelect-Ckwxrkd-.js → useBatchSelect-DyiF7E4D.js} +1 -1
  495. package/dist/{useIsMounted-SpaxiLK7.js → useIsMounted-C6OMrjiC.js} +1 -1
  496. package/dist/{useIsMounted-CZ5ZikbX.js → useIsMounted-CDIo9ca0.js} +1 -1
  497. package/dist/{useResizeObserver-DIQv9MkM.js → useResizeObserver-BV1NW32_.js} +2 -2
  498. package/dist/{useResizeObserver-H7OuuEx6.js → useResizeObserver-CkG5tQNq.js} +2 -2
  499. package/dist/{useResponsiveSizing-12Q3jAKT.js → useResponsiveSizing-CS-Z-czY.js} +1 -1
  500. package/dist/{useResponsiveSizing-CSPOpqnx.js → useResponsiveSizing-DNwKxqvn.js} +1 -1
  501. package/dist/{useScrollToActive-CclruML7.js → useScrollToActive-B6e0uv7S.js} +10 -10
  502. package/dist/{useScrollToActive-DjrW4kgR.js → useScrollToActive-DfC8V-Dd.js} +10 -10
  503. package/package.json +3 -3
  504. package/dist/Chip-4afvcudN.js +0 -78
  505. package/dist/Chip-C2iz4q0P.js +0 -75
  506. package/dist/InternalChipDismissible-4hKx-abV.js +0 -152
  507. package/dist/InternalChipDismissible-BwonjYKG.js +0 -157
  508. /package/dist/{AnimatedPresence-Bwm5exyD.js → AnimatedPresence-B3qA5BiS.js} +0 -0
  509. /package/dist/{AnimatedPresence-Cq54Izvj.js → AnimatedPresence-hJ20J8LB.js} +0 -0
  510. /package/dist/{AtlantisContext-DVD41632.js → AtlantisContext-BtuGyWYv.js} +0 -0
  511. /package/dist/{AtlantisContext-DWSCbyv6.js → AtlantisContext-DS1MFRCP.js} +0 -0
  512. /package/dist/{Body-D6XvwHG4.js → Body-6Jex9Gde.js} +0 -0
  513. /package/dist/{Body-Dyo-XJZd.js → Body-CdnXUhE9.js} +0 -0
  514. /package/dist/{Content-UdW7kzTo.js → Content-CuYTkmQ1.js} +0 -0
  515. /package/dist/{Content-Bv0WX3rC.js → Content-DeAfEGOa.js} +0 -0
  516. /package/dist/{DataList-ItBJ7RAB.js → DataList-BRUT8jVd.js} +0 -0
  517. /package/dist/{DataList-BeDUQgE9.js → DataList-BSSgA0-K.js} +0 -0
  518. /package/dist/{DataList.const-b_HJmILz.js → DataList.const-N7za9clP.js} +0 -0
  519. /package/dist/{DataList.const-CaeTOJ1A.js → DataList.const-jMa7C2Pz.js} +0 -0
  520. /package/dist/{DataListLayoutContext-BgkGJVHj.js → DataListLayoutContext-B-ZWlV7J.js} +0 -0
  521. /package/dist/{DataListLayoutContext-xLqwPbXk.js → DataListLayoutContext-D4uBQWGo.js} +0 -0
  522. /package/dist/{Divider-CJz1LbD1.js → Divider-CGVPm9Gr.js} +0 -0
  523. /package/dist/{Divider-R-qvjpE_.js → Divider-yDYUTBIv.js} +0 -0
  524. /package/dist/{Flex-CtbvgLNt.js → Flex-BbbIsa7R.js} +0 -0
  525. /package/dist/{Flex-M-2CUIl5.js → Flex-Bs4e4-6_.js} +0 -0
  526. /package/dist/{FormatDate-CO4w1yTE.js → FormatDate-B-nXCHZm.js} +0 -0
  527. /package/dist/{FormatDate-xlO5SbK-.js → FormatDate-CGJDJ2P9.js} +0 -0
  528. /package/dist/{FormatEmail-BHArCHOw.js → FormatEmail-BhvWWwiD.js} +0 -0
  529. /package/dist/{FormatEmail-DmlqkpiZ.js → FormatEmail-D_vNfRvo.js} +0 -0
  530. /package/dist/{FormatRelativeDateTime-DhUKqplE.js → FormatRelativeDateTime-CVBkVtQT.js} +0 -0
  531. /package/dist/{FormatRelativeDateTime-DAgJGOz6.js → FormatRelativeDateTime-CbOnp-kW.js} +0 -0
  532. /package/dist/{FormatTime-C4yUfJch.js → FormatTime-BPp-ZDCT.js} +0 -0
  533. /package/dist/{FormatTime-DjAadXFV.js → FormatTime-br6njQ1r.js} +0 -0
  534. /package/dist/{Icon-Di3d_PLD.js → Icon-CBSsNzpf.js} +0 -0
  535. /package/dist/{Icon-DMtidPT7.js → Icon-c1hUEkKX.js} +0 -0
  536. /package/dist/{InputGroup-D7o2EWis.js → InputGroup-BcVoXm2X.js} +0 -0
  537. /package/dist/{InputGroup-CSchiGlw.js → InputGroup-C2aa-O-Y.js} +0 -0
  538. /package/dist/{InternalGridCell-CPpRt204.js → InternalGridCell-BaxVPXtD.js} +0 -0
  539. /package/dist/{InternalGridCell-oeg4D2dN.js → InternalGridCell-DpJ6gajY.js} +0 -0
  540. /package/dist/{Link-s7rX0u6S.js → Link-DUVnAhNv.js} +0 -0
  541. /package/dist/{Link-smFL8JYH.js → Link-E7iw6PYJ.js} +0 -0
  542. /package/dist/{ProgressBar-B4wjnTAS.js → ProgressBar-CB7pc845.js} +0 -0
  543. /package/dist/{ProgressBar-CnQpJ_Gl.js → ProgressBar-uK2by9Nu.js} +0 -0
  544. /package/dist/{Spinner-DI2z2gi8.js → Spinner-BWM6tmko.js} +0 -0
  545. /package/dist/{Spinner-D8-uoWsY.js → Spinner-vd800PB4.js} +0 -0
  546. /package/dist/{StatusIndicator-C0FeLgXx.js → StatusIndicator-B-_Bo4kp.js} +0 -0
  547. /package/dist/{StatusIndicator-Cx36oZxJ.js → StatusIndicator-DMIcrBEn.js} +0 -0
  548. /package/dist/{Typography-B01KZkDA.js → Typography-97rTqqRM.js} +0 -0
  549. /package/dist/{Typography-DNw3YLI2.js → Typography-BK-oRicL.js} +0 -0
  550. /package/dist/{_baseFor-CC34kwYC.js → _baseFor-CCCx5Jg_.js} +0 -0
  551. /package/dist/{_baseFor-Cs31AlPk.js → _baseFor-DKC9TB_h.js} +0 -0
  552. /package/dist/{_commonjsHelpers-DB0r81aW.js → _commonjsHelpers-Cj8ewnsJ.js} +0 -0
  553. /package/dist/{_commonjsHelpers-CN2glWVP.js → _commonjsHelpers-Tqs0hZtj.js} +0 -0
  554. /package/dist/{_polyfill-node.process-BMTyszLH.js → _polyfill-node.process-By-vMWYk.js} +0 -0
  555. /package/dist/{_polyfill-node.process-eWPODsYk.js → _polyfill-node.process-_fT4J07A.js} +0 -0
  556. /package/dist/{tslib.es6-BBHurYHF.js → tslib.es6-Bkq5c9Gc.js} +0 -0
  557. /package/dist/{tslib.es6-muNSGfne.js → tslib.es6-CLWW0xYD.js} +0 -0
  558. /package/dist/{useChildComponent-BDWCZVJ_.js → useChildComponent-BFR01Ahc.js} +0 -0
  559. /package/dist/{useChildComponent-Ivdc5MAH.js → useChildComponent-CMgDEngZ.js} +0 -0
  560. /package/dist/{useFocusTrap-BEG9FrbQ.js → useFocusTrap-BtviW3S3.js} +0 -0
  561. /package/dist/{useFocusTrap-B-UIawXl.js → useFocusTrap-DHAb6Nkn.js} +0 -0
  562. /package/dist/{useFormFieldFocus-Bjj7ib5H.js → useFormFieldFocus-CnBeHIMD.js} +0 -0
  563. /package/dist/{useFormFieldFocus-D7iL2pTI.js → useFormFieldFocus-DSgdfr07.js} +0 -0
  564. /package/dist/{useInView-CVeazuFG.js → useInView-DLwBfbRR.js} +0 -0
  565. /package/dist/{useInView-CZjPpz_m.js → useInView-DQORf-YR.js} +0 -0
  566. /package/dist/{useOnKeyDown-3Nwrka6g.js → useOnKeyDown-BTmb_p4d.js} +0 -0
  567. /package/dist/{useOnKeyDown-C9eARWBV.js → useOnKeyDown-DHodJB3n.js} +0 -0
  568. /package/dist/{useRefocusOnActivator-De_u59BW.js → useRefocusOnActivator-CPjXVu8L.js} +0 -0
  569. /package/dist/{useRefocusOnActivator-BDBxaAcl.js → useRefocusOnActivator-jtXtbJ9S.js} +0 -0
  570. /package/dist/{useSafeLayoutEffect-VwZrGDwX.js → useSafeLayoutEffect-B1eslfqa.js} +0 -0
  571. /package/dist/{useSafeLayoutEffect-D9UXddp_.js → useSafeLayoutEffect-DyxdChBy.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-CVeazuFG.js';
4
- import { A as Avatar } from './Avatar-Cn6WsKMC.js';
5
- import { I as Icon } from './Icon-Di3d_PLD.js';
6
- import { u as useChildComponent } from './useChildComponent-BDWCZVJ_.js';
7
- import { T as Typography } from './Typography-B01KZkDA.js';
8
- import { T as Tooltip } from './Tooltip-hE3T8xq8.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-CclruML7.js';
3
- import './isObjectLike-DGbSN0Fg.js';
4
- import '@jobber/design';
5
- import 'react-popper';
6
- import { a as debounce } from './debounce-CSvnUZMP.js';
7
- import classnames from 'classnames';
8
- import { T as Text } from './Text-B-rrlbOI.js';
9
- import { B as Button } from './Button-DQAv8a0h.js';
10
- import { S as Spinner } from './Spinner-DI2z2gi8.js';
11
- import { u as useAssert_2 } from './useAssert-CiXtNgER.js';
12
- import { I as Icon } from './Icon-Di3d_PLD.js';
13
- import { A as Avatar } from './Avatar-Cn6WsKMC.js';
14
- import { T as Typography } from './Typography-B01KZkDA.js';
15
- import { T as Tooltip } from './Tooltip-hE3T8xq8.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-DjrW4kgR.js');
5
- require('./isObjectLike-DnTCnA7b.js');
6
- require('@jobber/design');
7
- require('react-popper');
8
- var debounce = require('./debounce-Dw-KTRpD.js');
9
- var classnames = require('classnames');
10
- var Text = require('./Text-YRFGdqKY.js');
11
- var Button = require('./Button-BARWNdDW.js');
12
- var Spinner = require('./Spinner-D8-uoWsY.js');
13
- var useAssert = require('./useAssert-CxAZ5dAQ.js');
14
- var Icon = require('./Icon-DMtidPT7.js');
15
- var Avatar = require('./Avatar-B-ZTRqFj.js');
16
- var Typography = require('./Typography-DNw3YLI2.js');
17
- var Tooltip = require('./Tooltip-1nYHeOQP.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