@plasmicapp/react-web 0.2.298 → 0.2.299
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/react-web.esm.js
CHANGED
|
@@ -3853,6 +3853,10 @@ function useTextInput(plasmicClass, props, config, ref) {
|
|
|
3853
3853
|
getInput: function () {
|
|
3854
3854
|
return inputRef.current;
|
|
3855
3855
|
},
|
|
3856
|
+
getBoundingClientRect: function () {
|
|
3857
|
+
var _a;
|
|
3858
|
+
return (_a = rootRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
3859
|
+
},
|
|
3856
3860
|
}); }, [rootRef, inputRef]);
|
|
3857
3861
|
var variants = __assign(__assign({}, pick.apply(void 0, __spreadArray([props], __read(plasmicClass.internalVariantProps), false))), mergeVariantToggles({ def: config.showStartIconVariant, active: showStartIcon }, { def: config.showEndIconVariant, active: showEndIcon }, { def: config.isDisabledVariant, active: isDisabled }));
|
|
3858
3862
|
var args = __assign(__assign(__assign({}, pick.apply(void 0, __spreadArray([props], __read(plasmicClass.internalArgProps), false))), (config.startIconSlot && (_a = {}, _a[config.startIconSlot] = startIcon, _a))), (config.endIconSlot && (_b = {}, _b[config.endIconSlot] = endIcon, _b)));
|