beca-ui 2.0.10-beta.2 → 2.0.10-beta.21

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,3 @@
1
+ import { SelectFieldProps } from "./SelectField.types";
2
+ declare const SelectField: (props: SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SelectField;
@@ -0,0 +1,10 @@
1
+ import { OptionProps as AntOptionProps } from "rc-select/lib/Option";
2
+ import { SelectProps } from "../Select/Select.types";
3
+ import { FormItemProps } from "../Form";
4
+ export interface OptionProps extends AntOptionProps {
5
+ }
6
+ export type PopupPosition = "relative" | "fixed";
7
+ export interface SelectFieldProps {
8
+ selectProps: SelectProps;
9
+ formItemProps?: FormItemProps;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { SelectFieldProps } from "./SelectField.types";
2
+ export { default as SelectField } from "./SelectField";
3
+ export type { SelectFieldProps };
@@ -1,7 +1,7 @@
1
1
  import { Editor, Node } from "@tiptap/react";
2
2
  import { Node as ProseMirrorNode } from "prosemirror-model";
3
3
  import { Decoration } from "@tiptap/pm/view";
4
- interface Props {
4
+ interface NodeViewProps {
5
5
  editor: Editor;
6
6
  node: ProseMirrorNode;
7
7
  decorations: Decoration;
@@ -11,5 +11,5 @@ interface Props {
11
11
  updateAttributes: (attributes: Record<string, any>) => void;
12
12
  deleteNode: () => void;
13
13
  }
14
- export declare const NodeView: (props: Props) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const NodeView: (props: NodeViewProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -13,6 +13,7 @@ declare module "@tiptap/core" {
13
13
  width?: string;
14
14
  height?: string;
15
15
  }) => ReturnType;
16
+ setMediaAlign: (align: "left" | "center" | "right") => ReturnType;
16
17
  };
17
18
  }
18
19
  }
@@ -0,0 +1,2 @@
1
+ import { Extension } from "@tiptap/core";
2
+ export declare const SmilieReplacer: Extension<any, any>;
@@ -15,6 +15,7 @@ export * from "./Input";
15
15
  export * from "./AutoComplete";
16
16
  export * from "./InputNumber";
17
17
  export * from "./Select";
18
+ export * from "./SelectField";
18
19
  export * from "./Form";
19
20
  export * from "./Spin";
20
21
  export * from "./Radio";
@@ -1,5 +1,6 @@
1
1
  type DeviceType = "Chrome" | "Firefox" | "Safari";
2
2
  export declare function useDevice(): {
3
3
  os: DeviceType;
4
+ isMobileApp: boolean;
4
5
  };
5
6
  export {};