infinity-ui-elements 1.8.14 → 1.8.15
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.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3113,7 +3113,7 @@ const Radio = React__namespace.forwardRef(({ label, errorText, size = "medium",
|
|
|
3113
3113
|
});
|
|
3114
3114
|
Radio.displayName = "Radio";
|
|
3115
3115
|
|
|
3116
|
-
const textFieldVariants = classVarianceAuthority.cva("relative flex items-center gap-2 border rounded-large transition-all font-
|
|
3116
|
+
const textFieldVariants = classVarianceAuthority.cva("relative flex items-center gap-2 border rounded-large transition-all font-functional font-size-100 leading-100", {
|
|
3117
3117
|
variants: {
|
|
3118
3118
|
size: {
|
|
3119
3119
|
small: "h-[28px] px-3 text-xs gap-2",
|
|
@@ -3205,7 +3205,7 @@ const TextField = React__namespace.forwardRef(({ label, helperText, errorText, s
|
|
|
3205
3205
|
? "text-feedback-ink-positive-intense"
|
|
3206
3206
|
: currentValidationState === "negative"
|
|
3207
3207
|
? "text-feedback-ink-negative-subtle"
|
|
3208
|
-
: "text-surface-ink-neutral-muted"), children: prefix })), jsxRuntime.jsx("input", { ref: ref, value: inputValue, onChange: handleChange, disabled: isDisabled, required: isRequired, className: cn("flex-1 bg-transparent border-none outline-none text-surface-ink-neutral-normal placeholder:text-surface-ink-neutral-muted disabled:cursor-not-allowed disabled:text-surface-ink-neutral-disabled
|
|
3208
|
+
: "text-surface-ink-neutral-muted"), children: prefix })), jsxRuntime.jsx("input", { ref: ref, value: inputValue, onChange: handleChange, disabled: isDisabled, required: isRequired, className: cn("flex-1 bg-transparent border-none outline-none text-surface-ink-neutral-normal placeholder:text-surface-ink-neutral-muted disabled:cursor-not-allowed disabled:text-surface-ink-neutral-disabled", inputClassName), ...props }), showClearButton && hasValue && !isDisabled && (jsxRuntime.jsx("button", { type: "button", onClick: handleClear, className: "shrink-0 flex items-center justify-center text-surface-ink-neutral-muted hover:text-surface-ink-neutral-normal transition-colors", tabIndex: -1, children: jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M12 4L4 12M4 4L12 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }) })), suffix && (jsxRuntime.jsx("span", { className: cn("shrink-0 flex items-center", isDisabled
|
|
3209
3209
|
? "text-surface-ink-neutral-disabled"
|
|
3210
3210
|
: currentValidationState === "positive"
|
|
3211
3211
|
? "text-feedback-ink-positive-intense"
|