react-better-html 1.1.100 → 1.1.102
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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2601,8 +2601,8 @@ var ButtonComponent = function Button({
|
|
|
2601
2601
|
height: imageHeight
|
|
2602
2602
|
}
|
|
2603
2603
|
) : void 0;
|
|
2604
|
-
const linkComponentTag = betterHtmlContext2.components.button?.linkComponent ?? "a";
|
|
2605
|
-
const buttonComponentTag = betterHtmlContext2.components.button?.buttonComponent ?? "button";
|
|
2604
|
+
const linkComponentTag = betterHtmlContext2.components.button?.tagReplacement?.linkComponent ?? "a";
|
|
2605
|
+
const buttonComponentTag = betterHtmlContext2.components.button?.tagReplacement?.buttonComponent ?? "button";
|
|
2606
2606
|
return /* @__PURE__ */ jsxs3(
|
|
2607
2607
|
ButtonElement,
|
|
2608
2608
|
{
|
|
@@ -6162,6 +6162,9 @@ InputFieldComponent.color = forwardRef8(function Color2({ value, onChangeValue,
|
|
|
6162
6162
|
},
|
|
6163
6163
|
[onChangeValue]
|
|
6164
6164
|
);
|
|
6165
|
+
useEffect7(() => {
|
|
6166
|
+
setInputFieldValue(value);
|
|
6167
|
+
}, [value]);
|
|
6165
6168
|
return /* @__PURE__ */ jsx15(
|
|
6166
6169
|
InputFieldComponent,
|
|
6167
6170
|
{
|