@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/ButtonCompound.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./jsx-runtime-944c88e2.js";
2
- import { E as m } from "./Button-a1d54612.js";
2
+ import { R as m } from "./Button-66b9c955.js";
3
3
  import { forwardRef as f } from "react";
4
4
  const n = f(
5
5
  (o, r) => /* @__PURE__ */ t.jsx(m, { ref: r, ...o })
package/ButtonLink.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"),n=require("./Button-45b5f34d.cjs"),o=require("react"),e=o.forwardRef((t,r)=>u.jsxRuntimeExports.jsx(n.R,{ref:r,...t}));exports.ButtonLink=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./jsx-runtime-5c3ac4f7.cjs"),n=require("./Button-bf9d62af.cjs"),o=require("react"),e=o.forwardRef((t,r)=>u.jsxRuntimeExports.jsx(n.U,{ref:r,...t}));exports.ButtonLink=e;exports.default=e;
2
2
  //# sourceMappingURL=ButtonLink.cjs.map
package/ButtonLink.d.ts CHANGED
@@ -1,3 +1,25 @@
1
- export * from './components/ButtonLink/index'
2
- import _default from './components/ButtonLink/index'
3
- export default _default
1
+ import { AnchorHTMLAttributes } from 'react';
2
+ import { ButtonLinkProps as ButtonLinkProps_2 } from '@servicetitan/hammer-react/dist/Button';
3
+ import { DetailedHTMLProps } from 'react';
4
+ import { ForwardRefExoticComponent } from 'react';
5
+ import { FunctionComponent } from 'react';
6
+ import { RefAttributes } from 'react';
7
+ import { SVGProps } from 'react';
8
+
9
+ declare const ButtonLink: ForwardRefExoticComponent<Omit< DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
10
+ disabled?: boolean | undefined;
11
+ appearance?: "danger" | "primary" | "secondary" | "ghost" | "danger-secondary" | undefined;
12
+ size?: "small" | "medium" | "large" | undefined;
13
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>> | {
14
+ after: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
15
+ } | {
16
+ before: FunctionComponent<SVGProps<SVGSVGElement>> | undefined;
17
+ } | undefined;
18
+ loading?: boolean | undefined;
19
+ } & RefAttributes<HTMLAnchorElement>>;
20
+ export { ButtonLink }
21
+ export default ButtonLink;
22
+
23
+ export declare type ButtonLinkProps = ButtonLinkProps_2;
24
+
25
+ export { }
package/ButtonLink.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./jsx-runtime-944c88e2.js";
2
- import { R as m } from "./Button-a1d54612.js";
2
+ import { U as m } from "./Button-66b9c955.js";
3
3
  import { forwardRef as f } from "react";
4
4
  const n = f(
5
5
  (r, o) => /* @__PURE__ */ t.jsx(m, { ref: o, ...r })
package/ButtonToggle.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./jsx-runtime-5c3ac4f7.cjs"),u=require("./Button-45b5f34d.cjs"),n=require("react"),e=n.forwardRef((t,o)=>r.jsxRuntimeExports.jsx(u.U,{ref:o,...t}));exports.ButtonToggle=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./jsx-runtime-5c3ac4f7.cjs"),u=require("./Button-bf9d62af.cjs"),n=require("react"),e=n.forwardRef((t,o)=>r.jsxRuntimeExports.jsx(u.w,{ref:o,...t}));exports.ButtonToggle=e;exports.default=e;
2
2
  //# sourceMappingURL=ButtonToggle.cjs.map
package/ButtonToggle.d.ts CHANGED
@@ -1,3 +1,22 @@
1
- export * from './components/ButtonToggle/index'
2
- import _default from './components/ButtonToggle/index'
3
- export default _default
1
+ import { ButtonProps } from '@servicetitan/hammer-react/dist/Button';
2
+ import { ButtonToggleProps as ButtonToggleProps_2 } from '@servicetitan/hammer-react/dist/Button';
3
+ import { ForwardRefExoticComponent } from 'react';
4
+ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
5
+ import { MouseEvent as MouseEvent_2 } from 'react';
6
+ import { RefAttributes } from 'react';
7
+
8
+ declare const ButtonToggle: ForwardRefExoticComponent<Omit< ButtonProps, "appearance" | "loading"> & {
9
+ defaultChecked?: boolean | undefined;
10
+ checked?: boolean | undefined;
11
+ value?: string | undefined;
12
+ onChange?: ((e: MouseEvent_2<HTMLButtonElement, MouseEvent_2> | KeyboardEvent_2<HTMLButtonElement>, state: {
13
+ pressed: boolean;
14
+ value?: string | undefined;
15
+ }) => void) | undefined;
16
+ } & RefAttributes<HTMLButtonElement>>;
17
+ export { ButtonToggle }
18
+ export default ButtonToggle;
19
+
20
+ export declare type ButtonToggleProps = ButtonToggleProps_2;
21
+
22
+ export { }
package/ButtonToggle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./jsx-runtime-944c88e2.js";
2
- import { U as m } from "./Button-a1d54612.js";
2
+ import { w as m } from "./Button-66b9c955.js";
3
3
  import { forwardRef as e } from "react";
4
4
  const a = e(
5
5
  (o, r) => /* @__PURE__ */ t.jsx(m, { ref: r, ...o })
@@ -1,13 +1,12 @@
1
1
  import "./Calendar.css";
2
2
  import { f as O } from "./jsx-runtime-944c88e2-e73fa629.js";
3
3
  import * as Ke from "react";
4
- import { useState as be, forwardRef as Le, useRef as Nr, useCallback as Mr, useEffect as ue, createContext as Ir, useId as xr, useMemo as Er, useContext as br } from "react";
5
- import { C as bt } from "./Button-a1d54612.js";
6
- import { L as Fe } from "./index-4e32870a.js";
7
- import "./index-193c7238.js";
8
- import { p as Fr } from "./SrOnly-de546b91.js";
9
- import "./index-11e70fb8-1d736146.js";
10
- import { y as Cr } from "./layoutPropsUtil-4ba98964-b3aa4269.js";
4
+ import { useState as be, forwardRef as $e, useRef as Nr, useCallback as Mr, useEffect as ue, createContext as Ir, useId as xr, useMemo as Er, useContext as br } from "react";
5
+ import { k as bt } from "./Button-66b9c955.js";
6
+ import { q as Fe } from "./index-b6ca5fc4.js";
7
+ import "./index-bbef83ec.js";
8
+ import { p as Fr } from "./SrOnly-219e862e.js";
9
+ import { W as Cr } from "./index-34a59514-87e04c7f.js";
11
10
  class fe extends Error {
12
11
  }
13
12
  class Vr extends fe {
@@ -20,7 +19,7 @@ class Wr extends fe {
20
19
  super(`Invalid Interval: ${e.toMessage()}`);
21
20
  }
22
21
  }
23
- class Lr extends fe {
22
+ class $r extends fe {
24
23
  constructor(e) {
25
24
  super(`Invalid Duration: ${e.toMessage()}`);
26
25
  }
@@ -32,7 +31,7 @@ class pn extends fe {
32
31
  super(`Invalid unit ${e}`);
33
32
  }
34
33
  }
35
- class $ extends fe {
34
+ class L extends fe {
36
35
  }
37
36
  class ne extends fe {
38
37
  constructor() {
@@ -47,7 +46,7 @@ const c = "numeric", P = "short", Z = "long", Qe = {
47
46
  year: c,
48
47
  month: P,
49
48
  day: c
50
- }, $r = {
49
+ }, Lr = {
51
50
  year: c,
52
51
  month: P,
53
52
  day: c,
@@ -139,7 +138,7 @@ const c = "numeric", P = "short", Z = "long", Qe = {
139
138
  hour: c,
140
139
  minute: c,
141
140
  timeZoneName: P
142
- }, Ln = {
141
+ }, $n = {
143
142
  year: c,
144
143
  month: Z,
145
144
  day: c,
@@ -147,7 +146,7 @@ const c = "numeric", P = "short", Z = "long", Qe = {
147
146
  minute: c,
148
147
  second: c,
149
148
  timeZoneName: P
150
- }, $n = {
149
+ }, Ln = {
151
150
  year: c,
152
151
  month: Z,
153
152
  day: c,
@@ -165,7 +164,7 @@ const c = "numeric", P = "short", Z = "long", Qe = {
165
164
  second: c,
166
165
  timeZoneName: Z
167
166
  };
168
- class $e {
167
+ class Le {
169
168
  /**
170
169
  * The type of zone
171
170
  * @abstract
@@ -244,7 +243,7 @@ class $e {
244
243
  }
245
244
  }
246
245
  let ct = null;
247
- class nt extends $e {
246
+ class nt extends Le {
248
247
  /**
249
248
  * Get a singleton instance of the local zone
250
249
  * @return {SystemZone}
@@ -321,7 +320,7 @@ function Rr(t, e) {
321
320
  return r;
322
321
  }
323
322
  let Re = {};
324
- class Q extends $e {
323
+ class Q extends Le {
325
324
  /**
326
325
  * @param {string} name - Zone name
327
326
  * @return {IANAZone}
@@ -690,7 +689,7 @@ class N {
690
689
  }
691
690
  }
692
691
  let dt = null;
693
- class W extends $e {
692
+ class W extends Le {
694
693
  /**
695
694
  * Get a singleton instance of UTC
696
695
  * @return {FixedOffsetZone}
@@ -761,7 +760,7 @@ class W extends $e {
761
760
  return !0;
762
761
  }
763
762
  }
764
- class ns extends $e {
763
+ class ns extends Le {
765
764
  constructor(e) {
766
765
  super(), this.zoneName = e;
767
766
  }
@@ -801,7 +800,7 @@ class ns extends $e {
801
800
  function ae(t, e) {
802
801
  if (w(t) || t === null)
803
802
  return e;
804
- if (t instanceof $e)
803
+ if (t instanceof Le)
805
804
  return t;
806
805
  if (is(t)) {
807
806
  const n = t.toLowerCase();
@@ -1081,9 +1080,9 @@ function Tt(t) {
1081
1080
  if (t == null)
1082
1081
  return null;
1083
1082
  if (typeof t != "object")
1084
- throw new $("Week settings must be an object");
1083
+ throw new L("Week settings must be an object");
1085
1084
  if (!U(t.firstDay, 1, 7) || !U(t.minimalDays, 1, 7) || !Array.isArray(t.weekend) || t.weekend.some((e) => !U(e, 1, 7)))
1086
- throw new $("Invalid week settings");
1085
+ throw new L("Invalid week settings");
1087
1086
  return {
1088
1087
  firstDay: t.firstDay,
1089
1088
  minimalDays: t.minimalDays,
@@ -1173,7 +1172,7 @@ function it(t, e) {
1173
1172
  function jn(t) {
1174
1173
  const e = Number(t);
1175
1174
  if (typeof t == "boolean" || t === "" || Number.isNaN(e))
1176
- throw new $(`Invalid unit value ${t}`);
1175
+ throw new L(`Invalid unit value ${t}`);
1177
1176
  return e;
1178
1177
  }
1179
1178
  function tt(t, e) {
@@ -1341,10 +1340,10 @@ const Os = {
1341
1340
  f: bn,
1342
1341
  ff: Cn,
1343
1342
  fff: Wn,
1344
- ffff: $n,
1343
+ ffff: Ln,
1345
1344
  F: Fn,
1346
1345
  FF: Vn,
1347
- FFF: Ln,
1346
+ FFF: $n,
1348
1347
  FFFF: Zn
1349
1348
  };
1350
1349
  class C {
@@ -1591,8 +1590,8 @@ function nr(...t) {
1591
1590
  return [r, null, n + s];
1592
1591
  };
1593
1592
  }
1594
- const rr = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, Ts = `(?:${rr.source}?(?:\\[(${tr.source})\\])?)?`, Lt = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, sr = RegExp(`${Lt.source}${Ts}`), $t = RegExp(`(?:T${sr.source})?`), vs = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Ds = /(\d{4})-?W(\d\d)(?:-?(\d))?/, Ns = /(\d{4})-?(\d{3})/, Ms = nr("weekYear", "weekNumber", "weekDay"), Is = nr("year", "ordinal"), xs = /(\d{4})-(\d\d)-(\d\d)/, ir = RegExp(
1595
- `${Lt.source} ?(?:${rr.source}|(${tr.source}))?`
1593
+ const rr = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, Ts = `(?:${rr.source}?(?:\\[(${tr.source})\\])?)?`, $t = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, sr = RegExp(`${$t.source}${Ts}`), Lt = RegExp(`(?:T${sr.source})?`), vs = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Ds = /(\d{4})-?W(\d\d)(?:-?(\d))?/, Ns = /(\d{4})-?(\d{3})/, Ms = nr("weekYear", "weekNumber", "weekDay"), Is = nr("year", "ordinal"), xs = /(\d{4})-(\d\d)-(\d\d)/, ir = RegExp(
1594
+ `${$t.source} ?(?:${rr.source}|(${tr.source}))?`
1596
1595
  ), Es = RegExp(`(?: ${ir.source})?`);
1597
1596
  function ke(t, e, n) {
1598
1597
  const r = t[e];
@@ -1621,7 +1620,7 @@ function ze(t, e) {
1621
1620
  const n = t[e] ? Q.create(t[e]) : null;
1622
1621
  return [{}, n, e + 1];
1623
1622
  }
1624
- const Fs = RegExp(`^T?${Lt.source}$`), Cs = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
1623
+ const Fs = RegExp(`^T?${$t.source}$`), Cs = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
1625
1624
  function Vs(t) {
1626
1625
  const [e, n, r, s, i, a, o, l, u] = t, h = e[0] === "-", f = l && l[0] === "-", g = (d, S = !1) => d !== void 0 && (S || d && h) ? -d : d;
1627
1626
  return [
@@ -1658,8 +1657,8 @@ function Zt(t, e, n, r, s, i, a) {
1658
1657
  };
1659
1658
  return a && (o.second = ie(a)), t && (o.weekday = t.length > 3 ? Bn.indexOf(t) + 1 : Kn.indexOf(t) + 1), o;
1660
1659
  }
1661
- const Ls = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
1662
- function $s(t) {
1660
+ const $s = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
1661
+ function Ls(t) {
1663
1662
  const [
1664
1663
  ,
1665
1664
  e,
@@ -1689,7 +1688,7 @@ function Rs(t) {
1689
1688
  const [, e, n, r, s, i, a, o] = t;
1690
1689
  return [Zt(e, o, n, r, s, i, a), W.utcInstance];
1691
1690
  }
1692
- const Us = Oe(vs, $t), qs = Oe(Ds, $t), Hs = Oe(Ns, $t), Ys = Oe(sr), ar = Te(
1691
+ const Us = Oe(vs, Lt), qs = Oe(Ds, Lt), Hs = Oe(Ns, Lt), Ys = Oe(sr), ar = Te(
1693
1692
  bs,
1694
1693
  De,
1695
1694
  Ae,
@@ -1719,7 +1718,7 @@ function Js(t) {
1719
1718
  );
1720
1719
  }
1721
1720
  function Bs(t) {
1722
- return ve(Zs(t), [Ls, $s]);
1721
+ return ve(Zs(t), [$s, Ls]);
1723
1722
  }
1724
1723
  function Ks(t) {
1725
1724
  return ve(
@@ -1918,7 +1917,7 @@ class T {
1918
1917
  */
1919
1918
  static fromObject(e, n = {}) {
1920
1919
  if (e == null || typeof e != "object")
1921
- throw new $(
1920
+ throw new L(
1922
1921
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
1923
1922
  );
1924
1923
  return new T({
@@ -1945,7 +1944,7 @@ class T {
1945
1944
  return e;
1946
1945
  if (typeof e == "object")
1947
1946
  return T.fromObject(e);
1948
- throw new $(
1947
+ throw new L(
1949
1948
  `Unknown duration argument ${e} of type ${typeof e}`
1950
1949
  );
1951
1950
  }
@@ -1995,10 +1994,10 @@ class T {
1995
1994
  */
1996
1995
  static invalid(e, n = null) {
1997
1996
  if (!e)
1998
- throw new $("need to specify a reason the Duration is invalid");
1997
+ throw new L("need to specify a reason the Duration is invalid");
1999
1998
  const r = e instanceof Y ? e : new Y(e, n);
2000
1999
  if (E.throwOnInvalid)
2001
- throw new Lr(r);
2000
+ throw new $r(r);
2002
2001
  return new T({ invalid: r });
2003
2002
  }
2004
2003
  /**
@@ -2490,7 +2489,7 @@ class x {
2490
2489
  */
2491
2490
  static invalid(e, n = null) {
2492
2491
  if (!e)
2493
- throw new $("need to specify a reason the Interval is invalid");
2492
+ throw new L("need to specify a reason the Interval is invalid");
2494
2493
  const r = e instanceof Y ? e : new Y(e, n);
2495
2494
  if (E.throwOnInvalid)
2496
2495
  throw new Wr(r);
@@ -3222,7 +3221,7 @@ function wi(t) {
3222
3221
  return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
3223
3222
  }
3224
3223
  function pi(t, e) {
3225
- const n = q(e), r = q(e, "{2}"), s = q(e, "{3}"), i = q(e, "{4}"), a = q(e, "{6}"), o = q(e, "{1,2}"), l = q(e, "{1,3}"), u = q(e, "{1,6}"), h = q(e, "{1,9}"), f = q(e, "{2,4}"), g = q(e, "{4,6}"), d = (k) => ({ regex: RegExp(wi(k.val)), deser: ([D]) => D, literal: !0 }), L = ((k) => {
3224
+ const n = q(e), r = q(e, "{2}"), s = q(e, "{3}"), i = q(e, "{4}"), a = q(e, "{6}"), o = q(e, "{1,2}"), l = q(e, "{1,3}"), u = q(e, "{1,6}"), h = q(e, "{1,9}"), f = q(e, "{2,4}"), g = q(e, "{4,6}"), d = (k) => ({ regex: RegExp(wi(k.val)), deser: ([D]) => D, literal: !0 }), $ = ((k) => {
3226
3225
  if (t.literal)
3227
3226
  return d(k);
3228
3227
  switch (k.val) {
@@ -3330,7 +3329,7 @@ function pi(t, e) {
3330
3329
  })(t) || {
3331
3330
  invalidReason: mi
3332
3331
  };
3333
- return L.token = t, L;
3332
+ return $.token = t, $;
3334
3333
  }
3335
3334
  const ki = {
3336
3335
  year: {
@@ -3808,7 +3807,7 @@ class y {
3808
3807
  zone: ae(n.zone, E.defaultZone),
3809
3808
  loc: N.fromObject(n)
3810
3809
  });
3811
- throw new $(
3810
+ throw new L(
3812
3811
  `fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`
3813
3812
  );
3814
3813
  }
@@ -3829,7 +3828,7 @@ class y {
3829
3828
  zone: ae(n.zone, E.defaultZone),
3830
3829
  loc: N.fromObject(n)
3831
3830
  });
3832
- throw new $("fromSeconds requires a numerical input");
3831
+ throw new L("fromSeconds requires a numerical input");
3833
3832
  }
3834
3833
  /**
3835
3834
  * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
@@ -3875,18 +3874,18 @@ class y {
3875
3874
  );
3876
3875
  if (g && h)
3877
3876
  throw new we("Can't mix ordinal dates with month/day");
3878
- const L = S || i.weekday && !d;
3877
+ const $ = S || i.weekday && !d;
3879
3878
  let k, D, j = Ye(l, u);
3880
- L ? (k = Ei, D = Ii, j = Xe(j, a, o)) : h ? (k = bi, D = xi, j = ft(j)) : (k = gr, D = yr);
3879
+ $ ? (k = Ei, D = Ii, j = Xe(j, a, o)) : h ? (k = bi, D = xi, j = ft(j)) : (k = gr, D = yr);
3881
3880
  let B = !1;
3882
3881
  for (const V of k) {
3883
3882
  const he = i[V];
3884
3883
  w(he) ? B ? i[V] = D[V] : i[V] = j[V] : B = !0;
3885
3884
  }
3886
- const X = L ? rs(i, a, o) : h ? ss(i) : Un(i), A = X || qn(i);
3885
+ const X = $ ? rs(i, a, o) : h ? ss(i) : Un(i), A = X || qn(i);
3887
3886
  if (A)
3888
3887
  return y.invalid(A);
3889
- const z = L ? Kt(i, a, o) : h ? Qt(i) : i, [G, K] = Ge(z, u, r), ee = new y({
3888
+ const z = $ ? Kt(i, a, o) : h ? Qt(i) : i, [G, K] = Ge(z, u, r), ee = new y({
3890
3889
  ts: G,
3891
3890
  zone: r,
3892
3891
  o: K,
@@ -3969,7 +3968,7 @@ class y {
3969
3968
  */
3970
3969
  static fromFormat(e, n, r = {}) {
3971
3970
  if (w(e) || w(n))
3972
- throw new $("fromFormat requires an input string and a format");
3971
+ throw new L("fromFormat requires an input string and a format");
3973
3972
  const { locale: s = null, numberingSystem: i = null } = r, a = N.fromOpts({
3974
3973
  locale: s,
3975
3974
  numberingSystem: i,
@@ -4015,7 +4014,7 @@ class y {
4015
4014
  */
4016
4015
  static invalid(e, n = null) {
4017
4016
  if (!e)
4018
- throw new $("need to specify a reason the DateTime is invalid");
4017
+ throw new L("need to specify a reason the DateTime is invalid");
4019
4018
  const r = e instanceof Y ? e : new Y(e, n);
4020
4019
  if (E.throwOnInvalid)
4021
4020
  throw new Vr(r);
@@ -4992,7 +4991,7 @@ class y {
4992
4991
  */
4993
4992
  static min(...e) {
4994
4993
  if (!e.every(y.isDateTime))
4995
- throw new $("min requires all arguments be DateTimes");
4994
+ throw new L("min requires all arguments be DateTimes");
4996
4995
  return en(e, (n) => n.valueOf(), Math.min);
4997
4996
  }
4998
4997
  /**
@@ -5002,7 +5001,7 @@ class y {
5002
5001
  */
5003
5002
  static max(...e) {
5004
5003
  if (!e.every(y.isDateTime))
5005
- throw new $("max requires all arguments be DateTimes");
5004
+ throw new L("max requires all arguments be DateTimes");
5006
5005
  return en(e, (n) => n.valueOf(), Math.max);
5007
5006
  }
5008
5007
  // MISC
@@ -5047,7 +5046,7 @@ class y {
5047
5046
  * @type {Object}
5048
5047
  */
5049
5048
  static get DATE_MED_WITH_WEEKDAY() {
5050
- return $r;
5049
+ return Lr;
5051
5050
  }
5052
5051
  /**
5053
5052
  * {@link DateTime#toLocaleString} format like 'October 14, 1983'
@@ -5166,14 +5165,14 @@ class y {
5166
5165
  * @type {Object}
5167
5166
  */
5168
5167
  static get DATETIME_FULL_WITH_SECONDS() {
5169
- return Ln;
5168
+ return $n;
5170
5169
  }
5171
5170
  /**
5172
5171
  * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
5173
5172
  * @type {Object}
5174
5173
  */
5175
5174
  static get DATETIME_HUGE() {
5176
- return $n;
5175
+ return Ln;
5177
5176
  }
5178
5177
  /**
5179
5178
  * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
@@ -5190,7 +5189,7 @@ function Ie(t) {
5190
5189
  return y.fromJSDate(t);
5191
5190
  if (t && typeof t == "object")
5192
5191
  return y.fromObject(t);
5193
- throw new $(
5192
+ throw new L(
5194
5193
  `Unknown datetime argument: ${t}, of type ${typeof t}`
5195
5194
  );
5196
5195
  }
@@ -5205,11 +5204,11 @@ const Ci = (t) => {
5205
5204
  }, onTouchStart: (l) => {
5206
5205
  a(null), s(l.targetTouches[0].clientX);
5207
5206
  }, direction: e };
5208
- }, Vi = "_calendar_1pa4a_4", Wi = "_header_1pa4a_17", Li = "_heading_1pa4a_42", $i = "_controller_1pa4a_48", Zi = "_spacer_1pa4a_56", Ai = "_fadein_1pa4a_1", zi = "_cell_1pa4a_69", _i = "_overflow_1pa4a_98", Ri = "_content_1pa4a_101", Ui = "_weekday_1pa4a_104", qi = "_range_1pa4a_129", Hi = "_selected_1pa4a_139", Yi = "_unavailable_1pa4a_147", I = {
5207
+ }, Vi = "_calendar_1pa4a_4", Wi = "_header_1pa4a_17", $i = "_heading_1pa4a_42", Li = "_controller_1pa4a_48", Zi = "_spacer_1pa4a_56", Ai = "_fadein_1pa4a_1", zi = "_cell_1pa4a_69", _i = "_overflow_1pa4a_98", Ri = "_content_1pa4a_101", Ui = "_weekday_1pa4a_104", qi = "_range_1pa4a_129", Hi = "_selected_1pa4a_139", Yi = "_unavailable_1pa4a_147", I = {
5209
5208
  calendar: Vi,
5210
5209
  header: Wi,
5211
- heading: Li,
5212
- controller: $i,
5210
+ heading: $i,
5211
+ controller: Li,
5213
5212
  spacer: Zi,
5214
5213
  "day-grid": "_day-grid_1pa4a_59",
5215
5214
  fadein: Ai,
@@ -5279,7 +5278,7 @@ function Dt(t, e, n, r) {
5279
5278
  return;
5280
5279
  }
5281
5280
  }
5282
- const Nt = Le(
5281
+ const Nt = $e(
5283
5282
  (t, e) => {
5284
5283
  const { onClick: n, className: r, ...s } = t, { focusedDate: i, setFocusedDate: a, minDate: o } = ot(), l = (u) => {
5285
5284
  n == null || n(u);
@@ -5310,7 +5309,7 @@ const Nt = Le(
5310
5309
  }
5311
5310
  );
5312
5311
  Nt.displayName = "CalendarPrev";
5313
- const ji = (t) => /* @__PURE__ */ Ke.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ Ke.createElement("path", { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" })), Mt = Le(
5312
+ const ji = (t) => /* @__PURE__ */ Ke.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...t }, /* @__PURE__ */ Ke.createElement("path", { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" })), Mt = $e(
5314
5313
  (t, e) => {
5315
5314
  const { onClick: n, className: r, ...s } = t, { focusedDate: i, setFocusedDate: a, maxDate: o } = ot(), l = (u) => {
5316
5315
  n == null || n(u);
@@ -5341,7 +5340,7 @@ const ji = (t) => /* @__PURE__ */ Ke.createElement("svg", { xmlns: "http://www.w
5341
5340
  }
5342
5341
  );
5343
5342
  Mt.displayName = "CalendarNext";
5344
- const It = Le(
5343
+ const It = $e(
5345
5344
  (t, e) => {
5346
5345
  const { className: n, ...r } = t, s = ot(), {
5347
5346
  value: i,
@@ -5354,7 +5353,7 @@ const It = Le(
5354
5353
  maxDate: g,
5355
5354
  unavailableDates: d,
5356
5355
  timeZone: S,
5357
- id: L,
5356
+ id: $,
5358
5357
  range: k,
5359
5358
  dateFormat: D,
5360
5359
  startDay: j
@@ -5480,11 +5479,11 @@ const It = Le(
5480
5479
  return ue(() => {
5481
5480
  B.current && setTimeout(() => {
5482
5481
  const m = document.getElementById(
5483
- `${L}-${o.toISODate()}`
5482
+ `${$}-${o.toISODate()}`
5484
5483
  );
5485
5484
  m == null || m.focus();
5486
5485
  }, 100);
5487
- }, [o, L]), ue(() => {
5486
+ }, [o, $]), ue(() => {
5488
5487
  se(o, d, S) && A(o.plus({ days: 1 }));
5489
5488
  }, [o, A, S, d]), /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
5490
5489
  /* @__PURE__ */ O.jsxs(
@@ -5551,7 +5550,7 @@ const It = Le(
5551
5550
  tabIndex: J(M, o) ? 0 : -1,
5552
5551
  disabled: _t ? !0 : void 0,
5553
5552
  "aria-label": `${M.toLocaleString(D)}${G(M) ? " selected" : ""}${Tr ? ", You are on the first available date" : ""}${vr ? ", You are on the last available date" : ""}`,
5554
- id: `${L}-${M.toISODate()}`,
5553
+ id: `${$}-${M.toISODate()}`,
5555
5554
  children: M.day
5556
5555
  }
5557
5556
  )
@@ -5571,7 +5570,7 @@ const It = Le(
5571
5570
  }
5572
5571
  );
5573
5572
  It.displayName = "CalendarMonth";
5574
- const xt = Le(
5573
+ const xt = $e(
5575
5574
  (t, e) => {
5576
5575
  const { onClick: n, ...r } = t, {
5577
5576
  setFocusedDate: s,
@@ -5593,14 +5592,14 @@ const xt = Le(
5593
5592
  return;
5594
5593
  }
5595
5594
  Dt(i, d, a, u);
5596
- }, L = Be(d, f) || Je(d, h) || se(d, l, o);
5595
+ }, $ = Be(d, f) || Je(d, h) || se(d, l, o);
5597
5596
  return /* @__PURE__ */ O.jsx(
5598
5597
  bt,
5599
5598
  {
5600
5599
  ref: e,
5601
5600
  onClick: S,
5602
5601
  appearance: "secondary",
5603
- disabled: L,
5602
+ disabled: $,
5604
5603
  size: "small",
5605
5604
  ...r,
5606
5605
  children: "Today"
@@ -5609,7 +5608,7 @@ const xt = Le(
5609
5608
  }
5610
5609
  );
5611
5610
  xt.displayName = "CalendarNow";
5612
- const Et = Ir(null), Gi = Le(
5611
+ const Et = Ir(null), Gi = $e(
5613
5612
  (t, e) => {
5614
5613
  const n = xr(), { layoutStyles: r, componentProps: s } = Cr(t), {
5615
5614
  children: i,
@@ -5622,7 +5621,7 @@ const Et = Ir(null), Gi = Le(
5622
5621
  maxDate: g,
5623
5622
  unavailableDates: d = [],
5624
5623
  id: S,
5625
- style: L,
5624
+ style: $,
5626
5625
  value: k,
5627
5626
  defaultValue: D,
5628
5627
  onSelection: j,
@@ -5630,7 +5629,7 @@ const Et = Ir(null), Gi = Le(
5630
5629
  ...X
5631
5630
  } = s, A = {
5632
5631
  ...r,
5633
- ...L
5632
+ ...$
5634
5633
  }, z = k ? typeof k == "string" ? F(k, u) : {
5635
5634
  start: k.start ? F(k.start, u) : null,
5636
5635
  end: k.end ? F(k.end, u) : null
@@ -5764,4 +5763,4 @@ export {
5764
5763
  xt as e,
5765
5764
  It as t
5766
5765
  };
5767
- //# sourceMappingURL=Calendar-eab84d20.js.map
5766
+ //# sourceMappingURL=Calendar-4d7aca93.js.map