@apexcura/ui-components 0.0.15-Beta81 → 0.0.15-Beta82

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.d.mts CHANGED
@@ -17,6 +17,8 @@ type ElementType = {
17
17
  disabled?: boolean;
18
18
  prefix?: React.ReactNode;
19
19
  type?: string;
20
+ checkedChildren?: string;
21
+ unCheckedChildren?: string;
20
22
  firstValue?: string;
21
23
  secondValue?: string;
22
24
  size?: SizeType;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,8 @@ type ElementType = {
17
17
  disabled?: boolean;
18
18
  prefix?: React.ReactNode;
19
19
  type?: string;
20
+ checkedChildren?: string;
21
+ unCheckedChildren?: string;
20
22
  firstValue?: string;
21
23
  secondValue?: string;
22
24
  size?: SizeType;
package/dist/index.js CHANGED
@@ -331,6 +331,7 @@ var CkEditor = (props) => {
331
331
  const onHandleChange = () => {
332
332
  if (editorRef.current) {
333
333
  let content = editorRef.current.getContent();
334
+ console.log(content);
334
335
  if (props.onChange) {
335
336
  props.onChange(content);
336
337
  }
@@ -1229,7 +1230,7 @@ var SwitchElement = (props) => {
1229
1230
  const onChange = (checked) => {
1230
1231
  props.onChange && props.onChange(checked);
1231
1232
  };
1232
- return /* @__PURE__ */ import_react29.default.createElement(import_antd20.Switch, { defaultChecked: true, onChange });
1233
+ return /* @__PURE__ */ import_react29.default.createElement(import_antd20.Switch, { defaultChecked: true, checkedChildren: props.checkedChildren, unCheckedChildren: props.unCheckedChildren, onChange });
1233
1234
  };
1234
1235
 
1235
1236
  // src/Components/Upload.tsx
package/dist/index.mjs CHANGED
@@ -261,6 +261,7 @@ var CkEditor = (props) => {
261
261
  const onHandleChange = () => {
262
262
  if (editorRef.current) {
263
263
  let content = editorRef.current.getContent();
264
+ console.log(content);
264
265
  if (props.onChange) {
265
266
  props.onChange(content);
266
267
  }
@@ -1159,7 +1160,7 @@ var SwitchElement = (props) => {
1159
1160
  const onChange = (checked) => {
1160
1161
  props.onChange && props.onChange(checked);
1161
1162
  };
1162
- return /* @__PURE__ */ React28.createElement(Switch, { defaultChecked: true, onChange });
1163
+ return /* @__PURE__ */ React28.createElement(Switch, { defaultChecked: true, checkedChildren: props.checkedChildren, unCheckedChildren: props.unCheckedChildren, onChange });
1163
1164
  };
1164
1165
 
1165
1166
  // src/Components/Upload.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta81",
3
+ "version": "0.0.15-Beta82",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",