@orderlyshop/web-components 0.1.0-build.7058 → 0.1.0-build.7059

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
@@ -808,6 +808,12 @@ productImage.image = searchObject.Images[0];
808
808
 
809
809
  `orderly-stored-image` uses `DEFAULT_IMAGE_BASE_URL`, currently `https://orderlyproduction.azureedge.net/`, when no custom image URL configuration is supplied. `configureStoredImageUrls({ baseUrl })` maps normal product images to `baseUrl/thumbnails/<StoredImage.Name>` and full/object variants to `baseUrl/objects/<StoredImage.Name>`. The component also supports `ImageDataBase64`, absolute URLs, and a custom resolver through `configureStoredImageUrls({ resolver })`.
810
810
 
811
+ By default, `orderly-stored-image` does not render a frame border. Add the boolean `border` attribute when a bordered image is wanted:
812
+
813
+ ```html
814
+ <orderly-stored-image border fit="contain"></orderly-stored-image>
815
+ ```
816
+
811
817
  ## State And Security
812
818
 
813
819
  Basket drafts are persisted to localStorage by default. Checkout contact and address data are stored directly on `DraftOrder.Transport`, so basket items, delivery selection, and checkout form state all share the same persisted draft. That draft can contain PII such as name, address, email, and phone. Provide a custom basket store to change or disable that behavior. This package never stores tokens, API keys, OAuth responses, or cookie values.
@@ -356,14 +356,16 @@
356
356
  "name": "OrderlyStoredImageElement",
357
357
  "tagName": "orderly-stored-image",
358
358
  "customElement": true,
359
- "description": "Renders StoredImage with configured URL resolution, rotation, crop, and fit behavior.",
359
+ "description": "Renders StoredImage with configured URL resolution, rotation, crop, and fit behavior. Borderless by default, with an opt-in border attribute.",
360
360
  "attributes": [
361
361
  { "name": "fit", "description": "Image fit, normally contain or cover." },
362
362
  { "name": "variant", "description": "Image URL variant, such as thumbnail or object." },
363
- { "name": "alt", "description": "Image alt text." }
363
+ { "name": "alt", "description": "Image alt text." },
364
+ { "name": "border", "description": "Adds a 1px image frame border." }
364
365
  ],
365
366
  "members": [
366
- { "kind": "field", "name": "image", "type": { "text": "StoredImage | undefined" } }
367
+ { "kind": "field", "name": "image", "type": { "text": "StoredImage | undefined" } },
368
+ { "kind": "field", "name": "border", "type": { "text": "boolean" } }
367
369
  ]
368
370
  },
369
371
  {