pollination-react-io 0.0.21 → 0.0.22
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/LICENSE +21 -21
- package/README.md +111 -111
- package/build/SendResults/SendResults.d.ts +5 -0
- package/build/SendResults/SendResults.types.d.ts +5 -0
- package/build/buttons.scss +86 -86
- package/build/hooks/useSendGeometry.d.ts +2 -2
- package/build/index.esm.js +2 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/typography.scss +11 -11
- package/build/variables.scss +32 -32
- package/package.json +97 -97
- package/build/SendGeometry/geometry.d.ts +0 -9
package/build/typography.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
$font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
|
|
2
|
-
|
|
3
|
-
@mixin font-defaults {
|
|
4
|
-
font-family: $font-family;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@mixin heading {
|
|
8
|
-
@include font-defaults;
|
|
9
|
-
|
|
10
|
-
font-size: 40px;
|
|
11
|
-
font-weight: bold;
|
|
1
|
+
$font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
|
|
2
|
+
|
|
3
|
+
@mixin font-defaults {
|
|
4
|
+
font-family: $font-family;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin heading {
|
|
8
|
+
@include font-defaults;
|
|
9
|
+
|
|
10
|
+
font-size: 40px;
|
|
11
|
+
font-weight: bold;
|
|
12
12
|
}
|
package/build/variables.scss
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
// Variables
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
--background: #FFFAEE;
|
|
5
|
-
--primary: #1890ff;
|
|
6
|
-
--primary2: #40a9ff;
|
|
7
|
-
--primary0: #e6f7ff;
|
|
8
|
-
--grey5: #8c8c8c;
|
|
9
|
-
--grey3: #d0d7de;
|
|
10
|
-
--secondary: #fff566;
|
|
11
|
-
--font-color: #494949;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media (prefers-color-scheme: dark) {
|
|
15
|
-
:root {
|
|
16
|
-
--background: #3c3c3c;
|
|
17
|
-
--font-color: #fafafa;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@keyframes spin {
|
|
22
|
-
from {
|
|
23
|
-
transform: rotate(0);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
to {
|
|
27
|
-
transform: rotate(360deg);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.spin {
|
|
32
|
-
animation: spin 1s linear 0s infinite;
|
|
1
|
+
// Variables
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--background: #FFFAEE;
|
|
5
|
+
--primary: #1890ff;
|
|
6
|
+
--primary2: #40a9ff;
|
|
7
|
+
--primary0: #e6f7ff;
|
|
8
|
+
--grey5: #8c8c8c;
|
|
9
|
+
--grey3: #d0d7de;
|
|
10
|
+
--secondary: #fff566;
|
|
11
|
+
--font-color: #494949;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (prefers-color-scheme: dark) {
|
|
15
|
+
:root {
|
|
16
|
+
--background: #3c3c3c;
|
|
17
|
+
--font-color: #fafafa;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@keyframes spin {
|
|
22
|
+
from {
|
|
23
|
+
transform: rotate(0);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
to {
|
|
27
|
+
transform: rotate(360deg);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.spin {
|
|
32
|
+
animation: spin 1s linear 0s infinite;
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pollination-react-io",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"main": "build/index.js",
|
|
5
|
-
"module": "build/index.esm.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"build"
|
|
8
|
-
],
|
|
9
|
-
"types": "build/index.d.ts",
|
|
10
|
-
"description": "A WIP connector between React and CAD Plugin.",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c",
|
|
13
|
-
"test": "jest",
|
|
14
|
-
"test:watch": "jest --watch",
|
|
15
|
-
"storybook": "start-storybook -p 6006",
|
|
16
|
-
"storybook:export": "build-storybook",
|
|
17
|
-
"predeploy-storybook": "npm run storybook:export",
|
|
18
|
-
"deploy-storybook": "gh-pages -d storybook-static",
|
|
19
|
-
"generate": "node ./util/create-component",
|
|
20
|
-
"prepublishOnly": "npm run build"
|
|
21
|
-
},
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/pollination/pollination-react-io.git"
|
|
25
|
-
},
|
|
26
|
-
"keywords": [
|
|
27
|
-
"Pollination",
|
|
28
|
-
"React",
|
|
29
|
-
"Component",
|
|
30
|
-
"Library",
|
|
31
|
-
"Rollup",
|
|
32
|
-
"Typescript",
|
|
33
|
-
"Sass",
|
|
34
|
-
"Storybook"
|
|
35
|
-
],
|
|
36
|
-
"author": "Pollination",
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"bugs": {
|
|
39
|
-
"url": "https://github.com/pollination/pollination-react-io/issues"
|
|
40
|
-
},
|
|
41
|
-
"homepage": "https://pollination.github.io/pollination-react-io",
|
|
42
|
-
"peerDependencies": {
|
|
43
|
-
"react": ">=16.8.0",
|
|
44
|
-
"react-dom": ">=16.8.0"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@babel/core": "^7.15.0",
|
|
48
|
-
"@rollup/plugin-commonjs": "^17.1.0",
|
|
49
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
50
|
-
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
51
|
-
"@storybook/builder-webpack5": "^6.5.0-rc.1",
|
|
52
|
-
"@storybook/manager-webpack5": "^6.5.0-rc.1",
|
|
53
|
-
"@storybook/preset-scss": "^1.0.3",
|
|
54
|
-
"@storybook/react": "^6.5.9",
|
|
55
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
56
|
-
"@testing-library/react": "^11.2.7",
|
|
57
|
-
"@types/jest": "^24.9.1",
|
|
58
|
-
"@types/react": "^16.14.14",
|
|
59
|
-
"@types/react-dom": "^16.9.14",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
61
|
-
"@typescript-eslint/parser": "^5.29.0",
|
|
62
|
-
"babel-loader": "^8.2.2",
|
|
63
|
-
"babel-preset-react-app": "^10.0.0",
|
|
64
|
-
"colors": "^1.4.0",
|
|
65
|
-
"css-loader": "^5.2.6",
|
|
66
|
-
"eslint": "^8.18.0",
|
|
67
|
-
"eslint-plugin-import": "^2.26.0",
|
|
68
|
-
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
69
|
-
"eslint-plugin-react": "^7.30.0",
|
|
70
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
71
|
-
"gh-pages": "^4.0.0",
|
|
72
|
-
"html-webpack-plugin": "^5.5.0",
|
|
73
|
-
"identity-obj-proxy": "^3.0.0",
|
|
74
|
-
"jest": "^26.6.3",
|
|
75
|
-
"node-sass": "^7.0.1",
|
|
76
|
-
"react": "^16.14.0",
|
|
77
|
-
"react-dom": "^16.14.0",
|
|
78
|
-
"rollup": "^2.56.3",
|
|
79
|
-
"rollup-plugin-copy": "^3.4.0",
|
|
80
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
81
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
82
|
-
"rollup-plugin-svg": "^2.0.0",
|
|
83
|
-
"rollup-plugin-typescript2": "^0.29.0",
|
|
84
|
-
"sass": "^1.52.1",
|
|
85
|
-
"sass-loader": "^10.1.1",
|
|
86
|
-
"style-loader": "^2.0.0",
|
|
87
|
-
"ts-jest": "^26.5.6",
|
|
88
|
-
"typescript": "^4.4.2",
|
|
89
|
-
"webpack": "^5.73.0"
|
|
90
|
-
},
|
|
91
|
-
"dependencies": {
|
|
92
|
-
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
93
|
-
"@radix-ui/react-separator": "^0.1.4",
|
|
94
|
-
"@radix-ui/react-tooltip": "^0.1.7",
|
|
95
|
-
"lodash.isequal": "^4.5.0",
|
|
96
|
-
"react-bootstrap-icons": "^1.8.4"
|
|
97
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pollination-react-io",
|
|
3
|
+
"version": "0.0.22",
|
|
4
|
+
"main": "build/index.js",
|
|
5
|
+
"module": "build/index.esm.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"build"
|
|
8
|
+
],
|
|
9
|
+
"types": "build/index.d.ts",
|
|
10
|
+
"description": "A WIP connector between React and CAD Plugin.",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"test:watch": "jest --watch",
|
|
15
|
+
"storybook": "start-storybook -p 6006",
|
|
16
|
+
"storybook:export": "build-storybook",
|
|
17
|
+
"predeploy-storybook": "npm run storybook:export",
|
|
18
|
+
"deploy-storybook": "gh-pages -d storybook-static",
|
|
19
|
+
"generate": "node ./util/create-component",
|
|
20
|
+
"prepublishOnly": "npm run build"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/pollination/pollination-react-io.git"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"Pollination",
|
|
28
|
+
"React",
|
|
29
|
+
"Component",
|
|
30
|
+
"Library",
|
|
31
|
+
"Rollup",
|
|
32
|
+
"Typescript",
|
|
33
|
+
"Sass",
|
|
34
|
+
"Storybook"
|
|
35
|
+
],
|
|
36
|
+
"author": "Pollination",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/pollination/pollination-react-io/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://pollination.github.io/pollination-react-io",
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": ">=16.8.0",
|
|
44
|
+
"react-dom": ">=16.8.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@babel/core": "^7.15.0",
|
|
48
|
+
"@rollup/plugin-commonjs": "^17.1.0",
|
|
49
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
50
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
51
|
+
"@storybook/builder-webpack5": "^6.5.0-rc.1",
|
|
52
|
+
"@storybook/manager-webpack5": "^6.5.0-rc.1",
|
|
53
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
54
|
+
"@storybook/react": "^6.5.9",
|
|
55
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
56
|
+
"@testing-library/react": "^11.2.7",
|
|
57
|
+
"@types/jest": "^24.9.1",
|
|
58
|
+
"@types/react": "^16.14.14",
|
|
59
|
+
"@types/react-dom": "^16.9.14",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
61
|
+
"@typescript-eslint/parser": "^5.29.0",
|
|
62
|
+
"babel-loader": "^8.2.2",
|
|
63
|
+
"babel-preset-react-app": "^10.0.0",
|
|
64
|
+
"colors": "^1.4.0",
|
|
65
|
+
"css-loader": "^5.2.6",
|
|
66
|
+
"eslint": "^8.18.0",
|
|
67
|
+
"eslint-plugin-import": "^2.26.0",
|
|
68
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
69
|
+
"eslint-plugin-react": "^7.30.0",
|
|
70
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
71
|
+
"gh-pages": "^4.0.0",
|
|
72
|
+
"html-webpack-plugin": "^5.5.0",
|
|
73
|
+
"identity-obj-proxy": "^3.0.0",
|
|
74
|
+
"jest": "^26.6.3",
|
|
75
|
+
"node-sass": "^7.0.1",
|
|
76
|
+
"react": "^16.14.0",
|
|
77
|
+
"react-dom": "^16.14.0",
|
|
78
|
+
"rollup": "^2.56.3",
|
|
79
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
80
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
81
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
82
|
+
"rollup-plugin-svg": "^2.0.0",
|
|
83
|
+
"rollup-plugin-typescript2": "^0.29.0",
|
|
84
|
+
"sass": "^1.52.1",
|
|
85
|
+
"sass-loader": "^10.1.1",
|
|
86
|
+
"style-loader": "^2.0.0",
|
|
87
|
+
"ts-jest": "^26.5.6",
|
|
88
|
+
"typescript": "^4.4.2",
|
|
89
|
+
"webpack": "^5.73.0"
|
|
90
|
+
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
93
|
+
"@radix-ui/react-separator": "^0.1.4",
|
|
94
|
+
"@radix-ui/react-tooltip": "^0.1.7",
|
|
95
|
+
"lodash.isequal": "^4.5.0",
|
|
96
|
+
"react-bootstrap-icons": "^1.8.4"
|
|
97
|
+
}
|
|
98
98
|
}
|