orionplace-react 0.7.1 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orionplace-react",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Next.js 16 storefront for your Orionplace marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English and Russian, plus an Android app build.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -53,7 +53,8 @@
53
53
  .root button {
54
54
  display: inline-flex;
55
55
  box-sizing: border-box;
56
- width: fit-content;
56
+ /* Full panel width, as the Nuxt and Svelte panels stretch it. */
57
+ width: 100%;
57
58
  min-height: 2.75rem;
58
59
  align-items: center;
59
60
  justify-content: center;
@@ -62,7 +62,8 @@ export function OrionplaceImage({
62
62
  className={`${styles.image} ${className}`.trim()}
63
63
  data-logo-type={dataLogoType}
64
64
  onError={() => setFailed(true)}
65
- onLoad={onLoad}
65
+ // The callback has no payload (the element's load event stays inside).
66
+ onLoad={onLoad ? () => onLoad() : undefined}
66
67
  />
67
68
  );
68
69
  }