@jobber/components 4.85.4-CJS-to-ESM.2 → 4.85.4

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 (482) hide show
  1. package/.eslintrc.js +10 -0
  2. package/AnimatedPresence.d.ts +1 -0
  3. package/AnimatedPresence.js +17 -0
  4. package/AnimatedSwitcher.d.ts +1 -0
  5. package/AnimatedSwitcher.js +17 -0
  6. package/Autocomplete.d.ts +1 -0
  7. package/Autocomplete.js +17 -0
  8. package/Avatar.d.ts +1 -0
  9. package/Avatar.js +17 -0
  10. package/Banner.d.ts +1 -0
  11. package/Banner.js +17 -0
  12. package/Button.d.ts +1 -0
  13. package/Button.js +17 -0
  14. package/ButtonDismiss.d.ts +1 -0
  15. package/ButtonDismiss.js +17 -0
  16. package/Card.d.ts +1 -0
  17. package/Card.js +17 -0
  18. package/Checkbox.d.ts +1 -0
  19. package/Checkbox.js +17 -0
  20. package/Chip.d.ts +1 -0
  21. package/Chip.js +17 -0
  22. package/Chips.d.ts +1 -0
  23. package/Chips.js +17 -0
  24. package/Combobox.d.ts +1 -0
  25. package/Combobox.js +17 -0
  26. package/ConfirmationModal.d.ts +1 -0
  27. package/ConfirmationModal.js +17 -0
  28. package/Content.d.ts +1 -0
  29. package/Content.js +17 -0
  30. package/Countdown.d.ts +1 -0
  31. package/Countdown.js +17 -0
  32. package/DataDump.d.ts +1 -0
  33. package/DataDump.js +17 -0
  34. package/DataList.d.ts +1 -0
  35. package/DataList.js +17 -0
  36. package/DataTable.d.ts +1 -0
  37. package/DataTable.js +17 -0
  38. package/DatePicker.d.ts +1 -0
  39. package/DatePicker.js +17 -0
  40. package/DescriptionList.d.ts +1 -0
  41. package/DescriptionList.js +17 -0
  42. package/Disclosure.d.ts +1 -0
  43. package/Disclosure.js +17 -0
  44. package/Divider.d.ts +1 -0
  45. package/Divider.js +17 -0
  46. package/Drawer.d.ts +1 -0
  47. package/Drawer.js +17 -0
  48. package/Emphasis.d.ts +1 -0
  49. package/Emphasis.js +17 -0
  50. package/FeatureSwitch.d.ts +1 -0
  51. package/FeatureSwitch.js +17 -0
  52. package/Flex.d.ts +1 -0
  53. package/Flex.js +17 -0
  54. package/Form.d.ts +1 -0
  55. package/Form.js +17 -0
  56. package/FormField.d.ts +1 -0
  57. package/FormField.js +17 -0
  58. package/FormatDate.d.ts +1 -0
  59. package/FormatDate.js +17 -0
  60. package/FormatEmail.d.ts +1 -0
  61. package/FormatEmail.js +17 -0
  62. package/FormatFile.d.ts +1 -0
  63. package/FormatFile.js +17 -0
  64. package/FormatRelativeDateTime.d.ts +1 -0
  65. package/FormatRelativeDateTime.js +17 -0
  66. package/FormatTime.d.ts +1 -0
  67. package/FormatTime.js +17 -0
  68. package/Gallery.d.ts +1 -0
  69. package/Gallery.js +17 -0
  70. package/Glimmer.d.ts +1 -0
  71. package/Glimmer.js +17 -0
  72. package/Grid.d.ts +1 -0
  73. package/Grid.js +17 -0
  74. package/Heading.d.ts +1 -0
  75. package/Heading.js +17 -0
  76. package/Icon.d.ts +1 -0
  77. package/Icon.js +17 -0
  78. package/InlineLabel.d.ts +1 -0
  79. package/InlineLabel.js +17 -0
  80. package/InputAvatar.d.ts +1 -0
  81. package/InputAvatar.js +17 -0
  82. package/InputDate.d.ts +1 -0
  83. package/InputDate.js +17 -0
  84. package/InputEmail.d.ts +1 -0
  85. package/InputEmail.js +17 -0
  86. package/InputFile.d.ts +1 -0
  87. package/InputFile.js +17 -0
  88. package/InputGroup.d.ts +1 -0
  89. package/InputGroup.js +17 -0
  90. package/InputNumber.d.ts +1 -0
  91. package/InputNumber.js +17 -0
  92. package/InputPassword.d.ts +1 -0
  93. package/InputPassword.js +17 -0
  94. package/InputPhoneNumber.d.ts +1 -0
  95. package/InputPhoneNumber.js +17 -0
  96. package/InputText.d.ts +1 -0
  97. package/InputText.js +17 -0
  98. package/InputTime.d.ts +1 -0
  99. package/InputTime.js +17 -0
  100. package/InputValidation.d.ts +1 -0
  101. package/InputValidation.js +17 -0
  102. package/LightBox.d.ts +1 -0
  103. package/LightBox.js +17 -0
  104. package/Link.d.ts +1 -0
  105. package/Link.js +17 -0
  106. package/List.d.ts +1 -0
  107. package/List.js +17 -0
  108. package/Markdown.d.ts +1 -0
  109. package/Markdown.js +17 -0
  110. package/Menu.d.ts +1 -0
  111. package/Menu.js +17 -0
  112. package/Modal.d.ts +1 -0
  113. package/Modal.js +17 -0
  114. package/MultiSelect.d.ts +1 -0
  115. package/MultiSelect.js +17 -0
  116. package/Page.d.ts +1 -0
  117. package/Page.js +17 -0
  118. package/Popover.d.ts +1 -0
  119. package/Popover.js +17 -0
  120. package/ProgressBar.d.ts +1 -0
  121. package/ProgressBar.js +17 -0
  122. package/RadioGroup.d.ts +1 -0
  123. package/RadioGroup.js +17 -0
  124. package/RecurringSelect.d.ts +1 -0
  125. package/RecurringSelect.js +17 -0
  126. package/Select.d.ts +1 -0
  127. package/Select.js +17 -0
  128. package/Spinner.d.ts +1 -0
  129. package/Spinner.js +17 -0
  130. package/StatusIndicator.d.ts +1 -0
  131. package/StatusIndicator.js +17 -0
  132. package/StatusLabel.d.ts +1 -0
  133. package/StatusLabel.js +17 -0
  134. package/Switch.d.ts +1 -0
  135. package/Switch.js +17 -0
  136. package/Table.d.ts +1 -0
  137. package/Table.js +17 -0
  138. package/Tabs.d.ts +1 -0
  139. package/Tabs.js +17 -0
  140. package/Text.d.ts +1 -0
  141. package/Text.js +17 -0
  142. package/Toast.d.ts +1 -0
  143. package/Toast.js +17 -0
  144. package/Tooltip.d.ts +1 -0
  145. package/Tooltip.js +17 -0
  146. package/Typography.d.ts +1 -0
  147. package/Typography.js +17 -0
  148. package/dist/{AnimatedPresence.cjs → AnimatedPresence/index.js} +1 -1
  149. package/dist/{AnimatedSwitcher.cjs → AnimatedSwitcher/index.js} +2 -2
  150. package/dist/{Autocomplete-b35c7ff5.js → Autocomplete/index.js} +20 -7
  151. package/dist/{Avatar.cjs → Avatar/index.js} +3 -3
  152. package/dist/{Avatar-cccf72b9.js → Avatar-76a799fa.js} +1 -1
  153. package/dist/Banner/index.js +110 -0
  154. package/dist/{Button.cjs → Button/index.js} +4 -4
  155. package/dist/Button-b73a5e01.js +57 -0
  156. package/dist/{ButtonDismiss.cjs → ButtonDismiss/index.js} +5 -5
  157. package/dist/{ButtonDismiss-d7417429.js → ButtonDismiss-350af163.js} +1 -1
  158. package/dist/Card/colors.css.d.ts +89 -0
  159. package/dist/{Card.cjs → Card/index.js} +8 -8
  160. package/dist/{Card-27375ded.js → Card-e3144022.js} +4 -4
  161. package/dist/Checkbox/index.js +18 -0
  162. package/dist/{Checkbox-b6e46d80.js → Checkbox-787e2e47.js} +2 -2
  163. package/dist/{ChipDismissible-a8ecc894.js → Chip/index.js} +18 -3
  164. package/dist/Chip-3d1bfddc.js +89 -0
  165. package/dist/{Chips-a8f4c9f2.js → Chips/index.js} +31 -12
  166. package/dist/{Combobox.cjs → Combobox/index.js} +15 -15
  167. package/dist/{Combobox-d8d28b1e.js → Combobox-a24c8241.js} +15 -15
  168. package/dist/ConfirmationModal/index.js +31 -0
  169. package/dist/{ConfirmationModal-09ec5d02.js → ConfirmationModal-52e16873.js} +3 -3
  170. package/dist/Content/Spacing.css.d.ts +13 -0
  171. package/dist/{Content.cjs → Content/index.js} +2 -2
  172. package/dist/{Content-60a3452a.js → Content-e3f7b6fc.js} +1 -1
  173. package/dist/{Countdown-961d8a6e.js → Countdown/index.js} +2 -0
  174. package/dist/{DataDump-f427abfe.js → DataDump/index.js} +19 -3
  175. package/dist/{DataList-4b0f9e5d.js → DataList/index.js} +48 -33
  176. package/dist/{DataTable-aab7f6b9.js → DataTable/index.js} +59 -10
  177. package/dist/{DatePicker.cjs → DatePicker/index.js} +5 -5
  178. package/dist/{DatePicker-c091c0d2.js → DatePicker-64c5ab1a.js} +3 -3
  179. package/dist/{DescriptionList-74db99a5.js → DescriptionList/index.js} +6 -3
  180. package/dist/Disclosure/index.js +46 -0
  181. package/dist/{Divider-1e6ac1ec.js → Divider/index.js} +4 -2
  182. package/dist/Drawer/index.js +49 -0
  183. package/dist/{Emphasis.cjs → Emphasis/index.js} +3 -3
  184. package/dist/{Emphasis-84de1f3f.js → Emphasis-bda56d3b.js} +1 -1
  185. package/dist/{FeatureSwitch-ddaebf27.js → FeatureSwitch/index.js} +17 -9
  186. package/dist/{Flex.cjs → Flex/index.js} +2 -2
  187. package/dist/{Flex-ddf28839.js → Flex-d490c4db.js} +1 -1
  188. package/dist/{Form-927647ef.js → Form/index.js} +3 -1
  189. package/dist/FormField/index.js +24 -0
  190. package/dist/{FormField-fc30bb1a.js → FormField-6ff183f8.js} +6 -6
  191. package/dist/{FormatDate.cjs → FormatDate/index.js} +1 -1
  192. package/dist/{FormatEmail-298393bb.js → FormatEmail/index.js} +3 -1
  193. package/dist/FormatFile/index.js +36 -0
  194. package/dist/{FormatFile-d57b8dfa.js → FormatFile-f036902d.js} +8 -8
  195. package/dist/{FormatRelativeDateTime-6336002d.js → FormatRelativeDateTime/index.js} +2 -0
  196. package/dist/{FormatTime-20538519.js → FormatTime/index.js} +2 -0
  197. package/dist/Gallery/Gallery.css.d.ts +9 -0
  198. package/dist/{Gallery-8d4d79a2.js → Gallery/index.js} +31 -5
  199. package/dist/{Glimmer.cjs → Glimmer/index.js} +4 -4
  200. package/dist/Glimmer/style/Shape.css.d.ts +9 -0
  201. package/dist/Glimmer/style/Sizes.css.d.ts +10 -0
  202. package/dist/Glimmer/style/Timing.css.d.ts +6 -0
  203. package/dist/{Glimmer-3fcdae65.js → Glimmer-84dee1ed.js} +4 -4
  204. package/dist/Grid/GridAlign.css.d.ts +8 -0
  205. package/dist/{Grid-cce44c9d.js → Grid/index.js} +5 -3
  206. package/dist/Heading/index.js +14 -0
  207. package/dist/{Heading-a8a24775.js → Heading-1e8e4bd3.js} +1 -1
  208. package/dist/{Icon.cjs → Icon/index.js} +1 -1
  209. package/dist/{InlineLabel.cjs → InlineLabel/index.js} +3 -3
  210. package/dist/InlineLabel-a6557829.js +28 -0
  211. package/dist/{InputAvatar-95c98620.js → InputAvatar/index.js} +21 -7
  212. package/dist/{InputDate-c5f19423.js → InputDate/index.js} +20 -2
  213. package/dist/{InputEmail-4efba03d.js → InputEmail/index.js} +17 -1
  214. package/dist/InputFile/index.js +25 -0
  215. package/dist/{InputFile-921c050e.js → InputFile-bb945071.js} +5 -5
  216. package/dist/{InputGroup.cjs → InputGroup/index.js} +2 -2
  217. package/dist/InputNumber/index.js +25 -0
  218. package/dist/{InputNumber-df9cb825.js → InputNumber-d451b52e.js} +1 -1
  219. package/dist/{InputPassword-08d2dfa1.js → InputPassword/index.js} +17 -1
  220. package/dist/{InputPhoneNumber-cbb2ca7d.js → InputPhoneNumber/index.js} +17 -4
  221. package/dist/InputText/index.js +26 -0
  222. package/dist/{InputText-125769fd.js → InputText-55b6cb65.js} +1 -1
  223. package/dist/{InputTime-3c4bdff0.js → InputTime/index.js} +17 -2
  224. package/dist/{InputValidation.cjs → InputValidation/index.js} +5 -5
  225. package/dist/{InputValidation-4a61254d.js → InputValidation-05e839fa.js} +2 -2
  226. package/dist/{LightBox.cjs → LightBox/index.js} +6 -6
  227. package/dist/{LightBox-3d6e74ba.js → LightBox-a89d8863.js} +3 -3
  228. package/dist/{Link-fd7301ec.js → Link/index.js} +2 -0
  229. package/dist/{List-821f249d.js → List/index.js} +16 -10
  230. package/dist/Markdown/index.js +19 -0
  231. package/dist/{Markdown-36854bd5.js → Markdown-f7c55304.js} +4 -4
  232. package/dist/{Menu.cjs → Menu/index.js} +5 -5
  233. package/dist/{Menu-5ce3cf41.js → Menu-083fc4c4.js} +3 -3
  234. package/dist/Modal/Sizes.css.d.ts +6 -0
  235. package/dist/{Modal.cjs → Modal/index.js} +8 -8
  236. package/dist/{Modal-cda55f02.js → Modal-c336cac6.js} +5 -5
  237. package/dist/{MultiSelect-707000e1.js → MultiSelect/index.js} +12 -6
  238. package/dist/{Option-73515eec.js → Option-3c4d377e.js} +1 -1
  239. package/dist/{Page-fdb087db.js → Page/index.js} +21 -9
  240. package/dist/Popover/index.js +61 -0
  241. package/dist/ProgressBar/Sizes.css.d.ts +7 -0
  242. package/dist/{ProgressBar.cjs → ProgressBar/index.js} +2 -2
  243. package/dist/{ProgressBar-4ee648b7.js → ProgressBar-b68edc8f.js} +1 -1
  244. package/dist/{RadioGroup.cjs → RadioGroup/index.js} +4 -4
  245. package/dist/{RadioGroup-68edd1e3.js → RadioGroup-17b67ade.js} +2 -2
  246. package/dist/{RecurringSelect-e391af31.js → RecurringSelect/index.js} +27 -14
  247. package/dist/Select/index.js +26 -0
  248. package/dist/{Spinner.cjs → Spinner/index.js} +2 -2
  249. package/dist/Spinner-9d8fc7ff.js +24 -0
  250. package/dist/{StatusIndicator.cjs → StatusIndicator/index.js} +2 -2
  251. package/dist/{StatusIndicator-0c680acb.js → StatusIndicator-b179d06e.js} +1 -1
  252. package/dist/{StatusLabel-5bf96fdb.js → StatusLabel/index.js} +7 -4
  253. package/dist/{Switch.cjs → Switch/index.js} +3 -3
  254. package/dist/Switch-7d4aa7c3.js +56 -0
  255. package/dist/{Body-22878526.js → Table/index.js} +5 -3
  256. package/dist/{Tabs-d6c8b965.js → Tabs/index.js} +5 -3
  257. package/dist/{Text.cjs → Text/index.js} +3 -3
  258. package/dist/{Text-714f7d14.js → Text-259af966.js} +1 -1
  259. package/dist/{showToast-63be1cf0.js → Toast/index.js} +10 -5
  260. package/dist/{Tooltip.cjs → Tooltip/index.js} +2 -2
  261. package/dist/{Tooltip-2e477150.js → Tooltip-ef3d6ef4.js} +1 -1
  262. package/dist/Typography/css/Emphasis.css.d.ts +6 -0
  263. package/dist/Typography/css/FontFamilies.css.d.ts +6 -0
  264. package/dist/Typography/css/FontSizes.css.d.ts +12 -0
  265. package/dist/Typography/css/FontWeights.css.d.ts +10 -0
  266. package/dist/Typography/css/TextAlignment.css.d.ts +7 -0
  267. package/dist/Typography/css/TextCases.css.d.ts +7 -0
  268. package/dist/Typography/css/TextColors.css.d.ts +22 -0
  269. package/dist/Typography/css/Truncate.css.d.ts +5 -0
  270. package/dist/Typography/css/Typography.css.d.ts +5 -0
  271. package/dist/{Typography.cjs → Typography/index.js} +2 -2
  272. package/dist/Typography-c45bf216.js +62 -0
  273. package/package.json +7 -15
  274. package/rollup.config.js +131 -0
  275. package/dist/AnimatedPresence-bbccdaf7.js +0 -98
  276. package/dist/AnimatedPresence.js +0 -4
  277. package/dist/AnimatedSwitcher-3aff3d12.js +0 -90
  278. package/dist/AnimatedSwitcher.js +0 -5
  279. package/dist/Autocomplete-dc7a4b9e.js +0 -188
  280. package/dist/Autocomplete.cjs +0 -33
  281. package/dist/Autocomplete.js +0 -25
  282. package/dist/Avatar-229083ec.js +0 -70
  283. package/dist/Avatar.js +0 -7
  284. package/dist/Banner-18d94700.js +0 -105
  285. package/dist/Banner-5475a9ea.js +0 -98
  286. package/dist/Banner.cjs +0 -20
  287. package/dist/Banner.js +0 -12
  288. package/dist/Body-4fbe21ac.js +0 -50
  289. package/dist/Button-30154871.js +0 -50
  290. package/dist/Button-ec64869e.js +0 -57
  291. package/dist/Button.js +0 -8
  292. package/dist/ButtonDismiss-a11eef74.js +0 -8
  293. package/dist/ButtonDismiss.js +0 -9
  294. package/dist/Card-35bd61ce.js +0 -86
  295. package/dist/Card.js +0 -16
  296. package/dist/Checkbox-a91b14f7.js +0 -56
  297. package/dist/Checkbox.cjs +0 -18
  298. package/dist/Checkbox.js +0 -10
  299. package/dist/Chip-01343f8b.js +0 -81
  300. package/dist/Chip-24613c57.js +0 -89
  301. package/dist/Chip.cjs +0 -27
  302. package/dist/Chip.js +0 -17
  303. package/dist/ChipDismissible-1f2754bd.js +0 -19
  304. package/dist/Chips-7c44a2f9.js +0 -494
  305. package/dist/Chips.cjs +0 -46
  306. package/dist/Chips.js +0 -37
  307. package/dist/Combobox-44f0ec2a.js +0 -468
  308. package/dist/Combobox.js +0 -31
  309. package/dist/ConfirmationModal-64f82a31.js +0 -94
  310. package/dist/ConfirmationModal.cjs +0 -31
  311. package/dist/ConfirmationModal.js +0 -23
  312. package/dist/Content-c96e9299.js +0 -18
  313. package/dist/Content.js +0 -4
  314. package/dist/Countdown-ac081ced.js +0 -63
  315. package/dist/Countdown.cjs +0 -12
  316. package/dist/Countdown.js +0 -4
  317. package/dist/DataDump-6fae2727.js +0 -15
  318. package/dist/DataDump.cjs +0 -27
  319. package/dist/DataDump.js +0 -19
  320. package/dist/DataList-18f2d692.js +0 -1310
  321. package/dist/DataList.cjs +0 -52
  322. package/dist/DataList.js +0 -44
  323. package/dist/DataTable-0f6649e0.js +0 -245
  324. package/dist/DataTable.cjs +0 -65
  325. package/dist/DataTable.js +0 -36
  326. package/dist/DatePicker-5d0c0353.js +0 -125
  327. package/dist/DatePicker.js +0 -12
  328. package/dist/DescriptionList-2cb975a9.js +0 -15
  329. package/dist/DescriptionList.cjs +0 -13
  330. package/dist/DescriptionList.js +0 -5
  331. package/dist/Disclosure-00a9459b.js +0 -36
  332. package/dist/Disclosure-56309ff3.js +0 -42
  333. package/dist/Disclosure.cjs +0 -16
  334. package/dist/Disclosure.js +0 -8
  335. package/dist/Divider-589745c1.js +0 -20
  336. package/dist/Divider.cjs +0 -12
  337. package/dist/Divider.js +0 -4
  338. package/dist/Drawer.cjs +0 -21
  339. package/dist/Drawer.js +0 -12
  340. package/dist/DrawerGrid-0861e529.js +0 -33
  341. package/dist/DrawerGrid-b233d837.js +0 -41
  342. package/dist/Emphasis-2a640962.js +0 -13
  343. package/dist/Emphasis.js +0 -5
  344. package/dist/FeatureSwitch-e33e30a9.js +0 -55
  345. package/dist/FeatureSwitch.cjs +0 -26
  346. package/dist/FeatureSwitch.js +0 -18
  347. package/dist/Flex-041db5c8.js +0 -31
  348. package/dist/Flex.js +0 -4
  349. package/dist/Form-6a161b07.js +0 -48
  350. package/dist/Form.cjs +0 -12
  351. package/dist/Form.js +0 -4
  352. package/dist/FormField-f1f405d2.js +0 -246
  353. package/dist/FormField.cjs +0 -24
  354. package/dist/FormField.js +0 -16
  355. package/dist/FormatDate-720b39cf.js +0 -27
  356. package/dist/FormatDate.js +0 -2
  357. package/dist/FormatEmail-04ee4085.js +0 -14
  358. package/dist/FormatEmail.cjs +0 -12
  359. package/dist/FormatEmail.js +0 -4
  360. package/dist/FormatFile-648aea3e.js +0 -154
  361. package/dist/FormatFile.cjs +0 -36
  362. package/dist/FormatFile.js +0 -28
  363. package/dist/FormatRelativeDateTime-529dc36b.js +0 -64
  364. package/dist/FormatRelativeDateTime.cjs +0 -10
  365. package/dist/FormatRelativeDateTime.js +0 -2
  366. package/dist/FormatTime-764fd3c8.js +0 -28
  367. package/dist/FormatTime.cjs +0 -10
  368. package/dist/FormatTime.js +0 -2
  369. package/dist/Gallery-7760f21f.js +0 -66
  370. package/dist/Gallery.cjs +0 -39
  371. package/dist/Gallery.js +0 -31
  372. package/dist/Glimmer-6bf75ae0.js +0 -69
  373. package/dist/Glimmer.js +0 -6
  374. package/dist/Grid-c28e226d.js +0 -66
  375. package/dist/Grid.cjs +0 -14
  376. package/dist/Grid.js +0 -5
  377. package/dist/Heading-dfd4f1cf.js +0 -49
  378. package/dist/Heading.cjs +0 -14
  379. package/dist/Heading.js +0 -6
  380. package/dist/Icon-22723fe6.js +0 -34
  381. package/dist/Icon.js +0 -3
  382. package/dist/InlineLabel-20f9095e.js +0 -21
  383. package/dist/InlineLabel-5144fa06.js +0 -28
  384. package/dist/InlineLabel.js +0 -5
  385. package/dist/InputAvatar-3a10bdb1.js +0 -50
  386. package/dist/InputAvatar.cjs +0 -28
  387. package/dist/InputAvatar.js +0 -20
  388. package/dist/InputDate-c258f5cb.js +0 -32
  389. package/dist/InputDate.cjs +0 -29
  390. package/dist/InputDate.js +0 -21
  391. package/dist/InputEmail-812bdffe.js +0 -20
  392. package/dist/InputEmail.cjs +0 -26
  393. package/dist/InputEmail.js +0 -17
  394. package/dist/InputFile-d089b486.js +0 -181
  395. package/dist/InputFile.cjs +0 -25
  396. package/dist/InputFile.js +0 -16
  397. package/dist/InputGroup-436859cf.js +0 -26
  398. package/dist/InputGroup.js +0 -4
  399. package/dist/InputNumber-4bd38b8e.js +0 -56
  400. package/dist/InputNumber.cjs +0 -25
  401. package/dist/InputNumber.js +0 -17
  402. package/dist/InputPassword-6b937a91.js +0 -19
  403. package/dist/InputPassword.cjs +0 -25
  404. package/dist/InputPassword.js +0 -17
  405. package/dist/InputPhoneNumber-947bdb49.js +0 -97
  406. package/dist/InputPhoneNumber.cjs +0 -25
  407. package/dist/InputPhoneNumber.js +0 -17
  408. package/dist/InputText-2fd8f942.js +0 -96
  409. package/dist/InputText.cjs +0 -26
  410. package/dist/InputText.js +0 -18
  411. package/dist/InputTime-ef8af2d9.js +0 -187
  412. package/dist/InputTime.cjs +0 -27
  413. package/dist/InputTime.js +0 -19
  414. package/dist/InputValidation-fe42fc3f.js +0 -23
  415. package/dist/InputValidation.js +0 -9
  416. package/dist/LightBox-8cc72953.js +0 -109
  417. package/dist/LightBox.js +0 -16
  418. package/dist/Link-b41bc1d3.js +0 -7
  419. package/dist/Link.cjs +0 -10
  420. package/dist/Link.js +0 -2
  421. package/dist/List-4fe52f57.js +0 -77
  422. package/dist/List.cjs +0 -25
  423. package/dist/List.js +0 -16
  424. package/dist/Markdown-7b84fcdb.js +0 -55
  425. package/dist/Markdown.cjs +0 -19
  426. package/dist/Markdown.js +0 -11
  427. package/dist/Menu-fb0b2e9b.js +0 -132
  428. package/dist/Menu.js +0 -13
  429. package/dist/Modal-eeb52d66.js +0 -63
  430. package/dist/Modal.js +0 -17
  431. package/dist/MultiSelect-0af9c956.js +0 -169
  432. package/dist/MultiSelect.cjs +0 -19
  433. package/dist/MultiSelect.js +0 -11
  434. package/dist/Option-58d7cab6.js +0 -12
  435. package/dist/Page-0b334096.js +0 -59
  436. package/dist/Page.cjs +0 -30
  437. package/dist/Page.js +0 -22
  438. package/dist/Popover-798f548e.js +0 -47
  439. package/dist/Popover-968c63b2.js +0 -53
  440. package/dist/Popover.cjs +0 -20
  441. package/dist/Popover.js +0 -12
  442. package/dist/ProgressBar-022ef3f6.js +0 -36
  443. package/dist/ProgressBar.js +0 -4
  444. package/dist/RadioGroup-a089f132.js +0 -39
  445. package/dist/RadioGroup.js +0 -6
  446. package/dist/RecurringSelect-2de4014c.js +0 -208
  447. package/dist/RecurringSelect.cjs +0 -38
  448. package/dist/RecurringSelect.js +0 -22
  449. package/dist/Select.cjs +0 -26
  450. package/dist/Select.js +0 -17
  451. package/dist/Spinner-3480bc34.js +0 -24
  452. package/dist/Spinner-90081e20.js +0 -17
  453. package/dist/Spinner.js +0 -4
  454. package/dist/StatusIndicator-d6f9aefa.js +0 -12
  455. package/dist/StatusIndicator.js +0 -3
  456. package/dist/StatusLabel-66214fc7.js +0 -19
  457. package/dist/StatusLabel.cjs +0 -15
  458. package/dist/StatusLabel.js +0 -7
  459. package/dist/Switch-6c6c727b.js +0 -56
  460. package/dist/Switch-87706cde.js +0 -49
  461. package/dist/Switch.js +0 -5
  462. package/dist/Table.cjs +0 -20
  463. package/dist/Table.js +0 -5
  464. package/dist/Tabs-109f1f10.js +0 -70
  465. package/dist/Tabs.cjs +0 -14
  466. package/dist/Tabs.js +0 -5
  467. package/dist/Text-c92ddeb3.js +0 -25
  468. package/dist/Text.js +0 -5
  469. package/dist/Toast.cjs +0 -19
  470. package/dist/Toast.js +0 -11
  471. package/dist/Tooltip-a40fffbd.js +0 -104
  472. package/dist/Tooltip.js +0 -8
  473. package/dist/Typography-52ed1386.js +0 -55
  474. package/dist/Typography-fd88fcce.js +0 -62
  475. package/dist/Typography.js +0 -4
  476. package/dist/getAtlantisConfig-5b50057c.js +0 -11
  477. package/dist/index.cjs +0 -224
  478. package/dist/index.d.ts +0 -73
  479. package/dist/index.js +0 -112
  480. package/dist/showToast-ff666be8.js +0 -100
  481. package/dist/style-inject.es-a0e1a0ba.js +0 -28
  482. package/dist/tslib.es6-c563c1dd.js +0 -43
@@ -1,16 +1,18 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var React = require('react');
4
6
  var classnames = require('classnames');
5
- var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
6
- var Typography = require('./Typography-fd88fcce.js');
7
+ var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
8
+ var Typography = require('../Typography-c45bf216.js');
7
9
 
8
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
11
 
10
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
13
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
12
14
 
13
- var css_248z = ":root {\n --tab--height: calc(var(--space-larger) + var(--space-small));\n --tab--inset: var(--space-base);\n --public-tab--inset: var(--tab--inset);\n}\n\n.-kxlqXO5UN0- {\n display: block;\n width: 100%;\n}\n\n.qI4lWMSNH40- {\n position: relative;\n border-bottom: solid var(--border-base) var(--color-border);\n}\n\n.xohIah5wcoE-:after,\n.qnY4S9sz-8g-:before {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 24px;\n}\n\n.xohIah5wcoE-:after {\n right: 0;\n box-shadow: inset -16px 0 16px -16px rgba(var(--color-black--rgb), 0.25);\n}\n\n.qnY4S9sz-8g-:before {\n left: 0;\n box-shadow: inset 16px 0 16px -16px rgba(var(--color-black--rgb), 0.25);\n}\n\n.wdW31G8Trag- {\n display: -ms-flexbox;\n display: flex;\n margin: 0;\n margin-bottom: calc(-1 * var(--border-base));\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n}\n\nul.wdW31G8Trag- {\n -webkit-padding-start: 0;\n padding-left: 0;\n}\n\n.wdW31G8Trag- li {\n display: -ms-flexbox;\n display: flex;\n list-style: none;\n}\n\n.MO7CXQ8xJXo- {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n height: calc(var(--space-larger) + var(--space-small));\n height: var(--tab--height);\n margin: 0;\n padding-left: var(--space-base);\n padding-left: var(--public-tab--inset);\n padding-right: var(--space-base);\n padding-right: var(--public-tab--inset);\n border: solid var(--border-base) var(--color-border);\n border-left-width: 0;\n outline: none;\n background: var(--color-surface);\n cursor: pointer;\n transition: all var(--timing-base);\n}\n\n.MO7CXQ8xJXo-:hover,\n.MO7CXQ8xJXo-:focus {\n background-color: var(--color-surface--hover);\n}\n\n.MO7CXQ8xJXo-:focus span {\n box-shadow: var(--shadow-focus);\n}\n\n.kqof65gyv7g- {\n border-top-color: var(--color-interactive);\n border-bottom-color: var(--color-surface);\n}\n\n.kqof65gyv7g-:focus {\n background-color: transparent;\n}\n\n.AimQioztR1U- {\n padding-top: var(--space-base);\n padding-top: var(--tab--inset);\n padding-bottom: var(--space-base);\n padding-bottom: var(--tab--inset);\n padding-left: var(--space-base);\n padding-left: var(--public-tab--inset);\n padding-right: var(--space-base);\n padding-right: var(--public-tab--inset);\n}\n";
15
+ var css_248z = ":root {\n --tab--height: calc(var(--space-larger) + var(--space-small));\n --tab--inset: var(--space-base);\n --public-tab--inset: var(--tab--inset);\n}\n\n.-kxlqXO5UN0- {\n display: block;\n width: 100%;\n}\n\n.qI4lWMSNH40- {\n position: relative;\n border-bottom: solid calc(16px / 16) rgb(217, 223, 225);\n border-bottom: solid var(--border-base) var(--color-border);\n}\n\n.xohIah5wcoE-:after,\n.qnY4S9sz-8g-:before {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 24px;\n}\n\n.xohIah5wcoE-:after {\n right: 0;\n box-shadow: inset -16px 0 16px -16px rgba(0, 0, 0, 0.25);\n box-shadow: inset -16px 0 16px -16px rgba(var(--color-black--rgb), 0.25);\n}\n\n.qnY4S9sz-8g-:before {\n left: 0;\n box-shadow: inset 16px 0 16px -16px rgba(0, 0, 0, 0.25);\n box-shadow: inset 16px 0 16px -16px rgba(var(--color-black--rgb), 0.25);\n}\n\n.wdW31G8Trag- {\n display: -ms-flexbox;\n display: flex;\n margin: 0;\n margin-bottom: calc(-1 * (16px / 16));\n margin-bottom: calc(-1 * calc(16px / 16));\n margin-bottom: calc(-1 * var(--border-base));\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n}\n\nul.wdW31G8Trag- {\n -webkit-padding-start: 0;\n padding-left: 0;\n}\n\n.wdW31G8Trag- li {\n display: -ms-flexbox;\n display: flex;\n list-style: none;\n}\n\n.MO7CXQ8xJXo- {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n height: calc((16px * 2) + (16px / 2));\n height: calc(calc(16px * 2) + calc(16px / 2));\n height: var(--tab--height);\n margin: 0;\n padding-left: calc(16px * 1);\n padding-left: var(--public-tab--inset);\n padding-right: calc(16px * 1);\n padding-right: var(--public-tab--inset);\n border: solid calc(16px / 16) rgb(217, 223, 225);\n border: solid var(--border-base) var(--color-border);\n border-left-width: 0;\n outline: none;\n background: rgba(255, 255, 255, 1);\n background: var(--color-surface);\n cursor: pointer;\n transition: all 200ms;\n transition: all var(--timing-base);\n}\n\n.MO7CXQ8xJXo-:hover,\n.MO7CXQ8xJXo-:focus {\n background-color: rgb(244, 246, 250);\n background-color: var(--color-surface--hover);\n}\n\n.MO7CXQ8xJXo-:focus span {\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.kqof65gyv7g- {\n border-top-color: rgb(125, 176, 14);\n border-top-color: var(--color-interactive);\n border-bottom-color: rgba(255, 255, 255, 1);\n border-bottom-color: var(--color-surface);\n}\n\n.kqof65gyv7g-:focus {\n background-color: transparent;\n}\n\n.AimQioztR1U- {\n padding-top: calc(16px * 1);\n padding-top: var(--tab--inset);\n padding-bottom: calc(16px * 1);\n padding-bottom: var(--tab--inset);\n padding-left: calc(16px * 1);\n padding-left: var(--public-tab--inset);\n padding-right: calc(16px * 1);\n padding-right: var(--public-tab--inset);\n}\n";
14
16
  var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
15
17
  styleInject_es.styleInject(css_248z);
16
18
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Text = require('./Text-714f7d14.js');
5
+ var Text = require('../Text-259af966.js');
6
6
  require('react');
7
- require('./Typography-fd88fcce.js');
7
+ require('../Typography-c45bf216.js');
8
8
  require('classnames');
9
- require('./style-inject.es-9d2f5f4e.js');
9
+ require('../style-inject.es-9d2f5f4e.js');
10
10
 
11
11
 
12
12
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var Typography = require('./Typography-fd88fcce.js');
4
+ var Typography = require('./Typography-c45bf216.js');
5
5
 
6
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
7
 
@@ -1,18 +1,23 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var React = require('react');
4
6
  var client = require('react-dom/client');
5
7
  var framerMotion = require('framer-motion');
6
- var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
7
- var Icon = require('./Icon-405a216c.js');
8
- var Button = require('./Button-ec64869e.js');
9
- var Typography = require('./Typography-fd88fcce.js');
8
+ var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
9
+ var Icon = require('../Icon-405a216c.js');
10
+ var Button = require('../Button-b73a5e01.js');
11
+ var Typography = require('../Typography-c45bf216.js');
12
+ require('@jobber/design');
13
+ require('classnames');
14
+ require('react-router-dom');
10
15
 
11
16
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
17
 
13
18
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
19
 
15
- var css_248z = ".FVK4VwhLaVQ- {\n position: relative;\n z-index: var(--elevation-toast);\n}\n\n.MUXYGaC7Msg- {\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n right: 0;\n bottom: var(--space-large);\n left: 0;\n z-index: var(--elevation-toast);\n width: 100%;\n box-sizing: border-box;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 var(--space-large);\n color: var(--color-text--reverse);\n font-size: var(--typography--fontSize-large);\n pointer-events: none;\n}\n\n.yCRa7jHH33M- {\n box-shadow: var(--shadow-high);\n overflow: hidden;\n pointer-events: all;\n}\n\n.yCRa7jHH33M- + .yCRa7jHH33M- {\n margin-top: var(--space-base);\n}\n\n.KiJL-VNZ3Sg- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding: calc(var(--space-small) / 1.25) var(--space-base);\n border-radius: var(--radius-base);\n background: var(--color-surface--reverse);\n}\n\n.xtRB59TMHcU- {\n margin-right: var(--space-base);\n}\n\n.cExoS0APILs- {\n margin-left: var(--space-base);\n}\n\n.jobber-retheme .cExoS0APILs- svg path {\n fill: var(--color-greyBlue--light);\n}\n\n.jobber-retheme .cExoS0APILs-:hover svg path {\n fill: var(--color-greyBlue);\n}\n\n.-T38wWbQUNs- {\n margin-left: var(--space-small);\n}\n";
20
+ var css_248z = ".FVK4VwhLaVQ- {\n position: relative;\n z-index: 1003;\n z-index: var(--elevation-toast);\n}\n\n.MUXYGaC7Msg- {\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n right: 0;\n bottom: calc(16px * 1.5);\n bottom: var(--space-large);\n left: 0;\n z-index: 1003;\n z-index: var(--elevation-toast);\n width: 100%;\n box-sizing: border-box;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 calc(16px * 1.5);\n padding: 0 var(--space-large);\n color: rgba(255, 255, 255, 1);\n color: var(--color-text--reverse);\n font-size: calc(16px * 1);\n font-size: var(--typography--fontSize-large);\n pointer-events: none;\n}\n\n.yCRa7jHH33M- {\n box-shadow: 0px calc(16px * 1) calc(16px * 1) 0px\n rgba(0, 0, 0, 0.075),\n 0px 0px calc(16px / 2) 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-high);\n overflow: hidden;\n pointer-events: all;\n}\n\n.yCRa7jHH33M- + .yCRa7jHH33M- {\n margin-top: calc(16px * 1);\n margin-top: var(--space-base);\n}\n\n.KiJL-VNZ3Sg- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding: calc((16px / 2) / 1.25) calc(16px * 1);\n padding: calc(calc(16px / 2) / 1.25) calc(16px * 1);\n padding: calc(var(--space-small) / 1.25) var(--space-base);\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n background: rgb(1, 41, 57);\n background: var(--color-surface--reverse);\n}\n\n.xtRB59TMHcU- {\n margin-right: calc(16px * 1);\n margin-right: var(--space-base);\n}\n\n.cExoS0APILs- {\n margin-left: calc(16px * 1);\n margin-left: var(--space-base);\n}\n\n.jobber-retheme .cExoS0APILs- svg path {\n fill: rgb(147, 161, 169);\n fill: var(--color-greyBlue--light);\n}\n\n.jobber-retheme .cExoS0APILs-:hover svg path {\n fill: rgba(101, 120, 132, 1);\n fill: var(--color-greyBlue);\n}\n\n.-T38wWbQUNs- {\n margin-left: calc(16px / 2);\n margin-left: var(--space-small);\n}\n";
16
21
  var styles = {"wrapper":"FVK4VwhLaVQ-","container":"MUXYGaC7Msg-","toast":"yCRa7jHH33M-","slice":"KiJL-VNZ3Sg-","icon":"xtRB59TMHcU-","button":"cExoS0APILs-","action":"-T38wWbQUNs-"};
17
22
  styleInject_es.styleInject(css_248z);
18
23
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Tooltip = require('./Tooltip-2e477150.js');
5
+ var Tooltip = require('../Tooltip-ef3d6ef4.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('react-dom');
9
9
  require('framer-motion');
10
10
  require('@jobber/hooks/useSafeLayoutEffect');
11
- require('./style-inject.es-9d2f5f4e.js');
11
+ require('../style-inject.es-9d2f5f4e.js');
12
12
  require('react-popper');
13
13
 
14
14
 
@@ -14,7 +14,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
14
14
  var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
15
15
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
16
16
 
17
- var css_248z = ":root {\n --tooltip--arrow-size: var(--space-small);\n --tooltip--offset: calc(-1 * var(--space-smaller));\n --tooltip--surface: var(--color-surface--reverse);\n}\n\n.q07bkGoq714- {\n display: none;\n}\n\n.dkCTRfc3vYk- {\n display: inline-block;\n position: absolute;\n z-index: var(--elevation-tooltip);\n pointer-events: none;\n}\n\n.yAFP4gRKlTM- {\n display: inline-block;\n position: relative;\n max-width: calc(var(--base-unit) * 15);\n padding: calc(var(--space-base) - var(--space-smallest)) var(--space-base);\n border-radius: var(--radius-larger);\n background-color: var(--color-surface--reverse);\n background-color: var(--tooltip--surface);\n}\n\n.jobber-retheme .yAFP4gRKlTM- {\n border-radius: var(--radius-base);\n}\n\n.yAFP4gRKlTM- .j9KgRON7iTU-,\n.yAFP4gRKlTM- .j9KgRON7iTU-::after {\n width: var(--space-small);\n width: var(--tooltip--arrow-size);\n height: var(--space-small);\n height: var(--tooltip--arrow-size);\n background-color: transparent;\n}\n\n.yAFP4gRKlTM- .j9KgRON7iTU-::after {\n content: \"\";\n display: block;\n position: absolute;\n background-color: var(--color-surface--reverse);\n background-color: var(--tooltip--surface);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n.B6uh34-qEuA- {\n padding-bottom: var(--space-small);\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- {\n -webkit-transform-origin: bottom center;\n transform-origin: bottom center;\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- .j9KgRON7iTU- {\n bottom: calc(-1 * var(--space-smaller));\n bottom: var(--tooltip--offset);\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- .j9KgRON7iTU-::after {\n border-top-width: 0;\n border-left-width: 0;\n}\n\n.Wft7Ug-lXEc- {\n padding-top: var(--space-small);\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- {\n -webkit-transform-origin: top center;\n transform-origin: top center;\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- .j9KgRON7iTU- {\n top: calc(-1 * var(--space-smaller));\n top: var(--tooltip--offset);\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- .j9KgRON7iTU-::after {\n border-bottom-width: 0;\n border-right-width: 0;\n}\n\n.TpdeLUuiQMg- {\n margin: 0;\n color: var(--color-text--reverse);\n font-size: var(--typography--fontSize-base);\n font-weight: 600;\n line-height: var(--typography--lineHeight-base);\n}\n";
17
+ var css_248z = ":root {\n --tooltip--arrow-size: var(--space-small);\n --tooltip--offset: calc(-1 * var(--space-smaller));\n --tooltip--surface: var(--color-surface--reverse);\n}\n\n.q07bkGoq714- {\n display: none;\n}\n\n.dkCTRfc3vYk- {\n display: inline-block;\n position: absolute;\n z-index: 1002;\n z-index: var(--elevation-tooltip);\n pointer-events: none;\n}\n\n.yAFP4gRKlTM- {\n display: inline-block;\n position: relative;\n max-width: calc(16px * 15);\n max-width: calc(var(--base-unit) * 15);\n padding: calc((16px * 1) - (16px / 8)) calc(16px * 1);\n padding: calc(calc(16px * 1) - calc(16px / 8)) calc(16px * 1);\n padding: calc(var(--space-base) - var(--space-smallest)) var(--space-base);\n border-radius: calc(16px / 2);\n border-radius: var(--radius-larger);\n background-color: rgb(1, 41, 57);\n background-color: var(--tooltip--surface);\n}\n\n.jobber-retheme .yAFP4gRKlTM- {\n border-radius: calc(16px / 8);\n border-radius: var(--radius-base);\n}\n\n.yAFP4gRKlTM- .j9KgRON7iTU-,\n.yAFP4gRKlTM- .j9KgRON7iTU-::after {\n width: calc(16px / 2);\n width: var(--tooltip--arrow-size);\n height: calc(16px / 2);\n height: var(--tooltip--arrow-size);\n background-color: transparent;\n}\n\n.yAFP4gRKlTM- .j9KgRON7iTU-::after {\n content: \"\";\n display: block;\n position: absolute;\n background-color: rgb(1, 41, 57);\n background-color: var(--tooltip--surface);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n.B6uh34-qEuA- {\n padding-bottom: calc(16px / 2);\n padding-bottom: var(--space-small);\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- {\n -webkit-transform-origin: bottom center;\n transform-origin: bottom center;\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- .j9KgRON7iTU- {\n bottom: calc(-1 * (16px / 4));\n bottom: calc(-1 * calc(16px / 4));\n bottom: var(--tooltip--offset);\n}\n\n.B6uh34-qEuA- .yAFP4gRKlTM- .j9KgRON7iTU-::after {\n border-top-width: 0;\n border-left-width: 0;\n}\n\n.Wft7Ug-lXEc- {\n padding-top: calc(16px / 2);\n padding-top: var(--space-small);\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- {\n -webkit-transform-origin: top center;\n transform-origin: top center;\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- .j9KgRON7iTU- {\n top: calc(-1 * (16px / 4));\n top: calc(-1 * calc(16px / 4));\n top: var(--tooltip--offset);\n}\n\n.Wft7Ug-lXEc- .yAFP4gRKlTM- .j9KgRON7iTU-::after {\n border-bottom-width: 0;\n border-right-width: 0;\n}\n\n.TpdeLUuiQMg- {\n margin: 0;\n color: rgba(255, 255, 255, 1);\n color: var(--color-text--reverse);\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 font-weight: 600;\n line-height: 1.25;\n line-height: var(--typography--lineHeight-base);\n}\n";
18
18
  var styles = {"shadowActivator":"q07bkGoq714-","tooltipWrapper":"dkCTRfc3vYk-","tooltip":"yAFP4gRKlTM-","arrow":"j9KgRON7iTU-","above":"B6uh34-qEuA-","below":"Wft7Ug-lXEc-","tooltipMessage":"TpdeLUuiQMg-"};
19
19
  styleInject_es.styleInject(css_248z);
20
20
 
@@ -0,0 +1,6 @@
1
+ declare const styles: {
2
+ readonly "italic": string;
3
+ readonly "highlight": string;
4
+ };
5
+ export = styles;
6
+
@@ -0,0 +1,6 @@
1
+ declare const styles: {
2
+ readonly "base": string;
3
+ readonly "display": string;
4
+ };
5
+ export = styles;
6
+
@@ -0,0 +1,12 @@
1
+ declare const styles: {
2
+ readonly "extravagant": string;
3
+ readonly "jumbo": string;
4
+ readonly "largest": string;
5
+ readonly "larger": string;
6
+ readonly "large": string;
7
+ readonly "base": string;
8
+ readonly "small": string;
9
+ readonly "smaller": string;
10
+ };
11
+ export = styles;
12
+
@@ -0,0 +1,10 @@
1
+ declare const styles: {
2
+ readonly "regular": string;
3
+ readonly "medium": string;
4
+ readonly "semiBold": string;
5
+ readonly "bold": string;
6
+ readonly "extraBold": string;
7
+ readonly "black": string;
8
+ };
9
+ export = styles;
10
+
@@ -0,0 +1,7 @@
1
+ declare const styles: {
2
+ readonly "start": string;
3
+ readonly "center": string;
4
+ readonly "end": string;
5
+ };
6
+ export = styles;
7
+
@@ -0,0 +1,7 @@
1
+ declare const styles: {
2
+ readonly "uppercase": string;
3
+ readonly "lowercase": string;
4
+ readonly "capitalize": string;
5
+ };
6
+ export = styles;
7
+
@@ -0,0 +1,22 @@
1
+ declare const styles: {
2
+ readonly "blue": string;
3
+ readonly "grey": string;
4
+ readonly "greyBlueDark": string;
5
+ readonly "greyBlue": string;
6
+ readonly "green": string;
7
+ readonly "red": string;
8
+ readonly "yellow": string;
9
+ readonly "yellowDark": string;
10
+ readonly "lightBlue": string;
11
+ readonly "white": string;
12
+ readonly "heading": string;
13
+ readonly "text": string;
14
+ readonly "textSecondary": string;
15
+ readonly "critical": string;
16
+ readonly "warning": string;
17
+ readonly "informative": string;
18
+ readonly "success": string;
19
+ readonly "disabled": string;
20
+ };
21
+ export = styles;
22
+
@@ -0,0 +1,5 @@
1
+ declare const styles: {
2
+ readonly "textTruncate": string;
3
+ };
4
+ export = styles;
5
+
@@ -0,0 +1,5 @@
1
+ declare const styles: {
2
+ readonly "base": string;
3
+ };
4
+ export = styles;
5
+
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Typography = require('./Typography-fd88fcce.js');
5
+ var Typography = require('../Typography-c45bf216.js');
6
6
  require('react');
7
7
  require('classnames');
8
- require('./style-inject.es-9d2f5f4e.js');
8
+ require('../style-inject.es-9d2f5f4e.js');
9
9
 
10
10
 
11
11
 
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var classnames = require('classnames');
5
+ var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
11
+
12
+ var css_248z$8 = ".asDB9Ra2UpA- {\n margin: 0;\n padding: 0;\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n /* Wrap really long words or URL's */\n word-wrap: break-word;\n overflow-wrap: break-word;\n word-wrap: break-word;\n}\n";
13
+ var styles = {"base":"asDB9Ra2UpA-"};
14
+ styleInject_es.styleInject(css_248z$8);
15
+
16
+ var css_248z$7 = "._7C4Ck1izBPs- {\n font-size: calc(\n (16px * 1) * 3\n );\n font-size: calc(\n calc(16px * 1) * 3\n );\n font-size: var(--typography--fontSize-extravagant);\n line-height: 1.08;\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n._8X-fSrUTxV8- {\n font-size: calc((16px * 1) * 2.25);\n font-size: calc(calc(16px * 1) * 2.25);\n font-size: var(--typography--fontSize-jumbo);\n line-height: 1.08;\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n.n-SPJXPXLSA- {\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 line-height: 1.12;\n line-height: var(--typography--lineHeight-tightest);\n}\n\n.vCrvF55YQ9o- {\n font-size: calc((16px * 1) * 1.25);\n font-size: calc(calc(16px * 1) * 1.25);\n font-size: var(--typography--fontSize-larger);\n line-height: 1.2;\n line-height: var(--typography--lineHeight-tight);\n}\n\n.FBoaHWotSik- {\n font-size: calc(16px * 1);\n font-size: var(--typography--fontSize-large);\n line-height: 1.34;\n line-height: var(--typography--lineHeight-large);\n}\n\n.V6yPPLHLeuY- {\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 line-height: 1.25;\n line-height: var(--typography--lineHeight-base);\n}\n\n.T5XC4DgJlxk- {\n font-size: calc((16px * 1) * 0.75);\n font-size: calc(calc(16px * 1) * 0.75);\n font-size: var(--typography--fontSize-small);\n line-height: 1.143;\n line-height: var(--typography--lineHeight-tighter);\n}\n\n.sycqXMMO-wc- {\n font-size: calc(\n (16px * 1) * 0.625\n );\n font-size: calc(\n calc(16px * 1) * 0.625\n );\n font-size: var(--typography--fontSize-smaller);\n line-height: 1.2;\n line-height: var(--typography--lineHeight-tight);\n}\n";
17
+ var fontSizes = {"extravagant":"_7C4Ck1izBPs-","jumbo":"_8X-fSrUTxV8-","largest":"n-SPJXPXLSA-","larger":"vCrvF55YQ9o-","large":"FBoaHWotSik-","base":"V6yPPLHLeuY-","small":"T5XC4DgJlxk-","smaller":"sycqXMMO-wc-"};
18
+ styleInject_es.styleInject(css_248z$7);
19
+
20
+ var css_248z$6 = ".lziyWzzvuno- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-weight: 400;\n}\n\n.PVKSijyipP8- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-weight: 500;\n}\n\n.-ch9Z4gIGDg- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-weight: 600;\n}\n\n.EEwS0f07RqQ- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n font-weight: 700;\n}\n\n.kA3NtPPWbP0- {\n font-family: \"Jobber Pro\", \"Poppins\", Helvetica, Arial,\n sans-serif;\n font-family: var(--typography--fontFamily-display);\n font-weight: 800;\n}\n\n.jobber-retheme .kA3NtPPWbP0- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n}\n\n._3M58OLqp0JM- {\n font-family: \"Jobber Pro\", \"Poppins\", Helvetica, Arial,\n sans-serif;\n font-family: var(--typography--fontFamily-display);\n font-weight: 900;\n}\n";
21
+ var fontWeights = {"regular":"lziyWzzvuno-","medium":"PVKSijyipP8-","semiBold":"-ch9Z4gIGDg-","bold":"EEwS0f07RqQ-","extraBold":"kA3NtPPWbP0-","black":"_3M58OLqp0JM-"};
22
+ styleInject_es.styleInject(css_248z$6);
23
+
24
+ var css_248z$5 = ".xE6cC62h5G0- {\n text-transform: uppercase;\n}\n\n.HlqJJ3Cl7dE- {\n text-transform: lowercase;\n}\n\n.Loe26JnDfco- {\n text-transform: capitalize;\n}\n";
25
+ var textCases = {"uppercase":"xE6cC62h5G0-","lowercase":"HlqJJ3Cl7dE-","capitalize":"Loe26JnDfco-"};
26
+ styleInject_es.styleInject(css_248z$5);
27
+
28
+ var css_248z$4 = ".pkqoq2KXY9w- {\n color: rgb(1, 41, 57);\n color: var(--color-blue);\n}\n\n.ftVHRSii3ro- {\n color: rgb(181, 181, 181);\n color: var(--color-grey);\n}\n\n.FQbGABZWVzA- {\n color: rgb(66, 78, 86);\n color: var(--color-greyBlue--dark);\n}\n\n.zQaB9J0-vrs- {\n color: rgba(101, 120, 132, 1);\n color: var(--color-greyBlue);\n}\n\n._4-xdzcqT-Us- {\n color: rgb(125, 176, 14);\n color: var(--color-green);\n}\n\n.Zp9E7ELPjPA- {\n color: rgb(201, 66, 33);\n color: var(--color-red);\n}\n\n.v-Fo4PwPxDI- {\n color: rgb(221, 195, 15);\n color: var(--color-yellow);\n}\n\n.YrGUIChAZC0- {\n color: rgb(144, 127, 10);\n color: var(--color-yellow--dark);\n}\n\n.r7JcIVoDcTY- {\n color: rgb(60, 162, 224);\n color: var(--color-lightBlue);\n}\n\n._6RXTyd198iM- {\n color: rgba(255, 255, 255, 1);\n color: var(--color-white);\n}\n\n.fLix4jA-RkU- {\n color: rgb(1, 41, 57);\n color: var(--color-heading);\n}\n\n._1g0uMAwFAsk- {\n color: rgb(66, 78, 86);\n color: var(--color-text);\n}\n\n.oXqFAHwT6y4- {\n color: rgb(77, 105, 116);\n color: var(--color-text--secondary);\n}\n\n.rWkzi9HFNDU- {\n color: rgb(201, 66, 33);\n color: var(--color-critical);\n}\n\n.PQLYQKGCmPI- {\n color: rgb(144, 127, 10);\n color: var(--color-warning--onSurface);\n}\n\n.L6bBDJrx-m0- {\n color: rgb(39, 105, 146);\n color: var(--color-informative--onSurface);\n}\n\n.bJDJJKvmT90- {\n color: rgb(81, 114, 9);\n color: var(--color-success--onSurface);\n}\n\n._3g4iYm8XwkM- {\n color: rgb(181, 181, 181);\n color: var(--color-disabled);\n}\n";
29
+ var textColors = {"blue":"pkqoq2KXY9w-","grey":"ftVHRSii3ro-","greyBlueDark":"FQbGABZWVzA-","greyBlue":"zQaB9J0-vrs-","green":"_4-xdzcqT-Us-","red":"Zp9E7ELPjPA-","yellow":"v-Fo4PwPxDI-","yellowDark":"YrGUIChAZC0-","lightBlue":"r7JcIVoDcTY-","white":"_6RXTyd198iM-","heading":"fLix4jA-RkU-","text":"_1g0uMAwFAsk-","textSecondary":"oXqFAHwT6y4-","critical":"rWkzi9HFNDU-","warning":"PQLYQKGCmPI-","informative":"L6bBDJrx-m0-","success":"bJDJJKvmT90-","disabled":"_3g4iYm8XwkM-"};
30
+ styleInject_es.styleInject(css_248z$4);
31
+
32
+ var css_248z$3 = ".Jys1uy2pQXw- {\n font-style: italic;\n}\n\n.kd2u0dL-if0- {\n display: inline;\n font-family: inherit;\n font-style: normal;\n font-weight: inherit;\n background-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 84 8' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 6.50004C14.6667 4.50004 49.3 0.900038 82.5 2.50004' stroke='%2384EA00' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E\");\n background-position: center bottom;\n background-repeat: no-repeat;\n background-size: 100% 20%;\n}\n";
33
+ var emphasis = {"italic":"Jys1uy2pQXw-","highlight":"kd2u0dL-if0-"};
34
+ styleInject_es.styleInject(css_248z$3);
35
+
36
+ var css_248z$2 = ".LUJEfdi3pws- {\n display: -webkit-box !important;\n}\n.LUJEfdi3pws- {\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n";
37
+ var truncate = {"textTruncate":"LUJEfdi3pws-"};
38
+ styleInject_es.styleInject(css_248z$2);
39
+
40
+ var css_248z$1 = ".eDMsbRCP0kg- {\n text-align: left;\n}\n\n.j34R9yIG--c- {\n text-align: center;\n}\n\n.CeI75T5sHwM- {\n text-align: right;\n}\n";
41
+ var alignment = {"start":"eDMsbRCP0kg-","center":"j34R9yIG--c-","end":"CeI75T5sHwM-"};
42
+ styleInject_es.styleInject(css_248z$1);
43
+
44
+ var css_248z = ".mRpfVoMiIMM- {\n font-family: \"Inter\", Helvetica, Arial, sans-serif;\n font-family: var(--typography--fontFamily-normal);\n}\n\n.TPtuWMdOsfw- {\n font-family: \"Jobber Pro\", \"Poppins\", Helvetica, Arial,\n sans-serif;\n font-family: var(--typography--fontFamily-display);\n}\n";
45
+ var fontFamilies = {"base":"mRpfVoMiIMM-","display":"TPtuWMdOsfw-"};
46
+ styleInject_es.styleInject(css_248z);
47
+
48
+ /* eslint-disable import/no-internal-modules */
49
+ function Typography({ id, children, element: Tag = "p", size, align, fontWeight = "regular", textCase, textColor, emphasisType, numberOfLines, fontFamily, }) {
50
+ const shouldTruncateText = numberOfLines && numberOfLines > 0;
51
+ const className = classnames__default["default"](styles.base, fontWeights[fontWeight], size && fontSizes[size], textCase && textCases[textCase], textColor && textColors[textColor], emphasisType && emphasis[emphasisType], fontFamily && fontFamilies[fontFamily], shouldTruncateText && truncate.textTruncate, Object.assign({}, (align && { [alignment[align]]: align !== `start` })));
52
+ let truncateLines;
53
+ if (shouldTruncateText) {
54
+ truncateLines = {
55
+ WebkitLineClamp: numberOfLines,
56
+ WebkitBoxOrient: "vertical",
57
+ };
58
+ }
59
+ return (React__default["default"].createElement(Tag, { id: id, className: className, style: truncateLines }, children));
60
+ }
61
+
62
+ exports.Typography = Typography;
package/package.json CHANGED
@@ -1,16 +1,9 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "4.85.4-CJS-to-ESM.2+8ce5e6ae",
3
+ "version": "4.85.4",
4
4
  "license": "MIT",
5
- "main": "dist/index.esm.js",
5
+ "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "type": "module",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.esm.js"
12
- }
13
- },
14
7
  "scripts": {
15
8
  "build": "rollup --config",
16
9
  "bootstrap": "npm run clean; npm run build",
@@ -21,14 +14,13 @@
21
14
  "postpack": "npm run entryPoints:clean"
22
15
  },
23
16
  "files": [
24
- "dist",
25
- "README.md",
26
- "LICENSE",
27
- "package.json"
17
+ "*.js",
18
+ "*.d.ts",
19
+ "dist/*"
28
20
  ],
29
21
  "dependencies": {
30
22
  "@jobber/design": "^0.55.1",
31
- "@jobber/formatters": "^0.2.2",
23
+ "@jobber/formatters": "*",
32
24
  "@jobber/hooks": "^2.9.1",
33
25
  "@popperjs/core": "^2.0.6",
34
26
  "@std-proposal/temporal": "0.0.1",
@@ -88,5 +80,5 @@
88
80
  "> 1%",
89
81
  "IE 10"
90
82
  ],
91
- "gitHead": "8ce5e6ae9e18bfee65d99288f41f59b9ff9d2397"
83
+ "gitHead": "615f364735ac965736352b7582c17e5902ff670e"
92
84
  }
@@ -0,0 +1,131 @@
1
+ /* eslint-disable import/no-default-export */
2
+ import multiInput from "rollup-plugin-multi-input";
3
+ import typescript from "@rollup/plugin-typescript";
4
+ import postcss from "rollup-plugin-postcss";
5
+ import commonjs from "@rollup/plugin-commonjs";
6
+ import copy from "rollup-plugin-copy";
7
+
8
+ export default {
9
+ input: `src/*/index.{ts,tsx}`,
10
+ plugins: [
11
+ multiInput(),
12
+ typescript({
13
+ tsconfig: "./tsconfig.rollup.json",
14
+ declarationDir: "dist",
15
+ noEmitOnError: true,
16
+ }),
17
+ postcss({
18
+ modules: {
19
+ generateScopedName: "[hash:base64]",
20
+ globalModulePaths: [/node_modules/],
21
+ },
22
+ autoModules: false,
23
+ plugins: [
24
+ require("postcss-import"),
25
+ require("autoprefixer"),
26
+ require("@csstools/postcss-global-data")({
27
+ files: [
28
+ require.resolve("@jobber/design/foundation.css"),
29
+ require.resolve("@jobber/design/src/responsiveBreakpoints.css"),
30
+ ],
31
+ }),
32
+ require("postcss-preset-env")({
33
+ stage: 1,
34
+ preserve: true,
35
+ }),
36
+ ],
37
+ }),
38
+ commonjs({
39
+ ignore: ["time-input-polyfill", "time-input-polyfill/supportsTime"],
40
+ }),
41
+ copy({
42
+ targets: [
43
+ { src: "src/Card/colors.css.d.ts", dest: "dist/Card" },
44
+ { src: "src/Content/Spacing.css.d.ts", dest: "dist/Content" },
45
+ { src: "src/Gallery/Gallery.css.d.ts", dest: "dist/Gallery" },
46
+ { src: "src/Grid/GridAlign.css.d.ts", dest: "dist/Grid" },
47
+ { src: "src/Modal/Sizes.css.d.ts", dest: "dist/Modal" },
48
+ { src: "src/ProgressBar/Sizes.css.d.ts", dest: "dist/ProgressBar" },
49
+ {
50
+ src: "src/Typography/css/Emphasis.css.d.ts",
51
+ dest: "dist/Typography/css",
52
+ },
53
+ {
54
+ src: "src/Typography/css/FontFamilies.css.d.ts",
55
+ dest: "dist/Typography/css",
56
+ },
57
+ {
58
+ src: "src/Typography/css/FontSizes.css.d.ts",
59
+ dest: "dist/Typography/css",
60
+ },
61
+ {
62
+ src: "src/Typography/css/FontWeights.css.d.ts",
63
+ dest: "dist/Typography/css",
64
+ },
65
+ {
66
+ src: "src/Typography/css/TextAlignment.css.d.ts",
67
+ dest: "dist/Typography/css",
68
+ },
69
+ {
70
+ src: "src/Typography/css/TextCases.css.d.ts",
71
+ dest: "dist/Typography/css",
72
+ },
73
+ {
74
+ src: "src/Typography/css/TextColors.css.d.ts",
75
+ dest: "dist/Typography/css",
76
+ },
77
+ {
78
+ src: "src/Typography/css/Truncate.css.d.ts",
79
+ dest: "dist/Typography/css",
80
+ },
81
+ {
82
+ src: "src/Typography/css/Typography.css.d.ts",
83
+ dest: "dist/Typography/css",
84
+ },
85
+ { src: "src/Glimmer/style/Shape.css.d.ts", dest: "dist/Glimmer/style" },
86
+ { src: "src/Glimmer/style/Sizes.css.d.ts", dest: "dist/Glimmer/style" },
87
+ {
88
+ src: "src/Glimmer/style/Timing.css.d.ts",
89
+ dest: "dist/Glimmer/style",
90
+ },
91
+ {
92
+ src: "src/Combobox/components/ComboboxContent/ComboboxContentList/ComboboxContent.css.d.ts",
93
+ dest: "dist/Combobox/components/ComboboxContent/ComboboxContentList",
94
+ },
95
+ ],
96
+ }),
97
+ ],
98
+ output: [
99
+ {
100
+ dir: "dist",
101
+ format: "cjs",
102
+ },
103
+ ],
104
+ external: [
105
+ "react",
106
+ "react-hook-form",
107
+ "react-router-dom",
108
+ "react-dom",
109
+ "react-markdown",
110
+ "react-countdown",
111
+ "react-popper",
112
+ "react-datepicker",
113
+ "react-dropzone",
114
+ "react-dom/client",
115
+ "axios",
116
+ "filesize",
117
+ "color",
118
+ "framer-motion",
119
+ "classnames",
120
+ new RegExp("lodash/.*"),
121
+ "@std-proposal/temporal",
122
+ "@jobber/design",
123
+ "@jobber/design/foundation",
124
+ "@jobber/formatters",
125
+ new RegExp("@jobber/hooks/.*"),
126
+ "zxcvbn",
127
+ "use-resize-observer/polyfilled",
128
+ "@apollo/client",
129
+ "@tanstack/react-table",
130
+ ],
131
+ };
@@ -1,98 +0,0 @@
1
- import React, { useState, useEffect, Children } from 'react';
2
- import { useReducedMotion, AnimatePresence, motion } from 'framer-motion';
3
- import { tokens } from '@jobber/design';
4
-
5
- const TIMING_QUICK = toSeconds(tokens["timing-quick"]);
6
- const TIMING_BASE = toSeconds(tokens["timing-base"]);
7
- const baseTransition = {
8
- visible: { opacity: 1 },
9
- hidden: { opacity: 0 },
10
- };
11
- const fade = {
12
- visible: { opacity: 1 },
13
- hidden: { opacity: 0 },
14
- };
15
- const popIn = {
16
- visible: Object.assign({ scale: 1 }, baseTransition.visible),
17
- hidden: Object.assign({ scale: 0.95 }, baseTransition.hidden),
18
- };
19
- const fromTop = {
20
- visible: Object.assign({ y: 0 }, baseTransition.visible),
21
- hidden: Object.assign({ y: -tokens["space-base"] }, baseTransition.hidden),
22
- };
23
- const fromBottom = {
24
- visible: Object.assign({ y: 0 }, baseTransition.visible),
25
- hidden: Object.assign({ y: tokens["space-base"] }, baseTransition.hidden),
26
- };
27
- const fromLeft = {
28
- visible: Object.assign({ x: 0 }, baseTransition.visible),
29
- hidden: Object.assign({ x: -tokens["space-base"] }, baseTransition.hidden),
30
- };
31
- const fromRight = {
32
- visible: Object.assign({ x: 0 }, baseTransition.visible),
33
- hidden: Object.assign({ x: tokens["space-base"] }, baseTransition.hidden),
34
- };
35
- const fromLeftToRight = {
36
- initial: Object.assign({ x: -tokens["space-base"] }, baseTransition.hidden),
37
- visible: Object.assign({ x: 0 }, baseTransition.visible),
38
- hidden: Object.assign({ x: tokens["space-base"] }, baseTransition.hidden),
39
- };
40
- const fromRightToLeft = {
41
- initial: Object.assign({ x: tokens["space-base"] }, baseTransition.hidden),
42
- visible: Object.assign({ x: 0 }, baseTransition.visible),
43
- hidden: Object.assign({ x: -tokens["space-base"] }, baseTransition.hidden),
44
- };
45
- function toSeconds(ms) {
46
- return ms / 1000;
47
- }
48
-
49
- function usePreviousValue(value) {
50
- const [previousValue, setPreviousValue] = useState(value);
51
- useEffect(() => {
52
- setPreviousValue(value);
53
- }, [value]);
54
- return [previousValue, setPreviousValue];
55
- }
56
-
57
- const transitions = {
58
- fromBottom,
59
- fromTop,
60
- fromLeft,
61
- fromRight,
62
- popIn,
63
- fromLeftToRight,
64
- fromRightToLeft,
65
- fade,
66
- };
67
- function AnimatedPresence(props) {
68
- const shouldReduceMotion = useReducedMotion();
69
- if (shouldReduceMotion) {
70
- return React.createElement(React.Fragment, null, props.children);
71
- }
72
- return React.createElement(InternalAnimatedPresence, Object.assign({}, props));
73
- }
74
- function InternalAnimatedPresence({ transition = "fromTop", initial = false, children, }) {
75
- const transitionVariation = transitions[transition];
76
- const hasInitialTransition = "initial" in transitionVariation;
77
- const childCount = Children.count(children);
78
- // Set the initial value to 0 so it staggers the animation on mount when
79
- // initial is true.
80
- const [lastChildIndex, setLastChildIndex] = usePreviousValue(0);
81
- // Whenever the children count changes, update the last index.
82
- useEffect(() => {
83
- setLastChildIndex(childCount - 1);
84
- }, [childCount]);
85
- return (React.createElement(AnimatePresence, { initial: initial, mode: "popLayout" }, Children.map(children, (child, i) => child && (React.createElement(motion.div, { layout: true, variants: transitionVariation, initial: hasInitialTransition ? "initial" : "hidden", animate: "visible", exit: "hidden", transition: {
86
- duration: TIMING_BASE,
87
- delay: generateDelayTime(i),
88
- } }, child)))));
89
- function generateDelayTime(index) {
90
- // Don't add a delay if it's already rendered.
91
- if (lastChildIndex > index)
92
- return 0;
93
- // Stagger the animation starting after the previous last child index.
94
- return (index - lastChildIndex) * TIMING_QUICK;
95
- }
96
- }
97
-
98
- export { AnimatedPresence as A };
@@ -1,4 +0,0 @@
1
- export { A as AnimatedPresence } from './AnimatedPresence-bbccdaf7.js';
2
- import 'react';
3
- import 'framer-motion';
4
- import '@jobber/design';