@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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- > @lets-events/react@12.2.9 build
3
+ > @lets-events/react@12.2.10 build
4
4
  > tsup src/index.tsx --format esm,cjs --dts --external react
5
5
 
6
6
  CLI Building entry: src/index.tsx
@@ -10,12 +10,12 @@
10
10
  CLI Target: es6
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.js 393.79 KB
14
- CJS ⚡️ Build success in 326ms
15
- ESM dist/index.mjs 379.85 KB
16
- ESM ⚡️ Build success in 327ms
13
+ ESM dist/index.mjs 379.95 KB
14
+ ESM ⚡️ Build success in 300ms
15
+ CJS dist/index.js 393.90 KB
16
+ CJS ⚡️ Build success in 301ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 6004ms
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
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lets-events/react
2
2
 
3
+ ## 12.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Simple Version RichEditor
8
+
3
9
  ## 12.2.9
4
10
 
5
11
  ### Patch Changes
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: RichEditorProps["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: RichEditorProps["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
- [{ list: "ordered" }, { list: "bullet" }],
12198
- ["link"]
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
- [{ list: "ordered" }, { list: "bullet" }],
12096
- ["link"]
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-events/react",
3
- "version": "12.2.9",
3
+ "version": "12.2.10",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -17,7 +17,7 @@ export type RichEditorFormFieldProps = Omit<
17
17
  maxLength?: number;
18
18
  validationErrorMessage?: string;
19
19
  simpleVersion?: boolean;
20
- uploadConfig: RichEditorProps["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,