@scbt-ecom/ui 0.24.0 → 0.24.1

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.
@@ -4,7 +4,6 @@ import { TAllowedIcons } from '..';
4
4
  declare const customLinkConfig: (props?: ({
5
5
  intent?: "blue" | "white" | null | undefined;
6
6
  withUnderline?: boolean | null | undefined;
7
- withIcon?: boolean | null | undefined;
8
7
  disabled?: boolean | null | undefined;
9
8
  size?: "sm" | "md" | null | undefined;
10
9
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -17,5 +16,5 @@ export interface ICustomLinkProps extends TCustomLinkConfig, Omit<ComponentProps
17
16
  icon?: TAllowedIcons;
18
17
  classes?: TCustomLinkClasses;
19
18
  }
20
- export declare const CustomLink: ({ intent, children, withIcon, disabled, size, icon, classes, withUnderline, ...props }: ICustomLinkProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const CustomLink: ({ intent, children, disabled, size, icon, classes, withUnderline, ...props }: ICustomLinkProps) => import("react/jsx-runtime").JSX.Element;
21
20
  export {};
@@ -1 +1 @@
1
- export declare const editorConfig: (import('@tiptap/core').Extension<import('@tiptap/starter-kit').StarterKitOptions, any> | import('@tiptap/core').Mark<import('@tiptap/extension-underline').UnderlineOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-color').ColorOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-heading').HeadingOptions, any>)[];
1
+ export declare const editorConfig: (import('@tiptap/core').Extension<import('@tiptap/starter-kit').StarterKitOptions, any> | import('@tiptap/core').Mark<import('@tiptap/extension-underline').UnderlineOptions, any> | import('@tiptap/core').Extension<import('@tiptap/extension-color').ColorOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-heading').HeadingOptions, any> | import('@tiptap/core').Node<import('@tiptap/extension-hard-break').HardBreakOptions, any>)[];
@@ -1,4 +1,4 @@
1
1
  export { SetCoreCommands } from './SetCoreCommands';
2
2
  export { SetHeadings } from './SetHeadings';
3
- export { SetLink } from './SetLink';
4
3
  export { SetColor } from './SetColor';
4
+ export { SetCustomLink } from './setCustomLink';
@@ -0,0 +1,6 @@
1
+ import { Editor } from '@tiptap/react';
2
+ interface ISetCustomLinkProps {
3
+ editor: Editor;
4
+ }
5
+ export declare const SetCustomLink: ({ editor }: ISetCustomLinkProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -9,4 +9,5 @@ export declare const VALIDATION_MESSAGES: {
9
9
  readonly INVALID_VALUE: "Поле заполнено некорректно";
10
10
  readonly INVALID_DATE: "Введите корректную дату";
11
11
  readonly FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей";
12
+ readonly INVALID_URL: "Некорректная ссылка";
12
13
  };