@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.
- package/mcp/manifests/components.html +7046 -152
- package/mcp/manifests/components.json +1 -1
- package/package.json +1 -1
- package/src/accordion/accordion.d.ts +35 -23
- package/src/accordion/accordion.js +1 -8
- package/src/accordion/index.d.ts +18 -1
- package/src/accordion/index.js +10 -2
- package/src/avatar-group/avatar-group.js +0 -1
- package/src/button/button.js +0 -1
- package/src/check-list/check-list.d.ts +15 -14
- package/src/check-list/check-list.js +1 -6
- package/src/check-list/index.d.ts +11 -1
- package/src/check-list/index.js +8 -2
- package/src/command/command.d.ts +117 -43
- package/src/command/command.js +1 -9
- package/src/command/index.d.ts +86 -1
- package/src/command/index.js +12 -2
- package/src/data-table/data-table.d.ts +81 -46
- package/src/data-table/data-table.js +71 -78
- package/src/data-table/index.d.ts +175 -2
- package/src/data-table/index.js +22 -3
- package/src/data-table/table.d.ts +107 -44
- package/src/data-table/table.js +1 -12
- package/src/divider/divider.js +0 -1
- package/src/dropdown-menu/dropdown-menu.d.ts +254 -136
- package/src/dropdown-menu/dropdown-menu.js +1 -14
- package/src/dropdown-menu/index.d.ts +51 -1
- package/src/dropdown-menu/index.js +16 -2
- package/src/hover-card/hover-card.d.ts +40 -26
- package/src/hover-card/hover-card.js +1 -9
- package/src/hover-card/index.d.ts +20 -1
- package/src/hover-card/index.js +11 -2
- package/src/label/label.js +0 -1
- package/src/modal/index.d.ts +38 -1
- package/src/modal/index.js +14 -2
- package/src/modal/modal.d.ts +128 -75
- package/src/modal/modal.js +14 -17
- package/src/popover/index.d.ts +24 -1
- package/src/popover/index.js +12 -2
- package/src/popover/popover.d.ts +30 -30
- package/src/popover/popover.js +1 -10
- package/src/skeleton/skeleton.js +0 -1
- package/src/tag/tag.js +0 -1
- package/src/validation-list/validation-list.js +0 -1
package/src/popover/popover.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
11
|
-
* Compose
|
|
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
|
|
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
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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 {};
|
package/src/popover/popover.js
CHANGED
|
@@ -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 {
|
|
44
|
+
export { a as Anchor, o as Close, l as Content, s as Portal, r as Root, i as Trigger, c as popoverRecipe };
|
package/src/skeleton/skeleton.js
CHANGED
package/src/tag/tag.js
CHANGED