@waveso/ui 0.0.4 → 0.0.5
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/badge.d.ts +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/input-group.d.ts +1 -1
- package/dist/item.d.ts +2 -2
- package/dist/styles.css +5 -0
- package/dist/tabs.d.ts +1 -1
- package/package.json +1 -1
package/dist/badge.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "default" | "destructive" | "link" | "solid" | "outline" | "secondary" | "ghost" | "success" | "warning" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
type BadgeProps = useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>;
|
|
10
10
|
declare function Badge({ className, variant, render, ...props }: BadgeProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
package/dist/button.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { Button as Button$1 } from '@base-ui/react/button';
|
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
7
7
|
declare const buttonVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
9
|
-
size?: "default" | "
|
|
8
|
+
variant?: "default" | "destructive" | "link" | "solid" | "outline" | "secondary" | "ghost" | "success" | null | undefined;
|
|
9
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
11
|
type ButtonProps = React.ComponentProps<typeof Button$1> & VariantProps<typeof buttonVariants>;
|
|
12
12
|
declare function Button({ className, variant, size, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
package/dist/input-group.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
19
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
20
|
declare function InputGroupAddon({ className, align, ...props }: InputGroupAddonProps): react_jsx_runtime.JSX.Element;
|
|
21
21
|
declare const inputGroupButtonVariants: (props?: ({
|
|
22
|
-
size?: "
|
|
22
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
23
23
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
24
|
declare function InputGroupButton({ className, type, variant, size, ...props }: InputGroupButtonProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
declare function InputGroupText({ className, ...props }: InputGroupTextProps): react_jsx_runtime.JSX.Element;
|
package/dist/item.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ import '@base-ui/react/separator';
|
|
|
8
8
|
|
|
9
9
|
declare const itemVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
11
|
-
size?: "default" | "
|
|
11
|
+
size?: "default" | "xs" | "sm" | null | undefined;
|
|
12
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
13
|
declare const itemMediaVariants: (props?: ({
|
|
14
|
-
variant?: "
|
|
14
|
+
variant?: "default" | "image" | "icon" | null | undefined;
|
|
15
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
16
|
type ItemGroupProps = React.ComponentProps<"div">;
|
|
17
17
|
type ItemSeparatorProps = React.ComponentProps<typeof Separator>;
|
package/dist/styles.css
CHANGED
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
* in your own :root / .dark blocks to customise the theme.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
/* Auto-register component source files so Tailwind generates CSS for all
|
|
14
|
+
* utility classes used by @waveso/ui components. Resolves relative to this
|
|
15
|
+
* file's location in node_modules/@waveso/ui/dist/. */
|
|
16
|
+
@source "./";
|
|
17
|
+
|
|
13
18
|
/* ---------------------------------------------------------------------------
|
|
14
19
|
* Light theme (default)
|
|
15
20
|
* ------------------------------------------------------------------------- */
|
package/dist/tabs.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
7
7
|
declare const tabsListVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "default" | "line" | null | undefined;
|
|
9
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
10
|
type TabsProps = React.ComponentProps<typeof Tabs$1.Root>;
|
|
11
11
|
type TabsListBaseProps = React.ComponentProps<typeof Tabs$1.List>;
|