@xaypay/tui 0.2.1 → 0.2.3
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.es.js +1536 -558
- package/dist/index.js +1536 -558
- package/package.json +5 -1
- package/rollup.config.mjs +3 -0
- package/tui.config.js +5 -1
- package/vite.config.mjs +0 -36
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaypay/tui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"@babel/core": "^7.24.5",
|
|
19
19
|
"@babel/preset-react": "^7.24.1",
|
|
20
20
|
"@rollup/plugin-babel": "^6.0.4",
|
|
21
|
+
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
|
|
21
22
|
"@rollup/plugin-image": "^3.0.3",
|
|
22
23
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
23
24
|
"@storybook/addon-actions": "^8.0.10",
|
|
@@ -81,5 +82,8 @@
|
|
|
81
82
|
"prettier --write",
|
|
82
83
|
"eslint --max-warnings=0"
|
|
83
84
|
]
|
|
85
|
+
},
|
|
86
|
+
"volta": {
|
|
87
|
+
"node": "20.14.0"
|
|
84
88
|
}
|
|
85
89
|
}
|
package/rollup.config.mjs
CHANGED
|
@@ -3,6 +3,8 @@ import image from '@rollup/plugin-image';
|
|
|
3
3
|
import resolve from '@rollup/plugin-node-resolve'
|
|
4
4
|
import external from 'rollup-plugin-peer-deps-external'
|
|
5
5
|
import postcss from 'rollup-plugin-postcss'
|
|
6
|
+
import dynamicImportVars from '@rollup/plugin-dynamic-import-vars';
|
|
7
|
+
|
|
6
8
|
|
|
7
9
|
export default [
|
|
8
10
|
{
|
|
@@ -20,6 +22,7 @@ export default [
|
|
|
20
22
|
],
|
|
21
23
|
external: ['prop-types', 'classnames', 'lodash','styled-components'],
|
|
22
24
|
plugins: [
|
|
25
|
+
// dynamicImportVars(),
|
|
23
26
|
postcss({
|
|
24
27
|
plugins: [],
|
|
25
28
|
minimize: true,
|
package/tui.config.js
CHANGED
|
@@ -711,7 +711,7 @@ export default {
|
|
|
711
711
|
marginLeft: '10px',
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
// checkedIcon: React.createElement(SvgChecked, { fill: 'green' }),
|
|
714
|
+
// checkedIcon: React.createElement(SvgChecked, { fill: 'green' }),
|
|
715
715
|
// unCheckedIcon: React.createElement(<SvgUnchecked fill="#E00" />),
|
|
716
716
|
},
|
|
717
717
|
// default properties for <Table /> component
|
|
@@ -813,4 +813,8 @@ export default {
|
|
|
813
813
|
font: {...fontObject}
|
|
814
814
|
}
|
|
815
815
|
},
|
|
816
|
+
// default properties for <Form /> component
|
|
817
|
+
FORM: {
|
|
818
|
+
className: ''
|
|
819
|
+
}
|
|
816
820
|
}
|
package/vite.config.mjs
CHANGED
|
@@ -27,42 +27,6 @@ export default defineConfig({
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
alias: { ...filePaths },
|
|
29
29
|
},
|
|
30
|
-
// TODO: remove if unnecessary
|
|
31
|
-
// build: {
|
|
32
|
-
// // Output directory for the production build.
|
|
33
|
-
// outDir: 'dist',
|
|
34
|
-
// // Directory relative to outDir where built files will be served.
|
|
35
|
-
// assetsDir: '',
|
|
36
|
-
// // Inline the index.html's assets. If false, the assets folder will be created.
|
|
37
|
-
// assetsInlineLimit: 4096,
|
|
38
|
-
// // Whether to generate sourcemaps for production builds.
|
|
39
|
-
// sourcemap: false,
|
|
40
|
-
// // Minify the production build using terser.
|
|
41
|
-
// minify: false, // 'terser' or 'esbuild' or false
|
|
42
|
-
// // Specify additional rollup plugins.
|
|
43
|
-
// rollupOptions: {
|
|
44
|
-
// // Externalize certain dependencies, preventing them from being bundled.
|
|
45
|
-
// external: [],
|
|
46
|
-
// input: 'src/index.js',
|
|
47
|
-
// fileName: (format) => {
|
|
48
|
-
|
|
49
|
-
// }
|
|
50
|
-
// // output: {
|
|
51
|
-
// // entryFileNames: `[name].js`,
|
|
52
|
-
// // chunkFileNames: `[name].js`,
|
|
53
|
-
// // assetFileNames: `[name].[ext]`,
|
|
54
|
-
// // }
|
|
55
|
-
// },
|
|
56
|
-
// // lib: {
|
|
57
|
-
// // entry: './src/index.js',
|
|
58
|
-
// // name: 'TUI', // Adjust as needed for library name
|
|
59
|
-
// // fileName: (format) => {
|
|
60
|
-
// // return format === 'cjs' ? `index.js` : `index.${format}.js`
|
|
61
|
-
// // },
|
|
62
|
-
// // formats: ['cjs', 'es'],
|
|
63
|
-
// // }
|
|
64
|
-
// },
|
|
65
|
-
// external: ['prop-types', 'classnames'],
|
|
66
30
|
esbuild: {
|
|
67
31
|
loader: 'jsx',
|
|
68
32
|
include: /src\/.*\.jsx?$/,
|