@aegis-framework/pandora 0.5.0 → 0.6.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.
@@ -1,9 +1,12 @@
1
1
  export { default as Component } from './Component';
2
2
  export { default as ShadowComponent } from './ShadowComponent';
3
3
  export { default as Registry } from './Registry';
4
- export { Register, Consumer, Prop } from './Decorators';
4
+ export { Register, Subscribe, Attribute, Property, State, Computed, Watch, Query, QueryAll, Slot, Listen, Emitter, Style, ClassList } from './Decorators';
5
+ export { reactive, addDecoratorEffect, addTeardown } from './Util';
6
+ export { createState, type TypedState } from './TypedState';
7
+ export * as testing from './Testing';
5
8
  export { html, svg, nothing, noChange, render, type TemplateResult, type SVGTemplateResult, type RenderOptions } from 'lit-html';
6
9
  export * as Util from './Util';
7
10
  export * as Types from './Types';
8
- export type { Properties, Style, ReadyCallback, CSSValue, CSSProperties, CSSObject } from './Types';
11
+ export type { Style as StyleObject, CSSValue, CSSProperties, CSSObject, TemplateValue, TemplateFunction, ReactiveOptions, DecoratorInstance, DecoratorEffect, } from './Types';
9
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGjD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGxD,OAAO,EACL,IAAI,EACJ,GAAG,EACH,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACnB,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,IAAI,MAAM,QAA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@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aegis-framework/pandora",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
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/index.d.ts",
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": "bun test/index.html"
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/",