@easypost/easy-ui 1.0.0-alpha.60 → 1.0.0-alpha.61

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 (243) hide show
  1. package/Badge/index.js +14 -14
  2. package/Badge/index.mjs +14 -14
  3. package/Banner/index.js +5 -5
  4. package/Banner/index.mjs +5 -5
  5. package/Button/index.js +1 -1
  6. package/Button/index.mjs +1 -1
  7. package/CHANGELOG.md +6 -0
  8. package/Calendar/CalendarCell.d.ts.map +1 -1
  9. package/Calendar/index.js +2 -40
  10. package/Calendar/index.mjs +2 -40
  11. package/Card/index.js +1 -1
  12. package/Card/index.mjs +1 -1
  13. package/Checkbox/index.js +1 -1
  14. package/Checkbox/index.mjs +1 -1
  15. package/CodeBlock/index.js +13 -13
  16. package/CodeBlock/index.mjs +15 -15
  17. package/CodeSnippet/index.js +1 -1
  18. package/CodeSnippet/index.mjs +1 -1
  19. package/DataGrid/index.js +63 -62
  20. package/DataGrid/index.mjs +72 -71
  21. package/DatePicker/DateField.d.ts +14 -0
  22. package/DatePicker/DateField.d.ts.map +1 -0
  23. package/DatePicker/DatePicker.d.ts +91 -0
  24. package/DatePicker/DatePicker.d.ts.map +1 -0
  25. package/DatePicker/DatePicker.stories.d.ts +14 -0
  26. package/DatePicker/DatePicker.stories.d.ts.map +1 -0
  27. package/DatePicker/DatePicker.test.d.ts +2 -0
  28. package/DatePicker/DatePicker.test.d.ts.map +1 -0
  29. package/DatePicker/DatePickerBase.d.ts +32 -0
  30. package/DatePicker/DatePickerBase.d.ts.map +1 -0
  31. package/DatePicker/DatePickerOverlay.d.ts +12 -0
  32. package/DatePicker/DatePickerOverlay.d.ts.map +1 -0
  33. package/DatePicker/DatePickerTrigger.d.ts +20 -0
  34. package/DatePicker/DatePickerTrigger.d.ts.map +1 -0
  35. package/DatePicker/index.d.ts +2 -0
  36. package/DatePicker/index.d.ts.map +1 -0
  37. package/DatePicker/index.js +275 -0
  38. package/DatePicker/index.mjs +275 -0
  39. package/DateRangePicker/DateRangePicker.d.ts +89 -0
  40. package/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  41. package/DateRangePicker/DateRangePicker.stories.d.ts +14 -0
  42. package/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  43. package/DateRangePicker/DateRangePicker.test.d.ts +2 -0
  44. package/DateRangePicker/DateRangePicker.test.d.ts.map +1 -0
  45. package/DateRangePicker/index.d.ts +2 -0
  46. package/DateRangePicker/index.d.ts.map +1 -0
  47. package/DateRangePicker/index.js +434 -0
  48. package/DateRangePicker/index.mjs +434 -0
  49. package/Drawer/index.js +22 -22
  50. package/Drawer/index.mjs +21 -21
  51. package/DropdownButton/index.js +12 -12
  52. package/DropdownButton/index.mjs +13 -13
  53. package/EmptyStateCard/index.js +8 -8
  54. package/EmptyStateCard/index.mjs +8 -8
  55. package/FocusedProductLayout/index.js +23 -23
  56. package/FocusedProductLayout/index.mjs +23 -23
  57. package/ForgeLayout/index.js +27 -27
  58. package/ForgeLayout/index.mjs +30 -30
  59. package/FormLayout/index.js +5 -5
  60. package/FormLayout/index.mjs +5 -5
  61. package/HorizontalGrid/index.js +1 -1
  62. package/HorizontalGrid/index.mjs +1 -1
  63. package/HorizontalStack/index.js +1 -1
  64. package/HorizontalStack/index.mjs +1 -1
  65. package/Icon/index.js +1 -1
  66. package/Icon/index.mjs +1 -1
  67. package/IconButton/index.js +12 -12
  68. package/IconButton/index.mjs +13 -13
  69. package/InputField/index.js +1 -1
  70. package/InputField/index.mjs +1 -1
  71. package/KebabButton/index.js +1 -1
  72. package/KebabButton/index.mjs +1 -1
  73. package/Menu/index.js +1 -1
  74. package/Menu/index.mjs +1 -1
  75. package/Modal/index.js +23 -23
  76. package/Modal/index.mjs +22 -22
  77. package/NexusLayout/index.js +28 -28
  78. package/NexusLayout/index.mjs +31 -31
  79. package/Notification/index.js +1 -1
  80. package/Notification/index.mjs +1 -1
  81. package/Pagination/index.js +7 -7
  82. package/Pagination/index.mjs +8 -8
  83. package/PillGroup/index.js +9 -9
  84. package/PillGroup/index.mjs +19 -19
  85. package/ProductLayout/index.js +24 -24
  86. package/ProductLayout/index.mjs +25 -25
  87. package/Provider/index.js +1 -1
  88. package/Provider/index.mjs +2 -2
  89. package/RadioButtonGroup/index.js +2 -2
  90. package/RadioButtonGroup/index.mjs +5 -5
  91. package/RadioGroup/index.js +16 -16
  92. package/RadioGroup/index.mjs +21 -21
  93. package/RangeCalendar/RangeCalendar.test.d.ts +2 -1
  94. package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -1
  95. package/RangeCalendar/index.js +2 -226
  96. package/RangeCalendar/index.mjs +2 -226
  97. package/SearchNav/index.js +29 -29
  98. package/SearchNav/index.mjs +30 -30
  99. package/SectionCard/index.js +7 -7
  100. package/SectionCard/index.mjs +7 -7
  101. package/Select/index.js +7 -6
  102. package/Select/index.mjs +6 -5
  103. package/SelectorErrorTooltip/index.js +1 -1
  104. package/SelectorErrorTooltip/index.mjs +1 -1
  105. package/Spinner/index.js +1 -1
  106. package/Spinner/index.mjs +1 -1
  107. package/SplitToggleCard/index.js +4 -4
  108. package/SplitToggleCard/index.mjs +4 -4
  109. package/Stepper/index.js +1 -1
  110. package/Stepper/index.mjs +1 -1
  111. package/TabNav/index.js +1 -1
  112. package/TabNav/index.mjs +1 -1
  113. package/TabPanels/index.js +1 -1
  114. package/TabPanels/index.mjs +7 -7
  115. package/Tabs/index.js +1 -1
  116. package/Tabs/index.mjs +1 -1
  117. package/Text/index.js +1 -1
  118. package/Text/index.mjs +1 -1
  119. package/TextField/index.js +1 -1
  120. package/TextField/index.mjs +1 -1
  121. package/Textarea/index.js +1 -1
  122. package/Textarea/index.mjs +1 -1
  123. package/Toggle/index.js +1 -1
  124. package/Toggle/index.mjs +1 -1
  125. package/ToggleCard/index.js +2 -2
  126. package/ToggleCard/index.mjs +2 -2
  127. package/Tooltip/index.js +1 -1
  128. package/Tooltip/index.mjs +1 -1
  129. package/UnstyledButton/index.mjs +1 -1
  130. package/VerticalNav/index.js +24 -24
  131. package/VerticalNav/index.mjs +27 -27
  132. package/VerticalStack/index.js +1 -1
  133. package/VerticalStack/index.mjs +1 -1
  134. package/__chunks__/{Button-DuqSI9GS.js → Button-BzB8v2mS.js} +17 -17
  135. package/__chunks__/{Button-D0YAQvKG.mjs → Button-DcYNVtp7.mjs} +3 -3
  136. package/__chunks__/{Button-bGGT-c6v.mjs → Button-gxCTl22H.mjs} +18 -18
  137. package/__chunks__/{Button-D8vjHIx8.js → Button-jgkOum0d.js} +1 -1
  138. package/__chunks__/Calendar-BS8zgZK8.js +41 -0
  139. package/__chunks__/Calendar-C9hD67Rz.mjs +42 -0
  140. package/__chunks__/{CalendarBase-DbXh9rhk.mjs → CalendarBase-4iGD1mPK.mjs} +99 -27
  141. package/__chunks__/{CalendarBase-CiBPzvL4.js → CalendarBase-saNix6u1.js} +94 -22
  142. package/__chunks__/{Card-DdHvpDEw.mjs → Card-Cr-bIjoN.mjs} +12 -12
  143. package/__chunks__/{Card-93kQP9IL.js → Card-DaFTIHZD.js} +12 -12
  144. package/__chunks__/{Checkbox-BRrfKcFE.mjs → Checkbox-BR4RBHLp.mjs} +23 -23
  145. package/__chunks__/{Checkbox-MbPCVxqs.js → Checkbox-BY4UkCg7.js} +20 -20
  146. package/__chunks__/{CodeSnippet-xb-psm_O.mjs → CodeSnippet-ChZIz_CO.mjs} +2 -2
  147. package/__chunks__/{CodeSnippet-D9ZZXVs3.js → CodeSnippet-H-6ta_Y8.js} +2 -2
  148. package/__chunks__/DatePickerBase-DlbnqBLN.mjs +3152 -0
  149. package/__chunks__/DatePickerBase-vorBKIfJ.js +3166 -0
  150. package/__chunks__/{FocusScope-CEeqhVmO.mjs → FocusScope-CjcZn1Rq.mjs} +4 -4
  151. package/__chunks__/{HelpMenu-E6z6tRl8.js → HelpMenu-BzUSoyPi.js} +6 -6
  152. package/__chunks__/{HelpMenu-CCHBb1Kr.mjs → HelpMenu-yEjZgR1V.mjs} +7 -7
  153. package/__chunks__/{HorizontalGrid-B7ijxURd.js → HorizontalGrid-Bhj16LbM.js} +1 -1
  154. package/__chunks__/{HorizontalGrid-vw7R2Tld.mjs → HorizontalGrid-D4bJqbQV.mjs} +1 -1
  155. package/__chunks__/{HorizontalStack-Dx9zYaH0.mjs → HorizontalStack-BDZp8p9E.mjs} +1 -1
  156. package/__chunks__/{HorizontalStack-1g4N72TF.js → HorizontalStack-_DnrRlDb.js} +1 -1
  157. package/__chunks__/{Icon-QGDwoR1f.mjs → Icon-BdtOD2WX.mjs} +2 -2
  158. package/__chunks__/{Icon-oPEVg2C8.js → Icon-DJ8CpeVT.js} +2 -2
  159. package/__chunks__/InputCaption-BBbxPdvJ.mjs +61 -0
  160. package/__chunks__/InputCaption-CEIuQ6BY.js +60 -0
  161. package/__chunks__/{InputField-BGBRvVMR.js → InputField-BUU9HZ1I.js} +7 -6
  162. package/__chunks__/{InputField-BI73lSp6.mjs → InputField-CPxOg_cd.mjs} +8 -7
  163. package/__chunks__/InputIcon-MHt_XLtO.mjs +112 -0
  164. package/__chunks__/InputIcon-nUumrcJ5.js +111 -0
  165. package/__chunks__/{KebabButton-DBLcfQI6.mjs → KebabButton-BapJTvS6.mjs} +5 -5
  166. package/__chunks__/{KebabButton-C15-V-k2.js → KebabButton-C3KI5LDA.js} +4 -4
  167. package/__chunks__/{LiveAnnouncer-Bi_Y3tfX.mjs → LiveAnnouncer-BSV5-C0m.mjs} +5 -1
  168. package/__chunks__/{LiveAnnouncer-Dwkwacle.js → LiveAnnouncer-CzeNwq2D.js} +4 -0
  169. package/__chunks__/{Menu-Cuqxc1iw.js → Menu-CkQaJJAH.js} +31 -30
  170. package/__chunks__/{Menu-BELtbX2b.mjs → Menu-LzJveIa-.mjs} +21 -20
  171. package/__chunks__/{Notification-D90-75ZN.js → Notification-C5_bwXj4.js} +15 -15
  172. package/__chunks__/{Notification-lqESwByD.mjs → Notification-CAmvbAK1.mjs} +18 -18
  173. package/__chunks__/{Spinner-D3LMSY80.js → NumberFormatter-CXW1Iqpu.js} +1 -79
  174. package/__chunks__/{Spinner-tHEG0z1g.mjs → NumberFormatter-p5KNJNTT.mjs} +1 -79
  175. package/__chunks__/{Overlay-CuhLUuXt.mjs → Overlay-d3z5W5Nn.mjs} +6 -6
  176. package/__chunks__/RangeCalendar-5enltd2P.js +227 -0
  177. package/__chunks__/RangeCalendar-Bhk32GB_.mjs +228 -0
  178. package/__chunks__/{SelectOverlay-pFcbx7UM.js → SelectOverlay-DKJvzJJ7.js} +35 -33
  179. package/__chunks__/{SelectOverlay-CadnQpV0.mjs → SelectOverlay-MLWWpDpl.mjs} +32 -30
  180. package/__chunks__/{SelectionManager-IO4G_cI2.mjs → SelectionManager-DCO_d3m1.mjs} +2 -2
  181. package/__chunks__/{SelectorErrorTooltip-CFlgzXu5.mjs → SelectorErrorTooltip-DLyZgeUf.mjs} +4 -4
  182. package/__chunks__/{SelectorErrorTooltip-Cfzpo7X3.js → SelectorErrorTooltip-DowQ2whn.js} +4 -4
  183. package/__chunks__/Spinner-BFydR08g.js +100 -0
  184. package/__chunks__/Spinner-hJoFNoHJ.mjs +101 -0
  185. package/__chunks__/{Stepper-B0w3sKYh.mjs → Stepper-BY8zQdW2.mjs} +27 -27
  186. package/__chunks__/{Stepper-Bbihngk4.js → Stepper-CxWpMLEW.js} +25 -25
  187. package/__chunks__/{TabNav-BHETvib0.js → TabNav-1cTg6TWo.js} +1 -1
  188. package/__chunks__/{TabNav-2W0d3JQ0.mjs → TabNav-burpvHrg.mjs} +1 -1
  189. package/__chunks__/{Tabs-C-D794Gi.mjs → Tabs-BzZ9w82m.mjs} +18 -18
  190. package/__chunks__/{Tabs-9dihRp0n.js → Tabs-DHXJckwb.js} +17 -17
  191. package/__chunks__/{Text-D8wg72pq.mjs → Text-CQ_8wg0t.mjs} +34 -34
  192. package/__chunks__/{Text-CEI17LPu.js → Text-Dfbyoxsz.js} +34 -34
  193. package/__chunks__/{Toggle-DlIBs_Za.mjs → Toggle-BiaALtul.mjs} +13 -13
  194. package/__chunks__/{Toggle-4oQhSggV.js → Toggle-CYKsPbEK.js} +11 -11
  195. package/__chunks__/{Tooltip-Cxv7qnVD.mjs → Tooltip-5ZgKkdk8.mjs} +12 -12
  196. package/__chunks__/{Tooltip-7wXzqEZl.js → Tooltip-Bzqm5boz.js} +8 -8
  197. package/__chunks__/{UnstyledButton-B7BScs8i.mjs → UnstyledButton-BlB066YT.mjs} +1 -1
  198. package/__chunks__/{VerticalStack-BTB8fX9P.js → VerticalStack-_gyNJbOa.js} +3 -3
  199. package/__chunks__/{VerticalStack-HnwP17N3.mjs → VerticalStack-eKUWFHU3.mjs} +3 -3
  200. package/__chunks__/{VisuallyHidden-BttNIgVC.mjs → VisuallyHidden-DmDK0fH3.mjs} +1 -1
  201. package/__chunks__/{ariaHideOutside-DcIkumuG.mjs → ariaHideOutside-B-UoCW1g.mjs} +5 -29
  202. package/__chunks__/{ariaHideOutside-DNGR3Fo6.js → ariaHideOutside-a1MUBVQF.js} +0 -24
  203. package/__chunks__/{focusSafely-Dw7K4rnX.mjs → focusSafely-DcMa3q3g.mjs} +2 -2
  204. package/__chunks__/{isVirtualEvent-BFRy7P_p.mjs → isVirtualEvent-BPCuFO54.mjs} +2 -2
  205. package/__chunks__/{useButton-B1CurEpI.mjs → useButton-BoMy_zYC.mjs} +2 -2
  206. package/__chunks__/useCollator-DGrSWVh4.js +12 -0
  207. package/__chunks__/useCollator-DXoNI6C-.mjs +13 -0
  208. package/__chunks__/{useDialog-Dsqz1M_N.js → useDialog-DILXRLSs.js} +1 -1
  209. package/__chunks__/{useDialog-DAYxqkKY.mjs → useDialog-o0QWfg2a.mjs} +3 -3
  210. package/__chunks__/{useEdgeInterceptors-BCHFmpf_.js → useEdgeInterceptors-DfiAHAYW.js} +5 -5
  211. package/__chunks__/{useEdgeInterceptors-CVxwDmQ0.mjs → useEdgeInterceptors-wWqxCUZX.mjs} +5 -5
  212. package/__chunks__/{useFocus-DDj4i8Xy.mjs → useFocus-BEhCbr7O.mjs} +2 -2
  213. package/__chunks__/{useFocusRing-BE_dgxH5.mjs → useFocusRing-BUwbt1Yv.mjs} +3 -3
  214. package/__chunks__/{useFocusVisible-CXSIZSY_.mjs → useFocusVisible-8tH_I2iV.mjs} +1 -1
  215. package/__chunks__/{useFocusWithin-CDX8m0Wu.mjs → useFocusWithin-CfhMwfXS.mjs} +1 -1
  216. package/__chunks__/{useFocusable-DD5dAIXt.mjs → useFocusable-DoNt-Wd3.mjs} +2 -2
  217. package/__chunks__/{useFormValidation-gwcVryr8.mjs → useFormValidation-D5Y_7NR2.mjs} +25 -3
  218. package/__chunks__/{useFormValidation-C2DoIczP.js → useFormValidation-DYz5WFze.js} +22 -0
  219. package/__chunks__/{useHasTabbableChild-CRCY1COZ.mjs → useHasTabbableChild-DUcbkV37.mjs} +1 -1
  220. package/__chunks__/{useHighlightSelectionDescription-CsB-ufoX.js → useHighlightSelectionDescription-CT5XKTz0.js} +2 -2
  221. package/__chunks__/{useHighlightSelectionDescription-DnW5KkSs.mjs → useHighlightSelectionDescription-DWm7Wr6h.mjs} +3 -3
  222. package/__chunks__/{useLink-B__d3N9L.mjs → useLink-B_g4ae9e.mjs} +2 -2
  223. package/__chunks__/{useListState-CH1PXfc5.mjs → useListState-AFrlkW73.mjs} +1 -1
  224. package/__chunks__/{useLocalizedStringFormatter-B5ons_mh.mjs → useLocalizedStringFormatter-CLrYoOi9.mjs} +4 -1
  225. package/__chunks__/{useLocalizedStringFormatter-D74_5d4h.js → useLocalizedStringFormatter-CaF1VsOH.js} +3 -0
  226. package/__chunks__/{useOverlayPosition-B31NgShQ.mjs → useOverlayPosition-B_X4JGFp.mjs} +2 -2
  227. package/__chunks__/useOverlayTrigger-Do68TGFi.mjs +28 -0
  228. package/__chunks__/useOverlayTrigger-MyMg5wFE.js +27 -0
  229. package/__chunks__/{usePress-lFMUra6S.mjs → usePress-BAsZaqDB.mjs} +1 -1
  230. package/__chunks__/{useSelectableItem-BdD2_J2D.mjs → useSelectableItem-DL-4kc1g.mjs} +5 -5
  231. package/__chunks__/{useSelectableList-D0uxeze4.mjs → useSelectableList-BQ06AmlV.mjs} +4 -14
  232. package/__chunks__/{useSelectableList-DlkRkps4.js → useSelectableList-F8fB4Dtg.js} +2 -12
  233. package/__chunks__/{useSingleSelectListState-BuqfjUxj.mjs → useSingleSelectListState-DuCUY6dR.mjs} +1 -1
  234. package/__chunks__/{useToggle-b0GY9dCM.mjs → useToggle-CU6aSiOx.mjs} +2 -2
  235. package/__chunks__/{useTreeState-BZxhJy4m.mjs → useTreeState-w_raYfy2.mjs} +1 -1
  236. package/__chunks__/{useTriggerWidth-DEToHKD3.mjs → useTriggerWidth-DA668KiC.mjs} +6 -335
  237. package/__chunks__/{useTriggerWidth-C7OT3WI9.js → useTriggerWidth-ROE4ZhGv.js} +3 -332
  238. package/__chunks__/utilities-DKvHenAr.js +353 -0
  239. package/__chunks__/utilities-DmLL16up.mjs +354 -0
  240. package/package.json +1 -1
  241. package/style.css +1249 -1104
  242. package/__chunks__/InputIcon-BGgFAA4L.mjs +0 -168
  243. package/__chunks__/InputIcon-CUOJRoq8.js +0 -167
@@ -34,8 +34,8 @@ var __yieldStar = (value) => {
34
34
  throw x;
35
35
  }, "return" in obj && method("return"), it;
36
36
  };
37
- import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-Dw7K4rnX.mjs";
38
- import { a as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-BFRy7P_p.mjs";
37
+ import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DcMa3q3g.mjs";
38
+ import { a as $431fbd86ca7dc216$export$f21a1ffae260145a, $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-BPCuFO54.mjs";
39
39
  import { a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-T961Q1yJ.mjs";
40
40
  import React__default, { useRef, useContext, useMemo, useEffect } from "react";
41
41
  function $645f2e67b85a24c9$var$isStyleVisible(element) {
@@ -697,7 +697,7 @@ class $9bf71ea28793e738$var$TreeNode {
697
697
  let $9bf71ea28793e738$export$d06fae2ee68b101e = new $9bf71ea28793e738$var$Tree();
698
698
  export {
699
699
  $9bf71ea28793e738$export$2d6ec8fc375ceafa as $,
700
- $9bf71ea28793e738$export$20e40289641fbbb6 as a,
700
+ $9bf71ea28793e738$export$c5251b9e124bf29 as a,
701
701
  $9bf71ea28793e738$export$1258395f99bf9cbf as b,
702
- $9bf71ea28793e738$export$c5251b9e124bf29 as c
702
+ $9bf71ea28793e738$export$20e40289641fbbb6 as c
703
703
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  const React = require("react");
3
- const Icon = require("./Icon-oPEVg2C8.js");
4
- const Menu = require("./Menu-Cuqxc1iw.js");
5
- const Text = require("./Text-CEI17LPu.js");
3
+ const Icon = require("./Icon-DJ8CpeVT.js");
4
+ const Menu = require("./Menu-CkQaJJAH.js");
5
+ const Text = require("./Text-Dfbyoxsz.js");
6
6
  const UnstyledButton = require("./UnstyledButton-Dn8KZHdh.js");
7
7
  function _interopNamespaceDefault(e) {
8
8
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -95,9 +95,9 @@ const Support = (_a) => {
95
95
  d: "M480.07-100q-78.84 0-148.21-29.92t-120.68-81.21q-51.31-51.29-81.25-120.63Q100-401.1 100-479.93q0-78.84 29.92-148.21t81.21-120.68q51.29-51.31 120.63-81.25Q401.1-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.84-29.92 148.21t-81.21 120.68q-51.29 51.31-120.63 81.25Q558.9-100 480.07-100Zm-119.53-65.77 69.54-163.08q-34.61-11.99-61-37.53t-39.46-62.31L165-362.54q29.46 69.46 79.69 120.31 50.23 50.84 115.85 76.46ZM329-530.69q12.54-36.77 38.85-62.31 26.3-25.54 60.84-37.38L362.54-795Q289.85-765.54 239-714.19q-50.85 51.34-74 117.34l164 66.16Zm150.91 164.54q47.4 0 80.67-33.18t33.27-80.58q0-47.4-33.18-80.67t-80.58-33.27q-47.4 0-80.67 33.18t-33.27 80.58q0 47.4 33.18 80.67t80.58 33.27Zm119.94 200.38q67.07-27.23 117.11-77.58 50.04-50.34 77.27-117.19l-163.08-68.92q-12.69 37.38-39.11 63-26.43 25.61-60.96 36.84l68.77 163.85Zm30.53-366.31 163.85-67.77q-27.23-66.46-77.58-116.8-50.34-50.35-116.8-77.58l-67.16 163.85q33.39 12.23 58.5 37.27 25.12 25.03 39.19 61.03Z"
96
96
  }));
97
97
  };
98
- const button = "_button_mvlzb_5";
99
- const buttonContent = "_buttonContent_mvlzb_10";
100
- const arrow = "_arrow_mvlzb_17";
98
+ const button = "_button_2kr2b_5";
99
+ const buttonContent = "_buttonContent_2kr2b_10";
100
+ const arrow = "_arrow_2kr2b_17";
101
101
  const styles = {
102
102
  button,
103
103
  buttonContent,
@@ -1,9 +1,9 @@
1
1
  import * as React from "react";
2
2
  import React__default from "react";
3
- import { I as Icon } from "./Icon-QGDwoR1f.mjs";
4
- import { M as Menu } from "./Menu-BELtbX2b.mjs";
5
- import { T as Text } from "./Text-D8wg72pq.mjs";
6
- import { U as UnstyledButton } from "./UnstyledButton-B7BScs8i.mjs";
3
+ import { I as Icon } from "./Icon-BdtOD2WX.mjs";
4
+ import { M as Menu } from "./Menu-LzJveIa-.mjs";
5
+ import { T as Text } from "./Text-CQ_8wg0t.mjs";
6
+ import { U as UnstyledButton } from "./UnstyledButton-BlB066YT.mjs";
7
7
  var __defProp$1 = Object.defineProperty;
8
8
  var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
9
9
  var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
@@ -78,9 +78,9 @@ const Support = (_a) => {
78
78
  d: "M480.07-100q-78.84 0-148.21-29.92t-120.68-81.21q-51.31-51.29-81.25-120.63Q100-401.1 100-479.93q0-78.84 29.92-148.21t81.21-120.68q51.29-51.31 120.63-81.25Q401.1-860 479.93-860q78.84 0 148.21 29.92t120.68 81.21q51.31 51.29 81.25 120.63Q860-558.9 860-480.07q0 78.84-29.92 148.21t-81.21 120.68q-51.29 51.31-120.63 81.25Q558.9-100 480.07-100Zm-119.53-65.77 69.54-163.08q-34.61-11.99-61-37.53t-39.46-62.31L165-362.54q29.46 69.46 79.69 120.31 50.23 50.84 115.85 76.46ZM329-530.69q12.54-36.77 38.85-62.31 26.3-25.54 60.84-37.38L362.54-795Q289.85-765.54 239-714.19q-50.85 51.34-74 117.34l164 66.16Zm150.91 164.54q47.4 0 80.67-33.18t33.27-80.58q0-47.4-33.18-80.67t-80.58-33.27q-47.4 0-80.67 33.18t-33.27 80.58q0 47.4 33.18 80.67t80.58 33.27Zm119.94 200.38q67.07-27.23 117.11-77.58 50.04-50.34 77.27-117.19l-163.08-68.92q-12.69 37.38-39.11 63-26.43 25.61-60.96 36.84l68.77 163.85Zm30.53-366.31 163.85-67.77q-27.23-66.46-77.58-116.8-50.34-50.35-116.8-77.58l-67.16 163.85q33.39 12.23 58.5 37.27 25.12 25.03 39.19 61.03Z"
79
79
  }));
80
80
  };
81
- const button = "_button_mvlzb_5";
82
- const buttonContent = "_buttonContent_mvlzb_10";
83
- const arrow = "_arrow_mvlzb_17";
81
+ const button = "_button_2kr2b_5";
82
+ const buttonContent = "_buttonContent_2kr2b_10";
83
+ const arrow = "_arrow_2kr2b_17";
84
84
  const styles = {
85
85
  button,
86
86
  buttonContent,
@@ -44,7 +44,7 @@ function getColumnValue(columns) {
44
44
  }
45
45
  }).join(" ");
46
46
  }
47
- const HorizontalGrid$1 = "_HorizontalGrid_1r7ue_5";
47
+ const HorizontalGrid$1 = "_HorizontalGrid_18xxf_5";
48
48
  const styles = {
49
49
  HorizontalGrid: HorizontalGrid$1
50
50
  };
@@ -43,7 +43,7 @@ function getColumnValue(columns) {
43
43
  }
44
44
  }).join(" ");
45
45
  }
46
- const HorizontalGrid$1 = "_HorizontalGrid_1r7ue_5";
46
+ const HorizontalGrid$1 = "_HorizontalGrid_18xxf_5";
47
47
  const styles = {
48
48
  HorizontalGrid: HorizontalGrid$1
49
49
  };
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
31
31
  };
32
32
  import React__default, { forwardRef } from "react";
33
33
  import { getResponsiveDesignToken, getComponentToken } from "../utilities/css.mjs";
34
- const HorizontalStack$1 = "_HorizontalStack_1kqxd_5";
34
+ const HorizontalStack$1 = "_HorizontalStack_lz2x9_5";
35
35
  const styles = {
36
36
  HorizontalStack: HorizontalStack$1
37
37
  };
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  };
33
33
  const React = require("react");
34
34
  const utilities_css = require("../utilities/css.js");
35
- const HorizontalStack$1 = "_HorizontalStack_1kqxd_5";
35
+ const HorizontalStack$1 = "_HorizontalStack_lz2x9_5";
36
36
  const styles = {
37
37
  HorizontalStack: HorizontalStack$1
38
38
  };
@@ -16,8 +16,8 @@ var __spreadValues = (a, b) => {
16
16
  };
17
17
  import React__default from "react";
18
18
  import { getComponentThemeToken, backwardsCompatibleColorToken, getResponsiveDesignToken } from "../utilities/css.mjs";
19
- const Icon$1 = "_Icon_1ycd0_5";
20
- const symbol = "_symbol_1ycd0_69";
19
+ const Icon$1 = "_Icon_vzc90_5";
20
+ const symbol = "_symbol_vzc90_69";
21
21
  const styles = {
22
22
  Icon: Icon$1,
23
23
  symbol
@@ -17,8 +17,8 @@ var __spreadValues = (a, b) => {
17
17
  };
18
18
  const React = require("react");
19
19
  const utilities_css = require("../utilities/css.js");
20
- const Icon$1 = "_Icon_1ycd0_5";
21
- const symbol = "_symbol_1ycd0_69";
20
+ const Icon$1 = "_Icon_vzc90_5";
21
+ const symbol = "_symbol_vzc90_69";
22
22
  const styles = {
23
23
  Icon: Icon$1,
24
24
  symbol
@@ -0,0 +1,61 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ var __objRest = (source, exclude) => {
21
+ var target = {};
22
+ for (var prop in source)
23
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
+ target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols)
26
+ for (var prop of __getOwnPropSymbols(source)) {
27
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
+ target[prop] = source[prop];
29
+ }
30
+ return target;
31
+ };
32
+ import React__default from "react";
33
+ import { T as Text } from "./Text-CQ_8wg0t.mjs";
34
+ import { s as styles } from "./InputIcon-MHt_XLtO.mjs";
35
+ import { classNames } from "../utilities/css.mjs";
36
+ function Label(props) {
37
+ const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
38
+ const textVariant = isLabelEmphasized ? "subtitle1" : fieldSize === "sm" ? "body2" : "body1";
39
+ const as = isLabelEmphasized ? "strong" : "span";
40
+ const color = hasError ? "danger" : void 0;
41
+ return React__default.createElement("label", __spreadProps(__spreadValues({}, labelProps), {
42
+ className: classNames(styles.label)
43
+ }), React__default.createElement(Text, {
44
+ variant: textVariant,
45
+ as,
46
+ color
47
+ }, children));
48
+ }
49
+ function InputCaption(props) {
50
+ const _a = props, { variant, children } = _a, captionTextProps = __objRest(_a, ["variant", "children"]);
51
+ return React__default.createElement("div", __spreadProps(__spreadValues({}, captionTextProps), {
52
+ className: styles.caption
53
+ }), React__default.createElement(Text, {
54
+ variant: "caption",
55
+ color: variant === "helper" ? "subdued" : "danger"
56
+ }, children));
57
+ }
58
+ export {
59
+ InputCaption as I,
60
+ Label as L
61
+ };
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp.call(b, prop))
12
+ __defNormalProp(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b)) {
15
+ if (__propIsEnum.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ const React = require("react");
34
+ const Text = require("./Text-Dfbyoxsz.js");
35
+ const InputIcon = require("./InputIcon-nUumrcJ5.js");
36
+ const utilities_css = require("../utilities/css.js");
37
+ function Label(props) {
38
+ const _a = props, { isLabelEmphasized = false, fieldSize = "md", hasError = false, children } = _a, labelProps = __objRest(_a, ["isLabelEmphasized", "fieldSize", "hasError", "children"]);
39
+ const textVariant = isLabelEmphasized ? "subtitle1" : fieldSize === "sm" ? "body2" : "body1";
40
+ const as = isLabelEmphasized ? "strong" : "span";
41
+ const color = hasError ? "danger" : void 0;
42
+ return React.createElement("label", __spreadProps(__spreadValues({}, labelProps), {
43
+ className: utilities_css.classNames(InputIcon.styles.label)
44
+ }), React.createElement(Text.Text, {
45
+ variant: textVariant,
46
+ as,
47
+ color
48
+ }, children));
49
+ }
50
+ function InputCaption(props) {
51
+ const _a = props, { variant, children } = _a, captionTextProps = __objRest(_a, ["variant", "children"]);
52
+ return React.createElement("div", __spreadProps(__spreadValues({}, captionTextProps), {
53
+ className: InputIcon.styles.caption
54
+ }), React.createElement(Text.Text, {
55
+ variant: "caption",
56
+ color: variant === "helper" ? "subdued" : "danger"
57
+ }, children));
58
+ }
59
+ exports.InputCaption = InputCaption;
60
+ exports.Label = Label;
@@ -20,10 +20,11 @@ var __spreadValues = (a, b) => {
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  const React = require("react");
22
22
  const utilities_css = require("../utilities/css.js");
23
- const InputIcon = require("./InputIcon-CUOJRoq8.js");
24
- const Text = require("./Text-CEI17LPu.js");
25
- const Icon = require("./Icon-oPEVg2C8.js");
23
+ const InputCaption = require("./InputCaption-CEIuQ6BY.js");
24
+ const Text = require("./Text-Dfbyoxsz.js");
25
+ const Icon = require("./Icon-DJ8CpeVT.js");
26
26
  const UnstyledButton = require("./UnstyledButton-Dn8KZHdh.js");
27
+ const InputIcon = require("./InputIcon-nUumrcJ5.js");
27
28
  const isVirtualEvent = require("./isVirtualEvent-DwoP1rNI.js");
28
29
  const mergeProps = require("./mergeProps-DniMwM6P.js");
29
30
  const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
@@ -31,7 +32,7 @@ const useFormReset = require("./useFormReset-Bgj93eR3.js");
31
32
  const useControlledState = require("./useControlledState-mnKBd6Uc.js");
32
33
  const useField = require("./useField-BJW_bXVD.js");
33
34
  const useFocusable = require("./useFocusable-BfXLORiH.js");
34
- const useFormValidation = require("./useFormValidation-C2DoIczP.js");
35
+ const useFormValidation = require("./useFormValidation-DYz5WFze.js");
35
36
  const useHover = require("./useHover-BIKwjrCT.js");
36
37
  function _interopNamespaceDefault(e) {
37
38
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -272,7 +273,7 @@ function InputField(props) {
272
273
  const inputType = Component === "textarea" ? void 0 : isTypeAdjustedForPasswordVisibility ? "text" : type;
273
274
  return React.createElement("div", {
274
275
  className: utilities_css.classNames(InputIcon.styles.root)
275
- }, label && React.createElement(InputIcon.Label, __spreadValues({
276
+ }, label && React.createElement(InputCaption.Label, __spreadValues({
276
277
  fieldSize: adjustedSize,
277
278
  hasError,
278
279
  isLabelEmphasized
@@ -314,7 +315,7 @@ function InputField(props) {
314
315
  size: adjustedSize,
315
316
  isDisabled,
316
317
  icon: iconAtEnd
317
- })), (showErrorText || showHelperText) && React.createElement(InputIcon.InputCaption, __spreadValues({
318
+ })), (showErrorText || showHelperText) && React.createElement(InputCaption.InputCaption, __spreadValues({
318
319
  variant: showHelperText ? "helper" : "error"
319
320
  }, captionProps), captionText));
320
321
  }
@@ -20,18 +20,19 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import * as React from "react";
21
21
  import React__default, { useEffect, useState } from "react";
22
22
  import { classNames, variationName } from "../utilities/css.mjs";
23
- import { s as styles, m as mapIconSize, g as getElementType, b as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, L as Label, I as InputIcon, a as InputCaption } from "./InputIcon-BGgFAA4L.mjs";
24
- import { T as Text } from "./Text-D8wg72pq.mjs";
25
- import { I as Icon } from "./Icon-QGDwoR1f.mjs";
26
- import { U as UnstyledButton } from "./UnstyledButton-B7BScs8i.mjs";
27
- import { a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BFRy7P_p.mjs";
23
+ import { L as Label, I as InputCaption } from "./InputCaption-BBbxPdvJ.mjs";
24
+ import { T as Text } from "./Text-CQ_8wg0t.mjs";
25
+ import { I as Icon } from "./Icon-BdtOD2WX.mjs";
26
+ import { U as UnstyledButton } from "./UnstyledButton-BlB066YT.mjs";
27
+ import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-MHt_XLtO.mjs";
28
+ import { a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-BPCuFO54.mjs";
28
29
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-T961Q1yJ.mjs";
29
30
  import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
30
31
  import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-CmXMJVpO.mjs";
31
32
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
32
33
  import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-DWmSslhe.mjs";
33
- import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DD5dAIXt.mjs";
34
- import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-gwcVryr8.mjs";
34
+ import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DoNt-Wd3.mjs";
35
+ import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, d as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-D5Y_7NR2.mjs";
35
36
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
36
37
  function $2d73ec29415bd339$export$712718f7aec83d5(props, ref) {
37
38
  let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
@@ -0,0 +1,112 @@
1
+ import React__default from "react";
2
+ import { I as Icon } from "./Icon-BdtOD2WX.mjs";
3
+ import { classNames, variationName } from "../utilities/css.mjs";
4
+ const root = "_root_1q4jg_5";
5
+ const inputIconContainer = "_inputIconContainer_1q4jg_26";
6
+ const label = "_label_1q4jg_32";
7
+ const input = "_input_1q4jg_26";
8
+ const errorInput = "_errorInput_1q4jg_68";
9
+ const inputSizeSm = "_inputSizeSm_1q4jg_76";
10
+ const inputSizeLg = "_inputSizeLg_1q4jg_88";
11
+ const passwordInput = "_passwordInput_1q4jg_94";
12
+ const passwordBtn = "_passwordBtn_1q4jg_104";
13
+ const hovered = "_hovered_1q4jg_130";
14
+ const textArea = "_textArea_1q4jg_139";
15
+ const passwordBtnError = "_passwordBtnError_1q4jg_144";
16
+ const passwordBtnSm = "_passwordBtnSm_1q4jg_150";
17
+ const passwordBtnLg = "_passwordBtnLg_1q4jg_155";
18
+ const icon = "_icon_1q4jg_160";
19
+ const iconDisabled = "_iconDisabled_1q4jg_170";
20
+ const iconStart = "_iconStart_1q4jg_174";
21
+ const iconEnd = "_iconEnd_1q4jg_178";
22
+ const iconStartInput = "_iconStartInput_1q4jg_182";
23
+ const iconEndInput = "_iconEndInput_1q4jg_186";
24
+ const inputIconPlacementSm = "_inputIconPlacementSm_1q4jg_190";
25
+ const inputIconPlacementLg = "_inputIconPlacementLg_1q4jg_194";
26
+ const caption = "_caption_1q4jg_198";
27
+ const textStartInput = "_textStartInput_1q4jg_202";
28
+ const textEndInput = "_textEndInput_1q4jg_206";
29
+ const text = "_text_1q4jg_139";
30
+ const inputTextPlacementSm = "_inputTextPlacementSm_1q4jg_223";
31
+ const inputTextPlacementLg = "_inputTextPlacementLg_1q4jg_229";
32
+ const textStart = "_textStart_1q4jg_202";
33
+ const textEnd = "_textEnd_1q4jg_206";
34
+ const styles = {
35
+ root,
36
+ inputIconContainer,
37
+ label,
38
+ input,
39
+ errorInput,
40
+ inputSizeSm,
41
+ inputSizeLg,
42
+ passwordInput,
43
+ passwordBtn,
44
+ hovered,
45
+ textArea,
46
+ passwordBtnError,
47
+ passwordBtnSm,
48
+ passwordBtnLg,
49
+ icon,
50
+ iconDisabled,
51
+ iconStart,
52
+ iconEnd,
53
+ iconStartInput,
54
+ iconEndInput,
55
+ inputIconPlacementSm,
56
+ inputIconPlacementLg,
57
+ caption,
58
+ textStartInput,
59
+ textEndInput,
60
+ text,
61
+ inputTextPlacementSm,
62
+ inputTextPlacementLg,
63
+ textStart,
64
+ textEnd
65
+ };
66
+ function mapIconSize(size) {
67
+ if (size === "sm") {
68
+ return "xs";
69
+ } else if (size === "lg") {
70
+ return "md";
71
+ }
72
+ return size;
73
+ }
74
+ function logWarningsForInvalidPropConfiguration(bothIconPropsDefined, smallSizeTextarea, definedIconsWithTextarea, iconAndTextPropsDefined) {
75
+ if (bothIconPropsDefined) {
76
+ console.warn("Cannot simultaneously define `iconAtEnd` and `iconAtStart`");
77
+ }
78
+ if (smallSizeTextarea) {
79
+ console.warn("`textarea` cannot be defined with size `sm`");
80
+ }
81
+ if (definedIconsWithTextarea) {
82
+ console.warn("Cannot define `textarea` with `iconAtEnd` or `iconAtStart`");
83
+ }
84
+ if (iconAndTextPropsDefined) {
85
+ console.warn("Cannot simultaneously define `iconAtEnd` and `textAtEnd` or `iconAtStart` and `textAtStart`");
86
+ }
87
+ }
88
+ function logWarningForMissingAriaLabel(label2, ariaLabel) {
89
+ if (!label2 && !ariaLabel) {
90
+ console.warn("An aria-label must be provided if omitting `label`");
91
+ }
92
+ }
93
+ function getElementType(isMultiline) {
94
+ return isMultiline ? "textarea" : "input";
95
+ }
96
+ function InputIcon(props) {
97
+ const { alignment = "start", size = "md", isDisabled = false, icon: icon2 } = props;
98
+ return React__default.createElement("div", {
99
+ className: classNames(styles.icon, alignment === "start" ? styles.iconStart : styles.iconEnd, isDisabled && styles.iconDisabled, styles[variationName("inputIconPlacement", size)])
100
+ }, React__default.createElement(Icon, {
101
+ symbol: icon2,
102
+ size: mapIconSize(size)
103
+ }));
104
+ }
105
+ export {
106
+ InputIcon as I,
107
+ logWarningsForInvalidPropConfiguration as a,
108
+ getElementType as g,
109
+ logWarningForMissingAriaLabel as l,
110
+ mapIconSize as m,
111
+ styles as s
112
+ };
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ const React = require("react");
3
+ const Icon = require("./Icon-DJ8CpeVT.js");
4
+ const utilities_css = require("../utilities/css.js");
5
+ const root = "_root_1q4jg_5";
6
+ const inputIconContainer = "_inputIconContainer_1q4jg_26";
7
+ const label = "_label_1q4jg_32";
8
+ const input = "_input_1q4jg_26";
9
+ const errorInput = "_errorInput_1q4jg_68";
10
+ const inputSizeSm = "_inputSizeSm_1q4jg_76";
11
+ const inputSizeLg = "_inputSizeLg_1q4jg_88";
12
+ const passwordInput = "_passwordInput_1q4jg_94";
13
+ const passwordBtn = "_passwordBtn_1q4jg_104";
14
+ const hovered = "_hovered_1q4jg_130";
15
+ const textArea = "_textArea_1q4jg_139";
16
+ const passwordBtnError = "_passwordBtnError_1q4jg_144";
17
+ const passwordBtnSm = "_passwordBtnSm_1q4jg_150";
18
+ const passwordBtnLg = "_passwordBtnLg_1q4jg_155";
19
+ const icon = "_icon_1q4jg_160";
20
+ const iconDisabled = "_iconDisabled_1q4jg_170";
21
+ const iconStart = "_iconStart_1q4jg_174";
22
+ const iconEnd = "_iconEnd_1q4jg_178";
23
+ const iconStartInput = "_iconStartInput_1q4jg_182";
24
+ const iconEndInput = "_iconEndInput_1q4jg_186";
25
+ const inputIconPlacementSm = "_inputIconPlacementSm_1q4jg_190";
26
+ const inputIconPlacementLg = "_inputIconPlacementLg_1q4jg_194";
27
+ const caption = "_caption_1q4jg_198";
28
+ const textStartInput = "_textStartInput_1q4jg_202";
29
+ const textEndInput = "_textEndInput_1q4jg_206";
30
+ const text = "_text_1q4jg_139";
31
+ const inputTextPlacementSm = "_inputTextPlacementSm_1q4jg_223";
32
+ const inputTextPlacementLg = "_inputTextPlacementLg_1q4jg_229";
33
+ const textStart = "_textStart_1q4jg_202";
34
+ const textEnd = "_textEnd_1q4jg_206";
35
+ const styles = {
36
+ root,
37
+ inputIconContainer,
38
+ label,
39
+ input,
40
+ errorInput,
41
+ inputSizeSm,
42
+ inputSizeLg,
43
+ passwordInput,
44
+ passwordBtn,
45
+ hovered,
46
+ textArea,
47
+ passwordBtnError,
48
+ passwordBtnSm,
49
+ passwordBtnLg,
50
+ icon,
51
+ iconDisabled,
52
+ iconStart,
53
+ iconEnd,
54
+ iconStartInput,
55
+ iconEndInput,
56
+ inputIconPlacementSm,
57
+ inputIconPlacementLg,
58
+ caption,
59
+ textStartInput,
60
+ textEndInput,
61
+ text,
62
+ inputTextPlacementSm,
63
+ inputTextPlacementLg,
64
+ textStart,
65
+ textEnd
66
+ };
67
+ function mapIconSize(size) {
68
+ if (size === "sm") {
69
+ return "xs";
70
+ } else if (size === "lg") {
71
+ return "md";
72
+ }
73
+ return size;
74
+ }
75
+ function logWarningsForInvalidPropConfiguration(bothIconPropsDefined, smallSizeTextarea, definedIconsWithTextarea, iconAndTextPropsDefined) {
76
+ if (bothIconPropsDefined) {
77
+ console.warn("Cannot simultaneously define `iconAtEnd` and `iconAtStart`");
78
+ }
79
+ if (smallSizeTextarea) {
80
+ console.warn("`textarea` cannot be defined with size `sm`");
81
+ }
82
+ if (definedIconsWithTextarea) {
83
+ console.warn("Cannot define `textarea` with `iconAtEnd` or `iconAtStart`");
84
+ }
85
+ if (iconAndTextPropsDefined) {
86
+ console.warn("Cannot simultaneously define `iconAtEnd` and `textAtEnd` or `iconAtStart` and `textAtStart`");
87
+ }
88
+ }
89
+ function logWarningForMissingAriaLabel(label2, ariaLabel) {
90
+ if (!label2 && !ariaLabel) {
91
+ console.warn("An aria-label must be provided if omitting `label`");
92
+ }
93
+ }
94
+ function getElementType(isMultiline) {
95
+ return isMultiline ? "textarea" : "input";
96
+ }
97
+ function InputIcon(props) {
98
+ const { alignment = "start", size = "md", isDisabled = false, icon: icon2 } = props;
99
+ return React.createElement("div", {
100
+ className: utilities_css.classNames(styles.icon, alignment === "start" ? styles.iconStart : styles.iconEnd, isDisabled && styles.iconDisabled, styles[utilities_css.variationName("inputIconPlacement", size)])
101
+ }, React.createElement(Icon.Icon, {
102
+ symbol: icon2,
103
+ size: mapIconSize(size)
104
+ }));
105
+ }
106
+ exports.InputIcon = InputIcon;
107
+ exports.getElementType = getElementType;
108
+ exports.logWarningForMissingAriaLabel = logWarningForMissingAriaLabel;
109
+ exports.logWarningsForInvalidPropConfiguration = logWarningsForInvalidPropConfiguration;
110
+ exports.mapIconSize = mapIconSize;
111
+ exports.styles = styles;
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
32
32
  import * as React from "react";
33
33
  import React__default, { forwardRef } from "react";
34
34
  import { classNames } from "../utilities/css.mjs";
35
- import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-lFMUra6S.mjs";
36
- import { T as Text } from "./Text-D8wg72pq.mjs";
37
- import { I as Icon } from "./Icon-QGDwoR1f.mjs";
35
+ import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-BAsZaqDB.mjs";
36
+ import { T as Text } from "./Text-CQ_8wg0t.mjs";
37
+ import { I as Icon } from "./Icon-BdtOD2WX.mjs";
38
38
  var __defProp2 = Object.defineProperty;
39
39
  var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
40
40
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
@@ -72,7 +72,7 @@ const MoreVert = (_a) => {
72
72
  d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
73
73
  }));
74
74
  };
75
- const UnstyledPressButton$1 = "_UnstyledPressButton_gxa6z_5";
75
+ const UnstyledPressButton$1 = "_UnstyledPressButton_xoqk7_5";
76
76
  const styles$1 = {
77
77
  UnstyledPressButton: UnstyledPressButton$1
78
78
  };
@@ -84,7 +84,7 @@ const UnstyledPressButton = forwardRef((props, ref) => {
84
84
  }));
85
85
  });
86
86
  UnstyledPressButton.displayName = "UnstyledPressButton";
87
- const KebabButton$1 = "_KebabButton_1dwm6_5";
87
+ const KebabButton$1 = "_KebabButton_2v0xo_5";
88
88
  const styles = {
89
89
  KebabButton: KebabButton$1
90
90
  };
@@ -33,8 +33,8 @@ var __objRest = (source, exclude) => {
33
33
  const React = require("react");
34
34
  const utilities_css = require("../utilities/css.js");
35
35
  const usePress = require("./usePress-Dz8YYpge.js");
36
- const Text = require("./Text-CEI17LPu.js");
37
- const Icon = require("./Icon-oPEVg2C8.js");
36
+ const Text = require("./Text-Dfbyoxsz.js");
37
+ const Icon = require("./Icon-DJ8CpeVT.js");
38
38
  function _interopNamespaceDefault(e) {
39
39
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
40
40
  if (e) {
@@ -89,7 +89,7 @@ const MoreVert = (_a) => {
89
89
  d: "M479.88-189.23q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.91 10.74-10.82 25.83-10.82 15.09 0 25.72 10.87 10.62 10.86 10.62 26.12 0 15.1-10.75 25.71-10.74 10.61-25.83 10.61Zm0-254.31q-15.09 0-25.72-10.75-10.62-10.74-10.62-25.83 0-15.09 10.75-25.72 10.74-10.62 25.83-10.62 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.72-10.74 10.62-25.83 10.62Zm0-253.92q-15.09 0-25.72-10.87-10.62-10.86-10.62-26.12 0-15.1 10.75-25.71 10.74-10.61 25.83-10.61 15.09 0 25.72 10.75 10.62 10.74 10.62 25.83 0 15.09-10.75 25.91-10.74 10.82-25.83 10.82Z"
90
90
  }));
91
91
  };
92
- const UnstyledPressButton$1 = "_UnstyledPressButton_gxa6z_5";
92
+ const UnstyledPressButton$1 = "_UnstyledPressButton_xoqk7_5";
93
93
  const styles$1 = {
94
94
  UnstyledPressButton: UnstyledPressButton$1
95
95
  };
@@ -101,7 +101,7 @@ const UnstyledPressButton = React.forwardRef((props, ref) => {
101
101
  }));
102
102
  });
103
103
  UnstyledPressButton.displayName = "UnstyledPressButton";
104
- const KebabButton$1 = "_KebabButton_1dwm6_5";
104
+ const KebabButton$1 = "_KebabButton_2v0xo_5";
105
105
  const styles = {
106
106
  KebabButton: KebabButton$1
107
107
  };
@@ -9,6 +9,9 @@ function $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = "ass
9
9
  else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);
10
10
  } else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);
11
11
  }
12
+ function $319e236875307eab$export$d10ae4f68404609a(assertiveness) {
13
+ if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);
14
+ }
12
15
  class $319e236875307eab$var$LiveAnnouncer {
13
16
  isAttached() {
14
17
  var _this_node;
@@ -73,5 +76,6 @@ class $319e236875307eab$var$LiveAnnouncer {
73
76
  }
74
77
  }
75
78
  export {
76
- $319e236875307eab$export$a9b970dcc4ae71a9 as $
79
+ $319e236875307eab$export$a9b970dcc4ae71a9 as $,
80
+ $319e236875307eab$export$d10ae4f68404609a as a
77
81
  };
@@ -10,6 +10,9 @@ function $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = "ass
10
10
  else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);
11
11
  } else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);
12
12
  }
13
+ function $319e236875307eab$export$d10ae4f68404609a(assertiveness) {
14
+ if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);
15
+ }
13
16
  class $319e236875307eab$var$LiveAnnouncer {
14
17
  isAttached() {
15
18
  var _this_node;
@@ -74,3 +77,4 @@ class $319e236875307eab$var$LiveAnnouncer {
74
77
  }
75
78
  }
76
79
  exports.$319e236875307eab$export$a9b970dcc4ae71a9 = $319e236875307eab$export$a9b970dcc4ae71a9;
80
+ exports.$319e236875307eab$export$d10ae4f68404609a = $319e236875307eab$export$d10ae4f68404609a;