@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,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: "M4.5 1.5L10 7l-5.5 5.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
4
|
+
t.tags = ["arrow"];
|
|
5
|
+
export {
|
|
6
|
+
t as ChevronRightIcon
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
const r = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", fill: "none", viewBox: "0 0 14 14", ...t }, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", d: "M14 7a7 7 0 10-7 7v-1.4A5.6 5.6 0 1112.6 7H14z" }));
|
|
3
|
+
export {
|
|
4
|
+
r as CircleNotch
|
|
5
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as r } from "./helpers/icon.js";
|
|
3
|
+
const l = r((t) => /* @__PURE__ */ e.createElement("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...t }, /* @__PURE__ */ e.createElement("g", { clipPath: "url(#prefix__clip0_5_1805)", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }, /* @__PURE__ */ e.createElement("path", { d: "M11.148 3.147l-8.295 8.295M11.147 11.442L2.853 3.147" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "prefix__clip0_5_1805" }, /* @__PURE__ */ e.createElement("path", { fill: "#fff", d: "M0 0h14v14H0z" })))));
|
|
4
|
+
l.tags = ["cross", "delete", "x"];
|
|
5
|
+
export {
|
|
6
|
+
l as CloseIcon
|
|
7
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import o from "react";
|
|
2
|
+
import { createIcon as t } from "./helpers/icon.js";
|
|
3
|
+
const r = t((e) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", fill: "none", viewBox: "0 0 14 14", ...e }, /* @__PURE__ */ o.createElement(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M10 6L7.184 8.816v0a.26.26 0 01-.368 0L4 6",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
)));
|
|
12
|
+
r.tags = ["collapse", "fold"];
|
|
13
|
+
export {
|
|
14
|
+
r as DownArrowIcon
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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: 15, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ e.createElement(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M12.231 2h-9.13a.435.435 0 00-.435.435v9.13c0 .24.195.435.435.435h9.13c.24 0 .435-.195.435-.435v-9.13A.435.435 0 0012.231 2zM2.666 10.26h10",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
), /* @__PURE__ */ e.createElement(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M2.666 9.665s1.083-2.707 2.436-2.707c1.354 0 2.437 1.625 2.437 1.625l1.63-2.8h-.006a.903.903 0 011.24-.324c.152.086.27.216.352.373l1.911 3.823",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}
|
|
19
|
+
)));
|
|
20
|
+
t.tags = ["photo"];
|
|
21
|
+
export {
|
|
22
|
+
t as ImageIcon
|
|
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: "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",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
)));
|
|
12
|
+
r.tags = ["magnifying glass"];
|
|
13
|
+
export {
|
|
14
|
+
r as SearchIcon
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { createIcon as r } from "./helpers/icon.js";
|
|
3
|
+
const l = r((t) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 14 14", width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement(
|
|
4
|
+
"g",
|
|
5
|
+
{
|
|
6
|
+
clipPath: "url(#prefix__clip0_141_9201)",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
},
|
|
11
|
+
/* @__PURE__ */ e.createElement("path", { d: "M1.828 3.324H12.15M8.095 1.85H5.883v0a.737.737 0 00-.737.737v.737h3.686v-.737 0a.737.737 0 00-.737-.737v0zM5.883 9.591V5.905M8.095 9.591V5.905M10.363 11.495v0a.737.737 0 01-.735.677H4.35v0a.737.737 0 01-.735-.677l-.681-8.17h8.11l-.681 8.17z" })
|
|
12
|
+
), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "prefix__clip0_141_9201" }, /* @__PURE__ */ e.createElement("path", { fill: "#fff", transform: "translate(1.09 1.113)", d: "M0 0h11.796v11.796H0z" })))));
|
|
13
|
+
l.tags = ["delete", "remove", "bin"];
|
|
14
|
+
export {
|
|
15
|
+
l as TrashIcon
|
|
16
|
+
};
|
|
@@ -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: "M12.587 6.614L7.358 1.386a.545.545 0 00-.771 0L1.358 6.614a.545.545 0 000 .772l5.229 5.228a.546.546 0 00.771 0l5.229-5.228a.545.545 0 000-.772zM6.985 4.286v3.06",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round"
|
|
10
|
+
}
|
|
11
|
+
), /* @__PURE__ */ e.createElement(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
d: "M6.978 9.196a.127.127 0 00-.131.136c0 .07.06.13.136.13a.134.134 0 00.126-.141l-.006-.005c-.005-.077-.065-.137-.136-.137M6.985 9.196H6.98",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}
|
|
19
|
+
)));
|
|
20
|
+
r.tags = ["exclamation"];
|
|
21
|
+
export {
|
|
22
|
+
r as WarningDiamondIcon
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import t from "./classnames.js";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { iconSizes as r } from "./iconSizes.js";
|
|
4
|
+
const p = (e) => {
|
|
5
|
+
const o = ({ size: a = "small", className: m, ...s }) => /* @__PURE__ */ n.createElement(e, { className: t(r[a], "relative -top-0.25 inline-block", m), ...s });
|
|
6
|
+
return o.displayName = `Icon(${e.displayName || e.name || "Component"})`, o;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
p as createIcon
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
const o = (l) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "310", height: "101", fill: "none", viewBox: "0 0 310 101", ...l }, /* @__PURE__ */ e.createElement(
|
|
3
|
+
"path",
|
|
4
|
+
{
|
|
5
|
+
fill: "currentColor",
|
|
6
|
+
fillRule: "evenodd",
|
|
7
|
+
d: "M300.493 98.795h8.955L269.521 0l-40.072 98.795h8.985l12.113-29.765h37.804l12.142 29.765zm-15.443-38.06h-31.173l15.644-38.433 15.529 38.433zm-107.902 38.06h35.02V90.53h-26.38V5.426h-8.64v93.37zm-65.122 1.235c-25.985 0-47.905-21.957-47.905-47.933S86.041 4.22 112.026 4.22s47.905 21.928 47.905 47.904c0 25.976-21.948 47.905-47.905 47.905zm0-87.543c-21.351 0-39.376 18.14-39.376 39.638 0 21.499 18.025 39.61 39.376 39.61s39.376-18.14 39.376-39.61-18.025-39.638-39.376-39.638zm-57.8 86.337h9.5L38.122 52.15 62.521 5.426h-9.616L33.013 42.71 13.092 5.426H3.447L27.99 52.149 2.5 98.824h9.501l20.983-39.351 21.241 39.351z",
|
|
8
|
+
clipRule: "evenodd"
|
|
9
|
+
}
|
|
10
|
+
));
|
|
11
|
+
export {
|
|
12
|
+
o as XolaLogoSimple
|
|
13
|
+
};
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { FadeIn } from './components/Animation/FadeIn';
|
|
2
|
+
export { SlideDown } from './components/Animation/SlideDown';
|
|
3
|
+
export { Button } from './components/Buttons/Button';
|
|
4
|
+
export { SubmitButton } from './components/Buttons/SubmitButton';
|
|
5
|
+
export { ToggleButton } from './components/Buttons/ToggleButton';
|
|
6
|
+
export { Badge } from './components/Badge';
|
|
7
|
+
export { Tag } from './components/Tag';
|
|
8
|
+
export { Dot } from './components/Dot/Dot';
|
|
9
|
+
export { DotProgress } from './components/Dot/DotProgress';
|
|
10
|
+
export { Alert } from './components/Alert';
|
|
11
|
+
export { Sidebar } from './components/Sidebar';
|
|
12
|
+
export { Avatar } from './components/Avatar';
|
|
13
|
+
export { Tooltip } from './components/Tooltip';
|
|
14
|
+
export { Popover } from './components/Popover/Popover';
|
|
15
|
+
export { PopoverList } from './components/Popover/PopoverList';
|
|
16
|
+
export { Modal } from './components/Modal';
|
|
17
|
+
export { Table } from './components/Table';
|
|
18
|
+
export { ButtonGroup } from './components/Buttons/ButtonGroup';
|
|
19
|
+
export { Counter } from './components/Counter';
|
|
20
|
+
export { Logo } from './components/Logo';
|
|
21
|
+
export { Search } from './components/Search';
|
|
22
|
+
export { Spinner } from './components/Spinner';
|
|
23
|
+
export { Breadcrumb } from './components/Breadcrumb';
|
|
24
|
+
export { Breakdown } from './components/Breakdown';
|
|
25
|
+
export { FormGroup } from './components/Forms/FormGroup';
|
|
26
|
+
export { ValuePopoverText } from './components/Forms/ValuePopoverText';
|
|
27
|
+
export { Input } from './components/Forms/Input';
|
|
28
|
+
export { Textarea } from './components/Forms/Textarea';
|
|
29
|
+
export { Select } from './components/Forms/Select';
|
|
30
|
+
export { ComboBox } from './components/Forms/ComboBox';
|
|
31
|
+
export { Switch } from './components/Forms/Switch';
|
|
32
|
+
export { Checkbox } from './components/Forms/Checkbox';
|
|
33
|
+
export { Label } from './components/Forms/Label';
|
|
34
|
+
export { RangeSlider } from './components/Forms/RangeSlider';
|
|
35
|
+
export { HeaderToolbar } from './components/HeaderToolbar';
|
|
36
|
+
export { Tabs } from './components/Tabs';
|
|
37
|
+
export { Skeleton } from './components/Skeleton';
|
|
38
|
+
export { Drawer } from './components/Drawer';
|
|
39
|
+
export { Key } from './components/Key';
|
|
40
|
+
export { Login } from './components/Screens/Login';
|
|
41
|
+
export { DatePicker } from './components/DatePicker/DatePicker';
|
|
42
|
+
export { RelativeDateRange } from './components/DatePicker/RelativeDateRange';
|
|
43
|
+
export { DatePickerPopover } from './components/DatePicker/DatePickerPopover';
|
|
44
|
+
export { MonthPicker } from './components/DatePicker/MonthPicker';
|
|
45
|
+
export { MonthSelector } from './components/DatePicker/MonthSelector';
|
|
46
|
+
export { UpcomingDatePicker } from './components/DatePicker/UpcomingDatePicker';
|
|
47
|
+
export { InlineValuePopover } from './components/Forms/InlineValuePopover';
|
|
48
|
+
export { ImageUpload } from './components/ImageUpload';
|
|
49
|
+
export { Currency } from './components/Utilities/Currency';
|
|
50
|
+
export { Phone } from './components/Utilities/Phone';
|
|
51
|
+
export { Number } from './components/Utilities/Number';
|
|
52
|
+
export { getInitials } from './utils/avatar.js';
|
|
53
|
+
export { formatPhoneNumber } from './utils/phone';
|
|
54
|
+
export { flash } from './helpers/flash';
|
|
55
|
+
export { BaseChartOptions } from './components/Charts/BaseChartOptions';
|
|
56
|
+
export { HistogramOptions } from './components/Charts/HistogramOptions';
|
|
57
|
+
export { PieOptions } from './components/Charts/PieOptions';
|
|
58
|
+
export { useIsClient } from './hooks/useIsClient';
|
|
59
|
+
export { useViewportHeight } from './hooks/useViewportHeight';
|
|
60
|
+
export { theme } from './theme';
|
|
61
|
+
export { Provider } from './components/Provider';
|
|
62
|
+
export { almostZero, compactNumber, numberFormat, roundNumber } from './utils/numbers';
|
|
63
|
+
export { getSymbol, isZeroDecimal } from './utils/currency';
|
|
64
|
+
export { formatDate, formatTime, dateFromObjectId } from './utils/date';
|
|
65
|
+
export { isOSX, isIosBrowser } from './helpers/browser';
|
|
66
|
+
export { getChildByType, getChildrenByType } from './helpers/children';
|
package/build/index.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { FadeIn as e } from "./components/Animation/FadeIn.js";
|
|
2
|
+
import { SlideDown as m } from "./components/Animation/SlideDown.js";
|
|
3
|
+
import { Button as f } from "./components/Buttons/Button.js";
|
|
4
|
+
import { SubmitButton as a } from "./components/Buttons/SubmitButton.js";
|
|
5
|
+
import { ToggleButton as n } from "./components/Buttons/ToggleButton.js";
|
|
6
|
+
import { Badge as u } from "./components/Badge.js";
|
|
7
|
+
import { Tag as g } from "./components/Tag.js";
|
|
8
|
+
import { Dot as c } from "./components/Dot/Dot.js";
|
|
9
|
+
import { DotProgress as P } from "./components/Dot/DotProgress.js";
|
|
10
|
+
import { Alert as B } from "./components/Alert.js";
|
|
11
|
+
import { Avatar as T } from "./components/Avatar.js";
|
|
12
|
+
import { Tooltip as v } from "./components/Tooltip.js";
|
|
13
|
+
import { Popover as I } from "./components/Popover/Popover.js";
|
|
14
|
+
import { PopoverList as y } from "./components/Popover/PopoverList.js";
|
|
15
|
+
import { Modal as O } from "./components/Modal.js";
|
|
16
|
+
import { Table as L } from "./components/Table.js";
|
|
17
|
+
import { ButtonGroup as H } from "./components/Buttons/ButtonGroup.js";
|
|
18
|
+
import { Counter as R } from "./components/Counter.js";
|
|
19
|
+
import { Logo as A } from "./components/Logo.js";
|
|
20
|
+
import { Search as U } from "./components/Search.js";
|
|
21
|
+
import { Spinner as j } from "./components/Spinner.js";
|
|
22
|
+
import { Breadcrumb as X } from "./components/Breadcrumb.js";
|
|
23
|
+
import { Breakdown as z } from "./components/Breakdown.js";
|
|
24
|
+
import { FormGroup as J } from "./components/Forms/FormGroup.js";
|
|
25
|
+
import { ValuePopoverText as W } from "./components/Forms/ValuePopoverText.js";
|
|
26
|
+
import { Input as _ } from "./components/Forms/Input.js";
|
|
27
|
+
import { Textarea as oo } from "./components/Forms/Textarea.js";
|
|
28
|
+
import { Select as eo } from "./components/Forms/Select.js";
|
|
29
|
+
import { ComboBox as mo } from "./components/Forms/ComboBox.js";
|
|
30
|
+
import { Switch as fo } from "./components/Forms/Switch.js";
|
|
31
|
+
import { Checkbox as ao } from "./components/Forms/Checkbox.js";
|
|
32
|
+
import { Label as no } from "./components/Forms/Label.js";
|
|
33
|
+
import { RangeSlider as uo } from "./components/Forms/RangeSlider.js";
|
|
34
|
+
import { HeaderToolbar as go } from "./components/HeaderToolbar.js";
|
|
35
|
+
import { Skeleton as co } from "./components/Skeleton.js";
|
|
36
|
+
import { Drawer as ho } from "./components/Drawer.js";
|
|
37
|
+
import { Key as So } from "./components/Key.js";
|
|
38
|
+
import { Login as Do } from "./components/Screens/Login.js";
|
|
39
|
+
import { DatePicker as Co } from "./components/DatePicker/DatePicker.js";
|
|
40
|
+
import { RelativeDateRange as ko } from "./components/DatePicker/RelativeDateRange.js";
|
|
41
|
+
import { DatePickerPopover as wo } from "./components/DatePicker/DatePickerPopover.js";
|
|
42
|
+
import { MonthPicker as Fo } from "./components/DatePicker/MonthPicker.js";
|
|
43
|
+
import { MonthSelector as No } from "./components/DatePicker/MonthSelector.js";
|
|
44
|
+
import { UpcomingDatePicker as Mo } from "./components/DatePicker/UpcomingDatePicker.js";
|
|
45
|
+
import { InlineValuePopover as Vo } from "./components/Forms/InlineValuePopover.js";
|
|
46
|
+
import { ImageUpload as Go } from "./components/ImageUpload.js";
|
|
47
|
+
import { Currency as Zo } from "./components/Utilities/Currency.js";
|
|
48
|
+
import { Phone as Ko } from "./components/Utilities/Phone.js";
|
|
49
|
+
import { Number as qo } from "./components/Utilities/Number.js";
|
|
50
|
+
import { getInitials as Eo } from "./utils/avatar.js";
|
|
51
|
+
import { almostZero as Qo, compactNumber as Wo, numberFormat as Yo, roundNumber as _o } from "./utils/numbers.js";
|
|
52
|
+
import { getSymbol as or, isZeroDecimal as rr } from "./utils/currency.js";
|
|
53
|
+
import { dateFromObjectId as tr, formatDate as mr, formatTime as pr } from "./utils/date.js";
|
|
54
|
+
import { formatPhoneNumber as xr } from "./utils/phone.js";
|
|
55
|
+
import { isIosBrowser as ir, isOSX as nr } from "./helpers/browser.js";
|
|
56
|
+
import { flash as ur } from "./helpers/flash.js";
|
|
57
|
+
import { getChildByType as gr, getChildrenByType as br } from "./helpers/children.js";
|
|
58
|
+
import { BaseChartOptions as dr } from "./components/Charts/BaseChartOptions.js";
|
|
59
|
+
import { HistogramOptions as hr } from "./components/Charts/HistogramOptions.js";
|
|
60
|
+
import { PieOptions as Sr } from "./components/Charts/PieOptions.js";
|
|
61
|
+
import { useIsClient as Dr } from "./hooks/useIsClient.js";
|
|
62
|
+
import { useViewportHeight as Cr } from "./hooks/useViewportHeight.js";
|
|
63
|
+
import { theme as kr } from "./theme.js";
|
|
64
|
+
import { Provider as wr } from "./components/Provider.js";
|
|
65
|
+
import { Sidebar as Fr } from "./components/Sidebar/Sidebar.js";
|
|
66
|
+
import { Tabs as Nr } from "./components/Tabs/Tabs.js";
|
|
67
|
+
export {
|
|
68
|
+
B as Alert,
|
|
69
|
+
T as Avatar,
|
|
70
|
+
u as Badge,
|
|
71
|
+
dr as BaseChartOptions,
|
|
72
|
+
X as Breadcrumb,
|
|
73
|
+
z as Breakdown,
|
|
74
|
+
f as Button,
|
|
75
|
+
H as ButtonGroup,
|
|
76
|
+
ao as Checkbox,
|
|
77
|
+
mo as ComboBox,
|
|
78
|
+
R as Counter,
|
|
79
|
+
Zo as Currency,
|
|
80
|
+
Co as DatePicker,
|
|
81
|
+
wo as DatePickerPopover,
|
|
82
|
+
c as Dot,
|
|
83
|
+
P as DotProgress,
|
|
84
|
+
ho as Drawer,
|
|
85
|
+
e as FadeIn,
|
|
86
|
+
J as FormGroup,
|
|
87
|
+
go as HeaderToolbar,
|
|
88
|
+
hr as HistogramOptions,
|
|
89
|
+
Go as ImageUpload,
|
|
90
|
+
Vo as InlineValuePopover,
|
|
91
|
+
_ as Input,
|
|
92
|
+
So as Key,
|
|
93
|
+
no as Label,
|
|
94
|
+
Do as Login,
|
|
95
|
+
A as Logo,
|
|
96
|
+
O as Modal,
|
|
97
|
+
Fo as MonthPicker,
|
|
98
|
+
No as MonthSelector,
|
|
99
|
+
qo as Number,
|
|
100
|
+
Ko as Phone,
|
|
101
|
+
Sr as PieOptions,
|
|
102
|
+
I as Popover,
|
|
103
|
+
y as PopoverList,
|
|
104
|
+
wr as Provider,
|
|
105
|
+
uo as RangeSlider,
|
|
106
|
+
ko as RelativeDateRange,
|
|
107
|
+
U as Search,
|
|
108
|
+
eo as Select,
|
|
109
|
+
Fr as Sidebar,
|
|
110
|
+
co as Skeleton,
|
|
111
|
+
m as SlideDown,
|
|
112
|
+
j as Spinner,
|
|
113
|
+
a as SubmitButton,
|
|
114
|
+
fo as Switch,
|
|
115
|
+
L as Table,
|
|
116
|
+
Nr as Tabs,
|
|
117
|
+
g as Tag,
|
|
118
|
+
oo as Textarea,
|
|
119
|
+
n as ToggleButton,
|
|
120
|
+
v as Tooltip,
|
|
121
|
+
Mo as UpcomingDatePicker,
|
|
122
|
+
W as ValuePopoverText,
|
|
123
|
+
Qo as almostZero,
|
|
124
|
+
Wo as compactNumber,
|
|
125
|
+
tr as dateFromObjectId,
|
|
126
|
+
ur as flash,
|
|
127
|
+
mr as formatDate,
|
|
128
|
+
xr as formatPhoneNumber,
|
|
129
|
+
pr as formatTime,
|
|
130
|
+
gr as getChildByType,
|
|
131
|
+
br as getChildrenByType,
|
|
132
|
+
Eo as getInitials,
|
|
133
|
+
or as getSymbol,
|
|
134
|
+
ir as isIosBrowser,
|
|
135
|
+
nr as isOSX,
|
|
136
|
+
rr as isZeroDecimal,
|
|
137
|
+
Yo as numberFormat,
|
|
138
|
+
_o as roundNumber,
|
|
139
|
+
kr as theme,
|
|
140
|
+
Dr as useIsClient,
|
|
141
|
+
Cr as useViewportHeight
|
|
142
|
+
};
|