@xola/ui-kit 3.5.0 → 3.7.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/README.md +136 -87
- package/build/components/Alert.js +18 -13
- package/build/components/Animation/FadeIn.js +36 -25
- package/build/components/Animation/SlideDown.js +14 -9
- package/build/components/Avatar.js +17 -10
- package/build/components/Badge.js +33 -24
- package/build/components/BottomSheet.js +114 -0
- package/build/components/Breadcrumb.js +27 -21
- package/build/components/Breakdown.js +66 -74
- package/build/components/Buttons/Button.js +53 -47
- package/build/components/Buttons/ButtonGroup.js +42 -39
- package/build/components/Buttons/SecondaryButton.js +31 -0
- package/build/components/Buttons/SubmitButton.js +72 -66
- package/build/components/Buttons/ToggleButton.js +15 -16
- package/build/components/Counter.js +10 -6
- package/build/components/DatePicker/DatePicker.helpers.js +24 -13
- package/build/components/DatePicker/DatePicker.js +196 -223
- package/build/components/DatePicker/DatePickerPopover.js +75 -66
- package/build/components/DatePicker/Day.js +35 -32
- package/build/components/DatePicker/LocalizedDayPicker.js +15 -18
- package/build/components/DatePicker/MonthGrid.js +35 -48
- package/build/components/DatePicker/MonthPicker.js +25 -20
- package/build/components/DatePicker/MonthSelector.js +39 -40
- package/build/components/DatePicker/MonthYearSelector.js +18 -39
- package/build/components/DatePicker/NavbarElement.js +26 -35
- package/build/components/DatePicker/RangeDatePicker.js +104 -123
- package/build/components/DatePicker/RelativeDateRange.js +153 -143
- package/build/components/DatePicker/UpcomingDatePicker.js +29 -25
- package/build/components/Dot/Dot.js +13 -8
- package/build/components/Dot/DotProgress.js +12 -7
- package/build/components/Drawer.js +109 -101
- package/build/components/Forms/BaseInput.js +50 -34
- package/build/components/Forms/Checkbox.js +33 -30
- package/build/components/Forms/ComboBox.js +35 -35
- package/build/components/Forms/FormGroup.js +7 -3
- package/build/components/Forms/InlineValuePopover.js +33 -39
- package/build/components/Forms/Input.js +15 -7
- package/build/components/Forms/Label.js +14 -8
- package/build/components/Forms/RangeSlider.js +41 -22
- package/build/components/Forms/Select.js +5 -6
- package/build/components/Forms/Switch.js +46 -38
- package/build/components/Forms/Textarea.js +37 -30
- package/build/components/Forms/ValuePopoverText.js +5 -8
- package/build/components/GooglePlacesAutocomplete.js +112 -0
- package/build/components/HeaderToolbar.js +30 -22
- package/build/components/ImageUpload.js +76 -79
- package/build/components/Key.js +21 -16
- package/build/components/Logo.js +12 -5
- package/build/components/Modal.js +87 -72
- package/build/components/Popover/Popover.js +40 -31
- package/build/components/Popover/PopoverList.js +43 -36
- package/build/components/Provider.js +7 -8
- package/build/components/Screens/Login.js +97 -126
- package/build/components/Search.js +114 -144
- package/build/components/Sidebar/Sidebar.Account.js +39 -46
- package/build/components/Sidebar/Sidebar.Button.js +45 -19
- package/build/components/Sidebar/Sidebar.Footer.js +8 -7
- package/build/components/Sidebar/Sidebar.Heading.js +11 -8
- package/build/components/Sidebar/Sidebar.Link.js +79 -44
- package/build/components/Sidebar/Sidebar.Menu.js +52 -28
- package/build/components/Sidebar/Sidebar.Notifications.js +107 -0
- package/build/components/Sidebar/Sidebar.js +207 -214
- package/build/components/Sidebar/SidebarContext.js +15 -0
- package/build/components/Sidebar/sidebarWidth.js +41 -0
- package/build/components/Sidebar/useSidebarWidthState.js +115 -0
- package/build/components/Skeleton.js +19 -20
- package/build/components/Spinner.js +18 -10
- package/build/components/Table.js +86 -50
- package/build/components/Tabs/Tabs.Panel.js +9 -5
- package/build/components/Tabs/Tabs.Tab.js +28 -23
- package/build/components/Tabs/Tabs.js +23 -23
- package/build/components/Tag.js +28 -23
- package/build/components/Tooltip.js +19 -5
- package/build/components/Utilities/Currency.js +49 -42
- package/build/components/Utilities/Number.js +14 -12
- package/build/components/Utilities/Phone.js +18 -12
- package/build/helpers/environment.js +10 -0
- package/build/helpers/flash.js +45 -46
- package/build/hooks/useIsMobile.js +8 -0
- package/build/hooks/useViewportHeight.js +6 -12
- package/build/icons/src/AnnounceIcon.js +3 -4
- package/build/icons/src/BellIcon.js +0 -1
- package/build/icons/src/CalendarIcon.js +0 -1
- package/build/icons/src/CheckIcon.js +0 -1
- package/build/icons/src/ChevronDownIcon.js +4 -5
- package/build/icons/src/ChevronLeftIcon.js +0 -1
- package/build/icons/src/ChevronRightIcon.js +0 -1
- package/build/icons/src/CircleNotch.js +0 -1
- package/build/icons/src/CloseIcon.js +11 -9
- package/build/icons/src/DownArrowIcon.js +0 -1
- package/build/icons/src/ImageIcon.js +0 -1
- package/build/icons/src/SearchIcon.js +4 -5
- package/build/icons/src/TrashIcon.js +0 -1
- package/build/icons/src/WarningDiamondIcon.js +0 -1
- package/build/icons/src/helpers/icon.js +5 -9
- package/build/icons/src/images/XolaLogoSimple.js +2 -3
- package/build/index.js +143 -130
- package/build/style.css +1 -0
- package/build/theme.css +76 -0
- package/build/theme.js +2 -0
- package/build/utils/currency.js +5 -5
- package/build/{helpers → utils}/date.js +17 -20
- package/build/utils/numbers.js +12 -12
- package/build/utils/phone.js +12 -14
- package/build/utils/userLocale.js +6 -0
- package/index.css +96 -4
- package/index.d.ts +204 -0
- package/package.json +87 -77
- package/skills/README.md +27 -0
- package/skills/migrate-2.6-to-3.7/SKILL.md +110 -0
- package/tailwind.config.js +5 -2
- package/build/base.css +0 -2
- package/build/components/Alert.d.ts +0 -18
- package/build/components/Animation/FadeIn.d.ts +0 -13
- package/build/components/Animation/SlideDown.d.ts +0 -6
- package/build/components/Avatar.d.ts +0 -16
- package/build/components/Badge.d.ts +0 -28
- package/build/components/Breadcrumb.d.ts +0 -21
- package/build/components/Breakdown.d.ts +0 -63
- package/build/components/Buttons/Button.d.ts +0 -53
- package/build/components/Buttons/ButtonGroup.d.ts +0 -35
- package/build/components/Buttons/SubmitButton.d.ts +0 -11
- package/build/components/Buttons/ToggleButton.d.ts +0 -21
- package/build/components/Charts/BaseChartOptions.d.ts +0 -136
- package/build/components/Charts/HistogramOptions.d.ts +0 -192
- package/build/components/Charts/PieOptions.d.ts +0 -177
- package/build/components/Counter.d.ts +0 -5
- package/build/components/DatePicker/DatePicker.d.ts +0 -41
- package/build/components/DatePicker/DatePicker.helpers.d.ts +0 -17
- package/build/components/DatePicker/DatePickerPopover.d.ts +0 -29
- package/build/components/DatePicker/Day.d.ts +0 -13
- package/build/components/DatePicker/LocalizedDayPicker.d.ts +0 -6
- package/build/components/DatePicker/MonthGrid.d.ts +0 -11
- package/build/components/DatePicker/MonthPicker.d.ts +0 -7
- package/build/components/DatePicker/MonthSelector.d.ts +0 -8
- package/build/components/DatePicker/MonthYearSelector.d.ts +0 -8
- package/build/components/DatePicker/NavbarElement.d.ts +0 -15
- package/build/components/DatePicker/RangeDatePicker.d.ts +0 -25
- package/build/components/DatePicker/RelativeDateRange.d.ts +0 -51
- package/build/components/DatePicker/UpcomingDatePicker.d.ts +0 -11
- package/build/components/Dot/Dot.d.ts +0 -24
- package/build/components/Dot/DotProgress.d.ts +0 -6
- package/build/components/Drawer.d.ts +0 -28
- package/build/components/Forms/BaseInput.d.ts +0 -20
- package/build/components/Forms/Checkbox.d.ts +0 -10
- package/build/components/Forms/ComboBox.d.ts +0 -8
- package/build/components/Forms/FormGroup.d.ts +0 -5
- package/build/components/Forms/InlineValuePopover.d.ts +0 -17
- package/build/components/Forms/Input.d.ts +0 -6
- package/build/components/Forms/Label.d.ts +0 -7
- package/build/components/Forms/RangeSlider.d.ts +0 -33
- package/build/components/Forms/Select.d.ts +0 -5
- package/build/components/Forms/Switch.d.ts +0 -46
- package/build/components/Forms/Textarea.d.ts +0 -6
- package/build/components/Forms/ValuePopoverText.d.ts +0 -6
- package/build/components/GooglePlacesAutocomplete.d.ts +0 -14
- package/build/components/HeaderToolbar.d.ts +0 -21
- package/build/components/ImageUpload.d.ts +0 -17
- package/build/components/Key.d.ts +0 -6
- package/build/components/Logo.d.ts +0 -19
- package/build/components/Modal.d.ts +0 -52
- package/build/components/Popover/Popover.d.ts +0 -20
- package/build/components/Popover/PopoverList.d.ts +0 -25
- package/build/components/Provider.d.ts +0 -18
- package/build/components/Screens/Login.d.ts +0 -25
- package/build/components/Search.d.ts +0 -16
- package/build/components/Sidebar/Sidebar.Account.d.ts +0 -13
- package/build/components/Sidebar/Sidebar.Button.d.ts +0 -10
- package/build/components/Sidebar/Sidebar.Footer.d.ts +0 -8
- package/build/components/Sidebar/Sidebar.Heading.d.ts +0 -10
- package/build/components/Sidebar/Sidebar.Link.d.ts +0 -24
- package/build/components/Sidebar/Sidebar.Menu.d.ts +0 -13
- package/build/components/Sidebar/Sidebar.d.ts +0 -58
- package/build/components/Sidebar/index.d.ts +0 -8
- package/build/components/Skeleton.d.ts +0 -13
- package/build/components/Spinner.d.ts +0 -26
- package/build/components/Table.d.ts +0 -59
- package/build/components/Tabs/Tabs.Panel.d.ts +0 -9
- package/build/components/Tabs/Tabs.Tab.d.ts +0 -19
- package/build/components/Tabs/Tabs.d.ts +0 -27
- package/build/components/Tabs/index.d.ts +0 -4
- package/build/components/Tag.d.ts +0 -25
- package/build/components/Tooltip.d.ts +0 -8
- package/build/components/Utilities/Currency.d.ts +0 -32
- package/build/components/Utilities/Number.d.ts +0 -8
- package/build/components/Utilities/Phone.d.ts +0 -8
- package/build/full.css +0 -2
- package/build/helpers/avatar.d.ts +0 -1
- package/build/helpers/avatar.js +0 -8
- package/build/helpers/browser.d.ts +0 -2
- package/build/helpers/children.d.ts +0 -3
- package/build/helpers/classnames.d.ts +0 -5
- package/build/helpers/currency.d.ts +0 -2
- package/build/helpers/currency.js +0 -11
- package/build/helpers/date.d.ts +0 -12
- package/build/helpers/flash.d.ts +0 -21
- package/build/helpers/numbers.d.ts +0 -4
- package/build/helpers/numbers.js +0 -23
- package/build/helpers/phone.d.ts +0 -11
- package/build/helpers/phone.js +0 -25
- package/build/hooks/useId.d.ts +0 -1
- package/build/hooks/useId.js +0 -9
- package/build/hooks/useIsClient.d.ts +0 -1
- package/build/hooks/useViewportHeight.d.ts +0 -1
- package/build/icons/src/helpers/classnames.js +0 -8
- package/build/index.d.ts +0 -66
- package/build/theme.d.ts +0 -413
- package/build/types/index.d.ts +0 -22
- package/build/types/migration.d.ts +0 -2
- package/build/ui-kit.css +0 -1
- package/build/utils/avatar.d.ts +0 -1
- package/build/utils/currency.d.ts +0 -2
- package/build/utils/index.d.ts +0 -4
- package/build/utils/numbers.d.ts +0 -4
- package/build/utils/phone.d.ts +0 -2
|
@@ -1,83 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
5
|
-
import { Spinner as
|
|
6
|
-
import { Button as
|
|
7
|
-
import { CheckIcon as
|
|
8
|
-
const
|
|
1
|
+
import { Transition as h } from "@headlessui/react";
|
|
2
|
+
import s from "prop-types";
|
|
3
|
+
import t, { useState as d, useEffect as w } from "react";
|
|
4
|
+
import a from "../../helpers/classnames.js";
|
|
5
|
+
import { Spinner as T } from "../Spinner.js";
|
|
6
|
+
import { Button as m, colors as x } from "./Button.js";
|
|
7
|
+
import { CheckIcon as E } from "../../icons/src/CheckIcon.js";
|
|
8
|
+
const S = {
|
|
9
9
|
primary: "!bg-primary-light",
|
|
10
10
|
secondary: "!bg-secondary-light",
|
|
11
11
|
success: "!bg-success-light",
|
|
12
12
|
warning: "!bg-warning-light",
|
|
13
13
|
caution: "!bg-caution-light",
|
|
14
14
|
danger: "!bg-danger-light"
|
|
15
|
-
},
|
|
16
|
-
color:
|
|
17
|
-
|
|
18
|
-
isLoading: e,
|
|
15
|
+
}, N = ({
|
|
16
|
+
color: n = "primary",
|
|
17
|
+
isLoading: r,
|
|
19
18
|
isSuccess: c,
|
|
20
|
-
disabled:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
disabled: p = !1,
|
|
20
|
+
variant: l = "standard",
|
|
21
|
+
type: u = "submit",
|
|
22
|
+
className: f,
|
|
23
|
+
children: b,
|
|
24
|
+
...y
|
|
24
25
|
}) => {
|
|
25
|
-
const [
|
|
26
|
-
|
|
27
|
-
if (c && !
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
return () => clearTimeout(
|
|
26
|
+
const [o, i] = d(!1);
|
|
27
|
+
w(() => {
|
|
28
|
+
if (c && !r) {
|
|
29
|
+
i(!0);
|
|
30
|
+
const g = setTimeout(() => i(!1), 3e3);
|
|
31
|
+
return () => clearTimeout(g);
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
}, [c,
|
|
34
|
-
const
|
|
35
|
-
return /* @__PURE__ */
|
|
36
|
-
|
|
33
|
+
r && o && i(!1);
|
|
34
|
+
}, [c, r]);
|
|
35
|
+
const e = r || o;
|
|
36
|
+
return /* @__PURE__ */ t.createElement(
|
|
37
|
+
m,
|
|
37
38
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
disabled:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
type: u,
|
|
40
|
+
color: n,
|
|
41
|
+
disabled: e || p,
|
|
42
|
+
variant: l,
|
|
43
|
+
className: a(f, "relative", e && S[n]),
|
|
44
|
+
...y
|
|
45
|
+
},
|
|
46
|
+
/* @__PURE__ */ t.createElement(
|
|
47
|
+
"span",
|
|
48
|
+
{
|
|
49
|
+
className: a(
|
|
50
|
+
"absolute inset-0 flex items-center justify-center",
|
|
51
|
+
e ? "opacity-100" : "opacity-0"
|
|
52
|
+
)
|
|
53
|
+
},
|
|
54
|
+
e && /* @__PURE__ */ t.createElement(
|
|
55
|
+
h,
|
|
56
|
+
{
|
|
57
|
+
appear: !0,
|
|
58
|
+
as: "span",
|
|
59
|
+
show: e,
|
|
60
|
+
enter: "transition-all duration-700",
|
|
61
|
+
enterFrom: "opacity-0",
|
|
62
|
+
enterTo: "opacity-100"
|
|
63
|
+
},
|
|
64
|
+
o && /* @__PURE__ */ t.createElement(
|
|
65
|
+
E,
|
|
46
66
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
g,
|
|
53
|
-
{
|
|
54
|
-
appear: !0,
|
|
55
|
-
as: "span",
|
|
56
|
-
show: t,
|
|
57
|
-
enter: "transition-all duration-700",
|
|
58
|
-
enterFrom: "opacity-0",
|
|
59
|
-
enterTo: "opacity-100",
|
|
60
|
-
children: [
|
|
61
|
-
r && /* @__PURE__ */ o(
|
|
62
|
-
x,
|
|
63
|
-
{
|
|
64
|
-
size: "medium",
|
|
65
|
-
className: s("relative -top-0.25 text-white", {
|
|
66
|
-
"text-black": n === "outline"
|
|
67
|
-
})
|
|
68
|
-
}
|
|
69
|
-
),
|
|
70
|
-
e && !r && /* @__PURE__ */ o(d, { size: "current", color: "current", className: "relative -top-0.25 text-white" })
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
)
|
|
67
|
+
size: "medium",
|
|
68
|
+
color: "current",
|
|
69
|
+
className: a("relative -top-0.25 text-white", {
|
|
70
|
+
"text-black": l === "outline"
|
|
71
|
+
})
|
|
74
72
|
}
|
|
75
73
|
),
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
r && !o && /* @__PURE__ */ t.createElement(T, { size: "current", color: "current", className: "relative -top-0.25 text-white" })
|
|
75
|
+
)
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ t.createElement("span", { className: a(e ? "flex-shrink flex-grow opacity-0" : "opacity-100") }, b)
|
|
79
78
|
);
|
|
80
79
|
};
|
|
80
|
+
N.propTypes = {
|
|
81
|
+
...m.propTypes,
|
|
82
|
+
isLoading: s.bool,
|
|
83
|
+
isSuccess: s.bool,
|
|
84
|
+
variant: s.oneOf(Object.keys(x)),
|
|
85
|
+
disabled: s.bool
|
|
86
|
+
};
|
|
81
87
|
export {
|
|
82
|
-
|
|
88
|
+
N as SubmitButton
|
|
83
89
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import d from "
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import b from "prop-types";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import a from "../../helpers/classnames.js";
|
|
4
|
+
import { Button as o } from "./Button.js";
|
|
5
|
+
const s = {
|
|
5
6
|
outline: {
|
|
6
7
|
primary: "bg-primary-lighter border border-primary hover:bg-primary-light hover:border-primary-dark",
|
|
7
8
|
secondary: "bg-secondary-light border border-secondary-light hover:bg-secondary-light hover:border-secondary",
|
|
@@ -10,25 +11,23 @@ const h = {
|
|
|
10
11
|
caution: "bg-caution-lightish border border-caution hover:bg-caution-light hover:border-caution-dark",
|
|
11
12
|
danger: "bg-danger-lightish border border-danger hover:bg-danger-light hover:border-danger-dark"
|
|
12
13
|
}
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
variant: e = "outline",
|
|
16
|
-
isActive: o,
|
|
17
|
-
className: g,
|
|
18
|
-
...i
|
|
19
|
-
}) => /* @__PURE__ */ b(
|
|
20
|
-
t,
|
|
14
|
+
}, h = ({ color: r = "primary", variant: e = "outline", isActive: i, className: g, ...t }) => /* @__PURE__ */ d.createElement(
|
|
15
|
+
o,
|
|
21
16
|
{
|
|
22
17
|
color: r,
|
|
23
18
|
variant: e,
|
|
24
|
-
className:
|
|
19
|
+
className: a(
|
|
25
20
|
"text-black",
|
|
26
21
|
g,
|
|
27
|
-
|
|
22
|
+
i ? s[e][r] : `bg-white hover:bg-${r}-lighter hover:border-${r}`
|
|
28
23
|
),
|
|
29
|
-
...
|
|
24
|
+
...t
|
|
30
25
|
}
|
|
31
26
|
);
|
|
27
|
+
h.propTypes = {
|
|
28
|
+
...o.propTypes,
|
|
29
|
+
isActive: b.bool.isRequired
|
|
30
|
+
};
|
|
32
31
|
export {
|
|
33
|
-
|
|
32
|
+
h as ToggleButton
|
|
34
33
|
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import t from "prop-types";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import o from "../helpers/classnames.js";
|
|
4
|
+
const i = ({ className: e, ...r }) => /* @__PURE__ */ n.createElement(
|
|
4
5
|
"span",
|
|
5
6
|
{
|
|
6
|
-
className:
|
|
7
|
+
className: o(
|
|
7
8
|
"ui-counter",
|
|
8
9
|
"inline-flex items-center justify-center rounded-full bg-danger-dark px-2 py-1 font-semibold leading-none text-white",
|
|
9
10
|
e
|
|
10
11
|
),
|
|
11
|
-
...
|
|
12
|
+
...r
|
|
12
13
|
}
|
|
13
14
|
);
|
|
15
|
+
i.propTypes = {
|
|
16
|
+
className: t.string
|
|
17
|
+
};
|
|
14
18
|
export {
|
|
15
|
-
|
|
19
|
+
i as Counter
|
|
16
20
|
};
|
|
@@ -1,20 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as s from "dayjs/locale/de.js";
|
|
2
|
+
import * as e from "dayjs/locale/en.js";
|
|
3
|
+
import * as a from "dayjs/locale/en-gb.js";
|
|
4
|
+
import * as t from "dayjs/locale/es.js";
|
|
5
|
+
import * as n from "dayjs/locale/es-mx.js";
|
|
6
|
+
import * as m from "dayjs/locale/fr.js";
|
|
7
|
+
const c = {
|
|
8
|
+
en: e,
|
|
9
|
+
"en-US": e,
|
|
5
10
|
"en-GB": a,
|
|
6
|
-
es:
|
|
7
|
-
"es-ES":
|
|
8
|
-
"es-MX":
|
|
9
|
-
fr:
|
|
10
|
-
de:
|
|
11
|
-
}, i = async (
|
|
11
|
+
es: t,
|
|
12
|
+
"es-ES": t,
|
|
13
|
+
"es-MX": n,
|
|
14
|
+
fr: m,
|
|
15
|
+
de: s
|
|
16
|
+
}, i = async (r) => {
|
|
12
17
|
try {
|
|
18
|
+
const o = await c[r];
|
|
13
19
|
return {
|
|
14
|
-
locale:
|
|
20
|
+
locale: r,
|
|
21
|
+
weekdaysLong: o.weekdays,
|
|
22
|
+
weekdaysShort: o.weekdaysShort,
|
|
23
|
+
months: o.months,
|
|
24
|
+
monthsShort: o.monthsShort,
|
|
25
|
+
firstDayOfWeek: o.weekStart
|
|
15
26
|
};
|
|
16
|
-
} catch (
|
|
17
|
-
throw console.error("Error: React Day Picker localization error",
|
|
27
|
+
} catch (o) {
|
|
28
|
+
throw console.error("Error: React Day Picker localization error", o), o;
|
|
18
29
|
}
|
|
19
30
|
};
|
|
20
31
|
export {
|