@easypost/easy-ui 1.0.0-alpha.111 → 1.0.0-alpha.113

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 (244) hide show
  1. package/AlertBadge/AlertBadge.d.ts +1 -1
  2. package/AlertBadge/AlertBadge.d.ts.map +1 -1
  3. package/AlertBadge/index.js +20 -16
  4. package/AlertBadge/index.mjs +20 -16
  5. package/Badge/index.js +29 -19
  6. package/Badge/index.mjs +29 -19
  7. package/Banner/index.js +19 -12
  8. package/Banner/index.mjs +19 -12
  9. package/Button/index.js +1 -1
  10. package/Button/index.mjs +1 -1
  11. package/CHANGELOG.md +13 -0
  12. package/Calendar/index.js +1 -1
  13. package/Calendar/index.mjs +1 -1
  14. package/Card/index.js +1 -1
  15. package/Card/index.mjs +1 -1
  16. package/CheckableCard/index.js +33 -24
  17. package/CheckableCard/index.mjs +33 -24
  18. package/Checkbox/index.js +1 -1
  19. package/Checkbox/index.mjs +1 -1
  20. package/CodeBlock/CodeBlock.d.ts.map +1 -1
  21. package/CodeBlock/context.d.ts +2 -1
  22. package/CodeBlock/context.d.ts.map +1 -1
  23. package/CodeBlock/index.js +81 -59
  24. package/CodeBlock/index.mjs +81 -59
  25. package/CodeSnippet/index.js +1 -1
  26. package/CodeSnippet/index.mjs +1 -1
  27. package/ColorPicker/index.js +71 -54
  28. package/ColorPicker/index.mjs +71 -54
  29. package/CustomerPortalLayout/index.js +101 -72
  30. package/CustomerPortalLayout/index.mjs +101 -72
  31. package/DataGrid/index.js +229 -173
  32. package/DataGrid/index.mjs +229 -173
  33. package/DatePicker/index.js +10 -8
  34. package/DatePicker/index.mjs +10 -8
  35. package/DateRangePicker/index.js +10 -8
  36. package/DateRangePicker/index.mjs +10 -8
  37. package/Drawer/context.d.ts +2 -2
  38. package/Drawer/context.d.ts.map +1 -1
  39. package/Drawer/index.js +99 -78
  40. package/Drawer/index.mjs +99 -78
  41. package/Drawer/useIntersectionDetection.d.ts +1 -1
  42. package/Drawer/useIntersectionDetection.d.ts.map +1 -1
  43. package/DropdownButton/index.js +15 -7
  44. package/DropdownButton/index.mjs +16 -8
  45. package/EmptyStateCard/index.js +53 -33
  46. package/EmptyStateCard/index.mjs +53 -33
  47. package/FocusedProductLayout/index.js +104 -76
  48. package/FocusedProductLayout/index.mjs +104 -76
  49. package/ForgeLayout/index.js +283 -217
  50. package/ForgeLayout/index.mjs +283 -217
  51. package/FormLayout/index.js +38 -24
  52. package/FormLayout/index.mjs +38 -24
  53. package/HorizontalGrid/index.js +1 -1
  54. package/HorizontalGrid/index.mjs +1 -1
  55. package/HorizontalStack/index.js +1 -1
  56. package/HorizontalStack/index.mjs +1 -1
  57. package/Icon/index.js +1 -1
  58. package/Icon/index.mjs +1 -1
  59. package/IconButton/index.js +16 -9
  60. package/IconButton/index.mjs +17 -10
  61. package/InputField/index.js +1 -1
  62. package/InputField/index.mjs +1 -1
  63. package/KebabButton/index.js +1 -1
  64. package/KebabButton/index.mjs +1 -1
  65. package/Menu/MenuTrigger.d.ts +1 -1
  66. package/Menu/MenuTrigger.d.ts.map +1 -1
  67. package/Menu/index.js +1 -1
  68. package/Menu/index.mjs +1 -1
  69. package/Modal/context.d.ts +3 -3
  70. package/Modal/context.d.ts.map +1 -1
  71. package/Modal/index.js +124 -93
  72. package/Modal/index.mjs +124 -93
  73. package/Modal/useIntersectionDetection.d.ts +1 -1
  74. package/Modal/useIntersectionDetection.d.ts.map +1 -1
  75. package/MultiSelect/MultiSelectDropdown.d.ts +2 -2
  76. package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -1
  77. package/MultiSelect/index.js +106 -83
  78. package/MultiSelect/index.mjs +107 -84
  79. package/MultiSelect/utilities.d.ts +1 -1
  80. package/MultiSelect/utilities.d.ts.map +1 -1
  81. package/MultipageSection/index.js +94 -71
  82. package/MultipageSection/index.mjs +94 -71
  83. package/NexusLayout/index.js +136 -102
  84. package/NexusLayout/index.mjs +136 -102
  85. package/Notification/NotificationTransition.d.ts +1 -1
  86. package/Notification/NotificationTransition.d.ts.map +1 -1
  87. package/Notification/index.js +1 -1
  88. package/Notification/index.mjs +1 -1
  89. package/Pagination/index.js +62 -50
  90. package/Pagination/index.mjs +63 -51
  91. package/PillGroup/index.js +1 -1
  92. package/PillGroup/index.mjs +1 -1
  93. package/PlanCard/illustrations/Building01/index.js +532 -531
  94. package/PlanCard/illustrations/Building01/index.mjs +532 -531
  95. package/PlanCard/illustrations/Building02/index.js +206 -205
  96. package/PlanCard/illustrations/Building02/index.mjs +206 -205
  97. package/PlanCard/illustrations/Building03/index.js +773 -772
  98. package/PlanCard/illustrations/Building03/index.mjs +773 -772
  99. package/PlanCard/illustrations/Building04/index.js +1528 -1527
  100. package/PlanCard/illustrations/Building04/index.mjs +1528 -1527
  101. package/PlanCard/index.js +59 -36
  102. package/PlanCard/index.mjs +60 -37
  103. package/ProductLayout/index.js +132 -91
  104. package/ProductLayout/index.mjs +132 -91
  105. package/Provider/index.js +18 -14
  106. package/Provider/index.mjs +18 -14
  107. package/RadioButtonGroup/index.js +14 -10
  108. package/RadioButtonGroup/index.mjs +14 -10
  109. package/RadioGroup/index.js +1 -1
  110. package/RadioGroup/index.mjs +1 -1
  111. package/RangeCalendar/index.js +1 -1
  112. package/RangeCalendar/index.mjs +1 -1
  113. package/SearchNav/CondensedSearchNav.d.ts.map +1 -1
  114. package/SearchNav/index.js +197 -141
  115. package/SearchNav/index.mjs +197 -141
  116. package/SearchNav/utilities.d.ts +3 -3
  117. package/SearchNav/utilities.d.ts.map +1 -1
  118. package/SectionCard/index.js +43 -25
  119. package/SectionCard/index.mjs +43 -25
  120. package/Select/index.js +74 -62
  121. package/Select/index.mjs +74 -62
  122. package/SelectorErrorTooltip/index.js +1 -1
  123. package/SelectorErrorTooltip/index.mjs +1 -1
  124. package/Spinner/index.js +1 -1
  125. package/Spinner/index.mjs +1 -1
  126. package/SplitToggleCard/index.js +22 -16
  127. package/SplitToggleCard/index.mjs +22 -16
  128. package/Stepper/index.js +1 -1
  129. package/Stepper/index.mjs +1 -1
  130. package/TabNav/index.js +1 -1
  131. package/TabNav/index.mjs +1 -1
  132. package/TabPanels/index.js +22 -16
  133. package/TabPanels/index.mjs +24 -18
  134. package/Tabs/index.js +1 -1
  135. package/Tabs/index.mjs +1 -1
  136. package/Text/index.js +1 -1
  137. package/Text/index.mjs +1 -1
  138. package/TextField/index.js +1 -1
  139. package/TextField/index.mjs +1 -1
  140. package/Textarea/index.js +3 -3
  141. package/Textarea/index.mjs +3 -3
  142. package/Theme/index.js +1 -1
  143. package/Theme/index.mjs +1 -1
  144. package/Toggle/index.js +1 -1
  145. package/Toggle/index.mjs +1 -1
  146. package/ToggleCard/index.js +20 -15
  147. package/ToggleCard/index.mjs +21 -16
  148. package/Tooltip/index.js +1 -1
  149. package/Tooltip/index.mjs +1 -1
  150. package/UnstyledButton/index.js +1 -1
  151. package/UnstyledButton/index.mjs +1 -1
  152. package/VerticalNav/index.js +115 -88
  153. package/VerticalNav/index.mjs +115 -88
  154. package/VerticalStack/index.js +1 -1
  155. package/VerticalStack/index.mjs +1 -1
  156. package/__chunks__/{Button-5AuHgwU3.js → Button-C3vDXJsJ.js} +15 -12
  157. package/__chunks__/{Button-BsGH6vGC.mjs → Button-Dexauftx.mjs} +16 -13
  158. package/__chunks__/{Calendar-D09mdpmC.js → Calendar-BEbdigVB.js} +3 -2
  159. package/__chunks__/{Calendar-BGZysoV0.mjs → Calendar-BOxw8lwX.mjs} +3 -2
  160. package/__chunks__/{CalendarBase-Bn9o8BdD.mjs → CalendarBase-3a9i7QNo.mjs} +86 -64
  161. package/__chunks__/{CalendarBase-DHxad3N9.js → CalendarBase-Bx8bdXeT.js} +86 -64
  162. package/__chunks__/{Card-CJug4GMX.mjs → Card-8778avMv.mjs} +21 -12
  163. package/__chunks__/{Card-BM2DKiVA.js → Card-DIZFYg6E.js} +21 -12
  164. package/__chunks__/{Checkbox-BWfY9XqH.mjs → Checkbox-C-NlI-Ym.mjs} +36 -28
  165. package/__chunks__/{Checkbox-D2-8vvdr.js → Checkbox-DFWhjlaO.js} +36 -28
  166. package/__chunks__/{CodeSnippet-CIijbclb.js → CodeSnippet-BCOMwE07.js} +16 -12
  167. package/__chunks__/{CodeSnippet-QpCpkoXv.mjs → CodeSnippet-CWnMHdVu.mjs} +16 -12
  168. package/__chunks__/{DatePickerBase-CFB0JDQA.mjs → DatePickerBase-C4PwUr9x.mjs} +80 -62
  169. package/__chunks__/{DatePickerBase-DSPIErms.js → DatePickerBase-XoRply_u.js} +80 -62
  170. package/__chunks__/EasyPostLogo-D3WNdZ29.js +22 -0
  171. package/__chunks__/EasyPostLogo-tf6CCEAq.mjs +23 -0
  172. package/__chunks__/{HelpMenu-CO6kYktc.mjs → HelpMenu-8r0cjx5z.mjs} +30 -21
  173. package/__chunks__/{HelpMenu-nihaGEVy.js → HelpMenu-DBo_fklD.js} +30 -20
  174. package/__chunks__/{HorizontalGrid-CAwv7zKY.js → HorizontalGrid-BAvSeg39.js} +5 -3
  175. package/__chunks__/{HorizontalGrid-Dz8EFgmu.mjs → HorizontalGrid-C4MBFEH-.mjs} +6 -4
  176. package/__chunks__/{HorizontalStack-CxE8tPx_.mjs → HorizontalStack-BkE82C73.mjs} +6 -4
  177. package/__chunks__/{HorizontalStack-CXpjASZi.js → HorizontalStack-DidoI4Ks.js} +5 -3
  178. package/__chunks__/{Icon-W8F9w-jS.js → Icon-BVa5ddiD.js} +11 -10
  179. package/__chunks__/{Icon-0SN9dbwU.mjs → Icon-DzTns8u5.mjs} +11 -10
  180. package/__chunks__/{InputCaption-BJO9_Tby.mjs → InputCaption-B8bZH6sX.mjs} +19 -15
  181. package/__chunks__/{InputCaption-C3Hf9Hvt.js → InputCaption-Dkyn1sg6.js} +19 -15
  182. package/__chunks__/{InputField-dq5XIhr1.mjs → InputField-BTrYBVAD.mjs} +77 -66
  183. package/__chunks__/{InputField-CDHznUZd.js → InputField-Dvkk5R1K.js} +77 -66
  184. package/__chunks__/{InputIcon-Bpg4lyQx.mjs → InputIcon-BLJ6dx_5.mjs} +9 -8
  185. package/__chunks__/{InputIcon-DdcvN3A4.js → InputIcon-BSIAXX9k.js} +9 -8
  186. package/__chunks__/{KebabButton-DdzHU7is.js → KebabButton-3FnxY-Fz.js} +15 -8
  187. package/__chunks__/{KebabButton-Bf1OdC5_.mjs → KebabButton-DSK0ISAn.mjs} +15 -8
  188. package/__chunks__/{Menu-DHwqwFlg.mjs → Menu-C2F4fvhd.mjs} +88 -70
  189. package/__chunks__/{Menu-Kfc6nxFP.js → Menu-Du8SsMeJ.js} +88 -70
  190. package/__chunks__/{Notification-vF_YGVIP.js → Notification-CeJn5Qq1.js} +62 -48
  191. package/__chunks__/{Notification-BoT3Hm0B.mjs → Notification-CgUT2gv6.mjs} +64 -50
  192. package/__chunks__/{PillGroup-DjLJ4wVb.mjs → PillGroup-EJ8t8SrT.mjs} +41 -27
  193. package/__chunks__/{PillGroup-CAHVIlU0.js → PillGroup-rTS853Rr.js} +41 -27
  194. package/__chunks__/{RadioGroup-CGQKZwDU.js → RadioGroup-BFqH1Csi.js} +58 -40
  195. package/__chunks__/{RadioGroup-DUu5GEpn.mjs → RadioGroup-DBgIqOkZ.mjs} +58 -40
  196. package/__chunks__/{RangeCalendar-LPcJB19o.mjs → RangeCalendar-BSsmX9l4.mjs} +3 -2
  197. package/__chunks__/{RangeCalendar-Ckqj2J9L.js → RangeCalendar-Do2nei5A.js} +3 -2
  198. package/__chunks__/{SelectOverlay-DptO7xtn.mjs → SelectOverlay-DUIIhF4t.mjs} +62 -51
  199. package/__chunks__/{SelectOverlay-CmbC4zrD.js → SelectOverlay-DjiJHthj.js} +62 -51
  200. package/__chunks__/{SelectorErrorTooltip-Dw1Fvd_q.mjs → SelectorErrorTooltip-BC-1JoX3.mjs} +19 -12
  201. package/__chunks__/{SelectorErrorTooltip-_D8DSBKs.js → SelectorErrorTooltip-BMxbuFiM.js} +19 -11
  202. package/__chunks__/{Spinner-DOmPV59I.mjs → Spinner-2PFCOK3I.mjs} +17 -13
  203. package/__chunks__/{Spinner-D0ifPtVV.js → Spinner-Dd68v9QX.js} +16 -12
  204. package/__chunks__/{Stepper-CX0Mu37p.js → Stepper-BZ90AIx0.js} +47 -36
  205. package/__chunks__/{Stepper-BEyDIPNJ.mjs → Stepper-q3YNLglj.mjs} +48 -37
  206. package/__chunks__/{TabNav-vCt_zTvE.mjs → TabNav-BnpNl7tj.mjs} +10 -8
  207. package/__chunks__/{TabNav-B8aEzVyr.js → TabNav-CLVG0bL2.js} +10 -8
  208. package/__chunks__/{Tabs-BL8odO0p.js → Tabs-5_61DIBw.js} +46 -37
  209. package/__chunks__/{Tabs-DJ4aKu11.mjs → Tabs-CtyYEye0.mjs} +47 -38
  210. package/__chunks__/{Text-CSESKR_s.js → Text-C4CEsglh.js} +5 -4
  211. package/__chunks__/{Text-YOL3isF4.mjs → Text-u9mYLeWj.mjs} +5 -4
  212. package/__chunks__/{TextField-D2QhDAdD.mjs → TextField-D1JGaTQv.mjs} +3 -3
  213. package/__chunks__/{TextField-94cCP805.js → TextField-DE1vPtQm.js} +3 -3
  214. package/__chunks__/{Theme-BAFk7BvV.mjs → Theme-CyUCrGdN.mjs} +28 -18
  215. package/__chunks__/{Theme-DqbmY4wy.js → Theme-unLHjjnm.js} +27 -17
  216. package/__chunks__/{Toggle-D2ucsFxO.js → Toggle-BHzAGPDh.js} +43 -37
  217. package/__chunks__/{Toggle-CxjLdmzW.mjs → Toggle-DioYP2KQ.mjs} +43 -37
  218. package/__chunks__/{Tooltip-DAyUY3na.mjs → Tooltip-BKGkKnOx.mjs} +25 -17
  219. package/__chunks__/{Tooltip-DqpxBjpa.js → Tooltip-COjtKErw.js} +25 -17
  220. package/__chunks__/{UnstyledButton-DpQ5Ic9D.mjs → UnstyledButton-BCg7eEyP.mjs} +6 -4
  221. package/__chunks__/{UnstyledButton-BFpQ2Irc.js → UnstyledButton-_YQekhlm.js} +5 -3
  222. package/__chunks__/{VerticalStack-C2yDQVHD.mjs → VerticalStack-Cbdpucbh.mjs} +6 -4
  223. package/__chunks__/{VerticalStack-Dzpv3O67.js → VerticalStack-CunLpHRv.js} +5 -3
  224. package/__chunks__/index-CqNUlUoB.js +217 -0
  225. package/__chunks__/index-ee-P7jQr.mjs +218 -0
  226. package/__chunks__/jsx-runtime-CH1d66I3.js +320 -0
  227. package/__chunks__/jsx-runtime-DTpFD6nx.mjs +321 -0
  228. package/__chunks__/{useEdgeInterceptors-D_DARZZd.mjs → useEdgeInterceptors-BBmo6MI4.mjs} +17 -14
  229. package/__chunks__/{useEdgeInterceptors-Ihk8NfjJ.js → useEdgeInterceptors-BLxn3eUi.js} +16 -13
  230. package/package.json +5 -7
  231. package/types.d.ts +1 -1
  232. package/types.d.ts.map +1 -1
  233. package/utilities/Noop.d.ts +1 -1
  234. package/utilities/Noop.d.ts.map +1 -1
  235. package/utilities/react.d.ts +1 -1
  236. package/utilities/react.d.ts.map +1 -1
  237. package/utilities/react.js +1 -1
  238. package/utilities/react.mjs +1 -1
  239. package/utilities/test.d.ts +1 -0
  240. package/utilities/test.d.ts.map +1 -1
  241. package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +0 -22
  242. package/__chunks__/EasyPostLogo-DQt5KlFX.js +0 -21
  243. package/__chunks__/index-CUcRN4NO.js +0 -311
  244. package/__chunks__/index-Izk6uvQC.mjs +0 -312
@@ -30,9 +30,10 @@ var __objRest = (source, exclude) => {
30
30
  }
31
31
  return target;
32
32
  };
33
+ const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
33
34
  const React = require("react");
34
- const UnstyledButton = require("./UnstyledButton-BFpQ2Irc.js");
35
- const Icon = require("./Icon-W8F9w-jS.js");
35
+ const UnstyledButton = require("./UnstyledButton-_YQekhlm.js");
36
+ const Icon = require("./Icon-BVa5ddiD.js");
36
37
  const utilities_css = require("../utilities/css.js");
37
38
  const Button$1 = "_Button_vl41p_4";
38
39
  const colorPrimary = "_colorPrimary_vl41p_19";
@@ -79,20 +80,22 @@ const Button = React.forwardRef((props, inRef) => {
79
80
  const canUseIcon = (iconAtEnd2 || iconAtStart2) && !bothIconPropsDefined && variant !== "link";
80
81
  UnstyledButton.logWarningIfInvalidColorVariantCombination(color, variant);
81
82
  const iconSize = size === "sm" ? "xs" : "md";
82
- return React.createElement(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({
83
+ return jsxRuntime.jsxRuntimeExports.jsxs(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({
83
84
  isDisabled,
84
85
  ref: inRef,
85
86
  href
86
87
  }, restProps), {
87
- className: utilities_css.classNames(styles.Button, styles[utilities_css.variationName("color", color)], styles[utilities_css.variationName("variant", variant)], styles[utilities_css.variationName("size", size)], isBlock && styles.block)
88
- }), iconAtStart2 && canUseIcon && React.createElement(Icon.Icon, {
89
- symbol: iconAtStart2,
90
- size: iconSize
91
- }), React.createElement("span", {
92
- className: utilities_css.classNames(iconAtStart2 && canUseIcon && styles.iconAtStart, iconAtEnd2 && canUseIcon && styles.iconAtEnd)
93
- }, children), iconAtEnd2 && canUseIcon && React.createElement(Icon.Icon, {
94
- symbol: iconAtEnd2,
95
- size: iconSize
88
+ className: utilities_css.classNames(styles.Button, styles[utilities_css.variationName("color", color)], styles[utilities_css.variationName("variant", variant)], styles[utilities_css.variationName("size", size)], isBlock && styles.block),
89
+ children: [iconAtStart2 && canUseIcon && jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, {
90
+ symbol: iconAtStart2,
91
+ size: iconSize
92
+ }), jsxRuntime.jsxRuntimeExports.jsx("span", {
93
+ className: utilities_css.classNames(iconAtStart2 && canUseIcon && styles.iconAtStart, iconAtEnd2 && canUseIcon && styles.iconAtEnd),
94
+ children
95
+ }), iconAtEnd2 && canUseIcon && jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, {
96
+ symbol: iconAtEnd2,
97
+ size: iconSize
98
+ })]
96
99
  }));
97
100
  });
98
101
  Button.displayName = "Button";
@@ -29,9 +29,10 @@ var __objRest = (source, exclude) => {
29
29
  }
30
30
  return target;
31
31
  };
32
- import React__default, { forwardRef } from "react";
33
- import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "./UnstyledButton-DpQ5Ic9D.mjs";
34
- import { I as Icon } from "./Icon-0SN9dbwU.mjs";
32
+ import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
33
+ import { forwardRef } from "react";
34
+ import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "./UnstyledButton-BCg7eEyP.mjs";
35
+ import { I as Icon } from "./Icon-DzTns8u5.mjs";
35
36
  import { classNames, variationName } from "../utilities/css.mjs";
36
37
  const Button$1 = "_Button_vl41p_4";
37
38
  const colorPrimary = "_colorPrimary_vl41p_19";
@@ -78,20 +79,22 @@ const Button = forwardRef((props, inRef) => {
78
79
  const canUseIcon = (iconAtEnd2 || iconAtStart2) && !bothIconPropsDefined && variant !== "link";
79
80
  logWarningIfInvalidColorVariantCombination(color, variant);
80
81
  const iconSize = size === "sm" ? "xs" : "md";
81
- return React__default.createElement(UnstyledButton, __spreadProps(__spreadValues({
82
+ return jsxRuntimeExports.jsxs(UnstyledButton, __spreadProps(__spreadValues({
82
83
  isDisabled,
83
84
  ref: inRef,
84
85
  href
85
86
  }, restProps), {
86
- className: classNames(styles.Button, styles[variationName("color", color)], styles[variationName("variant", variant)], styles[variationName("size", size)], isBlock && styles.block)
87
- }), iconAtStart2 && canUseIcon && React__default.createElement(Icon, {
88
- symbol: iconAtStart2,
89
- size: iconSize
90
- }), React__default.createElement("span", {
91
- className: classNames(iconAtStart2 && canUseIcon && styles.iconAtStart, iconAtEnd2 && canUseIcon && styles.iconAtEnd)
92
- }, children), iconAtEnd2 && canUseIcon && React__default.createElement(Icon, {
93
- symbol: iconAtEnd2,
94
- size: iconSize
87
+ className: classNames(styles.Button, styles[variationName("color", color)], styles[variationName("variant", variant)], styles[variationName("size", size)], isBlock && styles.block),
88
+ children: [iconAtStart2 && canUseIcon && jsxRuntimeExports.jsx(Icon, {
89
+ symbol: iconAtStart2,
90
+ size: iconSize
91
+ }), jsxRuntimeExports.jsx("span", {
92
+ className: classNames(iconAtStart2 && canUseIcon && styles.iconAtStart, iconAtEnd2 && canUseIcon && styles.iconAtEnd),
93
+ children
94
+ }), iconAtEnd2 && canUseIcon && jsxRuntimeExports.jsx(Icon, {
95
+ symbol: iconAtEnd2,
96
+ size: iconSize
97
+ })]
95
98
  }));
96
99
  });
97
100
  Button.displayName = "Button";
@@ -18,8 +18,9 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
21
22
  const React = require("react");
22
- const CalendarBase = require("./CalendarBase-DHxad3N9.js");
23
+ const CalendarBase = require("./CalendarBase-Bx8bdXeT.js");
23
24
  const context = require("./context-DJdNiOsb.js");
24
25
  function $9942cad8a072a530$export$3ee915f8151bd4f1(props, state) {
25
26
  return CalendarBase.$c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state);
@@ -32,7 +33,7 @@ function Calendar(props) {
32
33
  createCalendar: CalendarBase.$64244302c3013299$export$dd0bbc9b26defe37
33
34
  }));
34
35
  const calendarProps = $9942cad8a072a530$export$3ee915f8151bd4f1(props, state);
35
- return React.createElement(CalendarBase.CalendarBase, __spreadProps(__spreadValues(__spreadValues({}, props), calendarProps), {
36
+ return jsxRuntime.jsxRuntimeExports.jsx(CalendarBase.CalendarBase, __spreadProps(__spreadValues(__spreadValues({}, props), calendarProps), {
36
37
  state,
37
38
  calendarRef
38
39
  }));
@@ -17,8 +17,9 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
20
21
  import React__default from "react";
21
- import { $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, C as CalendarBase, b as $64244302c3013299$export$dd0bbc9b26defe37 } from "./CalendarBase-Bn9o8BdD.mjs";
22
+ import { $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, C as CalendarBase, b as $64244302c3013299$export$dd0bbc9b26defe37 } from "./CalendarBase-3a9i7QNo.mjs";
22
23
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-5UR8ToA1.mjs";
23
24
  function $9942cad8a072a530$export$3ee915f8151bd4f1(props, state) {
24
25
  return $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state);
@@ -31,7 +32,7 @@ function Calendar(props) {
31
32
  createCalendar: $64244302c3013299$export$dd0bbc9b26defe37
32
33
  }));
33
34
  const calendarProps = $9942cad8a072a530$export$3ee915f8151bd4f1(props, state);
34
- return React__default.createElement(CalendarBase, __spreadProps(__spreadValues(__spreadValues({}, props), calendarProps), {
35
+ return jsxRuntimeExports.jsx(CalendarBase, __spreadProps(__spreadValues(__spreadValues({}, props), calendarProps), {
35
36
  state,
36
37
  calendarRef
37
38
  }));
@@ -37,14 +37,15 @@ import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps
37
37
  import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-AshNb54x.mjs";
38
38
  import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-CdLMBMvy.mjs";
39
39
  import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-DWQ_olZl.mjs";
40
- import { V as VerticalStack } from "./VerticalStack-C2yDQVHD.mjs";
41
- import { T as Text } from "./Text-YOL3isF4.mjs";
40
+ import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
41
+ import { V as VerticalStack } from "./VerticalStack-Cbdpucbh.mjs";
42
+ import { T as Text } from "./Text-u9mYLeWj.mjs";
42
43
  import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-5UR8ToA1.mjs";
43
- import { I as Icon } from "./Icon-0SN9dbwU.mjs";
44
- import { H as HorizontalStack } from "./HorizontalStack-CxE8tPx_.mjs";
44
+ import { I as Icon } from "./Icon-DzTns8u5.mjs";
45
+ import { H as HorizontalStack } from "./HorizontalStack-BkE82C73.mjs";
45
46
  import { K as KeyboardDoubleArrowLeft, a as KeyboardDoubleArrowRight } from "./KeyboardDoubleArrowRight-AAMLvGk-.mjs";
46
47
  import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-BrpRPZGD.mjs";
47
- import { U as UnstyledButton } from "./UnstyledButton-DpQ5Ic9D.mjs";
48
+ import { U as UnstyledButton } from "./UnstyledButton-BCg7eEyP.mjs";
48
49
  import { _ as _class_private_field_init, $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Cw67P1FM.mjs";
49
50
  import { l as lodashExports } from "./lodash-B19QVK6q.mjs";
50
51
  import { classNames } from "../utilities/css.mjs";
@@ -3388,21 +3389,32 @@ function CalendarHeader(_a) {
3388
3389
  timeZone: state.timeZone
3389
3390
  });
3390
3391
  const title = monthDateFormatter.format(state.visibleRange.start.toDate(state.timeZone));
3391
- return React__default.createElement("div", {
3392
- className: styles$3.CalendarHeader
3393
- }, React__default.createElement($5c3e21d68f1c4674$export$439d29a4e110a164, null, React__default.createElement("h2", null, calendarProps["aria-label"])), React__default.createElement(HorizontalStack, {
3394
- align: "space-between",
3395
- blockAlign: "center"
3396
- }, React__default.createElement(UnstyledButton, __spreadValues({}, restPrevButtonProps), React__default.createElement(Icon, {
3397
- symbol: KeyboardDoubleArrowLeft,
3398
- color: "neutral.000"
3399
- })), React__default.createElement(Text, {
3400
- variant: "subtitle2",
3401
- color: "neutral.000"
3402
- }, title), React__default.createElement(UnstyledButton, __spreadValues({}, restNextButtonProps), React__default.createElement(Icon, {
3403
- symbol: KeyboardDoubleArrowRight,
3404
- color: "neutral.000"
3405
- }))));
3392
+ return jsxRuntimeExports.jsxs("div", {
3393
+ className: styles$3.CalendarHeader,
3394
+ children: [jsxRuntimeExports.jsx($5c3e21d68f1c4674$export$439d29a4e110a164, {
3395
+ children: jsxRuntimeExports.jsx("h2", {
3396
+ children: calendarProps["aria-label"]
3397
+ })
3398
+ }), jsxRuntimeExports.jsxs(HorizontalStack, {
3399
+ align: "space-between",
3400
+ blockAlign: "center",
3401
+ children: [jsxRuntimeExports.jsx(UnstyledButton, __spreadProps(__spreadValues({}, restPrevButtonProps), {
3402
+ children: jsxRuntimeExports.jsx(Icon, {
3403
+ symbol: KeyboardDoubleArrowLeft,
3404
+ color: "neutral.000"
3405
+ })
3406
+ })), jsxRuntimeExports.jsx(Text, {
3407
+ variant: "subtitle2",
3408
+ color: "neutral.000",
3409
+ children: title
3410
+ }), jsxRuntimeExports.jsx(UnstyledButton, __spreadProps(__spreadValues({}, restNextButtonProps), {
3411
+ children: jsxRuntimeExports.jsx(Icon, {
3412
+ symbol: KeyboardDoubleArrowRight,
3413
+ color: "neutral.000"
3414
+ })
3415
+ }))]
3416
+ })]
3417
+ });
3406
3418
  }
3407
3419
  const CellContainer = "_CellContainer_1dmsi_4";
3408
3420
  const rangeSelectionStart = "_rangeSelectionStart_1dmsi_7";
@@ -3460,15 +3472,18 @@ function CalendarCell({ state, date }) {
3460
3472
  const isRangeSelection = isSelected2 && isRangeCalendar && !isSelectionStart && !isSelectionEnd;
3461
3473
  const dayOfWeek = $14e0f24ef4ac5c92$export$2061056d06d7cdf7(date, locale);
3462
3474
  const isRoundedRight = isSelected2 && (isSelectionEnd || dayOfWeek === 6 || date.day === date.calendar.getDaysInMonth(date));
3463
- return React__default.createElement("td", __spreadProps(__spreadValues({}, cellProps), {
3464
- className: styles$2.CellContainer
3465
- }), React__default.createElement("div", __spreadProps(__spreadValues({}, buttonProps), {
3466
- ref,
3467
- className: classNames(styles$2.CalendarCell, isSelected2 && styles$2.isSelected, (state.isDisabled || isDisabled2) && styles$2.isDisabled, isUnavailable2 && styles$2.isUnavailable, state.isReadOnly && styles$2.isReadOnly, isOutsideVisibleRange && styles$2.isOutsideCurrentMonth, isSelectionStart && !isDisabled2 && styles$2.rangeSelectionStart, isRangeSelection && styles$2.rangeSelection, isRoundedRight && styles$2.roundedRight),
3468
- onClick: handleMonthNavigation
3469
- }), React__default.createElement(Text, {
3470
- variant: "body1"
3471
- }, formattedDate)));
3475
+ return jsxRuntimeExports.jsx("td", __spreadProps(__spreadValues({}, cellProps), {
3476
+ className: styles$2.CellContainer,
3477
+ children: jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, buttonProps), {
3478
+ ref,
3479
+ className: classNames(styles$2.CalendarCell, isSelected2 && styles$2.isSelected, (state.isDisabled || isDisabled2) && styles$2.isDisabled, isUnavailable2 && styles$2.isUnavailable, state.isReadOnly && styles$2.isReadOnly, isOutsideVisibleRange && styles$2.isOutsideCurrentMonth, isSelectionStart && !isDisabled2 && styles$2.rangeSelectionStart, isRangeSelection && styles$2.rangeSelection, isRoundedRight && styles$2.roundedRight),
3480
+ onClick: handleMonthNavigation,
3481
+ children: jsxRuntimeExports.jsx(Text, {
3482
+ variant: "body1",
3483
+ children: formattedDate
3484
+ })
3485
+ }))
3486
+ }));
3472
3487
  }
3473
3488
  const CalendarGrid$1 = "_CalendarGrid_b6k9s_4";
3474
3489
  const CalendarGridHeader = "_CalendarGridHeader_b6k9s_8";
@@ -3483,24 +3498,28 @@ function CalendarGrid(_g) {
3483
3498
  const visibleStartDate = state.visibleRange.start;
3484
3499
  const { gridProps, headerProps, weekDays } = $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state);
3485
3500
  const weeksInMonth = $14e0f24ef4ac5c92$export$ccc1b2479e7dd654(visibleStartDate, locale);
3486
- return React__default.createElement("table", __spreadProps(__spreadValues({}, gridProps), {
3487
- className: styles$1.CalendarGrid
3488
- }), React__default.createElement("thead", __spreadProps(__spreadValues({}, headerProps), {
3489
- className: styles$1.CalendarGridHeader
3490
- }), React__default.createElement("tr", null, weekDays.map((day, index) => React__default.createElement("th", {
3491
- key: index
3492
- }, React__default.createElement(Text, {
3493
- variant: "caption3",
3494
- color: "neutral.000"
3495
- }, day))))), React__default.createElement("tbody", null, [...new Array(weeksInMonth).keys()].map((weekIndex) => React__default.createElement("tr", {
3496
- key: weekIndex
3497
- }, state.getDatesInWeek(weekIndex).map((date, i) => date && ($14e0f24ef4ac5c92$export$a18c89cbd24170ff(visibleStartDate, date) || showDaysOutsideCurrentMonth) ? React__default.createElement(CalendarCell, {
3498
- key: i,
3499
- state,
3500
- date
3501
- }) : React__default.createElement("td", {
3502
- key: i
3503
- }))))));
3501
+ return jsxRuntimeExports.jsxs("table", __spreadProps(__spreadValues({}, gridProps), {
3502
+ className: styles$1.CalendarGrid,
3503
+ children: [jsxRuntimeExports.jsx("thead", __spreadProps(__spreadValues({}, headerProps), {
3504
+ className: styles$1.CalendarGridHeader,
3505
+ children: jsxRuntimeExports.jsx("tr", {
3506
+ children: weekDays.map((day, index) => jsxRuntimeExports.jsx("th", {
3507
+ children: jsxRuntimeExports.jsx(Text, {
3508
+ variant: "caption3",
3509
+ color: "neutral.000",
3510
+ children: day
3511
+ })
3512
+ }, index))
3513
+ })
3514
+ })), jsxRuntimeExports.jsx("tbody", {
3515
+ children: [...new Array(weeksInMonth).keys()].map((weekIndex) => jsxRuntimeExports.jsx("tr", {
3516
+ children: state.getDatesInWeek(weekIndex).map((date, i) => date && ($14e0f24ef4ac5c92$export$a18c89cbd24170ff(visibleStartDate, date) || showDaysOutsideCurrentMonth) ? jsxRuntimeExports.jsx(CalendarCell, {
3517
+ state,
3518
+ date
3519
+ }, i) : jsxRuntimeExports.jsx("td", {}, i))
3520
+ }, weekIndex))
3521
+ })]
3522
+ }));
3504
3523
  }
3505
3524
  const Calendar = "_Calendar_r94s6_4";
3506
3525
  const styles = {
@@ -3508,23 +3527,26 @@ const styles = {
3508
3527
  };
3509
3528
  function CalendarBase(props) {
3510
3529
  const _a = props, { state, isInvalid, errorMessage, calendarProps, nextButtonProps, prevButtonProps, calendarRef, showDaysOutsideCurrentMonth } = _a, restProps = __objRest(_a, ["state", "isInvalid", "errorMessage", "calendarProps", "nextButtonProps", "prevButtonProps", "calendarRef", "showDaysOutsideCurrentMonth"]);
3511
- return React__default.createElement(VerticalStack, {
3512
- gap: "1"
3513
- }, React__default.createElement("div", __spreadProps(__spreadValues({}, calendarProps), {
3514
- className: styles.Calendar,
3515
- ref: calendarRef
3516
- }), React__default.createElement(CalendarHeader, {
3517
- state,
3518
- calendarProps,
3519
- prevButtonProps,
3520
- nextButtonProps
3521
- }), React__default.createElement(CalendarGrid, __spreadValues({
3522
- state,
3523
- showDaysOutsideCurrentMonth
3524
- }, restProps))), isInvalid && React__default.createElement(Text, {
3525
- color: "negative.500",
3526
- variant: "caption"
3527
- }, errorMessage));
3530
+ return jsxRuntimeExports.jsxs(VerticalStack, {
3531
+ gap: "1",
3532
+ children: [jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, calendarProps), {
3533
+ className: styles.Calendar,
3534
+ ref: calendarRef,
3535
+ children: [jsxRuntimeExports.jsx(CalendarHeader, {
3536
+ state,
3537
+ calendarProps,
3538
+ prevButtonProps,
3539
+ nextButtonProps
3540
+ }), jsxRuntimeExports.jsx(CalendarGrid, __spreadValues({
3541
+ state,
3542
+ showDaysOutsideCurrentMonth
3543
+ }, restProps))]
3544
+ })), isInvalid && jsxRuntimeExports.jsx(Text, {
3545
+ color: "negative.500",
3546
+ variant: "caption",
3547
+ children: errorMessage
3548
+ })]
3549
+ });
3528
3550
  }
3529
3551
  export {
3530
3552
  $c4acc1de3ab169cf$export$d652b3ea2d672d5b as $,
@@ -38,14 +38,15 @@ const filterDOMProps = require("./filterDOMProps-p6wKN-SS.js");
38
38
  const useLabels = require("./useLabels-BiHauKNF.js");
39
39
  const useUpdateEffect = require("./useUpdateEffect-D8vVKdY1.js");
40
40
  const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-DxxEMHfO.js");
41
- const VerticalStack = require("./VerticalStack-Dzpv3O67.js");
42
- const Text = require("./Text-CSESKR_s.js");
41
+ const jsxRuntime = require("./jsx-runtime-CH1d66I3.js");
42
+ const VerticalStack = require("./VerticalStack-CunLpHRv.js");
43
+ const Text = require("./Text-C4CEsglh.js");
43
44
  const context = require("./context-DJdNiOsb.js");
44
- const Icon = require("./Icon-W8F9w-jS.js");
45
- const HorizontalStack = require("./HorizontalStack-CXpjASZi.js");
45
+ const Icon = require("./Icon-BVa5ddiD.js");
46
+ const HorizontalStack = require("./HorizontalStack-DidoI4Ks.js");
46
47
  const KeyboardDoubleArrowRight = require("./KeyboardDoubleArrowRight-Ber8mUIO.js");
47
48
  const VisuallyHidden = require("./VisuallyHidden-CIjowwM_.js");
48
- const UnstyledButton = require("./UnstyledButton-BFpQ2Irc.js");
49
+ const UnstyledButton = require("./UnstyledButton-_YQekhlm.js");
49
50
  const usePress = require("./usePress-B5G5CgVn.js");
50
51
  const lodash = require("./lodash-CS8bkZ7S.js");
51
52
  const utilities_css = require("../utilities/css.js");
@@ -3389,21 +3390,32 @@ function CalendarHeader(_a) {
3389
3390
  timeZone: state.timeZone
3390
3391
  });
3391
3392
  const title = monthDateFormatter.format(state.visibleRange.start.toDate(state.timeZone));
3392
- return React.createElement("div", {
3393
- className: styles$3.CalendarHeader
3394
- }, React.createElement(VisuallyHidden.$5c3e21d68f1c4674$export$439d29a4e110a164, null, React.createElement("h2", null, calendarProps["aria-label"])), React.createElement(HorizontalStack.HorizontalStack, {
3395
- align: "space-between",
3396
- blockAlign: "center"
3397
- }, React.createElement(UnstyledButton.UnstyledButton, __spreadValues({}, restPrevButtonProps), React.createElement(Icon.Icon, {
3398
- symbol: KeyboardDoubleArrowRight.KeyboardDoubleArrowLeft,
3399
- color: "neutral.000"
3400
- })), React.createElement(Text.Text, {
3401
- variant: "subtitle2",
3402
- color: "neutral.000"
3403
- }, title), React.createElement(UnstyledButton.UnstyledButton, __spreadValues({}, restNextButtonProps), React.createElement(Icon.Icon, {
3404
- symbol: KeyboardDoubleArrowRight.KeyboardDoubleArrowRight,
3405
- color: "neutral.000"
3406
- }))));
3393
+ return jsxRuntime.jsxRuntimeExports.jsxs("div", {
3394
+ className: styles$3.CalendarHeader,
3395
+ children: [jsxRuntime.jsxRuntimeExports.jsx(VisuallyHidden.$5c3e21d68f1c4674$export$439d29a4e110a164, {
3396
+ children: jsxRuntime.jsxRuntimeExports.jsx("h2", {
3397
+ children: calendarProps["aria-label"]
3398
+ })
3399
+ }), jsxRuntime.jsxRuntimeExports.jsxs(HorizontalStack.HorizontalStack, {
3400
+ align: "space-between",
3401
+ blockAlign: "center",
3402
+ children: [jsxRuntime.jsxRuntimeExports.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, restPrevButtonProps), {
3403
+ children: jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, {
3404
+ symbol: KeyboardDoubleArrowRight.KeyboardDoubleArrowLeft,
3405
+ color: "neutral.000"
3406
+ })
3407
+ })), jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
3408
+ variant: "subtitle2",
3409
+ color: "neutral.000",
3410
+ children: title
3411
+ }), jsxRuntime.jsxRuntimeExports.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, restNextButtonProps), {
3412
+ children: jsxRuntime.jsxRuntimeExports.jsx(Icon.Icon, {
3413
+ symbol: KeyboardDoubleArrowRight.KeyboardDoubleArrowRight,
3414
+ color: "neutral.000"
3415
+ })
3416
+ }))]
3417
+ })]
3418
+ });
3407
3419
  }
3408
3420
  const CellContainer = "_CellContainer_1dmsi_4";
3409
3421
  const rangeSelectionStart = "_rangeSelectionStart_1dmsi_7";
@@ -3461,15 +3473,18 @@ function CalendarCell({ state, date }) {
3461
3473
  const isRangeSelection = isSelected2 && isRangeCalendar && !isSelectionStart && !isSelectionEnd;
3462
3474
  const dayOfWeek = $14e0f24ef4ac5c92$export$2061056d06d7cdf7(date, locale);
3463
3475
  const isRoundedRight = isSelected2 && (isSelectionEnd || dayOfWeek === 6 || date.day === date.calendar.getDaysInMonth(date));
3464
- return React.createElement("td", __spreadProps(__spreadValues({}, cellProps), {
3465
- className: styles$2.CellContainer
3466
- }), React.createElement("div", __spreadProps(__spreadValues({}, buttonProps), {
3467
- ref,
3468
- className: utilities_css.classNames(styles$2.CalendarCell, isSelected2 && styles$2.isSelected, (state.isDisabled || isDisabled2) && styles$2.isDisabled, isUnavailable2 && styles$2.isUnavailable, state.isReadOnly && styles$2.isReadOnly, isOutsideVisibleRange && styles$2.isOutsideCurrentMonth, isSelectionStart && !isDisabled2 && styles$2.rangeSelectionStart, isRangeSelection && styles$2.rangeSelection, isRoundedRight && styles$2.roundedRight),
3469
- onClick: handleMonthNavigation
3470
- }), React.createElement(Text.Text, {
3471
- variant: "body1"
3472
- }, formattedDate)));
3476
+ return jsxRuntime.jsxRuntimeExports.jsx("td", __spreadProps(__spreadValues({}, cellProps), {
3477
+ className: styles$2.CellContainer,
3478
+ children: jsxRuntime.jsxRuntimeExports.jsx("div", __spreadProps(__spreadValues({}, buttonProps), {
3479
+ ref,
3480
+ className: utilities_css.classNames(styles$2.CalendarCell, isSelected2 && styles$2.isSelected, (state.isDisabled || isDisabled2) && styles$2.isDisabled, isUnavailable2 && styles$2.isUnavailable, state.isReadOnly && styles$2.isReadOnly, isOutsideVisibleRange && styles$2.isOutsideCurrentMonth, isSelectionStart && !isDisabled2 && styles$2.rangeSelectionStart, isRangeSelection && styles$2.rangeSelection, isRoundedRight && styles$2.roundedRight),
3481
+ onClick: handleMonthNavigation,
3482
+ children: jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
3483
+ variant: "body1",
3484
+ children: formattedDate
3485
+ })
3486
+ }))
3487
+ }));
3473
3488
  }
3474
3489
  const CalendarGrid$1 = "_CalendarGrid_b6k9s_4";
3475
3490
  const CalendarGridHeader = "_CalendarGridHeader_b6k9s_8";
@@ -3484,24 +3499,28 @@ function CalendarGrid(_g) {
3484
3499
  const visibleStartDate = state.visibleRange.start;
3485
3500
  const { gridProps, headerProps, weekDays } = $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state);
3486
3501
  const weeksInMonth = $14e0f24ef4ac5c92$export$ccc1b2479e7dd654(visibleStartDate, locale);
3487
- return React.createElement("table", __spreadProps(__spreadValues({}, gridProps), {
3488
- className: styles$1.CalendarGrid
3489
- }), React.createElement("thead", __spreadProps(__spreadValues({}, headerProps), {
3490
- className: styles$1.CalendarGridHeader
3491
- }), React.createElement("tr", null, weekDays.map((day, index) => React.createElement("th", {
3492
- key: index
3493
- }, React.createElement(Text.Text, {
3494
- variant: "caption3",
3495
- color: "neutral.000"
3496
- }, day))))), React.createElement("tbody", null, [...new Array(weeksInMonth).keys()].map((weekIndex) => React.createElement("tr", {
3497
- key: weekIndex
3498
- }, state.getDatesInWeek(weekIndex).map((date, i) => date && ($14e0f24ef4ac5c92$export$a18c89cbd24170ff(visibleStartDate, date) || showDaysOutsideCurrentMonth) ? React.createElement(CalendarCell, {
3499
- key: i,
3500
- state,
3501
- date
3502
- }) : React.createElement("td", {
3503
- key: i
3504
- }))))));
3502
+ return jsxRuntime.jsxRuntimeExports.jsxs("table", __spreadProps(__spreadValues({}, gridProps), {
3503
+ className: styles$1.CalendarGrid,
3504
+ children: [jsxRuntime.jsxRuntimeExports.jsx("thead", __spreadProps(__spreadValues({}, headerProps), {
3505
+ className: styles$1.CalendarGridHeader,
3506
+ children: jsxRuntime.jsxRuntimeExports.jsx("tr", {
3507
+ children: weekDays.map((day, index) => jsxRuntime.jsxRuntimeExports.jsx("th", {
3508
+ children: jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
3509
+ variant: "caption3",
3510
+ color: "neutral.000",
3511
+ children: day
3512
+ })
3513
+ }, index))
3514
+ })
3515
+ })), jsxRuntime.jsxRuntimeExports.jsx("tbody", {
3516
+ children: [...new Array(weeksInMonth).keys()].map((weekIndex) => jsxRuntime.jsxRuntimeExports.jsx("tr", {
3517
+ children: state.getDatesInWeek(weekIndex).map((date, i) => date && ($14e0f24ef4ac5c92$export$a18c89cbd24170ff(visibleStartDate, date) || showDaysOutsideCurrentMonth) ? jsxRuntime.jsxRuntimeExports.jsx(CalendarCell, {
3518
+ state,
3519
+ date
3520
+ }, i) : jsxRuntime.jsxRuntimeExports.jsx("td", {}, i))
3521
+ }, weekIndex))
3522
+ })]
3523
+ }));
3505
3524
  }
3506
3525
  const Calendar = "_Calendar_r94s6_4";
3507
3526
  const styles = {
@@ -3509,23 +3528,26 @@ const styles = {
3509
3528
  };
3510
3529
  function CalendarBase(props) {
3511
3530
  const _a = props, { state, isInvalid, errorMessage, calendarProps, nextButtonProps, prevButtonProps, calendarRef, showDaysOutsideCurrentMonth } = _a, restProps = __objRest(_a, ["state", "isInvalid", "errorMessage", "calendarProps", "nextButtonProps", "prevButtonProps", "calendarRef", "showDaysOutsideCurrentMonth"]);
3512
- return React.createElement(VerticalStack.VerticalStack, {
3513
- gap: "1"
3514
- }, React.createElement("div", __spreadProps(__spreadValues({}, calendarProps), {
3515
- className: styles.Calendar,
3516
- ref: calendarRef
3517
- }), React.createElement(CalendarHeader, {
3518
- state,
3519
- calendarProps,
3520
- prevButtonProps,
3521
- nextButtonProps
3522
- }), React.createElement(CalendarGrid, __spreadValues({
3523
- state,
3524
- showDaysOutsideCurrentMonth
3525
- }, restProps))), isInvalid && React.createElement(Text.Text, {
3526
- color: "negative.500",
3527
- variant: "caption"
3528
- }, errorMessage));
3531
+ return jsxRuntime.jsxRuntimeExports.jsxs(VerticalStack.VerticalStack, {
3532
+ gap: "1",
3533
+ children: [jsxRuntime.jsxRuntimeExports.jsxs("div", __spreadProps(__spreadValues({}, calendarProps), {
3534
+ className: styles.Calendar,
3535
+ ref: calendarRef,
3536
+ children: [jsxRuntime.jsxRuntimeExports.jsx(CalendarHeader, {
3537
+ state,
3538
+ calendarProps,
3539
+ prevButtonProps,
3540
+ nextButtonProps
3541
+ }), jsxRuntime.jsxRuntimeExports.jsx(CalendarGrid, __spreadValues({
3542
+ state,
3543
+ showDaysOutsideCurrentMonth
3544
+ }, restProps))]
3545
+ })), isInvalid && jsxRuntime.jsxRuntimeExports.jsx(Text.Text, {
3546
+ color: "negative.500",
3547
+ variant: "caption",
3548
+ children: errorMessage
3549
+ })]
3550
+ });
3529
3551
  }
3530
3552
  exports.$11d87f3f76e88657$export$93522d1a439f3617 = $11d87f3f76e88657$export$93522d1a439f3617;
3531
3553
  exports.$11d87f3f76e88657$export$b21e0b124e224484 = $11d87f3f76e88657$export$b21e0b124e224484;
@@ -1,4 +1,6 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
4
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -14,6 +16,7 @@ var __spreadValues = (a, b) => {
14
16
  }
15
17
  return a;
16
18
  };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
17
20
  var __objRest = (source, exclude) => {
18
21
  var target = {};
19
22
  for (var prop in source)
@@ -26,9 +29,9 @@ var __objRest = (source, exclude) => {
26
29
  }
27
30
  return target;
28
31
  };
32
+ import { j as jsxRuntimeExports } from "./jsx-runtime-DTpFD6nx.mjs";
29
33
  import { r as require_assignValue, a as require_castPath, b as require_isIndex, c as requireIsObject, d as require_toKey, e as require_baseGet, f as requireIsArguments, g as requireIsArray, h as requireIsLength, i as require_flatRest, o as omit } from "./omit-CYoLXTjq.mjs";
30
34
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
31
- import React__default from "react";
32
35
  import { classNames, variationName, getComponentThemeToken, getResponsiveDesignToken } from "../utilities/css.mjs";
33
36
  var _baseSet;
34
37
  var hasRequired_baseSet;
@@ -200,19 +203,22 @@ function CardContainer(props) {
200
203
  if (variant !== "outlined" && isSelected) {
201
204
  console.warn("isSelected is only applicable for outlined cards");
202
205
  }
203
- return React__default.createElement(As, __spreadValues({
206
+ return jsxRuntimeExports.jsx(As, __spreadProps(__spreadValues({
204
207
  className,
205
208
  style,
206
209
  disabled: isDisabled
207
- }, omit(restProps, ["className", "style"])), children);
210
+ }, omit(restProps, ["className", "style"])), {
211
+ children
212
+ }));
208
213
  }
209
214
  function CardArea({ background, children, padding, paddingX, paddingY }) {
210
215
  const { paddingTop, paddingBottom, paddingLeft, paddingRight } = getPaddingValues(padding, paddingX, paddingY);
211
216
  const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, getComponentThemeToken("card-area", "background", "color", getBackgroundToken(background))), getResponsiveDesignToken("card-area", "padding-top", "space", paddingTop)), getResponsiveDesignToken("card-area", "padding-bottom", "space", paddingBottom)), getResponsiveDesignToken("card-area", "padding-left", "space", paddingLeft)), getResponsiveDesignToken("card-area", "padding-right", "space", paddingRight));
212
- return React__default.createElement("div", {
217
+ return jsxRuntimeExports.jsx("div", {
213
218
  className: styles.area,
214
- style
215
- }, children);
219
+ style,
220
+ children
221
+ });
216
222
  }
217
223
  function getPaddingValues(padding, paddingX, paddingY) {
218
224
  if (padding) {
@@ -264,12 +270,15 @@ function getLeftBorderToken(status) {
264
270
  }
265
271
  function Card(props) {
266
272
  const _a = props, { background, children, padding, paddingX, paddingY } = _a, containerProps = __objRest(_a, ["background", "children", "padding", "paddingX", "paddingY"]);
267
- return React__default.createElement(CardContainer, __spreadValues({}, containerProps), React__default.createElement(CardArea, {
268
- background,
269
- padding,
270
- paddingX,
271
- paddingY
272
- }, children));
273
+ return jsxRuntimeExports.jsx(CardContainer, __spreadProps(__spreadValues({}, containerProps), {
274
+ children: jsxRuntimeExports.jsx(CardArea, {
275
+ background,
276
+ padding,
277
+ paddingX,
278
+ paddingY,
279
+ children
280
+ })
281
+ }));
273
282
  }
274
283
  Card.Container = CardContainer;
275
284
  Card.Area = CardArea;