rockin 0.0.28 → 0.0.29
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/ui/index.d.ts +2 -4
- package/dist/ui/index.js +5 -8
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -814,14 +814,12 @@ declare const sizeStyles: {
|
|
|
814
814
|
declare const variantStyles: {
|
|
815
815
|
readonly pill: {
|
|
816
816
|
readonly container: "shadow-raised rounded-full";
|
|
817
|
-
readonly button: "rounded-full text-foreground hover:bg-foreground/6 active:scale-[0.96]";
|
|
818
|
-
readonly limit: "opacity-35 hover:bg-transparent";
|
|
817
|
+
readonly button: "rounded-full text-foreground enabled:hover:bg-foreground/6 enabled:active:scale-[0.96] disabled:opacity-35";
|
|
819
818
|
readonly text: "font-medium";
|
|
820
819
|
};
|
|
821
820
|
readonly outline: {
|
|
822
821
|
readonly container: "rounded-lg bg-background p-0! transition-[border-color,box-shadow] duration-150 ease-out focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/15";
|
|
823
|
-
readonly button: "rounded-md text-
|
|
824
|
-
readonly limit: "text-muted-foreground/35 hover:bg-transparent hover:text-muted-foreground/35";
|
|
822
|
+
readonly button: "rounded-md text-foreground enabled:hover:bg-muted enabled:active:scale-[0.94] disabled:text-muted-foreground/40";
|
|
825
823
|
readonly text: "font-mono font-medium tracking-tight";
|
|
826
824
|
};
|
|
827
825
|
};
|
package/dist/ui/index.js
CHANGED
|
@@ -6332,14 +6332,12 @@ var sizeStyles = {
|
|
|
6332
6332
|
var variantStyles = {
|
|
6333
6333
|
pill: {
|
|
6334
6334
|
container: "shadow-raised rounded-full",
|
|
6335
|
-
button: "rounded-full text-foreground hover:bg-foreground/6 active:scale-[0.96]",
|
|
6336
|
-
limit: "opacity-35 hover:bg-transparent",
|
|
6335
|
+
button: "rounded-full text-foreground enabled:hover:bg-foreground/6 enabled:active:scale-[0.96] disabled:opacity-35",
|
|
6337
6336
|
text: "font-medium"
|
|
6338
6337
|
},
|
|
6339
6338
|
outline: {
|
|
6340
6339
|
container: "rounded-lg bg-background p-0! transition-[border-color,box-shadow] duration-150 ease-out focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/15",
|
|
6341
|
-
button: "rounded-md text-
|
|
6342
|
-
limit: "text-muted-foreground/35 hover:bg-transparent hover:text-muted-foreground/35",
|
|
6340
|
+
button: "rounded-md text-foreground enabled:hover:bg-muted enabled:active:scale-[0.94] disabled:text-muted-foreground/40",
|
|
6343
6341
|
text: "font-mono font-medium tracking-tight"
|
|
6344
6342
|
}
|
|
6345
6343
|
};
|
|
@@ -6554,8 +6552,7 @@ var NumberStepper = forwardRef4(
|
|
|
6554
6552
|
"flex shrink-0 touch-manipulation items-center justify-center outline-hidden select-none disabled:cursor-not-allowed",
|
|
6555
6553
|
styles.button,
|
|
6556
6554
|
"transition-[scale,opacity,background-color,color] duration-150 ease-out motion-reduce:transition-[opacity,background-color,color]",
|
|
6557
|
-
look.button
|
|
6558
|
-
(disabled || atLimit) && look.limit
|
|
6555
|
+
look.button
|
|
6559
6556
|
),
|
|
6560
6557
|
children: /* @__PURE__ */ jsx42(
|
|
6561
6558
|
"svg",
|
|
@@ -6586,7 +6583,7 @@ var NumberStepper = forwardRef4(
|
|
|
6586
6583
|
styles.button,
|
|
6587
6584
|
"transition-[scale,background-color,color] duration-150 ease-out motion-reduce:transition-[background-color,color]",
|
|
6588
6585
|
look.button,
|
|
6589
|
-
"hover:bg-destructive/10 hover:text-destructive"
|
|
6586
|
+
"enabled:hover:bg-destructive/10 enabled:hover:text-destructive"
|
|
6590
6587
|
),
|
|
6591
6588
|
children: /* @__PURE__ */ jsx42(
|
|
6592
6589
|
"svg",
|
|
@@ -6678,7 +6675,7 @@ var NumberStepper = forwardRef4(
|
|
|
6678
6675
|
}
|
|
6679
6676
|
},
|
|
6680
6677
|
className: cn39(
|
|
6681
|
-
"col-start-1 row-start-1 w-full bg-transparent text-center tabular-nums caret-foreground outline-hidden selection:bg-ring/25 disabled:cursor-not-allowed",
|
|
6678
|
+
"col-start-1 row-start-1 w-full bg-transparent text-center tabular-nums caret-foreground outline-hidden selection:bg-ring/25 selection:text-foreground disabled:cursor-not-allowed",
|
|
6682
6679
|
styles.text,
|
|
6683
6680
|
look.text,
|
|
6684
6681
|
editing ? "text-foreground" : "text-transparent"
|