@linzjs/step-ag-grid 17.4.9 → 17.4.10
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/step-ag-grid.cjs.js +4 -4
- package/dist/step-ag-grid.cjs.js.map +1 -1
- package/dist/step-ag-grid.esm.js +4 -4
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +7 -7
- package/src/lui/FormError.scss +1 -1
- package/src/lui/FormError.tsx +1 -1
- package/src/lui/TextInputFormatted.scss +1 -1
- package/src/lui/TextInputFormatted.tsx +7 -1
- package/src/stories/grid/FormTest.scss +4 -0
package/dist/step-ag-grid.cjs.js
CHANGED
|
@@ -3268,11 +3268,11 @@ function styleInject(css, ref) {
|
|
|
3268
3268
|
}
|
|
3269
3269
|
}
|
|
3270
3270
|
|
|
3271
|
-
var css_248z$2 = ".helpText{color:#6b6966;font-size:.75rem;font-weight:400}";
|
|
3271
|
+
var css_248z$2 = ".FormError-helpText{color:#6b6966;font-size:.75rem;font-weight:400}";
|
|
3272
3272
|
styleInject(css_248z$2);
|
|
3273
3273
|
|
|
3274
3274
|
const FormError = (props) => {
|
|
3275
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.error && (jsxRuntime.jsx("span", { className: "LuiTextInput-error", style: { paddingLeft: 0 }, children: props.error })), props.helpText && !props.error && jsxRuntime.jsx("span", { className: "helpText", children: props.helpText })] }));
|
|
3275
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [props.error && (jsxRuntime.jsx("span", { className: "LuiTextInput-error", style: { paddingLeft: 0 }, children: props.error })), props.helpText && !props.error && jsxRuntime.jsx("span", { className: "FormError-helpText", children: props.helpText })] }));
|
|
3276
3276
|
};
|
|
3277
3277
|
|
|
3278
3278
|
function escapeStringRegexp(string) {
|
|
@@ -3648,11 +3648,11 @@ const GridFormDropDown = (props) => {
|
|
|
3648
3648
|
})] }) })] }));
|
|
3649
3649
|
};
|
|
3650
3650
|
|
|
3651
|
-
var css_248z$1 = ".LuiTextInput{margin-bottom:0}.LuiTextInput-formatted{color:#beb9b4;line-height:48px;position:absolute;right:14px;top:0}";
|
|
3651
|
+
var css_248z$1 = ".LuiTextInput.GridLuiTextInput{margin-bottom:0}.LuiTextInput-formatted{color:#beb9b4;line-height:48px;position:absolute;right:14px;top:0}";
|
|
3652
3652
|
styleInject(css_248z$1);
|
|
3653
3653
|
|
|
3654
3654
|
const TextInputFormatted = (props) => {
|
|
3655
|
-
return (jsxRuntime.jsxs("div", { className: clsx("LuiTextInput Grid-popoverContainer", props.error && "hasError", props.className), children: [jsxRuntime.jsxs("span", { className: "LuiTextInput-inputWrapper", children: [jsxRuntime.jsx("input", { type: "text", spellCheck: true, defaultValue: props.value, ...lodashEs.omit(props, ["error", "value", "helpText", "formatted", "className", "allowTabToSave"]), className: "LuiTextInput-input", onMouseEnter: (e) => {
|
|
3655
|
+
return (jsxRuntime.jsxs("div", { className: clsx("LuiTextInput GridLuiTextInput Grid-popoverContainer", props.error && "hasError", props.className), children: [jsxRuntime.jsxs("span", { className: "LuiTextInput-inputWrapper", children: [jsxRuntime.jsx("input", { type: "text", spellCheck: true, defaultValue: props.value, ...lodashEs.omit(props, ["error", "value", "helpText", "formatted", "className", "allowTabToSave"]), className: "LuiTextInput-input", onMouseEnter: (e) => {
|
|
3656
3656
|
e.currentTarget.focus();
|
|
3657
3657
|
props.onMouseEnter && props.onMouseEnter(e);
|
|
3658
3658
|
}, "data-allowtabtosave": props.allowTabToSave }), jsxRuntime.jsx("span", { className: "LuiTextInput-formatted", children: props.formatted })] }), jsxRuntime.jsx(FormError, { error: props.error, helpText: props.helpText })] }));
|