@shortfuse/materialdesignweb 0.10.2 → 0.10.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/README.md +29 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -41,6 +41,35 @@ Single component:
|
|
|
41
41
|
import Button from '@shortfuse/materialdesignweb/components/Button.js';
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
## Support
|
|
45
|
+
|
|
46
|
+
Compatibility is kept for as long possible by including browser-version-based patches. Ultimately, compatiblity may be dropped as new features get added. Bugs present in supported browsers should always be fixed.
|
|
47
|
+
|
|
48
|
+
| Feature | Chrome | Edge | Firefox | Safari |
|
|
49
|
+
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
50
|
+
| [ShadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot) | 53 | 79 | 63 | 10 |
|
|
51
|
+
| [WeakRef](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef) | 84 | 84 | 79 | 14.1 |
|
|
52
|
+
| [:where()](https://developer.mozilla.org/en-US/docs/Web/CSS/:where) | 88 | 88 | 78 | 14 |
|
|
53
|
+
| | | | | |
|
|
54
|
+
| [Array.at](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at)† | 92 | 92 | 90 | 15.4 |
|
|
55
|
+
| [replaceChildren](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)† | 84 | 86 | 79 | 14.1 |
|
|
56
|
+
| [ElementInternals](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals)† | 77 | 79 | 93 | 16.4 |
|
|
57
|
+
| [delegatesFocus](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus)† | 53 | 79 | 94 | 15 |
|
|
58
|
+
| [AdoptedStyleSheets](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets)* | 73 | 79 | 101 | 16.4 |
|
|
59
|
+
| [CSS container queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_container_queries)* | 106 | 106 | 110 | 16.0 |
|
|
60
|
+
| |
|
|
61
|
+
| Compatibility | 88 | 88 | 78 | 16.4 |
|
|
62
|
+
| Support | [Latest ChromeOS LTS Release](https://chromeos.dev/en/education/chromeos-lts) | [Microsoft Edge Extended Stable Channel](https://learn.microsoft.com/en-us/DeployEdge/microsoft-edge-channels#extended-stable-channel) | ESR 115 | Last 2 Versions |
|
|
63
|
+
| Status | [](https://github.com/clshortfuse/materialdesignweb/actions/workflows/test-chromium.yml) | [](https://github.com/clshortfuse/materialdesignweb/actions/workflows/test-chromium.yml) | [](https://github.com/clshortfuse/materialdesignweb/actions/workflows/test-firefox.yml) | [](https://github.com/clshortfuse/materialdesignweb/actions/workflows/test-webkit.yml) |
|
|
64
|
+
|
|
65
|
+
*Optional
|
|
66
|
+
|
|
67
|
+
†Can be polyfilled
|
|
68
|
+
|
|
69
|
+
Notes:
|
|
70
|
+
|
|
71
|
+
* Compatibility may be extended via polyfills (not included)
|
|
72
|
+
|
|
44
73
|
## Documentation
|
|
45
74
|
|
|
46
75
|
Material Design Web (MDW) is components-first. If you just want to build UI, start with the component docs and use HTML only — no JavaScript required.
|
package/package.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"bin": {
|
|
4
4
|
"mdw-css": "./bin/mdw-css.js"
|
|
5
5
|
},
|
|
6
|
-
"browser": "dist/index.min.js",
|
|
6
|
+
"browser": "./dist/index.min.js",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/clshortfuse/materialdesignweb/issues"
|
|
9
9
|
},
|
|
10
|
-
"customElements": "api/custom-elements.json",
|
|
10
|
+
"customElements": "./api/custom-elements.json",
|
|
11
11
|
"description": "Material Design for Web",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@babel/preset-env": "^7.26.9",
|
|
14
14
|
"@esm-bundle/chai": "^4.3.4-fix.0",
|
|
15
15
|
"@playwright/test": "^1.50.1",
|
|
16
|
-
"@pwrs/cem": "^0.
|
|
16
|
+
"@pwrs/cem": "^0.9.0",
|
|
17
17
|
"@rollup/plugin-babel": "^6.0.4",
|
|
18
18
|
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
19
19
|
"@rollup/plugin-terser": "^0.4.4",
|
|
@@ -96,18 +96,18 @@
|
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"files": [
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
99
|
+
"./api/*",
|
|
100
|
+
"./bin/*",
|
|
101
|
+
"./dist/*",
|
|
102
|
+
"./constants/*",
|
|
103
|
+
"./components/*",
|
|
104
|
+
"./core/*",
|
|
105
|
+
"./dom/*",
|
|
106
|
+
"./loaders/*",
|
|
107
|
+
"./mixins/*",
|
|
108
|
+
"./services/*",
|
|
109
|
+
"./types/*",
|
|
110
|
+
"./utils/*"
|
|
111
111
|
],
|
|
112
112
|
"homepage": "https://github.com/clshortfuse/materialdesignweb#readme",
|
|
113
113
|
"keywords": [
|
|
@@ -188,9 +188,9 @@
|
|
|
188
188
|
"typesVersions": {
|
|
189
189
|
"*": {
|
|
190
190
|
"*": [
|
|
191
|
-
"types/*"
|
|
191
|
+
"./types/*"
|
|
192
192
|
]
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
|
-
"version": "0.10.
|
|
195
|
+
"version": "0.10.3"
|
|
196
196
|
}
|