@varlet/ui 3.18.0-alpha.1781201095903 → 3.18.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.
Files changed (54) hide show
  1. package/es/avatar/avatar.css +1 -1
  2. package/es/bottom-navigation/BottomNavigation.mjs +1 -1
  3. package/es/bottom-navigation/props.mjs +1 -0
  4. package/es/card/card.css +1 -1
  5. package/es/data-table/DataTable.mjs +1 -0
  6. package/es/data-table/dataTable.css +1 -1
  7. package/es/data-table/props.mjs +1 -0
  8. package/es/dialog/Dialog.mjs +37 -22
  9. package/es/dialog/dialog.css +1 -1
  10. package/es/dialog/props.mjs +2 -0
  11. package/es/index.bundle.mjs +1 -1
  12. package/es/index.mjs +1 -1
  13. package/es/paper/Paper.mjs +4 -2
  14. package/es/paper/paper.css +1 -1
  15. package/es/paper/props.mjs +4 -0
  16. package/es/rail-navigation/RailNavigation.mjs +1 -1
  17. package/es/rail-navigation/props.mjs +1 -1
  18. package/es/table/Table.mjs +1 -0
  19. package/es/table/props.mjs +2 -1
  20. package/es/table/table.css +1 -1
  21. package/es/themes/dark/card.mjs +1 -0
  22. package/es/themes/dark/dataTable.mjs +9 -3
  23. package/es/themes/dark/paper.mjs +3 -0
  24. package/es/themes/dark/table.mjs +1 -0
  25. package/es/themes/dark/treeMenu.mjs +1 -0
  26. package/es/themes/md3-dark/card.mjs +1 -0
  27. package/es/themes/md3-dark/dataTable.mjs +9 -3
  28. package/es/themes/md3-dark/paper.mjs +3 -0
  29. package/es/themes/md3-dark/table.mjs +1 -0
  30. package/es/themes/md3-dark/treeMenu.mjs +1 -0
  31. package/es/themes/md3-light/card.mjs +1 -0
  32. package/es/themes/md3-light/dataTable.mjs +9 -3
  33. package/es/themes/md3-light/paper.mjs +3 -0
  34. package/es/themes/md3-light/table.mjs +1 -0
  35. package/es/themes/md3-light/treeMenu.mjs +1 -0
  36. package/es/tree-menu/TreeMenu.mjs +1 -1
  37. package/es/tree-menu/props.mjs +1 -0
  38. package/es/tree-menu/treeMenu.css +1 -1
  39. package/es/varlet.css +1 -1
  40. package/es/varlet.esm.js +4083 -4045
  41. package/highlight/web-types.en-US.json +49 -4
  42. package/highlight/web-types.zh-CN.json +40 -4
  43. package/lib/varlet.cjs.js +157 -114
  44. package/lib/varlet.css +1 -1
  45. package/package.json +7 -7
  46. package/types/bottomNavigation.d.ts +2 -0
  47. package/types/dataTable.d.ts +1 -0
  48. package/types/dialog.d.ts +5 -0
  49. package/types/paper.d.ts +3 -0
  50. package/types/railNavigation.d.ts +1 -1
  51. package/types/styleVars.d.ts +15 -3
  52. package/types/table.d.ts +1 -0
  53. package/types/treeMenu.d.ts +1 -0
  54. package/umd/varlet.js +7 -7
@@ -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.18.0-alpha.1781201095903",
4
+ "version": "3.18.0",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
  },
1025
1025
  {
1026
- "name": "border",
1026
+ "name": "bordered",
1027
1027
  "description": "Whether to show border",
1028
1028
  "default": "false",
1029
1029
  "value": {
@@ -2978,6 +2978,15 @@
2978
2978
  "kind": "expression"
2979
2979
  }
2980
2980
  },
2981
+ {
2982
+ "name": "bordered",
2983
+ "description": "Whether to show outer border",
2984
+ "default": "false",
2985
+ "value": {
2986
+ "type": "boolean",
2987
+ "kind": "expression"
2988
+ }
2989
+ },
2981
2990
  {
2982
2991
  "name": "table-layout",
2983
2992
  "description": "Native `table-layout` value",
@@ -3381,6 +3390,24 @@
3381
3390
  "kind": "expression"
3382
3391
  }
3383
3392
  },
3393
+ {
3394
+ "name": "confirm-button-props",
3395
+ "description": "Confirm button props",
3396
+ "default": "-",
3397
+ "value": {
3398
+ "type": "[ButtonProps](/#/en-US/button#Props)",
3399
+ "kind": "expression"
3400
+ }
3401
+ },
3402
+ {
3403
+ "name": "cancel-button-props",
3404
+ "description": "Cancel button props",
3405
+ "default": "-",
3406
+ "value": {
3407
+ "type": "[ButtonProps](/#/en-US/button#Props)",
3408
+ "kind": "expression"
3409
+ }
3410
+ },
3384
3411
  {
3385
3412
  "name": "confirm-button-loading",
3386
3413
  "description": "Confirm button loading state",
@@ -6290,9 +6317,18 @@
6290
6317
  "kind": "expression"
6291
6318
  }
6292
6319
  },
6320
+ {
6321
+ "name": "variant",
6322
+ "description": "Paper variant, options `standard`, `outlined`, and `filled`. The `outlined` and `filled` modes do not mount elevation styles",
6323
+ "default": "standard",
6324
+ "value": {
6325
+ "type": "string",
6326
+ "kind": "expression"
6327
+ }
6328
+ },
6293
6329
  {
6294
6330
  "name": "surface",
6295
- "description": "Background preset, optional value is `low`. It currently only takes effect in the MD3 dark theme",
6331
+ "description": "Background preset, optional value is `low`, invalid when `variant` is `filled`. It currently only takes effect in the MD3 dark theme",
6296
6332
  "default": "-",
6297
6333
  "value": {
6298
6334
  "type": "string",
@@ -7123,7 +7159,7 @@
7123
7159
  }
7124
7160
  },
7125
7161
  {
7126
- "name": "border",
7162
+ "name": "bordered",
7127
7163
  "description": "Whether to show the right border",
7128
7164
  "default": "false",
7129
7165
  "value": {
@@ -8879,6 +8915,15 @@
8879
8915
  "kind": "expression"
8880
8916
  }
8881
8917
  },
8918
+ {
8919
+ "name": "bordered",
8920
+ "description": "Whether to show outer border",
8921
+ "default": "false",
8922
+ "value": {
8923
+ "type": "boolean",
8924
+ "kind": "expression"
8925
+ }
8926
+ },
8882
8927
  {
8883
8928
  "name": "surface",
8884
8929
  "description": "Subtle background style",
@@ -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.18.0-alpha.1781201095903",
4
+ "version": "3.18.0",
5
5
  "name": "VARLET",
6
6
  "contributions": {
7
7
  "html": {
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
  },
1025
1025
  {
1026
- "name": "border",
1026
+ "name": "bordered",
1027
1027
  "description": "是否显示外边框",
1028
1028
  "default": "false",
1029
1029
  "value": {
@@ -3166,6 +3166,24 @@
3166
3166
  "kind": "expression"
3167
3167
  }
3168
3168
  },
3169
+ {
3170
+ "name": "confirm-button-props",
3171
+ "description": "确认按钮属性",
3172
+ "default": "-",
3173
+ "value": {
3174
+ "type": "[ButtonProps](/#/zh-CN/button#shu3xing4)",
3175
+ "kind": "expression"
3176
+ }
3177
+ },
3178
+ {
3179
+ "name": "cancel-button-props",
3180
+ "description": "取消按钮属性",
3181
+ "default": "-",
3182
+ "value": {
3183
+ "type": "[ButtonProps](/#/zh-CN/button#shu3xing4)",
3184
+ "kind": "expression"
3185
+ }
3186
+ },
3169
3187
  {
3170
3188
  "name": "confirm-button-loading",
3171
3189
  "description": "确认按钮加载状态",
@@ -6066,9 +6084,18 @@
6066
6084
  "kind": "expression"
6067
6085
  }
6068
6086
  },
6087
+ {
6088
+ "name": "variant",
6089
+ "description": "纸张变体,可选值为 `standard`、`outlined`、`filled`,`outlined` 和 `filled` 模式不挂载海拔样式",
6090
+ "default": "standard",
6091
+ "value": {
6092
+ "type": "string",
6093
+ "kind": "expression"
6094
+ }
6095
+ },
6069
6096
  {
6070
6097
  "name": "surface",
6071
- "description": "背景色预设,可选值 `low`,目前只作用在 MD3 暗色主题",
6098
+ "description": "背景色预设,可选值 `low`,在 `variant` 为 `filled` 时无效,目前只作用在 MD3 暗色主题",
6072
6099
  "default": "-",
6073
6100
  "value": {
6074
6101
  "type": "string",
@@ -6899,7 +6926,7 @@
6899
6926
  }
6900
6927
  },
6901
6928
  {
6902
- "name": "border",
6929
+ "name": "bordered",
6903
6930
  "description": "是否显示右侧边框",
6904
6931
  "default": "false",
6905
6932
  "value": {
@@ -8827,6 +8854,15 @@
8827
8854
  "kind": "expression"
8828
8855
  }
8829
8856
  },
8857
+ {
8858
+ "name": "bordered",
8859
+ "description": "是否显示外边框",
8860
+ "default": "false",
8861
+ "value": {
8862
+ "type": "boolean",
8863
+ "kind": "expression"
8864
+ }
8865
+ },
8830
8866
  {
8831
8867
  "name": "surface",
8832
8868
  "description": "弱背景色风格",