@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.cjs
CHANGED
|
@@ -126,7 +126,7 @@ function AvatarFallback({
|
|
|
126
126
|
{
|
|
127
127
|
"data-slot": "avatar-fallback",
|
|
128
128
|
className: cn(
|
|
129
|
-
"flex size-full items-center justify-center rounded-full
|
|
129
|
+
"bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm font-medium",
|
|
130
130
|
className
|
|
131
131
|
),
|
|
132
132
|
...props
|
|
@@ -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
|
|
@@ -1153,7 +1154,7 @@ function SheetOverlay({
|
|
|
1153
1154
|
{
|
|
1154
1155
|
"data-slot": "sheet-overlay",
|
|
1155
1156
|
className: cn(
|
|
1156
|
-
"fixed inset-0 z-50 bg-
|
|
1157
|
+
"fixed inset-0 z-50 bg-overlay/80",
|
|
1157
1158
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1158
1159
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
1159
1160
|
className
|
|
@@ -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
|
|
@@ -2516,7 +2518,7 @@ function AlertDialogOverlay({
|
|
|
2516
2518
|
radixUi.AlertDialog.Overlay,
|
|
2517
2519
|
{
|
|
2518
2520
|
"data-slot": "alert-dialog-overlay",
|
|
2519
|
-
className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-
|
|
2521
|
+
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),
|
|
2520
2522
|
...props
|
|
2521
2523
|
}
|
|
2522
2524
|
);
|
|
@@ -2669,7 +2671,7 @@ function DialogOverlay({
|
|
|
2669
2671
|
{
|
|
2670
2672
|
"data-slot": "dialog-overlay",
|
|
2671
2673
|
className: cn(
|
|
2672
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-
|
|
2674
|
+
"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",
|
|
2673
2675
|
className
|
|
2674
2676
|
),
|
|
2675
2677
|
...props
|