@xola/ui-kit 3.0.8 → 3.4.1
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 +61 -12
- package/build/components/Alert.d.ts +18 -0
- package/build/components/Alert.js +28 -0
- package/build/components/Animation/FadeIn.d.ts +13 -0
- package/build/components/Animation/FadeIn.js +29 -0
- package/build/components/Animation/SlideDown.d.ts +6 -0
- package/build/components/Animation/SlideDown.js +20 -0
- package/build/components/Avatar.d.ts +16 -0
- package/build/components/Avatar.js +21 -0
- package/build/components/Badge.d.ts +27 -0
- package/build/components/Badge.js +40 -0
- package/build/components/Breadcrumb.d.ts +21 -0
- package/build/components/Breadcrumb.js +27 -0
- package/build/components/Breakdown.d.ts +63 -0
- package/build/components/Breakdown.js +89 -0
- package/build/components/Buttons/Button.d.ts +53 -0
- package/build/components/Buttons/Button.js +83 -0
- package/build/components/Buttons/ButtonGroup.d.ts +35 -0
- package/build/components/Buttons/ButtonGroup.js +55 -0
- package/build/components/Buttons/SubmitButton.d.ts +11 -0
- package/build/components/Buttons/SubmitButton.js +83 -0
- package/build/components/Buttons/ToggleButton.d.ts +21 -0
- package/build/components/Buttons/ToggleButton.js +34 -0
- package/build/components/Charts/BaseChartOptions.d.ts +136 -0
- package/build/components/Charts/BaseChartOptions.js +95 -0
- package/build/components/Charts/HistogramOptions.d.ts +192 -0
- package/build/components/Charts/HistogramOptions.js +69 -0
- package/build/components/Charts/PieOptions.d.ts +177 -0
- package/build/components/Charts/PieOptions.js +55 -0
- package/build/components/Counter.d.ts +5 -0
- package/build/components/Counter.js +16 -0
- package/build/components/DatePicker/DatePicker.d.ts +41 -0
- package/build/components/DatePicker/DatePicker.helpers.d.ts +17 -0
- package/build/components/DatePicker/DatePicker.helpers.js +22 -0
- package/build/components/DatePicker/DatePicker.js +241 -0
- package/build/components/DatePicker/DatePickerPopover.d.ts +29 -0
- package/build/components/DatePicker/DatePickerPopover.js +81 -0
- package/build/components/DatePicker/Day.d.ts +13 -0
- package/build/components/DatePicker/Day.js +40 -0
- package/build/components/DatePicker/LocalizedDayPicker.d.ts +6 -0
- package/build/components/DatePicker/LocalizedDayPicker.js +20 -0
- package/build/components/DatePicker/MonthGrid.d.ts +11 -0
- package/build/components/DatePicker/MonthGrid.js +52 -0
- package/build/components/DatePicker/MonthPicker.d.ts +7 -0
- package/build/components/DatePicker/MonthPicker.js +28 -0
- package/build/components/DatePicker/MonthSelector.d.ts +8 -0
- package/build/components/DatePicker/MonthSelector.js +47 -0
- package/build/components/DatePicker/MonthYearSelector.d.ts +8 -0
- package/build/components/DatePicker/MonthYearSelector.js +44 -0
- package/build/components/DatePicker/NavbarElement.d.ts +15 -0
- package/build/components/DatePicker/NavbarElement.js +43 -0
- package/build/components/DatePicker/RangeDatePicker.d.ts +25 -0
- package/build/components/DatePicker/RangeDatePicker.js +134 -0
- package/build/components/DatePicker/RelativeDateRange.d.ts +51 -0
- package/build/components/DatePicker/RelativeDateRange.js +280 -0
- package/build/components/DatePicker/UpcomingDatePicker.d.ts +11 -0
- package/build/components/DatePicker/UpcomingDatePicker.js +27 -0
- package/build/components/Dot/Dot.d.ts +24 -0
- package/build/components/Dot/Dot.js +24 -0
- package/build/components/Dot/DotProgress.d.ts +6 -0
- package/build/components/Dot/DotProgress.js +10 -0
- package/build/components/Drawer.d.ts +28 -0
- package/build/components/Drawer.js +126 -0
- package/build/components/Forms/BaseInput.d.ts +20 -0
- package/build/components/Forms/BaseInput.js +41 -0
- package/build/components/Forms/Checkbox.d.ts +10 -0
- package/build/components/Forms/Checkbox.js +34 -0
- package/build/components/Forms/Checkbox.module.css.js +7 -0
- package/build/components/Forms/ComboBox.d.ts +8 -0
- package/build/components/Forms/ComboBox.js +41 -0
- package/build/components/Forms/FormGroup.d.ts +5 -0
- package/build/components/Forms/FormGroup.js +6 -0
- package/build/components/Forms/InlineValuePopover.d.ts +17 -0
- package/build/components/Forms/InlineValuePopover.js +47 -0
- package/build/components/Forms/Input.d.ts +6 -0
- package/build/components/Forms/Input.js +9 -0
- package/build/components/Forms/Label.d.ts +7 -0
- package/build/components/Forms/Label.js +17 -0
- package/build/components/Forms/RangeSlider.d.ts +33 -0
- package/build/components/Forms/RangeSlider.js +39 -0
- package/build/components/Forms/Select.d.ts +5 -0
- package/build/components/Forms/Select.js +8 -0
- package/build/components/Forms/Switch.d.ts +46 -0
- package/build/components/Forms/Switch.js +62 -0
- package/build/components/Forms/Textarea.d.ts +6 -0
- package/build/components/Forms/Textarea.js +35 -0
- package/build/components/Forms/ValuePopoverText.d.ts +6 -0
- package/build/components/Forms/ValuePopoverText.js +10 -0
- package/build/components/GooglePlacesAutocomplete.d.ts +14 -0
- package/build/components/HeaderToolbar.d.ts +21 -0
- package/build/components/HeaderToolbar.js +33 -0
- package/build/components/ImageUpload.d.ts +17 -0
- package/build/components/ImageUpload.js +86 -0
- package/build/components/Key.d.ts +6 -0
- package/build/components/Key.js +28 -0
- package/build/components/Logo.d.ts +19 -0
- package/build/components/Logo.js +10 -0
- package/build/components/Modal.d.ts +52 -0
- package/build/components/Modal.js +126 -0
- package/build/components/Popover/Popover.d.ts +20 -0
- package/build/components/Popover/Popover.js +50 -0
- package/build/components/Popover/Popover.module.css.js +7 -0
- package/build/components/Popover/PopoverList.d.ts +25 -0
- package/build/components/Popover/PopoverList.js +59 -0
- package/build/components/Popover/PopoverScroll.module.css.js +4 -0
- package/build/components/Provider.d.ts +18 -0
- package/build/components/Provider.js +17 -0
- package/build/components/Screens/Login.d.ts +25 -0
- package/build/components/Screens/Login.js +144 -0
- package/build/components/Search.d.ts +16 -0
- package/build/components/Search.js +174 -0
- package/build/components/Sidebar/Sidebar.Account.d.ts +13 -0
- package/build/components/Sidebar/Sidebar.Account.js +56 -0
- package/build/components/Sidebar/Sidebar.Button.d.ts +10 -0
- package/build/components/Sidebar/Sidebar.Button.js +21 -0
- package/build/components/Sidebar/Sidebar.Footer.d.ts +8 -0
- package/build/components/Sidebar/Sidebar.Footer.js +9 -0
- package/build/components/Sidebar/Sidebar.Heading.d.ts +10 -0
- package/build/components/Sidebar/Sidebar.Heading.js +10 -0
- package/build/components/Sidebar/Sidebar.Link.d.ts +24 -0
- package/build/components/Sidebar/Sidebar.Link.js +56 -0
- package/build/components/Sidebar/Sidebar.Menu.d.ts +10 -0
- package/build/components/Sidebar/Sidebar.Menu.js +28 -0
- package/build/components/Sidebar/Sidebar.Menu.module.css.js +7 -0
- package/build/components/Sidebar/Sidebar.d.ts +58 -0
- package/build/components/Sidebar/Sidebar.js +218 -0
- package/build/components/Sidebar/SidebarScroll.module.css.js +4 -0
- package/build/components/Sidebar/index.d.ts +8 -0
- package/build/components/Skeleton.d.ts +13 -0
- package/build/components/Skeleton.js +29 -0
- package/build/components/Skeleton.module.css.js +7 -0
- package/build/components/Spinner.d.ts +26 -0
- package/build/components/Spinner.js +27 -0
- package/build/components/Table.d.ts +59 -0
- package/build/components/Table.js +71 -0
- package/build/components/Tabs/Tabs.Panel.d.ts +9 -0
- package/build/components/Tabs/Tabs.Panel.js +7 -0
- package/build/components/Tabs/Tabs.Tab.d.ts +19 -0
- package/build/components/Tabs/Tabs.Tab.js +37 -0
- package/build/components/Tabs/Tabs.d.ts +27 -0
- package/build/components/Tabs/Tabs.js +28 -0
- package/build/components/Tabs/index.d.ts +4 -0
- package/build/components/Tag.d.ts +25 -0
- package/build/components/Tag.js +36 -0
- package/build/components/Tooltip.d.ts +8 -0
- package/build/components/Tooltip.js +8 -0
- package/build/components/Utilities/Currency.d.ts +32 -0
- package/build/components/Utilities/Currency.js +49 -0
- package/build/components/Utilities/Number.d.ts +8 -0
- package/build/components/Utilities/Number.js +15 -0
- package/build/components/Utilities/Phone.d.ts +8 -0
- package/build/components/Utilities/Phone.js +19 -0
- package/build/helpers/avatar.d.ts +1 -0
- package/build/helpers/avatar.js +8 -0
- package/build/helpers/browser.d.ts +2 -0
- package/build/helpers/browser.js +9 -0
- package/build/helpers/children.d.ts +3 -0
- package/build/helpers/children.js +6 -0
- package/build/helpers/classnames.d.ts +5 -0
- package/build/helpers/currency.d.ts +2 -0
- package/build/helpers/currency.js +11 -0
- package/build/helpers/date.d.ts +12 -0
- package/build/helpers/date.js +44 -0
- package/build/helpers/flash.d.ts +21 -0
- package/build/helpers/flash.js +87 -0
- package/build/helpers/numbers.d.ts +4 -0
- package/build/helpers/numbers.js +23 -0
- package/build/helpers/phone.d.ts +11 -0
- package/build/helpers/phone.js +25 -0
- package/build/hooks/useId.d.ts +1 -0
- package/build/hooks/useId.js +9 -0
- package/build/hooks/useIsClient.d.ts +1 -0
- package/build/hooks/useIsClient.js +10 -0
- package/build/hooks/useViewportHeight.d.ts +1 -0
- package/build/hooks/useViewportHeight.js +15 -0
- package/build/icons/build/AnnounceIcon.js +6 -0
- package/build/icons/build/BellIcon.js +23 -0
- package/build/icons/build/CalendarIcon.js +15 -0
- package/build/icons/build/CheckIcon.js +7 -0
- package/build/icons/build/ChevronDownIcon.js +7 -0
- package/build/icons/build/ChevronLeftIcon.js +7 -0
- package/build/icons/build/ChevronRightIcon.js +7 -0
- package/build/icons/build/CircleNotch.js +5 -0
- package/build/icons/build/CloseIcon.js +7 -0
- package/build/icons/build/DownArrowIcon.js +15 -0
- package/build/icons/build/ImageIcon.js +23 -0
- package/build/icons/build/SearchIcon.js +15 -0
- package/build/icons/build/TrashIcon.js +16 -0
- package/build/icons/build/WarningDiamondIcon.js +23 -0
- package/build/icons/build/helpers/classnames.js +8 -0
- package/build/icons/build/helpers/icon.js +10 -0
- package/build/icons/build/helpers/iconSizes.js +13 -0
- package/build/icons/build/images/XolaLogoSimple.js +13 -0
- package/build/index.d.ts +66 -0
- package/build/index.js +142 -0
- package/build/theme.d.ts +413 -0
- package/build/theme.js +372 -0
- package/build/types/index.d.ts +22 -0
- package/build/types/migration.d.ts +2 -0
- package/build/ui-kit.css +1 -0
- package/build/utils/avatar.d.ts +1 -0
- package/build/utils/avatar.js +8 -0
- package/build/utils/currency.d.ts +2 -0
- package/build/utils/currency.js +11 -0
- package/build/utils/date.d.ts +12 -0
- package/build/utils/date.js +23 -0
- package/build/utils/index.d.ts +5 -0
- package/build/utils/numbers.d.ts +4 -0
- package/build/utils/numbers.js +19 -0
- package/build/utils/phone.d.ts +2 -0
- package/build/utils/phone.js +17 -0
- package/package.json +76 -49
- package/postcss.config.js +1 -1
- package/tailwind.config.js +28 -8
- package/build/style.css +0 -1
- package/build/ui-kit.es.js +0 -12173
- package/index.d.ts +0 -72
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const colors: {
|
|
3
|
+
readonly primary: "bg-primary-lighter text-black border border-primary";
|
|
4
|
+
readonly secondary: "bg-secondary-light text-gray-darker border border-secondary";
|
|
5
|
+
readonly success: "bg-success-lighter text-black border border-success";
|
|
6
|
+
readonly warning: "bg-warning-lighter text-black border border-warning";
|
|
7
|
+
readonly danger: "bg-danger-lighter text-black border border-danger";
|
|
8
|
+
readonly caution: "bg-caution-lighter text-black border border-caution";
|
|
9
|
+
};
|
|
10
|
+
declare const sizes: {
|
|
11
|
+
readonly small: "px-1 py-0.75 text-sm leading-3.5";
|
|
12
|
+
readonly medium: "px-2 py-1 text-base leading-3.5";
|
|
13
|
+
readonly large: "px-2 py-1.5 text-base leading-4";
|
|
14
|
+
};
|
|
15
|
+
type TagColor = keyof typeof colors;
|
|
16
|
+
type TagSize = keyof typeof sizes;
|
|
17
|
+
export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
18
|
+
color?: TagColor;
|
|
19
|
+
size?: TagSize;
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
className?: string;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const Tag: ({ color, size, children, className, onClose, ...rest }: TagProps) => React.JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsxs as g, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
import { CloseIcon as d } from "../icons/build/CloseIcon.js";
|
|
4
|
+
const b = {
|
|
5
|
+
primary: "bg-primary-lighter text-black border border-primary",
|
|
6
|
+
secondary: "bg-secondary-light text-gray-darker border border-secondary",
|
|
7
|
+
success: "bg-success-lighter text-black border border-success",
|
|
8
|
+
warning: "bg-warning-lighter text-black border border-warning",
|
|
9
|
+
danger: "bg-danger-lighter text-black border border-danger",
|
|
10
|
+
caution: "bg-caution-lighter text-black border border-caution"
|
|
11
|
+
}, m = {
|
|
12
|
+
small: "px-1 py-0.75 text-sm leading-3.5",
|
|
13
|
+
medium: "px-2 py-1 text-base leading-3.5",
|
|
14
|
+
large: "px-2 py-1.5 text-base leading-4"
|
|
15
|
+
}, y = ({ color: t = "primary", size: e = "small", children: s, className: l, onClose: r, ...i }) => {
|
|
16
|
+
const o = (c) => {
|
|
17
|
+
c.stopPropagation(), r == null || r();
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ g("span", { className: a("ui-tag", "inline-flex rounded", b[t], m[e], l), ...i, children: [
|
|
20
|
+
s,
|
|
21
|
+
r ? /* @__PURE__ */ n(
|
|
22
|
+
d,
|
|
23
|
+
{
|
|
24
|
+
size: "small",
|
|
25
|
+
className: a(
|
|
26
|
+
"ui-tag-close ml-2 cursor-pointer leading-4 hover:text-gray-darker",
|
|
27
|
+
e === "large" ? "mt-0.5" : "mt-0.25"
|
|
28
|
+
),
|
|
29
|
+
onClick: o
|
|
30
|
+
}
|
|
31
|
+
) : null
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
y as Tag
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TippyProps } from '@tippyjs/react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TooltipProps extends Omit<Partial<TippyProps>, "content" | "children" | "className"> {
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Tooltip: ({ content, children, className, ...rest }: TooltipProps) => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import m from "@tippyjs/react";
|
|
3
|
+
import { followCursor as l } from "tippy.js";
|
|
4
|
+
import "tippy.js/dist/tippy.css";
|
|
5
|
+
const u = ({ content: r, children: t, className: i, ...p }) => /* @__PURE__ */ o(m, { content: r, ...p, className: "ui-tooltip text-white", plugins: [l], children: /* @__PURE__ */ o("span", { className: i, children: t }) });
|
|
6
|
+
export {
|
|
7
|
+
u as Tooltip
|
|
8
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface CurrencyProps {
|
|
3
|
+
currency?: string;
|
|
4
|
+
locale?: string;
|
|
5
|
+
shouldRemoveTrailingZeroes?: boolean;
|
|
6
|
+
maximumFractionDigits?: number;
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
isNarrowSymbolForm?: boolean;
|
|
9
|
+
children: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const Currency: {
|
|
12
|
+
({ currency, locale, shouldRemoveTrailingZeroes, maximumFractionDigits, compact, isNarrowSymbolForm, children, }: CurrencyProps): React.JSX.Element;
|
|
13
|
+
Round: {
|
|
14
|
+
({ currency, children }: CurrencyRoundProps): React.JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
Split: {
|
|
18
|
+
({ currency, locale, isNarrowSymbolForm, children }: CurrencySplitProps): React.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
interface CurrencyRoundProps {
|
|
23
|
+
currency?: string;
|
|
24
|
+
children: number;
|
|
25
|
+
}
|
|
26
|
+
interface CurrencySplitProps {
|
|
27
|
+
currency?: string;
|
|
28
|
+
locale?: string;
|
|
29
|
+
isNarrowSymbolForm?: boolean;
|
|
30
|
+
children: number;
|
|
31
|
+
}
|
|
32
|
+
export type { CurrencyRoundProps, CurrencySplitProps };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { getUserLocale as b } from "get-user-locale";
|
|
3
|
+
import { isZeroDecimal as d, getSymbol as x } from "../../helpers/currency.js";
|
|
4
|
+
import { numberFormat as f, almostZero as N, roundNumber as h } from "../../helpers/numbers.js";
|
|
5
|
+
const y = b(), S = ({
|
|
6
|
+
currency: e = "USD",
|
|
7
|
+
locale: s = y,
|
|
8
|
+
shouldRemoveTrailingZeroes: i = !0,
|
|
9
|
+
maximumFractionDigits: l = 2,
|
|
10
|
+
compact: n = !1,
|
|
11
|
+
isNarrowSymbolForm: a,
|
|
12
|
+
children: u
|
|
13
|
+
}) => {
|
|
14
|
+
let t = u;
|
|
15
|
+
N(t) && (t = 0);
|
|
16
|
+
const c = d(e) ? 0 : l;
|
|
17
|
+
let r = f(t, e, s, c, n, a);
|
|
18
|
+
const m = t < 0;
|
|
19
|
+
return m && (r = r.replace("-", "")), n ? /* @__PURE__ */ p("span", { className: "ui-currency", children: [
|
|
20
|
+
m && "-",
|
|
21
|
+
x(e, s, 0, a),
|
|
22
|
+
r
|
|
23
|
+
] }) : (r = i ? r.replace(".00", "") : r, /* @__PURE__ */ p("span", { className: "ui-currency", children: [
|
|
24
|
+
m && "-",
|
|
25
|
+
r
|
|
26
|
+
] }));
|
|
27
|
+
}, g = ({ currency: e = "USD", children: s }) => {
|
|
28
|
+
const i = h(e, s);
|
|
29
|
+
return /* @__PURE__ */ o("span", { className: "ui-currency-round", children: i });
|
|
30
|
+
};
|
|
31
|
+
g.displayName = "Currency.Round";
|
|
32
|
+
const D = ({ currency: e = "USD", locale: s = y, isNarrowSymbolForm: i, children: l }) => {
|
|
33
|
+
let n = l;
|
|
34
|
+
N(n) && (n = 0);
|
|
35
|
+
const a = h(e, n).toString().split("."), u = a[0];
|
|
36
|
+
let t = a[1] || "0";
|
|
37
|
+
t.length === 1 && (t += "0");
|
|
38
|
+
const c = f(Number(u), e, s, 0, !1, i);
|
|
39
|
+
return /* @__PURE__ */ p("span", { title: n.toString(), className: "ui-currency-split", children: [
|
|
40
|
+
/* @__PURE__ */ o("span", { className: "ui-currency-split-int", children: c }),
|
|
41
|
+
!d(e) && /* @__PURE__ */ o("span", { className: "ui-currency-split-decimal pl-1", children: /* @__PURE__ */ o("sup", { children: t }) })
|
|
42
|
+
] });
|
|
43
|
+
};
|
|
44
|
+
D.displayName = "Currency.Split";
|
|
45
|
+
S.Round = g;
|
|
46
|
+
S.Split = D;
|
|
47
|
+
export {
|
|
48
|
+
S as Currency
|
|
49
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface NumberProps {
|
|
3
|
+
locale?: string;
|
|
4
|
+
maximumFractionDigits?: number;
|
|
5
|
+
isCompact?: boolean;
|
|
6
|
+
children: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const Number: ({ locale, maximumFractionDigits, isCompact, children, }: NumberProps) => React.JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { getUserLocale as n } from "get-user-locale";
|
|
3
|
+
import { numberFormat as a } from "../../helpers/numbers.js";
|
|
4
|
+
const u = n(), i = ({
|
|
5
|
+
locale: r = u,
|
|
6
|
+
maximumFractionDigits: e = 2,
|
|
7
|
+
isCompact: o = !1,
|
|
8
|
+
children: m
|
|
9
|
+
}) => {
|
|
10
|
+
const t = a(m, null, r, e, o);
|
|
11
|
+
return /* @__PURE__ */ s("span", { className: "ui-number", children: t });
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
i as Number
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CountryCode } from 'libphonenumber-js';
|
|
3
|
+
export interface PhoneProps {
|
|
4
|
+
countryCode?: CountryCode;
|
|
5
|
+
children: string | number;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Phone: ({ countryCode, children, className }: PhoneProps) => React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
3
|
+
import { formatPhoneNumber as s, getRegionCode as c } from "../../helpers/phone.js";
|
|
4
|
+
const g = ({ countryCode: o = "US", children: t, className: r }) => {
|
|
5
|
+
const e = t.toString(), n = s(e, o), m = c(e, o);
|
|
6
|
+
return /* @__PURE__ */ i(
|
|
7
|
+
"span",
|
|
8
|
+
{
|
|
9
|
+
className: a("ui-phone", r),
|
|
10
|
+
"data-region-code": m ?? "N/A",
|
|
11
|
+
"data-country-code": o,
|
|
12
|
+
title: e,
|
|
13
|
+
children: n
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
g as Phone
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getInitials: (name?: string) => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const o = typeof window > "u" ? !1 : window.navigator.userAgent.includes("Macintosh"), s = () => {
|
|
2
|
+
if (typeof window > "u" || !window.navigator) return !1;
|
|
3
|
+
const n = window.navigator.userAgent, t = !!/ipad/i.test(n) || !!/iphone/i.test(n), i = !!/webkit/i.test(n), e = !!/macintosh/i.test(n) && navigator.maxTouchPoints > 1;
|
|
4
|
+
return t && i || e;
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
s as isIosBrowser,
|
|
8
|
+
o as isOSX
|
|
9
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ReactNode, ReactElement, JSXElementConstructor } from 'react';
|
|
2
|
+
export declare const getChildrenByType: (children: ReactNode, type: JSXElementConstructor<any> | string) => ReactElement[];
|
|
3
|
+
export declare const getChildByType: (children: ReactNode, type: JSXElementConstructor<any> | string) => ReactElement | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as r from "get-user-locale";
|
|
2
|
+
const c = r.default || r, n = c(), l = /* @__PURE__ */ new Set(["JPY", "CLP", "KRW", "LAK", "PYG", "VND", "VUV"]), m = (e) => l.has(e), i = (e, t = n, o = 0, s = !1) => new Intl.NumberFormat(t, {
|
|
3
|
+
style: "currency",
|
|
4
|
+
currency: e,
|
|
5
|
+
maximumFractionDigits: 0,
|
|
6
|
+
currencyDisplay: s ? "narrowSymbol" : "symbol"
|
|
7
|
+
}).format(o).replaceAll(/\d/g, "").trim();
|
|
8
|
+
export {
|
|
9
|
+
i as getSymbol,
|
|
10
|
+
m as isZeroDecimal
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
export declare const DateFormat: {
|
|
3
|
+
readonly DATE_ISO: "YYYY-MM-DD";
|
|
4
|
+
};
|
|
5
|
+
export declare const isValidTimeZoneName: (timezoneName: string) => boolean;
|
|
6
|
+
export declare const formatDate: (date: Date | Dayjs | string, format?: string) => string;
|
|
7
|
+
export declare const formatTime: (time: string | number, format?: string) => string;
|
|
8
|
+
export declare const dateFromObjectId: (id: string) => Dayjs;
|
|
9
|
+
export declare const now: (date?: Date | Dayjs | string | number, timezone?: string) => Dayjs;
|
|
10
|
+
export declare const dateToString: (date: Date) => string;
|
|
11
|
+
export declare const toDate: (date: Date | Dayjs | string, isStartDate?: boolean) => Date;
|
|
12
|
+
export declare const isSame: (date1: Date | Dayjs, date2: Date | Dayjs, unit?: string) => boolean;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import n, { isDayjs as s } from "dayjs";
|
|
2
|
+
import f from "dayjs/plugin/customParseFormat";
|
|
3
|
+
import m from "dayjs/plugin/localizedFormat";
|
|
4
|
+
import a from "dayjs/plugin/quarterOfYear";
|
|
5
|
+
import c from "dayjs/plugin/timezone";
|
|
6
|
+
import D from "dayjs/plugin/utc";
|
|
7
|
+
n.extend(f);
|
|
8
|
+
n.extend(m);
|
|
9
|
+
n.extend(a);
|
|
10
|
+
n.extend(D);
|
|
11
|
+
n.extend(c);
|
|
12
|
+
const u = {
|
|
13
|
+
DATE_ISO: "YYYY-MM-DD"
|
|
14
|
+
}, N = (t) => {
|
|
15
|
+
try {
|
|
16
|
+
n.tz(/* @__PURE__ */ new Date(), t);
|
|
17
|
+
} catch {
|
|
18
|
+
return !1;
|
|
19
|
+
}
|
|
20
|
+
return !0;
|
|
21
|
+
}, g = (t, r = u.DATE_ISO) => n(t).format(r), O = (t, r) => {
|
|
22
|
+
if (!t)
|
|
23
|
+
return r ? n().tz(r).startOf("day") : n();
|
|
24
|
+
if (typeof t == "number") {
|
|
25
|
+
const o = t <= 2147483647 ? t * 1e3 : t;
|
|
26
|
+
return r ? n(o).tz(r) : n(o);
|
|
27
|
+
}
|
|
28
|
+
return typeof t == "string" ? r ? n(t).tz(r) : n() : s(t) ? t : t instanceof Date && !Number.isNaN(t.getTime()) ? r ? n.tz(i(t), r) : n(i(t)) : r ? n().tz(r) : n();
|
|
29
|
+
}, e = (t) => t.toString().padStart(2, "0"), i = (t) => {
|
|
30
|
+
const r = `${t.getFullYear()}-${e(t.getMonth() + 1)}-${e(t.getDate())}`, o = `${e(t.getHours())}:${e(t.getMinutes())}:${e(t.getSeconds())}`;
|
|
31
|
+
return `${r} ${o}`;
|
|
32
|
+
}, p = "T00:00:00", S = "T23:59:59", w = (t, r = !0) => {
|
|
33
|
+
const o = r ? p : S;
|
|
34
|
+
return s(t) ? new Date(t.format(u.DATE_ISO) + o) : new Date(g(t) + o);
|
|
35
|
+
}, E = (t, r, o = "day") => s(t) && s(r) ? t.isSame(r, o) : !1;
|
|
36
|
+
export {
|
|
37
|
+
u as DateFormat,
|
|
38
|
+
i as dateToString,
|
|
39
|
+
g as formatDate,
|
|
40
|
+
E as isSame,
|
|
41
|
+
N as isValidTimeZoneName,
|
|
42
|
+
O as now,
|
|
43
|
+
w as toDate
|
|
44
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export namespace flash {
|
|
3
|
+
function show({ text, size, color, className, canClose, onClose, ...rest }: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
text: any;
|
|
6
|
+
size?: string | undefined;
|
|
7
|
+
color?: string | undefined;
|
|
8
|
+
className: any;
|
|
9
|
+
canClose?: boolean | undefined;
|
|
10
|
+
onClose: any;
|
|
11
|
+
}): void;
|
|
12
|
+
function primary(text: any, props: any): void;
|
|
13
|
+
function secondary(text: any, props: any): void;
|
|
14
|
+
function success(text: any, props: any): void;
|
|
15
|
+
function warning(text: any, props: any): void;
|
|
16
|
+
function caution(text: any, props: any): void;
|
|
17
|
+
function danger(text: any, props: any): void;
|
|
18
|
+
function getStyles(color: any, size: any, className: any): string;
|
|
19
|
+
function container(text: any, className: any, onClose: any, toastObject: any): React.JSX.Element;
|
|
20
|
+
function dismiss(id: any): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import { Transition as u } from "@headlessui/react";
|
|
3
|
+
import h from "clsx";
|
|
4
|
+
import { Fragment as y } from "react";
|
|
5
|
+
import c from "react-hot-toast";
|
|
6
|
+
import { CloseIcon as g } from "../icons/build/CloseIcon.js";
|
|
7
|
+
const w = {
|
|
8
|
+
primary: "bg-primary",
|
|
9
|
+
secondary: "bg-secondary",
|
|
10
|
+
success: "bg-success",
|
|
11
|
+
warning: "bg-warning",
|
|
12
|
+
danger: "bg-danger",
|
|
13
|
+
caution: "bg-caution"
|
|
14
|
+
}, f = {
|
|
15
|
+
small: "px-3 py-2 text-sm leading-3.5 shadow max-w-50",
|
|
16
|
+
medium: "px-4 py-3.5 text-base leading-4 shadow max-w-100",
|
|
17
|
+
large: "px-4.5 py-4 text-md leading-4.5 shadow max-w-xl"
|
|
18
|
+
}, x = {
|
|
19
|
+
duration: 3e3,
|
|
20
|
+
position: "top-center",
|
|
21
|
+
reverseOrder: !1
|
|
22
|
+
}, l = {
|
|
23
|
+
show({ text: r, size: s = "medium", color: e = "success", className: o, canClose: t = !0, onClose: i, ...m }) {
|
|
24
|
+
const n = { ...x, ...m };
|
|
25
|
+
t || (n.duration = Number.POSITIVE_INFINITY);
|
|
26
|
+
const d = l.getStyles(e, s, o, t);
|
|
27
|
+
c.custom(l.container.bind(this, r, d, t ? i : null), n);
|
|
28
|
+
},
|
|
29
|
+
//
|
|
30
|
+
// Shortcut methods for flash.show
|
|
31
|
+
//
|
|
32
|
+
primary(r, s) {
|
|
33
|
+
this.show({ color: "primary", text: r, ...s });
|
|
34
|
+
},
|
|
35
|
+
secondary(r, s) {
|
|
36
|
+
this.show({ color: "secondary", text: r, ...s });
|
|
37
|
+
},
|
|
38
|
+
success(r, s) {
|
|
39
|
+
this.show({ color: "success", text: r, ...s });
|
|
40
|
+
},
|
|
41
|
+
warning(r, s) {
|
|
42
|
+
this.show({ color: "warning", text: r, ...s });
|
|
43
|
+
},
|
|
44
|
+
caution(r, s) {
|
|
45
|
+
this.show({ color: "caution", text: r, ...s });
|
|
46
|
+
},
|
|
47
|
+
danger(r, s) {
|
|
48
|
+
this.show({ color: "danger", text: r, ...s });
|
|
49
|
+
},
|
|
50
|
+
getStyles(r, s, e) {
|
|
51
|
+
return h("flex text-white rounded pointer-events-auto", w[r], f[s], e);
|
|
52
|
+
},
|
|
53
|
+
container(r, s, e, o) {
|
|
54
|
+
const t = (i) => e(i, o);
|
|
55
|
+
return /* @__PURE__ */ a(
|
|
56
|
+
u,
|
|
57
|
+
{
|
|
58
|
+
appear: !0,
|
|
59
|
+
as: y,
|
|
60
|
+
show: o.visible,
|
|
61
|
+
enter: "transition transform duration-500 ease-out",
|
|
62
|
+
enterFrom: "-translate-y-full !opacity-0",
|
|
63
|
+
enterTo: "translate-y-0 !opacity-100",
|
|
64
|
+
leave: "transition transform duration-500 ease-in",
|
|
65
|
+
leaveFrom: "!opacity-90 translate-y-0",
|
|
66
|
+
leaveTo: "!opacity-0 -translate-y-full",
|
|
67
|
+
children: /* @__PURE__ */ p("div", { className: s, children: [
|
|
68
|
+
/* @__PURE__ */ a("div", { className: "w-full", children: r }),
|
|
69
|
+
e && /* @__PURE__ */ a(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
className: "flex cursor-pointer items-center justify-center pl-3 opacity-60 hover:opacity-100",
|
|
73
|
+
onClick: t,
|
|
74
|
+
children: /* @__PURE__ */ a(g, {})
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
] }, o.id)
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
},
|
|
81
|
+
dismiss(r) {
|
|
82
|
+
c.dismiss(r);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
l as flash
|
|
87
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const almostZero: (number: number) => boolean;
|
|
2
|
+
export declare const numberFormat: (amount: number, currency?: string | null, locale?: string, maximumFractionDigits?: number, isCompact?: boolean, isNarrowSymbolForm?: boolean) => string;
|
|
3
|
+
export declare const roundNumber: (currency: string, amount: number) => number;
|
|
4
|
+
export declare const compactNumber: (value: number, locale?: string) => string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as s from "get-user-locale";
|
|
2
|
+
import { round as e } from "lodash-es";
|
|
3
|
+
import { isZeroDecimal as l } from "./currency.js";
|
|
4
|
+
const i = s.default || s, a = i(), d = (o) => {
|
|
5
|
+
const r = Math.abs(o);
|
|
6
|
+
return r >= 0 && r <= 1e-3;
|
|
7
|
+
}, N = (o, r = null, t = a, n = 2, c = !1, u = !1) => {
|
|
8
|
+
const m = {
|
|
9
|
+
style: r ? "currency" : "decimal",
|
|
10
|
+
minimumFractionDigits: n,
|
|
11
|
+
maximumFractionDigits: n
|
|
12
|
+
};
|
|
13
|
+
return r && (m.currency = r, m.currencyDisplay = u ? "narrowSymbol" : "symbol"), c ? b(o, t) : new Intl.NumberFormat(t, m).format(o);
|
|
14
|
+
}, F = (o, r) => {
|
|
15
|
+
let t = Number(r);
|
|
16
|
+
return l(o) ? e(t) : (e(t, 3) === e(t, 4) && (t = e(t, 3)), e(t, 2));
|
|
17
|
+
}, b = (o, r = a) => new Intl.NumberFormat(r, { notation: "compact", maximumFractionDigits: 2 }).format(o);
|
|
18
|
+
export {
|
|
19
|
+
d as almostZero,
|
|
20
|
+
b as compactNumber,
|
|
21
|
+
N as numberFormat,
|
|
22
|
+
F as roundNumber
|
|
23
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CountryCode } from 'libphonenumber-js';
|
|
2
|
+
export declare const getRegionCode: (number: string, countryCode?: CountryCode) => string | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* Formats the Phone Number for provided country code
|
|
5
|
+
*
|
|
6
|
+
* @param number {string}
|
|
7
|
+
* @param countryCode {string}
|
|
8
|
+
*
|
|
9
|
+
* @return {string}
|
|
10
|
+
*/
|
|
11
|
+
export declare const formatPhoneNumber: (number: string, countryCode?: CountryCode) => string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { parsePhoneNumber as a } from "libphonenumber-js";
|
|
2
|
+
const c = (r, o = "US") => {
|
|
3
|
+
try {
|
|
4
|
+
const t = a(r, o);
|
|
5
|
+
return t == null ? void 0 : t.country;
|
|
6
|
+
} catch {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
}, f = (r, o = "US") => {
|
|
10
|
+
try {
|
|
11
|
+
let t = a(r, o);
|
|
12
|
+
if (!t)
|
|
13
|
+
return r;
|
|
14
|
+
const e = t.country;
|
|
15
|
+
e && e !== o && (t = a(r, e));
|
|
16
|
+
let n;
|
|
17
|
+
return e && t ? n = e === o ? t.formatNational() : t.formatInternational() : n = r, n;
|
|
18
|
+
} catch {
|
|
19
|
+
return r;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
f as formatPhoneNumber,
|
|
24
|
+
c as getRegionCode
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useId: (prefix: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsClient: () => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useViewportHeight: () => number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useState as n, useEffect as o } from "react";
|
|
2
|
+
const w = () => {
|
|
3
|
+
const [t, i] = n(0);
|
|
4
|
+
return o(() => {
|
|
5
|
+
const e = () => {
|
|
6
|
+
i(window.innerHeight);
|
|
7
|
+
};
|
|
8
|
+
return e(), window.addEventListener("orientationchange", e), () => {
|
|
9
|
+
window.removeEventListener("orientationchange", e);
|
|
10
|
+
};
|
|
11
|
+
}, []), t;
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
w as useViewportHeight
|
|
15
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as r } from "./helpers/icon.js";
|
|
3
|
+
const o = r((t) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 14", width: 15, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("g", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }, /* @__PURE__ */ e.createElement("path", { d: "M2.666 9.904l1.18 1.776M9.187 2l4.479 6.746M13.43 8.39l-9.82 2.934-.709-1.067 6.514-7.912 4.009 6.038.007.006z" }), /* @__PURE__ */ e.createElement("path", { d: "M8.721 9.798c.54.617.47 1.558-.147 2.098-.625.541-1.566.47-2.106-.147-.042-.05-.084-.098-.12-.154l-.617-.934" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "prefix__clip0" }, /* @__PURE__ */ e.createElement("path", { fill: "#fff", transform: "translate(.666)", d: "M0 0h14v14H0z" })))));
|
|
4
|
+
export {
|
|
5
|
+
o as AnnounceIcon
|
|
6
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as t } from "./helpers/icon.js";
|
|
3
|
+
const r = t((o) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ e.createElement(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M5.663 10.7v.214a1.337 1.337 0 002.674 0V10.7M8.07 3.355v-.536a1.07 1.07 0 10-2.14 0v.536",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
), /* @__PURE__ */ e.createElement(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M3.828 5.943A2.643 2.643 0 016.471 3.3H7.53a2.643 2.643 0 012.643 2.643v1.631c0 .31.123.607.342.825l.374.374c.218.219.341.516.341.825 0 .61-.493 1.103-1.102 1.103H3.873a1.102 1.102 0 01-1.102-1.103c0-.31.123-.606.341-.825l.374-.374c.219-.218.342-.515.342-.825V5.943v0z",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}
|
|
19
|
+
)));
|
|
20
|
+
r.tags = ["notification", "pending"];
|
|
21
|
+
export {
|
|
22
|
+
r as BellIcon
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as t } from "./helpers/icon.js";
|
|
3
|
+
const r = t((o) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...o }, /* @__PURE__ */ e.createElement(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M10.333 12.5H3.667C2.747 12.5 2 11.754 2 10.833V4.167c0-.92.746-1.667 1.667-1.667h6.666c.92 0 1.667.746 1.667 1.667v6.666c0 .92-.746 1.667-1.667 1.667zM4.5 1.5v2.174M9.5 1.5v2.174",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
)));
|
|
12
|
+
r.tags = ["date"];
|
|
13
|
+
export {
|
|
14
|
+
r as CalendarIcon
|
|
15
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as t } from "./helpers/icon.js";
|
|
3
|
+
const r = t((o) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 12", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ e.createElement("path", { d: "M12.166 3l-7.333 7.333L1.5 7", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
4
|
+
r.tags = ["tick", "correct"];
|
|
5
|
+
export {
|
|
6
|
+
r as CheckIcon
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as r } from "./helpers/icon.js";
|
|
3
|
+
const t = r((o) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ e.createElement("path", { d: "M12.75 4.25l-5.5 5.5-5.5-5.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
4
|
+
t.tags = ["arrow"];
|
|
5
|
+
export {
|
|
6
|
+
t as ChevronDownIcon
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as r } from "./helpers/icon.js";
|
|
3
|
+
const t = r((o) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ e.createElement("path", { d: "M9 12.5L3.5 7 9 1.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
4
|
+
t.tags = ["arrow"];
|
|
5
|
+
export {
|
|
6
|
+
t as ChevronLeftIcon
|
|
7
|
+
};
|