forstok-ui-lib 7.3.5 → 7.4.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/dist/index.d.ts +1 -1
- package/dist/index.js +506 -526
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +602 -621
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -3
- package/rollup.config.js +32 -25
- package/src/components/select/typed.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forstok-ui-lib",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"description": "Forstok UI Components Library",
|
|
5
5
|
"path": "dist",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@rollup/plugin-url": "^8.0.2",
|
|
37
37
|
"@svgr/rollup": "^8.1.0",
|
|
38
38
|
"@types/html-to-text": "^9.0.4",
|
|
39
|
-
"@types/react": "^19.0.
|
|
39
|
+
"@types/react": "^19.0.0",
|
|
40
40
|
"@types/react-datepicker": "^6.2.0",
|
|
41
|
-
"@types/react-dom": "^19.0.
|
|
41
|
+
"@types/react-dom": "^19.0.0",
|
|
42
42
|
"@wojtekmaj/react-daterange-picker": "^6.0.0",
|
|
43
43
|
"approvejs": "^3.1.2",
|
|
44
44
|
"frimousse": "^0.3.0",
|
|
@@ -64,5 +64,12 @@
|
|
|
64
64
|
"typescript-plugin-styled-components": "^3.0.0",
|
|
65
65
|
"use-state-with-callback": "^3.0.2"
|
|
66
66
|
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"react": "^19.0.0",
|
|
69
|
+
"react-dom": "^19.0.0",
|
|
70
|
+
"react-select": "^5.10.0",
|
|
71
|
+
"rc-picker": "^4.11.3",
|
|
72
|
+
"styled-components": "^6.1.15"
|
|
73
|
+
},
|
|
67
74
|
"overrides": {}
|
|
68
75
|
}
|
package/rollup.config.js
CHANGED
|
@@ -33,23 +33,29 @@ export default [
|
|
|
33
33
|
plugins: [
|
|
34
34
|
PeerDepsExternalPlugin(),
|
|
35
35
|
resolve({
|
|
36
|
-
exportConditions: ['browser', 'module', 'default'],
|
|
37
36
|
browser: true,
|
|
38
37
|
extensions: ['.mjs', '.js', '.json', '.ts', '.tsx'],
|
|
38
|
+
preferBuiltins: false,
|
|
39
|
+
mainFields: ['module', 'main', 'browser'],
|
|
39
40
|
}),
|
|
40
|
-
commonjs(
|
|
41
|
-
|
|
41
|
+
commonjs({
|
|
42
|
+
include: /node_modules/,
|
|
43
|
+
sourceMap: false,
|
|
44
|
+
}),
|
|
45
|
+
typescript({
|
|
42
46
|
tsconfig: './tsconfig.json',
|
|
43
47
|
transformers: [
|
|
44
48
|
(program) => ({
|
|
45
|
-
before: [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
before: [
|
|
50
|
+
createStyledComponentsTransformer(program, {
|
|
51
|
+
setComponentId: true,
|
|
52
|
+
setDisplayName: true,
|
|
53
|
+
namespace: 'fs-',
|
|
54
|
+
minify: true,
|
|
55
|
+
}),
|
|
56
|
+
],
|
|
51
57
|
}),
|
|
52
|
-
],
|
|
58
|
+
],
|
|
53
59
|
}),
|
|
54
60
|
terser(),
|
|
55
61
|
// postcss({
|
|
@@ -75,22 +81,23 @@ export default [
|
|
|
75
81
|
exclude: 'node_modules/**'
|
|
76
82
|
})
|
|
77
83
|
],
|
|
78
|
-
external:
|
|
79
|
-
|
|
80
|
-
'react
|
|
81
|
-
'react-
|
|
82
|
-
'styled-components',
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
84
|
+
external: (id) =>
|
|
85
|
+
[
|
|
86
|
+
'react',
|
|
87
|
+
'react-dom',
|
|
88
|
+
'styled-components',
|
|
89
|
+
'react-select',
|
|
90
|
+
'rc-picker',
|
|
91
|
+
'@wojtekmaj/react-daterange-picker',
|
|
92
|
+
'approvejs',
|
|
93
|
+
'html-to-text',
|
|
94
|
+
'moment',
|
|
95
|
+
'moment-range',
|
|
96
|
+
'react-datepicker',
|
|
97
|
+
'use-state-with-callback',
|
|
98
|
+
'frimousse',
|
|
92
99
|
'react-select-async-paginate',
|
|
93
|
-
],
|
|
100
|
+
].some((pkg) => id === pkg || id.startsWith(pkg + '/')),
|
|
94
101
|
},
|
|
95
102
|
{
|
|
96
103
|
input: 'src/index.ts',
|
|
@@ -103,7 +103,7 @@ export type TValueContainerPropsWithVariable = ValueContainerProps<TOption, bool
|
|
|
103
103
|
|
|
104
104
|
export type TMultiValuePropsWithVariable = MultiValueProps<TOption, boolean>
|
|
105
105
|
|
|
106
|
-
export type TMultiValue = MultiValue<TOption
|
|
106
|
+
export type TMultiValue = MultiValue<TOption>
|
|
107
107
|
|
|
108
108
|
export type TOptionsOrGroupsWithVariable = OptionsOrGroups<TOption, GroupBase<TOption>>
|
|
109
109
|
|