@driveflux/beam 3.0.7 → 3.0.8-next.0
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/alert/Alert.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "error" | "default" | "warning" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
declare const AlertIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<SVGSVGElement> & {
|
|
7
7
|
variant?: "default" | "error" | "warning";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StoryObj } from '@storybook/react';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
component: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "error" | "default" | "warning" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
6
|
};
|
|
7
7
|
export default meta;
|
package/dist/badge/Badge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
colorScheme?: "
|
|
4
|
+
colorScheme?: "error" | "info" | "warning" | "success" | "accent" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
package/dist/button/Button.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "outline" | "outline-white" | null | undefined;
|
|
5
|
-
colorScheme?: "
|
|
5
|
+
colorScheme?: "link" | "default" | "warning" | "success" | "accent" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -77,7 +77,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
77
77
|
}
|
|
78
78
|
return target;
|
|
79
79
|
}
|
|
80
|
-
import { jsx as _jsx
|
|
80
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
81
81
|
import { Slot } from '@radix-ui/react-slot';
|
|
82
82
|
import { cva } from 'class-variance-authority';
|
|
83
83
|
import * as React from 'react';
|
|
@@ -104,7 +104,7 @@ var TextButton = /*#__PURE__*/ React.forwardRef(function(_param, ref) {
|
|
|
104
104
|
"children"
|
|
105
105
|
]);
|
|
106
106
|
var Comp = asChild ? Slot : 'button';
|
|
107
|
-
return /*#__PURE__*/
|
|
107
|
+
return /*#__PURE__*/ _jsx(Comp, _object_spread_props(_object_spread({
|
|
108
108
|
className: cn(textButtonVariants({
|
|
109
109
|
variant: variant,
|
|
110
110
|
className: className
|
|
@@ -112,11 +112,7 @@ var TextButton = /*#__PURE__*/ React.forwardRef(function(_param, ref) {
|
|
|
112
112
|
ref: ref,
|
|
113
113
|
disabled: isDisabled || isLoading
|
|
114
114
|
}, props), {
|
|
115
|
-
children:
|
|
116
|
-
children,
|
|
117
|
-
" ",
|
|
118
|
-
isLoading && /*#__PURE__*/ _jsx(LoadingAnimation, {})
|
|
119
|
-
]
|
|
115
|
+
children: isLoading ? /*#__PURE__*/ _jsx(LoadingAnimation, {}) : children
|
|
120
116
|
}));
|
|
121
117
|
});
|
|
122
118
|
TextButton.displayName = 'TextButton';
|
|
@@ -27,7 +27,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
|
|
|
27
27
|
ref?: React.Ref<HTMLInputElement>;
|
|
28
28
|
} & {
|
|
29
29
|
asChild?: boolean;
|
|
30
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "
|
|
30
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "type" | "onChange"> & {
|
|
31
31
|
value?: string;
|
|
32
32
|
onValueChange?: (search: string) => void;
|
|
33
33
|
} & React.RefAttributes<HTMLInputElement>, "ref"> & CommandInputProps & React.RefAttributes<HTMLInputElement>>;
|
package/dist/text/Text.js
CHANGED
|
@@ -78,7 +78,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
78
78
|
return target;
|
|
79
79
|
}
|
|
80
80
|
import * as React from 'react';
|
|
81
|
-
import { cn } from '../utils';
|
|
81
|
+
import { cn } from '../utils.js';
|
|
82
82
|
var Text = /*#__PURE__*/ React.forwardRef(function(_param, ref) {
|
|
83
83
|
var _param_as = _param.as, as = _param_as === void 0 ? 'p' : _param_as, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
84
84
|
"as",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driveflux/beam",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8-next.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./accordion": {
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"sonner": "^2.0.7",
|
|
233
233
|
"tailwind-merge": "^3.3.1",
|
|
234
234
|
"tailwindcss-animate": "^1.0.7",
|
|
235
|
-
"@driveflux/time": "6.0.0",
|
|
235
|
+
"@driveflux/time": "6.0.1-next.0",
|
|
236
236
|
"vaul": "^1.1.2",
|
|
237
237
|
"vite": "^7.1.11"
|
|
238
238
|
},
|