@inglorious/logo 3.0.2 → 3.0.3
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 +1 -1
- package/package.json +2 -2
- package/src/template.js +3 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Import the package and its stylesheet, and (optionally) the types for TypeScript
|
|
|
21
21
|
Then, register the `logo` type in your store, create an entity of that type, and use `api.render(entityId)` inside your templates (see the [`web-logo`](https://github.com/IngloriousCoderz/inglorious-forge/tree/main/examples/apps/web-logo) demo app).
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
|
-
import { createStore } from "@inglorious/
|
|
24
|
+
import { createStore } from "@inglorious/store"
|
|
25
25
|
import { logo } from "@inglorious/logo"
|
|
26
26
|
import "@inglorious/logo/style.css"
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/logo",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "The Inglorious Coderz logo, remade to be compatible with Inglorious Web.",
|
|
5
5
|
"author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"**/*.css"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@inglorious/web": "
|
|
47
|
+
"@inglorious/web": "6.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"prettier": "^3.6.2",
|
package/src/template.js
CHANGED
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* @property {boolean} [isScrollPrevented]
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { html
|
|
17
|
+
import { html } from "@inglorious/web"
|
|
18
|
+
import { styleMap } from "@inglorious/web/directives/style-map"
|
|
19
|
+
import { when } from "@inglorious/web/directives/when"
|
|
18
20
|
|
|
19
21
|
import eye from "./assets/eye.svg"
|
|
20
22
|
import * as faces from "./assets/faces/index.js"
|