@varlet/ui 3.19.2 → 3.20.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "3.19.2",
3
+ "version": "3.20.0",
4
4
  "description": "A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.",
5
5
  "keywords": [
6
6
  "Vue3",
@@ -44,13 +44,13 @@
44
44
  "@popperjs/core": "^2.11.6",
45
45
  "dayjs": "^1.10.4",
46
46
  "decimal.js": "^10.2.1",
47
- "@varlet/icons": "3.19.2",
48
- "@varlet/shared": "3.19.2",
49
- "@varlet/use": "3.19.2"
47
+ "@varlet/icons": "3.20.0",
48
+ "@varlet/shared": "3.20.0",
49
+ "@varlet/use": "3.20.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^20.19.0",
53
- "@vitest/coverage-istanbul": "4.1.4",
53
+ "@vitest/coverage-istanbul": "4.1.10",
54
54
  "@vue/runtime-core": "3.5.21",
55
55
  "@vue/test-utils": "2.4.6",
56
56
  "clipboard": "^2.0.6",
@@ -58,13 +58,13 @@
58
58
  "live-server": "^1.2.1",
59
59
  "shiki": "^1.21.0",
60
60
  "typescript": "5.6.3",
61
- "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.18",
61
+ "vitest": "4.1.10",
62
62
  "vue": "3.5.21",
63
63
  "vue-router": "4.5.1",
64
64
  "zod": "^3.23.8",
65
- "@varlet/ui": "3.19.2",
66
- "@varlet/cli": "3.19.2",
67
- "@varlet/touch-emulator": "3.19.2"
65
+ "@varlet/ui": "3.20.0",
66
+ "@varlet/cli": "3.20.0",
67
+ "@varlet/touch-emulator": "3.20.0"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vue": "^3.2.0"
@@ -113,6 +113,7 @@ export type DataTableColumn<Row = any> =
113
113
 
114
114
  export interface DataTablePagination {
115
115
  simple?: boolean
116
+ elevation?: boolean | number | string
116
117
  disabled?: boolean
117
118
  showSizeChanger?: boolean
118
119
  showQuickJumper?: boolean
package/types/index.d.ts CHANGED
@@ -81,6 +81,7 @@ export * from './row'
81
81
  export * from './segmentedButton'
82
82
  export * from './segmentedButtons'
83
83
  export * from './select'
84
+ export * from './shimmerText'
84
85
  export * from './signature'
85
86
  export * from './skeleton'
86
87
  export * from './slider'
@@ -185,6 +186,7 @@ declare module 'vue' {
185
186
  VarSegmentedButton: typeof import('@varlet/ui')['_SegmentedButtonComponent']
186
187
  VarSegmentedButtons: typeof import('@varlet/ui')['_SegmentedButtonsComponent']
187
188
  VarSelect: typeof import('@varlet/ui')['_SelectComponent']
189
+ VarShimmerText: typeof import('@varlet/ui')['_ShimmerTextComponent']
188
190
  VarSignature: typeof import('@varlet/ui')['_SignatureComponent']
189
191
  VarSkeleton: typeof import('@varlet/ui')['_SkeletonComponent']
190
192
  VarSlider: typeof import('@varlet/ui')['_SliderComponent']
@@ -0,0 +1,22 @@
1
+ import { VNode } from 'vue'
2
+ import { BasicAttributes, Type as ShimmerTextType, SetPropsDefaults, VarComponent } from './varComponent'
3
+
4
+ export { ShimmerTextType }
5
+
6
+ export declare const shimmerTextProps: Record<keyof ShimmerTextProps, any>
7
+
8
+ export interface ShimmerTextProps extends BasicAttributes {
9
+ type?: ShimmerTextType
10
+ }
11
+
12
+ export class ShimmerText extends VarComponent {
13
+ static setPropsDefaults: SetPropsDefaults<ShimmerTextProps>
14
+
15
+ $props: ShimmerTextProps
16
+
17
+ $slots: {
18
+ default(): VNode[]
19
+ }
20
+ }
21
+
22
+ export class _ShimmerTextComponent extends ShimmerText {}
@@ -708,6 +708,10 @@ interface BaseStyleVars {
708
708
  '--option-font-size'?: string
709
709
  '--option-selected-background'?: string
710
710
  '--option-text-color'?: string
711
+ '--shimmer-text-color'?: string
712
+ '--shimmer-text-highlight-color'?: string
713
+ '--shimmer-text-duration'?: string
714
+ '--shimmer-text-angle'?: string
711
715
  '--signature-height'?: string
712
716
  '--signature-background-color'?: string
713
717
  '--signature-stroke-color'?: string