@stevederico/skateboard-ui 0.7.9 → 0.8.2
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/CHANGELOG.md +10 -0
- package/Header.jsx +1 -1
- package/LandingView.jsx +1 -1
- package/Sheet.jsx +1 -1
- package/package.json +1 -1
- package/shadcn/ui/button.jsx +1 -1
- package/.claude/settings.local.json +0 -11
package/CHANGELOG.md
CHANGED
package/Header.jsx
CHANGED
|
@@ -4,7 +4,7 @@ function Header(props) {
|
|
|
4
4
|
<span className="font-semibold text-2xl">{props.title}</span>
|
|
5
5
|
{typeof props.buttonTitle !== "undefined" && (
|
|
6
6
|
<button
|
|
7
|
-
className={`ml-auto bg-app text-white px-4 py-2 rounded mr-0 ${props.buttonClass || ''}`}
|
|
7
|
+
className={`ml-auto bg-app text-white px-4 py-2 rounded mr-0 cursor-pointer ${props.buttonClass || ''}`}
|
|
8
8
|
onClick={props.onButtonTitleClick}
|
|
9
9
|
>
|
|
10
10
|
{props.buttonTitle}
|
package/LandingView.jsx
CHANGED
|
@@ -200,7 +200,7 @@ export default function LandingView() {
|
|
|
200
200
|
{/* Dark Mode Toggle */}
|
|
201
201
|
<button
|
|
202
202
|
onClick={toggleDarkMode}
|
|
203
|
-
className="p-2 rounded-lg bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors duration-200"
|
|
203
|
+
className="p-2 rounded-lg bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors duration-200 cursor-pointer"
|
|
204
204
|
aria-label="Toggle dark mode"
|
|
205
205
|
>
|
|
206
206
|
<DynamicIcon
|
package/Sheet.jsx
CHANGED
|
@@ -20,7 +20,7 @@ const MySheet = forwardRef(function MySheet(props, ref) {
|
|
|
20
20
|
|
|
21
21
|
return (
|
|
22
22
|
<Sheet open={isOpen} onOpenChange={setIsOpen}>
|
|
23
|
-
<SheetContent className="bg-background w-full overflow-y-auto" side="bottom" style={{ minHeight }}>
|
|
23
|
+
<SheetContent className="bg-background w-full overflow-y-auto [&_button]:cursor-pointer [&_[role=button]]:cursor-pointer" side="bottom" style={{ minHeight }}>
|
|
24
24
|
<SheetHeader className={"mb-0"}>
|
|
25
25
|
<SheetTitle>{title}</SheetTitle>
|
|
26
26
|
</SheetHeader>
|
package/package.json
CHANGED
package/shadcn/ui/button.jsx
CHANGED
|
@@ -5,7 +5,7 @@ import { cva } from "class-variance-authority";
|
|
|
5
5
|
import { cn } from "../lib/utils"
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
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",
|
|
8
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all cursor-pointer 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",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|