@privateers/ui 0.3.20 → 0.3.22
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.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -774,7 +774,8 @@ function Input({ className, type, ...props }) {
|
|
|
774
774
|
type,
|
|
775
775
|
"data-slot": "input",
|
|
776
776
|
className: cn(
|
|
777
|
-
|
|
777
|
+
// text-sm on all viewports: our font tokens make text-sm ≥16px, which is enough to prevent iOS Safari auto-zoom — no need for the text-base md:text-sm escalation
|
|
778
|
+
"dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-9 rounded-md border bg-transparent px-2.5 py-1 text-sm shadow-xs transition-[color,box-shadow] file:h-7 file:text-sm file:font-medium focus-visible:ring-[3px] aria-invalid:ring-[3px] file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
778
779
|
className
|
|
779
780
|
),
|
|
780
781
|
...props
|
|
@@ -1911,7 +1912,7 @@ function TabsList({
|
|
|
1911
1912
|
{
|
|
1912
1913
|
"data-slot": "tabs-list",
|
|
1913
1914
|
className: cn(
|
|
1914
|
-
"bg-muted text-muted-foreground inline-flex
|
|
1915
|
+
"bg-muted text-muted-foreground inline-flex items-center justify-center rounded-lg p-1",
|
|
1915
1916
|
className
|
|
1916
1917
|
),
|
|
1917
1918
|
...props
|
|
@@ -1956,7 +1957,8 @@ function Textarea({ className, ...props }) {
|
|
|
1956
1957
|
{
|
|
1957
1958
|
"data-slot": "textarea",
|
|
1958
1959
|
className: cn(
|
|
1959
|
-
|
|
1960
|
+
// text-sm on all viewports: our font tokens make text-sm ≥16px, which is enough to prevent iOS Safari auto-zoom — no need for the text-base md:text-sm escalation
|
|
1961
|
+
"border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-md border bg-transparent px-2.5 py-2 text-sm shadow-xs transition-[color,box-shadow] focus-visible:ring-[3px] aria-invalid:ring-[3px] placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
1960
1962
|
className
|
|
1961
1963
|
),
|
|
1962
1964
|
...props
|