@sitecore-content-sdk/react 2.2.0-canary.20260527110239 → 3.0.0-canary.20260604121341

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.
@@ -15,7 +15,7 @@ import { addClassName } from '../utils';
15
15
  import { withFieldMetadata } from '../enhancers/withFieldMetadata';
16
16
  import { withEmptyFieldEditingComponent } from '../enhancers/withEmptyFieldEditingComponent';
17
17
  import { DefaultEmptyFieldEditingComponentImage } from './DefaultEmptyFieldEditingComponents';
18
- import { isFieldValueEmpty } from '@sitecore-content-sdk/content/layout';
18
+ import { isFieldValueEmpty, } from '@sitecore-content-sdk/content/layout';
19
19
  const getImageAttrs = (_a, imageParams, mediaUrlPrefix) => {
20
20
  var { src, srcSet } = _a, otherAttrs = __rest(_a, ["src", "srcSet"]);
21
21
  if (!src) {
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  return t;
12
12
  };
13
13
  import React from 'react';
14
- import { isFieldValueEmpty } from '@sitecore-content-sdk/content/layout';
14
+ import { isFieldValueEmpty, } from '@sitecore-content-sdk/content/layout';
15
15
  import { withFieldMetadata } from '../enhancers/withFieldMetadata';
16
16
  import { withEmptyFieldEditingComponent } from '../enhancers/withEmptyFieldEditingComponent';
17
17
  import { DefaultEmptyFieldEditingComponentText } from './DefaultEmptyFieldEditingComponents';
package/dist/esm/index.js CHANGED
@@ -6,7 +6,7 @@ export { DefaultRetryStrategy, GraphQLRequestClient, ErrorPage, } from '@sitecor
6
6
  export { mediaApi } from '@sitecore-content-sdk/content/media';
7
7
  export { Form } from './components/Form';
8
8
  export { Placeholder, AppPlaceholder, PlaceholderMetadata, renderEmptyPlaceholder, } from './components/Placeholder';
9
- export { Image, } from './components/Image';
9
+ export { Image } from './components/Image';
10
10
  export { RichText } from './components/RichText';
11
11
  export { Text } from './components/Text';
12
12
  export { DateField } from './components/Date';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-content-sdk/react",
3
- "version": "2.2.0-canary.20260527110239",
3
+ "version": "3.0.0-canary.20260604121341",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -32,7 +32,7 @@
32
32
  "url": "https://github.com/sitecore/content-sdk/issues"
33
33
  },
34
34
  "devDependencies": {
35
- "@sitecore-content-sdk/analytics-core": "2.1.1-canary.20260527110239",
35
+ "@sitecore-content-sdk/analytics-core": "2.2.0-canary.20260604121341",
36
36
  "@sitecore-feaas/clientside": "^0.6.0",
37
37
  "@stylistic/eslint-plugin": "^5.2.2",
38
38
  "@testing-library/dom": "^10.4.0",
@@ -71,16 +71,16 @@
71
71
  "typescript": "~5.8.3"
72
72
  },
73
73
  "peerDependencies": {
74
- "@sitecore-content-sdk/analytics-core": "2.1.1-canary.20260527110239",
75
- "@sitecore-content-sdk/events": "2.1.1-canary.20260527110239",
74
+ "@sitecore-content-sdk/analytics-core": "2.2.0-canary.20260604121341",
75
+ "@sitecore-content-sdk/events": "2.2.0-canary.20260604121341",
76
76
  "@sitecore-feaas/clientside": "^0.6.0",
77
77
  "react": "^19.2.1",
78
78
  "react-dom": "^19.2.1"
79
79
  },
80
80
  "dependencies": {
81
- "@sitecore-content-sdk/content": "2.2.0-canary.20260527110239",
82
- "@sitecore-content-sdk/core": "2.1.1-canary.20260527110239",
83
- "@sitecore-content-sdk/search": "0.3.1-canary.20260527110239",
81
+ "@sitecore-content-sdk/content": "3.0.0-canary.20260604121341",
82
+ "@sitecore-content-sdk/core": "2.2.0-canary.20260604121341",
83
+ "@sitecore-content-sdk/search": "0.4.0-canary.20260604121341",
84
84
  "fast-deep-equal": "^3.1.3"
85
85
  },
86
86
  "description": "",
@@ -1,42 +1,6 @@
1
1
  import React from 'react';
2
2
  import { EditableFieldProps } from './sharedTypes';
3
- import { FieldMetadata } from '@sitecore-content-sdk/content/layout';
4
- /**
5
- * The interface for the Image field value.
6
- * @public
7
- */
8
- export interface ImageFieldValue {
9
- [attributeName: string]: unknown;
10
- src?: string;
11
- }
12
- /**
13
- * The interface for the Image field.
14
- * @public
15
- */
16
- export interface ImageField {
17
- value?: ImageFieldValue;
18
- }
19
- /**
20
- * The interface for the Image size parameters.
21
- * @public
22
- */
23
- export interface ImageSizeParameters {
24
- [attr: string]: string | number | undefined;
25
- /** Fixed width of the image */
26
- w?: number;
27
- /** Fixed height of the image */
28
- h?: number;
29
- /** Max width of the image */
30
- mw?: number;
31
- /** Max height of the image */
32
- mh?: number;
33
- /** Ignore aspect ratio */
34
- iar?: 1 | 0;
35
- /** Allow stretch */
36
- as?: 1 | 0;
37
- /** Image scale. Defaults to 1.0 */
38
- sc?: number;
39
- }
3
+ import { FieldMetadata, type ImageField, type ImageFieldValue, type ImageSizeParameters } from '@sitecore-content-sdk/content/layout';
40
4
  /**
41
5
  * The interface for the Image component props.
42
6
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../src/components/Image.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAGrE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC;CAEd;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5C,+BAA+B;IAC/B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,6BAA6B;IAC7B,EAAE,CAAC,E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AEvD;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;KACtC,CAAC;IAEF,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAE/B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAGzB;AAsED;;;;GAIG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAItC,CAAC"}
@@ -1,29 +1,6 @@
1
1
  import React, { RefAttributes } from 'react';
2
- import { FieldMetadata } from '@sitecore-content-sdk/content/layout';
2
+ import { FieldMetadata, type LinkField, type LinkFieldValue } from '@sitecore-content-sdk/content/layout';
3
3
  import { EditableFieldProps } from './sharedTypes';
4
- /**
5
- * The interface for the Link field value.
6
- * @public
7
- */
8
- export interface LinkFieldValue {
9
- [attributeName: string]: unknown;
10
- href?: string;
11
- className?: string;
12
- class?: string;
13
- title?: string;
14
- target?: string;
15
- text?: string;
16
- anchor?: string;
17
- querystring?: string;
18
- linktype?: string;
19
- }
20
- /**
21
- * The interface for the Link field.
22
- * @public
23
- */
24
- export interface LinkField {
25
- value: LinkFieldValue;
26
- }
27
4
  /**
28
5
  * The interface for the Link component props.
29
6
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/components/Link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAqB,MAAM,sCAAsC,CAAC;AAIxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;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E,OAAO,CAAC;CAC3C,CAAC;AAkDJ;;;;GAIG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAIpC,CAAC"}
@@ -1,13 +1,6 @@
1
1
  import React from 'react';
2
- import { FieldMetadata } from '@sitecore-content-sdk/content/layout';
2
+ import { type RichTextField } from '@sitecore-content-sdk/content/layout';
3
3
  import { EditableFieldProps } from './sharedTypes';
4
- /**
5
- * The interface for the RichText field.
6
- * @public
7
- */
8
- export interface RichTextField extends FieldMetadata {
9
- value?: string;
10
- }
11
4
  /**
12
5
  * The interface for the RichText component props.
13
6
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../src/components/RichText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAqB,MAAM,sCAAsC,CAAC;AAIxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,kBAAkB,CAAC,aAAa,CAAC;IACtE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,gCAAgC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B;AAsBD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAI5C,CAAC"}
1
+ {"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../src/components/RichText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAI7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,aAAc,SAAQ,kBAAkB,CAAC,aAAa,CAAC;IACtE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,gCAAgC;IAChC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;CAC9B;AAsBD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAI5C,CAAC"}
@@ -1,13 +1,6 @@
1
1
  import React from 'react';
2
- import { FieldMetadata } from '@sitecore-content-sdk/content/layout';
2
+ import { type TextField } from '@sitecore-content-sdk/content/layout';
3
3
  import { EditableFieldProps } from './sharedTypes';
4
- /**
5
- * The interface for the Text field.
6
- * @public
7
- */
8
- export interface TextField extends FieldMetadata {
9
- value?: string | number;
10
- }
11
4
  export interface TextProps extends EditableFieldProps<TextProps> {
12
5
  [htmlAttributes: string]: unknown;
13
6
  /** The text field data. */
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAqB,MAAM,sCAAsC,CAAC;AAIxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,SAAS,CAAC;IAC9D,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAkED;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAIpC,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/components/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAIzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,SAAS,CAAC;IAC9D,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAwED;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAIpC,CAAC"}
package/types/index.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  export { constants, enableDebug, ClientError, CacheClient, CacheOptions, MemoryCacheClient, NativeDataFetcher, NativeDataFetcherResponse, NativeDataFetcherConfig, } from '@sitecore-content-sdk/core';
2
2
  export { EnhancedOmit } from '@sitecore-content-sdk/core/tools';
3
3
  export { isEditorActive, resetEditorChromes } from '@sitecore-content-sdk/content/editing';
4
- export { getContentStylesheetLink, getDesignLibraryStylesheetLinks, LayoutServiceData, LayoutServicePageState, LayoutServiceContext, LayoutServiceContextData, LayoutService, RouteData, Field, Item, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, EditMode, } from '@sitecore-content-sdk/content/layout';
4
+ export { getContentStylesheetLink, getDesignLibraryStylesheetLinks, LayoutServiceData, LayoutServicePageState, LayoutServiceContext, LayoutServiceContextData, LayoutService, RouteData, Field, Item, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, EditMode, ImageField, ImageFieldValue, ImageSizeParameters, LinkField, LinkFieldValue, TextField, RichTextField, } from '@sitecore-content-sdk/content/layout';
5
5
  export { DictionaryPhrases, DictionaryService } from '@sitecore-content-sdk/content/i18n';
6
6
  export { GraphQLClientError, RetryStrategy, DefaultRetryStrategy, GraphQLRequestClientFactoryConfig, GraphQLRequestClient, PageMode, ErrorPage, Page, } from '@sitecore-content-sdk/content/client';
7
7
  export { mediaApi } from '@sitecore-content-sdk/content/media';
8
8
  export { Form } from './components/Form';
9
9
  export { ReactContentSdkComponent, ComponentMap, ReactModule } from './components/sharedTypes';
10
10
  export { Placeholder, PlaceholderProps, PlaceholderProps as PlaceholderComponentProps, AppPlaceholder, PlaceholderMetadata, AppPlaceholderProps, renderEmptyPlaceholder, } from './components/Placeholder';
11
- export { Image, ImageProps, ImageField, ImageFieldValue, ImageSizeParameters, } from './components/Image';
12
- export { RichText, RichTextProps, RichTextField } from './components/RichText';
13
- export { Text, TextField } from './components/Text';
11
+ export { Image, ImageProps } from './components/Image';
12
+ export { RichText, RichTextProps } from './components/RichText';
13
+ export { Text } from './components/Text';
14
14
  export { DateField, DateFieldProps } from './components/Date';
15
15
  export { FEaaSComponent, FEaaSComponentProps, FEaaSComponentParams, fetchFEaaSComponentServerProps, BYOCComponent, BYOCComponentParams, BYOCComponentProps, fetchBYOCComponentServerProps, BYOCWrapper, BYOCWrapper as BYOCClientWrapper, FEaaSWrapper, FEaaSWrapper as FEaaSClientWrapper, FEaaSServerWrapper, BYOCServerWrapper, } from './components/FEaaS';
16
16
  export { DesignLibrary, DesignLibraryErrorBoundary, DynamicComponent, ImportMapImport, } from './components/DesignLibrary';
17
17
  export {} from './components/FEaaS/BYOCComponent';
18
- export { Link, LinkField, LinkFieldValue, LinkProps } from './components/Link';
18
+ export { Link, LinkProps } from './components/Link';
19
19
  export { File, FileField } from './components/File';
20
20
  export { SitecoreProvider, SitecoreProviderState, SitecoreProviderReactContext, useSitecore, } from './components/SitecoreProvider';
21
21
  export { ErrorComponent } from './components/ErrorBoundary';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EACL,wBAAwB,EACxB,+BAA+B,EAC/B,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,aAAa,EACb,SAAS,EACT,KAAK,EACL,IAAI,EACJ,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,QAAQ,GACT,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,iCAAiC,EACjC,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,IAAI,GACL,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC/F,OAAO,EACL,WAAW,EACX,gBAAgB,E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