@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/CHANGELOG.md +11 -0
- package/dist/components/Link/LinkInput.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/DocumentLink.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/DocumentLinks.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/LinkSelector.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/PageLink.es.js.map +1 -1
- package/dist/components/Link/LinkSelector/PageLinks.es.js.map +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Link/LinkInput.tsx +2 -2
- package/src/components/Link/LinkSelector/DocumentLink.tsx +2 -2
- package/src/components/Link/LinkSelector/DocumentLinks.tsx +2 -2
- package/src/components/Link/LinkSelector/LinkSelector.tsx +2 -2
- package/src/components/Link/LinkSelector/PageLink.tsx +2 -2
- package/src/components/Link/LinkSelector/PageLinks.tsx +2 -2
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;
|