@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/guideline-blocks-settings",
3
- "version": "0.28.5",
3
+ "version": "0.28.6",
4
4
  "description": "Provides types and helpers for the guideline block development",
5
5
  "sideEffects": false,
6
6
  "main": "dist/index.umd.js",
@@ -57,7 +57,7 @@
57
57
  "@dnd-kit/core": "^6.0.8",
58
58
  "@dnd-kit/modifiers": "^6.0.1",
59
59
  "@dnd-kit/sortable": "^7.0.2",
60
- "@frontify/fondue": "12.0.0-beta.304",
60
+ "@frontify/fondue": "12.0.0-beta.309",
61
61
  "@react-aria/focus": "^3.13.0",
62
62
  "@react-stately/overlays": "^3.6.0",
63
63
  "@udecode/plate": "^21",
@@ -65,7 +65,7 @@
65
65
  "slate": "^0.94.1",
66
66
  "slate-react": "^0.97.1",
67
67
  "@frontify/app-bridge": "3.0.0-beta.88",
68
- "@frontify/sidebar-settings": "0.6.3"
68
+ "@frontify/sidebar-settings": "0.6.4"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "^18",
@@ -1,6 +1,6 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock } from '@frontify/app-bridge';
3
+ import type { AppBridgeBlock, AppBridgeTheme } from '@frontify/app-bridge';
4
4
  import { ButtonSize, Checkbox, CheckboxState, FormControl, TextInput, TooltipPosition } from '@frontify/fondue';
5
5
  import { LinkSelector } from './LinkSelector';
6
6
  import { isValidUrlOrEmpty as internalIsValidUrlOrEmpty } from './utils';
@@ -15,7 +15,7 @@ type LinkInputProps = {
15
15
  onUrlChange?: (value: string) => void;
16
16
  onToggleTab?: (checked: boolean) => void;
17
17
  isValidUrlOrEmpty?: (url: string) => boolean;
18
- appBridge: AppBridgeBlock;
18
+ appBridge: AppBridgeBlock | AppBridgeTheme;
19
19
  clearable?: boolean;
20
20
  placeholder?: string;
21
21
  buttonSize?: ButtonSize;
@@ -1,6 +1,6 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock } from '@frontify/app-bridge';
3
+ import type { AppBridgeBlock, AppBridgeTheme } from '@frontify/app-bridge';
4
4
  import { useEffect, useState } from 'react';
5
5
  import { PageLinks } from './PageLinks';
6
6
  import { IconColorFan16, merge } from '@frontify/fondue';
@@ -12,7 +12,7 @@ type DocumentLinkProps = {
12
12
  title: string;
13
13
  permanentLink: string;
14
14
  };
15
- appBridge: AppBridgeBlock;
15
+ appBridge: AppBridgeBlock | AppBridgeTheme;
16
16
  selectedUrl: string;
17
17
  onSelectUrl: (url: string) => void;
18
18
  itemsToExpandInitially: InitiallyExpandedItems;
@@ -1,13 +1,13 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock, Document } from '@frontify/app-bridge';
3
+ import type { AppBridgeBlock, AppBridgeTheme, Document } from '@frontify/app-bridge';
4
4
  import { LoadingCircle } from '@frontify/fondue';
5
5
  import { ReactElement, useEffect, useState } from 'react';
6
6
  import { DocumentLink } from './DocumentLink';
7
7
  import { InitiallyExpandedItems } from '../';
8
8
 
9
9
  type DocumentLinksProps = {
10
- appBridge: AppBridgeBlock;
10
+ appBridge: AppBridgeBlock | AppBridgeTheme;
11
11
  selectedUrl: string;
12
12
  onSelectUrl: (url: string) => void;
13
13
  };
@@ -1,13 +1,13 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock } from '@frontify/app-bridge';
3
+ import type { AppBridgeBlock, AppBridgeTheme } from '@frontify/app-bridge';
4
4
  import { Button, ButtonEmphasis, ButtonSize, ButtonStyle, ButtonType, IconLink, Modal } from '@frontify/fondue';
5
5
  import { useOverlayTriggerState } from '@react-stately/overlays';
6
6
  import { KeyboardEvent, ReactElement, useEffect, useState } from 'react';
7
7
  import { DocumentLinks } from './DocumentLinks';
8
8
 
9
9
  type LinkSelectorProps = {
10
- appBridge: AppBridgeBlock;
10
+ appBridge: AppBridgeBlock | AppBridgeTheme;
11
11
  url: string;
12
12
  onUrlChange?: (value: string) => void;
13
13
  buttonSize?: ButtonSize;
@@ -1,6 +1,6 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock, useDocumentSection } from '@frontify/app-bridge';
3
+ import { AppBridgeBlock, AppBridgeTheme, useDocumentSection } from '@frontify/app-bridge';
4
4
  import { merge } from '@frontify/fondue';
5
5
  import { useEffect, useState } from 'react';
6
6
  import { InitiallyExpandedItems } from '../';
@@ -14,7 +14,7 @@ type DocumentLinkProps = {
14
14
  };
15
15
  selectedUrl: string;
16
16
  onSelectUrl: (url: string) => void;
17
- appBridge: AppBridgeBlock;
17
+ appBridge: AppBridgeBlock | AppBridgeTheme;
18
18
  itemsToExpandInitially: InitiallyExpandedItems;
19
19
  };
20
20
 
@@ -1,13 +1,13 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- import { AppBridgeBlock, DocumentPage } from '@frontify/app-bridge';
3
+ import type { AppBridgeBlock, AppBridgeTheme, DocumentPage } from '@frontify/app-bridge';
4
4
  import { LoadingCircle } from '@frontify/fondue';
5
5
  import { ReactElement, useEffect, useState } from 'react';
6
6
  import { InitiallyExpandedItems } from '../';
7
7
  import { PageLink } from './PageLink';
8
8
 
9
9
  type PageLinksProps = {
10
- appBridge: AppBridgeBlock;
10
+ appBridge: AppBridgeBlock | AppBridgeTheme;
11
11
  documentId: number;
12
12
  selectedUrl: string;
13
13
  onSelectUrl: (url: string) => void;