@kizmann/nano-ui 0.6.15 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/README.md +1 -0
  2. package/demos/overview.html +17 -12
  3. package/dist/nano-ui.css +1 -1
  4. package/dist/nano-ui.js +3 -3
  5. package/dist/nano-ui.js.map +1 -1
  6. package/dist/themes/basic.css +2028 -1
  7. package/dist/themes/flat.css +1805 -1
  8. package/dist/themes/flat.dark.css +1808 -1
  9. package/dist/themes/light.css +2 -0
  10. package/package.json +2 -2
  11. package/postcss.config.js +1 -1
  12. package/src/alert/index.js +5 -0
  13. package/src/alert/index.scss +1 -0
  14. package/src/alert/src/alert/alert.js +128 -0
  15. package/src/alert/src/alert/alert.scss +83 -0
  16. package/src/index.js +1 -2
  17. package/src/index.scss +1 -0
  18. package/src/input-number/src/input-number/input-number.js +9 -1
  19. package/src/preview/src/preview/preview.scss +1 -0
  20. package/themes/light/alert/index.scss +1 -0
  21. package/themes/{flat-dark/form/src/form-group/form-group.scss → light/alert/src/alert/alert.scss} +11 -2
  22. package/themes/{basic → light}/button/index.scss +0 -0
  23. package/themes/{basic → light}/button/src/button/button.scss +0 -0
  24. package/themes/{basic → light}/button/src/button-group/button-group.scss +0 -0
  25. package/themes/{basic → light}/cascader/index.scss +0 -0
  26. package/themes/{basic → light}/cascader/src/cascader/cascader.scss +0 -0
  27. package/themes/{basic → light}/cascader/src/cascader-panel/cascader-panel.scss +0 -0
  28. package/themes/{basic → light}/checkbox/index.scss +0 -0
  29. package/themes/{basic → light}/checkbox/src/checkbox/checkbox.scss +0 -0
  30. package/themes/{basic → light}/checkbox/src/checkbox-group/checkbox-group.scss +0 -0
  31. package/themes/{basic → light}/collapse/index.scss +0 -0
  32. package/themes/{basic → light}/collapse/src/collapse/collapse.scss +0 -0
  33. package/themes/{basic → light}/collapse/src/collapse-item/collapse-item.scss +0 -0
  34. package/themes/{basic → light}/confirm/index.scss +0 -0
  35. package/themes/{basic → light}/confirm/src/confirm/confirm.scss +0 -0
  36. package/themes/{basic → light}/datepicker/index.scss +0 -0
  37. package/themes/{basic → light}/datepicker/src/datepicker/datepicker.scss +0 -0
  38. package/themes/{basic → light}/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -0
  39. package/themes/{basic → light}/demo/index.scss +0 -0
  40. package/themes/{basic → light}/demo/src/demo/demo.scss +0 -0
  41. package/themes/{basic → light}/draggable/index.scss +0 -0
  42. package/themes/{basic → light}/draggable/src/draggrid/draggrid.scss +0 -0
  43. package/themes/{basic → light}/draggable/src/draggrid-item/draggrid-item.scss +0 -0
  44. package/themes/{basic → light}/draggable/src/draghandler/draghandler.scss +0 -0
  45. package/themes/{basic → light}/draggable/src/draglist/draglist.scss +0 -0
  46. package/themes/{basic → light}/draggable/src/draglist-item/draglist-item.scss +0 -0
  47. package/themes/{basic → light}/empty/index.scss +0 -0
  48. package/themes/{basic → light}/empty/src/empty-icon/empty-icon.scss +0 -0
  49. package/themes/{basic → light}/form/index.scss +0 -0
  50. package/themes/{basic → light}/form/src/form/form.scss +0 -0
  51. package/themes/{basic → light}/form/src/form-group/form-group.scss +0 -0
  52. package/themes/{basic → light}/form/src/form-item/form-item.scss +0 -0
  53. package/themes/{basic → light}/index.scss +1 -0
  54. package/themes/{basic → light}/info/index.scss +0 -0
  55. package/themes/{basic → light}/info/src/info/info.scss +0 -0
  56. package/themes/{basic → light}/info/src/info-column/info-column.scss +0 -0
  57. package/themes/{basic → light}/info/src/info-field/info-field.scss +0 -0
  58. package/themes/{basic → light}/input/index.scss +0 -0
  59. package/themes/{basic → light}/input/src/input/input.scss +0 -0
  60. package/themes/{basic → light}/input-number/index.scss +0 -0
  61. package/themes/{basic → light}/input-number/src/input-number/input-number.scss +0 -0
  62. package/themes/{basic → light}/loader/index.scss +0 -0
  63. package/themes/{basic → light}/loader/src/loader/loader.scss +0 -0
  64. package/themes/{basic → light}/map/index.scss +0 -0
  65. package/themes/{basic → light}/map/src/map/map.scss +0 -0
  66. package/themes/{basic → light}/modal/index.scss +0 -0
  67. package/themes/{basic → light}/modal/src/modal/modal.scss +0 -0
  68. package/themes/{basic → light}/notification/index.scss +0 -0
  69. package/themes/{basic → light}/notification/src/notification/notification.scss +0 -0
  70. package/themes/{basic → light}/paginator/index.scss +0 -0
  71. package/themes/{basic → light}/paginator/src/paginator/paginator.scss +0 -0
  72. package/themes/{basic → light}/popover/index.scss +0 -0
  73. package/themes/{basic → light}/popover/src/popover/popover.scss +0 -0
  74. package/themes/{basic → light}/radio/index.scss +0 -0
  75. package/themes/{basic → light}/radio/src/radio/radio.scss +0 -0
  76. package/themes/{basic → light}/radio/src/radio-group/radio-group.scss +0 -0
  77. package/themes/{basic → light}/resizer/index.scss +0 -0
  78. package/themes/{basic → light}/resizer/src/resizer/resizer.scss +0 -0
  79. package/themes/{basic → light}/root/image/empty-default.svg +0 -0
  80. package/themes/{basic → light}/root/image/empty-space.svg +0 -0
  81. package/themes/{basic → light}/root/vars.scss +0 -0
  82. package/themes/{basic → light}/scrollbar/index.scss +0 -0
  83. package/themes/{basic → light}/scrollbar/src/scrollbar/scrollbar.scss +0 -0
  84. package/themes/{basic → light}/select/index.scss +0 -0
  85. package/themes/{basic → light}/select/src/select/select.scss +0 -0
  86. package/themes/{basic → light}/select/src/select-option/select-option.scss +0 -0
  87. package/themes/{basic → light}/switch/index.scss +0 -0
  88. package/themes/{basic → light}/switch/src/switch/switch.scss +0 -0
  89. package/themes/{basic → light}/table/index.scss +0 -0
  90. package/themes/{basic → light}/table/src/table/table.scss +0 -0
  91. package/themes/{basic → light}/table/src/table-cell/table-cell.scss +0 -0
  92. package/themes/{basic → light}/table/src/table-column/table-column.scss +0 -0
  93. package/themes/{basic → light}/table/src/table-filter/table-filter.scss +0 -0
  94. package/themes/{basic → light}/tabs/index.scss +0 -0
  95. package/themes/{basic → light}/tabs/src/tabs/tabs.scss +0 -0
  96. package/themes/{basic → light}/tabs/src/tabs-item/tabs-item.scss +0 -0
  97. package/themes/{basic → light}/textarea/index.scss +0 -0
  98. package/themes/{basic → light}/textarea/src/textarea/textarea.scss +0 -0
  99. package/themes/{basic → light}/timepicker/index.scss +0 -0
  100. package/themes/{basic → light}/timepicker/src/timepicker/timepicker.scss +0 -0
  101. package/themes/{basic → light}/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -0
  102. package/themes/{basic → light}/transfer/index.scss +0 -0
  103. package/themes/{basic → light}/transfer/src/transfer/transfer.scss +0 -0
  104. package/themes/{basic → light}/virtualscroller/index.scss +0 -0
  105. package/themes/{basic → light}/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -0
  106. package/webpack.config.js +18 -52
  107. package/themes/flat/button/index.scss +0 -2
  108. package/themes/flat/button/src/button/button.scss +0 -46
  109. package/themes/flat/button/src/button-group/button-group.scss +0 -5
  110. package/themes/flat/cascader/index.scss +0 -2
  111. package/themes/flat/cascader/src/cascader/cascader.scss +0 -46
  112. package/themes/flat/cascader/src/cascader-panel/cascader-panel.scss +0 -13
  113. package/themes/flat/checkbox/index.scss +0 -2
  114. package/themes/flat/checkbox/src/checkbox/checkbox.scss +0 -44
  115. package/themes/flat/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
  116. package/themes/flat/confirm/index.scss +0 -1
  117. package/themes/flat/confirm/src/confirm/confirm.scss +0 -13
  118. package/themes/flat/datepicker/index.scss +0 -2
  119. package/themes/flat/datepicker/src/datepicker/datepicker.scss +0 -50
  120. package/themes/flat/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
  121. package/themes/flat/demo/index.scss +0 -1
  122. package/themes/flat/demo/src/demo/demo.scss +0 -11
  123. package/themes/flat/draggable/index.scss +0 -7
  124. package/themes/flat/draggable/src/draggrid/draggrid.scss +0 -13
  125. package/themes/flat/draggable/src/draggrid-item/draggrid-item.scss +0 -65
  126. package/themes/flat/draggable/src/draghandler/draghandler.scss +0 -10
  127. package/themes/flat/draggable/src/draglist/draglist.scss +0 -13
  128. package/themes/flat/draggable/src/draglist-item/draglist-item.scss +0 -72
  129. package/themes/flat/empty/index.scss +0 -1
  130. package/themes/flat/empty/src/empty-icon/empty-icon.scss +0 -13
  131. package/themes/flat/form/index.scss +0 -3
  132. package/themes/flat/form/src/form/form.scss +0 -1
  133. package/themes/flat/form/src/form-group/form-group.scss +0 -17
  134. package/themes/flat/form/src/form-item/form-item.scss +0 -9
  135. package/themes/flat/index.scss +0 -31
  136. package/themes/flat/info/index.scss +0 -3
  137. package/themes/flat/info/src/info/info.scss +0 -5
  138. package/themes/flat/info/src/info-column/info-column.scss +0 -5
  139. package/themes/flat/info/src/info-field/info-field.scss +0 -5
  140. package/themes/flat/input/index.scss +0 -1
  141. package/themes/flat/input/src/input/input.scss +0 -38
  142. package/themes/flat/input-number/index.scss +0 -1
  143. package/themes/flat/input-number/src/input-number/input-number.scss +0 -39
  144. package/themes/flat/loader/index.scss +0 -1
  145. package/themes/flat/loader/src/loader/loader.scss +0 -21
  146. package/themes/flat/map/index.scss +0 -1
  147. package/themes/flat/map/src/map/map.scss +0 -1
  148. package/themes/flat/modal/index.scss +0 -1
  149. package/themes/flat/modal/src/modal/modal.scss +0 -51
  150. package/themes/flat/notification/index.scss +0 -1
  151. package/themes/flat/notification/src/notification/notification.scss +0 -24
  152. package/themes/flat/paginator/index.scss +0 -1
  153. package/themes/flat/paginator/src/paginator/paginator.scss +0 -5
  154. package/themes/flat/popover/index.scss +0 -1
  155. package/themes/flat/popover/src/popover/popover.scss +0 -100
  156. package/themes/flat/radio/index.scss +0 -2
  157. package/themes/flat/radio/src/radio/radio.scss +0 -45
  158. package/themes/flat/radio/src/radio-group/radio-group.scss +0 -1
  159. package/themes/flat/resizer/index.scss +0 -1
  160. package/themes/flat/resizer/src/resizer/resizer.scss +0 -5
  161. package/themes/flat/root/image/empty-default.svg +0 -30
  162. package/themes/flat/root/image/empty-space.svg +0 -34
  163. package/themes/flat/root/vars.scss +0 -160
  164. package/themes/flat/scrollbar/index.scss +0 -1
  165. package/themes/flat/scrollbar/src/scrollbar/scrollbar.scss +0 -6
  166. package/themes/flat/select/index.scss +0 -2
  167. package/themes/flat/select/src/select/select.scss +0 -46
  168. package/themes/flat/select/src/select-option/select-option.scss +0 -1
  169. package/themes/flat/switch/index.scss +0 -1
  170. package/themes/flat/switch/src/switch/switch.scss +0 -28
  171. package/themes/flat/table/index.scss +0 -4
  172. package/themes/flat/table/src/table/table.scss +0 -15
  173. package/themes/flat/table/src/table-cell/table-cell.scss +0 -51
  174. package/themes/flat/table/src/table-column/table-column.scss +0 -32
  175. package/themes/flat/table/src/table-filter/table-filter.scss +0 -1
  176. package/themes/flat/tabs/index.scss +0 -2
  177. package/themes/flat/tabs/src/tabs/tabs.scss +0 -21
  178. package/themes/flat/tabs/src/tabs-item/tabs-item.scss +0 -18
  179. package/themes/flat/textarea/index.scss +0 -1
  180. package/themes/flat/textarea/src/textarea/textarea.scss +0 -30
  181. package/themes/flat/timepicker/index.scss +0 -2
  182. package/themes/flat/timepicker/src/timepicker/timepicker.scss +0 -50
  183. package/themes/flat/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
  184. package/themes/flat/transfer/index.scss +0 -1
  185. package/themes/flat/transfer/src/transfer/transfer.scss +0 -20
  186. package/themes/flat/virtualscroller/index.scss +0 -1
  187. package/themes/flat/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
  188. package/themes/flat-dark/button/index.scss +0 -2
  189. package/themes/flat-dark/button/src/button/button.scss +0 -50
  190. package/themes/flat-dark/button/src/button-group/button-group.scss +0 -5
  191. package/themes/flat-dark/cascader/index.scss +0 -2
  192. package/themes/flat-dark/cascader/src/cascader/cascader.scss +0 -46
  193. package/themes/flat-dark/cascader/src/cascader-panel/cascader-panel.scss +0 -13
  194. package/themes/flat-dark/checkbox/index.scss +0 -2
  195. package/themes/flat-dark/checkbox/src/checkbox/checkbox.scss +0 -44
  196. package/themes/flat-dark/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
  197. package/themes/flat-dark/confirm/index.scss +0 -1
  198. package/themes/flat-dark/confirm/src/confirm/confirm.scss +0 -13
  199. package/themes/flat-dark/datepicker/index.scss +0 -2
  200. package/themes/flat-dark/datepicker/src/datepicker/datepicker.scss +0 -50
  201. package/themes/flat-dark/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
  202. package/themes/flat-dark/demo/index.scss +0 -1
  203. package/themes/flat-dark/demo/src/demo/demo.scss +0 -11
  204. package/themes/flat-dark/draggable/index.scss +0 -7
  205. package/themes/flat-dark/draggable/src/draggrid/draggrid.scss +0 -13
  206. package/themes/flat-dark/draggable/src/draggrid-item/draggrid-item.scss +0 -65
  207. package/themes/flat-dark/draggable/src/draghandler/draghandler.scss +0 -10
  208. package/themes/flat-dark/draggable/src/draglist/draglist.scss +0 -13
  209. package/themes/flat-dark/draggable/src/draglist-item/draglist-item.scss +0 -72
  210. package/themes/flat-dark/empty/index.scss +0 -1
  211. package/themes/flat-dark/empty/src/empty-icon/empty-icon.scss +0 -13
  212. package/themes/flat-dark/form/index.scss +0 -3
  213. package/themes/flat-dark/form/src/form/form.scss +0 -1
  214. package/themes/flat-dark/form/src/form-item/form-item.scss +0 -9
  215. package/themes/flat-dark/index.scss +0 -31
  216. package/themes/flat-dark/info/index.scss +0 -3
  217. package/themes/flat-dark/info/src/info/info.scss +0 -5
  218. package/themes/flat-dark/info/src/info-column/info-column.scss +0 -5
  219. package/themes/flat-dark/info/src/info-field/info-field.scss +0 -5
  220. package/themes/flat-dark/input/index.scss +0 -1
  221. package/themes/flat-dark/input/src/input/input.scss +0 -38
  222. package/themes/flat-dark/input-number/index.scss +0 -1
  223. package/themes/flat-dark/input-number/src/input-number/input-number.scss +0 -39
  224. package/themes/flat-dark/loader/index.scss +0 -1
  225. package/themes/flat-dark/loader/src/loader/loader.scss +0 -21
  226. package/themes/flat-dark/map/index.scss +0 -1
  227. package/themes/flat-dark/map/src/map/map.scss +0 -1
  228. package/themes/flat-dark/modal/index.scss +0 -1
  229. package/themes/flat-dark/modal/src/modal/modal.scss +0 -51
  230. package/themes/flat-dark/notification/index.scss +0 -1
  231. package/themes/flat-dark/notification/src/notification/notification.scss +0 -24
  232. package/themes/flat-dark/paginator/index.scss +0 -1
  233. package/themes/flat-dark/paginator/src/paginator/paginator.scss +0 -5
  234. package/themes/flat-dark/popover/index.scss +0 -1
  235. package/themes/flat-dark/popover/src/popover/popover.scss +0 -100
  236. package/themes/flat-dark/radio/index.scss +0 -2
  237. package/themes/flat-dark/radio/src/radio/radio.scss +0 -45
  238. package/themes/flat-dark/radio/src/radio-group/radio-group.scss +0 -1
  239. package/themes/flat-dark/resizer/index.scss +0 -1
  240. package/themes/flat-dark/resizer/src/resizer/resizer.scss +0 -5
  241. package/themes/flat-dark/root/image/empty-default.svg +0 -30
  242. package/themes/flat-dark/root/image/empty-space.svg +0 -34
  243. package/themes/flat-dark/root/vars.scss +0 -160
  244. package/themes/flat-dark/scrollbar/index.scss +0 -1
  245. package/themes/flat-dark/scrollbar/src/scrollbar/scrollbar.scss +0 -6
  246. package/themes/flat-dark/select/index.scss +0 -2
  247. package/themes/flat-dark/select/src/select/select.scss +0 -46
  248. package/themes/flat-dark/select/src/select-option/select-option.scss +0 -1
  249. package/themes/flat-dark/switch/index.scss +0 -1
  250. package/themes/flat-dark/switch/src/switch/switch.scss +0 -28
  251. package/themes/flat-dark/table/index.scss +0 -4
  252. package/themes/flat-dark/table/src/table/table.scss +0 -15
  253. package/themes/flat-dark/table/src/table-cell/table-cell.scss +0 -51
  254. package/themes/flat-dark/table/src/table-column/table-column.scss +0 -32
  255. package/themes/flat-dark/table/src/table-filter/table-filter.scss +0 -1
  256. package/themes/flat-dark/tabs/index.scss +0 -2
  257. package/themes/flat-dark/tabs/src/tabs/tabs.scss +0 -21
  258. package/themes/flat-dark/tabs/src/tabs-item/tabs-item.scss +0 -18
  259. package/themes/flat-dark/textarea/index.scss +0 -1
  260. package/themes/flat-dark/textarea/src/textarea/textarea.scss +0 -30
  261. package/themes/flat-dark/timepicker/index.scss +0 -2
  262. package/themes/flat-dark/timepicker/src/timepicker/timepicker.scss +0 -50
  263. package/themes/flat-dark/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
  264. package/themes/flat-dark/transfer/index.scss +0 -1
  265. package/themes/flat-dark/transfer/src/transfer/transfer.scss +0 -20
  266. package/themes/flat-dark/virtualscroller/index.scss +0 -1
  267. package/themes/flat-dark/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/webpack.config.js CHANGED
@@ -57,8 +57,8 @@ let style = {
57
57
  ]
58
58
  };
59
59
 
60
- let basic = {
61
- entry: ["./themes/basic/index.scss"],
60
+ let light = {
61
+ entry: ["./themes/light/index.scss"],
62
62
  module: {
63
63
  rules: [
64
64
  {
@@ -75,13 +75,13 @@ let basic = {
75
75
  },
76
76
  plugins: [
77
77
  new MiniCssExtractPlugin({
78
- filename: 'basic.css'
78
+ filename: 'light.css'
79
79
  })
80
80
  ]
81
81
  };
82
82
 
83
- let flat = {
84
- entry: ["./themes/flat/index.scss"],
83
+ let dark = {
84
+ entry: ["./themes/dark/index.scss"],
85
85
  module: {
86
86
  rules: [
87
87
  {
@@ -98,30 +98,7 @@ let flat = {
98
98
  },
99
99
  plugins: [
100
100
  new MiniCssExtractPlugin({
101
- filename: 'flat.css'
102
- })
103
- ]
104
- };
105
-
106
- let flatDark = {
107
- entry: ["./themes/flat-dark/index.scss"],
108
- module: {
109
- rules: [
110
- {
111
- test: /\.scss$/,
112
- include: [
113
- path.resolve('themes')
114
- ],
115
- use: [
116
- MiniCssExtractPlugin.loader, 'css-loader', 'postcss-loader', 'sass-loader'
117
- ]
118
- }
119
- ],
120
-
121
- },
122
- plugins: [
123
- new MiniCssExtractPlugin({
124
- filename: 'flat.dark.css'
101
+ filename: 'dark.css'
125
102
  })
126
103
  ]
127
104
  };
@@ -162,36 +139,27 @@ module.exports = function (env, argv) {
162
139
 
163
140
  }, style);
164
141
 
165
- let basicPackage = Object.assign({
166
-
167
- output: {
168
- filename: ".basic.ignore.js",
169
- path: path.resolve(__dirname, "dist/themes"),
170
- }
171
-
172
- }, basic);
173
-
174
- let flatPackage = Object.assign({
142
+ let lightPackage = Object.assign({
175
143
 
176
144
  output: {
177
- filename: ".flat.ignore.js",
145
+ filename: ".light.ignore.js",
178
146
  path: path.resolve(__dirname, "dist/themes"),
179
147
  }
180
148
 
181
- }, flat);
149
+ }, light);
182
150
 
183
- let flatDarkPackage = Object.assign({
151
+ let darkPackage = Object.assign({
184
152
 
185
153
  output: {
186
- filename: ".flat-dark.ignore.js",
154
+ filename: ".dark.ignore.js",
187
155
  path: path.resolve(__dirname, "dist/themes"),
188
156
  }
189
157
 
190
- }, flatDark);
158
+ }, dark);
191
159
 
192
160
  if ( argv.mode === 'development' ) {
193
161
  return [
194
- bundlerPackage, stylePackage, basicPackage, flatPackage, flatDarkPackage
162
+ bundlerPackage, stylePackage, lightPackage, //darkPackage
195
163
  ];
196
164
  }
197
165
 
@@ -201,9 +169,8 @@ module.exports = function (env, argv) {
201
169
 
202
170
  bundlerPackage.plugins.push(loaderOptions);
203
171
  stylePackage.plugins.push(loaderOptions);
204
- basicPackage.plugins.push(loaderOptions);
205
- flatPackage.plugins.push(loaderOptions);
206
- flatDarkPackage.plugins.push(loaderOptions);
172
+ lightPackage.plugins.push(loaderOptions);
173
+ darkPackage.plugins.push(loaderOptions);
207
174
 
208
175
  let terserOptions = {
209
176
  mangle: true
@@ -221,11 +188,10 @@ module.exports = function (env, argv) {
221
188
 
222
189
  bundlerPackage.optimization = optimization;
223
190
  stylePackage.optimization = optimization;
224
- basicPackage.optimization = optimization;
225
- flatPackage.optimization = optimization;
226
- flatDarkPackage.optimization = optimization;
191
+ lightPackage.optimization = optimization;
192
+ darkPackage.optimization = optimization;
227
193
 
228
194
  return [
229
- bundlerPackage, stylePackage, basicPackage, flatPackage, flatDarkPackage
195
+ bundlerPackage, stylePackage, lightPackage, //darkPackage
230
196
  ];
231
197
  }
@@ -1,2 +0,0 @@
1
- @import "./src/button/button";
2
- @import "./src/button-group/button-group";
@@ -1,46 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- @each $color, $values in $colors {
4
-
5
- $-color-base: map_get($values, 'base');
6
- $-color-light: map_get($values, 'light');
7
- $-color-dark: map_get($values, 'dark');
8
-
9
- /**
10
- * Button primary
11
- */
12
-
13
- .n-button--#{$color}:not(.n-button--link) {
14
- color: $color-white;
15
- background: $-color-base;
16
- border-color: $-color-base;
17
- }
18
-
19
- .n-button--#{$color}:not(.n-button--link):hover {
20
- background: $-color-light;
21
- border-color: $-color-light;
22
- }
23
-
24
- .n-button--#{$color}:not(.n-button--link):focus {
25
- background: $-color-dark;
26
- border-color: $-color-dark;
27
- }
28
-
29
- .n-button--#{$color}:not(.n-button--link).n-disabled {
30
- background: $-color-base;
31
- border-color: $-color-base;
32
- }
33
-
34
- .n-button--#{$color}:not(.n-disabled).n-button--link {
35
- color: $-color-base;
36
- }
37
-
38
- .n-button--#{$color}:not(.n-disabled).n-button--link:hover {
39
- color: $-color-light;
40
- }
41
-
42
- .n-button--#{$color}:not(.n-disabled).n-button--link:focus {
43
- color: $-color-dark;
44
- }
45
-
46
- }
@@ -1,5 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-button-group > *:not(:last-child) {
4
- margin-right: 0;
5
- }
@@ -1,2 +0,0 @@
1
- @import "./src/cascader-panel/cascader-panel";
2
- @import "./src/cascader/cascader";
@@ -1,46 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-cascader {
4
- background: $color-gray-05;
5
- //border: 1px solid $color-gray-15;
6
- }
7
-
8
- .n-cascader.n-disabled {
9
- background: rgba($color-gray-15, 0.3);
10
- }
11
-
12
- .n-cascader__clear,
13
- .n-cascader__angle {
14
- color: $color-gray-60;
15
- }
16
-
17
- .n-cascader__clear i {
18
- background: rgba($color-gray-15, 0.6);
19
- }
20
-
21
- .n-cascader__placeholder {
22
- color: rgba($color-black, 0.5);
23
- }
24
-
25
- .n-cascader__body,
26
- .n-cascader__empty {
27
- background: $color-white;
28
- box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
29
- }
30
-
31
- .n-cascader__empty {
32
- color: $color-gray-60;
33
- }
34
-
35
- @each $color, $values in $colors {
36
-
37
- $-color-base: map_get($values, 'base');
38
- $-color-light: map_get($values, 'light');
39
- $-color-dark: map_get($values, 'dark');
40
-
41
- //.n-cascader--#{$color}:not(.n-disabled):hover,
42
- .n-cascader--#{$color}:not(.n-disabled).n-focus {
43
- border-color: $-color-base;
44
- }
45
-
46
- }
@@ -1,13 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-cascader-panel {
4
- border: 1px solid $color-gray-10;
5
- }
6
-
7
- .n-cascader-panel .n-popover-option:not(.n-active) i {
8
- color: $color-gray-40;
9
- }
10
-
11
- .n-cascader-panel__items:not(:last-child) {
12
- border-right: 1px solid $color-gray-10;
13
- }
@@ -1,2 +0,0 @@
1
- @import "./src/checkbox/checkbox";
2
- @import "./src/checkbox-group/checkbox-group";
@@ -1,44 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-checkbox__checkbox {
4
- color: $color-black;
5
- background: rgba($color-gray-20, 0.5);
6
- //border: 1px solid $color-gray-15;
7
- }
8
-
9
- .n-checkbox.n-disabled .n-checkbox__checkbox {
10
- background: rgba($color-gray-25, 0.3);
11
- }
12
-
13
- @each $color, $values in $colors {
14
-
15
- $-color-base: map_get($values, 'base');
16
- $-color-light: map_get($values, 'light');
17
- $-color-dark: map_get($values, 'dark');
18
-
19
- /**
20
- * Button primary
21
- */
22
-
23
- .n-checkbox--#{$color}:not(.n-disabled):hover .n-checkbox__checkbox {
24
- //border-color: $-color-base;
25
- }
26
-
27
- .n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__checkbox,
28
- .n-checkbox--#{$color}.n-intermediate:not(.n-disabled) .n-checkbox__checkbox {
29
- color: $color-white;
30
- background: $-color-base;
31
- border-color: $-color-base;
32
- }
33
-
34
- .n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__checkbox:not(.n-disabled):hover,
35
- .n-checkbox--#{$color}.n-intermediate:not(.n-disabled) .n-checkbox__checkbox:not(.n-disabled):hover {
36
- background: $-color-light;
37
- border-color: $-color-light;
38
- }
39
-
40
- .n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__label {
41
- color: $-color-base;
42
- }
43
-
44
- }
@@ -1 +0,0 @@
1
- @import "../../../root/vars";
@@ -1 +0,0 @@
1
- @import "./src/confirm/confirm";
@@ -1,13 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- @each $color, $values in $colors {
4
-
5
- $-color-base: map_get($values, 'base');
6
- $-color-light: map_get($values, 'light');
7
- $-color-dark: map_get($values, 'dark');
8
-
9
- .n-confirm--#{$color} .n-confirm__icon {
10
- color: $-color-base;
11
- }
12
-
13
- }
@@ -1,2 +0,0 @@
1
- @import "./src/datepicker-panel/datepicker-panel";
2
- @import "./src/datepicker/datepicker";
@@ -1,50 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-datepicker {
4
- background: $color-gray-05;
5
- //border: 1px solid $color-gray-15;
6
- }
7
-
8
- .n-datepicker.n-disabled {
9
- background: rgba($color-gray-15, 0.3);
10
- }
11
-
12
- .n-datepicker__seperator {
13
- color: $color-gray-60;
14
- }
15
-
16
- .n-datepicker__clear,
17
- .n-datepicker__angle {
18
- color: $color-gray-60;
19
- }
20
-
21
- .n-datepicker__clear i {
22
- background: rgba($color-gray-15, 0.6);
23
- }
24
-
25
- .n-datepicker__placeholder {
26
- color: rgba($color-black, 0.5);
27
- }
28
-
29
- .n-datepicker__body,
30
- .n-datepicker__empty {
31
- background: $color-white;
32
- box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
33
- }
34
-
35
- .n-datepicker__empty {
36
- color: $color-gray-60;
37
- }
38
-
39
- @each $color, $values in $colors {
40
-
41
- $-color-base: map_get($values, 'base');
42
- $-color-light: map_get($values, 'light');
43
- $-color-dark: map_get($values, 'dark');
44
-
45
- //.n-datepicker--#{$color}:not(.n-disabled):hover,
46
- .n-datepicker--#{$color}:not(.n-disabled).n-focus {
47
- border-color: $-color-base;
48
- }
49
-
50
- }
@@ -1,44 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-datepicker-panel {
4
- border: 1px solid $color-gray-10;
5
- }
6
-
7
- .n-datepicker-panel__header {
8
- background: $color-gray-05;
9
- border-bottom: 1px solid $color-gray-10;
10
- }
11
-
12
- .n-datepicker-panel__footer {
13
- border-top: 1px solid $color-gray-10;
14
- }
15
-
16
- .n-datepicker-panel__display .n-datepicker-panel__month:hover,
17
- .n-datepicker-panel__display .n-datepicker-panel__year:hover {
18
- background: rgba($color-gray-15, 0.6);
19
- }
20
-
21
- .n-datepicker-panel__dateview .n-datepicker-panel__day.n-arrive:not(.n-selected),
22
- .n-datepicker-panel__dateview .n-datepicker-panel__day.n-depart:not(.n-selected),
23
- .n-datepicker-panel__dateview .n-datepicker-panel__day.n-between:not(.n-selected) {
24
- background: rgba($color-gray-15, 0.6);
25
- }
26
-
27
- .n-datepicker-panel__body .n-datepicker-panel__day:not(.n-current) {
28
- color: $color-gray-40;
29
- }
30
-
31
- @each $color, $values in $colors {
32
-
33
- $-color-base: map_get($values, 'base');
34
- $-color-light: map_get($values, 'light');
35
- $-color-dark: map_get($values, 'dark');
36
-
37
- .n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__day.n-selected,
38
- .n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__month.n-selected,
39
- .n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__year.n-selected {
40
- color: $color-white;
41
- background: $-color-base;
42
- }
43
-
44
- }
@@ -1 +0,0 @@
1
- @import "./src/demo/demo";
@@ -1,11 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-demo {
4
- color: $color-black;
5
- background: $color-white;
6
- }
7
-
8
- .n-demo input,
9
- .n-demo textarea {
10
- color: $color-black;
11
- }
@@ -1,7 +0,0 @@
1
- @import "./src/draghandler/draghandler";
2
-
3
- @import "./src/draglist/draglist";
4
- @import "./src/draglist-item/draglist-item";
5
-
6
- @import "./src/draggrid/draggrid";
7
- @import "./src/draggrid-item/draggrid-item";
@@ -1,13 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- @each $color, $values in $colors {
4
-
5
- $-color-base: map_get($values, 'base');
6
- $-color-light: map_get($values, 'light');
7
- $-color-dark: map_get($values, 'dark');
8
-
9
- .n-draggrid--#{$color}.n-empty.n-dragover {
10
- background: rgba($-color-base, 0.075);
11
- }
12
-
13
- }
@@ -1,65 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-draggrid-item.n-current {
4
- background: rgba($color-gray-35, 0.1);
5
- }
6
-
7
- .n-draggrid-item.n-nodrop {
8
- background: rgba($color-danger, 0.1);
9
- }
10
-
11
- .n-draggrid-item .n-draggrid-item__ellipsis {
12
- color: $color-gray-30;
13
- }
14
-
15
- .n-draggrid-item__checkbox {
16
- background: rgba($color-gray-20, 0.5);
17
- //border: 1px solid $color-gray-15;
18
- }
19
-
20
- .n-draggrid-item.n-disabled .n-draggrid-item__checkbox {
21
- background: rgba($color-gray-25, 0.3);
22
- }
23
-
24
- @each $color, $values in $colors {
25
-
26
- $-color-base: map_get($values, 'base');
27
- $-color-light: map_get($values, 'light');
28
- $-color-dark: map_get($values, 'dark');
29
-
30
- .n-draggrid--#{$color}.n-empty.n-dragover {
31
- background: rgba($-color-base, 0.075);
32
- }
33
-
34
- .n-draggrid--#{$color} .n-draggrid-item.n-dragover {
35
- background: rgba($-color-base, 0.075);
36
- }
37
-
38
- .n-draggrid--#{$color} .n-draggrid-item.n-highlight {
39
- animation: NDraggridItem#{$color} 1s linear infinite;
40
- }
41
-
42
- .n-draggrid--#{$color} .n-draggrid-item.n-selected .n-draggrid-item__checkbox {
43
- color: $color-white;
44
- background: $-color-base;
45
- border-color: $-color-base;
46
- }
47
-
48
- .n-draggrid--#{$color} .n-draggrid-item.n-selected .n-draggrid-item__checkbox:hover {
49
- background: $-color-light;
50
- border-color: $-color-light;
51
- }
52
-
53
- @keyframes NDraggridItem#{$color} {
54
- 0% {
55
- background: rgba($-color-base, 0);
56
- }
57
- 50% {
58
- background: rgba($-color-base, 0.150);
59
- }
60
- 100% {
61
- background: rgba($-color-base, 0);
62
- }
63
- }
64
-
65
- }
@@ -1,10 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-draggable__indicator {
4
- border-bottom: 1px solid $color-primary;
5
- }
6
-
7
- .n-draggable__counter {
8
- color: $color-white;
9
- background: $color-primary;
10
- }
@@ -1,13 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- @each $color, $values in $colors {
4
-
5
- $-color-base: map_get($values, 'base');
6
- $-color-light: map_get($values, 'light');
7
- $-color-dark: map_get($values, 'dark');
8
-
9
- .n-draglist--#{$color}.n-empty.n-dragover {
10
- background: rgba($-color-base, 0.075);
11
- }
12
-
13
- }
@@ -1,72 +0,0 @@
1
- @import "../../../root/vars";
2
-
3
- .n-draglist-item.n-current {
4
- background: rgba($color-gray-35, 0.1);
5
- }
6
-
7
- .n-draglist-item.n-nodrop {
8
- background: rgba($color-danger, 0.1);
9
- }
10
-
11
- .n-draglist-item .n-draglist-item__ellipsis {
12
- color: $color-gray-30;
13
- }
14
-
15
- .n-draglist-item .n-draglist-item__expand {
16
- color: $color-gray-60;
17
- }
18
-
19
- .n-draglist-item__checkbox {
20
- background: rgba($color-gray-20, 0.5);
21
- //border: 1px solid $color-gray-15;
22
- }
23
-
24
- .n-draglist-item.n-disabled .n-draglist-item__checkbox {
25
- background: rgba($color-gray-25, 0.3);
26
- }
27
-
28
- @each $color, $values in $colors {
29
-
30
- $-color-base: map_get($values, 'base');
31
- $-color-light: map_get($values, 'light');
32
- $-color-dark: map_get($values, 'dark');
33
-
34
- .n-draglist--#{$color}.n-empty.n-dragover {
35
- background: rgba($-color-base, 0.075);
36
- }
37
-
38
- .n-draglist--#{$color} .n-draglist-item.n-dragover {
39
- background: rgba($-color-base, 0.075);
40
- }
41
-
42
- .n-draglist--#{$color} .n-draglist-item.n-highlight {
43
- animation: NDraglistItem#{$color} 1s linear infinite;
44
- }
45
-
46
- .n-draglist--#{$color} .n-draglist-item.n-selected .n-draglist-item__checkbox {
47
- color: $color-white;
48
- background: $-color-base;
49
- border-color: $-color-base;
50
- }
51
-
52
- .n-draglist--#{$color} .n-draglist-item .n-draglist-item__checkbox:hover {
53
- //border-color: $-color-light;
54
- }
55
-
56
- .n-draglist--#{$color} .n-draglist-item.n-selected .n-draglist-item__checkbox:hover {
57
- //background: $-color-light;
58
- }
59
-
60
- @keyframes NDraglistItem#{$color} {
61
- 0% {
62
- background: rgba($-color-base, 0);
63
- }
64
- 50% {
65
- background: rgba($-color-base, 0.150);
66
- }
67
- 100% {
68
- background: rgba($-color-base, 0);
69
- }
70
- }
71
-
72
- }
@@ -1 +0,0 @@
1
- @import "./src/empty-icon/empty-icon";