dothtml 5.2.3 → 5.2.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.
- package/lib/arg-callback-obj.d.ts +29 -0
- package/lib/built-in-components/nav-link.d.ts +8 -0
- package/lib/built-in-components/router.d.ts +57 -0
- package/lib/component.d.ts +82 -0
- package/lib/dot-util.d.ts +26 -0
- package/lib/dot.d.ts +5 -0
- package/lib/dothtml.d.ts +27 -0
- package/lib/dothtml.js +2 -1
- package/lib/dothtml.js.LICENSE.txt +1 -0
- package/lib/dothtml.js.map +1 -0
- package/lib/err.d.ts +2 -0
- package/lib/event-bus.d.ts +10 -0
- package/lib/i-dot.d.ts +674 -0
- package/lib/node-polyfill.d.ts +2 -0
- package/lib/observable-array.d.ts +49 -0
- package/lib/styling/css-types.ts/css-angle.d.ts +7 -0
- package/lib/styling/css-types.ts/css-color.d.ts +9 -0
- package/lib/styling/css-types.ts/css-complex.d.ts +7 -0
- package/lib/styling/css-types.ts/css-data-type.d.ts +5 -0
- package/lib/styling/css-types.ts/css-filter.d.ts +22 -0
- package/lib/styling/css-types.ts/css-length.d.ts +7 -0
- package/lib/styling/css-types.ts/css-number.d.ts +6 -0
- package/lib/styling/css-types.ts/css-percentage.d.ts +5 -0
- package/lib/styling/css-types.ts/css-transform.d.ts +38 -0
- package/lib/styling/css-types.ts/css-unknown.d.ts +6 -0
- package/lib/styling/css-types.ts/css-url.d.ts +6 -0
- package/lib/styling/i-dotcss.d.ts +1085 -0
- package/lib/styling/style-builder.d.ts +24 -0
- package/lib/styling/unit-function-tables.d.ts +10 -0
- package/package.json +9 -8
- package/readme.md +11 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import IDotCss from "./i-dotcss";
|
|
2
|
+
declare const dotcss: IDotCss;
|
|
3
|
+
/**
|
|
4
|
+
* The dotcss builder gets extended with all of the css functions at runtime.
|
|
5
|
+
*/
|
|
6
|
+
export declare class _Builder {
|
|
7
|
+
currentCss: string;
|
|
8
|
+
targets: Array<HTMLElement>;
|
|
9
|
+
constructor(targets?: Array<HTMLElement>);
|
|
10
|
+
toString(): string;
|
|
11
|
+
hide(style?: {
|
|
12
|
+
duration: any;
|
|
13
|
+
hideStyle: any;
|
|
14
|
+
complete: any;
|
|
15
|
+
}): this;
|
|
16
|
+
show(style?: {
|
|
17
|
+
duration: any;
|
|
18
|
+
showStyle: any;
|
|
19
|
+
complete: any;
|
|
20
|
+
}): import("./i-dotcss").IDotcssProp | this;
|
|
21
|
+
fadeOut(duration: any, complete: any): this;
|
|
22
|
+
fadeIn(duration: any, complete: any): import("./i-dotcss").IDotcssProp | this;
|
|
23
|
+
}
|
|
24
|
+
export default dotcss;
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dothtml",
|
|
3
|
-
"version": "5.2.
|
|
4
|
-
"description": "DOThtml is a client-side framework
|
|
3
|
+
"version": "5.2.5",
|
|
4
|
+
"description": "DOThtml is a client-side web building framework written in TypeScript.",
|
|
5
5
|
"main": "lib/dothtml.js",
|
|
6
|
-
"
|
|
6
|
+
"typings": "lib/dothtml.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "npm run build & jest",
|
|
9
|
+
"build": "webpack"
|
|
10
|
+
},
|
|
11
|
+
"files": ["lib/**/*"],
|
|
7
12
|
"devDependencies": {
|
|
8
13
|
"@babel/preset-env": "^7.14.5",
|
|
9
14
|
"@testing-library/jest-dom": "^5.13.0",
|
|
@@ -16,13 +21,9 @@
|
|
|
16
21
|
"webpack": "^5.49.0",
|
|
17
22
|
"webpack-cli": "^4.9.2"
|
|
18
23
|
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"test": "npm run build & jest",
|
|
21
|
-
"build": "webpack"
|
|
22
|
-
},
|
|
23
24
|
"repository": {
|
|
24
25
|
"type": "git",
|
|
25
|
-
"url": "
|
|
26
|
+
"url": "https://github.com/JSideris/DOThtml.git"
|
|
26
27
|
},
|
|
27
28
|
"keywords": [
|
|
28
29
|
"html",
|
package/readme.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
[https://dothtml.org/](https://dothtml.org/) for documentation.
|
|
1
|
+
[https://dothtml.org/](https://dothtml.org/) for documentation (currently somewhat out of date since DOTcss was merged in and library was ported to TypeScript and put on NPM).
|
|
2
|
+
|
|
3
|
+
# Project Status
|
|
2
4
|
|
|
3
5
|
This project is a work in progress with several phases:
|
|
4
6
|
|
|
@@ -10,3 +12,11 @@ This project is a work in progress with several phases:
|
|
|
10
12
|
6. Take over the world. 🔲
|
|
11
13
|
|
|
12
14
|
Special thanks to [dosy](https://www.npmjs.com/~dosy) for giving me the module on NPM. Please check out ViewFinderJs - [a remote isolated browser with co-browsing](https://github.com/i5ik/ViewFinderJS).
|
|
15
|
+
|
|
16
|
+
# Current Known Limitations
|
|
17
|
+
|
|
18
|
+
- 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
|
+
- Animations kind of broke when merging DOTcss in, and don't support the increased complexity which is now allowed.
|
|
20
|
+
- All length properties take a single value. Two and four argument lengths (for things like margin) are not yet supported.
|
|
21
|
+
- 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.
|
|
22
|
+
- Support for header elements (including stylesheets) is planned.
|