@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.
- package/library/components/cropper.js +401 -400
- package/library/components/types.js +9322 -9318
- package/library/package.json +1 -1
- package/library/packages/molecules/src/cropper/react/ReactCrop/ReactCrop.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +2 -2
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +5 -0
- package/package.json +1 -1
package/library/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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[];
|