@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
@@ -1,312 +0,0 @@
1
- var reactIs = { exports: {} };
2
- var reactIs_production_min = {};
3
- /**
4
- * @license React
5
- * react-is.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var hasRequiredReactIs_production_min;
13
- function requireReactIs_production_min() {
14
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
15
- hasRequiredReactIs_production_min = 1;
16
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
17
- u = Symbol.for("react.module.reference");
18
- function v(a) {
19
- if ("object" === typeof a && null !== a) {
20
- var r = a.$$typeof;
21
- switch (r) {
22
- case b:
23
- switch (a = a.type, a) {
24
- case d:
25
- case f:
26
- case e:
27
- case m:
28
- case n:
29
- return a;
30
- default:
31
- switch (a = a && a.$$typeof, a) {
32
- case k:
33
- case h:
34
- case l:
35
- case q:
36
- case p:
37
- case g:
38
- return a;
39
- default:
40
- return r;
41
- }
42
- }
43
- case c:
44
- return r;
45
- }
46
- }
47
- }
48
- reactIs_production_min.ContextConsumer = h;
49
- reactIs_production_min.ContextProvider = g;
50
- reactIs_production_min.Element = b;
51
- reactIs_production_min.ForwardRef = l;
52
- reactIs_production_min.Fragment = d;
53
- reactIs_production_min.Lazy = q;
54
- reactIs_production_min.Memo = p;
55
- reactIs_production_min.Portal = c;
56
- reactIs_production_min.Profiler = f;
57
- reactIs_production_min.StrictMode = e;
58
- reactIs_production_min.Suspense = m;
59
- reactIs_production_min.SuspenseList = n;
60
- reactIs_production_min.isAsyncMode = function() {
61
- return false;
62
- };
63
- reactIs_production_min.isConcurrentMode = function() {
64
- return false;
65
- };
66
- reactIs_production_min.isContextConsumer = function(a) {
67
- return v(a) === h;
68
- };
69
- reactIs_production_min.isContextProvider = function(a) {
70
- return v(a) === g;
71
- };
72
- reactIs_production_min.isElement = function(a) {
73
- return "object" === typeof a && null !== a && a.$$typeof === b;
74
- };
75
- reactIs_production_min.isForwardRef = function(a) {
76
- return v(a) === l;
77
- };
78
- reactIs_production_min.isFragment = function(a) {
79
- return v(a) === d;
80
- };
81
- reactIs_production_min.isLazy = function(a) {
82
- return v(a) === q;
83
- };
84
- reactIs_production_min.isMemo = function(a) {
85
- return v(a) === p;
86
- };
87
- reactIs_production_min.isPortal = function(a) {
88
- return v(a) === c;
89
- };
90
- reactIs_production_min.isProfiler = function(a) {
91
- return v(a) === f;
92
- };
93
- reactIs_production_min.isStrictMode = function(a) {
94
- return v(a) === e;
95
- };
96
- reactIs_production_min.isSuspense = function(a) {
97
- return v(a) === m;
98
- };
99
- reactIs_production_min.isSuspenseList = function(a) {
100
- return v(a) === n;
101
- };
102
- reactIs_production_min.isValidElementType = function(a) {
103
- return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
104
- };
105
- reactIs_production_min.typeOf = v;
106
- return reactIs_production_min;
107
- }
108
- var reactIs_development = {};
109
- /**
110
- * @license React
111
- * react-is.development.js
112
- *
113
- * Copyright (c) Facebook, Inc. and its affiliates.
114
- *
115
- * This source code is licensed under the MIT license found in the
116
- * LICENSE file in the root directory of this source tree.
117
- */
118
- var hasRequiredReactIs_development;
119
- function requireReactIs_development() {
120
- if (hasRequiredReactIs_development) return reactIs_development;
121
- hasRequiredReactIs_development = 1;
122
- if (process.env.NODE_ENV !== "production") {
123
- (function() {
124
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
125
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
126
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
127
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
128
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
129
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
130
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
131
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
132
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
133
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
134
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
135
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
136
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
137
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
138
- var enableScopeAPI = false;
139
- var enableCacheElement = false;
140
- var enableTransitionTracing = false;
141
- var enableLegacyHidden = false;
142
- var enableDebugTracing = false;
143
- var REACT_MODULE_REFERENCE;
144
- {
145
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
146
- }
147
- function isValidElementType(type) {
148
- if (typeof type === "string" || typeof type === "function") {
149
- return true;
150
- }
151
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
152
- return true;
153
- }
154
- if (typeof type === "object" && type !== null) {
155
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
156
- // types supported by any Flight configuration anywhere since
157
- // we don't know which Flight build this will end up being used
158
- // with.
159
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
160
- return true;
161
- }
162
- }
163
- return false;
164
- }
165
- function typeOf(object) {
166
- if (typeof object === "object" && object !== null) {
167
- var $$typeof = object.$$typeof;
168
- switch ($$typeof) {
169
- case REACT_ELEMENT_TYPE:
170
- var type = object.type;
171
- switch (type) {
172
- case REACT_FRAGMENT_TYPE:
173
- case REACT_PROFILER_TYPE:
174
- case REACT_STRICT_MODE_TYPE:
175
- case REACT_SUSPENSE_TYPE:
176
- case REACT_SUSPENSE_LIST_TYPE:
177
- return type;
178
- default:
179
- var $$typeofType = type && type.$$typeof;
180
- switch ($$typeofType) {
181
- case REACT_SERVER_CONTEXT_TYPE:
182
- case REACT_CONTEXT_TYPE:
183
- case REACT_FORWARD_REF_TYPE:
184
- case REACT_LAZY_TYPE:
185
- case REACT_MEMO_TYPE:
186
- case REACT_PROVIDER_TYPE:
187
- return $$typeofType;
188
- default:
189
- return $$typeof;
190
- }
191
- }
192
- case REACT_PORTAL_TYPE:
193
- return $$typeof;
194
- }
195
- }
196
- return void 0;
197
- }
198
- var ContextConsumer = REACT_CONTEXT_TYPE;
199
- var ContextProvider = REACT_PROVIDER_TYPE;
200
- var Element = REACT_ELEMENT_TYPE;
201
- var ForwardRef = REACT_FORWARD_REF_TYPE;
202
- var Fragment = REACT_FRAGMENT_TYPE;
203
- var Lazy = REACT_LAZY_TYPE;
204
- var Memo = REACT_MEMO_TYPE;
205
- var Portal = REACT_PORTAL_TYPE;
206
- var Profiler = REACT_PROFILER_TYPE;
207
- var StrictMode = REACT_STRICT_MODE_TYPE;
208
- var Suspense = REACT_SUSPENSE_TYPE;
209
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
210
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
211
- var hasWarnedAboutDeprecatedIsConcurrentMode = false;
212
- function isAsyncMode(object) {
213
- {
214
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
215
- hasWarnedAboutDeprecatedIsAsyncMode = true;
216
- console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
217
- }
218
- }
219
- return false;
220
- }
221
- function isConcurrentMode(object) {
222
- {
223
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
224
- hasWarnedAboutDeprecatedIsConcurrentMode = true;
225
- console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
226
- }
227
- }
228
- return false;
229
- }
230
- function isContextConsumer(object) {
231
- return typeOf(object) === REACT_CONTEXT_TYPE;
232
- }
233
- function isContextProvider(object) {
234
- return typeOf(object) === REACT_PROVIDER_TYPE;
235
- }
236
- function isElement(object) {
237
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
238
- }
239
- function isForwardRef(object) {
240
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
241
- }
242
- function isFragment(object) {
243
- return typeOf(object) === REACT_FRAGMENT_TYPE;
244
- }
245
- function isLazy(object) {
246
- return typeOf(object) === REACT_LAZY_TYPE;
247
- }
248
- function isMemo(object) {
249
- return typeOf(object) === REACT_MEMO_TYPE;
250
- }
251
- function isPortal(object) {
252
- return typeOf(object) === REACT_PORTAL_TYPE;
253
- }
254
- function isProfiler(object) {
255
- return typeOf(object) === REACT_PROFILER_TYPE;
256
- }
257
- function isStrictMode(object) {
258
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
259
- }
260
- function isSuspense(object) {
261
- return typeOf(object) === REACT_SUSPENSE_TYPE;
262
- }
263
- function isSuspenseList(object) {
264
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
265
- }
266
- reactIs_development.ContextConsumer = ContextConsumer;
267
- reactIs_development.ContextProvider = ContextProvider;
268
- reactIs_development.Element = Element;
269
- reactIs_development.ForwardRef = ForwardRef;
270
- reactIs_development.Fragment = Fragment;
271
- reactIs_development.Lazy = Lazy;
272
- reactIs_development.Memo = Memo;
273
- reactIs_development.Portal = Portal;
274
- reactIs_development.Profiler = Profiler;
275
- reactIs_development.StrictMode = StrictMode;
276
- reactIs_development.Suspense = Suspense;
277
- reactIs_development.SuspenseList = SuspenseList;
278
- reactIs_development.isAsyncMode = isAsyncMode;
279
- reactIs_development.isConcurrentMode = isConcurrentMode;
280
- reactIs_development.isContextConsumer = isContextConsumer;
281
- reactIs_development.isContextProvider = isContextProvider;
282
- reactIs_development.isElement = isElement;
283
- reactIs_development.isForwardRef = isForwardRef;
284
- reactIs_development.isFragment = isFragment;
285
- reactIs_development.isLazy = isLazy;
286
- reactIs_development.isMemo = isMemo;
287
- reactIs_development.isPortal = isPortal;
288
- reactIs_development.isProfiler = isProfiler;
289
- reactIs_development.isStrictMode = isStrictMode;
290
- reactIs_development.isSuspense = isSuspense;
291
- reactIs_development.isSuspenseList = isSuspenseList;
292
- reactIs_development.isValidElementType = isValidElementType;
293
- reactIs_development.typeOf = typeOf;
294
- })();
295
- }
296
- return reactIs_development;
297
- }
298
- var hasRequiredReactIs;
299
- function requireReactIs() {
300
- if (hasRequiredReactIs) return reactIs.exports;
301
- hasRequiredReactIs = 1;
302
- if (process.env.NODE_ENV === "production") {
303
- reactIs.exports = requireReactIs_production_min();
304
- } else {
305
- reactIs.exports = requireReactIs_development();
306
- }
307
- return reactIs.exports;
308
- }
309
- var reactIsExports = requireReactIs();
310
- export {
311
- reactIsExports as r
312
- };