@servicetitan/anvil2 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (553) hide show
  1. package/Alert-34e59155.cjs +2 -0
  2. package/Alert-34e59155.cjs.map +1 -0
  3. package/Alert-824b3ad4.js +88 -0
  4. package/Alert-824b3ad4.js.map +1 -0
  5. package/Alert.cjs +1 -1
  6. package/Alert.css +1 -1
  7. package/Alert.d.ts +11 -3
  8. package/Alert.js +1 -1
  9. package/{Announcement-55ce78e1.js → Announcement-ba080c3e.js} +34 -35
  10. package/Announcement-ba080c3e.js.map +1 -0
  11. package/Announcement-f76d3977.cjs +2 -0
  12. package/Announcement-f76d3977.cjs.map +1 -0
  13. package/Announcement.cjs +1 -1
  14. package/Announcement.css +1 -1
  15. package/Announcement.d.ts +11 -3
  16. package/Announcement.js +1 -1
  17. package/AnvilProvider.cjs +1 -1
  18. package/AnvilProvider.d.ts +9 -3
  19. package/AnvilProvider.js +1 -1
  20. package/Avatar-22bb74ca.js +118 -0
  21. package/Avatar-22bb74ca.js.map +1 -0
  22. package/Avatar-4e72aaae.cjs +2 -0
  23. package/Avatar-4e72aaae.cjs.map +1 -0
  24. package/Avatar.cjs +1 -1
  25. package/Avatar.css +1 -1
  26. package/Avatar.d.ts +31 -3
  27. package/Avatar.js +1 -1
  28. package/{Badge-0f0115d7.js → Badge-da23aed3.js} +12 -12
  29. package/Badge-da23aed3.js.map +1 -0
  30. package/Badge-ecee5e54.cjs +2 -0
  31. package/Badge-ecee5e54.cjs.map +1 -0
  32. package/Badge.cjs +1 -1
  33. package/Badge.css +1 -1
  34. package/Badge.d.ts +19 -3
  35. package/Badge.js +1 -1
  36. package/Button-66b9c955.js +274 -0
  37. package/Button-66b9c955.js.map +1 -0
  38. package/Button-bf9d62af.cjs +2 -0
  39. package/Button-bf9d62af.cjs.map +1 -0
  40. package/Button.cjs +1 -1
  41. package/Button.css +1 -1
  42. package/Button.d.ts +11 -3
  43. package/Button.js +1 -1
  44. package/ButtonCompound.cjs +1 -1
  45. package/ButtonCompound.d.ts +15 -3
  46. package/ButtonCompound.js +1 -1
  47. package/ButtonLink.cjs +1 -1
  48. package/ButtonLink.d.ts +25 -3
  49. package/ButtonLink.js +1 -1
  50. package/ButtonToggle.cjs +1 -1
  51. package/ButtonToggle.d.ts +22 -3
  52. package/ButtonToggle.js +1 -1
  53. package/{Calendar-eab84d20.js → Calendar-4d7aca93.js} +67 -68
  54. package/{Calendar-eab84d20.js.map → Calendar-4d7aca93.js.map} +1 -1
  55. package/Calendar-e1d1d08b.cjs +2 -0
  56. package/{Calendar-0180be99.cjs.map → Calendar-e1d1d08b.cjs.map} +1 -1
  57. package/Calendar.cjs +1 -1
  58. package/Calendar.d.ts +135 -3
  59. package/Calendar.js +1 -1
  60. package/Card-407156d2.cjs +2 -0
  61. package/Card-407156d2.cjs.map +1 -0
  62. package/Card-6ded141e.js +48 -0
  63. package/Card-6ded141e.js.map +1 -0
  64. package/Card.cjs +1 -1
  65. package/Card.css +1 -1
  66. package/Card.d.ts +11 -3
  67. package/Card.js +1 -1
  68. package/Checkbox-4cfbca71.cjs +2 -0
  69. package/Checkbox-4cfbca71.cjs.map +1 -0
  70. package/Checkbox-8d294c5e.js +146 -0
  71. package/Checkbox-8d294c5e.js.map +1 -0
  72. package/Checkbox.cjs +1 -1
  73. package/Checkbox.css +1 -1
  74. package/Checkbox.d.ts +32 -3
  75. package/Checkbox.js +1 -1
  76. package/Chip-2c170535.js +56 -0
  77. package/Chip-2c170535.js.map +1 -0
  78. package/Chip-befa36a3.cjs +2 -0
  79. package/Chip-befa36a3.cjs.map +1 -0
  80. package/Chip.cjs +1 -1
  81. package/Chip.css +1 -1
  82. package/Chip.d.ts +19 -3
  83. package/Chip.js +1 -1
  84. package/Combobox-087839e6.cjs +23 -0
  85. package/Combobox-087839e6.cjs.map +1 -0
  86. package/Combobox-8913ce4e.js +2771 -0
  87. package/Combobox-8913ce4e.js.map +1 -0
  88. package/Combobox.cjs +1 -1
  89. package/Combobox.css +1 -1
  90. package/Combobox.d.ts +24 -3
  91. package/Combobox.js +1 -1
  92. package/Details-54b5e7aa.js +120 -0
  93. package/Details-54b5e7aa.js.map +1 -0
  94. package/Details-c03ffac1.cjs +2 -0
  95. package/Details-c03ffac1.cjs.map +1 -0
  96. package/Details.cjs +1 -1
  97. package/Details.css +1 -1
  98. package/Details.d.ts +45 -3
  99. package/Details.js +1 -1
  100. package/Dialog-d409d130.js +180 -0
  101. package/Dialog-d409d130.js.map +1 -0
  102. package/Dialog-d53be5d6.cjs +2 -0
  103. package/Dialog-d53be5d6.cjs.map +1 -0
  104. package/Dialog.cjs +1 -1
  105. package/Dialog.css +1 -1
  106. package/Dialog.d.ts +78 -3
  107. package/Dialog.js +1 -1
  108. package/Divider-076892dc.cjs +2 -0
  109. package/Divider-076892dc.cjs.map +1 -0
  110. package/Divider-38187d6d.js +74 -0
  111. package/Divider-38187d6d.js.map +1 -0
  112. package/Divider.cjs +1 -1
  113. package/Divider.css +1 -1
  114. package/Divider.d.ts +18 -3
  115. package/Divider.js +1 -1
  116. package/{Drawer-cd9a525f.js → Drawer-ddd7914b.js} +28 -28
  117. package/{Drawer-cd9a525f.js.map → Drawer-ddd7914b.js.map} +1 -1
  118. package/{Drawer-13fddcc2.cjs → Drawer-ef353cb7.cjs} +2 -2
  119. package/{Drawer-13fddcc2.cjs.map → Drawer-ef353cb7.cjs.map} +1 -1
  120. package/Drawer.cjs +1 -1
  121. package/Drawer.d.ts +83 -3
  122. package/Drawer.js +1 -1
  123. package/Flex-516baf92.cjs +2 -0
  124. package/Flex-516baf92.cjs.map +1 -0
  125. package/Flex-f1146ad5.js +70 -0
  126. package/Flex-f1146ad5.js.map +1 -0
  127. package/Flex.cjs +1 -1
  128. package/Flex.css +1 -1
  129. package/Flex.d.ts +117 -3
  130. package/Flex.js +1 -1
  131. package/Grid-234bc5d1.js +78 -0
  132. package/Grid-234bc5d1.js.map +1 -0
  133. package/Grid-b47a9218.cjs +2 -0
  134. package/Grid-b47a9218.cjs.map +1 -0
  135. package/Grid.cjs +1 -1
  136. package/Grid.css +1 -1
  137. package/Grid.d.ts +129 -3
  138. package/Grid.js +1 -1
  139. package/{Label-e9a57a2f.cjs → Label-07b0f38c.cjs} +2 -2
  140. package/{Label-e9a57a2f.cjs.map → Label-07b0f38c.cjs.map} +1 -1
  141. package/{Label-578ce53c.js → Label-9db08425.js} +9 -9
  142. package/{Label-578ce53c.js.map → Label-9db08425.js.map} +1 -1
  143. package/Layout.cjs +2 -0
  144. package/Layout.cjs.map +1 -0
  145. package/Layout.d.ts +54 -0
  146. package/Layout.js +143 -0
  147. package/Layout.js.map +1 -0
  148. package/Link-0f117696.cjs +2 -0
  149. package/Link-0f117696.cjs.map +1 -0
  150. package/Link-e07677c7.js +46 -0
  151. package/Link-e07677c7.js.map +1 -0
  152. package/Link.cjs +1 -1
  153. package/Link.css +1 -1
  154. package/Link.d.ts +11 -3
  155. package/Link.js +1 -1
  156. package/ListView-29cf9116.js +411 -0
  157. package/ListView-29cf9116.js.map +1 -0
  158. package/ListView-650be398.cjs +2 -0
  159. package/ListView-650be398.cjs.map +1 -0
  160. package/ListView.cjs +1 -1
  161. package/ListView.cjs.map +1 -1
  162. package/ListView.css +1 -0
  163. package/ListView.d.ts +30 -3
  164. package/ListView.js +13 -341
  165. package/ListView.js.map +1 -1
  166. package/Listbox-30a94e14.cjs +2 -0
  167. package/Listbox-30a94e14.cjs.map +1 -0
  168. package/Listbox-b3bdffa7.js +319 -0
  169. package/Listbox-b3bdffa7.js.map +1 -0
  170. package/Listbox.cjs +1 -1
  171. package/Listbox.css +1 -1
  172. package/Listbox.d.ts +45 -3
  173. package/Listbox.js +4 -4
  174. package/LocalizationProvider.d.ts +18 -3
  175. package/Menu-8b2d56a2.cjs +2 -0
  176. package/Menu-8b2d56a2.cjs.map +1 -0
  177. package/{Menu-2d3d189e.js → Menu-ab1b5fb6.js} +97 -94
  178. package/Menu-ab1b5fb6.js.map +1 -0
  179. package/Menu.cjs +1 -1
  180. package/Menu.d.ts +28 -3
  181. package/Menu.js +1 -1
  182. package/Overflow.cjs +1 -1
  183. package/Overflow.cjs.map +1 -1
  184. package/Overflow.d.ts +18 -3
  185. package/Overflow.js +79 -80
  186. package/Overflow.js.map +1 -1
  187. package/Page.cjs +1 -1
  188. package/Page.d.ts +52 -3
  189. package/Page.js +16 -16
  190. package/Page.js.map +1 -1
  191. package/{Popover-0c9a593d.cjs → Popover-01a92903.cjs} +2 -2
  192. package/{Popover-0c9a593d.cjs.map → Popover-01a92903.cjs.map} +1 -1
  193. package/{Popover-c9e991b5.js → Popover-c03e96a7.js} +22 -22
  194. package/{Popover-c9e991b5.js.map → Popover-c03e96a7.js.map} +1 -1
  195. package/Popover.cjs +1 -1
  196. package/Popover.d.ts +116 -3
  197. package/Popover.js +1 -1
  198. package/ProgressBar-4f893820.cjs +2 -0
  199. package/ProgressBar-4f893820.cjs.map +1 -0
  200. package/{ProgressBar-0a9cc187.js → ProgressBar-ef621dd5.js} +23 -24
  201. package/ProgressBar-ef621dd5.js.map +1 -0
  202. package/ProgressBar.cjs +1 -1
  203. package/ProgressBar.d.ts +11 -3
  204. package/ProgressBar.js +1 -1
  205. package/Radio-5e9e9c5d.cjs +2 -0
  206. package/Radio-5e9e9c5d.cjs.map +1 -0
  207. package/Radio-dab030c5.js +122 -0
  208. package/Radio-dab030c5.js.map +1 -0
  209. package/Radio.cjs +1 -1
  210. package/Radio.css +1 -1
  211. package/Radio.d.ts +32 -3
  212. package/Radio.js +1 -1
  213. package/SideNav-a46daccc.cjs +2 -0
  214. package/SideNav-a46daccc.cjs.map +1 -0
  215. package/SideNav-abd95834.js +229 -0
  216. package/SideNav-abd95834.js.map +1 -0
  217. package/SideNav.cjs +2 -2
  218. package/SideNav.css +1 -1
  219. package/SideNav.d.ts +84 -3
  220. package/SideNav.js +1 -1
  221. package/{Spinner-0883e1ca-d594e9d0.js → Spinner-041df00b-fa2fcb57.js} +3 -3
  222. package/{Spinner-0883e1ca-d594e9d0.js.map → Spinner-041df00b-fa2fcb57.js.map} +1 -1
  223. package/Spinner-041df00b-fd40dc86.cjs +2 -0
  224. package/{Spinner-0883e1ca-fceb4a08.cjs.map → Spinner-041df00b-fd40dc86.cjs.map} +1 -1
  225. package/{SrOnly-de546b91.js → SrOnly-219e862e.js} +2 -2
  226. package/{SrOnly-de546b91.js.map → SrOnly-219e862e.js.map} +1 -1
  227. package/SrOnly-ed780dfc.cjs +2 -0
  228. package/{SrOnly-708eb40d.cjs.map → SrOnly-ed780dfc.cjs.map} +1 -1
  229. package/SrOnly.cjs +1 -1
  230. package/SrOnly.d.ts +8 -3
  231. package/SrOnly.js +1 -1
  232. package/Stepper-a7c03bda.cjs +2 -0
  233. package/Stepper-a7c03bda.cjs.map +1 -0
  234. package/{Stepper-80fa9d45.js → Stepper-acc83b95.js} +67 -68
  235. package/Stepper-acc83b95.js.map +1 -0
  236. package/Stepper.cjs +1 -1
  237. package/Stepper.css +1 -1
  238. package/Stepper.d.ts +132 -3
  239. package/Stepper.js +1 -1
  240. package/Switch-bad8af12.cjs +2 -0
  241. package/Switch-bad8af12.cjs.map +1 -0
  242. package/Switch-de621e8b.js +53 -0
  243. package/Switch-de621e8b.js.map +1 -0
  244. package/Switch.cjs +1 -1
  245. package/Switch.css +1 -1
  246. package/Switch.d.ts +20 -3
  247. package/Switch.js +1 -1
  248. package/{Tab-d436d249.js → Tab-2efb0b29.js} +129 -130
  249. package/Tab-2efb0b29.js.map +1 -0
  250. package/Tab-a7f56361.cjs +10 -0
  251. package/Tab-a7f56361.cjs.map +1 -0
  252. package/Tab.cjs +1 -1
  253. package/Tab.css +1 -1
  254. package/Tab.d.ts +51 -3
  255. package/Tab.js +12 -12
  256. package/Text-10643eec.js +103 -0
  257. package/Text-10643eec.js.map +1 -0
  258. package/Text-2c217682.cjs +2 -0
  259. package/Text-2c217682.cjs.map +1 -0
  260. package/Text.cjs +1 -1
  261. package/Text.css +1 -1
  262. package/Text.d.ts +11 -3
  263. package/Text.js +1 -1
  264. package/TextField-0e4b1063.cjs +2 -0
  265. package/TextField-0e4b1063.cjs.map +1 -0
  266. package/TextField-72d16321.js +116 -0
  267. package/TextField-72d16321.js.map +1 -0
  268. package/TextField.cjs +1 -1
  269. package/TextField.css +1 -1
  270. package/TextField.d.ts +38 -3
  271. package/TextField.js +4 -4
  272. package/Textarea-218e3338.cjs +2 -0
  273. package/Textarea-218e3338.cjs.map +1 -0
  274. package/Textarea-9332ebd4.js +113 -0
  275. package/Textarea-9332ebd4.js.map +1 -0
  276. package/Textarea.cjs +1 -1
  277. package/Textarea.css +1 -1
  278. package/Textarea.d.ts +9 -3
  279. package/Textarea.js +4 -4
  280. package/ThemeProvider.cjs +1 -1
  281. package/ThemeProvider.d.ts +12 -3
  282. package/ThemeProvider.js +1 -1
  283. package/{Tooltip-14c639ee.js → Tooltip-6f564b63.js} +27 -27
  284. package/Tooltip-6f564b63.js.map +1 -0
  285. package/Tooltip-ce4148a7.cjs +2 -0
  286. package/Tooltip-ce4148a7.cjs.map +1 -0
  287. package/Tooltip.cjs +1 -1
  288. package/Tooltip.css +1 -1
  289. package/Tooltip.d.ts +24 -3
  290. package/Tooltip.js +1 -1
  291. package/anvil2.cjs +1 -1
  292. package/anvil2.d.ts +1279 -1
  293. package/anvil2.js +159 -158
  294. package/anvil2.js.map +1 -1
  295. package/index-34a59514-84846dd5.cjs +2 -0
  296. package/index-34a59514-84846dd5.cjs.map +1 -0
  297. package/index-34a59514-87e04c7f.js +196 -0
  298. package/index-34a59514-87e04c7f.js.map +1 -0
  299. package/index-34a59514.css +1 -0
  300. package/index-4a524f55.js +594 -0
  301. package/index-4a524f55.js.map +1 -0
  302. package/{index-2901dc30.cjs → index-4deb58f0.cjs} +2 -2
  303. package/{index-2901dc30.cjs.map → index-4deb58f0.cjs.map} +1 -1
  304. package/{index-3540395e.cjs → index-5af41bd1.cjs} +2 -2
  305. package/{index-3540395e.cjs.map → index-5af41bd1.cjs.map} +1 -1
  306. package/index-870600c9.cjs +174 -0
  307. package/index-870600c9.cjs.map +1 -0
  308. package/index-8a331c33.cjs +2 -0
  309. package/index-8a331c33.cjs.map +1 -0
  310. package/{index-4e32870a.js → index-b6ca5fc4.js} +2 -2
  311. package/{index-4e32870a.js.map → index-b6ca5fc4.js.map} +1 -1
  312. package/{index-193c7238.js → index-bbef83ec.js} +2 -2
  313. package/{index-193c7238.js.map → index-bbef83ec.js.map} +1 -1
  314. package/index-ccf0845b.js +23330 -0
  315. package/index-ccf0845b.js.map +1 -0
  316. package/index.css +1 -1
  317. package/index2.css +1 -1
  318. package/index4.css +1 -1
  319. package/package.json +27 -25
  320. package/{sizeToToken-ec2a44d1-00f4b579.cjs → sizeToToken-ec2a44d1-7f023360.cjs} +2 -2
  321. package/{sizeToToken-ec2a44d1-00f4b579.cjs.map → sizeToToken-ec2a44d1-7f023360.cjs.map} +1 -1
  322. package/{sizeToToken-ec2a44d1-b81d7121.js → sizeToToken-ec2a44d1-bd89b4fa.js} +2 -2
  323. package/{sizeToToken-ec2a44d1-b81d7121.js.map → sizeToToken-ec2a44d1-bd89b4fa.js.map} +1 -1
  324. package/token.cjs +1 -1
  325. package/token.d.ts +4 -1
  326. package/token.js +1 -1
  327. package/useAccessibleColor.cjs +7 -5
  328. package/useAccessibleColor.cjs.map +1 -1
  329. package/useAccessibleColor.d.ts +6 -3
  330. package/useAccessibleColor.js +368 -311
  331. package/useAccessibleColor.js.map +1 -1
  332. package/usePrefersColorScheme-129544ad-b018d158.cjs +2 -0
  333. package/usePrefersColorScheme-129544ad-b018d158.cjs.map +1 -0
  334. package/{useAccessibleColor-3358f4f6-ddcfc9d6.js → usePrefersColorScheme-129544ad-f17399b0.js} +18 -18
  335. package/usePrefersColorScheme-129544ad-f17399b0.js.map +1 -0
  336. package/usePrefersColorScheme.cjs +1 -1
  337. package/usePrefersColorScheme.d.ts +6 -3
  338. package/usePrefersColorScheme.js +40 -39
  339. package/usePrefersColorScheme.js.map +1 -1
  340. package/useSize.d.ts +7 -3
  341. package/useSwipe.cjs +1 -1
  342. package/useSwipe.d.ts +6 -3
  343. package/useSwipe.js +39 -38
  344. package/useSwipe.js.map +1 -1
  345. package/Alert-5d565d02.cjs +0 -2
  346. package/Alert-5d565d02.cjs.map +0 -1
  347. package/Alert-cbfb26da.js +0 -89
  348. package/Alert-cbfb26da.js.map +0 -1
  349. package/Announcement-55ce78e1.js.map +0 -1
  350. package/Announcement-b7adf6c2.cjs +0 -2
  351. package/Announcement-b7adf6c2.cjs.map +0 -1
  352. package/Avatar-40698488.cjs +0 -2
  353. package/Avatar-40698488.cjs.map +0 -1
  354. package/Avatar-9a600991.js +0 -119
  355. package/Avatar-9a600991.js.map +0 -1
  356. package/Badge-0f0115d7.js.map +0 -1
  357. package/Badge-86767c59.cjs +0 -2
  358. package/Badge-86767c59.cjs.map +0 -1
  359. package/Button-45b5f34d.cjs +0 -2
  360. package/Button-45b5f34d.cjs.map +0 -1
  361. package/Button-a1d54612.js +0 -266
  362. package/Button-a1d54612.js.map +0 -1
  363. package/Calendar-0180be99.cjs +0 -2
  364. package/Card-a32e3a24.cjs +0 -2
  365. package/Card-a32e3a24.cjs.map +0 -1
  366. package/Card-df3afa75.js +0 -48
  367. package/Card-df3afa75.js.map +0 -1
  368. package/Checkbox-2afa867d.js +0 -140
  369. package/Checkbox-2afa867d.js.map +0 -1
  370. package/Checkbox-f391e391.cjs +0 -2
  371. package/Checkbox-f391e391.cjs.map +0 -1
  372. package/Chip-30904c6b.cjs +0 -2
  373. package/Chip-30904c6b.cjs.map +0 -1
  374. package/Chip-796feb5f.js +0 -57
  375. package/Chip-796feb5f.js.map +0 -1
  376. package/Combobox-0dbca8b9.cjs +0 -18
  377. package/Combobox-0dbca8b9.cjs.map +0 -1
  378. package/Combobox-78c98d99.js +0 -2660
  379. package/Combobox-78c98d99.js.map +0 -1
  380. package/Details-28451aba.js +0 -121
  381. package/Details-28451aba.js.map +0 -1
  382. package/Details-7cf82b2a.cjs +0 -2
  383. package/Details-7cf82b2a.cjs.map +0 -1
  384. package/Dialog-376e879f.js +0 -180
  385. package/Dialog-376e879f.js.map +0 -1
  386. package/Dialog-ee763250.cjs +0 -2
  387. package/Dialog-ee763250.cjs.map +0 -1
  388. package/Divider-18854176.js +0 -76
  389. package/Divider-18854176.js.map +0 -1
  390. package/Divider-4b53e9bc.cjs +0 -2
  391. package/Divider-4b53e9bc.cjs.map +0 -1
  392. package/Flex-91d902ab.js +0 -78
  393. package/Flex-91d902ab.js.map +0 -1
  394. package/Flex-fbbfca2c.cjs +0 -2
  395. package/Flex-fbbfca2c.cjs.map +0 -1
  396. package/Grid-7255ac0e.cjs +0 -2
  397. package/Grid-7255ac0e.cjs.map +0 -1
  398. package/Grid-b826f76e.js +0 -78
  399. package/Grid-b826f76e.js.map +0 -1
  400. package/Link-00858801.cjs +0 -2
  401. package/Link-00858801.cjs.map +0 -1
  402. package/Link-11e411de.js +0 -47
  403. package/Link-11e411de.js.map +0 -1
  404. package/Listbox-25f615e4.cjs +0 -2
  405. package/Listbox-25f615e4.cjs.map +0 -1
  406. package/Listbox-b77bf5db.js +0 -321
  407. package/Listbox-b77bf5db.js.map +0 -1
  408. package/Menu-1254197b.cjs +0 -2
  409. package/Menu-1254197b.cjs.map +0 -1
  410. package/Menu-2d3d189e.js.map +0 -1
  411. package/ProgressBar-0a9cc187.js.map +0 -1
  412. package/ProgressBar-a30e79f7.cjs +0 -2
  413. package/ProgressBar-a30e79f7.cjs.map +0 -1
  414. package/Radio-7a7d5069.js +0 -120
  415. package/Radio-7a7d5069.js.map +0 -1
  416. package/Radio-efc0b8b2.cjs +0 -2
  417. package/Radio-efc0b8b2.cjs.map +0 -1
  418. package/SideNav-044309df.js +0 -230
  419. package/SideNav-044309df.js.map +0 -1
  420. package/SideNav-c3ecdddf.cjs +0 -2
  421. package/SideNav-c3ecdddf.cjs.map +0 -1
  422. package/Spinner-0883e1ca-fceb4a08.cjs +0 -2
  423. package/SrOnly-708eb40d.cjs +0 -2
  424. package/Stepper-42d5bb17.cjs +0 -2
  425. package/Stepper-42d5bb17.cjs.map +0 -1
  426. package/Stepper-80fa9d45.js.map +0 -1
  427. package/Switch-8c2230ac.cjs +0 -2
  428. package/Switch-8c2230ac.cjs.map +0 -1
  429. package/Switch-accd063a.js +0 -54
  430. package/Switch-accd063a.js.map +0 -1
  431. package/Tab-d436d249.js.map +0 -1
  432. package/Tab-da39692d.cjs +0 -10
  433. package/Tab-da39692d.cjs.map +0 -1
  434. package/Text-1fa57df0.js +0 -103
  435. package/Text-1fa57df0.js.map +0 -1
  436. package/Text-c5b018fb.cjs +0 -2
  437. package/Text-c5b018fb.cjs.map +0 -1
  438. package/TextField-4d28f369.js +0 -117
  439. package/TextField-4d28f369.js.map +0 -1
  440. package/TextField-f582ca36.cjs +0 -2
  441. package/TextField-f582ca36.cjs.map +0 -1
  442. package/Textarea-074a1a2c.cjs +0 -2
  443. package/Textarea-074a1a2c.cjs.map +0 -1
  444. package/Textarea-d788d92b.js +0 -114
  445. package/Textarea-d788d92b.js.map +0 -1
  446. package/Tooltip-14c639ee.js.map +0 -1
  447. package/Tooltip-9b89dc01.cjs +0 -2
  448. package/Tooltip-9b89dc01.cjs.map +0 -1
  449. package/components/Alert/Alert.d.ts +0 -5
  450. package/components/Alert/Alert.stories.d.ts +0 -12
  451. package/components/Alert/index.d.ts +0 -2
  452. package/components/Announcement/Announcement.d.ts +0 -5
  453. package/components/Announcement/Announcement.stories.d.ts +0 -12
  454. package/components/Announcement/index.d.ts +0 -2
  455. package/components/Avatar/AvatarGroup.stories.d.ts +0 -13
  456. package/components/Avatar/index.d.ts +0 -2
  457. package/components/Badge/index.d.ts +0 -2
  458. package/components/Button/index.d.ts +0 -2
  459. package/components/ButtonCompound/ButtonCompound.d.ts +0 -7
  460. package/components/ButtonCompound/ButtonCompound.stories.d.ts +0 -12
  461. package/components/ButtonCompound/index.d.ts +0 -2
  462. package/components/ButtonLink/ButtonLink.d.ts +0 -15
  463. package/components/ButtonLink/ButtonLink.stories.d.ts +0 -20
  464. package/components/ButtonLink/index.d.ts +0 -2
  465. package/components/ButtonToggle/ButtonToggle.d.ts +0 -13
  466. package/components/ButtonToggle/ButtonToggle.stories.d.ts +0 -19
  467. package/components/ButtonToggle/index.d.ts +0 -2
  468. package/components/Calendar/index.d.ts +0 -2
  469. package/components/Card/Card.d.ts +0 -5
  470. package/components/Card/Card.stories.d.ts +0 -11
  471. package/components/Card/index.d.ts +0 -2
  472. package/components/Checkbox/index.d.ts +0 -2
  473. package/components/Chip/index.d.ts +0 -2
  474. package/components/Combobox/Combobox.d.ts +0 -12
  475. package/components/Combobox/index.d.ts +0 -2
  476. package/components/Details/index.d.ts +0 -2
  477. package/components/Dialog/index.d.ts +0 -2
  478. package/components/Divider/index.d.ts +0 -2
  479. package/components/Drawer/index.d.ts +0 -2
  480. package/components/Flex/index.d.ts +0 -2
  481. package/components/Grid/index.d.ts +0 -2
  482. package/components/Link/Link.d.ts +0 -5
  483. package/components/Link/Link.stories.d.ts +0 -11
  484. package/components/Link/index.d.ts +0 -2
  485. package/components/ListView/ListView.d.ts +0 -19
  486. package/components/ListView/ListView.stories.d.ts +0 -19
  487. package/components/ListView/index.d.ts +0 -2
  488. package/components/Listbox/Listbox.d.ts +0 -30
  489. package/components/Listbox/Listbox.stories.d.ts +0 -24
  490. package/components/Listbox/index.d.ts +0 -2
  491. package/components/Menu/Menu.d.ts +0 -15
  492. package/components/Menu/Menu.stories.d.ts +0 -17
  493. package/components/Menu/index.d.ts +0 -2
  494. package/components/Overflow/Overflow.d.ts +0 -9
  495. package/components/Overflow/Overflow.stories.d.ts +0 -10
  496. package/components/Overflow/index.d.ts +0 -2
  497. package/components/Page/Page.d.ts +0 -35
  498. package/components/Page/Page.stories.d.ts +0 -23
  499. package/components/Page/index.d.ts +0 -2
  500. package/components/Popover/index.d.ts +0 -2
  501. package/components/ProgressBar/ProgressBar.d.ts +0 -5
  502. package/components/ProgressBar/ProgressBar.stories.d.ts +0 -12
  503. package/components/ProgressBar/index.d.ts +0 -2
  504. package/components/Radio/index.d.ts +0 -2
  505. package/components/SideNav/index.d.ts +0 -2
  506. package/components/SrOnly/SrOnly.d.ts +0 -3
  507. package/components/SrOnly/SrOnly.stories.d.ts +0 -10
  508. package/components/SrOnly/index.d.ts +0 -2
  509. package/components/Stepper/index.d.ts +0 -2
  510. package/components/Switch/index.d.ts +0 -2
  511. package/components/Tab/index.d.ts +0 -2
  512. package/components/Text/Text.d.ts +0 -5
  513. package/components/Text/Text.stories.d.ts +0 -12
  514. package/components/Text/index.d.ts +0 -2
  515. package/components/TextField/index.d.ts +0 -2
  516. package/components/Textarea/Textarea.d.ts +0 -4
  517. package/components/Textarea/Textarea.stories.d.ts +0 -12
  518. package/components/Textarea/index.d.ts +0 -2
  519. package/components/Tooltip/Tooltip.d.ts +0 -11
  520. package/components/Tooltip/Tooltip.stories.d.ts +0 -15
  521. package/components/Tooltip/index.d.ts +0 -2
  522. package/components/index.d.ts +0 -36
  523. package/hooks/index.d.ts +0 -3
  524. package/hooks/useAccessibleColor/index.d.ts +0 -1
  525. package/hooks/usePrefersColorScheme/index.d.ts +0 -1
  526. package/hooks/useSize/index.d.ts +0 -4
  527. package/hooks/useSwipe/index.d.ts +0 -1
  528. package/index-01c2436e.js +0 -593
  529. package/index-01c2436e.js.map +0 -1
  530. package/index-11e70fb8-0028c824.cjs +0 -2
  531. package/index-11e70fb8-0028c824.cjs.map +0 -1
  532. package/index-11e70fb8-1d736146.js +0 -99
  533. package/index-11e70fb8-1d736146.js.map +0 -1
  534. package/index-11e70fb8.css +0 -1
  535. package/index-31788abb.cjs +0 -2
  536. package/index-31788abb.cjs.map +0 -1
  537. package/index-376d3301.js +0 -23084
  538. package/index-376d3301.js.map +0 -1
  539. package/index-3f97b6ab.cjs +0 -174
  540. package/index-3f97b6ab.cjs.map +0 -1
  541. package/index.d.ts +0 -3
  542. package/layoutPropsUtil-4ba98964-13bb2adf.cjs +0 -2
  543. package/layoutPropsUtil-4ba98964-13bb2adf.cjs.map +0 -1
  544. package/layoutPropsUtil-4ba98964-b3aa4269.js +0 -97
  545. package/layoutPropsUtil-4ba98964-b3aa4269.js.map +0 -1
  546. package/providers/AnvilProvider/index.d.ts +0 -1
  547. package/providers/LocalizationProvider/index.d.ts +0 -1
  548. package/providers/ThemeProvider/index.d.ts +0 -1
  549. package/providers/index.d.ts +0 -3
  550. package/token/index.d.ts +0 -1
  551. package/useAccessibleColor-3358f4f6-ddcfc9d6.js.map +0 -1
  552. package/useAccessibleColor-3358f4f6-ff947a77.cjs +0 -2
  553. package/useAccessibleColor-3358f4f6-ff947a77.cjs.map +0 -1
package/Drawer.d.ts CHANGED
@@ -1,3 +1,83 @@
1
- export * from './components/Drawer/index'
2
- import _default from './components/Drawer/index'
3
- export default _default
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { DetailedHTMLProps } from 'react';
3
+ import { DialogHTMLAttributes } from 'react';
4
+ import { DrawerCancelButtonProps as DrawerCancelButtonProps_2 } from '@servicetitan/hammer-react/dist/Drawer';
5
+ import { DrawerContentProps as DrawerContentProps_2 } from '@servicetitan/hammer-react/dist/Drawer';
6
+ import { DrawerFooterProps as DrawerFooterProps_2 } from '@servicetitan/hammer-react/dist/Drawer';
7
+ import { DrawerHeaderProps as DrawerHeaderProps_2 } from '@servicetitan/hammer-react/dist/Drawer';
8
+ import { DrawerProps as DrawerProps_2 } from '@servicetitan/hammer-react/dist/Drawer';
9
+ import { ForwardRefExoticComponent } from 'react';
10
+ import { FunctionComponent } from 'react';
11
+ import { HTMLAttributes } from 'react';
12
+ import { Layout } from '@servicetitan/hammer-react/dist/Drawer';
13
+ import { ReactNode } from 'react';
14
+ import { RefAttributes } from 'react';
15
+ import { SVGProps } from 'react';
16
+
17
+ declare const Drawer: ForwardRefExoticComponent<Omit< DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & {
18
+ size?: "medium" | "large" | undefined;
19
+ disableCloseOnEscape?: boolean | undefined;
20
+ disableCloseOnClickOutside?: boolean | undefined;
21
+ open?: boolean | undefined;
22
+ onClose?: (() => void) | undefined;
23
+ onOpen?: (() => void) | undefined;
24
+ } & RefAttributes<HTMLDialogElement>> & {
25
+ Header: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & RefAttributes<HTMLDivElement>>;
26
+ Footer: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
27
+ sticky?: boolean | undefined;
28
+ } & RefAttributes<HTMLDivElement>>;
29
+ Content: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
30
+ CancelButton: ForwardRefExoticComponent<(Omit<Omit< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children"> & Layout & ({
31
+ appearance?: "danger" | "primary" | "secondary" | "ghost" | "danger-secondary" | undefined;
32
+ size?: "small" | "medium" | "large" | undefined;
33
+ loading?: boolean | undefined;
34
+ } & ({
35
+ children?: ReactNode;
36
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>> | {
37
+ after: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
38
+ } | {
39
+ before: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
40
+ } | undefined;
41
+ } | {
42
+ children?: undefined;
43
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
44
+ }))) & RefAttributes<HTMLButtonElement>>;
45
+ };
46
+ export { Drawer }
47
+ export default Drawer;
48
+
49
+ export declare const DrawerCancelButton: ForwardRefExoticComponent<(Omit<Omit< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children"> & Layout & ({
50
+ appearance?: "danger" | "primary" | "secondary" | "ghost" | "danger-secondary" | undefined;
51
+ size?: "small" | "medium" | "large" | undefined;
52
+ loading?: boolean | undefined;
53
+ } & ({
54
+ children?: ReactNode;
55
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>> | {
56
+ after: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
57
+ } | {
58
+ before: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
59
+ } | undefined;
60
+ } | {
61
+ children?: undefined;
62
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
63
+ }))) & RefAttributes<HTMLButtonElement>>;
64
+
65
+ export declare type DrawerCancelButtonProps = DrawerCancelButtonProps_2;
66
+
67
+ export declare const DrawerContent: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
68
+
69
+ export declare type DrawerContentProps = DrawerContentProps_2;
70
+
71
+ export declare const DrawerFooter: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
72
+ sticky?: boolean | undefined;
73
+ } & RefAttributes<HTMLDivElement>>;
74
+
75
+ export declare type DrawerFooterProps = DrawerFooterProps_2;
76
+
77
+ export declare const DrawerHeader: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & RefAttributes<HTMLDivElement>>;
78
+
79
+ export declare type DrawerHeaderProps = DrawerHeaderProps_2;
80
+
81
+ export declare type DrawerProps = DrawerProps_2;
82
+
83
+ export { }
package/Drawer.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "./jsx-runtime-944c88e2.js";
2
- import { g as n, j as s, R as a, k as c, H as j } from "./Drawer-cd9a525f.js";
2
+ import { g as n, j as s, R as a, k as c, H as j } from "./Drawer-ddd7914b.js";
3
3
  import { forwardRef as o } from "react";
4
4
  const u = o(
5
5
  (r, t) => /* @__PURE__ */ e.jsx(n, { ref: t, ...r })
@@ -0,0 +1,2 @@
1
+ var B=require("./Flex.css");const T=require("./jsx-runtime-944c88e2-2b81c205.cjs"),f=require("react"),D=require("./index-5af41bd1.cjs"),E=require("./index-34a59514-84846dd5.cjs"),e=require("./sizeToToken-ec2a44d1-7f023360.cjs"),w=require("./index-870600c9.cjs");const I="_flex_12gfz_4",O={flex:I},q=f.forwardRef((g,y)=>{var a,i,t,c,u,d;const{layoutStyles:G,componentProps:b}=E.W(g),{children:h,className:j,direction:N,wrap:_,gap:p,rowGap:k,columnGap:z,basis:S,order:U,flex:W,style:F,sm:n,md:l,lg:o,xl:x,xxl:P,...R}=b,s=f.useContext(w.wo),m=w.jo({disable:!!s}),r=()=>{var v;switch(s?(v=s.breakpoint)==null?void 0:v.name:m==null?void 0:m.name){case"sm":return n;case"md":return l??n;case"lg":return o??l??n;case"xl":return x??o??l??n;case"xxl":return P??x??o??l??n;default:return}},A=D.q([O.flex],j),C={"--direction":((a=r())==null?void 0:a.direction)??N??"row","--wrap":((i=r())==null?void 0:i.wrap)??_??"nowrap","--row-gap":e.s((t=r())==null?void 0:t.rowGap)??e.s((c=r())==null?void 0:c.gap)??e.s(k)??e.s(p)??"normal","--column-gap":e.s((u=r())==null?void 0:u.columnGap)??e.s((d=r())==null?void 0:d.gap)??e.s(z)??e.s(p)??"normal",...G,...F};return T.fr.jsx("div",{className:A,"data-anv":"Flex",style:C,ref:y,...R,children:h})});q.displayName="Flex";exports.q=q;
2
+ //# sourceMappingURL=Flex-516baf92.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flex-516baf92.cjs","sources":["../node_modules/@servicetitan/hammer-react/dist/Flex.js"],"sourcesContent":["import \"./index16.css\";\nimport { j as H } from \"./jsx-runtime-944c88e2.js\";\nimport { forwardRef as R, useContext as S } from \"react\";\nimport T from \"classnames\";\nimport { u as B } from \"./index-34a59514.js\";\nimport { s as e } from \"./sizeToToken-ec2a44d1.js\";\nimport { a as E, u as L } from \"./index-7bc1a227.js\";\nconst O = \"_flex_12gfz_4\", U = {\n flex: O\n}, q = R((w, g) => {\n var c, i, p, x, u, d;\n const { layoutStyles: y, componentProps: v } = B(w), {\n children: b,\n className: j,\n direction: C,\n wrap: G,\n gap: m,\n rowGap: N,\n columnGap: P,\n basis: A,\n order: D,\n flex: I,\n style: z,\n sm: o,\n md: s,\n lg: t,\n xl: l,\n xxl: F,\n ..._\n } = v, a = S(E), n = L({ disable: !!a }), r = () => {\n var f;\n switch (a ? (f = a.breakpoint) == null ? void 0 : f.name : n == null ? void 0 : n.name) {\n case \"sm\":\n return o;\n case \"md\":\n return s ?? o;\n case \"lg\":\n return t ?? s ?? o;\n case \"xl\":\n return l ?? t ?? s ?? o;\n case \"xxl\":\n return F ?? l ?? t ?? s ?? o;\n default:\n return;\n }\n }, h = T([U.flex], j), k = {\n \"--direction\": ((c = r()) == null ? void 0 : c.direction) ?? C ?? \"row\",\n \"--wrap\": ((i = r()) == null ? void 0 : i.wrap) ?? G ?? \"nowrap\",\n \"--row-gap\": e((p = r()) == null ? void 0 : p.rowGap) ?? e((x = r()) == null ? void 0 : x.gap) ?? e(N) ?? e(m) ?? \"normal\",\n \"--column-gap\": e((u = r()) == null ? void 0 : u.columnGap) ?? e((d = r()) == null ? void 0 : d.gap) ?? e(P) ?? e(m) ?? \"normal\",\n ...y,\n ...z\n };\n return /* @__PURE__ */ H.jsx(\n \"div\",\n {\n className: h,\n \"data-anv\": \"Flex\",\n style: k,\n ref: g,\n ..._,\n children: b\n }\n );\n});\nq.displayName = \"Flex\";\nexport {\n q as Flex\n};\n//# sourceMappingURL=Flex.js.map\n"],"names":["O","U","React","w","g","c","p","x","y","v","index34a59514","b","C","G","m","N","P","A","D","I","z","o","s","t","l","F","_","a","AnvilProvider","n","f","h","index","k","sizeToTokenEc2a44d1","jsxRuntime944c88e2"],"mappings":"sQAOK,MAAAA,EAAA,gBAAAC,EAAA,CACL,KAAAD,CACA,EAAA,EAAAE,EAAA,WAAA,CAAAC,EAAAC,IAAA,CACA,IAAAC,EAAA,EAAAC,EAAAC,EAAA,EAAA,EACA,KAAA,CAAA,aAAAC,EAAA,eAAAC,CAAA,EAAAC,EAAA,EAAAP,CAAA,EAAA,CACA,SAAAQ,EACA,UAAA,EACA,UAAAC,EACA,KAAAC,EACA,IAAAC,EACA,OAAAC,EACA,UAAAC,EACA,MAAAC,EACA,MAAAC,EACA,KAAAC,EACA,MAAAC,EACA,GAAAC,EACA,GAAAC,EACA,GAAAC,EACA,GAAAC,EACA,IAAAC,EACA,GAAAC,CACA,EAAAjB,EAAAkB,EAAAzB,EAAA,WAAA0B,EAAA,EAAA,EAAAC,EAAAD,EAAA,GAAA,CAAA,QAAA,CAAA,CAAAD,CAAA,CAAA,EAAA,EAAA,IAAA,CACA,IAAAG,EACA,OAAAH,GAAAG,EAAAH,EAAA,aAAA,KAAA,OAAAG,EAAA,KAAAD,GAAA,KAAA,OAAAA,EAAA,KAAA,CACA,IAAA,KACA,OAAAR,EACA,IAAA,KACA,OAAAC,GAAAD,EACA,IAAA,KACA,OAAAE,GAAAD,GAAAD,EACA,IAAA,KACA,OAAAG,GAAAD,GAAAD,GAAAD,EACA,IAAA,MACA,OAAAI,GAAAD,GAAAD,GAAAD,GAAAD,EACA,QACA,MACA,CACA,EAAAU,EAAAC,EAAA,EAAA,CAAA/B,EAAA,IAAA,EAAA,CAAA,EAAAgC,EAAA,CACA,gBAAA5B,EAAA,EAAA,IAAA,KAAA,OAAAA,EAAA,YAAAO,GAAA,MACA,WAAA,EAAA,EAAA,IAAA,KAAA,OAAA,EAAA,OAAAC,GAAA,SACA,YAAAqB,EAAA,GAAA5B,EAAA,EAAA,IAAA,KAAA,OAAAA,EAAA,MAAA,GAAA4B,EAAA,GAAA3B,EAAA,EAAA,IAAA,KAAA,OAAAA,EAAA,GAAA,GAAA2B,EAAA,EAAAnB,CAAA,GAAAmB,EAAA,EAAApB,CAAA,GAAA,SACA,eAAAoB,EAAA,GAAA,EAAA,EAAA,IAAA,KAAA,OAAA,EAAA,SAAA,GAAAA,EAAA,GAAA,EAAA,EAAA,IAAA,KAAA,OAAA,EAAA,GAAA,GAAAA,EAAA,EAAAlB,CAAA,GAAAkB,EAAA,EAAApB,CAAA,GAAA,SACA,GAAAN,EACA,GAAAY,CACA,EACA,OAAAe,EAAA,GAAA,IACA,MACA,CACA,UAAAJ,EACA,WAAA,OACA,MAAAE,EACA,IAAA7B,EACA,GAAAsB,EACA,SAAAf,CACA,CACA,CACA,CAAA,EACA,EAAA,YAAA","x_google_ignoreList":[0]}
@@ -0,0 +1,70 @@
1
+ import "./Flex.css";
2
+ import { f as P } from "./jsx-runtime-944c88e2-e73fa629.js";
3
+ import { forwardRef as $, useContext as A } from "react";
4
+ import { q as D } from "./index-b6ca5fc4.js";
5
+ import { W as I } from "./index-34a59514-87e04c7f.js";
6
+ import { s as r } from "./sizeToToken-ec2a44d1-bd89b4fa.js";
7
+ import { w as O, j as R } from "./index-ccf0845b.js";
8
+ const S = "_flex_12gfz_4", U = {
9
+ flex: S
10
+ }, W = $((v, w) => {
11
+ var t, i, s, m, p, d;
12
+ const { layoutStyles: g, componentProps: y } = I(v), {
13
+ children: G,
14
+ className: b,
15
+ direction: h,
16
+ wrap: j,
17
+ gap: u,
18
+ rowGap: N,
19
+ columnGap: _,
20
+ basis: B,
21
+ order: E,
22
+ flex: H,
23
+ style: q,
24
+ sm: l,
25
+ md: a,
26
+ lg: e,
27
+ xl: c,
28
+ xxl: F,
29
+ ...k
30
+ } = y, n = A(O), f = R({ disable: !!n }), o = () => {
31
+ var x;
32
+ switch (n ? (x = n.breakpoint) == null ? void 0 : x.name : f == null ? void 0 : f.name) {
33
+ case "sm":
34
+ return l;
35
+ case "md":
36
+ return a ?? l;
37
+ case "lg":
38
+ return e ?? a ?? l;
39
+ case "xl":
40
+ return c ?? e ?? a ?? l;
41
+ case "xxl":
42
+ return F ?? c ?? e ?? a ?? l;
43
+ default:
44
+ return;
45
+ }
46
+ }, z = D([U.flex], b), C = {
47
+ "--direction": ((t = o()) == null ? void 0 : t.direction) ?? h ?? "row",
48
+ "--wrap": ((i = o()) == null ? void 0 : i.wrap) ?? j ?? "nowrap",
49
+ "--row-gap": r((s = o()) == null ? void 0 : s.rowGap) ?? r((m = o()) == null ? void 0 : m.gap) ?? r(N) ?? r(u) ?? "normal",
50
+ "--column-gap": r((p = o()) == null ? void 0 : p.columnGap) ?? r((d = o()) == null ? void 0 : d.gap) ?? r(_) ?? r(u) ?? "normal",
51
+ ...g,
52
+ ...q
53
+ };
54
+ return /* @__PURE__ */ P.jsx(
55
+ "div",
56
+ {
57
+ className: z,
58
+ "data-anv": "Flex",
59
+ style: C,
60
+ ref: w,
61
+ ...k,
62
+ children: G
63
+ }
64
+ );
65
+ });
66
+ W.displayName = "Flex";
67
+ export {
68
+ W as q
69
+ };
70
+ //# sourceMappingURL=Flex-f1146ad5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flex-f1146ad5.js","sources":["../node_modules/@servicetitan/hammer-react/dist/Flex.js"],"sourcesContent":["import \"./index16.css\";\nimport { j as H } from \"./jsx-runtime-944c88e2.js\";\nimport { forwardRef as R, useContext as S } from \"react\";\nimport T from \"classnames\";\nimport { u as B } from \"./index-34a59514.js\";\nimport { s as e } from \"./sizeToToken-ec2a44d1.js\";\nimport { a as E, u as L } from \"./index-7bc1a227.js\";\nconst O = \"_flex_12gfz_4\", U = {\n flex: O\n}, q = R((w, g) => {\n var c, i, p, x, u, d;\n const { layoutStyles: y, componentProps: v } = B(w), {\n children: b,\n className: j,\n direction: C,\n wrap: G,\n gap: m,\n rowGap: N,\n columnGap: P,\n basis: A,\n order: D,\n flex: I,\n style: z,\n sm: o,\n md: s,\n lg: t,\n xl: l,\n xxl: F,\n ..._\n } = v, a = S(E), n = L({ disable: !!a }), r = () => {\n var f;\n switch (a ? (f = a.breakpoint) == null ? void 0 : f.name : n == null ? void 0 : n.name) {\n case \"sm\":\n return o;\n case \"md\":\n return s ?? o;\n case \"lg\":\n return t ?? s ?? o;\n case \"xl\":\n return l ?? t ?? s ?? o;\n case \"xxl\":\n return F ?? l ?? t ?? s ?? o;\n default:\n return;\n }\n }, h = T([U.flex], j), k = {\n \"--direction\": ((c = r()) == null ? void 0 : c.direction) ?? C ?? \"row\",\n \"--wrap\": ((i = r()) == null ? void 0 : i.wrap) ?? G ?? \"nowrap\",\n \"--row-gap\": e((p = r()) == null ? void 0 : p.rowGap) ?? e((x = r()) == null ? void 0 : x.gap) ?? e(N) ?? e(m) ?? \"normal\",\n \"--column-gap\": e((u = r()) == null ? void 0 : u.columnGap) ?? e((d = r()) == null ? void 0 : d.gap) ?? e(P) ?? e(m) ?? \"normal\",\n ...y,\n ...z\n };\n return /* @__PURE__ */ H.jsx(\n \"div\",\n {\n className: h,\n \"data-anv\": \"Flex\",\n style: k,\n ref: g,\n ..._,\n children: b\n }\n );\n});\nq.displayName = \"Flex\";\nexport {\n q as Flex\n};\n//# sourceMappingURL=Flex.js.map\n"],"names":["O","q","forwardRef","w","g","c","p","x","u","y","v","W","b","j","C","G","m","P","A","D","I","z","o","s$1","t","l","_","a","useContext","wo","n","jo","r","f","h","q$1","k","s","fr"],"mappings":";;;;;;;AAOK,MAAAA,IAAA,iBAAA,IAAA;AAAA,EACL,MAAAA;AACA,GAAAC,IAAAC,EAAA,CAAAC,GAAAC,MAAA;AACA,MAAAC,GAAA,GAAAC,GAAAC,GAAAC,GAAA;AACA,QAAA,EAAA,cAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAR,CAAA,GAAA;AAAA,IACA,UAAAS;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,MAAAC;AAAA,IACA,KAAAC;AAAA,IACA,QAAA;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,KAAA;AAAA,IACA,GAAAC;AAAA,EACA,IAAAhB,GAAAiB,IAAAC,EAAAC,CAAA,GAAAC,IAAAC,EAAA,EAAA,SAAA,CAAA,CAAAJ,EAAA,CAAA,GAAAK,IAAA,MAAA;AACA,QAAAC;AACA,YAAAN,KAAAM,IAAAN,EAAA,eAAA,OAAA,SAAAM,EAAA,OAAAH,KAAA,OAAA,SAAAA,EAAA,MAAA;AAAA,MACA,KAAA;AACA,eAAAR;AAAA,MACA,KAAA;AACA,eAAAC,KAAAD;AAAA,MACA,KAAA;AACA,eAAAE,KAAAD,KAAAD;AAAA,MACA,KAAA;AACA,eAAAG,KAAAD,KAAAD,KAAAD;AAAA,MACA,KAAA;AACA,eAAA,KAAAG,KAAAD,KAAAD,KAAAD;AAAA,MACA;AACA;AAAA,IACA;AAAA,EACA,GAAAY,IAAAC,EAAA,CAAA,EAAA,IAAA,GAAAtB,CAAA,GAAAuB,IAAA;AAAA,IACA,iBAAA/B,IAAA2B,EAAA,MAAA,OAAA,SAAA3B,EAAA,cAAAS,KAAA;AAAA,IACA,YAAA,IAAAkB,EAAA,MAAA,OAAA,SAAA,EAAA,SAAAjB,KAAA;AAAA,IACA,aAAAsB,GAAA/B,IAAA0B,EAAA,MAAA,OAAA,SAAA1B,EAAA,MAAA,KAAA+B,GAAA9B,IAAAyB,EAAA,MAAA,OAAA,SAAAzB,EAAA,GAAA,KAAA8B,EAAA,CAAA,KAAAA,EAAArB,CAAA,KAAA;AAAA,IACA,gBAAAqB,GAAA7B,IAAAwB,EAAA,MAAA,OAAA,SAAAxB,EAAA,SAAA,KAAA6B,GAAA,IAAAL,EAAA,MAAA,OAAA,SAAA,EAAA,GAAA,KAAAK,EAAApB,CAAA,KAAAoB,EAAArB,CAAA,KAAA;AAAA,IACA,GAAAP;AAAA,IACA,GAAAY;AAAA,EACA;AACA,SAAA,gBAAAiB,EAAA;AAAA,IACA;AAAA,IACA;AAAA,MACA,WAAAJ;AAAA,MACA,YAAA;AAAA,MACA,OAAAE;AAAA,MACA,KAAAhC;AAAA,MACA,GAAAsB;AAAA,MACA,UAAAd;AAAA,IACA;AAAA,EACA;AACA,CAAA;AACAX,EAAA,cAAA;","x_google_ignoreList":[0]}
package/Flex.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./jsx-runtime-5c3ac4f7.cjs"),s=require("./Flex-fbbfca2c.cjs"),o=require("react"),e=o.forwardRef((t,r)=>u.jsxRuntimeExports.jsx(s.M,{ref:r,...t}));exports.Flex=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./jsx-runtime-5c3ac4f7.cjs"),s=require("./Flex-516baf92.cjs"),o=require("react"),e=o.forwardRef((t,r)=>u.jsxRuntimeExports.jsx(s.q,{ref:r,...t}));exports.Flex=e;exports.default=e;
2
2
  //# sourceMappingURL=Flex.cjs.map
package/Flex.css CHANGED
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400;1,6..12,600;1,6..12,700&display=swap";@layer reset,base,state,application;@layer reset{._flex_q6iki_4{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:flex}}@layer base{._flex_q6iki_4{flex-direction:var(--direction);flex-wrap:var(--wrap);flex-grow:var(--grow);flex-shrink:var(--shrink);justify-content:var(--justifyContent);align-items:var(--alignItems);align-content:var(--alignContent);flex:var(--flex);order:var(--order);gap:var(--row-gap) var(--column-gap)}}
1
+ @import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400;1,6..12,600;1,6..12,700&display=swap";@layer reset,base,state,application;@layer reset{._flex_12gfz_4{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:flex}}@layer base{._flex_12gfz_4{flex-direction:var(--direction);flex-wrap:var(--wrap);flex-grow:var(--grow);flex-shrink:var(--shrink);flex:var(--flex);order:var(--order);gap:var(--row-gap) var(--column-gap);place-content:var(--placeContent);place-items:var(--placeItems);place-self:var(--placeSelf)}}
package/Flex.d.ts CHANGED
@@ -1,3 +1,117 @@
1
- export * from './components/Flex/index'
2
- import _default from './components/Flex/index'
3
- export default _default
1
+ import { DetailedHTMLProps } from 'react';
2
+ import { FlexProps as FlexProps_2 } from '@servicetitan/hammer-react/dist/Flex';
3
+ import { ForwardRefExoticComponent } from 'react';
4
+ import { HTMLAttributes } from 'react';
5
+ import { Layout } from '@servicetitan/hammer-react/dist/Flex';
6
+ import { Property } from 'csstype';
7
+ import { RefAttributes } from 'react';
8
+
9
+ declare const Flex: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
10
+ direction?: Property.FlexDirection | undefined;
11
+ wrap?: Property.FlexWrap | undefined;
12
+ justifyContent?: Property.JustifyContent | undefined;
13
+ alignItems?: Property.AlignItems | undefined;
14
+ alignContent?: Property.AlignContent | undefined;
15
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
16
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
17
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
18
+ grow?: Property.FlexGrow | undefined;
19
+ shrink?: Property.FlexShrink | undefined;
20
+ basis?: Property.FlexBasis<string | number> | undefined;
21
+ alignSelf?: Property.AlignSelf | undefined;
22
+ justifySelf?: Property.JustifySelf | undefined;
23
+ order?: Property.Order | undefined;
24
+ flex?: Property.Flex<string | number> | undefined;
25
+ } & {
26
+ sm?: (Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
27
+ direction?: Property.FlexDirection | undefined;
28
+ wrap?: Property.FlexWrap | undefined;
29
+ justifyContent?: Property.JustifyContent | undefined;
30
+ alignItems?: Property.AlignItems | undefined;
31
+ alignContent?: Property.AlignContent | undefined;
32
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
33
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
34
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
35
+ grow?: Property.FlexGrow | undefined;
36
+ shrink?: Property.FlexShrink | undefined;
37
+ basis?: Property.FlexBasis<string | number> | undefined;
38
+ alignSelf?: Property.AlignSelf | undefined;
39
+ justifySelf?: Property.JustifySelf | undefined;
40
+ order?: Property.Order | undefined;
41
+ flex?: Property.Flex<string | number> | undefined;
42
+ }) | undefined;
43
+ md?: (Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
44
+ direction?: Property.FlexDirection | undefined;
45
+ wrap?: Property.FlexWrap | undefined;
46
+ justifyContent?: Property.JustifyContent | undefined;
47
+ alignItems?: Property.AlignItems | undefined;
48
+ alignContent?: Property.AlignContent | undefined;
49
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
50
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
51
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
52
+ grow?: Property.FlexGrow | undefined;
53
+ shrink?: Property.FlexShrink | undefined;
54
+ basis?: Property.FlexBasis<string | number> | undefined;
55
+ alignSelf?: Property.AlignSelf | undefined;
56
+ justifySelf?: Property.JustifySelf | undefined;
57
+ order?: Property.Order | undefined;
58
+ flex?: Property.Flex<string | number> | undefined;
59
+ }) | undefined;
60
+ lg?: (Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
61
+ direction?: Property.FlexDirection | undefined;
62
+ wrap?: Property.FlexWrap | undefined;
63
+ justifyContent?: Property.JustifyContent | undefined;
64
+ alignItems?: Property.AlignItems | undefined;
65
+ alignContent?: Property.AlignContent | undefined;
66
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
67
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
68
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
69
+ grow?: Property.FlexGrow | undefined;
70
+ shrink?: Property.FlexShrink | undefined;
71
+ basis?: Property.FlexBasis<string | number> | undefined;
72
+ alignSelf?: Property.AlignSelf | undefined;
73
+ justifySelf?: Property.JustifySelf | undefined;
74
+ order?: Property.Order | undefined;
75
+ flex?: Property.Flex<string | number> | undefined;
76
+ }) | undefined;
77
+ xl?: (Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
78
+ direction?: Property.FlexDirection | undefined;
79
+ wrap?: Property.FlexWrap | undefined;
80
+ justifyContent?: Property.JustifyContent | undefined;
81
+ alignItems?: Property.AlignItems | undefined;
82
+ alignContent?: Property.AlignContent | undefined;
83
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
84
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
85
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
86
+ grow?: Property.FlexGrow | undefined;
87
+ shrink?: Property.FlexShrink | undefined;
88
+ basis?: Property.FlexBasis<string | number> | undefined;
89
+ alignSelf?: Property.AlignSelf | undefined;
90
+ justifySelf?: Property.JustifySelf | undefined;
91
+ order?: Property.Order | undefined;
92
+ flex?: Property.Flex<string | number> | undefined;
93
+ }) | undefined;
94
+ xxl?: (Omit< Layout, "flexGrow" | "flexBasis" | "flexDirection"> & {
95
+ direction?: Property.FlexDirection | undefined;
96
+ wrap?: Property.FlexWrap | undefined;
97
+ justifyContent?: Property.JustifyContent | undefined;
98
+ alignItems?: Property.AlignItems | undefined;
99
+ alignContent?: Property.AlignContent | undefined;
100
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
101
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
102
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
103
+ grow?: Property.FlexGrow | undefined;
104
+ shrink?: Property.FlexShrink | undefined;
105
+ basis?: Property.FlexBasis<string | number> | undefined;
106
+ alignSelf?: Property.AlignSelf | undefined;
107
+ justifySelf?: Property.JustifySelf | undefined;
108
+ order?: Property.Order | undefined;
109
+ flex?: Property.Flex<string | number> | undefined;
110
+ }) | undefined;
111
+ } & RefAttributes<HTMLDivElement>>;
112
+ export { Flex }
113
+ export default Flex;
114
+
115
+ export declare type FlexProps = FlexProps_2;
116
+
117
+ export { }
package/Flex.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./jsx-runtime-944c88e2.js";
2
- import { M as m } from "./Flex-91d902ab.js";
2
+ import { q as m } from "./Flex-f1146ad5.js";
3
3
  import { forwardRef as e } from "react";
4
4
  const x = e((r, o) => /* @__PURE__ */ t.jsx(m, { ref: o, ...r }));
5
5
  export {
@@ -0,0 +1,78 @@
1
+ import "./Grid.css";
2
+ import { f as L } from "./jsx-runtime-944c88e2-e73fa629.js";
3
+ import { forwardRef as O, useContext as U } from "react";
4
+ import { q as V } from "./index-b6ca5fc4.js";
5
+ import { W as X } from "./index-34a59514-87e04c7f.js";
6
+ import { s as l } from "./sizeToToken-ec2a44d1-bd89b4fa.js";
7
+ import { w as D, j as F } from "./index-ccf0845b.js";
8
+ const J = "_grid_cbaum_4", K = {
9
+ grid: J,
10
+ "grid-item": "_grid-item_cbaum_17"
11
+ }, M = O((R, I) => {
12
+ var m, n, s, i, u, d, p, g, c, v, f;
13
+ const { layoutStyles: _, componentProps: j } = X(R), {
14
+ children: A,
15
+ className: G,
16
+ templateColumns: b,
17
+ templateRows: h,
18
+ templateAreas: N,
19
+ autoColumns: T,
20
+ autoRows: W,
21
+ gap: w,
22
+ rowGap: k,
23
+ columnGap: P,
24
+ justifyItems: S,
25
+ alignItems: $,
26
+ style: q,
27
+ sm: e,
28
+ md: a,
29
+ lg: t,
30
+ xl: x,
31
+ xxl: z,
32
+ ...B
33
+ } = j, E = V([K.grid], G), r = U(D), y = F({ disable: !!r }), o = () => {
34
+ var C;
35
+ switch (r ? (C = r.breakpoint) == null ? void 0 : C.name : y == null ? void 0 : y.name) {
36
+ case "sm":
37
+ return e;
38
+ case "md":
39
+ return a ?? e;
40
+ case "lg":
41
+ return t ?? a ?? e;
42
+ case "xl":
43
+ return x ?? t ?? a ?? e;
44
+ case "xxl":
45
+ return z ?? x ?? t ?? a ?? e;
46
+ default:
47
+ return;
48
+ }
49
+ }, H = {
50
+ "--gridTemplateColumns": ((m = o()) == null ? void 0 : m.templateColumns) ?? b ?? "none",
51
+ "--gridTemplateRows": ((n = o()) == null ? void 0 : n.templateRows) ?? h ?? "none",
52
+ "--gridTemplateAreas": ((s = o()) == null ? void 0 : s.templateAreas) ?? N ?? "none",
53
+ "--gridAutoColumns": ((i = o()) == null ? void 0 : i.autoColumns) ?? T ?? "auto",
54
+ "--gridAutoRows": ((u = o()) == null ? void 0 : u.autoRows) ?? W ?? "auto",
55
+ "--justifyItems": ((d = o()) == null ? void 0 : d.justifyItems) ?? S ?? "legacy",
56
+ "--alignItems": ((p = o()) == null ? void 0 : p.alignItems) ?? $ ?? "normal",
57
+ "--row-gap": l((g = o()) == null ? void 0 : g.rowGap) ?? l((c = o()) == null ? void 0 : c.gap) ?? l(k) ?? l(w) ?? "normal",
58
+ "--column-gap": l((v = o()) == null ? void 0 : v.columnGap) ?? l((f = o()) == null ? void 0 : f.gap) ?? l(P) ?? l(w) ?? "normal",
59
+ ..._,
60
+ ...q
61
+ };
62
+ return /* @__PURE__ */ L.jsx(
63
+ "div",
64
+ {
65
+ className: E,
66
+ "data-anv": "Grid",
67
+ style: H,
68
+ ref: I,
69
+ ...B,
70
+ children: A
71
+ }
72
+ );
73
+ });
74
+ M.displayName = "Grid";
75
+ export {
76
+ M as X
77
+ };
78
+ //# sourceMappingURL=Grid-234bc5d1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid-234bc5d1.js","sources":["../node_modules/@servicetitan/hammer-react/dist/Grid.js"],"sourcesContent":["import \"./index17.css\";\nimport { j as q } from \"./jsx-runtime-944c88e2.js\";\nimport { forwardRef as D, useContext as F } from \"react\";\nimport J from \"classnames\";\nimport { u as K } from \"./index-34a59514.js\";\nimport { s as e } from \"./sizeToToken-ec2a44d1.js\";\nimport { a as M, u as Q } from \"./index-7bc1a227.js\";\nconst V = \"_grid_cbaum_4\", W = {\n grid: V,\n \"grid-item\": \"_grid-item_cbaum_17\"\n}, X = D((j, G) => {\n var i, u, p, c, d, g, x, f, y, w, C;\n const { layoutStyles: I, componentProps: _ } = K(j), {\n children: b,\n className: v,\n templateColumns: A,\n templateRows: T,\n templateAreas: N,\n autoColumns: P,\n autoRows: h,\n gap: n,\n rowGap: k,\n columnGap: z,\n justifyItems: H,\n alignItems: S,\n style: B,\n sm: o,\n md: s,\n lg: a,\n xl: l,\n xxl: E,\n ...L\n } = _, O = J([W.grid], v), r = F(M), m = Q({ disable: !!r }), t = () => {\n var R;\n switch (r ? (R = r.breakpoint) == null ? void 0 : R.name : m == null ? void 0 : m.name) {\n case \"sm\":\n return o;\n case \"md\":\n return s ?? o;\n case \"lg\":\n return a ?? s ?? o;\n case \"xl\":\n return l ?? a ?? s ?? o;\n case \"xxl\":\n return E ?? l ?? a ?? s ?? o;\n default:\n return;\n }\n }, U = {\n \"--gridTemplateColumns\": ((i = t()) == null ? void 0 : i.templateColumns) ?? A ?? \"none\",\n \"--gridTemplateRows\": ((u = t()) == null ? void 0 : u.templateRows) ?? T ?? \"none\",\n \"--gridTemplateAreas\": ((p = t()) == null ? void 0 : p.templateAreas) ?? N ?? \"none\",\n \"--gridAutoColumns\": ((c = t()) == null ? void 0 : c.autoColumns) ?? P ?? \"auto\",\n \"--gridAutoRows\": ((d = t()) == null ? void 0 : d.autoRows) ?? h ?? \"auto\",\n \"--justifyItems\": ((g = t()) == null ? void 0 : g.justifyItems) ?? H ?? \"legacy\",\n \"--alignItems\": ((x = t()) == null ? void 0 : x.alignItems) ?? S ?? \"normal\",\n \"--row-gap\": e((f = t()) == null ? void 0 : f.rowGap) ?? e((y = t()) == null ? void 0 : y.gap) ?? e(k) ?? e(n) ?? \"normal\",\n \"--column-gap\": e((w = t()) == null ? void 0 : w.columnGap) ?? e((C = t()) == null ? void 0 : C.gap) ?? e(z) ?? e(n) ?? \"normal\",\n ...I,\n ...B\n };\n return /* @__PURE__ */ q.jsx(\n \"div\",\n {\n className: O,\n \"data-anv\": \"Grid\",\n style: U,\n ref: G,\n ...L,\n children: b\n }\n );\n});\nX.displayName = \"Grid\";\nexport {\n X as Grid\n};\n//# sourceMappingURL=Grid.js.map\n"],"names":["V","W","X","forwardRef","j","G","i","u","p","c","d","g","x","f","y","w","C","I","_","W$1","b","v","A","T","P","h","n","z","H","S","B","o","s$1","a","l","E","L","O","q","useContext","wo","m","jo","t","R","U","s","fr"],"mappings":";;;;;;;AAOK,MAAAA,IAAA,iBAAAC,IAAA;AAAA,EACL,MAAAD;AAAA,EACA,aAAA;AACA,GAAAE,IAAAC,EAAA,CAAAC,GAAAC,MAAA;AACA,MAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC;AACA,QAAA,EAAA,cAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAf,CAAA,GAAA;AAAA,IACA,UAAAgB;AAAA,IACA,WAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAA;AAAA,IACA,aAAAC;AAAA,IACA,UAAAC;AAAA,IACA,KAAAC;AAAA,IACA,QAAA;AAAA,IACA,WAAAC;AAAA,IACA,cAAAC;AAAA,IACA,YAAAC;AAAA,IACA,OAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,KAAAC;AAAA,IACA,GAAAC;AAAA,EACA,IAAAlB,GAAAmB,IAAAC,EAAA,CAAArC,EAAA,IAAA,GAAAoB,CAAA,GAAA,IAAAkB,EAAAC,CAAA,GAAAC,IAAAC,EAAA,EAAA,SAAA,CAAA,CAAA,EAAA,CAAA,GAAAC,IAAA,MAAA;AACA,QAAAC;AACA,YAAA,KAAAA,IAAA,EAAA,eAAA,OAAA,SAAAA,EAAA,OAAAH,KAAA,OAAA,SAAAA,EAAA,MAAA;AAAA,MACA,KAAA;AACA,eAAAV;AAAA,MACA,KAAA;AACA,eAAAC,KAAAD;AAAA,MACA,KAAA;AACA,eAAAE,KAAAD,KAAAD;AAAA,MACA,KAAA;AACA,eAAAG,KAAAD,KAAAD,KAAAD;AAAA,MACA,KAAA;AACA,eAAAI,KAAAD,KAAAD,KAAAD,KAAAD;AAAA,MACA;AACA;AAAA,IACA;AAAA,EACA,GAAAc,IAAA;AAAA,IACA,2BAAAvC,IAAAqC,EAAA,MAAA,OAAA,SAAArC,EAAA,oBAAAgB,KAAA;AAAA,IACA,wBAAAf,IAAAoC,EAAA,MAAA,OAAA,SAAApC,EAAA,iBAAAgB,KAAA;AAAA,IACA,yBAAAf,IAAAmC,EAAA,MAAA,OAAA,SAAAnC,EAAA,kBAAA,KAAA;AAAA,IACA,uBAAAC,IAAAkC,EAAA,MAAA,OAAA,SAAAlC,EAAA,gBAAAe,KAAA;AAAA,IACA,oBAAAd,IAAAiC,EAAA,MAAA,OAAA,SAAAjC,EAAA,aAAAe,KAAA;AAAA,IACA,oBAAAd,IAAAgC,EAAA,MAAA,OAAA,SAAAhC,EAAA,iBAAAiB,KAAA;AAAA,IACA,kBAAAhB,IAAA+B,EAAA,MAAA,OAAA,SAAA/B,EAAA,eAAAiB,KAAA;AAAA,IACA,aAAAiB,GAAAjC,IAAA8B,EAAA,MAAA,OAAA,SAAA9B,EAAA,MAAA,KAAAiC,GAAAhC,IAAA6B,EAAA,MAAA,OAAA,SAAA7B,EAAA,GAAA,KAAAgC,EAAA,CAAA,KAAAA,EAAApB,CAAA,KAAA;AAAA,IACA,gBAAAoB,GAAA/B,IAAA4B,EAAA,MAAA,OAAA,SAAA5B,EAAA,SAAA,KAAA+B,GAAA9B,IAAA2B,EAAA,MAAA,OAAA,SAAA3B,EAAA,GAAA,KAAA8B,EAAAnB,CAAA,KAAAmB,EAAApB,CAAA,KAAA;AAAA,IACA,GAAAT;AAAA,IACA,GAAAa;AAAA,EACA;AACA,SAAA,gBAAAiB,EAAA;AAAA,IACA;AAAA,IACA;AAAA,MACA,WAAAV;AAAA,MACA,YAAA;AAAA,MACA,OAAAQ;AAAA,MACA,KAAAxC;AAAA,MACA,GAAA+B;AAAA,MACA,UAAAhB;AAAA,IACA;AAAA,EACA;AACA,CAAA;AACAlB,EAAA,cAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ var M=require("./Grid.css");const V=require("./jsx-runtime-944c88e2-2b81c205.cjs"),C=require("react"),D=require("./index-5af41bd1.cjs"),F=require("./index-34a59514-84846dd5.cjs"),l=require("./sizeToToken-ec2a44d1-7f023360.cjs"),q=require("./index-870600c9.cjs");const J="_grid_cbaum_4",K={grid:J,"grid-item":"_grid-item_cbaum_17"},A=C.forwardRef((I,_)=>{var a,r,i,u,m,d,c,p,g,v,w;const{layoutStyles:j,componentProps:G}=F.W(I),{children:T,className:b,templateColumns:h,templateRows:N,templateAreas:k,autoColumns:P,autoRows:z,gap:x,rowGap:E,columnGap:S,justifyItems:W,alignItems:X,style:B,sm:o,md:t,lg:n,xl:y,xxl:H,...L}=G,O=D.q([K.grid],b),s=C.useContext(q.wo),R=q.jo({disable:!!s}),e=()=>{var f;switch(s?(f=s.breakpoint)==null?void 0:f.name:R==null?void 0:R.name){case"sm":return o;case"md":return t??o;case"lg":return n??t??o;case"xl":return y??n??t??o;case"xxl":return H??y??n??t??o;default:return}},U={"--gridTemplateColumns":((a=e())==null?void 0:a.templateColumns)??h??"none","--gridTemplateRows":((r=e())==null?void 0:r.templateRows)??N??"none","--gridTemplateAreas":((i=e())==null?void 0:i.templateAreas)??k??"none","--gridAutoColumns":((u=e())==null?void 0:u.autoColumns)??P??"auto","--gridAutoRows":((m=e())==null?void 0:m.autoRows)??z??"auto","--justifyItems":((d=e())==null?void 0:d.justifyItems)??W??"legacy","--alignItems":((c=e())==null?void 0:c.alignItems)??X??"normal","--row-gap":l.s((p=e())==null?void 0:p.rowGap)??l.s((g=e())==null?void 0:g.gap)??l.s(E)??l.s(x)??"normal","--column-gap":l.s((v=e())==null?void 0:v.columnGap)??l.s((w=e())==null?void 0:w.gap)??l.s(S)??l.s(x)??"normal",...j,...B};return V.fr.jsx("div",{className:O,"data-anv":"Grid",style:U,ref:_,...L,children:T})});A.displayName="Grid";exports.X=A;
2
+ //# sourceMappingURL=Grid-b47a9218.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid-b47a9218.cjs","sources":["../node_modules/@servicetitan/hammer-react/dist/Grid.js"],"sourcesContent":["import \"./index17.css\";\nimport { j as q } from \"./jsx-runtime-944c88e2.js\";\nimport { forwardRef as D, useContext as F } from \"react\";\nimport J from \"classnames\";\nimport { u as K } from \"./index-34a59514.js\";\nimport { s as e } from \"./sizeToToken-ec2a44d1.js\";\nimport { a as M, u as Q } from \"./index-7bc1a227.js\";\nconst V = \"_grid_cbaum_4\", W = {\n grid: V,\n \"grid-item\": \"_grid-item_cbaum_17\"\n}, X = D((j, G) => {\n var i, u, p, c, d, g, x, f, y, w, C;\n const { layoutStyles: I, componentProps: _ } = K(j), {\n children: b,\n className: v,\n templateColumns: A,\n templateRows: T,\n templateAreas: N,\n autoColumns: P,\n autoRows: h,\n gap: n,\n rowGap: k,\n columnGap: z,\n justifyItems: H,\n alignItems: S,\n style: B,\n sm: o,\n md: s,\n lg: a,\n xl: l,\n xxl: E,\n ...L\n } = _, O = J([W.grid], v), r = F(M), m = Q({ disable: !!r }), t = () => {\n var R;\n switch (r ? (R = r.breakpoint) == null ? void 0 : R.name : m == null ? void 0 : m.name) {\n case \"sm\":\n return o;\n case \"md\":\n return s ?? o;\n case \"lg\":\n return a ?? s ?? o;\n case \"xl\":\n return l ?? a ?? s ?? o;\n case \"xxl\":\n return E ?? l ?? a ?? s ?? o;\n default:\n return;\n }\n }, U = {\n \"--gridTemplateColumns\": ((i = t()) == null ? void 0 : i.templateColumns) ?? A ?? \"none\",\n \"--gridTemplateRows\": ((u = t()) == null ? void 0 : u.templateRows) ?? T ?? \"none\",\n \"--gridTemplateAreas\": ((p = t()) == null ? void 0 : p.templateAreas) ?? N ?? \"none\",\n \"--gridAutoColumns\": ((c = t()) == null ? void 0 : c.autoColumns) ?? P ?? \"auto\",\n \"--gridAutoRows\": ((d = t()) == null ? void 0 : d.autoRows) ?? h ?? \"auto\",\n \"--justifyItems\": ((g = t()) == null ? void 0 : g.justifyItems) ?? H ?? \"legacy\",\n \"--alignItems\": ((x = t()) == null ? void 0 : x.alignItems) ?? S ?? \"normal\",\n \"--row-gap\": e((f = t()) == null ? void 0 : f.rowGap) ?? e((y = t()) == null ? void 0 : y.gap) ?? e(k) ?? e(n) ?? \"normal\",\n \"--column-gap\": e((w = t()) == null ? void 0 : w.columnGap) ?? e((C = t()) == null ? void 0 : C.gap) ?? e(z) ?? e(n) ?? \"normal\",\n ...I,\n ...B\n };\n return /* @__PURE__ */ q.jsx(\n \"div\",\n {\n className: O,\n \"data-anv\": \"Grid\",\n style: U,\n ref: G,\n ...L,\n children: b\n }\n );\n});\nX.displayName = \"Grid\";\nexport {\n X as Grid\n};\n//# sourceMappingURL=Grid.js.map\n"],"names":["V","W","X","React","j","G","i","u","p","c","d","g","x","f","y","w","C","I","_","index34a59514","b","v","A","T","N","h","n","k","z","H","S","s","a","l","E","index","r","AnvilProvider","m","t","R","sizeToTokenEc2a44d1","jsxRuntime944c88e2"],"mappings":"sQAOK,MAAAA,EAAA,gBAAAC,EAAA,CACL,KAAAD,EACA,YAAA,qBACA,EAAAE,EAAAC,EAAA,WAAA,CAAAC,EAAAC,IAAA,CACA,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EACA,KAAA,CAAA,aAAAC,EAAA,eAAAC,CAAA,EAAAC,EAAA,EAAAf,CAAA,EAAA,CACA,SAAAgB,EACA,UAAAC,EACA,gBAAAC,EACA,aAAAC,EACA,cAAAC,EACA,YAAA,EACA,SAAAC,EACA,IAAAC,EACA,OAAAC,EACA,UAAAC,EACA,aAAAC,EACA,WAAAC,EACA,MAAA,EACA,GAAA,EACA,GAAAC,EACA,GAAAC,EACA,GAAAC,EACA,IAAAC,EACA,GAAA,CACA,EAAAhB,EAAA,EAAAiB,EAAA,EAAA,CAAAlC,EAAA,IAAA,EAAAoB,CAAA,EAAAe,EAAAjC,EAAA,WAAAkC,EAAA,EAAA,EAAAC,EAAAD,EAAA,GAAA,CAAA,QAAA,CAAA,CAAAD,CAAA,CAAA,EAAAG,EAAA,IAAA,CACA,IAAAC,EACA,OAAAJ,GAAAI,EAAAJ,EAAA,aAAA,KAAA,OAAAI,EAAA,KAAAF,GAAA,KAAA,OAAAA,EAAA,KAAA,CACA,IAAA,KACA,OAAA,EACA,IAAA,KACA,OAAAP,GAAA,EACA,IAAA,KACA,OAAAC,GAAAD,GAAA,EACA,IAAA,KACA,OAAAE,GAAAD,GAAAD,GAAA,EACA,IAAA,MACA,OAAAG,GAAAD,GAAAD,GAAAD,GAAA,EACA,QACA,MACA,CACA,EAAA,EAAA,CACA,0BAAAzB,EAAAiC,EAAA,IAAA,KAAA,OAAAjC,EAAA,kBAAAgB,GAAA,OACA,uBAAAf,EAAAgC,EAAA,IAAA,KAAA,OAAAhC,EAAA,eAAAgB,GAAA,OACA,wBAAAf,EAAA+B,EAAA,IAAA,KAAA,OAAA/B,EAAA,gBAAAgB,GAAA,OACA,sBAAAf,EAAA8B,EAAA,IAAA,KAAA,OAAA9B,EAAA,cAAA,GAAA,OACA,mBAAAC,EAAA6B,EAAA,IAAA,KAAA,OAAA7B,EAAA,WAAAe,GAAA,OACA,mBAAAd,EAAA4B,EAAA,IAAA,KAAA,OAAA5B,EAAA,eAAAkB,GAAA,SACA,iBAAAjB,EAAA2B,EAAA,IAAA,KAAA,OAAA3B,EAAA,aAAAkB,GAAA,SACA,YAAAW,EAAA,GAAA5B,EAAA0B,EAAA,IAAA,KAAA,OAAA1B,EAAA,MAAA,GAAA4B,EAAA,GAAA3B,EAAAyB,EAAA,IAAA,KAAA,OAAAzB,EAAA,GAAA,GAAA2B,EAAA,EAAAd,CAAA,GAAAc,EAAA,EAAAf,CAAA,GAAA,SACA,eAAAe,EAAA,GAAA1B,EAAAwB,EAAA,IAAA,KAAA,OAAAxB,EAAA,SAAA,GAAA0B,EAAA,GAAAzB,EAAAuB,EAAA,IAAA,KAAA,OAAAvB,EAAA,GAAA,GAAAyB,EAAA,EAAAb,CAAA,GAAAa,EAAA,EAAAf,CAAA,GAAA,SACA,GAAAT,EACA,GAAA,CACA,EACA,OAAAyB,EAAA,GAAA,IACA,MACA,CACA,UAAA,EACA,WAAA,OACA,MAAA,EACA,IAAArC,EACA,GAAA,EACA,SAAAe,CACA,CACA,CACA,CAAA,EACAlB,EAAA,YAAA","x_google_ignoreList":[0]}
package/Grid.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./jsx-runtime-5c3ac4f7.cjs"),i=require("./Grid-7255ac0e.cjs"),s=require("react"),e=s.forwardRef((r,t)=>u.jsxRuntimeExports.jsx(i.X,{ref:t,...r}));exports.Grid=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./jsx-runtime-5c3ac4f7.cjs"),i=require("./Grid-b47a9218.cjs"),s=require("react"),e=s.forwardRef((r,t)=>u.jsxRuntimeExports.jsx(i.X,{ref:t,...r}));exports.Grid=e;exports.default=e;
2
2
  //# sourceMappingURL=Grid.cjs.map
package/Grid.css CHANGED
@@ -1 +1 @@
1
- @import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400;1,6..12,600;1,6..12,700&display=swap";@layer reset,base,state,application;@layer reset{._grid_tarwj_4{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:grid}._grid_tarwj_4 ._grid-item_tarwj_17{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:initial}}@layer base{._grid_tarwj_4{align-self:var(--alignSelf);justify-self:var(--justifySelf);order:var(--order);grid-area:var(--gridArea);flex:var(--flex);grid-row:var(--gridRow);grid-column:var(--gridColumn);grid-template:var(--gridTemplate);grid-template-columns:var(--gridTemplateColumns);grid-template-rows:var(--gridTemplateRows);grid-template-areas:var(--gridTemplateAreas);grid-auto-columns:var(--gridAutoColumns);grid-auto-rows:var(--gridAutoRows);grid-row-start:var(--gridRowStart);grid-column-start:var(--gridColumnStart);grid-row-end:var(--gridRowEnd);grid-column-end:var(--gridColumnEnd);gap:var(--row-gap) var(--column-gap)}}
1
+ @import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400;1,6..12,600;1,6..12,700&display=swap";@layer reset,base,state,application;@layer reset{._grid_cbaum_4{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:grid}._grid_cbaum_4 ._grid-item_cbaum_17{all:unset;font-family:Nunito Sans,sans-serif;font-size:100%;color:var(--foreground-color, #141414);margin:0;padding:0;border-style:none;border-width:0;border-color:transparent;box-sizing:border-box;display:initial}}@layer base{._grid_cbaum_4{order:var(--order);grid-area:var(--gridArea);flex:var(--flex);place-content:var(--placeContent);place-items:var(--placeItems);place-self:var(--placeSelf);grid-row:var(--gridRow);grid-column:var(--gridColumn);grid-template:var(--gridTemplate);grid-template-columns:var(--gridTemplateColumns);grid-template-rows:var(--gridTemplateRows);grid-template-areas:var(--gridTemplateAreas);grid-auto-columns:var(--gridAutoColumns);grid-auto-rows:var(--gridAutoRows);grid-row-start:var(--gridRowStart);grid-column-start:var(--gridColumnStart);grid-row-end:var(--gridRowEnd);grid-column-end:var(--gridColumnEnd);gap:var(--row-gap) var(--column-gap)}}
package/Grid.d.ts CHANGED
@@ -1,3 +1,129 @@
1
- export * from './components/Grid/index'
2
- import _default from './components/Grid/index'
3
- export default _default
1
+ import { DetailedHTMLProps } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { GridProps as GridProps_2 } from '@servicetitan/hammer-react/dist/Grid';
4
+ import { HTMLAttributes } from 'react';
5
+ import { Layout } from '@servicetitan/hammer-react/dist/Grid';
6
+ import { Property } from 'csstype';
7
+ import { RefAttributes } from 'react';
8
+
9
+ declare const Grid: ForwardRefExoticComponent<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Layout & {
10
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
11
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
12
+ templateAreas?: Property.GridTemplateAreas | undefined;
13
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
14
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
15
+ rowStart?: Property.GridRowStart | undefined;
16
+ column?: Property.GridColumn | undefined;
17
+ columnStart?: Property.GridColumnStart | undefined;
18
+ row?: Property.GridRow | undefined;
19
+ rowEnd?: Property.GridRowEnd | undefined;
20
+ columnEnd?: Property.GridColumnEnd | undefined;
21
+ justifyItems?: Property.JustifyItems | undefined;
22
+ alignItems?: Property.AlignItems | undefined;
23
+ gridArea?: Property.GridArea | undefined;
24
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
25
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
26
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
27
+ } & {
28
+ sm?: ( Layout & {
29
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
30
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
31
+ templateAreas?: Property.GridTemplateAreas | undefined;
32
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
33
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
34
+ rowStart?: Property.GridRowStart | undefined;
35
+ column?: Property.GridColumn | undefined;
36
+ columnStart?: Property.GridColumnStart | undefined;
37
+ row?: Property.GridRow | undefined;
38
+ rowEnd?: Property.GridRowEnd | undefined;
39
+ columnEnd?: Property.GridColumnEnd | undefined;
40
+ justifyItems?: Property.JustifyItems | undefined;
41
+ alignItems?: Property.AlignItems | undefined;
42
+ gridArea?: Property.GridArea | undefined;
43
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
44
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
45
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
46
+ }) | undefined;
47
+ md?: ( Layout & {
48
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
49
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
50
+ templateAreas?: Property.GridTemplateAreas | undefined;
51
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
52
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
53
+ rowStart?: Property.GridRowStart | undefined;
54
+ column?: Property.GridColumn | undefined;
55
+ columnStart?: Property.GridColumnStart | undefined;
56
+ row?: Property.GridRow | undefined;
57
+ rowEnd?: Property.GridRowEnd | undefined;
58
+ columnEnd?: Property.GridColumnEnd | undefined;
59
+ justifyItems?: Property.JustifyItems | undefined;
60
+ alignItems?: Property.AlignItems | undefined;
61
+ gridArea?: Property.GridArea | undefined;
62
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
63
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
64
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
65
+ }) | undefined;
66
+ lg?: ( Layout & {
67
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
68
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
69
+ templateAreas?: Property.GridTemplateAreas | undefined;
70
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
71
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
72
+ rowStart?: Property.GridRowStart | undefined;
73
+ column?: Property.GridColumn | undefined;
74
+ columnStart?: Property.GridColumnStart | undefined;
75
+ row?: Property.GridRow | undefined;
76
+ rowEnd?: Property.GridRowEnd | undefined;
77
+ columnEnd?: Property.GridColumnEnd | undefined;
78
+ justifyItems?: Property.JustifyItems | undefined;
79
+ alignItems?: Property.AlignItems | undefined;
80
+ gridArea?: Property.GridArea | undefined;
81
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
82
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
83
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
84
+ }) | undefined;
85
+ xl?: ( Layout & {
86
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
87
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
88
+ templateAreas?: Property.GridTemplateAreas | undefined;
89
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
90
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
91
+ rowStart?: Property.GridRowStart | undefined;
92
+ column?: Property.GridColumn | undefined;
93
+ columnStart?: Property.GridColumnStart | undefined;
94
+ row?: Property.GridRow | undefined;
95
+ rowEnd?: Property.GridRowEnd | undefined;
96
+ columnEnd?: Property.GridColumnEnd | undefined;
97
+ justifyItems?: Property.JustifyItems | undefined;
98
+ alignItems?: Property.AlignItems | undefined;
99
+ gridArea?: Property.GridArea | undefined;
100
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
101
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
102
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
103
+ }) | undefined;
104
+ xxl?: ( Layout & {
105
+ templateColumns?: Property.GridTemplateColumns<string | number> | undefined;
106
+ templateRows?: Property.GridTemplateRows<string | number> | undefined;
107
+ templateAreas?: Property.GridTemplateAreas | undefined;
108
+ autoColumns?: Property.GridAutoColumns<string | number> | undefined;
109
+ autoRows?: Property.GridAutoRows<string | number> | undefined;
110
+ rowStart?: Property.GridRowStart | undefined;
111
+ column?: Property.GridColumn | undefined;
112
+ columnStart?: Property.GridColumnStart | undefined;
113
+ row?: Property.GridRow | undefined;
114
+ rowEnd?: Property.GridRowEnd | undefined;
115
+ columnEnd?: Property.GridColumnEnd | undefined;
116
+ justifyItems?: Property.JustifyItems | undefined;
117
+ alignItems?: Property.AlignItems | undefined;
118
+ gridArea?: Property.GridArea | undefined;
119
+ gap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
120
+ columnGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
121
+ rowGap?: ("0" | "half" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14") | undefined;
122
+ }) | undefined;
123
+ } & RefAttributes<HTMLDivElement>>;
124
+ export { Grid }
125
+ export default Grid;
126
+
127
+ export declare type GridProps = GridProps_2;
128
+
129
+ export { }
package/Grid.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./jsx-runtime-944c88e2.js";
2
- import { X as m } from "./Grid-b826f76e.js";
2
+ import { X as m } from "./Grid-234bc5d1.js";
3
3
  import { forwardRef as f } from "react";
4
4
  const p = f((r, o) => /* @__PURE__ */ t.jsx(m, { ref: o, ...r }));
5
5
  export {