@websolutespa/bom-mixer-ui 1.9.15 → 1.9.16
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 +8 -8
- package/dist/cjs/index.js +4 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/meta/meta.js +4 -3
- package/dist/esm/components/meta/meta.js.map +1 -1
- package/dist/types/components/meta/meta.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/meta/meta.tsx +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
# @websolutespa/bom-mixer-ui
|
|
2
2
|
|
|
3
|
+
## 1.9.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Modified: Meta
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @websolutespa/bom-core@1.8.21
|
|
10
|
+
|
|
3
11
|
## 1.9.15
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
15
|
- Modified: Meta added indexable prop
|
|
8
|
-
- Updated dependencies
|
|
9
|
-
- Updated dependencies
|
|
10
16
|
- Updated dependencies
|
|
11
17
|
- @websolutespa/bom-mixer-store@1.8.11
|
|
12
18
|
- @websolutespa/bom-mixer-models@1.8.18
|
|
@@ -53,7 +59,6 @@
|
|
|
53
59
|
### Patch Changes
|
|
54
60
|
|
|
55
61
|
- Modified: Text, LazyLoader, IThemeFont
|
|
56
|
-
- Updated dependencies
|
|
57
62
|
- Updated dependencies
|
|
58
63
|
- @websolutespa/bom-core@1.8.17
|
|
59
64
|
- @websolutespa/bom-mixer-models@1.8.17
|
|
@@ -81,7 +86,6 @@
|
|
|
81
86
|
### Patch Changes
|
|
82
87
|
|
|
83
88
|
- Added: Text.Html
|
|
84
|
-
- Updated dependencies
|
|
85
89
|
- Updated dependencies
|
|
86
90
|
- @websolutespa/bom-mixer-store@1.8.4
|
|
87
91
|
- @websolutespa/bom-core@1.8.11
|
|
@@ -165,7 +169,6 @@
|
|
|
165
169
|
### Patch Changes
|
|
166
170
|
|
|
167
171
|
- Modified: Text added letter-spacing, MediaImage
|
|
168
|
-
- Updated dependencies
|
|
169
172
|
- Updated dependencies
|
|
170
173
|
- @websolutespa/bom-mixer-models@1.8.8
|
|
171
174
|
- @websolutespa/bom-core@1.8.10
|
|
@@ -185,7 +188,6 @@
|
|
|
185
188
|
- 3a7fc91: Added: a11y Select, Drawer, Media
|
|
186
189
|
- 3a7fc91: Added: a11y SvgAnimation
|
|
187
190
|
- 3a7fc91: Modified: theme ColorScheme
|
|
188
|
-
- Updated dependencies [3a7fc91]
|
|
189
191
|
- Updated dependencies [3a7fc91]
|
|
190
192
|
- @websolutespa/bom-mixer-icons@0.2.5
|
|
191
193
|
- @websolutespa/bom-mixer-hooks@1.8.9
|
|
@@ -319,7 +321,6 @@
|
|
|
319
321
|
|
|
320
322
|
- Modified: Media, Meta
|
|
321
323
|
- Added: SvgAnimation mode overOut
|
|
322
|
-
- Updated dependencies
|
|
323
324
|
- Updated dependencies
|
|
324
325
|
- @websolutespa/bom-core@1.7.5
|
|
325
326
|
- @websolutespa/bom-mixer-models@1.7.4
|
|
@@ -358,7 +359,6 @@
|
|
|
358
359
|
|
|
359
360
|
### Patch Changes
|
|
360
361
|
|
|
361
|
-
- Updating: dependencies
|
|
362
362
|
- Updated dependencies
|
|
363
363
|
- @websolutespa/bom-mixer-models@1.7.2
|
|
364
364
|
- @websolutespa/bom-mixer-forms@0.3.1
|
package/dist/cjs/index.js
CHANGED
|
@@ -6135,7 +6135,7 @@ const MediaGallery = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
6135
6135
|
MediaGallery.displayName = 'MediaGallery';
|
|
6136
6136
|
|
|
6137
6137
|
function Meta(_a) {
|
|
6138
|
-
var _b, _c,
|
|
6138
|
+
var _b, _c, _d, _g;
|
|
6139
6139
|
var {
|
|
6140
6140
|
children,
|
|
6141
6141
|
structuredDataCollections,
|
|
@@ -6188,7 +6188,8 @@ function Meta(_a) {
|
|
|
6188
6188
|
// structuredData
|
|
6189
6189
|
const structuredData = bomMixerModels.resolveStructuredData(page, structuredDataCollections, brand);
|
|
6190
6190
|
// image
|
|
6191
|
-
const
|
|
6191
|
+
const media = ((_d = page.meta) === null || _d === void 0 ? void 0 : _d.image) || page.media;
|
|
6192
|
+
const image = media ? media.src || media.url : brand === null || brand === void 0 ? void 0 : brand.logo;
|
|
6192
6193
|
return jsxRuntime.jsxs(Head__default.default, {
|
|
6193
6194
|
children: [jsxRuntime.jsx("title", {
|
|
6194
6195
|
children: title
|
|
@@ -6197,7 +6198,7 @@ function Meta(_a) {
|
|
|
6197
6198
|
content: description
|
|
6198
6199
|
}), false , indexable() ? jsxRuntime.jsx("meta", {
|
|
6199
6200
|
name: "robots",
|
|
6200
|
-
content: ((
|
|
6201
|
+
content: ((_g = page.meta) === null || _g === void 0 ? void 0 : _g.robots) || 'index, follow'
|
|
6201
6202
|
}) : jsxRuntime.jsx("meta", {
|
|
6202
6203
|
name: "robots",
|
|
6203
6204
|
content: "noindex, nofollow"
|