@htmlbricks/hb-order-list 0.71.35 → 0.71.37

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/manifest.json CHANGED
@@ -21,15 +21,20 @@
21
21
  "type": "string"
22
22
  },
23
23
  "payment": {
24
- "$ref": "#/definitions/OrderPayment"
24
+ "anyOf": [
25
+ {
26
+ "$ref": "#/definitions/OrderPayment"
27
+ },
28
+ {
29
+ "type": "string"
30
+ }
31
+ ],
32
+ "description": "Cart + order metadata; may be a JSON string from HTML."
25
33
  },
26
34
  "style": {
27
35
  "type": "string"
28
36
  }
29
37
  },
30
- "required": [
31
- "payment"
32
- ],
33
38
  "type": "object"
34
39
  },
35
40
  "IOrderItem": {
@@ -121,7 +126,7 @@
121
126
  "name": "--bulma-text",
122
127
  "valueType": "color",
123
128
  "defaultValue": "#363636",
124
- "description": "Primary text color."
129
+ "description": "Primary foreground for order number, line item names, totals, and other body copy."
125
130
  },
126
131
  {
127
132
  "name": "--bulma-scheme-main",
@@ -131,7 +136,7 @@
131
136
  },
132
137
  {
133
138
  "name": "--bulma-column-gap",
134
- "valueType": "other",
139
+ "valueType": "string",
135
140
  "defaultValue": "0.75rem",
136
141
  "description": "Gap between grid columns."
137
142
  }
@@ -139,7 +144,7 @@
139
144
  "parts": [
140
145
  {
141
146
  "name": "item_image",
142
- "description": ""
147
+ "description": "Product thumbnail on each line item row."
143
148
  }
144
149
  ]
145
150
  },
@@ -261,5 +266,5 @@
261
266
  "size": {},
262
267
  "iifePath": "main.iife.js",
263
268
  "repoName": "@htmlbricks/hb-order-list",
264
- "version": "0.71.35"
269
+ "version": "0.71.37"
265
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-order-list",
3
- "version": "0.71.35",
3
+ "version": "0.71.37",
4
4
  "contributors": [],
5
5
  "description": "Order summary view driven by a payment JSON object: order number header, optional tracking area, list of line items with image and name, and a footer showing the order total including tax and optional shipment fee. Exposes the item image via the item_image CSS part.",
6
6
  "licenses": [
@@ -9,15 +9,20 @@
9
9
  "type": "string"
10
10
  },
11
11
  "payment": {
12
- "$ref": "#/definitions/OrderPayment"
12
+ "anyOf": [
13
+ {
14
+ "$ref": "#/definitions/OrderPayment"
15
+ },
16
+ {
17
+ "type": "string"
18
+ }
19
+ ],
20
+ "description": "Cart + order metadata; may be a JSON string from HTML."
13
21
  },
14
22
  "style": {
15
23
  "type": "string"
16
24
  }
17
25
  },
18
- "required": [
19
- "payment"
20
- ],
21
26
  "type": "object"
22
27
  },
23
28
  "IOrderItem": {
@@ -15,7 +15,8 @@ export interface OrderPayment extends IShoppingPayment {
15
15
  export type Component = {
16
16
  id?: string;
17
17
  style?: string;
18
- payment: OrderPayment;
18
+ /** Cart + order metadata; may be a JSON string from HTML. */
19
+ payment?: OrderPayment | string;
19
20
  };
20
21
 
21
22
  export type Events = {};