@varlet/ui 2.20.5 → 3.0.0-alpha.1704352780759

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 (161) hide show
  1. package/es/back-top/BackTop.mjs +0 -1
  2. package/es/back-top/backTop.css +1 -1
  3. package/es/badge/badge.css +1 -1
  4. package/es/bottom-navigation/BottomNavigation.mjs +1 -1
  5. package/es/bottom-navigation/bottomNavigation.css +1 -1
  6. package/es/button/button.css +1 -1
  7. package/es/card/Card.mjs +2 -1
  8. package/es/card/card.css +1 -1
  9. package/es/cell/cell.css +1 -1
  10. package/es/chip/Chip.mjs +1 -1
  11. package/es/chip/chip.css +1 -1
  12. package/es/chip/props.mjs +0 -2
  13. package/es/date-picker/DatePicker.mjs +1 -1
  14. package/es/date-picker/date-picker.css +1 -1
  15. package/es/date-picker/props.mjs +0 -2
  16. package/es/date-picker/src/panel-header.mjs +8 -6
  17. package/es/fab/Fab.mjs +1 -2
  18. package/es/fab/fab.css +1 -1
  19. package/es/field-decorator/FieldDecorator.mjs +9 -8
  20. package/es/hover-overlay/hoverOverlay.css +1 -1
  21. package/es/icon/icon.css +1 -1
  22. package/es/image-preview/ImagePreview.mjs +2 -10
  23. package/es/image-preview/props.mjs +0 -2
  24. package/es/index-bar/IndexBar.mjs +1 -1
  25. package/es/index-bar/props.mjs +0 -2
  26. package/es/index.bundle.mjs +1 -1
  27. package/es/index.mjs +1 -1
  28. package/es/input/Input.mjs +3 -0
  29. package/es/loading-bar/index.mjs +0 -5
  30. package/es/progress/Progress.mjs +1 -1
  31. package/es/progress/progress.css +1 -1
  32. package/es/progress/props.mjs +0 -1
  33. package/es/select/Select.mjs +3 -0
  34. package/es/snackbar/core.mjs +4 -3
  35. package/es/step/step.css +1 -1
  36. package/es/style.css +1 -1
  37. package/es/switch/Switch.mjs +1 -1
  38. package/es/themes/dark/badge.mjs +2 -1
  39. package/es/themes/dark/bottomNavigationItem.mjs +2 -1
  40. package/es/themes/dark/datePicker.mjs +1 -1
  41. package/es/themes/dark/timePicker.mjs +2 -1
  42. package/es/themes/index.mjs +3 -1
  43. package/es/themes/md3-dark/actionSheet.mjs +9 -0
  44. package/es/themes/md3-dark/appBar.mjs +7 -0
  45. package/es/themes/md3-dark/avatar.mjs +7 -0
  46. package/es/themes/md3-dark/backTop.mjs +6 -0
  47. package/es/themes/md3-dark/badge.mjs +12 -0
  48. package/es/themes/md3-dark/bottomNavigation.mjs +7 -0
  49. package/es/themes/md3-dark/bottomNavigationItem.mjs +8 -0
  50. package/es/themes/md3-dark/breadcrumb.mjs +6 -0
  51. package/es/themes/md3-dark/button.mjs +13 -0
  52. package/es/themes/md3-dark/card.mjs +28 -0
  53. package/es/themes/md3-dark/cell.mjs +7 -0
  54. package/es/themes/md3-dark/checkbox.mjs +7 -0
  55. package/es/themes/md3-dark/chip.mjs +18 -0
  56. package/es/themes/md3-dark/collapse.mjs +8 -0
  57. package/es/themes/md3-dark/countdown.mjs +6 -0
  58. package/es/themes/md3-dark/counter.mjs +7 -0
  59. package/es/themes/md3-dark/datePicker.mjs +19 -0
  60. package/es/themes/md3-dark/dialog.mjs +15 -0
  61. package/es/themes/md3-dark/divider.mjs +7 -0
  62. package/es/themes/md3-dark/fab.mjs +8 -0
  63. package/es/themes/md3-dark/fieldDecorator.mjs +7 -0
  64. package/es/themes/md3-dark/floatingPanel.mjs +10 -0
  65. package/es/themes/md3-dark/hoverOverlay.mjs +6 -0
  66. package/es/themes/md3-dark/index.d.ts +5 -0
  67. package/es/themes/md3-dark/index.mjs +79 -0
  68. package/es/themes/md3-dark/link.mjs +6 -0
  69. package/es/themes/md3-dark/menu.mjs +7 -0
  70. package/es/themes/md3-dark/menuOption.mjs +6 -0
  71. package/es/themes/md3-dark/menuSelect.mjs +7 -0
  72. package/es/themes/md3-dark/option.mjs +6 -0
  73. package/es/themes/md3-dark/pagination.mjs +11 -0
  74. package/es/themes/md3-dark/paper.mjs +6 -0
  75. package/es/themes/md3-dark/picker.mjs +11 -0
  76. package/es/themes/md3-dark/popup.mjs +6 -0
  77. package/es/themes/md3-dark/progress.mjs +6 -0
  78. package/es/themes/md3-dark/pullRefresh.mjs +6 -0
  79. package/es/themes/md3-dark/radio.mjs +7 -0
  80. package/es/themes/md3-dark/result.mjs +16 -0
  81. package/es/themes/md3-dark/select.mjs +7 -0
  82. package/es/themes/md3-dark/slider.mjs +11 -0
  83. package/es/themes/md3-dark/snackbar.mjs +7 -0
  84. package/es/themes/md3-dark/steps.mjs +9 -0
  85. package/es/themes/md3-dark/switch.mjs +6 -0
  86. package/es/themes/md3-dark/tab.mjs +6 -0
  87. package/es/themes/md3-dark/table.mjs +12 -0
  88. package/es/themes/md3-dark/tabs.mjs +6 -0
  89. package/es/themes/md3-dark/timePicker.mjs +17 -0
  90. package/es/themes/md3-dark/tooltip.mjs +13 -0
  91. package/es/themes/md3-dark/uploader.mjs +11 -0
  92. package/es/themes/md3-dark/watermark.mjs +6 -0
  93. package/es/themes/md3-light/actionSheet.mjs +9 -0
  94. package/es/themes/md3-light/avatar.mjs +7 -0
  95. package/es/themes/md3-light/backTop.mjs +6 -0
  96. package/es/themes/md3-light/badge.mjs +10 -0
  97. package/es/themes/md3-light/bottomNavigation.mjs +8 -0
  98. package/es/themes/md3-light/bottomNavigationItem.mjs +7 -0
  99. package/es/themes/md3-light/breadcrumb.mjs +6 -0
  100. package/es/themes/md3-light/button.mjs +8 -0
  101. package/es/themes/md3-light/card.mjs +27 -0
  102. package/es/themes/md3-light/cell.mjs +7 -0
  103. package/es/themes/md3-light/checkbox.mjs +7 -0
  104. package/es/themes/md3-light/chip.mjs +18 -0
  105. package/es/themes/md3-light/collapse.mjs +8 -0
  106. package/es/themes/md3-light/countdown.mjs +6 -0
  107. package/es/themes/md3-light/datePicker.mjs +19 -0
  108. package/es/themes/md3-light/dialog.mjs +15 -0
  109. package/es/themes/md3-light/divider.mjs +6 -0
  110. package/es/themes/md3-light/fab.mjs +8 -0
  111. package/es/themes/md3-light/fieldDecorator.mjs +7 -0
  112. package/es/themes/md3-light/floatingPanel.mjs +10 -0
  113. package/es/themes/md3-light/hoverOverlay.mjs +6 -0
  114. package/es/themes/md3-light/index.d.ts +5 -0
  115. package/es/themes/md3-light/index.mjs +71 -0
  116. package/es/themes/md3-light/link.mjs +6 -0
  117. package/es/themes/md3-light/menu.mjs +7 -0
  118. package/es/themes/md3-light/menuOption.mjs +6 -0
  119. package/es/themes/md3-light/menuSelect.mjs +7 -0
  120. package/es/themes/md3-light/option.mjs +6 -0
  121. package/es/themes/md3-light/pagination.mjs +6 -0
  122. package/es/themes/md3-light/paper.mjs +6 -0
  123. package/es/themes/md3-light/picker.mjs +8 -0
  124. package/es/themes/md3-light/popup.mjs +6 -0
  125. package/es/themes/md3-light/pullRefresh.mjs +6 -0
  126. package/es/themes/md3-light/radio.mjs +7 -0
  127. package/es/themes/md3-light/result.mjs +12 -0
  128. package/es/themes/md3-light/select.mjs +7 -0
  129. package/es/themes/md3-light/slider.mjs +10 -0
  130. package/es/themes/md3-light/snackbar.mjs +7 -0
  131. package/es/themes/md3-light/tab.mjs +6 -0
  132. package/es/themes/md3-light/table.mjs +7 -0
  133. package/es/themes/md3-light/tabs.mjs +6 -0
  134. package/es/themes/md3-light/timePicker.mjs +15 -0
  135. package/es/themes/md3-light/tooltip.mjs +7 -0
  136. package/es/themes/md3-light/uploader.mjs +11 -0
  137. package/es/time-picker/TimePicker.mjs +1 -1
  138. package/es/time-picker/clock.mjs +4 -4
  139. package/es/time-picker/props.mjs +0 -2
  140. package/es/time-picker/timePicker.css +1 -1
  141. package/es/tooltip/tooltip.css +1 -1
  142. package/es/uploader/uploader.css +1 -1
  143. package/es/varlet.esm.js +6884 -6415
  144. package/highlight/web-types.en-US.json +14 -6
  145. package/highlight/web-types.zh-CN.json +14 -6
  146. package/lib/style.css +1 -1
  147. package/lib/varlet.cjs.js +1873 -1297
  148. package/package.json +9 -9
  149. package/types/chip.d.ts +0 -2
  150. package/types/datePicker.d.ts +0 -2
  151. package/types/imagePreview.d.ts +0 -6
  152. package/types/indexBar.d.ts +0 -3
  153. package/types/input.d.ts +1 -0
  154. package/types/loadingBar.d.ts +0 -3
  155. package/types/progress.d.ts +0 -3
  156. package/types/select.d.ts +1 -0
  157. package/types/styleVars.d.ts +88 -16
  158. package/types/themes.d.ts +2 -0
  159. package/types/timePicker.d.ts +0 -2
  160. package/types/uploader.d.ts +1 -0
  161. package/umd/varlet.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "2.20.5",
3
+ "version": "3.0.0-alpha.1704352780759",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -48,12 +48,12 @@
48
48
  "@popperjs/core": "^2.11.6",
49
49
  "dayjs": "^1.10.4",
50
50
  "decimal.js": "^10.2.1",
51
- "@varlet/icons": "2.20.5",
52
- "@varlet/use": "2.20.5",
53
- "@varlet/shared": "2.20.5"
51
+ "@varlet/icons": "3.0.0-alpha.1704352780759",
52
+ "@varlet/use": "3.0.0-alpha.1704352780759",
53
+ "@varlet/shared": "3.0.0-alpha.1704352780759"
54
54
  },
55
55
  "devDependencies": {
56
- "@vue/runtime-core": "3.4.0",
56
+ "@vue/runtime-core": "3.4.3",
57
57
  "@vue/test-utils": "2.4.1",
58
58
  "@types/lodash-es": "^4.17.6",
59
59
  "@types/node": "^18.7.18",
@@ -64,11 +64,11 @@
64
64
  "live-server": "^1.2.1",
65
65
  "lodash-es": "^4.17.21",
66
66
  "typescript": "^5.1.5",
67
- "vue": "3.4.0",
67
+ "vue": "3.4.3",
68
68
  "vue-router": "4.2.0",
69
- "@varlet/ui": "2.20.5",
70
- "@varlet/cli": "2.20.5",
71
- "@varlet/touch-emulator": "2.20.5"
69
+ "@varlet/ui": "3.0.0-alpha.1704352780759",
70
+ "@varlet/touch-emulator": "3.0.0-alpha.1704352780759",
71
+ "@varlet/cli": "3.0.0-alpha.1704352780759"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",
package/types/chip.d.ts CHANGED
@@ -22,8 +22,6 @@ export interface ChipProps extends BasicAttributes {
22
22
  plain?: boolean
23
23
  round?: boolean
24
24
  block?: boolean
25
- /** @deprecated Use closeable to instead. */
26
- closable?: boolean
27
25
  closeable?: boolean
28
26
  onClose?: ListenerProp<(e: Event) => void>
29
27
  }
@@ -11,8 +11,6 @@ export interface DatePickerProps extends BasicAttributes {
11
11
  allowedDates?: (val: string) => boolean
12
12
  color?: string
13
13
  hint?: string
14
- /** @deprecated Use titleColor to instead. */
15
- headerColor?: string
16
14
  titleColor?: string
17
15
  elevation?: boolean | string | number
18
16
  buttonElevation?: boolean | string | number
@@ -21,9 +21,6 @@ export interface ImagePreviewProps extends BasicAttributes {
21
21
  onChange?: ListenerProp<(index: number) => void>
22
22
  onLongPress?: ListenerProp<(index: number) => void>
23
23
  'onUpdate:show'?: ListenerProp<(show: boolean) => void>
24
-
25
- /** @deprecated Use initialIndex to instead. */
26
- current?: string
27
24
  }
28
25
 
29
26
  export interface ImagePreviewOptions {
@@ -40,9 +37,6 @@ export interface ImagePreviewOptions {
40
37
  onClosed?: () => void
41
38
  onChange?: (index: number) => void
42
39
  onLongPress?: (index: number) => void
43
-
44
- /** @deprecated Use initialIndex to instead. */
45
- current?: string
46
40
  }
47
41
 
48
42
  export class ImagePreviewComponent extends VarComponent {
@@ -17,9 +17,6 @@ export interface IndexBarProps extends BasicAttributes {
17
17
  duration?: number | string
18
18
  onClick?: ListenerProp<(value: string | number) => void>
19
19
  onChange?: ListenerProp<(value: string | number) => void>
20
-
21
- /** @deprecated Use stickyCssMode to instead. */
22
- cssMode?: boolean
23
20
  }
24
21
 
25
22
  export class IndexBar extends VarComponent {
package/types/input.d.ts CHANGED
@@ -47,6 +47,7 @@ export class Input extends VarComponent {
47
47
  $slots: {
48
48
  'prepend-icon'(): VNode[]
49
49
  'append-icon'(): VNode[]
50
+ 'clear-icon'(): VNode[]
50
51
  'extra-message'(): VNode[]
51
52
  }
52
53
 
@@ -8,9 +8,6 @@ export interface LoadingBarOptions {
8
8
  export declare const loadingBarProps: Record<string, any>
9
9
 
10
10
  export interface ILoadingBar {
11
- /** @deprecated Use setDefaultOptions to instead. */
12
- mergeConfig(options: LoadingBarOptions): void
13
-
14
11
  start(): void
15
12
 
16
13
  finish(): void
@@ -20,9 +20,6 @@ export interface ProgressProps extends BasicAttributes {
20
20
  value?: number | string
21
21
  size?: number | string
22
22
  rotate?: number
23
-
24
- /** @deprecated Use indeterminate to instead. */
25
- ripple?: boolean
26
23
  }
27
24
 
28
25
  export class Progress extends VarComponent {
package/types/select.d.ts CHANGED
@@ -50,6 +50,7 @@ export class Select extends VarComponent {
50
50
  $slots: {
51
51
  'selected'(): VNode[]
52
52
  'prepend-icon'(): VNode[]
53
+ 'clear-icon'(): VNode[]
53
54
  'append-icon'(): VNode[]
54
55
  'arrow-icon'(data: SelectArrowIconData): VNode[]
55
56
  }
@@ -67,6 +67,8 @@ export interface StyleVars {
67
67
  backTopBottom?: string
68
68
  '--back-top-button-size'?: string
69
69
  backTopButtonSize?: string
70
+ '--back-top-button-border-radius'?: string
71
+ backTopButtonBorderRadius?: string
70
72
  '--badge-content-padding'?: string
71
73
  badgeContentPadding?: string
72
74
  '--badge-content-border'?: string
@@ -89,6 +91,18 @@ export interface StyleVars {
89
91
  badgeWarningColor?: string
90
92
  '--badge-info-color'?: string
91
93
  badgeInfoColor?: string
94
+ '--badge-default-text-color'?: string
95
+ badgeDefaultTextColor?: string
96
+ '--badge-primary-text-color'?: string
97
+ badgePrimaryTextColor?: string
98
+ '--badge-danger-text-color'?: string
99
+ badgeDangerTextColor?: string
100
+ '--badge-success-text-color'?: string
101
+ badgeSuccessTextColor?: string
102
+ '--badge-warning-text-color'?: string
103
+ badgeWarningTextColor?: string
104
+ '--badge-info-text-color'?: string
105
+ badgeInfoTextColor?: string
92
106
  '--badge-dot-width'?: string
93
107
  badgeDotWidth?: string
94
108
  '--badge-dot-height'?: string
@@ -117,6 +131,8 @@ export interface StyleVars {
117
131
  bottomNavigationItemIconSize?: string
118
132
  '--bottom-navigation-item-icon-margin-bottom'?: string
119
133
  bottomNavigationItemIconMarginBottom?: string
134
+ '--bottom-navigation-fab-border-radius'?: string
135
+ bottomNavigationFabBorderRadius?: string
120
136
  '--breadcrumb-active-color'?: string
121
137
  breadcrumbActiveColor?: string
122
138
  '--breadcrumb-inactive-color'?: string
@@ -125,10 +141,20 @@ export interface StyleVars {
125
141
  breadcrumbSeparatorMargin?: string
126
142
  '--breadcrumb-separator-font-size'?: string
127
143
  breadcrumbSeparatorFontSize?: string
128
- '--button-default-color'?: string
129
- buttonDefaultColor?: string
130
144
  '--button-default-text-color'?: string
131
145
  buttonDefaultTextColor?: string
146
+ '--button-primary-text-color'?: string
147
+ buttonPrimaryTextColor?: string
148
+ '--button-danger-text-color'?: string
149
+ buttonDangerTextColor?: string
150
+ '--button-success-text-color'?: string
151
+ buttonSuccessTextColor?: string
152
+ '--button-warning-text-color'?: string
153
+ buttonWarningTextColor?: string
154
+ '--button-info-text-color'?: string
155
+ buttonInfoTextColor?: string
156
+ '--button-default-color'?: string
157
+ buttonDefaultColor?: string
132
158
  '--button-primary-color'?: string
133
159
  buttonPrimaryColor?: string
134
160
  '--button-danger-color'?: string
@@ -241,6 +267,8 @@ export interface StyleVars {
241
267
  cardCloseButtonPrimaryColor?: string
242
268
  '--card-close-button-text-color'?: string
243
269
  cardCloseButtonTextColor?: string
270
+ '--card-close-button-border-radius'?: string
271
+ cardCloseButtonBorderRadius?: string
244
272
  '--cell-color'?: string
245
273
  cellColor?: string
246
274
  '--cell-font-size'?: string
@@ -279,6 +307,16 @@ export interface StyleVars {
279
307
  checkboxIconSize?: string
280
308
  '--chip-default-text-color'?: string
281
309
  chipDefaultTextColor?: string
310
+ '--chip-primary-text-color'?: string
311
+ chipPrimaryTextColor?: string
312
+ '--chip-danger-text-color'?: string
313
+ chipDangerTextColor?: string
314
+ '--chip-success-text-color'?: string
315
+ chipSuccessTextColor?: string
316
+ '--chip-warning-text-color'?: string
317
+ chipWarningTextColor?: string
318
+ '--chip-info-text-color'?: string
319
+ chipInfoTextColor?: string
282
320
  '--chip-default-color'?: string
283
321
  chipDefaultColor?: string
284
322
  '--chip-primary-color'?: string
@@ -291,6 +329,16 @@ export interface StyleVars {
291
329
  chipWarningColor?: string
292
330
  '--chip-info-color'?: string
293
331
  chipInfoColor?: string
332
+ '--chip-primary-plain-color'?: string
333
+ chipPrimaryPlainColor?: string
334
+ '--chip-danger-plain-color'?: string
335
+ chipDangerPlainColor?: string
336
+ '--chip-success-plain-color'?: string
337
+ chipSuccessPlainColor?: string
338
+ '--chip-warning-plain-color'?: string
339
+ chipWarningPlainColor?: string
340
+ '--chip-info-plain-color'?: string
341
+ chipInfoPlainColor?: string
294
342
  '--chip-border-radius'?: string
295
343
  chipBorderRadius?: string
296
344
  '--chip-mini-height'?: string
@@ -383,6 +431,8 @@ export interface StyleVars {
383
431
  datePickerMinWidth?: string
384
432
  '--date-picker-main-color'?: string
385
433
  datePickerMainColor?: string
434
+ '--date-picker-title-hint-color'?: string
435
+ datePickerTitleHintColor?: string
386
436
  '--date-picker-title-hint-font-size'?: string
387
437
  datePickerTitleHintFontSize?: string
388
438
  '--date-picker-title-height'?: string
@@ -407,16 +457,20 @@ export interface StyleVars {
407
457
  datePickerTitleDateFontWeight?: string
408
458
  '--date-picker-title-date-range-font-size'?: string
409
459
  datePickerTitleDateRangeFontSize?: string
460
+ '--date-picker-body-padding'?: string
461
+ datePickerBodyPadding?: string
410
462
  '--date-picker-body-background-color'?: string
411
463
  datePickerBodyBackgroundColor?: string
412
464
  '--date-picker-body-height'?: string
413
465
  datePickerBodyHeight?: string
414
- '--picker-header-padding'?: string
415
- pickerHeaderPadding?: string
416
- '--picker-actions-padding'?: string
417
- pickerActionsPadding?: string
418
- '--picker-header-color'?: string
419
- pickerHeaderColor?: string
466
+ '--date-picker-header-arrow-filter'?: string
467
+ datePickerHeaderArrowFilter?: string
468
+ '--date-picker-header-padding'?: string
469
+ datePickerHeaderPadding?: string
470
+ '--date-picker-actions-padding'?: string
471
+ datePickerActionsPadding?: string
472
+ '--date-picker-header-color'?: string
473
+ datePickerHeaderColor?: string
420
474
  '--month-picker-padding'?: string
421
475
  monthPickerPadding?: string
422
476
  '--month-picker-item-width'?: string
@@ -499,6 +553,8 @@ export interface StyleVars {
499
553
  fabRight?: string
500
554
  '--fab-trigger-size'?: string
501
555
  fabTriggerSize?: string
556
+ '--fab-trigger-border-radius'?: string
557
+ fabTriggerBorderRadius?: string
502
558
  '--fab-trigger-inactive-icon-size'?: string
503
559
  fabTriggerInactiveIconSize?: string
504
560
  '--fab-trigger-active-icon-size'?: string
@@ -507,6 +563,10 @@ export interface StyleVars {
507
563
  fabActionsPadding?: string
508
564
  '--fab-action-margin'?: string
509
565
  fabActionMargin?: string
566
+ '--fab-action-size'?: string
567
+ fabActionSize?: string
568
+ '--fab-action-border-radius'?: string
569
+ fabActionBorderRadius?: string
510
570
  '--fab-transition-standard-easing'?: string
511
571
  fabTransitionStandardEasing?: string
512
572
  '--floating-panel-z-index'?: string
@@ -807,8 +867,6 @@ export interface StyleVars {
807
867
  popupContentBackgroundColor?: string
808
868
  '--progress-font-size'?: string
809
869
  progressFontSize?: string
810
- '--progress-ripple-color'?: string
811
- progressRippleColor?: string
812
870
  '--progress-track-color'?: string
813
871
  progressTrackColor?: string
814
872
  '--progress-label-color'?: string
@@ -1069,10 +1127,6 @@ export interface StyleVars {
1069
1127
  stepLineBackground?: string
1070
1128
  '--step-line-gap'?: string
1071
1129
  stepLineGap?: string
1072
- '--step-min-size'?: string
1073
- stepMinSize?: string
1074
- '--step-line-size'?: string
1075
- stepLineSize?: string
1076
1130
  '--step-vertical-tag-margin'?: string
1077
1131
  stepVerticalTagMargin?: string
1078
1132
  '--step-vertical-min-height'?: string
@@ -1233,6 +1287,8 @@ export interface StyleVars {
1233
1287
  timePickerTitleColor?: string
1234
1288
  '--time-picker-title-margin-bottom'?: string
1235
1289
  timePickerTitleMarginBottom?: string
1290
+ '--time-picker-title-hint-color'?: string
1291
+ timePickerTitleHintColor?: string
1236
1292
  '--time-picker-title-hint-font-size'?: string
1237
1293
  timePickerTitleHintFontSize?: string
1238
1294
  '--time-picker-title-background'?: string
@@ -1289,6 +1345,8 @@ export interface StyleVars {
1289
1345
  timePickerClockItemActiveColor?: string
1290
1346
  '--time-picker-clock-item-disable-color'?: string
1291
1347
  timePickerClockItemDisableColor?: string
1348
+ '--time-picker-clock-item-disable-background'?: string
1349
+ timePickerClockItemDisableBackground?: string
1292
1350
  '--time-picker-clock-item-text-color'?: string
1293
1351
  timePickerClockItemTextColor?: string
1294
1352
  '--time-picker-inner-left'?: string
@@ -1313,10 +1371,10 @@ export interface StyleVars {
1313
1371
  tooltipFontSize?: string
1314
1372
  '--tooltip-padding'?: string
1315
1373
  tooltipPadding?: string
1316
- '--tooltip-default-color'?: string
1317
- tooltipDefaultColor?: string
1318
1374
  '--tooltip-offset'?: string
1319
1375
  tooltipOffset?: string
1376
+ '--tooltip-default-color'?: string
1377
+ tooltipDefaultColor?: string
1320
1378
  '--tooltip-primary-color'?: string
1321
1379
  tooltipPrimaryColor?: string
1322
1380
  '--tooltip-info-color'?: string
@@ -1327,6 +1385,18 @@ export interface StyleVars {
1327
1385
  tooltipWarningColor?: string
1328
1386
  '--tooltip-danger-color'?: string
1329
1387
  tooltipDangerColor?: string
1388
+ '--tooltip-default-text-color'?: string
1389
+ tooltipDefaultTextColor?: string
1390
+ '--tooltip-primary-text-color'?: string
1391
+ tooltipPrimaryTextColor?: string
1392
+ '--tooltip-info-text-color'?: string
1393
+ tooltipInfoTextColor?: string
1394
+ '--tooltip-success-text-color'?: string
1395
+ tooltipSuccessTextColor?: string
1396
+ '--tooltip-warning-text-color'?: string
1397
+ tooltipWarningTextColor?: string
1398
+ '--tooltip-danger-text-color'?: string
1399
+ tooltipDangerTextColor?: string
1330
1400
  '--uploader-action-background'?: string
1331
1401
  uploaderActionBackground?: string
1332
1402
  '--uploader-action-icon-color'?: string
@@ -1347,6 +1417,8 @@ export interface StyleVars {
1347
1417
  uploaderFileNameFontSize?: string
1348
1418
  '--uploader-file-name-padding'?: string
1349
1419
  uploaderFileNamePadding?: string
1420
+ '--uploader-file-border-radius'?: string
1421
+ uploaderFileBorderRadius?: string
1350
1422
  '--uploader-file-text-align'?: string
1351
1423
  uploaderFileTextAlign?: string
1352
1424
  '--uploader-file-close-background'?: string
package/types/themes.d.ts CHANGED
@@ -2,6 +2,8 @@ import { StyleVars } from './styleProvider'
2
2
 
3
3
  interface Themes {
4
4
  dark: StyleVars
5
+ md3Light: StyleVars
6
+ md3Dark: StyleVars
5
7
  }
6
8
 
7
9
  export declare const Themes: Themes
@@ -16,8 +16,6 @@ export interface TimePickerProps extends BasicAttributes {
16
16
  elevation?: boolean | string | number
17
17
  color?: string
18
18
  hint?: string
19
- /** @deprecated Use titleColor to instead. */
20
- headerColor?: string
21
19
  titleColor?: string
22
20
  allowedTime?: AllowedTime
23
21
  format?: TimePickerFormat
@@ -8,6 +8,7 @@ export type VarFileFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'
8
8
  export type VarFileState = 'loading' | 'success' | 'error'
9
9
 
10
10
  export interface VarFile {
11
+ id?: number | string
11
12
  file?: File
12
13
  name?: string
13
14
  url?: string