@integry/sdk 4.4.11 → 4.4.13

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.
@@ -163,6 +163,10 @@ declare enum ViewStyles {
163
163
  COMPACT = "COMPACT",
164
164
  COMFORTABLE = "COMFORTABLE"
165
165
  }
166
+ declare enum Layouts {
167
+ NARROW = "COMPACT",
168
+ WIDE = "COMFORTABLE"
169
+ }
166
170
  declare enum TemplateFormRenderModes {
167
171
  MODAL = "MODAL",
168
172
  INLINE = "INLINE",
@@ -173,6 +177,10 @@ declare enum MarketplaceRenderModes {
173
177
  MODAL = "MODAL",
174
178
  INLINE = "INLINE"
175
179
  }
180
+ declare enum RenderModes {
181
+ MODAL = "MODAL",
182
+ INLINE = "INLINE"
183
+ }
176
184
  declare enum TemplateListingRenderModes {
177
185
  GRID = "GRID",
178
186
  LIST = "LIST"
@@ -534,6 +542,7 @@ declare class IntegryJS {
534
542
  // allow customers to use template tagging
535
543
  static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
536
544
  static RenderModes: typeof TemplateFormRenderModes;
545
+ static Layouts: typeof Layouts;
537
546
  static ViewStyles: typeof ViewStyles;
538
547
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
539
548
  static Helpers: {
@@ -621,7 +630,7 @@ declare class IntegryJS {
621
630
  */
622
631
  renderMarketplace: (marketplaceConfig: MarketplaceConfig) => void;
623
632
  renderAppFlows: (appFlowConfig: InitConfig) => void;
624
- showApps: (apps?: string[], renderMode?: MarketplaceRenderModes, containerId?: string) => void;
633
+ showApps: (renderMode?: RenderModes, containerId?: string, layout?: Layouts) => void;
625
634
  renderMultipurposeField: ({ containerId, multipurposeFieldProps }: {
626
635
  containerId: string;
627
636
  multipurposeFieldProps: MultipurposeFieldType;