mdui 2.1.4 → 2.1.5

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 (89) hide show
  1. package/README.md +49 -49
  2. package/components/avatar/index.d.ts +2 -2
  3. package/components/avatar/index.js +1 -1
  4. package/components/badge/index.d.ts +1 -1
  5. package/components/badge/index.js +1 -1
  6. package/components/bottom-app-bar/index.d.ts +2 -2
  7. package/components/bottom-app-bar/index.js +2 -2
  8. package/components/bottom-app-bar/style.js +1 -1
  9. package/components/button/index.d.ts +1 -1
  10. package/components/button/index.js +1 -1
  11. package/components/button/style.js +1 -1
  12. package/components/button-icon/index.d.ts +1 -1
  13. package/components/button-icon/index.js +3 -2
  14. package/components/card/index.d.ts +1 -1
  15. package/components/card/index.js +1 -1
  16. package/components/checkbox/index.d.ts +4 -4
  17. package/components/checkbox/index.js +4 -4
  18. package/components/chip/index.d.ts +8 -8
  19. package/components/chip/index.js +8 -8
  20. package/components/circular-progress/index.d.ts +3 -3
  21. package/components/circular-progress/index.js +2 -2
  22. package/components/collapse/collapse-item.d.ts +1 -1
  23. package/components/dialog/index.d.ts +1 -1
  24. package/components/dialog/index.js +1 -1
  25. package/components/divider/index.d.ts +2 -2
  26. package/components/divider/index.js +2 -2
  27. package/components/dropdown/index.d.ts +2 -2
  28. package/components/dropdown/index.js +10 -3
  29. package/components/fab/index.d.ts +3 -3
  30. package/components/fab/index.js +3 -3
  31. package/components/layout/layout-item-base.d.ts +1 -1
  32. package/components/layout/layout.d.ts +1 -1
  33. package/components/layout/layout.js +1 -1
  34. package/components/linear-progress/index.d.ts +4 -4
  35. package/components/linear-progress/index.js +3 -3
  36. package/components/list/list-item.d.ts +4 -4
  37. package/components/list/list-item.js +4 -4
  38. package/components/menu/menu-item.d.ts +2 -2
  39. package/components/menu/menu-item.js +4 -3
  40. package/components/menu/menu.d.ts +2 -2
  41. package/components/menu/menu.js +2 -3
  42. package/components/navigation-bar/navigation-bar-item.d.ts +1 -1
  43. package/components/navigation-bar/navigation-bar-item.js +1 -1
  44. package/components/navigation-bar/navigation-bar-style.js +1 -1
  45. package/components/navigation-bar/navigation-bar.d.ts +1 -1
  46. package/components/navigation-bar/navigation-bar.js +1 -1
  47. package/components/navigation-drawer/index.d.ts +15 -15
  48. package/components/navigation-drawer/index.js +15 -16
  49. package/components/navigation-rail/navigation-rail-item.d.ts +1 -1
  50. package/components/navigation-rail/navigation-rail-item.js +1 -1
  51. package/components/navigation-rail/navigation-rail.d.ts +3 -3
  52. package/components/navigation-rail/navigation-rail.js +3 -4
  53. package/components/radio/radio-group.d.ts +1 -1
  54. package/components/radio/radio-group.js +1 -1
  55. package/components/radio/radio.d.ts +2 -2
  56. package/components/radio/radio.js +2 -2
  57. package/components/range-slider/index.d.ts +1 -1
  58. package/components/range-slider/index.js +1 -1
  59. package/components/segmented-button/segmented-button-group.d.ts +1 -1
  60. package/components/segmented-button/segmented-button-group.js +1 -2
  61. package/components/segmented-button/segmented-button.d.ts +1 -1
  62. package/components/segmented-button/segmented-button.js +1 -1
  63. package/components/select/index.d.ts +2 -2
  64. package/components/select/index.js +2 -2
  65. package/components/slider/index.d.ts +1 -1
  66. package/components/slider/index.js +1 -1
  67. package/components/snackbar/index.d.ts +2 -2
  68. package/components/snackbar/index.js +2 -3
  69. package/components/switch/index.d.ts +4 -4
  70. package/components/switch/index.js +4 -4
  71. package/components/text-field/index.d.ts +4 -4
  72. package/components/text-field/index.js +5 -5
  73. package/components/tooltip/index.d.ts +2 -2
  74. package/components/tooltip/index.js +3 -2
  75. package/components/top-app-bar/top-app-bar-style.js +1 -1
  76. package/components/top-app-bar/top-app-bar.d.ts +1 -1
  77. package/components/top-app-bar/top-app-bar.js +1 -1
  78. package/css-data.en.json +128 -128
  79. package/css-data.zh-cn.json +111 -111
  80. package/custom-elements.json +183 -183
  81. package/html-data.en.json +491 -491
  82. package/html-data.zh-cn.json +28 -28
  83. package/jsx.en.d.ts +588 -588
  84. package/jsx.zh-cn.d.ts +28 -28
  85. package/mdui.esm.js +8 -8
  86. package/mdui.global.js +8 -8
  87. package/package.json +5 -4
  88. package/web-types.en.json +696 -696
  89. package/web-types.zh-cn.json +179 -179
@@ -627,7 +627,7 @@
627
627
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
628
628
  },
629
629
  "privacy": "public",
630
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
630
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
631
631
  "attribute": "scroll-target"
632
632
  },
633
633
  {
@@ -648,7 +648,7 @@
648
648
  "text": "number | undefined"
649
649
  },
650
650
  "privacy": "public",
651
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
651
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
652
652
  "attribute": "scroll-threshold",
653
653
  "reflects": true
654
654
  },
@@ -904,7 +904,7 @@
904
904
  "type": {
905
905
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
906
906
  },
907
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
907
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
908
908
  "fieldName": "scrollTarget"
909
909
  },
910
910
  {
@@ -920,7 +920,7 @@
920
920
  "type": {
921
921
  "text": "number | undefined"
922
922
  },
923
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
923
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
924
924
  "fieldName": "scrollThreshold"
925
925
  }
926
926
  ],
@@ -963,7 +963,7 @@
963
963
  "name": "Avatar",
964
964
  "cssProperties": [
965
965
  {
966
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
966
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
967
967
  "name": "--shape-corner"
968
968
  }
969
969
  ],
@@ -1002,7 +1002,7 @@
1002
1002
  "text": "| /*保持图片原有尺寸比例,内容会被等比例缩放*/ 'contain'\n | /*保持图片原有尺寸比例,但部分内容可能被剪切*/ 'cover'\n | /*默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器*/ 'fill'\n | /*保留图片原有尺寸,内容不会被缩放或拉伸*/ 'none'\n | /*保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同*/ 'scale-down' | undefined"
1003
1003
  },
1004
1004
  "privacy": "public",
1005
- "description": "图片如何适应容器框,与原生的 [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) 属性相同。可选值包括:\n\n* `contain`:保持图片原有尺寸比例,内容会被等比例缩放\n* `cover`:保持图片原有尺寸比例,但部分内容可能被剪切\n* `fill`:默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器\n* `none`:保留图片原有尺寸,内容不会被缩放或拉伸\n* `scale-down`:保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同",
1005
+ "description": "图片如何适应容器框,与原生的 [`object-fit`](https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit) 属性相同。可选值包括:\n\n* `contain`:保持图片原有尺寸比例,内容会被等比例缩放\n* `cover`:保持图片原有尺寸比例,但部分内容可能被剪切\n* `fill`:默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器\n* `none`:保留图片原有尺寸,内容不会被缩放或拉伸\n* `scale-down`:保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同",
1006
1006
  "attribute": "fit",
1007
1007
  "reflects": true
1008
1008
  },
@@ -1050,7 +1050,7 @@
1050
1050
  "type": {
1051
1051
  "text": "| /*保持图片原有尺寸比例,内容会被等比例缩放*/ 'contain'\n | /*保持图片原有尺寸比例,但部分内容可能被剪切*/ 'cover'\n | /*默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器*/ 'fill'\n | /*保留图片原有尺寸,内容不会被缩放或拉伸*/ 'none'\n | /*保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同*/ 'scale-down' | undefined"
1052
1052
  },
1053
- "description": "图片如何适应容器框,与原生的 [`object-fit`](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) 属性相同。可选值包括:\n\n* `contain`:保持图片原有尺寸比例,内容会被等比例缩放\n* `cover`:保持图片原有尺寸比例,但部分内容可能被剪切\n* `fill`:默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器\n* `none`:保留图片原有尺寸,内容不会被缩放或拉伸\n* `scale-down`:保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同",
1053
+ "description": "图片如何适应容器框,与原生的 [`object-fit`](https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit) 属性相同。可选值包括:\n\n* `contain`:保持图片原有尺寸比例,内容会被等比例缩放\n* `cover`:保持图片原有尺寸比例,但部分内容可能被剪切\n* `fill`:默认值,不保持图片原有尺寸比例,内容会被拉伸以填充整个容器\n* `none`:保留图片原有尺寸,内容不会被缩放或拉伸\n* `scale-down`:保持图片原有尺寸比例,内容尺寸与 `none` 或 `contain` 中较小的一个相同",
1054
1054
  "fieldName": "fit"
1055
1055
  },
1056
1056
  {
@@ -1108,7 +1108,7 @@
1108
1108
  "name": "Badge",
1109
1109
  "cssProperties": [
1110
1110
  {
1111
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
1111
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
1112
1112
  "name": "--shape-corner"
1113
1113
  }
1114
1114
  ],
@@ -1181,7 +1181,7 @@
1181
1181
  "name": "BottomAppBar",
1182
1182
  "cssProperties": [
1183
1183
  {
1184
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
1184
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
1185
1185
  "name": "--shape-corner"
1186
1186
  },
1187
1187
  {
@@ -1216,7 +1216,7 @@
1216
1216
  },
1217
1217
  "privacy": "public",
1218
1218
  "default": "false",
1219
- "description": "是否让底部应用栏中的 [`<mdui-fab>`](/docs/2/components/fab) 组件脱离应用栏。如果为 `true`,则当应用栏隐藏后,[`<mdui-fab>`](/docs/2/components/fab) 仍会停留在页面上",
1219
+ "description": "是否让底部应用栏中的 [`<mdui-fab>`](/zh-cn/docs/2/components/fab) 组件脱离应用栏。如果为 `true`,则当应用栏隐藏后,[`<mdui-fab>`](/zh-cn/docs/2/components/fab) 仍会停留在页面上",
1220
1220
  "attribute": "fab-detach",
1221
1221
  "reflects": true
1222
1222
  },
@@ -1288,7 +1288,7 @@
1288
1288
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
1289
1289
  },
1290
1290
  "privacy": "public",
1291
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
1291
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
1292
1292
  "attribute": "scroll-target",
1293
1293
  "inheritedFrom": {
1294
1294
  "name": "ScrollBehaviorMixin",
@@ -1302,7 +1302,7 @@
1302
1302
  "text": "number | undefined"
1303
1303
  },
1304
1304
  "privacy": "public",
1305
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
1305
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
1306
1306
  "attribute": "scroll-threshold",
1307
1307
  "reflects": true,
1308
1308
  "inheritedFrom": {
@@ -1586,7 +1586,7 @@
1586
1586
  "text": "number | undefined"
1587
1587
  },
1588
1588
  "privacy": "public",
1589
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
1589
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
1590
1590
  "attribute": "order",
1591
1591
  "reflects": true,
1592
1592
  "inheritedFrom": {
@@ -1650,7 +1650,7 @@
1650
1650
  "text": "boolean"
1651
1651
  },
1652
1652
  "default": "false",
1653
- "description": "是否让底部应用栏中的 [`<mdui-fab>`](/docs/2/components/fab) 组件脱离应用栏。如果为 `true`,则当应用栏隐藏后,[`<mdui-fab>`](/docs/2/components/fab) 仍会停留在页面上",
1653
+ "description": "是否让底部应用栏中的 [`<mdui-fab>`](/zh-cn/docs/2/components/fab) 组件脱离应用栏。如果为 `true`,则当应用栏隐藏后,[`<mdui-fab>`](/zh-cn/docs/2/components/fab) 仍会停留在页面上",
1654
1654
  "fieldName": "fabDetach"
1655
1655
  },
1656
1656
  {
@@ -1670,7 +1670,7 @@
1670
1670
  "type": {
1671
1671
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
1672
1672
  },
1673
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
1673
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
1674
1674
  "fieldName": "scrollTarget",
1675
1675
  "inheritedFrom": {
1676
1676
  "name": "ScrollBehaviorMixin",
@@ -1682,7 +1682,7 @@
1682
1682
  "type": {
1683
1683
  "text": "number | undefined"
1684
1684
  },
1685
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
1685
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
1686
1686
  "fieldName": "scrollThreshold",
1687
1687
  "inheritedFrom": {
1688
1688
  "name": "ScrollBehaviorMixin",
@@ -1694,7 +1694,7 @@
1694
1694
  "type": {
1695
1695
  "text": "number | undefined"
1696
1696
  },
1697
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
1697
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
1698
1698
  "fieldName": "order",
1699
1699
  "inheritedFrom": {
1700
1700
  "name": "LayoutItemBase",
@@ -1746,7 +1746,7 @@
1746
1746
  "name": "ButtonIcon",
1747
1747
  "cssProperties": [
1748
1748
  {
1749
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
1749
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
1750
1750
  "name": "--shape-corner"
1751
1751
  }
1752
1752
  ],
@@ -1885,8 +1885,8 @@
1885
1885
  "attribute": "href",
1886
1886
  "reflects": true,
1887
1887
  "inheritedFrom": {
1888
- "name": "AnchorMixin",
1889
- "module": "@mdui/shared/mixins/anchor.js"
1888
+ "name": "ButtonBase",
1889
+ "module": "components/button/button-base.js"
1890
1890
  }
1891
1891
  },
1892
1892
  {
@@ -1900,8 +1900,8 @@
1900
1900
  "attribute": "download",
1901
1901
  "reflects": true,
1902
1902
  "inheritedFrom": {
1903
- "name": "AnchorMixin",
1904
- "module": "@mdui/shared/mixins/anchor.js"
1903
+ "name": "ButtonBase",
1904
+ "module": "components/button/button-base.js"
1905
1905
  }
1906
1906
  },
1907
1907
  {
@@ -1915,8 +1915,8 @@
1915
1915
  "attribute": "target",
1916
1916
  "reflects": true,
1917
1917
  "inheritedFrom": {
1918
- "name": "AnchorMixin",
1919
- "module": "@mdui/shared/mixins/anchor.js"
1918
+ "name": "ButtonBase",
1919
+ "module": "components/button/button-base.js"
1920
1920
  }
1921
1921
  },
1922
1922
  {
@@ -1930,8 +1930,8 @@
1930
1930
  "attribute": "rel",
1931
1931
  "reflects": true,
1932
1932
  "inheritedFrom": {
1933
- "name": "AnchorMixin",
1934
- "module": "@mdui/shared/mixins/anchor.js"
1933
+ "name": "ButtonBase",
1934
+ "module": "components/button/button-base.js"
1935
1935
  }
1936
1936
  },
1937
1937
  {
@@ -1952,8 +1952,8 @@
1952
1952
  }
1953
1953
  ],
1954
1954
  "inheritedFrom": {
1955
- "name": "AnchorMixin",
1956
- "module": "@mdui/shared/mixins/anchor.js"
1955
+ "name": "ButtonBase",
1956
+ "module": "components/button/button-base.js"
1957
1957
  }
1958
1958
  },
1959
1959
  {
@@ -1968,8 +1968,8 @@
1968
1968
  "attribute": "autofocus",
1969
1969
  "reflects": true,
1970
1970
  "inheritedFrom": {
1971
- "name": "FocusableMixin",
1972
- "module": "@mdui/shared/mixins/focusable.js"
1971
+ "name": "ButtonBase",
1972
+ "module": "components/button/button-base.js"
1973
1973
  }
1974
1974
  },
1975
1975
  {
@@ -1984,8 +1984,8 @@
1984
1984
  "attribute": "focused",
1985
1985
  "reflects": true,
1986
1986
  "inheritedFrom": {
1987
- "name": "FocusableMixin",
1988
- "module": "@mdui/shared/mixins/focusable.js"
1987
+ "name": "ButtonBase",
1988
+ "module": "components/button/button-base.js"
1989
1989
  }
1990
1990
  },
1991
1991
  {
@@ -2000,8 +2000,8 @@
2000
2000
  "attribute": "focus-visible",
2001
2001
  "reflects": true,
2002
2002
  "inheritedFrom": {
2003
- "name": "FocusableMixin",
2004
- "module": "@mdui/shared/mixins/focusable.js"
2003
+ "name": "ButtonBase",
2004
+ "module": "components/button/button-base.js"
2005
2005
  }
2006
2006
  },
2007
2007
  {
@@ -2013,8 +2013,8 @@
2013
2013
  "privacy": "protected",
2014
2014
  "default": "new DefinedController(this, { relatedElements: [''] })",
2015
2015
  "inheritedFrom": {
2016
- "name": "FocusableMixin",
2017
- "module": "@mdui/shared/mixins/focusable.js"
2016
+ "name": "ButtonBase",
2017
+ "module": "components/button/button-base.js"
2018
2018
  }
2019
2019
  },
2020
2020
  {
@@ -2026,8 +2026,8 @@
2026
2026
  "privacy": "private",
2027
2027
  "default": "false",
2028
2028
  "inheritedFrom": {
2029
- "name": "FocusableMixin",
2030
- "module": "@mdui/shared/mixins/focusable.js"
2029
+ "name": "ButtonBase",
2030
+ "module": "components/button/button-base.js"
2031
2031
  }
2032
2032
  },
2033
2033
  {
@@ -2039,8 +2039,8 @@
2039
2039
  "privacy": "private",
2040
2040
  "default": "0",
2041
2041
  "inheritedFrom": {
2042
- "name": "FocusableMixin",
2043
- "module": "@mdui/shared/mixins/focusable.js"
2042
+ "name": "ButtonBase",
2043
+ "module": "components/button/button-base.js"
2044
2044
  }
2045
2045
  },
2046
2046
  {
@@ -2051,8 +2051,8 @@
2051
2051
  },
2052
2052
  "privacy": "private",
2053
2053
  "inheritedFrom": {
2054
- "name": "FocusableMixin",
2055
- "module": "@mdui/shared/mixins/focusable.js"
2054
+ "name": "ButtonBase",
2055
+ "module": "components/button/button-base.js"
2056
2056
  }
2057
2057
  },
2058
2058
  {
@@ -2065,8 +2065,8 @@
2065
2065
  "description": "元素在使用 Tab 键切换焦点时的顺序",
2066
2066
  "attribute": "tabindex",
2067
2067
  "inheritedFrom": {
2068
- "name": "FocusableMixin",
2069
- "module": "@mdui/shared/mixins/focusable.js"
2068
+ "name": "ButtonBase",
2069
+ "module": "components/button/button-base.js"
2070
2070
  }
2071
2071
  },
2072
2072
  {
@@ -2076,8 +2076,8 @@
2076
2076
  "text": "boolean"
2077
2077
  },
2078
2078
  "privacy": "protected",
2079
- "readonly": true,
2080
2079
  "description": "父类要实现该属性,表示是否禁用 focus 状态",
2080
+ "readonly": true,
2081
2081
  "inheritedFrom": {
2082
2082
  "name": "ButtonBase",
2083
2083
  "module": "components/button/button-base.js"
@@ -2087,11 +2087,11 @@
2087
2087
  "kind": "field",
2088
2088
  "name": "focusElement",
2089
2089
  "type": {
2090
- "text": "HTMLElement | null"
2090
+ "text": "HTMLElement | null | undefined"
2091
2091
  },
2092
2092
  "privacy": "protected",
2093
- "readonly": true,
2094
2093
  "description": "最终获得焦点的元素",
2094
+ "readonly": true,
2095
2095
  "inheritedFrom": {
2096
2096
  "name": "ButtonBase",
2097
2097
  "module": "components/button/button-base.js"
@@ -2108,8 +2108,8 @@
2108
2108
  },
2109
2109
  "description": "模拟鼠标点击元素",
2110
2110
  "inheritedFrom": {
2111
- "name": "FocusableMixin",
2112
- "module": "@mdui/shared/mixins/focusable.js"
2111
+ "name": "ButtonBase",
2112
+ "module": "components/button/button-base.js"
2113
2113
  }
2114
2114
  },
2115
2115
  {
@@ -2132,8 +2132,8 @@
2132
2132
  ],
2133
2133
  "description": "将焦点设置到当前元素。\n\n可以传入一个对象作为参数,该对象的属性包括:\n\n* `preventScroll`:默认情况下,元素获取焦点后,页面会滚动以将该元素滚动到视图中。如果不希望页面滚动,可以将此属性设置为 `true`。",
2134
2134
  "inheritedFrom": {
2135
- "name": "FocusableMixin",
2136
- "module": "@mdui/shared/mixins/focusable.js"
2135
+ "name": "ButtonBase",
2136
+ "module": "components/button/button-base.js"
2137
2137
  }
2138
2138
  },
2139
2139
  {
@@ -2147,8 +2147,8 @@
2147
2147
  },
2148
2148
  "description": "移除当前元素的焦点",
2149
2149
  "inheritedFrom": {
2150
- "name": "FocusableMixin",
2151
- "module": "@mdui/shared/mixins/focusable.js"
2150
+ "name": "ButtonBase",
2151
+ "module": "components/button/button-base.js"
2152
2152
  }
2153
2153
  },
2154
2154
  {
@@ -2169,8 +2169,8 @@
2169
2169
  }
2170
2170
  ],
2171
2171
  "inheritedFrom": {
2172
- "name": "FocusableMixin",
2173
- "module": "@mdui/shared/mixins/focusable.js"
2172
+ "name": "ButtonBase",
2173
+ "module": "components/button/button-base.js"
2174
2174
  }
2175
2175
  },
2176
2176
  {
@@ -2183,8 +2183,8 @@
2183
2183
  }
2184
2184
  },
2185
2185
  "inheritedFrom": {
2186
- "name": "FocusableMixin",
2187
- "module": "@mdui/shared/mixins/focusable.js"
2186
+ "name": "ButtonBase",
2187
+ "module": "components/button/button-base.js"
2188
2188
  }
2189
2189
  },
2190
2190
  {
@@ -2538,8 +2538,8 @@
2538
2538
  "text": "KeyboardEvent"
2539
2539
  },
2540
2540
  "inheritedFrom": {
2541
- "name": "FocusableMixin",
2542
- "module": "@mdui/shared/mixins/focusable.js"
2541
+ "name": "ButtonBase",
2542
+ "module": "components/button/button-base.js"
2543
2543
  }
2544
2544
  }
2545
2545
  ],
@@ -2595,8 +2595,8 @@
2595
2595
  "description": "链接的目标 URL。\n\n如果设置了此属性,组件内部将渲染为 `<a>` 元素,并可以使用链接相关的属性。",
2596
2596
  "fieldName": "href",
2597
2597
  "inheritedFrom": {
2598
- "name": "AnchorMixin",
2599
- "module": "@mdui/shared/mixins/anchor.js"
2598
+ "name": "ButtonBase",
2599
+ "module": "components/button/button-base.js"
2600
2600
  }
2601
2601
  },
2602
2602
  {
@@ -2607,8 +2607,8 @@
2607
2607
  "description": "下载链接的目标。\n\n**Note**:仅在设置了 `href` 属性时,此属性才有效。",
2608
2608
  "fieldName": "download",
2609
2609
  "inheritedFrom": {
2610
- "name": "AnchorMixin",
2611
- "module": "@mdui/shared/mixins/anchor.js"
2610
+ "name": "ButtonBase",
2611
+ "module": "components/button/button-base.js"
2612
2612
  }
2613
2613
  },
2614
2614
  {
@@ -2619,8 +2619,8 @@
2619
2619
  "description": "链接的打开方式。可选值包括:\n\n* `_blank`:在新窗口中打开链接\n* `_parent`:在父框架中打开链接\n* `_self`:默认。在当前框架中打开链接\n* `_top`:在整个窗口中打开链接\n\n**Note**:仅在设置了 `href` 属性时,此属性才有效。",
2620
2620
  "fieldName": "target",
2621
2621
  "inheritedFrom": {
2622
- "name": "AnchorMixin",
2623
- "module": "@mdui/shared/mixins/anchor.js"
2622
+ "name": "ButtonBase",
2623
+ "module": "components/button/button-base.js"
2624
2624
  }
2625
2625
  },
2626
2626
  {
@@ -2631,8 +2631,8 @@
2631
2631
  "description": "当前文档与被链接文档之间的关系。可选值包括:\n\n* `alternate`:当前文档的替代版本\n* `author`:当前文档或文章的作者\n* `bookmark`:永久链接到最近的祖先章节\n* `external`:引用的文档与当前文档不在同一站点\n* `help`:链接到相关的帮助文档\n* `license`:当前文档的主要内容由被引用文件的版权许可覆盖\n* `me`:当前文档代表链接内容的所有者\n* `next`:当前文档是系列中的一部分,被引用的文档是系列的下一个文档\n* `nofollow`:当前文档的作者或发布者不认可被引用的文件\n* `noreferrer`:不包含 `Referer` 头。类似于 `noopener` 的效果\n* `opener`:如果超链接会创建一个顶级浏览上下文(即 `target` 属性值为 `_blank`),则创建一个辅助浏览上下文\n* `prev`:当前文档是系列的一部分,被引用的文档是系列的上一个文档\n* `search`:提供一个资源链接,可用于搜索当前文件及其相关页面\n* `tag`:提供一个适用于当前文档的标签(由给定地址识别)\n\n**Note**:仅在指定了 `href` 属性时可用。",
2632
2632
  "fieldName": "rel",
2633
2633
  "inheritedFrom": {
2634
- "name": "AnchorMixin",
2635
- "module": "@mdui/shared/mixins/anchor.js"
2634
+ "name": "ButtonBase",
2635
+ "module": "components/button/button-base.js"
2636
2636
  }
2637
2637
  },
2638
2638
  {
@@ -2644,8 +2644,8 @@
2644
2644
  "description": "是否在页面加载完成后自动获取焦点",
2645
2645
  "fieldName": "autofocus",
2646
2646
  "inheritedFrom": {
2647
- "name": "FocusableMixin",
2648
- "module": "@mdui/shared/mixins/focusable.js"
2647
+ "name": "ButtonBase",
2648
+ "module": "components/button/button-base.js"
2649
2649
  }
2650
2650
  },
2651
2651
  {
@@ -2657,8 +2657,8 @@
2657
2657
  "description": "是否获得了焦点,不管是鼠标点击,还是键盘切换获得的焦点,都会添加该属性\n添加到 :host 元素上,供 CSS 选择器添加样式",
2658
2658
  "fieldName": "focused",
2659
2659
  "inheritedFrom": {
2660
- "name": "FocusableMixin",
2661
- "module": "@mdui/shared/mixins/focusable.js"
2660
+ "name": "ButtonBase",
2661
+ "module": "components/button/button-base.js"
2662
2662
  }
2663
2663
  },
2664
2664
  {
@@ -2670,8 +2670,8 @@
2670
2670
  "description": "是否通过键盘切换获得了焦点\n添加到 :host 元素上,供 CSS 选择器添加样式",
2671
2671
  "fieldName": "focusVisible",
2672
2672
  "inheritedFrom": {
2673
- "name": "FocusableMixin",
2674
- "module": "@mdui/shared/mixins/focusable.js"
2673
+ "name": "ButtonBase",
2674
+ "module": "components/button/button-base.js"
2675
2675
  }
2676
2676
  },
2677
2677
  {
@@ -2682,8 +2682,8 @@
2682
2682
  "description": "元素在使用 Tab 键切换焦点时的顺序",
2683
2683
  "fieldName": "tabIndex",
2684
2684
  "inheritedFrom": {
2685
- "name": "FocusableMixin",
2686
- "module": "@mdui/shared/mixins/focusable.js"
2685
+ "name": "ButtonBase",
2686
+ "module": "components/button/button-base.js"
2687
2687
  }
2688
2688
  },
2689
2689
  {
@@ -3667,7 +3667,7 @@
3667
3667
  "name": "Button",
3668
3668
  "cssProperties": [
3669
3669
  {
3670
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
3670
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
3671
3671
  "name": "--shape-corner"
3672
3672
  }
3673
3673
  ],
@@ -4785,7 +4785,7 @@
4785
4785
  "name": "Card",
4786
4786
  "cssProperties": [
4787
4787
  {
4788
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
4788
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
4789
4789
  "name": "--shape-corner"
4790
4790
  }
4791
4791
  ],
@@ -5498,7 +5498,7 @@
5498
5498
  },
5499
5499
  "privacy": "public",
5500
5500
  "default": "'on'",
5501
- "description": "复选框的值,将于表单数据一起提交",
5501
+ "description": "复选框的值,将与表单数据一起提交",
5502
5502
  "attribute": "value",
5503
5503
  "reflects": true
5504
5504
  },
@@ -5987,7 +5987,7 @@
5987
5987
  "text": "string"
5988
5988
  },
5989
5989
  "default": "'on'",
5990
- "description": "复选框的值,将于表单数据一起提交",
5990
+ "description": "复选框的值,将与表单数据一起提交",
5991
5991
  "fieldName": "value"
5992
5992
  },
5993
5993
  {
@@ -6114,7 +6114,7 @@
6114
6114
  "name": "Chip",
6115
6115
  "cssProperties": [
6116
6116
  {
6117
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
6117
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
6118
6118
  "name": "--shape-corner"
6119
6119
  }
6120
6120
  ],
@@ -6124,7 +6124,7 @@
6124
6124
  "name": "button"
6125
6125
  },
6126
6126
  {
6127
- "description": "纸片文本",
6127
+ "description": "标签文本",
6128
6128
  "name": "label"
6129
6129
  },
6130
6130
  {
@@ -6150,7 +6150,7 @@
6150
6150
  ],
6151
6151
  "slots": [
6152
6152
  {
6153
- "description": "纸片文本",
6153
+ "description": "标签文本",
6154
6154
  "name": ""
6155
6155
  },
6156
6156
  {
@@ -6179,7 +6179,7 @@
6179
6179
  },
6180
6180
  "privacy": "public",
6181
6181
  "default": "'assist'",
6182
- "description": "纸片的形状。可选值包括:\n\n* `assist`:用于显示与当前上下文相关的辅助操作,如在点餐页面提供分享、收藏等功能\n* `filter`:用于对内容进行筛选,如在搜索结果页过滤搜索结果\n* `input`:用于表示用户输入的信息片段,如在 Gmail 的“收件人”字段中的联系人\n* `suggestion`:用于提供动态生成的推荐信息,以简化用户操作,如在聊天应用中预测用户可能想发送的信息",
6182
+ "description": "标签的形状。可选值包括:\n\n* `assist`:用于显示与当前上下文相关的辅助操作,如在点餐页面提供分享、收藏等功能\n* `filter`:用于对内容进行筛选,如在搜索结果页过滤搜索结果\n* `input`:用于表示用户输入的信息片段,如在 Gmail 的“收件人”字段中的联系人\n* `suggestion`:用于提供动态生成的推荐信息,以简化用户操作,如在聊天应用中预测用户可能想发送的信息",
6183
6183
  "attribute": "variant",
6184
6184
  "reflects": true
6185
6185
  },
@@ -6227,7 +6227,7 @@
6227
6227
  },
6228
6228
  "privacy": "public",
6229
6229
  "default": "false",
6230
- "description": "是否可删除。为 `true` 时,纸片右侧会显示删除图标",
6230
+ "description": "是否可删除。为 `true` 时,标签右侧会显示删除图标",
6231
6231
  "attribute": "deletable",
6232
6232
  "reflects": true
6233
6233
  },
@@ -7064,7 +7064,7 @@
7064
7064
  "text": "| /*用于显示与当前上下文相关的辅助操作,如在点餐页面提供分享、收藏等功能*/ 'assist'\n | /*用于对内容进行筛选,如在搜索结果页过滤搜索结果*/ 'filter'\n | /*用于表示用户输入的信息片段,如在 Gmail 的“收件人”字段中的联系人*/ 'input'\n | /*用于提供动态生成的推荐信息,以简化用户操作,如在聊天应用中预测用户可能想发送的信息*/ 'suggestion'"
7065
7065
  },
7066
7066
  "default": "'assist'",
7067
- "description": "纸片的形状。可选值包括:\n\n* `assist`:用于显示与当前上下文相关的辅助操作,如在点餐页面提供分享、收藏等功能\n* `filter`:用于对内容进行筛选,如在搜索结果页过滤搜索结果\n* `input`:用于表示用户输入的信息片段,如在 Gmail 的“收件人”字段中的联系人\n* `suggestion`:用于提供动态生成的推荐信息,以简化用户操作,如在聊天应用中预测用户可能想发送的信息",
7067
+ "description": "标签的形状。可选值包括:\n\n* `assist`:用于显示与当前上下文相关的辅助操作,如在点餐页面提供分享、收藏等功能\n* `filter`:用于对内容进行筛选,如在搜索结果页过滤搜索结果\n* `input`:用于表示用户输入的信息片段,如在 Gmail 的“收件人”字段中的联系人\n* `suggestion`:用于提供动态生成的推荐信息,以简化用户操作,如在聊天应用中预测用户可能想发送的信息",
7068
7068
  "fieldName": "variant"
7069
7069
  },
7070
7070
  {
@@ -7100,7 +7100,7 @@
7100
7100
  "text": "boolean"
7101
7101
  },
7102
7102
  "default": "false",
7103
- "description": "是否可删除。为 `true` 时,纸片右侧会显示删除图标",
7103
+ "description": "是否可删除。为 `true` 时,标签右侧会显示删除图标",
7104
7104
  "fieldName": "deletable"
7105
7105
  },
7106
7106
  {
@@ -7377,7 +7377,7 @@
7377
7377
  "name": "ButtonBase",
7378
7378
  "module": "components/button/button-base.js"
7379
7379
  },
7380
- "summary": "纸片组件\n\n```html\n<mdui-chip>Chip</mdui-chip>\n```",
7380
+ "summary": "标签组件\n\n```html\n<mdui-chip>Chip</mdui-chip>\n```",
7381
7381
  "tagName": "mdui-chip",
7382
7382
  "customElement": true
7383
7383
  }
@@ -7418,7 +7418,7 @@
7418
7418
  },
7419
7419
  "privacy": "public",
7420
7420
  "default": "1",
7421
- "description": "进度指示器的最大值。默认为 `1`",
7421
+ "description": "进度条的最大值。默认为 `1`",
7422
7422
  "attribute": "max",
7423
7423
  "reflects": true
7424
7424
  },
@@ -7429,7 +7429,7 @@
7429
7429
  "text": "number | undefined"
7430
7430
  },
7431
7431
  "privacy": "public",
7432
- "description": "进度指示器的当前值。如果未指定该值,则显示为不确定状态",
7432
+ "description": "进度条的当前值。如果未指定该值,则显示为不确定状态",
7433
7433
  "attribute": "value"
7434
7434
  },
7435
7435
  {
@@ -7460,7 +7460,7 @@
7460
7460
  "text": "number"
7461
7461
  },
7462
7462
  "default": "1",
7463
- "description": "进度指示器的最大值。默认为 `1`",
7463
+ "description": "进度条的最大值。默认为 `1`",
7464
7464
  "fieldName": "max"
7465
7465
  },
7466
7466
  {
@@ -7468,7 +7468,7 @@
7468
7468
  "type": {
7469
7469
  "text": "number | undefined"
7470
7470
  },
7471
- "description": "进度指示器的当前值。如果未指定该值,则显示为不确定状态",
7471
+ "description": "进度条的当前值。如果未指定该值,则显示为不确定状态",
7472
7472
  "fieldName": "value"
7473
7473
  }
7474
7474
  ],
@@ -7476,7 +7476,7 @@
7476
7476
  "name": "MduiElement",
7477
7477
  "package": "@mdui/shared/base/mdui-element.js"
7478
7478
  },
7479
- "summary": "圆形进度指示器组件\n\n```html\n<mdui-circular-progress></mdui-circular-progress>\n```",
7479
+ "summary": "环形进度条组件\n\n```html\n<mdui-circular-progress></mdui-circular-progress>\n```",
7480
7480
  "tagName": "mdui-circular-progress",
7481
7481
  "customElement": true
7482
7482
  }
@@ -7570,7 +7570,7 @@
7570
7570
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
7571
7571
  },
7572
7572
  "privacy": "public",
7573
- "description": "点击该元素时触发折叠,值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认为点击整个 header 区域触发",
7573
+ "description": "点击该元素时触发折叠,值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认为点击整个 header 区域触发",
7574
7574
  "attribute": "trigger"
7575
7575
  },
7576
7576
  {
@@ -7689,7 +7689,7 @@
7689
7689
  "type": {
7690
7690
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
7691
7691
  },
7692
- "description": "点击该元素时触发折叠,值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认为点击整个 header 区域触发",
7692
+ "description": "点击该元素时触发折叠,值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认为点击整个 header 区域触发",
7693
7693
  "fieldName": "trigger"
7694
7694
  }
7695
7695
  ],
@@ -7945,7 +7945,7 @@
7945
7945
  "name": "Dialog",
7946
7946
  "cssProperties": [
7947
7947
  {
7948
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
7948
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
7949
7949
  "name": "--shape-corner"
7950
7950
  },
7951
7951
  {
@@ -8353,7 +8353,7 @@
8353
8353
  },
8354
8354
  "privacy": "public",
8355
8355
  "default": "false",
8356
- "description": "是否为垂直分割线",
8356
+ "description": "是否为垂直分隔线",
8357
8357
  "attribute": "vertical",
8358
8358
  "reflects": true
8359
8359
  },
@@ -8389,7 +8389,7 @@
8389
8389
  "text": "boolean"
8390
8390
  },
8391
8391
  "default": "false",
8392
- "description": "是否为垂直分割线",
8392
+ "description": "是否为垂直分隔线",
8393
8393
  "fieldName": "vertical"
8394
8394
  },
8395
8395
  {
@@ -8415,7 +8415,7 @@
8415
8415
  "name": "MduiElement",
8416
8416
  "package": "@mdui/shared/base/mdui-element.js"
8417
8417
  },
8418
- "summary": "分割线组件\n\n```html\n<mdui-divider></mdui-divider>\n```",
8418
+ "summary": "分隔线组件\n\n```html\n<mdui-divider></mdui-divider>\n```",
8419
8419
  "tagName": "mdui-divider",
8420
8420
  "customElement": true
8421
8421
  }
@@ -8469,7 +8469,7 @@
8469
8469
  "name": ""
8470
8470
  },
8471
8471
  {
8472
- "description": "触发下拉组件的元素,例如 [`<mdui-button>`](/docs/2/components/button) 元素",
8472
+ "description": "触发下拉组件的元素,例如 [`<mdui-button>`](/zh-cn/docs/2/components/button) 元素",
8473
8473
  "name": "trigger"
8474
8474
  }
8475
8475
  ],
@@ -8530,7 +8530,7 @@
8530
8530
  },
8531
8531
  "privacy": "public",
8532
8532
  "default": "false",
8533
- "description": "点击 [`<mdui-menu-item>`](/docs/2/components/menu#menu-item-api) 后,下拉组件是否保持打开状态",
8533
+ "description": "点击 [`<mdui-menu-item>`](/zh-cn/docs/2/components/menu#menu-item-api) 后,下拉组件是否保持打开状态",
8534
8534
  "attribute": "stay-open-on-click",
8535
8535
  "reflects": true
8536
8536
  },
@@ -8862,7 +8862,7 @@
8862
8862
  "text": "boolean"
8863
8863
  },
8864
8864
  "default": "false",
8865
- "description": "点击 [`<mdui-menu-item>`](/docs/2/components/menu#menu-item-api) 后,下拉组件是否保持打开状态",
8865
+ "description": "点击 [`<mdui-menu-item>`](/zh-cn/docs/2/components/menu#menu-item-api) 后,下拉组件是否保持打开状态",
8866
8866
  "fieldName": "stayOpenOnClick"
8867
8867
  },
8868
8868
  {
@@ -8931,15 +8931,15 @@
8931
8931
  "name": "Fab",
8932
8932
  "cssProperties": [
8933
8933
  {
8934
- "description": "`size=\"small\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
8934
+ "description": "`size=\"small\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
8935
8935
  "name": "--shape-corner-small"
8936
8936
  },
8937
8937
  {
8938
- "description": "`size=\"normal\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
8938
+ "description": "`size=\"normal\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
8939
8939
  "name": "--shape-corner-normal"
8940
8940
  },
8941
8941
  {
8942
- "description": "`size=\"large\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
8942
+ "description": "`size=\"large\"` 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
8943
8943
  "name": "--shape-corner-large"
8944
8944
  }
8945
8945
  ],
@@ -10388,7 +10388,7 @@
10388
10388
  "text": "number | undefined"
10389
10389
  },
10390
10390
  "privacy": "public",
10391
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10391
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10392
10392
  "attribute": "order",
10393
10393
  "reflects": true
10394
10394
  },
@@ -10431,7 +10431,7 @@
10431
10431
  "type": {
10432
10432
  "text": "number | undefined"
10433
10433
  },
10434
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10434
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10435
10435
  "fieldName": "order"
10436
10436
  }
10437
10437
  ],
@@ -10505,7 +10505,7 @@
10505
10505
  "text": "number | undefined"
10506
10506
  },
10507
10507
  "privacy": "public",
10508
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10508
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10509
10509
  "attribute": "order",
10510
10510
  "reflects": true,
10511
10511
  "inheritedFrom": {
@@ -10563,7 +10563,7 @@
10563
10563
  "type": {
10564
10564
  "text": "number | undefined"
10565
10565
  },
10566
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10566
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
10567
10567
  "fieldName": "order",
10568
10568
  "inheritedFrom": {
10569
10569
  "name": "LayoutItemBase",
@@ -10661,7 +10661,7 @@
10661
10661
  "name": "Layout",
10662
10662
  "slots": [
10663
10663
  {
10664
- "description": "可以包含 [`<mdui-top-app-bar>`](/docs/2/components/top-app-bar)、[`<mdui-bottom-app-bar>`](/docs/2/components/bottom-app-bar)、[`<mdui-navigation-bar>`](/docs/2/components/navigation-bar)、[`<mdui-navigation-drawer>`](/docs/2/components/navigation-drawer)、[`<mdui-navigation-rail>`](/docs/2/components/navigation-rail)、`<mdui-layout-item>`、`<mdui-layout-main>` 元素",
10664
+ "description": "可以包含 [`<mdui-top-app-bar>`](/zh-cn/docs/2/components/top-app-bar)、[`<mdui-bottom-app-bar>`](/zh-cn/docs/2/components/bottom-app-bar)、[`<mdui-navigation-bar>`](/zh-cn/docs/2/components/navigation-bar)、[`<mdui-navigation-drawer>`](/zh-cn/docs/2/components/navigation-drawer)、[`<mdui-navigation-rail>`](/zh-cn/docs/2/components/navigation-rail)、`<mdui-layout-item>`、`<mdui-layout-main>` 元素",
10665
10665
  "name": ""
10666
10666
  }
10667
10667
  ],
@@ -10728,7 +10728,7 @@
10728
10728
  "name": "LinearProgress",
10729
10729
  "cssProperties": [
10730
10730
  {
10731
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
10731
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
10732
10732
  "name": "--shape-corner"
10733
10733
  }
10734
10734
  ],
@@ -10747,7 +10747,7 @@
10747
10747
  },
10748
10748
  "privacy": "public",
10749
10749
  "default": "1",
10750
- "description": "进度指示器的最大值。默认为 `1`",
10750
+ "description": "进度条的最大值。默认为 `1`",
10751
10751
  "attribute": "max",
10752
10752
  "reflects": true
10753
10753
  },
@@ -10758,7 +10758,7 @@
10758
10758
  "text": "number | undefined"
10759
10759
  },
10760
10760
  "privacy": "public",
10761
- "description": "进度指示器的当前值。如果未指定该值,则处于不确定状态",
10761
+ "description": "进度条的当前值。如果未指定该值,则处于不确定状态",
10762
10762
  "attribute": "value"
10763
10763
  }
10764
10764
  ],
@@ -10769,7 +10769,7 @@
10769
10769
  "text": "number"
10770
10770
  },
10771
10771
  "default": "1",
10772
- "description": "进度指示器的最大值。默认为 `1`",
10772
+ "description": "进度条的最大值。默认为 `1`",
10773
10773
  "fieldName": "max"
10774
10774
  },
10775
10775
  {
@@ -10777,7 +10777,7 @@
10777
10777
  "type": {
10778
10778
  "text": "number | undefined"
10779
10779
  },
10780
- "description": "进度指示器的当前值。如果未指定该值,则处于不确定状态",
10780
+ "description": "进度条的当前值。如果未指定该值,则处于不确定状态",
10781
10781
  "fieldName": "value"
10782
10782
  }
10783
10783
  ],
@@ -10785,7 +10785,7 @@
10785
10785
  "name": "MduiElement",
10786
10786
  "package": "@mdui/shared/base/mdui-element.js"
10787
10787
  },
10788
- "summary": "线性进度指示器组件\n\n```html\n<mdui-linear-progress></mdui-linear-progress>\n```",
10788
+ "summary": "线性进度条组件\n\n```html\n<mdui-linear-progress></mdui-linear-progress>\n```",
10789
10789
  "tagName": "mdui-linear-progress",
10790
10790
  "customElement": true
10791
10791
  }
@@ -10819,11 +10819,11 @@
10819
10819
  "name": "ListItem",
10820
10820
  "cssProperties": [
10821
10821
  {
10822
- "description": "列表项的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
10822
+ "description": "列表项的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
10823
10823
  "name": "--shape-corner"
10824
10824
  },
10825
10825
  {
10826
- "description": "指定了 `rounded` 属性时,列表项的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
10826
+ "description": "指定了 `rounded` 属性时,列表项的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
10827
10827
  "name": "--shape-corner-rounded"
10828
10828
  }
10829
10829
  ],
@@ -10950,7 +10950,7 @@
10950
10950
  },
10951
10951
  "privacy": "public",
10952
10952
  "default": "false",
10953
- "description": "是否禁用该列表项,禁用后,列表项将变为灰色,且其中的 [`<mdui-checkbox>`](/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等也将禁用",
10953
+ "description": "是否禁用该列表项,禁用后,列表项将变为灰色,且其中的 [`<mdui-checkbox>`](/zh-cn/docs/2/components/checkbox)、[`<mdui-radio>`](/zh-cn/docs/2/components/radio)、[`<mdui-switch>`](/zh-cn/docs/2/components/switch) 等也将禁用",
10954
10954
  "attribute": "disabled",
10955
10955
  "reflects": true
10956
10956
  },
@@ -10974,7 +10974,7 @@
10974
10974
  },
10975
10975
  "privacy": "public",
10976
10976
  "default": "false",
10977
- "description": "是否使列表项不可点击。设置后,列表项中的 [`<mdui-checkbox>`](/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等仍可交互",
10977
+ "description": "是否使列表项不可点击。设置后,列表项中的 [`<mdui-checkbox>`](/zh-cn/docs/2/components/checkbox)、[`<mdui-radio>`](/zh-cn/docs/2/components/radio)、[`<mdui-switch>`](/zh-cn/docs/2/components/switch) 等仍可交互",
10978
10978
  "attribute": "nonclickable",
10979
10979
  "reflects": true
10980
10980
  },
@@ -11459,7 +11459,7 @@
11459
11459
  "text": "boolean"
11460
11460
  },
11461
11461
  "default": "false",
11462
- "description": "是否禁用该列表项,禁用后,列表项将变为灰色,且其中的 [`<mdui-checkbox>`](/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等也将禁用",
11462
+ "description": "是否禁用该列表项,禁用后,列表项将变为灰色,且其中的 [`<mdui-checkbox>`](/zh-cn/docs/2/components/checkbox)、[`<mdui-radio>`](/zh-cn/docs/2/components/radio)、[`<mdui-switch>`](/zh-cn/docs/2/components/switch) 等也将禁用",
11463
11463
  "fieldName": "disabled"
11464
11464
  },
11465
11465
  {
@@ -11477,7 +11477,7 @@
11477
11477
  "text": "boolean"
11478
11478
  },
11479
11479
  "default": "false",
11480
- "description": "是否使列表项不可点击。设置后,列表项中的 [`<mdui-checkbox>`](/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等仍可交互",
11480
+ "description": "是否使列表项不可点击。设置后,列表项中的 [`<mdui-checkbox>`](/zh-cn/docs/2/components/checkbox)、[`<mdui-radio>`](/zh-cn/docs/2/components/radio)、[`<mdui-switch>`](/zh-cn/docs/2/components/switch) 等仍可交互",
11481
11481
  "fieldName": "nonclickable"
11482
11482
  },
11483
11483
  {
@@ -12708,13 +12708,13 @@
12708
12708
  "name": "Menu",
12709
12709
  "cssProperties": [
12710
12710
  {
12711
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
12711
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
12712
12712
  "name": "--shape-corner"
12713
12713
  }
12714
12714
  ],
12715
12715
  "slots": [
12716
12716
  {
12717
- "description": "子菜单项(`<mdui-menu-item>`)、分割线([`<mdui-divider>`](/docs/2/components/divider))等元素",
12717
+ "description": "子菜单项(`<mdui-menu-item>`)、分隔线([`<mdui-divider>`](/zh-cn/docs/2/components/divider))等元素",
12718
12718
  "name": ""
12719
12719
  }
12720
12720
  ],
@@ -13168,7 +13168,7 @@
13168
13168
  "name": "NavigationBarItem",
13169
13169
  "cssProperties": [
13170
13170
  {
13171
- "description": "指示器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
13171
+ "description": "指示器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
13172
13172
  "name": "--shape-corner-indicator"
13173
13173
  }
13174
13174
  ],
@@ -13857,7 +13857,7 @@
13857
13857
  "name": "NavigationBar",
13858
13858
  "cssProperties": [
13859
13859
  {
13860
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
13860
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
13861
13861
  "name": "--shape-corner"
13862
13862
  },
13863
13863
  {
@@ -14051,7 +14051,7 @@
14051
14051
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
14052
14052
  },
14053
14053
  "privacy": "public",
14054
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
14054
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
14055
14055
  "attribute": "scroll-target",
14056
14056
  "inheritedFrom": {
14057
14057
  "name": "ScrollBehaviorMixin",
@@ -14065,7 +14065,7 @@
14065
14065
  "text": "number | undefined"
14066
14066
  },
14067
14067
  "privacy": "public",
14068
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
14068
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
14069
14069
  "attribute": "scroll-threshold",
14070
14070
  "reflects": true,
14071
14071
  "inheritedFrom": {
@@ -14349,7 +14349,7 @@
14349
14349
  "text": "number | undefined"
14350
14350
  },
14351
14351
  "privacy": "public",
14352
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14352
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14353
14353
  "attribute": "order",
14354
14354
  "reflects": true,
14355
14355
  "inheritedFrom": {
@@ -14445,7 +14445,7 @@
14445
14445
  "type": {
14446
14446
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
14447
14447
  },
14448
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
14448
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
14449
14449
  "fieldName": "scrollTarget",
14450
14450
  "inheritedFrom": {
14451
14451
  "name": "ScrollBehaviorMixin",
@@ -14457,7 +14457,7 @@
14457
14457
  "type": {
14458
14458
  "text": "number | undefined"
14459
14459
  },
14460
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
14460
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
14461
14461
  "fieldName": "scrollThreshold",
14462
14462
  "inheritedFrom": {
14463
14463
  "name": "ScrollBehaviorMixin",
@@ -14469,7 +14469,7 @@
14469
14469
  "type": {
14470
14470
  "text": "number | undefined"
14471
14471
  },
14472
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14472
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14473
14473
  "fieldName": "order",
14474
14474
  "inheritedFrom": {
14475
14475
  "name": "LayoutItemBase",
@@ -14521,7 +14521,7 @@
14521
14521
  "name": "NavigationDrawer",
14522
14522
  "cssProperties": [
14523
14523
  {
14524
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
14524
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
14525
14525
  "name": "--shape-corner"
14526
14526
  },
14527
14527
  {
@@ -14535,13 +14535,13 @@
14535
14535
  "name": "overlay"
14536
14536
  },
14537
14537
  {
14538
- "description": "抽屉栏容器",
14538
+ "description": "抽屉导航栏容器",
14539
14539
  "name": "panel"
14540
14540
  }
14541
14541
  ],
14542
14542
  "slots": [
14543
14543
  {
14544
- "description": "抽屉栏中的内容",
14544
+ "description": "抽屉导航栏中的内容",
14545
14545
  "name": ""
14546
14546
  }
14547
14547
  ],
@@ -14554,7 +14554,7 @@
14554
14554
  },
14555
14555
  "privacy": "public",
14556
14556
  "default": "false",
14557
- "description": "是否打开抽屉栏",
14557
+ "description": "是否打开抽屉导航栏",
14558
14558
  "attribute": "open",
14559
14559
  "reflects": true
14560
14560
  },
@@ -14566,7 +14566,7 @@
14566
14566
  },
14567
14567
  "privacy": "public",
14568
14568
  "default": "false",
14569
- "description": "抽屉栏打开时,是否显示遮罩层\n\n在窄屏设备上(屏幕宽度小于 [`--mdui-breakpoint-md`](/docs/2/styles/design-tokens#breakpoint)),会始终显示遮罩层,无视该参数",
14569
+ "description": "抽屉导航栏打开时,是否显示遮罩层\n\n在窄屏设备上(屏幕宽度小于 [`--mdui-breakpoint-md`](/zh-cn/docs/2/styles/design-tokens#breakpoint)),会始终显示遮罩层,无视该参数",
14570
14570
  "attribute": "modal",
14571
14571
  "reflects": true
14572
14572
  },
@@ -14578,7 +14578,7 @@
14578
14578
  },
14579
14579
  "privacy": "public",
14580
14580
  "default": "false",
14581
- "description": "在有遮罩层的情况下,按下 ESC 键是否关闭抽屉栏",
14581
+ "description": "在有遮罩层的情况下,按下 ESC 键是否关闭抽屉导航栏",
14582
14582
  "attribute": "close-on-esc",
14583
14583
  "reflects": true
14584
14584
  },
@@ -14590,7 +14590,7 @@
14590
14590
  },
14591
14591
  "privacy": "public",
14592
14592
  "default": "false",
14593
- "description": "点击遮罩层时,是否关闭抽屉栏",
14593
+ "description": "点击遮罩层时,是否关闭抽屉导航栏",
14594
14594
  "attribute": "close-on-overlay-click",
14595
14595
  "reflects": true
14596
14596
  },
@@ -14602,7 +14602,7 @@
14602
14602
  },
14603
14603
  "privacy": "public",
14604
14604
  "default": "'left'",
14605
- "description": "抽屉栏的位置。可选值包括:\n\n* `left`:左侧\n* `right`:右侧",
14605
+ "description": "抽屉导航栏的位置。可选值包括:\n\n* `left`:左侧\n* `right`:右侧",
14606
14606
  "attribute": "placement",
14607
14607
  "reflects": true
14608
14608
  },
@@ -14614,7 +14614,7 @@
14614
14614
  },
14615
14615
  "privacy": "public",
14616
14616
  "default": "false",
14617
- "description": "默认情况下,抽屉栏相对于 `body` 元素显示。当该参数设置为 `true` 时,抽屉栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative; overflow: hidden;`。",
14617
+ "description": "默认情况下,抽屉导航栏相对于 `body` 元素显示。当该属性设置为 `true` 时,抽屉导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative; overflow: hidden;`。",
14618
14618
  "attribute": "contained",
14619
14619
  "reflects": true
14620
14620
  },
@@ -14760,7 +14760,7 @@
14760
14760
  "text": "number | undefined"
14761
14761
  },
14762
14762
  "privacy": "public",
14763
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14763
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14764
14764
  "attribute": "order",
14765
14765
  "reflects": true,
14766
14766
  "inheritedFrom": {
@@ -14805,19 +14805,19 @@
14805
14805
  ],
14806
14806
  "events": [
14807
14807
  {
14808
- "description": "抽屉栏打开之前触发。可以通过调用 `event.preventDefault()` 阻止抽屉栏打开",
14808
+ "description": "抽屉导航栏打开之前触发。可以通过调用 `event.preventDefault()` 阻止抽屉导航栏打开",
14809
14809
  "name": "open"
14810
14810
  },
14811
14811
  {
14812
- "description": "抽屉栏打开动画完成之后触发",
14812
+ "description": "抽屉导航栏打开动画完成之后触发",
14813
14813
  "name": "opened"
14814
14814
  },
14815
14815
  {
14816
- "description": "抽屉栏关闭之前触发。可以通过调用 `event.preventDefault()` 阻止抽屉栏关闭",
14816
+ "description": "抽屉导航栏关闭之前触发。可以通过调用 `event.preventDefault()` 阻止抽屉导航栏关闭",
14817
14817
  "name": "close"
14818
14818
  },
14819
14819
  {
14820
- "description": "抽屉栏关闭动画完成之后触发",
14820
+ "description": "抽屉导航栏关闭动画完成之后触发",
14821
14821
  "name": "closed"
14822
14822
  },
14823
14823
  {
@@ -14832,7 +14832,7 @@
14832
14832
  "text": "boolean"
14833
14833
  },
14834
14834
  "default": "false",
14835
- "description": "是否打开抽屉栏",
14835
+ "description": "是否打开抽屉导航栏",
14836
14836
  "fieldName": "open"
14837
14837
  },
14838
14838
  {
@@ -14841,7 +14841,7 @@
14841
14841
  "text": "boolean"
14842
14842
  },
14843
14843
  "default": "false",
14844
- "description": "抽屉栏打开时,是否显示遮罩层\n\n在窄屏设备上(屏幕宽度小于 [`--mdui-breakpoint-md`](/docs/2/styles/design-tokens#breakpoint)),会始终显示遮罩层,无视该参数",
14844
+ "description": "抽屉导航栏打开时,是否显示遮罩层\n\n在窄屏设备上(屏幕宽度小于 [`--mdui-breakpoint-md`](/zh-cn/docs/2/styles/design-tokens#breakpoint)),会始终显示遮罩层,无视该参数",
14845
14845
  "fieldName": "modal"
14846
14846
  },
14847
14847
  {
@@ -14850,7 +14850,7 @@
14850
14850
  "text": "boolean"
14851
14851
  },
14852
14852
  "default": "false",
14853
- "description": "在有遮罩层的情况下,按下 ESC 键是否关闭抽屉栏",
14853
+ "description": "在有遮罩层的情况下,按下 ESC 键是否关闭抽屉导航栏",
14854
14854
  "fieldName": "closeOnEsc"
14855
14855
  },
14856
14856
  {
@@ -14859,7 +14859,7 @@
14859
14859
  "text": "boolean"
14860
14860
  },
14861
14861
  "default": "false",
14862
- "description": "点击遮罩层时,是否关闭抽屉栏",
14862
+ "description": "点击遮罩层时,是否关闭抽屉导航栏",
14863
14863
  "fieldName": "closeOnOverlayClick"
14864
14864
  },
14865
14865
  {
@@ -14868,7 +14868,7 @@
14868
14868
  "text": "| /*左侧*/ 'left'\n | /*右侧*/ 'right'"
14869
14869
  },
14870
14870
  "default": "'left'",
14871
- "description": "抽屉栏的位置。可选值包括:\n\n* `left`:左侧\n* `right`:右侧",
14871
+ "description": "抽屉导航栏的位置。可选值包括:\n\n* `left`:左侧\n* `right`:右侧",
14872
14872
  "fieldName": "placement"
14873
14873
  },
14874
14874
  {
@@ -14877,7 +14877,7 @@
14877
14877
  "text": "boolean"
14878
14878
  },
14879
14879
  "default": "false",
14880
- "description": "默认情况下,抽屉栏相对于 `body` 元素显示。当该参数设置为 `true` 时,抽屉栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative; overflow: hidden;`。",
14880
+ "description": "默认情况下,抽屉导航栏相对于 `body` 元素显示。当该属性设置为 `true` 时,抽屉导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative; overflow: hidden;`。",
14881
14881
  "fieldName": "contained"
14882
14882
  },
14883
14883
  {
@@ -14893,7 +14893,7 @@
14893
14893
  "type": {
14894
14894
  "text": "number | undefined"
14895
14895
  },
14896
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14896
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
14897
14897
  "fieldName": "order",
14898
14898
  "inheritedFrom": {
14899
14899
  "name": "LayoutItemBase",
@@ -14905,7 +14905,7 @@
14905
14905
  "name": "LayoutItemBase",
14906
14906
  "module": "components/layout/layout-item-base.js"
14907
14907
  },
14908
- "summary": "侧边抽屉栏组件\n\n```html\n<mdui-navigation-drawer>content</mdui-navigation-drawer>\n```",
14908
+ "summary": "抽屉导航栏组件\n\n```html\n<mdui-navigation-drawer>content</mdui-navigation-drawer>\n```",
14909
14909
  "tagName": "mdui-navigation-drawer",
14910
14910
  "customElement": true
14911
14911
  }
@@ -14939,7 +14939,7 @@
14939
14939
  "name": "NavigationRailItem",
14940
14940
  "cssProperties": [
14941
14941
  {
14942
- "description": "指示器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
14942
+ "description": "指示器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
14943
14943
  "name": "--shape-corner-indicator"
14944
14944
  }
14945
14945
  ],
@@ -15637,7 +15637,7 @@
15637
15637
  "name": "NavigationRail",
15638
15638
  "cssProperties": [
15639
15639
  {
15640
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
15640
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
15641
15641
  "name": "--shape-corner"
15642
15642
  },
15643
15643
  {
@@ -15717,7 +15717,7 @@
15717
15717
  },
15718
15718
  "privacy": "public",
15719
15719
  "default": "false",
15720
- "description": "默认情况下,导航栏相对于 `body` 元素显示。当该参数设置为 `true` 时,导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative;`。",
15720
+ "description": "默认情况下,导航栏相对于 `body` 元素显示。当该属性设置为 `true` 时,导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative;`。",
15721
15721
  "attribute": "contained",
15722
15722
  "reflects": true
15723
15723
  },
@@ -15729,7 +15729,7 @@
15729
15729
  },
15730
15730
  "privacy": "public",
15731
15731
  "default": "false",
15732
- "description": "是否在导航栏和页面内容之间添加分割线",
15732
+ "description": "是否在导航栏和页面内容之间添加分隔线",
15733
15733
  "attribute": "divider",
15734
15734
  "reflects": true
15735
15735
  },
@@ -15864,7 +15864,7 @@
15864
15864
  "text": "number | undefined"
15865
15865
  },
15866
15866
  "privacy": "public",
15867
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
15867
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
15868
15868
  "attribute": "order",
15869
15869
  "reflects": true,
15870
15870
  "inheritedFrom": {
@@ -15946,7 +15946,7 @@
15946
15946
  "text": "boolean"
15947
15947
  },
15948
15948
  "default": "false",
15949
- "description": "默认情况下,导航栏相对于 `body` 元素显示。当该参数设置为 `true` 时,导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative;`。",
15949
+ "description": "默认情况下,导航栏相对于 `body` 元素显示。当该属性设置为 `true` 时,导航栏将相对于其父元素显示。\n\n**Note**:设置该属性时,必须在父元素上手动设置样式 `position: relative;`。",
15950
15950
  "fieldName": "contained"
15951
15951
  },
15952
15952
  {
@@ -15955,7 +15955,7 @@
15955
15955
  "text": "boolean"
15956
15956
  },
15957
15957
  "default": "false",
15958
- "description": "是否在导航栏和页面内容之间添加分割线",
15958
+ "description": "是否在导航栏和页面内容之间添加分隔线",
15959
15959
  "fieldName": "divider"
15960
15960
  },
15961
15961
  {
@@ -15963,7 +15963,7 @@
15963
15963
  "type": {
15964
15964
  "text": "number | undefined"
15965
15965
  },
15966
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
15966
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
15967
15967
  "fieldName": "order",
15968
15968
  "inheritedFrom": {
15969
15969
  "name": "LayoutItemBase",
@@ -16057,7 +16057,7 @@
16057
16057
  },
16058
16058
  "privacy": "public",
16059
16059
  "default": "''",
16060
- "description": "单选框组的名称,将于表单数据一起提交",
16060
+ "description": "单选框组当前选中的值,将与表单数据一起提交",
16061
16061
  "attribute": "value",
16062
16062
  "reflects": true
16063
16063
  },
@@ -16313,7 +16313,7 @@
16313
16313
  "text": "string"
16314
16314
  },
16315
16315
  "default": "''",
16316
- "description": "单选框组的名称,将于表单数据一起提交",
16316
+ "description": "单选框组当前选中的值,将与表单数据一起提交",
16317
16317
  "fieldName": "value"
16318
16318
  },
16319
16319
  {
@@ -17046,7 +17046,7 @@
17046
17046
  "text": "number[]"
17047
17047
  },
17048
17048
  "privacy": "public",
17049
- "description": "滑块的值,为数组格式,将于表单数据一起提交。\n\n**NOTE**:该属性无法通过 HTML 属性设置初始值,如果要修改该值,只能通过修改 JavaScript 属性值实现。"
17049
+ "description": "滑块的值,为数组格式,将与表单数据一起提交。\n\n**NOTE**:该属性无法通过 HTML 属性设置初始值,如果要修改该值,只能通过修改 JavaScript 属性值实现。"
17050
17050
  },
17051
17051
  {
17052
17052
  "kind": "field",
@@ -17889,7 +17889,7 @@
17889
17889
  "name": "SegmentedButtonGroup",
17890
17890
  "cssProperties": [
17891
17891
  {
17892
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
17892
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
17893
17893
  "name": "--shape-corner"
17894
17894
  }
17895
17895
  ],
@@ -19562,7 +19562,7 @@
19562
19562
  "name": "chip__delete-icon"
19563
19563
  },
19564
19564
  {
19565
- "description": "文本框,即 [`<mdui-text-field>`](/docs/2/components/text-field) 元素",
19565
+ "description": "文本框,即 [`<mdui-text-field>`](/zh-cn/docs/2/components/text-field) 元素",
19566
19566
  "name": "text-field"
19567
19567
  },
19568
19568
  {
@@ -19618,7 +19618,7 @@
19618
19618
  "name": "text-field__error"
19619
19619
  },
19620
19620
  {
19621
- "description": "下拉菜单,即 [`<mdui-menu>`](/docs/2/components/menu) 元素",
19621
+ "description": "下拉菜单,即 [`<mdui-menu>`](/zh-cn/docs/2/components/menu) 元素",
19622
19622
  "name": "menu"
19623
19623
  }
19624
19624
  ],
@@ -20671,7 +20671,7 @@
20671
20671
  },
20672
20672
  "privacy": "public",
20673
20673
  "default": "0",
20674
- "description": "滑块的值,将于表单数据一起提交",
20674
+ "description": "滑块的值,将与表单数据一起提交",
20675
20675
  "attribute": "value"
20676
20676
  },
20677
20677
  {
@@ -21363,7 +21363,7 @@
21363
21363
  "text": "number"
21364
21364
  },
21365
21365
  "default": "0",
21366
- "description": "滑块的值,将于表单数据一起提交",
21366
+ "description": "滑块的值,将与表单数据一起提交",
21367
21367
  "fieldName": "value"
21368
21368
  },
21369
21369
  {
@@ -22229,7 +22229,7 @@
22229
22229
  "name": "Snackbar",
22230
22230
  "cssProperties": [
22231
22231
  {
22232
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
22232
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
22233
22233
  "name": "--shape-corner"
22234
22234
  },
22235
22235
  {
@@ -22614,11 +22614,11 @@
22614
22614
  "name": "Switch",
22615
22615
  "cssProperties": [
22616
22616
  {
22617
- "description": "组件轨道的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
22617
+ "description": "组件轨道的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
22618
22618
  "name": "--shape-corner"
22619
22619
  },
22620
22620
  {
22621
- "description": "组件图标容器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
22621
+ "description": "组件图标容器的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
22622
22622
  "name": "--shape-corner-thumb"
22623
22623
  }
22624
22624
  ],
@@ -22750,7 +22750,7 @@
22750
22750
  },
22751
22751
  "privacy": "public",
22752
22752
  "default": "'on'",
22753
- "description": "开关的值,将于表单数据一起提交",
22753
+ "description": "开关的值,将与表单数据一起提交",
22754
22754
  "attribute": "value",
22755
22755
  "reflects": true
22756
22756
  },
@@ -23220,7 +23220,7 @@
23220
23220
  "text": "string"
23221
23221
  },
23222
23222
  "default": "'on'",
23223
- "description": "开关的值,将于表单数据一起提交",
23223
+ "description": "开关的值,将与表单数据一起提交",
23224
23224
  "fieldName": "value"
23225
23225
  },
23226
23226
  {
@@ -26036,11 +26036,11 @@
26036
26036
  "name": "Tooltip",
26037
26037
  "cssProperties": [
26038
26038
  {
26039
- "description": "当 variant=\"plain\" 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
26039
+ "description": "当 variant=\"plain\" 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
26040
26040
  "name": "--shape-corner-plain"
26041
26041
  },
26042
26042
  {
26043
- "description": "当 variant=\"rich\" 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
26043
+ "description": "当 variant=\"rich\" 时,组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
26044
26044
  "name": "--shape-corner-rich"
26045
26045
  },
26046
26046
  {
@@ -26629,7 +26629,7 @@
26629
26629
  "name": "TopAppBar",
26630
26630
  "cssProperties": [
26631
26631
  {
26632
- "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/docs/2/styles/design-tokens#shape-corner)",
26632
+ "description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐引用[设计令牌](/zh-cn/docs/2/styles/design-tokens#shape-corner)",
26633
26633
  "name": "--shape-corner"
26634
26634
  },
26635
26635
  {
@@ -26815,7 +26815,7 @@
26815
26815
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
26816
26816
  },
26817
26817
  "privacy": "public",
26818
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
26818
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
26819
26819
  "attribute": "scroll-target",
26820
26820
  "inheritedFrom": {
26821
26821
  "name": "ScrollBehaviorMixin",
@@ -26829,7 +26829,7 @@
26829
26829
  "text": "number | undefined"
26830
26830
  },
26831
26831
  "privacy": "public",
26832
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
26832
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
26833
26833
  "attribute": "scroll-threshold",
26834
26834
  "reflects": true,
26835
26835
  "inheritedFrom": {
@@ -27087,7 +27087,7 @@
27087
27087
  "text": "number | undefined"
27088
27088
  },
27089
27089
  "privacy": "public",
27090
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
27090
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
27091
27091
  "attribute": "order",
27092
27092
  "reflects": true,
27093
27093
  "inheritedFrom": {
@@ -27189,7 +27189,7 @@
27189
27189
  "type": {
27190
27190
  "text": "string | HTMLElement | JQ<HTMLElement> | undefined"
27191
27191
  },
27192
- "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
27192
+ "description": "需要监听其滚动事件的元素。值可以是 CSS 选择器、DOM 元素、或 [JQ 对象](/zh-cn/docs/2/functions/jq)。默认监听 `window` 的滚动事件",
27193
27193
  "fieldName": "scrollTarget",
27194
27194
  "inheritedFrom": {
27195
27195
  "name": "ScrollBehaviorMixin",
@@ -27201,7 +27201,7 @@
27201
27201
  "type": {
27202
27202
  "text": "number | undefined"
27203
27203
  },
27204
- "description": "在滚动多少距离之后触发滚动行为,单位为 `px`",
27204
+ "description": "触发滚动行为所需的滚动距离,单位为 `px`",
27205
27205
  "fieldName": "scrollThreshold",
27206
27206
  "inheritedFrom": {
27207
27207
  "name": "ScrollBehaviorMixin",
@@ -27213,7 +27213,7 @@
27213
27213
  "type": {
27214
27214
  "text": "number | undefined"
27215
27215
  },
27216
- "description": "该组件在 [`<mdui-layout>`](/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
27216
+ "description": "该组件在 [`<mdui-layout>`](/zh-cn/docs/2/components/layout) 中的布局顺序,按从小到大排序。默认为 `0`",
27217
27217
  "fieldName": "order",
27218
27218
  "inheritedFrom": {
27219
27219
  "name": "LayoutItemBase",