@vtj/materials 0.9.17 → 0.9.18

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 (90) hide show
  1. package/dist/assets/antdv/index.umd.js +2 -2
  2. package/dist/assets/charts/index.umd.js +2 -2
  3. package/dist/assets/element/index.umd.js +2 -2
  4. package/dist/assets/ui/index.umd.js +2 -2
  5. package/dist/assets/vant/index.umd.js +9 -9
  6. package/dist/deps/@vtj/charts/index.umd.js +2 -2
  7. package/dist/deps/@vtj/icons/index.umd.js +2 -2
  8. package/dist/deps/@vtj/ui/index.umd.js +2 -2
  9. package/dist/deps/@vtj/utils/index.umd.js +2 -2
  10. package/package.json +5 -5
  11. package/src/vant/action-bar.ts +7 -7
  12. package/src/vant/action-sheet.ts +1 -1
  13. package/src/vant/address-edit.ts +1 -1
  14. package/src/vant/address-list.ts +1 -1
  15. package/src/vant/area.ts +1 -1
  16. package/src/vant/back-top.ts +1 -1
  17. package/src/vant/badge.ts +1 -1
  18. package/src/vant/barrage.ts +1 -1
  19. package/src/vant/button.ts +1 -1
  20. package/src/vant/calendar.ts +1 -1
  21. package/src/vant/card.ts +1 -1
  22. package/src/vant/cascader.ts +1 -1
  23. package/src/vant/cell.ts +4 -4
  24. package/src/vant/checkbox.ts +4 -4
  25. package/src/vant/circle.ts +1 -1
  26. package/src/vant/collapse.ts +5 -5
  27. package/src/vant/contact-card.ts +1 -1
  28. package/src/vant/contact-edit.ts +1 -1
  29. package/src/vant/contact-list.ts +1 -1
  30. package/src/vant/count-down.ts +1 -1
  31. package/src/vant/coupon-list.ts +2 -2
  32. package/src/vant/datePicker.ts +1 -1
  33. package/src/vant/dialog.ts +2 -2
  34. package/src/vant/divider.ts +1 -1
  35. package/src/vant/dropdown-menu.ts +4 -4
  36. package/src/vant/empty.ts +1 -1
  37. package/src/vant/field.ts +1 -1
  38. package/src/vant/floating-bubble.ts +1 -1
  39. package/src/vant/floating-panel.ts +3 -3
  40. package/src/vant/form.ts +4 -4
  41. package/src/vant/grid.ts +3 -3
  42. package/src/vant/highlight.ts +1 -1
  43. package/src/vant/icon.ts +1 -1
  44. package/src/vant/image-preview.ts +1 -1
  45. package/src/vant/image.ts +1 -1
  46. package/src/vant/index-bar.ts +10 -10
  47. package/src/vant/layout.ts +5 -5
  48. package/src/vant/lazyload.ts +1 -1
  49. package/src/vant/list.ts +2 -2
  50. package/src/vant/loading.ts +1 -1
  51. package/src/vant/nav-bar.ts +1 -1
  52. package/src/vant/notice-bar.ts +1 -1
  53. package/src/vant/notify.ts +2 -2
  54. package/src/vant/number-keyboard.ts +1 -1
  55. package/src/vant/overlay.ts +1 -1
  56. package/src/vant/pagination.ts +1 -1
  57. package/src/vant/password-input.ts +1 -1
  58. package/src/vant/picker-group.ts +2 -2
  59. package/src/vant/picker.ts +1 -1
  60. package/src/vant/popover.ts +2 -2
  61. package/src/vant/popup.ts +1 -1
  62. package/src/vant/progress.ts +1 -1
  63. package/src/vant/pull-refresh.ts +1 -1
  64. package/src/vant/radio.ts +4 -4
  65. package/src/vant/rate.ts +1 -1
  66. package/src/vant/rolling-text.ts +1 -1
  67. package/src/vant/search.ts +1 -1
  68. package/src/vant/share-sheet.ts +1 -1
  69. package/src/vant/sidebar.ts +5 -5
  70. package/src/vant/signature.ts +1 -1
  71. package/src/vant/skeleton.ts +5 -5
  72. package/src/vant/slider.ts +1 -1
  73. package/src/vant/space.ts +4 -4
  74. package/src/vant/stepper.ts +1 -1
  75. package/src/vant/steps.ts +6 -6
  76. package/src/vant/sticky.ts +2 -2
  77. package/src/vant/submit-bar.ts +1 -1
  78. package/src/vant/swipe-cell.ts +5 -5
  79. package/src/vant/swipe.ts +5 -5
  80. package/src/vant/switch.ts +1 -1
  81. package/src/vant/tab.ts +5 -5
  82. package/src/vant/tabbar.ts +6 -6
  83. package/src/vant/tag.ts +1 -1
  84. package/src/vant/text-ellipsis.ts +1 -1
  85. package/src/vant/time-picker.ts +1 -1
  86. package/src/vant/toast.ts +2 -2
  87. package/src/vant/tree-select.ts +1 -1
  88. package/src/vant/uploader.ts +1 -1
  89. package/src/vant/watermark.ts +1 -1
  90. package/src/version.ts +2 -2
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Layout: MaterialDescription[] = [
4
4
  {
5
- name: 'VantRow',
5
+ name: 'VanRow',
6
6
  alias: 'Row',
7
7
  label: '布局行',
8
8
  categoryId: 'base',
@@ -44,14 +44,14 @@ const Layout: MaterialDescription[] = [
44
44
  snippet: {
45
45
  children: [
46
46
  {
47
- name: 'VantCol',
47
+ name: 'VanCol',
48
48
  children: 'span:8',
49
49
  props: {
50
50
  span: '8'
51
51
  }
52
52
  },
53
53
  {
54
- name: 'VantCol',
54
+ name: 'VanCol',
55
55
  children: 'span:8',
56
56
  props: {
57
57
  span: '8'
@@ -61,7 +61,7 @@ const Layout: MaterialDescription[] = [
61
61
  }
62
62
  },
63
63
  {
64
- name: 'VantCol',
64
+ name: 'VanCol',
65
65
  alias: 'Col',
66
66
  label: '布局列',
67
67
  categoryId: 'base',
@@ -86,7 +86,7 @@ const Layout: MaterialDescription[] = [
86
86
  ],
87
87
  events: ['click'],
88
88
  snippet: {
89
- name: 'VantCol',
89
+ name: 'VanCol',
90
90
  children: 'span:8',
91
91
  props: {
92
92
  span: '8'
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Lazyload: MaterialDescription = {
4
- name: 'VantImageLazyload',
4
+ name: 'VanImageLazyload',
5
5
  alias: 'Lazyload',
6
6
  label: '懒加载',
7
7
  categoryId: 'view',
package/src/vant/list.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const List: MaterialDescription = {
4
- name: 'VantList',
4
+ name: 'VanList',
5
5
  alias: 'List',
6
6
  label: '列表',
7
7
  categoryId: 'view',
@@ -87,7 +87,7 @@ const List: MaterialDescription = {
87
87
  },
88
88
  children: [
89
89
  {
90
- name: 'VantCell',
90
+ name: 'VanCell',
91
91
  props: {
92
92
  key: {
93
93
  type: 'JSExpression',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Loading: MaterialDescription = {
4
- name: 'VantLoading',
4
+ name: 'VanLoading',
5
5
  alias: 'Loading',
6
6
  label: '加载',
7
7
  categoryId: 'feedback',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const NavBar: MaterialDescription = {
4
- name: 'VantNavBar',
4
+ name: 'VanNavBar',
5
5
  alias: 'NavBar',
6
6
  label: '导航栏',
7
7
  categoryId: 'nav',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const NoticeBar: MaterialDescription = {
4
- name: 'VantNoticeBar',
4
+ name: 'VanNoticeBar',
5
5
  alias: 'NoticeBar',
6
6
  label: '通知栏',
7
7
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Notify: MaterialDescription = {
4
- name: 'VantNotify',
4
+ name: 'VanNotify',
5
5
  alias: 'Notify',
6
6
  label: '消息提示',
7
7
  categoryId: 'feedback',
@@ -79,7 +79,7 @@ const Notify: MaterialDescription = {
79
79
  },
80
80
  children: [
81
81
  {
82
- name: 'VantIcon',
82
+ name: 'VanIcon',
83
83
  props: {
84
84
  name: 'bell',
85
85
  style: { marginRight: '4px' }
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const NumberKeyboard: MaterialDescription = {
4
- name: 'VantNumberKeyboard',
4
+ name: 'VanNumberKeyboard',
5
5
  alias: 'NumberKeyboard',
6
6
  label: '数字键盘',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Overlay: MaterialDescription = {
4
- name: 'VantOverlay',
4
+ name: 'VanOverlay',
5
5
  alias: 'Overlay',
6
6
  label: '遮罩层',
7
7
  categoryId: 'feedback',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Pagination: MaterialDescription = {
4
- name: 'VantPagination',
4
+ name: 'VanPagination',
5
5
  alias: 'Pagination',
6
6
  label: '分页',
7
7
  categoryId: 'nav',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const PasswordInput: MaterialDescription = {
4
- name: 'VantPasswordInput',
4
+ name: 'VanPasswordInput',
5
5
  alias: 'PasswordInput',
6
6
  label: '密码输入框',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const PickerGroup: MaterialDescription = {
4
- name: 'VantPickerGroup',
4
+ name: 'VanPickerGroup',
5
5
  alias: 'PickerGroup',
6
6
  label: '选择器组',
7
7
  categoryId: 'form',
@@ -56,7 +56,7 @@ const PickerGroup: MaterialDescription = {
56
56
  title: '预约日期',
57
57
  tabs: ['选择日期', '选择时间']
58
58
  },
59
- children: [{ name: 'VantDatePicker' }, { name: 'VantTimePicker' }]
59
+ children: [{ name: 'VanDatePicker' }, { name: 'VanTimePicker' }]
60
60
  }
61
61
  };
62
62
 
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Picker: MaterialDescription = {
4
- name: 'VantPicker',
4
+ name: 'VanPicker',
5
5
  alias: 'Picker',
6
6
  label: '选择器',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Popover: MaterialDescription = {
4
- name: 'VantPopover',
4
+ name: 'VanPopover',
5
5
  alias: 'Popover',
6
6
  label: '气泡弹出框',
7
7
  categoryId: 'view',
@@ -153,7 +153,7 @@ const Popover: MaterialDescription = {
153
153
  },
154
154
  children: [
155
155
  {
156
- name: 'VantButton',
156
+ name: 'VanButton',
157
157
  slot: 'reference',
158
158
  props: { type: 'primary' },
159
159
  children: '浅色风格'
package/src/vant/popup.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Popup: MaterialDescription = {
4
- name: 'VantPopup',
4
+ name: 'VanPopup',
5
5
  alias: 'Popup',
6
6
  label: '弹出层',
7
7
  categoryId: 'base',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Progress: MaterialDescription = {
4
- name: 'VantProgress',
4
+ name: 'VanProgress',
5
5
  alias: 'Progress',
6
6
  label: '进度条',
7
7
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const PullRefresh: MaterialDescription = {
4
- name: 'VantPullRefresh',
4
+ name: 'VanPullRefresh',
5
5
  alias: 'PullRefresh',
6
6
  label: '下拉刷新',
7
7
  categoryId: 'feedback',
package/src/vant/radio.ts CHANGED
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Radio: MaterialDescription[] = [
4
4
  {
5
- name: 'VantRadio',
5
+ name: 'VanRadio',
6
6
  alias: 'Radio',
7
7
  label: '单选框',
8
8
  categoryId: 'form',
@@ -63,7 +63,7 @@ const Radio: MaterialDescription[] = [
63
63
  }
64
64
  },
65
65
  {
66
- name: 'VantRadioGroup',
66
+ name: 'VanRadioGroup',
67
67
  alias: 'RadioGroup',
68
68
  label: '单选框组',
69
69
  categoryId: 'form',
@@ -116,8 +116,8 @@ const Radio: MaterialDescription[] = [
116
116
  modelValue: ['1', '2']
117
117
  },
118
118
  children: [
119
- { name: 'VantRadio', props: { name: '1' }, children: '单选框 1' },
120
- { name: 'VantRadio', props: { name: '2' }, children: '单选框 2' }
119
+ { name: 'VanRadio', props: { name: '1' }, children: '单选框 1' },
120
+ { name: 'VanRadio', props: { name: '2' }, children: '单选框 2' }
121
121
  ]
122
122
  }
123
123
  }
package/src/vant/rate.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Rate: MaterialDescription = {
4
- name: 'VantRate',
4
+ name: 'VanRate',
5
5
  alias: 'Rate',
6
6
  label: '评分',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const RollingText: MaterialDescription = {
4
- name: 'VantRollingText',
4
+ name: 'VanRollingText',
5
5
  alias: 'RollingText',
6
6
  label: '翻滚文本动效',
7
7
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Search: MaterialDescription = {
4
- name: 'VantSearch',
4
+ name: 'VanSearch',
5
5
  alias: 'Search',
6
6
  label: '搜索',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ShareSheet: MaterialDescription = {
4
- name: 'VantShareSheet',
4
+ name: 'VanShareSheet',
5
5
  alias: 'ShareSheet',
6
6
  label: '分享面板',
7
7
  categoryId: 'feedback',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Sidebar: MaterialDescription[] = [
4
4
  {
5
- name: 'VantSidebar',
5
+ name: 'VanSidebar',
6
6
  alias: 'Sidebar',
7
7
  label: '侧边导航',
8
8
  categoryId: 'nav',
@@ -21,14 +21,14 @@ const Sidebar: MaterialDescription[] = [
21
21
  active: 0
22
22
  },
23
23
  children: [
24
- { name: 'VantSidebarItem', props: { title: '标签名称' } },
25
- { name: 'VantSidebarItem', props: { title: '标签名称' } },
26
- { name: 'VantSidebarItem', props: { title: '标签名称' } }
24
+ { name: 'VanSidebarItem', props: { title: '标签名称' } },
25
+ { name: 'VanSidebarItem', props: { title: '标签名称' } },
26
+ { name: 'VanSidebarItem', props: { title: '标签名称' } }
27
27
  ]
28
28
  }
29
29
  },
30
30
  {
31
- name: 'VantSidebarItem',
31
+ name: 'VanSidebarItem',
32
32
  alias: 'SidebarItem',
33
33
  label: '侧边导航项',
34
34
  categoryId: 'nav',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Signature: MaterialDescription = {
4
- name: 'VantSignature',
4
+ name: 'VanSignature',
5
5
  alias: 'Signature',
6
6
  label: '签名',
7
7
  categoryId: 'form',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Skeleton: MaterialDescription[] = [
4
4
  {
5
- name: 'VantSkeleton',
5
+ name: 'VanSkeleton',
6
6
  alias: 'Skeleton',
7
7
  label: '骨架屏',
8
8
  categoryId: 'view',
@@ -80,7 +80,7 @@ const Skeleton: MaterialDescription[] = [
80
80
  }
81
81
  },
82
82
  {
83
- name: 'VantSkeletonParagraph',
83
+ name: 'VanSkeletonParagraph',
84
84
  alias: 'SkeletonParagraph',
85
85
  label: '骨架屏文本',
86
86
  categoryId: 'view',
@@ -101,7 +101,7 @@ const Skeleton: MaterialDescription[] = [
101
101
  ]
102
102
  },
103
103
  {
104
- name: 'VantSkeletonTitle',
104
+ name: 'VanSkeletonTitle',
105
105
  alias: 'SkeletonTitle',
106
106
  label: '骨架屏标题',
107
107
  categoryId: 'view',
@@ -122,7 +122,7 @@ const Skeleton: MaterialDescription[] = [
122
122
  ]
123
123
  },
124
124
  {
125
- name: 'VantSkeletonAvatar',
125
+ name: 'VanSkeletonAvatar',
126
126
  alias: 'SkeletonAvatar',
127
127
  label: '骨架屏头像',
128
128
  categoryId: 'view',
@@ -144,7 +144,7 @@ const Skeleton: MaterialDescription[] = [
144
144
  ]
145
145
  },
146
146
  {
147
- name: 'VantSkeletonImage',
147
+ name: 'VanSkeletonImage',
148
148
  alias: 'SkeletonImage',
149
149
  label: '骨架屏图片',
150
150
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Slider: MaterialDescription = {
4
- name: 'VantSlider',
4
+ name: 'VanSlider',
5
5
  alias: 'Slider',
6
6
  label: '滑块',
7
7
  categoryId: 'form',
package/src/vant/space.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Space: MaterialDescription = {
4
- name: 'VantSpace',
4
+ name: 'VanSpace',
5
5
  alias: 'Space',
6
6
  label: '间距',
7
7
  categoryId: 'base',
@@ -44,10 +44,10 @@ const Space: MaterialDescription = {
44
44
  snippet: {
45
45
  props: {},
46
46
  children: [
47
- { name: 'VantButton', props: { type: 'primary' }, children: '按钮' },
48
- { name: 'VantButton', props: { type: 'primary' }, children: '按钮' },
47
+ { name: 'VanButton', props: { type: 'primary' }, children: '按钮' },
48
+ { name: 'VanButton', props: { type: 'primary' }, children: '按钮' },
49
49
  {
50
- name: 'VantButton',
50
+ name: 'VanButton',
51
51
  props: {
52
52
  type: 'primary',
53
53
  style: {
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Stepper: MaterialDescription = {
4
- name: 'VantStepper',
4
+ name: 'VanStepper',
5
5
  alias: 'Stepper',
6
6
  label: '步进器',
7
7
  categoryId: 'form',
package/src/vant/steps.ts CHANGED
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Steps: MaterialDescription[] = [
4
4
  {
5
- name: 'VantSteps',
5
+ name: 'VanSteps',
6
6
  alias: 'Steps',
7
7
  label: '步骤条',
8
8
  categoryId: 'view',
@@ -62,15 +62,15 @@ const Steps: MaterialDescription[] = [
62
62
  active: 1
63
63
  },
64
64
  children: [
65
- { name: 'VantStep', children: '买家下单' },
66
- { name: 'VantStep', children: '商家接单' },
67
- { name: 'VantStep', children: '买家提货' },
68
- { name: 'VantStep', children: '交易完成' }
65
+ { name: 'VanStep', children: '买家下单' },
66
+ { name: 'VanStep', children: '商家接单' },
67
+ { name: 'VanStep', children: '买家提货' },
68
+ { name: 'VanStep', children: '交易完成' }
69
69
  ]
70
70
  }
71
71
  },
72
72
  {
73
- name: 'VantStep',
73
+ name: 'VanStep',
74
74
  alias: 'Step',
75
75
  label: '步骤条项',
76
76
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Sticky: MaterialDescription = {
4
- name: 'VantSticky',
4
+ name: 'VanSticky',
5
5
  alias: 'Sticky',
6
6
  label: '粘性布局',
7
7
  categoryId: 'view',
@@ -44,7 +44,7 @@ const Sticky: MaterialDescription = {
44
44
  ],
45
45
  snippet: {
46
46
  children: [
47
- { name: 'VantButton', props: { type: 'primary' }, children: '基础用法' }
47
+ { name: 'VanButton', props: { type: 'primary' }, children: '基础用法' }
48
48
  ]
49
49
  }
50
50
  };
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const SubmitBar: MaterialDescription = {
4
- name: 'VantSubmitBar',
4
+ name: 'VanSubmitBar',
5
5
  alias: 'SubmitBar',
6
6
  label: '提交订单栏',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const SwipeCell: MaterialDescription = {
4
- name: 'VantSwipeCell',
4
+ name: 'VanSwipeCell',
5
5
  alias: 'SwipeCell',
6
6
  label: '滑动单元格',
7
7
  categoryId: 'feedback',
@@ -52,12 +52,12 @@ const SwipeCell: MaterialDescription = {
52
52
  snippet: {
53
53
  children: [
54
54
  {
55
- name: 'VantButton',
55
+ name: 'VanButton',
56
56
  slot: 'left',
57
57
  props: { square: true, type: 'primary', text: '选择' }
58
58
  },
59
59
  {
60
- name: 'VantCell',
60
+ name: 'VanCell',
61
61
  props: {
62
62
  border: false,
63
63
  title: '单元格',
@@ -69,11 +69,11 @@ const SwipeCell: MaterialDescription = {
69
69
  slot: 'right',
70
70
  children: [
71
71
  {
72
- name: 'VantButton',
72
+ name: 'VanButton',
73
73
  props: { square: true, type: 'danger', text: '删除' }
74
74
  },
75
75
  {
76
- name: 'VantButton',
76
+ name: 'VanButton',
77
77
  props: { square: true, type: 'primary', text: '收藏' }
78
78
  }
79
79
  ]
package/src/vant/swipe.ts CHANGED
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Swipe: MaterialDescription[] = [
4
4
  {
5
- name: 'VantSwipe',
5
+ name: 'VanSwipe',
6
6
  alias: 'Swipe',
7
7
  label: '轮播',
8
8
  categoryId: 'view',
@@ -98,14 +98,14 @@ const Swipe: MaterialDescription[] = [
98
98
  }
99
99
  },
100
100
  children: [
101
- { name: 'VantSwipeItem', children: '1' },
102
- { name: 'VantSwipeItem', children: '2' },
103
- { name: 'VantSwipeItem', children: '3' }
101
+ { name: 'VanSwipeItem', children: '1' },
102
+ { name: 'VanSwipeItem', children: '2' },
103
+ { name: 'VanSwipeItem', children: '3' }
104
104
  ]
105
105
  }
106
106
  },
107
107
  {
108
- name: 'VantSwipeItem',
108
+ name: 'VanSwipeItem',
109
109
  alias: 'SwipeItem',
110
110
  label: '轮播项',
111
111
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Switch: MaterialDescription = {
4
- name: 'VantSwitch',
4
+ name: 'VanSwitch',
5
5
  alias: 'Switch',
6
6
  label: '开关',
7
7
  categoryId: 'form',
package/src/vant/tab.ts CHANGED
@@ -4,7 +4,7 @@ import type { MaterialDescription } from '@vtj/core';
4
4
 
5
5
  const Tab: MaterialDescription[] = [
6
6
  {
7
- name: 'VantTabs',
7
+ name: 'VanTabs',
8
8
  alias: 'Tabs',
9
9
  label: '标签页',
10
10
  categoryId: 'nav',
@@ -152,14 +152,14 @@ const Tab: MaterialDescription[] = [
152
152
  active: 0
153
153
  },
154
154
  children: [
155
- { name: 'VantTab', props: { title: '内容1' }, children: '标题1' },
156
- { name: 'VantTab', props: { title: '内容2' }, children: '标题2' },
157
- { name: 'VantTab', props: { title: '内容3' }, children: '标题3' }
155
+ { name: 'VanTab', props: { title: '内容1' }, children: '标题1' },
156
+ { name: 'VanTab', props: { title: '内容2' }, children: '标题2' },
157
+ { name: 'VanTab', props: { title: '内容3' }, children: '标题3' }
158
158
  ]
159
159
  }
160
160
  },
161
161
  {
162
- name: 'VantTab',
162
+ name: 'VanTab',
163
163
  alias: 'Tab',
164
164
  label: '标签页项',
165
165
  categoryId: 'nav',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Tabbar: MaterialDescription[] = [
4
4
  {
5
- name: 'VantTabbar',
5
+ name: 'VanTabbar',
6
6
  alias: 'Tabbar',
7
7
  label: '标签栏',
8
8
  categoryId: 'nav',
@@ -75,28 +75,28 @@ const Tabbar: MaterialDescription[] = [
75
75
  },
76
76
  children: [
77
77
  {
78
- name: 'VantTabbarItem',
78
+ name: 'VanTabbarItem',
79
79
  props: {
80
80
  icon: 'home-o'
81
81
  },
82
82
  children: 'home'
83
83
  },
84
84
  {
85
- name: 'VantTabbarItem',
85
+ name: 'VanTabbarItem',
86
86
  props: {
87
87
  icon: 'search'
88
88
  },
89
89
  children: 'search'
90
90
  },
91
91
  {
92
- name: 'VantTabbarItem',
92
+ name: 'VanTabbarItem',
93
93
  props: {
94
94
  icon: 'friends-o'
95
95
  },
96
96
  children: 'friends'
97
97
  },
98
98
  {
99
- name: 'VantTabbarItem',
99
+ name: 'VanTabbarItem',
100
100
  props: {
101
101
  icon: 'setting-o'
102
102
  },
@@ -106,7 +106,7 @@ const Tabbar: MaterialDescription[] = [
106
106
  }
107
107
  },
108
108
  {
109
- name: 'VantTabbarItem',
109
+ name: 'VanTabbarItem',
110
110
  alias: 'TabbarItem',
111
111
  label: '标签栏项',
112
112
  categoryId: 'nav',
package/src/vant/tag.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Tag: MaterialDescription = {
4
- name: 'VantTag',
4
+ name: 'VanTag',
5
5
  alias: 'Tag',
6
6
  label: '标签',
7
7
  categoryId: 'view',