@varlet/ui 2.3.0 → 2.4.0-alpha.1670569085974

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.
Files changed (67) hide show
  1. package/es/card/Card.js +1 -1
  2. package/es/index.js +10 -0
  3. package/es/link/props.js +0 -4
  4. package/es/loading-bar/LoadingBar.js +32 -0
  5. package/es/loading-bar/index.js +60 -0
  6. package/es/loading-bar/loadingBar.css +1 -0
  7. package/es/loading-bar/props.js +23 -0
  8. package/es/loading-bar/style/index.js +2 -0
  9. package/es/popup/Popup.js +1 -1
  10. package/es/popup/popup.css +1 -1
  11. package/es/popup/props.js +4 -0
  12. package/es/result/Empty.js +23 -0
  13. package/es/result/Error.js +23 -0
  14. package/es/result/Info.js +23 -0
  15. package/es/result/Question.js +23 -0
  16. package/es/result/Result.js +95 -0
  17. package/es/result/ResultSfc.css +0 -0
  18. package/es/result/Success.js +74 -0
  19. package/es/result/Warning.js +23 -0
  20. package/es/result/index.js +8 -0
  21. package/es/result/props.js +24 -0
  22. package/es/result/result.css +1 -0
  23. package/es/result/style/index.js +2 -0
  24. package/es/style.css +1 -1
  25. package/es/style.js +2 -0
  26. package/es/themes/dark/index.js +2 -1
  27. package/es/themes/dark/result.js +9 -0
  28. package/es/umdIndex.js +10 -0
  29. package/es/varlet.esm.js +5078 -4694
  30. package/highlight/attributes.json +24 -0
  31. package/highlight/tags.json +13 -0
  32. package/highlight/web-types.json +85 -1
  33. package/lib/card/Card.js +1 -1
  34. package/lib/index.js +6 -0
  35. package/lib/link/props.js +0 -4
  36. package/lib/loading-bar/LoadingBar.js +48 -0
  37. package/lib/loading-bar/index.js +72 -0
  38. package/lib/loading-bar/loadingBar.css +1 -0
  39. package/lib/loading-bar/props.js +28 -0
  40. package/lib/loading-bar/style/index.js +2 -0
  41. package/lib/popup/Popup.js +1 -1
  42. package/lib/popup/popup.css +1 -1
  43. package/lib/popup/props.js +4 -0
  44. package/lib/result/Empty.js +32 -0
  45. package/lib/result/Error.js +32 -0
  46. package/lib/result/Info.js +32 -0
  47. package/lib/result/Question.js +32 -0
  48. package/lib/result/Result.js +117 -0
  49. package/lib/result/ResultSfc.css +0 -0
  50. package/lib/result/Success.js +86 -0
  51. package/lib/result/Warning.js +32 -0
  52. package/lib/result/index.js +17 -0
  53. package/lib/result/props.js +30 -0
  54. package/lib/result/result.css +1 -0
  55. package/lib/result/style/index.js +2 -0
  56. package/lib/snackbar/style/index.js +1 -1
  57. package/lib/style.css +1 -1
  58. package/lib/style.js +2 -0
  59. package/lib/themes/dark/index.js +3 -1
  60. package/lib/themes/dark/result.js +14 -0
  61. package/package.json +8 -9
  62. package/types/index.d.ts +4 -0
  63. package/types/loadingBar.d.ts +17 -0
  64. package/types/popup.d.ts +1 -0
  65. package/types/result.d.ts +25 -0
  66. package/umd/varlet.js +7 -7
  67. package/CHANGELOG.md +0 -1885
package/es/style.js CHANGED
@@ -31,6 +31,7 @@ import './lazy/style'
31
31
  import './link/style'
32
32
  import './list/style'
33
33
  import './loading/style'
34
+ import './loading-bar/style'
34
35
  import './locale/style'
35
36
  import './menu/style'
36
37
  import './option/style'
@@ -42,6 +43,7 @@ import './pull-refresh/style'
42
43
  import './radio/style'
43
44
  import './radio-group/style'
44
45
  import './rate/style'
46
+ import './result/style'
45
47
  import './ripple/style'
46
48
  import './row/style'
47
49
  import './select/style'
@@ -17,6 +17,7 @@ import picker from './picker';
17
17
  import popup from './popup';
18
18
  import pullRefresh from './pullRefresh';
19
19
  import radio from './radio';
20
+ import result from './result';
20
21
  import select from './select';
21
22
  import skeleton from './skeleton';
22
23
  import steps from './steps';
@@ -41,4 +42,4 @@ export default _extends({
41
42
  '--color-danger': '#ef5350',
42
43
  '--color-disabled': '#404040',
43
44
  '--color-text-disabled': '#757575'
44
- }, button, cell, card, timePicker, datePicker, skeleton, tabs, tab, popup, dialog, actionSheet, chip, badge, uploader, collapse, pullRefresh, switchThemes, steps, pagination, table, input, select, radio, checkbox, divider, picker, appBar, bottomNavigation, bottomNavigationItem, menu);
45
+ }, button, cell, card, timePicker, datePicker, skeleton, tabs, tab, popup, dialog, actionSheet, chip, badge, uploader, collapse, pullRefresh, switchThemes, steps, pagination, table, input, select, radio, checkbox, divider, picker, appBar, bottomNavigation, bottomNavigationItem, menu, result);
@@ -0,0 +1,9 @@
1
+ export default {
2
+ '--result-background': '#303030',
3
+ '--result-title-color': '#ffffff',
4
+ '--result-description-color': '#aaaaaa',
5
+ '--result-question-color': '#7f8e96',
6
+ '--result-question-border-color': 'rgba(151,194,216,0.3)',
7
+ '--result-empty-color': '#adadad',
8
+ '--result-empty-border-color': 'rgba(232,229,229,0.3)'
9
+ };
package/es/umdIndex.js CHANGED
@@ -31,6 +31,7 @@ import Lazy, * as LazyModule from './lazy'
31
31
  import Link, * as LinkModule from './link'
32
32
  import List, * as ListModule from './list'
33
33
  import Loading, * as LoadingModule from './loading'
34
+ import LoadingBar, * as LoadingBarModule from './loading-bar'
34
35
  import Locale, * as LocaleModule from './locale'
35
36
  import Menu, * as MenuModule from './menu'
36
37
  import Option, * as OptionModule from './option'
@@ -42,6 +43,7 @@ import PullRefresh, * as PullRefreshModule from './pull-refresh'
42
43
  import Radio, * as RadioModule from './radio'
43
44
  import RadioGroup, * as RadioGroupModule from './radio-group'
44
45
  import Rate, * as RateModule from './rate'
46
+ import Result, * as ResultModule from './result'
45
47
  import Ripple, * as RippleModule from './ripple'
46
48
  import Row, * as RowModule from './row'
47
49
  import Select, * as SelectModule from './select'
@@ -98,6 +100,7 @@ import './lazy/style'
98
100
  import './link/style'
99
101
  import './list/style'
100
102
  import './loading/style'
103
+ import './loading-bar/style'
101
104
  import './locale/style'
102
105
  import './menu/style'
103
106
  import './option/style'
@@ -109,6 +112,7 @@ import './pull-refresh/style'
109
112
  import './radio/style'
110
113
  import './radio-group/style'
111
114
  import './rate/style'
115
+ import './result/style'
112
116
  import './ripple/style'
113
117
  import './row/style'
114
118
  import './select/style'
@@ -167,6 +171,7 @@ function install(app) {
167
171
  Link.install && app.use(Link)
168
172
  List.install && app.use(List)
169
173
  Loading.install && app.use(Loading)
174
+ LoadingBar.install && app.use(LoadingBar)
170
175
  Locale.install && app.use(Locale)
171
176
  Menu.install && app.use(Menu)
172
177
  Option.install && app.use(Option)
@@ -178,6 +183,7 @@ function install(app) {
178
183
  Radio.install && app.use(Radio)
179
184
  RadioGroup.install && app.use(RadioGroup)
180
185
  Rate.install && app.use(Rate)
186
+ Result.install && app.use(Result)
181
187
  Ripple.install && app.use(Ripple)
182
188
  Row.install && app.use(Row)
183
189
  Select.install && app.use(Select)
@@ -237,6 +243,7 @@ export {
237
243
  Link,
238
244
  List,
239
245
  Loading,
246
+ LoadingBar,
240
247
  Locale,
241
248
  Menu,
242
249
  Option,
@@ -248,6 +255,7 @@ export {
248
255
  Radio,
249
256
  RadioGroup,
250
257
  Rate,
258
+ Result,
251
259
  Ripple,
252
260
  Row,
253
261
  Select,
@@ -307,6 +315,7 @@ export default {
307
315
  Link,
308
316
  List,
309
317
  Loading,
318
+ LoadingBar,
310
319
  Locale,
311
320
  Menu,
312
321
  Option,
@@ -318,6 +327,7 @@ export default {
318
327
  Radio,
319
328
  RadioGroup,
320
329
  Rate,
330
+ Result,
321
331
  Ripple,
322
332
  Row,
323
333
  Select,