@uxf/ui 1.0.0-beta.130 → 1.0.0-beta.132

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/css/combobox.css CHANGED
@@ -95,6 +95,7 @@
95
95
  -webkit-appearance: none;
96
96
  -moz-appearance: none;
97
97
  appearance: none;
98
+ margin: 1px;
98
99
  transition: background-color 5000s ease-in-out 0s !important;
99
100
 
100
101
  :root .dark & {
package/css/input.css CHANGED
@@ -220,6 +220,7 @@
220
220
  -webkit-appearance: none;
221
221
  -moz-appearance: none;
222
222
  appearance: none;
223
+ margin: 1px;
223
224
  transition: background-color 5000s ease-in-out 0s !important;
224
225
 
225
226
  :root .dark & {
@@ -4,6 +4,7 @@ declare type InputMode = "none" | "text" | "tel" | "url" | "email" | "numeric" |
4
4
  export interface InputElementProps extends FormControlProps<string> {
5
5
  "aria-describedby"?: string;
6
6
  "aria-invalid"?: boolean;
7
+ autoComplete?: string | undefined;
7
8
  form?: string;
8
9
  id?: string;
9
10
  inputMode?: InputMode;
@@ -7,5 +7,5 @@ exports.InputElement = void 0;
7
7
  const forwardRef_1 = require("@uxf/core/utils/forwardRef");
8
8
  const react_1 = __importDefault(require("react"));
9
9
  exports.InputElement = (0, forwardRef_1.forwardRef)("InputElement", (props, ref) => {
10
- return (react_1.default.createElement("input", { "aria-describedby": props["aria-describedby"], "aria-invalid": props.isInvalid, className: "uxf-input__element", disabled: props.isDisabled, form: props.form, id: props.id, inputMode: props.inputMode, max: props.max, maxLength: props.maxLength, min: props.min, minLength: props.minLength, onBlur: props.onBlur, onChange: (event) => { var _a; return (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, event.target.value, event); }, onFocus: props.onFocus, onKeyDown: props.onKeyDown, pattern: props.pattern, placeholder: props.placeholder, readOnly: props.isReadOnly, ref: ref, step: props.step, tabIndex: props.isReadOnly ? -1 : undefined, type: props.type, value: props.value }));
10
+ return (react_1.default.createElement("input", { "aria-describedby": props["aria-describedby"], "aria-invalid": props.isInvalid, autoComplete: props.autoComplete, className: "uxf-input__element", disabled: props.isDisabled, form: props.form, id: props.id, inputMode: props.inputMode, max: props.max, maxLength: props.maxLength, min: props.min, minLength: props.minLength, onBlur: props.onBlur, onChange: (event) => { var _a; return (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, event.target.value, event); }, onFocus: props.onFocus, onKeyDown: props.onKeyDown, pattern: props.pattern, placeholder: props.placeholder, readOnly: props.isReadOnly, ref: ref, step: props.step, tabIndex: props.isReadOnly ? -1 : undefined, type: props.type, value: props.value }));
11
11
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/ui",
3
- "version": "1.0.0-beta.130",
3
+ "version": "1.0.0-beta.132",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -51,7 +51,7 @@ exports.TextInput = (0, forwardRef_1.forwardRef)("TextInput", (props, ref) => {
51
51
  react_1.default.createElement(input_1.Input, { size: props.size, variant: props.variant },
52
52
  props.leftAddon && react_1.default.createElement(input_1.Input.LeftAddon, null, props.leftAddon),
53
53
  props.leftElement && react_1.default.createElement(input_1.Input.LeftElement, null, props.leftElement),
54
- react_1.default.createElement(input_1.Input.Element, { "aria-describedby": errorId, form: props.form, id: id, inputMode: props.inputMode, isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadOnly: props.isReadOnly, isRequired: props.isRequired, max: props.max, maxLength: props.maxLength, min: props.min, minLength: props.minLength, name: props.name, onBlur: onBlur, onChange: props.onChange, onFocus: onFocus, onKeyDown: props.onKeyDown, pattern: props.pattern, placeholder: props.placeholder, ref: ref, step: props.step, type: props.type, value: props.value }),
54
+ react_1.default.createElement(input_1.Input.Element, { "aria-describedby": errorId, autoComplete: props.autoComplete, form: props.form, id: id, inputMode: props.inputMode, isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadOnly: props.isReadOnly, isRequired: props.isRequired, max: props.max, maxLength: props.maxLength, min: props.min, minLength: props.minLength, name: props.name, onBlur: onBlur, onChange: props.onChange, onFocus: onFocus, onKeyDown: props.onKeyDown, pattern: props.pattern, placeholder: props.placeholder, ref: ref, step: props.step, type: props.type, value: props.value }),
55
55
  props.rightElement && react_1.default.createElement(input_1.Input.RightElement, null, props.rightElement),
56
56
  props.rightAddon && react_1.default.createElement(input_1.Input.RightAddon, null, props.rightAddon))));
57
57
  });