@privateers/ui 0.3.19 → 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 +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/styles/brands/dis-creadis.css +12 -7
- package/dist/styles/library.css +1 -0
- package/dist/styles/tokens.css +8 -0
- package/dist/tailwind/preset.cjs +1 -0
- package/dist/tailwind/preset.cjs.map +1 -1
- package/dist/tailwind/preset.js +1 -0
- package/dist/tailwind/preset.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function AvatarFallback({
|
|
|
105
105
|
{
|
|
106
106
|
"data-slot": "avatar-fallback",
|
|
107
107
|
className: cn(
|
|
108
|
-
"flex size-full items-center justify-center rounded-full
|
|
108
|
+
"bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm font-medium",
|
|
109
109
|
className
|
|
110
110
|
),
|
|
111
111
|
...props
|
|
@@ -753,7 +753,8 @@ function Input({ className, type, ...props }) {
|
|
|
753
753
|
type,
|
|
754
754
|
"data-slot": "input",
|
|
755
755
|
className: cn(
|
|
756
|
-
|
|
756
|
+
// 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
|
|
757
|
+
"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",
|
|
757
758
|
className
|
|
758
759
|
),
|
|
759
760
|
...props
|
|
@@ -1132,7 +1133,7 @@ function SheetOverlay({
|
|
|
1132
1133
|
{
|
|
1133
1134
|
"data-slot": "sheet-overlay",
|
|
1134
1135
|
className: cn(
|
|
1135
|
-
"fixed inset-0 z-50 bg-
|
|
1136
|
+
"fixed inset-0 z-50 bg-overlay/80",
|
|
1136
1137
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1137
1138
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1138
1139
|
className
|
|
@@ -1890,7 +1891,7 @@ function TabsList({
|
|
|
1890
1891
|
{
|
|
1891
1892
|
"data-slot": "tabs-list",
|
|
1892
1893
|
className: cn(
|
|
1893
|
-
"bg-muted text-muted-foreground inline-flex
|
|
1894
|
+
"bg-muted text-muted-foreground inline-flex items-center justify-center rounded-lg p-1",
|
|
1894
1895
|
className
|
|
1895
1896
|
),
|
|
1896
1897
|
...props
|
|
@@ -1935,7 +1936,8 @@ function Textarea({ className, ...props }) {
|
|
|
1935
1936
|
{
|
|
1936
1937
|
"data-slot": "textarea",
|
|
1937
1938
|
className: cn(
|
|
1938
|
-
|
|
1939
|
+
// 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
|
|
1940
|
+
"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",
|
|
1939
1941
|
className
|
|
1940
1942
|
),
|
|
1941
1943
|
...props
|
|
@@ -2495,7 +2497,7 @@ function AlertDialogOverlay({
|
|
|
2495
2497
|
AlertDialog$1.Overlay,
|
|
2496
2498
|
{
|
|
2497
2499
|
"data-slot": "alert-dialog-overlay",
|
|
2498
|
-
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-
|
|
2500
|
+
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-overlay/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
|
|
2499
2501
|
...props
|
|
2500
2502
|
}
|
|
2501
2503
|
);
|
|
@@ -2648,7 +2650,7 @@ function DialogOverlay({
|
|
|
2648
2650
|
{
|
|
2649
2651
|
"data-slot": "dialog-overlay",
|
|
2650
2652
|
className: cn(
|
|
2651
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-
|
|
2653
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-overlay/50 fixed inset-0 z-50",
|
|
2652
2654
|
className
|
|
2653
2655
|
),
|
|
2654
2656
|
...props
|