xtreme-ui 0.0.104 → 0.0.106

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.
@@ -19,14 +19,14 @@ export type TTextfieldProps = {
19
19
  onKeyUp?: (event: KeyboardEvent) => void;
20
20
  onEnterKey?: (event: KeyboardEvent) => void;
21
21
  };
22
- declare enum ETextfieldType {
22
+ export declare enum ETextfieldType {
23
23
  text = "text",
24
24
  number = "number",
25
25
  phone = "phone",
26
26
  password = "password",
27
27
  search = "search"
28
28
  }
29
- declare enum ETextfieldAutoComplete {
29
+ export declare enum ETextfieldAutoComplete {
30
30
  'off' = "off",
31
31
  'on' = "on",
32
32
  'name' = "name",
@@ -78,5 +78,4 @@ declare enum ETextfieldAutoComplete {
78
78
  'tel-local' = "tel-local",
79
79
  'tel-extension' = "tel-extension"
80
80
  }
81
- export {};
82
81
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/Textfield/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,OAAO,sBAAsB,CAAC;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,OAAO,SAAS,CA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gB,mBAAmB;IACnC,WAAW,cAAc;IACzB,QAAQ,WAAW;IACnB,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,QAAQ,WAAW;IACnB,SAAS,YAAY;IACrB,sBAAsB,yBAAyB;IAC/C,oBAAoB,uBAAuB;IAC3C,UAAU,aAAa;IACvB,MAAM,SAAS;IACf,UAAU,aAAa;IACvB,YAAY,eAAe;IAC3B,WAAW,cAAc;IACzB,KAAK,QAAQ;IACb,kBAAkB,qBAAqB;IACvC,cAAc,iBAAiB;IAC/B,eAAe,kBAAkB;IACjC,WAAW,cAAc;IACzB,eAAe,kBAAkB;CACjC"}
@@ -9,10 +9,10 @@ export declare const THEME_SCHEME: readonly [{
9
9
  readonly icon: "e163";
10
10
  }, {
11
11
  readonly name: EThemeScheme.light;
12
- readonly icon: "f763";
12
+ readonly icon: "e28f";
13
13
  }, {
14
14
  readonly name: EThemeScheme.dark;
15
- readonly icon: "f754";
15
+ readonly icon: "f186";
16
16
  }];
17
17
  export declare const ThemeColorsPreset: Record<string, TThemeColor>;
18
18
  export declare const defaultColorPreset: TThemeColor;
@@ -5,8 +5,8 @@ const o = {
5
5
  themeColor: "xThemeColor"
6
6
  }, m = [
7
7
  { name: e.auto, icon: "e163" },
8
- { name: e.light, icon: "f763" },
9
- { name: e.dark, icon: "f754" }
8
+ { name: e.light, icon: "e28f" },
9
+ { name: e.dark, icon: "f186" }
10
10
  ], h = {
11
11
  cherry: { h: 350, s: 70, l: 50 },
12
12
  blush: { h: 335, s: 75, l: 55 },
@@ -1,3 +1,10 @@
1
1
  import { TThemeColor } from '../../components/context/Theme/types';
2
- export declare const themeController: (preferredScheme?: string | null, preferredColor?: TThemeColor | null, defaultScheme?: string, defaultColorPreset?: TThemeColor) => string;
2
+ type ThemeConfig = {
3
+ scheme?: string;
4
+ color?: TThemeColor;
5
+ defScheme?: string;
6
+ defColor?: TThemeColor;
7
+ };
8
+ export declare const themeController: ({ scheme, color, defScheme, defColor, }?: ThemeConfig) => string;
9
+ export {};
3
10
  //# sourceMappingURL=themeController.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"themeController.d.ts","sourceRoot":"","sources":["../../../src/utils/helper/themeController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG/F,eAAO,MAAM,eAAe,GAC3B,kBAAkB,MAAM,GAAG,IAAI,EAC/B,iBAAiB,WAAW,GAAG,IAAI,EACnC,gBAAe,MAAuB,EACtC,qBAAoB,WAAiC,WAoCrD,CAAC"}
1
+ {"version":3,"file":"themeController.d.ts","sourceRoot":"","sources":["../../../src/utils/helper/themeController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAG7E,KAAK,WAAW,GAAG;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,0CAK7B,WAAgB,WAmClB,CAAC"}
@@ -1,6 +1,11 @@
1
1
  import { defaultScheme as n } from "../../components/context/Theme/types.js";
2
2
  import { defaultColorPreset as h, STORAGE as e } from "../constants/theme.js";
3
- const d = (t, r, o = n, l = h) => {
3
+ const d = ({
4
+ scheme: t,
5
+ color: r,
6
+ defScheme: o = n,
7
+ defColor: l = h
8
+ } = {}) => {
4
9
  const m = t != null ? `'${t}'` : "null", s = r ? JSON.stringify(r) : "null", c = JSON.stringify(l);
5
10
  return `(function() {
6
11
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xtreme-ui",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "type": "module",
5
5
  "description": "Collection of reusable components that can be used in web projects",
6
6
  "main": "dist/index.js",
@@ -24,11 +24,11 @@
24
24
  "clsx": "^2.1.1",
25
25
  "color-namer": "^1.4.0",
26
26
  "colord": "^2.9.3",
27
- "globals": "^16.1.0",
27
+ "globals": "^16.2.0",
28
28
  "react-calendar": "^5.1.0",
29
29
  "react-clock": "^5.1.0",
30
30
  "react-datetime-picker": "^6.0.1",
31
- "react-easy-crop": "^5.4.1",
31
+ "react-easy-crop": "^5.4.2",
32
32
  "react-select": "^5.10.1",
33
33
  "use-file-picker": "^2.1.2"
34
34
  },
@@ -44,16 +44,16 @@
44
44
  "@storybook/react": "^8.6.14",
45
45
  "@storybook/react-vite": "^8.6.14",
46
46
  "@storybook/test": "^8.6.14",
47
- "@types/lodash": "^4.17.16",
48
- "@types/node": "^22.15.19",
49
- "@types/react": "^19.1.4",
47
+ "@types/lodash": "^4.17.17",
48
+ "@types/node": "^22.15.21",
49
+ "@types/react": "^19.1.5",
50
50
  "@types/react-dom": "^19.1.5",
51
51
  "@typescript-eslint/eslint-plugin": "^8.32.1",
52
52
  "@typescript-eslint/parser": "^8.32.1",
53
- "@vitejs/plugin-react": "^4.4.1",
54
- "@vitejs/plugin-react-swc": "^3.9.0",
53
+ "@vitejs/plugin-react": "^4.5.0",
54
+ "@vitejs/plugin-react-swc": "^3.10.0",
55
55
  "eslint": "^9.27.0",
56
- "eslint-import-resolver-typescript": "^4.3.5",
56
+ "eslint-import-resolver-typescript": "^4.4.0",
57
57
  "eslint-plugin-import": "^2.31.0",
58
58
  "eslint-plugin-react": "^7.37.5",
59
59
  "eslint-plugin-react-hooks": "^5.2.0",
@@ -62,7 +62,7 @@
62
62
  "lodash": "^4.17.21",
63
63
  "react": "^19.1.0",
64
64
  "react-dom": "^19.1.0",
65
- "react-router-dom": "^7.6.0",
65
+ "react-router-dom": "^7.6.1",
66
66
  "sass": "^1.89.0",
67
67
  "storybook": "^8.6.14",
68
68
  "stylelint": "^16.19.1",