@varlet/ui 3.16.0-alpha.1778310023051 → 3.16.0-alpha.1778498431663

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.16.0-alpha.1778310023051",
3
+ "version": "3.16.0-alpha.1778498431663",
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,9 +44,9 @@
44
44
  "@popperjs/core": "^2.11.6",
45
45
  "dayjs": "^1.10.4",
46
46
  "decimal.js": "^10.2.1",
47
- "@varlet/icons": "3.16.0-alpha.1778310023051",
48
- "@varlet/shared": "3.16.0-alpha.1778310023051",
49
- "@varlet/use": "3.16.0-alpha.1778310023051"
47
+ "@varlet/icons": "3.16.0-alpha.1778498431663",
48
+ "@varlet/shared": "3.16.0-alpha.1778498431663",
49
+ "@varlet/use": "3.16.0-alpha.1778498431663"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^20.19.0",
@@ -62,9 +62,9 @@
62
62
  "vue": "3.5.21",
63
63
  "vue-router": "4.5.1",
64
64
  "zod": "^3.23.8",
65
- "@varlet/cli": "3.16.0-alpha.1778310023051",
66
- "@varlet/ui": "3.16.0-alpha.1778310023051",
67
- "@varlet/touch-emulator": "3.16.0-alpha.1778310023051"
65
+ "@varlet/cli": "3.16.0-alpha.1778498431663",
66
+ "@varlet/touch-emulator": "3.16.0-alpha.1778498431663",
67
+ "@varlet/ui": "3.16.0-alpha.1778498431663"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "vue": "^3.2.0"
package/types/card.d.ts CHANGED
@@ -9,8 +9,12 @@ export type CardLayout = 'row' | 'column'
9
9
 
10
10
  export type CardVariant = 'standard' | 'outlined' | 'filled'
11
11
 
12
+ export type CardSurface = 'low'
13
+
12
14
  export interface CardProps extends BasicAttributes {
13
15
  variant?: CardVariant
16
+ surface?: CardSurface
17
+ hoverable?: boolean
14
18
  src?: string
15
19
  fit?: CardFit
16
20
  imageHeight?: string | number
package/types/paper.d.ts CHANGED
@@ -3,6 +3,8 @@ import { BasicAttributes, ListenerProp, SetPropsDefaults, VarComponent } from '.
3
3
 
4
4
  export declare const paperProps: Record<keyof PaperProps, any>
5
5
 
6
+ export type PaperSurface = 'low'
7
+
6
8
  export interface PaperProps extends BasicAttributes {
7
9
  elevation?: boolean | number | string
8
10
  ripple?: boolean
@@ -11,6 +13,8 @@ export interface PaperProps extends BasicAttributes {
11
13
  height?: string | number
12
14
  round?: boolean
13
15
  inline?: boolean
16
+ surface?: PaperSurface
17
+ hoverable?: boolean
14
18
  onClick?: ListenerProp<(e: Event) => void>
15
19
  }
16
20
 
@@ -158,6 +158,7 @@ interface BaseStyleVars {
158
158
  '--button-normal-font-size'?: string
159
159
  '--button-large-font-size'?: string
160
160
  '--card-background'?: string
161
+ '--card-surface-low-background'?: string
161
162
  '--card-filled-background'?: string
162
163
  '--card-padding'?: string
163
164
  '--card-border-radius'?: string
@@ -522,6 +523,7 @@ interface BaseStyleVars {
522
523
  '--pagination-size-padding'?: string
523
524
  '--pagination-quick-jumper-margin'?: string
524
525
  '--paper-background'?: string
526
+ '--paper-surface-low-background'?: string
525
527
  '--paper-border-radius'?: string
526
528
  '--picker-background'?: string
527
529
  '--picker-toolbar-height'?: string