@plasmicapp/react-web 0.2.297 → 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/index.cjs.js
CHANGED
|
@@ -3872,6 +3872,10 @@ function useTextInput(plasmicClass, props, config, ref) {
|
|
|
3872
3872
|
getInput: function () {
|
|
3873
3873
|
return inputRef.current;
|
|
3874
3874
|
},
|
|
3875
|
+
getBoundingClientRect: function () {
|
|
3876
|
+
var _a;
|
|
3877
|
+
return (_a = rootRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
3878
|
+
},
|
|
3875
3879
|
}); }, [rootRef, inputRef]);
|
|
3876
3880
|
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 }));
|
|
3877
3881
|
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)));
|