@altimateai/ui-components 0.0.6 → 0.0.8-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.
@@ -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>>;
@@ -753,7 +753,7 @@ const Dl = jl, Mr = c.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */
753
753
  {
754
754
  ref: a,
755
755
  className: w(
756
- "al-fixed al-top-0 al-z-[100] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
756
+ "al-fixed al-top-0 al-z-[1000] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
757
757
  e
758
758
  ),
759
759
  role: "region",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.6",
3
+ "version": "0.0.8-beta.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"