@manufac/react-components-potli 1.0.2 → 1.0.3

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.
@@ -0,0 +1,7 @@
1
+ import type { JSX } from "react";
2
+ export interface SelectProps {
3
+ value?: string;
4
+ placeholder?: string;
5
+ }
6
+ export declare function CustomColorSelect(props: SelectProps): JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CustomColorPalette/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAEjE"}
@@ -0,0 +1,41 @@
1
+ export declare const ColorSchemeMap: {
2
+ readonly Categorical: {
3
+ readonly "color-scheme-category-10": readonly string[];
4
+ readonly "color-scheme-accent": readonly string[];
5
+ readonly "color-scheme-dark-2": readonly string[];
6
+ readonly "color-scheme-observable-10": readonly string[];
7
+ readonly "color-scheme-paired": readonly string[];
8
+ readonly "color-scheme-set-1": readonly string[];
9
+ readonly "color-scheme-set-2": readonly string[];
10
+ readonly "color-scheme-tableau-10": readonly string[];
11
+ };
12
+ readonly SequentialSingleHue: {
13
+ readonly "color-scheme-blues": readonly string[];
14
+ readonly "color-scheme-greens": readonly string[];
15
+ readonly "color-scheme-greys": readonly string[];
16
+ readonly "color-scheme-oranges": readonly string[];
17
+ readonly "color-scheme-purples": readonly string[];
18
+ readonly "color-scheme-reds": readonly string[];
19
+ };
20
+ readonly SequentialMultiHue: {
21
+ readonly "color-scheme-yellow-orange-brown": readonly string[];
22
+ readonly "color-scheme-yellow-orange-red": readonly string[];
23
+ readonly "color-scheme-orange-red": readonly string[];
24
+ readonly "color-scheme-purple-blue-green": readonly string[];
25
+ readonly "color-scheme-blue-purple": readonly string[];
26
+ };
27
+ readonly Diverging: {
28
+ readonly "color-scheme-brown-blue-green": readonly string[];
29
+ readonly "color-scheme-purple-green": readonly string[];
30
+ readonly "color-scheme-pink-yellow-green": readonly string[];
31
+ readonly "color-scheme-purple-orange": readonly string[];
32
+ readonly "color-scheme-red-blue": readonly string[];
33
+ readonly "color-scheme-red-grey": readonly string[];
34
+ readonly "color-scheme-red-yellow-blue": readonly string[];
35
+ readonly "color-scheme-red-yellow-green": readonly string[];
36
+ readonly "color-scheme-spectral": readonly string[];
37
+ };
38
+ };
39
+ export type ColorPaletteKey = keyof typeof ColorSchemeMap.Categorical | keyof typeof ColorSchemeMap.SequentialSingleHue | keyof typeof ColorSchemeMap.SequentialMultiHue | keyof typeof ColorSchemeMap.Diverging;
40
+ export declare const ColorPalette: Record<ColorPaletteKey, readonly string[]>;
41
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/CustomColorPalette/utils.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCjB,CAAC;AAEX,MAAM,MAAM,eAAe,GACvB,MAAM,OAAO,cAAc,CAAC,WAAW,GACvC,MAAM,OAAO,cAAc,CAAC,mBAAmB,GAC/C,MAAM,OAAO,cAAc,CAAC,kBAAkB,GAC9C,MAAM,OAAO,cAAc,CAAC,SAAS,CAAC;AAE1C,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAKnE,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./components/CustomEventTimelineChart";
2
2
  export * from "./components/CustomTable";
3
+ export * from "./components/CustomColorPalette";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC"}
package/package.json CHANGED
@@ -1,57 +1,62 @@
1
- {
2
- "name": "@manufac/react-components-potli",
3
- "version": "1.0.2",
4
- "license": "UNLICENSED",
5
- "exports": {
6
- "import": "./dist/index.js"
7
- },
8
- "main": "dist/index.js",
9
- "module": "dist/index.js",
10
- "types": "dist/types/index.d.ts",
11
- "files": [
12
- "dist"
13
- ],
14
- "scripts": {
15
- "build": "yarn compile && yarn bundle",
16
- "build:sb": "storybook build",
17
- "bundle": "webpack --config webpack.config.js --env production",
18
- "compile": "tsc",
19
- "lint": "eslint --fix --cache",
20
- "pretty": "prettier --cache --write . && sort-package-json",
21
- "start": "storybook dev -p 6006"
22
- },
23
- "dependencies": {
24
- "@mantine/core": "^8.3.1",
25
- "@mantine/hooks": "^8.3.8",
26
- "@tabler/icons-react": "^3.31.0",
27
- "@tanstack/react-table": "^8.21.3",
28
- "echarts": "^6.0.0"
29
- },
30
- "devDependencies": {
31
- "@faker-js/faker": "^10.1.0",
32
- "@manufac/eslint-config": "^5.5.0",
33
- "@manufac/prettier-config": "^1.7.0",
34
- "@storybook/addon-docs": "^10.0.8",
35
- "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
36
- "@storybook/react-webpack5": "^10.0.8",
37
- "@types/react": "^19.2.6",
38
- "@types/react-dom": "^19.2.3",
39
- "@vueless/storybook-dark-mode": "^10.0.3",
40
- "eslint": "^9.39.1",
41
- "eslint-plugin-storybook": "^10.0.8",
42
- "prettier": "^3.6.2",
43
- "react": "^19.1.0",
44
- "react-dom": "^19.1.0",
45
- "sort-package-json": "^3.0.0",
46
- "storybook": "^10.0.8",
47
- "ts-loader": "^9.5.4",
48
- "typescript": "^5.9.3",
49
- "webpack": "^5.103.0",
50
- "webpack-cli": "^6.0.1"
51
- },
52
- "peerDependencies": {
53
- "react": ">=19",
54
- "react-dom": ">=19"
55
- },
56
- "access": "public"
57
- }
1
+ {
2
+ "name": "@manufac/react-components-potli",
3
+ "version": "1.0.3",
4
+ "license": "UNLICENSED",
5
+ "exports": {
6
+ "import": "./dist/index.js",
7
+ "types": "./dist/types/index.d.ts"
8
+ },
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.js",
11
+ "types": "dist/types/index.d.ts",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "scripts": {
16
+ "build": "yarn compile && yarn bundle",
17
+ "build:sb": "storybook build",
18
+ "bundle": "webpack --config webpack.config.js --env production",
19
+ "compile": "tsc",
20
+ "lint": "eslint --fix --cache",
21
+ "pretty": "prettier --cache --write . && sort-package-json",
22
+ "start": "storybook dev -p 6006"
23
+ },
24
+ "dependencies": {
25
+ "@mantine/core": "^8.3.1",
26
+ "@mantine/hooks": "^8.3.8",
27
+ "@tabler/icons-react": "^3.31.0",
28
+ "@tanstack/react-table": "^8.21.3",
29
+ "d3-scale-chromatic": "^3.1.0",
30
+ "echarts": "^6.0.0"
31
+ },
32
+ "devDependencies": {
33
+ "@faker-js/faker": "^10.1.0",
34
+ "@manufac/eslint-config": "^5.5.0",
35
+ "@manufac/prettier-config": "^1.7.0",
36
+ "@storybook/addon-docs": "^10.0.8",
37
+ "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
38
+ "@storybook/react-webpack5": "^10.0.8",
39
+ "@types/d3-scale-chromatic": "^3.1.0",
40
+ "@types/react": "^19.2.6",
41
+ "@types/react-dom": "^19.2.3",
42
+ "@vueless/storybook-dark-mode": "^10.0.3",
43
+ "eslint": "^9.39.1",
44
+ "eslint-plugin-storybook": "^10.0.8",
45
+ "prettier": "^3.6.2",
46
+ "react": "^19.1.0",
47
+ "react-dom": "^19.1.0",
48
+ "sort-package-json": "^3.0.0",
49
+ "storybook": "^10.0.8",
50
+ "ts-loader": "^9.5.4",
51
+ "typescript": "^5.9.3",
52
+ "webpack": "^5.103.0",
53
+ "webpack-cli": "^6.0.1"
54
+ },
55
+ "peerDependencies": {
56
+ "react": ">=19",
57
+ "react-dom": ">=19"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ }
62
+ }