@snowcone-app/ui 0.11.2 → 0.11.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#5798](https://github.com/snowcone-app/snowcone-monorepo/pull/5798) [`07d44c0`](https://github.com/snowcone-app/snowcone-monorepo/commit/07d44c0117ee4d32b757ba6abeb58b8777b2cdc8) Thanks [@kevinsproles](https://github.com/kevinsproles)! - Catalog mockups may carry `frame: { shape: "16:9", productX, productY }`: where the product sits in the mockup's default
8
+ 16:9 picture (a plate without an 8:3 strip). `CarouselImage.frame` carries it to the desktop hero, which centres the
9
+ product beside the info panel instead of the picture.
10
+ - Updated dependencies [[`07d44c0`](https://github.com/snowcone-app/snowcone-monorepo/commit/07d44c0117ee4d32b757ba6abeb58b8777b2cdc8)]:
11
+ - @snowcone-app/sdk@0.31.9
12
+
3
13
  ## 0.11.2
4
14
 
5
15
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -4817,6 +4817,15 @@ interface CarouselImage {
4817
4817
  productX: number;
4818
4818
  heightPx?: number;
4819
4819
  };
4820
+ /**
4821
+ * Where the product sits in the default 16:9 picture (the catalog's `mockups[].frame`, a plate with no strip): the
4822
+ * desktop hero puts the product, not the picture's middle, beside the info panel. Absent = a centred picture.
4823
+ */
4824
+ frame?: {
4825
+ shape: "16:9";
4826
+ productX: number;
4827
+ productY: number;
4828
+ };
4820
4829
  }
4821
4830
  /**
4822
4831
  * Alias for CarouselImage - used in hero contexts for semantic clarity.
package/dist/index.d.ts CHANGED
@@ -4817,6 +4817,15 @@ interface CarouselImage {
4817
4817
  productX: number;
4818
4818
  heightPx?: number;
4819
4819
  };
4820
+ /**
4821
+ * Where the product sits in the default 16:9 picture (the catalog's `mockups[].frame`, a plate with no strip): the
4822
+ * desktop hero puts the product, not the picture's middle, beside the info panel. Absent = a centred picture.
4823
+ */
4824
+ frame?: {
4825
+ shape: "16:9";
4826
+ productX: number;
4827
+ productY: number;
4828
+ };
4820
4829
  }
4821
4830
  /**
4822
4831
  * Alias for CarouselImage - used in hero contexts for semantic clarity.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowcone-app/ui",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "React components for merchandise visualization and customization",
5
5
  "keywords": [
6
6
  "react",
@@ -103,7 +103,7 @@
103
103
  "react-instantsearch": "^7.15.5",
104
104
  "react-zoom-pan-pinch": "^3.6.4",
105
105
  "tailwind-merge": "^3.0.0",
106
- "@snowcone-app/sdk": "0.31.8"
106
+ "@snowcone-app/sdk": "0.31.9"
107
107
  },
108
108
  "devDependencies": {
109
109
  "@chromatic-com/storybook": "^4.1.2",
@@ -63,6 +63,12 @@ export interface CarouselImage {
63
63
  * (`aspect=8:3&view=<r>@<f>`). Absent = the 16:9 hero. Phones ignore it.
64
64
  */
65
65
  strip?: { shape: "8:3"; productX: number; heightPx?: number };
66
+
67
+ /**
68
+ * Where the product sits in the default 16:9 picture (the catalog's `mockups[].frame`, a plate with no strip): the
69
+ * desktop hero puts the product, not the picture's middle, beside the info panel. Absent = a centred picture.
70
+ */
71
+ frame?: { shape: "16:9"; productX: number; productY: number };
66
72
  }
67
73
 
68
74
  /**