vant 4.0.0-rc.1 → 4.0.0-rc.2
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.
- package/changelog.generated.md +18 -265
- package/es/action-bar/index.css +1 -1
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-sheet/index.css +1 -1
- package/es/address-edit/index.css +1 -1
- package/es/address-list/index.css +1 -1
- package/es/badge/index.css +1 -1
- package/es/button/index.css +1 -1
- package/es/calendar/index.css +1 -1
- package/es/card/index.css +1 -1
- package/es/cascader/index.css +1 -1
- package/es/cell/index.css +1 -1
- package/es/cell-group/index.css +1 -1
- package/es/checkbox/index.css +1 -1
- package/es/circle/index.css +1 -1
- package/es/collapse-item/index.css +1 -1
- package/es/config-provider/ConfigProvider.mjs +2 -2
- package/es/contact-card/index.css +1 -1
- package/es/contact-edit/index.css +1 -1
- package/es/contact-list/index.css +1 -1
- package/es/count-down/index.css +1 -1
- package/es/coupon/index.css +1 -1
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-list/index.css +1 -1
- package/es/dialog/index.css +1 -1
- package/es/divider/index.css +1 -1
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/empty/index.css +1 -1
- package/es/field/index.css +1 -1
- package/es/grid-item/index.css +1 -1
- package/es/image/index.css +1 -1
- package/es/image-preview/index.css +1 -1
- package/es/index-anchor/index.css +1 -1
- package/es/index-bar/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.css +1 -1
- package/es/loading/index.css +1 -1
- package/es/nav-bar/index.css +1 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notify/index.css +1 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/overlay/index.css +1 -1
- package/es/pagination/index.css +1 -1
- package/es/password-input/index.css +1 -1
- package/es/picker/index.css +1 -1
- package/es/picker-group/index.css +1 -1
- package/es/popover/index.css +1 -1
- package/es/popup/index.css +1 -1
- package/es/progress/index.css +1 -1
- package/es/pull-refresh/index.css +1 -1
- package/es/radio/index.css +1 -1
- package/es/rate/index.css +1 -1
- package/es/search/index.css +1 -1
- package/es/share-sheet/index.css +1 -1
- package/es/sidebar/index.css +1 -1
- package/es/sidebar-item/index.css +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/slider/index.css +1 -1
- package/es/step/index.css +1 -1
- package/es/stepper/index.css +1 -1
- package/es/steps/index.css +1 -1
- package/es/sticky/index.css +1 -1
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/index.css +1 -1
- package/es/swipe/index.css +1 -1
- package/es/switch/index.css +1 -1
- package/es/tabbar/index.css +1 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/tabs/index.css +1 -1
- package/es/tag/index.css +1 -1
- package/es/toast/index.css +1 -1
- package/es/tree-select/index.css +1 -1
- package/es/uploader/index.css +1 -1
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/address-edit/index.css +1 -1
- package/lib/address-list/index.css +1 -1
- package/lib/badge/index.css +1 -1
- package/lib/button/index.css +1 -1
- package/lib/calendar/index.css +1 -1
- package/lib/card/index.css +1 -1
- package/lib/cascader/index.css +1 -1
- package/lib/cell/index.css +1 -1
- package/lib/cell-group/index.css +1 -1
- package/lib/checkbox/index.css +1 -1
- package/lib/circle/index.css +1 -1
- package/lib/collapse-item/index.css +1 -1
- package/lib/config-provider/ConfigProvider.js +2 -2
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-list/index.css +1 -1
- package/lib/count-down/index.css +1 -1
- package/lib/coupon/index.css +1 -1
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-list/index.css +1 -1
- package/lib/dialog/index.css +1 -1
- package/lib/divider/index.css +1 -1
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/empty/index.css +1 -1
- package/lib/field/index.css +1 -1
- package/lib/grid-item/index.css +1 -1
- package/lib/image/index.css +1 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-bar/index.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.css +1 -1
- package/lib/loading/index.css +1 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notify/index.css +1 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/overlay/index.css +1 -1
- package/lib/pagination/index.css +1 -1
- package/lib/password-input/index.css +1 -1
- package/lib/picker/index.css +1 -1
- package/lib/picker-group/index.css +1 -1
- package/lib/popover/index.css +1 -1
- package/lib/popup/index.css +1 -1
- package/lib/progress/index.css +1 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/radio/index.css +1 -1
- package/lib/rate/index.css +1 -1
- package/lib/search/index.css +1 -1
- package/lib/share-sheet/index.css +1 -1
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar-item/index.css +1 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/slider/index.css +1 -1
- package/lib/step/index.css +1 -1
- package/lib/stepper/index.css +1 -1
- package/lib/steps/index.css +1 -1
- package/lib/sticky/index.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/index.css +1 -1
- package/lib/swipe/index.css +1 -1
- package/lib/switch/index.css +1 -1
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tag/index.css +1 -1
- package/lib/toast/index.css +1 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/uploader/index.css +1 -1
- package/lib/vant.cjs.js +3 -3
- package/lib/vant.es.js +3 -3
- package/lib/vant.js +3 -3
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1726 -1726
- package/package.json +1 -1
package/changelog.generated.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
### [v4.0.0-rc.2](https://github.com/vant-ui/vant/compare/v4.0.0-rc.1...v4.0.0-rc.2)
|
2
|
+
|
3
|
+
`2022-09-11`
|
4
|
+
|
5
|
+
**Bug Fixes**
|
6
|
+
|
7
|
+
- attach css variables to :root element [#11026](https://github.com/vant-ui/vant/issues/11026)
|
8
|
+
- Dialog: incorrect transform behavior [#11028](https://github.com/vant-ui/vant/issues/11028)
|
9
|
+
|
10
|
+
**Document**
|
11
|
+
|
12
|
+
- changelog: vant@4.0.0-rc.1 [#11025](https://github.com/vant-ui/vant/issues/11025)
|
13
|
+
- fix legacy css variables in demo [b6f2eb](https://github.com/vant-ui/vant/commit/b6f2eb3e2a101e8dbae14d7649f98afa514af539)
|
14
|
+
|
15
|
+
**style**
|
16
|
+
|
17
|
+
- Empty: fix opacity in dark mode [#11027](https://github.com/vant-ui/vant/issues/11027)
|
1
18
|
### [v4.0.0-rc.1](https://github.com/vant-ui/vant/compare/v4.0.0-rc.0...v4.0.0-rc.1)
|
2
19
|
|
3
20
|
`2022-09-10`
|
@@ -27,268 +44,4 @@
|
|
27
44
|
**release**
|
28
45
|
|
29
46
|
- @vant/cli 4.0.4 [f0d3e0](https://github.com/vant-ui/vant/commit/f0d3e04fba4ecb05d7893d290d48089e860e3ee6)
|
30
|
-
|
31
|
-
|
32
|
-
`2022-09-04`
|
33
|
-
|
34
|
-
**Bug Fixes**
|
35
|
-
|
36
|
-
- DatePicker: failed to update model value [#10984](https://github.com/vant-ui/vant/issues/10984)
|
37
|
-
- DatePicker: min-date prop not work correctly [#10985](https://github.com/vant-ui/vant/issues/10985)
|
38
|
-
- Picker: fix passive event [8bcb34](https://github.com/vant-ui/vant/commit/8bcb34724f5bab2a184b075d85b8896f4a0a8c1f)
|
39
|
-
|
40
|
-
**Document**
|
41
|
-
|
42
|
-
- changelog: vant@3.6.2 [#11008](https://github.com/vant-ui/vant/issues/11008)
|
43
|
-
- changelog: vant@4.0.0-beta.1 [#10966](https://github.com/vant-ui/vant/issues/10966)
|
44
|
-
- DatePicker: fix basic usage [66aa29](https://github.com/vant-ui/vant/commit/66aa2906e0c4fa613e55e2cb57637a40b37cdb7e)
|
45
|
-
- DatePicker: fix toolbar slot name [#10983](https://github.com/vant-ui/vant/issues/10983)
|
46
|
-
- update babel-plugin-import tip [7d023f](https://github.com/vant-ui/vant/commit/7d023fd6e45b6407a339d8a07ab6c4e4b70f4f92)
|
47
|
-
|
48
|
-
**Feature**
|
49
|
-
|
50
|
-
- add new PickerGroup component [#11005](https://github.com/vant-ui/vant/issues/11005)
|
51
|
-
|
52
|
-
**release**
|
53
|
-
|
54
|
-
- 4.0.0-rc.0 [997f3e](https://github.com/vant-ui/vant/commit/997f3e0acda4828b81bef25956cd66869b646629)
|
55
|
-
### [v4.0.0-beta.1](https://github.com/vant-ui/vant/compare/v3.6.1...v4.0.0-beta.1)
|
56
|
-
|
57
|
-
`2022-08-24`
|
58
|
-
|
59
|
-
**Bug Fixes**
|
60
|
-
|
61
|
-
- ConfigProvider: should remove theme class on unmount [#10898](https://github.com/vant-ui/vant/issues/10898)
|
62
|
-
|
63
|
-
**Document**
|
64
|
-
|
65
|
-
- add babel-plugin-import migration guide [#10867](https://github.com/vant-ui/vant/issues/10867)
|
66
|
-
- add faq of remove babel-plugin-import [#10942](https://github.com/vant-ui/vant/issues/10942)
|
67
|
-
- changelog: 4.0.0-beta.0 [#10825](https://github.com/vant-ui/vant/issues/10825)
|
68
|
-
- fix link address in migrate-from-v3.md [#10919](https://github.com/vant-ui/vant/issues/10919)
|
69
|
-
- Icon: separate usingUrl demo from basicUsage [#10828](https://github.com/vant-ui/vant/issues/10828)
|
70
|
-
- ImagePreview: fix cell style in demo [0881de](https://github.com/vant-ui/vant/commit/0881de82af347002c3f37bba5e2f89aacdeadc16)
|
71
|
-
|
72
|
-
- Restore "fix(Popup&Toast): invalid adaptive width (#10961)" [#10961](https://github.com/vant-ui/vant/issues/10961)
|
73
|
-
|
74
|
-
**Feature**
|
75
|
-
|
76
|
-
- ConfigProvider: add theme-vars-dark and theme-vars-light props [#10939](https://github.com/vant-ui/vant/issues/10939)
|
77
|
-
- Picker: add clickOption event [#10865](https://github.com/vant-ui/vant/issues/10865)
|
78
|
-
- Popup: improve style when position is center [#10965](https://github.com/vant-ui/vant/issues/10965)
|
79
|
-
|
80
|
-
**release**
|
81
|
-
|
82
|
-
- 4.0.0-beta.1 [889b28](https://github.com/vant-ui/vant/commit/889b28609ad6cc53a8fa82017cff2e7d210f3f74)
|
83
|
-
### [v4.0.0-beta.0](https://github.com/vant-ui/vant/compare/v3.5.2...v4.0.0-beta.0)
|
84
|
-
|
85
|
-
`2022-07-16`
|
86
|
-
|
87
|
-
**Document**
|
88
|
-
|
89
|
-
- changelog: 4.0.0-alpha.4 [635194](https://github.com/vant-ui/vant/commit/63519433f12d4b1a17191c83df1dd928f5909542)
|
90
|
-
|
91
|
-
**Feature**
|
92
|
-
|
93
|
-
- add @vant/compat package [#10806](https://github.com/vant-ui/vant/issues/10806)
|
94
|
-
|
95
|
-
**perf**
|
96
|
-
|
97
|
-
- remove less source file to remove bundle size [#10752](https://github.com/vant-ui/vant/issues/10752)
|
98
|
-
|
99
|
-
**refactor**
|
100
|
-
|
101
|
-
- Dialog: redesign function-call API [#10781](https://github.com/vant-ui/vant/issues/10781)
|
102
|
-
- ImagePreview: redesign function-call API [#10802](https://github.com/vant-ui/vant/issues/10802)
|
103
|
-
- Notify: redesign function-call API [#10782](https://github.com/vant-ui/vant/issues/10782)
|
104
|
-
- Toast: redesign function-call API [#10804](https://github.com/vant-ui/vant/issues/10804)
|
105
|
-
|
106
|
-
**release**
|
107
|
-
|
108
|
-
- 4.0.0-beta.0 [151427](https://github.com/vant-ui/vant/commit/15142770f226f4e2834c42bf076dfd683a53202d)
|
109
|
-
### [v4.0.0-alpha.4](https://github.com/vant-ui/vant/compare/v3.5.0-beta.0...v4.0.0-alpha.4)
|
110
|
-
|
111
|
-
`2022-05-31`
|
112
|
-
|
113
|
-
**Document**
|
114
|
-
|
115
|
-
- changelog: 4.0.0-alpha.3 [fe2115](https://github.com/vant-ui/vant/commit/fe2115ee5c1e86f006858bc930219313afb46747)
|
116
|
-
|
117
|
-
**Feature**
|
118
|
-
|
119
|
-
- using mjs extension for esmodule [#10625](https://github.com/vant-ui/vant/issues/10625)
|
120
|
-
|
121
|
-
**release**
|
122
|
-
|
123
|
-
- 4.0.0-alpha.4 [1f19fb](https://github.com/vant-ui/vant/commit/1f19fb0d9f91317e799f4ce8f017f56841dad6e6)
|
124
|
-
### [v4.0.0-alpha.3](https://github.com/vant-ui/vant/compare/v3.4.9...v4.0.0-alpha.3)
|
125
|
-
|
126
|
-
`2022-05-02`
|
127
|
-
|
128
|
-
**Bug Fixes**
|
129
|
-
|
130
|
-
- Search: style error in dark mode [#10527](https://github.com/vant-ui/vant/issues/10527)
|
131
|
-
|
132
|
-
**Document**
|
133
|
-
|
134
|
-
- changelog: 4.0.0-alpha.2 [912a5f](https://github.com/vant-ui/vant/commit/912a5f17b1b429baa063de91c68a8bf6650b1189)
|
135
|
-
|
136
|
-
**release**
|
137
|
-
|
138
|
-
- 4.0.0-alpha.3 [bc60f5](https://github.com/vant-ui/vant/commit/bc60f5116bd832c599ec8ba43b58daece4abe280)
|
139
|
-
### [v4.0.0-alpha.2](https://github.com/vant-ui/vant/compare/v3.4.8...v4.0.0-alpha.2)
|
140
|
-
|
141
|
-
`2022-04-16`
|
142
|
-
|
143
|
-
**Document**
|
144
|
-
|
145
|
-
- changelog: 4.0.0-alpha.1 [5bff9e](https://github.com/vant-ui/vant/commit/5bff9e8c5ff4716740c7555ef185163569f7576c)
|
146
|
-
|
147
|
-
- breaking change(AddressEdit): remove postal [e08e98](https://github.com/vant-ui/vant/commit/e08e9845a29b8d5587f02eff84368e32157678f4)
|
148
|
-
|
149
|
-
**release**
|
150
|
-
|
151
|
-
- 4.0.0-alpha.2 [ea57c9](https://github.com/vant-ui/vant/commit/ea57c9e9ffc10847ac31e1c6b6dac8f81c4abb22)
|
152
|
-
### [v4.0.0-alpha.1](https://github.com/vant-ui/vant/compare/v3.4.6...v4.0.0-alpha.1)
|
153
|
-
|
154
|
-
`2022-03-19`
|
155
|
-
|
156
|
-
**Bug Fixes**
|
157
|
-
|
158
|
-
- Calendar, Picker: Fix calendar and picker's title color in dark mode [#10403](https://github.com/vant-ui/vant/issues/10403)
|
159
|
-
- ConfigProvider: dark mode not work as default value [#10413](https://github.com/vant-ui/vant/issues/10413)
|
160
|
-
- DatePicker: failed to update model value [#10415](https://github.com/vant-ui/vant/issues/10415)
|
161
|
-
- Dialog: Fix dialog title and message color in dark mode [#10379](https://github.com/vant-ui/vant/issues/10379)
|
162
|
-
|
163
|
-
**build**
|
164
|
-
|
165
|
-
- deploy v4 site [06199f](https://github.com/vant-ui/vant/commit/06199faf2c170bcd95e6aa49b51d981373ac42a6)
|
166
|
-
- fix workflow name [992eea](https://github.com/vant-ui/vant/commit/992eea3eeb8758942d40f9b893d0ff41c296c3ea)
|
167
|
-
|
168
|
-
**Document**
|
169
|
-
|
170
|
-
- DatePicker: fix formatter usage [#10416](https://github.com/vant-ui/vant/issues/10416)
|
171
|
-
- fix publicPath [db2e6c](https://github.com/vant-ui/vant/commit/db2e6ca12f75ee0db3b25cd1f9766f9e74e285f6)
|
172
|
-
- Picker: add v-model usage [#10417](https://github.com/vant-ui/vant/issues/10417)
|
173
|
-
- update [3a1e79](https://github.com/vant-ui/vant/commit/3a1e792e3151861e0ed780baa67823729db6a8a6)
|
174
|
-
- update 4.0.0-alpha changelog [#10339](https://github.com/vant-ui/vant/issues/10339)
|
175
|
-
|
176
|
-
**release**
|
177
|
-
|
178
|
-
- 4.0.0-alpha.1 [475d10](https://github.com/vant-ui/vant/commit/475d108ccb0f09dc09269751bd1bc15d1ea2ed0a)
|
179
|
-
### [v4.0.0-alpha.0](https://github.com/vant-ui/vant/compare/v3.4.5...v4.0.0-alpha.0)
|
180
|
-
|
181
|
-
`2022-02-21`
|
182
|
-
|
183
|
-
**Bug Fixes**
|
184
|
-
|
185
|
-
- AddressEdit: selectedOption maybe undefined [3979dd](https://github.com/vant-ui/vant/commit/3979ddc40af1325f5cc7889c6f0f277ccdb110c9)
|
186
|
-
- Area: allow to reset modelValue [8d49b8](https://github.com/vant-ui/vant/commit/8d49b88748c6bd36437628ab0242352dc0ba5159)
|
187
|
-
- DatePicker: allow modelValue to be empty [980f97](https://github.com/vant-ui/vant/commit/980f9760112958a2bd5c1e88a410e4c15636658a)
|
188
|
-
- Picker: currentColumns calculation [113e1b](https://github.com/vant-ui/vant/commit/113e1b7a6239c3097956e8692cb512e8ccecccb8)
|
189
|
-
- Picker: error when options is empty [018621](https://github.com/vant-ui/vant/commit/0186219586b75227bf69ce0e514c3ed94c52e1cc)
|
190
|
-
- Picker: failed to update modelValue [ff69fd](https://github.com/vant-ui/vant/commit/ff69fdacc7dd9bcf6bd17c4a493902d027644d92)
|
191
|
-
- Picker: fix some bugs [22654b](https://github.com/vant-ui/vant/commit/22654bf518cc21e45cf9ed5e597f5d5e1f411a17)
|
192
|
-
- Picker: option.className not work [d16075](https://github.com/vant-ui/vant/commit/d16075f39efbd7aeed4feab08cd4587bc73eb54c)
|
193
|
-
- Picker: should update modelValue immediately [e61bd4](https://github.com/vant-ui/vant/commit/e61bd487fa81533a6deb6c8aa52e92a549a000a4)
|
194
|
-
- Picker: should update selectedValues correctly [2a8bb8](https://github.com/vant-ui/vant/commit/2a8bb86fbb7d65f9ddc053de8bc3c9c1175d3dff)
|
195
|
-
- TimePicker: remove columns-order prop [7d22cc](https://github.com/vant-ui/vant/commit/7d22cc2155bef564ee910498d2f8f319ef601a41)
|
196
|
-
- TimePicker: should update modelValue immediately [7dae50](https://github.com/vant-ui/vant/commit/7dae50b0c9809e17448264752de831504f7f084d)
|
197
|
-
- vant-cli: pnpm compatibility [#10214](https://github.com/vant-ui/vant/issues/10214)
|
198
|
-
|
199
|
-
**Document**
|
200
|
-
|
201
|
-
- @vant/cli: changelog 4.0.0-rc.6 [fda3f1](https://github.com/vant-ui/vant/commit/fda3f1be9403c68bcc734ae08c760af3d0df6fa1)
|
202
|
-
- Area: update documents [a9baa3](https://github.com/vant-ui/vant/commit/a9baa3b2d188a16637acc1051fb554142408315b)
|
203
|
-
- dark mode [d4584a](https://github.com/vant-ui/vant/commit/d4584aafda247ad4d520afc063cd6a74f8d7ee4c)
|
204
|
-
- DatePicker: fix currentDate of year-month [c942ef](https://github.com/vant-ui/vant/commit/c942efb76b53885a66de5291c86ca1160713cfb3)
|
205
|
-
- docsearch version v4 [15e746](https://github.com/vant-ui/vant/commit/15e7461a93a32c7a0e43e46955adc45d845bc064)
|
206
|
-
- Form: fix demo [7deba8](https://github.com/vant-ui/vant/commit/7deba88b918f74d68b7880621983f2ad2d8eb549)
|
207
|
-
- Form: fix Picker demo [9cfef0](https://github.com/vant-ui/vant/commit/9cfef027aa787ed85566a7ce23beb8c2e8bffba1)
|
208
|
-
- Picker: new document [cc10eb](https://github.com/vant-ui/vant/commit/cc10eb1f2adddc5a6d34336669b85a8a571c1803)
|
209
|
-
- Picker: update demo [ceaab3](https://github.com/vant-ui/vant/commit/ceaab349f177d0280d15f66686890dc092434b80)
|
210
|
-
- update migration guide [d68053](https://github.com/vant-ui/vant/commit/d68053ea7f469953a8e81819e4aeb47ab169124f)
|
211
|
-
- update migration guide [f436b5](https://github.com/vant-ui/vant/commit/f436b5ae09af3f3ff8a5d21105ad0ff85cd48ff7)
|
212
|
-
- update v4 migration guide [6c24fa](https://github.com/vant-ui/vant/commit/6c24fa728ee078419cbd7b8efcd35b3b70021208)
|
213
|
-
- update Vant 4 [2ceb68](https://github.com/vant-ui/vant/commit/2ceb68e691440b49394ea05a82912f1e972146dd)
|
214
|
-
|
215
|
-
- breaking change(AddressEdit): adjust change-area event params [b3cf1d](https://github.com/vant-ui/vant/commit/b3cf1dfb54f04af08011d2b9930fd725856d153a)
|
216
|
-
- breaking change: event name become camelCase [8ca974](https://github.com/vant-ui/vant/commit/8ca9741845cc7f5c73c23bb81c98ec2802971e27)
|
217
|
-
- breaking change: shorter css var names [7d6916](https://github.com/vant-ui/vant/commit/7d6916b946440fdd7fb3e0bd4c1117c989d74a93)
|
218
|
-
- breaking change: no longer support less vars [ada5db](https://github.com/vant-ui/vant/commit/ada5db011c676893a2917b9424be1aeafe54134b)
|
219
|
-
- breaking change(Tabs): remove click、disabled event [099141](https://github.com/vant-ui/vant/commit/099141f6c5b0e43c7e3ceeae98ee7e6e512212d6)
|
220
|
-
- breaking change(Picker): remove default slot、value-key prop [6a4033](https://github.com/vant-ui/vant/commit/6a4033b6bc72c38ff103c16e039ecd73ccacd4df)
|
221
|
-
|
222
|
-
**Feature**
|
223
|
-
|
224
|
-
- @vant/cli: desktop site support dark mode [35a990](https://github.com/vant-ui/vant/commit/35a990ed65500311cbcafae506780dc6d3fb49fa)
|
225
|
-
- @vant/cli: mobile site support dark mode [df24a3](https://github.com/vant-ui/vant/commit/df24a3b6834e4b9439580498f9c4a7448f7ca7c2)
|
226
|
-
- ActionBar: update icon text color [650bdd](https://github.com/vant-ui/vant/commit/650bdd22941d9119d8a78f1ffc37d8562c68f9a1)
|
227
|
-
- add dark mode basic variables [73322f](https://github.com/vant-ui/vant/commit/73322fd310849f53bf6f9e5bc508991c770af620)
|
228
|
-
- Area: add getSelectedOptions method [35a500](https://github.com/vant-ui/vant/commit/35a50012c76495119a44efa2cfc231f8b1921f40)
|
229
|
-
- ConfigProvider: add theme prop [f95734](https://github.com/vant-ui/vant/commit/f9573402a79d2de0abcfb43f6cbcf4c7e7e8c64f)
|
230
|
-
- ConfigProvider: dark theme class [97b074](https://github.com/vant-ui/vant/commit/97b074ad0c3d8f25b9281120444901128bfdc5a1)
|
231
|
-
- DatePicker: date columns calculation [e8ffc8](https://github.com/vant-ui/vant/commit/e8ffc80dc65a9a09e342a97d9314c498e8e78264)
|
232
|
-
- Picker: add getSelectedOptions method [83295e](https://github.com/vant-ui/vant/commit/83295e655da9ae2debbf2e7472753517d5b5241d)
|
233
|
-
- TimePicker: support select second [2e053a](https://github.com/vant-ui/vant/commit/2e053ad76bf254fbe14cee2b3c3d2dc7766c9462)
|
234
|
-
|
235
|
-
**refactor**
|
236
|
-
|
237
|
-
- Area component [cca428](https://github.com/vant-ui/vant/commit/cca428aac63da792e8de8f3f6f76d164cab46cb6)
|
238
|
-
- attach css variables to body element [541458](https://github.com/vant-ui/vant/commit/541458c41b69e3bc977aa39a0e91be2b2d91883a)
|
239
|
-
- DatePicker Component [5b4075](https://github.com/vant-ui/vant/commit/5b407566db61d2ff7e6512ca8f82f39111d8da0f)
|
240
|
-
- DatePicker: v-model now is string array [ef8e66](https://github.com/vant-ui/vant/commit/ef8e66a9244606899339c7153ec2d66406afbf81)
|
241
|
-
- Picker: data driven [89b029](https://github.com/vant-ui/vant/commit/89b029aa42400b2570b7676b881f6311abe42352)
|
242
|
-
- Picker: rename item-height to option-height [c06141](https://github.com/vant-ui/vant/commit/c061412138e41a07a87110692621517eac814428)
|
243
|
-
- rename --van-background-light to --van-background-2 [98b999](https://github.com/vant-ui/vant/commit/98b999d911c41ac1a73e6ef375b4966befe69b20)
|
244
|
-
- TimePicker component [42d1dd](https://github.com/vant-ui/vant/commit/42d1dd836c141f499343aa6a8278d1b3be4953ac)
|
245
|
-
- TimePicker: modelValue now is string array [fdcf99](https://github.com/vant-ui/vant/commit/fdcf9931bed3da6f1faedff99f3a6b8202d75691)
|
246
|
-
|
247
|
-
**release**
|
248
|
-
|
249
|
-
- @vant/cli 4.0.0-rc.6 [e93ae7](https://github.com/vant-ui/vant/commit/e93ae7b430afac7f431af23e334eaf0bf17a9e9d)
|
250
|
-
- 4.0.0-alpha.0 [c20664](https://github.com/vant-ui/vant/commit/c206642d2d6771b681c369653228ec692fd28754)
|
251
|
-
|
252
|
-
**style**
|
253
|
-
|
254
|
-
- @vant/cli: adjust css vars [b6fcd3](https://github.com/vant-ui/vant/commit/b6fcd32dcf201703d32ee4ce70d6147b4c4605ef)
|
255
|
-
- @vant/cli: improve demo style in dark mode [0e8e32](https://github.com/vant-ui/vant/commit/0e8e3200a2f3fbdfd46f324d89ae05a38680f421)
|
256
|
-
- @vant/cli: improve mobile style in dark mode [f5c32c](https://github.com/vant-ui/vant/commit/f5c32c29f115ef072a20ff736732a1c66557f992)
|
257
|
-
- AddressEdit: submit button using primary type [c65d4f](https://github.com/vant-ui/vant/commit/c65d4f96727059d19ad7bb014b53d679754bd512)
|
258
|
-
- AddressList: using primary color [fcd91c](https://github.com/vant-ui/vant/commit/fcd91cb0b03ade0def49928bdd2ec2ea652f4408)
|
259
|
-
- Button: adjust font-smoothing [bda361](https://github.com/vant-ui/vant/commit/bda3617d14f3e93f04748915bb595467c1696945)
|
260
|
-
- Button: increase default border radius from 2px to 4px [d86771](https://github.com/vant-ui/vant/commit/d867710cc9ca273dbf6c1d4edc568f57e5806243)
|
261
|
-
- Button: update default button border color [bd2428](https://github.com/vant-ui/vant/commit/bd24288a12b38fecafc6302f1216587e7a6710fb)
|
262
|
-
- Calendar: using primary color by default [4e89e8](https://github.com/vant-ui/vant/commit/4e89e88845adba1af3a6a6db19d8df7cae6aa9fb)
|
263
|
-
- Card: blue tag [369201](https://github.com/vant-ui/vant/commit/3692014070beb9d3187106803e742b28ab0b3310)
|
264
|
-
- Card: improve card mode style [cb2d99](https://github.com/vant-ui/vant/commit/cb2d99c8cf7abde3e08df79085f13a21c47c9bc7)
|
265
|
-
- Cascader: using primary color by default [84b90b](https://github.com/vant-ui/vant/commit/84b90b1f4c9e52c9638426e79a269d53801cc0b1)
|
266
|
-
- Cell: remove value aline style [0a7b53](https://github.com/vant-ui/vant/commit/0a7b53553364691e11af6906b5d22dee8e570cce)
|
267
|
-
- ContactEdit: adjust submit button [43ae30](https://github.com/vant-ui/vant/commit/43ae30026adf98b076ec26c3214c24387cb63082)
|
268
|
-
- ContactList: using primary color [d39f6a](https://github.com/vant-ui/vant/commit/d39f6a898afa4c5bbd5ef33035e42f656b0ec6f7)
|
269
|
-
- CouponList: change default color [85c5ad](https://github.com/vant-ui/vant/commit/85c5ad671868b7156968b681a00b147a57504c84)
|
270
|
-
- CouponList: update field background color in dark mode [82e0e4](https://github.com/vant-ui/vant/commit/82e0e454d0de31d5a1a68a17a6e566d42ba86d74)
|
271
|
-
- DropdownMenu: using primary color by default [37e7c6](https://github.com/vant-ui/vant/commit/37e7c618b82527616d9f988f3249dda347eb7923)
|
272
|
-
- Field: adjust label color [8e98e9](https://github.com/vant-ui/vant/commit/8e98e9744939003f1679b465ccd5124539a99f36)
|
273
|
-
- GridItem: adust text color [42f03f](https://github.com/vant-ui/vant/commit/42f03fe1a241ff5311e9fe6696fb614b225faa72)
|
274
|
-
- increase font-weight bold [bef919](https://github.com/vant-ui/vant/commit/bef919c7f011bffdb31bad1ca085df5be24679f4)
|
275
|
-
- IndexBar: increase font weight of active index [d6e80e](https://github.com/vant-ui/vant/commit/d6e80e8954931927808c7fabf37473db35e8730b)
|
276
|
-
- IndexBar: using primary color by default [8b95db](https://github.com/vant-ui/vant/commit/8b95db15746bbf02a9091c8e604c9bb3884148b0)
|
277
|
-
- Sidebar: using primary color by default [eeb233](https://github.com/vant-ui/vant/commit/eeb233bf990a598282c21559520415a64a237179)
|
278
|
-
- Slider: improve dark mode color [fc2847](https://github.com/vant-ui/vant/commit/fc2847fdb442f3a5c5f1e26cc14858e136a86b3c)
|
279
|
-
- Stepper: using primary color by default [41b1cd](https://github.com/vant-ui/vant/commit/41b1cd71854514404c6a601ee22586a9ae243ee3)
|
280
|
-
- Steps: update default button border color [5a1566](https://github.com/vant-ui/vant/commit/5a15660c77082d814da2b68527136994ab9112f8)
|
281
|
-
- Switch: adjust style [2acd47](https://github.com/vant-ui/vant/commit/2acd47b5ee251d1af729c44b8516a4cc0fa06d44)
|
282
|
-
- Switch: adjust width [73788f](https://github.com/vant-ui/vant/commit/73788f9e88beba576d2599a939caa4b4970b396f)
|
283
|
-
- Tabbar: adjust text color [39b51d](https://github.com/vant-ui/vant/commit/39b51d5dae7e9c0ab1e5fb03a868a06cdbf6b269)
|
284
|
-
- Tabs: using primary color by default [3b10d6](https://github.com/vant-ui/vant/commit/3b10d66bb92869d03b7af8228bfd1b1e0361a033)
|
285
|
-
- TreeSelect: using primary color [cce3ce](https://github.com/vant-ui/vant/commit/cce3ceb5b68e445d0b9ea94f91d6b46246444b36)
|
286
|
-
- update van doc background [5b3c4f](https://github.com/vant-ui/vant/commit/5b3c4f15468428c29dcd7cc43ca5a82831b6f87a)
|
287
|
-
|
288
|
-
**Types**
|
289
|
-
|
290
|
-
- AddressEdit: SearchItem optional [27c46b](https://github.com/vant-ui/vant/commit/27c46b01ae391f7c26430ea258181d1f534511a0)
|
291
|
-
- DatePicker: export DatePickerColumnType [829db0](https://github.com/vant-ui/vant/commit/829db06d5b2576e2024a280bd10ba1fa3f17f25c)
|
292
|
-
- Picker: fix columns prop typing [6c64bc](https://github.com/vant-ui/vant/commit/6c64bc33c1ba537b7951dcbc02d6deec3aaab093)
|
293
|
-
- Picker: fix return type of getSelectedOptions [967cb5](https://github.com/vant-ui/vant/commit/967cb56c181cc145189a868f49c4666a75f85b00)
|
294
|
-
- TimePicker: export TimePickerColumnType [b608fb](https://github.com/vant-ui/vant/commit/b608fb23f031cf09a474039cd9cd23f8bc7811d3)
|
47
|
+
- 4.0.0-rc.1 [09c2bd](https://github.com/vant-ui/vant/commit/09c2bd8efda6981532a5dfd38a46664d49e8f207)
|
package/es/action-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-address-list-padding: var(--van-padding-sm) var(--van-padding-sm) 80px;--van-address-list-disabled-text-color: var(--van-text-color-2);--van-address-list-disabled-text-padding: calc(var(--van-padding-base) * 5) 0;--van-address-list-disabled-text-font-size: var(--van-font-size-md);--van-address-list-disabled-text-line-height: var(--van-line-height-md);--van-address-list-add-button-z-index: 999;--van-address-list-item-padding: var(--van-padding-sm);--van-address-list-item-text-color: var(--van-text-color);--van-address-list-item-disabled-text-color: var(--van-text-color-3);--van-address-list-item-font-size: 13px;--van-address-list-item-line-height: var(--van-line-height-sm);--van-address-list-radio-color: var(--van-primary-color);--van-address-list-edit-icon-size: 20px}.van-address-list{box-sizing:border-box;height:100%;padding:var(--van-address-list-padding)}.van-address-list__bottom{position:fixed;bottom:0;left:0;z-index:var(--van-address-list-add-button-z-index);box-sizing:border-box;width:100%;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-address-list__add{height:40px;margin:5px 0}.van-address-list__disabled-text{padding:var(--van-address-list-disabled-text-padding);color:var(--van-address-list-disabled-text-color);font-size:var(--van-address-list-disabled-text-font-size);line-height:var(--van-address-list-disabled-text-line-height)}.van-address-item{padding:var(--van-address-list-item-padding);background-color:var(--van-background-2);border-radius:var(--van-radius-lg)}.van-address-item:not(:last-child){margin-bottom:var(--van-padding-sm)}.van-address-item__title{padding-right:44px}.van-address-item__name{display:flex;align-items:center;margin-bottom:var(--van-padding-xs);font-size:var(--van-font-size-lg);line-height:var(--van-line-height-lg)}.van-address-item__tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-address-item__address{color:var(--van-address-list-item-text-color);font-size:var(--van-address-list-item-font-size);line-height:var(--van-address-list-item-line-height)}.van-address-item--disabled .van-address-item__name,.van-address-item--disabled .van-address-item__address{color:var(--van-address-list-item-disabled-text-color)}.van-address-item__edit{position:absolute;top:50%;right:var(--van-padding-md);color:var(--van-gray-6);font-size:var(--van-address-list-edit-icon-size);transform:translateY(-50%)}.van-address-item .van-cell{padding:0}.van-address-item .van-radio__label{margin-left:var(--van-padding-sm)}.van-address-item .van-radio__icon--checked .van-icon{background-color:var(--van-address-list-radio-color);border-color:var(--van-address-list-radio-color)}
|
package/es/badge/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-badge-size: 16px;--van-badge-color: var(--van-white);--van-badge-padding: 0 3px;--van-badge-font-size: var(--van-font-size-sm);--van-badge-font-weight: var(--van-font-bold);--van-badge-border-width: var(--van-border-width);--van-badge-background: var(--van-danger-color);--van-badge-dot-color: var(--van-danger-color);--van-badge-dot-size: 8px;--van-badge-font: -apple-system-font, helvetica neue, arial, sans-serif}.van-badge{display:inline-block;box-sizing:border-box;min-width:var(--van-badge-size);padding:var(--van-badge-padding);color:var(--van-badge-color);font-weight:var(--van-badge-font-weight);font-size:var(--van-badge-font-size);font-family:var(--van-badge-font);line-height:1.2;text-align:center;background:var(--van-badge-background);border:var(--van-badge-border-width) solid var(--van-background-2);border-radius:var(--van-radius-max)}.van-badge--fixed{position:absolute;transform-origin:100%}.van-badge--top-left{top:0;left:0;transform:translate(-50%,-50%)}.van-badge--top-right{top:0;right:0;transform:translate(50%,-50%)}.van-badge--bottom-left{bottom:0;left:0;transform:translate(-50%,50%)}.van-badge--bottom-right{bottom:0;right:0;transform:translate(50%,50%)}.van-badge--dot{width:var(--van-badge-dot-size);min-width:0;height:var(--van-badge-dot-size);background:var(--van-badge-dot-color);border-radius:100%;border:none;padding:0}.van-badge__wrapper{position:relative;display:inline-block}
|
package/es/button/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-button-mini-height: 24px;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: 32px;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 15px;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 50px;--van-button-default-height: 44px;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background: var(--van-background-2);--van-button-default-border-color: var(--van-gray-4);--van-button-primary-color: var(--van-white);--van-button-primary-background: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width);--van-button-radius: var(--van-radius-md);--van-button-round-radius: var(--van-radius-max);--van-button-plain-background: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: 20px}.van-theme-dark{--van-button-plain-background: transparent}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-radius);cursor:pointer;transition:opacity var(--van-duration-fast);-webkit-appearance:none;-webkit-font-smoothing:auto}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background)}.van-button--plain.van-button--success{color:var(--van-button-success-background)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-radius)}.van-button--hairline.van-button--square:after{border-radius:0}
|
package/es/calendar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}
|
package/es/card/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 88px;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: 16px;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:32px;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:5px;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:5px}
|
package/es/cascader/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-cascader-header-height: 48px;--van-cascader-header-padding: 0 var(--van-padding-md);--van-cascader-title-font-size: var(--van-font-size-lg);--van-cascader-title-line-height: 20px;--van-cascader-close-icon-size: 22px;--van-cascader-close-icon-color: var(--van-gray-5);--van-cascader-selected-icon-size: 18px;--van-cascader-tabs-height: 48px;--van-cascader-active-color: var(--van-primary-color);--van-cascader-options-height: 384px;--van-cascader-option-disabled-color: var(--van-text-color-3);--van-cascader-tab-color: var(--van-text-color);--van-cascader-unselected-tab-color: var(--van-text-color-2)}.van-cascader__header{display:flex;align-items:center;justify-content:space-between;height:var(--van-cascader-header-height);padding:var(--van-cascader-header-padding)}.van-cascader__title{font-weight:var(--van-font-bold);font-size:var(--van-cascader-title-font-size);line-height:var(--van-cascader-title-line-height)}.van-cascader__close-icon{color:var(--van-cascader-close-icon-color);font-size:var(--van-cascader-close-icon-size)}.van-cascader__tabs.van-tabs--line .van-tabs__wrap{height:var(--van-cascader-tabs-height)}.van-cascader__tab{color:var(--van-cascader-tab-color);font-weight:var(--van-font-bold)}.van-cascader__tab--unselected{color:var(--van-cascader-unselected-tab-color);font-weight:400}.van-cascader__option{display:flex;align-items:center;justify-content:space-between;padding:10px var(--van-padding-md);font-size:var(--van-font-size-md);line-height:var(--van-line-height-md);cursor:pointer}.van-cascader__option:active{background-color:var(--van-active-color)}.van-cascader__option--selected{color:var(--van-cascader-active-color);font-weight:var(--van-font-bold)}.van-cascader__option--disabled{color:var(--van-cascader-option-disabled-color);cursor:not-allowed}.van-cascader__option--disabled:active{background-color:transparent}.van-cascader__selected-icon{font-size:var(--van-cascader-selected-icon-size)}.van-cascader__options{box-sizing:border-box;height:var(--van-cascader-options-height);padding-top:6px;overflow-y:auto;-webkit-overflow-scrolling:touch}
|
package/es/cell/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}
|
package/es/cell-group/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: 16px;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}
|
package/es/checkbox/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}
|
package/es/circle/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-circle-size: 100px;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-collapse-item-duration: var(--van-duration-base);--van-collapse-item-content-padding: var(--van-padding-sm) var(--van-padding-md);--van-collapse-item-content-font-size: var(--van-font-size-md);--van-collapse-item-content-line-height: 1.5;--van-collapse-item-content-text-color: var(--van-text-color-2);--van-collapse-item-content-background: var(--van-background-2);--van-collapse-item-title-disabled-color: var(--van-text-color-3)}.van-collapse-item{position:relative}.van-collapse-item--border:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:var(--van-padding-md);left:var(--van-padding-md);border-top:1px solid var(--van-border-color);transform:scaleY(.5)}.van-collapse-item__title .van-cell__right-icon:before{transform:rotate(90deg) translateZ(0);transition:transform var(--van-collapse-item-duration)}.van-collapse-item__title:after{right:var(--van-padding-md);display:none}.van-collapse-item__title--expanded .van-cell__right-icon:before{transform:rotate(-90deg)}.van-collapse-item__title--expanded:after{display:block}.van-collapse-item__title--borderless:after{display:none}.van-collapse-item__title--disabled{cursor:not-allowed}.van-collapse-item__title--disabled,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--van-collapse-item-title-disabled-color)}.van-collapse-item__wrapper{overflow:hidden;transition:height var(--van-collapse-item-duration) ease-in-out;will-change:height}.van-collapse-item__content{padding:var(--van-collapse-item-content-padding);color:var(--van-collapse-item-content-text-color);font-size:var(--van-collapse-item-content-font-size);line-height:var(--van-collapse-item-content-line-height);background:var(--van-collapse-item-content-background)}
|
@@ -29,10 +29,10 @@ var stdin_default = defineComponent({
|
|
29
29
|
const style = computed(() => mapThemeVarsToCSSVars(extend({}, props.themeVars, props.theme === "dark" ? props.themeVarsDark : props.themeVarsLight)));
|
30
30
|
if (inBrowser) {
|
31
31
|
const addTheme = () => {
|
32
|
-
document.
|
32
|
+
document.documentElement.classList.add(`van-theme-${props.theme}`);
|
33
33
|
};
|
34
34
|
const removeTheme = (theme = props.theme) => {
|
35
|
-
document.
|
35
|
+
document.documentElement.classList.remove(`van-theme-${theme}`);
|
36
36
|
};
|
37
37
|
watch(() => props.theme, (newVal, oldVal) => {
|
38
38
|
if (oldVal) {
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-contact-card-padding: var(--van-padding-md);--van-contact-card-add-icon-size: 40px;--van-contact-card-add-icon-color: var(--van-primary-color);--van-contact-card-title-line-height: var(--van-line-height-md)}.van-contact-card{padding:var(--van-contact-card-padding)}.van-contact-card__title{margin-left:5px;line-height:var(--van-contact-card-title-line-height)}.van-contact-card--add .van-contact-card__value{line-height:var(--van-contact-card-add-icon-size)}.van-contact-card--add .van-cell__left-icon{color:var(--van-contact-card-add-icon-color);font-size:var(--van-contact-card-add-icon-size)}.van-contact-card:before{position:absolute;right:0;bottom:0;left:0;height:2px;background:repeating-linear-gradient(-45deg,var(--van-warning-color) 0,var(--van-warning-color) 20%,transparent 0,transparent 25%,var(--van-primary-color) 0,var(--van-primary-color) 45%,transparent 0,transparent 50%);background-size:80px;content:""}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-contact-edit-padding: var(--van-padding-md);--van-contact-edit-fields-radius: var(--van-radius-md);--van-contact-edit-buttons-padding: var(--van-padding-xl) 0;--van-contact-edit-button-margin-bottom: var(--van-padding-sm);--van-contact-edit-button-font-size: var(--van-font-size-lg);--van-contact-edit-field-label-width: 4.1em}.van-contact-edit{padding:var(--van-contact-edit-padding)}.van-contact-edit__fields{overflow:hidden;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__fields .van-field__label{width:var(--van-contact-edit-field-label-width)}.van-contact-edit__switch-cell{margin-top:10px;padding-top:9px;padding-bottom:9px;border-radius:var(--van-contact-edit-fields-radius)}.van-contact-edit__buttons{padding:var(--van-contact-edit-buttons-padding)}.van-contact-edit__button{margin-bottom:var(--van-contact-edit-button-margin-bottom);font-size:var(--van-contact-edit-button-font-size)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-contact-list-edit-icon-size: 16px;--van-contact-list-add-button-z-index: 999;--van-contact-list-radio-color: var(--van-primary-color);--van-contact-list-item-padding: var(--van-padding-md)}.van-contact-list{box-sizing:border-box;height:100%;padding-bottom:80px}.van-contact-list__item{padding:var(--van-contact-list-item-padding)}.van-contact-list__item-title{display:flex;align-items:center;padding-right:var(--van-padding-xl);padding-left:var(--van-padding-xs)}.van-contact-list__item-tag{flex:none;margin-left:var(--van-padding-xs);padding-top:0;padding-bottom:0;line-height:1.4em}.van-contact-list__group{box-sizing:border-box;height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.van-contact-list__edit{font-size:var(--van-contact-list-edit-icon-size)}.van-contact-list__radio .van-radio__icon--checked .van-icon{background-color:var(--van-contact-list-radio-color);border-color:var(--van-contact-list-radio-color)}.van-contact-list__bottom{position:fixed;right:0;bottom:0;left:0;z-index:var(--van-contact-list-add-button-z-index);padding-left:var(--van-padding-md);padding-right:var(--van-padding-md);background-color:var(--van-background-2)}.van-contact-list__add{height:40px;margin:5px 0}
|
package/es/count-down/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}
|
package/es/coupon/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 84px;--van-coupon-content-padding: 14px 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 4px rgba(0, 0, 0, .1);--van-coupon-head-width: 96px;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: 30px;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:6px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:2px}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:16px;white-space:pre-wrap}.van-coupon__:root{position:relative;flex:1;border-radius:0 var(--van-coupon-radius) var(--van-coupon-radius) 0}.van-coupon__name{margin-bottom:10px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:1px dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - 10px)}.van-coupon--disabled .van-coupon__head{color:inherit}
|
package/es/coupon-cell/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}
|
package/es/coupon-list/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__:root{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__:root::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__:root::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}
|