@kizmann/nano-ui 0.8.37 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/bun.lockb +0 -0
  2. package/demos/overview.html +2 -15
  3. package/dist/nano-ui.css +1 -1
  4. package/dist/nano-ui.js +1 -1
  5. package/dist/nano-ui.js.map +1 -1
  6. package/dist/themes/light.css +1 -1
  7. package/docs/README.md +1 -2
  8. package/docs/_sidebar.md +19 -21
  9. package/docs/dist/docs.css +2 -0
  10. package/docs/{data → files/data}/table.md +40 -14
  11. package/docs/files/form/button.md +122 -0
  12. package/docs/{form → files/form}/form.md +14 -0
  13. package/docs/files/form/input.md +90 -0
  14. package/docs/files/form/switch.md +92 -0
  15. package/docs/index.html +163 -44
  16. package/docs/src/scss/docsify/basic/_layout.sass +3 -6
  17. package/docs/src/scss/docsify/syntax.scss +139 -0
  18. package/docs/src/scss/docsify/vue.sass +2 -15
  19. package/docs/src/scss/index.scss +428 -16
  20. package/package.json +1 -1
  21. package/src/button/src/button/button.js +1 -9
  22. package/src/mixins/src/ctor.js +0 -6
  23. package/src/radio/src/radio-group/radio-group.js +1 -1
  24. package/src/root/vars.scss +10 -10
  25. package/src/table/src/table/table.scss +0 -1
  26. package/src/tags/src/tags-item/tags-item.js +17 -1
  27. package/themes/light/root/vars.scss +10 -10
  28. package/themes/light/switch/src/switch/switch.scss +1 -1
  29. package/themes/light/table/src/table/table.scss +1 -1
  30. package/themes/light/tags/src/tags-item/tags-item.scss +16 -0
  31. package/webpack.config.js +13 -13
  32. package/dist/themes/basic.css +0 -2029
  33. package/dist/themes/flat.css +0 -1806
  34. package/dist/themes/flat.dark.css +0 -1809
  35. package/docs/dist/index.css +0 -6977
  36. package/docs/form/button.md +0 -299
  37. package/docs/form/input.md +0 -205
  38. package/docs/form/switch.md +0 -166
  39. /package/docs/{data → files/data}/draggable.md +0 -0
  40. /package/docs/{data → files/data}/map.md +0 -0
  41. /package/docs/{data → files/data}/paginator.md +0 -0
  42. /package/docs/{data → files/data}/virtualscroller.md +0 -0
  43. /package/docs/{form → files/form}/cascader.md +0 -0
  44. /package/docs/{form → files/form}/checkbox.md +0 -0
  45. /package/docs/{form → files/form}/datepicker.md +0 -0
  46. /package/docs/{form → files/form}/radio.md +0 -0
  47. /package/docs/{form → files/form}/select.md +0 -0
  48. /package/docs/{form → files/form}/textarea.md +0 -0
  49. /package/docs/{form → files/form}/timepicker.md +0 -0
  50. /package/docs/{form → files/form}/transfer.md +0 -0
  51. /package/docs/{others → files/others}/config.md +0 -0
  52. /package/docs/{others → files/others}/confirm.md +0 -0
  53. /package/docs/{others → files/others}/loader.md +0 -0
  54. /package/docs/{others → files/others}/modal.md +0 -0
  55. /package/docs/{others → files/others}/notification.md +0 -0
  56. /package/docs/{others → files/others}/popover.md +0 -0
  57. /package/docs/{others → files/others}/resizer.md +0 -0
  58. /package/docs/{others → files/others}/scrollbar.md +0 -0
  59. /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 dark = {
84
- entry: ["./themes/dark/index.scss"],
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('themes')
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: 'dark.css'
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: ".light.ignore.js",
145
+ filename: ".ignore.js",
146
146
  path: path.resolve(__dirname, "dist/themes"),
147
147
  }
148
148
 
149
149
  }, light);
150
150
 
151
- let darkPackage = Object.assign({
151
+ let docsPackage = Object.assign({
152
152
 
153
153
  output: {
154
- filename: ".dark.ignore.js",
155
- path: path.resolve(__dirname, "dist/themes"),
154
+ filename: "./dist/.ignore.js",
155
+ path: path.resolve(__dirname, "docs"),
156
156
  }
157
157
 
158
- }, dark);
158
+ }, docs);
159
159
 
160
160
  if ( argv.mode === 'development' ) {
161
161
  return [
162
- bundlerPackage, stylePackage, lightPackage, //darkPackage
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
- darkPackage.plugins.push(loaderOptions);
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
- darkPackage.optimization = optimization;
192
+ docsPackage.optimization = optimization;
193
193
 
194
194
  return [
195
- bundlerPackage, stylePackage, lightPackage, //darkPackage
195
+ bundlerPackage, stylePackage, lightPackage, docsPackage
196
196
  ];
197
197
  }