@frontify/guideline-blocks-settings 0.28.5 → 0.28.6

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/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  import { AnyObject } from '@udecode/plate';
4
4
  import { AppBridgeBlock } from '@frontify/app-bridge';
5
+ import type { AppBridgeTheme } from '@frontify/app-bridge';
5
6
  import { Asset } from '@frontify/app-bridge';
6
7
  import type { AssetInputBlock as AssetInputBlock_2 } from '@frontify/sidebar-settings';
7
8
  import type { BaseBlock as BaseBlock_2 } from '@frontify/sidebar-settings';
@@ -602,7 +603,7 @@ declare type LinkInputProps = {
602
603
  onUrlChange?: (value: string) => void;
603
604
  onToggleTab?: (checked: boolean) => void;
604
605
  isValidUrlOrEmpty?: (url: string) => boolean;
605
- appBridge: AppBridgeBlock;
606
+ appBridge: AppBridgeBlock | AppBridgeTheme;
606
607
  clearable?: boolean;
607
608
  placeholder?: string;
608
609
  buttonSize?: ButtonSize;
@@ -625,7 +626,7 @@ export declare type LinkPluginProps = PluginProps & {
625
626
  export declare const LinkSelector: ({ appBridge, url, onUrlChange, buttonSize, }: LinkSelectorProps) => ReactElement;
626
627
 
627
628
  declare type LinkSelectorProps = {
628
- appBridge: AppBridgeBlock;
629
+ appBridge: AppBridgeBlock | AppBridgeTheme;
629
630
  url: string;
630
631
  onUrlChange?: (value: string) => void;
631
632
  buttonSize?: ButtonSize;