@altimateai/ui-components 0.0.5-beta.1 → 0.0.6-beta.1
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/CoachForm.js +1 -1
- package/dist/NativeSelect.js +33 -3
- package/dist/lineage/index.d.ts +13 -1
- package/dist/lineage/index.js +2758 -2737
- package/dist/shadcn/index.d.ts +10 -1
- package/dist/shadcn/index.js +1 -1
- package/package.json +1 -1
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -224,10 +224,19 @@ declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipP
|
|
|
224
224
|
|
|
225
225
|
declare const badgeVariants: (props?: ({
|
|
226
226
|
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
227
|
+
interactive?: boolean | null | undefined;
|
|
227
228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
228
229
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
230
|
+
/**
|
|
231
|
+
* If true, the badge will be focusable and handle keyboard events
|
|
232
|
+
*/
|
|
233
|
+
interactive?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Optional click handler for interactive badges
|
|
236
|
+
*/
|
|
237
|
+
onAction?: () => void;
|
|
229
238
|
}
|
|
230
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
239
|
+
declare function Badge({ className, variant, interactive, onAction, children, role, tabIndex, onKeyDown, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
231
240
|
|
|
232
241
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
233
242
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
package/dist/shadcn/index.js
CHANGED
|
@@ -1042,7 +1042,7 @@ const $u = ({
|
|
|
1042
1042
|
/* @__PURE__ */ s.jsx(zs, { asChild: !0, children: /* @__PURE__ */ s.jsxs(
|
|
1043
1043
|
Pt,
|
|
1044
1044
|
{
|
|
1045
|
-
variant: "
|
|
1045
|
+
variant: "secondary",
|
|
1046
1046
|
role: "combobox",
|
|
1047
1047
|
"aria-expanded": f,
|
|
1048
1048
|
id: o ? `${o}-combobox` : "default-combobox",
|