@luminati-io/uikit 2.0.2 → 2.0.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
1
7
  /**
2
8
  * Prism: Lightweight, robust, elegant syntax highlighting
3
9
  *
@@ -0,0 +1 @@
1
+ {"version":3,"file":"umd/uikit.production.js","mappings":";AAAA","sources":["webpack://uikit/webpack/universalModuleDefinition"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"prop-types\"), require(\"react\"), require(\"styled-components\"), require(\"react-dom\"), require(\"react-virtualized\"), require(\"react-table\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"prop-types\", \"react\", \"styled-components\", \"react-dom\", \"react-virtualized\", \"react-table\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"uikit\"] = factory(require(\"prop-types\"), require(\"react\"), require(\"styled-components\"), require(\"react-dom\"), require(\"react-virtualized\"), require(\"react-table\"));\n\telse\n\t\troot[\"uikit\"] = factory(root[\"prop-types\"], root[\"react\"], root[\"styled-components\"], root[\"react-dom\"], root[\"react-virtualized\"], root[\"react-table\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE__5099__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__1608__, __WEBPACK_EXTERNAL_MODULE__7111__, __WEBPACK_EXTERNAL_MODULE__1296__, __WEBPACK_EXTERNAL_MODULE__4767__) => {\nreturn "],"names":[],"sourceRoot":""}
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "@luminati-io/uikit",
3
- "version": "2.0.2",
3
+ "version": "2.0.4-beta.0",
4
4
  "author": "Bright Data (http://brightdata.com)",
5
5
  "license": "ISC",
6
6
  "description": "brightdata's design system",
7
- "main": "./dist/uikit.main.umd.min.js",
7
+ "main": "dist/cjs/index.js",
8
+ "module": "dist/esm/index.js",
9
+ "jsnext:main": "dist/esm/index.js",
8
10
  "exports": {
9
- ".": "./dist/uikit.main.umd.min.js",
10
- "./chart": "./dist/uikit.chart.umd.min.js",
11
- "./table": "./dist/uikit.table.umd.min.js"
11
+ ".": {
12
+ "import": "./dist/esm/index.js",
13
+ "default": "./dist/cjs/index.js"
14
+ },
15
+ "./package.json": "./package.json"
12
16
  },
13
17
  "files": [
14
18
  "dist"
@@ -44,6 +48,10 @@
44
48
  "@babel/preset-env": "7.20.2",
45
49
  "@babel/preset-react": "7.18.6",
46
50
  "@react-spring/web": "^9.7.2",
51
+ "@rollup/plugin-alias": "^5.0.0",
52
+ "@rollup/plugin-babel": "^6.0.3",
53
+ "@rollup/plugin-commonjs": "^25.0.3",
54
+ "@rollup/plugin-node-resolve": "^15.1.0",
47
55
  "@storybook/addon-a11y": "^6.5.16",
48
56
  "@storybook/addon-actions": "^6.5.16",
49
57
  "@storybook/addon-essentials": "^6.5.16",
@@ -73,10 +81,13 @@
73
81
  "react-dom": "^16.9.0",
74
82
  "react-table": "^7.8.0",
75
83
  "react-virtualized": "^9.22.5",
84
+ "rollup": "^3.28.0",
85
+ "rollup-plugin-peer-deps-external": "^2.2.4",
86
+ "rollup-plugin-svg-sprites": "^1.2.5",
76
87
  "styled-components": "^5.3.11",
77
88
  "svg-sprite-loader": "^6.0.11",
78
89
  "svgo": "^3.0.2",
79
- "webpack": "^5.88.1",
90
+ "webpack": "^5.88.2",
80
91
  "webpack-cli": "^5.1.4",
81
92
  "webpack-merge": "^5.9.0"
82
93
  },
@@ -84,12 +95,12 @@
84
95
  "storybook": "start-storybook -p 6006 -c storybook_config",
85
96
  "build-storybook": "build-storybook -c storybook_config",
86
97
  "test": "test-storybook --verbose -c storybook_config",
87
- "build-development": "webpack --config webpack.dev.js",
88
- "build-production": "webpack --mode=production",
89
- "build": "rm -rf dist&&npm run build-development&&npm run build-production",
98
+ "build-rollup": "rollup -c",
99
+ "build-webpack": "webpack",
100
+ "build": "rm -rf dist&&npm run build-rollup&&npm run build-webpack",
90
101
  "prepublishOnly": "npm run build",
91
102
  "minify-svg": "svgo -i ./assets/icons --final-newline",
92
103
  "dry-publish": "npm publish --access public --dry-run",
93
- "publish-beta": "npm version prerelease --preid beta&&cvs ci -m 'bump version' package.json package-lock.json&&npm publish --tag beta --access public"
104
+ "publish-beta": "npm version prerelease --preid beta&&npm publish --tag beta --access public"
94
105
  }
95
106
  }