@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
package/build/helpers/flash.js
CHANGED
|
@@ -1,85 +1,84 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import c from "react-hot-toast";
|
|
1
|
+
import { Transition as p } from "@headlessui/react";
|
|
2
|
+
import n, { Fragment as d } from "react";
|
|
3
|
+
import i from "react-hot-toast";
|
|
5
4
|
import y from "./classnames.js";
|
|
6
5
|
import { CloseIcon as g } from "../icons/src/CloseIcon.js";
|
|
7
|
-
const
|
|
6
|
+
const h = {
|
|
8
7
|
primary: "bg-primary",
|
|
9
8
|
secondary: "bg-secondary",
|
|
10
9
|
success: "bg-success",
|
|
11
10
|
warning: "bg-warning",
|
|
12
11
|
danger: "bg-danger",
|
|
13
12
|
caution: "bg-caution"
|
|
14
|
-
},
|
|
13
|
+
}, w = {
|
|
15
14
|
small: "px-3 py-2 text-sm leading-3.5 shadow max-w-50",
|
|
16
15
|
medium: "px-4 py-3.5 text-base leading-4 shadow max-w-100",
|
|
17
16
|
large: "px-4.5 py-4 text-md leading-4.5 shadow max-w-xl"
|
|
18
|
-
},
|
|
17
|
+
}, f = {
|
|
19
18
|
duration: 3e3,
|
|
20
19
|
position: "top-center",
|
|
21
20
|
reverseOrder: !1
|
|
22
21
|
}, l = {
|
|
23
|
-
show({ text:
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
|
|
22
|
+
show({ text: e, size: r = "medium", color: t = "success", className: o, canClose: s = !0, onClose: a, ...m }) {
|
|
23
|
+
const c = { ...f, ...m };
|
|
24
|
+
s || (c.duration = Number.POSITIVE_INFINITY);
|
|
25
|
+
const u = l.getStyles(t, r, o, s);
|
|
26
|
+
return i.custom(l.container.bind(this, e, u, s ? a : null), c);
|
|
28
27
|
},
|
|
29
28
|
//
|
|
30
29
|
// Shortcut methods for flash.show
|
|
31
30
|
//
|
|
32
|
-
primary(
|
|
33
|
-
this.show({ color: "primary", text:
|
|
31
|
+
primary(e, r) {
|
|
32
|
+
return this.show({ color: "primary", text: e, ...r });
|
|
34
33
|
},
|
|
35
|
-
secondary(
|
|
36
|
-
this.show({ color: "secondary", text:
|
|
34
|
+
secondary(e, r) {
|
|
35
|
+
return this.show({ color: "secondary", text: e, ...r });
|
|
37
36
|
},
|
|
38
|
-
success(
|
|
39
|
-
this.show({ color: "success", text:
|
|
37
|
+
success(e, r) {
|
|
38
|
+
return this.show({ color: "success", text: e, ...r });
|
|
40
39
|
},
|
|
41
|
-
warning(
|
|
42
|
-
this.show({ color: "warning", text:
|
|
40
|
+
warning(e, r) {
|
|
41
|
+
return this.show({ color: "warning", text: e, ...r });
|
|
43
42
|
},
|
|
44
|
-
caution(
|
|
45
|
-
this.show({ color: "caution", text:
|
|
43
|
+
caution(e, r) {
|
|
44
|
+
return this.show({ color: "caution", text: e, ...r });
|
|
46
45
|
},
|
|
47
|
-
danger(
|
|
48
|
-
this.show({ color: "danger", text:
|
|
46
|
+
danger(e, r) {
|
|
47
|
+
return this.show({ color: "danger", text: e, ...r });
|
|
49
48
|
},
|
|
50
|
-
getStyles(
|
|
51
|
-
return y("flex text-white rounded pointer-events-auto",
|
|
49
|
+
getStyles(e, r, t) {
|
|
50
|
+
return y("flex text-white rounded pointer-events-auto", h[e], w[r], t);
|
|
52
51
|
},
|
|
53
|
-
container(
|
|
54
|
-
const
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
-
|
|
52
|
+
container(e, r, t, o) {
|
|
53
|
+
const s = (a) => t(a, o);
|
|
54
|
+
return /* @__PURE__ */ n.createElement(
|
|
55
|
+
p,
|
|
57
56
|
{
|
|
58
57
|
appear: !0,
|
|
59
|
-
as:
|
|
58
|
+
as: d,
|
|
60
59
|
show: o.visible,
|
|
61
60
|
enter: "transition transform duration-500 ease-out",
|
|
62
61
|
enterFrom: "-translate-y-full !opacity-0",
|
|
63
62
|
enterTo: "translate-y-0 !opacity-100",
|
|
64
63
|
leave: "transition transform duration-500 ease-in",
|
|
65
64
|
leaveFrom: "!opacity-90 translate-y-0",
|
|
66
|
-
leaveTo: "!opacity-0 -translate-y-full"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
)
|
|
77
|
-
] }, o.id)
|
|
78
|
-
}
|
|
65
|
+
leaveTo: "!opacity-0 -translate-y-full"
|
|
66
|
+
},
|
|
67
|
+
/* @__PURE__ */ n.createElement("div", { key: o.id, className: r }, /* @__PURE__ */ n.createElement("div", { className: "w-full" }, e), t && /* @__PURE__ */ n.createElement(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
className: "flex cursor-pointer items-center justify-center pl-3 opacity-60 hover:opacity-100",
|
|
71
|
+
onClick: s
|
|
72
|
+
},
|
|
73
|
+
/* @__PURE__ */ n.createElement(g, null)
|
|
74
|
+
))
|
|
79
75
|
);
|
|
80
76
|
},
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
remove(e) {
|
|
78
|
+
return i.remove(e);
|
|
79
|
+
},
|
|
80
|
+
dismiss(e) {
|
|
81
|
+
return i.dismiss(e);
|
|
83
82
|
}
|
|
84
83
|
};
|
|
85
84
|
export {
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
i(window.innerHeight);
|
|
7
|
-
};
|
|
8
|
-
return e(), window.addEventListener("orientationchange", e), () => {
|
|
9
|
-
window.removeEventListener("orientationchange", e);
|
|
10
|
-
};
|
|
11
|
-
}, []), t;
|
|
1
|
+
import { useMount as o, useEventListener as r } from "ahooks";
|
|
2
|
+
import { useState as n } from "react";
|
|
3
|
+
const g = () => {
|
|
4
|
+
const [e, i] = n(0), t = () => i(window.innerHeight);
|
|
5
|
+
return o(t), r("orientationchange", t), e;
|
|
12
6
|
};
|
|
13
7
|
export {
|
|
14
|
-
|
|
8
|
+
g as useViewportHeight
|
|
15
9
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
const c = t((o) => /* @__PURE__ */ n("svg", { viewBox: "0 0 14 14", width: 15, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
|
|
2
|
+
import { createIcon as o } from "./helpers/icon.js";
|
|
3
|
+
const l = o((e) => /* @__PURE__ */ n("svg", { viewBox: "0 0 14 14", width: 15, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
5
4
|
/* @__PURE__ */ n("g", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
6
5
|
/* @__PURE__ */ r("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" }),
|
|
7
6
|
/* @__PURE__ */ r("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" })
|
|
@@ -9,5 +8,5 @@ const c = t((o) => /* @__PURE__ */ n("svg", { viewBox: "0 0 14 14", width: 15, h
|
|
|
9
8
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "prefix__clip0", children: /* @__PURE__ */ r("path", { fill: "#fff", transform: "translate(.666)", d: "M0 0h14v14H0z" }) }) })
|
|
10
9
|
] }));
|
|
11
10
|
export {
|
|
12
|
-
|
|
11
|
+
l as AnnounceIcon
|
|
13
12
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ n("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
|
|
5
4
|
/* @__PURE__ */ o(
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ o("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...r, children: /* @__PURE__ */ o(
|
|
5
4
|
"path",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ o("svg", { viewBox: "0 0 14 12", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: /* @__PURE__ */ o("path", { d: "M12.166 3l-7.333 7.333L1.5 7", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
5
4
|
e.tags = ["tick", "correct"];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
n.tags = ["arrow"];
|
|
2
|
+
import { createIcon as n } from "./helpers/icon.js";
|
|
3
|
+
const t = n((r) => /* @__PURE__ */ o("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: /* @__PURE__ */ o("path", { d: "M12.75 4.25l-5.5 5.5-5.5-5.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
4
|
+
t.tags = ["arrow"];
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
t as ChevronDownIcon
|
|
8
7
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ o("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: /* @__PURE__ */ o("path", { d: "M9 12.5L3.5 7 9 1.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
5
4
|
e.tags = ["arrow"];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ o("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: /* @__PURE__ */ o("path", { d: "M4.5 1.5L10 7l-5.5 5.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
5
4
|
e.tags = ["arrow"];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
const e = (t) => /* @__PURE__ */ r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", fill: "none", viewBox: "0 0 14 14", ...t, children: /* @__PURE__ */ r("path", { fill: "currentColor", d: "M14 7a7 7 0 10-7 7v-1.4A5.6 5.6 0 1112.6 7H14z" }) });
|
|
4
3
|
export {
|
|
5
4
|
e as CircleNotch
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
/* @__PURE__ */
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { createIcon as i } from "./helpers/icon.js";
|
|
3
|
+
const n = i((t) => {
|
|
4
|
+
const r = `close-icon-clip-${Math.random().toString(36).slice(2, 11)}`;
|
|
5
|
+
return /* @__PURE__ */ e("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...t, children: [
|
|
6
|
+
/* @__PURE__ */ o("g", { clipPath: `url(#${r})`, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ o("path", { d: "M11.148 3.147l-8.295 8.295M11.147 11.442L2.853 3.147" }) }),
|
|
7
|
+
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: r, children: /* @__PURE__ */ o("path", { fill: "#fff", d: "M0 0h14v14H0z" }) }) })
|
|
8
|
+
] });
|
|
9
|
+
});
|
|
10
|
+
n.tags = ["cross", "delete", "x"];
|
|
9
11
|
export {
|
|
10
|
-
|
|
12
|
+
n as CloseIcon
|
|
11
13
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", fill: "none", viewBox: "0 0 14 14", ...r, children: /* @__PURE__ */ o(
|
|
5
4
|
"path",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as e } from "./helpers/icon.js";
|
|
4
3
|
const n = e((r) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 15, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
|
|
5
4
|
/* @__PURE__ */ o(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
const n = t((r) => /* @__PURE__ */ o("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...r, children: /* @__PURE__ */ o(
|
|
2
|
+
import { createIcon as n } from "./helpers/icon.js";
|
|
3
|
+
const t = n((r) => /* @__PURE__ */ o("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...r, children: /* @__PURE__ */ o(
|
|
5
4
|
"path",
|
|
6
5
|
{
|
|
7
6
|
d: "M6.217 10.878a4.661 4.661 0 100-9.322 4.661 4.661 0 000 9.322zM9.514 9.513l2.93 2.931",
|
|
@@ -10,7 +9,7 @@ const n = t((r) => /* @__PURE__ */ o("svg", { width: 14, height: 14, fill: "none
|
|
|
10
9
|
strokeLinejoin: "round"
|
|
11
10
|
}
|
|
12
11
|
) }));
|
|
13
|
-
|
|
12
|
+
t.tags = ["magnifying glass"];
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
t as SearchIcon
|
|
16
15
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as i } from "./helpers/icon.js";
|
|
4
3
|
const o = i((e) => /* @__PURE__ */ t("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
5
4
|
/* @__PURE__ */ r(
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { createIcon as t } from "./helpers/icon.js";
|
|
4
3
|
const e = t((r) => /* @__PURE__ */ n("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
|
|
5
4
|
/* @__PURE__ */ o(
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
const f = (o) => {
|
|
6
|
-
const e = ({ size: r = "small", className: n, ...t }) => /* @__PURE__ */ m(o, { className: i(a[r], "relative -top-0.25 inline-block", n), ...t });
|
|
7
|
-
return e.displayName = `Icon(${o.displayName || o.name || "Component"})`, e;
|
|
8
|
-
};
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import c from "clsx";
|
|
3
|
+
import { iconSizes as i } from "./iconSizes.js";
|
|
4
|
+
const p = (o) => ({ size: r = "small", className: n, ...t }) => /* @__PURE__ */ e(o, { className: c(i[r], "relative -top-0.25 inline-block", n), ...t });
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
p as createIcon
|
|
11
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
const i = (h) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "310", height: "101", fill: "none", viewBox: "0 0 310 101", ...h, children: /* @__PURE__ */ l(
|
|
2
|
+
const o = (h) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "310", height: "101", fill: "none", viewBox: "0 0 310 101", ...h, children: /* @__PURE__ */ l(
|
|
4
3
|
"path",
|
|
5
4
|
{
|
|
6
5
|
fill: "currentColor",
|
|
@@ -10,5 +9,5 @@ const i = (h) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10
9
|
}
|
|
11
10
|
) });
|
|
12
11
|
export {
|
|
13
|
-
|
|
12
|
+
o as XolaLogoSimple
|
|
14
13
|
};
|