@stihl-design-system/components 1.0.0-RC.14 → 1.0.0-RC.16

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/accordion.Dm5MWHQ6.js +12 -0
  2. package/arialiveregions.BwwB-OfU.js +19 -0
  3. package/assets/Accordion.B5bGf8mR.css +1 -0
  4. package/assets/Breadcrumb.BaYrwrYl.css +1 -0
  5. package/assets/NavigationTabList.B6x56sAV.css +1 -0
  6. package/assets/linkstandalone.LMdnj-G0.css +1 -0
  7. package/asterisk.DUzshaw5.js +8 -0
  8. package/breadcrumb.BDpXhffn.js +11 -0
  9. package/breadcrumb.d.ts +2 -0
  10. package/button.Ywd82k7O.js +121 -0
  11. package/buttonround.CI5RGkR9.js +105 -0
  12. package/checkbox.C1JJOQeV.js +103 -0
  13. package/checkboxgroup.o5t3fWsf.js +9 -0
  14. package/chip.DcJLVxEm.js +11 -0
  15. package/chipgroup.CCq2AMSa.js +187 -0
  16. package/chunks/Accordion.BmI7nlus.js +166 -0
  17. package/chunks/AriaLiveRegions.utils.zSFFD3SF.js +27 -0
  18. package/chunks/Breadcrumb.BycdSn-b.js +106 -0
  19. package/chunks/CheckboxGroup.C-Adg1hA.js +74 -0
  20. package/chunks/Chip.BY8kLPnz.js +120 -0
  21. package/chunks/CustomReactSelect.C2yN7CYh.js +3622 -0
  22. package/chunks/Dialog.CjzCKRr2.js +140 -0
  23. package/chunks/Drawer.m2JeVNBp.js +148 -0
  24. package/chunks/Fieldset.DfWsQgjD.js +105 -0
  25. package/chunks/Icon.DhKyUWtM.js +231 -0
  26. package/chunks/Input.utils.Um8Pqp4U.js +52 -0
  27. package/chunks/InputPassword.CmvZcn6n.js +141 -0
  28. package/chunks/InputSearch.CwXaGLJp.js +179 -0
  29. package/chunks/InputStepper.NCl90c4h.js +275 -0
  30. package/chunks/NavigationTabList.BOrhiSiM.js +63 -0
  31. package/chunks/NavigationTabs.DW_6fZxc.js +63 -0
  32. package/chunks/Notification.Bp28ubaX.js +99 -0
  33. package/chunks/RadioGroup.Dh-7jSOg.js +105 -0
  34. package/chunks/Select.CMwsbHvQ.js +190 -0
  35. package/chunks/TabPane.utils.DG16Y2uD.js +10 -0
  36. package/chunks/Tabs.D3yDE5nU.js +77 -0
  37. package/chunks/Textarea.CMRn2Aof.js +184 -0
  38. package/chunks/Toast.Boi6TEHu.js +76 -0
  39. package/chunks/index.CEyLAtio.js +48 -0
  40. package/chunks/index.CgTHIF3K.js +293 -0
  41. package/chunks/{translate.isa3FHb8.js → translate.nuU7uChI.js} +1 -4
  42. package/chunks/useBreakpoint.CMOR9ZOB.js +44 -0
  43. package/combobox.BhzaJrs7.js +55 -0
  44. package/components/Accordion/Accordion.d.ts +5 -1
  45. package/components/Accordion/Accordion.utils.d.ts +2 -2
  46. package/components/AriaLiveRegions/AriaLiveRegions.d.ts +1 -0
  47. package/components/Asterisk/Asterisk.d.ts +1 -0
  48. package/components/Breadcrumb/Breadcrumb.d.ts +45 -0
  49. package/components/Breadcrumb/Breadcrumb.utils.d.ts +4 -0
  50. package/components/Button/Button.d.ts +6 -4
  51. package/components/ButtonRound/ButtonRound.d.ts +4 -1
  52. package/components/Checkbox/Checkbox.d.ts +2 -0
  53. package/components/CheckboxGroup/CheckboxGroup.d.ts +3 -1
  54. package/components/ChipGroup/ChipGroup.d.ts +2 -0
  55. package/components/Combobox/Combobox.d.ts +3 -0
  56. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +3 -2
  57. package/components/Combobox/CustomReactSelect/OptionCheckbox.d.ts +1 -1
  58. package/components/Dialog/Dialog.d.ts +15 -4
  59. package/components/Drawer/Drawer.d.ts +15 -5
  60. package/components/Fieldset/Fieldset.d.ts +3 -1
  61. package/components/Flag/Flag.d.ts +3 -0
  62. package/components/FloatingActionButton/FloatingActionButton.d.ts +4 -1
  63. package/components/Heading/Heading.d.ts +3 -1
  64. package/components/Icon/Icon.d.ts +3 -1
  65. package/components/Input/Input.d.ts +23 -10
  66. package/components/Input/Input.utils.d.ts +2 -2
  67. package/components/InputPassword/InputPassword.d.ts +18 -9
  68. package/components/InputSearch/InputSearch.d.ts +17 -7
  69. package/components/InputStepper/InputStepper.d.ts +24 -8
  70. package/components/Link/Link.d.ts +6 -3
  71. package/components/LinkStandalone/LinkStandalone.d.ts +4 -1
  72. package/components/Logo/Logo.d.ts +3 -1
  73. package/components/NavigationTabs/NavigationTabs.d.ts +43 -0
  74. package/components/NavigationTabs/NavigationTabs.test.d.ts +1 -0
  75. package/components/NavigationTabs/NavigationTabs.utils.d.ts +6 -0
  76. package/components/Notification/Notification.d.ts +14 -5
  77. package/components/NumberIndicator/NumberIndicator.d.ts +1 -0
  78. package/components/RadioGroup/RadioGroup.d.ts +2 -0
  79. package/components/Select/Select.d.ts +2 -1
  80. package/components/SkipToContent/SkipToContent.d.ts +3 -0
  81. package/components/Spinner/Spinner.d.ts +7 -1
  82. package/components/Switch/Switch.d.ts +6 -4
  83. package/components/SystemFeedback/SystemFeedback.d.ts +1 -1
  84. package/components/Tabs/TabList/NavigationTabList/NavigationTabList.d.ts +22 -0
  85. package/components/Tabs/TabList/TabList.d.ts +38 -0
  86. package/components/Tabs/TabList/TabList.utils.d.ts +6 -0
  87. package/components/Tabs/TabList/TabList.utils.test.d.ts +1 -0
  88. package/components/Tabs/TabPane/TabPane.d.ts +1 -1
  89. package/components/Tabs/Tabs.d.ts +9 -2
  90. package/components/Tabs/Tabs.utils.d.ts +1 -6
  91. package/components/Text/Text.d.ts +6 -4
  92. package/components/Textarea/Textarea.d.ts +3 -1
  93. package/components/Title/Title.d.ts +3 -1
  94. package/components/Toast/Toast.d.ts +2 -0
  95. package/customreactselect.CW5-QQSM.js +14 -0
  96. package/dialog.DuAgAwfs.js +10 -0
  97. package/drawer.D3E46fH1.js +10 -0
  98. package/fieldset.4UygHVV3.js +12 -0
  99. package/flag.BJk5fHMs.js +50 -0
  100. package/floatingactionbutton.DFZ2YwaJ.js +74 -0
  101. package/heading.6LOBHJG6.js +55 -0
  102. package/icon.dww0DXWN.js +9 -0
  103. package/index.d.ts +4 -0
  104. package/index.es.js +139 -179
  105. package/input.DXzeHdRE.js +211 -0
  106. package/inputpassword.DXEvvgZt.js +13 -0
  107. package/inputsearch.DzwXj82k.js +14 -0
  108. package/inputstepper.CYwcFoQ1.js +16 -0
  109. package/link.CgNqBaNn.js +106 -0
  110. package/linkstandalone.Dn-uDj5T.js +69 -0
  111. package/logo.BgnYvK7t.js +51 -0
  112. package/navigationtablist.XNy54fXK.js +9 -0
  113. package/navigationtablist.d.ts +2 -0
  114. package/navigationtabs.DheMj9hs.js +9 -0
  115. package/navigationtabs.d.ts +2 -0
  116. package/notification.BnyOWmCm.js +10 -0
  117. package/numberindicator.Do92cr0z.js +35 -0
  118. package/optioncheckbox.DcckSTrV.js +52 -0
  119. package/package.json +53 -50
  120. package/partials/index.js +248 -2131
  121. package/partials/lib/partials.d.ts +77 -4
  122. package/radio.TDaeblOB.js +130 -0
  123. package/radiogroup.DyL_cJzK.js +11 -0
  124. package/select.BoeUz4Fb.js +13 -0
  125. package/skiptocontent.D7xhN0KM.js +35 -0
  126. package/spinner.gilnr6vN.js +52 -0
  127. package/switch.Ca9tRATr.js +68 -0
  128. package/systemfeedback.7I6fnqjX.js +34 -0
  129. package/tablist.TWjlHs5Y.js +251 -0
  130. package/tablist.d.ts +2 -0
  131. package/tabpane.CB-eudyw.js +37 -0
  132. package/tabs.Cr2CMXbY.js +11 -0
  133. package/text.C6gOJ2nV.js +59 -0
  134. package/textarea.CqDSxfcU.js +12 -0
  135. package/title.CSCXJnBN.js +43 -0
  136. package/toast.BN0v57nF.js +11 -0
  137. package/toastmanager.B9CR9plV.js +115 -0
  138. package/utils/render-documentation.d.ts +1 -0
  139. package/accordion.C6_sqiW2.js +0 -10
  140. package/arialiveregions.2dxodwBP.js +0 -27
  141. package/assets/Accordion.i4k5SMQM.css +0 -1
  142. package/assets/Tabs.DUqlqP6R.css +0 -1
  143. package/assets/linkstandalone.DIazcjIv.css +0 -1
  144. package/asterisk.DpzETKdT.js +0 -8
  145. package/button.BfcWQZhx.js +0 -135
  146. package/buttonround.E56F_805.js +0 -118
  147. package/checkbox.Dt0OWryN.js +0 -111
  148. package/checkboxgroup.je32bRPr.js +0 -8
  149. package/chip.CpnDX4Ro.js +0 -10
  150. package/chipgroup.Cy76KMWu.js +0 -175
  151. package/chunks/Accordion.Bza3TO4Y.js +0 -125
  152. package/chunks/AriaLiveRegions.utils.Bq6Mp2bE.js +0 -40
  153. package/chunks/CheckboxGroup.C_2ZwEQJ.js +0 -95
  154. package/chunks/Chip.BvlKC503.js +0 -148
  155. package/chunks/CustomReactSelect.CB41lklE.js +0 -3598
  156. package/chunks/Dialog.ClBjJWOh.js +0 -148
  157. package/chunks/Drawer.ReDW3ohH.js +0 -154
  158. package/chunks/Fieldset.Ct_JFRs9.js +0 -99
  159. package/chunks/Icon.BCmt_XBG.js +0 -223
  160. package/chunks/Input.utils.DYbmWlx6.js +0 -111
  161. package/chunks/InputPassword.Cvk5J8w1.js +0 -143
  162. package/chunks/InputSearch.BIIW-ERk.js +0 -192
  163. package/chunks/InputStepper.DGzR3KY6.js +0 -296
  164. package/chunks/Notification.uAEjPywP.js +0 -92
  165. package/chunks/RadioGroup.D10-pe9H.js +0 -146
  166. package/chunks/Select.DsLnW29U.js +0 -194
  167. package/chunks/TabPane.CYuUi0oL.js +0 -51
  168. package/chunks/Tabs.D_JAsvoh.js +0 -270
  169. package/chunks/Textarea.Dh9R9YdZ.js +0 -199
  170. package/chunks/Toast.j7LPnQ36.js +0 -89
  171. package/chunks/index.CvOaL64Y.js +0 -45
  172. package/chunks/jsx-runtime.C115EyI4.js +0 -635
  173. package/chunks/useBreakpoint.B8XxjSVJ.js +0 -48
  174. package/combobox.D6zXg976.js +0 -47
  175. package/customreactselect.BcjDvZG6.js +0 -13
  176. package/dialog.BkVOgeWY.js +0 -9
  177. package/drawer.DM_NKGTQ.js +0 -9
  178. package/fieldset.CSNoVbL1.js +0 -11
  179. package/flag.BKpsdB_-.js +0 -43
  180. package/floatingactionbutton.D5L0B7zI.js +0 -87
  181. package/heading.IPIYc5vW.js +0 -50
  182. package/icon.Ck0BpI34.js +0 -8
  183. package/input.BbnmbMCI.js +0 -241
  184. package/inputpassword.KnZRwWCQ.js +0 -12
  185. package/inputsearch.DgYJPZ2v.js +0 -13
  186. package/inputstepper.T_of1Gz0.js +0 -15
  187. package/link.L8O_InKe.js +0 -116
  188. package/linkstandalone.BBoEniZ_.js +0 -79
  189. package/logo.Hul8qCFo.js +0 -65
  190. package/notification.Bt9TbAAt.js +0 -9
  191. package/numberindicator.UU7FSouT.js +0 -26
  192. package/optioncheckbox.BRUTnQnJ.js +0 -43
  193. package/radio.B-2uuWHq.js +0 -114
  194. package/radiogroup.DM_lF4hI.js +0 -10
  195. package/select.COLuwr89.js +0 -12
  196. package/skiptocontent.DxogCFvU.js +0 -45
  197. package/spinner.Bq97Og-6.js +0 -58
  198. package/switch.DI8YYa5G.js +0 -65
  199. package/systemfeedback.C3Pfxxpp.js +0 -25
  200. package/tabpane.BnQBzVXw.js +0 -8
  201. package/tabs.BaELlVri.js +0 -15
  202. package/text.DThvTwm8.js +0 -57
  203. package/textarea.Wcl_pVBb.js +0 -13
  204. package/title.DqzdB2Gq.js +0 -36
  205. package/toast.DQlMWU6I.js +0 -10
  206. package/toastmanager.DxHFtr5C.js +0 -119
  207. /package/assets/{CheckboxGroup.BH1Br1dg.css → CheckboxGroup.Dd-Huo7x.css} +0 -0
  208. /package/assets/{Chip.DSdLuzoi.css → Chip.dxIYIjj7.css} +0 -0
  209. /package/assets/{CustomReactSelect.vHt8qNKC.css → CustomReactSelect.DYDaP5r5.css} +0 -0
  210. /package/assets/{Dialog.BgzebVk4.css → Dialog.DXmPdExC.css} +0 -0
  211. /package/assets/{Drawer.Bauwxrk7.css → Drawer.BcM0epJS.css} +0 -0
  212. /package/assets/{Fieldset.DOdTbb7C.css → Fieldset.Og4EsnPI.css} +0 -0
  213. /package/assets/{Icon.DxRSBRSL.css → Icon.ZNrKuqgu.css} +0 -0
  214. /package/assets/{InputPassword.CG7Ugu73.css → InputPassword.DtKteerr.css} +0 -0
  215. /package/assets/{InputSearch.CseChMc-.css → InputSearch.Mql3oFlQ.css} +0 -0
  216. /package/assets/{InputStepper.C0eAYr7P.css → InputStepper.BXz1MMBg.css} +0 -0
  217. /package/assets/{Notification.DbRapUJo.css → Notification.DZIF-Wo6.css} +0 -0
  218. /package/assets/{RadioGroup.BfMo157q.css → RadioGroup.CM2mYOzc.css} +0 -0
  219. /package/assets/{Select.D4EXgIbz.css → Select.KvAgxJZk.css} +0 -0
  220. /package/assets/{Textarea.KJGPTYMz.css → Textarea.BIRQlv6m.css} +0 -0
  221. /package/assets/{Toast.CuafTAf7.css → Toast.CuM-yS7S.css} +0 -0
  222. /package/assets/{arialiveregions.DhsijBaL.css → arialiveregions.e0Q16ZWi.css} +0 -0
  223. /package/assets/{asterisk.BfVAUBO7.css → asterisk.B41DaZDe.css} +0 -0
  224. /package/assets/{button.DF4RBeC2.css → button.CpPeQPsM.css} +0 -0
  225. /package/assets/{buttonround.19uK_-oO.css → buttonround.BFauSRAb.css} +0 -0
  226. /package/assets/{checkbox.ByOoFouu.css → checkbox.BKHQN_tu.css} +0 -0
  227. /package/assets/{chipgroup.BzfZLbkv.css → chipgroup.CUIkyYBW.css} +0 -0
  228. /package/assets/{flag.B-RLcMcf.css → flag.C7i3MAAP.css} +0 -0
  229. /package/assets/{floatingactionbutton.E9HekT6S.css → floatingactionbutton.l0nvFiJU.css} +0 -0
  230. /package/assets/{heading.u4f8Mz94.css → heading.B-rdLVZD.css} +0 -0
  231. /package/assets/{input.BAkFKPW3.css → input.B5spSeMe.css} +0 -0
  232. /package/assets/{link.DDJj0D1U.css → link.Be5OF_8E.css} +0 -0
  233. /package/assets/{logo.CnW8alZU.css → logo.bVXt9m9R.css} +0 -0
  234. /package/assets/{numberindicator.BJ9vFpnd.css → numberindicator.BJnvB-K3.css} +0 -0
  235. /package/assets/{optioncheckbox.BZaWtRD7.css → optioncheckbox.DAffEKvY.css} +0 -0
  236. /package/assets/{radio.X-RTl_jo.css → radio.CGf7v0D_.css} +0 -0
  237. /package/assets/{skiptocontent.PTL3256m.css → skiptocontent.CTSDC_kG.css} +0 -0
  238. /package/assets/{spinner.2iWJWKyA.css → spinner.BJ5xwnYH.css} +0 -0
  239. /package/assets/{switch.gw6aa3kx.css → switch.Bc9KIyw9.css} +0 -0
  240. /package/assets/{systemfeedback.BPz5YlPC.css → systemfeedback.DoqgHZPH.css} +0 -0
  241. /package/assets/{TabPane.zywjfwo8.css → tabpane.D1LTb432.css} +0 -0
  242. /package/assets/{text.DjTG_qNb.css → text.BlRcxO8n.css} +0 -0
  243. /package/assets/{title.rosWPEG3.css → title.B0tsgJ-n.css} +0 -0
  244. /package/components/{Tabs/Tabs.utils.test.d.ts → Breadcrumb/Breadcrumb.test.d.ts} +0 -0
@@ -1,635 +0,0 @@
1
- "use client";
2
- import we from "react";
3
- var Z = { exports: {} }, D = {};
4
- /**
5
- * @license React
6
- * react-jsx-runtime.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var Oe;
14
- function lr() {
15
- if (Oe) return D;
16
- Oe = 1;
17
- var M = we, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, A = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function P(h, c, T) {
19
- var p, b = {}, _ = null, W = null;
20
- T !== void 0 && (_ = "" + T), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (W = c.ref);
21
- for (p in c) m.call(c, p) && !I.hasOwnProperty(p) && (b[p] = c[p]);
22
- if (h && h.defaultProps) for (p in c = h.defaultProps, c) b[p] === void 0 && (b[p] = c[p]);
23
- return { $$typeof: C, type: h, key: _, ref: W, props: b, _owner: A.current };
24
- }
25
- return D.Fragment = U, D.jsx = P, D.jsxs = P, D;
26
- }
27
- var F = {};
28
- /**
29
- * @license React
30
- * react-jsx-runtime.development.js
31
- *
32
- * Copyright (c) Facebook, Inc. and its affiliates.
33
- *
34
- * This source code is licensed under the MIT license found in the
35
- * LICENSE file in the root directory of this source tree.
36
- */
37
- var Se;
38
- function cr() {
39
- return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
40
- var M = we, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), P = Symbol.for("react.provider"), h = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), Q = Symbol.iterator, Ce = "@@iterator";
41
- function Pe(e) {
42
- if (e === null || typeof e != "object")
43
- return null;
44
- var r = Q && e[Q] || e[Ce];
45
- return typeof r == "function" ? r : null;
46
- }
47
- var O = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function l(e) {
49
- {
50
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
51
- t[n - 1] = arguments[n];
52
- je("error", e, t);
53
- }
54
- }
55
- function je(e, r, t) {
56
- {
57
- var n = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
58
- o !== "" && (r += "%s", t = t.concat([o]));
59
- var u = t.map(function(i) {
60
- return String(i);
61
- });
62
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
63
- }
64
- }
65
- var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, ee;
66
- ee = Symbol.for("react.module.reference");
67
- function Ie(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Ae || e === A || e === T || e === p || Fe || e === W || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === P || e.$$typeof === h || e.$$typeof === c || // This needs to include all possible module reference object
69
- // types supported by any Flight configuration anywhere since
70
- // we don't know which Flight build this will end up being used
71
- // with.
72
- e.$$typeof === ee || e.getModuleId !== void 0));
73
- }
74
- function We(e, r, t) {
75
- var n = e.displayName;
76
- if (n)
77
- return n;
78
- var o = r.displayName || r.name || "";
79
- return o !== "" ? t + "(" + o + ")" : t;
80
- }
81
- function re(e) {
82
- return e.displayName || "Context";
83
- }
84
- function y(e) {
85
- if (e == null)
86
- return null;
87
- if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
- return e.displayName || e.name || null;
89
- if (typeof e == "string")
90
- return e;
91
- switch (e) {
92
- case m:
93
- return "Fragment";
94
- case U:
95
- return "Portal";
96
- case I:
97
- return "Profiler";
98
- case A:
99
- return "StrictMode";
100
- case T:
101
- return "Suspense";
102
- case p:
103
- return "SuspenseList";
104
- }
105
- if (typeof e == "object")
106
- switch (e.$$typeof) {
107
- case h:
108
- var r = e;
109
- return re(r) + ".Consumer";
110
- case P:
111
- var t = e;
112
- return re(t._context) + ".Provider";
113
- case c:
114
- return We(e, e.render, "ForwardRef");
115
- case b:
116
- var n = e.displayName || null;
117
- return n !== null ? n : y(e.type) || "Memo";
118
- case _: {
119
- var o = e, u = o._payload, i = o._init;
120
- try {
121
- return y(i(u));
122
- } catch {
123
- return null;
124
- }
125
- }
126
- }
127
- return null;
128
- }
129
- var E = Object.assign, j = 0, te, ne, ae, ie, oe, ue, se;
130
- function fe() {
131
- }
132
- fe.__reactDisabledLog = !0;
133
- function Ye() {
134
- {
135
- if (j === 0) {
136
- te = console.log, ne = console.info, ae = console.warn, ie = console.error, oe = console.group, ue = console.groupCollapsed, se = console.groupEnd;
137
- var e = {
138
- configurable: !0,
139
- enumerable: !0,
140
- value: fe,
141
- writable: !0
142
- };
143
- Object.defineProperties(console, {
144
- info: e,
145
- log: e,
146
- warn: e,
147
- error: e,
148
- group: e,
149
- groupCollapsed: e,
150
- groupEnd: e
151
- });
152
- }
153
- j++;
154
- }
155
- }
156
- function $e() {
157
- {
158
- if (j--, j === 0) {
159
- var e = {
160
- configurable: !0,
161
- enumerable: !0,
162
- writable: !0
163
- };
164
- Object.defineProperties(console, {
165
- log: E({}, e, {
166
- value: te
167
- }),
168
- info: E({}, e, {
169
- value: ne
170
- }),
171
- warn: E({}, e, {
172
- value: ae
173
- }),
174
- error: E({}, e, {
175
- value: ie
176
- }),
177
- group: E({}, e, {
178
- value: oe
179
- }),
180
- groupCollapsed: E({}, e, {
181
- value: ue
182
- }),
183
- groupEnd: E({}, e, {
184
- value: se
185
- })
186
- });
187
- }
188
- j < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
- }
190
- }
191
- var N = O.ReactCurrentDispatcher, B;
192
- function Y(e, r, t) {
193
- {
194
- if (B === void 0)
195
- try {
196
- throw Error();
197
- } catch (o) {
198
- var n = o.stack.trim().match(/\n( *(at )?)/);
199
- B = n && n[1] || "";
200
- }
201
- return `
202
- ` + B + e;
203
- }
204
- }
205
- var J = !1, $;
206
- {
207
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
208
- $ = new Le();
209
- }
210
- function le(e, r) {
211
- if (!e || J)
212
- return "";
213
- {
214
- var t = $.get(e);
215
- if (t !== void 0)
216
- return t;
217
- }
218
- var n;
219
- J = !0;
220
- var o = Error.prepareStackTrace;
221
- Error.prepareStackTrace = void 0;
222
- var u;
223
- u = N.current, N.current = null, Ye();
224
- try {
225
- if (r) {
226
- var i = function() {
227
- throw Error();
228
- };
229
- if (Object.defineProperty(i.prototype, "props", {
230
- set: function() {
231
- throw Error();
232
- }
233
- }), typeof Reflect == "object" && Reflect.construct) {
234
- try {
235
- Reflect.construct(i, []);
236
- } catch (d) {
237
- n = d;
238
- }
239
- Reflect.construct(e, [], i);
240
- } else {
241
- try {
242
- i.call();
243
- } catch (d) {
244
- n = d;
245
- }
246
- e.call(i.prototype);
247
- }
248
- } else {
249
- try {
250
- throw Error();
251
- } catch (d) {
252
- n = d;
253
- }
254
- e();
255
- }
256
- } catch (d) {
257
- if (d && n && typeof d.stack == "string") {
258
- for (var a = d.stack.split(`
259
- `), v = n.stack.split(`
260
- `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
261
- f--;
262
- for (; s >= 1 && f >= 0; s--, f--)
263
- if (a[s] !== v[f]) {
264
- if (s !== 1 || f !== 1)
265
- do
266
- if (s--, f--, f < 0 || a[s] !== v[f]) {
267
- var g = `
268
- ` + a[s].replace(" at new ", " at ");
269
- return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && $.set(e, g), g;
270
- }
271
- while (s >= 1 && f >= 0);
272
- break;
273
- }
274
- }
275
- } finally {
276
- J = !1, N.current = u, $e(), Error.prepareStackTrace = o;
277
- }
278
- var w = e ? e.displayName || e.name : "", R = w ? Y(w) : "";
279
- return typeof e == "function" && $.set(e, R), R;
280
- }
281
- function Ve(e, r, t) {
282
- return le(e, !1);
283
- }
284
- function Me(e) {
285
- var r = e.prototype;
286
- return !!(r && r.isReactComponent);
287
- }
288
- function L(e, r, t) {
289
- if (e == null)
290
- return "";
291
- if (typeof e == "function")
292
- return le(e, Me(e));
293
- if (typeof e == "string")
294
- return Y(e);
295
- switch (e) {
296
- case T:
297
- return Y("Suspense");
298
- case p:
299
- return Y("SuspenseList");
300
- }
301
- if (typeof e == "object")
302
- switch (e.$$typeof) {
303
- case c:
304
- return Ve(e.render);
305
- case b:
306
- return L(e.type, r, t);
307
- case _: {
308
- var n = e, o = n._payload, u = n._init;
309
- try {
310
- return L(u(o), r, t);
311
- } catch {
312
- }
313
- }
314
- }
315
- return "";
316
- }
317
- var x = Object.prototype.hasOwnProperty, ce = {}, ve = O.ReactDebugCurrentFrame;
318
- function V(e) {
319
- if (e) {
320
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
321
- ve.setExtraStackFrame(t);
322
- } else
323
- ve.setExtraStackFrame(null);
324
- }
325
- function Ue(e, r, t, n, o) {
326
- {
327
- var u = Function.call.bind(x);
328
- for (var i in e)
329
- if (u(e, i)) {
330
- var a = void 0;
331
- try {
332
- if (typeof e[i] != "function") {
333
- var v = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw v.name = "Invariant Violation", v;
335
- }
336
- a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (s) {
338
- a = s;
339
- }
340
- a && !(a instanceof Error) && (V(o), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), V(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, V(o), l("Failed %s type: %s", t, a.message), V(null));
341
- }
342
- }
343
- }
344
- var Ne = Array.isArray;
345
- function K(e) {
346
- return Ne(e);
347
- }
348
- function Be(e) {
349
- {
350
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
- return t;
352
- }
353
- }
354
- function Je(e) {
355
- try {
356
- return de(e), !1;
357
- } catch {
358
- return !0;
359
- }
360
- }
361
- function de(e) {
362
- return "" + e;
363
- }
364
- function pe(e) {
365
- if (Je(e))
366
- return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), de(e);
367
- }
368
- var k = O.ReactCurrentOwner, Ke = {
369
- key: !0,
370
- ref: !0,
371
- __self: !0,
372
- __source: !0
373
- }, ge, ye, q;
374
- q = {};
375
- function qe(e) {
376
- if (x.call(e, "ref")) {
377
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
378
- if (r && r.isReactWarning)
379
- return !1;
380
- }
381
- return e.ref !== void 0;
382
- }
383
- function Ge(e) {
384
- if (x.call(e, "key")) {
385
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
386
- if (r && r.isReactWarning)
387
- return !1;
388
- }
389
- return e.key !== void 0;
390
- }
391
- function ze(e, r) {
392
- if (typeof e.ref == "string" && k.current && r && k.current.stateNode !== r) {
393
- var t = y(k.current.type);
394
- q[t] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(k.current.type), e.ref), q[t] = !0);
395
- }
396
- }
397
- function Xe(e, r) {
398
- {
399
- var t = function() {
400
- ge || (ge = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
401
- };
402
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
403
- get: t,
404
- configurable: !0
405
- });
406
- }
407
- }
408
- function He(e, r) {
409
- {
410
- var t = function() {
411
- ye || (ye = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
412
- };
413
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
- get: t,
415
- configurable: !0
416
- });
417
- }
418
- }
419
- var Ze = function(e, r, t, n, o, u, i) {
420
- var a = {
421
- // This tag allows us to uniquely identify this as a React Element
422
- $$typeof: C,
423
- // Built-in properties that belong on the element
424
- type: e,
425
- key: r,
426
- ref: t,
427
- props: i,
428
- // Record the component responsible for creating this element.
429
- _owner: u
430
- };
431
- return a._store = {}, Object.defineProperty(a._store, "validated", {
432
- configurable: !1,
433
- enumerable: !1,
434
- writable: !0,
435
- value: !1
436
- }), Object.defineProperty(a, "_self", {
437
- configurable: !1,
438
- enumerable: !1,
439
- writable: !1,
440
- value: n
441
- }), Object.defineProperty(a, "_source", {
442
- configurable: !1,
443
- enumerable: !1,
444
- writable: !1,
445
- value: o
446
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
447
- };
448
- function Qe(e, r, t, n, o) {
449
- {
450
- var u, i = {}, a = null, v = null;
451
- t !== void 0 && (pe(t), a = "" + t), Ge(r) && (pe(r.key), a = "" + r.key), qe(r) && (v = r.ref, ze(r, o));
452
- for (u in r)
453
- x.call(r, u) && !Ke.hasOwnProperty(u) && (i[u] = r[u]);
454
- if (e && e.defaultProps) {
455
- var s = e.defaultProps;
456
- for (u in s)
457
- i[u] === void 0 && (i[u] = s[u]);
458
- }
459
- if (a || v) {
460
- var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- a && Xe(i, f), v && He(i, f);
462
- }
463
- return Ze(e, a, v, o, n, k.current, i);
464
- }
465
- }
466
- var G = O.ReactCurrentOwner, be = O.ReactDebugCurrentFrame;
467
- function S(e) {
468
- if (e) {
469
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
470
- be.setExtraStackFrame(t);
471
- } else
472
- be.setExtraStackFrame(null);
473
- }
474
- var z;
475
- z = !1;
476
- function X(e) {
477
- return typeof e == "object" && e !== null && e.$$typeof === C;
478
- }
479
- function he() {
480
- {
481
- if (G.current) {
482
- var e = y(G.current.type);
483
- if (e)
484
- return `
485
-
486
- Check the render method of \`` + e + "`.";
487
- }
488
- return "";
489
- }
490
- }
491
- function er(e) {
492
- return "";
493
- }
494
- var _e = {};
495
- function rr(e) {
496
- {
497
- var r = he();
498
- if (!r) {
499
- var t = typeof e == "string" ? e : e.displayName || e.name;
500
- t && (r = `
501
-
502
- Check the top-level render call using <` + t + ">.");
503
- }
504
- return r;
505
- }
506
- }
507
- function Ee(e, r) {
508
- {
509
- if (!e._store || e._store.validated || e.key != null)
510
- return;
511
- e._store.validated = !0;
512
- var t = rr(r);
513
- if (_e[t])
514
- return;
515
- _e[t] = !0;
516
- var n = "";
517
- e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
518
- }
519
- }
520
- function Re(e, r) {
521
- {
522
- if (typeof e != "object")
523
- return;
524
- if (K(e))
525
- for (var t = 0; t < e.length; t++) {
526
- var n = e[t];
527
- X(n) && Ee(n, r);
528
- }
529
- else if (X(e))
530
- e._store && (e._store.validated = !0);
531
- else if (e) {
532
- var o = Pe(e);
533
- if (typeof o == "function" && o !== e.entries)
534
- for (var u = o.call(e), i; !(i = u.next()).done; )
535
- X(i.value) && Ee(i.value, r);
536
- }
537
- }
538
- }
539
- function tr(e) {
540
- {
541
- var r = e.type;
542
- if (r == null || typeof r == "string")
543
- return;
544
- var t;
545
- if (typeof r == "function")
546
- t = r.propTypes;
547
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
548
- // Inner props are checked in the reconciler.
549
- r.$$typeof === b))
550
- t = r.propTypes;
551
- else
552
- return;
553
- if (t) {
554
- var n = y(r);
555
- Ue(t, e.props, "prop", n, e);
556
- } else if (r.PropTypes !== void 0 && !z) {
557
- z = !0;
558
- var o = y(r);
559
- l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
560
- }
561
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
- }
563
- }
564
- function nr(e) {
565
- {
566
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
567
- var n = r[t];
568
- if (n !== "children" && n !== "key") {
569
- S(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
570
- break;
571
- }
572
- }
573
- e.ref !== null && (S(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
574
- }
575
- }
576
- var me = {};
577
- function Te(e, r, t, n, o, u) {
578
- {
579
- var i = Ie(e);
580
- if (!i) {
581
- var a = "";
582
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var v = er();
584
- v ? a += v : a += he();
585
- var s;
586
- e === null ? s = "null" : K(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
587
- }
588
- var f = Qe(e, r, t, o, u);
589
- if (f == null)
590
- return f;
591
- if (i) {
592
- var g = r.children;
593
- if (g !== void 0)
594
- if (n)
595
- if (K(g)) {
596
- for (var w = 0; w < g.length; w++)
597
- Re(g[w], e);
598
- Object.freeze && Object.freeze(g);
599
- } else
600
- l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
- else
602
- Re(g, e);
603
- }
604
- if (x.call(r, "key")) {
605
- var R = y(e), d = Object.keys(r).filter(function(fr) {
606
- return fr !== "key";
607
- }), H = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!me[R + H]) {
609
- var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
610
- l(`A props object containing a "key" prop is being spread into JSX:
611
- let props = %s;
612
- <%s {...props} />
613
- React keys must be passed directly to JSX without using spread:
614
- let props = %s;
615
- <%s key={someKey} {...props} />`, H, R, sr, R), me[R + H] = !0;
616
- }
617
- }
618
- return e === m ? nr(f) : tr(f), f;
619
- }
620
- }
621
- function ar(e, r, t) {
622
- return Te(e, r, t, !0);
623
- }
624
- function ir(e, r, t) {
625
- return Te(e, r, t, !1);
626
- }
627
- var or = ir, ur = ar;
628
- F.Fragment = m, F.jsx = or, F.jsxs = ur;
629
- }()), F;
630
- }
631
- process.env.NODE_ENV === "production" ? Z.exports = lr() : Z.exports = cr();
632
- var dr = Z.exports;
633
- export {
634
- dr as j
635
- };
@@ -1,48 +0,0 @@
1
- "use client";
2
- import { useState as c, useEffect as k } from "react";
3
- import { h as a } from "./has-window.ut_-aShB.js";
4
- const o = {
5
- base: 0,
6
- s: 320,
7
- m: 768,
8
- l: 1024,
9
- xl: 1536
10
- }, u = ["base", "s", "m", "l", "xl"], b = (e) => {
11
- let n = "base";
12
- for (const t of u)
13
- if (e >= o[t])
14
- n = t;
15
- else
16
- break;
17
- return n;
18
- }, f = (e) => e && typeof e == "object" && "base" in e, l = () => {
19
- const [e, n] = c("base");
20
- k(() => {
21
- if (a)
22
- return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
23
- }, []);
24
- const t = () => {
25
- if (a) {
26
- const r = window.innerWidth;
27
- n(b(r));
28
- }
29
- };
30
- return e;
31
- }, p = (e) => {
32
- const n = l();
33
- if (e && typeof e != "object" || !f(e))
34
- return e;
35
- const t = [...u].reverse();
36
- let r = e.base;
37
- for (const s of t) {
38
- const i = e[s];
39
- if (i !== void 0 && o[n] >= o[s]) {
40
- r = i;
41
- break;
42
- }
43
- }
44
- return r;
45
- };
46
- export {
47
- p as u
48
- };