seeonwall 0.14.0 → 0.16.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 +30 -4
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +12 -1
- package/dist/react.js.map +1 -1
- package/dist/types.d.ts +45 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ Everything in `PosterParams`, plus:
|
|
|
52
52
|
|
|
53
53
|
| prop | | |
|
|
54
54
|
|---|---|---|
|
|
55
|
-
| `posterSizes` | `string[]` or `string` | An array is joined with commas for you. |
|
|
55
|
+
| `posterSizes` | `string[]` or `string` | An array is joined with commas for you. `'Large=50x70cm'` names a size: the size button shows the name with the size beside it. |
|
|
56
56
|
| `offers` | `PosterOffer[]` | What you sell of this poster, for the action at the end of the preview. |
|
|
57
57
|
| `sizesFrom` | `auto` or a selector | Reads the sizes from a size control on the page instead. |
|
|
58
58
|
| `className`, `style` | | Applied to the mount element. |
|
|
@@ -124,7 +124,7 @@ The widget labels the button itself, in each of the languages it knows, and foll
|
|
|
124
124
|
A string is used in every language. An object replaces the label of the languages it names
|
|
125
125
|
and leaves the rest translated, so a shop that has wording for two of its languages keeps the
|
|
126
126
|
widget's wording for the others. The keys are the languages in `BUTTON_TEXT_LANGS`, exported
|
|
127
|
-
from the package: `en`, `pl`, `de`, `es`, `fr`, `it`, `pt`, `nl`, `sv`, `nb`, `da`, `fi`, `cs`, `sk`. A shopper on any
|
|
127
|
+
from the package: `en`, `pl`, `de`, `es`, `fr`, `it`, `pt`, `nl`, `sv`, `nb`, `da`, `fi`, `cs`, `sk`, `uk`, `ru`. A shopper on any
|
|
128
128
|
other language reads the English label, and your English override if you set one.
|
|
129
129
|
|
|
130
130
|
Under `icon` the label is still resolved and translated — it becomes the accessible name and
|
|
@@ -246,6 +246,32 @@ A number without a unit is in the size unit. `posterMatColor` sets the colour as
|
|
|
246
246
|
the mat is white without it. The visualizer ignores a value it cannot read, so an error gives a
|
|
247
247
|
preview with no mat.
|
|
248
248
|
|
|
249
|
+
### The frames the shopper can pick
|
|
250
|
+
|
|
251
|
+
`frameOptions` limits the frames in the preview to the ones you sell. Each entry is the name of a
|
|
252
|
+
frame you published in the SeeOnWall dashboard, or `null` for no frame:
|
|
253
|
+
|
|
254
|
+
```tsx
|
|
255
|
+
<SeeOnWallButton posterUrl={product.image} posterSizes="50x70" frameOptions={['Black', 'Oak', null]} />
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
With one entry, the preview always shows that frame and hides the frame controls. `[null]` suits a
|
|
259
|
+
product image that already shows the frame. Without the prop, the frame setting of your shop in the
|
|
260
|
+
dashboard applies. A list that is not valid is ignored, and the shopper can pick any frame.
|
|
261
|
+
|
|
262
|
+
When the size of the product is the outer size of the framed piece, add `frameSizeIncluded`. The
|
|
263
|
+
preview then draws the artwork smaller by two frame widths, so the framed piece keeps the size in
|
|
264
|
+
every frame. It applies only when `frameOptions` names at least one frame.
|
|
265
|
+
|
|
266
|
+
### A poster that hangs alone
|
|
267
|
+
|
|
268
|
+
The shopper can add other posters to the wall in the preview. `galleryWall={false}` keeps this
|
|
269
|
+
poster alone on its wall, for a piece that is not sold as part of a set:
|
|
270
|
+
|
|
271
|
+
```tsx
|
|
272
|
+
<SeeOnWallButton posterUrl={product.image} galleryWall={false} />
|
|
273
|
+
```
|
|
274
|
+
|
|
249
275
|
### When the image and the size disagree
|
|
250
276
|
|
|
251
277
|
An image with other proportions than the size — one photo sold as 45x60 and as 80x120 — is
|
|
@@ -284,8 +310,8 @@ The shapes above are `data-button-variant="outline" | "glyph" | "icon"` on the m
|
|
|
284
310
|
`data-button-width="full"` stretches the button to its container. `data-sizes-from="auto"`, or a
|
|
285
311
|
selector in the same attribute, reads the sizes from a size control on the page.
|
|
286
312
|
|
|
287
|
-
`data-poster-mat` and `data-poster-mat-color` carry the mat above,
|
|
288
|
-
the fit.
|
|
313
|
+
`data-poster-mat` and `data-poster-mat-color` carry the mat above, `data-poster-fit`
|
|
314
|
+
the fit, and `data-gallery-wall="off"` keeps the poster alone on its wall.
|
|
289
315
|
|
|
290
316
|
`data-poster-offers` carries the offers above as a JSON array, and works the same way:
|
|
291
317
|
|
package/dist/react.d.ts.map
CHANGED
|
@@ -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;AACxD,OAAO,EAAiD,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC7F,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAC5B,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,CAAA;AAYtE;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAwBvD;AAqBD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAElE,sEAAsE;AACtE,MAAM,WAAW,yBAAyB;IACxC;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,oEAAoE;IACpE,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uCAAuC;IACvC,WA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E"}
|
package/dist/react.js
CHANGED
|
@@ -100,7 +100,7 @@ function attr(target, name, value) {
|
|
|
100
100
|
* arrives.
|
|
101
101
|
*/
|
|
102
102
|
export function SeeOnWallButton(props) {
|
|
103
|
-
const { posterUrl, posterTitle, sizeUnit, posterWidth, posterHeight, posterSizes, sizesFrom, posterInset, posterMat, posterMatColor, posterFit, productPageUrl, lang, frameDefaultCm, frameDefaultColor, framePreset, offers, variant, fullWidth, backgroundColor, textColor, borderRadius, borderColor, buttonClassName, buttonText, matchButton, matchColors, className, style, } = props;
|
|
103
|
+
const { posterUrl, posterTitle, sizeUnit, posterWidth, posterHeight, posterSizes, sizesFrom, posterInset, posterMat, posterMatColor, posterFit, productPageUrl, lang, frameDefaultCm, frameDefaultColor, framePreset, frameOptions, frameSizeIncluded, galleryWall, offers, variant, fullWidth, backgroundColor, textColor, borderRadius, borderColor, buttonClassName, buttonText, matchButton, matchColors, className, style, } = props;
|
|
104
104
|
const attributes = {};
|
|
105
105
|
attr(attributes, 'data-poster-url', posterUrl);
|
|
106
106
|
attr(attributes, 'data-poster-title', posterTitle);
|
|
@@ -118,6 +118,17 @@ export function SeeOnWallButton(props) {
|
|
|
118
118
|
attr(attributes, 'data-frame-default-cm', frameDefaultCm);
|
|
119
119
|
attr(attributes, 'data-frame-default-color', frameDefaultColor);
|
|
120
120
|
attr(attributes, 'data-frame-preset', framePreset);
|
|
121
|
+
// An empty list is not written: the widget ignores it as a list that is not valid.
|
|
122
|
+
if (frameOptions && frameOptions.length > 0) {
|
|
123
|
+
attributes['data-frame-options'] = JSON.stringify(frameOptions);
|
|
124
|
+
}
|
|
125
|
+
if (frameSizeIncluded === true) {
|
|
126
|
+
attributes['data-frame-size-included'] = 'true';
|
|
127
|
+
}
|
|
128
|
+
// Only `false` is written: the widget reads `off` and treats any other value as a shared wall.
|
|
129
|
+
if (galleryWall === false) {
|
|
130
|
+
attributes['data-gallery-wall'] = 'off';
|
|
131
|
+
}
|
|
121
132
|
// The widget reads the offers as JSON from one attribute. An empty list is not written: the
|
|
122
133
|
// widget then has nothing to match, which is what an absent attribute already means.
|
|
123
134
|
if (offers && offers.length > 0) {
|
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,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAG7F,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAG5B;;;;;;;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,OAAO,CAAA;IAE/D,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,IAAI,CAAC,CAAA;QACd,KAAK,IAAI,CAAC;YACR,MAAM;YACN,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC/C,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC/C,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAClD,CAAC,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;YACxB,OAAO,CAAC,KAAK,CAAC,sCA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AAW,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/dist/types.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ export interface PosterParams {
|
|
|
59
59
|
* unit. Examples are "30x40,50x70", "12x16in,18x24in" and "a4,a3,50x70cm". An
|
|
60
60
|
* item without a unit uses {@link sizeUnit}.
|
|
61
61
|
*
|
|
62
|
+
* An item can start with a name and `=`, for example "Large=50x70cm" (ADR 284). The size
|
|
63
|
+
* button shows the name with the size beside it. A name has at most 32 characters, and it
|
|
64
|
+
* cannot contain `,` or `=`. The whole list has at most 1000 characters.
|
|
65
|
+
*
|
|
62
66
|
* The visualizer shows a size selector when there is more than one item.
|
|
63
67
|
*/
|
|
64
68
|
posterSizes?: string;
|
|
@@ -138,6 +142,31 @@ export interface PosterParams {
|
|
|
138
142
|
* frame carries is ignored, and the two values above then apply.
|
|
139
143
|
*/
|
|
140
144
|
framePreset?: string;
|
|
145
|
+
/**
|
|
146
|
+
* The frames that the shopper can pick (ADR 282).
|
|
147
|
+
*
|
|
148
|
+
* The widget reads it from the `data-frame-options` attribute of the mount, as a JSON array.
|
|
149
|
+
* Each entry is the name of a frame preset of the shop, or `null` for no frame. The preview
|
|
150
|
+
* offers only these frames. With one entry, the preview shows that frame and hides the frame
|
|
151
|
+
* controls. A list that is not valid is ignored whole, and the shopper can then pick any frame.
|
|
152
|
+
* Without a list, the frame setting of the shop applies.
|
|
153
|
+
*/
|
|
154
|
+
frameOptions?: (string | null)[];
|
|
155
|
+
/**
|
|
156
|
+
* True when the declared size of the poster includes the frame (ADR 282).
|
|
157
|
+
*
|
|
158
|
+
* The widget reads it from `data-frame-size-included="true"`. The preview then draws the
|
|
159
|
+
* artwork smaller by two frame widths, so the frame and the artwork together have the declared
|
|
160
|
+
* size. It applies only with a {@link frameOptions} list that names at least one preset.
|
|
161
|
+
*/
|
|
162
|
+
frameSizeIncluded?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* False when this poster always hangs alone on a wall (ADR 294).
|
|
165
|
+
*
|
|
166
|
+
* The widget reads it from `data-gallery-wall="off"`. The shopper then cannot add other
|
|
167
|
+
* posters to a wall that shows this poster. Absent or true: the poster can share a wall.
|
|
168
|
+
*/
|
|
169
|
+
galleryWall?: boolean;
|
|
141
170
|
/**
|
|
142
171
|
* What this shop sells of this poster, for the action at the end of the preview (ADR 235).
|
|
143
172
|
*
|
|
@@ -150,6 +179,8 @@ export interface PosterParams {
|
|
|
150
179
|
* opens the product page instead.
|
|
151
180
|
*
|
|
152
181
|
* The list never reaches the visualizer. A list of more than 250 offers is ignored whole.
|
|
182
|
+
* Up to 200 offers can have an `image`, in a stored list of up to 54,000 characters. Over a
|
|
183
|
+
* limit, no offer image is used.
|
|
153
184
|
*/
|
|
154
185
|
offers?: PosterOffer[];
|
|
155
186
|
}
|
|
@@ -173,6 +204,19 @@ export interface PosterOffer {
|
|
|
173
204
|
productUrl?: string;
|
|
174
205
|
/** An HTTP(S) URL which adds exactly this offer when navigated to. Required for "Add to cart". */
|
|
175
206
|
purchaseUrl?: string;
|
|
207
|
+
/**
|
|
208
|
+
* An https image of exactly this variant: this size in this frame (ADR 285). The preview shows
|
|
209
|
+
* it when the shopper selects this size and frame, so a shop can show its own photo of each.
|
|
210
|
+
*/
|
|
211
|
+
image?: string;
|
|
212
|
+
/**
|
|
213
|
+
* `"inherit"` (the default): the preview draws the selected frame on {@link image}.
|
|
214
|
+
* `"forbidden"`: the image already shows the frame, or must have none. The preview shows it as
|
|
215
|
+
* it is, at the outer size of the variant.
|
|
216
|
+
*/
|
|
217
|
+
drawFrame?: 'inherit' | 'forbidden';
|
|
218
|
+
/** The name of this size on the size buttons of the preview. At most 32 characters. */
|
|
219
|
+
label?: string;
|
|
176
220
|
}
|
|
177
221
|
/**
|
|
178
222
|
* The languages that a button can carry a label of your own in.
|
|
@@ -182,7 +226,7 @@ export interface PosterOffer {
|
|
|
182
226
|
* language that is not in this list gets the English label, and the English
|
|
183
227
|
* replacement if you give one.
|
|
184
228
|
*/
|
|
185
|
-
export declare const BUTTON_TEXT_LANGS: readonly ["en", "pl", "de", "es", "fr", "it", "pt", "nl", "sv", "nb", "da", "fi", "cs", "sk"];
|
|
229
|
+
export declare const BUTTON_TEXT_LANGS: readonly ["en", "pl", "de", "es", "fr", "it", "pt", "nl", "sv", "nb", "da", "fi", "cs", "sk", "uk", "ru"];
|
|
186
230
|
/** One language of {@link BUTTON_TEXT_LANGS}. */
|
|
187
231
|
export type ButtonTextLang = (typeof BUTTON_TEXT_LANGS)[number];
|
|
188
232
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAA;AAElC,0FAA0F;AAC1F,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;AAEpD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC9B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["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;;;;;;;;;;OAcG;IACH,MAAM,CAAC,EAAE,WAAW,EAAE,CAAA;CACvB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,GAAG,EAAE,MAAM,CAAA;IACX,qDAAqD;IACrD,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,sDAAsD;IACtD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,mGAAmG;IACnG,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,8FAA8F;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kGAAkG;IAClG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACnC,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,2GAA4G,CAAA;AAE1I,iDAAiD;AACjD,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
package/dist/types.js
CHANGED
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
* language that is not in this list gets the English label, and the English
|
|
27
27
|
* replacement if you give one.
|
|
28
28
|
*/
|
|
29
|
-
export const BUTTON_TEXT_LANGS = ['en', 'pl', 'de', 'es', 'fr', 'it', 'pt', 'nl', 'sv', 'nb', 'da', 'fi', 'cs', 'sk'];
|
|
29
|
+
export const BUTTON_TEXT_LANGS = ['en', 'pl', 'de', 'es', 'fr', 'it', 'pt', 'nl', 'sv', 'nb', 'da', 'fi', 'cs', 'sk', 'uk', 'ru'];
|
|
30
30
|
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AA8MH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAA"}
|
package/package.json
CHANGED