seeonwall 0.6.0 → 0.7.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 CHANGED
@@ -53,6 +53,7 @@ Everything in `PosterParams`, plus:
53
53
  | prop | | |
54
54
  |---|---|---|
55
55
  | `posterSizes` | `string[]` or `string` | An array is joined with commas for you. |
56
+ | `sizesFrom` | `auto` or a selector | Reads the sizes from a size control on the page instead. |
56
57
  | `className`, `style` | | Applied to the mount element. |
57
58
  | `variant` | `solid` \| `outline` \| `glyph` \| `icon` | The shape of the button. Default `solid`. |
58
59
  | `fullWidth` | boolean | Stretches the button to the width of its container. |
@@ -68,7 +69,7 @@ they are. The two are independent, so any shape can carry your colours or your t
68
69
 
69
70
  | | |
70
71
  |---|---|
71
- | `solid` | A filled button with a label. The default, and what the button looked like before. |
72
+ | `solid` | A filled button with a label. The default. |
72
73
  | `outline` | The same box with no fill. |
73
74
  | `glyph` | The mark and the label, with no box. Reads as a secondary action. |
74
75
  | `icon` | The mark alone, 40px square. It fits beside Add to cart rather than under it. |
@@ -77,6 +78,10 @@ they are. The two are independent, so any shape can carry your colours or your t
77
78
  <SeeOnWallButton posterUrl={product.image} variant="glyph" />
78
79
  ```
79
80
 
81
+ Every shape carries the SeeOnWall mark. A shape decides what is drawn around the mark, not
82
+ whether it is there — `icon` is simply the shape with nothing else left. On the free plan the
83
+ mark is the full logo; every paid plan gets the monochrome glyph.
84
+
80
85
  The three shapes with no fill take their colour from the text around them, so they suit a
81
86
  light or a dark theme with nothing to set. That also decides which colour props have
82
87
  somewhere to land: `backgroundColor` reaches `solid` alone, and `borderColor` and
@@ -95,6 +100,32 @@ target a shopper cannot read.
95
100
  Under `icon` the label is still resolved and translated as usual. It becomes the button's
96
101
  accessible name and its tooltip, so a screen reader still announces it.
97
102
 
103
+ ### Sizes from a control on the page
104
+
105
+ Some shops keep the print size in the size control the shopper uses — a dropdown or a set of
106
+ radio buttons an add-on plugin renders — and not in the product record. `sizesFrom` reads the
107
+ sizes from that control:
108
+
109
+ ```tsx
110
+ <SeeOnWallButton posterUrl={product.image} sizesFrom="auto" />
111
+ <SeeOnWallButton posterUrl={product.image} sizesFrom="#size-field select" />
112
+ ```
113
+
114
+ `auto` searches the form around the mount, then the product around it, and no wider, so a
115
+ listing page cannot answer for one product with the control of the product beside it. It takes
116
+ a `select`, or a group of radio buttons or checkboxes, whose option labels read as sizes:
117
+ `60x40cm`, `Medium (50x70cm)`, `Small - 30x40cm` and `30x40cm +€10.00` all yield their size. A
118
+ selector names one control and skips the search.
119
+
120
+ The control wins against `posterSizes`, `posterWidth` and `posterHeight`, because it holds the
121
+ size the shopper picked and those props were written before they picked one. A control showing
122
+ no selection gives the list alone, and the preview opens on the smallest size in it. The widget
123
+ re-reads the control on every click, so you register no listener and re-render nothing.
124
+
125
+ Most storefronts built with this package know their sizes and should pass them in
126
+ `posterSizes`. Reach for `sizesFrom` when the size control belongs to a plugin or to a part of
127
+ the page you do not control.
128
+
98
129
  ## Vanilla JavaScript
99
130
 
100
131
  ```js
@@ -119,7 +150,8 @@ Mounts added later are picked up automatically, so client-side navigation works
119
150
  without another call to `load()`.
120
151
 
121
152
  The shapes above are `data-button-variant="outline" | "glyph" | "icon"` on the mount, and
122
- `data-button-width="full"` stretches the button to its container.
153
+ `data-button-width="full"` stretches the button to its container. `data-sizes-from="auto"`, or a
154
+ selector in the same attribute, reads the sizes from a size control on the page.
123
155
 
124
156
  The full list of `data-*` attributes — sizes, frames, passe-partout, per-button
125
157
  language — is in the [integration docs](https://seeonwall.com/docs).
package/dist/react.d.ts CHANGED
@@ -36,6 +36,10 @@ export declare function useSessionReady(): boolean;
36
36
  * - `outline` the same box with no fill.
37
37
  * - `glyph` the mark and the label, with no box.
38
38
  * - `icon` the mark alone.
39
+ *
40
+ * Each shape carries the mark. A shape says what is drawn around the mark. It does not say
41
+ * if the mark is there. `icon` is only the extreme of that: the shape with nothing else in
42
+ * it.
39
43
  */
40
44
  export type ButtonVariant = 'solid' | 'outline' | 'glyph' | 'icon';
41
45
  /** The appearance settings that a merchant can set for one button. */
@@ -104,6 +108,26 @@ export interface SeeOnWallButtonProps extends Omit<PosterParams, 'posterSizes'>,
104
108
  * The widget shows a size selector when there is more than one size.
105
109
  */
106
110
  posterSizes?: string[] | string;
111
+ /**
112
+ * Reads the sizes from a size control on the page, and not from the props (ADR 185).
113
+ *
114
+ * Give `"auto"` to let the widget find the control, or give a CSS selector to name one.
115
+ * `"auto"` looks in the form around the mount, then in the product around the mount, and
116
+ * no wider. It accepts a `select`, or a group of radio buttons or checkboxes, whose option
117
+ * labels are sizes: `60x40cm`, `Medium (50x70cm)` and `Small - 30x40cm` all give a size.
118
+ *
119
+ * The control wins against {@link posterSizes}, {@link posterWidth} and
120
+ * {@link posterHeight}, because the control holds the size that the shopper selected and
121
+ * the props were written before the shopper selected one. A control that shows no
122
+ * selection gives the list only, and the preview opens with the smallest size in it.
123
+ *
124
+ * The widget reads the control again at each click, thus you do not add a listener.
125
+ *
126
+ * Most storefronts do not need this prop. You know your sizes, thus give them in
127
+ * {@link posterSizes}. Use this prop when a different part of the page, for example a
128
+ * plugin, draws the size control.
129
+ */
130
+ sizesFrom?: string;
107
131
  /** Classes for the element that holds the button. */
108
132
  className?: string;
109
133
  /** Styles for the element that holds the button. */
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE3D,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA;AAYzC;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAwBvD;AAqBD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED;;;;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99
99
  * arrives.
100
100
  */
101
101
  export function SeeOnWallButton(props) {
102
- const { posterUrl, posterTitle, sizeUnit, posterWidth, posterHeight, posterSizes, posterInset, productPageUrl, lang, frameDefaultCm, frameDefaultColor, framePreset, variant, fullWidth, backgroundColor, textColor, borderRadius, borderColor, buttonClassName, matchButton, matchColors, className, style, } = props;
102
+ const { posterUrl, posterTitle, sizeUnit, posterWidth, posterHeight, posterSizes, sizesFrom, posterInset, productPageUrl, lang, frameDefaultCm, frameDefaultColor, framePreset, variant, fullWidth, backgroundColor, textColor, borderRadius, borderColor, buttonClassName, matchButton, matchColors, className, style, } = props;
103
103
  const attributes = {};
104
104
  attr(attributes, 'data-poster-url', posterUrl);
105
105
  attr(attributes, 'data-poster-title', posterTitle);
@@ -107,6 +107,7 @@ export function SeeOnWallButton(props) {
107
107
  attr(attributes, 'data-poster-width', posterWidth);
108
108
  attr(attributes, 'data-poster-height', posterHeight);
109
109
  attr(attributes, 'data-poster-sizes', Array.isArray(posterSizes) ? posterSizes.join(',') : posterSizes);
110
+ attr(attributes, 'data-sizes-from', sizesFrom);
110
111
  attr(attributes, 'data-poster-inset', posterInset);
111
112
  attr(attributes, 'data-product-page-url', productPageUrl);
112
113
  attr(attributes, 'data-lang', lang);
package/dist/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAEvD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAK1E;;;;;;;GAOG;AACH,IAAI,SAAS,GAAG,CAAC,CAAA;AAEjB;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAAC,OAAoB;IAC/C,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG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AAA;IAClD,8EAA8E;IAC9E,+EAA+E;IAC/E,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;QACjD,UAAU,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAA;IAC7C,CAAC;IACD,8EAA8E;IAC9E,4EAA4E;IAC5E,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;QACvB,UAAU,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAA;IAC1C,CAAC;IACD,IAAI,CAAC,UAAU,EAAE,eAAe,EAAE,eAAe,CAAC,CAAA;IAClD,IAAI,CAAC,UAAU,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAA;IAC9C,IAAI,CAAC,UAAU,EAAE,oBAAoB,EAAE,YAAY,CAAC,CAAA;IACpD,IAAI,CAAC,UAAU,EAAE,mBAAmB,EAAE,WAAW,CAAC,CAAA;IAClD,IAAI,CAAC,UAAU,EAAE,mBAAmB,EAAE,eAAe,CAAC,CAAA;IACtD,IAAI,CAAC,UAAU,EAAE,mBAAmB,EAAE,WAAW,CAAC,CAAA;IAClD,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;QACzB,UAAU,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAA;IAC1C,CAAC;IAED,8EAA8E;IAC9E,6CAA6C;IAC7C,OAAO,CACL,cACE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,SAAS,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAC3E,KAAK,EAAE,KAAK,KACR,UAAU,GACd,CACH,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seeonwall",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Show shoppers a poster on their own wall, at true scale. The seeonwall.com widget for React and headless storefronts.",
5
5
  "keywords": [
6
6
  "seeonwall",