@varlet/ui 1.27.16 → 1.27.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.
- package/es/collapse-item/CollapseItem.js +26 -3
- package/es/date-picker/date-picker.css +1 -1
- package/es/date-picker/date-picker.less +7 -1
- package/es/date-picker/style/index.js +1 -0
- package/es/date-picker/style/less.js +1 -0
- package/es/input/Input.js +26 -6
- package/es/pull-refresh/PullRefresh.js +2 -2
- package/es/pull-refresh/props.js +1 -1
- package/es/select/Select.js +12 -6
- package/es/select/select.css +1 -1
- package/es/select/select.less +1 -0
- package/es/skeleton/Skeleton.js +6 -4
- package/es/style.css +1 -1
- package/es/themes/dark/timePicker.js +1 -1
- package/es/time-picker/timePicker.css +1 -1
- package/es/time-picker/timePicker.less +1 -1
- package/es/varlet.esm.js +59 -18
- package/highlight/attributes.json +1 -1
- package/highlight/web-types.json +2 -2
- package/lib/collapse-item/CollapseItem.js +25 -2
- package/lib/date-picker/date-picker.css +1 -1
- package/lib/date-picker/date-picker.less +7 -1
- package/lib/date-picker/style/index.js +1 -0
- package/lib/date-picker/style/less.js +1 -0
- package/lib/input/Input.js +26 -6
- package/lib/pull-refresh/PullRefresh.js +2 -2
- package/lib/pull-refresh/props.js +1 -1
- package/lib/select/Select.js +11 -5
- package/lib/select/select.css +1 -1
- package/lib/select/select.less +1 -0
- package/lib/skeleton/Skeleton.js +6 -4
- package/lib/snackbar/style/index.js +1 -1
- package/lib/snackbar/style/less.js +1 -1
- package/lib/style.css +1 -1
- package/lib/themes/dark/timePicker.js +1 -1
- package/lib/time-picker/timePicker.css +1 -1
- package/lib/time-picker/timePicker.less +1 -1
- package/package.json +5 -5
- package/types/actionSheet.d.ts +2 -1
- package/types/appBar.d.ts +2 -1
- package/types/backTop.d.ts +2 -1
- package/types/badge.d.ts +2 -1
- package/types/bottomNavigation.d.ts +2 -1
- package/types/bottomNavigationItem.d.ts +2 -1
- package/types/button.d.ts +2 -1
- package/types/card.d.ts +2 -1
- package/types/cell.d.ts +2 -1
- package/types/checkbox.d.ts +2 -1
- package/types/checkboxGroup.d.ts +2 -1
- package/types/chip.d.ts +2 -1
- package/types/col.d.ts +2 -1
- package/types/collapse.d.ts +2 -1
- package/types/collapseItem.d.ts +2 -1
- package/types/countdown.d.ts +2 -1
- package/types/counter.d.ts +2 -1
- package/types/datePicker.d.ts +2 -1
- package/types/dialog.d.ts +2 -1
- package/types/divider.d.ts +2 -1
- package/types/form.d.ts +2 -1
- package/types/icon.d.ts +2 -1
- package/types/image.d.ts +2 -1
- package/types/imagePreview.d.ts +2 -1
- package/types/indexAnchor.d.ts +2 -1
- package/types/indexBar.d.ts +2 -1
- package/types/input.d.ts +3 -2
- package/types/list.d.ts +2 -1
- package/types/loading.d.ts +2 -1
- package/types/menu.d.ts +2 -1
- package/types/option.d.ts +2 -1
- package/types/pagination.d.ts +2 -1
- package/types/picker.d.ts +2 -1
- package/types/popup.d.ts +2 -1
- package/types/progress.d.ts +2 -1
- package/types/pullRefresh.d.ts +2 -1
- package/types/radio.d.ts +2 -1
- package/types/radioGroup.d.ts +2 -1
- package/types/rate.d.ts +2 -1
- package/types/row.d.ts +2 -1
- package/types/select.d.ts +2 -1
- package/types/skeleton.d.ts +2 -1
- package/types/slider.d.ts +2 -1
- package/types/snackbar.d.ts +2 -1
- package/types/space.d.ts +2 -1
- package/types/step.d.ts +2 -1
- package/types/steps.d.ts +2 -1
- package/types/sticky.d.ts +2 -1
- package/types/styleProvider.d.ts +2 -1
- package/types/swipe.d.ts +2 -1
- package/types/swipeItem.d.ts +2 -1
- package/types/switch.d.ts +2 -1
- package/types/tab.d.ts +2 -1
- package/types/tabItem.d.ts +2 -1
- package/types/table.d.ts +2 -1
- package/types/tabs.d.ts +2 -1
- package/types/tabsItems.d.ts +2 -1
- package/types/timePicker.d.ts +2 -1
- package/types/uploader.d.ts +2 -1
- package/umd/varlet.js +4 -4
package/types/switch.d.ts
CHANGED
package/types/tab.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VarComponent } from './varComponent'
|
|
2
|
+
import type { BasicAttributes } from './varComponent'
|
|
2
3
|
|
|
3
|
-
export interface TabProps {
|
|
4
|
+
export interface TabProps extends BasicAttributes {
|
|
4
5
|
name?: string | number
|
|
5
6
|
disabled?: boolean
|
|
6
7
|
onClick?: (active: string | number, e: Event) => void
|
package/types/tabItem.d.ts
CHANGED
package/types/table.d.ts
CHANGED
package/types/tabs.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VarComponent } from './varComponent'
|
|
2
|
+
import type { BasicAttributes } from './varComponent'
|
|
2
3
|
|
|
3
|
-
export interface TabsProps {
|
|
4
|
+
export interface TabsProps extends BasicAttributes {
|
|
4
5
|
active?: string | number
|
|
5
6
|
layoutDirection?: 'horizontal' | 'vertical'
|
|
6
7
|
itemDirection?: 'horizontal' | 'vertical'
|
package/types/tabsItems.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VarComponent } from './varComponent'
|
|
2
|
+
import type { BasicAttributes } from './varComponent'
|
|
2
3
|
|
|
3
|
-
export interface TabsItemsProps {
|
|
4
|
+
export interface TabsItemsProps extends BasicAttributes {
|
|
4
5
|
active?: string | number
|
|
5
6
|
'onUpdate:active'?: (active: string | number) => void
|
|
6
7
|
}
|
package/types/timePicker.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { VarComponent } from './varComponent'
|
|
2
|
+
import type { BasicAttributes } from './varComponent'
|
|
2
3
|
|
|
3
4
|
export type AllowedTime = {
|
|
4
5
|
hours?: (hour: number) => boolean
|
|
@@ -6,7 +7,7 @@ export type AllowedTime = {
|
|
|
6
7
|
seconds?: (second: number) => boolean
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
export interface TimePickerProps {
|
|
10
|
+
export interface TimePickerProps extends BasicAttributes {
|
|
10
11
|
modelValue?: string
|
|
11
12
|
shadow?: boolean
|
|
12
13
|
color?: string
|
package/types/uploader.d.ts
CHANGED