mdui 2.1.2 → 2.1.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.
- package/components/bottom-app-bar/style.js +1 -1
- package/components/button/style.js +2 -2
- package/components/button-icon/style.js +2 -2
- package/components/card/style.js +1 -1
- package/components/checkbox/style.js +1 -1
- package/components/chip/style.js +2 -2
- package/components/dialog/style.js +1 -1
- package/components/divider/style.js +1 -1
- package/components/dropdown/index.js +9 -4
- package/components/fab/style.js +1 -1
- package/components/layout/layout-style.js +1 -1
- package/components/list/list-item-style.js +2 -2
- package/components/menu/menu-item-style.js +1 -1
- package/components/navigation-bar/navigation-bar-style.js +1 -1
- package/components/navigation-drawer/index.d.ts +1 -0
- package/components/navigation-drawer/index.js +17 -11
- package/components/navigation-drawer/style.js +1 -1
- package/components/navigation-rail/navigation-rail-style.js +1 -1
- package/components/radio/radio-style.js +1 -1
- package/components/segmented-button/segmented-button-group-style.js +1 -1
- package/components/segmented-button/segmented-button-style.js +1 -1
- package/components/select/index.d.ts +0 -2
- package/components/select/index.js +3 -4
- package/components/slider/slider-base-style.js +1 -1
- package/components/snackbar/index.d.ts +12 -0
- package/components/snackbar/index.js +105 -46
- package/components/snackbar/style.js +1 -1
- package/components/switch/style.js +1 -1
- package/components/tabs/tab-style.js +1 -1
- package/components/tabs/tabs-style.js +1 -1
- package/components/tabs/tabs.d.ts +2 -2
- package/components/tabs/tabs.js +6 -4
- package/components/text-field/index.d.ts +5 -7
- package/components/text-field/index.js +30 -30
- package/components/text-field/style.js +1 -1
- package/components/tooltip/index.js +6 -4
- package/components/top-app-bar/top-app-bar-style.js +1 -1
- package/components/top-app-bar/top-app-bar.js +1 -1
- package/custom-elements.json +173 -86
- package/functions/alert.js +5 -3
- package/functions/confirm.js +5 -3
- package/functions/dialog.js +8 -3
- package/functions/prompt.js +5 -3
- package/functions/snackbar.js +8 -2
- package/html-data.en.json +1 -11
- package/html-data.zh-cn.json +1 -11
- package/jsx.en.d.ts +2 -5
- package/jsx.zh-cn.d.ts +2 -5
- package/mdui.esm.js +8 -8
- package/mdui.global.js +8 -8
- package/package.json +2 -3
- package/web-types.en.json +5 -11
- package/web-types.zh-cn.json +5 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "实现 material you 设计规范的 Web Components 组件库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "mdui.js",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://www.mdui.org",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@lit-labs/motion": "^1.0.7",
|
|
53
52
|
"@lit/localize": "^0.12.1",
|
|
54
53
|
"@lit/reactive-element": "^2.0.4",
|
|
55
54
|
"@material/material-color-utilities": "^0.3.0",
|
|
@@ -59,7 +58,7 @@
|
|
|
59
58
|
"lit": "^3.1.4",
|
|
60
59
|
"ssr-window": "^4.0.2",
|
|
61
60
|
"tslib": "^2.6.3",
|
|
62
|
-
"@mdui/shared": "^1.0.
|
|
61
|
+
"@mdui/shared": "^1.0.7",
|
|
63
62
|
"@mdui/jq": "^3.0.2"
|
|
64
63
|
}
|
|
65
64
|
}
|
package/web-types.en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "mdui",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.3",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework-config": {
|
|
@@ -9517,12 +9517,9 @@
|
|
|
9517
9517
|
},
|
|
9518
9518
|
{
|
|
9519
9519
|
"name": "autocomplete",
|
|
9520
|
-
"description": "
|
|
9520
|
+
"description": "The `autocomplete` attribute of the `input` element.",
|
|
9521
9521
|
"value": {
|
|
9522
|
-
"type":
|
|
9523
|
-
"'off'",
|
|
9524
|
-
"'on'"
|
|
9525
|
-
]
|
|
9522
|
+
"type": "string"
|
|
9526
9523
|
},
|
|
9527
9524
|
"doc-url": "https://www.mdui.org/en/docs/2/components/text-field#attributes-autocomplete"
|
|
9528
9525
|
},
|
|
@@ -9965,12 +9962,9 @@
|
|
|
9965
9962
|
},
|
|
9966
9963
|
{
|
|
9967
9964
|
"name": "autocomplete",
|
|
9968
|
-
"description": "
|
|
9965
|
+
"description": "The `autocomplete` attribute of the `input` element.",
|
|
9969
9966
|
"value": {
|
|
9970
|
-
"type":
|
|
9971
|
-
"'off'",
|
|
9972
|
-
"'on'"
|
|
9973
|
-
]
|
|
9967
|
+
"type": "string"
|
|
9974
9968
|
},
|
|
9975
9969
|
"doc-url": "https://www.mdui.org/en/docs/2/components/text-field#attributes-autocomplete"
|
|
9976
9970
|
},
|
package/web-types.zh-cn.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "mdui",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.3",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework-config": {
|
|
@@ -9517,12 +9517,9 @@
|
|
|
9517
9517
|
},
|
|
9518
9518
|
{
|
|
9519
9519
|
"name": "autocomplete",
|
|
9520
|
-
"description": "
|
|
9520
|
+
"description": "`input` 元素的 `autocomplete` 属性",
|
|
9521
9521
|
"value": {
|
|
9522
|
-
"type":
|
|
9523
|
-
"'off'",
|
|
9524
|
-
"'on'"
|
|
9525
|
-
]
|
|
9522
|
+
"type": "string"
|
|
9526
9523
|
},
|
|
9527
9524
|
"doc-url": "https://www.mdui.org/zh-cn/docs/2/components/text-field#attributes-autocomplete"
|
|
9528
9525
|
},
|
|
@@ -9965,12 +9962,9 @@
|
|
|
9965
9962
|
},
|
|
9966
9963
|
{
|
|
9967
9964
|
"name": "autocomplete",
|
|
9968
|
-
"description": "
|
|
9965
|
+
"description": "`input` 元素的 `autocomplete` 属性",
|
|
9969
9966
|
"value": {
|
|
9970
|
-
"type":
|
|
9971
|
-
"'off'",
|
|
9972
|
-
"'on'"
|
|
9973
|
-
]
|
|
9967
|
+
"type": "string"
|
|
9974
9968
|
},
|
|
9975
9969
|
"doc-url": "https://www.mdui.org/zh-cn/docs/2/components/text-field#attributes-autocomplete"
|
|
9976
9970
|
},
|