@kizmann/nano-ui 0.8.36 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/bun.lockb +0 -0
- package/demos/overview.html +2 -15
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +1 -1
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/light.css +1 -1
- package/docs/README.md +1 -2
- package/docs/_sidebar.md +19 -21
- package/docs/dist/docs.css +2 -0
- package/docs/{data → files/data}/table.md +40 -14
- package/docs/files/form/button.md +122 -0
- package/docs/{form → files/form}/form.md +14 -0
- package/docs/files/form/input.md +90 -0
- package/docs/files/form/switch.md +92 -0
- package/docs/index.html +163 -44
- package/docs/src/scss/docsify/basic/_layout.sass +3 -6
- package/docs/src/scss/docsify/syntax.scss +139 -0
- package/docs/src/scss/docsify/vue.sass +2 -15
- package/docs/src/scss/index.scss +428 -16
- package/package.json +1 -1
- package/src/button/src/button/button.js +1 -9
- package/src/datetimepicker/src/datetimepicker/datetimepicker.js +8 -0
- package/src/mixins/src/ctor.js +0 -6
- package/src/radio/src/radio-group/radio-group.js +1 -1
- package/src/root/vars.scss +10 -10
- package/src/table/src/table/table.scss +0 -1
- package/src/tags/src/tags-item/tags-item.js +17 -1
- package/themes/light/root/vars.scss +10 -10
- package/themes/light/switch/src/switch/switch.scss +1 -1
- package/themes/light/table/src/table/table.scss +1 -1
- package/themes/light/tags/src/tags-item/tags-item.scss +16 -0
- package/webpack.config.js +13 -13
- package/dist/themes/basic.css +0 -2029
- package/dist/themes/flat.css +0 -1806
- package/dist/themes/flat.dark.css +0 -1809
- package/docs/dist/index.css +0 -6977
- package/docs/form/button.md +0 -299
- package/docs/form/input.md +0 -205
- package/docs/form/switch.md +0 -166
- /package/docs/{data → files/data}/draggable.md +0 -0
- /package/docs/{data → files/data}/map.md +0 -0
- /package/docs/{data → files/data}/paginator.md +0 -0
- /package/docs/{data → files/data}/virtualscroller.md +0 -0
- /package/docs/{form → files/form}/cascader.md +0 -0
- /package/docs/{form → files/form}/checkbox.md +0 -0
- /package/docs/{form → files/form}/datepicker.md +0 -0
- /package/docs/{form → files/form}/radio.md +0 -0
- /package/docs/{form → files/form}/select.md +0 -0
- /package/docs/{form → files/form}/textarea.md +0 -0
- /package/docs/{form → files/form}/timepicker.md +0 -0
- /package/docs/{form → files/form}/transfer.md +0 -0
- /package/docs/{others → files/others}/config.md +0 -0
- /package/docs/{others → files/others}/confirm.md +0 -0
- /package/docs/{others → files/others}/loader.md +0 -0
- /package/docs/{others → files/others}/modal.md +0 -0
- /package/docs/{others → files/others}/notification.md +0 -0
- /package/docs/{others → files/others}/popover.md +0 -0
- /package/docs/{others → files/others}/resizer.md +0 -0
- /package/docs/{others → files/others}/scrollbar.md +0 -0
- /package/docs/{others → files/others}/tabs.md +0 -0
package/webpack.config.js
CHANGED
@@ -80,14 +80,14 @@ let light = {
|
|
80
80
|
]
|
81
81
|
};
|
82
82
|
|
83
|
-
let
|
84
|
-
entry: ["./
|
83
|
+
let docs = {
|
84
|
+
entry: ["./docs/src/scss/index.scss"],
|
85
85
|
module: {
|
86
86
|
rules: [
|
87
87
|
{
|
88
88
|
test: /\.scss$/,
|
89
89
|
include: [
|
90
|
-
path.resolve('
|
90
|
+
path.resolve('./docs/src')
|
91
91
|
],
|
92
92
|
use: [
|
93
93
|
MiniCssExtractPlugin.loader, 'css-loader', 'postcss-loader', 'sass-loader'
|
@@ -98,7 +98,7 @@ let dark = {
|
|
98
98
|
},
|
99
99
|
plugins: [
|
100
100
|
new MiniCssExtractPlugin({
|
101
|
-
filename: '
|
101
|
+
filename: './dist/docs.css'
|
102
102
|
})
|
103
103
|
]
|
104
104
|
};
|
@@ -142,24 +142,24 @@ module.exports = function (env, argv) {
|
|
142
142
|
let lightPackage = Object.assign({
|
143
143
|
|
144
144
|
output: {
|
145
|
-
filename: ".
|
145
|
+
filename: ".ignore.js",
|
146
146
|
path: path.resolve(__dirname, "dist/themes"),
|
147
147
|
}
|
148
148
|
|
149
149
|
}, light);
|
150
150
|
|
151
|
-
let
|
151
|
+
let docsPackage = Object.assign({
|
152
152
|
|
153
153
|
output: {
|
154
|
-
filename: "
|
155
|
-
path: path.resolve(__dirname, "
|
154
|
+
filename: "./dist/.ignore.js",
|
155
|
+
path: path.resolve(__dirname, "docs"),
|
156
156
|
}
|
157
157
|
|
158
|
-
},
|
158
|
+
}, docs);
|
159
159
|
|
160
160
|
if ( argv.mode === 'development' ) {
|
161
161
|
return [
|
162
|
-
bundlerPackage, stylePackage, lightPackage,
|
162
|
+
bundlerPackage, stylePackage, lightPackage, docsPackage
|
163
163
|
];
|
164
164
|
}
|
165
165
|
|
@@ -170,7 +170,7 @@ module.exports = function (env, argv) {
|
|
170
170
|
bundlerPackage.plugins.push(loaderOptions);
|
171
171
|
stylePackage.plugins.push(loaderOptions);
|
172
172
|
lightPackage.plugins.push(loaderOptions);
|
173
|
-
|
173
|
+
docsPackage.plugins.push(loaderOptions);
|
174
174
|
|
175
175
|
let terserOptions = {
|
176
176
|
mangle: true
|
@@ -189,9 +189,9 @@ module.exports = function (env, argv) {
|
|
189
189
|
bundlerPackage.optimization = optimization;
|
190
190
|
stylePackage.optimization = optimization;
|
191
191
|
lightPackage.optimization = optimization;
|
192
|
-
|
192
|
+
docsPackage.optimization = optimization;
|
193
193
|
|
194
194
|
return [
|
195
|
-
bundlerPackage, stylePackage, lightPackage,
|
195
|
+
bundlerPackage, stylePackage, lightPackage, docsPackage
|
196
196
|
];
|
197
197
|
}
|