@tempots/dom 37.1.0 → 37.2.0
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/package.json +3 -3
- package/renderable/attribute.d.ts +2 -1
- package/types/domain.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempots/dom",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./index.cjs",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@tempots/core": "^3.
|
|
19
|
-
"@tempots/render": "^0.0.
|
|
18
|
+
"@tempots/core": "^3.2.0",
|
|
19
|
+
"@tempots/render": "^0.0.6"
|
|
20
20
|
},
|
|
21
21
|
"description": "Fully-typed frontend framework alternative to React and Angular",
|
|
22
22
|
"keywords": [
|
|
@@ -204,7 +204,7 @@ export declare const attr: {
|
|
|
204
204
|
* ```
|
|
205
205
|
* @public
|
|
206
206
|
*/
|
|
207
|
-
export declare const DataAttr: (name: string, value:
|
|
207
|
+
export declare const DataAttr: (name: string, value: Value<string>) => Renderable;
|
|
208
208
|
/**
|
|
209
209
|
* Creates a renderable for a `data-` attribute with the specified name and value.
|
|
210
210
|
*
|
|
@@ -218,6 +218,7 @@ export declare const DataAttr: (name: string, value: unknown) => Renderable;
|
|
|
218
218
|
* )
|
|
219
219
|
* ```
|
|
220
220
|
* @public
|
|
221
|
+
* @deprecated
|
|
221
222
|
*/
|
|
222
223
|
export declare const dataAttr: (name: string, value: Value<string>) => Renderable;
|
|
223
224
|
/**
|
package/types/domain.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare const domRenderable: <CTX extends DOMContext = DOMContext>(render
|
|
|
127
127
|
* @typeParam CTX - The type of DOMContext (defaults to DOMContext)
|
|
128
128
|
* @public
|
|
129
129
|
*/
|
|
130
|
-
export type TNode<CTX extends DOMContext = DOMContext> = Renderable<CTX> | string | number | boolean | Signal<string> | Signal<number> | Signal<boolean> | undefined | null | Renderable<CTX>[];
|
|
130
|
+
export type TNode<CTX extends DOMContext = DOMContext> = Renderable<CTX> | string | number | boolean | Signal<string> | Signal<number> | Signal<boolean> | Signal<string | Nil> | Signal<number | Nil> | Signal<boolean | Nil> | undefined | null | Renderable<CTX>[];
|
|
131
131
|
export type { Providers } from '@tempots/render';
|
|
132
132
|
/**
|
|
133
133
|
* Represents the size of an object with width and height.
|