@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 ActionBar: MaterialDescription[] = [
4
4
  {
5
- name: 'VantActionBar',
5
+ name: 'VanActionBar',
6
6
  alias: 'ActionBar',
7
7
  label: '动作栏',
8
8
  categoryId: 'nav',
@@ -24,28 +24,28 @@ const ActionBar: MaterialDescription[] = [
24
24
  snippet: {
25
25
  children: [
26
26
  {
27
- name: 'VantActionBarIcon',
27
+ name: 'VanActionBarIcon',
28
28
  props: {
29
29
  icon: 'chat-o',
30
30
  text: '客服'
31
31
  }
32
32
  },
33
33
  {
34
- name: 'VantActionBarIcon',
34
+ name: 'VanActionBarIcon',
35
35
  props: {
36
36
  icon: 'cart-o',
37
37
  text: '购物车'
38
38
  }
39
39
  },
40
40
  {
41
- name: 'VantActionBarIcon',
41
+ name: 'VanActionBarIcon',
42
42
  props: {
43
43
  icon: 'shop-o',
44
44
  text: '店铺'
45
45
  }
46
46
  },
47
47
  {
48
- name: 'VantActionBarButton',
48
+ name: 'VanActionBarButton',
49
49
  props: {
50
50
  type: 'danger',
51
51
  text: '立即购买'
@@ -55,7 +55,7 @@ const ActionBar: MaterialDescription[] = [
55
55
  }
56
56
  },
57
57
  {
58
- name: 'VantActionBarIcon',
58
+ name: 'VanActionBarIcon',
59
59
  alias: 'ActionBarIcon',
60
60
  label: '动作栏图标',
61
61
  categoryId: 'nav',
@@ -130,7 +130,7 @@ const ActionBar: MaterialDescription[] = [
130
130
  }
131
131
  },
132
132
  {
133
- name: 'VantActionBarButton',
133
+ name: 'VanActionBarButton',
134
134
  alias: 'ActionBarButton',
135
135
  label: '动作栏按钮',
136
136
  categoryId: 'nav',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ActionSheet: MaterialDescription = {
4
- name: 'VantActionSheet',
4
+ name: 'VanActionSheet',
5
5
  alias: 'ActionSheet',
6
6
  label: '动作面板',
7
7
  categoryId: 'feedback',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const AddressEdit: MaterialDescription = {
4
- name: 'VantAddressEdit',
4
+ name: 'VanAddressEdit',
5
5
  alias: 'AddressEdit',
6
6
  label: '地址编辑',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const AddressList: MaterialDescription = {
4
- name: 'VantAddressList',
4
+ name: 'VanAddressList',
5
5
  alias: 'AddressList',
6
6
  label: '地址列表',
7
7
  categoryId: 'business',
package/src/vant/area.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Area: MaterialDescription = {
4
- name: 'VantArea',
4
+ name: 'VanArea',
5
5
  alias: 'Area',
6
6
  label: '省市区选择',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const BackTop: MaterialDescription = {
4
- name: 'VantBackTop',
4
+ name: 'VanBackTop',
5
5
  alias: 'BackTop',
6
6
  label: '回到顶部',
7
7
  categoryId: 'nav',
package/src/vant/badge.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Badge: MaterialDescription = {
4
- name: 'VantBadge',
4
+ name: 'VanBadge',
5
5
  alias: 'Badge',
6
6
  label: '徽标',
7
7
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Barrage: MaterialDescription = {
4
- name: 'VantBarrage',
4
+ name: 'VanBarrage',
5
5
  alias: 'Barrage',
6
6
  label: '弹幕',
7
7
  categoryId: 'feedback',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Button: MaterialDescription = {
4
- name: 'VantButton',
4
+ name: 'VanButton',
5
5
  alias: 'Button',
6
6
  label: '按钮',
7
7
  categoryId: 'base',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Calendar: MaterialDescription = {
4
- name: 'VantCalendar',
4
+ name: 'VanCalendar',
5
5
  alias: 'Calendar',
6
6
  label: '日历',
7
7
  categoryId: 'form',
package/src/vant/card.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Card: MaterialDescription = {
4
- name: 'VantCard',
4
+ name: 'VanCard',
5
5
  alias: 'Card',
6
6
  label: '卡片',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Cascader: MaterialDescription = {
4
- name: 'VantCascader',
4
+ name: 'VanCascader',
5
5
  alias: 'Cascader',
6
6
  label: '级联选择',
7
7
  categoryId: 'form',
package/src/vant/cell.ts CHANGED
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Cell: MaterialDescription[] = [
4
4
  {
5
- name: 'VantCell',
5
+ name: 'VanCell',
6
6
  alias: 'Cell',
7
7
  label: '单元格',
8
8
  categoryId: 'base',
@@ -130,7 +130,7 @@ const Cell: MaterialDescription[] = [
130
130
  }
131
131
  },
132
132
  {
133
- name: 'VantCellGroup',
133
+ name: 'VanCellGroup',
134
134
  alias: 'CellGroup',
135
135
  label: '单元格组',
136
136
  categoryId: 'base',
@@ -158,14 +158,14 @@ const Cell: MaterialDescription[] = [
158
158
  snippet: {
159
159
  children: [
160
160
  {
161
- name: 'VantCell',
161
+ name: 'VanCell',
162
162
  props: {
163
163
  title: '单元格',
164
164
  value: '内容'
165
165
  }
166
166
  },
167
167
  {
168
- name: 'VantCell',
168
+ name: 'VanCell',
169
169
  props: {
170
170
  title: '单元格',
171
171
  value: '内容',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Checkbox: MaterialDescription[] = [
4
4
  {
5
- name: 'VantCheckbox',
5
+ name: 'VanCheckbox',
6
6
  alias: 'Checkbox',
7
7
  label: '复选框',
8
8
  categoryId: 'form',
@@ -77,7 +77,7 @@ const Checkbox: MaterialDescription[] = [
77
77
  }
78
78
  },
79
79
  {
80
- name: 'VantCheckboxGroup',
80
+ name: 'VanCheckboxGroup',
81
81
  alias: 'CheckboxGroup',
82
82
  label: '复选框组',
83
83
  categoryId: 'form',
@@ -135,14 +135,14 @@ const Checkbox: MaterialDescription[] = [
135
135
  },
136
136
  children: [
137
137
  {
138
- name: 'VantCheckbox',
138
+ name: 'VanCheckbox',
139
139
  props: {
140
140
  name: 'a'
141
141
  },
142
142
  children: '复选框 a'
143
143
  },
144
144
  {
145
- name: 'VantCheckbox',
145
+ name: 'VanCheckbox',
146
146
  props: {
147
147
  name: 'b'
148
148
  },
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Circle: MaterialDescription = {
4
- name: 'VantCircle',
4
+ name: 'VanCircle',
5
5
  alias: 'Circle',
6
6
  label: '环形进度条',
7
7
  categoryId: 'view',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Collapse: MaterialDescription[] = [
4
4
  {
5
- name: 'VantCollapse',
5
+ name: 'VanCollapse',
6
6
  alias: 'Collapse',
7
7
  label: '折叠面板',
8
8
  categoryId: 'view',
@@ -33,7 +33,7 @@ const Collapse: MaterialDescription[] = [
33
33
  },
34
34
  children: [
35
35
  {
36
- name: 'VantCollapseItem',
36
+ name: 'VanCollapseItem',
37
37
  props: {
38
38
  title: '标题1',
39
39
  name: '1'
@@ -41,7 +41,7 @@ const Collapse: MaterialDescription[] = [
41
41
  children: '代码是写出来给人看的,附带能在机器上运行。'
42
42
  },
43
43
  {
44
- name: 'VantCollapseItem',
44
+ name: 'VanCollapseItem',
45
45
  props: {
46
46
  title: '标题2',
47
47
  name: '2'
@@ -49,7 +49,7 @@ const Collapse: MaterialDescription[] = [
49
49
  children: '技术无非就是那些开发它的人的共同灵魂。。'
50
50
  },
51
51
  {
52
- name: 'VantCollapseItem',
52
+ name: 'VanCollapseItem',
53
53
  props: {
54
54
  title: '标题3',
55
55
  name: '3'
@@ -60,7 +60,7 @@ const Collapse: MaterialDescription[] = [
60
60
  }
61
61
  },
62
62
  {
63
- name: 'VantCollapseItem',
63
+ name: 'VanCollapseItem',
64
64
  alias: 'CollapseItem',
65
65
  label: '折叠面板',
66
66
  categoryId: 'view',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ContactCard: MaterialDescription = {
4
- name: 'VantContactCard',
4
+ name: 'VanContactCard',
5
5
  alias: 'ContactCard',
6
6
  label: '联系人卡片',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ContactEdit: MaterialDescription = {
4
- name: 'VantContactCard',
4
+ name: 'VanContactCard',
5
5
  alias: 'ContactEdit',
6
6
  label: '联系人编辑',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ContactList: MaterialDescription = {
4
- name: 'VantContactList',
4
+ name: 'VanContactList',
5
5
  alias: 'ContactList',
6
6
  label: '联系人列表',
7
7
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const CountDown: MaterialDescription = {
4
- name: 'VantCountDown',
4
+ name: 'VanCountDown',
5
5
  alias: 'CountDown',
6
6
  label: '倒计时',
7
7
  categoryId: 'view',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Coupon: MaterialDescription[] = [
4
4
  {
5
- name: 'VantCouponList',
5
+ name: 'VanCouponList',
6
6
  alias: 'CouponList',
7
7
  label: '优惠券列表',
8
8
  categoryId: 'business',
@@ -152,7 +152,7 @@ const Coupon: MaterialDescription[] = [
152
152
  }
153
153
  },
154
154
  {
155
- name: 'VantCouponCell',
155
+ name: 'VanCouponCell',
156
156
  alias: 'CouponCell',
157
157
  label: '优惠券单元格',
158
158
  categoryId: 'business',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const DatePicker: MaterialDescription = {
4
- name: 'VantDatePicker',
4
+ name: 'VanDatePicker',
5
5
  alias: 'DatePicker',
6
6
  label: '日期选择',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Dialog: MaterialDescription = {
4
- name: 'VantDialog',
4
+ name: 'VanDialog',
5
5
  alias: 'Dialog',
6
6
  label: '弹出框',
7
7
  categoryId: 'feedback',
@@ -175,7 +175,7 @@ const Dialog: MaterialDescription = {
175
175
  },
176
176
  children: [
177
177
  {
178
- name: 'VantImage',
178
+ name: 'VanImage',
179
179
  props: {
180
180
  src: 'https://fastly.jsdelivr.net/npm/@vant/assets/apple-3.jpeg'
181
181
  }
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Divider: MaterialDescription = {
4
- name: 'VantDivider',
4
+ name: 'VanDivider',
5
5
  alias: 'Divider',
6
6
  label: '分割线',
7
7
  categoryId: 'view',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const DropdownMenu: MaterialDescription[] = [
4
4
  {
5
- name: 'VantDropdownMenu',
5
+ name: 'VanDropdownMenu',
6
6
  alias: 'DropdownMenu',
7
7
  label: '下拉菜单',
8
8
  categoryId: 'feedback',
@@ -67,7 +67,7 @@ const DropdownMenu: MaterialDescription[] = [
67
67
  snippet: {
68
68
  children: [
69
69
  {
70
- name: 'VantDropdownItem',
70
+ name: 'VanDropdownItem',
71
71
  props: {
72
72
  modelValue: 0,
73
73
  options: [
@@ -78,7 +78,7 @@ const DropdownMenu: MaterialDescription[] = [
78
78
  }
79
79
  },
80
80
  {
81
- name: 'VantDropdownItem',
81
+ name: 'VanDropdownItem',
82
82
  props: {
83
83
  modelValue: 'a',
84
84
  options: [
@@ -92,7 +92,7 @@ const DropdownMenu: MaterialDescription[] = [
92
92
  }
93
93
  },
94
94
  {
95
- name: 'VantDropdownItem',
95
+ name: 'VanDropdownItem',
96
96
  alias: 'DropdownItem',
97
97
  label: '下拉菜单项',
98
98
  categoryId: 'feedback',
package/src/vant/empty.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Empty: MaterialDescription = {
4
- name: 'VantEmpty',
4
+ name: 'VanEmpty',
5
5
  alias: 'Empty',
6
6
  label: '空状态',
7
7
  categoryId: 'view',
package/src/vant/field.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Field: MaterialDescription = {
4
- name: 'VantField',
4
+ name: 'VanField',
5
5
  alias: 'Field',
6
6
  label: '输入框',
7
7
  categoryId: 'form',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const FloatingBubble: MaterialDescription = {
4
- name: 'VantFloatingBubble',
4
+ name: 'VanFloatingBubble',
5
5
  alias: 'FloatingBubble',
6
6
  label: '浮动气泡',
7
7
  categoryId: 'feedback',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const FloatingPanel: MaterialDescription = {
4
- name: 'VantFloatingPanel',
4
+ name: 'VanFloatingPanel',
5
5
  alias: 'FloatingPanel',
6
6
  label: '浮动面板',
7
7
  categoryId: 'feedback',
@@ -49,10 +49,10 @@ const FloatingPanel: MaterialDescription = {
49
49
  snippet: {
50
50
  children: [
51
51
  {
52
- name: 'VantCellGroup',
52
+ name: 'VanCellGroup',
53
53
  children: [
54
54
  {
55
- name: 'VantCell',
55
+ name: 'VanCell',
56
56
  props: {
57
57
  size: 'large',
58
58
  title: {
package/src/vant/form.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Form: MaterialDescription = {
4
- name: 'VantForm',
4
+ name: 'VanForm',
5
5
  alias: 'Form',
6
6
  label: '表单',
7
7
  categoryId: 'form',
@@ -108,13 +108,13 @@ const Form: MaterialDescription = {
108
108
  snippet: {
109
109
  children: [
110
110
  {
111
- name: 'VantCellGroup',
111
+ name: 'VanCellGroup',
112
112
  props: {
113
113
  inset: true
114
114
  },
115
115
  children: [
116
116
  {
117
- name: 'VantField',
117
+ name: 'VanField',
118
118
  props: {
119
119
  modelValue: '用户名',
120
120
  name: '用户名',
@@ -123,7 +123,7 @@ const Form: MaterialDescription = {
123
123
  }
124
124
  },
125
125
  {
126
- name: 'VantField',
126
+ name: 'VanField',
127
127
  props: {
128
128
  modelValue: '密码',
129
129
  name: '密码',
package/src/vant/grid.ts CHANGED
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Grid: MaterialDescription[] = [
4
4
  {
5
- name: 'VantGrid',
5
+ name: 'VanGrid',
6
6
  alias: 'Grid',
7
7
  label: '宫格',
8
8
  categoryId: 'nav',
@@ -67,7 +67,7 @@ const Grid: MaterialDescription[] = [
67
67
  snippet: {
68
68
  children: [
69
69
  {
70
- name: 'VantGridItem',
70
+ name: 'VanGridItem',
71
71
  props: {
72
72
  icon: 'photo-o',
73
73
  text: '文字'
@@ -86,7 +86,7 @@ const Grid: MaterialDescription[] = [
86
86
  }
87
87
  },
88
88
  {
89
- name: 'VantGridItem',
89
+ name: 'VanGridItem',
90
90
  alias: 'GridItem',
91
91
  label: '宫格项',
92
92
  categoryId: 'nav',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Highlight: MaterialDescription = {
4
- name: 'VantHighlight',
4
+ name: 'VanHighlight',
5
5
  alias: 'Highlight',
6
6
  label: '高亮文本',
7
7
  categoryId: 'view',
package/src/vant/icon.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Icon: MaterialDescription = {
4
- name: 'VantIcon',
4
+ name: 'VanIcon',
5
5
  alias: 'Icon',
6
6
  label: '图标',
7
7
  categoryId: 'base',
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const ImagePreview: MaterialDescription = {
4
- name: 'VantImagePreview',
4
+ name: 'VanImagePreview',
5
5
  alias: 'ImagePreview',
6
6
  label: '图片预览',
7
7
  categoryId: 'view',
package/src/vant/image.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const Image: MaterialDescription = {
4
- name: 'VantImage',
4
+ name: 'VanImage',
5
5
  alias: 'Image',
6
6
  label: '图片',
7
7
  categoryId: 'base',
@@ -2,7 +2,7 @@ import type { MaterialDescription } from '@vtj/core';
2
2
 
3
3
  const IndexBar: MaterialDescription[] = [
4
4
  {
5
- name: 'VantIndexBar',
5
+ name: 'VanIndexBar',
6
6
  alias: 'IndexBar',
7
7
  label: '索引栏',
8
8
  categoryId: 'nav',
@@ -49,19 +49,19 @@ const IndexBar: MaterialDescription[] = [
49
49
  ],
50
50
  snippet: {
51
51
  children: [
52
- { name: 'VantIndexAnchor', props: { index: 'A' } },
53
- { name: 'VantCell', props: { title: '文本' } },
54
- { name: 'VantCell', props: { title: '文本' } },
55
- { name: 'VantCell', props: { title: '文本' } },
56
- { name: 'VantIndexAnchor', props: { index: 'B' } },
57
- { name: 'VantCell', props: { title: '文本' } },
58
- { name: 'VantCell', props: { title: '文本' } },
59
- { name: 'VantCell', props: { title: '文本' } }
52
+ { name: 'VanIndexAnchor', props: { index: 'A' } },
53
+ { name: 'VanCell', props: { title: '文本' } },
54
+ { name: 'VanCell', props: { title: '文本' } },
55
+ { name: 'VanCell', props: { title: '文本' } },
56
+ { name: 'VanIndexAnchor', props: { index: 'B' } },
57
+ { name: 'VanCell', props: { title: '文本' } },
58
+ { name: 'VanCell', props: { title: '文本' } },
59
+ { name: 'VanCell', props: { title: '文本' } }
60
60
  ]
61
61
  }
62
62
  },
63
63
  {
64
- name: 'VantIndexAnchor',
64
+ name: 'VanIndexAnchor',
65
65
  alias: 'IndexAnchor',
66
66
  label: '索引栏锚点',
67
67
  categoryId: 'nav',