@prokodo/ui 0.0.7 → 0.0.8

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 (225) hide show
  1. package/README.md +1 -2
  2. package/dist/components/Accordion2.js +1 -0
  3. package/dist/components/Animated2.js +1 -0
  4. package/dist/components/AnimatedText2.js +1 -0
  5. package/dist/components/Avatar2.js +1 -0
  6. package/dist/components/BaseLink.js +1 -0
  7. package/dist/components/Button2.js +1 -0
  8. package/dist/components/Calendly2.js +1 -0
  9. package/dist/components/Card2.js +1 -0
  10. package/dist/components/Carousel2.js +1 -0
  11. package/dist/components/Chip2.js +1 -0
  12. package/dist/components/{ClassNameConfigurator-C6UbdI-d.js → ClassNameConfigurator.js} +1 -1
  13. package/dist/components/DatePicker2.js +1 -0
  14. package/dist/components/Dialog2.js +1 -0
  15. package/dist/components/Drawer2.js +1 -0
  16. package/dist/components/Form2.js +1 -0
  17. package/dist/components/GridRow.js +1 -0
  18. package/dist/components/Headline2.js +1 -0
  19. package/dist/components/Icon2.js +1 -0
  20. package/dist/components/Image2.js +1 -0
  21. package/dist/components/ImageText.js +1 -0
  22. package/dist/components/Input2.js +1 -0
  23. package/dist/components/InputOTP2.js +1 -0
  24. package/dist/components/Label2.js +1 -0
  25. package/dist/components/Link2.js +1 -0
  26. package/dist/components/List2.js +1 -0
  27. package/dist/components/Loading2.js +1 -0
  28. package/dist/components/Lottie2.js +1 -0
  29. package/dist/components/Map2.js +1 -0
  30. package/dist/components/PostItem.js +1 -0
  31. package/dist/components/PostTeaser.js +1 -0
  32. package/dist/components/PostWidget.js +1 -0
  33. package/dist/components/PostWidgetCarousel.js +1 -0
  34. package/dist/components/Quote2.js +1 -0
  35. package/dist/components/RichText.js +1 -0
  36. package/dist/components/{Select-DbjU6dlH.js → Select2.js} +1 -1
  37. package/dist/components/Skeleton2.js +1 -0
  38. package/dist/components/Slider2.js +1 -0
  39. package/dist/components/Stepper2.js +1 -0
  40. package/dist/components/Switch2.js +1 -0
  41. package/dist/components/Table2.js +1 -0
  42. package/dist/components/Teaser2.js +1 -0
  43. package/dist/components/accordion.js +1 -1
  44. package/dist/components/animated.js +1 -1
  45. package/dist/components/animatedText.js +1 -1
  46. package/dist/components/avatar.js +1 -1
  47. package/dist/components/base-link.js +1 -1
  48. package/dist/components/button.js +1 -1
  49. package/dist/components/calendly.js +1 -1
  50. package/dist/components/card.js +1 -1
  51. package/dist/components/carousel.js +1 -1
  52. package/dist/components/chip.js +1 -1
  53. package/dist/components/datePicker.js +1 -1
  54. package/dist/components/dialog.js +1 -1
  55. package/dist/components/drawer.js +1 -1
  56. package/dist/components/form.js +1 -1
  57. package/dist/components/grid.js +1 -1
  58. package/dist/components/headline.js +1 -1
  59. package/dist/components/icon.js +1 -1
  60. package/dist/components/image-text.js +1 -1
  61. package/dist/components/image.js +1 -1
  62. package/dist/components/input.js +1 -1
  63. package/dist/components/inputOTP.js +1 -1
  64. package/dist/components/label.js +1 -1
  65. package/dist/components/link.js +1 -1
  66. package/dist/components/list.js +1 -1
  67. package/dist/components/loading.js +1 -1
  68. package/dist/components/lottie.js +1 -1
  69. package/dist/components/map.js +1 -1
  70. package/dist/components/post-item.js +1 -1
  71. package/dist/components/post-teaser.js +1 -1
  72. package/dist/components/post-widget-carousel.js +1 -1
  73. package/dist/components/post-widget.js +1 -1
  74. package/dist/components/quote.js +1 -1
  75. package/dist/components/rich-text.js +1 -1
  76. package/dist/components/select.js +1 -1
  77. package/dist/components/skeleton.js +1 -1
  78. package/dist/components/slider.js +1 -1
  79. package/dist/components/stepper.js +1 -1
  80. package/dist/components/switch.js +1 -1
  81. package/dist/components/table.js +1 -1
  82. package/dist/components/teaser.js +1 -1
  83. package/dist/index.cjs.js +1 -1
  84. package/dist/index.es.js +40 -40
  85. package/dist/tsconfig.build.tsbuildinfo +1 -1
  86. package/dist/tsconfig.typecheck.tsbuildinfo +1 -0
  87. package/dist/types/components/accordion/index.d.ts +1 -1
  88. package/dist/types/components/animated/index.d.ts +1 -1
  89. package/dist/types/components/animatedText/index.d.ts +1 -1
  90. package/dist/types/components/avatar/index.d.ts +1 -1
  91. package/dist/types/components/base-link/index.d.ts +1 -1
  92. package/dist/types/components/button/index.d.ts +1 -1
  93. package/dist/types/components/calendly/index.d.ts +1 -1
  94. package/dist/types/components/card/index.d.ts +1 -1
  95. package/dist/types/components/carousel/index.d.ts +1 -1
  96. package/dist/types/components/chip/index.d.ts +1 -1
  97. package/dist/types/components/datePicker/index.d.ts +1 -1
  98. package/dist/types/components/dialog/index.d.ts +1 -1
  99. package/dist/types/components/drawer/index.d.ts +1 -1
  100. package/dist/types/components/form/Form.model.d.ts +4 -1
  101. package/dist/types/components/form/FormResponse.d.ts +2 -5
  102. package/dist/types/components/form/index.d.ts +2 -1
  103. package/dist/types/components/grid/Grid.d.ts +2 -6
  104. package/dist/types/components/grid/Grid.model.d.ts +17 -0
  105. package/dist/types/components/grid/GridRow.d.ts +2 -12
  106. package/dist/types/components/grid/index.d.ts +1 -0
  107. package/dist/types/components/headline/index.d.ts +1 -1
  108. package/dist/types/components/icon/index.d.ts +1 -1
  109. package/dist/types/components/image/index.d.ts +1 -1
  110. package/dist/types/components/image-text/index.d.ts +1 -1
  111. package/dist/types/components/input/index.d.ts +1 -1
  112. package/dist/types/components/inputOTP/index.d.ts +1 -1
  113. package/dist/types/components/label/index.d.ts +1 -1
  114. package/dist/types/components/link/index.d.ts +1 -1
  115. package/dist/types/components/list/index.d.ts +1 -1
  116. package/dist/types/components/loading/index.d.ts +1 -1
  117. package/dist/types/components/lottie/index.d.ts +1 -1
  118. package/dist/types/components/map/index.d.ts +1 -1
  119. package/dist/types/components/post-item/index.d.ts +2 -2
  120. package/dist/types/components/post-teaser/index.d.ts +1 -1
  121. package/dist/types/components/post-widget/index.d.ts +1 -1
  122. package/dist/types/components/post-widget-carousel/index.d.ts +1 -1
  123. package/dist/types/components/quote/index.d.ts +1 -1
  124. package/dist/types/components/rich-text/index.d.ts +1 -1
  125. package/dist/types/components/select/index.d.ts +1 -1
  126. package/dist/types/components/skeleton/index.d.ts +1 -1
  127. package/dist/types/components/slider/index.d.ts +1 -1
  128. package/dist/types/components/stepper/index.d.ts +1 -1
  129. package/dist/types/components/switch/index.d.ts +1 -1
  130. package/dist/types/components/table/index.d.ts +1 -1
  131. package/dist/types/components/teaser/index.d.ts +1 -1
  132. package/dist/types/index.d.ts +0 -40
  133. package/package.json +1 -1
  134. package/dist/components/Accordion-V3d_aGvZ.js +0 -130
  135. package/dist/components/Accordion-o8oKA6Tq.js +0 -1
  136. package/dist/components/Animated-BBfAgsHL.js +0 -64
  137. package/dist/components/Animated-CO4IEerF.js +0 -1
  138. package/dist/components/AnimatedText-BmB5Vkyq.js +0 -31
  139. package/dist/components/AnimatedText-Sy1jofZl.js +0 -1
  140. package/dist/components/Avatar-Ci5YNFc5.js +0 -95
  141. package/dist/components/Avatar-CjlbA5a5.js +0 -1
  142. package/dist/components/BaseLink-Dd9htNXU.js +0 -1
  143. package/dist/components/BaseLink-w1q9Qc1U.js +0 -30
  144. package/dist/components/Button-B8chVgsB.js +0 -111
  145. package/dist/components/Button-yvFLX-6Q.js +0 -1
  146. package/dist/components/Calendly-CWCAs02R.js +0 -1
  147. package/dist/components/Calendly-WBM4oHyC.js +0 -82
  148. package/dist/components/Card-BPEoLzF1.js +0 -1
  149. package/dist/components/Card-IW4R7bKr.js +0 -202
  150. package/dist/components/Carousel-CdS7SVzA.js +0 -1
  151. package/dist/components/Carousel-DpO4a3lm.js +0 -257
  152. package/dist/components/Chip-BmBxJH5M.js +0 -80
  153. package/dist/components/Chip-Q2ttDAQn.js +0 -1
  154. package/dist/components/ClassNameConfigurator-Ce5BUPXc.js +0 -860
  155. package/dist/components/DatePicker-BTenaDN8.js +0 -1
  156. package/dist/components/DatePicker-PK173UTy.js +0 -93
  157. package/dist/components/Dialog-Bq3tfZ0_.js +0 -1
  158. package/dist/components/Dialog-KlXAOdt_.js +0 -172
  159. package/dist/components/Drawer-DulO9091.js +0 -1
  160. package/dist/components/Drawer-i9X07r74.js +0 -120
  161. package/dist/components/Form-B6963dT5.js +0 -368
  162. package/dist/components/Form-DVNzITG2.js +0 -1
  163. package/dist/components/GridRow-1h1JHuDl.js +0 -114
  164. package/dist/components/GridRow-C5v0sOZZ.js +0 -1
  165. package/dist/components/Headline-CnyLLQLB.js +0 -1
  166. package/dist/components/Headline-DzEinaZi.js +0 -98
  167. package/dist/components/Icon-BMrVlROP.js +0 -4195
  168. package/dist/components/Icon-eWdA85cf.js +0 -1
  169. package/dist/components/Image-B-lyA7ym.js +0 -1
  170. package/dist/components/Image-CVgvVlLE.js +0 -33
  171. package/dist/components/ImageText-Cqp4xp9y.js +0 -113
  172. package/dist/components/ImageText-D-06_EGf.js +0 -1
  173. package/dist/components/Input-BEO9ig1R.js +0 -1
  174. package/dist/components/Input-CrNLI_OY.js +0 -258
  175. package/dist/components/InputOTP-Db7DHrhS.js +0 -88
  176. package/dist/components/InputOTP-MnmjEmPU.js +0 -1
  177. package/dist/components/Label-BvCzZIGM.js +0 -1
  178. package/dist/components/Label-DRUCdGoX.js +0 -71
  179. package/dist/components/Link-DSQ1125B.js +0 -69
  180. package/dist/components/Link-Dg7XR4uY.js +0 -1
  181. package/dist/components/List-D_dSwMx5.js +0 -1
  182. package/dist/components/List-P6xbVrBc.js +0 -196
  183. package/dist/components/Loading-C7lyHDW7.js +0 -68
  184. package/dist/components/Loading-U-CrTVTi.js +0 -1
  185. package/dist/components/Lottie-Br7PmIzX.js +0 -1
  186. package/dist/components/Lottie-CrvbxK0R.js +0 -87
  187. package/dist/components/Map-D3xbPS1S.js +0 -1
  188. package/dist/components/Map-DEIB_y-M.js +0 -64
  189. package/dist/components/PostItem-B8Vfv_sW.js +0 -183
  190. package/dist/components/PostItem-BSTn6cHD.js +0 -1
  191. package/dist/components/PostTeaser-BmZyqFL2.js +0 -186
  192. package/dist/components/PostTeaser-DLynX43c.js +0 -1
  193. package/dist/components/PostWidget-Bo4KiSsV.js +0 -170
  194. package/dist/components/PostWidget-DYWA-B8d.js +0 -1
  195. package/dist/components/PostWidgetCarousel-CZ6ptOGv.js +0 -168
  196. package/dist/components/PostWidgetCarousel-D7-p3Pwr.js +0 -1
  197. package/dist/components/Quote-6aurOanD.js +0 -1
  198. package/dist/components/Quote-CV_UYE1G.js +0 -101
  199. package/dist/components/RichText-Cg_XzkUs.js +0 -152
  200. package/dist/components/RichText-DVg1dwMV.js +0 -1
  201. package/dist/components/Select-BMyrX8V0.js +0 -3081
  202. package/dist/components/Skeleton-BuY3bttw.js +0 -1
  203. package/dist/components/Skeleton-D6olNYTG.js +0 -40
  204. package/dist/components/Slider-C-lecSwc.js +0 -957
  205. package/dist/components/Slider-GvO3Xllf.js +0 -1
  206. package/dist/components/Stepper-BV3PGCr2.js +0 -1
  207. package/dist/components/Stepper-CA1DOm4D.js +0 -135
  208. package/dist/components/Switch-C_6EUOIc.js +0 -330
  209. package/dist/components/Switch-Db3HpOhM.js +0 -1
  210. package/dist/components/Table-Csc0FIbX.js +0 -1
  211. package/dist/components/Table-Cy8bIv_C.js +0 -95
  212. package/dist/components/Teaser-CkisYOs-.js +0 -1
  213. package/dist/components/Teaser-Cl2oBeh5.js +0 -118
  214. package/dist/components/areArraysEqual-CJkStQkx.js +0 -20
  215. package/dist/components/bem-CYKrPjje.js +0 -11
  216. package/dist/components/calculation-79PhfKvq.js +0 -4
  217. package/dist/components/jsx-runtime-C5mzlN2N.js +0 -284
  218. package/dist/components/useControlled-BYdyS7Pn.js +0 -31
  219. package/dist/components/validations-B_cxltQ_.js +0 -8
  220. /package/dist/components/{areArraysEqual-6R3bBH2E.js → areArraysEqual.js} +0 -0
  221. /package/dist/components/{bem-DC5wv0dD.js → bem.js} +0 -0
  222. /package/dist/components/{calculation-D-p0iqpk.js → calculation.js} +0 -0
  223. /package/dist/components/{jsx-runtime-CITbqOLs.js → jsx-runtime.js} +0 -0
  224. /package/dist/components/{useControlled-Ysk4KqoX.js → useControlled.js} +0 -0
  225. /package/dist/components/{validations-Cnxtn28y.js → validations.js} +0 -0
@@ -1,118 +0,0 @@
1
- import { j as s } from "./jsx-runtime-C5mzlN2N.js";
2
- import { memo as g } from "react";
3
- import { c as h } from "./bem-CYKrPjje.js";
4
- import { i as c } from "./validations-B_cxltQ_.js";
5
- import { C as f } from "./Card-IW4R7bKr.js";
6
- import { H as t } from "./Headline-DzEinaZi.js";
7
- import { I as N } from "./Icon-BMrVlROP.js";
8
- import { I as x } from "./Image-CVgvVlLE.js";
9
- import { L as j } from "./Lottie-CrvbxK0R.js";
10
- import { R as C } from "./RichText-Cg_XzkUs.js";
11
- const v = "gradientMove", I = "fadeInKeyframe", y = {
12
- "prokodo-Teaser": "prokodo-Teaser",
13
- "prokodo-Teaser__card": "prokodo-Teaser__card",
14
- "prokodo-Teaser__card__content": "prokodo-Teaser__card__content",
15
- "prokodo-Teaser__image": "prokodo-Teaser__image",
16
- "prokodo-Teaser__image__wrapper": "prokodo-Teaser__image__wrapper",
17
- "prokodo-Teaser__image__caption": "prokodo-Teaser__image__caption",
18
- "prokodo-Teaser__animation": "prokodo-Teaser__animation",
19
- "prokodo-Teaser__headline--has-lineClamp": "prokodo-Teaser__headline--has-lineClamp",
20
- "prokodo-Teaser__content": "prokodo-Teaser__content",
21
- "prokodo-Teaser__content--has-lineClamp": "prokodo-Teaser__content--has-lineClamp",
22
- "prokodo-Teaser__content--align-left": "prokodo-Teaser__content--align-left",
23
- "prokodo-Teaser__content--align-right": "prokodo-Teaser__content--align-right",
24
- "prokodo-Teaser__link": "prokodo-Teaser__link",
25
- "prokodo-Teaser__link__icon": "prokodo-Teaser__link__icon",
26
- gradientMove: v,
27
- fadeInKeyframe: I
28
- }, a = h(y, "Teaser"), w = g(
29
- ({
30
- className: d,
31
- variant: n = "primary",
32
- animation: _,
33
- lineClamp: m,
34
- align: r,
35
- image: p,
36
- title: e,
37
- content: i,
38
- onClick: k,
39
- redirect: o,
40
- ...T
41
- }) => {
42
- var l;
43
- return /* @__PURE__ */ s.jsxs(
44
- f,
45
- {
46
- variant: n,
47
- ...T,
48
- className: a(void 0, void 0, d),
49
- contentClassName: a("card"),
50
- redirect: o,
51
- onClick: k,
52
- children: [
53
- _ && /* @__PURE__ */ s.jsx(j, { animationName: _, className: a("animation") }),
54
- p && /* @__PURE__ */ s.jsx("div", { className: a("image__wrapper"), children: /* @__PURE__ */ s.jsx(
55
- x,
56
- {
57
- ...p,
58
- captionClassName: a("image__caption"),
59
- className: a("image"),
60
- containerClassName: a("image")
61
- }
62
- ) }),
63
- /* @__PURE__ */ s.jsxs("div", { className: a("card__content"), children: [
64
- /* @__PURE__ */ s.jsx(
65
- t,
66
- {
67
- align: r ?? "center",
68
- size: "md",
69
- type: "h3",
70
- ...e,
71
- variant: (e == null ? void 0 : e.variant) ?? n,
72
- className: a(
73
- "headline",
74
- {
75
- "has-lineClamp": !!m
76
- },
77
- e == null ? void 0 : e.className
78
- ),
79
- children: e == null ? void 0 : e.content
80
- }
81
- ),
82
- c(i) && /* @__PURE__ */ s.jsx(
83
- C,
84
- {
85
- className: a("content", {
86
- "has-lineClamp": !!m,
87
- [`align-${r}`]: !!r
88
- }),
89
- children: i
90
- }
91
- ),
92
- c(o == null ? void 0 : o.label) && /* @__PURE__ */ s.jsxs("span", { className: a("link"), children: [
93
- /* @__PURE__ */ s.jsx(
94
- N,
95
- {
96
- color: n,
97
- name: "ArrowRight01Icon",
98
- size: "xs",
99
- ...o == null ? void 0 : o.icon,
100
- className: a(
101
- "link__icon",
102
- void 0,
103
- (l = o == null ? void 0 : o.icon) == null ? void 0 : l.className
104
- )
105
- }
106
- ),
107
- o == null ? void 0 : o.label
108
- ] })
109
- ] })
110
- ]
111
- }
112
- );
113
- }
114
- );
115
- w.displayName = "Teaser";
116
- export {
117
- w as T
118
- };
@@ -1,20 +0,0 @@
1
- import * as i from "react";
2
- const s = typeof window < "u" ? i.useLayoutEffect : i.useEffect, d = {
3
- border: 0,
4
- clip: "rect(0 0 0 0)",
5
- height: "1px",
6
- margin: "-1px",
7
- overflow: "hidden",
8
- padding: 0,
9
- position: "absolute",
10
- whiteSpace: "nowrap",
11
- width: "1px"
12
- };
13
- function c(n, o, a = (e, t) => e === t) {
14
- return n.length === o.length && n.every((e, t) => a(e, o[t]));
15
- }
16
- export {
17
- c as a,
18
- s as u,
19
- d as v
20
- };
@@ -1,11 +0,0 @@
1
- import m from "react-bem-helper";
2
- const p = "prokodo";
3
- function l(s, t) {
4
- const a = `${p}-${t}`, e = new m({ name: a, outputIsString: !0 });
5
- return (n, r, c) => e(n, r, c).split(" ").map(
6
- (o) => s[o] !== void 0 && s[o] !== "" ? s[o] : o
7
- ).join(" ");
8
- }
9
- export {
10
- l as c
11
- };
@@ -1,4 +0,0 @@
1
- const c = (o) => o === void 0 ? 0 : o.split(/\s+/).length;
2
- export {
3
- c
4
- };
@@ -1,284 +0,0 @@
1
- import ee from "react";
2
- var T = { exports: {} }, R = {};
3
- /**
4
- * @license React
5
- * react-jsx-runtime.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and 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 F;
13
- function re() {
14
- if (F) return R;
15
- F = 1;
16
- var l = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
17
- function f(d, a, s) {
18
- var m = null;
19
- if (s !== void 0 && (m = "" + s), a.key !== void 0 && (m = "" + a.key), "key" in a) {
20
- s = {};
21
- for (var E in a)
22
- E !== "key" && (s[E] = a[E]);
23
- } else s = a;
24
- return a = s.ref, {
25
- $$typeof: l,
26
- type: d,
27
- key: m,
28
- ref: a !== void 0 ? a : null,
29
- props: s
30
- };
31
- }
32
- return R.Fragment = _, R.jsx = f, R.jsxs = f, R;
33
- }
34
- var b = {};
35
- /**
36
- * @license React
37
- * react-jsx-runtime.development.js
38
- *
39
- * Copyright (c) Meta Platforms, Inc. and affiliates.
40
- *
41
- * This source code is licensed under the MIT license found in the
42
- * LICENSE file in the root directory of this source tree.
43
- */
44
- var D;
45
- function te() {
46
- return D || (D = 1, process.env.NODE_ENV !== "production" && function() {
47
- function l(e) {
48
- if (e == null) return null;
49
- if (typeof e == "function")
50
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
51
- if (typeof e == "string") return e;
52
- switch (e) {
53
- case p:
54
- return "Fragment";
55
- case J:
56
- return "Profiler";
57
- case U:
58
- return "StrictMode";
59
- case G:
60
- return "Suspense";
61
- case X:
62
- return "SuspenseList";
63
- case H:
64
- return "Activity";
65
- }
66
- if (typeof e == "object")
67
- switch (typeof e.tag == "number" && console.error(
68
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), e.$$typeof) {
70
- case W:
71
- return "Portal";
72
- case z:
73
- return (e.displayName || "Context") + ".Provider";
74
- case q:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
- case V:
77
- var r = e.render;
78
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case B:
80
- return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case g:
82
- r = e._payload, e = e._init;
83
- try {
84
- return l(e(r));
85
- } catch {
86
- }
87
- }
88
- return null;
89
- }
90
- function _(e) {
91
- return "" + e;
92
- }
93
- function f(e) {
94
- try {
95
- _(e);
96
- var r = !1;
97
- } catch {
98
- r = !0;
99
- }
100
- if (r) {
101
- r = console;
102
- var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
103
- return t.call(
104
- r,
105
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
- n
107
- ), _(e);
108
- }
109
- }
110
- function d(e) {
111
- if (e === p) return "<>";
112
- if (typeof e == "object" && e !== null && e.$$typeof === g)
113
- return "<...>";
114
- try {
115
- var r = l(e);
116
- return r ? "<" + r + ">" : "<...>";
117
- } catch {
118
- return "<...>";
119
- }
120
- }
121
- function a() {
122
- var e = k.A;
123
- return e === null ? null : e.getOwner();
124
- }
125
- function s() {
126
- return Error("react-stack-top-frame");
127
- }
128
- function m(e) {
129
- if (h.call(e, "key")) {
130
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
- if (r && r.isReactWarning) return !1;
132
- }
133
- return e.key !== void 0;
134
- }
135
- function E(e, r) {
136
- function t() {
137
- y || (y = !0, console.error(
138
- "%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://react.dev/link/special-props)",
139
- r
140
- ));
141
- }
142
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
143
- get: t,
144
- configurable: !0
145
- });
146
- }
147
- function L() {
148
- var e = l(this.type);
149
- return N[e] || (N[e] = !0, console.error(
150
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
- )), e = this.props.ref, e !== void 0 ? e : null;
152
- }
153
- function M(e, r, t, n, c, u, A, S) {
154
- return t = u.ref, e = {
155
- $$typeof: x,
156
- type: e,
157
- key: r,
158
- props: u,
159
- _owner: c
160
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
161
- enumerable: !1,
162
- get: L
163
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
- configurable: !1,
165
- enumerable: !1,
166
- writable: !0,
167
- value: 0
168
- }), Object.defineProperty(e, "_debugInfo", {
169
- configurable: !1,
170
- enumerable: !1,
171
- writable: !0,
172
- value: null
173
- }), Object.defineProperty(e, "_debugStack", {
174
- configurable: !1,
175
- enumerable: !1,
176
- writable: !0,
177
- value: A
178
- }), Object.defineProperty(e, "_debugTask", {
179
- configurable: !1,
180
- enumerable: !1,
181
- writable: !0,
182
- value: S
183
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
- }
185
- function j(e, r, t, n, c, u, A, S) {
186
- var o = r.children;
187
- if (o !== void 0)
188
- if (n)
189
- if (Q(o)) {
190
- for (n = 0; n < o.length; n++)
191
- w(o[n]);
192
- Object.freeze && Object.freeze(o);
193
- } else
194
- console.error(
195
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
- );
197
- else w(o);
198
- if (h.call(r, "key")) {
199
- o = l(e);
200
- var i = Object.keys(r).filter(function(K) {
201
- return K !== "key";
202
- });
203
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
204
- `A props object containing a "key" prop is being spread into JSX:
205
- let props = %s;
206
- <%s {...props} />
207
- React keys must be passed directly to JSX without using spread:
208
- let props = %s;
209
- <%s key={someKey} {...props} />`,
210
- n,
211
- o,
212
- i,
213
- o
214
- ), I[o + n] = !0);
215
- }
216
- if (o = null, t !== void 0 && (f(t), o = "" + t), m(r) && (f(r.key), o = "" + r.key), "key" in r) {
217
- t = {};
218
- for (var P in r)
219
- P !== "key" && (t[P] = r[P]);
220
- } else t = r;
221
- return o && E(
222
- t,
223
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
- ), M(
225
- e,
226
- o,
227
- u,
228
- c,
229
- a(),
230
- t,
231
- A,
232
- S
233
- );
234
- }
235
- function w(e) {
236
- typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
237
- }
238
- var v = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
239
- return null;
240
- };
241
- v = {
242
- "react-stack-bottom-frame": function(e) {
243
- return e();
244
- }
245
- };
246
- var y, N = {}, C = v["react-stack-bottom-frame"].bind(
247
- v,
248
- s
249
- )(), Y = O(d(s)), I = {};
250
- b.Fragment = p, b.jsx = function(e, r, t, n, c) {
251
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
252
- return j(
253
- e,
254
- r,
255
- t,
256
- !1,
257
- n,
258
- c,
259
- u ? Error("react-stack-top-frame") : C,
260
- u ? O(d(e)) : Y
261
- );
262
- }, b.jsxs = function(e, r, t, n, c) {
263
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
264
- return j(
265
- e,
266
- r,
267
- t,
268
- !0,
269
- n,
270
- c,
271
- u ? Error("react-stack-top-frame") : C,
272
- u ? O(d(e)) : Y
273
- );
274
- };
275
- }()), b;
276
- }
277
- var $;
278
- function ne() {
279
- return $ || ($ = 1, process.env.NODE_ENV === "production" ? T.exports = re() : T.exports = te()), T.exports;
280
- }
281
- var ae = ne();
282
- export {
283
- ae as j
284
- };
@@ -1,31 +0,0 @@
1
- import * as t from "react";
2
- function d({
3
- controlled: o,
4
- default: s,
5
- name: n,
6
- state: r = "value"
7
- }) {
8
- const {
9
- current: e
10
- } = t.useRef(o !== void 0), [c, l] = t.useState(s), u = e ? o : c;
11
- if (process.env.NODE_ENV !== "production") {
12
- t.useEffect(() => {
13
- e !== (o !== void 0) && console.error([`MUI: A component is changing the ${e ? "" : "un"}controlled ${r} state of ${n} to be ${e ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
14
- `));
15
- }, [r, n, o]);
16
- const {
17
- current: i
18
- } = t.useRef(s);
19
- t.useEffect(() => {
20
- !e && !Object.is(i, s) && console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
21
- `));
22
- }, [JSON.stringify(s)]);
23
- }
24
- const f = t.useCallback((i) => {
25
- e || l(i);
26
- }, []);
27
- return [u, f];
28
- }
29
- export {
30
- d as u
31
- };
@@ -1,8 +0,0 @@
1
- const i = (s) => typeof s == "string" && s.trim() !== "", t = (s) => typeof s == "number", r = (s) => Array.isArray(s) && s.length > 0, n = (s) => s == null, o = (s) => s !== !1 && s !== void 0;
2
- export {
3
- n as a,
4
- r as b,
5
- t as c,
6
- o as d,
7
- i
8
- };
File without changes