@frontify/fondue 12.0.8 → 12.0.10

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
@@ -219,6 +219,24 @@ export declare type ActionMenuProps = {
219
219
  focus?: FocusStrategy;
220
220
  border?: boolean;
221
221
  scrollable?: boolean;
222
+ /**
223
+ * @deprecated Use the onClick method available on each `menuItem` in the `menuBlocks` instead.
224
+ * @example
225
+ * <ActionMenu
226
+ menuBlocks={[
227
+ {
228
+ id: 'menu-block-1',
229
+ menuItems: [
230
+ {
231
+ id: 'menu-item-1',
232
+ label: 'Item 1',
233
+ onClick: () => console.log('Item 1 clicked');
234
+ },
235
+ ],
236
+ },
237
+ ]}
238
+ />
239
+ * */
222
240
  onClick?: () => void;
223
241
  };
224
242
 
@@ -334,6 +352,9 @@ export declare type AriaOptionProps = {
334
352
  node: Node_2<object>;
335
353
  isSelected?: boolean;
336
354
  state: TreeState_2<object>;
355
+ /**
356
+ * @deprecated Use `menuItem.onClick` instead
357
+ * */
337
358
  onClick?: () => void;
338
359
  };
339
360
 
@@ -11943,6 +11964,9 @@ export declare type LibrarySource = {
11943
11964
  sourceName: string;
11944
11965
  };
11945
11966
 
11967
+ /**
11968
+ * @deprecated Please use the new LinkInput component from `@frontify/guideline-block-settings`.
11969
+ */
11946
11970
  export declare const LinkChooser: ({ getGlobalByQuery, openPreview, clipboardOptions, selectedResult, openInNewTab, ariaLabel, extraSections, label, placeholder, onOpenInNewTabChange, onLinkChange, disabled, clearable, required, validation, "data-test-id": dataTestId, }: LinkChooserProps) => ReactElement;
11947
11971
 
11948
11972
  export declare type LinkChooserContext = {