@inglorious/web 2.2.3 → 2.3.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/README.md CHANGED
@@ -688,6 +688,8 @@ import {
688
688
  createStore,
689
689
  createDevtools,
690
690
  createSelector,
691
+ // from @inglorious/store/test
692
+ trigger,
691
693
  // from lit-html
692
694
  mount,
693
695
  html,
@@ -699,6 +701,7 @@ import {
699
701
  ref,
700
702
  repeat,
701
703
  styleMap,
704
+ unsafeHTML,
702
705
  when,
703
706
  // router stuff
704
707
  router,
@@ -771,6 +774,19 @@ You can even mix them in the same app!
771
774
 
772
775
  ---
773
776
 
777
+ ## Examples
778
+
779
+ Check out these demos to see `@inglorious/web` in action:
780
+
781
+ - **[Web TodoMVC](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-todomvc)** - A client-only TodoMVC implementation, a good starting point for learning the framework.
782
+ - **[Web TodoMVC-CS](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-todomvc-cs)** - A client-server version with JSON server, showing async event handlers and API integration with component organization (render/handlers modules).
783
+ - **[Web Form](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-form)** - Form handling with validation, arrays, and field helpers.
784
+ - **[Web List](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-list)** - Virtualized list with `renderItem` helper for efficient rendering of large datasets.
785
+ - **[Web Table](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-table)** - Table component with complex data display patterns.
786
+ - **[Web Router](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-router)** - Entity-based client-side routing with hash navigation.
787
+
788
+ ---
789
+
774
790
  ## License
775
791
 
776
792
  **MIT License - Free and open source**
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@inglorious/web",
3
- "version": "2.2.3",
3
+ "version": "2.3.0",
4
4
  "description": "A new web framework that leverages the power of the Inglorious Store combined with the performance and simplicity of lit-html.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/IngloriousCoderz/inglorious-engine.git",
9
+ "url": "git+https://github.com/IngloriousCoderz/inglorious-forge.git",
10
10
  "directory": "packages/web"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/IngloriousCoderz/inglorious-engine/issues"
13
+ "url": "https://github.com/IngloriousCoderz/inglorious-forge/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "lit-html",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "lit-html": "^3.3.1",
41
- "@inglorious/utils": "3.7.0",
42
- "@inglorious/store": "7.1.2"
41
+ "@inglorious/store": "7.1.3",
42
+ "@inglorious/utils": "3.7.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "prettier": "^3.6.2",
package/src/index.js CHANGED
@@ -6,10 +6,12 @@ export { table } from "./table.js"
6
6
  export { createStore } from "@inglorious/store"
7
7
  export { createDevtools } from "@inglorious/store/client/devtools.js"
8
8
  export { createSelector } from "@inglorious/store/select.js"
9
+ export { trigger } from "@inglorious/store/test"
9
10
  export { html, render, svg } from "lit-html"
10
11
  export { choose } from "lit-html/directives/choose.js"
11
12
  export { classMap } from "lit-html/directives/class-map.js"
12
13
  export { ref } from "lit-html/directives/ref.js"
13
14
  export { repeat } from "lit-html/directives/repeat.js"
14
15
  export { styleMap } from "lit-html/directives/style-map.js"
16
+ export { unsafeHTML } from "lit-html/directives/unsafe-html.js"
15
17
  export { when } from "lit-html/directives/when.js"