@prokodo/ui 0.0.24 → 0.0.26
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.
- package/dist/components/accordion/Accordion.js +65 -65
- package/dist/components/animated/Animated.js +17 -17
- package/dist/components/animatedText/AnimatedText.js +4 -4
- package/dist/components/avatar/Avatar.js +34 -34
- package/dist/components/base-link/BaseLink.js +12 -12
- package/dist/components/button/Button.js +48 -48
- package/dist/components/calendly/Calendly.js +32 -32
- package/dist/components/card/Card.js +107 -107
- package/dist/components/carousel/Carousel.js +106 -106
- package/dist/components/chip/Chip.js +26 -26
- package/dist/components/datePicker/DatePicker.js +37 -37
- package/dist/components/dialog/Dialog.js +82 -82
- package/dist/components/drawer/Drawer.js +48 -48
- package/dist/components/form/Form.js +94 -94
- package/dist/components/form/FormField.js +41 -41
- package/dist/components/form/FormResponse.js +22 -22
- package/dist/components/grid/Grid.js +8 -8
- package/dist/components/grid/GridRow.js +10 -10
- package/dist/components/headline/Headline.js +28 -28
- package/dist/components/icon/Icon.js +4 -4
- package/dist/components/image/Image.js +15 -15
- package/dist/components/image-text/ImageText.js +48 -48
- package/dist/components/input/Input.js +121 -121
- package/dist/components/inputOTP/InputOTP.js +24 -24
- package/dist/components/label/Label.js +26 -26
- package/dist/components/link/Link.js +27 -27
- package/dist/components/list/List.js +75 -75
- package/dist/components/loading/Loading.js +17 -17
- package/dist/components/lottie/Lottie.js +23 -23
- package/dist/components/map/Map.js +19 -19
- package/dist/components/post-item/PostItem.js +73 -73
- package/dist/components/post-item/PostItemAuthor.js +16 -16
- package/dist/components/post-item/index.js +4 -2
- package/dist/components/post-teaser/PostTeaser.js +76 -76
- package/dist/components/post-widget/PostWidget.js +63 -63
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +67 -67
- package/dist/components/quote/Quote.js +40 -40
- package/dist/components/rich-text/RichText.js +76 -76
- package/dist/components/select/Select.js +92 -92
- package/dist/components/skeleton/Skeleton.js +8 -8
- package/dist/components/slider/Slider.js +50 -50
- package/dist/components/stepper/Stepper.js +41 -41
- package/dist/components/switch/Switch.js +32 -32
- package/dist/components/table/Table.js +31 -31
- package/dist/components/teaser/Teaser.js +55 -55
- package/dist/constants/project.js +1 -1
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +23 -23
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +22 -22
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +46 -46
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +141 -141
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +33 -33
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +31 -31
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +14 -14
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/post-item/index.d.ts +1 -0
- package/package.json +7 -3
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.js +0 -4
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js +0 -247
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js +0 -35
- package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.js +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prokodo/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Modern, customizable UI components built with React and TypeScript — developed by prokodo for high-performance web interfaces.",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -186,9 +186,7 @@
|
|
|
186
186
|
"@lottiefiles/dotlottie-react": "^0.7.2",
|
|
187
187
|
"@mui/base": "5.0.0-beta.58",
|
|
188
188
|
"dayjs": "^1.11.13",
|
|
189
|
-
"react": "19.1.0",
|
|
190
189
|
"react-bem-helper": "^1.4.1",
|
|
191
|
-
"react-dom": "19.1.0",
|
|
192
190
|
"react-markdown": "^9.0.1",
|
|
193
191
|
"remark-breaks": "^4.0.0",
|
|
194
192
|
"remark-gfm": "^4.0.0",
|
|
@@ -255,6 +253,8 @@
|
|
|
255
253
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
256
254
|
"postcss-preset-env": "^10.0.2",
|
|
257
255
|
"prettier": "^3.3.3",
|
|
256
|
+
"react": "19.1.0",
|
|
257
|
+
"react-dom": "19.1.0",
|
|
258
258
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
259
259
|
"sass": "^1.86.3",
|
|
260
260
|
"storybook": "8.2.9",
|
|
@@ -267,6 +267,10 @@
|
|
|
267
267
|
"vite-plugin-checker": "^0.9.3",
|
|
268
268
|
"vite-plugin-inspect": "^11.1.0"
|
|
269
269
|
},
|
|
270
|
+
"peerDependencies": {
|
|
271
|
+
"react": ">=18",
|
|
272
|
+
"react-dom": ">=18"
|
|
273
|
+
},
|
|
270
274
|
"keywords": [
|
|
271
275
|
"react",
|
|
272
276
|
"typescript",
|
package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.development.js
DELETED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../../../_virtual/react-jsx-runtime.development.js";
|
|
2
|
-
import B from "react";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.development.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 N;
|
|
13
|
-
function Q() {
|
|
14
|
-
return N ? u : (N = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
-
function l(e) {
|
|
16
|
-
if (e == null) return null;
|
|
17
|
-
if (typeof e == "function")
|
|
18
|
-
return e.$$typeof === q ? null : e.displayName || e.name || null;
|
|
19
|
-
if (typeof e == "string") return e;
|
|
20
|
-
switch (e) {
|
|
21
|
-
case m:
|
|
22
|
-
return "Fragment";
|
|
23
|
-
case $:
|
|
24
|
-
return "Profiler";
|
|
25
|
-
case W:
|
|
26
|
-
return "StrictMode";
|
|
27
|
-
case z:
|
|
28
|
-
return "Suspense";
|
|
29
|
-
case V:
|
|
30
|
-
return "SuspenseList";
|
|
31
|
-
case X:
|
|
32
|
-
return "Activity";
|
|
33
|
-
}
|
|
34
|
-
if (typeof e == "object")
|
|
35
|
-
switch (typeof e.tag == "number" && console.error(
|
|
36
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
37
|
-
), e.$$typeof) {
|
|
38
|
-
case F:
|
|
39
|
-
return "Portal";
|
|
40
|
-
case U:
|
|
41
|
-
return (e.displayName || "Context") + ".Provider";
|
|
42
|
-
case L:
|
|
43
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
44
|
-
case M:
|
|
45
|
-
var r = e.render;
|
|
46
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
47
|
-
case G:
|
|
48
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
49
|
-
case A:
|
|
50
|
-
r = e._payload, e = e._init;
|
|
51
|
-
try {
|
|
52
|
-
return l(e(r));
|
|
53
|
-
} catch {
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
function T(e) {
|
|
59
|
-
return "" + e;
|
|
60
|
-
}
|
|
61
|
-
function v(e) {
|
|
62
|
-
try {
|
|
63
|
-
T(e);
|
|
64
|
-
var r = !1;
|
|
65
|
-
} catch {
|
|
66
|
-
r = !0;
|
|
67
|
-
}
|
|
68
|
-
if (r) {
|
|
69
|
-
r = console;
|
|
70
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
71
|
-
return t.call(
|
|
72
|
-
r,
|
|
73
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
74
|
-
n
|
|
75
|
-
), T(e);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function f(e) {
|
|
79
|
-
if (e === m) return "<>";
|
|
80
|
-
if (typeof e == "object" && e !== null && e.$$typeof === A)
|
|
81
|
-
return "<...>";
|
|
82
|
-
try {
|
|
83
|
-
var r = l(e);
|
|
84
|
-
return r ? "<" + r + ">" : "<...>";
|
|
85
|
-
} catch {
|
|
86
|
-
return "<...>";
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function C() {
|
|
90
|
-
var e = b.A;
|
|
91
|
-
return e === null ? null : e.getOwner();
|
|
92
|
-
}
|
|
93
|
-
function p() {
|
|
94
|
-
return Error("react-stack-top-frame");
|
|
95
|
-
}
|
|
96
|
-
function x(e) {
|
|
97
|
-
if (S.call(e, "key")) {
|
|
98
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
99
|
-
if (r && r.isReactWarning) return !1;
|
|
100
|
-
}
|
|
101
|
-
return e.key !== void 0;
|
|
102
|
-
}
|
|
103
|
-
function Y(e, r) {
|
|
104
|
-
function t() {
|
|
105
|
-
w || (w = !0, console.error(
|
|
106
|
-
"%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)",
|
|
107
|
-
r
|
|
108
|
-
));
|
|
109
|
-
}
|
|
110
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
111
|
-
get: t,
|
|
112
|
-
configurable: !0
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
function I() {
|
|
116
|
-
var e = l(this.type);
|
|
117
|
-
return P[e] || (P[e] = !0, console.error(
|
|
118
|
-
"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."
|
|
119
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
120
|
-
}
|
|
121
|
-
function D(e, r, t, n, c, o, E, _) {
|
|
122
|
-
return t = o.ref, e = {
|
|
123
|
-
$$typeof: g,
|
|
124
|
-
type: e,
|
|
125
|
-
key: r,
|
|
126
|
-
props: o,
|
|
127
|
-
_owner: c
|
|
128
|
-
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
129
|
-
enumerable: !1,
|
|
130
|
-
get: I
|
|
131
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
132
|
-
configurable: !1,
|
|
133
|
-
enumerable: !1,
|
|
134
|
-
writable: !0,
|
|
135
|
-
value: 0
|
|
136
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
137
|
-
configurable: !1,
|
|
138
|
-
enumerable: !1,
|
|
139
|
-
writable: !0,
|
|
140
|
-
value: null
|
|
141
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
142
|
-
configurable: !1,
|
|
143
|
-
enumerable: !1,
|
|
144
|
-
writable: !0,
|
|
145
|
-
value: E
|
|
146
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
147
|
-
configurable: !1,
|
|
148
|
-
enumerable: !1,
|
|
149
|
-
writable: !0,
|
|
150
|
-
value: _
|
|
151
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
152
|
-
}
|
|
153
|
-
function O(e, r, t, n, c, o, E, _) {
|
|
154
|
-
var a = r.children;
|
|
155
|
-
if (a !== void 0)
|
|
156
|
-
if (n)
|
|
157
|
-
if (K(a)) {
|
|
158
|
-
for (n = 0; n < a.length; n++)
|
|
159
|
-
k(a[n]);
|
|
160
|
-
Object.freeze && Object.freeze(a);
|
|
161
|
-
} else
|
|
162
|
-
console.error(
|
|
163
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
164
|
-
);
|
|
165
|
-
else k(a);
|
|
166
|
-
if (S.call(r, "key")) {
|
|
167
|
-
a = l(e);
|
|
168
|
-
var s = Object.keys(r).filter(function(J) {
|
|
169
|
-
return J !== "key";
|
|
170
|
-
});
|
|
171
|
-
n = 0 < s.length ? "{key: someKey, " + s.join(": ..., ") + ": ...}" : "{key: someKey}", j[a + n] || (s = 0 < s.length ? "{" + s.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
172
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
173
|
-
let props = %s;
|
|
174
|
-
<%s {...props} />
|
|
175
|
-
React keys must be passed directly to JSX without using spread:
|
|
176
|
-
let props = %s;
|
|
177
|
-
<%s key={someKey} {...props} />`,
|
|
178
|
-
n,
|
|
179
|
-
a,
|
|
180
|
-
s,
|
|
181
|
-
a
|
|
182
|
-
), j[a + n] = !0);
|
|
183
|
-
}
|
|
184
|
-
if (a = null, t !== void 0 && (v(t), a = "" + t), x(r) && (v(r.key), a = "" + r.key), "key" in r) {
|
|
185
|
-
t = {};
|
|
186
|
-
for (var R in r)
|
|
187
|
-
R !== "key" && (t[R] = r[R]);
|
|
188
|
-
} else t = r;
|
|
189
|
-
return a && Y(
|
|
190
|
-
t,
|
|
191
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
192
|
-
), D(
|
|
193
|
-
e,
|
|
194
|
-
a,
|
|
195
|
-
o,
|
|
196
|
-
c,
|
|
197
|
-
C(),
|
|
198
|
-
t,
|
|
199
|
-
E,
|
|
200
|
-
_
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
function k(e) {
|
|
204
|
-
typeof e == "object" && e !== null && e.$$typeof === g && e._store && (e._store.validated = 1);
|
|
205
|
-
}
|
|
206
|
-
var i = B, g = Symbol.for("react.transitional.element"), F = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), q = Symbol.for("react.client.reference"), b = i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, K = Array.isArray, d = console.createTask ? console.createTask : function() {
|
|
207
|
-
return null;
|
|
208
|
-
};
|
|
209
|
-
i = {
|
|
210
|
-
"react-stack-bottom-frame": function(e) {
|
|
211
|
-
return e();
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
var w, P = {}, y = i["react-stack-bottom-frame"].bind(
|
|
215
|
-
i,
|
|
216
|
-
p
|
|
217
|
-
)(), h = d(f(p)), j = {};
|
|
218
|
-
u.Fragment = m, u.jsx = function(e, r, t, n, c) {
|
|
219
|
-
var o = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
220
|
-
return O(
|
|
221
|
-
e,
|
|
222
|
-
r,
|
|
223
|
-
t,
|
|
224
|
-
!1,
|
|
225
|
-
n,
|
|
226
|
-
c,
|
|
227
|
-
o ? Error("react-stack-top-frame") : y,
|
|
228
|
-
o ? d(f(e)) : h
|
|
229
|
-
);
|
|
230
|
-
}, u.jsxs = function(e, r, t, n, c) {
|
|
231
|
-
var o = 1e4 > b.recentlyCreatedOwnerStacks++;
|
|
232
|
-
return O(
|
|
233
|
-
e,
|
|
234
|
-
r,
|
|
235
|
-
t,
|
|
236
|
-
!0,
|
|
237
|
-
n,
|
|
238
|
-
c,
|
|
239
|
-
o ? Error("react-stack-top-frame") : y,
|
|
240
|
-
o ? d(f(e)) : h
|
|
241
|
-
);
|
|
242
|
-
};
|
|
243
|
-
}(), u);
|
|
244
|
-
}
|
|
245
|
-
export {
|
|
246
|
-
Q as __require
|
|
247
|
-
};
|
package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react-jsx-runtime.production.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { __exports as e } from "../../../../../../_virtual/react-jsx-runtime.production.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
var s;
|
|
12
|
-
function a() {
|
|
13
|
-
if (s) return e;
|
|
14
|
-
s = 1;
|
|
15
|
-
var i = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
|
|
16
|
-
function o(l, r, t) {
|
|
17
|
-
var u = null;
|
|
18
|
-
if (t !== void 0 && (u = "" + t), r.key !== void 0 && (u = "" + r.key), "key" in r) {
|
|
19
|
-
t = {};
|
|
20
|
-
for (var n in r)
|
|
21
|
-
n !== "key" && (t[n] = r[n]);
|
|
22
|
-
} else t = r;
|
|
23
|
-
return r = t.ref, {
|
|
24
|
-
$$typeof: i,
|
|
25
|
-
type: l,
|
|
26
|
-
key: u,
|
|
27
|
-
ref: r !== void 0 ? r : null,
|
|
28
|
-
props: t
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
return e.Fragment = _, e.jsx = o, e.jsxs = o, e;
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
a as __require
|
|
35
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { __module as e } from "../../../../../_virtual/jsx-runtime2.js";
|
|
2
|
-
import { __require as t } from "./cjs/react-jsx-runtime.production.js";
|
|
3
|
-
import { __require as i } from "./cjs/react-jsx-runtime.development.js";
|
|
4
|
-
var r;
|
|
5
|
-
function m() {
|
|
6
|
-
return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = /* @__PURE__ */ t() : e.exports = /* @__PURE__ */ i(), e.exports);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
m as __require
|
|
10
|
-
};
|