@ttt-productions/ui-core 0.6.3 → 0.8.0
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/react/components/alert-dialog.d.ts +2 -2
- package/dist/react/components/badge.d.ts +1 -1
- package/dist/react/components/badge.d.ts.map +1 -1
- package/dist/react/components/badge.js +1 -1
- package/dist/react/components/badge.js.map +1 -1
- package/dist/react/components/button.js +1 -1
- package/dist/react/components/button.js.map +1 -1
- package/dist/react/components/card.js +1 -1
- package/dist/react/components/checkbox.js +1 -1
- package/dist/react/components/checkbox.js.map +1 -1
- package/dist/react/components/chunk-error-recovery.d.ts +1 -1
- package/dist/react/components/chunk-error-recovery.d.ts.map +1 -1
- package/dist/react/components/date-picker.d.ts +2 -1
- package/dist/react/components/date-picker.d.ts.map +1 -1
- package/dist/react/components/date-picker.js +1 -1
- package/dist/react/components/date-picker.js.map +1 -1
- package/dist/react/components/dialog.d.ts +2 -2
- package/dist/react/components/dialog.js +1 -1
- package/dist/react/components/dialog.js.map +1 -1
- package/dist/react/components/dropdown-menu.d.ts +1 -1
- package/dist/react/components/dropdown-menu.js +4 -4
- package/dist/react/components/dropdown-menu.js.map +1 -1
- package/dist/react/components/end-of-list-indicator.d.ts +1 -1
- package/dist/react/components/end-of-list-indicator.d.ts.map +1 -1
- package/dist/react/components/form.d.ts +2 -2
- package/dist/react/components/form.d.ts.map +1 -1
- package/dist/react/components/input.js +1 -1
- package/dist/react/components/input.js.map +1 -1
- package/dist/react/components/layout/screen-adaptive-view.d.ts +1 -1
- package/dist/react/components/layout/screen-adaptive-view.d.ts.map +1 -1
- package/dist/react/components/menubar.d.ts +6 -6
- package/dist/react/components/menubar.d.ts.map +1 -1
- package/dist/react/components/menubar.js +5 -5
- package/dist/react/components/menubar.js.map +1 -1
- package/dist/react/components/popover.js +1 -1
- package/dist/react/components/popover.js.map +1 -1
- package/dist/react/components/radio-group.js +1 -1
- package/dist/react/components/radio-group.js.map +1 -1
- package/dist/react/components/relative-time.d.ts +2 -1
- package/dist/react/components/relative-time.d.ts.map +1 -1
- package/dist/react/components/scroll-to-top-button.d.ts +1 -1
- package/dist/react/components/scroll-to-top-button.d.ts.map +1 -1
- package/dist/react/components/search-dropdown.d.ts +1 -1
- package/dist/react/components/search-dropdown.d.ts.map +1 -1
- package/dist/react/components/search-dropdown.js +1 -1
- package/dist/react/components/search-dropdown.js.map +1 -1
- package/dist/react/components/select.js +2 -2
- package/dist/react/components/select.js.map +1 -1
- package/dist/react/components/sheet.d.ts +2 -2
- package/dist/react/components/sheet.js +1 -1
- package/dist/react/components/sheet.js.map +1 -1
- package/dist/react/components/skeleton.d.ts +1 -1
- package/dist/react/components/skeleton.d.ts.map +1 -1
- package/dist/react/components/slider.js +1 -1
- package/dist/react/components/slider.js.map +1 -1
- package/dist/react/components/switch.js +1 -1
- package/dist/react/components/switch.js.map +1 -1
- package/dist/react/components/tabs.js +2 -2
- package/dist/react/components/tabs.js.map +1 -1
- package/dist/react/components/textarea.js +1 -1
- package/dist/react/components/textarea.js.map +1 -1
- package/dist/react/components/toast.js +2 -2
- package/dist/react/components/toast.js.map +1 -1
- package/dist/react/components/toaster.d.ts +1 -1
- package/dist/react/components/toaster.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/react/components/badge.tsx +1 -1
- package/src/react/components/button.tsx +1 -1
- package/src/react/components/card.tsx +1 -1
- package/src/react/components/checkbox.tsx +1 -1
- package/src/react/components/date-picker.tsx +3 -3
- package/src/react/components/dialog.tsx +1 -1
- package/src/react/components/dropdown-menu.tsx +4 -4
- package/src/react/components/input.tsx +1 -1
- package/src/react/components/menubar.tsx +5 -5
- package/src/react/components/popover.tsx +1 -1
- package/src/react/components/radio-group.tsx +1 -1
- package/src/react/components/search-dropdown.tsx +1 -1
- package/src/react/components/select.tsx +2 -2
- package/src/react/components/sheet.tsx +1 -1
- package/src/react/components/slider.tsx +1 -1
- package/src/react/components/switch.tsx +1 -1
- package/src/react/components/tabs.tsx +3 -3
- package/src/react/components/textarea.tsx +1 -1
- package/src/react/components/toast.tsx +2 -2
|
@@ -8,7 +8,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, React.ComponentProps<"tex
|
|
|
8
8
|
return (
|
|
9
9
|
<textarea
|
|
10
10
|
className={cn(
|
|
11
|
-
"flex min-h-[80px] w-full rounded-md border-2 border-border bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-
|
|
11
|
+
"flex min-h-[80px] w-full rounded-md border-2 border-border bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
12
12
|
className
|
|
13
13
|
)}
|
|
14
14
|
ref={ref}
|
|
@@ -121,7 +121,7 @@ const Toast = React.forwardRef<React.ElementRef<typeof ToastPrimitives.Root>, To
|
|
|
121
121
|
className={cn(
|
|
122
122
|
"absolute right-2 top-2 inline-flex h-7 w-7 items-center justify-center rounded-md",
|
|
123
123
|
"text-foreground/60 hover:text-foreground",
|
|
124
|
-
"focus:outline-
|
|
124
|
+
"focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background"
|
|
125
125
|
)}
|
|
126
126
|
aria-label="Dismiss toast"
|
|
127
127
|
>
|
|
@@ -151,7 +151,7 @@ const ToastClose = React.forwardRef<
|
|
|
151
151
|
className={cn(
|
|
152
152
|
"absolute right-2 top-2 inline-flex h-7 w-7 items-center justify-center rounded-md",
|
|
153
153
|
"text-foreground/60 hover:text-foreground",
|
|
154
|
-
"focus:outline-
|
|
154
|
+
"focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background",
|
|
155
155
|
className
|
|
156
156
|
)}
|
|
157
157
|
{...props}
|