@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.
Files changed (98) hide show
  1. package/es/collapse-item/CollapseItem.js +26 -3
  2. package/es/date-picker/date-picker.css +1 -1
  3. package/es/date-picker/date-picker.less +7 -1
  4. package/es/date-picker/style/index.js +1 -0
  5. package/es/date-picker/style/less.js +1 -0
  6. package/es/input/Input.js +26 -6
  7. package/es/pull-refresh/PullRefresh.js +2 -2
  8. package/es/pull-refresh/props.js +1 -1
  9. package/es/select/Select.js +12 -6
  10. package/es/select/select.css +1 -1
  11. package/es/select/select.less +1 -0
  12. package/es/skeleton/Skeleton.js +6 -4
  13. package/es/style.css +1 -1
  14. package/es/themes/dark/timePicker.js +1 -1
  15. package/es/time-picker/timePicker.css +1 -1
  16. package/es/time-picker/timePicker.less +1 -1
  17. package/es/varlet.esm.js +59 -18
  18. package/highlight/attributes.json +1 -1
  19. package/highlight/web-types.json +2 -2
  20. package/lib/collapse-item/CollapseItem.js +25 -2
  21. package/lib/date-picker/date-picker.css +1 -1
  22. package/lib/date-picker/date-picker.less +7 -1
  23. package/lib/date-picker/style/index.js +1 -0
  24. package/lib/date-picker/style/less.js +1 -0
  25. package/lib/input/Input.js +26 -6
  26. package/lib/pull-refresh/PullRefresh.js +2 -2
  27. package/lib/pull-refresh/props.js +1 -1
  28. package/lib/select/Select.js +11 -5
  29. package/lib/select/select.css +1 -1
  30. package/lib/select/select.less +1 -0
  31. package/lib/skeleton/Skeleton.js +6 -4
  32. package/lib/snackbar/style/index.js +1 -1
  33. package/lib/snackbar/style/less.js +1 -1
  34. package/lib/style.css +1 -1
  35. package/lib/themes/dark/timePicker.js +1 -1
  36. package/lib/time-picker/timePicker.css +1 -1
  37. package/lib/time-picker/timePicker.less +1 -1
  38. package/package.json +5 -5
  39. package/types/actionSheet.d.ts +2 -1
  40. package/types/appBar.d.ts +2 -1
  41. package/types/backTop.d.ts +2 -1
  42. package/types/badge.d.ts +2 -1
  43. package/types/bottomNavigation.d.ts +2 -1
  44. package/types/bottomNavigationItem.d.ts +2 -1
  45. package/types/button.d.ts +2 -1
  46. package/types/card.d.ts +2 -1
  47. package/types/cell.d.ts +2 -1
  48. package/types/checkbox.d.ts +2 -1
  49. package/types/checkboxGroup.d.ts +2 -1
  50. package/types/chip.d.ts +2 -1
  51. package/types/col.d.ts +2 -1
  52. package/types/collapse.d.ts +2 -1
  53. package/types/collapseItem.d.ts +2 -1
  54. package/types/countdown.d.ts +2 -1
  55. package/types/counter.d.ts +2 -1
  56. package/types/datePicker.d.ts +2 -1
  57. package/types/dialog.d.ts +2 -1
  58. package/types/divider.d.ts +2 -1
  59. package/types/form.d.ts +2 -1
  60. package/types/icon.d.ts +2 -1
  61. package/types/image.d.ts +2 -1
  62. package/types/imagePreview.d.ts +2 -1
  63. package/types/indexAnchor.d.ts +2 -1
  64. package/types/indexBar.d.ts +2 -1
  65. package/types/input.d.ts +3 -2
  66. package/types/list.d.ts +2 -1
  67. package/types/loading.d.ts +2 -1
  68. package/types/menu.d.ts +2 -1
  69. package/types/option.d.ts +2 -1
  70. package/types/pagination.d.ts +2 -1
  71. package/types/picker.d.ts +2 -1
  72. package/types/popup.d.ts +2 -1
  73. package/types/progress.d.ts +2 -1
  74. package/types/pullRefresh.d.ts +2 -1
  75. package/types/radio.d.ts +2 -1
  76. package/types/radioGroup.d.ts +2 -1
  77. package/types/rate.d.ts +2 -1
  78. package/types/row.d.ts +2 -1
  79. package/types/select.d.ts +2 -1
  80. package/types/skeleton.d.ts +2 -1
  81. package/types/slider.d.ts +2 -1
  82. package/types/snackbar.d.ts +2 -1
  83. package/types/space.d.ts +2 -1
  84. package/types/step.d.ts +2 -1
  85. package/types/steps.d.ts +2 -1
  86. package/types/sticky.d.ts +2 -1
  87. package/types/styleProvider.d.ts +2 -1
  88. package/types/swipe.d.ts +2 -1
  89. package/types/swipeItem.d.ts +2 -1
  90. package/types/switch.d.ts +2 -1
  91. package/types/tab.d.ts +2 -1
  92. package/types/tabItem.d.ts +2 -1
  93. package/types/table.d.ts +2 -1
  94. package/types/tabs.d.ts +2 -1
  95. package/types/tabsItems.d.ts +2 -1
  96. package/types/timePicker.d.ts +2 -1
  97. package/types/uploader.d.ts +2 -1
  98. package/umd/varlet.js +4 -4
package/types/switch.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { VarComponent } from './varComponent'
2
+ import type { BasicAttributes } from './varComponent'
2
3
 
3
- export interface SwitchProps {
4
+ export interface SwitchProps extends BasicAttributes {
4
5
  modelValue?: any
5
6
  activeValue?: any
6
7
  inactiveValue?: any
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
@@ -1,6 +1,7 @@
1
1
  import { VarComponent } from './varComponent'
2
+ import type { BasicAttributes } from './varComponent'
2
3
 
3
- export interface TabItemProps {
4
+ export interface TabItemProps extends BasicAttributes {
4
5
  name?: string | number
5
6
  }
6
7
 
package/types/table.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { VarComponent } from './varComponent'
2
+ import type { BasicAttributes } from './varComponent'
2
3
 
3
- export interface TableProps {
4
+ export interface TableProps extends BasicAttributes {
4
5
  fullWidth?: string | number
5
6
  }
6
7
 
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'
@@ -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
  }
@@ -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
@@ -1,6 +1,7 @@
1
1
  import { VarComponent } from './varComponent'
2
+ import type { BasicAttributes } from './varComponent'
2
3
 
3
- export interface VarFile {
4
+ export interface VarFile extends BasicAttributes {
4
5
  file?: File
5
6
  name?: string
6
7
  url?: string