@pismo/marola 2.1.26 → 2.1.28
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/RadioOption-DCTydlPv.js +720 -0
- package/dist/components/DatePicker/DatePicker.d.ts +6 -2
- package/dist/components/DatePicker/DatePicker.js +649 -647
- package/dist/components/DatePicker/DatePicker.stories.d.ts +4 -2
- package/dist/components/DatePicker/dateUtils.d.ts +1 -1
- package/dist/components/DatePicker/dateUtils.js +34 -33
- package/dist/components/DatePicker/renderCalendarDays.d.ts +2 -1
- package/dist/components/DatePicker/renderCalendarDays.js +48 -47
- package/dist/components/RadioButton/RadioButton.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.js +4 -2
- package/dist/components/RadioButton/RadioOption.js +7 -422
- package/dist/main.js +18 -16
- package/package.json +3 -1
- package/dist/RadioButton.module-RTKWJmma.js +0 -292
- /package/dist/assets/{RadioButton.css → RadioOption.css} +0 -0
- /package/dist/components/Typography/{Typography.test.d.ts → typography.test.d.ts} +0 -0
|
@@ -1,440 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import "../../utils/iconsList.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import "../Typography/Typography.js";
|
|
5
|
+
import "react";
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import "../Avatar/Avatar.js";
|
|
8
8
|
import "../Button/Button.js";
|
|
9
9
|
import "../../Toggle-SlvGYQKW.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
|
-
import
|
|
12
|
+
import "../../index-1UpBa69h.js";
|
|
13
13
|
import "../Draggable/useDraggable.js";
|
|
14
14
|
import "../IconButton/IconButton.js";
|
|
15
15
|
import "../InputSearch/InputSearch.js";
|
|
16
16
|
import "../Select/Select.js";
|
|
17
17
|
import "../Popover/Popover.js";
|
|
18
|
-
import {
|
|
18
|
+
import { R as u } from "../../RadioOption-DCTydlPv.js";
|
|
19
19
|
import "../Table/Table.js";
|
|
20
20
|
import "../Tabs/Tabs.js";
|
|
21
21
|
import "../../Group-DJz1rK2n.js";
|
|
22
22
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
23
|
-
import { P as s } from "../../useSlotProps-CYHDC4TN.js";
|
|
24
|
-
function X(r, e = !1) {
|
|
25
|
-
const [n, o] = a.useState(), [t, d] = a.useState(r);
|
|
26
|
-
return r && !t && (d(!0), n !== "starting" && !e && o("starting")), !r && t && n !== "ending" && o("ending"), !r && !t && n === "ending" && o(void 0), v(() => {
|
|
27
|
-
if (!r)
|
|
28
|
-
return;
|
|
29
|
-
e && o("starting");
|
|
30
|
-
const i = requestAnimationFrame(() => {
|
|
31
|
-
o(void 0);
|
|
32
|
-
});
|
|
33
|
-
return () => {
|
|
34
|
-
cancelAnimationFrame(i);
|
|
35
|
-
};
|
|
36
|
-
}, [r, e]), a.useMemo(() => ({
|
|
37
|
-
mounted: t,
|
|
38
|
-
setMounted: d,
|
|
39
|
-
transitionStatus: n
|
|
40
|
-
}), [t, n]);
|
|
41
|
-
}
|
|
42
|
-
function Y(r = {}) {
|
|
43
|
-
const {
|
|
44
|
-
label: e,
|
|
45
|
-
metadata: n
|
|
46
|
-
} = r, {
|
|
47
|
-
register: o,
|
|
48
|
-
unregister: t,
|
|
49
|
-
map: d,
|
|
50
|
-
elementsRef: i,
|
|
51
|
-
labelsRef: u
|
|
52
|
-
} = U(), [l, m] = a.useState(null), f = a.useRef(null), R = a.useCallback((c) => {
|
|
53
|
-
if (f.current = c, l !== null && (i.current[l] = c, u)) {
|
|
54
|
-
const h = e !== void 0;
|
|
55
|
-
u.current[l] = h ? e : (c == null ? void 0 : c.textContent) ?? null;
|
|
56
|
-
}
|
|
57
|
-
}, [l, i, u, e]);
|
|
58
|
-
return v(() => {
|
|
59
|
-
const c = f.current;
|
|
60
|
-
if (c)
|
|
61
|
-
return o(c, n), () => {
|
|
62
|
-
t(c);
|
|
63
|
-
};
|
|
64
|
-
}, [o, t, n]), v(() => {
|
|
65
|
-
var h;
|
|
66
|
-
const c = f.current ? (h = d.get(f.current)) == null ? void 0 : h.index : null;
|
|
67
|
-
c != null && m(c);
|
|
68
|
-
}, [d]), a.useMemo(() => ({
|
|
69
|
-
ref: R,
|
|
70
|
-
index: l ?? -1
|
|
71
|
-
}), [l, R]);
|
|
72
|
-
}
|
|
73
|
-
const Z = {
|
|
74
|
-
"data-starting-style": ""
|
|
75
|
-
}, $ = {
|
|
76
|
-
"data-ending-style": ""
|
|
77
|
-
}, ee = {
|
|
78
|
-
transitionStatus(r) {
|
|
79
|
-
return r === "starting" ? Z : r === "ending" ? $ : null;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
function te(r, e = !1) {
|
|
83
|
-
const n = a.useRef(-1), o = a.useRef(-1), t = E(() => {
|
|
84
|
-
cancelAnimationFrame(n.current), clearTimeout(o.current);
|
|
85
|
-
});
|
|
86
|
-
return a.useEffect(() => t, [t]), E((d) => {
|
|
87
|
-
t();
|
|
88
|
-
const i = r.current;
|
|
89
|
-
i && (typeof i.getAnimations != "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED ? d() : n.current = requestAnimationFrame(() => {
|
|
90
|
-
function u() {
|
|
91
|
-
i && Promise.allSettled(i.getAnimations().map((l) => l.finished)).then(() => {
|
|
92
|
-
j.flushSync(d);
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
e ? o.current = window.setTimeout(u) : u();
|
|
96
|
-
}));
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
function ne(r) {
|
|
100
|
-
const {
|
|
101
|
-
open: e,
|
|
102
|
-
ref: n,
|
|
103
|
-
onComplete: o
|
|
104
|
-
} = r, t = z(e), d = E(o), i = te(n, e);
|
|
105
|
-
v(() => {
|
|
106
|
-
i(() => {
|
|
107
|
-
e === t.current && d();
|
|
108
|
-
});
|
|
109
|
-
}, [e, d, i, t]);
|
|
110
|
-
}
|
|
111
|
-
const oe = {
|
|
112
|
-
clip: "rect(0 0 0 0)",
|
|
113
|
-
overflow: "hidden",
|
|
114
|
-
whiteSpace: "nowrap",
|
|
115
|
-
position: "fixed",
|
|
116
|
-
top: 0,
|
|
117
|
-
left: 0,
|
|
118
|
-
border: 0,
|
|
119
|
-
padding: 0,
|
|
120
|
-
width: 1,
|
|
121
|
-
height: 1,
|
|
122
|
-
margin: -1
|
|
123
|
-
};
|
|
124
|
-
function re(r) {
|
|
125
|
-
const {
|
|
126
|
-
disabled: e,
|
|
127
|
-
readOnly: n,
|
|
128
|
-
value: o,
|
|
129
|
-
required: t
|
|
130
|
-
} = r, {
|
|
131
|
-
checkedValue: d,
|
|
132
|
-
setCheckedValue: i,
|
|
133
|
-
onValueChange: u,
|
|
134
|
-
touched: l,
|
|
135
|
-
setTouched: m,
|
|
136
|
-
fieldControlValidation: f
|
|
137
|
-
} = w(), {
|
|
138
|
-
setDirty: R,
|
|
139
|
-
validityData: c,
|
|
140
|
-
setTouched: h,
|
|
141
|
-
setFilled: b,
|
|
142
|
-
validationMode: x
|
|
143
|
-
} = F(), g = d === o, C = a.useRef(null);
|
|
144
|
-
v(() => {
|
|
145
|
-
var y;
|
|
146
|
-
(y = C.current) != null && y.checked && b(!0);
|
|
147
|
-
}, [b]);
|
|
148
|
-
const P = a.useCallback((y) => I(f ? f.getValidationProps(y) : y, {
|
|
149
|
-
role: "radio",
|
|
150
|
-
type: "button",
|
|
151
|
-
"aria-checked": g,
|
|
152
|
-
"aria-required": t || void 0,
|
|
153
|
-
"aria-disabled": e || void 0,
|
|
154
|
-
"aria-readonly": n || void 0,
|
|
155
|
-
disabled: e,
|
|
156
|
-
onKeyDown(p) {
|
|
157
|
-
p.key === "Enter" && p.preventDefault();
|
|
158
|
-
},
|
|
159
|
-
onClick(p) {
|
|
160
|
-
var O;
|
|
161
|
-
p.defaultPrevented || e || n || (p.preventDefault(), (O = C.current) == null || O.click());
|
|
162
|
-
},
|
|
163
|
-
onFocus(p) {
|
|
164
|
-
var O;
|
|
165
|
-
p.defaultPrevented || e || n || !l || ((O = C.current) == null || O.click(), m(!1));
|
|
166
|
-
}
|
|
167
|
-
}), [f, g, t, e, n, l, m]), T = a.useCallback((y) => I(y, {
|
|
168
|
-
type: "radio",
|
|
169
|
-
ref: C,
|
|
170
|
-
tabIndex: -1,
|
|
171
|
-
style: oe,
|
|
172
|
-
"aria-hidden": !0,
|
|
173
|
-
disabled: e,
|
|
174
|
-
checked: g,
|
|
175
|
-
required: t,
|
|
176
|
-
readOnly: n,
|
|
177
|
-
onChange(p) {
|
|
178
|
-
p.nativeEvent.defaultPrevented || e || n || o == null || (h(!0), R(o !== c.initialValue), i(o), b(!0), u == null || u(o, p.nativeEvent), x === "onChange" && (f == null || f.commitValidation(o)));
|
|
179
|
-
}
|
|
180
|
-
}), [e, g, t, n, o, h, R, c.initialValue, i, b, u, x, f]);
|
|
181
|
-
return a.useMemo(() => ({
|
|
182
|
-
checked: g,
|
|
183
|
-
getRootProps: P,
|
|
184
|
-
getInputProps: T
|
|
185
|
-
}), [g, P, T]);
|
|
186
|
-
}
|
|
187
|
-
const D = /* @__PURE__ */ a.createContext(void 0);
|
|
188
|
-
process.env.NODE_ENV !== "production" && (D.displayName = "RadioRootContext");
|
|
189
|
-
function se() {
|
|
190
|
-
const r = a.useContext(D);
|
|
191
|
-
if (r === void 0)
|
|
192
|
-
throw new Error("Base UI: RadioRootContext is missing. Radio parts must be placed within <Radio.Root>.");
|
|
193
|
-
return r;
|
|
194
|
-
}
|
|
195
|
-
function ie(r = {}) {
|
|
196
|
-
const {
|
|
197
|
-
highlightedIndex: e,
|
|
198
|
-
onHighlightedIndexChange: n
|
|
199
|
-
} = q(), {
|
|
200
|
-
ref: o,
|
|
201
|
-
index: t
|
|
202
|
-
} = Y(r), d = e === t, i = a.useCallback((u = {}) => I(u, {
|
|
203
|
-
tabIndex: d ? 0 : -1,
|
|
204
|
-
onFocus() {
|
|
205
|
-
n(t);
|
|
206
|
-
}
|
|
207
|
-
}), [d, t, n]);
|
|
208
|
-
return a.useMemo(() => ({
|
|
209
|
-
getItemProps: i,
|
|
210
|
-
ref: o,
|
|
211
|
-
index: t
|
|
212
|
-
}), [i, o, t]);
|
|
213
|
-
}
|
|
214
|
-
function _(r) {
|
|
215
|
-
const {
|
|
216
|
-
render: e,
|
|
217
|
-
className: n,
|
|
218
|
-
itemRef: o,
|
|
219
|
-
metadata: t,
|
|
220
|
-
...d
|
|
221
|
-
} = r, {
|
|
222
|
-
highlightedIndex: i
|
|
223
|
-
} = q(), {
|
|
224
|
-
getItemProps: u,
|
|
225
|
-
ref: l,
|
|
226
|
-
index: m
|
|
227
|
-
} = ie({
|
|
228
|
-
metadata: t
|
|
229
|
-
}), f = a.useMemo(() => ({
|
|
230
|
-
highlighted: m === i
|
|
231
|
-
}), [m, i]), R = V(o, l), {
|
|
232
|
-
renderElement: c
|
|
233
|
-
} = M({
|
|
234
|
-
propGetter: u,
|
|
235
|
-
ref: R,
|
|
236
|
-
render: e ?? "div",
|
|
237
|
-
state: f,
|
|
238
|
-
className: n,
|
|
239
|
-
extraProps: d
|
|
240
|
-
});
|
|
241
|
-
return c();
|
|
242
|
-
}
|
|
243
|
-
process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
244
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
245
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
246
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
247
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
248
|
-
/**
|
|
249
|
-
* @ignore
|
|
250
|
-
*/
|
|
251
|
-
children: s.node,
|
|
252
|
-
/**
|
|
253
|
-
* CSS class applied to the element, or a function that
|
|
254
|
-
* returns a class based on the component’s state.
|
|
255
|
-
*/
|
|
256
|
-
className: s.oneOfType([s.func, s.string]),
|
|
257
|
-
/**
|
|
258
|
-
* @ignore
|
|
259
|
-
*/
|
|
260
|
-
itemRef: J,
|
|
261
|
-
/**
|
|
262
|
-
* @ignore
|
|
263
|
-
*/
|
|
264
|
-
metadata: s.any,
|
|
265
|
-
/**
|
|
266
|
-
* Allows you to replace the component’s HTML element
|
|
267
|
-
* with a different tag, or compose it with another component.
|
|
268
|
-
*
|
|
269
|
-
* Accepts a `ReactElement` or a function that returns the element to render.
|
|
270
|
-
*/
|
|
271
|
-
render: s.oneOfType([s.element, s.func])
|
|
272
|
-
});
|
|
273
|
-
const H = {
|
|
274
|
-
checked(r) {
|
|
275
|
-
return r ? {
|
|
276
|
-
"data-checked": ""
|
|
277
|
-
} : {
|
|
278
|
-
"data-unchecked": ""
|
|
279
|
-
};
|
|
280
|
-
},
|
|
281
|
-
...ee,
|
|
282
|
-
...Q
|
|
283
|
-
}, G = /* @__PURE__ */ a.forwardRef(function(e, n) {
|
|
284
|
-
const {
|
|
285
|
-
render: o,
|
|
286
|
-
className: t,
|
|
287
|
-
disabled: d = !1,
|
|
288
|
-
readOnly: i = !1,
|
|
289
|
-
required: u = !1,
|
|
290
|
-
...l
|
|
291
|
-
} = e, {
|
|
292
|
-
disabled: m,
|
|
293
|
-
readOnly: f,
|
|
294
|
-
required: R,
|
|
295
|
-
setCheckedValue: c
|
|
296
|
-
} = w(), {
|
|
297
|
-
state: h,
|
|
298
|
-
disabled: b
|
|
299
|
-
} = F(), x = b || m || d, g = f || i, C = R || u, {
|
|
300
|
-
getRootProps: P,
|
|
301
|
-
getInputProps: T,
|
|
302
|
-
checked: y
|
|
303
|
-
} = re({
|
|
304
|
-
...e,
|
|
305
|
-
disabled: x,
|
|
306
|
-
readOnly: g
|
|
307
|
-
}), p = a.useMemo(() => ({
|
|
308
|
-
...h,
|
|
309
|
-
required: C,
|
|
310
|
-
disabled: x,
|
|
311
|
-
readOnly: g,
|
|
312
|
-
checked: y
|
|
313
|
-
}), [h, x, g, y, C]), O = a.useMemo(() => p, [p]), {
|
|
314
|
-
renderElement: S
|
|
315
|
-
} = M({
|
|
316
|
-
propGetter: P,
|
|
317
|
-
render: o ?? "button",
|
|
318
|
-
ref: n,
|
|
319
|
-
className: t,
|
|
320
|
-
state: p,
|
|
321
|
-
extraProps: l,
|
|
322
|
-
customStyleHookMapping: H
|
|
323
|
-
});
|
|
324
|
-
return /* @__PURE__ */ A(D.Provider, {
|
|
325
|
-
value: O,
|
|
326
|
-
children: [c === W ? S() : /* @__PURE__ */ k(_, {
|
|
327
|
-
render: S()
|
|
328
|
-
}), /* @__PURE__ */ k("input", {
|
|
329
|
-
...T()
|
|
330
|
-
})]
|
|
331
|
-
});
|
|
332
|
-
});
|
|
333
|
-
process.env.NODE_ENV !== "production" && (G.propTypes = {
|
|
334
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
335
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
336
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
337
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
338
|
-
/**
|
|
339
|
-
* @ignore
|
|
340
|
-
*/
|
|
341
|
-
children: s.node,
|
|
342
|
-
/**
|
|
343
|
-
* CSS class applied to the element, or a function that
|
|
344
|
-
* returns a class based on the component’s state.
|
|
345
|
-
*/
|
|
346
|
-
className: s.oneOfType([s.func, s.string]),
|
|
347
|
-
/**
|
|
348
|
-
* Whether the component should ignore user interaction.
|
|
349
|
-
* @default false
|
|
350
|
-
*/
|
|
351
|
-
disabled: s.bool,
|
|
352
|
-
/**
|
|
353
|
-
* Whether the user should be unable to select the radio button.
|
|
354
|
-
* @default false
|
|
355
|
-
*/
|
|
356
|
-
readOnly: s.bool,
|
|
357
|
-
/**
|
|
358
|
-
* Allows you to replace the component’s HTML element
|
|
359
|
-
* with a different tag, or compose it with another component.
|
|
360
|
-
*
|
|
361
|
-
* Accepts a `ReactElement` or a function that returns the element to render.
|
|
362
|
-
*/
|
|
363
|
-
render: s.oneOfType([s.element, s.func]),
|
|
364
|
-
/**
|
|
365
|
-
* Whether the user must choose a value before submitting a form.
|
|
366
|
-
* @default false
|
|
367
|
-
*/
|
|
368
|
-
required: s.bool,
|
|
369
|
-
/**
|
|
370
|
-
* The unique identifying value of the radio in a group.
|
|
371
|
-
*/
|
|
372
|
-
value: s.any.isRequired
|
|
373
|
-
});
|
|
374
|
-
const L = /* @__PURE__ */ a.forwardRef(function(e, n) {
|
|
375
|
-
const {
|
|
376
|
-
render: o,
|
|
377
|
-
className: t,
|
|
378
|
-
keepMounted: d = !1,
|
|
379
|
-
...i
|
|
380
|
-
} = e, u = se(), l = u.checked, {
|
|
381
|
-
transitionStatus: m,
|
|
382
|
-
setMounted: f
|
|
383
|
-
} = X(l), R = a.useMemo(() => ({
|
|
384
|
-
...u,
|
|
385
|
-
transitionStatus: m
|
|
386
|
-
}), [u, m]), c = a.useRef(null), h = V(n, c), {
|
|
387
|
-
renderElement: b
|
|
388
|
-
} = M({
|
|
389
|
-
render: o ?? "span",
|
|
390
|
-
ref: h,
|
|
391
|
-
className: t,
|
|
392
|
-
state: R,
|
|
393
|
-
extraProps: i,
|
|
394
|
-
customStyleHookMapping: H
|
|
395
|
-
});
|
|
396
|
-
return ne({
|
|
397
|
-
open: l,
|
|
398
|
-
ref: c,
|
|
399
|
-
onComplete() {
|
|
400
|
-
l || f(!1);
|
|
401
|
-
}
|
|
402
|
-
}), d || l ? b() : null;
|
|
403
|
-
});
|
|
404
|
-
process.env.NODE_ENV !== "production" && (L.propTypes = {
|
|
405
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
406
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
407
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
408
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
409
|
-
/**
|
|
410
|
-
* @ignore
|
|
411
|
-
*/
|
|
412
|
-
children: s.node,
|
|
413
|
-
/**
|
|
414
|
-
* CSS class applied to the element, or a function that
|
|
415
|
-
* returns a class based on the component’s state.
|
|
416
|
-
*/
|
|
417
|
-
className: s.oneOfType([s.func, s.string]),
|
|
418
|
-
/**
|
|
419
|
-
* Whether to keep the HTML element in the DOM when the radio button is inactive.
|
|
420
|
-
* @default false
|
|
421
|
-
*/
|
|
422
|
-
keepMounted: s.bool,
|
|
423
|
-
/**
|
|
424
|
-
* Allows you to replace the component’s HTML element
|
|
425
|
-
* with a different tag, or compose it with another component.
|
|
426
|
-
*
|
|
427
|
-
* Accepts a `ReactElement` or a function that returns the element to render.
|
|
428
|
-
*/
|
|
429
|
-
render: s.oneOfType([s.element, s.func])
|
|
430
|
-
});
|
|
431
|
-
const Ie = ({ label: r, value: e, disabled: n, "data-testid": o }) => {
|
|
432
|
-
const t = B(N["radio-label"], n && N["radio-label__disabled"]);
|
|
433
|
-
return /* @__PURE__ */ A("label", { className: N.option, "data-testid": o, children: [
|
|
434
|
-
/* @__PURE__ */ k(G, { disabled: n, value: e, className: N.radio, children: /* @__PURE__ */ k(L, { className: N.indicator }) }),
|
|
435
|
-
/* @__PURE__ */ k(K, { color: "var(--colors-neutral-text-color-text)", className: t, variant: "base-lg", children: r })
|
|
436
|
-
] });
|
|
437
|
-
};
|
|
438
23
|
export {
|
|
439
|
-
|
|
24
|
+
u as RadioOption
|
|
440
25
|
};
|
package/dist/main.js
CHANGED
|
@@ -10,8 +10,8 @@ import { Calendar as S } from "./components/Calendar/Calendar.js";
|
|
|
10
10
|
import { Checkbox as I } from "./components/Checkbox/Checkbox.js";
|
|
11
11
|
import { C as B, R as C, T as D } from "./Toggle-SlvGYQKW.js";
|
|
12
12
|
import { ConfirmationDialog as h } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
13
|
-
import { DatePicker as
|
|
14
|
-
import { Description as
|
|
13
|
+
import { DatePicker as P } from "./components/DatePicker/DatePicker.js";
|
|
14
|
+
import { Description as A } from "./components/Description/Description.js";
|
|
15
15
|
import { Dialog as O } from "./components/Dialog/Dialog.js";
|
|
16
16
|
import { DoubleInput as G } from "./components/DoubleInput/DoubleInput.js";
|
|
17
17
|
import { Draggable as N } from "./components/Draggable/Draggable.js";
|
|
@@ -33,8 +33,8 @@ import { Skeleton as uo, SkeletonCircle as So, SkeletonTable as bo } from "./com
|
|
|
33
33
|
import { Snackbar as yo } from "./components/Snackbar/Snackbar.js";
|
|
34
34
|
import { SortTooltip as Co, sortTooltipDefaultTranslations as Do } from "./components/SortTooltip/SortTooltip.js";
|
|
35
35
|
import { Stepper as ho } from "./components/Stepper/Stepper.js";
|
|
36
|
-
import { StepperNavigator as
|
|
37
|
-
import { TBody as
|
|
36
|
+
import { StepperNavigator as Po } from "./components/StepperNavigator/StepperNavigator.js";
|
|
37
|
+
import { TBody as Ao, THead as wo, Table as Oo, Td as Eo, Th as Go, Tr as Mo } from "./components/Table/Table.js";
|
|
38
38
|
import { Tabs as Ho } from "./components/Tabs/Tabs.js";
|
|
39
39
|
import { Tag as Lo } from "./components/Tag/Tag.js";
|
|
40
40
|
import { TextDisplay as Vo } from "./components/TextDisplay/TextDisplay.js";
|
|
@@ -51,12 +51,13 @@ import { iconsList as Tr } from "./utils/iconsList.js";
|
|
|
51
51
|
import { allowOnlyIntegerNumbers as cr, allowOnlyMathSignals as ur, allowOnlyNumbers as dr, formatDecimalValue as Sr, parseToInteger as br } from "./utils/inputNumberAsText.js";
|
|
52
52
|
import { bemify as yr, getBEMBase as Br, getBEMBlock as Cr } from "./utils/styleStrings.js";
|
|
53
53
|
import { default as kr } from "./components/Dialog/DialogTitle.js";
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
54
|
+
import { default as Rr } from "./components/Dialog/Content.js";
|
|
55
|
+
import { default as vr } from "./components/Dialog/Actions.js";
|
|
56
|
+
import { R as wr } from "./RadioOption-DCTydlPv.js";
|
|
57
|
+
import { Tab as Er } from "./components/Tabs/Tab.js";
|
|
58
|
+
import { TabPanel as Mr } from "./components/Tabs/TabPanel.js";
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
vr as Actions,
|
|
60
61
|
e as Adornment,
|
|
61
62
|
p as Advice,
|
|
62
63
|
m as Alert,
|
|
@@ -69,9 +70,9 @@ export {
|
|
|
69
70
|
I as Checkbox,
|
|
70
71
|
B as Chip,
|
|
71
72
|
h as ConfirmationDialog,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
Rr as Content,
|
|
74
|
+
P as DatePicker,
|
|
75
|
+
A as Description,
|
|
75
76
|
O as Dialog,
|
|
76
77
|
kr as DialogTitle,
|
|
77
78
|
G as DoubleInput,
|
|
@@ -88,6 +89,7 @@ export {
|
|
|
88
89
|
oo as Pagination,
|
|
89
90
|
to as Popover,
|
|
90
91
|
ao as RadioButton,
|
|
92
|
+
wr as RadioOption,
|
|
91
93
|
fo as ResultContainer,
|
|
92
94
|
lo as ResultWithChips,
|
|
93
95
|
C as RowItem,
|
|
@@ -102,11 +104,11 @@ export {
|
|
|
102
104
|
ar as SnackbarProvider,
|
|
103
105
|
Co as SortTooltip,
|
|
104
106
|
ho as Stepper,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
Po as StepperNavigator,
|
|
108
|
+
Ao as TBody,
|
|
107
109
|
wo as THead,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
Er as Tab,
|
|
111
|
+
Mr as TabPanel,
|
|
110
112
|
Oo as Table,
|
|
111
113
|
Ho as Tabs,
|
|
112
114
|
Lo as Tag,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pismo/marola",
|
|
3
3
|
"description": "CDX tribe component library",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.28",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -109,6 +109,8 @@
|
|
|
109
109
|
"cross-spawn": "^7.0.6",
|
|
110
110
|
"esbuild": "^0.25.3",
|
|
111
111
|
"express": "^5.1.0",
|
|
112
|
+
"form-data": "^4.0.2",
|
|
113
|
+
"glob": "^10.2.6",
|
|
112
114
|
"micromatch": "^4.0.8",
|
|
113
115
|
"nanoid": "^3.3.11",
|
|
114
116
|
"path-to-regexp": "^0.1.12",
|