welcome-ui 8.2.1 → 8.4.0
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/{AXB53BZF-XKOjjeWO.mjs → AXB53BZF-BU4qmiUA.mjs} +3 -3
- package/dist/Accordion.mjs +4 -4
- package/dist/Alert.mjs +42 -36
- package/dist/AspectRatio.mjs +1 -1
- package/dist/Avatar.mjs +1 -1
- package/dist/BYC7LY2E-TZjhdRy3.mjs +619 -0
- package/dist/Badge.mjs +1 -1
- package/dist/Box.mjs +1 -1
- package/dist/Breadcrumb.mjs +2 -2
- package/dist/Button.mjs +3 -3
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.mjs +2 -2
- package/dist/ClearButton.mjs +2 -2
- package/dist/CloseButton.mjs +2 -2
- package/dist/CustomPopper-DavRfSDP.mjs +7613 -0
- package/dist/DatePicker.mjs +2 -2
- package/dist/DateTimePicker.mjs +34541 -66
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +58 -58
- package/dist/DropdownMenu.mjs +10 -10
- package/dist/Field.mjs +15 -15
- package/dist/FieldGroup.mjs +1 -1
- package/dist/FileDrop.mjs +3 -3
- package/dist/FileUpload.mjs +1 -1
- package/dist/Files.mjs +2 -2
- package/dist/Flex.mjs +1 -1
- package/dist/Grid.mjs +1 -1
- package/dist/Hint.mjs +1 -1
- package/dist/{ITI7HKP4-C89kOQb8.mjs → ITI7HKP4-DKM_MiJK.mjs} +4 -4
- package/dist/Icon.mjs +1 -1
- package/dist/Icons.mjs +12 -12
- package/dist/IconsFont.mjs +1 -1
- package/dist/InputText.mjs +10 -10
- package/dist/{JC64G2H7-afsomHuH.mjs → JC64G2H7-ifBZq_RU.mjs} +5 -5
- package/dist/{KUU7WJ55-CzsjuIMv.mjs → KUU7WJ55-ClLMNDee.mjs} +1 -1
- package/dist/{LVA2YJMS-C-kJ1lkr.mjs → LVA2YJMS-B8X1PCyC.mjs} +18 -18
- package/dist/Label.mjs +3 -3
- package/dist/Link.mjs +2 -2
- package/dist/Loader.mjs +1 -1
- package/dist/Logo.mjs +1 -1
- package/dist/{MTZPJQMC-TybFZCho.mjs → MTZPJQMC-DdjKPI9r.mjs} +2 -2
- package/dist/Modal.mjs +18 -18
- package/dist/{NLEBE274-oSxMftGy.mjs → NLEBE274-CnAMhwcR.mjs} +3 -3
- package/dist/{P2CTZE2T-DOT1mNnX.mjs → P2CTZE2T-1n7Xlf8m.mjs} +4 -4
- package/dist/{P4IRICAX-CWSZLTGz.mjs → P4IRICAX-Dg8AjwYu.mjs} +3 -3
- package/dist/Pagination.mjs +4 -4
- package/dist/PasswordInput.mjs +2 -2
- package/dist/Picker.mjs +3 -3
- package/dist/Popover.mjs +4 -4
- package/dist/{QYJ6MIDR-DJ-vUdAM.mjs → QYJ6MIDR-CpwIyzxN.mjs} +4 -4
- package/dist/Radio.mjs +2 -2
- package/dist/RadioGroup.mjs +2 -2
- package/dist/RadioTab.mjs +2 -2
- package/dist/{SYRFVSLH-B6m278Vb.mjs → SYRFVSLH-DPBHrVeS.mjs} +4 -4
- package/dist/Search.mjs +12 -12
- package/dist/Select.mjs +21 -21
- package/dist/Shape.mjs +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/Stack.mjs +1 -1
- package/dist/Swiper.mjs +1 -1
- package/dist/Table.mjs +1 -1
- package/dist/Tabs.mjs +8 -8
- package/dist/Tag.mjs +3 -3
- package/dist/Text.mjs +1 -1
- package/dist/Textarea.mjs +1 -1
- package/dist/TimePicker.mjs +2 -2
- package/dist/Toast.mjs +2 -2
- package/dist/Toggle.mjs +7 -6
- package/dist/Tooltip.mjs +11 -11
- package/dist/UniversalLink.mjs +1 -1
- package/dist/{VEVQD5MH-0w9Y7Ytc.mjs → VEVQD5MH-BSxDdMFG.mjs} +3 -3
- package/dist/{VGCJ63VH-C0UPBY-5.mjs → VGCJ63VH-C4H4_vtu.mjs} +4 -4
- package/dist/VariantIcon.mjs +2 -2
- package/dist/WelcomeLoader.mjs +1 -1
- package/dist/WuiProvider.mjs +1 -1
- package/dist/{X5NMLKT6-BJw3xE-K.mjs → X5NMLKT6-Ctro4-UX.mjs} +2 -2
- package/dist/{YV4JVR4I-DPC8mMuG.mjs → YV4JVR4I-BLeUul5N.mjs} +1 -1
- package/dist/{downshift.esm-B7Jil1wW.mjs → downshift.esm-DT64V-tc.mjs} +1 -3
- package/dist/floating-ui.dom.browser.min-Bza9K_UR.mjs +471 -0
- package/dist/{hide-focus-rings-root-CCXdysih.mjs → hide-focus-rings-root-Dcm160m2.mjs} +1 -1
- package/dist/{index-QaLwIvZS.mjs → index-6dgzrvpZ.mjs} +1 -1
- package/dist/{index-C_k-m0Rl.mjs → index-A1En5GST.mjs} +1 -1
- package/dist/{index-D8v_VJ9z.mjs → index-B-Yc2RN_.mjs} +1 -1
- package/dist/{index-DAZ1SYdj.mjs → index-B80lXHoK.mjs} +1 -1
- package/dist/{index-SQQQ4dEE.mjs → index-CuuMTEio.mjs} +1 -1
- package/dist/{index-DvzWKxKE.mjs → index-CwnxYrRd.mjs} +1 -1
- package/dist/{index-62h-enZF.mjs → index-D10ydFFH.mjs} +4 -4
- package/dist/{index-i_anpNhw.mjs → index-DKL-SItG.mjs} +1 -1
- package/dist/{index-CBBbX29m.mjs → index-Dct42YPA.mjs} +1 -1
- package/dist/{index-wl3X6EM1.mjs → index-DfD5GTDk.mjs} +1 -1
- package/dist/{index-CYmF7qCH.mjs → index-DtWZjMb5.mjs} +1 -1
- package/dist/{index-BaLGEKs7.mjs → index-KxL21VJb.mjs} +1 -1
- package/dist/{index-DpkNUfAS.mjs → index-eYXK9_x4.mjs} +1 -1
- package/dist/{jsx-runtime-B7I4PJ0H.mjs → jsx-runtime-Bqq1Hxg9.mjs} +16 -16
- package/dist/{radio-group-C0fUHvam.mjs → radio-group-C2Cv9SMd.mjs} +5 -5
- package/dist/theme.mjs +22 -22
- package/dist/types/components/Alert/Title.d.ts +3 -1
- package/dist/types/components/DatePicker/index.d.ts +1 -1
- package/dist/types/components/DateTimePicker/index.d.ts +4 -1
- package/dist/types/components/DateTimePicker/utils.d.ts +3 -0
- package/dist/types/components/DateTimePickerCommon/styles.d.ts +1 -1
- package/dist/types/components/TimePicker/index.d.ts +1 -1
- package/dist/types/theme/borders.d.ts +2 -2
- package/dist/types/theme/colors.d.ts +2 -9
- package/dist/types/theme/radii.d.ts +4 -4
- package/dist/types/theme/shadows.d.ts +1 -1
- package/dist/{wrap-children-CzmhoRzd.mjs → wrap-children-CRHMWYug.mjs} +3 -3
- package/package.json +5 -5
- package/dist/BYC7LY2E-CWSI38FM.mjs +0 -1078
- package/dist/CustomPopper-DezjKb9n.mjs +0 -7971
|
@@ -4,19 +4,19 @@ function lr() {
|
|
|
4
4
|
if (Te) return k;
|
|
5
5
|
Te = 1;
|
|
6
6
|
var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
7
|
-
function w(
|
|
8
|
-
var p, _ = {},
|
|
9
|
-
T !== void 0 && (
|
|
7
|
+
function w(R, l, T) {
|
|
8
|
+
var p, _ = {}, y = null, I = null;
|
|
9
|
+
T !== void 0 && (y = "" + T), l.key !== void 0 && (y = "" + l.key), l.ref !== void 0 && (I = l.ref);
|
|
10
10
|
for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (_[p] = l[p]);
|
|
11
|
-
if (
|
|
12
|
-
return { $$typeof: C, type:
|
|
11
|
+
if (R && R.defaultProps) for (p in l = R.defaultProps, l) _[p] === void 0 && (_[p] = l[p]);
|
|
12
|
+
return { $$typeof: C, type: R, key: y, ref: I, props: _, _owner: F.current };
|
|
13
13
|
}
|
|
14
14
|
return k.Fragment = U, k.jsx = w, k.jsxs = w, k;
|
|
15
15
|
}
|
|
16
16
|
var D = {}, Oe;
|
|
17
17
|
function cr() {
|
|
18
18
|
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
19
|
-
var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"),
|
|
19
|
+
var M = Pe, C = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), R = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
|
|
20
20
|
function we(e) {
|
|
21
21
|
if (e === null || typeof e != "object")
|
|
22
22
|
return null;
|
|
@@ -44,7 +44,7 @@ function cr() {
|
|
|
44
44
|
var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
|
|
45
45
|
Z = Symbol.for("react.module.reference");
|
|
46
46
|
function Ie(e) {
|
|
47
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
47
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === _ || e.$$typeof === w || e.$$typeof === R || e.$$typeof === l || // This needs to include all possible module reference object
|
|
48
48
|
// types supported by any Flight configuration anywhere since
|
|
49
49
|
// we don't know which Flight build this will end up being used
|
|
50
50
|
// with.
|
|
@@ -83,7 +83,7 @@ function cr() {
|
|
|
83
83
|
}
|
|
84
84
|
if (typeof e == "object")
|
|
85
85
|
switch (e.$$typeof) {
|
|
86
|
-
case
|
|
86
|
+
case R:
|
|
87
87
|
var r = e;
|
|
88
88
|
return Q(r) + ".Consumer";
|
|
89
89
|
case w:
|
|
@@ -94,7 +94,7 @@ function cr() {
|
|
|
94
94
|
case _:
|
|
95
95
|
var n = e.displayName || null;
|
|
96
96
|
return n !== null ? n : E(e.type) || "Memo";
|
|
97
|
-
case
|
|
97
|
+
case y: {
|
|
98
98
|
var o = e, u = o._payload, i = o._init;
|
|
99
99
|
try {
|
|
100
100
|
return E(i(u));
|
|
@@ -283,7 +283,7 @@ function cr() {
|
|
|
283
283
|
return Ve(e.render);
|
|
284
284
|
case _:
|
|
285
285
|
return $(e.type, r, t);
|
|
286
|
-
case
|
|
286
|
+
case y: {
|
|
287
287
|
var n = e, o = n._payload, u = n._init;
|
|
288
288
|
try {
|
|
289
289
|
return $(u(o), r, t);
|
|
@@ -466,7 +466,7 @@ Check the render method of \`` + e + "`.";
|
|
|
466
466
|
function er(e) {
|
|
467
467
|
return "";
|
|
468
468
|
}
|
|
469
|
-
var
|
|
469
|
+
var Re = {};
|
|
470
470
|
function rr(e) {
|
|
471
471
|
{
|
|
472
472
|
var r = Ee();
|
|
@@ -479,15 +479,15 @@ Check the top-level render call using <` + t + ">.");
|
|
|
479
479
|
return r;
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function ye(e, r) {
|
|
483
483
|
{
|
|
484
484
|
if (!e._store || e._store.validated || e.key != null)
|
|
485
485
|
return;
|
|
486
486
|
e._store.validated = !0;
|
|
487
487
|
var t = rr(r);
|
|
488
|
-
if (
|
|
488
|
+
if (Re[t])
|
|
489
489
|
return;
|
|
490
|
-
|
|
490
|
+
Re[t] = !0;
|
|
491
491
|
var n = "";
|
|
492
492
|
e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + E(e._owner.type) + "."), S(e), c('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);
|
|
493
493
|
}
|
|
@@ -499,7 +499,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
499
499
|
if (B(e))
|
|
500
500
|
for (var t = 0; t < e.length; t++) {
|
|
501
501
|
var n = e[t];
|
|
502
|
-
z(n) &&
|
|
502
|
+
z(n) && ye(n, r);
|
|
503
503
|
}
|
|
504
504
|
else if (z(e))
|
|
505
505
|
e._store && (e._store.validated = !0);
|
|
@@ -507,7 +507,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
507
507
|
var o = we(e);
|
|
508
508
|
if (typeof o == "function" && o !== e.entries)
|
|
509
509
|
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
510
|
-
z(i.value) &&
|
|
510
|
+
z(i.value) && ye(i.value, r);
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as l, u as v, a as m } from "./ITI7HKP4-
|
|
3
|
-
import { c as f, a as R, b as S } from "./YV4JVR4I-
|
|
4
|
-
import { z as _, A as n, B as p, C as u, f as P, c as x, h as V, _ as C, i as b, D as g, g as c } from "./LVA2YJMS-
|
|
5
|
-
import { u as j, a as E } from "./NLEBE274-
|
|
6
|
-
import { j as G } from "./jsx-runtime-
|
|
2
|
+
import { c as l, u as v, a as m } from "./ITI7HKP4-DKM_MiJK.mjs";
|
|
3
|
+
import { c as f, a as R, b as S } from "./YV4JVR4I-BLeUul5N.mjs";
|
|
4
|
+
import { z as _, A as n, B as p, C as u, f as P, c as x, h as V, _ as C, i as b, D as g, g as c } from "./LVA2YJMS-B8X1PCyC.mjs";
|
|
5
|
+
import { u as j, a as E } from "./NLEBE274-CnAMhwcR.mjs";
|
|
6
|
+
import { j as G } from "./jsx-runtime-Bqq1Hxg9.mjs";
|
|
7
7
|
function h(a = {}) {
|
|
8
8
|
var o = _(a, []), e;
|
|
9
9
|
const t = (e = o.store) == null ? void 0 : e.getState(), r = l(n(u({}, o), {
|
package/dist/theme.mjs
CHANGED
|
@@ -1427,9 +1427,9 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
}, Ur = {
|
|
1430
|
-
|
|
1430
|
+
sm: "1px",
|
|
1431
1431
|
md: "2px",
|
|
1432
|
-
|
|
1432
|
+
lg: "3px"
|
|
1433
1433
|
}, Pr = {
|
|
1434
1434
|
"beige-10": "#FBF9F7",
|
|
1435
1435
|
"beige-20": "#F6F3EF",
|
|
@@ -1763,41 +1763,41 @@ const I = /* @__PURE__ */ N(Z), Q = (o) => {
|
|
|
1763
1763
|
}
|
|
1764
1764
|
]
|
|
1765
1765
|
}), Jr = (o) => ({
|
|
1766
|
-
full: "100%",
|
|
1767
|
-
lg: o.toRem(8),
|
|
1768
|
-
md: o.toRem(4),
|
|
1769
1766
|
none: "0",
|
|
1770
1767
|
sm: o.toRem(2),
|
|
1768
|
+
md: o.toRem(4),
|
|
1769
|
+
lg: o.toRem(8),
|
|
1771
1770
|
xl: o.toRem(16),
|
|
1772
|
-
xxl: o.toRem(24)
|
|
1771
|
+
xxl: o.toRem(24),
|
|
1772
|
+
full: "100%"
|
|
1773
1773
|
}), Xr = {
|
|
1774
|
-
|
|
1775
|
-
"4xl": 1920,
|
|
1776
|
-
lg: 980,
|
|
1777
|
-
md: 736,
|
|
1774
|
+
xs: 0,
|
|
1778
1775
|
sm: 480,
|
|
1776
|
+
md: 736,
|
|
1777
|
+
lg: 980,
|
|
1779
1778
|
xl: 1280,
|
|
1780
|
-
|
|
1781
|
-
|
|
1779
|
+
xxl: 1440,
|
|
1780
|
+
"3xl": 1620,
|
|
1781
|
+
"4xl": 1920
|
|
1782
1782
|
}, Zr = (o) => ({
|
|
1783
1783
|
backgroundColor: o.colors["primary-40"],
|
|
1784
1784
|
color: o.colors["neutral-90"]
|
|
1785
1785
|
}), Qr = {
|
|
1786
|
-
|
|
1787
|
-
|
|
1786
|
+
sm: "1px 2px 4px 0 rgba(0,0,0,0.05)",
|
|
1787
|
+
md: "3px 4px 10px 0 rgba(0,0,0,0.07)"
|
|
1788
1788
|
}, Vr = (o) => ({
|
|
1789
|
+
xxs: o.toRem(2),
|
|
1790
|
+
xs: o.toRem(4),
|
|
1791
|
+
sm: o.toRem(8),
|
|
1792
|
+
md: o.toRem(12),
|
|
1793
|
+
lg: o.toRem(16),
|
|
1794
|
+
xl: o.toRem(24),
|
|
1795
|
+
xxl: o.toRem(32),
|
|
1789
1796
|
"3xl": o.toRem(48),
|
|
1790
1797
|
"4xl": o.toRem(64),
|
|
1791
1798
|
"5xl": o.toRem(96),
|
|
1792
1799
|
"6xl": o.toRem(128),
|
|
1793
|
-
"7xl": o.toRem(192)
|
|
1794
|
-
lg: o.toRem(16),
|
|
1795
|
-
md: o.toRem(12),
|
|
1796
|
-
sm: o.toRem(8),
|
|
1797
|
-
xl: o.toRem(24),
|
|
1798
|
-
xs: o.toRem(4),
|
|
1799
|
-
xxl: o.toRem(32),
|
|
1800
|
-
xxs: o.toRem(2)
|
|
1800
|
+
"7xl": o.toRem(192)
|
|
1801
1801
|
}), h = {
|
|
1802
1802
|
primary: "ease",
|
|
1803
1803
|
secondary: "linear",
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TextProps } from '../Text';
|
|
3
|
-
export type AlertTitleProps = Pick<TextProps, 'children' | 'dataTestId' | 'variant'
|
|
3
|
+
export type AlertTitleProps = Pick<TextProps, 'children' | 'dataTestId' | 'variant'> & {
|
|
4
|
+
hasCloseButton?: boolean;
|
|
5
|
+
};
|
|
4
6
|
/**
|
|
5
7
|
* @name Alert.Title
|
|
6
8
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactDatePickerProps } from 'react-datepicker';
|
|
1
|
+
import { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';
|
|
2
2
|
import { CustomHeaderProps, CustomInputOptions, StyledDatePicker } from '../DateTimePickerCommon';
|
|
3
3
|
import { CreateWuiProps } from '../System';
|
|
4
4
|
export interface DatePickerOptions {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { DatePickerProps } from '../DatePicker';
|
|
2
2
|
import { CreateWuiProps } from '../System';
|
|
3
3
|
import { TimePickerProps } from '../TimePicker';
|
|
4
|
-
|
|
4
|
+
import { LocalesKey } from './utils';
|
|
5
|
+
export type DateTimePickerProps = CreateWuiProps<'input', Pick<DatePickerProps, 'onChange' | 'size' | 'transparent' | 'value'> & Pick<TimePickerProps, 'onChange' | 'size' | 'transparent' | 'value'> & {
|
|
6
|
+
locale?: LocalesKey;
|
|
7
|
+
}>;
|
|
5
8
|
export declare const DateTimePicker: import('../System').CreateWuiComponent<"input", DateTimePickerProps>;
|
|
@@ -2,7 +2,7 @@ import { Focused } from './CustomInput';
|
|
|
2
2
|
export declare const StyledDatePicker: any;
|
|
3
3
|
export declare const StyledTimePicker: any;
|
|
4
4
|
export declare const CustomInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
|
-
focused: Focused;
|
|
5
|
+
$focused: Focused;
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const CustomHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
8
|
export declare const Selects: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactDatePickerProps } from 'react-datepicker';
|
|
1
|
+
import { DatePickerProps as ReactDatePickerProps } from 'react-datepicker';
|
|
2
2
|
import { CustomInputOptions, StyledTimePicker } from '../DateTimePickerCommon';
|
|
3
3
|
import { CreateWuiProps } from '../System';
|
|
4
4
|
export interface TimePickerOptions {
|
|
@@ -333,14 +333,7 @@ export declare const colors: {
|
|
|
333
333
|
'yellow-80': string;
|
|
334
334
|
'yellow-90': string;
|
|
335
335
|
};
|
|
336
|
-
declare const enum SecondaryColors {
|
|
337
|
-
'blue' = 0,
|
|
338
|
-
'green' = 1,
|
|
339
|
-
'orange' = 2,
|
|
340
|
-
'pink' = 3,
|
|
341
|
-
'teal' = 4,
|
|
342
|
-
'violet' = 5
|
|
343
|
-
}
|
|
344
336
|
export type ThemeColors = typeof colors;
|
|
345
|
-
export type ThemeSecondaryColors =
|
|
337
|
+
export type ThemeSecondaryColors = SecondaryColors;
|
|
338
|
+
type SecondaryColors = 'blue' | 'green' | 'orange' | 'pink' | 'teal' | 'violet';
|
|
346
339
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ThemeValues } from '.';
|
|
2
2
|
export type ThemeRadii = {
|
|
3
|
-
[key: number]: string;
|
|
4
|
-
full: string;
|
|
5
|
-
lg: string;
|
|
6
|
-
md: string;
|
|
7
3
|
none: string;
|
|
8
4
|
sm: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
9
7
|
xl: string;
|
|
10
8
|
xxl: string;
|
|
9
|
+
full: string;
|
|
10
|
+
[key: number]: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const getRadii: (theme: ThemeValues) => ThemeRadii;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { j as t } from "./jsx-runtime-
|
|
2
|
+
import { j as t } from "./jsx-runtime-Bqq1Hxg9.mjs";
|
|
3
3
|
import n from "react";
|
|
4
|
-
const
|
|
4
|
+
const a = (e) => n.Children.toArray(e).map(
|
|
5
5
|
(r) => (
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
7
7
|
/* @ts-ignore */
|
|
@@ -9,5 +9,5 @@ const p = (e) => n.Children.toArray(e).map(
|
|
|
9
9
|
)
|
|
10
10
|
);
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
a as w
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "welcome-ui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"lodash.range": "^3.2.0",
|
|
65
65
|
"lottie-light-react": "^2.4.0",
|
|
66
66
|
"match-sorter": "^8.0.0",
|
|
67
|
-
"react-datepicker": "^4.
|
|
67
|
+
"react-datepicker": "^8.4.0",
|
|
68
68
|
"react-dropzone": "^14.3.5",
|
|
69
69
|
"react-flatten-children": "^1.0.0",
|
|
70
70
|
"react-hot-toast": "^2.4.1"
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
"@types/lodash.debounce": "^4.0.6",
|
|
79
79
|
"@types/lodash.range": "^3.2.9",
|
|
80
80
|
"@types/ramda": "^0.30.2",
|
|
81
|
-
"@types/react-datepicker": "^
|
|
81
|
+
"@types/react-datepicker": "^7.0.0",
|
|
82
82
|
"jsdom": "^26.0.0",
|
|
83
83
|
"ramda": "^0.30.1",
|
|
84
84
|
"release-it": "^18.1.2",
|
|
85
85
|
"rollup": "^4.39.0",
|
|
86
86
|
"rollup-preserve-directives": "^1.1.3",
|
|
87
|
-
"vite": "^6.
|
|
87
|
+
"vite": "^6.3.5",
|
|
88
88
|
"vite-plugin-dts": "^4.5.3",
|
|
89
89
|
"vite-plugin-static-copy": "^2.3.0",
|
|
90
|
-
"vitest": "^3.
|
|
90
|
+
"vitest": "^3.1.4"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
93
|
"@xstyled/styled-components": "^4.0.0",
|