kdpa-components 1.38.3 → 1.38.5
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.js +41 -41
- package/dist/types/components/Input/KdpaInput/KdpaInput.d.ts +10 -2
- package/dist/types/components/Input/KdpaInput/KdpaInput.d.ts.map +1 -1
- package/dist/types/designerKit/components/HTMLEditor/KdHTMLEditor.d.ts +3 -1
- package/dist/types/designerKit/components/HTMLEditor/KdHTMLEditor.d.ts.map +1 -1
- package/dist/types/designerKit/components/HTMLEditor/components/toolbar/Toolbar.d.ts +4 -1
- package/dist/types/designerKit/components/HTMLEditor/components/toolbar/Toolbar.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TextFieldProps } from "@mui/material/TextField";
|
|
3
|
-
export type KdpaInputProps = TextFieldProps
|
|
4
|
-
|
|
3
|
+
export type KdpaInputProps = TextFieldProps & {
|
|
4
|
+
textAlign?: "left" | "right" | "center";
|
|
5
|
+
};
|
|
6
|
+
declare const KdpaInput: React.ForwardRefExoticComponent<(Omit<import("@mui/material/TextField").OutlinedTextFieldProps & {
|
|
7
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
8
|
+
}, "ref"> | Omit<import("@mui/material/TextField").FilledTextFieldProps & {
|
|
9
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
10
|
+
}, "ref"> | Omit<import("@mui/material/TextField").StandardTextFieldProps & {
|
|
11
|
+
textAlign?: "left" | "right" | "center" | undefined;
|
|
12
|
+
}, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
5
13
|
export default KdpaInput;
|
|
6
14
|
//# sourceMappingURL=KdpaInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdpaInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/KdpaInput/KdpaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAiCpE,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"KdpaInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/KdpaInput/KdpaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAiCpE,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC5C,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;CACzC,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;mDA4Bd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import "remirror/styles/all.css";
|
|
2
2
|
import "./KdHtmlEditor.scss";
|
|
3
3
|
import { CSSProperties } from "react";
|
|
4
|
+
export type ToolbarButton = "BOLD" | "ITALIC" | "UNDERLINE" | "STRIKETHROUGH" | "BULLET_LIST" | "ORDERED_LIST" | "TASK_LIST" | "RIGHT_ALIGN" | "CENTER_ALIGN" | "LEFT_ALIGN";
|
|
4
5
|
export interface KdHtmlEditorProps {
|
|
5
6
|
onChange?: (htmlValueString: string) => void;
|
|
6
7
|
defaultValue?: string;
|
|
7
8
|
style?: CSSProperties;
|
|
9
|
+
toolbar?: ToolbarButton[];
|
|
8
10
|
[key: string]: unknown;
|
|
9
11
|
}
|
|
10
|
-
declare const KdHtmlEditor: ({ onChange, defaultValue, style, ...props }: KdHtmlEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const KdHtmlEditor: ({ onChange, defaultValue, style, toolbar, ...props }: KdHtmlEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export default KdHtmlEditor;
|
|
12
14
|
//# sourceMappingURL=KdHTMLEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdHTMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/HTMLEditor/KdHTMLEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"KdHTMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/HTMLEditor/KdHTMLEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,QAAQ,GACR,WAAW,GACX,eAAe,GACf,aAAa,GACb,cAAc,GACd,WAAW,GACX,aAAa,GACb,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,yDAiBf,iBAAiB,4CA2BnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "./toolbar.scss";
|
|
2
|
-
|
|
2
|
+
import { ToolbarButton } from "../../KdHTMLEditor";
|
|
3
|
+
declare function Toolbar({ toolbar }: {
|
|
4
|
+
toolbar: ToolbarButton[];
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
export default Toolbar;
|
|
4
7
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/HTMLEditor/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAcxB,iBAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../../../src/designerKit/components/HTMLEditor/components/toolbar/Toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAcxB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,iBAAS,OAAO,CAAC,EAAE,OAAY,EAAE,EAAE;IAAE,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,2CA0E9D;AAED,eAAe,OAAO,CAAC"}
|