forstok-ui-lib 5.7.1 → 5.7.4
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/assets/index-CjIUtQZ4.css +5 -0
- package/dist/assets/index-aVDYiS61.css +1132 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +345 -345
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +327 -327
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
- package/rollup.config.js +15 -11
- package/src/components/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forstok-ui-lib",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.4",
|
|
4
4
|
"description": "Forstok UI Components Library",
|
|
5
5
|
"path": "dist",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"react-router-dom": "^7.1.1",
|
|
53
53
|
"react-select": "^5.10.0",
|
|
54
54
|
"rollup-plugin-dts": "^6.1.1",
|
|
55
|
+
"rollup-plugin-import-css": "^3.5.8",
|
|
55
56
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
56
57
|
"rollup-plugin-postcss": "^4.0.2",
|
|
57
58
|
"rollup-plugin-typescript2": "^0.36.0",
|
package/rollup.config.js
CHANGED
|
@@ -2,12 +2,13 @@ import PeerDepsExternalPlugin from 'rollup-plugin-peer-deps-external'
|
|
|
2
2
|
import resolve from '@rollup/plugin-node-resolve';
|
|
3
3
|
import commonjs from '@rollup/plugin-commonjs';
|
|
4
4
|
import terser from '@rollup/plugin-terser';
|
|
5
|
-
import postcss from 'rollup-plugin-postcss';
|
|
5
|
+
// import postcss from 'rollup-plugin-postcss';
|
|
6
6
|
import dts from 'rollup-plugin-dts';
|
|
7
7
|
import typescript from '@rollup/plugin-typescript';
|
|
8
8
|
import url from '@rollup/plugin-url';
|
|
9
9
|
import svgr from '@svgr/rollup';
|
|
10
10
|
import image from '@rollup/plugin-image';
|
|
11
|
+
import css from 'rollup-plugin-import-css';
|
|
11
12
|
|
|
12
13
|
const createStyledComponentsTransformer = require('typescript-plugin-styled-components').default;
|
|
13
14
|
const packageJson = require('./package.json');
|
|
@@ -50,15 +51,18 @@ export default [
|
|
|
50
51
|
],
|
|
51
52
|
}),
|
|
52
53
|
terser(),
|
|
53
|
-
postcss({
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
// postcss({
|
|
55
|
+
// config: {
|
|
56
|
+
// path: './postcss.config.js'
|
|
57
|
+
// },
|
|
58
|
+
// inject: true,
|
|
59
|
+
// minimize: true,
|
|
60
|
+
// sourceMap: true,
|
|
61
|
+
// modules: true,
|
|
62
|
+
// extract: true
|
|
63
|
+
// }),
|
|
64
|
+
css({
|
|
65
|
+
minify: true
|
|
62
66
|
}),
|
|
63
67
|
url(),
|
|
64
68
|
svgr({ icon: true }),
|
|
@@ -68,7 +72,7 @@ export default [
|
|
|
68
72
|
exclude: 'node_modules/**'
|
|
69
73
|
})
|
|
70
74
|
],
|
|
71
|
-
external: ['react', 'react-dom', 'styled-components'],
|
|
75
|
+
external: ['react', 'react-dom', 'styled-components', '@wojtekmaj/react-daterange-picker'],
|
|
72
76
|
},
|
|
73
77
|
{
|
|
74
78
|
input: 'src/index.ts',
|
package/src/components/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { default as UploadDragDropComponent } from './upload/drag.drop';
|
|
|
21
21
|
export { default as TextAreaComponent } from './textarea';
|
|
22
22
|
export { default as TextAreaRefComponent } from './textarea/ref';
|
|
23
23
|
export { default as DateComponent } from './date';
|
|
24
|
+
export { default as DateRangeComponent } from './date/daterange';
|
|
24
25
|
export { default as DateTimeComponent } from './datetime';
|
|
25
26
|
export { default as RadioComponent } from './radio';
|
|
26
27
|
export { default as SwitchComponent } from './switch';
|
|
@@ -31,6 +32,7 @@ export * from './dropdown/typed';
|
|
|
31
32
|
export * from './message/typed';
|
|
32
33
|
export * from './popup/typed';
|
|
33
34
|
export * from './select/typed';
|
|
35
|
+
export * from './date/typed';
|
|
34
36
|
|
|
35
37
|
export * from './select/components';
|
|
36
38
|
export * from './form/styles';
|