@you-agent-factory/components 0.0.2 → 0.0.7
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/charts/chart-state-panel.d.ts +1 -1
- package/dist/charts/chart.d.ts +3 -3
- package/dist/charts/index.d.ts +1 -1
- package/dist/charts/index.js +6 -1
- package/dist/chunks/alert-panel.js +10 -12
- package/dist/chunks/button.js +3 -1
- package/dist/chunks/{package-form-field.js → package-textarea.js} +51 -54
- package/dist/chunks/table-layout.js +22 -25
- package/dist/chunks/typography-roles.js +2 -2
- package/dist/chunks/typography.js +1 -1
- package/dist/chunks/{widget-frame.js → widget-frame-states.js} +144 -140
- package/dist/data-display/data-table.d.ts +1 -1
- package/dist/data-display/index.d.ts +5 -5
- package/dist/factory-emulator/factory-emulator-controls.d.ts +1 -1
- package/dist/factory-emulator/index.d.ts +1 -1
- package/dist/feedback/index.d.ts +1 -1
- package/dist/feedback/skeleton.d.ts +1 -1
- package/dist/forms/index.d.ts +9 -9
- package/dist/forms/index.js +1 -1
- package/dist/forms/package-enum-select.d.ts +3 -3
- package/dist/forms/package-select.d.ts +5 -5
- package/dist/forms/select-icons.d.ts +2 -2
- package/dist/graphs/graph-edge.d.ts +1 -1
- package/dist/graphs/graph-node-handle-badge.d.ts +1 -1
- package/dist/graphs/graph-node-shell.d.ts +1 -1
- package/dist/graphs/graph-node-state-indicator.d.ts +1 -1
- package/dist/graphs/index.d.ts +5 -5
- package/dist/graphs/index.js +483 -483
- package/dist/index.d.ts +16 -16
- package/dist/index.js +87 -87
- package/dist/layout/action-row.d.ts +1 -1
- package/dist/layout/index.d.ts +2 -2
- package/dist/overlays/collapsible.d.ts +1 -1
- package/dist/overlays/dialog.d.ts +6 -6
- package/dist/overlays/index.d.ts +3 -3
- package/dist/overlays/popover.d.ts +1 -1
- package/dist/primitives/index.d.ts +5 -5
- package/dist/primitives/index.js +3 -3
- package/dist/primitives/package-text.d.ts +1 -1
- package/dist/recipes/index.d.ts +7 -7
- package/dist/recipes/index.js +1 -1
- package/dist/recipes/widget-frame-content.d.ts +5 -5
- package/dist/recipes/widget-frame-disclosure.d.ts +3 -3
- package/dist/recipes/widget-frame-skeleton.d.ts +1 -1
- package/dist/recipes/widget-frame-states.d.ts +3 -3
- package/dist/recipes/widget-frame.d.ts +1 -1
- package/dist/testing/render.d.ts +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
export declare const COMPONENTS_PACKAGE_NAME: "@you-agent-factory/components";
|
|
3
3
|
export type ComponentsPackageName = typeof COMPONENTS_PACKAGE_NAME;
|
|
4
4
|
export { COMPONENT_CATEGORY_EXPORT_PATHS, type ComponentCategoryExportPath, } from "./category-paths";
|
|
5
|
-
export { Button, ButtonLink, buttonVariants, IconButtonShell } from "./primitives";
|
|
6
|
-
export type { ButtonLinkProps, ButtonProps, IconButtonShellProps, } from "./primitives";
|
|
7
|
-
export { DescriptionList } from "./data-display/description-list";
|
|
8
|
-
export type { DescriptionListProps } from "./data-display/description-list";
|
|
9
|
-
export { AlertPanel, AlertPanelStatusLabel, AlertPanelText, AlertPanelTitle, Skeleton, } from "./feedback";
|
|
10
|
-
export type { AlertPanelProps, AlertPanelSemanticVariant, AlertPanelStatusLabelProps, AlertPanelTextProps, AlertPanelTitleProps, AlertPanelTone, AlertPanelVariant, } from "./feedback";
|
|
11
|
-
export { CodePanel, DataTable, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, codePanelVariants, tableCellTruncateClassName, tableCellWrapClassName, tableMinWidthWideClassName, tableNarrowContainerClassName, } from "./data-display";
|
|
12
5
|
export type { CodePanelProps, DataTableColumn, DataTableProps, DataTableState, TableProps, TableSize, } from "./data-display";
|
|
13
|
-
export {
|
|
14
|
-
export type {
|
|
15
|
-
export {
|
|
16
|
-
export { FactoryEmulatorControls } from "./factory-emulator";
|
|
6
|
+
export { CodePanel, codePanelVariants, DataTable, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, tableCellTruncateClassName, tableCellWrapClassName, tableMinWidthWideClassName, tableNarrowContainerClassName, } from "./data-display";
|
|
7
|
+
export type { DescriptionListProps } from "./data-display/description-list";
|
|
8
|
+
export { DescriptionList } from "./data-display/description-list";
|
|
17
9
|
export type { FactoryEmulatorAction, FactoryEmulatorControlsProps, FactoryEmulatorRuntimeStatus, FactoryEmulatorSpeed, } from "./factory-emulator";
|
|
10
|
+
export { FactoryEmulatorControls } from "./factory-emulator";
|
|
11
|
+
export type { AlertPanelProps, AlertPanelSemanticVariant, AlertPanelStatusLabelProps, AlertPanelTextProps, AlertPanelTitleProps, AlertPanelTone, AlertPanelVariant, } from "./feedback";
|
|
12
|
+
export { AlertPanel, AlertPanelStatusLabel, AlertPanelText, AlertPanelTitle, Skeleton, } from "./feedback";
|
|
18
13
|
export type { EnumSelectOption, EnumSelectProps, FormDescriptionProps, FormErrorProps, FormFieldGroupLabelProps, FormFieldGroupProps, FormFieldMessageIds, FormFieldProps, FormHelperTextProps, FormLabelProps, FormSuccessProps, FormWarningProps, NativeSelectProps, OptionalEnumSelectProps, PackageCheckboxProps, PackageFileInputProps, PackageInputProps, PackageTextareaProps, ResetEnumSelectProps, SelectContentProps, SelectEmptyProps, SelectFieldProps, SelectItemProps, SelectLabelProps, SelectSeparatorProps, SelectTriggerProps, } from "./forms";
|
|
19
|
-
export {
|
|
14
|
+
export { buildFormFieldAriaDescribedBy, ENUM_SELECT_EMPTY_VALUE, EnumSelect, FormDescription, FormError, FormField, FormFieldGroup, FormFieldGroupLabel, FormHelperText, FormLabel, FormSuccess, FormWarning, inputVariants, NativeSelect, OptionalEnumSelect, PackageCheckbox, PackageFileInput, PackageInput, PackageTextarea, ResetEnumSelect, SELECT_EMPTY_STATE_VALUE, Select, SelectContent, SelectEmpty, SelectField, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, textareaVariants, } from "./forms";
|
|
20
15
|
export type { ActionRowProps } from "./layout/action-row";
|
|
21
|
-
export {
|
|
16
|
+
export { ActionRow } from "./layout/action-row";
|
|
22
17
|
export type { SurfacePanelProps } from "./layout/surface-panel";
|
|
23
|
-
export {
|
|
24
|
-
export type { CodeProps, HeadingProps, LabelProps, TextProps, TextVariant, } from "./primitives/typography";
|
|
25
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, OVERLAY_DIALOG_BODY_CLASS, OVERLAY_DIALOG_CONTENT_SHELL_CLASS, OVERLAY_FORM_GROUP_CLASS, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ScrollArea, ScrollBar, } from "./overlays";
|
|
18
|
+
export { SurfacePanel, surfacePanelVariants } from "./layout/surface-panel";
|
|
26
19
|
export type { DialogContentProps, ScrollAreaProps, ScrollBarProps, } from "./overlays";
|
|
20
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, OVERLAY_DIALOG_BODY_CLASS, OVERLAY_DIALOG_CONTENT_SHELL_CLASS, OVERLAY_FORM_GROUP_CLASS, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, ScrollArea, ScrollBar, } from "./overlays";
|
|
21
|
+
export type { ButtonLinkProps, ButtonProps, IconButtonShellProps, } from "./primitives";
|
|
22
|
+
export { Button, ButtonLink, buttonVariants, IconButtonShell, } from "./primitives";
|
|
23
|
+
export type { CodeProps, HeadingProps, LabelProps, TextProps, TextVariant, } from "./primitives/typography";
|
|
24
|
+
export { Code, Heading, Label, Text } from "./primitives/typography";
|
|
25
|
+
export type { WidgetDetailCopyProps, WidgetEmptyStateProps, WidgetEmptyStateTextProps, WidgetEmptyStateTitleProps, WidgetErrorStateProps, WidgetFrameDisclosureIconProps, WidgetFrameDisclosurePanelProps, WidgetFrameDisclosureProps, WidgetFrameDisclosureTriggerProps, WidgetFrameProps, WidgetLoadingStateProps, WidgetSubtitleProps, WidgetSuccessStateProps, } from "./recipes";
|
|
26
|
+
export { WIDGET_FRAME_BODY_TEXT_CLASS, WIDGET_FRAME_MIN_WIDTH_CLASS, WIDGET_FRAME_OVERFLOW_TOLERANCE_PX, WIDGET_FRAME_RESPONSIVE_SHELL_CLASS, WIDGET_FRAME_SECTION_HEADING_CLASS, WIDGET_FRAME_STORY_SHELL_DATA_ATTR, WIDGET_FRAME_SUBTITLE_CLASS, WIDGET_FRAME_SUPPORTING_LABEL_CLASS, WIDGET_FRAME_SUPPORTING_LABELS_CLASS, WIDGET_FRAME_WIDE_BODY_CLASS, WidgetDetailCopy, WidgetEmptyState, WidgetEmptyStateText, WidgetEmptyStateTitle, WidgetErrorState, WidgetFrame, WidgetFrameDisclosure, WidgetFrameDisclosureIcon, WidgetFrameDisclosurePanel, WidgetFrameDisclosureTrigger, WidgetFrameSkeleton, WidgetLoadingState, WidgetSubtitle, WidgetSuccessState, widgetFrameDetailCardClass, widgetFrameHasNoHorizontalOverflow, widgetFrameStoryShellStyle, } from "./recipes";
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { W, a as a3, b as b4, c as c3, d as d2, e as e2, f as f2, g as g2, h as h2, i as i2, j as j2, k as k2, l, m, n, o, p, q, r, s, t as t2, u, v, w, x, y, z } from "./chunks/widget-frame.js";
|
|
6
|
-
import { E, a as a4, F, b as b5, c as c4, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, N, O, P, j as j3, k as k3, l as l2, R, S as S2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t3, u as u2, v as v2, w as w2, x as x2, y as y2 } from "./chunks/package-form-field.js";
|
|
7
|
-
import { F as F2 } from "./chunks/factory-emulator-controls.js";
|
|
1
|
+
import { C, D, a, T, b, c, d, e, f, g, h, t, i, j, k } from "./chunks/table-layout.js";
|
|
2
|
+
import { F } from "./chunks/factory-emulator-controls.js";
|
|
3
|
+
import { A, a as a2, b as b2, c as c2, S } from "./chunks/alert-panel.js";
|
|
4
|
+
import { E, a as a3, F as F2, b as b3, c as c3, d as d2, e as e2, f as f2, g as g2, h as h2, i as i2, N, O, P, j as j2, k as k2, l, R, S as S2, m, n, o, p, q, r, s, t as t2, u, v, w, x, y } from "./chunks/package-textarea.js";
|
|
8
5
|
import { A as A2 } from "./chunks/action-row.js";
|
|
9
|
-
import { S as S3, s as
|
|
10
|
-
import { C as
|
|
6
|
+
import { S as S3, s as s2 } from "./chunks/surface-panel.js";
|
|
7
|
+
import { C as C2, a as a4, b as b4, D as D2, c as c4, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, j as j3, k as k3, O as O2, l as l2, m as m2, P as P2, n as n2, o as o2, p as p2, S as S4, q as q2 } from "./chunks/scroll-area.js";
|
|
8
|
+
import { B, b as b5 } from "./chunks/button.js";
|
|
9
|
+
import { B as B2, C as C3, H, I, L, T as T2 } from "./chunks/typography.js";
|
|
10
|
+
import { W, a as a5, b as b6, c as c5, d as d4, e as e4, f as f4, g as g4, h as h4, i as i4, j as j4, k as k4, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r2, s as s3, t as t3, u as u2, v as v2, w as w2, x as x2, y as y2, z } from "./chunks/widget-frame-states.js";
|
|
11
11
|
const COMPONENT_CATEGORY_EXPORT_PATHS = [
|
|
12
12
|
"primitives",
|
|
13
13
|
"forms",
|
|
@@ -30,116 +30,116 @@ export {
|
|
|
30
30
|
A2 as ActionRow,
|
|
31
31
|
A as AlertPanel,
|
|
32
32
|
a2 as AlertPanelStatusLabel,
|
|
33
|
-
|
|
33
|
+
b2 as AlertPanelText,
|
|
34
34
|
c2 as AlertPanelTitle,
|
|
35
35
|
B as Button,
|
|
36
36
|
B2 as ButtonLink,
|
|
37
37
|
COMPONENTS_PACKAGE_NAME,
|
|
38
38
|
COMPONENT_CATEGORY_EXPORT_PATHS,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
C3 as Code,
|
|
40
|
+
C as CodePanel,
|
|
41
|
+
C2 as Collapsible,
|
|
42
|
+
a4 as CollapsibleContent,
|
|
43
|
+
b4 as CollapsibleTrigger,
|
|
44
44
|
D as DataTable,
|
|
45
45
|
a as DescriptionList,
|
|
46
46
|
D2 as Dialog,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
c4 as DialogClose,
|
|
48
|
+
d3 as DialogContent,
|
|
49
|
+
e3 as DialogDescription,
|
|
50
|
+
f3 as DialogFooter,
|
|
51
|
+
g3 as DialogHeader,
|
|
52
|
+
h3 as DialogOverlay,
|
|
53
|
+
i3 as DialogPortal,
|
|
54
|
+
j3 as DialogTitle,
|
|
55
|
+
k3 as DialogTrigger,
|
|
56
56
|
E as ENUM_SELECT_EMPTY_VALUE,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
a3 as EnumSelect,
|
|
58
|
+
F as FactoryEmulatorControls,
|
|
59
|
+
F2 as FormDescription,
|
|
60
|
+
b3 as FormError,
|
|
61
|
+
c3 as FormField,
|
|
62
|
+
d2 as FormFieldGroup,
|
|
63
|
+
e2 as FormFieldGroupLabel,
|
|
64
|
+
f2 as FormHelperText,
|
|
65
|
+
g2 as FormLabel,
|
|
66
|
+
h2 as FormSuccess,
|
|
67
|
+
i2 as FormWarning,
|
|
68
68
|
H as Heading,
|
|
69
69
|
I as IconButtonShell,
|
|
70
70
|
L as Label,
|
|
71
71
|
N as NativeSelect,
|
|
72
72
|
O2 as OVERLAY_DIALOG_BODY_CLASS,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
l2 as OVERLAY_DIALOG_CONTENT_SHELL_CLASS,
|
|
74
|
+
m2 as OVERLAY_FORM_GROUP_CLASS,
|
|
75
75
|
O as OptionalEnumSelect,
|
|
76
76
|
P as PackageCheckbox,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
j2 as PackageFileInput,
|
|
78
|
+
k2 as PackageInput,
|
|
79
|
+
l as PackageTextarea,
|
|
80
80
|
P2 as Popover,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
n2 as PopoverAnchor,
|
|
82
|
+
o2 as PopoverContent,
|
|
83
|
+
p2 as PopoverTrigger,
|
|
84
84
|
R as ResetEnumSelect,
|
|
85
85
|
S2 as SELECT_EMPTY_STATE_VALUE,
|
|
86
86
|
S4 as ScrollArea,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
87
|
+
q2 as ScrollBar,
|
|
88
|
+
m as Select,
|
|
89
|
+
n as SelectContent,
|
|
90
|
+
o as SelectEmpty,
|
|
91
|
+
p as SelectField,
|
|
92
|
+
q as SelectGroup,
|
|
93
|
+
r as SelectItem,
|
|
94
|
+
s as SelectLabel,
|
|
95
|
+
t2 as SelectSeparator,
|
|
96
|
+
u as SelectTrigger,
|
|
97
|
+
v as SelectValue,
|
|
98
98
|
S as Skeleton,
|
|
99
99
|
S3 as SurfacePanel,
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
T as Table,
|
|
101
|
+
b as TableBody,
|
|
102
102
|
c as TableCaption,
|
|
103
103
|
d as TableCell,
|
|
104
104
|
e as TableHead,
|
|
105
105
|
f as TableHeader,
|
|
106
106
|
g as TableRow,
|
|
107
|
-
|
|
107
|
+
T2 as Text,
|
|
108
108
|
W as WIDGET_FRAME_BODY_TEXT_CLASS,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
109
|
+
a5 as WIDGET_FRAME_MIN_WIDTH_CLASS,
|
|
110
|
+
b6 as WIDGET_FRAME_OVERFLOW_TOLERANCE_PX,
|
|
111
|
+
c5 as WIDGET_FRAME_RESPONSIVE_SHELL_CLASS,
|
|
112
|
+
d4 as WIDGET_FRAME_SECTION_HEADING_CLASS,
|
|
113
|
+
e4 as WIDGET_FRAME_STORY_SHELL_DATA_ATTR,
|
|
114
|
+
f4 as WIDGET_FRAME_SUBTITLE_CLASS,
|
|
115
|
+
g4 as WIDGET_FRAME_SUPPORTING_LABELS_CLASS,
|
|
116
|
+
h4 as WIDGET_FRAME_SUPPORTING_LABEL_CLASS,
|
|
117
|
+
i4 as WIDGET_FRAME_WIDE_BODY_CLASS,
|
|
118
|
+
j4 as WidgetDetailCopy,
|
|
119
|
+
k4 as WidgetEmptyState,
|
|
120
|
+
l3 as WidgetEmptyStateText,
|
|
121
|
+
m3 as WidgetEmptyStateTitle,
|
|
122
|
+
n3 as WidgetErrorState,
|
|
123
|
+
o3 as WidgetFrame,
|
|
124
|
+
p3 as WidgetFrameDisclosure,
|
|
125
|
+
q3 as WidgetFrameDisclosureIcon,
|
|
126
|
+
r2 as WidgetFrameDisclosurePanel,
|
|
127
|
+
s3 as WidgetFrameDisclosureTrigger,
|
|
128
|
+
t3 as WidgetFrameSkeleton,
|
|
129
|
+
u2 as WidgetLoadingState,
|
|
130
|
+
v2 as WidgetSubtitle,
|
|
131
|
+
w2 as WidgetSuccessState,
|
|
132
|
+
w as buildFormFieldAriaDescribedBy,
|
|
133
|
+
b5 as buttonVariants,
|
|
134
134
|
h as codePanelVariants,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
x as inputVariants,
|
|
136
|
+
s2 as surfacePanelVariants,
|
|
137
137
|
t as tableCellTruncateClassName,
|
|
138
138
|
i as tableCellWrapClassName,
|
|
139
139
|
j as tableMinWidthWideClassName,
|
|
140
140
|
k as tableNarrowContainerClassName,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
y as textareaVariants,
|
|
142
|
+
x2 as widgetFrameDetailCardClass,
|
|
143
|
+
y2 as widgetFrameHasNoHorizontalOverflow,
|
|
144
144
|
z as widgetFrameStoryShellStyle
|
|
145
145
|
};
|
|
@@ -5,4 +5,4 @@ export interface ActionRowProps extends Omit<HTMLAttributes<HTMLDivElement>, "ch
|
|
|
5
5
|
statuses?: ReactNode;
|
|
6
6
|
statusesClassName?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function ActionRow({ actions, actionsClassName, className, statuses, statusesClassName, ...props }: ActionRowProps): import("react").JSX.Element | null;
|
|
8
|
+
export declare function ActionRow({ actions, actionsClassName, className, statuses, statusesClassName, ...props }: ActionRowProps): import("react/jsx-runtime").JSX.Element | null;
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Stable category path for `@you-agent-factory/components/layout`. */
|
|
2
2
|
export declare const COMPONENTS_CATEGORY: "layout";
|
|
3
3
|
export type ComponentsCategory = typeof COMPONENTS_CATEGORY;
|
|
4
|
-
export { ActionRow } from "./action-row";
|
|
5
4
|
export type { ActionRowProps } from "./action-row";
|
|
6
|
-
export {
|
|
5
|
+
export { ActionRow } from "./action-row";
|
|
7
6
|
export type { SurfacePanelProps } from "./surface-panel";
|
|
7
|
+
export { SurfacePanel, surfacePanelVariants } from "./surface-panel";
|
|
@@ -2,4 +2,4 @@ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
|
2
2
|
import type { ComponentProps } from "react";
|
|
3
3
|
export declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
export declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof CollapsiblePrimitive.Content>): import("react").JSX.Element;
|
|
5
|
+
export declare function CollapsibleContent({ className, ...props }: ComponentProps<typeof CollapsiblePrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,13 +4,13 @@ export declare const Dialog: import("react").FC<DialogPrimitive.DialogProps>;
|
|
|
4
4
|
export declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
|
|
6
6
|
export declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
export declare function DialogOverlay({ className, ...props }: ComponentProps<typeof DialogPrimitive.Overlay>): import("react").JSX.Element;
|
|
7
|
+
export declare function DialogOverlay({ className, ...props }: ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export type DialogContentProps = ComponentProps<typeof DialogPrimitive.Content> & {
|
|
9
9
|
closeDisabled?: boolean;
|
|
10
10
|
closeLabel?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function DialogContent({ children, className, closeDisabled, closeLabel, ...props }: DialogContentProps): import("react").JSX.Element;
|
|
13
|
-
export declare function DialogHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
14
|
-
export declare function DialogFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
15
|
-
export declare function DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): import("react").JSX.Element;
|
|
16
|
-
export declare function DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): import("react").JSX.Element;
|
|
12
|
+
export declare function DialogContent({ children, className, closeDisabled, closeLabel, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function DialogHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function DialogFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
package/dist/overlays/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
export declare const COMPONENTS_CATEGORY: "overlays";
|
|
3
3
|
export type ComponentsCategory = typeof COMPONENTS_CATEGORY;
|
|
4
4
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "./collapsible";
|
|
5
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./dialog";
|
|
6
5
|
export type { DialogContentProps } from "./dialog";
|
|
6
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./dialog";
|
|
7
7
|
export { OVERLAY_DIALOG_BODY_CLASS, OVERLAY_DIALOG_CONTENT_SHELL_CLASS, OVERLAY_FORM_GROUP_CLASS, } from "./overlay-layout";
|
|
8
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./popover";
|
|
9
|
-
export { ScrollArea, ScrollBar } from "./scroll-area";
|
|
8
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger, } from "./popover";
|
|
10
9
|
export type { ScrollAreaProps, ScrollBarProps } from "./scroll-area";
|
|
10
|
+
export { ScrollArea, ScrollBar } from "./scroll-area";
|
|
@@ -3,4 +3,4 @@ import type { ComponentProps } from "react";
|
|
|
3
3
|
export declare const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
4
4
|
export declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export declare function PopoverContent({ align, className, sideOffset, ...props }: ComponentProps<typeof PopoverPrimitive.Content>): import("react").JSX.Element;
|
|
6
|
+
export declare function PopoverContent({ align, className, sideOffset, ...props }: ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/** Stable category path for `@you-agent-factory/components/primitives`. */
|
|
2
2
|
export declare const COMPONENTS_CATEGORY: "primitives";
|
|
3
3
|
export type ComponentsCategory = typeof COMPONENTS_CATEGORY;
|
|
4
|
-
export { Button, buttonVariants } from "./button";
|
|
5
4
|
export type { ButtonProps } from "./button";
|
|
6
|
-
export {
|
|
5
|
+
export { Button, buttonVariants } from "./button";
|
|
7
6
|
export type { ButtonLinkProps } from "./button-link";
|
|
8
|
-
export {
|
|
7
|
+
export { ButtonLink } from "./button-link";
|
|
9
8
|
export type { IconButtonShellProps } from "./icon-button-shell";
|
|
10
|
-
export {
|
|
9
|
+
export { IconButtonShell } from "./icon-button-shell";
|
|
11
10
|
export type { PackageTextProps, PackageTextVariant } from "./package-text";
|
|
11
|
+
export { PackageText } from "./package-text";
|
|
12
|
+
export type { CodeProps, HeadingProps, LabelProps, TextProps, TextVariant, } from "./typography";
|
|
12
13
|
export { Code, Heading, Label, Text } from "./typography";
|
|
13
|
-
export type { CodeProps, HeadingProps, LabelProps, TextProps, TextVariant } from "./typography";
|
|
14
14
|
export { BODY_CODE_CLASS, BODY_TEXT_CLASS, CAPTION_TEXT_CLASS, DENSE_BODY_TEXT_CLASS, MUTED_TEXT_CLASS, PAGE_HEADING_CLASS, SECTION_HEADING_CLASS, SUPPORTING_CODE_CLASS, SUPPORTING_LABEL_CLASS, SUPPORTING_TEXT_CLASS, TEXT_TRUNCATE_CLASS, TEXT_WRAP_CLASS, } from "./typography-roles";
|
package/dist/primitives/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { B, b } from "../chunks/button.js";
|
|
|
2
2
|
import { B as B2, C, H, I, L, T } from "../chunks/typography.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { c as cn } from "../chunks/cn.js";
|
|
5
|
-
import {
|
|
5
|
+
import { B as B3, a, C as C2, D, M, P, S, b as b2, c, d, T as T2, e } from "../chunks/typography-roles.js";
|
|
6
6
|
function PackageText({
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
@@ -24,8 +24,8 @@ function PackageText({
|
|
|
24
24
|
}
|
|
25
25
|
const COMPONENTS_CATEGORY = "primitives";
|
|
26
26
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
B3 as BODY_CODE_CLASS,
|
|
28
|
+
a as BODY_TEXT_CLASS,
|
|
29
29
|
B as Button,
|
|
30
30
|
B2 as ButtonLink,
|
|
31
31
|
C2 as CAPTION_TEXT_CLASS,
|
|
@@ -3,4 +3,4 @@ export type PackageTextVariant = "body" | "title";
|
|
|
3
3
|
export type PackageTextProps = ComponentPropsWithoutRef<"p"> & {
|
|
4
4
|
variant?: PackageTextVariant;
|
|
5
5
|
};
|
|
6
|
-
export declare function PackageText({ children, className, variant, ...props }: PackageTextProps): import("react").JSX.Element;
|
|
6
|
+
export declare function PackageText({ children, className, variant, ...props }: PackageTextProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/** Stable category path for `@you-agent-factory/components/recipes`. */
|
|
2
2
|
export declare const COMPONENTS_CATEGORY: "recipes";
|
|
3
3
|
export type ComponentsCategory = typeof COMPONENTS_CATEGORY;
|
|
4
|
-
export {
|
|
5
|
-
export
|
|
6
|
-
export { WidgetDetailCopy, WidgetEmptyState, WidgetEmptyStateText, WidgetEmptyStateTitle, WidgetSubtitle, } from "./widget-frame-content";
|
|
4
|
+
export type { WidgetFrameProps } from "./widget-frame";
|
|
5
|
+
export { WidgetFrame } from "./widget-frame";
|
|
7
6
|
export type { WidgetDetailCopyProps, WidgetEmptyStateProps, WidgetEmptyStateTextProps, WidgetEmptyStateTitleProps, WidgetSubtitleProps, } from "./widget-frame-content";
|
|
7
|
+
export { WidgetDetailCopy, WidgetEmptyState, WidgetEmptyStateText, WidgetEmptyStateTitle, WidgetSubtitle, } from "./widget-frame-content";
|
|
8
|
+
export type { WidgetFrameDisclosureIconProps, WidgetFrameDisclosurePanelProps, WidgetFrameDisclosureProps, WidgetFrameDisclosureTriggerProps, } from "./widget-frame-disclosure";
|
|
9
|
+
export { WidgetFrameDisclosure, WidgetFrameDisclosureIcon, WidgetFrameDisclosurePanel, WidgetFrameDisclosureTrigger, } from "./widget-frame-disclosure";
|
|
10
|
+
export { WIDGET_FRAME_MIN_WIDTH_CLASS, WIDGET_FRAME_OVERFLOW_TOLERANCE_PX, WIDGET_FRAME_RESPONSIVE_SHELL_CLASS, WIDGET_FRAME_STORY_SHELL_DATA_ATTR, WIDGET_FRAME_WIDE_BODY_CLASS, widgetFrameDetailCardClass, widgetFrameHasNoHorizontalOverflow, widgetFrameStoryShellStyle, } from "./widget-frame-layout";
|
|
8
11
|
export { WidgetFrameSkeleton } from "./widget-frame-skeleton";
|
|
9
|
-
export { WidgetErrorState, WidgetLoadingState, WidgetSuccessState, } from "./widget-frame-states";
|
|
10
12
|
export type { WidgetErrorStateProps, WidgetLoadingStateProps, WidgetSuccessStateProps, } from "./widget-frame-states";
|
|
11
|
-
export {
|
|
12
|
-
export { WidgetFrame } from "./widget-frame";
|
|
13
|
-
export type { WidgetFrameProps } from "./widget-frame";
|
|
13
|
+
export { WidgetErrorState, WidgetLoadingState, WidgetSuccessState, } from "./widget-frame-states";
|
|
14
14
|
export { WIDGET_FRAME_BODY_TEXT_CLASS, WIDGET_FRAME_SECTION_HEADING_CLASS, WIDGET_FRAME_SUBTITLE_CLASS, WIDGET_FRAME_SUPPORTING_LABEL_CLASS, WIDGET_FRAME_SUPPORTING_LABELS_CLASS, } from "./widget-frame-typography";
|
package/dist/recipes/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z } from "../chunks/widget-frame.js";
|
|
1
|
+
import { W, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z } from "../chunks/widget-frame-states.js";
|
|
2
2
|
const COMPONENTS_CATEGORY = "recipes";
|
|
3
3
|
export {
|
|
4
4
|
COMPONENTS_CATEGORY,
|
|
@@ -3,22 +3,22 @@ export interface WidgetSubtitleProps extends HTMLAttributes<HTMLElement> {
|
|
|
3
3
|
as?: ElementType;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function WidgetSubtitle({ as: Component, children, className, ...props }: WidgetSubtitleProps): import("react").JSX.Element;
|
|
6
|
+
export declare function WidgetSubtitle({ as: Component, children, className, ...props }: WidgetSubtitleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export interface WidgetDetailCopyProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export declare function WidgetDetailCopy({ children, className, ...props }: WidgetDetailCopyProps): import("react").JSX.Element;
|
|
10
|
+
export declare function WidgetDetailCopy({ children, className, ...props }: WidgetDetailCopyProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export interface WidgetEmptyStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
compact?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare function WidgetEmptyState({ children, className, compact, ...props }: WidgetEmptyStateProps): import("react").JSX.Element;
|
|
15
|
+
export declare function WidgetEmptyState({ children, className, compact, ...props }: WidgetEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export interface WidgetEmptyStateTitleProps extends HTMLAttributes<HTMLElement> {
|
|
17
17
|
as?: ElementType;
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function WidgetEmptyStateTitle({ as: Component, children, className, ...props }: WidgetEmptyStateTitleProps): import("react").JSX.Element;
|
|
20
|
+
export declare function WidgetEmptyStateTitle({ as: Component, children, className, ...props }: WidgetEmptyStateTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export interface WidgetEmptyStateTextProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
}
|
|
24
|
-
export declare function WidgetEmptyStateText({ children, className, ...props }: WidgetEmptyStateTextProps): import("react").JSX.Element;
|
|
24
|
+
export declare function WidgetEmptyStateText({ children, className, ...props }: WidgetEmptyStateTextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,12 +2,12 @@ import { type ButtonHTMLAttributes, type HTMLAttributes, type ReactNode } from "
|
|
|
2
2
|
export interface WidgetFrameDisclosureProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare function WidgetFrameDisclosure({ children, className, ...props }: WidgetFrameDisclosureProps): import("react").JSX.Element;
|
|
5
|
+
export declare function WidgetFrameDisclosure({ children, className, ...props }: WidgetFrameDisclosureProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export interface WidgetFrameDisclosureIconProps {
|
|
7
7
|
expanded: boolean;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function WidgetFrameDisclosureIcon({ className, expanded, }: WidgetFrameDisclosureIconProps): import("react").JSX.Element;
|
|
10
|
+
export declare function WidgetFrameDisclosureIcon({ className, expanded, }: WidgetFrameDisclosureIconProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
type WidgetFrameDisclosureTriggerBaseProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "aria-expanded" | "aria-controls" | "children" | "type"> & {
|
|
12
12
|
controlsID: string;
|
|
13
13
|
expanded: boolean;
|
|
@@ -29,5 +29,5 @@ export interface WidgetFrameDisclosurePanelProps extends HTMLAttributes<HTMLDivE
|
|
|
29
29
|
expanded: boolean;
|
|
30
30
|
id: string;
|
|
31
31
|
}
|
|
32
|
-
export declare function WidgetFrameDisclosurePanel({ children, className, expanded, id, ...props }: WidgetFrameDisclosurePanelProps): import("react").JSX.Element;
|
|
32
|
+
export declare function WidgetFrameDisclosurePanel({ children, className, expanded, id, ...props }: WidgetFrameDisclosurePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { HTMLAttributes } from "react";
|
|
2
|
-
export declare function WidgetFrameSkeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
2
|
+
export declare function WidgetFrameSkeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,12 +4,12 @@ export interface WidgetLoadingStateProps extends HTMLAttributes<HTMLDivElement>
|
|
|
4
4
|
placeholder?: ReactNode;
|
|
5
5
|
showDefaultPlaceholder?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function WidgetLoadingState({ children, className, placeholder, showDefaultPlaceholder, ...props }: WidgetLoadingStateProps): import("react").JSX.Element;
|
|
7
|
+
export declare function WidgetLoadingState({ children, className, placeholder, showDefaultPlaceholder, ...props }: WidgetLoadingStateProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export interface WidgetErrorStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}
|
|
11
|
-
export declare function WidgetErrorState({ children, className, ...props }: WidgetErrorStateProps): import("react").JSX.Element;
|
|
11
|
+
export declare function WidgetErrorState({ children, className, ...props }: WidgetErrorStateProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export interface WidgetSuccessStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare function WidgetSuccessState({ children, className, ...props }: WidgetSuccessStateProps): import("react").JSX.Element;
|
|
15
|
+
export declare function WidgetSuccessState({ children, className, ...props }: WidgetSuccessStateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface WidgetFrameProps {
|
|
|
9
9
|
title: string;
|
|
10
10
|
wide?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare function WidgetFrame({ bodyClassName, bodyProps, bodyScroll, children, className, headerAction, title, wide, }: WidgetFrameProps): import("react").JSX.Element;
|
|
12
|
+
export declare function WidgetFrame({ bodyClassName, bodyProps, bodyScroll, children, className, headerAction, title, wide, }: WidgetFrameProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/testing/render.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RenderOptions, type RenderResult } from "@testing-library/react";
|
|
2
2
|
import type { ReactElement } from "react";
|
|
3
3
|
export declare function renderPackageComponent(ui: ReactElement, options?: Omit<RenderOptions, "wrapper">): RenderResult;
|
|
4
|
-
export { fireEvent, render, screen, within,
|
|
4
|
+
export { fireEvent, render, screen, waitFor, within, } from "@testing-library/react";
|
|
5
5
|
export { default as userEvent } from "@testing-library/user-event";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@you-agent-factory/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Domain-free React components, design tokens, and utilities for public visualizers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -111,7 +111,6 @@
|
|
|
111
111
|
"check:pack": "node scripts/verify-package-pack.mjs",
|
|
112
112
|
"check:package-boundary": "node scripts/check-package-boundary.mjs",
|
|
113
113
|
"check:package-dependency-direction": "node scripts/check-package-dependency-direction.mjs",
|
|
114
|
-
"prepack": "bun run build",
|
|
115
114
|
"storybook": "storybook dev -p 6017",
|
|
116
115
|
"test": "bun run test:unit && bun run check:package-boundary && bun run check:package-dependency-direction",
|
|
117
116
|
"test:build": "bun run build && vitest run --config vitest.build.config.ts",
|