sparkdesign 0.4.6 → 0.4.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/AI_README.md +60 -0
- package/README.md +1 -1
- package/cli/dist/commands/add.js +1 -1
- package/cli/dist/commands/init.js +1 -1
- package/cli/registry/AGENTS.md +9 -2
- package/cli/registry/agent-manifest.json +794 -0
- package/cli/registry/basic/alert.tsx +76 -0
- package/cli/registry/basic/aspect-ratio.tsx +8 -0
- package/cli/registry/basic/breadcrumb.tsx +117 -0
- package/cli/registry/basic/button-group.tsx +79 -0
- package/cli/registry/basic/button.tsx +1 -1
- package/cli/registry/basic/calendar.tsx +221 -0
- package/cli/registry/basic/card.tsx +103 -0
- package/cli/registry/basic/carousel.tsx +241 -0
- package/cli/registry/basic/chart.tsx +372 -0
- package/cli/registry/basic/checkbox.tsx +42 -0
- package/cli/registry/basic/collapsible-card.tsx +2 -2
- package/cli/registry/basic/combobox.tsx +75 -0
- package/cli/registry/basic/command.tsx +184 -0
- package/cli/registry/basic/context-menu.tsx +239 -0
- package/cli/registry/basic/data-table.tsx +73 -0
- package/cli/registry/basic/date-picker.tsx +13 -0
- package/cli/registry/basic/dialog.tsx +169 -0
- package/cli/registry/basic/direction.tsx +25 -0
- package/cli/registry/basic/drawer.tsx +164 -0
- package/cli/registry/basic/dropdown-menu.tsx +0 -4
- package/cli/registry/basic/empty.tsx +104 -0
- package/cli/registry/basic/field.tsx +248 -0
- package/cli/registry/basic/hover-card.tsx +58 -0
- package/cli/registry/basic/input-group.tsx +168 -0
- package/cli/registry/basic/input-otp.tsx +75 -0
- package/cli/registry/basic/input.tsx +27 -0
- package/cli/registry/basic/item.tsx +204 -0
- package/cli/registry/basic/label.tsx +24 -0
- package/cli/registry/basic/menubar.tsx +274 -0
- package/cli/registry/basic/native-select.tsx +62 -0
- package/cli/registry/basic/navigation-menu.tsx +168 -0
- package/cli/registry/basic/popover.tsx +59 -0
- package/cli/registry/basic/scroll-area.tsx +58 -0
- package/cli/registry/basic/select.tsx +2 -1
- package/cli/registry/basic/separator.tsx +26 -0
- package/cli/registry/basic/sheet.tsx +18 -0
- package/cli/registry/basic/textarea.tsx +25 -0
- package/cli/registry/basic/toggle.tsx +1 -1
- package/cli/registry/basic/typography.tsx +1 -1
- package/cli/registry/chat/chat-input/chat-input-textarea.tsx +1 -1
- package/cli/registry/chat/chat-input/compound.tsx +4 -3
- package/cli/registry/chat/chat-input/context.tsx +4 -1
- package/cli/registry/chat/code-block-part.tsx +1 -1
- package/cli/registry/chat/conversation-anchor-nav.tsx +349 -0
- package/cli/registry/chat/file-attachment.tsx +2 -1
- package/cli/registry/chat/file-review-part.tsx +21 -21
- package/cli/registry/chat/markdown.tsx +2 -2
- package/cli/registry/chat/queue-indicator.tsx +1 -0
- package/cli/registry/chat/streaming-markdown-block.tsx +12 -8
- package/cli/registry/chat/tool-invocation-card.tsx +4 -1
- package/cli/registry/lib/file-icon-maps.ts +22 -22
- package/cli/registry/meta.json +518 -0
- package/cli/registry/tokens/ontology.json +404 -0
- package/cli/registry/tokens/scale/presets/compact.css +16 -5
- package/cli/registry/tokens/scale/presets/dense.css +13 -2
- package/cli/registry/tokens/scale/presets/sharp.css +18 -6
- package/cli/registry/tokens/scale/presets/soft.css +23 -1
- package/dist/registry/basic/alert.d.ts +24 -0
- package/dist/registry/basic/aspect-ratio.d.ts +16 -0
- package/dist/registry/basic/breadcrumb.d.ts +24 -0
- package/dist/registry/basic/button-group.d.ts +26 -0
- package/dist/registry/basic/button.d.ts +1 -1
- package/dist/registry/basic/calendar.d.ts +22 -0
- package/dist/registry/basic/card.d.ts +27 -0
- package/dist/registry/basic/carousel.d.ts +19 -0
- package/dist/registry/basic/chart.d.ts +55 -0
- package/dist/registry/basic/checkbox.d.ts +21 -0
- package/dist/registry/basic/combobox.d.ts +26 -0
- package/dist/registry/basic/command.d.ts +18 -0
- package/dist/registry/basic/context-menu.d.ts +44 -0
- package/dist/registry/basic/data-table.d.ts +26 -0
- package/dist/registry/basic/date-picker.d.ts +18 -0
- package/dist/registry/basic/dialog.d.ts +39 -0
- package/dist/registry/basic/direction.d.ts +19 -0
- package/dist/registry/basic/drawer.d.ts +37 -0
- package/dist/registry/basic/empty.d.ts +22 -0
- package/dist/registry/basic/field.d.ts +24 -0
- package/dist/registry/basic/hover-card.d.ts +22 -0
- package/dist/registry/basic/input-group.d.ts +27 -0
- package/dist/registry/basic/input-otp.d.ts +22 -0
- package/dist/registry/basic/input.d.ts +15 -0
- package/dist/registry/basic/item.d.ts +34 -0
- package/dist/registry/basic/label.d.ts +16 -0
- package/dist/registry/basic/menubar.d.ts +37 -0
- package/dist/registry/basic/native-select.d.ts +18 -0
- package/dist/registry/basic/navigation-menu.d.ts +25 -0
- package/dist/registry/basic/popover.d.ts +23 -0
- package/dist/registry/basic/scroll-area.d.ts +5 -0
- package/dist/registry/basic/separator.d.ts +16 -0
- package/dist/registry/basic/sheet.d.ts +13 -0
- package/dist/registry/basic/textarea.d.ts +15 -0
- package/dist/registry/basic/toggle.d.ts +1 -1
- package/dist/registry/chat/chat-input/context.d.ts +3 -1
- package/dist/registry/chat/conversation-anchor-nav.d.ts +72 -0
- package/dist/registry/chat/tool-invocation-card.d.ts +2 -0
- package/dist/scale/presets/compact.css +16 -5
- package/dist/scale/presets/dense.css +13 -2
- package/dist/scale/presets/sharp.css +18 -6
- package/dist/scale/presets/soft.css +23 -1
- package/dist/spark-design.cjs.js +40 -36
- package/dist/spark-design.es.js +8647 -8657
- package/dist/sparkdesign.css +1 -1
- package/dist/src/components/basic/Alert/index.d.ts +13 -0
- package/dist/src/components/basic/AspectRatio/index.d.ts +13 -0
- package/dist/src/components/basic/Breadcrumb/index.d.ts +12 -0
- package/dist/src/components/basic/ButtonGroup/index.d.ts +13 -0
- package/dist/src/components/basic/Calendar/index.d.ts +13 -0
- package/dist/src/components/basic/Card/index.d.ts +13 -0
- package/dist/src/components/basic/Carousel/index.d.ts +12 -0
- package/dist/src/components/basic/Chart/index.d.ts +13 -0
- package/dist/src/components/basic/Checkbox/index.d.ts +13 -0
- package/dist/src/components/basic/Combobox/index.d.ts +13 -0
- package/dist/src/components/basic/Command/index.d.ts +12 -0
- package/dist/src/components/basic/ContextMenu/index.d.ts +19 -0
- package/dist/src/components/basic/DataTable/index.d.ts +13 -0
- package/dist/src/components/basic/DatePicker/index.d.ts +13 -0
- package/dist/src/components/basic/Dialog/index.d.ts +16 -0
- package/dist/src/components/basic/Direction/index.d.ts +13 -0
- package/dist/src/components/basic/Drawer/index.d.ts +16 -0
- package/dist/src/components/basic/Empty/index.d.ts +12 -0
- package/dist/src/components/basic/Field/index.d.ts +12 -0
- package/dist/src/components/basic/HoverCard/index.d.ts +16 -0
- package/dist/src/components/basic/Input/index.d.ts +13 -0
- package/dist/src/components/basic/InputGroup/index.d.ts +12 -0
- package/dist/src/components/basic/InputOTP/index.d.ts +12 -0
- package/dist/src/components/basic/Item/index.d.ts +12 -0
- package/dist/src/components/basic/Label/index.d.ts +13 -0
- package/dist/src/components/basic/Menubar/index.d.ts +12 -0
- package/dist/src/components/basic/NativeSelect/index.d.ts +12 -0
- package/dist/src/components/basic/NavigationMenu/index.d.ts +12 -0
- package/dist/src/components/basic/Popover/index.d.ts +16 -0
- package/dist/src/components/basic/ScrollArea/index.d.ts +12 -0
- package/dist/src/components/basic/Separator/index.d.ts +13 -0
- package/dist/src/components/basic/Sheet/index.d.ts +13 -0
- package/dist/src/components/basic/Textarea/index.d.ts +13 -0
- package/dist/src/components/chat/ConversationAnchorNav/index.d.ts +13 -0
- package/dist/src/components/chat/StreamingMarkdownBlock/index.d.ts +13 -0
- package/dist/src/components/index.d.ts +57 -0
- package/dist/tokens/AGENTS.md +1 -0
- package/dist/tokens/scale/presets/compact.css +16 -5
- package/dist/tokens/scale/presets/dense.css +13 -2
- package/dist/tokens/scale/presets/sharp.css +18 -6
- package/dist/tokens/scale/presets/soft.css +23 -1
- package/docs/agent/component-selection.md +60 -0
- package/docs/agent/token-ontology.md +37 -0
- package/package.json +31 -5
- package/registry/agent-manifest.json +794 -0
- package/registry/tokens/ontology.json +404 -0
- package/dist/_basePickBy-DnQN8w3y.js +0 -151
- package/dist/_basePickBy-a-kPMlkg.cjs +0 -1
- package/dist/_baseUniq-B-N2NQ50.js +0 -614
- package/dist/_baseUniq-Cc_zbSif.cjs +0 -1
- package/dist/arc-BQBhijZ6.js +0 -83
- package/dist/arc-mWQt0Yph.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-BMZEucno.cjs +0 -36
- package/dist/architectureDiagram-VXUJARFQ-DTdjD3Bp.js +0 -4661
- package/dist/blockDiagram-VD42YOAC-CzHn0yob.js +0 -2256
- package/dist/blockDiagram-VD42YOAC-DDxdHAlz.cjs +0 -122
- package/dist/c4Diagram-YG6GDRKO-4Gz0I4gj.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-BIy--yVN.js +0 -1580
- package/dist/channel-BQn0o8bs.js +0 -5
- package/dist/channel-DaN7XniJ.cjs +0 -1
- package/dist/chunk-4BX2VUAB-BlQFTQqz.cjs +0 -1
- package/dist/chunk-4BX2VUAB-Czitj3Kc.js +0 -8
- package/dist/chunk-55IACEB6-DXacNZbO.js +0 -8
- package/dist/chunk-55IACEB6-DnDxpye9.cjs +0 -1
- package/dist/chunk-B4BG7PRW-CBdN0q_V.js +0 -1375
- package/dist/chunk-B4BG7PRW-DbGvUkGO.cjs +0 -165
- package/dist/chunk-DI55MBZ5-D1YJMs6x.cjs +0 -220
- package/dist/chunk-DI55MBZ5-NCQTvayw.js +0 -1370
- package/dist/chunk-FMBD7UC4-CsGMbrtr.js +0 -19
- package/dist/chunk-FMBD7UC4-Di7cUUh5.cjs +0 -15
- package/dist/chunk-QN33PNHL-0j5LC8Lm.cjs +0 -1
- package/dist/chunk-QN33PNHL-3GERZBRm.js +0 -19
- package/dist/chunk-QZHKN3VN-AVEY9ImQ.js +0 -15
- package/dist/chunk-QZHKN3VN-s8Z0a8mc.cjs +0 -1
- package/dist/chunk-TZMSLE5B-CAf87HPt.cjs +0 -1
- package/dist/chunk-TZMSLE5B-sbiflal0.js +0 -64
- package/dist/classDiagram-2ON5EDUG-Ct9JLIN2.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-Dzfrft3a.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-Ct9JLIN2.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-Dzfrft3a.js +0 -16
- package/dist/clone-Cde_NQ8V.js +0 -8
- package/dist/clone-DCNjWuM2.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-0uLijMro.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-Bb08N431.js +0 -2608
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CY_Wz5Zd.js +0 -444
- package/dist/dagre-6UL2VRFP-Dxe7_qZc.cjs +0 -4
- package/dist/defaultLocale-BgPVtth8.js +0 -171
- package/dist/defaultLocale-C4wbwF1n.cjs +0 -1
- package/dist/diagram-PSM6KHXK-D2bdb7MT.js +0 -531
- package/dist/diagram-PSM6KHXK-YF69SUjY.cjs +0 -24
- package/dist/diagram-QEK2KX5R-BpUSoh0-.js +0 -217
- package/dist/diagram-QEK2KX5R-DZPGteon.cjs +0 -43
- package/dist/diagram-S2PKOQOG-ht-zdvFG.cjs +0 -24
- package/dist/diagram-S2PKOQOG-zFeLJ50Z.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-B38iJ6ts.js +0 -841
- package/dist/erDiagram-Q2GNP2WA-RgS80DDU.cjs +0 -60
- package/dist/flowDiagram-NV44I4VS-BHilOs2p.cjs +0 -162
- package/dist/flowDiagram-NV44I4VS-BrBJcoce.js +0 -1620
- package/dist/ganttDiagram-JELNMOA3-pZiJeFio.cjs +0 -267
- package/dist/ganttDiagram-JELNMOA3-tw6FhkWJ.js +0 -2670
- package/dist/gitGraphDiagram-V2S2FVAM-BWn5uIK5.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-DKKeG-9R.cjs +0 -65
- package/dist/graph-DIbblrZP.cjs +0 -1
- package/dist/graph-DPcK91G3.js +0 -247
- package/dist/infoDiagram-HS3SLOUP-B8gwwhct.cjs +0 -2
- package/dist/infoDiagram-HS3SLOUP-D47PNcP_.js +0 -24
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-BG3cfhyU.js +0 -834
- package/dist/journeyDiagram-XKPGCS4Q-D8DVLJof.cjs +0 -139
- package/dist/kanban-definition-3W4ZIXB7-4OCnEouP.cjs +0 -89
- package/dist/kanban-definition-3W4ZIXB7-CWi_ssF9.js +0 -719
- package/dist/layout-Byuh8f-J.cjs +0 -1
- package/dist/layout-CdLdvj1j.js +0 -1335
- package/dist/linear-C2Q_PI9B.js +0 -259
- package/dist/linear-C69aPBW1.cjs +0 -1
- package/dist/mermaid.core-DBwAx_jp.cjs +0 -249
- package/dist/mermaid.core-gFR0XUlD.js +0 -15300
- package/dist/mindmap-definition-VGOIOE7T-8P7obVV4.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-DnOa7WJ9.js +0 -784
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/pieDiagram-ADFJNKIX-5NAlvhMo.js +0 -161
- package/dist/pieDiagram-ADFJNKIX-CQBG4yR9.cjs +0 -30
- package/dist/quadrantDiagram-AYHSOK5B-Oe4y7RZ0.cjs +0 -7
- package/dist/quadrantDiagram-AYHSOK5B-rh2DPEP1.js +0 -1022
- package/dist/requirementDiagram-UZGBJVZJ-DcWaCuXr.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-gfdlrFiq.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-CQIKFwD0.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-DvPtzQvC.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-BNrsMagL.cjs +0 -145
- package/dist/sequenceDiagram-WL72ISMW-iCX3ckKx.js +0 -2511
- package/dist/stateDiagram-FKZM4ZOC-DBvJ_eeL.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-ZVsJlaHJ.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-CB_nTHcE.js +0 -16
- package/dist/stateDiagram-v2-4FDKWEC3-Xkx17v6T.cjs +0 -1
- package/dist/timeline-definition-IT6M3QCI-BmGkYQiz.cjs +0 -61
- package/dist/timeline-definition-IT6M3QCI-Ck8zTt6w.js +0 -795
- package/dist/treemap-GDKQZRPO-B9sfERx8.js +0 -17922
- package/dist/treemap-GDKQZRPO-BVfJRs0Z.cjs +0 -160
- package/dist/xychartDiagram-PRI3JC2R-By_S8NzN.js +0 -1340
- package/dist/xychartDiagram-PRI3JC2R-CNfDrGxM.cjs +0 -7
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Calendar exports.
|
|
3
|
+
* [FROM]: registry/basic/calendar.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Calendar/index.tsx — package-facing Calendar re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Calendar, CalendarDayButton } from '../../../../registry/basic/calendar';
|
|
13
|
+
export type { CalendarProps } from '../../../../registry/basic/calendar';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Card and its sub-parts re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/card.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Card component).
|
|
5
|
+
* [HERE]: src/components/basic/Card/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardContent, CardFooter, } from '../../../../registry/basic/card';
|
|
13
|
+
export type { CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardActionProps, CardContentProps, CardFooterProps, } from '../../../../registry/basic/card';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Carousel exports.
|
|
3
|
+
* [FROM]: registry/basic/carousel.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Carousel/index.tsx — package-facing Carousel re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, type CarouselApi, } from '../../../../registry/basic/carousel';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Chart helper exports.
|
|
3
|
+
* [FROM]: registry/basic/chart.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Chart/index.tsx — package-facing Chart re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, } from '../../../../registry/basic/chart';
|
|
13
|
+
export type { ChartConfig } from '../../../../registry/basic/chart';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Checkbox re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/checkbox.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Checkbox component).
|
|
5
|
+
* [HERE]: src/components/basic/Checkbox/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Checkbox, checkboxVariants } from '../../../../registry/basic/checkbox';
|
|
13
|
+
export type { CheckboxProps } from '../../../../registry/basic/checkbox';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Combobox exports.
|
|
3
|
+
* [FROM]: registry/basic/combobox.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Combobox/index.tsx — package-facing Combobox re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Combobox } from '../../../../registry/basic/combobox';
|
|
13
|
+
export type { ComboboxOption, ComboboxProps } from '../../../../registry/basic/combobox';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Command palette exports.
|
|
3
|
+
* [FROM]: registry/basic/command.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Command/index.tsx — package-facing Command re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, } from '../../../../registry/basic/command';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: ContextMenu wrapper that injects ThemeStyleProvider data onto the Radix portal.
|
|
3
|
+
* [FROM]: registry/basic/context-menu + lib/ThemeStyleContext.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated ContextMenu component).
|
|
5
|
+
* [HERE]: src/components/basic/ContextMenu/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { ContextMenu, ContextMenuTrigger, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubTrigger, ContextMenuRadioGroup } from '../../../../registry/basic/context-menu';
|
|
14
|
+
declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<import("../../../../registry/basic/context-menu").ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-context-menu").ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
|
+
dataStyle?: string;
|
|
17
|
+
dataTheme?: string;
|
|
18
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public DataTable exports.
|
|
3
|
+
* [FROM]: registry/basic/data-table.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/DataTable/index.tsx — package-facing DataTable re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { DataTable } from '../../../../registry/basic/data-table';
|
|
13
|
+
export type { DataTableColumn, DataTableProps } from '../../../../registry/basic/data-table';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public DatePicker exports.
|
|
3
|
+
* [FROM]: registry/basic/date-picker.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/DatePicker/index.tsx — package-facing DatePicker re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { DatePicker } from '../../../../registry/basic/date-picker';
|
|
13
|
+
export type { DatePickerProps } from '../../../../registry/basic/date-picker';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Dialog wrapper that injects ThemeStyleProvider data onto the Radix portal.
|
|
3
|
+
* [FROM]: registry/basic/dialog + lib/ThemeStyleContext.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Dialog component).
|
|
5
|
+
* [HERE]: src/components/basic/Dialog/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { Dialog as DialogRoot, DialogTrigger, DialogPortal, DialogOverlay, DialogClose, DialogHeader, DialogFooter, DialogTitle, DialogDescription } from '../../../../registry/basic/dialog';
|
|
14
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<import(".").DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export { DialogRoot as Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
16
|
+
export type { DialogContentProps, DialogHeaderProps, DialogFooterProps, } from '../../../../registry/basic/dialog';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public direction context exports.
|
|
3
|
+
* [FROM]: registry/basic/direction.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Direction/index.tsx — package-facing Direction re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { DirectionProvider, useDirection } from '../../../../registry/basic/direction';
|
|
13
|
+
export type { Direction, DirectionProviderProps } from '../../../../registry/basic/direction';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Drawer wrapper that injects ThemeStyleProvider data onto the Radix portal.
|
|
3
|
+
* [FROM]: registry/basic/drawer + lib/ThemeStyleContext.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Drawer component).
|
|
5
|
+
* [HERE]: src/components/basic/Drawer/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { Drawer as DrawerRoot, DrawerTrigger, DrawerClose, DrawerPortal, DrawerOverlay, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription } from '../../../../registry/basic/drawer';
|
|
14
|
+
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<import(".").DrawerContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export { DrawerRoot as Drawer, DrawerTrigger, DrawerClose, DrawerPortal, DrawerOverlay, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
|
|
16
|
+
export type { DrawerContentProps, DrawerHeaderProps, DrawerFooterProps, } from '../../../../registry/basic/drawer';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Empty state exports.
|
|
3
|
+
* [FROM]: registry/basic/empty.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Empty/index.tsx — package-facing Empty re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, } from '../../../../registry/basic/empty';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Field exports.
|
|
3
|
+
* [FROM]: registry/basic/field.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Field/index.tsx — package-facing Field re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Field, FieldLabel, FieldDescription, FieldError, FieldContent, FieldTitle, FieldSeparator, FieldSet, FieldLegend, FieldGroup, } from '../../../../registry/basic/field';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: HoverCard wrapper that injects ThemeStyleProvider data onto the Radix portal.
|
|
3
|
+
* [FROM]: registry/basic/hover-card + lib/ThemeStyleContext.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated HoverCard component).
|
|
5
|
+
* [HERE]: src/components/basic/HoverCard/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { HoverCard, HoverCardTrigger } from '../../../../registry/basic/hover-card';
|
|
14
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<import(".").HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
|
16
|
+
export type { HoverCardContentProps } from '../../../../registry/basic/hover-card';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Input re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/input.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Input component).
|
|
5
|
+
* [HERE]: src/components/basic/Input/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Input } from '../../../../registry/basic/input';
|
|
13
|
+
export type { InputProps } from '../../../../registry/basic/input';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public InputGroup exports.
|
|
3
|
+
* [FROM]: registry/basic/input-group.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/InputGroup/index.tsx — package-facing InputGroup re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupTextarea, InputGroupText, } from '../../../../registry/basic/input-group';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public InputOTP exports.
|
|
3
|
+
* [FROM]: registry/basic/input-otp.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/InputOTP/index.tsx — package-facing InputOTP re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, } from '../../../../registry/basic/input-otp';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Item exports.
|
|
3
|
+
* [FROM]: registry/basic/item.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Item/index.tsx — package-facing Item re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, } from '../../../../registry/basic/item';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Label re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/label.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Label component).
|
|
5
|
+
* [HERE]: src/components/basic/Label/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Label } from '../../../../registry/basic/label';
|
|
13
|
+
export type { LabelProps } from '../../../../registry/basic/label';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Menubar exports.
|
|
3
|
+
* [FROM]: registry/basic/menubar.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Menubar/index.tsx — package-facing Menubar re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarShortcut, } from '../../../../registry/basic/menubar';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public NativeSelect exports.
|
|
3
|
+
* [FROM]: registry/basic/native-select.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/NativeSelect/index.tsx — package-facing NativeSelect re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { NativeSelect, NativeSelectOption, NativeSelectOptGroup, } from '../../../../registry/basic/native-select';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public NavigationMenu exports.
|
|
3
|
+
* [FROM]: registry/basic/navigation-menu.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/NavigationMenu/index.tsx — package-facing NavigationMenu re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, } from '../../../../registry/basic/navigation-menu';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Popover wrapper that injects ThemeStyleProvider data onto the Radix portal.
|
|
3
|
+
* [FROM]: registry/basic/popover + lib/ThemeStyleContext.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Popover component).
|
|
5
|
+
* [HERE]: src/components/basic/Popover/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { Popover, PopoverTrigger, PopoverAnchor } from '../../../../registry/basic/popover';
|
|
14
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<import(".").PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export { Popover, PopoverTrigger, PopoverAnchor, PopoverContent };
|
|
16
|
+
export type { PopoverContentProps } from '../../../../registry/basic/popover';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public ScrollArea exports.
|
|
3
|
+
* [FROM]: registry/basic/scroll-area.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/ScrollArea/index.tsx — package-facing ScrollArea re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { ScrollArea, ScrollBar } from '../../../../registry/basic/scroll-area';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Separator re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/separator.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Separator component).
|
|
5
|
+
* [HERE]: src/components/basic/Separator/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Separator } from '../../../../registry/basic/separator';
|
|
13
|
+
export type { SeparatorProps } from '../../../../registry/basic/separator';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public Sheet compatibility exports.
|
|
3
|
+
* [FROM]: registry/basic/sheet.
|
|
4
|
+
* [TO]: sparkdesign package consumers and Showcase demos.
|
|
5
|
+
* [HERE]: src/components/basic/Sheet/index.tsx — package-facing Sheet alias re-export.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Sheet, SheetTrigger, SheetClose, SheetPortal, SheetOverlay, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, sheetVariants, } from '../../../../registry/basic/sheet';
|
|
13
|
+
export type { SheetContentProps, SheetHeaderProps, SheetFooterProps, } from '../../../../registry/basic/sheet';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Textarea re-export from registry.
|
|
3
|
+
* [FROM]: registry/basic/textarea.
|
|
4
|
+
* [TO]: sparkdesign package consumers (integrated Textarea component).
|
|
5
|
+
* [HERE]: src/components/basic/Textarea/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { Textarea } from '../../../../registry/basic/textarea';
|
|
13
|
+
export type { TextareaProps } from '../../../../registry/basic/textarea';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public exports from this file (see implementation below).
|
|
3
|
+
* [FROM]: See the import block immediately after this header.
|
|
4
|
+
* [TO]: sparkdesign package consumers; output of CLI `add` when applicable.
|
|
5
|
+
* [HERE]: src/components/chat/ConversationAnchorNav/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { ConversationAnchorNav, useVisibleAnchorIndex, } from '../../../../registry/chat/conversation-anchor-nav';
|
|
13
|
+
export type { ConversationAnchorNavProps, ConversationAnchorItem, ConversationAnchorLabels, ConversationAnchorVariant, UseVisibleAnchorIndexOptions, } from '../../../../registry/chat/conversation-anchor-nav';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* [WHO]: Public exports from this file (see implementation below).
|
|
3
|
+
* [FROM]: See the import block immediately after this header.
|
|
4
|
+
* [TO]: sparkdesign package consumers; output of CLI `add` when applicable.
|
|
5
|
+
* [HERE]: src/components/chat/StreamingMarkdownBlock/index.tsx — Spark Design source; keep aligned with the main library.
|
|
6
|
+
*
|
|
7
|
+
* [PROTOCOL]:
|
|
8
|
+
* 1. Keep this P3 header in sync when the public contract changes.
|
|
9
|
+
* 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change.
|
|
10
|
+
* 3. Follow design tokens and explicit type exports.
|
|
11
|
+
*/
|
|
12
|
+
export { StreamingMarkdownBlock } from '../../../../registry/chat/streaming-markdown-block';
|
|
13
|
+
export type { StreamingMarkdownBlockProps } from '../../../../registry/chat/streaming-markdown-block';
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export { Button } from './basic/Button';
|
|
13
13
|
export type { ButtonProps } from './basic/Button';
|
|
14
|
+
export { ButtonGroup, ButtonGroupText, ButtonGroupSeparator, buttonGroupVariants, } from './basic/ButtonGroup';
|
|
15
|
+
export type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps, } from './basic/ButtonGroup';
|
|
14
16
|
export { IconButton } from './basic/IconButton';
|
|
15
17
|
export type { IconButtonProps } from './basic/IconButton';
|
|
16
18
|
export { Tooltip } from './basic/Tooltip';
|
|
@@ -70,6 +72,57 @@ export { CollapsibleCard } from './basic/CollapsibleCard';
|
|
|
70
72
|
export type { CollapsibleCardProps } from './basic/CollapsibleCard';
|
|
71
73
|
export { SidebarMenu } from './basic/SidebarMenu';
|
|
72
74
|
export type { SidebarMenuProps, SidebarMenuItem, SidebarMenuItemAction } from './basic/SidebarMenu';
|
|
75
|
+
export { Input } from './basic/Input';
|
|
76
|
+
export type { InputProps } from './basic/Input';
|
|
77
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupTextarea, InputGroupText, } from './basic/InputGroup';
|
|
78
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, } from './basic/InputOTP';
|
|
79
|
+
export { Textarea } from './basic/Textarea';
|
|
80
|
+
export type { TextareaProps } from './basic/Textarea';
|
|
81
|
+
export { Field, FieldLabel, FieldDescription, FieldError, FieldContent, FieldTitle, FieldSeparator, FieldSet, FieldLegend, FieldGroup, } from './basic/Field';
|
|
82
|
+
export { Label } from './basic/Label';
|
|
83
|
+
export type { LabelProps } from './basic/Label';
|
|
84
|
+
export { Checkbox, checkboxVariants } from './basic/Checkbox';
|
|
85
|
+
export type { CheckboxProps } from './basic/Checkbox';
|
|
86
|
+
export { Separator } from './basic/Separator';
|
|
87
|
+
export type { SeparatorProps } from './basic/Separator';
|
|
88
|
+
export { AspectRatio } from './basic/AspectRatio';
|
|
89
|
+
export type { AspectRatioProps } from './basic/AspectRatio';
|
|
90
|
+
export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, } from './basic/Empty';
|
|
91
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, } from './basic/Item';
|
|
92
|
+
export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardContent, CardFooter, } from './basic/Card';
|
|
93
|
+
export type { CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardActionProps, CardContentProps, CardFooterProps, } from './basic/Card';
|
|
94
|
+
export { Alert, AlertTitle, AlertDescription, alertVariants } from './basic/Alert';
|
|
95
|
+
export type { AlertProps, AlertTitleProps, AlertDescriptionProps, } from './basic/Alert';
|
|
96
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from './basic/Breadcrumb';
|
|
97
|
+
export { Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, } from './basic/Dialog';
|
|
98
|
+
export type { DialogContentProps, DialogHeaderProps, DialogFooterProps, } from './basic/Dialog';
|
|
99
|
+
export { Drawer, DrawerTrigger, DrawerClose, DrawerPortal, DrawerOverlay, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, } from './basic/Drawer';
|
|
100
|
+
export type { DrawerContentProps, DrawerHeaderProps, DrawerFooterProps, } from './basic/Drawer';
|
|
101
|
+
export { Sheet, SheetTrigger, SheetClose, SheetPortal, SheetOverlay, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, sheetVariants, } from './basic/Sheet';
|
|
102
|
+
export type { SheetContentProps, SheetHeaderProps, SheetFooterProps, } from './basic/Sheet';
|
|
103
|
+
export { Popover, PopoverTrigger, PopoverAnchor, PopoverContent, } from './basic/Popover';
|
|
104
|
+
export type { PopoverContentProps } from './basic/Popover';
|
|
105
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent } from './basic/HoverCard';
|
|
106
|
+
export type { HoverCardContentProps } from './basic/HoverCard';
|
|
107
|
+
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, } from './basic/ContextMenu';
|
|
108
|
+
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarShortcut, } from './basic/Menubar';
|
|
109
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, } from './basic/NavigationMenu';
|
|
110
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, } from './basic/Command';
|
|
111
|
+
export { Combobox } from './basic/Combobox';
|
|
112
|
+
export type { ComboboxOption, ComboboxProps } from './basic/Combobox';
|
|
113
|
+
export { NativeSelect, NativeSelectOption, NativeSelectOptGroup, } from './basic/NativeSelect';
|
|
114
|
+
export { Calendar, CalendarDayButton } from './basic/Calendar';
|
|
115
|
+
export type { CalendarProps } from './basic/Calendar';
|
|
116
|
+
export { DatePicker } from './basic/DatePicker';
|
|
117
|
+
export type { DatePickerProps } from './basic/DatePicker';
|
|
118
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, type CarouselApi, } from './basic/Carousel';
|
|
119
|
+
export { DataTable } from './basic/DataTable';
|
|
120
|
+
export type { DataTableColumn, DataTableProps } from './basic/DataTable';
|
|
121
|
+
export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, } from './basic/Chart';
|
|
122
|
+
export type { ChartConfig } from './basic/Chart';
|
|
123
|
+
export { ScrollArea, ScrollBar } from './basic/ScrollArea';
|
|
124
|
+
export { DirectionProvider, useDirection } from './basic/Direction';
|
|
125
|
+
export type { Direction, DirectionProviderProps } from './basic/Direction';
|
|
73
126
|
export { FolderButton } from './chat/FolderButton';
|
|
74
127
|
export type { FolderButtonProps } from './chat/FolderButton';
|
|
75
128
|
export { ChatInput, ChatInputRoot, ChatInputAbove, ChatInputBox, ChatInputAttachments, ChatInputInput, ChatInputActions, ChatInputActionsLeft, ChatInputActionsRight, ChatInputExpandButton, ChatInputFolderButton, ChatInputMoreButton, ChatInputSendButton, ChatInputFooterLeft, } from './chat/ChatInput';
|
|
@@ -98,6 +151,8 @@ export { PermissionCard } from './chat/PermissionCard';
|
|
|
98
151
|
export type { PermissionCardProps, PermissionCardAction } from './chat/PermissionCard';
|
|
99
152
|
export { MarkdownBody } from './chat/Markdown';
|
|
100
153
|
export type { MarkdownBodyProps } from './chat/Markdown';
|
|
154
|
+
export { StreamingMarkdownBlock } from './chat/StreamingMarkdownBlock';
|
|
155
|
+
export type { StreamingMarkdownBlockProps } from './chat/StreamingMarkdownBlock';
|
|
101
156
|
export { GenerationStatusBar } from './chat/GenerationStatusBar';
|
|
102
157
|
export type { GenerationStatusBarProps } from './chat/GenerationStatusBar';
|
|
103
158
|
export { ThinkingIndicator } from './chat/ThinkingIndicator';
|
|
@@ -112,6 +167,8 @@ export { UserQuestionAnswer } from './chat/UserQuestionAnswer';
|
|
|
112
167
|
export type { UserQuestionAnswerProps, UserQuestionAnswerLabels, } from './chat/UserQuestionAnswer';
|
|
113
168
|
export { QueueIndicator } from './chat/QueueIndicator';
|
|
114
169
|
export type { QueueIndicatorProps, QueueIndicatorItem, QueueIndicatorLabels, } from './chat/QueueIndicator';
|
|
170
|
+
export { ConversationAnchorNav, useVisibleAnchorIndex, } from './chat/ConversationAnchorNav';
|
|
171
|
+
export type { ConversationAnchorNavProps, ConversationAnchorItem, ConversationAnchorLabels, ConversationAnchorVariant, UseVisibleAnchorIndexOptions, } from './chat/ConversationAnchorNav';
|
|
115
172
|
export { FileReviewPart } from './chat/FileReviewPart';
|
|
116
173
|
export type { FileReviewPartProps, FileReviewFile } from './chat/FileReviewPart';
|
|
117
174
|
export { TaskPart } from './chat/TaskPart';
|
package/dist/tokens/AGENTS.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| Scale | `scale/`, `scale.css` (legacy) | Layout tokens (`data-style`) via config + computed + presets |
|
|
11
11
|
| Theme bridge | `theme-base.css`, `theme.css` (legacy) | Tailwind `@theme` mappings, shared motion, scrollbar helpers |
|
|
12
12
|
| Color packs | `themes/*.css` | Palette definitions (`--token-color-*`) |
|
|
13
|
+
| Agent ontology | `registry/tokens/ontology.json` | Machine-readable token intent, usage, and forbidden patterns |
|
|
13
14
|
| Utilities | `scrollbar-utility.css` | Scrollbar styling helpers |
|
|
14
15
|
|
|
15
16
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* ============================================
|
|
2
2
|
* Preset: Compact - 紧凑风格
|
|
3
|
-
*
|
|
3
|
+
* 小幅压缩控件节奏,适合效率型工作台
|
|
4
4
|
* ============================================ */
|
|
5
5
|
|
|
6
6
|
[data-style="compact"] {
|
|
@@ -15,14 +15,25 @@
|
|
|
15
15
|
--radius-2xl: 12px;
|
|
16
16
|
--radius-3xl: 16px;
|
|
17
17
|
|
|
18
|
-
/* Font Size (
|
|
19
|
-
--font-size-
|
|
20
|
-
--font-size-
|
|
21
|
-
--font-size-
|
|
18
|
+
/* Font Size (略小但保持阅读舒适) */
|
|
19
|
+
--font-size-xs: 12px;
|
|
20
|
+
--font-size-xs--line-height: 16px;
|
|
21
|
+
--font-size-sm: 13px;
|
|
22
|
+
--font-size-sm--line-height: 18px;
|
|
23
|
+
--font-size-base: 14px;
|
|
24
|
+
--font-size-base--line-height: 20px;
|
|
25
|
+
--font-size-lg: 15px;
|
|
26
|
+
--font-size-lg--line-height: 22px;
|
|
27
|
+
--font-size-xl: 17px;
|
|
28
|
+
--font-size-xl--line-height: 24px;
|
|
22
29
|
--font-size-2xl: 18px;
|
|
30
|
+
--font-size-2xl--line-height: 24px;
|
|
23
31
|
--font-size-3xl: 22px;
|
|
32
|
+
--font-size-3xl--line-height: 28px;
|
|
24
33
|
--font-size-4xl: 28px;
|
|
34
|
+
--font-size-4xl--line-height: 32px;
|
|
25
35
|
--font-size-5xl: 34px;
|
|
36
|
+
--font-size-5xl--line-height: 36px;
|
|
26
37
|
--font-size-6xl: 44px;
|
|
27
38
|
--font-size-7xl: 56px;
|
|
28
39
|
--font-size-8xl: 64px;
|