@pichetch08/trip-ui 0.2.10 → 0.2.11
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.
|
@@ -69,11 +69,11 @@ function NumberInput({
|
|
|
69
69
|
"aria-label": decrementLabel,
|
|
70
70
|
disabled: disabled || !canDecrement,
|
|
71
71
|
onClick: decrement,
|
|
72
|
-
className: "px-4 py-
|
|
72
|
+
className: "px-4 py-3 text-on-surface-variant hover:bg-surface-container hover:text-on-surface transition-colors disabled:opacity-30 disabled:cursor-not-allowed shrink-0 active:scale-[0.95] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
|
|
73
73
|
children: /* @__PURE__ */ jsx("span", { className: "material-symbols-outlined leading-none text-xl", "aria-hidden": "true", children: "remove" })
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center flex-1 gap-1 py-
|
|
76
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center flex-1 gap-1 py-3", children: [
|
|
77
77
|
prefix && /* @__PURE__ */ jsx("span", { className: "text-on-surface-variant font-medium text-sm shrink-0", children: prefix }),
|
|
78
78
|
/* @__PURE__ */ jsx(
|
|
79
79
|
"input",
|
|
@@ -102,7 +102,7 @@ function NumberInput({
|
|
|
102
102
|
"aria-label": incrementLabel,
|
|
103
103
|
disabled: disabled || !canIncrement,
|
|
104
104
|
onClick: increment,
|
|
105
|
-
className: "px-4 py-
|
|
105
|
+
className: "px-4 py-3 text-on-surface-variant hover:bg-surface-container hover:text-on-surface transition-colors disabled:opacity-30 disabled:cursor-not-allowed shrink-0 active:scale-[0.95] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
|
|
106
106
|
children: /* @__PURE__ */ jsx("span", { className: "material-symbols-outlined leading-none text-xl", "aria-hidden": "true", children: "add" })
|
|
107
107
|
}
|
|
108
108
|
)
|
package/package.json
CHANGED