xtreme-ui 0.0.81 → 0.0.83

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 (104) hide show
  1. package/dist/components/base/ActionCard/ActionCard.d.ts +1 -2
  2. package/dist/components/base/ActionCard/ActionCard.d.ts.map +1 -1
  3. package/dist/components/base/Avatar/Avatar.d.ts +1 -2
  4. package/dist/components/base/Avatar/Avatar.d.ts.map +1 -1
  5. package/dist/components/base/Avatar/Avatar.js +14 -14
  6. package/dist/components/base/Button/Button.d.ts +1 -2
  7. package/dist/components/base/Button/Button.d.ts.map +1 -1
  8. package/dist/components/base/Button/types.d.ts +1 -1
  9. package/dist/components/base/Button/types.d.ts.map +1 -1
  10. package/dist/components/base/ColorPicker/ColorPicker.d.ts +1 -2
  11. package/dist/components/base/ColorPicker/ColorPicker.d.ts.map +1 -1
  12. package/dist/components/base/ColorPicker/types.d.ts +1 -1
  13. package/dist/components/base/ColorPopper/ColorPopper.d.ts +1 -2
  14. package/dist/components/base/ColorPopper/ColorPopper.d.ts.map +1 -1
  15. package/dist/components/base/ColorPopper/ColorPopper.js +5 -4
  16. package/dist/components/base/ColorPopper/types.d.ts +1 -1
  17. package/dist/components/base/DatePicker/DatePicker.d.ts.map +1 -1
  18. package/dist/components/base/DatePicker/DatePicker.js +1 -1
  19. package/dist/components/base/FilePicker/FilePicker.d.ts.map +1 -1
  20. package/dist/components/base/FilePicker/FilePicker.js +1 -1
  21. package/dist/components/base/FilePicker/getFilePickerIcon.d.ts.map +1 -1
  22. package/dist/components/base/FilePicker/getFilePickerIcon.js +3 -6
  23. package/dist/components/base/Icon/Icon.d.ts +1 -2
  24. package/dist/components/base/Icon/Icon.d.ts.map +1 -1
  25. package/dist/components/base/Icon/Icon.js +11 -10
  26. package/dist/components/base/Lottie/Lottie.d.ts +1 -2
  27. package/dist/components/base/Lottie/Lottie.d.ts.map +1 -1
  28. package/dist/components/base/Lottie/Lottie.js +33 -36
  29. package/dist/components/base/Lottie/lottie.module.scss.js +6 -30
  30. package/dist/components/base/Lottie/types.d.ts +0 -4
  31. package/dist/components/base/Lottie/types.d.ts.map +1 -1
  32. package/dist/components/base/ProgressBar/ProgressBar.d.ts +1 -2
  33. package/dist/components/base/ProgressBar/ProgressBar.d.ts.map +1 -1
  34. package/dist/components/base/ProgressBar/progressbar.module.scss.js +5 -7
  35. package/dist/components/base/Select/Select.d.ts.map +1 -1
  36. package/dist/components/base/Select/Select.js +26 -23
  37. package/dist/components/base/Select/types.d.ts +1 -6
  38. package/dist/components/base/Select/types.d.ts.map +1 -1
  39. package/dist/components/base/Spinner/Spinner.d.ts +1 -2
  40. package/dist/components/base/Spinner/Spinner.d.ts.map +1 -1
  41. package/dist/components/base/Spinner/Spinner.js +1 -1
  42. package/dist/components/base/Textfield/Textfield.d.ts +1 -2
  43. package/dist/components/base/Textfield/Textfield.d.ts.map +1 -1
  44. package/dist/components/base/Textfield/Textfield.js +10 -20
  45. package/dist/components/context/Data/DataContext.d.ts +1 -2
  46. package/dist/components/context/Data/DataContext.d.ts.map +1 -1
  47. package/dist/components/context/Theme/ThemeContext.d.ts +1 -2
  48. package/dist/components/context/Theme/ThemeContext.d.ts.map +1 -1
  49. package/dist/components/context/Theme/ThemeContext.js +9 -8
  50. package/dist/components/context/index.d.ts.map +1 -1
  51. package/dist/components/hooks/useDebouncedEffect.d.ts.map +1 -1
  52. package/dist/components/hooks/usePersistingState.d.ts +1 -1
  53. package/dist/components/hooks/usePersistingState.d.ts.map +1 -1
  54. package/dist/components/layout/ImageEditor/ImageEditor.d.ts.map +1 -1
  55. package/dist/components/layout/ImageEditor/ImageEditor.js +9 -10
  56. package/dist/components/layout/Navigation/Navigation.d.ts +1 -2
  57. package/dist/components/layout/Navigation/Navigation.d.ts.map +1 -1
  58. package/dist/components/layout/Navigation/navigation.module.scss.js +14 -16
  59. package/dist/components/layout/SchemeSwitch/SchemeSwitch.d.ts +3 -0
  60. package/dist/components/layout/SchemeSwitch/SchemeSwitch.d.ts.map +1 -0
  61. package/dist/components/layout/SchemeSwitch/SchemeSwitch.js +28 -0
  62. package/dist/components/layout/SchemeSwitch/types.d.ts +10 -0
  63. package/dist/components/layout/SchemeSwitch/types.d.ts.map +1 -0
  64. package/dist/components/layout/Sider/Sider.d.ts +1 -2
  65. package/dist/components/layout/Sider/Sider.d.ts.map +1 -1
  66. package/dist/components/layout/SiderModal/SiderModal.d.ts +1 -2
  67. package/dist/components/layout/SiderModal/SiderModal.d.ts.map +1 -1
  68. package/dist/components/layout/ThemePicker/ThemePicker.d.ts +2 -3
  69. package/dist/components/layout/ThemePicker/ThemePicker.d.ts.map +1 -1
  70. package/dist/components/layout/ThemePicker/ThemePicker.js +40 -43
  71. package/dist/components/layout/ThemePicker/{type.d.ts → types.d.ts} +1 -1
  72. package/dist/components/layout/ThemePicker/types.d.ts.map +1 -0
  73. package/dist/index.d.ts +3 -1
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +87 -77
  76. package/dist/utils/constants/commons.d.ts +11 -0
  77. package/dist/utils/constants/commons.d.ts.map +1 -1
  78. package/dist/utils/constants/commons.js +9 -3
  79. package/dist/utils/function/localStorage.d.ts +1 -1
  80. package/dist/utils/function/localStorage.d.ts.map +1 -1
  81. package/dist/utils/function/mergeRefs.d.ts +1 -1
  82. package/dist/utils/function/mergeRefs.d.ts.map +1 -1
  83. package/dist/utils/function/string.d.ts.map +1 -1
  84. package/dist/utils/helper/domHelper.d.ts.map +1 -1
  85. package/dist/utils/helper/domHelper.js +1 -2
  86. package/dist/utils/helper/imageHelper.d.ts +1 -1
  87. package/dist/utils/helper/imageHelper.d.ts.map +1 -1
  88. package/dist/utils/helper/imageHelper.js +7 -9
  89. package/dist/utils/helper/themeController.d.ts.map +1 -1
  90. package/dist/utils/index.d.ts +1 -0
  91. package/dist/utils/index.d.ts.map +1 -1
  92. package/dist/xtreme-ui.css +1 -0
  93. package/package.json +103 -98
  94. package/dist/components/base/Avatar/avatar.scss.js +0 -1
  95. package/dist/components/base/DatePicker/datePicker.scss.js +0 -1
  96. package/dist/components/base/FilePicker/filePicker.scss.js +0 -1
  97. package/dist/components/base/Icon/icon.scss.js +0 -1
  98. package/dist/components/base/Select/select.scss.js +0 -1
  99. package/dist/components/base/Spinner/spinner.scss.js +0 -1
  100. package/dist/components/layout/ImageEditor/imageEditor.scss.js +0 -1
  101. package/dist/components/layout/ThemePicker/type.d.ts.map +0 -1
  102. package/dist/style.css +0 -1
  103. package/dist/styles/index.scss.js +0 -1
  104. /package/dist/components/layout/ThemePicker/{type.js → types.js} +0 -0
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TActionCardProps } from './types';
3
- export declare const ActionCard: import("react").ForwardRefExoticComponent<TActionCardProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const ActionCard: import('react').ForwardRefExoticComponent<TActionCardProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=ActionCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionCard.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ActionCard/ActionCard.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAmB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,UAAU,6GAiCrB,CAAC"}
1
+ {"version":3,"file":"ActionCard.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ActionCard/ActionCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAmB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,UAAU,6GAiCrB,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TAvatarProps } from './types';
3
- export declare const Avatar: import("react").ForwardRefExoticComponent<TAvatarProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const Avatar: import('react').ForwardRefExoticComponent<TAvatarProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Avatar/Avatar.tsx"],"names":[],"mappings":";AAQA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAe,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,MAAM,yGAoEjB,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Avatar/Avatar.tsx"],"names":[],"mappings":"AAQA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAe,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,MAAM,yGAsEjB,CAAC"}
@@ -1,41 +1,41 @@
1
1
  "use client";
2
2
  import { jsxs as z, jsx as d } from "react/jsx-runtime";
3
- import { forwardRef as A, useState as l, useEffect as N } from "react";
3
+ import { forwardRef as A, useState as c, useEffect as N } from "react";
4
4
  import S from "clsx";
5
5
  import { readImageFile as E, readImageSrc as L } from "../../../utils/helper/imageHelper.js";
6
6
  import { Icon as b } from "../Icon/Icon.js";
7
- import "./avatar.scss.js";
7
+ /* empty css */
8
8
  import { EAvatarSize as j } from "./types.js";
9
- const C = A((p, u) => {
10
- const { className: g, src: r, file: t, alt: v, placeholderIcon: h = "f03e", size: i = "default", onClick: x } = p, [c, m] = l(), [I, a] = l(!!r || !!t), [f, s] = l(!1), n = typeof i == "number" ? i : j[i], y = S(
9
+ const C = A((p, g) => {
10
+ const { className: u, src: a, file: t, alt: v, placeholderIcon: h = "f03e", size: i = "default", onClick: x } = p, [l, m] = c(), [I, r] = c(!!a || !!t), [f, s] = c(!1), n = typeof i == "number" ? i : j[i], y = S(
11
11
  "xtrAvatar",
12
- g,
12
+ u,
13
13
  I && "loading",
14
14
  f && "error"
15
15
  ), o = (e) => {
16
- e && setTimeout(() => m(e), 300), setTimeout(() => a(!1), 1e3);
16
+ e && setTimeout(() => m(e), 300), setTimeout(() => r(!1), 1e3);
17
17
  };
18
18
  return N(() => {
19
19
  try {
20
- t ? (a(!0), s(!1), E(t).then((e) => o(e)).catch(() => {
21
- a(!1), s(!0);
22
- })) : r ? (a(!0), s(!1), L(r).then((e) => o(e)).catch(() => {
23
- a(!1), s(!0);
20
+ t ? (r(!0), s(!1), E(t).then((e) => o(e)).catch((e) => {
21
+ console.log(e), r(!1), s(!0);
22
+ })) : a ? (r(!0), s(!1), L(a).then((e) => o(e)).catch((e) => {
23
+ console.log(e, a), r(!1), s(!0);
24
24
  })) : (m(void 0), o());
25
25
  } catch {
26
26
  o();
27
27
  }
28
- }, [r, t]), /* @__PURE__ */ z(
28
+ }, [a, t]), /* @__PURE__ */ z(
29
29
  "div",
30
30
  {
31
- ref: u,
31
+ ref: g,
32
32
  className: y,
33
33
  style: { "--avatarSize": n + "px" },
34
34
  onClick: x,
35
35
  role: "img",
36
36
  children: [
37
- !c && /* @__PURE__ */ d(b, { className: "placeholder", type: "solid", size: 8 + n / 4, code: f ? "e1b7" : h }),
38
- c && /* @__PURE__ */ d("img", { className: "image", src: c, alt: v })
37
+ !l && /* @__PURE__ */ d(b, { className: "placeholder", type: "solid", size: 8 + n / 4, code: f ? "e1b7" : h }),
38
+ l && /* @__PURE__ */ d("img", { className: "image", src: l, alt: v })
39
39
  ]
40
40
  }
41
41
  );
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TButtonProps } from './types';
3
- export declare const Button: import("react").ForwardRefExoticComponent<TButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
2
+ export declare const Button: import('react').ForwardRefExoticComponent<TButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
4
3
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,MAAM,4GAiDjB,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,MAAM,4GAiDjB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, HTMLAttributes } from 'react';
2
2
  import { EIconType } from '../Icon/types';
3
- declare enum EButtonSize {
3
+ export declare enum EButtonSize {
4
4
  mini = "mini",
5
5
  default = "default",
6
6
  large = "large"
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,aAAK,WAAW;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf;AACD,UAAU,UAAW,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,eAAgB,SAAQ,UAAU;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AACD,UAAU,kBAAmB,SAAQ,UAAU;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AACD,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAEhE,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,oBAAY,WAAW;IACtB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf;AACD,UAAU,UAAW,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,eAAgB,SAAQ,UAAU;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AACD,UAAU,kBAAmB,SAAQ,UAAU;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AACD,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,kBAAkB,CAAC;AAEhE,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TColorPickerProps } from './types';
3
- export declare const ColorPicker: import("react").ForwardRefExoticComponent<TColorPickerProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const ColorPicker: import('react').ForwardRefExoticComponent<TColorPickerProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=ColorPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAiCtB,CAAC"}
1
+ {"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAiCtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { HsvaColor } from 'colord';
1
+ import { HsvaColor } from 'colord';
2
2
  export type TColorPickerProps = {
3
3
  className?: string;
4
4
  alpha?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TColorPopperProps } from './types';
3
- export declare const ColorPopper: import("react").ForwardRefExoticComponent<TColorPopperProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const ColorPopper: import('react').ForwardRefExoticComponent<TColorPopperProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=ColorPopper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPopper.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ColorPopper/ColorPopper.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAI5C,eAAO,MAAM,WAAW,8GAuGtB,CAAC"}
1
+ {"version":3,"file":"ColorPopper.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ColorPopper/ColorPopper.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAI5C,eAAO,MAAM,WAAW,8GAuGtB,CAAC"}
@@ -1,12 +1,13 @@
1
1
  "use client";
2
2
  import { jsxs as f, Fragment as q, jsx as l } from "react/jsx-runtime";
3
3
  import { forwardRef as D, useMemo as g, useState as p, useEffect as L } from "react";
4
- import { useFloating as U, shift as z, flip as A, offset as B, autoUpdate as G, useTransitionStyles as J, useInteractions as K, useClick as Q, useDismiss as V } from "@floating-ui/react";
4
+ import { useFloating as U, autoUpdate as z, shift as A, flip as B, offset as G, useTransitionStyles as J, useInteractions as K, useClick as Q, useDismiss as V } from "@floating-ui/react";
5
5
  import C from "clsx";
6
6
  import { colord as t, getFormat as H } from "colord";
7
7
  import { ColorPicker as W } from "../ColorPicker/ColorPicker.js";
8
8
  import { Icon as X } from "../Icon/Icon.js";
9
9
  import { Textfield as Y } from "../Textfield/Textfield.js";
10
+ import "../../../utils/constants/commons.js";
10
11
  import { mergeRefs as Z } from "../../../utils/function/mergeRefs.js";
11
12
  import h from "./colorPopper.module.scss.js";
12
13
  const _ = D((v, y) => {
@@ -14,11 +15,11 @@ const _ = D((v, y) => {
14
15
  open: I,
15
16
  onOpenChange: d,
16
17
  middleware: [
17
- z(),
18
18
  A(),
19
- B(({ placement: e }) => e === "bottom" ? 10 : 16)
19
+ B(),
20
+ G(({ placement: e }) => e === "bottom" ? 10 : 16)
20
21
  ],
21
- whileElementsMounted: G
22
+ whileElementsMounted: z
22
23
  }), { isMounted: T, styles: E } = J(c, {
23
24
  duration: 200,
24
25
  initial: (e) => ({
@@ -1,4 +1,4 @@
1
- import { type AnyColor } from 'colord';
1
+ import { AnyColor } from 'colord';
2
2
  export type TColorPopperProps = {
3
3
  className?: string;
4
4
  popperClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAoB3C,eAAO,MAAM,UAAU,UAAW,gBAAgB,4CA2CjD,CAAC"}
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAoB3C,eAAO,MAAM,UAAU,GAAI,OAAO,gBAAgB,4CA2CjD,CAAC"}
@@ -3,7 +3,7 @@ import { jsx as a } from "react/jsx-runtime";
3
3
  import M from "clsx";
4
4
  import e from "react-datetime-picker";
5
5
  import { Icon as m } from "../Icon/Icon.js";
6
- import "./datePicker.scss.js";
6
+ /* empty css */
7
7
  const u = {
8
8
  date: "dd-MM-yyyy",
9
9
  dateRange: "dd-MM-yyyy",
@@ -1 +1 @@
1
- {"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/FilePicker/FilePicker.tsx"],"names":[],"mappings":"AASA,OAAO,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAa,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,UAAU,UAAW,gBAAgB,4CAwEjD,CAAC"}
1
+ {"version":3,"file":"FilePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/base/FilePicker/FilePicker.tsx"],"names":[],"mappings":"AASA,OAAO,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAa,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,UAAU,GAAI,OAAO,gBAAgB,4CAwEjD,CAAC"}
@@ -6,7 +6,7 @@ import { useFilePicker as N } from "use-file-picker";
6
6
  import { ImageEditor as k } from "../../layout/ImageEditor/ImageEditor.js";
7
7
  import { Button as E } from "../Button/Button.js";
8
8
  import { Icon as I } from "../Icon/Icon.js";
9
- import "./filePicker.scss.js";
9
+ /* empty css */
10
10
  import { getFilePickerIcon as j } from "./getFilePickerIcon.js";
11
11
  import { imageExts as S } from "./types.js";
12
12
  const J = (C) => {
@@ -1 +1 @@
1
- {"version":3,"file":"getFilePickerIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/base/FilePicker/getFilePickerIcon.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,YAAY,MAAM,QAqB/C,CAAC"}
1
+ {"version":3,"file":"getFilePickerIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/base/FilePicker/getFilePickerIcon.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,GAAI,SAAQ,MAAW,QAqBpD,CAAC"}
@@ -8,15 +8,12 @@ const d = (e = "") => {
8
8
  return (f = l.split("/")) == null ? void 0 : f[0];
9
9
  }).forEach((l) => {
10
10
  l in i && n++;
11
- }), n > 0)
12
- return i.multimedia;
11
+ }), n > 0) return i.multimedia;
13
12
  }
14
13
  if (e.includes("/")) {
15
14
  const [n, r] = e.split("/");
16
- if (r in i)
17
- return i[r];
18
- if (n in i)
19
- return i[n];
15
+ if (r in i) return i[r];
16
+ if (n in i) return i[n];
20
17
  }
21
18
  const s = e.includes(",") ? (o = (t = e.split(",")) == null ? void 0 : t[0]) == null ? void 0 : o.replace(".", "") : e.replace(".", "");
22
19
  return s in i ? i[s] : i.file;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IIconProps } from './types';
3
- export declare const Icon: import("react").ForwardRefExoticComponent<IIconProps & import("react").RefAttributes<HTMLSpanElement>>;
2
+ export declare const Icon: import('react').ForwardRefExoticComponent<IIconProps & import('react').RefAttributes<HTMLSpanElement>>;
4
3
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Icon/Icon.tsx"],"names":[],"mappings":";AAMA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAa,UAAU,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,wGAsBf,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Icon/Icon.tsx"],"names":[],"mappings":"AAMA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAa,UAAU,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,wGAsBf,CAAC"}
@@ -1,25 +1,26 @@
1
1
  "use client";
2
- import { jsx as l } from "react/jsx-runtime";
3
- import { forwardRef as p } from "react";
2
+ import { jsx as p } from "react/jsx-runtime";
3
+ import { forwardRef as l } from "react";
4
4
  import a from "clsx";
5
+ import "../../../utils/constants/commons.js";
5
6
  import { unicodeToString as f } from "../../../utils/function/string.js";
6
- import "./icon.scss.js";
7
+ /* empty css */
7
8
  import { EIconSize as d } from "./types.js";
8
- const u = p((e, n) => {
9
- const { className: i, code: c, type: r = "light", size: o = "default", onClick: t } = e, m = `${typeof o == "number" ? o : d[o]}px`, s = a(
9
+ const u = l((e, i) => {
10
+ const { className: n, code: r, type: c = "light", size: o = "default", onClick: t } = e, m = `${typeof o == "number" ? o : d[o]}px`, s = a(
10
11
  "xtrIcon",
11
12
  "fontAwesome",
12
- r,
13
+ c,
13
14
  t && "iconButton",
14
- i
15
+ n
15
16
  );
16
- return /* @__PURE__ */ l(
17
+ return /* @__PURE__ */ p(
17
18
  "i",
18
19
  {
19
- ref: n,
20
+ ref: i,
20
21
  className: s,
21
22
  style: { "--iconSize": m },
22
- "data-content": f(c),
23
+ "data-content": f(r),
23
24
  role: "img",
24
25
  onClick: t
25
26
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TLottieProps } from './types';
3
- export declare const Lottie: import("react").ForwardRefExoticComponent<TLottieProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const Lottie: import('react').ForwardRefExoticComponent<TLottieProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=Lottie.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Lottie.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Lottie/Lottie.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAe,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,MAAM,yGAqCjB,CAAC"}
1
+ {"version":3,"file":"Lottie.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Lottie/Lottie.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAe,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,MAAM,yGAqCjB,CAAC"}
@@ -1,45 +1,42 @@
1
1
  "use client";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { forwardRef as u } from "react";
4
- import { PlayMode as x, DotLottiePlayer as L, Controls as z } from "@dotlottie/react-player";
5
- import N from "clsx";
6
- import P from "./lottie.module.scss.js";
7
- import { ELottieSize as S } from "./types.js";
8
- const g = u((e, r) => {
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { forwardRef as n, useState as d, useEffect as y } from "react";
4
+ import { DotLottieReact as L } from "@lottiefiles/dotlottie-react";
5
+ import x from "clsx";
6
+ import r from "./lottie.module.scss.js";
7
+ import { ELottieSize as z } from "./types.js";
8
+ const N = n((s) => {
9
9
  const {
10
- className: i,
11
- src: l,
12
- size: o = "default",
13
- controls: s = !1,
10
+ className: l,
11
+ src: a,
12
+ size: e = "default",
14
13
  autoPlay: m = !0,
15
- loop: a = !0,
16
- speed: p = 1,
17
- direction: c = 1,
18
- playMode: n = x.Normal,
19
- renderer: f = "svg"
20
- } = e, d = `${typeof o == "number" ? o : S[o]}px`, y = N(
21
- P.lottie,
22
- i
23
- );
24
- return /* @__PURE__ */ t(
25
- L,
14
+ loop: c = !0,
15
+ speed: p = 1
16
+ } = s, [t, f] = d(null), o = `${typeof e == "number" ? e : z[e]}px`, u = x(r.lottieWrapper, l);
17
+ return y(() => {
18
+ o && (t == null || t.resize());
19
+ }, [t, o]), /* @__PURE__ */ i(
20
+ "div",
26
21
  {
27
- ref: r,
28
- className: y,
29
- style: { "--lottieSize": d },
30
- src: l,
31
- autoplay: m,
32
- loop: a,
33
- speed: p,
34
- direction: c,
35
- playMode: n,
36
- renderer: f,
37
- role: "img",
38
- children: s && /* @__PURE__ */ t(z, {})
22
+ className: u,
23
+ style: { "--lottieSize": o },
24
+ children: /* @__PURE__ */ i(
25
+ L,
26
+ {
27
+ className: r.lottie,
28
+ dotLottieRefCallback: f,
29
+ src: a,
30
+ autoplay: m,
31
+ loop: c,
32
+ speed: p,
33
+ marker: "lottie"
34
+ }
35
+ )
39
36
  }
40
37
  );
41
38
  });
42
- g.displayName = "Lottie";
39
+ N.displayName = "Lottie";
43
40
  export {
44
- g as Lottie
41
+ N as Lottie
45
42
  };
@@ -1,33 +1,9 @@
1
- const o = "_main_1hnbl_1", e = "_animation_1hnbl_1", t = "_controls_1hnbl_1", _ = "_toolbar_1hnbl_1", n = "_popover_1hnbl_1", r = "_active_1hnbl_1", l = "_seeker_1hnbl_1", p = "_error_1hnbl_1", a = "_lottie_1hnbl_2", i = {
2
- "dotlottie-container": "_dotlottie-container_1hnbl_1",
3
- main: o,
4
- animation: e,
5
- controls: t,
6
- toolbar: _,
7
- popover: n,
8
- active: r,
9
- "popover-active": "_popover-active_1hnbl_1",
10
- seeker: l,
11
- "to-left": "_to-left_1hnbl_1",
12
- error: p,
13
- "popover-content": "_popover-content_1hnbl_1",
14
- "popover-header": "_popover-header_1hnbl_1",
15
- "popover-header-title": "_popover-header-title_1hnbl_1",
16
- "reset-theme": "_reset-theme_1hnbl_1",
17
- "popover-items": "_popover-items_1hnbl_1",
18
- "popover-subnav": "_popover-subnav_1hnbl_1",
19
- "popover-item": "_popover-item_1hnbl_1",
20
- lottie: a
1
+ const t = "_lottieWrapper_wawrm_1", e = "_lottie_wawrm_1", o = {
2
+ lottieWrapper: t,
3
+ lottie: e
21
4
  };
22
5
  export {
23
- r as active,
24
- e as animation,
25
- t as controls,
26
- i as default,
27
- p as error,
28
- a as lottie,
29
- o as main,
30
- n as popover,
31
- l as seeker,
32
- _ as toolbar
6
+ o as default,
7
+ e as lottie,
8
+ t as lottieWrapper
33
9
  };
@@ -1,4 +1,3 @@
1
- import { PlayMode } from '@dotlottie/react-player';
2
1
  export type TLottieProps = {
3
2
  className?: string;
4
3
  src: string;
@@ -7,9 +6,6 @@ export type TLottieProps = {
7
6
  autoPlay?: boolean;
8
7
  loop?: boolean;
9
8
  speed?: number;
10
- direction?: 1 | -1;
11
- playMode?: PlayMode;
12
- renderer?: 'canvas' | 'html' | 'svg';
13
9
  };
14
10
  export declare enum ELottieSize {
15
11
  mini = 64,
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Lottie/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,OAAO,WAAW,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;CACrC,CAAA;AAED,oBAAY,WAAW;IACtB,IAAI,KAAK;IACT,OAAO,MAAM;IACb,KAAK,MAAM;CACX"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Lottie/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,OAAO,WAAW,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAA;AAED,oBAAY,WAAW;IACtB,IAAI,KAAK;IACT,OAAO,MAAM;IACb,KAAK,MAAM;CACX"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IProgressBarProps } from './types';
3
- export declare const ProgressBar: import("react").ForwardRefExoticComponent<IProgressBarProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const ProgressBar: import('react').ForwardRefExoticComponent<IProgressBarProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=ProgressBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAoBtB,CAAC"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/components/base/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAoBtB,CAAC"}
@@ -1,13 +1,11 @@
1
- const r = "_progressBar_luf46_1", e = "_progress_luf46_1", s = "_intermediate_luf46_31", o = "_barberPole_luf46_1", t = {
1
+ const r = "_progressBar_luf46_1", s = "_progress_luf46_1", e = "_intermediate_luf46_31", t = {
2
2
  progressBar: r,
3
- progress: e,
4
- intermediate: s,
5
- barberPole: o
3
+ progress: s,
4
+ intermediate: e
6
5
  };
7
6
  export {
8
- o as barberPole,
9
7
  t as default,
10
- s as intermediate,
11
- e as progress,
8
+ e as intermediate,
9
+ s as progress,
12
10
  r as progressBar
13
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Select/Select.tsx"],"names":[],"mappings":"AAOA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/C,wBAAgB,MAAM,CAAC,CAAC,EAAG,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,2CA4DhD"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Select/Select.tsx"],"names":[],"mappings":"AAOA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAU,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/C,wBAAgB,MAAM,CAAC,CAAC,EAAG,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,2CA6DhD"}
@@ -1,61 +1,64 @@
1
1
  "use client";
2
- import { jsxs as M, jsx as t } from "react/jsx-runtime";
3
- import { useState as N, useMemo as I } from "react";
2
+ import { jsxs as N, jsx as c } from "react/jsx-runtime";
3
+ import { useState as M, useMemo as I } from "react";
4
4
  import O from "clsx";
5
5
  import j from "react-select";
6
6
  import { Icon as y } from "../Icon/Icon.js";
7
- import "./select.scss.js";
8
- function q(i) {
7
+ /* empty css */
8
+ function k(i) {
9
9
  const {
10
10
  className: p,
11
- multi: o = !1,
12
- placeholder: s = "Select an option",
11
+ multi: s = !1,
12
+ placeholder: l = "Select an option",
13
13
  noOptionsMessage: m,
14
- icon: l,
14
+ icon: o,
15
15
  iconType: d = "regular",
16
16
  clearable: f = !0,
17
17
  searchable: u = !0,
18
18
  disabled: h = !1,
19
19
  loading: x = !1,
20
- options: c,
21
- value: a,
20
+ options: a,
21
+ value: t,
22
22
  onChange: S
23
- } = i, [n, r] = N(!1), g = I(() => c.find((e) => e.value === a), [a]), v = O(
23
+ } = i, [n, r] = M(!1), g = I(
24
+ () => a.find((e) => e.value === t),
25
+ [a, t]
26
+ ), v = O(
24
27
  "xtrSelectWrapper",
25
- o ? "multi" : "single",
26
- l && "withIcon",
27
- !!a && "withValue",
28
+ s ? "multi" : "single",
29
+ o && "withIcon",
30
+ !!t && "withValue",
28
31
  n && "open",
29
32
  p
30
33
  );
31
- return /* @__PURE__ */ M("div", { className: v, children: [
32
- /* @__PURE__ */ t(
34
+ return /* @__PURE__ */ N("div", { className: v, children: [
35
+ /* @__PURE__ */ c(
33
36
  j,
34
37
  {
35
38
  className: "xtrSelect",
36
39
  classNamePrefix: "xtrSelect",
37
- isMulti: o,
40
+ isMulti: s,
38
41
  menuIsOpen: n,
39
42
  onMenuOpen: () => r(!0),
40
43
  onMenuClose: () => r(!1),
41
44
  noOptionsMessage: m,
42
- placeholder: s,
45
+ placeholder: l,
43
46
  isClearable: f,
44
47
  isSearchable: u,
45
48
  isDisabled: h,
46
49
  isLoading: x,
47
- options: c,
50
+ options: a,
48
51
  value: g,
49
- onChange: (e, D) => {
50
- const C = o ? e == null ? void 0 : e.map(({ value: b }) => b) : e == null ? void 0 : e.value;
52
+ onChange: (e) => {
53
+ const C = s ? e == null ? void 0 : e.map(({ value: b }) => b) : e == null ? void 0 : e.value;
51
54
  S(C);
52
55
  }
53
56
  }
54
57
  ),
55
- s && !o && /* @__PURE__ */ t("p", { className: "placeholder", children: s }),
56
- l && /* @__PURE__ */ t(y, { className: "xtrSelectIcon", code: l, type: d })
58
+ l && !s && /* @__PURE__ */ c("p", { className: "placeholder", children: l }),
59
+ o && /* @__PURE__ */ c(y, { className: "xtrSelectIcon", code: o, type: d })
57
60
  ] });
58
61
  }
59
62
  export {
60
- q as Select
63
+ k as Select
61
64
  };
@@ -23,11 +23,6 @@ type SingleProps<T> = TCommonProps<T> & {
23
23
  value?: T;
24
24
  onChange: (value: T) => void;
25
25
  };
26
- type MultiProps<T> = TCommonProps<T> & {
27
- multi: true;
28
- value?: T[];
29
- onChange: (value: T[]) => void;
30
- };
31
- export type TSelectProps<T> = SingleProps<T> | MultiProps<T>;
26
+ export type TSelectProps<T> = SingleProps<T>;
32
27
  export {};
33
28
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC;AACpD,KAAK,YAAY,CAAC,CAAC,IAAI;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;CACrB,CAAC;AACF,KAAK,WAAW,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC7B,CAAC;AACF,KAAK,UAAU,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACtC,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,CAAC;AACpD,KAAK,YAAY,CAAC,CAAC,IAAI;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;CACrB,CAAC;AACF,KAAK,WAAW,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC7B,CAAC;AAQF,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ISpinnerProps } from './types';
3
- export declare const Spinner: import("react").ForwardRefExoticComponent<ISpinnerProps & import("react").RefAttributes<HTMLDivElement>>;
2
+ export declare const Spinner: import('react').ForwardRefExoticComponent<ISpinnerProps & import('react').RefAttributes<HTMLDivElement>>;
4
3
  //# sourceMappingURL=Spinner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Spinner/Spinner.tsx"],"names":[],"mappings":";AAIA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAgB,aAAa,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,OAAO,0GA6BlB,CAAC"}
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Spinner/Spinner.tsx"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAC;AACxB,OAAO,EAAgB,aAAa,EAAE,MAAM,SAAS,CAAC;AAEtD,eAAO,MAAM,OAAO,0GA6BlB,CAAC"}
@@ -2,7 +2,7 @@
2
2
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
3
3
  import { forwardRef as o } from "react";
4
4
  import t from "clsx";
5
- import "./spinner.scss.js";
5
+ /* empty css */
6
6
  import { ESpinnerSize as u } from "./types.js";
7
7
  const d = o((n, c) => {
8
8
  const { className: l, label: p, size: s = "default", fullpage: r = !1 } = n, i = `${typeof s == "number" ? s : u[s]}px`, m = t(