@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,70 +0,0 @@
1
- import React, { useState, useRef, useEffect } from 'react';
2
- import classnames from 'classnames';
3
- import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
4
- import { T as Typography } from './Typography-52ed1386.js';
5
-
6
- 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";
7
- var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
8
- styleInject(css_248z);
9
-
10
- function Tabs({ children, defaultTab = 0, onTabChange }) {
11
- const activeTabInitialValue = defaultTab < React.Children.count(children) ? defaultTab : 0;
12
- const [activeTab, setActiveTab] = useState(activeTabInitialValue);
13
- const [overflowRight, setOverflowRight] = useState(false);
14
- const [overflowLeft, setOverflowLeft] = useState(false);
15
- const tabRow = useRef();
16
- const overflowClassNames = classnames(styles.overflow, {
17
- [styles.overflowRight]: overflowRight,
18
- [styles.overflowLeft]: overflowLeft,
19
- });
20
- const activateTab = (index) => {
21
- return () => {
22
- setActiveTab(index);
23
- if (onTabChange) {
24
- onTabChange(index);
25
- }
26
- };
27
- };
28
- const activeTabProps = React.Children.toArray(children)[activeTab].props;
29
- const handleOverflowing = () => {
30
- if (tabRow.current) {
31
- const scrollWidth = tabRow.current.scrollWidth;
32
- const clientWidth = tabRow.current.clientWidth;
33
- const maxScroll = scrollWidth - clientWidth;
34
- const scrollPos = tabRow.current.scrollLeft;
35
- if (scrollWidth > clientWidth) {
36
- setOverflowRight(scrollPos >= 0 && scrollPos != maxScroll);
37
- setOverflowLeft(scrollPos > 0 && scrollPos < scrollWidth);
38
- }
39
- }
40
- };
41
- useEffect(() => {
42
- handleOverflowing();
43
- tabRow.current &&
44
- tabRow.current.addEventListener("scroll", handleOverflowing);
45
- return () => {
46
- window.removeEventListener("scroll", handleOverflowing);
47
- };
48
- });
49
- return (React.createElement("div", { className: styles.tabs },
50
- React.createElement("div", { className: overflowClassNames },
51
- React.createElement("ul", { role: "tablist", className: styles.tabRow, ref: tabRow },
52
- React.createElement("li", { role: "presentation" }, React.Children.map(children, (tab, index) => (React.createElement(InternalTab, { label: tab.props.label, selected: activeTab === index, activateTab: activateTab(index), onClick: tab.props.onClick })))))),
53
- React.createElement("section", { role: "tabpanel", className: styles.tabContent, "aria-label": activeTabProps.label }, activeTabProps.children)));
54
- }
55
- function Tab({ label }) {
56
- return React.createElement(React.Fragment, null, label);
57
- }
58
- function InternalTab({ label, selected, activateTab, onClick = () => {
59
- return;
60
- }, }) {
61
- const className = classnames(styles.tab, { [styles.selected]: selected });
62
- const color = selected ? "green" : "heading";
63
- return (React.createElement("button", { type: "button", role: "tab", id: label, className: className, onClick: event => {
64
- activateTab();
65
- onClick(event);
66
- } },
67
- React.createElement(Typography, { element: "span", size: "base", textColor: color }, label)));
68
- }
69
-
70
- export { Tabs as T, Tab as a };
package/dist/Tabs.cjs DELETED
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Tabs = require('./Tabs-d6c8b965.js');
6
- require('react');
7
- require('classnames');
8
- require('./style-inject.es-9d2f5f4e.js');
9
- require('./Typography-fd88fcce.js');
10
-
11
-
12
-
13
- exports.Tab = Tabs.Tab;
14
- exports.Tabs = Tabs.Tabs;
package/dist/Tabs.js DELETED
@@ -1,5 +0,0 @@
1
- export { a as Tab, T as Tabs } from './Tabs-109f1f10.js';
2
- import 'react';
3
- import 'classnames';
4
- import './style-inject.es-a0e1a0ba.js';
5
- import './Typography-52ed1386.js';
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { T as Typography } from './Typography-52ed1386.js';
3
-
4
- function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
5
- const textColors = {
6
- default: "text",
7
- subdued: "textSecondary",
8
- success: "success",
9
- error: "critical",
10
- warn: "warning",
11
- info: "informative",
12
- disabled: "disabled",
13
- };
14
- const maxLineToNumber = {
15
- single: 1,
16
- small: 2,
17
- base: 4,
18
- large: 8,
19
- larger: 16,
20
- unlimited: undefined,
21
- };
22
- return (React.createElement(Typography, { textColor: textColors[variation], size: size, numberOfLines: maxLineToNumber[maxLines], align: align }, children));
23
- }
24
-
25
- export { Text as T };
package/dist/Text.js DELETED
@@ -1,5 +0,0 @@
1
- export { T as Text } from './Text-c92ddeb3.js';
2
- import 'react';
3
- import './Typography-52ed1386.js';
4
- import 'classnames';
5
- import './style-inject.es-a0e1a0ba.js';
package/dist/Toast.cjs DELETED
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var showToast = require('./showToast-63be1cf0.js');
6
- require('react');
7
- require('react-dom/client');
8
- require('framer-motion');
9
- require('./style-inject.es-9d2f5f4e.js');
10
- require('./Icon-405a216c.js');
11
- require('@jobber/design');
12
- require('./Button-ec64869e.js');
13
- require('classnames');
14
- require('react-router-dom');
15
- require('./Typography-fd88fcce.js');
16
-
17
-
18
-
19
- exports.showToast = showToast.showToast;
package/dist/Toast.js DELETED
@@ -1,11 +0,0 @@
1
- export { s as showToast } from './showToast-ff666be8.js';
2
- import 'react';
3
- import 'react-dom/client';
4
- import 'framer-motion';
5
- import './style-inject.es-a0e1a0ba.js';
6
- import './Icon-22723fe6.js';
7
- import '@jobber/design';
8
- import './Button-30154871.js';
9
- import 'classnames';
10
- import 'react-router-dom';
11
- import './Typography-52ed1386.js';
@@ -1,104 +0,0 @@
1
- import React, { useRef, useState } from 'react';
2
- import classnames from 'classnames';
3
- import ReactDOM from 'react-dom';
4
- import { motion } from 'framer-motion';
5
- import { useSafeLayoutEffect } from '@jobber/hooks/useSafeLayoutEffect';
6
- import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
7
- import { usePopper } from 'react-popper';
8
-
9
- 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";
10
- var styles = {"shadowActivator":"q07bkGoq714-","tooltipWrapper":"dkCTRfc3vYk-","tooltip":"yAFP4gRKlTM-","arrow":"j9KgRON7iTU-","above":"B6uh34-qEuA-","below":"Wft7Ug-lXEc-","tooltipMessage":"TpdeLUuiQMg-"};
11
- styleInject(css_248z);
12
-
13
- function useTooltipPositioning() {
14
- var _a, _b;
15
- const shadowRef = useRef(null);
16
- const [positionElement, setTooltipRef] = useState();
17
- const [arrowElement, setArrowRef] = useState();
18
- const popper = usePopper((_a = shadowRef.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling, positionElement, {
19
- placement: "top",
20
- modifiers: [
21
- { name: "flip", options: { fallbackPlacements: ["bottom"] } },
22
- {
23
- name: "arrow",
24
- options: { element: arrowElement },
25
- },
26
- ],
27
- });
28
- return Object.assign(Object.assign({}, popper), { placement: (_b = popper.state) === null || _b === void 0 ? void 0 : _b.placement, shadowRef,
29
- setArrowRef,
30
- setTooltipRef });
31
- }
32
-
33
- const variation = {
34
- startOrStop: { scale: 0.6, opacity: 0 },
35
- done: { scale: 1, opacity: 1 },
36
- };
37
- function Tooltip({ message, children }) {
38
- const [show, setShow] = useState(false);
39
- const { attributes, placement, shadowRef, styles: popperStyles, setArrowRef, setTooltipRef, } = useTooltipPositioning();
40
- initializeListeners();
41
- const toolTipClassNames = classnames(styles.tooltipWrapper, placement === "bottom" && styles.below, placement === "top" && styles.above);
42
- return (React.createElement(React.Fragment, null,
43
- React.createElement("span", { className: styles.shadowActivator, ref: shadowRef }),
44
- children,
45
- React.createElement(TooltipPortal, null, show && Boolean(message) && (React.createElement("div", Object.assign({ className: toolTipClassNames, style: popperStyles.popper, ref: setTooltipRef, role: "tooltip" }, attributes.popper),
46
- React.createElement(motion.div, { className: styles.tooltip, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", transition: {
47
- damping: 50,
48
- stiffness: 500,
49
- } },
50
- React.createElement("p", { className: styles.tooltipMessage }, message),
51
- React.createElement("div", { ref: setArrowRef, style: popperStyles.arrow, className: styles.arrow })))))));
52
- function initializeListeners() {
53
- const showTooltip = () => {
54
- setShow(true);
55
- };
56
- const hideTooltip = () => {
57
- setShow(false);
58
- };
59
- const injectAttributes = () => {
60
- var _a;
61
- if ((_a = shadowRef === null || shadowRef === void 0 ? void 0 : shadowRef.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling) {
62
- const activator = shadowRef.current.nextElementSibling;
63
- // Manually inject "aria-description" and "tabindex" to let the screen
64
- // readers read the tooltip message.
65
- // This is to avoid having to add those attribute as a prop on every
66
- // component we have.
67
- activator.setAttribute("aria-description", message);
68
- activator.setAttribute("tabindex", "0"); // enable focus
69
- }
70
- };
71
- const addListeners = () => {
72
- var _a;
73
- if ((_a = shadowRef === null || shadowRef === void 0 ? void 0 : shadowRef.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling) {
74
- const activator = shadowRef.current.nextElementSibling;
75
- activator.addEventListener("mouseenter", showTooltip);
76
- activator.addEventListener("mouseleave", hideTooltip);
77
- activator.addEventListener("focus", showTooltip);
78
- activator.addEventListener("blur", hideTooltip);
79
- }
80
- };
81
- const removeListeners = () => {
82
- var _a;
83
- if ((_a = shadowRef === null || shadowRef === void 0 ? void 0 : shadowRef.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling) {
84
- const activator = shadowRef.current.nextElementSibling;
85
- activator.removeEventListener("mouseenter", showTooltip);
86
- activator.removeEventListener("mouseleave", hideTooltip);
87
- activator.removeEventListener("focus", showTooltip);
88
- activator.removeEventListener("blur", hideTooltip);
89
- }
90
- };
91
- useSafeLayoutEffect(() => {
92
- injectAttributes();
93
- addListeners();
94
- return () => {
95
- removeListeners();
96
- };
97
- }, []);
98
- }
99
- }
100
- function TooltipPortal({ children }) {
101
- return ReactDOM.createPortal(children, document.body);
102
- }
103
-
104
- export { Tooltip as T };
package/dist/Tooltip.js DELETED
@@ -1,8 +0,0 @@
1
- export { T as Tooltip } from './Tooltip-a40fffbd.js';
2
- import 'react';
3
- import 'classnames';
4
- import 'react-dom';
5
- import 'framer-motion';
6
- import '@jobber/hooks/useSafeLayoutEffect';
7
- import './style-inject.es-a0e1a0ba.js';
8
- import 'react-popper';
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- import classnames from 'classnames';
3
- import { s as styleInject } from './style-inject.es-a0e1a0ba.js';
4
-
5
- var css_248z$8 = ".asDB9Ra2UpA- {\n margin: 0;\n padding: 0;\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";
6
- var styles = {"base":"asDB9Ra2UpA-"};
7
- styleInject(css_248z$8);
8
-
9
- var css_248z$7 = "._7C4Ck1izBPs- {\n font-size: var(--typography--fontSize-extravagant);\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n._8X-fSrUTxV8- {\n font-size: var(--typography--fontSize-jumbo);\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n.n-SPJXPXLSA- {\n font-size: var(--typography--fontSize-largest);\n line-height: var(--typography--lineHeight-tightest);\n}\n\n.vCrvF55YQ9o- {\n font-size: var(--typography--fontSize-larger);\n line-height: var(--typography--lineHeight-tight);\n}\n\n.FBoaHWotSik- {\n font-size: var(--typography--fontSize-large);\n line-height: var(--typography--lineHeight-large);\n}\n\n.V6yPPLHLeuY- {\n font-size: var(--typography--fontSize-base);\n line-height: var(--typography--lineHeight-base);\n}\n\n.T5XC4DgJlxk- {\n font-size: var(--typography--fontSize-small);\n line-height: var(--typography--lineHeight-tighter);\n}\n\n.sycqXMMO-wc- {\n font-size: var(--typography--fontSize-smaller);\n line-height: var(--typography--lineHeight-tight);\n}\n";
10
- var fontSizes = {"extravagant":"_7C4Ck1izBPs-","jumbo":"_8X-fSrUTxV8-","largest":"n-SPJXPXLSA-","larger":"vCrvF55YQ9o-","large":"FBoaHWotSik-","base":"V6yPPLHLeuY-","small":"T5XC4DgJlxk-","smaller":"sycqXMMO-wc-"};
11
- styleInject(css_248z$7);
12
-
13
- var css_248z$6 = ".lziyWzzvuno- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 400;\n}\n\n.PVKSijyipP8- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 500;\n}\n\n.-ch9Z4gIGDg- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 600;\n}\n\n.EEwS0f07RqQ- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 700;\n}\n\n.kA3NtPPWbP0- {\n font-family: var(--typography--fontFamily-display);\n font-weight: 800;\n}\n\n.jobber-retheme .kA3NtPPWbP0- {\n font-family: var(--typography--fontFamily-normal);\n}\n\n._3M58OLqp0JM- {\n font-family: var(--typography--fontFamily-display);\n font-weight: 900;\n}\n";
14
- var fontWeights = {"regular":"lziyWzzvuno-","medium":"PVKSijyipP8-","semiBold":"-ch9Z4gIGDg-","bold":"EEwS0f07RqQ-","extraBold":"kA3NtPPWbP0-","black":"_3M58OLqp0JM-"};
15
- styleInject(css_248z$6);
16
-
17
- 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";
18
- var textCases = {"uppercase":"xE6cC62h5G0-","lowercase":"HlqJJ3Cl7dE-","capitalize":"Loe26JnDfco-"};
19
- styleInject(css_248z$5);
20
-
21
- var css_248z$4 = ".pkqoq2KXY9w- {\n color: var(--color-blue);\n}\n\n.ftVHRSii3ro- {\n color: var(--color-grey);\n}\n\n.FQbGABZWVzA- {\n color: var(--color-greyBlue--dark);\n}\n\n.zQaB9J0-vrs- {\n color: var(--color-greyBlue);\n}\n\n._4-xdzcqT-Us- {\n color: var(--color-green);\n}\n\n.Zp9E7ELPjPA- {\n color: var(--color-red);\n}\n\n.v-Fo4PwPxDI- {\n color: var(--color-yellow);\n}\n\n.YrGUIChAZC0- {\n color: var(--color-yellow--dark);\n}\n\n.r7JcIVoDcTY- {\n color: var(--color-lightBlue);\n}\n\n._6RXTyd198iM- {\n color: var(--color-white);\n}\n\n.fLix4jA-RkU- {\n color: var(--color-heading);\n}\n\n._1g0uMAwFAsk- {\n color: var(--color-text);\n}\n\n.oXqFAHwT6y4- {\n color: var(--color-text--secondary);\n}\n\n.rWkzi9HFNDU- {\n color: var(--color-critical);\n}\n\n.PQLYQKGCmPI- {\n color: var(--color-warning--onSurface);\n}\n\n.L6bBDJrx-m0- {\n color: var(--color-informative--onSurface);\n}\n\n.bJDJJKvmT90- {\n color: var(--color-success--onSurface);\n}\n\n._3g4iYm8XwkM- {\n color: var(--color-disabled);\n}\n";
22
- 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-"};
23
- styleInject(css_248z$4);
24
-
25
- 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";
26
- var emphasis = {"italic":"Jys1uy2pQXw-","highlight":"kd2u0dL-if0-"};
27
- styleInject(css_248z$3);
28
-
29
- var css_248z$2 = ".LUJEfdi3pws- {\n display: -webkit-box !important;\n}\n.LUJEfdi3pws- {\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n";
30
- var truncate = {"textTruncate":"LUJEfdi3pws-"};
31
- styleInject(css_248z$2);
32
-
33
- 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";
34
- var alignment = {"start":"eDMsbRCP0kg-","center":"j34R9yIG--c-","end":"CeI75T5sHwM-"};
35
- styleInject(css_248z$1);
36
-
37
- var css_248z = ".mRpfVoMiIMM- {\n font-family: var(--typography--fontFamily-normal);\n}\n\n.TPtuWMdOsfw- {\n font-family: var(--typography--fontFamily-display);\n}\n";
38
- var fontFamilies = {"base":"mRpfVoMiIMM-","display":"TPtuWMdOsfw-"};
39
- styleInject(css_248z);
40
-
41
- /* eslint-disable import/no-internal-modules */
42
- function Typography({ id, children, element: Tag = "p", size, align, fontWeight = "regular", textCase, textColor, emphasisType, numberOfLines, fontFamily, }) {
43
- const shouldTruncateText = numberOfLines && numberOfLines > 0;
44
- const className = classnames(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` })));
45
- let truncateLines;
46
- if (shouldTruncateText) {
47
- truncateLines = {
48
- WebkitLineClamp: numberOfLines,
49
- WebkitBoxOrient: "vertical",
50
- };
51
- }
52
- return (React.createElement(Tag, { id: id, className: className, style: truncateLines }, children));
53
- }
54
-
55
- export { Typography as T };
@@ -1,62 +0,0 @@
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: 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: var(--typography--fontSize-extravagant);\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n._8X-fSrUTxV8- {\n font-size: var(--typography--fontSize-jumbo);\n line-height: var(--typography--lineHeight-miniscule);\n}\n\n.n-SPJXPXLSA- {\n font-size: var(--typography--fontSize-largest);\n line-height: var(--typography--lineHeight-tightest);\n}\n\n.vCrvF55YQ9o- {\n font-size: var(--typography--fontSize-larger);\n line-height: var(--typography--lineHeight-tight);\n}\n\n.FBoaHWotSik- {\n font-size: var(--typography--fontSize-large);\n line-height: var(--typography--lineHeight-large);\n}\n\n.V6yPPLHLeuY- {\n font-size: var(--typography--fontSize-base);\n line-height: var(--typography--lineHeight-base);\n}\n\n.T5XC4DgJlxk- {\n font-size: var(--typography--fontSize-small);\n line-height: var(--typography--lineHeight-tighter);\n}\n\n.sycqXMMO-wc- {\n font-size: var(--typography--fontSize-smaller);\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: var(--typography--fontFamily-normal);\n font-weight: 400;\n}\n\n.PVKSijyipP8- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 500;\n}\n\n.-ch9Z4gIGDg- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 600;\n}\n\n.EEwS0f07RqQ- {\n font-family: var(--typography--fontFamily-normal);\n font-weight: 700;\n}\n\n.kA3NtPPWbP0- {\n font-family: var(--typography--fontFamily-display);\n font-weight: 800;\n}\n\n.jobber-retheme .kA3NtPPWbP0- {\n font-family: var(--typography--fontFamily-normal);\n}\n\n._3M58OLqp0JM- {\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: var(--color-blue);\n}\n\n.ftVHRSii3ro- {\n color: var(--color-grey);\n}\n\n.FQbGABZWVzA- {\n color: var(--color-greyBlue--dark);\n}\n\n.zQaB9J0-vrs- {\n color: var(--color-greyBlue);\n}\n\n._4-xdzcqT-Us- {\n color: var(--color-green);\n}\n\n.Zp9E7ELPjPA- {\n color: var(--color-red);\n}\n\n.v-Fo4PwPxDI- {\n color: var(--color-yellow);\n}\n\n.YrGUIChAZC0- {\n color: var(--color-yellow--dark);\n}\n\n.r7JcIVoDcTY- {\n color: var(--color-lightBlue);\n}\n\n._6RXTyd198iM- {\n color: var(--color-white);\n}\n\n.fLix4jA-RkU- {\n color: var(--color-heading);\n}\n\n._1g0uMAwFAsk- {\n color: var(--color-text);\n}\n\n.oXqFAHwT6y4- {\n color: var(--color-text--secondary);\n}\n\n.rWkzi9HFNDU- {\n color: var(--color-critical);\n}\n\n.PQLYQKGCmPI- {\n color: var(--color-warning--onSurface);\n}\n\n.L6bBDJrx-m0- {\n color: var(--color-informative--onSurface);\n}\n\n.bJDJJKvmT90- {\n color: var(--color-success--onSurface);\n}\n\n._3g4iYm8XwkM- {\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: var(--typography--fontFamily-normal);\n}\n\n.TPtuWMdOsfw- {\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;
@@ -1,4 +0,0 @@
1
- export { T as Typography } from './Typography-52ed1386.js';
2
- import 'react';
3
- import 'classnames';
4
- import './style-inject.es-a0e1a0ba.js';
@@ -1,11 +0,0 @@
1
- // For retheme purposes only.
2
- // This will be removed once the retheme is out of the experiment.
3
- function getAtlantisConfig() {
4
- let JOBBER_RETHEME = false;
5
- if (typeof window !== "undefined") {
6
- JOBBER_RETHEME = document.body.classList.contains("jobber-retheme");
7
- }
8
- return { JOBBER_RETHEME };
9
- }
10
-
11
- export { getAtlantisConfig as g };