@foodpilot/foods 0.5.21 → 0.5.22

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.
@@ -0,0 +1,8 @@
1
+ import { Editor } from '@tiptap/react';
2
+ interface LinkDialogProps {
3
+ editor: Editor;
4
+ open: boolean;
5
+ onClose: () => void;
6
+ }
7
+ export declare const LinkDialog: (props: LinkDialogProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare const LINK_DIALOG: {
2
+ TITLE: string;
3
+ CANCEL: string;
4
+ INSERT: string;
5
+ UPDATE: string;
6
+ URL_LABEL: string;
7
+ URL_PLACEHOLDER: string;
8
+ TEXT_LABEL: string;
9
+ TEXT_PLACEHOLDER: string;
10
+ };
@@ -1,12 +1,18 @@
1
1
  import { Theme } from '@mui/material/styles';
2
2
  export declare const getOutputStyles: (theme: Theme) => {
3
- '& .score': {
3
+ '& .label': {
4
4
  border: string;
5
5
  background: "#FEFCFB";
6
6
  borderRadius: string;
7
7
  padding: string;
8
8
  margin: string;
9
9
  };
10
+ '& a': {
11
+ color: string;
12
+ '&:hover': {
13
+ textDecoration: string;
14
+ };
15
+ };
10
16
  '& .inline-svg-icon': {
11
17
  height: string;
12
18
  verticalAlign: string;
@@ -0,0 +1,11 @@
1
+ import { Mark } from '@tiptap/core';
2
+ declare module '@tiptap/core' {
3
+ interface Commands<ReturnType> {
4
+ label: {
5
+ setLabel: () => ReturnType;
6
+ toggleLabel: () => ReturnType;
7
+ unsetLabel: () => ReturnType;
8
+ };
9
+ }
10
+ }
11
+ export declare const LabelExtension: Mark<any, any>;
@@ -0,0 +1,6 @@
1
+ import { Editor } from '@tiptap/react';
2
+ interface InsertLinkProps {
3
+ editor: Editor;
4
+ }
5
+ export default function InsertLink({ editor }: InsertLinkProps): import("react/jsx-runtime").JSX.Element | null;
6
+ export {};