@orangelogic/design-system 2.222.0 → 2.223.0

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.222.0",
4
+ "version": "2.223.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -130,7 +130,7 @@ export declare class ReactCrop extends PureComponent<ReactCropProps, ReactCropSt
130
130
  width: string;
131
131
  } | undefined;
132
132
  dragCrop(): PixelCrop;
133
- getPointRegion(box: Rectangle, origOrd: Ords | undefined, minWidth: number, minHeight: number): XYOrds;
133
+ getPointRegion(box: Rectangle): XYOrds;
134
134
  resolveMinDimensions(box: Rectangle, aspect: number, minWidth?: number, minHeight?: number): number[];
135
135
  resizeCrop(): PixelCrop;
136
136
  renderCropSelection(): import("react/jsx-runtime").JSX.Element | undefined;
@@ -23,7 +23,7 @@ export default class ConfigsController {
23
23
  'version-label'?: string;
24
24
  'waveform-src'?: string;
25
25
  width: string;
26
- }>[] | import('../../../types/src/content-builder').PropertyConfig<{
26
+ }>[] | import('../../../types/src/content-builder').PropertyConfig[] | import('../../../types/src/content-builder').PropertyConfig<{
27
27
  'asset-button-type': import('./blocks/button/button').default["assetType"];
28
28
  'asset-src': import('./blocks/button/button').default["assetSrc"];
29
29
  'asset-type': import('./blocks/button/button').default["assetType"];
@@ -288,7 +288,7 @@ export default class ConfigsController {
288
288
  'use-custom-alt-dark-mode': import('./blocks/image/image').default["useCustomAltDarkMode"];
289
289
  width: import('./blocks/image/image').default["width"];
290
290
  'zoom-style'?: import('./blocks/image/image').default["zoomStyle"];
291
- }>[] | import('../../../types/src/content-builder').PropertyConfig[] | import('../../../types/src/content-builder').PropertyConfig<{
291
+ }>[] | import('../../../types/src/content-builder').PropertyConfig<{
292
292
  'can-search-by-icon': import('../../../molecules/src/index.ts').CxSearchBox["canSearchByIcon"];
293
293
  label: import('../../../molecules/src/index.ts').CxSearchBox["label"];
294
294
  placeholder: import('../../../molecules/src/index.ts').CxSearchBox["placeholder"];
@@ -11,6 +11,11 @@ type FontPickerStoredValues = {
11
11
  style: string;
12
12
  weight: string;
13
13
  };
14
+ /**
15
+ * Validates an "Open link" target: an absolute or intranet URL, or a relative
16
+ * URL resolved against the current site at click time (see `openLink`).
17
+ */
18
+ export declare function isValidClickLink(clickLink: string): boolean;
14
19
  export declare function getTemplateClass(templateId: string): string;
15
20
  export declare function getContentConfigs(traits: PropertyConfig[], adHocProperties: string[]): string[];
16
21
  export declare function getLimitedBlocks(blockType: BlockType): BlockType[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.222.0",
4
+ "version": "2.223.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {