@varlet/ui 3.6.1 → 3.6.3

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.6.1",
4
+ "version": "3.6.3",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1469,6 +1469,105 @@
1469
1469
  "type": "string",
1470
1470
  "kind": "expression"
1471
1471
  }
1472
+ },
1473
+ {
1474
+ "name": "elevation",
1475
+ "description": "Elevation level, options `true` `false` and level of `0-24`",
1476
+ "default": "true",
1477
+ "value": {
1478
+ "type": "string | number | boolean",
1479
+ "kind": "expression"
1480
+ }
1481
+ },
1482
+ {
1483
+ "name": "src",
1484
+ "description": "The src of Image",
1485
+ "default": "-",
1486
+ "value": {
1487
+ "type": "string",
1488
+ "kind": "expression"
1489
+ }
1490
+ },
1491
+ {
1492
+ "name": "layout",
1493
+ "description": "Arrangement mode, options `row` `column`",
1494
+ "default": "column",
1495
+ "value": {
1496
+ "type": "string",
1497
+ "kind": "expression"
1498
+ }
1499
+ },
1500
+ {
1501
+ "name": "fit",
1502
+ "description": "Fill mode, options `fill` `contain` `cover` `none` `scale-down`",
1503
+ "default": "cover",
1504
+ "value": {
1505
+ "type": "string",
1506
+ "kind": "expression"
1507
+ }
1508
+ },
1509
+ {
1510
+ "name": "outline",
1511
+ "description": "Whether to be outline card",
1512
+ "default": "false",
1513
+ "value": {
1514
+ "type": "boolean",
1515
+ "kind": "expression"
1516
+ }
1517
+ },
1518
+ {
1519
+ "name": "alt",
1520
+ "description": "Image alt text, the same as the native attribute of the `img` tag",
1521
+ "default": "-",
1522
+ "value": {
1523
+ "type": "string",
1524
+ "kind": "expression"
1525
+ }
1526
+ },
1527
+ {
1528
+ "name": "image-height",
1529
+ "description": "Height of Image",
1530
+ "default": "-",
1531
+ "value": {
1532
+ "type": "string | number",
1533
+ "kind": "expression"
1534
+ }
1535
+ },
1536
+ {
1537
+ "name": "image-width",
1538
+ "description": "Width of Image",
1539
+ "default": "-",
1540
+ "value": {
1541
+ "type": "string | number",
1542
+ "kind": "expression"
1543
+ }
1544
+ },
1545
+ {
1546
+ "name": "ripple",
1547
+ "description": "Whether to enable ripple",
1548
+ "default": "false",
1549
+ "value": {
1550
+ "type": "boolean",
1551
+ "kind": "expression"
1552
+ }
1553
+ },
1554
+ {
1555
+ "name": "v-model:floating",
1556
+ "description": "Whether to full screen",
1557
+ "default": "false",
1558
+ "value": {
1559
+ "type": "boolean",
1560
+ "kind": "expression"
1561
+ }
1562
+ },
1563
+ {
1564
+ "name": "floating-duration",
1565
+ "description": "Time to full screen(ms)",
1566
+ "default": "250",
1567
+ "value": {
1568
+ "type": "number",
1569
+ "kind": "expression"
1570
+ }
1472
1571
  }
1473
1572
  ],
1474
1573
  "events": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
- "version": "3.6.1",
4
+ "version": "3.6.3",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
package/lib/varlet.cjs.js CHANGED
@@ -2718,6 +2718,7 @@ const __sfc__$1p = vue.defineComponent({
2718
2718
  __sfc__$1p.render = __render__$1m;
2719
2719
  var stdin_default$5T = __sfc__$1p;
2720
2720
  withInstall(stdin_default$5T);
2721
+ withPropsDefaultsSetter(stdin_default$5T, props$1g);
2721
2722
  const _AlertComponent = stdin_default$5T;
2722
2723
  var stdin_default$5S = stdin_default$5T;
2723
2724
  const props$1f = {
@@ -8658,7 +8659,9 @@ const props$X = {
8658
8659
  ripple: Boolean,
8659
8660
  onClick: defineListenerProp(),
8660
8661
  "onUpdate:floating": defineListenerProp(),
8661
- // deprecated
8662
+ /**
8663
+ * @deprecated use outlined variant instead
8664
+ */
8662
8665
  outline: Boolean
8663
8666
  };
8664
8667
  var __async$e = (__this, __arguments, generator) => {
@@ -29699,7 +29702,7 @@ withInstall(stdin_default$1);
29699
29702
  withPropsDefaultsSetter(stdin_default$1, props);
29700
29703
  const _WatermarkComponent = stdin_default$1;
29701
29704
  var stdin_default = stdin_default$1;
29702
- const version = "3.6.1";
29705
+ const version = "3.6.3";
29703
29706
  function install(app) {
29704
29707
  stdin_default$5U.install && app.use(stdin_default$5U);
29705
29708
  stdin_default$5S.install && app.use(stdin_default$5S);
@@ -30078,6 +30081,7 @@ exports._UploaderComponent = _UploaderComponent;
30078
30081
  exports._WatermarkComponent = _WatermarkComponent;
30079
30082
  exports.actionSheetProps = props$1h;
30080
30083
  exports.add = add$2;
30084
+ exports.alertProps = props$1g;
30081
30085
  exports.appBarProps = props$1f;
30082
30086
  exports.avatarGroupProps = props$15;
30083
30087
  exports.avatarProps = props$16;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/ui",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "A material like components library",
5
5
  "main": "lib/varlet.cjs.js",
6
6
  "module": "es/index.mjs",
@@ -48,9 +48,9 @@
48
48
  "@popperjs/core": "^2.11.6",
49
49
  "dayjs": "^1.10.4",
50
50
  "decimal.js": "^10.2.1",
51
- "@varlet/icons": "3.6.1",
52
- "@varlet/use": "3.6.1",
53
- "@varlet/shared": "3.6.1"
51
+ "@varlet/shared": "3.6.3",
52
+ "@varlet/icons": "3.6.3",
53
+ "@varlet/use": "3.6.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^18.7.18",
@@ -66,9 +66,9 @@
66
66
  "vue": "3.4.21",
67
67
  "vue-router": "4.2.0",
68
68
  "zod": "^3.23.8",
69
- "@varlet/ui": "3.6.1",
70
- "@varlet/cli": "3.6.1",
71
- "@varlet/touch-emulator": "3.6.1"
69
+ "@varlet/cli": "3.6.3",
70
+ "@varlet/touch-emulator": "3.6.3",
71
+ "@varlet/ui": "3.6.3"
72
72
  },
73
73
  "scripts": {
74
74
  "dev": "varlet-cli dev",
package/types/card.d.ts CHANGED
@@ -20,7 +20,6 @@ export interface CardProps extends BasicAttributes {
20
20
  subtitle?: string
21
21
  description?: string
22
22
  elevation?: boolean | number | string
23
- filled?: boolean
24
23
  ripple?: boolean
25
24
  layout?: CardLayout
26
25
  floating?: boolean
@@ -1,11 +1,9 @@
1
1
  import { VarComponent, BasicAttributes, SetPropsDefaults } from './varComponent'
2
2
  import { App, VNode } from 'vue'
3
- import { StyleVars as ExtractedStyleVars } from './styleVars'
3
+ import { StyleVars } from './styleVars'
4
4
 
5
5
  export declare const styleProviderProps: Record<keyof StyleProviderProps, any>
6
6
 
7
- export type StyleVars = ExtractedStyleVars
8
-
9
7
  export interface StyleProviderProps extends BasicAttributes {
10
8
  styleVars?: StyleVars
11
9
  tag?: string