@lime-bundles/react 7.5.0 → 7.5.2
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/dist/index.cjs +431 -379
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +431 -379
- package/dist/index.js.map +1 -1
- package/dist/styles.css +28 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -175,6 +175,34 @@
|
|
|
175
175
|
opacity: 0.5;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
/* Missing-image placeholder. Mirrors bundle-base.css — the theme host clones
|
|
179
|
+
Shopify's own `placeholder_svg_tag` illustration into this box, a headless
|
|
180
|
+
embed gets the line glyph in ThumbnailPlaceholder.tsx, and both are laid out
|
|
181
|
+
full-bleed so a box on the "original" ratio can take its height from the
|
|
182
|
+
mark rather than collapsing (issue #552). */
|
|
183
|
+
.lb-thumb--placeholder {
|
|
184
|
+
background: var(--lb-thumbnail-bg, #f0f0f0);
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.lb-thumb--placeholder > [data-lb-placeholder] {
|
|
189
|
+
display: block;
|
|
190
|
+
width: 100%;
|
|
191
|
+
height: auto;
|
|
192
|
+
max-height: 100%;
|
|
193
|
+
aspect-ratio: 1 / 1;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.lb-bundle-placeholder-icon {
|
|
197
|
+
stroke: color-mix(in srgb, var(--lb-text) 35%, transparent);
|
|
198
|
+
stroke-width: 1.5;
|
|
199
|
+
fill: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.lb-bundle-placeholder-svg {
|
|
203
|
+
fill: color-mix(in srgb, var(--lb-text) 22%, transparent);
|
|
204
|
+
}
|
|
205
|
+
|
|
178
206
|
.lb-bundle__product-image {
|
|
179
207
|
width: 60px;
|
|
180
208
|
min-width: 60px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lime-bundles/react",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2",
|
|
4
4
|
"description": "React components and hooks for the Lime Bundles Shopify app. Use on Hydrogen, Next.js, Vite, or any React-based headless storefront.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"react-dom": ">=18.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@lime-bundles/core": "^7.
|
|
55
|
+
"@lime-bundles/core": "^7.7.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@shopify/hydrogen-react": "^2026.4.1",
|