infinity-forge 3.8.8 → 3.8.9

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 (64) hide show
  1. package/dist/infinity-forge.css +0 -3
  2. package/dist/test/index.js +41 -1
  3. package/dist/test/index.js.map +1 -1
  4. package/dist/ui/components/form/index.d.ts +1 -0
  5. package/dist/ui/components/form/index.js +1 -0
  6. package/dist/ui/components/form/index.js.map +1 -1
  7. package/dist/ui/components/form/input-color/index.d.ts +2 -0
  8. package/dist/ui/components/form/input-color/index.js +35 -0
  9. package/dist/ui/components/form/input-color/index.js.map +1 -0
  10. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.d.ts +5 -0
  11. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.js +45 -0
  12. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.js.map +1 -0
  13. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.d.ts +6 -0
  14. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.js +52 -0
  15. package/dist/ui/components/form/input-color/react-input-color-lib/components/Alpha/Alpha.style.js.map +1 -0
  16. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.d.ts +10 -0
  17. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.js +45 -0
  18. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.js.map +1 -0
  19. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.d.ts +8 -0
  20. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.js +64 -0
  21. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorList/ColorList.style.js.map +1 -0
  22. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.d.ts +13 -0
  23. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.js +109 -0
  24. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.js.map +1 -0
  25. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.d.ts +9 -0
  26. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.js +58 -0
  27. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/ColorPicker.style.js.map +1 -0
  28. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.d.ts +3 -0
  29. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.js +55 -0
  30. package/dist/ui/components/form/input-color/react-input-color-lib/components/ColorPicker/helper.js.map +1 -0
  31. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.d.ts +7 -0
  32. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.js +45 -0
  33. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.js.map +1 -0
  34. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.d.ts +4 -0
  35. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.js +30 -0
  36. package/dist/ui/components/form/input-color/react-input-color-lib/components/Hue/Hue.style.js.map +1 -0
  37. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.d.ts +16 -0
  38. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.js +53 -0
  39. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.js.map +1 -0
  40. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.d.ts +5 -0
  41. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.js +38 -0
  42. package/dist/ui/components/form/input-color/react-input-color-lib/components/Input/Input.style.js.map +1 -0
  43. package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.d.ts +8 -0
  44. package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.js +57 -0
  45. package/dist/ui/components/form/input-color/react-input-color-lib/components/PresetList/PresetList.js.map +1 -0
  46. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.d.ts +7 -0
  47. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.js +57 -0
  48. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.js.map +1 -0
  49. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.d.ts +5 -0
  50. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.js +35 -0
  51. package/dist/ui/components/form/input-color/react-input-color-lib/components/Saturation/Saturation.style.js.map +1 -0
  52. package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.d.ts +13 -0
  53. package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.js +47 -0
  54. package/dist/ui/components/form/input-color/react-input-color-lib/hooks/usePosition.js.map +1 -0
  55. package/dist/ui/components/form/input-color/react-input-color-lib/index.d.ts +7 -0
  56. package/dist/ui/components/form/input-color/react-input-color-lib/index.js +14 -0
  57. package/dist/ui/components/form/input-color/react-input-color-lib/index.js.map +1 -0
  58. package/dist/ui/components/form/input-color/react-input-color-lib/themes.d.ts +7 -0
  59. package/dist/ui/components/form/input-color/react-input-color-lib/themes.js +24 -0
  60. package/dist/ui/components/form/input-color/react-input-color-lib/themes.js.map +1 -0
  61. package/dist/ui/components/form/input-color/react-input-color-lib/types.d.ts +39 -0
  62. package/dist/ui/components/form/input-color/react-input-color-lib/types.js +3 -0
  63. package/dist/ui/components/form/input-color/react-input-color-lib/types.js.map +1 -0
  64. package/package.json +2 -1
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ColorPicker = exports.initColor = exports.themes = void 0;
7
+ var ColorPicker_1 = __importDefault(require("./components/ColorPicker/ColorPicker.js"));
8
+ exports.ColorPicker = ColorPicker_1.default;
9
+ var themes_1 = __importDefault(require("./themes.js"));
10
+ exports.themes = themes_1.default;
11
+ var helper_1 = require("./components/ColorPicker/helper.js");
12
+ Object.defineProperty(exports, "initColor", { enumerable: true, get: function () { return helper_1.initColor; } });
13
+ exports.default = ColorPicker_1.default;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-color/react-input-color-lib/index.tsx"],"names":[],"mappings":";;;;;;AAAA,qFAA+D;AAiB7D,sBAjBK,qBAAW,CAiBL;AAhBb,oDAA8B;AAc5B,iBAdK,gBAAM,CAcL;AAbR,0DAA4D;AAc1D,0FAdO,kBAAS,OAcP;AAeX,kBAAe,qBAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Theme } from './types.js';
2
+ type Themes = {
3
+ light: Theme;
4
+ dark: Theme;
5
+ };
6
+ declare const theme: Themes;
7
+ export default theme;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var theme = {
4
+ light: {
5
+ background: '#fff',
6
+ inputBackground: '#f4f4f4',
7
+ color: '#262626',
8
+ borderColor: '#D4D4D4',
9
+ borderRadius: '4px',
10
+ boxShadow: '0px 8px 16px rgba(0, 0, 0, 0.1)',
11
+ width: '280px'
12
+ },
13
+ dark: {
14
+ background: 'rgba(40, 40, 40, 0.95)',
15
+ inputBackground: '#454545',
16
+ color: '#E3E3E3',
17
+ borderRadius: '4px',
18
+ borderColor: '#575657',
19
+ boxShadow: '0px 8px 16px rgba(0, 0, 0, 0.1)',
20
+ width: '280px'
21
+ }
22
+ };
23
+ exports.default = theme;
24
+ //# sourceMappingURL=themes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"themes.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-color/react-input-color-lib/themes.ts"],"names":[],"mappings":";;AAOA,IAAM,KAAK,GAAW;IACpB,KAAK,EAAE;QACL,UAAU,EAAE,MAAM;QAClB,eAAe,EAAE,SAAS;QAC1B,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,SAAS;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,iCAAiC;QAC5C,KAAK,EAAE,OAAO;KACf;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,wBAAwB;QACpC,eAAe,EAAE,SAAS;QAC1B,KAAK,EAAE,SAAS;QAChB,YAAY,EAAE,KAAK;QACnB,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,iCAAiC;QAC5C,KAAK,EAAE,OAAO;KACf;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,39 @@
1
+ export type HslColor = {
2
+ h: number;
3
+ s: number;
4
+ l: number;
5
+ a: number;
6
+ };
7
+ export type HsvColor = {
8
+ h: number;
9
+ s: number;
10
+ v: number;
11
+ a: number;
12
+ };
13
+ export type RgbColor = {
14
+ r: number;
15
+ g: number;
16
+ b: number;
17
+ a: number;
18
+ };
19
+ export type Alpha = {
20
+ a: number;
21
+ };
22
+ export type Color = string | RgbColor | HslColor | HsvColor;
23
+ export type ColorObject = {
24
+ hex: string;
25
+ rgb: RgbColor;
26
+ hsl: HslColor;
27
+ hsv: HsvColor;
28
+ alpha: number;
29
+ };
30
+ export type ColorCombination = 'analogous' | 'monochromatic' | 'splitcomplement' | 'triad' | 'tetrad' | 'complement';
31
+ export type Theme = {
32
+ background?: string;
33
+ inputBackground?: string;
34
+ color?: string;
35
+ borderColor?: string;
36
+ borderRadius?: string;
37
+ boxShadow?: string;
38
+ width?: string;
39
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/input-color/react-input-color-lib/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "3.8.8",
3
+ "version": "3.8.9",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",
@@ -71,6 +71,7 @@
71
71
  "sharp": "^0.33.4",
72
72
  "styled-components": "^6.1.13",
73
73
  "swagger-generator-codie": "^0.0.8",
74
+ "tinycolor2": "^1.6.0",
74
75
  "yup": "^1.4.0",
75
76
  "zustand": "^4.5.2"
76
77
  }