@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.
- package/dist/index.js +1 -1
- package/dist/tsc/components/CustomColorPalette/index.js +6 -0
- package/dist/tsc/components/CustomColorPalette/index.js.map +1 -0
- package/dist/tsc/components/CustomColorPalette/utils.js +46 -0
- package/dist/tsc/components/CustomColorPalette/utils.js.map +1 -0
- package/dist/tsc/components/CustomEventTimelineChart/index.js +6 -6
- package/dist/tsc/index.js +1 -0
- package/dist/tsc/index.js.map +1 -1
- package/dist/tsc/tsconfig.tsbuildinfo +1 -1
- package/dist/types/components/CustomColorPalette/index.d.ts +7 -0
- package/dist/types/components/CustomColorPalette/index.d.ts.map +1 -0
- package/dist/types/components/CustomColorPalette/utils.d.ts +41 -0
- package/dist/types/components/CustomColorPalette/utils.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +62 -57
|
@@ -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"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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.
|
|
4
|
-
"license": "UNLICENSED",
|
|
5
|
-
"exports": {
|
|
6
|
-
"import": "./dist/index.js"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"build
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"@mantine/
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@storybook/
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
+
}
|