@lets-events/react 12.2.9 → 12.2.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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +1 -1
- package/src/components/FormFields/RichEditorFormField.tsx +2 -1
- package/src/components/RichEditor/QuillComponent.tsx +3 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @lets-events/react@12.2.
|
|
3
|
+
> @lets-events/react@12.2.10 build
|
|
4
4
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
|
5
5
|
|
|
6
6
|
[1G[0K[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
[34mCLI[39m Target: es6
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m379.95 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 300ms
|
|
15
|
+
[32mCJS[39m [1mdist/index.js [22m[32m393.90 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 301ms
|
|
17
17
|
DTS Build start
|
|
18
|
-
DTS ⚡️ Build success in
|
|
18
|
+
DTS ⚡️ Build success in 5682ms
|
|
19
19
|
DTS dist/index.d.mts 389.25 KB
|
|
20
20
|
DTS dist/index.d.ts 389.25 KB
|
|
21
21
|
[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -14747,7 +14747,7 @@ type RichEditorFormFieldProps = Omit<RichEditorProps, "value" | "onChange"> & {
|
|
|
14747
14747
|
maxLength?: number;
|
|
14748
14748
|
validationErrorMessage?: string;
|
|
14749
14749
|
simpleVersion?: boolean;
|
|
14750
|
-
uploadConfig
|
|
14750
|
+
uploadConfig?: RichEditorProps["uploadConfig"];
|
|
14751
14751
|
disableVideo?: boolean;
|
|
14752
14752
|
};
|
|
14753
14753
|
declare const RichEditorFormField: ({ name, label, required, validate, validationErrorMessage, maxLength, simpleVersion, disableVideo, ...props }: RichEditorFormFieldProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -14747,7 +14747,7 @@ type RichEditorFormFieldProps = Omit<RichEditorProps, "value" | "onChange"> & {
|
|
|
14747
14747
|
maxLength?: number;
|
|
14748
14748
|
validationErrorMessage?: string;
|
|
14749
14749
|
simpleVersion?: boolean;
|
|
14750
|
-
uploadConfig
|
|
14750
|
+
uploadConfig?: RichEditorProps["uploadConfig"];
|
|
14751
14751
|
disableVideo?: boolean;
|
|
14752
14752
|
};
|
|
14753
14753
|
declare const RichEditorFormField: ({ name, label, required, validate, validationErrorMessage, maxLength, simpleVersion, disableVideo, ...props }: RichEditorFormFieldProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -12193,9 +12193,11 @@ var QuillComponent = ({
|
|
|
12193
12193
|
};
|
|
12194
12194
|
const modules = simpleVersion ? {
|
|
12195
12195
|
toolbar: [
|
|
12196
|
+
[{ header: [1, 2, false] }],
|
|
12196
12197
|
["bold", "italic", "underline"],
|
|
12197
|
-
[{
|
|
12198
|
-
[
|
|
12198
|
+
[{ color: [] }, { background: [] }],
|
|
12199
|
+
[{ align: [] }],
|
|
12200
|
+
[{ list: "ordered" }, { list: "bullet" }]
|
|
12199
12201
|
],
|
|
12200
12202
|
clipboard: {
|
|
12201
12203
|
matchVisual: false
|
|
@@ -12659,7 +12661,8 @@ var RichEditorFormField = (_a) => {
|
|
|
12659
12661
|
"aria-labelledby": `${name}-label`,
|
|
12660
12662
|
onCharacterCountChange: handleCharacterCountChange,
|
|
12661
12663
|
maxLength,
|
|
12662
|
-
disableVideo
|
|
12664
|
+
disableVideo,
|
|
12665
|
+
simpleVersion
|
|
12663
12666
|
})
|
|
12664
12667
|
),
|
|
12665
12668
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorFormMessage, { message: errorMsg })
|
package/dist/index.mjs
CHANGED
|
@@ -12091,9 +12091,11 @@ var QuillComponent = ({
|
|
|
12091
12091
|
};
|
|
12092
12092
|
const modules = simpleVersion ? {
|
|
12093
12093
|
toolbar: [
|
|
12094
|
+
[{ header: [1, 2, false] }],
|
|
12094
12095
|
["bold", "italic", "underline"],
|
|
12095
|
-
[{
|
|
12096
|
-
[
|
|
12096
|
+
[{ color: [] }, { background: [] }],
|
|
12097
|
+
[{ align: [] }],
|
|
12098
|
+
[{ list: "ordered" }, { list: "bullet" }]
|
|
12097
12099
|
],
|
|
12098
12100
|
clipboard: {
|
|
12099
12101
|
matchVisual: false
|
|
@@ -12557,7 +12559,8 @@ var RichEditorFormField = (_a) => {
|
|
|
12557
12559
|
"aria-labelledby": `${name}-label`,
|
|
12558
12560
|
onCharacterCountChange: handleCharacterCountChange,
|
|
12559
12561
|
maxLength,
|
|
12560
|
-
disableVideo
|
|
12562
|
+
disableVideo,
|
|
12563
|
+
simpleVersion
|
|
12561
12564
|
})
|
|
12562
12565
|
),
|
|
12563
12566
|
/* @__PURE__ */ jsx53(ErrorFormMessage, { message: errorMsg })
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export type RichEditorFormFieldProps = Omit<
|
|
|
17
17
|
maxLength?: number;
|
|
18
18
|
validationErrorMessage?: string;
|
|
19
19
|
simpleVersion?: boolean;
|
|
20
|
-
uploadConfig
|
|
20
|
+
uploadConfig?: RichEditorProps["uploadConfig"];
|
|
21
21
|
disableVideo?: boolean
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -95,6 +95,7 @@ export const RichEditorFormField = ({
|
|
|
95
95
|
onCharacterCountChange={handleCharacterCountChange}
|
|
96
96
|
maxLength={maxLength}
|
|
97
97
|
disableVideo={disableVideo}
|
|
98
|
+
simpleVersion={simpleVersion}
|
|
98
99
|
/>
|
|
99
100
|
<ErrorFormMessage message={errorMsg} />
|
|
100
101
|
</Flex>
|
|
@@ -36,9 +36,11 @@ const QuillComponent: React.FC<RichEditorProps> = ({
|
|
|
36
36
|
const modules = simpleVersion
|
|
37
37
|
? {
|
|
38
38
|
toolbar: [
|
|
39
|
+
[{ header: [1, 2, false] }],
|
|
39
40
|
["bold", "italic", "underline"],
|
|
41
|
+
[{ color: [] }, { background: [] }],
|
|
42
|
+
[{ align: [] }],
|
|
40
43
|
[{ list: "ordered" }, { list: "bullet" }],
|
|
41
|
-
["link"],
|
|
42
44
|
],
|
|
43
45
|
clipboard: {
|
|
44
46
|
matchVisual: false,
|