@stevederico/skateboard-ui 0.7.0 → 0.7.1
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/.claude/settings.local.json +9 -0
- package/CHANGELOG.md +6 -0
- package/package.json +10 -2
- package/shadcn/ui/accordion.jsx +1 -1
- package/shadcn/ui/alert-dialog.jsx +2 -2
- package/shadcn/ui/alert.jsx +1 -1
- package/shadcn/ui/avatar.jsx +1 -1
- package/shadcn/ui/badge.jsx +1 -1
- package/shadcn/ui/breadcrumb.jsx +1 -1
- package/shadcn/ui/button.jsx +1 -1
- package/shadcn/ui/calendar.jsx +2 -2
- package/shadcn/ui/card.jsx +1 -1
- package/shadcn/ui/carousel.jsx +2 -2
- package/shadcn/ui/checkbox.jsx +1 -1
- package/shadcn/ui/command.jsx +2 -2
- package/shadcn/ui/context-menu.jsx +1 -1
- package/shadcn/ui/dialog.jsx +1 -1
- package/shadcn/ui/drawer.jsx +1 -1
- package/shadcn/ui/dropdown-menu.jsx +1 -1
- package/shadcn/ui/hover-card.jsx +1 -1
- package/shadcn/ui/input.jsx +1 -1
- package/shadcn/ui/label.jsx +1 -1
- package/shadcn/ui/menubar.jsx +1 -1
- package/shadcn/ui/navigation-menu.jsx +1 -1
- package/shadcn/ui/pagination.jsx +2 -2
- package/shadcn/ui/popover.jsx +1 -1
- package/shadcn/ui/progress.jsx +1 -1
- package/shadcn/ui/radio-group.jsx +1 -1
- package/shadcn/ui/resizable.jsx +1 -1
- package/shadcn/ui/scroll-area.jsx +1 -1
- package/shadcn/ui/select.jsx +1 -1
- package/shadcn/ui/separator.jsx +1 -1
- package/shadcn/ui/sheet.jsx +1 -1
- package/shadcn/ui/sidebar.jsx +8 -8
- package/shadcn/ui/skeleton.jsx +1 -1
- package/shadcn/ui/slider.jsx +1 -1
- package/shadcn/ui/switch.jsx +1 -1
- package/shadcn/ui/table.jsx +1 -1
- package/shadcn/ui/tabs.jsx +1 -1
- package/shadcn/ui/textarea.jsx +1 -1
- package/shadcn/ui/toggle-group.jsx +2 -2
- package/shadcn/ui/toggle.jsx +1 -1
- package/shadcn/ui/tooltip.jsx +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stevederico/skateboard-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./AppSidebar": {
|
|
@@ -60,7 +60,15 @@
|
|
|
60
60
|
"import": "./Utilities.js",
|
|
61
61
|
"default": "./Utilities.js"
|
|
62
62
|
},
|
|
63
|
-
"./shadcn/ui/*": "./shadcn/ui/*.jsx"
|
|
63
|
+
"./shadcn/ui/*": "./shadcn/ui/*.jsx",
|
|
64
|
+
"./shadcn/lib/utils": {
|
|
65
|
+
"import": "./shadcn/lib/utils.js",
|
|
66
|
+
"default": "./shadcn/lib/utils.js"
|
|
67
|
+
},
|
|
68
|
+
"./shadcn/hooks/use-mobile": {
|
|
69
|
+
"import": "./shadcn/hooks/use-mobile.js",
|
|
70
|
+
"default": "./shadcn/hooks/use-mobile.js"
|
|
71
|
+
}
|
|
64
72
|
},
|
|
65
73
|
"scripts": {
|
|
66
74
|
"prod": "npm publish"
|
package/shadcn/ui/accordion.jsx
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as React from "react"
|
|
4
4
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"
|
|
5
5
|
|
|
6
|
-
import { cn } from "
|
|
7
|
-
import { buttonVariants } from "
|
|
6
|
+
import { cn } from "../lib/utils"
|
|
7
|
+
import { buttonVariants } from "./button"
|
|
8
8
|
|
|
9
9
|
function AlertDialog({
|
|
10
10
|
...props
|
package/shadcn/ui/alert.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
|
|
4
|
-
import { cn } from "
|
|
4
|
+
import { cn } from "../lib/utils"
|
|
5
5
|
|
|
6
6
|
const alertVariants = cva(
|
|
7
7
|
"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
package/shadcn/ui/avatar.jsx
CHANGED
package/shadcn/ui/badge.jsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import { Slot } from "@radix-ui/react-slot"
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
6
|
|
|
7
7
|
const badgeVariants = cva(
|
|
8
8
|
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
package/shadcn/ui/breadcrumb.jsx
CHANGED
package/shadcn/ui/button.jsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import { Slot } from "@radix-ui/react-slot"
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
8
8
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
package/shadcn/ui/calendar.jsx
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "lucide-react"
|
|
7
7
|
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
8
8
|
|
|
9
|
-
import { cn } from "
|
|
10
|
-
import { Button, buttonVariants } from "
|
|
9
|
+
import { cn } from "../lib/utils"
|
|
10
|
+
import { Button, buttonVariants } from "./button"
|
|
11
11
|
|
|
12
12
|
function Calendar({
|
|
13
13
|
className,
|
package/shadcn/ui/card.jsx
CHANGED
package/shadcn/ui/carousel.jsx
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react"
|
|
|
3
3
|
import useEmblaCarousel from "embla-carousel-react";
|
|
4
4
|
import { ArrowLeft, ArrowRight } from "lucide-react"
|
|
5
5
|
|
|
6
|
-
import { cn } from "
|
|
7
|
-
import { Button } from "
|
|
6
|
+
import { cn } from "../lib/utils"
|
|
7
|
+
import { Button } from "./button"
|
|
8
8
|
|
|
9
9
|
const CarouselContext = React.createContext(null)
|
|
10
10
|
|
package/shadcn/ui/checkbox.jsx
CHANGED
package/shadcn/ui/command.jsx
CHANGED
|
@@ -2,14 +2,14 @@ import * as React from "react"
|
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk"
|
|
3
3
|
import { SearchIcon } from "lucide-react"
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
6
|
import {
|
|
7
7
|
Dialog,
|
|
8
8
|
DialogContent,
|
|
9
9
|
DialogDescription,
|
|
10
10
|
DialogHeader,
|
|
11
11
|
DialogTitle,
|
|
12
|
-
} from "
|
|
12
|
+
} from "./dialog"
|
|
13
13
|
|
|
14
14
|
function Command({
|
|
15
15
|
className,
|
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu"
|
|
3
3
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
6
|
|
|
7
7
|
function ContextMenu({
|
|
8
8
|
...props
|
package/shadcn/ui/dialog.jsx
CHANGED
package/shadcn/ui/drawer.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from "react"
|
|
|
4
4
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"
|
|
5
5
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
|
|
6
6
|
|
|
7
|
-
import { cn } from "
|
|
7
|
+
import { cn } from "../lib/utils"
|
|
8
8
|
|
|
9
9
|
function DropdownMenu({
|
|
10
10
|
...props
|
package/shadcn/ui/hover-card.jsx
CHANGED
package/shadcn/ui/input.jsx
CHANGED
package/shadcn/ui/label.jsx
CHANGED
package/shadcn/ui/menubar.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from "react"
|
|
|
4
4
|
import * as MenubarPrimitive from "@radix-ui/react-menubar"
|
|
5
5
|
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
|
|
6
6
|
|
|
7
|
-
import { cn } from "
|
|
7
|
+
import { cn } from "../lib/utils"
|
|
8
8
|
|
|
9
9
|
function Menubar({
|
|
10
10
|
className,
|
|
@@ -3,7 +3,7 @@ import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"
|
|
|
3
3
|
import { cva } from "class-variance-authority"
|
|
4
4
|
import { ChevronDownIcon } from "lucide-react"
|
|
5
5
|
|
|
6
|
-
import { cn } from "
|
|
6
|
+
import { cn } from "../lib/utils"
|
|
7
7
|
|
|
8
8
|
function NavigationMenu({
|
|
9
9
|
className,
|
package/shadcn/ui/pagination.jsx
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
MoreHorizontalIcon,
|
|
6
6
|
} from "lucide-react"
|
|
7
7
|
|
|
8
|
-
import { cn } from "
|
|
9
|
-
import { buttonVariants } from "
|
|
8
|
+
import { cn } from "../lib/utils"
|
|
9
|
+
import { buttonVariants } from "./button";
|
|
10
10
|
|
|
11
11
|
function Pagination({
|
|
12
12
|
className,
|
package/shadcn/ui/popover.jsx
CHANGED
package/shadcn/ui/progress.jsx
CHANGED
package/shadcn/ui/resizable.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from "react"
|
|
|
4
4
|
import { GripVerticalIcon } from "lucide-react"
|
|
5
5
|
import * as ResizablePrimitive from "react-resizable-panels"
|
|
6
6
|
|
|
7
|
-
import { cn } from "
|
|
7
|
+
import { cn } from "../lib/utils"
|
|
8
8
|
|
|
9
9
|
function ResizablePanelGroup({
|
|
10
10
|
className,
|
package/shadcn/ui/select.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from "react"
|
|
|
4
4
|
import * as SelectPrimitive from "@radix-ui/react-select"
|
|
5
5
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react"
|
|
6
6
|
|
|
7
|
-
import { cn } from "
|
|
7
|
+
import { cn } from "../lib/utils"
|
|
8
8
|
|
|
9
9
|
function Select({
|
|
10
10
|
...props
|
package/shadcn/ui/separator.jsx
CHANGED
package/shadcn/ui/sheet.jsx
CHANGED
package/shadcn/ui/sidebar.jsx
CHANGED
|
@@ -3,25 +3,25 @@ import { Slot } from "@radix-ui/react-slot"
|
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { PanelLeftIcon } from "lucide-react"
|
|
5
5
|
|
|
6
|
-
import { useIsMobile } from "
|
|
7
|
-
import { cn } from "
|
|
8
|
-
import { Button } from "
|
|
9
|
-
import { Input } from "
|
|
10
|
-
import { Separator } from "
|
|
6
|
+
import { useIsMobile } from "../hooks/use-mobile"
|
|
7
|
+
import { cn } from "../lib/utils"
|
|
8
|
+
import { Button } from "./button"
|
|
9
|
+
import { Input } from "./input"
|
|
10
|
+
import { Separator } from "./separator"
|
|
11
11
|
import {
|
|
12
12
|
Sheet,
|
|
13
13
|
SheetContent,
|
|
14
14
|
SheetDescription,
|
|
15
15
|
SheetHeader,
|
|
16
16
|
SheetTitle,
|
|
17
|
-
} from "
|
|
18
|
-
import { Skeleton } from "
|
|
17
|
+
} from "./sheet"
|
|
18
|
+
import { Skeleton } from "./skeleton"
|
|
19
19
|
import {
|
|
20
20
|
Tooltip,
|
|
21
21
|
TooltipContent,
|
|
22
22
|
TooltipProvider,
|
|
23
23
|
TooltipTrigger,
|
|
24
|
-
} from "
|
|
24
|
+
} from "./tooltip"
|
|
25
25
|
|
|
26
26
|
const SIDEBAR_COOKIE_NAME = "sidebar_state"
|
|
27
27
|
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7
|
package/shadcn/ui/skeleton.jsx
CHANGED
package/shadcn/ui/slider.jsx
CHANGED
package/shadcn/ui/switch.jsx
CHANGED
package/shadcn/ui/table.jsx
CHANGED
package/shadcn/ui/tabs.jsx
CHANGED
package/shadcn/ui/textarea.jsx
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import * as React from "react"
|
|
3
3
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group"
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
6
|
-
import { toggleVariants } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
|
+
import { toggleVariants } from "./toggle"
|
|
7
7
|
|
|
8
8
|
const ToggleGroupContext = React.createContext({
|
|
9
9
|
size: "default",
|
package/shadcn/ui/toggle.jsx
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import * as TogglePrimitive from "@radix-ui/react-toggle"
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
import { cn } from "
|
|
5
|
+
import { cn } from "../lib/utils"
|
|
6
6
|
|
|
7
7
|
const toggleVariants = cva(
|
|
8
8
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
|