@orangelogic/design-system 2.195.0 → 2.197.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/chunks/{asset-link-format.BFxmPgwt.js → asset-link-format.B1YOFow9.js} +586 -583
- package/library/components/asset-link-format.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +597 -593
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -0
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +10 -0
- package/library/packages/types/src/content-builder.d.ts +1 -0
- package/package.json +1 -1
package/library/package.json
CHANGED
package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts
CHANGED
|
@@ -93,6 +93,14 @@ export default class CxGalleryPicker extends CortexElement implements CortexForm
|
|
|
93
93
|
private readonly maxColumns;
|
|
94
94
|
private readonly rowHeight;
|
|
95
95
|
private readonly spacing;
|
|
96
|
+
/**
|
|
97
|
+
* Proxy the picker's thumbnails are always served from.
|
|
98
|
+
*
|
|
99
|
+
* The picker shows the author which asset they are choosing, in a fixed-size grid, so it
|
|
100
|
+
* pins one small proxy instead of following the block's configured format — the format
|
|
101
|
+
* the block will render at says nothing about what this preview needs.
|
|
102
|
+
*/
|
|
103
|
+
private static readonly THUMBNAIL_FORMAT;
|
|
96
104
|
private autofetchController;
|
|
97
105
|
/** Gets the validity state object */
|
|
98
106
|
get validity(): {
|
|
@@ -89,6 +89,7 @@ export default class StyleController {
|
|
|
89
89
|
objectIdKey?: string;
|
|
90
90
|
prescribedDocTypes?: import('../../../types/src/download-format-picker').DownloadDocType[];
|
|
91
91
|
};
|
|
92
|
+
excludeFromContentConfigs?: boolean;
|
|
92
93
|
folderPickerConfigs?: {
|
|
93
94
|
useAllowedFolders?: boolean;
|
|
94
95
|
useFullPath?: boolean;
|
|
@@ -14,6 +14,14 @@ type FetchImageControllerOptions = {
|
|
|
14
14
|
* asset exactly as stored (an editor preview, say) never picks this up by accident.
|
|
15
15
|
*/
|
|
16
16
|
autoFormat?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether items carry a `srcset` resize ladder.
|
|
19
|
+
*
|
|
20
|
+
* Defaults to `false`. A fixed-size surface (an editor preview, a thumbnail strip) renders
|
|
21
|
+
* one known size, so a ladder there only adds `/t/re_w_*` renditions the layout can never
|
|
22
|
+
* use. Opt in from a surface whose images are actually laid out responsively.
|
|
23
|
+
*/
|
|
24
|
+
buildSrcset?: boolean;
|
|
17
25
|
isSiteBuilder?: boolean;
|
|
18
26
|
maxEnd?: number;
|
|
19
27
|
pageSize?: number;
|
|
@@ -34,6 +42,8 @@ export declare class FetchImageController implements ReactiveController {
|
|
|
34
42
|
private readonly isSiteBuilder;
|
|
35
43
|
/** Whether delivery URLs carry the `.auto` marker. See `FetchImageControllerOptions`. */
|
|
36
44
|
private readonly autoFormat;
|
|
45
|
+
/** Whether items carry a `srcset` ladder. See `FetchImageControllerOptions`. */
|
|
46
|
+
private readonly buildSrcset;
|
|
37
47
|
private requestEpoch;
|
|
38
48
|
constructor(host: ReactiveElement, options?: FetchImageControllerOptions);
|
|
39
49
|
get totalDataCount(): number;
|
|
@@ -100,6 +100,7 @@ export type PropertyConfig<T = Record<string, any>> = Omit<TraitProperties, 'opt
|
|
|
100
100
|
objectIdKey?: string;
|
|
101
101
|
prescribedDocTypes?: DownloadDocType[];
|
|
102
102
|
};
|
|
103
|
+
excludeFromContentConfigs?: boolean;
|
|
103
104
|
folderPickerConfigs?: {
|
|
104
105
|
useAllowedFolders?: boolean;
|
|
105
106
|
useFullPath?: boolean;
|