@esportsplus/template 0.15.8 → 0.15.10
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/build/types.d.ts +3 -2
- package/package.json +3 -3
- package/src/types.ts +4 -2
package/build/types.d.ts
CHANGED
|
@@ -4,9 +4,10 @@ import { firstChild } from './utilities.js';
|
|
|
4
4
|
import attributes from './attributes.js';
|
|
5
5
|
import event from './event.js';
|
|
6
6
|
import slot from './slot.js';
|
|
7
|
+
type Attribute = Primitive | Effect<Primitive | Primitive[]>;
|
|
7
8
|
type Attributes = {
|
|
8
|
-
class?:
|
|
9
|
-
style?:
|
|
9
|
+
class?: Attribute | Attribute[];
|
|
10
|
+
style?: Attribute | Attribute[];
|
|
10
11
|
} & {
|
|
11
12
|
[K in keyof GlobalEventHandlersEventMap as `on${string & K}`]?: (this: Element, event: GlobalEventHandlersEventMap[K]) => void;
|
|
12
13
|
} & {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "ICJR",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@esportsplus/reactivity": "^0.
|
|
4
|
+
"@esportsplus/reactivity": "^0.11.5",
|
|
5
5
|
"@esportsplus/tasks": "^0.1.11",
|
|
6
|
-
"@esportsplus/utilities": "^0.21.
|
|
6
|
+
"@esportsplus/utilities": "^0.21.1"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@esportsplus/typescript": "^0.9.2"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"private": false,
|
|
14
14
|
"type": "module",
|
|
15
15
|
"types": "./build/index.d.ts",
|
|
16
|
-
"version": "0.15.
|
|
16
|
+
"version": "0.15.10",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "tsc && tsc-alias",
|
|
19
19
|
"-": "-"
|
package/src/types.ts
CHANGED
|
@@ -6,9 +6,11 @@ import event from './event';
|
|
|
6
6
|
import slot from './slot';
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
type Attribute = Primitive | Effect<Primitive | Primitive[]>;
|
|
10
|
+
|
|
9
11
|
type Attributes = {
|
|
10
|
-
class?:
|
|
11
|
-
style?:
|
|
12
|
+
class?: Attribute | Attribute[];
|
|
13
|
+
style?: Attribute | Attribute[];
|
|
12
14
|
} & {
|
|
13
15
|
[K in keyof GlobalEventHandlersEventMap as `on${string & K}`]?: (this: Element, event: GlobalEventHandlersEventMap[K]) => void;
|
|
14
16
|
} & {
|