pollination-react-io 0.0.2 → 0.0.5
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/build/Dropdown/Dropdown.d.ts +22 -0
- package/build/Dropdown/Dropdown.types.d.ts +3 -0
- package/build/GetGeometry/GetGeometry.d.ts +3 -0
- package/build/GetGeometry/GetGeometry.types.d.ts +3 -0
- package/build/GetHbjson/GetHbjson.d.ts +3 -0
- package/build/GetHbjson/GetHbjson.types.d.ts +3 -0
- package/build/Logo/index.d.ts +2 -0
- package/build/ManageSettings/ManageSettings.d.ts +2 -0
- package/build/ManageSettings/ManageSettings.types.d.ts +3 -0
- package/build/SendGeometry/SendGeometry.d.ts +3 -0
- package/build/SendGeometry/SendGeometry.types.d.ts +3 -0
- package/build/SendGeometry/geometry.d.ts +1 -0
- package/build/SendHbjson/SendHbjson.d.ts +3 -0
- package/build/SendHbjson/SendHbjson.types.d.ts +3 -0
- package/build/SendHbjson/hbjson.d.ts +282 -0
- package/build/SettingsButton/index.d.ts +10 -0
- package/build/hooks/index.d.ts +9 -9
- package/build/hooks/useGetGeometry.d.ts +1 -1
- package/build/hooks/useGetHBJSON.d.ts +1 -1
- package/build/hooks/useSendHBJSON.d.ts +1 -1
- package/build/hooks/utilities.d.ts +2 -2
- package/build/index.d.ts +4 -0
- package/build/index.esm.js +2549 -162
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2589 -175
- package/build/index.js.map +1 -1
- package/build/typography.scss +2 -2
- package/build/variables.scss +8 -7
- package/package.json +29 -8
package/build/typography.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$font-family:
|
|
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
2
|
|
|
3
3
|
@mixin font-defaults {
|
|
4
4
|
font-family: $font-family;
|
|
@@ -9,4 +9,4 @@ $font-family: "Avenir Next", Helvetica, Arial, sans-serif;
|
|
|
9
9
|
|
|
10
10
|
font-size: 40px;
|
|
11
11
|
font-weight: bold;
|
|
12
|
-
}
|
|
12
|
+
}
|
package/build/variables.scss
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Variables
|
|
2
|
-
$harvey-black: #131111;
|
|
3
|
-
$harvey-white: #e0e0e0;
|
|
4
|
-
$harvey-red: #ff2323;
|
|
5
|
-
$harvey-green: #005f20;
|
|
6
|
-
$harvey-blue: #070bce;
|
|
7
2
|
|
|
8
3
|
:root {
|
|
9
|
-
--background: #
|
|
4
|
+
--background: #FFFAEE;
|
|
5
|
+
--primary: #1890ff;
|
|
6
|
+
--primary2: #40a9ff;
|
|
7
|
+
--primary0: #e6f7ff;
|
|
8
|
+
--grey5: #8c8c8c;
|
|
9
|
+
--grey3: #d0d7de;
|
|
10
|
+
--secondary: #fff566;
|
|
10
11
|
--font-color: #494949;
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -15,4 +16,4 @@ $harvey-blue: #070bce;
|
|
|
15
16
|
--background: #3c3c3c;
|
|
16
17
|
--font-color: #fafafa;
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pollination-react-io",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"module": "build/index.esm.js",
|
|
6
6
|
"files": [
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
"test:watch": "jest --watch",
|
|
15
15
|
"storybook": "start-storybook -p 6006",
|
|
16
16
|
"storybook:export": "build-storybook",
|
|
17
|
+
"predeploy-storybook": "npm run storybook:export",
|
|
18
|
+
"deploy-storybook": "gh-pages -d storybook-static",
|
|
17
19
|
"generate": "node ./util/create-component",
|
|
18
20
|
"prepublishOnly": "npm run build"
|
|
19
21
|
},
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
"bugs": {
|
|
37
39
|
"url": "https://github.com/pollination/pollination-react-io/issues"
|
|
38
40
|
},
|
|
39
|
-
"homepage": "https://github.
|
|
41
|
+
"homepage": "https://pollination.github.io/pollination-react-io",
|
|
40
42
|
"peerDependencies": {
|
|
41
43
|
"react": ">=16.8.0",
|
|
42
44
|
"react-dom": ">=16.8.0"
|
|
@@ -45,30 +47,49 @@
|
|
|
45
47
|
"@babel/core": "^7.15.0",
|
|
46
48
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
47
49
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
48
|
-
"@storybook/
|
|
50
|
+
"@storybook/builder-webpack5": "^6.5.0-rc.1",
|
|
51
|
+
"@storybook/manager-webpack5": "^6.5.0-rc.1",
|
|
52
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
53
|
+
"@storybook/react": "^6.5.9",
|
|
49
54
|
"@testing-library/jest-dom": "^5.14.1",
|
|
50
55
|
"@testing-library/react": "^11.2.7",
|
|
51
56
|
"@types/jest": "^24.9.1",
|
|
52
57
|
"@types/react": "^16.14.14",
|
|
53
58
|
"@types/react-dom": "^16.9.14",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
60
|
+
"@typescript-eslint/parser": "^5.29.0",
|
|
54
61
|
"babel-loader": "^8.2.2",
|
|
55
62
|
"babel-preset-react-app": "^10.0.0",
|
|
63
|
+
"css-loader": "^5.2.6",
|
|
64
|
+
"eslint": "^8.18.0",
|
|
65
|
+
"eslint-plugin-import": "^2.26.0",
|
|
66
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
67
|
+
"eslint-plugin-react": "^7.30.0",
|
|
68
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
69
|
+
"gh-pages": "^4.0.0",
|
|
70
|
+
"html-webpack-plugin": "^5.5.0",
|
|
56
71
|
"identity-obj-proxy": "^3.0.0",
|
|
57
72
|
"jest": "^26.6.3",
|
|
58
|
-
"node-sass": "^
|
|
73
|
+
"node-sass": "^7.0.1",
|
|
59
74
|
"react": "^16.14.0",
|
|
60
75
|
"react-dom": "^16.14.0",
|
|
61
76
|
"rollup": "^2.56.3",
|
|
62
77
|
"rollup-plugin-copy": "^3.4.0",
|
|
63
78
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
64
|
-
"rollup-plugin-postcss": "^
|
|
79
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
80
|
+
"rollup-plugin-svg": "^2.0.0",
|
|
65
81
|
"rollup-plugin-typescript2": "^0.29.0",
|
|
66
82
|
"sass": "^1.52.1",
|
|
67
|
-
"sass-loader": "^10.
|
|
83
|
+
"sass-loader": "^10.1.1",
|
|
84
|
+
"style-loader": "^2.0.0",
|
|
68
85
|
"ts-jest": "^26.5.6",
|
|
69
|
-
"typescript": "^4.4.2"
|
|
86
|
+
"typescript": "^4.4.2",
|
|
87
|
+
"webpack": "^5.73.0"
|
|
70
88
|
},
|
|
71
89
|
"dependencies": {
|
|
72
|
-
"
|
|
90
|
+
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
91
|
+
"@radix-ui/react-separator": "^0.1.4",
|
|
92
|
+
"lodash.isequal": "^4.5.0",
|
|
93
|
+
"react-bootstrap-icons": "^1.8.4"
|
|
73
94
|
}
|
|
74
95
|
}
|