@jobber/components 4.85.6-CJS-to-ESM.8 → 4.85.6-CJS-to-ESM.11

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 (466) hide show
  1. package/dist/Autocomplete/Menu.d.ts +2 -2
  2. package/dist/Autocomplete/index.cjs +13 -11
  3. package/dist/Autocomplete/index.mjs +13 -11
  4. package/dist/{Autocomplete-CegS2xuv.js → Autocomplete-CaIBrj8e.js} +11 -6
  5. package/dist/{Autocomplete-CGkTziR6.js → Autocomplete-DJi7jdUw.js} +11 -6
  6. package/dist/Avatar/index.cjs +1 -1
  7. package/dist/Avatar/index.mjs +1 -1
  8. package/dist/{Avatar-Q2BQymsE.js → Avatar-AkaG8y0Q.js} +1 -1
  9. package/dist/{Avatar-DZCQBKMr.js → Avatar-CckTha1O.js} +1 -1
  10. package/dist/Banner/components/BannerIcon/index.cjs +4 -2
  11. package/dist/Banner/components/BannerIcon/index.mjs +4 -2
  12. package/dist/Banner/index.cjs +8 -6
  13. package/dist/Banner/index.mjs +8 -6
  14. package/dist/{Banner-DTAOjR6U.js → Banner-BlkdZtWM.js} +7 -7
  15. package/dist/{Banner-Dh-KKCEw.js → Banner-Dhp4UfBI.js} +7 -7
  16. package/dist/BannerIcon-BifD3IS3.js +27 -0
  17. package/dist/BannerIcon-Dyt3bQRR.js +24 -0
  18. package/dist/{Body-Dd2-HEDo.js → Body-D_wXn-LQ.js} +1 -1
  19. package/dist/{Body-DMRyfeGa.js → Body-_c6z1NDK.js} +1 -1
  20. package/dist/Button/index.cjs +2 -2
  21. package/dist/Button/index.mjs +2 -2
  22. package/dist/Button-CdFKgOjt.js +52 -0
  23. package/dist/Button-DCEN_VU9.js +50 -0
  24. package/dist/ButtonDismiss/index.cjs +3 -3
  25. package/dist/ButtonDismiss/index.mjs +3 -3
  26. package/dist/{ButtonDismiss-BuCG0_ee.js → ButtonDismiss-BPSS7oI4.js} +1 -1
  27. package/dist/{ButtonDismiss-CX5u1c_p.js → ButtonDismiss-CIT2CCBA.js} +1 -1
  28. package/dist/Card/index.cjs +8 -7
  29. package/dist/Card/index.mjs +8 -7
  30. package/dist/{Card-YPttFbjN.js → Card-BsiJi1g7.js} +4 -4
  31. package/dist/{Card-CLjbYhBt.js → Card-CHBaqzv3.js} +4 -4
  32. package/dist/Checkbox/index.cjs +3 -3
  33. package/dist/Checkbox/index.mjs +3 -3
  34. package/dist/{Checkbox-UO0UFaam.js → Checkbox-DRsOgqsP.js} +2 -2
  35. package/dist/{Checkbox-CehRIed9.js → Checkbox-fFiBs5HY.js} +2 -2
  36. package/dist/Chip/index.cjs +8 -6
  37. package/dist/Chip/index.mjs +8 -6
  38. package/dist/Chip-BsGl_WKW.js +70 -0
  39. package/dist/Chip-C3Slm72t.js +73 -0
  40. package/dist/{ChipDismissible-C8mWsLSv.js → ChipDismissible-CPP7NmO9.js} +1 -1
  41. package/dist/{ChipDismissible-BUPXp5_D.js → ChipDismissible-CekG0Sf1.js} +1 -1
  42. package/dist/Chips/InternalChipDismissible/index.cjs +12 -10
  43. package/dist/Chips/InternalChipDismissible/index.mjs +12 -10
  44. package/dist/Chips/index.cjs +13 -11
  45. package/dist/Chips/index.mjs +13 -11
  46. package/dist/{Chips-DWmRzR61.js → Chips-D2JzqFeF.js} +1 -1
  47. package/dist/{Chips-Cgig1xeD.js → Chips-Dnc6CcW9.js} +1 -1
  48. package/dist/Combobox/components/ComboboxAction/index.cjs +2 -2
  49. package/dist/Combobox/components/ComboboxAction/index.mjs +2 -2
  50. package/dist/Combobox/components/ComboboxActivator/index.cjs +9 -7
  51. package/dist/Combobox/components/ComboboxActivator/index.mjs +9 -7
  52. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +3 -3
  53. package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +3 -3
  54. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +9 -9
  55. package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +9 -9
  56. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +1 -1
  57. package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +1 -1
  58. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +1 -1
  59. package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +1 -1
  60. package/dist/Combobox/components/ComboboxContent/index.cjs +13 -13
  61. package/dist/Combobox/components/ComboboxContent/index.mjs +13 -13
  62. package/dist/Combobox/components/ComboboxOption/index.cjs +2 -2
  63. package/dist/Combobox/components/ComboboxOption/index.mjs +2 -2
  64. package/dist/Combobox/components/ComboboxTrigger/index.cjs +8 -6
  65. package/dist/Combobox/components/ComboboxTrigger/index.mjs +8 -6
  66. package/dist/Combobox/index.cjs +25 -23
  67. package/dist/Combobox/index.mjs +25 -23
  68. package/dist/{Combobox-CgidnZRz.js → Combobox-By7AP3Vp.js} +7 -7
  69. package/dist/{Combobox-D038vYPR.js → Combobox-Byj0Sh88.js} +7 -7
  70. package/dist/ComboboxAction-82KBbDVr.js +27 -0
  71. package/dist/ComboboxAction-B7IXde9k.js +25 -0
  72. package/dist/{ComboboxActivator-Dt5j0BvB.js → ComboboxActivator-Bgk02cBI.js} +2 -2
  73. package/dist/{ComboboxActivator-CchEsMah.js → ComboboxActivator-Ru4JCv7Z.js} +2 -2
  74. package/dist/{ComboboxContent-D-Uz7yqC.js → ComboboxContent-6RdfQlea.js} +7 -5
  75. package/dist/{ComboboxContent-CSb30jbJ.js → ComboboxContent-ChO63Ywk.js} +7 -5
  76. package/dist/{ComboboxContentHeader-6Jd87K2x.js → ComboboxContentHeader-Cec2Flq9.js} +3 -3
  77. package/dist/{ComboboxContentHeader-BGnTy3cb.js → ComboboxContentHeader-f2BBLU68.js} +3 -3
  78. package/dist/{ComboboxContentList-CcplzvJH.js → ComboboxContentList-cNeR7J1A.js} +6 -6
  79. package/dist/{ComboboxContentList-DuhvAHZH.js → ComboboxContentList-uhhTfIEW.js} +6 -6
  80. package/dist/ComboboxContentSearch-F-Mw0tok.js +35 -0
  81. package/dist/ComboboxContentSearch-u-EyPgPl.js +37 -0
  82. package/dist/{ComboboxLoadMore-CBXYoxXv.js → ComboboxLoadMore-D-P718hH.js} +1 -1
  83. package/dist/{ComboboxLoadMore-Bfg4pEkg.js → ComboboxLoadMore-D43j_nsT.js} +1 -1
  84. package/dist/{ComboboxOption-D_f4NcBM.js → ComboboxOption-CgeorSbe.js} +2 -2
  85. package/dist/{ComboboxOption-CWkyTkzU.js → ComboboxOption-D9gCE-eF.js} +2 -2
  86. package/dist/{ComboboxTrigger-Vnb9Z2jM.js → ComboboxTrigger-CeVUf-t7.js} +1 -1
  87. package/dist/{ComboboxTrigger-D0sdvd2z.js → ComboboxTrigger-h-heajaX.js} +1 -1
  88. package/dist/ConfirmationModal/index.cjs +14 -13
  89. package/dist/ConfirmationModal/index.mjs +14 -13
  90. package/dist/{ConfirmationModal-65n0fMJb.js → ConfirmationModal-BaTyl3Ux.js} +3 -3
  91. package/dist/{ConfirmationModal-BfiTCuPQ.js → ConfirmationModal-Br32nXDS.js} +3 -3
  92. package/dist/Content/index.cjs +1 -1
  93. package/dist/Content/index.mjs +1 -1
  94. package/dist/Content-4bZbek9l.js +20 -0
  95. package/dist/Content-CQOR6IRo.js +18 -0
  96. package/dist/DataDump/index.cjs +11 -10
  97. package/dist/DataDump/index.mjs +11 -10
  98. package/dist/{DataDump-VtVvKQ_7.js → DataDump-DVJK4FGN.js} +3 -3
  99. package/dist/{DataDump-drKZELB1.js → DataDump-Duov3PMc.js} +3 -3
  100. package/dist/DataList/components/DataListAction/index.cjs +2 -2
  101. package/dist/DataList/components/DataListAction/index.mjs +2 -2
  102. package/dist/DataList/components/DataListActions/index.cjs +18 -16
  103. package/dist/DataList/components/DataListActions/index.mjs +18 -16
  104. package/dist/DataList/components/DataListActionsMenu/DataListActionsMenu.d.ts +2 -2
  105. package/dist/DataList/components/DataListActionsMenu/index.cjs +3 -1
  106. package/dist/DataList/components/DataListActionsMenu/index.mjs +3 -1
  107. package/dist/DataList/components/DataListBulkActions/index.cjs +19 -17
  108. package/dist/DataList/components/DataListBulkActions/index.mjs +19 -17
  109. package/dist/DataList/components/DataListEmptyState/index.cjs +4 -4
  110. package/dist/DataList/components/DataListEmptyState/index.mjs +4 -4
  111. package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +26 -24
  112. package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +26 -24
  113. package/dist/DataList/components/DataListFilters/index.cjs +35 -33
  114. package/dist/DataList/components/DataListFilters/index.mjs +35 -33
  115. package/dist/DataList/components/DataListHeader/index.cjs +22 -20
  116. package/dist/DataList/components/DataListHeader/index.mjs +22 -20
  117. package/dist/DataList/components/DataListHeaderTile/components/index.cjs +1 -1
  118. package/dist/DataList/components/DataListHeaderTile/components/index.mjs +1 -1
  119. package/dist/DataList/components/DataListHeaderTile/index.cjs +4 -4
  120. package/dist/DataList/components/DataListHeaderTile/index.mjs +4 -4
  121. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +2 -2
  122. package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +2 -2
  123. package/dist/DataList/components/DataListItem/index.cjs +23 -21
  124. package/dist/DataList/components/DataListItem/index.mjs +23 -21
  125. package/dist/DataList/components/DataListItemActions/index.cjs +19 -17
  126. package/dist/DataList/components/DataListItemActions/index.mjs +19 -17
  127. package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +8 -6
  128. package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +8 -6
  129. package/dist/DataList/components/DataListItems/index.cjs +24 -22
  130. package/dist/DataList/components/DataListItems/index.mjs +24 -22
  131. package/dist/DataList/components/DataListLayout/index.cjs +25 -23
  132. package/dist/DataList/components/DataListLayout/index.mjs +25 -23
  133. package/dist/DataList/components/DataListLayoutActions/index.cjs +11 -9
  134. package/dist/DataList/components/DataListLayoutActions/index.mjs +11 -9
  135. package/dist/DataList/components/DataListLoadMore/index.cjs +4 -4
  136. package/dist/DataList/components/DataListLoadMore/index.mjs +4 -4
  137. package/dist/DataList/components/DataListLoadingState/index.cjs +3 -3
  138. package/dist/DataList/components/DataListLoadingState/index.mjs +3 -3
  139. package/dist/DataList/components/DataListOverflowFade/index.cjs +1 -1
  140. package/dist/DataList/components/DataListOverflowFade/index.mjs +1 -1
  141. package/dist/DataList/components/DataListSearch/index.cjs +10 -9
  142. package/dist/DataList/components/DataListSearch/index.mjs +10 -9
  143. package/dist/DataList/components/DataListStatusBar/index.cjs +12 -10
  144. package/dist/DataList/components/DataListStatusBar/index.mjs +12 -10
  145. package/dist/DataList/components/DataListStickyHeader/index.cjs +1 -1
  146. package/dist/DataList/components/DataListStickyHeader/index.mjs +1 -1
  147. package/dist/DataList/components/DataListTags/index.cjs +4 -4
  148. package/dist/DataList/components/DataListTags/index.mjs +4 -4
  149. package/dist/DataList/components/DataListTotalCount/index.cjs +5 -5
  150. package/dist/DataList/components/DataListTotalCount/index.mjs +5 -5
  151. package/dist/DataList/index.cjs +60 -58
  152. package/dist/DataList/index.mjs +60 -58
  153. package/dist/DataList-DX1hwly9.js +9 -0
  154. package/dist/{DataList-DPpEcJ7E.js → DataList-DyBWKimq.js} +18 -18
  155. package/dist/DataList-Qb5Xash4.js +7 -0
  156. package/dist/{DataList-BXEIp06I.js → DataList-WZ7wbNmt.js} +18 -18
  157. package/dist/{DataList.utils-Hu_CbgBa.js → DataList.utils-B0CXCeKB.js} +6 -6
  158. package/dist/{DataList.utils-DKG6QNlw.js → DataList.utils-Ci2xEB-e.js} +6 -6
  159. package/dist/{DataListAction-Cx-q49La.js → DataListAction-CcD0IsaE.js} +2 -2
  160. package/dist/{DataListAction-OTsoLBqQ.js → DataListAction-DlfUBSOw.js} +2 -2
  161. package/dist/{DataListActions-Dq4iqPit.js → DataListActions-Bj4d4MC5.js} +5 -5
  162. package/dist/{DataListActions-DoWlqNRw.js → DataListActions-CjRmk5_2.js} +5 -5
  163. package/dist/{DataListActionsMenu-BOJ6GBFf.js → DataListActionsMenu-BTRYmLUG.js} +8 -3
  164. package/dist/{DataListActionsMenu-BtZsN7F7.js → DataListActionsMenu-DcnJbxnv.js} +8 -3
  165. package/dist/{DataListBulkActions-cHOa3844.js → DataListBulkActions-_8jhi38T.js} +2 -2
  166. package/dist/{DataListBulkActions-BQi84jaU.js → DataListBulkActions-_J96XomH.js} +2 -2
  167. package/dist/{DataListEmptyState-jByh7lVb.js → DataListEmptyState-Cgx3mGue.js} +3 -3
  168. package/dist/{DataListEmptyState-Ce11XP3B.js → DataListEmptyState-Dfi_7w8p.js} +3 -3
  169. package/dist/{DataListFilters-aXdgdu10.js → DataListFilters-3Lhc0qL7.js} +3 -3
  170. package/dist/{DataListFilters-Dxkng3G4.js → DataListFilters-BeZddx04.js} +3 -3
  171. package/dist/{DataListHeader-DGKYUSx5.js → DataListHeader-DGwwEAQ8.js} +6 -6
  172. package/dist/{DataListHeader-C9_gJyMZ.js → DataListHeader-qtn8Vp52.js} +6 -6
  173. package/dist/{DataListHeaderTile-DX2RRNWh.js → DataListHeaderTile-BGXmg254.js} +4 -4
  174. package/dist/{DataListHeaderTile-Cv6u2T9-.js → DataListHeaderTile-BSMTtxTF.js} +4 -4
  175. package/dist/{DataListItem-B0-w-qA7.js → DataListItem-BWkU4H2V.js} +6 -6
  176. package/dist/{DataListItem-B5ntnVm6.js → DataListItem-ChPyCbIP.js} +6 -6
  177. package/dist/{DataListItemActions-Dh8UGrxx.js → DataListItemActions-BlFfJCkE.js} +2 -2
  178. package/dist/{DataListItemActions-CPzwwAxE.js → DataListItemActions-CV1ybkOS.js} +2 -2
  179. package/dist/{DataListItemActionsOverflow-D-1j_VW1.js → DataListItemActionsOverflow-B218VAcU.js} +3 -3
  180. package/dist/{DataListItemActionsOverflow-BZOe6Q2X.js → DataListItemActionsOverflow-CybgGhn7.js} +3 -3
  181. package/dist/{DataListItemClickable-8iEm6BU0.js → DataListItemClickable-CR2b2bRi.js} +1 -1
  182. package/dist/{DataListItemClickable-BZ7u37GY.js → DataListItemClickable-DCUiBnug.js} +1 -1
  183. package/dist/{DataListItems-DV5BwVMj.js → DataListItems-B4VJLo10.js} +1 -1
  184. package/dist/{DataListItems-DmcrKmEN.js → DataListItems-uYNXfNgP.js} +1 -1
  185. package/dist/{DataListLayout-DKl7LNTC.js → DataListLayout-CKbzoR70.js} +1 -1
  186. package/dist/{DataListLayout-1ewedigR.js → DataListLayout-ntDs-Hgm.js} +1 -1
  187. package/dist/{DataListLayoutActions-KEz3AqEN.js → DataListLayoutActions-BSVlOg8b.js} +2 -2
  188. package/dist/{DataListLayoutActions-DUhQGPnj.js → DataListLayoutActions-DPI1yksu.js} +2 -2
  189. package/dist/{DataListLoadMore-CwPbyXxq.js → DataListLoadMore-Dqhp89Ah.js} +3 -3
  190. package/dist/{DataListLoadMore-6W_VbKwu.js → DataListLoadMore-DsxYMADp.js} +3 -3
  191. package/dist/{DataListLoadingState-Bvrt8fF7.js → DataListLoadingState-BCuBsDis.js} +2 -2
  192. package/dist/{DataListLoadingState-Cm3mAc4V.js → DataListLoadingState-e5oFdg4F.js} +2 -2
  193. package/dist/{DataListOverflowFade-DqAHrxFC.js → DataListOverflowFade-Ivo0Wvz6.js} +1 -1
  194. package/dist/{DataListOverflowFade-BZk4jUAc.js → DataListOverflowFade-x7-jX4Yf.js} +1 -1
  195. package/dist/{DataListSearch-BDCZ3DBO.js → DataListSearch-BCp4_hk8.js} +3 -3
  196. package/dist/{DataListSearch-ZRBp2aeL.js → DataListSearch-CUINBmW1.js} +3 -3
  197. package/dist/{DataListSort-BbKXOOi5.js → DataListSort-CBon_I1W.js} +2 -2
  198. package/dist/{DataListSort-L4Bvc5oo.js → DataListSort-D62r66iV.js} +2 -2
  199. package/dist/DataListSortingOptions-CJ4K-Jja.js +40 -0
  200. package/dist/DataListSortingOptions-DD4K6MA_.js +38 -0
  201. package/dist/{DataListStatusBar-y1l0GOU2.js → DataListStatusBar-C00g7bBB.js} +1 -1
  202. package/dist/{DataListStatusBar-6g_vMdKx.js → DataListStatusBar-DxEEl89z.js} +1 -1
  203. package/dist/DataListStickyHeader-Ap-sBN7l.js +26 -0
  204. package/dist/DataListStickyHeader-CaU6bPyq.js +28 -0
  205. package/dist/{DataListTags-D-U9a7Cf.js → DataListTags-5nw1idT0.js} +3 -3
  206. package/dist/{DataListTags-7zIefJMs.js → DataListTags-CBjvkCH0.js} +3 -3
  207. package/dist/{DataListTotalCount-w_KXphsd.js → DataListTotalCount-CJNpq3qT.js} +3 -3
  208. package/dist/{DataListTotalCount-DRtR9kSP.js → DataListTotalCount-DbXy8R2t.js} +3 -3
  209. package/dist/DataTable/index.cjs +10 -10
  210. package/dist/DataTable/index.mjs +10 -10
  211. package/dist/{DataTable-BZuUhqOS.js → DataTable-DMWG-f2X.js} +8 -8
  212. package/dist/{DataTable-CDcGHVhI.js → DataTable-EvVsB6Ax.js} +8 -8
  213. package/dist/DatePicker/index.cjs +3 -3
  214. package/dist/DatePicker/index.mjs +3 -3
  215. package/dist/{DatePicker-C_tgSO8D.js → DatePicker-BxGSZhjs.js} +3 -3
  216. package/dist/{DatePicker-C4MqESb9.js → DatePicker-d4x9w1ed.js} +3 -3
  217. package/dist/{DayOfMonthSelect-Bau8tFlz.js → DayOfMonthSelect-Cw0UdUV3.js} +7 -7
  218. package/dist/{DayOfMonthSelect-CbpdTLpP.js → DayOfMonthSelect-Dn723mVZ.js} +7 -7
  219. package/dist/DescriptionList/index.cjs +2 -2
  220. package/dist/DescriptionList/index.mjs +2 -2
  221. package/dist/{DescriptionList-BFFnA1WM.js → DescriptionList-DYVPB4S2.js} +2 -2
  222. package/dist/{DescriptionList-CvtHC4iy.js → DescriptionList-eeNSRnJh.js} +2 -2
  223. package/dist/Disclosure/index.cjs +2 -2
  224. package/dist/Disclosure/index.mjs +2 -2
  225. package/dist/Disclosure-C9P5TRF7.js +36 -0
  226. package/dist/Disclosure-CT3NlzDM.js +38 -0
  227. package/dist/Divider/index.cjs +1 -1
  228. package/dist/Divider/index.mjs +1 -1
  229. package/dist/{Divider-Dt_qE9xe.js → Divider-C9MO_-B0.js} +1 -1
  230. package/dist/{Divider-DOmpOAKU.js → Divider-Dszqbu3Y.js} +1 -1
  231. package/dist/Drawer/index.cjs +8 -6
  232. package/dist/Drawer/index.mjs +8 -6
  233. package/dist/DrawerGrid-C7bFa1GN.js +36 -0
  234. package/dist/DrawerGrid-vk6ERa51.js +33 -0
  235. package/dist/Emphasis/index.cjs +2 -2
  236. package/dist/Emphasis/index.mjs +2 -2
  237. package/dist/{Emphasis-QUXcR1kz.js → Emphasis-BplDyhht.js} +1 -1
  238. package/dist/{Emphasis-DDC_AArN.js → Emphasis-DP4J-a9v.js} +1 -1
  239. package/dist/FeatureSwitch/index.cjs +13 -12
  240. package/dist/FeatureSwitch/index.mjs +13 -12
  241. package/dist/{FeatureSwitch-DQILZG30.js → FeatureSwitch-5Plhp8bK.js} +8 -8
  242. package/dist/{FeatureSwitch-D1bfsSse.js → FeatureSwitch-RNZRIirq.js} +8 -8
  243. package/dist/Flex/index.cjs +1 -1
  244. package/dist/Flex/index.mjs +1 -1
  245. package/dist/{Flex-CBKf3epb.js → Flex-CLfxL4uP.js} +1 -1
  246. package/dist/{Flex-DXDpEzMI.js → Flex-KDIKEiWV.js} +1 -1
  247. package/dist/FormField/index.cjs +6 -6
  248. package/dist/FormField/index.mjs +6 -6
  249. package/dist/{FormField-gk3c6AkN.js → FormField-Br5alT0e.js} +6 -6
  250. package/dist/{FormField-BEjTkpb3.js → FormField-DO3HRP-l.js} +6 -6
  251. package/dist/FormatFile/index.cjs +17 -16
  252. package/dist/FormatFile/index.mjs +17 -16
  253. package/dist/{FormatFile-IAQXQH9b.js → FormatFile-CR4jItcl.js} +8 -8
  254. package/dist/{FormatFile-CLJdzinO.js → FormatFile-DKR99jOP.js} +8 -8
  255. package/dist/Gallery/index.cjs +20 -18
  256. package/dist/Gallery/index.mjs +20 -18
  257. package/dist/{Gallery-B5v8bbz5.js → Gallery-BAVTu9wr.js} +4 -4
  258. package/dist/{Gallery-Ch2uqtqb.js → Gallery-BzphW8_-.js} +4 -4
  259. package/dist/Glimmer/index.cjs +2 -2
  260. package/dist/Glimmer/index.mjs +2 -2
  261. package/dist/{Glimmer-Dz1E9Bo5.js → Glimmer-B2MoOE-s.js} +4 -4
  262. package/dist/{Glimmer-Cgcy2Ruw.js → Glimmer-D7ctwTzA.js} +4 -4
  263. package/dist/Grid/InternalGridCell/index.cjs +1 -1
  264. package/dist/Grid/InternalGridCell/index.mjs +1 -1
  265. package/dist/Grid/index.cjs +4 -4
  266. package/dist/Grid/index.mjs +4 -4
  267. package/dist/{Grid-cuC0E5S-.js → Grid-eMgwCKeb.js} +3 -3
  268. package/dist/{Grid-InsV4yVr.js → Grid-vCIK3QgQ.js} +3 -3
  269. package/dist/Heading/index.cjs +5 -3
  270. package/dist/Heading/index.mjs +5 -3
  271. package/dist/{Heading-UeMlAnTK.js → Heading-B4TyweCq.js} +3 -3
  272. package/dist/{Heading-BRqlPY1t.js → Heading-MZbPA1EN.js} +3 -3
  273. package/dist/InlineLabel/index.cjs +2 -2
  274. package/dist/InlineLabel/index.mjs +2 -2
  275. package/dist/InlineLabel-CBlGoG-0.js +21 -0
  276. package/dist/InlineLabel-nHCp9-lL.js +23 -0
  277. package/dist/InputAvatar/index.cjs +9 -9
  278. package/dist/InputAvatar/index.mjs +9 -9
  279. package/dist/{InputAvatar-CLARroYx.js → InputAvatar-BDiAx8_I.js} +5 -5
  280. package/dist/{InputAvatar-BCrhmSXG.js → InputAvatar-Dqns8ejm.js} +5 -5
  281. package/dist/InputDate/index.cjs +8 -8
  282. package/dist/InputDate/index.mjs +8 -8
  283. package/dist/{InputDate-BLiP9KkH.js → InputDate-C8VSSjkc.js} +2 -2
  284. package/dist/{InputDate-CxxRECJZ.js → InputDate-CQORRsm3.js} +2 -2
  285. package/dist/InputEmail/index.cjs +7 -7
  286. package/dist/InputEmail/index.mjs +7 -7
  287. package/dist/{InputEmail-CRoXkC6O.js → InputEmail-CRz5OoCg.js} +1 -1
  288. package/dist/{InputEmail-CR4eAJhF.js → InputEmail-Cg--thvv.js} +1 -1
  289. package/dist/InputFile/index.cjs +6 -6
  290. package/dist/InputFile/index.mjs +6 -6
  291. package/dist/{InputFile-Cd-ZAiaE.js → InputFile-8IOQFsKj.js} +5 -5
  292. package/dist/{InputFile-dGcVRsTb.js → InputFile-BdAFzqGN.js} +5 -5
  293. package/dist/InputNumber/index.cjs +7 -7
  294. package/dist/InputNumber/index.mjs +7 -7
  295. package/dist/{InputNumber-B_DPmLxw.js → InputNumber-B0S4HLxl.js} +1 -1
  296. package/dist/{InputNumber-CaVlLBY-.js → InputNumber-D0SPZPd8.js} +1 -1
  297. package/dist/InputPassword/index.cjs +7 -7
  298. package/dist/InputPassword/index.mjs +7 -7
  299. package/dist/{InputPassword-DkXjffQJ.js → InputPassword-BsyRZxQ1.js} +1 -1
  300. package/dist/{InputPassword-CHnNaVgH.js → InputPassword-DB1rTPVY.js} +1 -1
  301. package/dist/InputPhoneNumber/index.cjs +7 -7
  302. package/dist/InputPhoneNumber/index.mjs +7 -7
  303. package/dist/{InputPhoneNumber-DPOd0myW.js → InputPhoneNumber-BtqNkIe-.js} +2 -2
  304. package/dist/{InputPhoneNumber-7yEb0aqk.js → InputPhoneNumber-CetjOIYY.js} +2 -2
  305. package/dist/InputText/index.cjs +9 -8
  306. package/dist/InputText/index.mjs +9 -8
  307. package/dist/{InputText-ChjwzW5f.js → InputText-C8Coa_og.js} +2 -2
  308. package/dist/{InputText-uSLQbHTc.js → InputText-CjBbL76E.js} +2 -2
  309. package/dist/InputTime/index.cjs +7 -7
  310. package/dist/InputTime/index.mjs +7 -7
  311. package/dist/{InputTime-fznha1UM.js → InputTime-BTt3gnKv.js} +1 -1
  312. package/dist/{InputTime-Bee_jeCQ.js → InputTime-BvFpYWDz.js} +1 -1
  313. package/dist/InputValidation/index.cjs +3 -3
  314. package/dist/InputValidation/index.mjs +3 -3
  315. package/dist/{InputValidation-DjD6e82M.js → InputValidation-BvFAMweO.js} +2 -2
  316. package/dist/{InputValidation-CEqsURdl.js → InputValidation-DDTInAPc.js} +2 -2
  317. package/dist/{InternalChipDismissible-RHN8bbmz.js → InternalChipDismissible-CvkZplkA.js} +9 -9
  318. package/dist/{InternalChipDismissible-BIVRuhJk.js → InternalChipDismissible-D-x2dZe2.js} +9 -9
  319. package/dist/{InternalGridCell-DFrhM8oX.js → InternalGridCell-DVIsYmbG.js} +1 -1
  320. package/dist/{InternalGridCell-CBv95C-G.js → InternalGridCell-DqEJFv0E.js} +1 -1
  321. package/dist/LightBox/LightBox.d.ts +2 -2
  322. package/dist/LightBox/index.cjs +6 -4
  323. package/dist/LightBox/index.mjs +6 -4
  324. package/dist/{LightBox-d7uV7Z3g.js → LightBox-B9BO5e8I.js} +8 -4
  325. package/dist/{LightBox-DlT8VR-h.js → LightBox-CCRZ6-kc.js} +8 -4
  326. package/dist/List/index.cjs +11 -10
  327. package/dist/List/index.mjs +11 -10
  328. package/dist/{List-Cmwa_lQY.js → List-BP3NVn4U.js} +8 -8
  329. package/dist/{List-DpivlmHP.js → List-COz-PmkQ.js} +8 -8
  330. package/dist/Markdown/index.cjs +10 -9
  331. package/dist/Markdown/index.mjs +10 -9
  332. package/dist/{Markdown-vWd8z3u3.js → Markdown-BVfubkEn.js} +815 -787
  333. package/dist/{Markdown-C30HaonV.js → Markdown-DB57T8tj.js} +777 -749
  334. package/dist/Menu/index.cjs +5 -4
  335. package/dist/Menu/index.mjs +5 -4
  336. package/dist/{Menu-BZeIt9eb.js → Menu-Br_z6m1_.js} +4 -4
  337. package/dist/{Menu-CwVGTv_f.js → Menu-C57XI2sy.js} +4 -4
  338. package/dist/Modal/Modal.d.ts +2 -2
  339. package/dist/Modal/index.cjs +8 -6
  340. package/dist/Modal/index.mjs +8 -6
  341. package/dist/Modal-CqDimE_x.js +67 -0
  342. package/dist/Modal-GpNw_tLF.js +65 -0
  343. package/dist/MultiSelect/index.cjs +4 -4
  344. package/dist/MultiSelect/index.mjs +4 -4
  345. package/dist/{MultiSelect-BECw-AcT.js → MultiSelect-DmmfA45y.js} +4 -4
  346. package/dist/{MultiSelect-ougvKnVn.js → MultiSelect-EGNb_YdS.js} +4 -4
  347. package/dist/{Option-BpBHCzKH.js → Option-BOMPF4x6.js} +1 -1
  348. package/dist/{Option-D3yJJXpu.js → Option-CD7Dainq.js} +1 -1
  349. package/dist/Page/index.cjs +13 -13
  350. package/dist/Page/index.mjs +13 -13
  351. package/dist/{Page-CvSJQUiG.js → Page-BPYQHXu5.js} +8 -8
  352. package/dist/{Page-Chuyscyc.js → Page-DHn7vtJj.js} +8 -8
  353. package/dist/Popover/index.cjs +4 -4
  354. package/dist/Popover/index.mjs +4 -4
  355. package/dist/Popover-CuxXmTmQ.js +53 -0
  356. package/dist/Popover-Dky6Rm2_.js +51 -0
  357. package/dist/ProgressBar/index.cjs +1 -1
  358. package/dist/ProgressBar/index.mjs +1 -1
  359. package/dist/{ProgressBar-DjFTRxLD.js → ProgressBar-D6VOjCm4.js} +1 -1
  360. package/dist/{ProgressBar-D2wik11q.js → ProgressBar-DQUgUNrS.js} +1 -1
  361. package/dist/RadioGroup/index.cjs +3 -3
  362. package/dist/RadioGroup/index.mjs +3 -3
  363. package/dist/{RadioGroup-CYk3GUi5.js → RadioGroup-B49EfNAb.js} +2 -2
  364. package/dist/{RadioGroup-ChbzSn3n.js → RadioGroup-Bu8fGdqO.js} +2 -2
  365. package/dist/RecurringSelect/components/index.cjs +4 -4
  366. package/dist/RecurringSelect/components/index.mjs +4 -4
  367. package/dist/RecurringSelect/index.cjs +12 -12
  368. package/dist/RecurringSelect/index.mjs +12 -12
  369. package/dist/{RecurringSelect-DwYgJT0O.js → RecurringSelect-BseXz8Bd.js} +8 -8
  370. package/dist/{RecurringSelect-CCRpusS-.js → RecurringSelect-BwGMrXnr.js} +8 -8
  371. package/dist/Select/index.cjs +7 -7
  372. package/dist/Select/index.mjs +7 -7
  373. package/dist/Spinner/index.cjs +1 -1
  374. package/dist/Spinner/index.mjs +1 -1
  375. package/dist/Spinner-5gazZn3N.js +17 -0
  376. package/dist/Spinner-YuQ5bN78.js +19 -0
  377. package/dist/StatusIndicator/index.cjs +1 -1
  378. package/dist/StatusIndicator/index.mjs +1 -1
  379. package/dist/{StatusIndicator-D3WXwjvy.js → StatusIndicator-CwKO_J6U.js} +1 -1
  380. package/dist/{StatusIndicator-CS_DbTB7.js → StatusIndicator-D2zrrTVA.js} +1 -1
  381. package/dist/StatusLabel/index.cjs +3 -3
  382. package/dist/StatusLabel/index.mjs +3 -3
  383. package/dist/{StatusLabel-Ddyb7Ll8.js → StatusLabel-CJqEkyQZ.js} +3 -3
  384. package/dist/{StatusLabel-C6YFzbSI.js → StatusLabel-DV1tyvxr.js} +3 -3
  385. package/dist/Switch/index.cjs +2 -2
  386. package/dist/Switch/index.mjs +2 -2
  387. package/dist/Switch-B4rTIL_b.js +49 -0
  388. package/dist/Switch-D1umPMVR.js +51 -0
  389. package/dist/Table/index.cjs +1 -1
  390. package/dist/Table/index.mjs +1 -1
  391. package/dist/Tabs/index.cjs +2 -2
  392. package/dist/Tabs/index.mjs +2 -2
  393. package/dist/{Tabs-CXrfbGMA.js → Tabs-CtI2r8hf.js} +2 -2
  394. package/dist/{Tabs-CXm1hdlm.js → Tabs-srk0fYLi.js} +2 -2
  395. package/dist/Text/index.cjs +2 -2
  396. package/dist/Text/index.mjs +2 -2
  397. package/dist/{Text-ik451hdv.js → Text-B0MvS7fA.js} +1 -1
  398. package/dist/{Text-9V-wbsY9.js → Text-L0uH5HlC.js} +1 -1
  399. package/dist/Toast/index.cjs +3 -3
  400. package/dist/Toast/index.mjs +3 -3
  401. package/dist/Tooltip/index.cjs +4 -2
  402. package/dist/Tooltip/index.mjs +4 -2
  403. package/dist/{Tooltip-mn2jRxXD.js → Tooltip-BGoYIW4v.js} +6 -4
  404. package/dist/{Tooltip-BEW-a9OW.js → Tooltip-h7mlmKO8.js} +6 -4
  405. package/dist/Typography/index.cjs +1 -1
  406. package/dist/Typography/index.mjs +1 -1
  407. package/dist/Typography-BLZqr2yE.js +55 -0
  408. package/dist/Typography-g6o6Nu4H.js +57 -0
  409. package/dist/_polyfill-node.process-Clw8ILH4.js +258 -0
  410. package/dist/_polyfill-node.process-CzATM2P1.js +255 -0
  411. package/dist/{useSafeLayoutEffect-yaw3NyzX.js → index-JVBxhXV1.js} +1 -22
  412. package/dist/{useSafeLayoutEffect-Qir6pm57.js → index-t2DqzTGa.js} +1 -22
  413. package/dist/index.cjs +109 -108
  414. package/dist/index.mjs +109 -108
  415. package/dist/{showToast-BRHEdP_m.js → showToast-D3Hf2bB3.js} +3 -3
  416. package/dist/{showToast-DsIlFkCZ.js → showToast-lt1f__20.js} +3 -3
  417. package/dist/{useAssert-DJjF2xRH.js → useAssert-BeGBODqQ.js} +5 -3
  418. package/dist/{useAssert-Dj-7DdKE.js → useAssert-CvlH4Ru0.js} +4 -2
  419. package/dist/useAtlantisConfig-CYXIWWUG.js +16 -0
  420. package/dist/useAtlantisConfig-Dz-mOyhD.js +14 -0
  421. package/dist/useIsMounted-DaMtx554.js +68 -0
  422. package/dist/useIsMounted-Dr3u-G7D.js +70 -0
  423. package/dist/useSafeLayoutEffect-Biu-Q-_f.js +24 -0
  424. package/dist/useSafeLayoutEffect-s4dpytw-.js +26 -0
  425. package/dist/utils/useAtlantisConfig.d.ts +3 -0
  426. package/package.json +3 -2
  427. package/rollup.config.mjs +8 -1
  428. package/dist/BannerIcon-QB3lZddm.js +0 -24
  429. package/dist/BannerIcon-YIreWKuC.js +0 -27
  430. package/dist/Button-DrlSXAcB.js +0 -52
  431. package/dist/Button-cbdRUQwt.js +0 -50
  432. package/dist/Chip-C5yp1RB3.js +0 -73
  433. package/dist/Chip-D5VffuXt.js +0 -70
  434. package/dist/ComboboxAction-Cj5nDfpT.js +0 -25
  435. package/dist/ComboboxAction-DGvpl2U0.js +0 -27
  436. package/dist/ComboboxContentSearch-B8hsfo_D.js +0 -35
  437. package/dist/ComboboxContentSearch-UAyHetvM.js +0 -37
  438. package/dist/Content-B8Od1cqS.js +0 -20
  439. package/dist/Content-BknIp35w.js +0 -18
  440. package/dist/DataList-BL3zeA83.js +0 -9
  441. package/dist/DataList-D8rsiB6p.js +0 -7
  442. package/dist/DataListSortingOptions-Ciu5gWGt.js +0 -38
  443. package/dist/DataListSortingOptions-SfZWLgFS.js +0 -40
  444. package/dist/DataListStickyHeader-BKN9V51R.js +0 -28
  445. package/dist/DataListStickyHeader-CCG09E7V.js +0 -26
  446. package/dist/Disclosure-CriL84rH.js +0 -36
  447. package/dist/Disclosure-Df8W_BWF.js +0 -38
  448. package/dist/DrawerGrid-DCEepDVE.js +0 -36
  449. package/dist/DrawerGrid-Dc4c1d_a.js +0 -33
  450. package/dist/InlineLabel-D7DxCYuu.js +0 -23
  451. package/dist/InlineLabel-DUXOlhCE.js +0 -21
  452. package/dist/Modal-HA-goo8e.js +0 -65
  453. package/dist/Modal-KEpdF-eF.js +0 -63
  454. package/dist/Popover-Ci9tpAGb.js +0 -49
  455. package/dist/Popover-iG8cbNKh.js +0 -47
  456. package/dist/Spinner-BOhyUAA_.js +0 -17
  457. package/dist/Spinner-DT15aa_r.js +0 -19
  458. package/dist/Switch-DNA1j2X3.js +0 -51
  459. package/dist/Switch-i5tY1LhK.js +0 -49
  460. package/dist/Typography-CVUZmS-D.js +0 -55
  461. package/dist/Typography-D-jf-wVC.js +0 -57
  462. package/dist/getAtlantisConfig-6FPWID0P.js +0 -11
  463. package/dist/getAtlantisConfig-mcMVqf6m.js +0 -13
  464. package/dist/index-BoP83yS-.js +0 -8
  465. package/dist/index-Jb6tGBiW.js +0 -11
  466. package/dist/utils/getAtlantisConfig.d.ts +0 -3
@@ -0,0 +1,52 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var classnames = require('classnames');
5
+ var reactRouterDom = require('react-router-dom');
6
+ var styleInject_es = require('./style-inject.es-XZHJH68X.js');
7
+ var Icon = require('./Icon-B9XNdA1T.js');
8
+ var Typography = require('./Typography-g6o6Nu4H.js');
9
+
10
+ var css_248z = ":root {\n --button--color-variation: var(--color-interactive);\n --button--color-variation--hover: var(--color-interactive--hover);\n --button--color-surface: var(--color-surface);\n --button--color-surface--hover: var(--color-surface--hover);\n --button--color-primaryLabel: var(--color-surface);\n\n --button--duration-loading: var(--timing-loading--extended);\n}\n\n.U9VsquOtk2I- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n min-height: calc(16px * 2.25);\n min-height: calc(var(--base-unit) * 2.25);\n box-sizing: border-box;\n margin: 0;\n border: calc(16px / 16) solid rgb(125, 176, 14);\n border: var(--border-base) solid var(--button--color-variation);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n color: rgb(125, 176, 14);\n color: var(--button--color-variation);\n -webkit-font-smoothing: antialiased;\n letter-spacing: calc(16px / 40);\n letter-spacing: var(--typography--letterSpacing-loose);\n text-align: center;\n -webkit-text-decoration: none;\n text-decoration: none;\n vertical-align: middle;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n cursor: pointer;\n transition: all 200ms ease-out;\n transition: all var(--timing-base) ease-out;\n -webkit-appearance: none;\n appearance: none;\n fill: rgb(125, 176, 14);\n fill: var(--button--color-variation);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.jobber-retheme .U9VsquOtk2I- {\n min-height: calc(16px * 2.5);\n min-height: calc(var(--base-unit) * 2.5);\n}\n\n.U9VsquOtk2I- * {\n fill: inherit !important;\n}\n\n.U9VsquOtk2I- * {\n color: inherit;\n /* required to over-ride very specific fill from <Icon> */\n}\n\n.jobber-retheme .U9VsquOtk2I- * {\n font-weight: 600 !important;\n}\n\n.jobber-retheme .U9VsquOtk2I- * {\n line-height: 1;\n letter-spacing: 0;\n /* post-retheme this can move into the TSX on L177 */\n}\n\n.U9VsquOtk2I-:hover,\na.U9VsquOtk2I-:hover,\n.U9VsquOtk2I-:focus-visible,\na.U9VsquOtk2I-:focus-visible,\n.U9VsquOtk2I-:active,\na.U9VsquOtk2I-:active {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n color: rgb(81, 114, 9);\n color: var(--button--color-variation--hover);\n fill: rgb(81, 114, 9);\n fill: var(--button--color-variation--hover);\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n}\n\n.U9VsquOtk2I-:focus-visible,\na.U9VsquOtk2I-:focus-visible,\n.U9VsquOtk2I-:active,\na.U9VsquOtk2I-:active {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n outline: transparent;\n}\n\n/* Variation */\n\n.qkFQwI0PKfw- {\n --button--color-variation: var(--color-interactive);\n --button--color-variation--hover: var(--color-interactive--hover);\n}\n\n.jsKQEOBdJ0k- {\n --button--color-variation: var(--color-informative);\n --button--color-variation--hover: var(--color-informative--onSurface);\n}\n\n.jobber-retheme .jsKQEOBdJ0k- {\n --button--color-variation: var(--color-interactive--subtle);\n --button--color-variation--hover: var(--color-interactive--subtle--hover);\n}\n\n._4W8X0dxZDK4- {\n --button--color-variation: var(--color-destructive);\n --button--color-variation--hover: var(--color-destructive--hover);\n}\n\n/* Subtle is special because, by default, it's styled as a secondary button */\n\n.vDKO-cmh8vY- {\n --button--color-variation: var(--color-interactive--subtle);\n --button--color-variation--hover: var(--color-interactive--subtle--hover);\n}\n\n/* Type */\n\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-),\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):hover,\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):focus-visible {\n color: rgba(255, 255, 255, 1);\n color: var(--button--color-primaryLabel);\n background-color: rgb(125, 176, 14);\n background-color: var(--button--color-variation);\n fill: rgba(255, 255, 255, 1);\n fill: var(--button--color-primaryLabel);\n}\n\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):hover,\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):focus-visible {\n background-color: rgb(81, 114, 9);\n background-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.FXqN12jWtPo- {\n color: rgb(125, 176, 14);\n color: var(--button--color-variation);\n fill: rgb(125, 176, 14);\n fill: var(--button--color-variation);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n}\n\n.pf6G840lKdA-,\n.vDKO-cmh8vY-.FXqN12jWtPo- {\n border-color: rgb(125, 176, 14);\n border-color: var(--button--color-variation);\n}\n\n.jobber-retheme .pf6G840lKdA-,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n}\n\n.vDKO-cmh8vY-.FXqN12jWtPo-:hover,\n.vDKO-cmh8vY-.FXqN12jWtPo-:focus-visible {\n color: rgb(81, 114, 9);\n color: var(--button--color-variation--hover);\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n fill: rgb(81, 114, 9);\n fill: var(--button--color-variation--hover);\n}\n\n.jobber-retheme .pf6G840lKdA-:hover,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo-:hover,\n.jobber-retheme .pf6G840lKdA-:focus-visible,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo-:focus-visible {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.pf6G840lKdA- {\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n}\n\n.m7DbwRZWcNk-,\n.vDKO-cmh8vY-.pf6G840lKdA- {\n border-color: transparent;\n}\n\n.jobber-retheme .m7DbwRZWcNk- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n}\n\n.vDKO-cmh8vY-.pf6G840lKdA-:hover,\n.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible {\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n}\n\n.m7DbwRZWcNk-:hover,\n.m7DbwRZWcNk-:focus-visible,\na.m7DbwRZWcNk-:hover,\na.m7DbwRZWcNk-:focus-visible,\n.vDKO-cmh8vY-.pf6G840lKdA-:hover,\n.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible,\na.vDKO-cmh8vY-.pf6G840lKdA-:hover,\na.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible {\n border-color: transparent;\n}\n\n.jobber-retheme .m7DbwRZWcNk-:hover,\n.jobber-retheme .m7DbwRZWcNk-:focus-visible,\n.jobber-retheme a.m7DbwRZWcNk-:hover,\n.jobber-retheme a.m7DbwRZWcNk-:focus-visible {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.m7DbwRZWcNk- {\n border-color: transparent;\n background-color: transparent;\n}\n\n.vDKO-cmh8vY-.m7DbwRZWcNk-:hover,\n.vDKO-cmh8vY-.m7DbwRZWcNk-:focus-visible,\na.vDKO-cmh8vY-.m7DbwRZWcNk-:hover,\na.vDKO-cmh8vY-.m7DbwRZWcNk-:focus-visible {\n border-color: transparent;\n color: rgb(66, 78, 86);\n color: var(--color-interactive--subtle--hover);\n fill: rgb(66, 78, 86);\n fill: var(--color-interactive--subtle--hover);\n}\n\n/* Disabled */\n\n.U9VsquOtk2I-.bg-l22drjd0-,\na.U9VsquOtk2I-.bg-l22drjd0-,\n.U9VsquOtk2I-.bg-l22drjd0-:hover,\na.U9VsquOtk2I-.bg-l22drjd0-:hover {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n fill: rgb(181, 181, 181);\n fill: var(--color-disabled);\n pointer-events: none;\n cursor: not-allowed;\n}\n\n/* Sizes */\n\n.STSDgSRREx4- {\n min-height: calc(16px * 1.5);\n min-height: calc(var(--base-unit) * 1.5);\n padding: 0 calc(16px / 2);\n padding: 0 var(--space-small);\n letter-spacing: 0;\n}\n\n.jobber-retheme .STSDgSRREx4- {\n min-height: calc(16px * 1.5);\n min-height: var(--space-large);\n padding: calc(16px / 2) calc((16px * 1) - (16px / 4));\n padding: calc(16px / 2) calc(calc(16px * 1) - calc(16px / 4));\n padding: var(--space-small) calc(var(--space-base) - var(--space-smaller));\n}\n\n.jobber-retheme .STSDgSRREx4- span {\n font-size: calc((16px * 1) * 0.875);\n font-size: calc(calc(16px * 1) * 0.875);\n font-size: var(--typography--fontSize-base);\n}\n\n.amIh7vPETfo- {\n padding: 0 calc((16px * 1) - (16px / 4));\n padding: 0 calc(calc(16px * 1) - calc(16px / 4));\n padding: 0 calc(var(--space-base) - var(--space-smaller));\n}\n\n.jobber-retheme .amIh7vPETfo- {\n padding: 0 calc(16px * 1);\n padding: 0 var(--space-base);\n}\n\n.ON6ezOojFVo- {\n min-height: calc(16px * 3);\n min-height: calc(var(--base-unit) * 3);\n padding: 0 calc(16px * 1);\n padding: 0 var(--space-base);\n}\n\n.jobber-retheme .ON6ezOojFVo- {\n min-height: calc(16px * 3);\n min-height: calc(var(--base-unit) * 3);\n padding: 0 calc((16px * 1) + (16px / 4));\n padding: 0 calc(calc(16px * 1) + calc(16px / 4));\n padding: 0 calc(var(--space-base) + var(--space-smaller));\n}\n\n/* Icon */\n\n.U9VsquOtk2I- svg {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.Qq-idRLJTCk- {\n width: calc(16px * 2.25);\n width: calc(var(--base-unit) * 2.25);\n padding: 0;\n}\n\n.Qq-idRLJTCk-.STSDgSRREx4- {\n width: calc((16px / 2) * 3);\n width: calc(calc(16px / 2) * 3);\n width: calc(var(--space-small) * 3);\n}\n\n.Qq-idRLJTCk-.amIh7vPETfo- {\n width: calc((16px * 1) * 2.25);\n width: calc(calc(16px * 1) * 2.25);\n width: calc(var(--space-base) * 2.25);\n}\n\n.jobber-retheme .Qq-idRLJTCk-.amIh7vPETfo- {\n width: calc((16px * 1) * 2.5);\n width: calc(calc(16px * 1) * 2.5);\n width: calc(var(--space-base) * 2.5);\n}\n\n.Qq-idRLJTCk-.ON6ezOojFVo- {\n width: calc((16px * 1.5) * 2);\n width: calc(calc(16px * 1.5) * 2);\n width: calc(var(--space-large) * 2);\n}\n\n.EWh1gvgPJQg- {\n width: auto;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.jobber-retheme .EWh1gvgPJQg- {\n gap: calc(16px / 4);\n gap: var(--space-smaller);\n}\n\n/* Don't want to move things that will update after re-theme */\n\n/* stylelint-disable-next-line no-descending-specificity */\n\n.EWh1gvgPJQg- > * {\n text-align: left;\n}\n\n.pfzTUMgNb3o- > *:first-child {\n -ms-flex-order: 1;\n order: 1;\n}\n\n.jobber-retheme .EWh1gvgPJQg- > *:first-child {\n margin-left: calc((16px / 4) * -1);\n margin-left: calc(calc(16px / 4) * -1);\n margin-left: calc(var(--space-smaller) * -1);\n}\n\n.jobber-retheme .pfzTUMgNb3o- > *:first-child {\n margin-left: 0;\n margin-right: calc((16px / 4) * -1);\n margin-right: calc(calc(16px / 4) * -1);\n margin-right: calc(var(--space-smaller) * -1);\n}\n\n.ZCHqCEyLBw0- {\n width: 100%;\n}\n\n.VVFKEv1ksMA- {\n background-image: linear-gradient(\n 135deg,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 25%,\n transparent 25%,\n transparent 50%,\n rgba(0, 0, 0, 0.1) 50%,\n rgba(0, 0, 0, 0.1) 75%,\n transparent 75%,\n transparent 100%\n );\n background-size: calc(16px * 2) calc(16px * 2);\n background-size: var(--space-larger) var(--space-larger);\n pointer-events: none;\n cursor: not-allowed;\n -webkit-animation-duration: 2000ms;\n -webkit-animation-duration: var(--button--duration-loading);\n animation-duration: 2000ms;\n animation-duration: var(--button--duration-loading);\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: a8Q-0lnKH5M-;\n animation-name: a8Q-0lnKH5M-;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n}\n\n.FXqN12jWtPo-.VVFKEv1ksMA-:not(.vDKO-cmh8vY-) {\n background-image: linear-gradient(\n 135deg,\n rgba(255, 255, 255, 0.25) 0%,\n rgba(255, 255, 255, 0.25) 25%,\n transparent 25%,\n transparent 50%,\n rgba(255, 255, 255, 0.25) 50%,\n rgba(255, 255, 255, 0.25) 75%,\n transparent 75%,\n transparent 100%\n );\n}\n\n@-webkit-keyframes a8Q-0lnKH5M- {\n 0% {\n background-position: 0 0;\n }\n\n 100% {\n background-position: calc(16px * 2) calc(16px * 2);\n background-position: var(--space-larger) var(--space-larger);\n }\n}\n\n@keyframes a8Q-0lnKH5M- {\n 0% {\n background-position: 0 0;\n }\n\n 100% {\n background-position: calc(16px * 2) calc(16px * 2);\n background-position: var(--space-larger) var(--space-larger);\n }\n}\n";
11
+ var styles = {"button":"U9VsquOtk2I-","work":"qkFQwI0PKfw-","learning":"jsKQEOBdJ0k-","destructive":"_4W8X0dxZDK4-","subtle":"vDKO-cmh8vY-","primary":"FXqN12jWtPo-","disabled":"bg-l22drjd0-","secondary":"pf6G840lKdA-","tertiary":"m7DbwRZWcNk-","small":"STSDgSRREx4-","base":"amIh7vPETfo-","large":"ON6ezOojFVo-","onlyIcon":"Qq-idRLJTCk-","hasIconAndLabel":"EWh1gvgPJQg-","iconOnRight":"pfzTUMgNb3o-","fullWidth":"ZCHqCEyLBw0-","loading":"VVFKEv1ksMA-","animateStripes":"a8Q-0lnKH5M-"};
12
+ styleInject_es.styleInject(css_248z);
13
+
14
+ function Button(props) {
15
+ const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, fullWidth, icon, label, iconOnRight, id, loading, onClick, onMouseDown, role, size = "base", type = "primary", url, to, variation = "work", submit, } = props;
16
+ const buttonClassNames = classnames(styles.button, styles[size], {
17
+ [styles.onlyIcon]: icon && !label,
18
+ [styles.hasIconAndLabel]: icon && label,
19
+ [styles.iconOnRight]: iconOnRight,
20
+ [styles[variation]]: variation,
21
+ [styles[type]]: type,
22
+ [styles.disabled]: disabled,
23
+ [styles.fullWidth]: fullWidth,
24
+ [styles.loading]: loading,
25
+ });
26
+ const buttonType = submit ? "submit" : "button";
27
+ const tagProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ className: buttonClassNames, disabled,
28
+ id }, (!disabled && { href: url })), (!disabled && { onClick: onClick })), (!disabled && { onMouseDown: onMouseDown })), (external && { target: "_blank" })), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
29
+ const buttonInternals = React.createElement(ButtonInternals, Object.assign({}, props));
30
+ if (to) {
31
+ return (React.createElement(reactRouterDom.Link, Object.assign({}, tagProps, { to: to }), buttonInternals));
32
+ }
33
+ const Tag = url ? "a" : "button";
34
+ return React.createElement(Tag, Object.assign({}, tagProps), buttonInternals);
35
+ }
36
+ function ButtonInternals({ label, icon, size = "base" }) {
37
+ return (React.createElement(React.Fragment, null,
38
+ icon && React.createElement(Icon.Icon, { name: icon, size: size }),
39
+ React.createElement(Typography.Typography, { element: "span", fontWeight: "extraBold", fontFamily: "base", size: getTypeSizes(size) }, label)));
40
+ }
41
+ function getTypeSizes(size) {
42
+ switch (size) {
43
+ case "small":
44
+ return "small";
45
+ case "large":
46
+ return "large";
47
+ default:
48
+ return "base";
49
+ }
50
+ }
51
+
52
+ exports.Button = Button;
@@ -0,0 +1,50 @@
1
+ import React from 'react';
2
+ import classnames from 'classnames';
3
+ import { Link } from 'react-router-dom';
4
+ import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
5
+ import { I as Icon } from './Icon-CoHJokXb.js';
6
+ import { T as Typography } from './Typography-BLZqr2yE.js';
7
+
8
+ var css_248z = ":root {\n --button--color-variation: var(--color-interactive);\n --button--color-variation--hover: var(--color-interactive--hover);\n --button--color-surface: var(--color-surface);\n --button--color-surface--hover: var(--color-surface--hover);\n --button--color-primaryLabel: var(--color-surface);\n\n --button--duration-loading: var(--timing-loading--extended);\n}\n\n.U9VsquOtk2I- {\n display: -ms-inline-flexbox;\n display: inline-flex;\n min-height: calc(16px * 2.25);\n min-height: calc(var(--base-unit) * 2.25);\n box-sizing: border-box;\n margin: 0;\n border: calc(16px / 16) solid rgb(125, 176, 14);\n border: var(--border-base) solid var(--button--color-variation);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n color: rgb(125, 176, 14);\n color: var(--button--color-variation);\n -webkit-font-smoothing: antialiased;\n letter-spacing: calc(16px / 40);\n letter-spacing: var(--typography--letterSpacing-loose);\n text-align: center;\n -webkit-text-decoration: none;\n text-decoration: none;\n vertical-align: middle;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n cursor: pointer;\n transition: all 200ms ease-out;\n transition: all var(--timing-base) ease-out;\n -webkit-appearance: none;\n appearance: none;\n fill: rgb(125, 176, 14);\n fill: var(--button--color-variation);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.jobber-retheme .U9VsquOtk2I- {\n min-height: calc(16px * 2.5);\n min-height: calc(var(--base-unit) * 2.5);\n}\n\n.U9VsquOtk2I- * {\n fill: inherit !important;\n}\n\n.U9VsquOtk2I- * {\n color: inherit;\n /* required to over-ride very specific fill from <Icon> */\n}\n\n.jobber-retheme .U9VsquOtk2I- * {\n font-weight: 600 !important;\n}\n\n.jobber-retheme .U9VsquOtk2I- * {\n line-height: 1;\n letter-spacing: 0;\n /* post-retheme this can move into the TSX on L177 */\n}\n\n.U9VsquOtk2I-:hover,\na.U9VsquOtk2I-:hover,\n.U9VsquOtk2I-:focus-visible,\na.U9VsquOtk2I-:focus-visible,\n.U9VsquOtk2I-:active,\na.U9VsquOtk2I-:active {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n color: rgb(81, 114, 9);\n color: var(--button--color-variation--hover);\n fill: rgb(81, 114, 9);\n fill: var(--button--color-variation--hover);\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n}\n\n.U9VsquOtk2I-:focus-visible,\na.U9VsquOtk2I-:focus-visible,\n.U9VsquOtk2I-:active,\na.U9VsquOtk2I-:active {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n outline: transparent;\n}\n\n/* Variation */\n\n.qkFQwI0PKfw- {\n --button--color-variation: var(--color-interactive);\n --button--color-variation--hover: var(--color-interactive--hover);\n}\n\n.jsKQEOBdJ0k- {\n --button--color-variation: var(--color-informative);\n --button--color-variation--hover: var(--color-informative--onSurface);\n}\n\n.jobber-retheme .jsKQEOBdJ0k- {\n --button--color-variation: var(--color-interactive--subtle);\n --button--color-variation--hover: var(--color-interactive--subtle--hover);\n}\n\n._4W8X0dxZDK4- {\n --button--color-variation: var(--color-destructive);\n --button--color-variation--hover: var(--color-destructive--hover);\n}\n\n/* Subtle is special because, by default, it's styled as a secondary button */\n\n.vDKO-cmh8vY- {\n --button--color-variation: var(--color-interactive--subtle);\n --button--color-variation--hover: var(--color-interactive--subtle--hover);\n}\n\n/* Type */\n\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-),\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):hover,\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):focus-visible {\n color: rgba(255, 255, 255, 1);\n color: var(--button--color-primaryLabel);\n background-color: rgb(125, 176, 14);\n background-color: var(--button--color-variation);\n fill: rgba(255, 255, 255, 1);\n fill: var(--button--color-primaryLabel);\n}\n\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):hover,\n.FXqN12jWtPo-:not(.vDKO-cmh8vY-):not(.bg-l22drjd0-):focus-visible {\n background-color: rgb(81, 114, 9);\n background-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.FXqN12jWtPo- {\n color: rgb(125, 176, 14);\n color: var(--button--color-variation);\n fill: rgb(125, 176, 14);\n fill: var(--button--color-variation);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n}\n\n.pf6G840lKdA-,\n.vDKO-cmh8vY-.FXqN12jWtPo- {\n border-color: rgb(125, 176, 14);\n border-color: var(--button--color-variation);\n}\n\n.jobber-retheme .pf6G840lKdA-,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n}\n\n.vDKO-cmh8vY-.FXqN12jWtPo-:hover,\n.vDKO-cmh8vY-.FXqN12jWtPo-:focus-visible {\n color: rgb(81, 114, 9);\n color: var(--button--color-variation--hover);\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n fill: rgb(81, 114, 9);\n fill: var(--button--color-variation--hover);\n}\n\n.jobber-retheme .pf6G840lKdA-:hover,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo-:hover,\n.jobber-retheme .pf6G840lKdA-:focus-visible,\n.jobber-retheme .vDKO-cmh8vY-.FXqN12jWtPo-:focus-visible {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.pf6G840lKdA- {\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--button--color-surface);\n}\n\n.m7DbwRZWcNk-,\n.vDKO-cmh8vY-.pf6G840lKdA- {\n border-color: transparent;\n}\n\n.jobber-retheme .m7DbwRZWcNk- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n}\n\n.vDKO-cmh8vY-.pf6G840lKdA-:hover,\n.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible {\n background-color: rgb(244, 246, 250);\n background-color: var(--button--color-surface--hover);\n}\n\n.m7DbwRZWcNk-:hover,\n.m7DbwRZWcNk-:focus-visible,\na.m7DbwRZWcNk-:hover,\na.m7DbwRZWcNk-:focus-visible,\n.vDKO-cmh8vY-.pf6G840lKdA-:hover,\n.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible,\na.vDKO-cmh8vY-.pf6G840lKdA-:hover,\na.vDKO-cmh8vY-.pf6G840lKdA-:focus-visible {\n border-color: transparent;\n}\n\n.jobber-retheme .m7DbwRZWcNk-:hover,\n.jobber-retheme .m7DbwRZWcNk-:focus-visible,\n.jobber-retheme a.m7DbwRZWcNk-:hover,\n.jobber-retheme a.m7DbwRZWcNk-:focus-visible {\n border-color: rgb(81, 114, 9);\n border-color: var(--button--color-variation--hover);\n}\n\n.vDKO-cmh8vY-.m7DbwRZWcNk- {\n border-color: transparent;\n background-color: transparent;\n}\n\n.vDKO-cmh8vY-.m7DbwRZWcNk-:hover,\n.vDKO-cmh8vY-.m7DbwRZWcNk-:focus-visible,\na.vDKO-cmh8vY-.m7DbwRZWcNk-:hover,\na.vDKO-cmh8vY-.m7DbwRZWcNk-:focus-visible {\n border-color: transparent;\n color: rgb(66, 78, 86);\n color: var(--color-interactive--subtle--hover);\n fill: rgb(66, 78, 86);\n fill: var(--color-interactive--subtle--hover);\n}\n\n/* Disabled */\n\n.U9VsquOtk2I-.bg-l22drjd0-,\na.U9VsquOtk2I-.bg-l22drjd0-,\n.U9VsquOtk2I-.bg-l22drjd0-:hover,\na.U9VsquOtk2I-.bg-l22drjd0-:hover {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n fill: rgb(181, 181, 181);\n fill: var(--color-disabled);\n pointer-events: none;\n cursor: not-allowed;\n}\n\n/* Sizes */\n\n.STSDgSRREx4- {\n min-height: calc(16px * 1.5);\n min-height: calc(var(--base-unit) * 1.5);\n padding: 0 calc(16px / 2);\n padding: 0 var(--space-small);\n letter-spacing: 0;\n}\n\n.jobber-retheme .STSDgSRREx4- {\n min-height: calc(16px * 1.5);\n min-height: var(--space-large);\n padding: calc(16px / 2) calc((16px * 1) - (16px / 4));\n padding: calc(16px / 2) calc(calc(16px * 1) - calc(16px / 4));\n padding: var(--space-small) calc(var(--space-base) - var(--space-smaller));\n}\n\n.jobber-retheme .STSDgSRREx4- span {\n font-size: calc((16px * 1) * 0.875);\n font-size: calc(calc(16px * 1) * 0.875);\n font-size: var(--typography--fontSize-base);\n}\n\n.amIh7vPETfo- {\n padding: 0 calc((16px * 1) - (16px / 4));\n padding: 0 calc(calc(16px * 1) - calc(16px / 4));\n padding: 0 calc(var(--space-base) - var(--space-smaller));\n}\n\n.jobber-retheme .amIh7vPETfo- {\n padding: 0 calc(16px * 1);\n padding: 0 var(--space-base);\n}\n\n.ON6ezOojFVo- {\n min-height: calc(16px * 3);\n min-height: calc(var(--base-unit) * 3);\n padding: 0 calc(16px * 1);\n padding: 0 var(--space-base);\n}\n\n.jobber-retheme .ON6ezOojFVo- {\n min-height: calc(16px * 3);\n min-height: calc(var(--base-unit) * 3);\n padding: 0 calc((16px * 1) + (16px / 4));\n padding: 0 calc(calc(16px * 1) + calc(16px / 4));\n padding: 0 calc(var(--space-base) + var(--space-smaller));\n}\n\n/* Icon */\n\n.U9VsquOtk2I- svg {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.Qq-idRLJTCk- {\n width: calc(16px * 2.25);\n width: calc(var(--base-unit) * 2.25);\n padding: 0;\n}\n\n.Qq-idRLJTCk-.STSDgSRREx4- {\n width: calc((16px / 2) * 3);\n width: calc(calc(16px / 2) * 3);\n width: calc(var(--space-small) * 3);\n}\n\n.Qq-idRLJTCk-.amIh7vPETfo- {\n width: calc((16px * 1) * 2.25);\n width: calc(calc(16px * 1) * 2.25);\n width: calc(var(--space-base) * 2.25);\n}\n\n.jobber-retheme .Qq-idRLJTCk-.amIh7vPETfo- {\n width: calc((16px * 1) * 2.5);\n width: calc(calc(16px * 1) * 2.5);\n width: calc(var(--space-base) * 2.5);\n}\n\n.Qq-idRLJTCk-.ON6ezOojFVo- {\n width: calc((16px * 1.5) * 2);\n width: calc(calc(16px * 1.5) * 2);\n width: calc(var(--space-large) * 2);\n}\n\n.EWh1gvgPJQg- {\n width: auto;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.jobber-retheme .EWh1gvgPJQg- {\n gap: calc(16px / 4);\n gap: var(--space-smaller);\n}\n\n/* Don't want to move things that will update after re-theme */\n\n/* stylelint-disable-next-line no-descending-specificity */\n\n.EWh1gvgPJQg- > * {\n text-align: left;\n}\n\n.pfzTUMgNb3o- > *:first-child {\n -ms-flex-order: 1;\n order: 1;\n}\n\n.jobber-retheme .EWh1gvgPJQg- > *:first-child {\n margin-left: calc((16px / 4) * -1);\n margin-left: calc(calc(16px / 4) * -1);\n margin-left: calc(var(--space-smaller) * -1);\n}\n\n.jobber-retheme .pfzTUMgNb3o- > *:first-child {\n margin-left: 0;\n margin-right: calc((16px / 4) * -1);\n margin-right: calc(calc(16px / 4) * -1);\n margin-right: calc(var(--space-smaller) * -1);\n}\n\n.ZCHqCEyLBw0- {\n width: 100%;\n}\n\n.VVFKEv1ksMA- {\n background-image: linear-gradient(\n 135deg,\n rgba(0, 0, 0, 0.1) 0%,\n rgba(0, 0, 0, 0.1) 25%,\n transparent 25%,\n transparent 50%,\n rgba(0, 0, 0, 0.1) 50%,\n rgba(0, 0, 0, 0.1) 75%,\n transparent 75%,\n transparent 100%\n );\n background-size: calc(16px * 2) calc(16px * 2);\n background-size: var(--space-larger) var(--space-larger);\n pointer-events: none;\n cursor: not-allowed;\n -webkit-animation-duration: 2000ms;\n -webkit-animation-duration: var(--button--duration-loading);\n animation-duration: 2000ms;\n animation-duration: var(--button--duration-loading);\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: a8Q-0lnKH5M-;\n animation-name: a8Q-0lnKH5M-;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n}\n\n.FXqN12jWtPo-.VVFKEv1ksMA-:not(.vDKO-cmh8vY-) {\n background-image: linear-gradient(\n 135deg,\n rgba(255, 255, 255, 0.25) 0%,\n rgba(255, 255, 255, 0.25) 25%,\n transparent 25%,\n transparent 50%,\n rgba(255, 255, 255, 0.25) 50%,\n rgba(255, 255, 255, 0.25) 75%,\n transparent 75%,\n transparent 100%\n );\n}\n\n@-webkit-keyframes a8Q-0lnKH5M- {\n 0% {\n background-position: 0 0;\n }\n\n 100% {\n background-position: calc(16px * 2) calc(16px * 2);\n background-position: var(--space-larger) var(--space-larger);\n }\n}\n\n@keyframes a8Q-0lnKH5M- {\n 0% {\n background-position: 0 0;\n }\n\n 100% {\n background-position: calc(16px * 2) calc(16px * 2);\n background-position: var(--space-larger) var(--space-larger);\n }\n}\n";
9
+ var styles = {"button":"U9VsquOtk2I-","work":"qkFQwI0PKfw-","learning":"jsKQEOBdJ0k-","destructive":"_4W8X0dxZDK4-","subtle":"vDKO-cmh8vY-","primary":"FXqN12jWtPo-","disabled":"bg-l22drjd0-","secondary":"pf6G840lKdA-","tertiary":"m7DbwRZWcNk-","small":"STSDgSRREx4-","base":"amIh7vPETfo-","large":"ON6ezOojFVo-","onlyIcon":"Qq-idRLJTCk-","hasIconAndLabel":"EWh1gvgPJQg-","iconOnRight":"pfzTUMgNb3o-","fullWidth":"ZCHqCEyLBw0-","loading":"VVFKEv1ksMA-","animateStripes":"a8Q-0lnKH5M-"};
10
+ styleInject(css_248z);
11
+
12
+ function Button(props) {
13
+ const { ariaControls, ariaHaspopup, ariaExpanded, ariaLabel, disabled = false, external, fullWidth, icon, label, iconOnRight, id, loading, onClick, onMouseDown, role, size = "base", type = "primary", url, to, variation = "work", submit, } = props;
14
+ const buttonClassNames = classnames(styles.button, styles[size], {
15
+ [styles.onlyIcon]: icon && !label,
16
+ [styles.hasIconAndLabel]: icon && label,
17
+ [styles.iconOnRight]: iconOnRight,
18
+ [styles[variation]]: variation,
19
+ [styles[type]]: type,
20
+ [styles.disabled]: disabled,
21
+ [styles.fullWidth]: fullWidth,
22
+ [styles.loading]: loading,
23
+ });
24
+ const buttonType = submit ? "submit" : "button";
25
+ const tagProps = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ className: buttonClassNames, disabled,
26
+ id }, (!disabled && { href: url })), (!disabled && { onClick: onClick })), (!disabled && { onMouseDown: onMouseDown })), (external && { target: "_blank" })), (url === undefined && to === undefined && { type: buttonType })), { "aria-controls": ariaControls, "aria-haspopup": ariaHaspopup, "aria-expanded": ariaExpanded, "aria-label": ariaLabel, role: role });
27
+ const buttonInternals = React.createElement(ButtonInternals, Object.assign({}, props));
28
+ if (to) {
29
+ return (React.createElement(Link, Object.assign({}, tagProps, { to: to }), buttonInternals));
30
+ }
31
+ const Tag = url ? "a" : "button";
32
+ return React.createElement(Tag, Object.assign({}, tagProps), buttonInternals);
33
+ }
34
+ function ButtonInternals({ label, icon, size = "base" }) {
35
+ return (React.createElement(React.Fragment, null,
36
+ icon && React.createElement(Icon, { name: icon, size: size }),
37
+ React.createElement(Typography, { element: "span", fontWeight: "extraBold", fontFamily: "base", size: getTypeSizes(size) }, label)));
38
+ }
39
+ function getTypeSizes(size) {
40
+ switch (size) {
41
+ case "small":
42
+ return "small";
43
+ case "large":
44
+ return "large";
45
+ default:
46
+ return "base";
47
+ }
48
+ }
49
+
50
+ export { Button as B };
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var ButtonDismiss = require('../ButtonDismiss-CX5u1c_p.js');
3
+ var ButtonDismiss = require('../ButtonDismiss-CIT2CCBA.js');
4
4
  require('react');
5
- require('../Button-DrlSXAcB.js');
5
+ require('../Button-CdFKgOjt.js');
6
6
  require('classnames');
7
7
  require('react-router-dom');
8
8
  require('../style-inject.es-XZHJH68X.js');
9
9
  require('../Icon-B9XNdA1T.js');
10
10
  require('@jobber/design');
11
- require('../Typography-D-jf-wVC.js');
11
+ require('../Typography-g6o6Nu4H.js');
12
12
 
13
13
 
14
14
 
@@ -1,9 +1,9 @@
1
- export { B as ButtonDismiss } from '../ButtonDismiss-BuCG0_ee.js';
1
+ export { B as ButtonDismiss } from '../ButtonDismiss-BPSS7oI4.js';
2
2
  import 'react';
3
- import '../Button-cbdRUQwt.js';
3
+ import '../Button-DCEN_VU9.js';
4
4
  import 'classnames';
5
5
  import 'react-router-dom';
6
6
  import '../style-inject.es-tgCJW-Cu.js';
7
7
  import '../Icon-CoHJokXb.js';
8
8
  import '@jobber/design';
9
- import '../Typography-CVUZmS-D.js';
9
+ import '../Typography-BLZqr2yE.js';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { B as Button } from './Button-cbdRUQwt.js';
2
+ import { B as Button } from './Button-DCEN_VU9.js';
3
3
 
4
4
  function ButtonDismiss({ onClick, ariaLabel }) {
5
5
  return (React.createElement(Button, { ariaLabel: ariaLabel, icon: "remove", onClick: onClick, type: "tertiary", variation: "subtle" }));
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var Button = require('./Button-DrlSXAcB.js');
4
+ var Button = require('./Button-CdFKgOjt.js');
5
5
 
6
6
  function ButtonDismiss({ onClick, ariaLabel }) {
7
7
  return (React.createElement(Button.Button, { ariaLabel: ariaLabel, icon: "remove", onClick: onClick, type: "tertiary", variation: "subtle" }));
@@ -1,21 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var Card = require('../Card-CLjbYhBt.js');
3
+ var Card = require('../Card-CHBaqzv3.js');
4
4
  require('react');
5
5
  require('classnames');
6
6
  require('../style-inject.es-XZHJH68X.js');
7
- require('../Heading-BRqlPY1t.js');
8
- require('../Typography-D-jf-wVC.js');
9
- require('../getAtlantisConfig-mcMVqf6m.js');
10
- require('../Button-DrlSXAcB.js');
7
+ require('../Heading-MZbPA1EN.js');
8
+ require('../Typography-g6o6Nu4H.js');
9
+ require('../useAtlantisConfig-CYXIWWUG.js');
10
+ require('../useSafeLayoutEffect-s4dpytw-.js');
11
+ require('../index-t2DqzTGa.js');
12
+ require('../Button-CdFKgOjt.js');
11
13
  require('react-router-dom');
12
14
  require('../Icon-B9XNdA1T.js');
13
15
  require('@jobber/design');
14
- require('../Menu-BZeIt9eb.js');
16
+ require('../Menu-Br_z6m1_.js');
15
17
  require('framer-motion');
16
18
  require('../useOnKeyDown-B9JF2jLZ.js');
17
19
  require('../useRefocusOnActivator-DOJm9VWz.js');
18
- require('../useSafeLayoutEffect-Qir6pm57.js');
19
20
 
20
21
 
21
22
 
@@ -1,16 +1,17 @@
1
- export { C as Card } from '../Card-YPttFbjN.js';
1
+ export { C as Card } from '../Card-BsiJi1g7.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../style-inject.es-tgCJW-Cu.js';
5
- import '../Heading-UeMlAnTK.js';
6
- import '../Typography-CVUZmS-D.js';
7
- import '../getAtlantisConfig-6FPWID0P.js';
8
- import '../Button-cbdRUQwt.js';
5
+ import '../Heading-B4TyweCq.js';
6
+ import '../Typography-BLZqr2yE.js';
7
+ import '../useAtlantisConfig-Dz-mOyhD.js';
8
+ import '../useSafeLayoutEffect-Biu-Q-_f.js';
9
+ import '../index-JVBxhXV1.js';
10
+ import '../Button-DCEN_VU9.js';
9
11
  import 'react-router-dom';
10
12
  import '../Icon-CoHJokXb.js';
11
13
  import '@jobber/design';
12
- import '../Menu-CwVGTv_f.js';
14
+ import '../Menu-C57XI2sy.js';
13
15
  import 'framer-motion';
14
16
  import '../useOnKeyDown-BsUfDste.js';
15
17
  import '../useRefocusOnActivator-CMNWUYSe.js';
16
- import '../useSafeLayoutEffect-yaw3NyzX.js';
@@ -1,11 +1,11 @@
1
1
  import React, { useRef } from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
4
- import { H as Heading } from './Heading-UeMlAnTK.js';
5
- import { B as Button } from './Button-cbdRUQwt.js';
6
- import { M as Menu } from './Menu-CwVGTv_f.js';
4
+ import { H as Heading } from './Heading-B4TyweCq.js';
5
+ import { B as Button } from './Button-DCEN_VU9.js';
6
+ import { M as Menu } from './Menu-C57XI2sy.js';
7
7
 
8
- var css_248z$1 = ":root {\n --card--accent-color: var(--color-grey);\n --card--base-padding: var(--space-base);\n --card--border: var(--border-base) solid var(--color-border);\n --card--header-background: var(--color-surface--background);\n}\n\n._2wxPdv7kELk- {\n display: block;\n width: 100%;\n border: var(--border-base) solid var(--color-border);\n border: var(--card--border);\n border-radius: var(--radius-base);\n outline-color: var(--color-focus);\n background-color: var(--color-surface);\n}\n\n._2wxPdv7kELk-:active {\n outline: 0;\n}\n\n:root .jobber-retheme ._2wxPdv7kELk-:not(.tRfpysqqk8s-) {\n --card--header-background: transparent;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n._2wxPdv7kELk- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n._2wxPdv7kELk- > * > * {\n --public-content--padding: 0;\n}\n\n._5LfUFF9DYsk- {\n border-top-width: 0;\n}\n\n._5LfUFF9DYsk-::before {\n content: \" \";\n display: block;\n margin: 0 calc(-1 * var(--border-base));\n border-top: 0.375rem solid var(--color-grey);\n border-top: 0.375rem solid var(--card--accent-color);\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n}\n\n.tRfpysqqk8s- {\n --card--border: none;\n\n box-shadow: var(--shadow-base);\n color: inherit;\n text-decoration: inherit;\n cursor: pointer;\n transition: all var(--timing-quick) linear;\n}\n\n.tRfpysqqk8s-:hover,\n.tRfpysqqk8s-:focus {\n background-color: var(--color-surface--hover);\n}\n\n.fAPeD1InvAI- {\n display: -ms-flexbox;\n display: flex;\n padding: var(--space-base);\n padding: var(--card--base-padding);\n background-color: var(--color-surface--background);\n background-color: var(--card--header-background);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: start;\n align-items: flex-start;\n gap: var(--space-small);\n}\n\n.jobber-retheme .fAPeD1InvAI- {\n padding-bottom: 0;\n}\n\n.jobber-retheme .fAPeD1InvAI- h3 {\n font-family: var(--typography--fontFamily-normal);\n font-size: var(--typography--fontSize-largest);\n}\n";
8
+ var css_248z$1 = ":root {\n --card--accent-color: var(--color-grey);\n --card--base-padding: var(--space-base);\n --card--border: var(--border-base) solid var(--color-border);\n --card--header-background: var(--color-surface--background);\n}\n\n._2wxPdv7kELk- {\n display: block;\n width: 100%;\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--card--border);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n outline-color: rgb(147, 161, 169);\n outline-color: var(--color-focus);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n._2wxPdv7kELk-:active {\n outline: 0;\n}\n\n:root .jobber-retheme ._2wxPdv7kELk-:not(.tRfpysqqk8s-) {\n --card--header-background: transparent;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n._2wxPdv7kELk- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n._2wxPdv7kELk- > * > * {\n --public-content--padding: 0;\n}\n\n._5LfUFF9DYsk- {\n border-top-width: 0;\n}\n\n._5LfUFF9DYsk-::before {\n content: \" \";\n display: block;\n margin: 0 calc(-1 * (16px / 16));\n margin: 0 calc(-1 * calc(16px / 16));\n margin: 0 calc(-1 * var(--border-base));\n border-top: 0.375rem solid rgb(181, 181, 181);\n border-top: 0.375rem solid var(--card--accent-color);\n border-radius: calc(16px / 8) calc(16px / 8) 0 0;\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n}\n\n.tRfpysqqk8s- {\n --card--border: none;\n\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n\n box-shadow: var(--shadow-base);\n color: inherit;\n text-decoration: inherit;\n cursor: pointer;\n transition: all 100ms linear;\n transition: all var(--timing-quick) linear;\n}\n\n.tRfpysqqk8s-:hover,\n.tRfpysqqk8s-:focus {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n.fAPeD1InvAI- {\n display: -ms-flexbox;\n display: flex;\n padding: calc(16px * 1);\n padding: var(--card--base-padding);\n background-color: rgb(238, 240, 242);\n background-color: var(--card--header-background);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: start;\n align-items: flex-start;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.jobber-retheme .fAPeD1InvAI- {\n padding-bottom: 0;\n}\n\n.jobber-retheme .fAPeD1InvAI- h3 {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-size: calc((16px * 1) * 1.5);\n font-size: calc(calc(16px * 1) * 1.5);\n font-size: var(--typography--fontSize-largest);\n}\n";
9
9
  var styles = {"card":"_2wxPdv7kELk-","clickable":"tRfpysqqk8s-","accent":"_5LfUFF9DYsk-","header":"fAPeD1InvAI-"};
10
10
  styleInject(css_248z$1);
11
11
 
@@ -3,11 +3,11 @@
3
3
  var React = require('react');
4
4
  var classnames = require('classnames');
5
5
  var styleInject_es = require('./style-inject.es-XZHJH68X.js');
6
- var Heading = require('./Heading-BRqlPY1t.js');
7
- var Button = require('./Button-DrlSXAcB.js');
8
- var Menu = require('./Menu-BZeIt9eb.js');
6
+ var Heading = require('./Heading-MZbPA1EN.js');
7
+ var Button = require('./Button-CdFKgOjt.js');
8
+ var Menu = require('./Menu-Br_z6m1_.js');
9
9
 
10
- var css_248z$1 = ":root {\n --card--accent-color: var(--color-grey);\n --card--base-padding: var(--space-base);\n --card--border: var(--border-base) solid var(--color-border);\n --card--header-background: var(--color-surface--background);\n}\n\n._2wxPdv7kELk- {\n display: block;\n width: 100%;\n border: var(--border-base) solid var(--color-border);\n border: var(--card--border);\n border-radius: var(--radius-base);\n outline-color: var(--color-focus);\n background-color: var(--color-surface);\n}\n\n._2wxPdv7kELk-:active {\n outline: 0;\n}\n\n:root .jobber-retheme ._2wxPdv7kELk-:not(.tRfpysqqk8s-) {\n --card--header-background: transparent;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n._2wxPdv7kELk- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n._2wxPdv7kELk- > * > * {\n --public-content--padding: 0;\n}\n\n._5LfUFF9DYsk- {\n border-top-width: 0;\n}\n\n._5LfUFF9DYsk-::before {\n content: \" \";\n display: block;\n margin: 0 calc(-1 * var(--border-base));\n border-top: 0.375rem solid var(--color-grey);\n border-top: 0.375rem solid var(--card--accent-color);\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n}\n\n.tRfpysqqk8s- {\n --card--border: none;\n\n box-shadow: var(--shadow-base);\n color: inherit;\n text-decoration: inherit;\n cursor: pointer;\n transition: all var(--timing-quick) linear;\n}\n\n.tRfpysqqk8s-:hover,\n.tRfpysqqk8s-:focus {\n background-color: var(--color-surface--hover);\n}\n\n.fAPeD1InvAI- {\n display: -ms-flexbox;\n display: flex;\n padding: var(--space-base);\n padding: var(--card--base-padding);\n background-color: var(--color-surface--background);\n background-color: var(--card--header-background);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: start;\n align-items: flex-start;\n gap: var(--space-small);\n}\n\n.jobber-retheme .fAPeD1InvAI- {\n padding-bottom: 0;\n}\n\n.jobber-retheme .fAPeD1InvAI- h3 {\n font-family: var(--typography--fontFamily-normal);\n font-size: var(--typography--fontSize-largest);\n}\n";
10
+ var css_248z$1 = ":root {\n --card--accent-color: var(--color-grey);\n --card--base-padding: var(--space-base);\n --card--border: var(--border-base) solid var(--color-border);\n --card--header-background: var(--color-surface--background);\n}\n\n._2wxPdv7kELk- {\n display: block;\n width: 100%;\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--card--border);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n outline-color: rgb(147, 161, 169);\n outline-color: var(--color-focus);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n._2wxPdv7kELk-:active {\n outline: 0;\n}\n\n:root .jobber-retheme ._2wxPdv7kELk-:not(.tRfpysqqk8s-) {\n --card--header-background: transparent;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n._2wxPdv7kELk- > * {\n --public-content--padding: var(--card--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n._2wxPdv7kELk- > * > * {\n --public-content--padding: 0;\n}\n\n._5LfUFF9DYsk- {\n border-top-width: 0;\n}\n\n._5LfUFF9DYsk-::before {\n content: \" \";\n display: block;\n margin: 0 calc(-1 * (16px / 16));\n margin: 0 calc(-1 * calc(16px / 16));\n margin: 0 calc(-1 * var(--border-base));\n border-top: 0.375rem solid rgb(181, 181, 181);\n border-top: 0.375rem solid var(--card--accent-color);\n border-radius: calc(16px / 8) calc(16px / 8) 0 0;\n border-radius: var(--radius-base) var(--radius-base) 0 0;\n}\n\n.tRfpysqqk8s- {\n --card--border: none;\n\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n\n box-shadow: var(--shadow-base);\n color: inherit;\n text-decoration: inherit;\n cursor: pointer;\n transition: all 100ms linear;\n transition: all var(--timing-quick) linear;\n}\n\n.tRfpysqqk8s-:hover,\n.tRfpysqqk8s-:focus {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n.fAPeD1InvAI- {\n display: -ms-flexbox;\n display: flex;\n padding: calc(16px * 1);\n padding: var(--card--base-padding);\n background-color: rgb(238, 240, 242);\n background-color: var(--card--header-background);\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: start;\n align-items: flex-start;\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n.jobber-retheme .fAPeD1InvAI- {\n padding-bottom: 0;\n}\n\n.jobber-retheme .fAPeD1InvAI- h3 {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-size: calc((16px * 1) * 1.5);\n font-size: calc(calc(16px * 1) * 1.5);\n font-size: var(--typography--fontSize-largest);\n}\n";
11
11
  var styles = {"card":"_2wxPdv7kELk-","clickable":"tRfpysqqk8s-","accent":"_5LfUFF9DYsk-","header":"fAPeD1InvAI-"};
12
12
  styleInject_es.styleInject(css_248z$1);
13
13
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Checkbox = require('../Checkbox-CehRIed9.js');
3
+ var Checkbox = require('../Checkbox-fFiBs5HY.js');
4
4
  require('../tslib.es6-ld72nsZq.js');
5
5
  require('react');
6
6
  require('classnames');
@@ -8,8 +8,8 @@ require('react-hook-form');
8
8
  require('../style-inject.es-XZHJH68X.js');
9
9
  require('../Icon-B9XNdA1T.js');
10
10
  require('@jobber/design');
11
- require('../Text-9V-wbsY9.js');
12
- require('../Typography-D-jf-wVC.js');
11
+ require('../Text-L0uH5HlC.js');
12
+ require('../Typography-g6o6Nu4H.js');
13
13
 
14
14
 
15
15
 
@@ -1,4 +1,4 @@
1
- export { C as Checkbox } from '../Checkbox-UO0UFaam.js';
1
+ export { C as Checkbox } from '../Checkbox-DRsOgqsP.js';
2
2
  import '../tslib.es6-Df1SgIEn.js';
3
3
  import 'react';
4
4
  import 'classnames';
@@ -6,5 +6,5 @@ import 'react-hook-form';
6
6
  import '../style-inject.es-tgCJW-Cu.js';
7
7
  import '../Icon-CoHJokXb.js';
8
8
  import '@jobber/design';
9
- import '../Text-ik451hdv.js';
10
- import '../Typography-CVUZmS-D.js';
9
+ import '../Text-B0MvS7fA.js';
10
+ import '../Typography-BLZqr2yE.js';
@@ -4,9 +4,9 @@ import classnames from 'classnames';
4
4
  import { useFormContext, useForm, Controller } from 'react-hook-form';
5
5
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
6
6
  import { I as Icon } from './Icon-CoHJokXb.js';
7
- import { T as Text } from './Text-ik451hdv.js';
7
+ import { T as Text } from './Text-B0MvS7fA.js';
8
8
 
9
- var css_248z = ".d-2MyyzKGN0- {\n --checkbox-size: var(--space-base);\n display: inline-block;\n}\n\n.jobber-retheme .d-2MyyzKGN0- {\n --checkbox-size: calc(var(--space-base) + var(--space-smaller));\n}\n\n.OFHQaLxY8zI- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: start;\n align-items: flex-start;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.HRrf3AZlpHc- {\n cursor: not-allowed;\n}\n\n.kMH5B1jwh-Y- {\n position: relative;\n}\n\n.rup0RBe4DNU- {\n /* Hide checkbox on UI but not screen readers and still allow focus state */\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(100%);\n clip-path: inset(100%);\n white-space: nowrap;\n}\n\n.lOQVnJA7zPM- {\n display: -ms-flexbox;\n display: flex;\n width: var(--checkbox-size);\n height: var(--checkbox-size);\n box-sizing: border-box;\n border: var(--border-thick) solid var(--color-interactive);\n border-radius: var(--radius-base);\n background-color: var(--color-surface);\n transition: all var(--timing-quick) ease-out;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- {\n border-color: var(--color-disabled--secondary);\n}\n\n.jobber-retheme .lOQVnJA7zPM- {\n border-color: var(--color-border);\n border-radius: var(--radius-small);\n}\n\n.rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: var(--color-interactive);\n background-color: var(--color-interactive);\n}\n\n.rup0RBe4DNU-:focus-visible + .lOQVnJA7zPM- {\n box-shadow: var(--shadow-focus);\n}\n\n.jobber-retheme .lOQVnJA7zPM-:hover,\n.jobber-retheme .d-2MyyzKGN0-:hover .lOQVnJA7zPM- {\n border-color: var(--color-interactive);\n}\n\n.HRrf3AZlpHc- p {\n color: var(--color-disabled);\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- > * {\n opacity: 0;\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: var(--color-disabled--secondary);\n background-color: var(--color-disabled--secondary);\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM- > *,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- > * {\n opacity: 1;\n}\n\n.eHENKCs5umc- {\n margin: 0 var(--space-small);\n}\n\n.jobber-retheme .eHENKCs5umc- {\n margin-top: var(--space-smallest);\n}\n\n.fSEH0cAO9cI- {\n margin-bottom: var(--space-small);\n padding-left: calc(var(--checkbox-size) + var(--space-small));\n}\n";
9
+ var css_248z = ".d-2MyyzKGN0- {\n --checkbox-size: var(--space-base);\n display: inline-block;\n}\n\n.jobber-retheme .d-2MyyzKGN0- {\n --checkbox-size: calc(var(--space-base) + var(--space-smaller));\n}\n\n.OFHQaLxY8zI- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: start;\n align-items: flex-start;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.HRrf3AZlpHc- {\n cursor: not-allowed;\n}\n\n.kMH5B1jwh-Y- {\n position: relative;\n}\n\n.rup0RBe4DNU- {\n /* Hide checkbox on UI but not screen readers and still allow focus state */\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(100%);\n clip-path: inset(100%);\n white-space: nowrap;\n}\n\n.lOQVnJA7zPM- {\n display: -ms-flexbox;\n display: flex;\n width: var(--checkbox-size);\n height: var(--checkbox-size);\n box-sizing: border-box;\n border: calc(16px / 8) solid rgb(125, 176, 14);\n border: var(--border-thick) solid var(--color-interactive);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n transition: all 100ms ease-out;\n transition: all var(--timing-quick) ease-out;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n}\n\n.jobber-retheme .lOQVnJA7zPM- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n border-radius: calc(16px / 16);\n border-radius: var(--radius-small);\n}\n\n.rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: rgb(125, 176, 14);\n border-color: var(--color-interactive);\n background-color: rgb(125, 176, 14);\n background-color: var(--color-interactive);\n}\n\n.rup0RBe4DNU-:focus-visible + .lOQVnJA7zPM- {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n}\n\n.jobber-retheme .lOQVnJA7zPM-:hover,\n.jobber-retheme .d-2MyyzKGN0-:hover .lOQVnJA7zPM- {\n border-color: rgb(125, 176, 14);\n border-color: var(--color-interactive);\n}\n\n.HRrf3AZlpHc- p {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- > * {\n opacity: 0;\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM- > *,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- > * {\n opacity: 1;\n}\n\n.eHENKCs5umc- {\n margin: 0 calc(16px / 2);\n margin: 0 var(--space-small);\n}\n\n.jobber-retheme .eHENKCs5umc- {\n margin-top: calc(16px / 8);\n margin-top: var(--space-smallest);\n}\n\n.fSEH0cAO9cI- {\n margin-bottom: calc(16px / 2);\n margin-bottom: var(--space-small);\n padding-left: calc(var(--checkbox-size) + (16px / 2));\n padding-left: calc(var(--checkbox-size) + calc(16px / 2));\n padding-left: calc(var(--checkbox-size) + var(--space-small));\n}\n";
10
10
  var styles = {"checkbox":"d-2MyyzKGN0-","wrapper":"OFHQaLxY8zI-","disabled":"HRrf3AZlpHc-","checkHolder":"kMH5B1jwh-Y-","input":"rup0RBe4DNU-","checkBox":"lOQVnJA7zPM-","indeterminate":"Njn2CQDXwVA-","label":"eHENKCs5umc-","description":"fSEH0cAO9cI-"};
11
11
  styleInject(css_248z);
12
12
 
@@ -6,9 +6,9 @@ var classnames = require('classnames');
6
6
  var reactHookForm = require('react-hook-form');
7
7
  var styleInject_es = require('./style-inject.es-XZHJH68X.js');
8
8
  var Icon = require('./Icon-B9XNdA1T.js');
9
- var Text = require('./Text-9V-wbsY9.js');
9
+ var Text = require('./Text-L0uH5HlC.js');
10
10
 
11
- var css_248z = ".d-2MyyzKGN0- {\n --checkbox-size: var(--space-base);\n display: inline-block;\n}\n\n.jobber-retheme .d-2MyyzKGN0- {\n --checkbox-size: calc(var(--space-base) + var(--space-smaller));\n}\n\n.OFHQaLxY8zI- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: start;\n align-items: flex-start;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.HRrf3AZlpHc- {\n cursor: not-allowed;\n}\n\n.kMH5B1jwh-Y- {\n position: relative;\n}\n\n.rup0RBe4DNU- {\n /* Hide checkbox on UI but not screen readers and still allow focus state */\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(100%);\n clip-path: inset(100%);\n white-space: nowrap;\n}\n\n.lOQVnJA7zPM- {\n display: -ms-flexbox;\n display: flex;\n width: var(--checkbox-size);\n height: var(--checkbox-size);\n box-sizing: border-box;\n border: var(--border-thick) solid var(--color-interactive);\n border-radius: var(--radius-base);\n background-color: var(--color-surface);\n transition: all var(--timing-quick) ease-out;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- {\n border-color: var(--color-disabled--secondary);\n}\n\n.jobber-retheme .lOQVnJA7zPM- {\n border-color: var(--color-border);\n border-radius: var(--radius-small);\n}\n\n.rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: var(--color-interactive);\n background-color: var(--color-interactive);\n}\n\n.rup0RBe4DNU-:focus-visible + .lOQVnJA7zPM- {\n box-shadow: var(--shadow-focus);\n}\n\n.jobber-retheme .lOQVnJA7zPM-:hover,\n.jobber-retheme .d-2MyyzKGN0-:hover .lOQVnJA7zPM- {\n border-color: var(--color-interactive);\n}\n\n.HRrf3AZlpHc- p {\n color: var(--color-disabled);\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- > * {\n opacity: 0;\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: var(--color-disabled--secondary);\n background-color: var(--color-disabled--secondary);\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM- > *,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- > * {\n opacity: 1;\n}\n\n.eHENKCs5umc- {\n margin: 0 var(--space-small);\n}\n\n.jobber-retheme .eHENKCs5umc- {\n margin-top: var(--space-smallest);\n}\n\n.fSEH0cAO9cI- {\n margin-bottom: var(--space-small);\n padding-left: calc(var(--checkbox-size) + var(--space-small));\n}\n";
11
+ var css_248z = ".d-2MyyzKGN0- {\n --checkbox-size: var(--space-base);\n display: inline-block;\n}\n\n.jobber-retheme .d-2MyyzKGN0- {\n --checkbox-size: calc(var(--space-base) + var(--space-smaller));\n}\n\n.OFHQaLxY8zI- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: start;\n align-items: flex-start;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n\n.HRrf3AZlpHc- {\n cursor: not-allowed;\n}\n\n.kMH5B1jwh-Y- {\n position: relative;\n}\n\n.rup0RBe4DNU- {\n /* Hide checkbox on UI but not screen readers and still allow focus state */\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n -webkit-clip-path: inset(100%);\n clip-path: inset(100%);\n white-space: nowrap;\n}\n\n.lOQVnJA7zPM- {\n display: -ms-flexbox;\n display: flex;\n width: var(--checkbox-size);\n height: var(--checkbox-size);\n box-sizing: border-box;\n border: calc(16px / 8) solid rgb(125, 176, 14);\n border: var(--border-thick) solid var(--color-interactive);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n transition: all 100ms ease-out;\n transition: all var(--timing-quick) ease-out;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n}\n\n.jobber-retheme .lOQVnJA7zPM- {\n border-color: rgb(217, 223, 225);\n border-color: var(--color-border);\n border-radius: calc(16px / 16);\n border-radius: var(--radius-small);\n}\n\n.rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: rgb(125, 176, 14);\n border-color: var(--color-interactive);\n background-color: rgb(125, 176, 14);\n background-color: var(--color-interactive);\n}\n\n.rup0RBe4DNU-:focus-visible + .lOQVnJA7zPM- {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n}\n\n.jobber-retheme .lOQVnJA7zPM-:hover,\n.jobber-retheme .d-2MyyzKGN0-:hover .lOQVnJA7zPM- {\n border-color: rgb(125, 176, 14);\n border-color: var(--color-interactive);\n}\n\n.HRrf3AZlpHc- p {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n}\n\n.HRrf3AZlpHc- .lOQVnJA7zPM- > * {\n opacity: 0;\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM-,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- {\n border-color: rgb(225, 225, 225);\n border-color: var(--color-disabled--secondary);\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n}\n\n.HRrf3AZlpHc- .rup0RBe4DNU-.Njn2CQDXwVA- + .lOQVnJA7zPM- > *,\n.HRrf3AZlpHc- .rup0RBe4DNU-:checked + .lOQVnJA7zPM- > * {\n opacity: 1;\n}\n\n.eHENKCs5umc- {\n margin: 0 calc(16px / 2);\n margin: 0 var(--space-small);\n}\n\n.jobber-retheme .eHENKCs5umc- {\n margin-top: calc(16px / 8);\n margin-top: var(--space-smallest);\n}\n\n.fSEH0cAO9cI- {\n margin-bottom: calc(16px / 2);\n margin-bottom: var(--space-small);\n padding-left: calc(var(--checkbox-size) + (16px / 2));\n padding-left: calc(var(--checkbox-size) + calc(16px / 2));\n padding-left: calc(var(--checkbox-size) + var(--space-small));\n}\n";
12
12
  var styles = {"checkbox":"d-2MyyzKGN0-","wrapper":"OFHQaLxY8zI-","disabled":"HRrf3AZlpHc-","checkHolder":"kMH5B1jwh-Y-","input":"rup0RBe4DNU-","checkBox":"lOQVnJA7zPM-","indeterminate":"Njn2CQDXwVA-","label":"eHENKCs5umc-","description":"fSEH0cAO9cI-"};
13
13
  styleInject_es.styleInject(css_248z);
14
14
 
@@ -1,22 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var Chip = require('../Chip-C5yp1RB3.js');
4
- var ChipDismissible = require('../ChipDismissible-C8mWsLSv.js');
3
+ var Chip = require('../Chip-C3Slm72t.js');
4
+ var ChipDismissible = require('../ChipDismissible-CPP7NmO9.js');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('../useInView-Ct13SCWB.js');
8
8
  require('../_commonjsHelpers-B83fTs8d.js');
9
9
  require('../style-inject.es-XZHJH68X.js');
10
- require('../Avatar-Q2BQymsE.js');
10
+ require('../Avatar-AkaG8y0Q.js');
11
11
  require('color');
12
12
  require('../Icon-B9XNdA1T.js');
13
13
  require('@jobber/design');
14
14
  require('../useChildComponent-BUH0ttPi.js');
15
- require('../Typography-D-jf-wVC.js');
16
- require('../Tooltip-BEW-a9OW.js');
15
+ require('../Typography-g6o6Nu4H.js');
16
+ require('../Tooltip-h7mlmKO8.js');
17
17
  require('react-dom');
18
18
  require('framer-motion');
19
- require('../useSafeLayoutEffect-Qir6pm57.js');
19
+ require('../useSafeLayoutEffect-s4dpytw-.js');
20
+ require('../index-t2DqzTGa.js');
21
+ require('../useIsMounted-Dr3u-G7D.js');
20
22
  require('react-popper');
21
23
  require('../tslib.es6-ld72nsZq.js');
22
24
 
@@ -1,19 +1,21 @@
1
- export { C as Chip } from '../Chip-D5VffuXt.js';
2
- export { a as ChipDismissible, C as ChipSelectable } from '../ChipDismissible-BUPXp5_D.js';
1
+ export { C as Chip } from '../Chip-BsGl_WKW.js';
2
+ export { a as ChipDismissible, C as ChipSelectable } from '../ChipDismissible-CekG0Sf1.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '../useInView-Yth15M0p.js';
6
6
  import '../_commonjsHelpers-E-ZsRS8r.js';
7
7
  import '../style-inject.es-tgCJW-Cu.js';
8
- import '../Avatar-DZCQBKMr.js';
8
+ import '../Avatar-CckTha1O.js';
9
9
  import 'color';
10
10
  import '../Icon-CoHJokXb.js';
11
11
  import '@jobber/design';
12
12
  import '../useChildComponent-D95jU7NM.js';
13
- import '../Typography-CVUZmS-D.js';
14
- import '../Tooltip-mn2jRxXD.js';
13
+ import '../Typography-BLZqr2yE.js';
14
+ import '../Tooltip-BGoYIW4v.js';
15
15
  import 'react-dom';
16
16
  import 'framer-motion';
17
- import '../useSafeLayoutEffect-yaw3NyzX.js';
17
+ import '../useSafeLayoutEffect-Biu-Q-_f.js';
18
+ import '../index-JVBxhXV1.js';
19
+ import '../useIsMounted-DaMtx554.js';
18
20
  import 'react-popper';
19
21
  import '../tslib.es6-Df1SgIEn.js';
@@ -0,0 +1,70 @@
1
+ import React from 'react';
2
+ import classnames from 'classnames';
3
+ import { u as useInView } from './useInView-Yth15M0p.js';
4
+ import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
5
+ import { A as Avatar } from './Avatar-CckTha1O.js';
6
+ import { I as Icon } from './Icon-CoHJokXb.js';
7
+ import { u as useChildComponent } from './useChildComponent-D95jU7NM.js';
8
+ import { T as Typography } from './Typography-BLZqr2yE.js';
9
+ import { T as Tooltip } from './Tooltip-BGoYIW4v.js';
10
+
11
+ var css_248z = ":root {\n --chip--gradient-color-variation: var(--chip-base-bg);\n --chip--gradient-color-variation--hover: var(--chip-base--hover);\n}\n\n.af7U8MvcbHE- {\n --chip-height: 40px;\n --chip-radius: 20px;\n --chip-base-bg: var(--color-surface--background);\n --chip-base--hover: var(--color-surface--background--hover);\n display: -ms-flexbox;\n display: flex;\n position: relative;\n height: 40px;\n height: var(--chip-height);\n min-width: 0;\n padding: calc(16px / 2) 16px;\n padding: var(--space-small) var(--base-unit);\n border: calc(16px / 16) solid transparent;\n border: var(--border-base) solid transparent;\n border-radius: 20px;\n border-radius: var(--chip-radius);\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n text-align: left;\n cursor: pointer;\n transition: all 200ms;\n transition: all var(--timing-base);\n -ms-flex-align: center;\n align-items: center;\n}\n\n.af7U8MvcbHE-:focus,\n.af7U8MvcbHE-:focus-visible {\n outline: none;\n}\n\n.af7U8MvcbHE-:focus-visible {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(147, 161, 169);\n box-shadow: var(--shadow-focus);\n}\n\n.af7U8MvcbHE- .e905AYK4SCc- {\n margin-left: calc(-1 * (16px / 2));\n margin-left: calc(-1 * calc(16px / 2));\n margin-left: calc(-1 * var(--space-small));\n margin-right: calc(16px / 2);\n margin-right: var(--space-small);\n}\n\n.af7U8MvcbHE- .ySADfZ0FckM- {\n margin-left: calc(16px / 2);\n margin-left: var(--space-small);\n margin-right: calc(-1 * (16px / 2));\n margin-right: calc(-1 * calc(16px / 2));\n margin-right: calc(-1 * var(--space-small));\n}\n\n.af7U8MvcbHE- .e905AYK4SCc-,\n.af7U8MvcbHE- .ySADfZ0FckM- {\n display: -ms-flexbox;\n display: flex;\n width: calc(16px * 1.5);\n width: var(--space-large);\n height: calc(16px * 1.5);\n height: var(--space-large);\n -ms-flex-negative: 0;\n flex-shrink: 0;\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.af7U8MvcbHE- .e905AYK4SCc-.usdkmQ9Sxbk-,\n.af7U8MvcbHE- .ySADfZ0FckM-.usdkmQ9Sxbk- {\n display: none;\n}\n\n.af7U8MvcbHE- .dg1-Izy1eQA- {\n width: calc(16px / 16);\n width: var(--space-minuscule);\n height: 16px;\n height: var(--base-unit);\n margin: 0 calc(16px / 2);\n margin: 0 var(--space-small);\n background-color: rgb(77, 105, 116);\n background-color: var(--color-text--secondary);\n}\n\n.af7U8MvcbHE- .-lz0EYLTDgg- {\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n}\n\n.wSI5L-5rODg- {\n border: calc(16px / 16) solid transparent;\n border: var(--border-base) solid transparent;\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n background-color: var(--chip-base-bg);\n --chip--gradient-color-variation: var(--chip-base-bg);\n}\n\n.wSI5L-5rODg-:hover,\n.wSI5L-5rODg-:focus-visible {\n background-color: var(--chip-base--hover);\n --chip--gradient-color-variation--hover: var(--chip-base--hover);\n}\n\n.SmUxkzpIC84-,\n.SmUxkzpIC84-:hover,\n.SmUxkzpIC84-:focus-visible,\n.Mux23dmZSuw-.SmUxkzpIC84-,\n.Mux23dmZSuw-.SmUxkzpIC84-:hover,\n.Mux23dmZSuw-.SmUxkzpIC84-:focus-visible {\n border: calc(16px / 16) solid rgb(201, 66, 33);\n border: var(--border-base) solid var(--color-critical);\n background-color: rgb(255, 226, 219);\n background-color: var(--color-critical--surface);\n --chip--gradient-color-variation: var(--color-critical--surface);\n --chip--gradient-color-variation--hover: var(--color-critical--surface);\n}\n\n.SmUxkzpIC84-:hover,\n.SmUxkzpIC84-:focus-visible,\n.Mux23dmZSuw-.SmUxkzpIC84-:hover,\n.Mux23dmZSuw-.SmUxkzpIC84-:focus-visible {\n background-color: rgb(193, 201, 206);\n background-color: var(--color-surface--background--hover);\n --chip--gradient-color-variation: var(--color-surface--background--hover);\n --chip--gradient-color-variation--hover: var(\n --color-surface--background--hover\n );\n}\n\n.Mux23dmZSuw- {\n border: calc(16px / 16) solid rgb(217, 223, 225);\n border: var(--border-base) solid var(--color-border);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n --chip--gradient-color-variation: var(--color-surface);\n}\n\n/* CAUTION: Order is important here since\n* there is are different styles for subtle:focus and subtle:hover\n* and we want hover to take priority\n*/\n\n.Mux23dmZSuw-:focus-visible {\n --chip--gradient-color-variation--hover: var(--color-surface);\n}\n\n.Mux23dmZSuw-:hover {\n border: calc(16px / 16) solid var(--chip-base-bg);\n border: var(--border-base) solid var(--chip-base-bg);\n background-color: var(--chip-base-bg);\n --chip--gradient-color-variation--hover: var(--chip-base-bg);\n}\n\n.SmUxkzpIC84-.MbRItb9vKhc-,\n.SmUxkzpIC84-.MbRItb9vKhc-:hover,\n.SmUxkzpIC84-.MbRItb9vKhc-:focus-visible {\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n cursor: auto;\n}\n\n.MbRItb9vKhc-,\n.MbRItb9vKhc-:hover,\n.MbRItb9vKhc-:focus-visible {\n border: calc(16px / 16) solid rgb(225, 225, 225);\n border: var(--border-base) solid var(--color-disabled--secondary);\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n cursor: auto;\n --chip--gradient-color-variation: var(--color-disabled--secondary);\n --chip--gradient-color-variation--hover: var(--color-disabled--secondary);\n}\n\n.MbRItb9vKhc- .dg1-Izy1eQA- {\n background-color: rgb(181, 181, 181);\n background-color: var(--color-disabled);\n}\n\n.af7U8MvcbHE-.MbRItb9vKhc- .ySADfZ0FckM- {\n background-color: rgb(225, 225, 225);\n background-color: var(--color-disabled--secondary);\n}\n\n.af7U8MvcbHE-.MbRItb9vKhc- .ySADfZ0FckM- path {\n fill: rgb(181, 181, 181);\n fill: var(--color-disabled);\n}\n\n.tJhURjR2Vec- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n overflow: hidden;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n\n.tJhURjR2Vec- > * {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n\n.tJhURjR2Vec- > p {\n overflow: hidden;\n white-space: nowrap;\n}\n\n.G3QXY0rNcK0- {\n position: absolute;\n top: 0;\n right: 0;\n width: calc(16px * 1);\n width: var(--space-base);\n height: 100%;\n background: linear-gradient(\n to left,\n var(--chip-base-bg) 5%,\n rgba(255, 255, 255, 0)\n );\n background: linear-gradient(\n to left,\n var(--chip--gradient-color-variation) 5%,\n rgba(255, 255, 255, 0)\n );\n}\n\n.af7U8MvcbHE-:focus-visible .G3QXY0rNcK0-,\n.af7U8MvcbHE-:hover .G3QXY0rNcK0- {\n background: linear-gradient(\n to left,\n var(--chip-base--hover) 5%,\n rgba(255, 255, 255, 0)\n );\n background: linear-gradient(\n to left,\n var(--chip--gradient-color-variation--hover) 5%,\n rgba(255, 255, 255, 0)\n );\n}\n\n.MUKEW6c2nNA- {\n display: inline-block;\n width: 1px;\n}\n";
12
+ var styles = {"chip":"af7U8MvcbHE-","prefix":"e905AYK4SCc-","suffix":"ySADfZ0FckM-","empty":"usdkmQ9Sxbk-","chipBar":"dg1-Izy1eQA-","selected":"-lz0EYLTDgg-","base":"wSI5L-5rODg-","invalid":"SmUxkzpIC84-","subtle":"Mux23dmZSuw-","disabled":"MbRItb9vKhc-","chipContent":"tJhURjR2Vec-","truncateGradient":"G3QXY0rNcK0-","chipLabelRef":"MUKEW6c2nNA-"};
13
+ styleInject(css_248z);
14
+
15
+ function ChipPrefix({ children }) {
16
+ const singleChild = useChildComponent(children, d => d.type === Avatar || d.type === Icon);
17
+ return (React.createElement("span", { className: classnames(styles.prefix, !singleChild && styles.empty) }, singleChild));
18
+ }
19
+
20
+ function ChipSuffix({ children, className }) {
21
+ var _a;
22
+ let singleChild = useChildComponent(children, d => d.type === Icon);
23
+ if (!allowedSuffixIcons.includes((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name)) {
24
+ singleChild = undefined;
25
+ }
26
+ return (React.createElement("span", { className: classnames(styles.suffix, className, !singleChild && styles.empty) }, singleChild));
27
+ }
28
+ const allowedSuffixIcons = ["cross", "add", "checkmark", "arrowDown"];
29
+
30
+ const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
31
+ const classes = classnames(styles.chip, {
32
+ [styles.invalid]: invalid,
33
+ [styles.base]: variation === "base",
34
+ [styles.subtle]: variation === "subtle",
35
+ [styles.disabled]: disabled,
36
+ });
37
+ const prefix = useChildComponent(children, d => d.type === Chip.Prefix);
38
+ const suffix = useChildComponent(children, d => d.type === Chip.Suffix);
39
+ const [labelRef, labelFullyVisible] = useInView.useInView();
40
+ const [headingRef, headingFullyVisible] = useInView.useInView();
41
+ const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
42
+ return (React.createElement(Tooltip, { message: tooltipMessage },
43
+ 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" },
44
+ prefix,
45
+ React.createElement("div", { className: styles.chipContent },
46
+ heading && (React.createElement(React.Fragment, null,
47
+ React.createElement(Typography, { size: "base", fontWeight: "medium" },
48
+ heading,
49
+ React.createElement("span", { ref: headingRef, className: styles.chipLabelRef })),
50
+ label && React.createElement("span", { className: styles.chipBar }))),
51
+ React.createElement(Typography, { size: "base" },
52
+ label,
53
+ React.createElement("span", { ref: labelRef, className: styles.chipLabelRef })),
54
+ !labelFullyVisible && (React.createElement("div", { className: styles.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
55
+ suffix)));
56
+ };
57
+ function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
58
+ let message = "";
59
+ if (heading && !headingFullyVisible) {
60
+ message = `${heading} | ${label}`;
61
+ }
62
+ else if (!labelFullyVisible) {
63
+ message = label;
64
+ }
65
+ return message;
66
+ }
67
+ Chip.Prefix = ChipPrefix;
68
+ Chip.Suffix = ChipSuffix;
69
+
70
+ export { Chip as C, styles as s };