@fctc/sme-widget-ui 2.5.9 → 2.6.0

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 CHANGED
@@ -32493,7 +32493,8 @@ var HtmlField = (props) => {
32493
32493
  defaultValue = "",
32494
32494
  onChange: onChange2,
32495
32495
  value,
32496
- isEditTable
32496
+ isEditTable,
32497
+ baseClassName
32497
32498
  } = props;
32498
32499
  const divRef = (0, import_react61.useRef)(null);
32499
32500
  if (!isForm && !isEditTable) {
@@ -32524,11 +32525,7 @@ var HtmlField = (props) => {
32524
32525
  ref: divRef,
32525
32526
  contentEditable: !readonly,
32526
32527
  onInput: handleInput,
32527
- className: `${!isForm ? "!bg-transparent focus-within:!border-none" : `rounded-lg border min-h-[44px] w-full ring-0 focus:ring-0 focus:!outline-none focus:border-[1px] border-input-primary outline-0 border-[rgba(66,66,66,0.12)] bg-white
32528
- p-2 pl-3 font-normal text-sm gap-2 leading-5
32529
- resize-none opacity-100 overflow-hidden
32530
-
32531
- `}`
32528
+ className: `widget widget-html ${baseClassName}`
32532
32529
  }
32533
32530
  );
32534
32531
  }
package/dist/index.mjs CHANGED
@@ -32366,7 +32366,8 @@ var HtmlField = (props) => {
32366
32366
  defaultValue = "",
32367
32367
  onChange: onChange2,
32368
32368
  value,
32369
- isEditTable
32369
+ isEditTable,
32370
+ baseClassName
32370
32371
  } = props;
32371
32372
  const divRef = useRef16(null);
32372
32373
  if (!isForm && !isEditTable) {
@@ -32397,11 +32398,7 @@ var HtmlField = (props) => {
32397
32398
  ref: divRef,
32398
32399
  contentEditable: !readonly,
32399
32400
  onInput: handleInput,
32400
- className: `${!isForm ? "!bg-transparent focus-within:!border-none" : `rounded-lg border min-h-[44px] w-full ring-0 focus:ring-0 focus:!outline-none focus:border-[1px] border-input-primary outline-0 border-[rgba(66,66,66,0.12)] bg-white
32401
- p-2 pl-3 font-normal text-sm gap-2 leading-5
32402
- resize-none opacity-100 overflow-hidden
32403
-
32404
- `}`
32401
+ className: `widget widget-html ${baseClassName}`
32405
32402
  }
32406
32403
  );
32407
32404
  }
package/dist/widgets.js CHANGED
@@ -31742,7 +31742,8 @@ var HtmlField = (props) => {
31742
31742
  defaultValue = "",
31743
31743
  onChange: onChange2,
31744
31744
  value,
31745
- isEditTable
31745
+ isEditTable,
31746
+ baseClassName
31746
31747
  } = props;
31747
31748
  const divRef = (0, import_react61.useRef)(null);
31748
31749
  if (!isForm && !isEditTable) {
@@ -31773,11 +31774,7 @@ var HtmlField = (props) => {
31773
31774
  ref: divRef,
31774
31775
  contentEditable: !readonly,
31775
31776
  onInput: handleInput,
31776
- className: `${!isForm ? "!bg-transparent focus-within:!border-none" : `rounded-lg border min-h-[44px] w-full ring-0 focus:ring-0 focus:!outline-none focus:border-[1px] border-input-primary outline-0 border-[rgba(66,66,66,0.12)] bg-white
31777
- p-2 pl-3 font-normal text-sm gap-2 leading-5
31778
- resize-none opacity-100 overflow-hidden
31779
-
31780
- `}`
31777
+ className: `widget widget-html ${baseClassName}`
31781
31778
  }
31782
31779
  );
31783
31780
  }
package/dist/widgets.mjs CHANGED
@@ -31679,7 +31679,8 @@ var HtmlField = (props) => {
31679
31679
  defaultValue = "",
31680
31680
  onChange: onChange2,
31681
31681
  value,
31682
- isEditTable
31682
+ isEditTable,
31683
+ baseClassName
31683
31684
  } = props;
31684
31685
  const divRef = useRef16(null);
31685
31686
  if (!isForm && !isEditTable) {
@@ -31710,11 +31711,7 @@ var HtmlField = (props) => {
31710
31711
  ref: divRef,
31711
31712
  contentEditable: !readonly,
31712
31713
  onInput: handleInput,
31713
- className: `${!isForm ? "!bg-transparent focus-within:!border-none" : `rounded-lg border min-h-[44px] w-full ring-0 focus:ring-0 focus:!outline-none focus:border-[1px] border-input-primary outline-0 border-[rgba(66,66,66,0.12)] bg-white
31714
- p-2 pl-3 font-normal text-sm gap-2 leading-5
31715
- resize-none opacity-100 overflow-hidden
31716
-
31717
- `}`
31714
+ className: `widget widget-html ${baseClassName}`
31718
31715
  }
31719
31716
  );
31720
31717
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.5.9",
3
+ "version": "2.6.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",