@contentful/experiences-sdk-react 1.0.1 → 1.0.2-beta.1
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/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/src/sdkVersion.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import * as Components from '@contentful/experiences-components-react';
|
|
|
9
9
|
import { ContentfulContainer, Columns, SingleColumn } from '@contentful/experiences-components-react';
|
|
10
10
|
import styleInject from 'style-inject';
|
|
11
11
|
|
|
12
|
-
const SDK_VERSION = '1.0.
|
|
12
|
+
const SDK_VERSION = '1.0.2-beta.0';
|
|
13
13
|
|
|
14
14
|
var util;
|
|
15
15
|
(function (util) {
|
|
@@ -4096,6 +4096,13 @@ const BoundValueSchema = z
|
|
|
4096
4096
|
path: z.string(),
|
|
4097
4097
|
})
|
|
4098
4098
|
.strict();
|
|
4099
|
+
const HyperlinkValueSchema = z
|
|
4100
|
+
.object({
|
|
4101
|
+
type: z.literal('HyperlinkValue'),
|
|
4102
|
+
linkTargetKey: z.string(),
|
|
4103
|
+
overrides: z.object({}).optional(),
|
|
4104
|
+
})
|
|
4105
|
+
.strict();
|
|
4099
4106
|
const UnboundValueSchema = z
|
|
4100
4107
|
.object({
|
|
4101
4108
|
type: z.literal('UnboundValue'),
|
|
@@ -4112,6 +4119,7 @@ const ComponentPropertyValueSchema = z.discriminatedUnion('type', [
|
|
|
4112
4119
|
DesignValueSchema,
|
|
4113
4120
|
BoundValueSchema,
|
|
4114
4121
|
UnboundValueSchema,
|
|
4122
|
+
HyperlinkValueSchema,
|
|
4115
4123
|
ComponentValueSchema,
|
|
4116
4124
|
]);
|
|
4117
4125
|
const BreakpointSchema = z
|