@htmlbricks/hb-banner 0.71.36 → 0.72.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 +1 -3
- package/manifest.json +2 -5
- package/package.json +2 -2
- package/types/webcomponent.type.d.json +0 -3
- package/types/webcomponent.type.d.ts +0 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
## Logic (implementation reference)
|
|
26
26
|
|
|
27
|
-
1. Props are read from the custom element API (`logouri`, `title`, `description`; plus `id`
|
|
27
|
+
1. Props are read from the custom element API (`logouri`, `title`, `description`; plus optional `id` per typings).
|
|
28
28
|
2. The same inner structure is duplicated: first block uses `is-hidden-touch`, second uses `is-hidden-desktop`, matching Bulma’s breakpoint helpers to the two layouts described above.
|
|
29
29
|
|
|
30
30
|
## Custom element tag
|
|
@@ -40,7 +40,6 @@ Web component attributes are **strings** (snake_case names). Logical optional fi
|
|
|
40
40
|
| Attribute | Role |
|
|
41
41
|
|-----------|------|
|
|
42
42
|
| `id` | Optional element id (per `Component` typings; standard host attribute). |
|
|
43
|
-
| `style` | Optional inline style on the host (per `Component` typings). |
|
|
44
43
|
| `title` | Main heading text. |
|
|
45
44
|
| `description` | Subtitle / supporting line under the heading. |
|
|
46
45
|
| `logouri` | URL of the logo image for `<img src>`. |
|
|
@@ -71,7 +70,6 @@ From `types/webcomponent.type.d.ts`:
|
|
|
71
70
|
```ts
|
|
72
71
|
export type Component = {
|
|
73
72
|
id?: string;
|
|
74
|
-
style?: string;
|
|
75
73
|
title?: string;
|
|
76
74
|
description?: string;
|
|
77
75
|
logouri?: string;
|
package/manifest.json
CHANGED
|
@@ -26,9 +26,6 @@
|
|
|
26
26
|
"logouri": {
|
|
27
27
|
"type": "string"
|
|
28
28
|
},
|
|
29
|
-
"style": {
|
|
30
|
-
"type": "string"
|
|
31
|
-
},
|
|
32
29
|
"title": {
|
|
33
30
|
"type": "string"
|
|
34
31
|
}
|
|
@@ -38,7 +35,7 @@
|
|
|
38
35
|
}
|
|
39
36
|
}
|
|
40
37
|
},
|
|
41
|
-
"description": "Marketing-style hero strip: logo image beside a title and subtitle, using
|
|
38
|
+
"description": "Marketing-style hero strip: logo image beside a title and subtitle, using Bulma layout (container, columns, visibility helpers). Layout switches from side-by-side on large screens to stacked, centered content on smaller breakpoints.",
|
|
42
39
|
"storybookArgs": {
|
|
43
40
|
"logouri": {
|
|
44
41
|
"control": {
|
|
@@ -137,5 +134,5 @@
|
|
|
137
134
|
"size": {},
|
|
138
135
|
"iifePath": "main.iife.js",
|
|
139
136
|
"repoName": "@htmlbricks/hb-banner",
|
|
140
|
-
"version": "0.
|
|
137
|
+
"version": "0.72.0"
|
|
141
138
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-banner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"contributors": [],
|
|
5
|
-
"description": "Marketing-style hero strip: logo image beside a title and subtitle, using
|
|
5
|
+
"description": "Marketing-style hero strip: logo image beside a title and subtitle, using Bulma layout (container, columns, visibility helpers). Layout switches from side-by-side on large screens to stacked, centered content on smaller breakpoints.",
|
|
6
6
|
"licenses": [
|
|
7
7
|
{
|
|
8
8
|
"type": "Apache-2.0",
|