@agentero/design-system 0.24.2 → 0.24.4

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.
Files changed (44) hide show
  1. package/mcp/manifests/components.html +7046 -152
  2. package/mcp/manifests/components.json +1 -1
  3. package/package.json +1 -1
  4. package/src/accordion/accordion.d.ts +35 -23
  5. package/src/accordion/accordion.js +1 -8
  6. package/src/accordion/index.d.ts +18 -1
  7. package/src/accordion/index.js +10 -2
  8. package/src/avatar-group/avatar-group.js +0 -1
  9. package/src/button/button.js +0 -1
  10. package/src/check-list/check-list.d.ts +15 -14
  11. package/src/check-list/check-list.js +1 -6
  12. package/src/check-list/index.d.ts +11 -1
  13. package/src/check-list/index.js +8 -2
  14. package/src/command/command.d.ts +117 -43
  15. package/src/command/command.js +1 -9
  16. package/src/command/index.d.ts +86 -1
  17. package/src/command/index.js +12 -2
  18. package/src/data-table/data-table.d.ts +81 -46
  19. package/src/data-table/data-table.js +71 -78
  20. package/src/data-table/index.d.ts +175 -2
  21. package/src/data-table/index.js +22 -3
  22. package/src/data-table/table.d.ts +107 -44
  23. package/src/data-table/table.js +1 -12
  24. package/src/divider/divider.js +0 -1
  25. package/src/dropdown-menu/dropdown-menu.d.ts +254 -136
  26. package/src/dropdown-menu/dropdown-menu.js +1 -14
  27. package/src/dropdown-menu/index.d.ts +51 -1
  28. package/src/dropdown-menu/index.js +16 -2
  29. package/src/hover-card/hover-card.d.ts +40 -26
  30. package/src/hover-card/hover-card.js +1 -9
  31. package/src/hover-card/index.d.ts +20 -1
  32. package/src/hover-card/index.js +11 -2
  33. package/src/label/label.js +0 -1
  34. package/src/modal/index.d.ts +38 -1
  35. package/src/modal/index.js +14 -2
  36. package/src/modal/modal.d.ts +128 -75
  37. package/src/modal/modal.js +14 -17
  38. package/src/popover/index.d.ts +24 -1
  39. package/src/popover/index.js +12 -2
  40. package/src/popover/popover.d.ts +30 -30
  41. package/src/popover/popover.js +1 -10
  42. package/src/skeleton/skeleton.js +0 -1
  43. package/src/tag/tag.js +0 -1
  44. package/src/validation-list/validation-list.js +0 -1
@@ -1,22 +1,19 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import * as PopoverPrimitive from '@radix-ui/react-popover';
3
3
  type RootProps = ComponentProps<typeof PopoverPrimitive.Root>;
4
- type TriggerProps = ComponentProps<typeof PopoverPrimitive.Trigger>;
5
- type AnchorProps = ComponentProps<typeof PopoverPrimitive.Anchor>;
6
- type CloseProps = ComponentProps<typeof PopoverPrimitive.Close>;
7
- export declare const popoverRecipe: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
8
- type ContentProps = ComponentProps<typeof PopoverPrimitive.Content>;
9
4
  /**
10
- * Non-modal floating surface anchored to a trigger, built on Radix Popover.
11
- * Compose from `Root` / `Trigger` / `Content`, plus optional `Anchor`,
5
+ * Root of a non-modal floating surface anchored to a trigger, built on Radix
6
+ * Popover. Compose `Root` with `Trigger` / `Content`, plus optional `Anchor`,
12
7
  * `Close`, and `Portal`. Use for rich interactive overlays (forms, filters,
13
8
  * pickers); prefer `Tooltip` for text hints and `DropdownMenu` for menus.
14
9
  *
15
- * @summary Compound floating surface for interactive overlays
10
+ * @summary Root provider for a floating interactive overlay
16
11
  * @see {@link https://www.radix-ui.com/primitives/docs/components/popover|Radix UI Popover}
17
12
  *
18
13
  * @example
19
14
  * ```tsx
15
+ * import { Popover } from '@agentero/design-system/popover';
16
+ *
20
17
  * <Popover.Root>
21
18
  * <Popover.Trigger asChild>
22
19
  * <Button>Filters</Button>
@@ -27,27 +24,30 @@ type ContentProps = ComponentProps<typeof PopoverPrimitive.Content>;
27
24
  * </Popover.Root>
28
25
  * ```
29
26
  */
30
- export declare const Popover: {
31
- Root: {
32
- (props: RootProps): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
35
- Trigger: {
36
- (props: TriggerProps): import("react/jsx-runtime").JSX.Element;
37
- displayName: string;
38
- };
39
- Anchor: {
40
- (props: AnchorProps): import("react/jsx-runtime").JSX.Element;
41
- displayName: string;
42
- };
43
- Close: {
44
- (props: CloseProps): import("react/jsx-runtime").JSX.Element;
45
- displayName: string;
46
- };
47
- Portal: import('react').FC<PopoverPrimitive.PopoverPortalProps>;
48
- Content: {
49
- ({ className, sideOffset, ...props }: ContentProps): import("react/jsx-runtime").JSX.Element;
50
- displayName: string;
51
- };
27
+ export declare const Root: {
28
+ (props: RootProps): import("react/jsx-runtime").JSX.Element;
29
+ displayName: string;
30
+ };
31
+ type TriggerProps = ComponentProps<typeof PopoverPrimitive.Trigger>;
32
+ export declare const Trigger: {
33
+ (props: TriggerProps): import("react/jsx-runtime").JSX.Element;
34
+ displayName: string;
35
+ };
36
+ type AnchorProps = ComponentProps<typeof PopoverPrimitive.Anchor>;
37
+ export declare const Anchor: {
38
+ (props: AnchorProps): import("react/jsx-runtime").JSX.Element;
39
+ displayName: string;
40
+ };
41
+ type CloseProps = ComponentProps<typeof PopoverPrimitive.Close>;
42
+ export declare const Close: {
43
+ (props: CloseProps): import("react/jsx-runtime").JSX.Element;
44
+ displayName: string;
45
+ };
46
+ export declare const Portal: import('react').FC<PopoverPrimitive.PopoverPortalProps>;
47
+ export declare const popoverRecipe: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
48
+ type ContentProps = ComponentProps<typeof PopoverPrimitive.Content>;
49
+ export declare const Content: {
50
+ ({ className, sideOffset, ...props }: ContentProps): import("react/jsx-runtime").JSX.Element;
51
+ displayName: string;
52
52
  };
53
53
  export {};
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { tv as e } from "tailwind-variants";
3
2
  import { jsx as t } from "react/jsx-runtime";
4
3
  import * as n from "@radix-ui/react-popover";
@@ -41,13 +40,5 @@ var s = n.Portal, c = e({ base: [
41
40
  ...i
42
41
  }) });
43
42
  l.displayName = "Popover.Content";
44
- var u = {
45
- Root: r,
46
- Trigger: i,
47
- Anchor: a,
48
- Close: o,
49
- Portal: s,
50
- Content: l
51
- };
52
43
  //#endregion
53
- export { u as Popover, c as popoverRecipe };
44
+ export { a as Anchor, o as Close, l as Content, s as Portal, r as Root, i as Trigger, c as popoverRecipe };
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { tv as e } from "tailwind-variants";
3
2
  import { jsx as t } from "react/jsx-runtime";
4
3
  //#region src/skeleton/skeleton.tsx
package/src/tag/tag.js CHANGED
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { cn as e } from "../../lib/utils.js";
3
2
  import { tv as t } from "tailwind-variants";
4
3
  import { jsx as n } from "react/jsx-runtime";
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { tv as e } from "tailwind-variants";
3
2
  import { jsx as t } from "react/jsx-runtime";
4
3
  //#region src/validation-list/validation-list.tsx