@okshaun/components 4.1.3 → 4.1.4
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sprite.symbol.html +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15462,7 +15462,7 @@ const Button = (props) => {
|
|
|
15462
15462
|
gap,
|
|
15463
15463
|
...rest
|
|
15464
15464
|
} = props;
|
|
15465
|
-
const size2 = sizeProp ?? (slotContext == null ? void 0 : slotContext.size) ?? (fieldContext == null ? void 0 : fieldContext.size);
|
|
15465
|
+
const size2 = sizeProp ?? (slotContext == null ? void 0 : slotContext.size) ?? (fieldContext == null ? void 0 : fieldContext.size) ?? "md";
|
|
15466
15466
|
const error2 = errorProp ?? (slotContext == null ? void 0 : slotContext.error) ?? (fieldContext == null ? void 0 : fieldContext.error);
|
|
15467
15467
|
const invalid = invalidProp ?? (slotContext == null ? void 0 : slotContext.invalid) ?? (fieldContext == null ? void 0 : fieldContext.invalid);
|
|
15468
15468
|
const resolvedDisabled = disabled ?? (slotContext == null ? void 0 : slotContext.disabled) ?? (fieldContext == null ? void 0 : fieldContext.disabled);
|
|
@@ -23314,7 +23314,7 @@ const TextInput = (props) => {
|
|
|
23314
23314
|
autoComplete = "off",
|
|
23315
23315
|
...rest
|
|
23316
23316
|
} = props;
|
|
23317
|
-
const resolvedSize = sizeProp ?? (fieldContext == null ? void 0 : fieldContext.size);
|
|
23317
|
+
const resolvedSize = sizeProp ?? (fieldContext == null ? void 0 : fieldContext.size) ?? "md";
|
|
23318
23318
|
const resolvedError = error2 ?? (fieldContext == null ? void 0 : fieldContext.error);
|
|
23319
23319
|
const resolvedInvalid = invalidProp ?? (fieldContext == null ? void 0 : fieldContext.invalid);
|
|
23320
23320
|
const resolvedDisabled = disabled ?? (fieldContext == null ? void 0 : fieldContext.disabled);
|