dothtml 5.2.5 → 5.2.7
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/lib/dothtml.js +1 -1
- package/lib/dothtml.js.map +1 -1
- package/package.json +3 -2
- package/readme.md +4 -0
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dothtml",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.7",
|
|
4
4
|
"description": "DOThtml is a client-side web building framework written in TypeScript.",
|
|
5
|
-
"main": "lib/dothtml.js",
|
|
5
|
+
"main": "./lib/dothtml.js",
|
|
6
|
+
"exports": "./lib/index.js",
|
|
6
7
|
"typings": "lib/dothtml.d.ts",
|
|
7
8
|
"scripts": {
|
|
8
9
|
"test": "npm run build & jest",
|
package/readme.md
CHANGED
|
@@ -15,8 +15,12 @@ Special thanks to [dosy](https://www.npmjs.com/~dosy) for giving me the module o
|
|
|
15
15
|
|
|
16
16
|
# Current Known Limitations
|
|
17
17
|
|
|
18
|
+
## CSS
|
|
19
|
+
The Style builder is powerful and useful, but still not fully developed. Consider importing stylesheets separately if affected by any of the below limitations.
|
|
18
20
|
- Pseudo selectors like :hover aren't supported by the style builder since there's no straightforward way to set them in JavaScript in a neat way that supports component isolation.
|
|
19
21
|
- Animations kind of broke when merging DOTcss in, and don't support the increased complexity which is now allowed.
|
|
20
22
|
- All length properties take a single value. Two and four argument lengths (for things like margin) are not yet supported.
|
|
21
23
|
- A lot of CSS properties don't enforce proper typing and will allow any string. This is a WIP and will naturally get better over time.
|
|
24
|
+
- CSS @ rules like @keyframes, @media, @font-face, etc are currently not supported because they are currently not configurable in JavaScript. A workaround that generates dynamic CSS is planned.
|
|
25
|
+
|
|
22
26
|
- Support for header elements (including stylesheets) is planned.
|