@smartsoft001-mobilems/claude-plugins 2.117.0 → 2.119.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/package.json
CHANGED
|
@@ -105,6 +105,18 @@ WidgetImageBaseComponent` / `WidgetAudioBaseComponent` / `WidgetMediaBaseCompone
|
|
|
105
105
|
`WidgetGalleryImageBaseComponent`, with the app's own markup and styles; `text` extends
|
|
106
106
|
`WidgetBaseComponent` and `video` has no framework base. The framework ships no templates.
|
|
107
107
|
|
|
108
|
+
The bases read template refs, so the generated markup must provide them:
|
|
109
|
+
|
|
110
|
+
- **`gallery-image`**: the grid element carries `#masonryGrid` and contains one
|
|
111
|
+
`<div class="masonry-grid-sizer"></div>` (column width), one `<div class="masonry-gutter-sizer"></div>`
|
|
112
|
+
(gutter) and the `.masonry-item` tiles. Give both sizers their widths in the app CSS, with the same
|
|
113
|
+
768/1024 px breakpoints as `WIDGET_GALLERY_IMAGE_BREAKPOINTS`. A missing sizer only degrades (gutter `0`,
|
|
114
|
+
column width from the first tile, one dev-mode `console.warn`), so do not rely on the fallback.
|
|
115
|
+
Provide `Masonry` with `provideBrowserMasonry()`.
|
|
116
|
+
- **`audio`**: an `<audio #player>` element bound to the events listed in the base's README row.
|
|
117
|
+
- `alt` is an input on `WidgetImageBaseComponent` but a derived computed on
|
|
118
|
+
`WidgetGalleryImageBaseComponent` — bind widget inputs per type in the container, never `alt` on every widget.
|
|
119
|
+
|
|
108
120
|
## Models — framework, not the lib
|
|
109
121
|
|
|
110
122
|
The museum API models (`IObject`, `IImage`, `IDictionary`, `IDictionaryEntry`, `IArticleListItem`,
|