@aegis-framework/pandora 0.5.0 → 0.6.1
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/README.md +1395 -755
- package/dist/pandora.browser.js +16 -15
- package/dist/pandora.browser.js.map +11 -9
- package/dist/pandora.js +16 -15
- package/dist/pandora.js.map +10 -8
- package/dist/types/Component.d.ts +795 -222
- package/dist/types/Component.d.ts.map +1 -1
- package/dist/types/Decorators.d.ts +378 -35
- package/dist/types/Decorators.d.ts.map +1 -1
- package/dist/types/Registry.d.ts +479 -105
- package/dist/types/Registry.d.ts.map +1 -1
- package/dist/types/ShadowComponent.d.ts +133 -23
- package/dist/types/ShadowComponent.d.ts.map +1 -1
- package/dist/types/Testing.d.ts +74 -0
- package/dist/types/Testing.d.ts.map +1 -0
- package/dist/types/TypedState.d.ts +51 -0
- package/dist/types/TypedState.d.ts.map +1 -0
- package/dist/types/Types.d.ts +92 -2
- package/dist/types/Types.d.ts.map +1 -1
- package/dist/types/Util.d.ts +134 -15
- package/dist/types/Util.d.ts.map +1 -1
- package/dist/types/browser.d.ts +14 -0
- package/dist/types/browser.d.ts.map +1 -1
- package/dist/types/index.d.ts +20 -8
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +9 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import Component from './Component';
|
|
2
|
+
import ShadowComponent from './ShadowComponent';
|
|
3
|
+
import Registry from './Registry';
|
|
4
|
+
import { Register, Subscribe, Attribute, Property, State, Computed, Watch, Query, QueryAll, Slot, Listen, Emitter, Style, ClassList } from './Decorators';
|
|
5
|
+
import { reactive, addDecoratorEffect, addTeardown } from './Util';
|
|
6
|
+
import { createState } from './TypedState';
|
|
7
|
+
import * as testing from './Testing';
|
|
8
|
+
import * as Util from './Util';
|
|
9
|
+
import * as Types from './Types';
|
|
10
|
+
import { html, svg, nothing, noChange, render } from 'lit-html';
|
|
11
|
+
export { Component, ShadowComponent, Registry };
|
|
12
|
+
export { Register, Subscribe, Attribute, Property, State, Computed, Watch, Query, QueryAll, Slot, Listen, Emitter, Style, ClassList };
|
|
13
|
+
export { reactive, addDecoratorEffect, addTeardown };
|
|
14
|
+
export { createState };
|
|
15
|
+
export type { TypedState } from './TypedState';
|
|
16
|
+
export { testing };
|
|
17
|
+
export { html, svg, nothing, noChange, render };
|
|
18
|
+
export type { TemplateResult, SVGTemplateResult, RenderOptions } from 'lit-html';
|
|
19
|
+
export { Util, Types };
|
|
20
|
+
export type { Style as StyleObject, CSSValue, CSSProperties, CSSObject, TemplateValue, TemplateFunction, ReactiveOptions, DecoratorInstance, DecoratorEffect, } from './Types';
|
|
9
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,SAAS,EACT,SAAS,EACT,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,EACL,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;AAGtI,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,OAAO,EAAE,CAAC;AAGnB,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AAChD,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGjF,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AAEvB,YAAY,EACV,KAAK,IAAI,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EACxD,aAAa,EAAE,gBAAgB,EAC/B,eAAe,EACf,iBAAiB,EAAE,eAAe,GACnC,MAAM,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aegis-framework/pandora",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Aegis Framework Web Components Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/pandora.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"default": "./dist/pandora.js"
|
|
14
14
|
},
|
|
15
15
|
"./browser": {
|
|
16
|
-
"types": "./dist/types/
|
|
16
|
+
"types": "./dist/types/browser.d.ts",
|
|
17
17
|
"import": "./dist/pandora.browser.js",
|
|
18
18
|
"default": "./dist/pandora.browser.js"
|
|
19
19
|
}
|
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
"check": "tsc --noEmit",
|
|
49
49
|
"lint": "eslint ./src/**/*.ts",
|
|
50
50
|
"clean": "rm -rf dist",
|
|
51
|
-
"test": "
|
|
51
|
+
"test": "cypress run --component",
|
|
52
|
+
"test:e2e": "cypress run --e2e",
|
|
53
|
+
"test:open": "cypress open"
|
|
52
54
|
},
|
|
53
55
|
"dependencies": {
|
|
54
56
|
"lit-html": "^3.0.0"
|
|
@@ -59,9 +61,11 @@
|
|
|
59
61
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
60
62
|
"@typescript-eslint/parser": "^8.48.1",
|
|
61
63
|
"bun": "^1.3.3",
|
|
64
|
+
"cypress": "^15.12.0",
|
|
62
65
|
"eslint": "^9.39.1",
|
|
63
66
|
"typescript": "^5.9.3",
|
|
64
|
-
"typescript-eslint": "^8.48.1"
|
|
67
|
+
"typescript-eslint": "^8.48.1",
|
|
68
|
+
"vite": "^6"
|
|
65
69
|
},
|
|
66
70
|
"files": [
|
|
67
71
|
"dist/",
|
|
@@ -70,5 +74,5 @@
|
|
|
70
74
|
"package.json"
|
|
71
75
|
],
|
|
72
76
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
|
73
|
-
"packageManager": "bun@
|
|
77
|
+
"packageManager": "bun@1.3.12"
|
|
74
78
|
}
|