@ecopages/radiant 0.1.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/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/context/context-provider.d.ts +79 -0
- package/dist/context/context-provider.js +5 -0
- package/dist/context/context-provider.js.map +10 -0
- package/dist/context/create-context.d.ts +6 -0
- package/dist/context/create-context.js +5 -0
- package/dist/context/create-context.js.map +10 -0
- package/dist/context/decorators/consume-context.d.ts +8 -0
- package/dist/context/decorators/consume-context.js +5 -0
- package/dist/context/decorators/consume-context.js.map +10 -0
- package/dist/context/decorators/context-selector.d.ts +16 -0
- package/dist/context/decorators/context-selector.js +5 -0
- package/dist/context/decorators/context-selector.js.map +10 -0
- package/dist/context/decorators/provide-context.d.ts +15 -0
- package/dist/context/decorators/provide-context.js +5 -0
- package/dist/context/decorators/provide-context.js.map +10 -0
- package/dist/context/events.d.ts +82 -0
- package/dist/context/events.js +5 -0
- package/dist/context/events.js.map +10 -0
- package/dist/context/index.d.ts +7 -0
- package/dist/context/index.js +4 -0
- package/dist/context/index.js.map +9 -0
- package/dist/context/types.d.ts +23 -0
- package/dist/context/types.js +3 -0
- package/dist/context/types.js.map +9 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +4 -0
- package/dist/core/index.js.map +9 -0
- package/dist/core/radiant-element.d.ts +81 -0
- package/dist/core/radiant-element.js +5 -0
- package/dist/core/radiant-element.js.map +10 -0
- package/dist/decorators/custom-element.d.ts +5 -0
- package/dist/decorators/custom-element.js +5 -0
- package/dist/decorators/custom-element.js.map +10 -0
- package/dist/decorators/event.d.ts +22 -0
- package/dist/decorators/event.js +5 -0
- package/dist/decorators/event.js.map +10 -0
- package/dist/decorators/on-event.d.ts +22 -0
- package/dist/decorators/on-event.js +5 -0
- package/dist/decorators/on-event.js.map +10 -0
- package/dist/decorators/on-updated.d.ts +6 -0
- package/dist/decorators/on-updated.js +5 -0
- package/dist/decorators/on-updated.js.map +10 -0
- package/dist/decorators/query.d.ts +29 -0
- package/dist/decorators/query.js +5 -0
- package/dist/decorators/query.js.map +10 -0
- package/dist/decorators/reactive-field.d.ts +10 -0
- package/dist/decorators/reactive-field.js +5 -0
- package/dist/decorators/reactive-field.js.map +10 -0
- package/dist/decorators/reactive-prop.d.ts +17 -0
- package/dist/decorators/reactive-prop.js +5 -0
- package/dist/decorators/reactive-prop.js.map +10 -0
- package/dist/decorators.d.ts +7 -0
- package/dist/decorators.js +4 -0
- package/dist/decorators.js.map +9 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +9 -0
- package/dist/mixins/index.d.ts +1 -0
- package/dist/mixins/index.js +4 -0
- package/dist/mixins/index.js.map +9 -0
- package/dist/mixins/with-kita.d.ts +15 -0
- package/dist/mixins/with-kita.js +5 -0
- package/dist/mixins/with-kita.js.map +10 -0
- package/dist/tools/event-emitter.d.ts +29 -0
- package/dist/tools/event-emitter.js +5 -0
- package/dist/tools/event-emitter.js.map +10 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +9 -0
- package/dist/tools/stringify-attribute.d.ts +11 -0
- package/dist/tools/stringify-attribute.js +5 -0
- package/dist/tools/stringify-attribute.js.map +10 -0
- package/dist/utils/attribute-utils.d.ts +40 -0
- package/dist/utils/attribute-utils.js +5 -0
- package/dist/utils/attribute-utils.js.map +10 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/index.js.map +9 -0
- package/package.json +128 -0
package/package.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ecopages/radiant",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/ecopages/radiant.git"
|
|
7
|
+
},
|
|
8
|
+
"author": "Andrea Zanenghi",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"module": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build:lib": "bun run clean && bun run build:files && bun run build:types",
|
|
16
|
+
"build:files": "bun run ./build.ts",
|
|
17
|
+
"build:types": "tsc -p tsconfig.build.json && tsc-alias",
|
|
18
|
+
"clean": "rm -rf ./dist",
|
|
19
|
+
"test:lib": "bun test --coverage"
|
|
20
|
+
},
|
|
21
|
+
"exports": {
|
|
22
|
+
"./package.json": {
|
|
23
|
+
"import": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./context": {
|
|
30
|
+
"types": "./dist/context/index.d.ts",
|
|
31
|
+
"import": "./dist/context/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./core": {
|
|
34
|
+
"types": "./dist/core/index.d.ts",
|
|
35
|
+
"import": "./dist/core/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./decorators": {
|
|
38
|
+
"types": "./dist/decorators.d.ts",
|
|
39
|
+
"import": "./dist/decorators.js"
|
|
40
|
+
},
|
|
41
|
+
"./mixins": {
|
|
42
|
+
"types": "./dist/mixins/index.d.ts",
|
|
43
|
+
"import": "./dist/mixins/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./tools": {
|
|
46
|
+
"types": "./dist/tools/index.d.ts",
|
|
47
|
+
"import": "./dist/tools/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./utils": {
|
|
50
|
+
"types": "./dist/utils/index.d.ts",
|
|
51
|
+
"import": "./dist/utils/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./context/create-context": {
|
|
54
|
+
"types": "./dist/context/create-context.d.ts",
|
|
55
|
+
"import": "./dist/context/create-context.js"
|
|
56
|
+
},
|
|
57
|
+
"./context/context-provider": {
|
|
58
|
+
"types": "./dist/context/context-provider.d.ts",
|
|
59
|
+
"import": "./dist/context/context-provider.js"
|
|
60
|
+
},
|
|
61
|
+
"./context/consume-context": {
|
|
62
|
+
"types": "./dist/context/decorators/consume-context.d.ts",
|
|
63
|
+
"import": "./dist/context/decorators/consume-context.js"
|
|
64
|
+
},
|
|
65
|
+
"./context/provide-context": {
|
|
66
|
+
"types": "./dist/context/decorators/provide-context.d.ts",
|
|
67
|
+
"import": "./dist/context/decorators/provide-context.js"
|
|
68
|
+
},
|
|
69
|
+
"./context/context-selector": {
|
|
70
|
+
"types": "./dist/context/decorators/context-selector.d.ts",
|
|
71
|
+
"import": "./dist/context/decorators/context-selector.js"
|
|
72
|
+
},
|
|
73
|
+
"./core/radiant-element": {
|
|
74
|
+
"types": "./dist/core/radiant-element.d.ts",
|
|
75
|
+
"import": "./dist/core/radiant-element.js"
|
|
76
|
+
},
|
|
77
|
+
"./decorators/custom-element": {
|
|
78
|
+
"types": "./dist/decorators/custom-element.d.ts",
|
|
79
|
+
"import": "./dist/decorators/custom-element.js"
|
|
80
|
+
},
|
|
81
|
+
"./decorators/event": {
|
|
82
|
+
"types": "./dist/decorators/event.d.ts",
|
|
83
|
+
"import": "./dist/decorators/event.js"
|
|
84
|
+
},
|
|
85
|
+
"./decorators/on-event": {
|
|
86
|
+
"types": "./dist/decorators/on-event.d.ts",
|
|
87
|
+
"import": "./dist/decorators/on-event.js"
|
|
88
|
+
},
|
|
89
|
+
"./decorators/on-updated": {
|
|
90
|
+
"types": "./dist/decorators/on-updated.d.ts",
|
|
91
|
+
"import": "./dist/decorators/on-updated.js"
|
|
92
|
+
},
|
|
93
|
+
"./decorators/query": {
|
|
94
|
+
"types": "./dist/decorators/query.d.ts",
|
|
95
|
+
"import": "./dist/decorators/query.js"
|
|
96
|
+
},
|
|
97
|
+
"./decorators/reactive-field": {
|
|
98
|
+
"types": "./dist/decorators/reactive-field.d.ts",
|
|
99
|
+
"import": "./dist/decorators/reactive-field.js"
|
|
100
|
+
},
|
|
101
|
+
"./decorators/reactive-prop": {
|
|
102
|
+
"types": "./dist/decorators/reactive-prop.d.ts",
|
|
103
|
+
"import": "./dist/decorators/reactive-prop.js"
|
|
104
|
+
},
|
|
105
|
+
"./mixins/with-kita": {
|
|
106
|
+
"types": "./dist/mixins/with-kita.d.ts",
|
|
107
|
+
"import": "./dist/mixins/with-kita.js"
|
|
108
|
+
},
|
|
109
|
+
"./tools/stringify-attribute": {
|
|
110
|
+
"types": "./dist/tools/stringify-attribute.d.ts",
|
|
111
|
+
"import": "./dist/tools/stringify-attribute.js"
|
|
112
|
+
},
|
|
113
|
+
"./tools/event-emitter": {
|
|
114
|
+
"types": "./dist/tools/event-emitter.d.ts",
|
|
115
|
+
"import": "./dist/tools/event-emitter.js"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"dependencies": {
|
|
119
|
+
"@kitajs/html": "^4.1.0",
|
|
120
|
+
"@kitajs/ts-html-plugin": "^4.0.1"
|
|
121
|
+
},
|
|
122
|
+
"devDependencies": {
|
|
123
|
+
"@happy-dom/global-registrator": "^14.11.0",
|
|
124
|
+
"bun-types": "latest",
|
|
125
|
+
"tsc-alias": "1.8.10"
|
|
126
|
+
},
|
|
127
|
+
"files": ["/dist/*"]
|
|
128
|
+
}
|