@yenio-pld/blocks 1.2.0-rc.22 → 1.2.0-rc.23
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/button.d.ts +2 -2
- package/package.json +1 -1
- package/src/theme.css +7 -0
package/dist/ui/button.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Button as Button$1 } from '@base-ui/react/button';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" |
|
|
8
|
-
size?: "default" | "
|
|
7
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "xs" | "lg" | "touch" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "icon-touch" | "icon-xl" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Button({ className, variant, size, ...props }: Button$1.Props & VariantProps<typeof buttonVariants>): React.JSX.Element;
|
|
11
11
|
|
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -211,6 +211,13 @@
|
|
|
211
211
|
background: transparent;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
/* Hide increment/decrement arrow buttons (Chromium/WebKit on desktop). */
|
|
215
|
+
*::-webkit-scrollbar-button {
|
|
216
|
+
display: none;
|
|
217
|
+
width: 0;
|
|
218
|
+
height: 0;
|
|
219
|
+
}
|
|
220
|
+
|
|
214
221
|
*::-webkit-scrollbar-thumb {
|
|
215
222
|
background-color: var(--scrollbar-thumb);
|
|
216
223
|
border-radius: 9999px;
|