@bigbinary/neetoui 3.4.6 → 3.5.1

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/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui",
3
- "version": "3.4.6",
3
+ "version": "3.5.1",
4
4
  "main": "./index.js",
5
+ "module": "./index.js",
5
6
  "author": "BigBinary",
6
7
  "license": "MIT",
7
8
  "description": "neetoUI is the library that drives the experience in all neeto products built at BigBinary",
8
9
  "scripts": {
9
10
  "start": "NODE_ENV=development webpack-dev-server --open --mode development --config webpack.dev.config.js",
10
- "build": "NODE_ENV=production webpack --mode production --config webpack.config.js",
11
+ "build": "NODE_ENV=production rollup -c rollup.config.js",
11
12
  "build-example": "NODE_ENV=production webpack --mode production --config webpack.dev.config.js",
12
13
  "prepare": "husky install",
13
14
  "test": "jest",
@@ -21,10 +22,12 @@
21
22
  ]
22
23
  },
23
24
  "dependencies": {
25
+ "@babel/runtime": "7.17.9",
24
26
  "@bigbinary/neeto-icons": "1.8.29",
25
27
  "@reach/auto-id": "0.15.0",
26
28
  "@tippyjs/react": "4.2.5",
27
29
  "antd": "4.18.7",
30
+ "babel-plugin-import": "^1.13.5",
28
31
  "dayjs": "1.11.1",
29
32
  "framer-motion": "4.1.17",
30
33
  "prop-types": "15.8.1",
@@ -40,7 +43,11 @@
40
43
  "@babel/plugin-transform-runtime": "7.17.0",
41
44
  "@babel/preset-env": "7.14.7",
42
45
  "@babel/preset-react": "7.14.5",
43
- "@bigbinary/peer-deps-externals-webpack-plugin": "1.0.5",
46
+ "@rollup/plugin-babel": "^5.3.1",
47
+ "@rollup/plugin-commonjs": "^22.0.0",
48
+ "@rollup/plugin-json": "^4.1.0",
49
+ "@rollup/plugin-node-resolve": "^13.3.0",
50
+ "@rollup/plugin-replace": "^4.0.0",
44
51
  "@storybook/addon-actions": "6.4.19",
45
52
  "@storybook/addon-essentials": "6.4.19",
46
53
  "@storybook/addon-links": "6.4.19",
@@ -49,6 +56,7 @@
49
56
  "@storybook/manager-webpack5": "6.4.19",
50
57
  "@storybook/preset-scss": "1.0.3",
51
58
  "@storybook/react": "6.4.19",
59
+ "@svgr/rollup": "^6.2.1",
52
60
  "@testing-library/jest-dom": "5.16.2",
53
61
  "@testing-library/react": "12.1.3",
54
62
  "@testing-library/user-event": "13.5.0",
@@ -72,7 +80,6 @@
72
80
  "identity-obj-proxy": "3.0.0",
73
81
  "jest": "27.3.1",
74
82
  "lint-staged": "11.0.0",
75
- "mini-css-extract-plugin": "2.4.5",
76
83
  "postcss": "7",
77
84
  "postcss-import": "12.0.1",
78
85
  "postcss-loader": "4.0.3",
@@ -86,6 +93,10 @@
86
93
  "react-spring": "8.0.27",
87
94
  "react-test-renderer": "17.0.2",
88
95
  "react-toastify": "9.0.1",
96
+ "rollup": "^2.73.0",
97
+ "rollup-plugin-peer-deps-external": "^2.2.4",
98
+ "rollup-plugin-styles": "^4.0.0",
99
+ "rollup-plugin-terser": "^7.0.2",
89
100
  "sass": "1.26.11",
90
101
  "sass-loader": "10.0.2",
91
102
  "style-loader": "1.2.1",
@@ -97,6 +108,8 @@
97
108
  "yup": "0.32.11"
98
109
  },
99
110
  "peerDependencies": {
111
+ "@babel/runtime": "7.17.9",
112
+ "antd": "4.18.7",
100
113
  "formik": "2.2.0",
101
114
  "react": "17.0.2",
102
115
  "react-dom": "17.0.2",
@@ -1,33 +0,0 @@
1
- /*!
2
- Copyright (c) 2017 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- * hotkeys-js v3.8.7
9
- * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
10
- *
11
- * Copyright (c) 2021 kenny wong <wowohoo@qq.com>
12
- * http://jaywcjlove.github.io/hotkeys
13
- *
14
- * Licensed under the MIT license.
15
- */
16
-
17
- /** @license React v16.13.1
18
- * react-is.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */
25
-
26
- /** @license React v17.0.2
27
- * react.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */
@@ -1,39 +0,0 @@
1
- /*!
2
- Copyright (c) 2017 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- Copyright (c) 2018 Jed Watson.
9
- Licensed under the MIT License (MIT), see
10
- http://jedwatson.github.io/classnames
11
- */
12
-
13
- /*!
14
- * hotkeys-js v3.8.7
15
- * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
16
- *
17
- * Copyright (c) 2021 kenny wong <wowohoo@qq.com>
18
- * http://jaywcjlove.github.io/hotkeys
19
- *
20
- * Licensed under the MIT license.
21
- */
22
-
23
- /** @license React v16.13.1
24
- * react-is.production.min.js
25
- *
26
- * Copyright (c) Facebook, Inc. and its affiliates.
27
- *
28
- * This source code is licensed under the MIT license found in the
29
- * LICENSE file in the root directory of this source tree.
30
- */
31
-
32
- /** @license React v17.0.2
33
- * react.production.min.js
34
- *
35
- * Copyright (c) Facebook, Inc. and its affiliates.
36
- *
37
- * This source code is licensed under the MIT license found in the
38
- * LICENSE file in the root directory of this source tree.
39
- */
@@ -1,24 +0,0 @@
1
- /*!
2
- Copyright (c) 2017 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- * hotkeys-js v3.8.7
9
- * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
10
- *
11
- * Copyright (c) 2021 kenny wong <wowohoo@qq.com>
12
- * http://jaywcjlove.github.io/hotkeys
13
- *
14
- * Licensed under the MIT license.
15
- */
16
-
17
- /** @license React v17.0.2
18
- * react.production.min.js
19
- *
20
- * Copyright (c) Facebook, Inc. and its affiliates.
21
- *
22
- * This source code is licensed under the MIT license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */
@@ -1,23 +0,0 @@
1
- /*!
2
- Copyright (c) 2017 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /** @license React v16.13.1
8
- * react-is.production.min.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
-
16
- /** @license React v17.0.2
17
- * react.production.min.js
18
- *
19
- * Copyright (c) Facebook, Inc. and its affiliates.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */