@varlet/ui 1.26.9 → 1.27.0-alpha.1649265140569

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 (247) hide show
  1. package/README.en-US.md +1 -1
  2. package/README.md +1 -1
  3. package/es/action-sheet/ActionSheet.js +29 -27
  4. package/es/app-bar/AppBar.js +32 -27
  5. package/es/back-top/BackTop.js +9 -2
  6. package/es/badge/Badge.js +22 -14
  7. package/es/bottom-navigation/BottomNavigation.js +204 -0
  8. package/es/bottom-navigation/BottomNavigationSfc.css +0 -0
  9. package/es/bottom-navigation/BottomNavigationSfc.less +0 -0
  10. package/es/bottom-navigation/bottomNavigation.css +1 -0
  11. package/es/bottom-navigation/bottomNavigation.less +51 -0
  12. package/es/bottom-navigation/index.js +8 -0
  13. package/es/bottom-navigation/props.js +40 -0
  14. package/es/bottom-navigation/provide.js +17 -0
  15. package/es/bottom-navigation/style/index.js +4 -0
  16. package/es/bottom-navigation/style/less.js +4 -0
  17. package/es/bottom-navigation-item/BottomNavigationItem.js +122 -0
  18. package/es/bottom-navigation-item/BottomNavigationItemSfc.css +0 -0
  19. package/es/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
  20. package/es/bottom-navigation-item/bottomNavigationItem.css +1 -0
  21. package/es/bottom-navigation-item/bottomNavigationItem.less +78 -0
  22. package/es/bottom-navigation-item/index.js +8 -0
  23. package/es/bottom-navigation-item/props.js +22 -0
  24. package/es/bottom-navigation-item/provide.js +21 -0
  25. package/es/bottom-navigation-item/style/index.js +6 -0
  26. package/es/bottom-navigation-item/style/less.js +6 -0
  27. package/es/button/Button.js +12 -5
  28. package/es/card/Card.js +33 -28
  29. package/es/cell/Cell.js +26 -15
  30. package/es/checkbox/Checkbox.js +28 -26
  31. package/es/checkbox-group/CheckboxGroup.js +21 -25
  32. package/es/chip/Chip.js +16 -7
  33. package/es/chip/chip.css +1 -1
  34. package/es/chip/chip.less +11 -11
  35. package/es/col/Col.js +12 -5
  36. package/es/collapse/Collapse.js +15 -12
  37. package/es/collapse-item/CollapseItem.js +31 -30
  38. package/es/collapse-item/collapseItem.css +1 -1
  39. package/es/collapse-item/collapseItem.less +16 -16
  40. package/es/countdown/Countdown.js +14 -11
  41. package/es/counter/Counter.js +30 -27
  42. package/es/date-picker/DatePicker.js +28 -23
  43. package/es/date-picker/date-picker.css +1 -1
  44. package/es/date-picker/date-picker.less +22 -20
  45. package/es/date-picker/src/day-picker-panel.js +41 -34
  46. package/es/date-picker/src/month-picker-panel.js +27 -21
  47. package/es/date-picker/src/panel-header.js +16 -11
  48. package/es/date-picker/src/year-picker-panel.js +17 -9
  49. package/es/dialog/Dialog.js +36 -40
  50. package/es/divider/Divider.js +16 -12
  51. package/es/form/Form.js +11 -8
  52. package/es/form-details/FormDetails.js +27 -22
  53. package/es/icon/Icon.js +8 -1
  54. package/es/image/Image.js +19 -12
  55. package/es/image-preview/ImagePreview.js +35 -34
  56. package/es/index-anchor/IndexAnchor.js +8 -1
  57. package/es/index-bar/IndexBar.js +22 -20
  58. package/es/index.js +10 -0
  59. package/es/input/Input.js +45 -44
  60. package/es/lazy/index.js +2 -1
  61. package/es/less.js +2 -0
  62. package/es/list/List.js +39 -38
  63. package/es/loading/Loading.js +31 -23
  64. package/es/loading/loading.css +1 -1
  65. package/es/loading/loading.less +32 -32
  66. package/es/menu/Menu.js +12 -10
  67. package/es/option/Option.js +16 -11
  68. package/es/pagination/Pagination.js +34 -44
  69. package/es/pagination/pagination.css +1 -1
  70. package/es/pagination/pagination.less +8 -8
  71. package/es/picker/Picker.js +51 -47
  72. package/es/popup/Popup.js +9 -5
  73. package/es/progress/Progress.js +44 -35
  74. package/es/progress/progress.css +1 -1
  75. package/es/progress/progress.less +12 -12
  76. package/es/pull-refresh/PullRefresh.js +13 -10
  77. package/es/radio/Radio.js +25 -25
  78. package/es/radio-group/RadioGroup.js +19 -19
  79. package/es/rate/Rate.js +27 -25
  80. package/es/ripple/index.js +6 -2
  81. package/es/row/Row.js +11 -4
  82. package/es/select/Select.js +53 -54
  83. package/es/skeleton/Skeleton.js +70 -81
  84. package/es/slider/Slider.js +44 -40
  85. package/es/slider/slider.css +1 -1
  86. package/es/slider/slider.less +5 -5
  87. package/es/snackbar/Snackbar.js +9 -5
  88. package/es/snackbar/core.js +20 -26
  89. package/es/snackbar/snackbar.css +1 -1
  90. package/es/snackbar/snackbar.less +66 -68
  91. package/es/snackbar/style/index.js +1 -1
  92. package/es/snackbar/style/less.js +1 -1
  93. package/es/space/Space.js +8 -3
  94. package/es/step/Step.js +25 -23
  95. package/es/step/step.css +1 -1
  96. package/es/step/step.less +10 -10
  97. package/es/steps/Steps.js +12 -5
  98. package/es/sticky/Sticky.js +14 -7
  99. package/es/style-provider/StyleProvider.js +6 -2
  100. package/es/style.css +1 -1
  101. package/es/style.js +2 -0
  102. package/es/swipe/Swipe.js +22 -16
  103. package/es/swipe-item/SwipeItem.js +9 -4
  104. package/es/switch/Switch.js +25 -23
  105. package/es/switch/switch.css +1 -1
  106. package/es/switch/switch.less +2 -2
  107. package/es/tab/Tab.js +8 -1
  108. package/es/tab-item/TabItem.js +8 -1
  109. package/es/table/Table.js +27 -20
  110. package/es/tabs/Tabs.js +23 -14
  111. package/es/tabs-items/TabsItems.js +10 -5
  112. package/es/themes/dark/bottomNavigation.js +4 -0
  113. package/es/themes/dark/bottomNavigationItem.js +3 -0
  114. package/es/themes/dark/index.js +3 -1
  115. package/es/time-picker/TimePicker.js +47 -38
  116. package/es/time-picker/clock.js +26 -22
  117. package/es/time-picker/timePicker.css +1 -1
  118. package/es/time-picker/timePicker.less +11 -11
  119. package/es/umdIndex.js +10 -0
  120. package/es/uploader/Uploader.js +62 -57
  121. package/es/utils/components.js +35 -0
  122. package/es/varlet.esm.js +2093 -1504
  123. package/highlight/attributes.json +48 -0
  124. package/highlight/tags.json +20 -0
  125. package/highlight/web-types.json +155 -1
  126. package/lib/action-sheet/ActionSheet.js +30 -26
  127. package/lib/app-bar/AppBar.js +31 -24
  128. package/lib/back-top/BackTop.js +11 -2
  129. package/lib/badge/Badge.js +23 -13
  130. package/lib/bottom-navigation/BottomNavigation.js +221 -0
  131. package/lib/bottom-navigation/BottomNavigationSfc.css +0 -0
  132. package/lib/bottom-navigation/BottomNavigationSfc.less +0 -0
  133. package/lib/bottom-navigation/bottomNavigation.css +1 -0
  134. package/lib/bottom-navigation/bottomNavigation.less +51 -0
  135. package/lib/bottom-navigation/index.js +17 -0
  136. package/lib/bottom-navigation/props.js +45 -0
  137. package/lib/bottom-navigation/provide.js +27 -0
  138. package/lib/bottom-navigation/style/index.js +4 -0
  139. package/lib/bottom-navigation/style/less.js +4 -0
  140. package/lib/bottom-navigation-item/BottomNavigationItem.js +140 -0
  141. package/lib/bottom-navigation-item/BottomNavigationItemSfc.css +0 -0
  142. package/lib/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
  143. package/lib/bottom-navigation-item/bottomNavigationItem.css +1 -0
  144. package/lib/bottom-navigation-item/bottomNavigationItem.less +78 -0
  145. package/lib/bottom-navigation-item/index.js +17 -0
  146. package/lib/bottom-navigation-item/props.js +27 -0
  147. package/lib/bottom-navigation-item/provide.js +28 -0
  148. package/lib/bottom-navigation-item/style/index.js +6 -0
  149. package/lib/bottom-navigation-item/style/less.js +6 -0
  150. package/lib/button/Button.js +13 -4
  151. package/lib/card/Card.js +34 -27
  152. package/lib/cell/Cell.js +26 -13
  153. package/lib/checkbox/Checkbox.js +26 -23
  154. package/lib/checkbox-group/CheckboxGroup.js +19 -22
  155. package/lib/chip/Chip.js +18 -7
  156. package/lib/chip/chip.css +1 -1
  157. package/lib/chip/chip.less +11 -11
  158. package/lib/col/Col.js +14 -5
  159. package/lib/collapse/Collapse.js +15 -10
  160. package/lib/collapse-item/CollapseItem.js +31 -28
  161. package/lib/collapse-item/collapseItem.css +1 -1
  162. package/lib/collapse-item/collapseItem.less +16 -16
  163. package/lib/countdown/Countdown.js +14 -10
  164. package/lib/counter/Counter.js +29 -26
  165. package/lib/date-picker/DatePicker.js +30 -23
  166. package/lib/date-picker/date-picker.css +1 -1
  167. package/lib/date-picker/date-picker.less +22 -20
  168. package/lib/date-picker/src/day-picker-panel.js +41 -32
  169. package/lib/date-picker/src/month-picker-panel.js +27 -19
  170. package/lib/date-picker/src/panel-header.js +16 -9
  171. package/lib/date-picker/src/year-picker-panel.js +19 -9
  172. package/lib/dialog/Dialog.js +36 -38
  173. package/lib/divider/Divider.js +16 -10
  174. package/lib/form/Form.js +11 -6
  175. package/lib/form-details/FormDetails.js +27 -20
  176. package/lib/icon/Icon.js +10 -1
  177. package/lib/image/Image.js +20 -11
  178. package/lib/image-preview/ImagePreview.js +35 -33
  179. package/lib/index-anchor/IndexAnchor.js +10 -1
  180. package/lib/index-bar/IndexBar.js +24 -20
  181. package/lib/index.js +6 -0
  182. package/lib/input/Input.js +45 -43
  183. package/lib/lazy/index.js +3 -1
  184. package/lib/less.js +2 -0
  185. package/lib/list/List.js +39 -36
  186. package/lib/loading/Loading.js +33 -23
  187. package/lib/loading/loading.css +1 -1
  188. package/lib/loading/loading.less +32 -32
  189. package/lib/menu/Menu.js +12 -9
  190. package/lib/option/Option.js +16 -9
  191. package/lib/pagination/Pagination.js +36 -44
  192. package/lib/pagination/pagination.css +1 -1
  193. package/lib/pagination/pagination.less +8 -8
  194. package/lib/picker/Picker.js +51 -46
  195. package/lib/popup/Popup.js +9 -4
  196. package/lib/progress/Progress.js +45 -34
  197. package/lib/progress/progress.css +1 -1
  198. package/lib/progress/progress.less +12 -12
  199. package/lib/pull-refresh/PullRefresh.js +14 -10
  200. package/lib/radio/Radio.js +23 -22
  201. package/lib/radio-group/RadioGroup.js +17 -16
  202. package/lib/rate/Rate.js +27 -24
  203. package/lib/ripple/index.js +7 -2
  204. package/lib/row/Row.js +12 -3
  205. package/lib/select/Select.js +53 -53
  206. package/lib/skeleton/Skeleton.js +69 -78
  207. package/lib/slider/Slider.js +42 -38
  208. package/lib/slider/slider.css +1 -1
  209. package/lib/slider/slider.less +5 -5
  210. package/lib/snackbar/Snackbar.js +9 -4
  211. package/lib/snackbar/core.js +20 -25
  212. package/lib/snackbar/snackbar.css +1 -1
  213. package/lib/snackbar/snackbar.less +66 -68
  214. package/lib/space/Space.js +9 -3
  215. package/lib/step/Step.js +26 -22
  216. package/lib/step/step.css +1 -1
  217. package/lib/step/step.less +10 -10
  218. package/lib/steps/Steps.js +13 -4
  219. package/lib/sticky/Sticky.js +15 -6
  220. package/lib/style-provider/StyleProvider.js +8 -2
  221. package/lib/style.css +1 -1
  222. package/lib/style.js +2 -0
  223. package/lib/swipe/Swipe.js +23 -16
  224. package/lib/swipe-item/SwipeItem.js +10 -3
  225. package/lib/switch/Switch.js +23 -20
  226. package/lib/switch/switch.css +1 -1
  227. package/lib/switch/switch.less +2 -2
  228. package/lib/tab/Tab.js +10 -1
  229. package/lib/tab-item/TabItem.js +10 -1
  230. package/lib/table/Table.js +27 -18
  231. package/lib/tabs/Tabs.js +25 -14
  232. package/lib/tabs-items/TabsItems.js +11 -4
  233. package/lib/themes/dark/bottomNavigation.js +9 -0
  234. package/lib/themes/dark/bottomNavigationItem.js +8 -0
  235. package/lib/themes/dark/index.js +5 -1
  236. package/lib/time-picker/TimePicker.js +49 -38
  237. package/lib/time-picker/clock.js +26 -20
  238. package/lib/time-picker/timePicker.css +1 -1
  239. package/lib/time-picker/timePicker.less +11 -11
  240. package/lib/uploader/Uploader.js +60 -55
  241. package/lib/utils/components.js +39 -0
  242. package/package.json +5 -5
  243. package/types/bottomNavigation.d.ts +19 -0
  244. package/types/bottomNavigationItem.d.ts +16 -0
  245. package/types/global.d.ts +2 -0
  246. package/types/index.d.ts +2 -0
  247. package/umd/varlet.js +4 -4
@@ -14,24 +14,29 @@ var _props = require("./props");
14
14
 
15
15
  var _shared = require("../utils/shared");
16
16
 
17
+ var _components = require("../utils/components");
18
+
17
19
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
18
20
 
19
21
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
20
22
 
21
23
  var SWIPE_DELAY = 250;
22
24
  var SWIPE_DISTANCE = 20;
25
+ var {
26
+ n,
27
+ classes
28
+ } = (0, _components.createNamespace)('swipe');
23
29
 
24
30
  var _withScopeId = n => ((0, _vue.pushScopeId)(""), n = n(), (0, _vue.popScopeId)(), n);
25
31
 
26
- var _hoisted_1 = {
27
- class: "var-swipe",
28
- ref: "swipeEl"
29
- };
30
- var _hoisted_2 = ["onClick"];
32
+ var _hoisted_1 = ["onClick"];
31
33
 
32
34
  function render(_ctx, _cache) {
33
- return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", _hoisted_1, [(0, _vue.createElementVNode)("div", {
34
- class: (0, _vue.normalizeClass)(["var-swipe__track", [_ctx.vertical ? 'var-swipe--vertical' : null]]),
35
+ return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
36
+ class: (0, _vue.normalizeClass)(_ctx.n()),
37
+ ref: "swipeEl"
38
+ }, [(0, _vue.createElementVNode)("div", {
39
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('track'), [_ctx.vertical, _ctx.n('--vertical')])),
35
40
  style: (0, _vue.normalizeStyle)({
36
41
  width: !_ctx.vertical ? _ctx.trackSize + "px" : undefined,
37
42
  height: _ctx.vertical ? _ctx.trackSize + "px" : undefined,
@@ -54,10 +59,10 @@ function render(_ctx, _cache) {
54
59
  length: _ctx.length
55
60
  }, () => [_ctx.indicator && _ctx.length ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
56
61
  key: 0,
57
- class: (0, _vue.normalizeClass)(["var-swipe__indicators", [_ctx.vertical ? 'var-swipe--indicators-vertical' : null]])
62
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicators'), [_ctx.vertical, _ctx.n('--indicators-vertical')]))
58
63
  }, [((0, _vue.openBlock)(true), (0, _vue.createElementBlock)(_vue.Fragment, null, (0, _vue.renderList)(_ctx.length, (l, idx) => {
59
64
  return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
60
- class: (0, _vue.normalizeClass)(["var-swipe__indicator", [_ctx.index === idx ? 'var-swipe--indicator-active' : null, _ctx.vertical ? 'var-swipe--indicator-vertical' : null]]),
65
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicator'), [_ctx.index === idx, _ctx.n('--indicator-active')], [_ctx.vertical, _ctx.n('--indicator-vertical')])),
61
66
  style: (0, _vue.normalizeStyle)({
62
67
  background: _ctx.indicatorColor
63
68
  }),
@@ -65,13 +70,13 @@ function render(_ctx, _cache) {
65
70
  onClick: $event => _ctx.to(idx)
66
71
  }, null, 14
67
72
  /* CLASS, STYLE, PROPS */
68
- , _hoisted_2);
73
+ , _hoisted_1);
69
74
  }), 128
70
75
  /* KEYED_FRAGMENT */
71
76
  ))], 2
72
77
  /* CLASS */
73
- )) : (0, _vue.createCommentVNode)("v-if", true)])], 512
74
- /* NEED_PATCH */
78
+ )) : (0, _vue.createCommentVNode)("v-if", true)])], 2
79
+ /* CLASS */
75
80
  );
76
81
  }
77
82
 
@@ -195,7 +200,7 @@ var _default = (0, _vue.defineComponent)({
195
200
 
196
201
  (0, _elements.nextTickFrame)(() => {
197
202
  lockDuration.value = false;
198
- fn == null ? void 0 : fn();
203
+ (0, _components.call)(fn);
199
204
  });
200
205
  };
201
206
 
@@ -303,7 +308,7 @@ var _default = (0, _vue.defineComponent)({
303
308
  var prevIndex = index.value;
304
309
  index.value = swipeIndexToIndex(swipeIndex);
305
310
  startAutoplay();
306
- prevIndex !== index.value && (onChange == null ? void 0 : onChange(index.value));
311
+ prevIndex !== index.value && (0, _components.call)(onChange, index.value);
307
312
  }; // expose
308
313
 
309
314
 
@@ -333,7 +338,7 @@ var _default = (0, _vue.defineComponent)({
333
338
  } = props;
334
339
  var currentIndex = index.value;
335
340
  index.value = boundaryIndex(currentIndex + 1);
336
- onChange == null ? void 0 : onChange(index.value);
341
+ (0, _components.call)(onChange, index.value);
337
342
  fixPosition(() => {
338
343
  if (currentIndex === length.value - 1 && loop) {
339
344
  findSwipeItem(0).setTranslate(trackSize.value);
@@ -359,7 +364,7 @@ var _default = (0, _vue.defineComponent)({
359
364
  } = props;
360
365
  var currentIndex = index.value;
361
366
  index.value = boundaryIndex(currentIndex - 1);
362
- onChange == null ? void 0 : onChange(index.value);
367
+ (0, _components.call)(onChange, index.value);
363
368
  fixPosition(() => {
364
369
  if (currentIndex === 0 && loop) {
365
370
  findSwipeItem(length.value - 1).setTranslate(-trackSize.value);
@@ -406,6 +411,8 @@ var _default = (0, _vue.defineComponent)({
406
411
  stopAutoplay();
407
412
  });
408
413
  return {
414
+ n,
415
+ classes,
409
416
  length,
410
417
  index,
411
418
  swipeEl,
@@ -8,16 +8,22 @@ var _vue = require("vue");
8
8
 
9
9
  var _provide = require("./provide");
10
10
 
11
+ var _components = require("../utils/components");
12
+
13
+ var {
14
+ n
15
+ } = (0, _components.createNamespace)('swipe-item');
16
+
11
17
  function render(_ctx, _cache) {
12
18
  return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
13
- class: "var-swipe-item",
19
+ class: (0, _vue.normalizeClass)(_ctx.n()),
14
20
  style: (0, _vue.normalizeStyle)({
15
21
  width: !_ctx.vertical ? _ctx.size + "px" : undefined,
16
22
  height: _ctx.vertical ? _ctx.size + "px" : undefined,
17
23
  transform: "translate" + (_ctx.vertical ? 'Y' : 'X') + "(" + _ctx.translate + "px)"
18
24
  })
19
- }, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 4
20
- /* STYLE */
25
+ }, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 6
26
+ /* CLASS, STYLE */
21
27
  );
22
28
  }
23
29
 
@@ -47,6 +53,7 @@ var _default = (0, _vue.defineComponent)({
47
53
  };
48
54
  bindSwipe(swipeItemProvider);
49
55
  return {
56
+ n,
50
57
  size,
51
58
  vertical,
52
59
  translate
@@ -22,11 +22,10 @@ var _ripple = _interopRequireDefault(require("../ripple"));
22
22
 
23
23
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
24
24
 
25
- var _withScopeId = n => ((0, _vue.pushScopeId)(""), n = n(), (0, _vue.popScopeId)(), n);
26
-
27
- var _hoisted_1 = {
28
- class: "var-switch"
29
- };
25
+ var {
26
+ n,
27
+ classes
28
+ } = (0, _components.createNamespace)('switch');
30
29
 
31
30
  function render(_ctx, _cache) {
32
31
  var _component_var_loading = (0, _vue.resolveComponent)("var-loading");
@@ -35,23 +34,25 @@ function render(_ctx, _cache) {
35
34
 
36
35
  var _directive_ripple = (0, _vue.resolveDirective)("ripple");
37
36
 
38
- return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", _hoisted_1, [(0, _vue.createElementVNode)("div", {
39
- class: (0, _vue.normalizeClass)(["var-switch-block", [_ctx.disabled || _ctx.formDisabled ? 'var-switch__disable' : null]]),
37
+ return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
38
+ class: (0, _vue.normalizeClass)(_ctx.n())
39
+ }, [(0, _vue.createElementVNode)("div", {
40
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('block'), [_ctx.disabled || _ctx.formDisabled, _ctx.n('--disable')])),
40
41
  onClick: _cache[0] || (_cache[0] = function () {
41
42
  return _ctx.switchActive && _ctx.switchActive(...arguments);
42
43
  }),
43
44
  style: (0, _vue.normalizeStyle)(_ctx.styleComputed.switch)
44
45
  }, [(0, _vue.createElementVNode)("div", {
45
46
  style: (0, _vue.normalizeStyle)(_ctx.styleComputed.track),
46
- class: (0, _vue.normalizeClass)(["var-switch__track", [_ctx.modelValue === _ctx.activeValue ? 'var-switch__track-active' : null, _ctx.errorMessage ? 'var-switch__track-error' : null]])
47
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('track'), [_ctx.modelValue === _ctx.activeValue, _ctx.n('track-active')], [_ctx.errorMessage, _ctx.n('track-error')]))
47
48
  }, null, 6
48
49
  /* CLASS, STYLE */
49
50
  ), (0, _vue.withDirectives)(((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
50
- class: "var-switch__ripple",
51
+ class: (0, _vue.normalizeClass)(_ctx.n('ripple')),
51
52
  style: (0, _vue.normalizeStyle)(_ctx.styleComputed.ripple)
52
53
  }, [(0, _vue.createElementVNode)("div", {
53
54
  style: (0, _vue.normalizeStyle)(_ctx.styleComputed.handle),
54
- class: (0, _vue.normalizeClass)(["var-switch__handle var-elevation--2", [_ctx.modelValue === _ctx.activeValue ? 'var-switch__handle-active' : null, _ctx.errorMessage ? 'var-switch__handle-error' : null]])
55
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('handle'), 'var-elevation--2', [_ctx.modelValue === _ctx.activeValue, _ctx.n('handle-active')], [_ctx.errorMessage, _ctx.n('handle-error')]))
55
56
  }, [_ctx.loading ? ((0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_loading, {
56
57
  key: 0,
57
58
  radius: _ctx.toNumber(_ctx.size) / 2 - 2
@@ -59,8 +60,8 @@ function render(_ctx, _cache) {
59
60
  /* PROPS */
60
61
  , ["radius"])) : (0, _vue.createCommentVNode)("v-if", true)], 6
61
62
  /* CLASS, STYLE */
62
- )], 4
63
- /* STYLE */
63
+ )], 6
64
+ /* CLASS, STYLE */
64
65
  )), [[_directive_ripple, {
65
66
  disabled: !_ctx.ripple || _ctx.disabled || _ctx.loading || _ctx.formDisabled
66
67
  }]])], 6
@@ -69,7 +70,9 @@ function render(_ctx, _cache) {
69
70
  "error-message": _ctx.errorMessage
70
71
  }, null, 8
71
72
  /* PROPS */
72
- , ["error-message"])]);
73
+ , ["error-message"])], 2
74
+ /* CLASS */
75
+ );
73
76
  }
74
77
 
75
78
  var _default = (0, _vue.defineComponent)({
@@ -151,18 +154,16 @@ var _default = (0, _vue.defineComponent)({
151
154
  inactiveValue,
152
155
  'onUpdate:modelValue': updateModelValue
153
156
  } = props;
154
- onClick == null ? void 0 : onClick(event);
157
+ (0, _components.call)(onClick, event);
155
158
  if (disabled || loading || readonly || form != null && form.disabled.value || form != null && form.readonly.value) return;
156
159
  var newValue = modelValue === activeValue ? inactiveValue : activeValue;
157
- onChange == null ? void 0 : onChange(newValue);
158
- updateModelValue == null ? void 0 : updateModelValue(newValue);
160
+ (0, _components.call)(onChange, newValue);
161
+ (0, _components.call)(updateModelValue, newValue);
159
162
  validateWithTrigger();
160
163
  };
161
164
 
162
165
  var reset = () => {
163
- var _props$onUpdateModel;
164
-
165
- (_props$onUpdateModel = props['onUpdate:modelValue']) == null ? void 0 : _props$onUpdateModel.call(props, props.inactiveValue);
166
+ (0, _components.call)(props['onUpdate:modelValue'], props.inactiveValue);
166
167
  resetValidation();
167
168
  };
168
169
 
@@ -171,8 +172,10 @@ var _default = (0, _vue.defineComponent)({
171
172
  validate,
172
173
  resetValidation
173
174
  };
174
- bindForm == null ? void 0 : bindForm(switchProvider);
175
+ (0, _components.call)(bindForm, switchProvider);
175
176
  return {
177
+ n,
178
+ classes,
176
179
  switchActive,
177
180
  toNumber: _shared.toNumber,
178
181
  styleComputed,
@@ -1 +1 @@
1
- :root { --switch-track-background: #fff; --switch-track-active-background: var(--color-primary); --switch-track-error-background: var(--color-danger); --switch-ripple-color: var(--color-primary); --switch-handle-background: #fff; --switch-handle-color: #fff; --switch-handle-active-background: var(--color-primary); --switch-handle-error-background: var(--color-danger);}.var-switch { display: inline-block;}.var-switch-block { position: relative; display: flex; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); align-items: center; justify-content: center;}.var-switch__disable { filter: opacity(0.6); cursor: not-allowed;}.var-switch__track { background: var(--switch-track-background); transition: background-color 0.25s; filter: opacity(0.6);}.var-switch__track-active { background-color: var(--switch-track-active-background);}.var-switch__track-error { background-color: var(--switch-track-error-background) !important;}.var-switch__ripple { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--switch-ripple-color); border-radius: 50%; overflow: hidden; transition: 0.3s var(--cubic-bezier);}.var-switch__handle { border-radius: 50%; background-color: var(--switch-handle-background); display: flex; align-items: center; justify-content: center; color: var(--switch-handle-color); transition: background-color 0.25s;}.var-switch__handle-active { background-color: var(--switch-handle-active-background);}.var-switch__handle-error { background-color: var(--switch-handle-error-background) !important;}
1
+ :root { --switch-track-background: #fff; --switch-track-active-background: var(--color-primary); --switch-track-error-background: var(--color-danger); --switch-ripple-color: var(--color-primary); --switch-handle-background: #fff; --switch-handle-color: #fff; --switch-handle-active-background: var(--color-primary); --switch-handle-error-background: var(--color-danger);}.var-switch { display: inline-block;}.var-switch__block { position: relative; display: flex; cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); align-items: center; justify-content: center;}.var-switch--disable { filter: opacity(0.6); cursor: not-allowed;}.var-switch__track { background: var(--switch-track-background); transition: background-color 0.25s; filter: opacity(0.6);}.var-switch__track-active { background-color: var(--switch-track-active-background);}.var-switch__track-error { background-color: var(--switch-track-error-background) !important;}.var-switch__ripple { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--switch-ripple-color); border-radius: 50%; overflow: hidden; transition: 0.3s var(--cubic-bezier);}.var-switch__handle { border-radius: 50%; background-color: var(--switch-handle-background); display: flex; align-items: center; justify-content: center; color: var(--switch-handle-color); transition: background-color 0.25s;}.var-switch__handle-active { background-color: var(--switch-handle-active-background);}.var-switch__handle-error { background-color: var(--switch-handle-error-background) !important;}
@@ -21,7 +21,7 @@
21
21
  .var-switch {
22
22
  display: inline-block;
23
23
 
24
- &-block {
24
+ &__block {
25
25
  position: relative;
26
26
  display: flex;
27
27
  cursor: pointer;
@@ -30,7 +30,7 @@
30
30
  justify-content: center;
31
31
  }
32
32
 
33
- &__disable {
33
+ &--disable {
34
34
  filter: opacity(0.6);
35
35
  cursor: not-allowed;
36
36
  }
package/lib/tab/Tab.js CHANGED
@@ -10,15 +10,22 @@ var _vue = require("vue");
10
10
 
11
11
  var _props = require("./props");
12
12
 
13
+ var _components = require("../utils/components");
14
+
13
15
  var _provide = require("./provide");
14
16
 
15
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
18
 
19
+ var {
20
+ n,
21
+ classes
22
+ } = (0, _components.createNamespace)('tab');
23
+
17
24
  function render(_ctx, _cache) {
18
25
  var _directive_ripple = (0, _vue.resolveDirective)("ripple");
19
26
 
20
27
  return (0, _vue.withDirectives)(((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
21
- class: (0, _vue.normalizeClass)(["var-tab var--box", [_ctx.computeColorClass(), "var-tab--" + _ctx.itemDirection]]),
28
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), 'var--box', _ctx.computeColorClass(), _ctx.n("--" + _ctx.itemDirection))),
22
29
  ref: "tabEl",
23
30
  style: (0, _vue.normalizeStyle)({
24
31
  color: _ctx.computeColorStyle()
@@ -102,6 +109,8 @@ var _default = (0, _vue.defineComponent)({
102
109
  (0, _vue.watch)(() => props.name, resize);
103
110
  (0, _vue.watch)(() => props.disabled, resize);
104
111
  return {
112
+ n,
113
+ classes,
105
114
  tabEl,
106
115
  active,
107
116
  activeColor,
@@ -12,13 +12,20 @@ var _provide = require("./provide");
12
12
 
13
13
  var _props = require("./props");
14
14
 
15
+ var _components = require("../utils/components");
16
+
15
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
18
 
19
+ var {
20
+ n,
21
+ classes
22
+ } = (0, _components.createNamespace)('tab-item');
23
+
17
24
  function render(_ctx, _cache) {
18
25
  var _component_var_swipe_item = (0, _vue.resolveComponent)("var-swipe-item");
19
26
 
20
27
  return (0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_swipe_item, {
21
- class: (0, _vue.normalizeClass)(["var-tab-item", [!_ctx.current && 'var-tab-item--inactive']]),
28
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), [!_ctx.current, _ctx.n('--inactive')])),
22
29
  "var-tab-item-cover": ""
23
30
  }, {
24
31
  default: (0, _vue.withCtx)(() => [_ctx.initSlot ? (0, _vue.renderSlot)(_ctx.$slots, "default", {
@@ -64,6 +71,8 @@ var _default = (0, _vue.defineComponent)({
64
71
  };
65
72
  bindTabsItems(tabItemProvider);
66
73
  return {
74
+ n,
75
+ classes,
67
76
  current,
68
77
  initSlot
69
78
  };
@@ -8,28 +8,35 @@ var _vue = require("vue");
8
8
 
9
9
  var _elements = require("../utils/elements");
10
10
 
11
- var _withScopeId = n => ((0, _vue.pushScopeId)(""), n = n(), (0, _vue.popScopeId)(), n);
12
-
13
- var _hoisted_1 = {
14
- class: "var-table var-elevation--1 var--box"
15
- };
16
- var _hoisted_2 = {
17
- class: "var-table__main"
18
- };
19
- var _hoisted_3 = {
20
- key: 0,
21
- class: "var-table__footer"
22
- };
11
+ var _components = require("../utils/components");
12
+
13
+ var {
14
+ n,
15
+ classes
16
+ } = (0, _components.createNamespace)('table');
23
17
 
24
18
  function render(_ctx, _cache) {
25
- return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", _hoisted_1, [(0, _vue.createElementVNode)("div", _hoisted_2, [(0, _vue.createElementVNode)("table", {
26
- class: "var-table__table",
19
+ return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
20
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), 'var-elevation--1 var--box'))
21
+ }, [(0, _vue.createElementVNode)("div", {
22
+ class: (0, _vue.normalizeClass)(_ctx.n('main'))
23
+ }, [(0, _vue.createElementVNode)("table", {
24
+ class: (0, _vue.normalizeClass)(_ctx.n('table')),
27
25
  style: (0, _vue.normalizeStyle)({
28
26
  width: _ctx.toSizeUnit(_ctx.fullWidth)
29
27
  })
30
- }, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 4
31
- /* STYLE */
32
- )]), _ctx.$slots.footer ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", _hoisted_3, [(0, _vue.renderSlot)(_ctx.$slots, "footer")])) : (0, _vue.createCommentVNode)("v-if", true)]);
28
+ }, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 6
29
+ /* CLASS, STYLE */
30
+ )], 2
31
+ /* CLASS */
32
+ ), _ctx.$slots.footer ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
33
+ key: 0,
34
+ class: (0, _vue.normalizeClass)(_ctx.n('footer'))
35
+ }, [(0, _vue.renderSlot)(_ctx.$slots, "footer")], 2
36
+ /* CLASS */
37
+ )) : (0, _vue.createCommentVNode)("v-if", true)], 2
38
+ /* CLASS */
39
+ );
33
40
  }
34
41
 
35
42
  var _default = (0, _vue.defineComponent)({
@@ -44,7 +51,9 @@ var _default = (0, _vue.defineComponent)({
44
51
 
45
52
  setup() {
46
53
  return {
47
- toSizeUnit: _elements.toSizeUnit
54
+ toSizeUnit: _elements.toSizeUnit,
55
+ n,
56
+ classes
48
57
  };
49
58
  }
50
59
 
package/lib/tabs/Tabs.js CHANGED
@@ -16,26 +16,33 @@ var _shared = require("../utils/shared");
16
16
 
17
17
  var _elements = require("../utils/elements");
18
18
 
19
+ var _components = require("../utils/components");
20
+
19
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
22
 
21
23
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
22
24
 
23
25
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
24
26
 
27
+ var {
28
+ n,
29
+ classes
30
+ } = (0, _components.createNamespace)('tabs');
31
+
25
32
  function render(_ctx, _cache) {
26
33
  return (0, _vue.openBlock)(), (0, _vue.createBlock)((0, _vue.resolveDynamicComponent)(_ctx.sticky ? 'var-sticky' : _ctx.Transition), {
27
34
  "offset-top": _ctx.sticky ? _ctx.offsetTop : null
28
35
  }, {
29
36
  default: (0, _vue.withCtx)(() => [(0, _vue.createElementVNode)("div", (0, _vue.mergeProps)({
30
- class: ["var-tabs var--box", ["var-tabs--item-" + _ctx.itemDirection, "var-tabs--layout-" + _ctx.layoutDirection + "-padding", _ctx.elevation ? "var-elevation--4" : null, _ctx.fixedBottom ? 'var-tabs--fixed-bottom' : null]],
37
+ class: _ctx.classes(_ctx.n(), 'var--box', _ctx.n("--item-" + _ctx.itemDirection), _ctx.n("--layout-" + _ctx.layoutDirection + "-padding"), [_ctx.elevation, 'var-elevation--4'], [_ctx.fixedBottom, _ctx.n('--fixed-bottom')]),
31
38
  style: {
32
39
  background: _ctx.color
33
40
  }
34
41
  }, _ctx.$attrs), [(0, _vue.createElementVNode)("div", {
35
- class: (0, _vue.normalizeClass)(["var-tabs__tab-wrap", [_ctx.scrollable ? "var-tabs--layout-" + _ctx.layoutDirection + "-scrollable" : null, "var-tabs--layout-" + _ctx.layoutDirection]]),
36
- ref: "scrollerEl"
42
+ ref: "scrollerEl",
43
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('tab-wrap'), [_ctx.scrollable, _ctx.n("--layout-" + _ctx.layoutDirection + "-scrollable")], _ctx.n("--layout-" + _ctx.layoutDirection)))
37
44
  }, [(0, _vue.renderSlot)(_ctx.$slots, "default"), (0, _vue.createElementVNode)("div", {
38
- class: (0, _vue.normalizeClass)(["var-tabs__indicator", ["var-tabs--layout-" + _ctx.layoutDirection + "-indicator"]]),
45
+ class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('indicator'), _ctx.n("--layout-" + _ctx.layoutDirection + "-indicator"))),
39
46
  style: (0, _vue.normalizeStyle)({
40
47
  width: _ctx.layoutDirection === 'horizontal' ? _ctx.indicatorWidth : _ctx.toSizeUnit(_ctx.indicatorSize),
41
48
  height: _ctx.layoutDirection === 'horizontal' ? _ctx.toSizeUnit(_ctx.indicatorSize) : _ctx.indicatorHeight,
@@ -85,7 +92,7 @@ var _default = (0, _vue.defineComponent)({
85
92
  } = (0, _provide.useTabList)();
86
93
 
87
94
  var onTabClick = tab => {
88
- var _tab$name$value, _props$onUpdateActiv;
95
+ var _tab$name$value;
89
96
 
90
97
  var currentActive = (_tab$name$value = tab.name.value) != null ? _tab$name$value : tab.index.value;
91
98
  var {
@@ -93,9 +100,9 @@ var _default = (0, _vue.defineComponent)({
93
100
  onChange,
94
101
  onClick
95
102
  } = props;
96
- (_props$onUpdateActiv = props['onUpdate:active']) == null ? void 0 : _props$onUpdateActiv.call(props, currentActive);
97
- onClick == null ? void 0 : onClick(currentActive);
98
- currentActive !== active && (onChange == null ? void 0 : onChange(currentActive));
103
+ (0, _components.call)(props['onUpdate:active'], currentActive);
104
+ (0, _components.call)(onClick, currentActive);
105
+ currentActive !== active && (0, _components.call)(onChange, currentActive);
99
106
  };
100
107
 
101
108
  var matchName = () => {
@@ -107,18 +114,16 @@ var _default = (0, _vue.defineComponent)({
107
114
  });
108
115
  };
109
116
 
110
- var matchIndex = () => {
117
+ var matchIndex = activeIndex => {
111
118
  return tabList.find(_ref2 => {
112
119
  var {
113
120
  index
114
121
  } = _ref2;
115
- return props.active === index.value;
122
+ return (activeIndex != null ? activeIndex : props.active) === index.value;
116
123
  });
117
124
  };
118
125
 
119
126
  var matchBoundary = () => {
120
- var _props$onUpdateActiv2, _props$onUpdateActiv3;
121
-
122
127
  if (length.value === 0) {
123
128
  return;
124
129
  }
@@ -126,8 +131,12 @@ var _default = (0, _vue.defineComponent)({
126
131
  var {
127
132
  active
128
133
  } = props;
129
- (0, _shared.isNumber)(active) ? active > length.value - 1 ? (_props$onUpdateActiv2 = props['onUpdate:active']) == null ? void 0 : _props$onUpdateActiv2.call(props, length.value - 1) : (_props$onUpdateActiv3 = props['onUpdate:active']) == null ? void 0 : _props$onUpdateActiv3.call(props, 0) : null;
130
- return matchIndex();
134
+
135
+ if ((0, _shared.isNumber)(active)) {
136
+ var activeIndex = active > length.value - 1 ? length.value - 1 : 0;
137
+ (0, _components.call)(props['onUpdate:active'], activeIndex);
138
+ return matchIndex(activeIndex);
139
+ }
131
140
  };
132
141
 
133
142
  var watchScrollable = () => {
@@ -215,6 +224,8 @@ var _default = (0, _vue.defineComponent)({
215
224
  scrollerEl,
216
225
  Transition: _vue.Transition,
217
226
  toSizeUnit: _elements.toSizeUnit,
227
+ n,
228
+ classes,
218
229
  resize
219
230
  };
220
231
  }
@@ -12,13 +12,19 @@ var _provide = require("./provide");
12
12
 
13
13
  var _props = require("./props");
14
14
 
15
+ var _components = require("../utils/components");
16
+
15
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
18
 
19
+ var {
20
+ n
21
+ } = (0, _components.createNamespace)('tabs-items');
22
+
17
23
  function render(_ctx, _cache) {
18
24
  var _component_var_swipe = (0, _vue.resolveComponent)("var-swipe");
19
25
 
20
26
  return (0, _vue.openBlock)(), (0, _vue.createBlock)(_component_var_swipe, {
21
- class: "var-tabs-items",
27
+ class: (0, _vue.normalizeClass)(_ctx.n()),
22
28
  ref: "swipe",
23
29
  loop: _ctx.loop,
24
30
  touchable: _ctx.canSwipe,
@@ -31,7 +37,7 @@ function render(_ctx, _cache) {
31
37
 
32
38
  }, 8
33
39
  /* PROPS */
34
- , ["loop", "touchable", "onChange"]);
40
+ , ["class", "loop", "touchable", "onChange"]);
35
41
  }
36
42
 
37
43
  var _default = (0, _vue.defineComponent)({
@@ -92,7 +98,7 @@ var _default = (0, _vue.defineComponent)({
92
98
  };
93
99
 
94
100
  var handleSwipeChange = currentIndex => {
95
- var _tabItem$name$value, _props$onUpdateActiv;
101
+ var _tabItem$name$value;
96
102
 
97
103
  var tabItem = tabItemList.find(_ref4 => {
98
104
  var {
@@ -101,7 +107,7 @@ var _default = (0, _vue.defineComponent)({
101
107
  return index.value === currentIndex;
102
108
  });
103
109
  var active = (_tabItem$name$value = tabItem.name.value) != null ? _tabItem$name$value : tabItem.index.value;
104
- (_props$onUpdateActiv = props['onUpdate:active']) == null ? void 0 : _props$onUpdateActiv.call(props, active);
110
+ (0, _components.call)(props['onUpdate:active'], active);
105
111
  };
106
112
 
107
113
  var tabsItemsProvider = {};
@@ -110,6 +116,7 @@ var _default = (0, _vue.defineComponent)({
110
116
  (0, _vue.watch)(() => length.value, () => handleActiveChange(props.active));
111
117
  return {
112
118
  swipe,
119
+ n,
113
120
  handleSwipeChange
114
121
  };
115
122
  }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ '--bottom-navigation-background-color': '#272727',
7
+ '--bottom-navigation-border-color': '#444'
8
+ };
9
+ exports.default = _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ '--bottom-navigation-item-active-background-color': '#272727'
7
+ };
8
+ exports.default = _default;
@@ -57,6 +57,10 @@ var _tabs = _interopRequireDefault(require("./tabs"));
57
57
 
58
58
  var _appBar = _interopRequireDefault(require("./appBar"));
59
59
 
60
+ var _bottomNavigation = _interopRequireDefault(require("./bottomNavigation"));
61
+
62
+ var _bottomNavigationItem = _interopRequireDefault(require("./bottomNavigationItem"));
63
+
60
64
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
61
65
 
62
66
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -72,6 +76,6 @@ var _default = _extends({
72
76
  '--color-danger': '#ef5350',
73
77
  '--color-disabled': '#404040',
74
78
  '--color-text-disabled': '#757575'
75
- }, _button.default, _cell.default, _card.default, _timePicker.default, _datePicker.default, _skeleton.default, _tabs.default, _tab.default, _popup.default, _dialog.default, _actionSheet.default, _chip.default, _badge.default, _uploader.default, _collapse.default, _pullRefresh.default, _switch.default, _steps.default, _pagination.default, _table.default, _input.default, _select.default, _radio.default, _checkbox.default, _divider.default, _picker.default, _appBar.default);
79
+ }, _button.default, _cell.default, _card.default, _timePicker.default, _datePicker.default, _skeleton.default, _tabs.default, _tab.default, _popup.default, _dialog.default, _actionSheet.default, _chip.default, _badge.default, _uploader.default, _collapse.default, _pullRefresh.default, _switch.default, _steps.default, _pagination.default, _table.default, _input.default, _select.default, _radio.default, _checkbox.default, _divider.default, _picker.default, _appBar.default, _bottomNavigation.default, _bottomNavigationItem.default);
76
80
 
77
81
  exports.default = _default;