@xola/ui-kit 3.4.6 → 3.6.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.
Files changed (219) hide show
  1. package/README.md +48 -78
  2. package/build/style.css +1 -0
  3. package/build/theme.css +76 -0
  4. package/build/ui-kit.es.js +16771 -0
  5. package/index.css +96 -4
  6. package/index.d.ts +151 -0
  7. package/package.json +68 -89
  8. package/postcss.config.js +1 -1
  9. package/tailwind.config.js +10 -11
  10. package/build/base.css +0 -2
  11. package/build/components/Alert.d.ts +0 -18
  12. package/build/components/Alert.js +0 -28
  13. package/build/components/Animation/FadeIn.d.ts +0 -13
  14. package/build/components/Animation/FadeIn.js +0 -29
  15. package/build/components/Animation/SlideDown.d.ts +0 -6
  16. package/build/components/Animation/SlideDown.js +0 -20
  17. package/build/components/Avatar.d.ts +0 -16
  18. package/build/components/Avatar.js +0 -21
  19. package/build/components/Badge.d.ts +0 -28
  20. package/build/components/Badge.js +0 -42
  21. package/build/components/Breadcrumb.d.ts +0 -21
  22. package/build/components/Breadcrumb.js +0 -27
  23. package/build/components/Breakdown.d.ts +0 -63
  24. package/build/components/Breakdown.js +0 -89
  25. package/build/components/Buttons/Button.d.ts +0 -53
  26. package/build/components/Buttons/Button.js +0 -83
  27. package/build/components/Buttons/ButtonGroup.d.ts +0 -35
  28. package/build/components/Buttons/ButtonGroup.js +0 -55
  29. package/build/components/Buttons/SubmitButton.d.ts +0 -11
  30. package/build/components/Buttons/SubmitButton.js +0 -83
  31. package/build/components/Buttons/ToggleButton.d.ts +0 -21
  32. package/build/components/Buttons/ToggleButton.js +0 -34
  33. package/build/components/Charts/BaseChartOptions.d.ts +0 -136
  34. package/build/components/Charts/BaseChartOptions.js +0 -95
  35. package/build/components/Charts/HistogramOptions.d.ts +0 -192
  36. package/build/components/Charts/HistogramOptions.js +0 -69
  37. package/build/components/Charts/PieOptions.d.ts +0 -177
  38. package/build/components/Charts/PieOptions.js +0 -55
  39. package/build/components/Counter.d.ts +0 -5
  40. package/build/components/Counter.js +0 -16
  41. package/build/components/DatePicker/DatePicker.d.ts +0 -41
  42. package/build/components/DatePicker/DatePicker.helpers.d.ts +0 -17
  43. package/build/components/DatePicker/DatePicker.helpers.js +0 -22
  44. package/build/components/DatePicker/DatePicker.js +0 -241
  45. package/build/components/DatePicker/DatePickerPopover.d.ts +0 -29
  46. package/build/components/DatePicker/DatePickerPopover.js +0 -81
  47. package/build/components/DatePicker/Day.d.ts +0 -13
  48. package/build/components/DatePicker/Day.js +0 -40
  49. package/build/components/DatePicker/LocalizedDayPicker.d.ts +0 -6
  50. package/build/components/DatePicker/LocalizedDayPicker.js +0 -20
  51. package/build/components/DatePicker/MonthGrid.d.ts +0 -11
  52. package/build/components/DatePicker/MonthGrid.js +0 -52
  53. package/build/components/DatePicker/MonthPicker.d.ts +0 -7
  54. package/build/components/DatePicker/MonthPicker.js +0 -28
  55. package/build/components/DatePicker/MonthSelector.d.ts +0 -8
  56. package/build/components/DatePicker/MonthSelector.js +0 -47
  57. package/build/components/DatePicker/MonthYearSelector.d.ts +0 -8
  58. package/build/components/DatePicker/MonthYearSelector.js +0 -44
  59. package/build/components/DatePicker/NavbarElement.d.ts +0 -15
  60. package/build/components/DatePicker/NavbarElement.js +0 -43
  61. package/build/components/DatePicker/RangeDatePicker.d.ts +0 -25
  62. package/build/components/DatePicker/RangeDatePicker.js +0 -134
  63. package/build/components/DatePicker/RelativeDateRange.d.ts +0 -51
  64. package/build/components/DatePicker/RelativeDateRange.js +0 -280
  65. package/build/components/DatePicker/UpcomingDatePicker.d.ts +0 -11
  66. package/build/components/DatePicker/UpcomingDatePicker.js +0 -27
  67. package/build/components/Dot/Dot.d.ts +0 -24
  68. package/build/components/Dot/Dot.js +0 -24
  69. package/build/components/Dot/DotProgress.d.ts +0 -6
  70. package/build/components/Dot/DotProgress.js +0 -10
  71. package/build/components/Drawer.d.ts +0 -28
  72. package/build/components/Drawer.js +0 -126
  73. package/build/components/Forms/BaseInput.d.ts +0 -20
  74. package/build/components/Forms/BaseInput.js +0 -41
  75. package/build/components/Forms/Checkbox.d.ts +0 -10
  76. package/build/components/Forms/Checkbox.js +0 -34
  77. package/build/components/Forms/Checkbox.module.css.js +0 -7
  78. package/build/components/Forms/ComboBox.d.ts +0 -8
  79. package/build/components/Forms/ComboBox.js +0 -41
  80. package/build/components/Forms/FormGroup.d.ts +0 -5
  81. package/build/components/Forms/FormGroup.js +0 -6
  82. package/build/components/Forms/InlineValuePopover.d.ts +0 -17
  83. package/build/components/Forms/InlineValuePopover.js +0 -47
  84. package/build/components/Forms/Input.d.ts +0 -6
  85. package/build/components/Forms/Input.js +0 -9
  86. package/build/components/Forms/Label.d.ts +0 -7
  87. package/build/components/Forms/Label.js +0 -17
  88. package/build/components/Forms/RangeSlider.d.ts +0 -33
  89. package/build/components/Forms/RangeSlider.js +0 -39
  90. package/build/components/Forms/Select.d.ts +0 -5
  91. package/build/components/Forms/Select.js +0 -8
  92. package/build/components/Forms/Switch.d.ts +0 -46
  93. package/build/components/Forms/Switch.js +0 -62
  94. package/build/components/Forms/Textarea.d.ts +0 -6
  95. package/build/components/Forms/Textarea.js +0 -35
  96. package/build/components/Forms/ValuePopoverText.d.ts +0 -6
  97. package/build/components/Forms/ValuePopoverText.js +0 -10
  98. package/build/components/GooglePlacesAutocomplete.d.ts +0 -14
  99. package/build/components/HeaderToolbar.d.ts +0 -21
  100. package/build/components/HeaderToolbar.js +0 -33
  101. package/build/components/ImageUpload.d.ts +0 -17
  102. package/build/components/ImageUpload.js +0 -86
  103. package/build/components/Key.d.ts +0 -6
  104. package/build/components/Key.js +0 -28
  105. package/build/components/Logo.d.ts +0 -19
  106. package/build/components/Logo.js +0 -10
  107. package/build/components/Modal.d.ts +0 -52
  108. package/build/components/Modal.js +0 -126
  109. package/build/components/Popover/Popover.d.ts +0 -20
  110. package/build/components/Popover/Popover.js +0 -50
  111. package/build/components/Popover/Popover.module.css.js +0 -7
  112. package/build/components/Popover/PopoverList.d.ts +0 -25
  113. package/build/components/Popover/PopoverList.js +0 -59
  114. package/build/components/Popover/PopoverScroll.module.css.js +0 -4
  115. package/build/components/Provider.d.ts +0 -18
  116. package/build/components/Provider.js +0 -17
  117. package/build/components/Screens/Login.d.ts +0 -25
  118. package/build/components/Screens/Login.js +0 -144
  119. package/build/components/Search.d.ts +0 -16
  120. package/build/components/Search.js +0 -174
  121. package/build/components/Sidebar/Sidebar.Account.d.ts +0 -13
  122. package/build/components/Sidebar/Sidebar.Account.js +0 -56
  123. package/build/components/Sidebar/Sidebar.Button.d.ts +0 -10
  124. package/build/components/Sidebar/Sidebar.Button.js +0 -21
  125. package/build/components/Sidebar/Sidebar.Footer.d.ts +0 -8
  126. package/build/components/Sidebar/Sidebar.Footer.js +0 -9
  127. package/build/components/Sidebar/Sidebar.Heading.d.ts +0 -10
  128. package/build/components/Sidebar/Sidebar.Heading.js +0 -10
  129. package/build/components/Sidebar/Sidebar.Link.d.ts +0 -24
  130. package/build/components/Sidebar/Sidebar.Link.js +0 -56
  131. package/build/components/Sidebar/Sidebar.Menu.d.ts +0 -10
  132. package/build/components/Sidebar/Sidebar.Menu.js +0 -28
  133. package/build/components/Sidebar/Sidebar.Menu.module.css.js +0 -7
  134. package/build/components/Sidebar/Sidebar.d.ts +0 -58
  135. package/build/components/Sidebar/Sidebar.js +0 -219
  136. package/build/components/Sidebar/SidebarScroll.module.css.js +0 -4
  137. package/build/components/Sidebar/index.d.ts +0 -8
  138. package/build/components/Skeleton.d.ts +0 -13
  139. package/build/components/Skeleton.js +0 -29
  140. package/build/components/Skeleton.module.css.js +0 -7
  141. package/build/components/Spinner.d.ts +0 -26
  142. package/build/components/Spinner.js +0 -27
  143. package/build/components/Table.d.ts +0 -59
  144. package/build/components/Table.js +0 -71
  145. package/build/components/Tabs/Tabs.Panel.d.ts +0 -9
  146. package/build/components/Tabs/Tabs.Panel.js +0 -7
  147. package/build/components/Tabs/Tabs.Tab.d.ts +0 -19
  148. package/build/components/Tabs/Tabs.Tab.js +0 -37
  149. package/build/components/Tabs/Tabs.d.ts +0 -27
  150. package/build/components/Tabs/Tabs.js +0 -28
  151. package/build/components/Tabs/index.d.ts +0 -4
  152. package/build/components/Tag.d.ts +0 -25
  153. package/build/components/Tag.js +0 -36
  154. package/build/components/Tooltip.d.ts +0 -8
  155. package/build/components/Tooltip.js +0 -8
  156. package/build/components/Utilities/Currency.d.ts +0 -32
  157. package/build/components/Utilities/Currency.js +0 -49
  158. package/build/components/Utilities/Number.d.ts +0 -8
  159. package/build/components/Utilities/Number.js +0 -15
  160. package/build/components/Utilities/Phone.d.ts +0 -8
  161. package/build/components/Utilities/Phone.js +0 -19
  162. package/build/full.css +0 -2
  163. package/build/helpers/avatar.d.ts +0 -1
  164. package/build/helpers/avatar.js +0 -8
  165. package/build/helpers/browser.d.ts +0 -2
  166. package/build/helpers/browser.js +0 -9
  167. package/build/helpers/children.d.ts +0 -3
  168. package/build/helpers/children.js +0 -6
  169. package/build/helpers/classnames.d.ts +0 -5
  170. package/build/helpers/currency.d.ts +0 -2
  171. package/build/helpers/currency.js +0 -11
  172. package/build/helpers/date.d.ts +0 -12
  173. package/build/helpers/date.js +0 -49
  174. package/build/helpers/flash.d.ts +0 -21
  175. package/build/helpers/flash.js +0 -87
  176. package/build/helpers/numbers.d.ts +0 -4
  177. package/build/helpers/numbers.js +0 -23
  178. package/build/helpers/phone.d.ts +0 -11
  179. package/build/helpers/phone.js +0 -25
  180. package/build/hooks/useId.d.ts +0 -1
  181. package/build/hooks/useId.js +0 -9
  182. package/build/hooks/useIsClient.d.ts +0 -1
  183. package/build/hooks/useIsClient.js +0 -10
  184. package/build/hooks/useViewportHeight.d.ts +0 -1
  185. package/build/hooks/useViewportHeight.js +0 -15
  186. package/build/icons/src/AnnounceIcon.js +0 -13
  187. package/build/icons/src/BellIcon.js +0 -27
  188. package/build/icons/src/CalendarIcon.js +0 -16
  189. package/build/icons/src/CheckIcon.js +0 -8
  190. package/build/icons/src/ChevronDownIcon.js +0 -8
  191. package/build/icons/src/ChevronLeftIcon.js +0 -8
  192. package/build/icons/src/ChevronRightIcon.js +0 -8
  193. package/build/icons/src/CircleNotch.js +0 -6
  194. package/build/icons/src/CloseIcon.js +0 -11
  195. package/build/icons/src/DownArrowIcon.js +0 -16
  196. package/build/icons/src/ImageIcon.js +0 -27
  197. package/build/icons/src/SearchIcon.js +0 -16
  198. package/build/icons/src/TrashIcon.js +0 -20
  199. package/build/icons/src/WarningDiamondIcon.js +0 -27
  200. package/build/icons/src/helpers/classnames.js +0 -8
  201. package/build/icons/src/helpers/icon.js +0 -11
  202. package/build/icons/src/helpers/iconSizes.js +0 -13
  203. package/build/icons/src/images/XolaLogoSimple.js +0 -14
  204. package/build/index.d.ts +0 -66
  205. package/build/index.js +0 -142
  206. package/build/theme.d.ts +0 -413
  207. package/build/theme.js +0 -372
  208. package/build/types/index.d.ts +0 -22
  209. package/build/types/migration.d.ts +0 -2
  210. package/build/ui-kit.css +0 -1
  211. package/build/utils/avatar.d.ts +0 -1
  212. package/build/utils/avatar.js +0 -8
  213. package/build/utils/currency.d.ts +0 -2
  214. package/build/utils/currency.js +0 -11
  215. package/build/utils/index.d.ts +0 -4
  216. package/build/utils/numbers.d.ts +0 -4
  217. package/build/utils/numbers.js +0 -19
  218. package/build/utils/phone.d.ts +0 -2
  219. package/build/utils/phone.js +0 -17
@@ -1 +0,0 @@
1
- export declare const useIsClient: () => boolean;
@@ -1,10 +0,0 @@
1
- import { useState as s, useEffect as n } from "react";
2
- const i = () => {
3
- const [e, t] = s(!1);
4
- return n(() => {
5
- t(!0);
6
- }, []), e;
7
- };
8
- export {
9
- i as useIsClient
10
- };
@@ -1 +0,0 @@
1
- export declare const useViewportHeight: () => number;
@@ -1,15 +0,0 @@
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
- };
@@ -1,13 +0,0 @@
1
- import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
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: [
5
- /* @__PURE__ */ n("g", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [
6
- /* @__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
- /* @__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" })
8
- ] }),
9
- /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "prefix__clip0", children: /* @__PURE__ */ r("path", { fill: "#fff", transform: "translate(.666)", d: "M0 0h14v14H0z" }) }) })
10
- ] }));
11
- export {
12
- c as AnnounceIcon
13
- };
@@ -1,27 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- /* @__PURE__ */ o(
6
- "path",
7
- {
8
- 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",
9
- stroke: "currentColor",
10
- strokeLinecap: "round",
11
- strokeLinejoin: "round"
12
- }
13
- ),
14
- /* @__PURE__ */ o(
15
- "path",
16
- {
17
- 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",
18
- stroke: "currentColor",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round"
21
- }
22
- )
23
- ] }));
24
- e.tags = ["notification", "pending"];
25
- export {
26
- e as BellIcon
27
- };
@@ -1,16 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- "path",
6
- {
7
- 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",
8
- stroke: "currentColor",
9
- strokeLinecap: "round",
10
- strokeLinejoin: "round"
11
- }
12
- ) }));
13
- e.tags = ["date"];
14
- export {
15
- e as CalendarIcon
16
- };
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- e.tags = ["tick", "correct"];
6
- export {
7
- e as CheckIcon
8
- };
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- const n = 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: "M12.75 4.25l-5.5 5.5-5.5-5.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
5
- n.tags = ["arrow"];
6
- export {
7
- n as ChevronDownIcon
8
- };
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- e.tags = ["arrow"];
6
- export {
7
- e as ChevronLeftIcon
8
- };
@@ -1,8 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- e.tags = ["arrow"];
6
- export {
7
- e as ChevronRightIcon
8
- };
@@ -1,6 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- 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
- export {
5
- e as CircleNotch
6
- };
@@ -1,11 +0,0 @@
1
- import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as o } from "./helpers/icon.js";
4
- const t = o((e) => /* @__PURE__ */ i("svg", { width: 14, height: 14, fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", ...e, children: [
5
- /* @__PURE__ */ r("g", { clipPath: "url(#prefix__clip0_5_1805)", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ r("path", { d: "M11.148 3.147l-8.295 8.295M11.147 11.442L2.853 3.147" }) }),
6
- /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "prefix__clip0_5_1805", children: /* @__PURE__ */ r("path", { fill: "#fff", d: "M0 0h14v14H0z" }) }) })
7
- ] }));
8
- t.tags = ["cross", "delete", "x"];
9
- export {
10
- t as CloseIcon
11
- };
@@ -1,16 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- "path",
6
- {
7
- d: "M10 6L7.184 8.816v0a.26.26 0 01-.368 0L4 6",
8
- stroke: "currentColor",
9
- strokeLinecap: "round",
10
- strokeLinejoin: "round"
11
- }
12
- ) }));
13
- e.tags = ["collapse", "fold"];
14
- export {
15
- e as DownArrowIcon
16
- };
@@ -1,27 +0,0 @@
1
- import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as e } from "./helpers/icon.js";
4
- 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
- /* @__PURE__ */ o(
6
- "path",
7
- {
8
- 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",
9
- stroke: "currentColor",
10
- strokeLinecap: "round",
11
- strokeLinejoin: "round"
12
- }
13
- ),
14
- /* @__PURE__ */ o(
15
- "path",
16
- {
17
- 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",
18
- stroke: "currentColor",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round"
21
- }
22
- )
23
- ] }));
24
- n.tags = ["photo"];
25
- export {
26
- n as ImageIcon
27
- };
@@ -1,16 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
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(
5
- "path",
6
- {
7
- 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",
8
- stroke: "currentColor",
9
- strokeLinecap: "round",
10
- strokeLinejoin: "round"
11
- }
12
- ) }));
13
- n.tags = ["magnifying glass"];
14
- export {
15
- n as SearchIcon
16
- };
@@ -1,20 +0,0 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as i } from "./helpers/icon.js";
4
- 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
- /* @__PURE__ */ r(
6
- "g",
7
- {
8
- clipPath: "url(#prefix__clip0_141_9201)",
9
- stroke: "currentColor",
10
- strokeLinecap: "round",
11
- strokeLinejoin: "round",
12
- children: /* @__PURE__ */ r("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" })
13
- }
14
- ),
15
- /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "prefix__clip0_141_9201", children: /* @__PURE__ */ r("path", { fill: "#fff", transform: "translate(1.09 1.113)", d: "M0 0h11.796v11.796H0z" }) }) })
16
- ] }));
17
- o.tags = ["delete", "remove", "bin"];
18
- export {
19
- o as TrashIcon
20
- };
@@ -1,27 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { createIcon as t } from "./helpers/icon.js";
4
- 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
- /* @__PURE__ */ o(
6
- "path",
7
- {
8
- 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",
9
- stroke: "currentColor",
10
- strokeLinecap: "round",
11
- strokeLinejoin: "round"
12
- }
13
- ),
14
- /* @__PURE__ */ o(
15
- "path",
16
- {
17
- 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",
18
- stroke: "currentColor",
19
- strokeLinecap: "round",
20
- strokeLinejoin: "round"
21
- }
22
- )
23
- ] }));
24
- e.tags = ["exclamation"];
25
- export {
26
- e as WarningDiamondIcon
27
- };
@@ -1,8 +0,0 @@
1
- import { twMerge as t } from "tailwind-merge";
2
- import o from "clsx";
3
- function m(...r) {
4
- return t(o(r));
5
- }
6
- export {
7
- m as default
8
- };
@@ -1,11 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import i from "./classnames.js";
3
- import "react";
4
- import { iconSizes as a } from "./iconSizes.js";
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
- };
9
- export {
10
- f as createIcon
11
- };
@@ -1,13 +0,0 @@
1
- const e = {
2
- tiny: "w-3 h-3",
3
- // 12 px
4
- small: "w-3.5 h-3.5",
5
- // 14px
6
- medium: "w-4.5 h-4.5",
7
- // 18px
8
- large: "w-6 h-6"
9
- // 24px
10
- };
11
- export {
12
- e as iconSizes
13
- };
@@ -1,14 +0,0 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import "react";
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(
4
- "path",
5
- {
6
- fill: "currentColor",
7
- fillRule: "evenodd",
8
- 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",
9
- clipRule: "evenodd"
10
- }
11
- ) });
12
- export {
13
- i as XolaLogoSimple
14
- };
package/build/index.d.ts DELETED
@@ -1,66 +0,0 @@
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 './helpers/date';
65
- export { isOSX, isIosBrowser } from './helpers/browser';
66
- export { getChildByType, getChildrenByType } from './helpers/children';
package/build/index.js DELETED
@@ -1,142 +0,0 @@
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 "./helpers/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
- };