@signalflare-ai/ui 1.2.0 → 1.4.0
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/CHANGELOG.md +154 -1
- package/ai/component-registry.json +208 -550
- package/ai/component-registry.md +3042 -3115
- package/ai/schemas.ts +504 -96
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/{ai-actions-BdUZI3Gk.js → ai-actions-CBfz5XEf.js} +4 -4
- package/dist/{ai-actions-BdUZI3Gk.js.map → ai-actions-CBfz5XEf.js.map} +1 -1
- package/dist/{ai-agent-card-BR2NIYhi.js → ai-agent-card-CByAUe0q.js} +3 -3
- package/dist/ai-agent-card-CByAUe0q.js.map +1 -0
- package/dist/{ai-approval-Ba7mrKba.js → ai-approval-Ci8N70a7.js} +4 -3
- package/dist/{ai-approval-Ba7mrKba.js.map → ai-approval-Ci8N70a7.js.map} +1 -1
- package/dist/{ai-code-block-CZtoL73R.js → ai-code-block-P9TJHvaC.js} +37 -39
- package/dist/ai-code-block-P9TJHvaC.js.map +1 -0
- package/dist/{ai-conversation-Cc7WlaBg.js → ai-conversation-Qslfdi1t.js} +28 -42
- package/dist/ai-conversation-Qslfdi1t.js.map +1 -0
- package/dist/{ai-info-banner-C7EWPBj7.js → ai-info-banner-B_9vtGK3.js} +3 -3
- package/dist/{ai-info-banner-C7EWPBj7.js.map → ai-info-banner-B_9vtGK3.js.map} +1 -1
- package/dist/{ai-message-Bp7L68U_.js → ai-message-Ci3gwM7G.js} +6 -6
- package/dist/{ai-message-Bp7L68U_.js.map → ai-message-Ci3gwM7G.js.map} +1 -1
- package/dist/{ai-mission-header-TiCJfTNt.js → ai-mission-header-CaBc19-t.js} +2 -2
- package/dist/{ai-mission-header-TiCJfTNt.js.map → ai-mission-header-CaBc19-t.js.map} +1 -1
- package/dist/{ai-part-group-DNb9I446.js → ai-part-group-Dx1Mr92B.js} +5 -4
- package/dist/ai-part-group-Dx1Mr92B.js.map +1 -0
- package/dist/{ai-prompt-input-BVvov_KF.js → ai-prompt-input-Bm4XoSj2.js} +19 -17
- package/dist/ai-prompt-input-Bm4XoSj2.js.map +1 -0
- package/dist/{ai-question-GPPMk7YM.js → ai-question-OyJovxGe.js} +4 -3
- package/dist/{ai-question-GPPMk7YM.js.map → ai-question-OyJovxGe.js.map} +1 -1
- package/dist/{ai-reasoning-_feFjk56.js → ai-reasoning-BLfBXx3F.js} +9 -5
- package/dist/ai-reasoning-BLfBXx3F.js.map +1 -0
- package/dist/{ai-response-CvjV3WhV.js → ai-response-hbVCZJmo.js} +2 -2
- package/dist/{ai-response-CvjV3WhV.js.map → ai-response-hbVCZJmo.js.map} +1 -1
- package/dist/{ai-shimmer-j6lKIrjj.js → ai-shimmer-BamNMNK3.js} +2 -2
- package/dist/{ai-shimmer-j6lKIrjj.js.map → ai-shimmer-BamNMNK3.js.map} +1 -1
- package/dist/{ai-status-badge-CSU_QOdz.js → ai-status-badge-BZLczdkI.js} +2 -2
- package/dist/{ai-status-badge-CSU_QOdz.js.map → ai-status-badge-BZLczdkI.js.map} +1 -1
- package/dist/{ai-streaming-text-IWW1BhvZ.js → ai-streaming-text-DgYu64UH.js} +1 -1
- package/dist/{ai-streaming-text-IWW1BhvZ.js.map → ai-streaming-text-DgYu64UH.js.map} +1 -1
- package/dist/{ai-subagent-JA4iIMW3.js → ai-subagent-p97AI1h9.js} +3 -3
- package/dist/{ai-subagent-JA4iIMW3.js.map → ai-subagent-p97AI1h9.js.map} +1 -1
- package/dist/{ai-suggestion-BdO6MBuH.js → ai-suggestion-Bj6vF7CT.js} +3 -3
- package/dist/{ai-suggestion-BdO6MBuH.js.map → ai-suggestion-Bj6vF7CT.js.map} +1 -1
- package/dist/{ai-task-list-DYw4R1FA.js → ai-task-list-C_UQYpk9.js} +6 -4
- package/dist/{ai-task-list-DYw4R1FA.js.map → ai-task-list-C_UQYpk9.js.map} +1 -1
- package/dist/{ai-timeline-C42tOUT8.js → ai-timeline-CePL1LOU.js} +3 -3
- package/dist/ai-timeline-CePL1LOU.js.map +1 -0
- package/dist/{ai-tool-03jOTwUI.js → ai-tool-CfRcwmHT.js} +17 -11
- package/dist/ai-tool-CfRcwmHT.js.map +1 -0
- package/dist/{ai-usage-bar-BRf5LC_b.js → ai-usage-bar-45pVRCGA.js} +2 -2
- package/dist/{ai-usage-bar-BRf5LC_b.js.map → ai-usage-bar-45pVRCGA.js.map} +1 -1
- package/dist/{badge-BheXjMc8.js → badge-Beb-6uut.js} +5 -5
- package/dist/{badge-BheXjMc8.js.map → badge-Beb-6uut.js.map} +1 -1
- package/dist/{banner-CcsjunJg.js → banner-CCEksxPg.js} +3 -3
- package/dist/{banner-CcsjunJg.js.map → banner-CCEksxPg.js.map} +1 -1
- package/dist/{breadcrumbs-CouSyy3H.js → breadcrumbs-HiTmgaZ4.js} +5 -5
- package/dist/{breadcrumbs-CouSyy3H.js.map → breadcrumbs-HiTmgaZ4.js.map} +1 -1
- package/dist/{button-CO6-qPax.js → button-BHOgXJRU.js} +4 -4
- package/dist/{button-CO6-qPax.js.map → button-BHOgXJRU.js.map} +1 -1
- package/dist/catalog.js +1 -1
- package/dist/catalog.js.map +1 -1
- package/dist/{chart-Dg0qUeSc.js → chart-B9FfZdKs.js} +7 -7
- package/dist/chart-B9FfZdKs.js.map +1 -0
- package/dist/{checkbox-D7p4QKsC.js → checkbox-Cy_OCyay.js} +3 -3
- package/dist/{checkbox-D7p4QKsC.js.map → checkbox-Cy_OCyay.js.map} +1 -1
- package/dist/{clipboard-text-kLaMogs3.js → clipboard-text-CKSvNp9L.js} +6 -5
- package/dist/clipboard-text-CKSvNp9L.js.map +1 -0
- package/dist/{cn-YROP2_ox.js → cn-CmAOpn49.js} +2 -2
- package/dist/{cn-YROP2_ox.js.map → cn-CmAOpn49.js.map} +1 -1
- package/dist/{code-BN8InC0G.js → code-JsQz-0G_.js} +4 -4
- package/dist/{code-BN8InC0G.js.map → code-JsQz-0G_.js.map} +1 -1
- package/dist/{collapsible-D_ueZ0jz.js → collapsible-1kOZ-89L.js} +2 -2
- package/dist/{collapsible-D_ueZ0jz.js.map → collapsible-1kOZ-89L.js.map} +1 -1
- package/dist/{combobox-B7TOK0U2.js → combobox-CQwDmqgA.js} +4 -4
- package/dist/{combobox-B7TOK0U2.js.map → combobox-CQwDmqgA.js.map} +1 -1
- package/dist/command-line/cli.js +3 -3
- package/dist/{command-palette-CuNUyJca.js → command-palette-Bkuv3e6o.js} +20 -5
- package/dist/command-palette-Bkuv3e6o.js.map +1 -0
- package/dist/components/ai-actions.js +1 -1
- package/dist/components/ai-agent-card.js +1 -1
- package/dist/components/ai-approval.js +1 -1
- package/dist/components/ai-code-block.js +1 -1
- package/dist/components/ai-conversation.js +1 -1
- package/dist/components/ai-info-banner.js +1 -1
- package/dist/components/ai-message.js +1 -1
- package/dist/components/ai-mission-header.js +1 -1
- package/dist/components/ai-part-group.js +1 -1
- package/dist/components/ai-prompt-input.js +1 -1
- package/dist/components/ai-question.js +1 -1
- package/dist/components/ai-reasoning.js +1 -1
- package/dist/components/ai-response.js +1 -1
- package/dist/components/ai-shimmer.js +1 -1
- package/dist/components/ai-status-badge.js +1 -1
- package/dist/components/ai-streaming-text.js +1 -1
- package/dist/components/ai-subagent.js +1 -1
- package/dist/components/ai-suggestion.js +1 -1
- package/dist/components/ai-task-list.js +1 -1
- package/dist/components/ai-timeline.js +1 -1
- package/dist/components/ai-tool.js +1 -1
- package/dist/components/ai-usage-bar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/chart.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/code.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/data-grid.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/filters.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/input.js +2 -2
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/link.js +3 -3
- package/dist/components/link.js.map +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/menubar.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/signalflare-ai-logo.js +1 -1
- package/dist/components/sparkline.js +1 -1
- package/dist/components/stat-card.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/text-roll.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/theme-toggle.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/use-agent-harness.js +1 -1
- package/dist/data-grid-DrguJq_H.js +395 -0
- package/dist/data-grid-DrguJq_H.js.map +1 -0
- package/dist/{date-picker--ox89RBy.js → date-picker-O34AqG3f.js} +2 -2
- package/dist/{date-picker--ox89RBy.js.map → date-picker-O34AqG3f.js.map} +1 -1
- package/dist/{date-range-picker-DVa7QBqE.js → date-range-picker-YKYvum_r.js} +29 -39
- package/dist/{date-range-picker-DVa7QBqE.js.map → date-range-picker-YKYvum_r.js.map} +1 -1
- package/dist/{dialog-Bv1oSFOd.js → dialog-DYqu4aDO.js} +3 -3
- package/dist/{dialog-Bv1oSFOd.js.map → dialog-DYqu4aDO.js.map} +1 -1
- package/dist/{dist-B6iWiWwp.js → dist-6AtBsaJE.js} +153 -47
- package/dist/dist-6AtBsaJE.js.map +1 -0
- package/dist/{dropdown-B_nrGXjV.js → dropdown-XzbnRLYR.js} +15 -5
- package/dist/dropdown-XzbnRLYR.js.map +1 -0
- package/dist/{echart-CdOUaT-r.js → echart-DGBIVAv1.js} +23 -57
- package/dist/{echart-CdOUaT-r.js.map → echart-DGBIVAv1.js.map} +1 -1
- package/dist/{empty-DZnN0zKX.js → empty-C1tAkawe.js} +6 -6
- package/dist/{empty-DZnN0zKX.js.map → empty-C1tAkawe.js.map} +1 -1
- package/dist/{field-B_yVof52.js → field-DBpFzzBS.js} +3 -3
- package/dist/{field-B_yVof52.js.map → field-DBpFzzBS.js.map} +1 -1
- package/dist/{filters-cpJCY21R.js → filters-SmEl93za.js} +10 -10
- package/dist/filters-SmEl93za.js.map +1 -0
- package/dist/{flow-B4v198ot.js → flow-BLzgbq1T.js} +6 -6
- package/dist/flow-BLzgbq1T.js.map +1 -0
- package/dist/genui.js +2 -2
- package/dist/genui.js.map +1 -1
- package/dist/{grid-CEd64Lnh.js → grid-CifjQL-5.js} +2 -2
- package/dist/{grid-CEd64Lnh.js.map → grid-CifjQL-5.js.map} +1 -1
- package/dist/{highlight-to-react-D0Yav4jk.js → highlight-to-react-DN9dUCS2.js} +9 -15
- package/dist/highlight-to-react-DN9dUCS2.js.map +1 -0
- package/dist/index.js +71 -71
- package/dist/index.js.map +1 -1
- package/dist/{input-ClB_E4Lb.js → input-COmx2M_R.js} +5 -5
- package/dist/{input-ClB_E4Lb.js.map → input-COmx2M_R.js.map} +1 -1
- package/dist/{input-B2bbijRh.js → input-GkfMQZC_.js} +3 -3
- package/dist/{input-B2bbijRh.js.map → input-GkfMQZC_.js.map} +1 -1
- package/dist/{label-DUv_urO1.js → label-CiGZ464N.js} +3 -3
- package/dist/{label-DUv_urO1.js.map → label-CiGZ464N.js.map} +1 -1
- package/dist/{layer-card-BK7eYfwn.js → layer-card-8l8GuLQr.js} +2 -2
- package/dist/{layer-card-BK7eYfwn.js.map → layer-card-8l8GuLQr.js.map} +1 -1
- package/dist/{layout-DJHMMap2.js → layout-CWBE0qwx.js} +258 -154
- package/dist/layout-CWBE0qwx.js.map +1 -0
- package/dist/{link-provider-BUZKXaNE.js → link-provider-BSn8YJon.js} +2 -2
- package/dist/link-provider-BSn8YJon.js.map +1 -0
- package/dist/{loader-DAcc-Uag.js → loader-BEMz8pJO.js} +1 -1
- package/dist/{loader-DAcc-Uag.js.map → loader-BEMz8pJO.js.map} +1 -1
- package/dist/{measured-text-BI3dTJmH.js → measured-text-CXkdw9Yr.js} +45 -30
- package/dist/measured-text-CXkdw9Yr.js.map +1 -0
- package/dist/{menubar-Cxf3xeAt.js → menubar-CoOr4ocj.js} +3 -3
- package/dist/{menubar-Cxf3xeAt.js.map → menubar-CoOr4ocj.js.map} +1 -1
- package/dist/{meter-BFFe9l5b.js → meter-Pf_VOl59.js} +2 -2
- package/dist/{meter-BFFe9l5b.js.map → meter-Pf_VOl59.js.map} +1 -1
- package/dist/{pagination-yS372Tr4.js → pagination-DSY279Ta.js} +2 -2
- package/dist/{pagination-yS372Tr4.js.map → pagination-DSY279Ta.js.map} +1 -1
- package/dist/{popover-SRoJaCZr.js → popover-BY-e9co1.js} +2 -2
- package/dist/{popover-SRoJaCZr.js.map → popover-BY-e9co1.js.map} +1 -1
- package/dist/{radio-BcwhwYNB.js → radio-DZwL13j0.js} +2 -2
- package/dist/{radio-BcwhwYNB.js.map → radio-DZwL13j0.js.map} +1 -1
- package/dist/{select-DMhdoHMa.js → select-BFifYqHA.js} +6 -6
- package/dist/{select-DMhdoHMa.js.map → select-BFifYqHA.js.map} +1 -1
- package/dist/{sensitive-input-CJUpIRal.js → sensitive-input-DHLZcM73.js} +4 -4
- package/dist/{sensitive-input-CJUpIRal.js.map → sensitive-input-DHLZcM73.js.map} +1 -1
- package/dist/{sidebar-D4zrlYpn.js → sidebar-odGsdvG4.js} +6 -7
- package/dist/sidebar-odGsdvG4.js.map +1 -0
- package/dist/{signalflare-ai-logo-Bipogceq.js → signalflare-ai-logo-CNaDT_w8.js} +2 -2
- package/dist/{signalflare-ai-logo-Bipogceq.js.map → signalflare-ai-logo-CNaDT_w8.js.map} +1 -1
- package/dist/{skeleton-line-CH1-h6e2.js → skeleton-line-CxxYVTO2.js} +2 -2
- package/dist/{skeleton-line-CH1-h6e2.js.map → skeleton-line-CxxYVTO2.js.map} +1 -1
- package/dist/{sparkline-DHmgj1d0.js → sparkline-BQ-4j2W2.js} +2 -2
- package/dist/{sparkline-DHmgj1d0.js.map → sparkline-BQ-4j2W2.js.map} +1 -1
- package/dist/src/blocks/agent-harness/agent-harness.tsx +11 -11
- package/dist/src/blocks/commander/commander.tsx +15 -15
- package/dist/src/blocks/map-block/map-block.d.ts.map +1 -1
- package/dist/src/blocks/map-block/map-block.tsx +11 -7
- package/dist/src/components/ai-approval/ai-approval.d.ts.map +1 -1
- package/dist/src/components/ai-code-block/ai-code-block.d.ts +14 -13
- package/dist/src/components/ai-code-block/ai-code-block.d.ts.map +1 -1
- package/dist/src/components/ai-conversation/ai-conversation.d.ts.map +1 -1
- package/dist/src/components/ai-part-group/ai-part-group.d.ts.map +1 -1
- package/dist/src/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
- package/dist/src/components/ai-prompt-input/controller.d.ts.map +1 -1
- package/dist/src/components/ai-prompt-input/types.d.ts.map +1 -1
- package/dist/src/components/ai-question/ai-question.d.ts.map +1 -1
- package/dist/src/components/ai-reasoning/ai-reasoning.d.ts.map +1 -1
- package/dist/src/components/ai-response/ai-response.d.ts.map +1 -1
- package/dist/src/components/ai-subagent/ai-subagent.d.ts.map +1 -1
- package/dist/src/components/ai-tool/ai-tool.d.ts.map +1 -1
- package/dist/src/components/chart/echart.d.ts.map +1 -1
- package/dist/src/components/clipboard-text/clipboard-text.d.ts.map +1 -1
- package/dist/src/components/data-grid/data-grid.d.ts +2 -1
- package/dist/src/components/data-grid/data-grid.d.ts.map +1 -1
- package/dist/src/components/data-grid/features.d.ts +20 -0
- package/dist/src/components/data-grid/features.d.ts.map +1 -0
- package/dist/src/components/data-grid/types.d.ts +38 -7
- package/dist/src/components/data-grid/types.d.ts.map +1 -1
- package/dist/src/components/filters/filters.d.ts.map +1 -1
- package/dist/src/components/flow/use-children.d.ts +1 -1
- package/dist/src/components/link/link.d.ts.map +1 -1
- package/dist/src/components/sidebar/sidebar.d.ts +1 -1
- package/dist/src/components/signalflare-ai-logo/signalflare-ai-logo.d.ts.map +1 -1
- package/dist/src/components/text/text.d.ts +2 -1
- package/dist/src/components/text/text.d.ts.map +1 -1
- package/dist/src/components/text-roll/text-roll.d.ts.map +1 -1
- package/dist/src/components/theme-toggle/theme-toggle.d.ts.map +1 -1
- package/dist/src/components/toast/toast.d.ts.map +1 -1
- package/dist/src/utils/highlight-to-react.d.ts.map +1 -1
- package/dist/src/utils/measured-text.d.ts.map +1 -1
- package/dist/src/utils/use-measured-text.d.ts.map +1 -1
- package/dist/{stat-card-Ew-ofzEm.js → stat-card-Bspk4XFr.js} +4 -4
- package/dist/stat-card-Bspk4XFr.js.map +1 -0
- package/dist/styles/sf-standalone.css +1 -1
- package/dist/styles/theme-fedramp.css +3 -12
- package/dist/styles/theme-minimal.css +26 -104
- package/dist/styles/theme-sf.css +37 -142
- package/dist/{surface-DGwRlC0o.js → surface-CWdSFVUx.js} +3 -3
- package/dist/{surface-DGwRlC0o.js.map → surface-CWdSFVUx.js.map} +1 -1
- package/dist/{switch-BxAMfHdt.js → switch-TA4cByCJ.js} +5 -5
- package/dist/switch-TA4cByCJ.js.map +1 -0
- package/dist/{table-BBeAtYVZ.js → table-BM8JBGBs.js} +3 -3
- package/dist/{table-BBeAtYVZ.js.map → table-BM8JBGBs.js.map} +1 -1
- package/dist/{tabs-CeHu7Scn.js → tabs-bnH2vGLv.js} +2 -2
- package/dist/{tabs-CeHu7Scn.js.map → tabs-bnH2vGLv.js.map} +1 -1
- package/dist/{text-Cqryz7rk.js → text-iQ0YUFNg.js} +4 -5
- package/dist/{text-Cqryz7rk.js.map → text-iQ0YUFNg.js.map} +1 -1
- package/dist/{text-roll-Ch52hcQj.js → text-roll-C3U2jd2u.js} +5 -2
- package/dist/text-roll-C3U2jd2u.js.map +1 -0
- package/dist/{theme-toggle-LDfIKEqx.js → theme-toggle-BTVxD-fD.js} +10 -9
- package/dist/theme-toggle-BTVxD-fD.js.map +1 -0
- package/dist/{toast-CaFQNYng.js → toast-CgZVaAkw.js} +3 -3
- package/dist/{toast-CaFQNYng.js.map → toast-CgZVaAkw.js.map} +1 -1
- package/dist/{tooltip-g9lFsvcT.js → tooltip-uobk6Oh-.js} +3 -3
- package/dist/{tooltip-g9lFsvcT.js.map → tooltip-uobk6Oh-.js.map} +1 -1
- package/dist/{use-agent-harness-BTcNJdw4.js → use-agent-harness-Dl8w6X5O.js} +3 -3
- package/dist/{use-agent-harness-BTcNJdw4.js.map → use-agent-harness-Dl8w6X5O.js.map} +1 -1
- package/dist/utils.js +3 -3
- package/package.json +27 -25
- package/scripts/component-registry/discovery.ts +11 -10
- package/scripts/component-registry/example-cleanup.ts +8 -8
- package/scripts/component-registry/index.ts +6 -6
- package/scripts/component-registry/schema-generator.ts +1 -1
- package/scripts/component-registry/sub-components.ts +35 -23
- package/scripts/component-registry/utils.ts +11 -11
- package/scripts/component-registry/variant-parser.ts +17 -15
- package/scripts/convert-demos-to-stories.ts +5 -5
- package/scripts/theme-generator/config.ts +1 -5
- package/scripts/theme-generator/generate-css.ts +1 -1
- package/scripts/theme-generator/migrate.ts +3 -3
- package/dist/ai-agent-card-BR2NIYhi.js.map +0 -1
- package/dist/ai-code-block-CZtoL73R.js.map +0 -1
- package/dist/ai-conversation-Cc7WlaBg.js.map +0 -1
- package/dist/ai-part-group-DNb9I446.js.map +0 -1
- package/dist/ai-prompt-input-BVvov_KF.js.map +0 -1
- package/dist/ai-reasoning-_feFjk56.js.map +0 -1
- package/dist/ai-timeline-C42tOUT8.js.map +0 -1
- package/dist/ai-tool-03jOTwUI.js.map +0 -1
- package/dist/chart-Dg0qUeSc.js.map +0 -1
- package/dist/clipboard-text-kLaMogs3.js.map +0 -1
- package/dist/command-palette-CuNUyJca.js.map +0 -1
- package/dist/data-grid-DGHmU0w3.js +0 -305
- package/dist/data-grid-DGHmU0w3.js.map +0 -1
- package/dist/dist-B6iWiWwp.js.map +0 -1
- package/dist/dropdown-B_nrGXjV.js.map +0 -1
- package/dist/filters-cpJCY21R.js.map +0 -1
- package/dist/flow-B4v198ot.js.map +0 -1
- package/dist/highlight-to-react-D0Yav4jk.js.map +0 -1
- package/dist/layout-DJHMMap2.js.map +0 -1
- package/dist/link-provider-BUZKXaNE.js.map +0 -1
- package/dist/measured-text-BI3dTJmH.js.map +0 -1
- package/dist/sidebar-D4zrlYpn.js.map +0 -1
- package/dist/stat-card-Ew-ofzEm.js.map +0 -1
- package/dist/switch-BxAMfHdt.js.map +0 -1
- package/dist/text-roll-Ch52hcQj.js.map +0 -1
- package/dist/theme-toggle-LDfIKEqx.js.map +0 -1
|
@@ -32,10 +32,7 @@
|
|
|
32
32
|
"examples": [
|
|
33
33
|
"<AiActions>\n <AiAction tooltip=\"Copy\">\n <CopyIcon className=\"size-4\" />\n </AiAction>\n <AiAction tooltip=\"Retry\">\n <ArrowCounterClockwiseIcon className=\"size-4\" />\n </AiAction>\n <AiAction tooltip=\"Thumbs up\">\n <ThumbsUpIcon className=\"size-4\" />\n </AiAction>\n <AiAction tooltip=\"Thumbs down\">\n <ThumbsDownIcon className=\"size-4\" />\n </AiAction>\n </AiActions>"
|
|
34
34
|
],
|
|
35
|
-
"colors": [
|
|
36
|
-
"text-sf-default",
|
|
37
|
-
"text-sf-subtle"
|
|
38
|
-
]
|
|
35
|
+
"colors": ["text-sf-default", "text-sf-subtle"]
|
|
39
36
|
},
|
|
40
37
|
"AiAgentCard": {
|
|
41
38
|
"name": "AiAgentCard",
|
|
@@ -57,12 +54,7 @@
|
|
|
57
54
|
"type": "enum",
|
|
58
55
|
"optional": true,
|
|
59
56
|
"description": "Current status.",
|
|
60
|
-
"values": [
|
|
61
|
-
"idle",
|
|
62
|
-
"running",
|
|
63
|
-
"completed",
|
|
64
|
-
"error"
|
|
65
|
-
],
|
|
57
|
+
"values": ["idle", "running", "completed", "error"],
|
|
66
58
|
"descriptions": {
|
|
67
59
|
"idle": "Agent is idle, not yet started",
|
|
68
60
|
"running": "Agent is actively working",
|
|
@@ -105,10 +97,7 @@
|
|
|
105
97
|
"type": "enum",
|
|
106
98
|
"optional": true,
|
|
107
99
|
"description": "Card size.",
|
|
108
|
-
"values": [
|
|
109
|
-
"sm",
|
|
110
|
-
"md"
|
|
111
|
-
],
|
|
100
|
+
"values": ["sm", "md"],
|
|
112
101
|
"descriptions": {
|
|
113
102
|
"sm": "Compact card for dense grids",
|
|
114
103
|
"md": "Default card size"
|
|
@@ -122,11 +111,7 @@
|
|
|
122
111
|
"type": {
|
|
123
112
|
"type": "enum",
|
|
124
113
|
"optional": true,
|
|
125
|
-
"values": [
|
|
126
|
-
"submit",
|
|
127
|
-
"reset",
|
|
128
|
-
"button"
|
|
129
|
-
]
|
|
114
|
+
"values": ["submit", "reset", "button"]
|
|
130
115
|
},
|
|
131
116
|
"value": {
|
|
132
117
|
"type": "string | string[] | number",
|
|
@@ -184,10 +169,7 @@
|
|
|
184
169
|
"type": "enum",
|
|
185
170
|
"optional": true,
|
|
186
171
|
"description": "Approval kind — `\"tool\"` for individual tool calls, `\"plan\"` for multi-step plans.",
|
|
187
|
-
"values": [
|
|
188
|
-
"tool",
|
|
189
|
-
"plan"
|
|
190
|
-
],
|
|
172
|
+
"values": ["tool", "plan"],
|
|
191
173
|
"descriptions": {
|
|
192
174
|
"tool": "Tool call approval",
|
|
193
175
|
"plan": "Plan approval"
|
|
@@ -198,11 +180,7 @@
|
|
|
198
180
|
"type": "enum",
|
|
199
181
|
"optional": true,
|
|
200
182
|
"description": "Current approval status.",
|
|
201
|
-
"values": [
|
|
202
|
-
"pending",
|
|
203
|
-
"approved",
|
|
204
|
-
"rejected"
|
|
205
|
-
],
|
|
183
|
+
"values": ["pending", "approved", "rejected"],
|
|
206
184
|
"descriptions": {
|
|
207
185
|
"pending": "Awaiting user decision",
|
|
208
186
|
"approved": "Approved by user",
|
|
@@ -283,7 +261,7 @@
|
|
|
283
261
|
"AiCodeBlock": {
|
|
284
262
|
"name": "AiCodeBlock",
|
|
285
263
|
"type": "component",
|
|
286
|
-
"description": "
|
|
264
|
+
"description": "AiCodeBlock component",
|
|
287
265
|
"importPath": "@signalflare-ai/ui",
|
|
288
266
|
"category": "Other",
|
|
289
267
|
"props": {
|
|
@@ -334,7 +312,19 @@
|
|
|
334
312
|
"text-sf-default",
|
|
335
313
|
"text-sf-inactive",
|
|
336
314
|
"text-sf-subtle"
|
|
337
|
-
]
|
|
315
|
+
],
|
|
316
|
+
"subComponents": {
|
|
317
|
+
"CopyButton": {
|
|
318
|
+
"name": "CopyButton",
|
|
319
|
+
"description": "CopyButton sub-component",
|
|
320
|
+
"props": {
|
|
321
|
+
"timeout": {
|
|
322
|
+
"type": "number",
|
|
323
|
+
"optional": true
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
338
328
|
},
|
|
339
329
|
"AiConversation": {
|
|
340
330
|
"name": "AiConversation",
|
|
@@ -380,11 +370,7 @@
|
|
|
380
370
|
"type": "enum",
|
|
381
371
|
"optional": true,
|
|
382
372
|
"description": "Banner level controls icon and color treatment.",
|
|
383
|
-
"values": [
|
|
384
|
-
"info",
|
|
385
|
-
"error",
|
|
386
|
-
"change"
|
|
387
|
-
],
|
|
373
|
+
"values": ["info", "error", "change"],
|
|
388
374
|
"descriptions": {
|
|
389
375
|
"info": "Informational notice",
|
|
390
376
|
"error": "Error notice",
|
|
@@ -441,11 +427,7 @@
|
|
|
441
427
|
"type": "enum",
|
|
442
428
|
"required": true,
|
|
443
429
|
"description": "Message sender role — controls layout and group class.",
|
|
444
|
-
"values": [
|
|
445
|
-
"user",
|
|
446
|
-
"assistant",
|
|
447
|
-
"system"
|
|
448
|
-
],
|
|
430
|
+
"values": ["user", "assistant", "system"],
|
|
449
431
|
"descriptions": {
|
|
450
432
|
"user": "User message — right-aligned with max width",
|
|
451
433
|
"assistant": "Assistant message — full width left-aligned",
|
|
@@ -543,10 +525,7 @@
|
|
|
543
525
|
"type": "enum",
|
|
544
526
|
"optional": true,
|
|
545
527
|
"description": "Display variant.",
|
|
546
|
-
"values": [
|
|
547
|
-
"default",
|
|
548
|
-
"compact"
|
|
549
|
-
],
|
|
528
|
+
"values": ["default", "compact"],
|
|
550
529
|
"descriptions": {
|
|
551
530
|
"default": "Full header with all stats",
|
|
552
531
|
"compact": "Single-row compact header"
|
|
@@ -666,10 +645,7 @@
|
|
|
666
645
|
"type": "enum",
|
|
667
646
|
"optional": true,
|
|
668
647
|
"description": "Current status.",
|
|
669
|
-
"values": [
|
|
670
|
-
"pending",
|
|
671
|
-
"answered"
|
|
672
|
-
],
|
|
648
|
+
"values": ["pending", "answered"],
|
|
673
649
|
"descriptions": {
|
|
674
650
|
"pending": "Waiting for answer",
|
|
675
651
|
"answered": "User has answered"
|
|
@@ -743,12 +719,7 @@
|
|
|
743
719
|
"type": "enum",
|
|
744
720
|
"optional": true,
|
|
745
721
|
"description": "Display variant.",
|
|
746
|
-
"values": [
|
|
747
|
-
"default",
|
|
748
|
-
"inline",
|
|
749
|
-
"minimal",
|
|
750
|
-
"ephemeral"
|
|
751
|
-
],
|
|
722
|
+
"values": ["default", "inline", "minimal", "ephemeral"],
|
|
752
723
|
"descriptions": {
|
|
753
724
|
"default": "Expandable card with collapsible reasoning text and duration",
|
|
754
725
|
"inline": "Compact single-line display with left accent border",
|
|
@@ -864,11 +835,10 @@
|
|
|
864
835
|
"<AiResponse>{MARKDOWN_LIKE}</AiResponse>",
|
|
865
836
|
"<AiResponse>The capital of France is Paris.</AiResponse>",
|
|
866
837
|
"<AiResponse>{MARKDOWN_WITH_CODE}</AiResponse>",
|
|
867
|
-
"<AiResponse isAnimating={isAnimating}>{text}</AiResponse>"
|
|
838
|
+
"<AiResponse isAnimating={isAnimating}>{text}</AiResponse>",
|
|
839
|
+
"<div className=\"flex w-full flex-col gap-4\">\n <AiResponse\n components={{ a: LinkComponent } as Components}\n linkSafety={{ enabled: false }}\n >\n {DEEP_LINK_MARKDOWN}\n </AiResponse>\n {activeFile && (\n <div className=\"rounded-lg border border-sf-brand/30 bg-sf-brand/10 px-3 py-2 text-sm text-sf-default\">\n <span className=\"text-sf-subtle\">Opened file:</span>{\" \"}\n <code className=\"font-mono text-sf-brand\">{activeFile}</code>\n <button\n onClick={() => setActiveFile(null)}\n className=\"ml-3 text-xs text-sf-subtle hover:text-sf-default\"\n >\n Dismiss\n </button>\n </div>\n )}\n </div>"
|
|
868
840
|
],
|
|
869
|
-
"colors": [
|
|
870
|
-
"text-sf-default"
|
|
871
|
-
]
|
|
841
|
+
"colors": ["text-sf-default"]
|
|
872
842
|
},
|
|
873
843
|
"AiShimmer": {
|
|
874
844
|
"name": "AiShimmer",
|
|
@@ -931,12 +901,7 @@
|
|
|
931
901
|
"type": "enum",
|
|
932
902
|
"optional": true,
|
|
933
903
|
"description": "Current status — determines the status icon on the right.",
|
|
934
|
-
"values": [
|
|
935
|
-
"idle",
|
|
936
|
-
"running",
|
|
937
|
-
"success",
|
|
938
|
-
"error"
|
|
939
|
-
],
|
|
904
|
+
"values": ["idle", "running", "success", "error"],
|
|
940
905
|
"descriptions": {
|
|
941
906
|
"idle": "Default idle state — no status icon shown",
|
|
942
907
|
"running": "Actively running — spinner icon shown",
|
|
@@ -1027,11 +992,7 @@
|
|
|
1027
992
|
"type": "enum",
|
|
1028
993
|
"optional": true,
|
|
1029
994
|
"description": "Current status.",
|
|
1030
|
-
"values": [
|
|
1031
|
-
"running",
|
|
1032
|
-
"completed",
|
|
1033
|
-
"error"
|
|
1034
|
-
],
|
|
995
|
+
"values": ["running", "completed", "error"],
|
|
1035
996
|
"descriptions": {
|
|
1036
997
|
"running": "Subagent is actively processing",
|
|
1037
998
|
"completed": "Subagent finished successfully",
|
|
@@ -1219,10 +1180,7 @@
|
|
|
1219
1180
|
"type": "enum",
|
|
1220
1181
|
"optional": true,
|
|
1221
1182
|
"description": "Lane density variant.",
|
|
1222
|
-
"values": [
|
|
1223
|
-
"comfortable",
|
|
1224
|
-
"compact"
|
|
1225
|
-
],
|
|
1183
|
+
"values": ["comfortable", "compact"],
|
|
1226
1184
|
"descriptions": {
|
|
1227
1185
|
"comfortable": "Taller lanes with more padding",
|
|
1228
1186
|
"compact": "Tight lanes for dense views"
|
|
@@ -1289,12 +1247,7 @@
|
|
|
1289
1247
|
"type": "enum",
|
|
1290
1248
|
"optional": true,
|
|
1291
1249
|
"description": "Display variant.",
|
|
1292
|
-
"values": [
|
|
1293
|
-
"default",
|
|
1294
|
-
"inline",
|
|
1295
|
-
"minimal",
|
|
1296
|
-
"ephemeral"
|
|
1297
|
-
],
|
|
1250
|
+
"values": ["default", "inline", "minimal", "ephemeral"],
|
|
1298
1251
|
"descriptions": {
|
|
1299
1252
|
"default": "Expandable card with collapsible input/output sections",
|
|
1300
1253
|
"inline": "Compact single-line display with left accent border",
|
|
@@ -1322,11 +1275,7 @@
|
|
|
1322
1275
|
"type": "enum",
|
|
1323
1276
|
"optional": true,
|
|
1324
1277
|
"description": "Approval state for tools requiring confirmation.",
|
|
1325
|
-
"values": [
|
|
1326
|
-
"awaiting",
|
|
1327
|
-
"approved",
|
|
1328
|
-
"declined"
|
|
1329
|
-
]
|
|
1278
|
+
"values": ["awaiting", "approved", "declined"]
|
|
1330
1279
|
},
|
|
1331
1280
|
"defaultExpanded": {
|
|
1332
1281
|
"type": "boolean",
|
|
@@ -1445,10 +1394,7 @@
|
|
|
1445
1394
|
"<div className=\"w-full max-w-md rounded-lg border border-sf-line\">\n <AiUsageBar\n inputTokens={12480}\n outputTokens={3256}\n cost={0.04}\n modelId=\"claude-sonnet-4\"\n />\n </div>",
|
|
1446
1395
|
"<div className=\"w-full max-w-sm rounded-lg border border-sf-line\">\n <AiUsageBar inputTokens={850} outputTokens={124} />\n </div>"
|
|
1447
1396
|
],
|
|
1448
|
-
"colors": [
|
|
1449
|
-
"text-sf-inactive",
|
|
1450
|
-
"text-sf-subtle"
|
|
1451
|
-
]
|
|
1397
|
+
"colors": ["text-sf-inactive", "text-sf-subtle"]
|
|
1452
1398
|
},
|
|
1453
1399
|
"Badge": {
|
|
1454
1400
|
"name": "Badge",
|
|
@@ -1515,10 +1461,7 @@
|
|
|
1515
1461
|
"type": "enum",
|
|
1516
1462
|
"optional": true,
|
|
1517
1463
|
"description": "Position of the icon relative to the text.",
|
|
1518
|
-
"values": [
|
|
1519
|
-
"left",
|
|
1520
|
-
"right"
|
|
1521
|
-
]
|
|
1464
|
+
"values": ["left", "right"]
|
|
1522
1465
|
},
|
|
1523
1466
|
"loading": {
|
|
1524
1467
|
"type": "boolean",
|
|
@@ -1529,13 +1472,7 @@
|
|
|
1529
1472
|
"type": "enum",
|
|
1530
1473
|
"optional": true,
|
|
1531
1474
|
"description": "Renders a small colored status dot before the text.",
|
|
1532
|
-
"values": [
|
|
1533
|
-
"green",
|
|
1534
|
-
"red",
|
|
1535
|
-
"yellow",
|
|
1536
|
-
"blue",
|
|
1537
|
-
"gray"
|
|
1538
|
-
]
|
|
1475
|
+
"values": ["green", "red", "yellow", "blue", "gray"]
|
|
1539
1476
|
},
|
|
1540
1477
|
"tooltip": {
|
|
1541
1478
|
"type": "ReactNode",
|
|
@@ -1611,11 +1548,7 @@
|
|
|
1611
1548
|
"type": "enum",
|
|
1612
1549
|
"optional": true,
|
|
1613
1550
|
"description": "Visual style of the banner.\n- `\"default\"` — Informational blue banner for general messages\n- `\"alert\"` — Warning yellow banner for cautionary messages\n- `\"error\"` — Error red banner for critical issues",
|
|
1614
|
-
"values": [
|
|
1615
|
-
"default",
|
|
1616
|
-
"alert",
|
|
1617
|
-
"error"
|
|
1618
|
-
],
|
|
1551
|
+
"values": ["default", "alert", "error"],
|
|
1619
1552
|
"descriptions": {
|
|
1620
1553
|
"default": "Informational banner for general messages",
|
|
1621
1554
|
"alert": "Warning banner for cautionary messages",
|
|
@@ -1669,10 +1602,7 @@
|
|
|
1669
1602
|
"type": "enum",
|
|
1670
1603
|
"optional": true,
|
|
1671
1604
|
"description": "Size of the breadcrumbs.\n- `\"sm\"` — Compact breadcrumbs for dense UIs\n- `\"base\"` — Default breadcrumbs size",
|
|
1672
|
-
"values": [
|
|
1673
|
-
"sm",
|
|
1674
|
-
"base"
|
|
1675
|
-
],
|
|
1605
|
+
"values": ["sm", "base"],
|
|
1676
1606
|
"descriptions": {
|
|
1677
1607
|
"sm": "Compact breadcrumbs for dense UIs",
|
|
1678
1608
|
"base": "Default breadcrumbs size"
|
|
@@ -1700,11 +1630,7 @@
|
|
|
1700
1630
|
"<Breadcrumbs>\n <Breadcrumbs.Current icon={<HouseIcon size={16} />}>\n Worker Analytics\n </Breadcrumbs.Current>\n </Breadcrumbs>",
|
|
1701
1631
|
"<Breadcrumbs>\n <Breadcrumbs.Link href=\"#\">Home</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n <Breadcrumbs.Current>Breadcrumbs</Breadcrumbs.Current>\n <Breadcrumbs.Clipboard text=\"#\" />\n </Breadcrumbs>"
|
|
1702
1632
|
],
|
|
1703
|
-
"colors": [
|
|
1704
|
-
"text-sf-inactive",
|
|
1705
|
-
"text-sf-subtle",
|
|
1706
|
-
"text-sf-success"
|
|
1707
|
-
],
|
|
1633
|
+
"colors": ["text-sf-inactive", "text-sf-subtle", "text-sf-success"],
|
|
1708
1634
|
"subComponents": {
|
|
1709
1635
|
"Link": {
|
|
1710
1636
|
"name": "Link",
|
|
@@ -1761,11 +1687,7 @@
|
|
|
1761
1687
|
"shape": {
|
|
1762
1688
|
"type": "enum",
|
|
1763
1689
|
"optional": true,
|
|
1764
|
-
"values": [
|
|
1765
|
-
"base",
|
|
1766
|
-
"square",
|
|
1767
|
-
"circle"
|
|
1768
|
-
],
|
|
1690
|
+
"values": ["base", "square", "circle"],
|
|
1769
1691
|
"descriptions": {
|
|
1770
1692
|
"base": "Default rectangular button shape",
|
|
1771
1693
|
"square": "Square button for icon-only actions",
|
|
@@ -1780,12 +1702,7 @@
|
|
|
1780
1702
|
"size": {
|
|
1781
1703
|
"type": "enum",
|
|
1782
1704
|
"optional": true,
|
|
1783
|
-
"values": [
|
|
1784
|
-
"xs",
|
|
1785
|
-
"sm",
|
|
1786
|
-
"base",
|
|
1787
|
-
"lg"
|
|
1788
|
-
],
|
|
1705
|
+
"values": ["xs", "sm", "base", "lg"],
|
|
1789
1706
|
"descriptions": {
|
|
1790
1707
|
"xs": "Extra small button for compact UIs",
|
|
1791
1708
|
"sm": "Small button for secondary actions",
|
|
@@ -1893,11 +1810,7 @@
|
|
|
1893
1810
|
"type": {
|
|
1894
1811
|
"type": "enum",
|
|
1895
1812
|
"optional": true,
|
|
1896
|
-
"values": [
|
|
1897
|
-
"submit",
|
|
1898
|
-
"reset",
|
|
1899
|
-
"button"
|
|
1900
|
-
]
|
|
1813
|
+
"values": ["submit", "reset", "button"]
|
|
1901
1814
|
},
|
|
1902
1815
|
"value": {
|
|
1903
1816
|
"type": "string | string[] | number",
|
|
@@ -1943,10 +1856,7 @@
|
|
|
1943
1856
|
"type": "enum",
|
|
1944
1857
|
"optional": true,
|
|
1945
1858
|
"description": "Visual variant: \"default\" or \"error\" for validation failures (visual only, no error text)",
|
|
1946
|
-
"values": [
|
|
1947
|
-
"default",
|
|
1948
|
-
"error"
|
|
1949
|
-
],
|
|
1859
|
+
"values": ["default", "error"],
|
|
1950
1860
|
"descriptions": {
|
|
1951
1861
|
"default": "Default checkbox appearance",
|
|
1952
1862
|
"error": "Error state for validation failures"
|
|
@@ -2089,32 +1999,14 @@
|
|
|
2089
1999
|
"styling": {
|
|
2090
2000
|
"dimensions": "h-4 w-4",
|
|
2091
2001
|
"borderRadius": "rounded-sm",
|
|
2092
|
-
"baseTokens": [
|
|
2093
|
-
"bg-sf-base",
|
|
2094
|
-
"ring-sf-line"
|
|
2095
|
-
],
|
|
2002
|
+
"baseTokens": ["bg-sf-base", "ring-sf-line"],
|
|
2096
2003
|
"states": {
|
|
2097
|
-
"checked": [
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
],
|
|
2101
|
-
"
|
|
2102
|
-
|
|
2103
|
-
"text-sf-inverse"
|
|
2104
|
-
],
|
|
2105
|
-
"error": [
|
|
2106
|
-
"ring-sf-danger"
|
|
2107
|
-
],
|
|
2108
|
-
"hover": [
|
|
2109
|
-
"ring-sf-ring"
|
|
2110
|
-
],
|
|
2111
|
-
"focus": [
|
|
2112
|
-
"ring-sf-ring"
|
|
2113
|
-
],
|
|
2114
|
-
"disabled": [
|
|
2115
|
-
"opacity-50",
|
|
2116
|
-
"cursor-not-allowed"
|
|
2117
|
-
]
|
|
2004
|
+
"checked": ["bg-sf-contrast", "text-sf-inverse"],
|
|
2005
|
+
"indeterminate": ["bg-sf-contrast", "text-sf-inverse"],
|
|
2006
|
+
"error": ["ring-sf-danger"],
|
|
2007
|
+
"hover": ["ring-sf-ring"],
|
|
2008
|
+
"focus": ["ring-sf-ring"],
|
|
2009
|
+
"disabled": ["opacity-50", "cursor-not-allowed"]
|
|
2118
2010
|
},
|
|
2119
2011
|
"icons": [
|
|
2120
2012
|
{
|
|
@@ -2141,11 +2033,7 @@
|
|
|
2141
2033
|
"type": "enum",
|
|
2142
2034
|
"optional": true,
|
|
2143
2035
|
"description": "Size of the clipboard text field.\n- `\"sm\"` — Small clipboard text for compact UIs\n- `\"base\"` — Default clipboard text size\n- `\"lg\"` — Large clipboard text for prominent display",
|
|
2144
|
-
"values": [
|
|
2145
|
-
"sm",
|
|
2146
|
-
"base",
|
|
2147
|
-
"lg"
|
|
2148
|
-
],
|
|
2036
|
+
"values": ["sm", "base", "lg"],
|
|
2149
2037
|
"descriptions": {
|
|
2150
2038
|
"sm": "Small clipboard text for compact UIs",
|
|
2151
2039
|
"base": "Default clipboard text size",
|
|
@@ -2200,18 +2088,9 @@
|
|
|
2200
2088
|
"border-sf-fill"
|
|
2201
2089
|
],
|
|
2202
2090
|
"states": {
|
|
2203
|
-
"input": [
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
"ring-sf-line"
|
|
2207
|
-
],
|
|
2208
|
-
"text": [
|
|
2209
|
-
"bg-sf-base",
|
|
2210
|
-
"font-mono"
|
|
2211
|
-
],
|
|
2212
|
-
"button": [
|
|
2213
|
-
"border-sf-fill"
|
|
2214
|
-
]
|
|
2091
|
+
"input": ["bg-sf-control", "text-sf-default", "ring-sf-line"],
|
|
2092
|
+
"text": ["bg-sf-base", "font-mono"],
|
|
2093
|
+
"button": ["border-sf-fill"]
|
|
2215
2094
|
},
|
|
2216
2095
|
"inputStyles": {
|
|
2217
2096
|
"base": "bg-sf-control text-sf-default ring ring-sf-line",
|
|
@@ -2282,13 +2161,7 @@
|
|
|
2282
2161
|
"type": "enum",
|
|
2283
2162
|
"optional": true,
|
|
2284
2163
|
"description": "Language hint for the code content.\n- `\"ts\"` — TypeScript code\n- `\"tsx\"` — TypeScript JSX code\n- `\"jsonc\"` — JSON with comments\n- `\"bash\"` — Shell/Bash commands\n- `\"css\"` — CSS styles",
|
|
2285
|
-
"values": [
|
|
2286
|
-
"ts",
|
|
2287
|
-
"tsx",
|
|
2288
|
-
"jsonc",
|
|
2289
|
-
"bash",
|
|
2290
|
-
"css"
|
|
2291
|
-
],
|
|
2164
|
+
"values": ["ts", "tsx", "jsonc", "bash", "css"],
|
|
2292
2165
|
"descriptions": {
|
|
2293
2166
|
"ts": "TypeScript code",
|
|
2294
2167
|
"tsx": "TypeScript JSX code",
|
|
@@ -2321,11 +2194,7 @@
|
|
|
2321
2194
|
"<CodeBlock\n lang=\"jsonc\"\n code={`{\n \"name\": \"sf\",\n \"version\": \"1.0.0\",\n \"dependencies\": {\n \"react\": \"^19.0.0\"\n }\n}`}\n />",
|
|
2322
2195
|
"<Code\n lang=\"bash\"\n code=\"export API_KEY={{apiKey}}\"\n values={{\n apiKey: { highlight: true, value: \"sk_live_123\" },\n }}\n />"
|
|
2323
2196
|
],
|
|
2324
|
-
"colors": [
|
|
2325
|
-
"bg-sf-recessed",
|
|
2326
|
-
"border-sf-line",
|
|
2327
|
-
"text-sf-default"
|
|
2328
|
-
],
|
|
2197
|
+
"colors": ["bg-sf-recessed", "border-sf-line", "text-sf-default"],
|
|
2329
2198
|
"subComponents": {
|
|
2330
2199
|
"Block": {
|
|
2331
2200
|
"name": "Block",
|
|
@@ -2380,10 +2249,7 @@
|
|
|
2380
2249
|
"<div className=\"w-full\">\n <Collapsible label=\"What is SF?\" open={isOpen} onOpenChange={setIsOpen}>\n A minimal, composable component library for building modern interfaces.\n </Collapsible>\n </div>",
|
|
2381
2250
|
"<div className=\"w-full space-y-2\">\n <Collapsible label=\"What is SF?\" open={open1} onOpenChange={setOpen1}>\n A minimal, composable component library for building modern interfaces.\n </Collapsible>\n <Collapsible\n label=\"How do I use it?\"\n open={open2}\n onOpenChange={setOpen2}\n >\n Install the components and import them into your project.\n </Collapsible>\n <Collapsible\n label=\"Is it open source?\"\n open={open3}\n onOpenChange={setOpen3}\n >\n Check the repository for license information.\n </Collapsible>\n </div>"
|
|
2382
2251
|
],
|
|
2383
|
-
"colors": [
|
|
2384
|
-
"border-sf-fill",
|
|
2385
|
-
"text-sf-link"
|
|
2386
|
-
]
|
|
2252
|
+
"colors": ["border-sf-fill", "text-sf-link"]
|
|
2387
2253
|
},
|
|
2388
2254
|
"Combobox": {
|
|
2389
2255
|
"name": "Combobox",
|
|
@@ -2396,10 +2262,7 @@
|
|
|
2396
2262
|
"type": "enum",
|
|
2397
2263
|
"optional": true,
|
|
2398
2264
|
"description": "Position of the text input relative to chips in multi-select mode.\n- `\"right\"` — Input inline to the right of chips\n- `\"top\"` — Input above chips",
|
|
2399
|
-
"values": [
|
|
2400
|
-
"right",
|
|
2401
|
-
"top"
|
|
2402
|
-
],
|
|
2265
|
+
"values": ["right", "top"],
|
|
2403
2266
|
"descriptions": {
|
|
2404
2267
|
"right": "Input positioned inline to the right of chips",
|
|
2405
2268
|
"top": "Input positioned above chips"
|
|
@@ -2619,10 +2482,7 @@
|
|
|
2619
2482
|
"props": {
|
|
2620
2483
|
"layout": {
|
|
2621
2484
|
"type": "enum",
|
|
2622
|
-
"values": [
|
|
2623
|
-
"auto",
|
|
2624
|
-
"fixed"
|
|
2625
|
-
],
|
|
2485
|
+
"values": ["auto", "fixed"],
|
|
2626
2486
|
"default": "auto",
|
|
2627
2487
|
"descriptions": {
|
|
2628
2488
|
"auto": "Auto column sizing - columns resize based on content",
|
|
@@ -2712,9 +2572,7 @@
|
|
|
2712
2572
|
"<Popover>\n <Popover.Trigger asChild>\n <Button variant=\"outline\" icon={CalendarDotsIcon}>\n {formatRange()}\n </Button>\n </Popover.Trigger>\n <Popover.Content className=\"p-0\">\n <div className=\"flex\">\n <div className=\"flex flex-col gap-1 border-r border-sf-line p-2 text-sm\">\n {presets.map((preset) => {\n const isActive = isPresetActive(preset);\n return (\n <button\n key={preset.label}\n type=\"button\"\n onClick={() => handlePresetClick(preset)}\n className={`rounded-md px-3 py-1.5 text-left whitespace-nowrap ${\n isActive\n ? \"bg-sf-bg-inverse text-sf-text-inverse\"\n : \"text-sf-strong hover:bg-sf-control\"\n }`}\n >\n {preset.label}\n </button>\n );\n })}\n </div>\n <div className=\"p-3\">\n <DatePicker\n mode=\"range\"\n selected={range}\n onChange={setRange}\n month={month}\n onMonthChange={setMonth}\n numberOfMonths={2}\n />\n </div>\n </div>\n </Popover.Content>\n </Popover>",
|
|
2713
2573
|
"<DatePicker\n mode=\"multiple\"\n selected={dates}\n onChange={setDates}\n max={maxDays}\n disabled={unavailableDates}\n fixedWeeks\n footer={\n <p className=\"text-xs text-sf-subtle pt-2 w-full\">\n {selectedCount}/{maxDays} days selected. Grayed dates are unavailable.\n </p>\n }\n />"
|
|
2714
2574
|
],
|
|
2715
|
-
"colors": [
|
|
2716
|
-
"bg-sf-base"
|
|
2717
|
-
]
|
|
2575
|
+
"colors": ["bg-sf-base"]
|
|
2718
2576
|
},
|
|
2719
2577
|
"DateRangePicker": {
|
|
2720
2578
|
"name": "DateRangePicker",
|
|
@@ -2727,11 +2585,7 @@
|
|
|
2727
2585
|
"type": "enum",
|
|
2728
2586
|
"optional": true,
|
|
2729
2587
|
"description": "Calendar size.\n- `\"sm\"` — Compact calendar for tight spaces\n- `\"base\"` — Default calendar size\n- `\"lg\"` — Large calendar for prominent date selection",
|
|
2730
|
-
"values": [
|
|
2731
|
-
"sm",
|
|
2732
|
-
"base",
|
|
2733
|
-
"lg"
|
|
2734
|
-
],
|
|
2588
|
+
"values": ["sm", "base", "lg"],
|
|
2735
2589
|
"descriptions": {
|
|
2736
2590
|
"sm": "Compact calendar for tight spaces",
|
|
2737
2591
|
"base": "Default calendar size",
|
|
@@ -2748,10 +2602,7 @@
|
|
|
2748
2602
|
"type": "enum",
|
|
2749
2603
|
"optional": true,
|
|
2750
2604
|
"description": "Visual variant.\n- `\"default\"` — Standard appearance with overlay background\n- `\"subtle\"` — Minimal background",
|
|
2751
|
-
"values": [
|
|
2752
|
-
"default",
|
|
2753
|
-
"subtle"
|
|
2754
|
-
],
|
|
2605
|
+
"values": ["default", "subtle"],
|
|
2755
2606
|
"descriptions": {
|
|
2756
2607
|
"default": "Default calendar appearance",
|
|
2757
2608
|
"subtle": "Subtle calendar with minimal background"
|
|
@@ -2858,12 +2709,7 @@
|
|
|
2858
2709
|
"type": "enum",
|
|
2859
2710
|
"optional": true,
|
|
2860
2711
|
"description": "Dialog width.\n- `\"sm\"` — Small (min 288px) for simple confirmations\n- `\"base\"` — Default (min 384px)\n- `\"lg\"` — Large (min 512px) for complex content\n- `\"xl\"` — Extra large (min 768px) for detailed views",
|
|
2861
|
-
"values": [
|
|
2862
|
-
"base",
|
|
2863
|
-
"sm",
|
|
2864
|
-
"lg",
|
|
2865
|
-
"xl"
|
|
2866
|
-
],
|
|
2712
|
+
"values": ["base", "sm", "lg", "xl"],
|
|
2867
2713
|
"descriptions": {
|
|
2868
2714
|
"base": "Default dialog width",
|
|
2869
2715
|
"sm": "Small dialog for simple confirmations",
|
|
@@ -3003,10 +2849,7 @@
|
|
|
3003
2849
|
"type": "enum",
|
|
3004
2850
|
"optional": true,
|
|
3005
2851
|
"description": "Visual style of the dropdown item.\n- `\"default\"` — Standard item appearance\n- `\"danger\"` — Destructive action with red text",
|
|
3006
|
-
"values": [
|
|
3007
|
-
"default",
|
|
3008
|
-
"danger"
|
|
3009
|
-
],
|
|
2852
|
+
"values": ["default", "danger"],
|
|
3010
2853
|
"descriptions": {
|
|
3011
2854
|
"default": "Default dropdown item appearance",
|
|
3012
2855
|
"danger": "Destructive action item"
|
|
@@ -3125,11 +2968,7 @@
|
|
|
3125
2968
|
"type": "enum",
|
|
3126
2969
|
"optional": true,
|
|
3127
2970
|
"description": "Size of the empty state container.\n- `\"sm\"` — Compact empty state for smaller containers\n- `\"base\"` — Default empty state size\n- `\"lg\"` — Large empty state for prominent placement",
|
|
3128
|
-
"values": [
|
|
3129
|
-
"sm",
|
|
3130
|
-
"base",
|
|
3131
|
-
"lg"
|
|
3132
|
-
],
|
|
2971
|
+
"values": ["sm", "base", "lg"],
|
|
3133
2972
|
"descriptions": {
|
|
3134
2973
|
"sm": "Compact empty state for smaller containers",
|
|
3135
2974
|
"base": "Default empty state size",
|
|
@@ -3237,11 +3076,7 @@
|
|
|
3237
3076
|
}
|
|
3238
3077
|
},
|
|
3239
3078
|
"examples": [],
|
|
3240
|
-
"colors": [
|
|
3241
|
-
"text-sf-danger",
|
|
3242
|
-
"text-sf-default",
|
|
3243
|
-
"text-sf-subtle"
|
|
3244
|
-
]
|
|
3079
|
+
"colors": ["text-sf-danger", "text-sf-default", "text-sf-subtle"]
|
|
3245
3080
|
},
|
|
3246
3081
|
"Filters": {
|
|
3247
3082
|
"name": "Filters",
|
|
@@ -3264,11 +3099,7 @@
|
|
|
3264
3099
|
"type": "enum",
|
|
3265
3100
|
"optional": true,
|
|
3266
3101
|
"description": "Size variant for filter pills",
|
|
3267
|
-
"values": [
|
|
3268
|
-
"sm",
|
|
3269
|
-
"default",
|
|
3270
|
-
"lg"
|
|
3271
|
-
],
|
|
3102
|
+
"values": ["sm", "default", "lg"],
|
|
3272
3103
|
"descriptions": {
|
|
3273
3104
|
"sm": "Small filter items",
|
|
3274
3105
|
"default": "Default filter items",
|
|
@@ -3385,12 +3216,7 @@
|
|
|
3385
3216
|
"type": "enum",
|
|
3386
3217
|
"optional": true,
|
|
3387
3218
|
"description": "Gap size between grid items.\n- `\"none\"` — No gap\n- `\"sm\"` — 12px gap\n- `\"base\"` — Responsive gap (8px → 24px → 32px)\n- `\"lg\"` — 32px gap",
|
|
3388
|
-
"values": [
|
|
3389
|
-
"none",
|
|
3390
|
-
"sm",
|
|
3391
|
-
"base",
|
|
3392
|
-
"lg"
|
|
3393
|
-
],
|
|
3219
|
+
"values": ["none", "sm", "base", "lg"],
|
|
3394
3220
|
"descriptions": {
|
|
3395
3221
|
"none": "No gap between grid items",
|
|
3396
3222
|
"sm": "Small gap between grid items",
|
|
@@ -3451,9 +3277,7 @@
|
|
|
3451
3277
|
"<div className=\"flex flex-col gap-8\">\n <div>\n <p className=\"mb-2 text-sf-subtle\">gap=\"none\"</p>\n <Grid variant=\"side-by-side\" gap=\"none\">\n <GridItem>\n <Tile>\n <span className=\"block text-center\">1</span>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <span className=\"block text-center\">2</span>\n </Tile>\n </GridItem>\n </Grid>\n </div>\n\n <div>\n <p className=\"mb-2 text-sf-subtle\">gap=\"sm\"</p>\n <Grid variant=\"side-by-side\" gap=\"sm\">\n <GridItem>\n <Tile>\n <span className=\"block text-center\">1</span>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <span className=\"block text-center\">2</span>\n </Tile>\n </GridItem>\n </Grid>\n </div>\n\n <div>\n <p className=\"mb-2 text-sf-subtle\">gap=\"base\" (default, responsive)</p>\n <Grid variant=\"side-by-side\" gap=\"base\">\n <GridItem>\n <Tile>\n <span className=\"block text-center\">1</span>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <span className=\"block text-center\">2</span>\n </Tile>\n </GridItem>\n </Grid>\n </div>\n\n <div>\n <p className=\"mb-2 text-sf-subtle\">gap=\"lg\"</p>\n <Grid variant=\"side-by-side\" gap=\"lg\">\n <GridItem>\n <Tile>\n <span className=\"block text-center\">1</span>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <span className=\"block text-center\">2</span>\n </Tile>\n </GridItem>\n </Grid>\n </div>\n </div>",
|
|
3452
3278
|
"<Grid variant=\"4up\" gap=\"base\" mobileDivider>\n <GridItem>\n <Tile>\n <div>Item 1</div>\n <div className=\"mt-1\">Has divider on mobile</div>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <div>Item 2</div>\n <div className=\"mt-1\">Has divider on mobile</div>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <div>Item 3</div>\n <div className=\"mt-1\">Has divider on mobile</div>\n </Tile>\n </GridItem>\n <GridItem>\n <Tile>\n <div>Item 4</div>\n <div className=\"mt-1\">Has divider on mobile</div>\n </Tile>\n </GridItem>\n </Grid>"
|
|
3453
3279
|
],
|
|
3454
|
-
"colors": [
|
|
3455
|
-
"border-sf-line"
|
|
3456
|
-
]
|
|
3280
|
+
"colors": ["border-sf-line"]
|
|
3457
3281
|
},
|
|
3458
3282
|
"Input": {
|
|
3459
3283
|
"name": "Input",
|
|
@@ -3486,12 +3310,7 @@
|
|
|
3486
3310
|
"type": "enum",
|
|
3487
3311
|
"optional": true,
|
|
3488
3312
|
"description": "Input size.\n- `\"xs\"` — Extra small for compact UIs\n- `\"sm\"` — Small for secondary fields\n- `\"base\"` — Default size\n- `\"lg\"` — Large for prominent fields",
|
|
3489
|
-
"values": [
|
|
3490
|
-
"xs",
|
|
3491
|
-
"sm",
|
|
3492
|
-
"base",
|
|
3493
|
-
"lg"
|
|
3494
|
-
],
|
|
3313
|
+
"values": ["xs", "sm", "base", "lg"],
|
|
3495
3314
|
"descriptions": {
|
|
3496
3315
|
"xs": "Extra small input for compact UIs",
|
|
3497
3316
|
"sm": "Small input for secondary fields",
|
|
@@ -3510,10 +3329,7 @@
|
|
|
3510
3329
|
"type": "enum",
|
|
3511
3330
|
"optional": true,
|
|
3512
3331
|
"description": "Visual variant.\n- `\"default\"` — Standard input\n- `\"error\"` — Error state for validation failures",
|
|
3513
|
-
"values": [
|
|
3514
|
-
"default",
|
|
3515
|
-
"error"
|
|
3516
|
-
],
|
|
3332
|
+
"values": ["default", "error"],
|
|
3517
3333
|
"descriptions": {
|
|
3518
3334
|
"default": "Default input appearance",
|
|
3519
3335
|
"error": "Error state for validation failures"
|
|
@@ -3651,10 +3467,7 @@
|
|
|
3651
3467
|
"<div className=\"flex max-w-md flex-col gap-4\">\n <Input label=\"Full Name\" placeholder=\"John Doe\" />\n <Input\n label=\"Email\"\n labelTooltip=\"We'll send your receipt here\"\n placeholder=\"john@example.com\"\n type=\"email\"\n />\n <Input label=\"Company\" required={false} placeholder=\"Acme Inc.\" />\n <Select label=\"Country\" hideLabel={false} placeholder=\"Select a country\">\n <Select.Option value=\"us\">United States</Select.Option>\n <Select.Option value=\"uk\">United Kingdom</Select.Option>\n <Select.Option value=\"ca\">Canada</Select.Option>\n </Select>\n </div>",
|
|
3652
3468
|
"<div className=\"flex flex-col gap-3\">\n <Label>Default</Label>\n <Label showOptional>Optional</Label>\n <Label tooltip=\"Important field\">With Tooltip</Label>\n </div>"
|
|
3653
3469
|
],
|
|
3654
|
-
"colors": [
|
|
3655
|
-
"text-sf-default",
|
|
3656
|
-
"text-sf-strong"
|
|
3657
|
-
]
|
|
3470
|
+
"colors": ["text-sf-default", "text-sf-strong"]
|
|
3658
3471
|
},
|
|
3659
3472
|
"LayerCard": {
|
|
3660
3473
|
"name": "LayerCard",
|
|
@@ -3689,12 +3502,22 @@
|
|
|
3689
3502
|
"Primary": {
|
|
3690
3503
|
"name": "Primary",
|
|
3691
3504
|
"description": "Primary sub-component",
|
|
3692
|
-
"props": {
|
|
3505
|
+
"props": {
|
|
3506
|
+
"className": {
|
|
3507
|
+
"type": "string",
|
|
3508
|
+
"optional": true
|
|
3509
|
+
}
|
|
3510
|
+
}
|
|
3693
3511
|
},
|
|
3694
3512
|
"Secondary": {
|
|
3695
3513
|
"name": "Secondary",
|
|
3696
3514
|
"description": "Secondary sub-component",
|
|
3697
|
-
"props": {
|
|
3515
|
+
"props": {
|
|
3516
|
+
"className": {
|
|
3517
|
+
"type": "string",
|
|
3518
|
+
"optional": true
|
|
3519
|
+
}
|
|
3520
|
+
}
|
|
3698
3521
|
}
|
|
3699
3522
|
},
|
|
3700
3523
|
"styling": {
|
|
@@ -3731,11 +3554,7 @@
|
|
|
3731
3554
|
"type": "enum",
|
|
3732
3555
|
"optional": true,
|
|
3733
3556
|
"description": "Visual style of the link.\n- `\"inline\"` — Inline text link that flows with content\n- `\"current\"` — Link that inherits color from parent text\n- `\"plain\"` — Link without underline decoration",
|
|
3734
|
-
"values": [
|
|
3735
|
-
"inline",
|
|
3736
|
-
"current",
|
|
3737
|
-
"plain"
|
|
3738
|
-
],
|
|
3557
|
+
"values": ["inline", "current", "plain"],
|
|
3739
3558
|
"descriptions": {
|
|
3740
3559
|
"inline": "Inline text link that flows with content",
|
|
3741
3560
|
"current": "Link that inherits color from parent text",
|
|
@@ -3858,11 +3677,7 @@
|
|
|
3858
3677
|
"type": "enum",
|
|
3859
3678
|
"optional": true,
|
|
3860
3679
|
"description": "Size of the spinner. Use a preset name or a custom pixel number.\n- `\"sm\"` — 16px, for inline use\n- `\"base\"` — 24px, default size\n- `\"lg\"` — 32px, for prominent loading states",
|
|
3861
|
-
"values": [
|
|
3862
|
-
"sm",
|
|
3863
|
-
"base",
|
|
3864
|
-
"lg"
|
|
3865
|
-
],
|
|
3680
|
+
"values": ["sm", "base", "lg"],
|
|
3866
3681
|
"descriptions": {
|
|
3867
3682
|
"sm": "Small loader for inline use",
|
|
3868
3683
|
"base": "Default loader size",
|
|
@@ -3911,11 +3726,7 @@
|
|
|
3911
3726
|
"<MenuBar\n isActive=\"bold\"\n optionIds\n options={[\n {\n icon: <TextBolderIcon />,\n id: \"bold\",\n onClick: () => {},\n tooltip: \"Bold\",\n },\n {\n icon: <TextItalicIcon />,\n id: \"italic\",\n onClick: () => {},\n tooltip: \"Italic\",\n },\n ]}\n />",
|
|
3912
3727
|
"<MenuBar\n isActive=\"\"\n optionIds\n options={[\n {\n icon: <TextBolderIcon />,\n id: \"bold\",\n onClick: () => {},\n tooltip: \"Bold\",\n },\n {\n icon: <TextItalicIcon />,\n id: \"italic\",\n onClick: () => {},\n tooltip: \"Italic\",\n },\n ]}\n />"
|
|
3913
3728
|
],
|
|
3914
|
-
"colors": [
|
|
3915
|
-
"bg-sf-base",
|
|
3916
|
-
"bg-sf-fill",
|
|
3917
|
-
"border-sf-fill"
|
|
3918
|
-
],
|
|
3729
|
+
"colors": ["bg-sf-base", "bg-sf-fill", "border-sf-fill"],
|
|
3919
3730
|
"styling": {
|
|
3920
3731
|
"container": {
|
|
3921
3732
|
"height": 32,
|
|
@@ -3983,11 +3794,7 @@
|
|
|
3983
3794
|
"<Meter label=\"Memory usage\" value={15} />",
|
|
3984
3795
|
"<Meter\n label=\"Upload progress\"\n value={80}\n indicatorClassName=\"from-green-500 via-green-500 to-green-500\"\n />"
|
|
3985
3796
|
],
|
|
3986
|
-
"colors": [
|
|
3987
|
-
"bg-sf-fill",
|
|
3988
|
-
"text-sf-default",
|
|
3989
|
-
"text-sf-strong"
|
|
3990
|
-
]
|
|
3797
|
+
"colors": ["bg-sf-fill", "text-sf-default", "text-sf-strong"]
|
|
3991
3798
|
},
|
|
3992
3799
|
"Pagination": {
|
|
3993
3800
|
"name": "Pagination",
|
|
@@ -3999,10 +3806,7 @@
|
|
|
3999
3806
|
"controls": {
|
|
4000
3807
|
"type": "enum",
|
|
4001
3808
|
"optional": true,
|
|
4002
|
-
"values": [
|
|
4003
|
-
"full",
|
|
4004
|
-
"simple"
|
|
4005
|
-
],
|
|
3809
|
+
"values": ["full", "simple"],
|
|
4006
3810
|
"descriptions": {
|
|
4007
3811
|
"full": "Full pagination controls with first, previous, page input, next, and last buttons",
|
|
4008
3812
|
"simple": "Simple pagination controls with only previous and next buttons"
|
|
@@ -4043,9 +3847,7 @@
|
|
|
4043
3847
|
"<Pagination page={page} setPage={setPage} perPage={25} totalCount={1250} />",
|
|
4044
3848
|
"<Pagination\n text={({ perPage }) => `Page ${page} - showing ${perPage} per page`}\n page={page}\n setPage={setPage}\n perPage={25}\n totalCount={100}\n />"
|
|
4045
3849
|
],
|
|
4046
|
-
"colors": [
|
|
4047
|
-
"text-sf-strong"
|
|
4048
|
-
],
|
|
3850
|
+
"colors": ["text-sf-strong"],
|
|
4049
3851
|
"styling": {
|
|
4050
3852
|
"layout": {
|
|
4051
3853
|
"height": 36,
|
|
@@ -4068,12 +3870,7 @@
|
|
|
4068
3870
|
"type": "enum",
|
|
4069
3871
|
"optional": true,
|
|
4070
3872
|
"description": "Which side of the trigger the popover appears on.\n- `\"top\"` — Above the trigger\n- `\"bottom\"` — Below the trigger\n- `\"left\"` — Left of the trigger\n- `\"right\"` — Right of the trigger",
|
|
4071
|
-
"values": [
|
|
4072
|
-
"top",
|
|
4073
|
-
"bottom",
|
|
4074
|
-
"left",
|
|
4075
|
-
"right"
|
|
4076
|
-
],
|
|
3873
|
+
"values": ["top", "bottom", "left", "right"],
|
|
4077
3874
|
"descriptions": {
|
|
4078
3875
|
"top": "Popover appears above the trigger",
|
|
4079
3876
|
"bottom": "Popover appears below the trigger",
|
|
@@ -4104,12 +3901,38 @@
|
|
|
4104
3901
|
"Trigger": {
|
|
4105
3902
|
"name": "Trigger",
|
|
4106
3903
|
"description": "Trigger sub-component",
|
|
4107
|
-
"props": {
|
|
3904
|
+
"props": {
|
|
3905
|
+
"asChild": {
|
|
3906
|
+
"type": "boolean",
|
|
3907
|
+
"optional": true
|
|
3908
|
+
}
|
|
3909
|
+
}
|
|
4108
3910
|
},
|
|
4109
3911
|
"Content": {
|
|
4110
3912
|
"name": "Content",
|
|
4111
3913
|
"description": "Content sub-component",
|
|
4112
|
-
"props": {
|
|
3914
|
+
"props": {
|
|
3915
|
+
"align": {
|
|
3916
|
+
"type": "PopoverAlign",
|
|
3917
|
+
"optional": true
|
|
3918
|
+
},
|
|
3919
|
+
"sideOffset": {
|
|
3920
|
+
"type": "number",
|
|
3921
|
+
"optional": true
|
|
3922
|
+
},
|
|
3923
|
+
"alignOffset": {
|
|
3924
|
+
"type": "number",
|
|
3925
|
+
"optional": true
|
|
3926
|
+
},
|
|
3927
|
+
"className": {
|
|
3928
|
+
"type": "string",
|
|
3929
|
+
"optional": true
|
|
3930
|
+
},
|
|
3931
|
+
"children": {
|
|
3932
|
+
"type": "ReactNode",
|
|
3933
|
+
"optional": true
|
|
3934
|
+
}
|
|
3935
|
+
}
|
|
4113
3936
|
},
|
|
4114
3937
|
"Title": {
|
|
4115
3938
|
"name": "Title",
|
|
@@ -4124,7 +3947,12 @@
|
|
|
4124
3947
|
"Close": {
|
|
4125
3948
|
"name": "Close",
|
|
4126
3949
|
"description": "Close sub-component",
|
|
4127
|
-
"props": {
|
|
3950
|
+
"props": {
|
|
3951
|
+
"asChild": {
|
|
3952
|
+
"type": "boolean",
|
|
3953
|
+
"optional": true
|
|
3954
|
+
}
|
|
3955
|
+
}
|
|
4128
3956
|
}
|
|
4129
3957
|
}
|
|
4130
3958
|
},
|
|
@@ -4164,11 +3992,7 @@
|
|
|
4164
3992
|
"type": "enum",
|
|
4165
3993
|
"optional": true,
|
|
4166
3994
|
"description": "Optional status indicator rendered next to the title. `\"running\"` shows a small spinner; `\"error\"` shows an inline error icon. Use this instead of composing JSX into `backLayerTitle` for the common case of an agent doing work.",
|
|
4167
|
-
"values": [
|
|
4168
|
-
"idle",
|
|
4169
|
-
"running",
|
|
4170
|
-
"error"
|
|
4171
|
-
]
|
|
3995
|
+
"values": ["idle", "running", "error"]
|
|
4172
3996
|
},
|
|
4173
3997
|
"backLayerOpen": {
|
|
4174
3998
|
"type": "boolean",
|
|
@@ -4223,7 +4047,12 @@
|
|
|
4223
4047
|
"BackLayer": {
|
|
4224
4048
|
"name": "BackLayer",
|
|
4225
4049
|
"description": "BackLayer sub-component",
|
|
4226
|
-
"props": {
|
|
4050
|
+
"props": {
|
|
4051
|
+
"className": {
|
|
4052
|
+
"type": "string",
|
|
4053
|
+
"optional": true
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4227
4056
|
},
|
|
4228
4057
|
"Textarea": {
|
|
4229
4058
|
"name": "Textarea",
|
|
@@ -4263,12 +4092,22 @@
|
|
|
4263
4092
|
"Tags": {
|
|
4264
4093
|
"name": "Tags",
|
|
4265
4094
|
"description": "Tags sub-component",
|
|
4266
|
-
"props": {
|
|
4095
|
+
"props": {
|
|
4096
|
+
"children": {
|
|
4097
|
+
"type": "(tag: PromptInputTagData) => ReactNode",
|
|
4098
|
+
"required": true
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4267
4101
|
},
|
|
4268
4102
|
"Tag": {
|
|
4269
4103
|
"name": "Tag",
|
|
4270
4104
|
"description": "Tag sub-component",
|
|
4271
|
-
"props": {
|
|
4105
|
+
"props": {
|
|
4106
|
+
"data": {
|
|
4107
|
+
"type": "PromptInputTagData",
|
|
4108
|
+
"required": true
|
|
4109
|
+
}
|
|
4110
|
+
}
|
|
4272
4111
|
},
|
|
4273
4112
|
"AttachButton": {
|
|
4274
4113
|
"name": "AttachButton",
|
|
@@ -4278,12 +4117,22 @@
|
|
|
4278
4117
|
"Attachments": {
|
|
4279
4118
|
"name": "Attachments",
|
|
4280
4119
|
"description": "Attachments sub-component",
|
|
4281
|
-
"props": {
|
|
4120
|
+
"props": {
|
|
4121
|
+
"children": {
|
|
4122
|
+
"type": "(attachment: AttachmentFile) => ReactNode",
|
|
4123
|
+
"required": true
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4282
4126
|
},
|
|
4283
4127
|
"Attachment": {
|
|
4284
4128
|
"name": "Attachment",
|
|
4285
4129
|
"description": "Attachment sub-component",
|
|
4286
|
-
"props": {
|
|
4130
|
+
"props": {
|
|
4131
|
+
"data": {
|
|
4132
|
+
"type": "AttachmentFile",
|
|
4133
|
+
"required": true
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4287
4136
|
}
|
|
4288
4137
|
}
|
|
4289
4138
|
},
|
|
@@ -4308,10 +4157,7 @@
|
|
|
4308
4157
|
"type": "enum",
|
|
4309
4158
|
"optional": true,
|
|
4310
4159
|
"description": "Layout direction of the radio items",
|
|
4311
|
-
"values": [
|
|
4312
|
-
"vertical",
|
|
4313
|
-
"horizontal"
|
|
4314
|
-
]
|
|
4160
|
+
"values": ["vertical", "horizontal"]
|
|
4315
4161
|
},
|
|
4316
4162
|
"error": {
|
|
4317
4163
|
"type": "string",
|
|
@@ -4337,10 +4183,7 @@
|
|
|
4337
4183
|
"type": "enum",
|
|
4338
4184
|
"optional": true,
|
|
4339
4185
|
"description": "Position of radio control relative to label: \"start\" (default) puts radio before label, \"end\" puts label before radio",
|
|
4340
|
-
"values": [
|
|
4341
|
-
"start",
|
|
4342
|
-
"end"
|
|
4343
|
-
]
|
|
4186
|
+
"values": ["start", "end"]
|
|
4344
4187
|
},
|
|
4345
4188
|
"name": {
|
|
4346
4189
|
"type": "string",
|
|
@@ -4589,22 +4432,14 @@
|
|
|
4589
4432
|
"type": "enum",
|
|
4590
4433
|
"optional": true,
|
|
4591
4434
|
"description": "Size of the input.\n- `\"xs\"` — Extra small for compact UIs\n- `\"sm\"` — Small for secondary fields\n- `\"base\"` — Default input size\n- `\"lg\"` — Large for prominent fields",
|
|
4592
|
-
"values": [
|
|
4593
|
-
"xs",
|
|
4594
|
-
"sm",
|
|
4595
|
-
"base",
|
|
4596
|
-
"lg"
|
|
4597
|
-
],
|
|
4435
|
+
"values": ["xs", "sm", "base", "lg"],
|
|
4598
4436
|
"default": "base"
|
|
4599
4437
|
},
|
|
4600
4438
|
"variant": {
|
|
4601
4439
|
"type": "enum",
|
|
4602
4440
|
"optional": true,
|
|
4603
4441
|
"description": "Style variant of the input.\n- `\"default\"` — Default input appearance\n- `\"error\"` — Error state for validation failures",
|
|
4604
|
-
"values": [
|
|
4605
|
-
"default",
|
|
4606
|
-
"error"
|
|
4607
|
-
],
|
|
4442
|
+
"values": ["default", "error"],
|
|
4608
4443
|
"default": "default"
|
|
4609
4444
|
},
|
|
4610
4445
|
"label": {
|
|
@@ -4663,11 +4498,7 @@
|
|
|
4663
4498
|
"type": "enum",
|
|
4664
4499
|
"optional": true,
|
|
4665
4500
|
"description": "Sidebar layout variant.",
|
|
4666
|
-
"values": [
|
|
4667
|
-
"sidebar",
|
|
4668
|
-
"floating",
|
|
4669
|
-
"inset"
|
|
4670
|
-
],
|
|
4501
|
+
"values": ["sidebar", "floating", "inset"],
|
|
4671
4502
|
"descriptions": {
|
|
4672
4503
|
"sidebar": "Standard sidebar with border separator",
|
|
4673
4504
|
"floating": "Floating sidebar with shadow and rounded corners",
|
|
@@ -4679,10 +4510,7 @@
|
|
|
4679
4510
|
"type": "enum",
|
|
4680
4511
|
"optional": true,
|
|
4681
4512
|
"description": "Which side the sidebar is on.",
|
|
4682
|
-
"values": [
|
|
4683
|
-
"left",
|
|
4684
|
-
"right"
|
|
4685
|
-
],
|
|
4513
|
+
"values": ["left", "right"],
|
|
4686
4514
|
"descriptions": {
|
|
4687
4515
|
"left": "Left-aligned sidebar",
|
|
4688
4516
|
"right": "Right-aligned sidebar"
|
|
@@ -4692,11 +4520,7 @@
|
|
|
4692
4520
|
"collapsible": {
|
|
4693
4521
|
"type": "enum",
|
|
4694
4522
|
"optional": true,
|
|
4695
|
-
"values": [
|
|
4696
|
-
"icon",
|
|
4697
|
-
"offcanvas",
|
|
4698
|
-
"none"
|
|
4699
|
-
],
|
|
4523
|
+
"values": ["icon", "offcanvas", "none"],
|
|
4700
4524
|
"descriptions": {
|
|
4701
4525
|
"icon": "Collapses to show icons only",
|
|
4702
4526
|
"offcanvas": "Slides off screen when collapsed",
|
|
@@ -4992,18 +4816,12 @@
|
|
|
4992
4816
|
"accumulate": {
|
|
4993
4817
|
"type": "enum",
|
|
4994
4818
|
"optional": true,
|
|
4995
|
-
"values": [
|
|
4996
|
-
"none",
|
|
4997
|
-
"sum"
|
|
4998
|
-
]
|
|
4819
|
+
"values": ["none", "sum"]
|
|
4999
4820
|
},
|
|
5000
4821
|
"additive": {
|
|
5001
4822
|
"type": "enum",
|
|
5002
4823
|
"optional": true,
|
|
5003
|
-
"values": [
|
|
5004
|
-
"replace",
|
|
5005
|
-
"sum"
|
|
5006
|
-
]
|
|
4824
|
+
"values": ["replace", "sum"]
|
|
5007
4825
|
},
|
|
5008
4826
|
"alignmentBaseline": {
|
|
5009
4827
|
"type": "enum",
|
|
@@ -5027,10 +4845,7 @@
|
|
|
5027
4845
|
"allowReorder": {
|
|
5028
4846
|
"type": "enum",
|
|
5029
4847
|
"optional": true,
|
|
5030
|
-
"values": [
|
|
5031
|
-
"no",
|
|
5032
|
-
"yes"
|
|
5033
|
-
]
|
|
4848
|
+
"values": ["no", "yes"]
|
|
5034
4849
|
},
|
|
5035
4850
|
"alphabetic": {
|
|
5036
4851
|
"type": "number | string",
|
|
@@ -5043,12 +4858,7 @@
|
|
|
5043
4858
|
"arabicForm": {
|
|
5044
4859
|
"type": "enum",
|
|
5045
4860
|
"optional": true,
|
|
5046
|
-
"values": [
|
|
5047
|
-
"initial",
|
|
5048
|
-
"medial",
|
|
5049
|
-
"terminal",
|
|
5050
|
-
"isolated"
|
|
5051
|
-
]
|
|
4861
|
+
"values": ["initial", "medial", "terminal", "isolated"]
|
|
5052
4862
|
},
|
|
5053
4863
|
"ascent": {
|
|
5054
4864
|
"type": "number | string",
|
|
@@ -5129,12 +4939,7 @@
|
|
|
5129
4939
|
"colorInterpolationFilters": {
|
|
5130
4940
|
"type": "enum",
|
|
5131
4941
|
"optional": true,
|
|
5132
|
-
"values": [
|
|
5133
|
-
"auto",
|
|
5134
|
-
"sRGB",
|
|
5135
|
-
"linearRGB",
|
|
5136
|
-
"inherit"
|
|
5137
|
-
]
|
|
4942
|
+
"values": ["auto", "sRGB", "linearRGB", "inherit"]
|
|
5138
4943
|
},
|
|
5139
4944
|
"colorProfile": {
|
|
5140
4945
|
"type": "number | string",
|
|
@@ -5258,11 +5063,7 @@
|
|
|
5258
5063
|
"fillRule": {
|
|
5259
5064
|
"type": "enum",
|
|
5260
5065
|
"optional": true,
|
|
5261
|
-
"values": [
|
|
5262
|
-
"nonzero",
|
|
5263
|
-
"evenodd",
|
|
5264
|
-
"inherit"
|
|
5265
|
-
]
|
|
5066
|
+
"values": ["nonzero", "evenodd", "inherit"]
|
|
5266
5067
|
},
|
|
5267
5068
|
"filter": {
|
|
5268
5069
|
"type": "string",
|
|
@@ -5763,22 +5564,12 @@
|
|
|
5763
5564
|
"strokeLinecap": {
|
|
5764
5565
|
"type": "enum",
|
|
5765
5566
|
"optional": true,
|
|
5766
|
-
"values": [
|
|
5767
|
-
"butt",
|
|
5768
|
-
"round",
|
|
5769
|
-
"square",
|
|
5770
|
-
"inherit"
|
|
5771
|
-
]
|
|
5567
|
+
"values": ["butt", "round", "square", "inherit"]
|
|
5772
5568
|
},
|
|
5773
5569
|
"strokeLinejoin": {
|
|
5774
5570
|
"type": "enum",
|
|
5775
5571
|
"optional": true,
|
|
5776
|
-
"values": [
|
|
5777
|
-
"miter",
|
|
5778
|
-
"round",
|
|
5779
|
-
"bevel",
|
|
5780
|
-
"inherit"
|
|
5781
|
-
]
|
|
5572
|
+
"values": ["miter", "round", "bevel", "inherit"]
|
|
5782
5573
|
},
|
|
5783
5574
|
"strokeMiterlimit": {
|
|
5784
5575
|
"type": "number | string",
|
|
@@ -5815,12 +5606,7 @@
|
|
|
5815
5606
|
"textAnchor": {
|
|
5816
5607
|
"type": "enum",
|
|
5817
5608
|
"optional": true,
|
|
5818
|
-
"values": [
|
|
5819
|
-
"start",
|
|
5820
|
-
"middle",
|
|
5821
|
-
"end",
|
|
5822
|
-
"inherit"
|
|
5823
|
-
]
|
|
5609
|
+
"values": ["start", "middle", "end", "inherit"]
|
|
5824
5610
|
},
|
|
5825
5611
|
"textDecoration": {
|
|
5826
5612
|
"type": "number | string",
|
|
@@ -6034,10 +5820,7 @@
|
|
|
6034
5820
|
"type": "enum",
|
|
6035
5821
|
"optional": true,
|
|
6036
5822
|
"description": "Logo variant\n- `glyph`: Map pin icon only\n- `full`: Full logo with wordmark and decorative element",
|
|
6037
|
-
"values": [
|
|
6038
|
-
"glyph",
|
|
6039
|
-
"full"
|
|
6040
|
-
],
|
|
5823
|
+
"values": ["glyph", "full"],
|
|
6041
5824
|
"descriptions": {
|
|
6042
5825
|
"glyph": "Map pin icon only (logomark)",
|
|
6043
5826
|
"full": "Full logo with icon, wordmark, and decorative element"
|
|
@@ -6058,11 +5841,7 @@
|
|
|
6058
5841
|
"<PoweredByNavigator />",
|
|
6059
5842
|
"<div className=\"flex flex-wrap items-center gap-4\">\n <PoweredByNavigator color=\"brand\" />\n <PoweredByNavigator color=\"mono\" />\n <PoweredByNavigator color=\"black\" />\n <div className=\"rounded-lg bg-black p-3\">\n <PoweredByNavigator color=\"white\" />\n </div>\n </div>"
|
|
6060
5843
|
],
|
|
6061
|
-
"colors": [
|
|
6062
|
-
"bg-sf-base",
|
|
6063
|
-
"ring-sf-line",
|
|
6064
|
-
"text-sf-default"
|
|
6065
|
-
]
|
|
5844
|
+
"colors": ["bg-sf-base", "ring-sf-line", "text-sf-default"]
|
|
6066
5845
|
},
|
|
6067
5846
|
"Sparkline": {
|
|
6068
5847
|
"name": "Sparkline",
|
|
@@ -6098,10 +5877,7 @@
|
|
|
6098
5877
|
"type": "enum",
|
|
6099
5878
|
"optional": true,
|
|
6100
5879
|
"description": "Size of the card. Defaults to `\"base\"`.",
|
|
6101
|
-
"values": [
|
|
6102
|
-
"sm",
|
|
6103
|
-
"base"
|
|
6104
|
-
],
|
|
5880
|
+
"values": ["sm", "base"],
|
|
6105
5881
|
"default": "base"
|
|
6106
5882
|
},
|
|
6107
5883
|
"label": {
|
|
@@ -6184,10 +5960,7 @@
|
|
|
6184
5960
|
"<div className=\"flex flex-col gap-4\">\n <Surface as=\"section\" className=\"rounded-lg p-4\">\n <Text bold>As section element</Text>\n </Surface>\n <Surface as=\"article\" className=\"rounded-lg p-4\">\n <Text bold>As article element</Text>\n </Surface>\n <Surface as=\"aside\" className=\"rounded-lg p-4\">\n <Text bold>As aside element</Text>\n </Surface>\n </div>",
|
|
6185
5961
|
"<Surface className=\"rounded-lg p-6\">\n <Text bold>Outer Surface</Text>\n <Surface className=\"mt-4 rounded-md bg-sf-elevated p-4\">\n <Text variant=\"secondary\">Nested Surface</Text>\n </Surface>\n </Surface>"
|
|
6186
5962
|
],
|
|
6187
|
-
"colors": [
|
|
6188
|
-
"bg-sf-base",
|
|
6189
|
-
"ring-sf-line"
|
|
6190
|
-
]
|
|
5963
|
+
"colors": ["bg-sf-base", "ring-sf-line"]
|
|
6191
5964
|
},
|
|
6192
5965
|
"Switch": {
|
|
6193
5966
|
"name": "Switch",
|
|
@@ -6200,10 +5973,7 @@
|
|
|
6200
5973
|
"type": "enum",
|
|
6201
5974
|
"optional": true,
|
|
6202
5975
|
"description": "Visual variant: \"default\" or \"error\" for validation failures (visual only, no error text)",
|
|
6203
|
-
"values": [
|
|
6204
|
-
"default",
|
|
6205
|
-
"error"
|
|
6206
|
-
],
|
|
5976
|
+
"values": ["default", "error"],
|
|
6207
5977
|
"descriptions": {
|
|
6208
5978
|
"default": "Default switch appearance",
|
|
6209
5979
|
"error": "Error state for validation failures"
|
|
@@ -6236,11 +6006,7 @@
|
|
|
6236
6006
|
"size": {
|
|
6237
6007
|
"type": "enum",
|
|
6238
6008
|
"optional": true,
|
|
6239
|
-
"values": [
|
|
6240
|
-
"sm",
|
|
6241
|
-
"base",
|
|
6242
|
-
"lg"
|
|
6243
|
-
],
|
|
6009
|
+
"values": ["sm", "base", "lg"],
|
|
6244
6010
|
"descriptions": {
|
|
6245
6011
|
"sm": "Small switch for compact UIs",
|
|
6246
6012
|
"base": "Default switch size",
|
|
@@ -6272,11 +6038,7 @@
|
|
|
6272
6038
|
"type": {
|
|
6273
6039
|
"type": "enum",
|
|
6274
6040
|
"optional": true,
|
|
6275
|
-
"values": [
|
|
6276
|
-
"submit",
|
|
6277
|
-
"reset",
|
|
6278
|
-
"button"
|
|
6279
|
-
]
|
|
6041
|
+
"values": ["submit", "reset", "button"]
|
|
6280
6042
|
},
|
|
6281
6043
|
"value": {
|
|
6282
6044
|
"type": "string | string[] | number",
|
|
@@ -6373,10 +6135,7 @@
|
|
|
6373
6135
|
"props": {
|
|
6374
6136
|
"layout": {
|
|
6375
6137
|
"type": "enum",
|
|
6376
|
-
"values": [
|
|
6377
|
-
"auto",
|
|
6378
|
-
"fixed"
|
|
6379
|
-
],
|
|
6138
|
+
"values": ["auto", "fixed"],
|
|
6380
6139
|
"default": "auto",
|
|
6381
6140
|
"descriptions": {
|
|
6382
6141
|
"auto": "Auto table layout - columns resize based on content",
|
|
@@ -6385,10 +6144,7 @@
|
|
|
6385
6144
|
},
|
|
6386
6145
|
"variant": {
|
|
6387
6146
|
"type": "enum",
|
|
6388
|
-
"values": [
|
|
6389
|
-
"default",
|
|
6390
|
-
"selected"
|
|
6391
|
-
],
|
|
6147
|
+
"values": ["default", "selected"],
|
|
6392
6148
|
"default": "default",
|
|
6393
6149
|
"descriptions": {
|
|
6394
6150
|
"default": "Default row variant",
|
|
@@ -6512,11 +6268,7 @@
|
|
|
6512
6268
|
"type": "enum",
|
|
6513
6269
|
"optional": true,
|
|
6514
6270
|
"description": "Tab style.\n- `\"segmented\"` — Pill-shaped indicator on a filled track\n- `\"underline\"` — Underline indicator below tab text\n- `\"pill\"` — Fully rounded tabs, only selected has background",
|
|
6515
|
-
"values": [
|
|
6516
|
-
"segmented",
|
|
6517
|
-
"underline",
|
|
6518
|
-
"pill"
|
|
6519
|
-
],
|
|
6271
|
+
"values": ["segmented", "underline", "pill"],
|
|
6520
6272
|
"default": "segmented"
|
|
6521
6273
|
},
|
|
6522
6274
|
"onValueChange": {
|
|
@@ -6619,12 +6371,7 @@
|
|
|
6619
6371
|
"type": "enum",
|
|
6620
6372
|
"optional": true,
|
|
6621
6373
|
"description": "Text size (only applies to body/secondary/success/error variants).\n- `\"xs\"` — 12px\n- `\"sm\"` — 14px\n- `\"base\"` — 16px\n- `\"lg\"` — 18px",
|
|
6622
|
-
"values": [
|
|
6623
|
-
"xs",
|
|
6624
|
-
"sm",
|
|
6625
|
-
"base",
|
|
6626
|
-
"lg"
|
|
6627
|
-
],
|
|
6374
|
+
"values": ["xs", "sm", "base", "lg"],
|
|
6628
6375
|
"descriptions": {
|
|
6629
6376
|
"xs": "Extra small text",
|
|
6630
6377
|
"sm": "Small text",
|
|
@@ -6763,11 +6510,7 @@
|
|
|
6763
6510
|
"type": "enum",
|
|
6764
6511
|
"optional": true,
|
|
6765
6512
|
"description": "Controlled mode. When provided the component acts as a controlled input — pair with `onModeChange`.",
|
|
6766
|
-
"values": [
|
|
6767
|
-
"light",
|
|
6768
|
-
"dark",
|
|
6769
|
-
"system"
|
|
6770
|
-
],
|
|
6513
|
+
"values": ["light", "dark", "system"],
|
|
6771
6514
|
"descriptions": {
|
|
6772
6515
|
"light": "Light mode",
|
|
6773
6516
|
"dark": "Dark mode",
|
|
@@ -6787,10 +6530,7 @@
|
|
|
6787
6530
|
}
|
|
6788
6531
|
},
|
|
6789
6532
|
"examples": [],
|
|
6790
|
-
"colors": [
|
|
6791
|
-
"text-sf-default",
|
|
6792
|
-
"text-sf-subtle"
|
|
6793
|
-
]
|
|
6533
|
+
"colors": ["text-sf-default", "text-sf-subtle"]
|
|
6794
6534
|
},
|
|
6795
6535
|
"Toasty": {
|
|
6796
6536
|
"name": "Toasty",
|
|
@@ -6801,11 +6541,7 @@
|
|
|
6801
6541
|
"props": {
|
|
6802
6542
|
"variant": {
|
|
6803
6543
|
"type": "enum",
|
|
6804
|
-
"values": [
|
|
6805
|
-
"default",
|
|
6806
|
-
"error",
|
|
6807
|
-
"warning"
|
|
6808
|
-
],
|
|
6544
|
+
"values": ["default", "error", "warning"],
|
|
6809
6545
|
"default": "default",
|
|
6810
6546
|
"descriptions": {
|
|
6811
6547
|
"default": "Default toast style",
|
|
@@ -6872,12 +6608,7 @@
|
|
|
6872
6608
|
"props": {
|
|
6873
6609
|
"side": {
|
|
6874
6610
|
"type": "enum",
|
|
6875
|
-
"values": [
|
|
6876
|
-
"top",
|
|
6877
|
-
"bottom",
|
|
6878
|
-
"left",
|
|
6879
|
-
"right"
|
|
6880
|
-
],
|
|
6611
|
+
"values": ["top", "bottom", "left", "right"],
|
|
6881
6612
|
"default": "top",
|
|
6882
6613
|
"descriptions": {
|
|
6883
6614
|
"top": "Tooltip appears above the trigger",
|
|
@@ -6987,11 +6718,7 @@
|
|
|
6987
6718
|
"type": "enum",
|
|
6988
6719
|
"optional": true,
|
|
6989
6720
|
"description": "Placement for interactive HITL elements (approvals, questions, plans).",
|
|
6990
|
-
"values": [
|
|
6991
|
-
"inline",
|
|
6992
|
-
"back-layer",
|
|
6993
|
-
"both"
|
|
6994
|
-
],
|
|
6721
|
+
"values": ["inline", "back-layer", "both"],
|
|
6995
6722
|
"descriptions": {
|
|
6996
6723
|
"inline": "Render approval/question cards inline in the conversation stream",
|
|
6997
6724
|
"back-layer": "Render approval/question cards in the PromptInput back layer",
|
|
@@ -7068,19 +6795,13 @@
|
|
|
7068
6795
|
"type": "enum",
|
|
7069
6796
|
"optional": true,
|
|
7070
6797
|
"description": "Rendering style for the mode picker.\n- `\"select\"` (default): compact dropdown\n- `\"cycle\"`: single click-to-cycle button",
|
|
7071
|
-
"values": [
|
|
7072
|
-
"select",
|
|
7073
|
-
"cycle"
|
|
7074
|
-
]
|
|
6798
|
+
"values": ["select", "cycle"]
|
|
7075
6799
|
},
|
|
7076
6800
|
"modelVariant": {
|
|
7077
6801
|
"type": "enum",
|
|
7078
6802
|
"optional": true,
|
|
7079
6803
|
"description": "Rendering style for the model picker.\n- `\"select\"` (default): compact dropdown\n- `\"cycle\"`: single click-to-cycle button",
|
|
7080
|
-
"values": [
|
|
7081
|
-
"select",
|
|
7082
|
-
"cycle"
|
|
7083
|
-
]
|
|
6804
|
+
"values": ["select", "cycle"]
|
|
7084
6805
|
}
|
|
7085
6806
|
},
|
|
7086
6807
|
"examples": [
|
|
@@ -7149,11 +6870,7 @@
|
|
|
7149
6870
|
"type": "enum",
|
|
7150
6871
|
"optional": true,
|
|
7151
6872
|
"description": "Layout variant.",
|
|
7152
|
-
"values": [
|
|
7153
|
-
"timeline-cards",
|
|
7154
|
-
"timeline-only",
|
|
7155
|
-
"cards-only"
|
|
7156
|
-
],
|
|
6873
|
+
"values": ["timeline-cards", "timeline-only", "cards-only"],
|
|
7157
6874
|
"descriptions": {
|
|
7158
6875
|
"timeline-cards": "Mission header + timeline + agent card grid",
|
|
7159
6876
|
"timeline-only": "Mission header + timeline, no agent cards grid",
|
|
@@ -7187,15 +6904,8 @@
|
|
|
7187
6904
|
"<div style={{ height: 300 }}>\n <Commander\n adapter={adapter}\n title=\"Refactor auth module\"\n pixelsPerSecond={20}\n layout=\"timeline-only\"\n />\n </div>",
|
|
7188
6905
|
"<div style={{ height: 280 }}>\n <Commander\n adapter={adapter}\n title=\"Refactor auth module\"\n pixelsPerSecond={20}\n layout=\"cards-only\"\n />\n </div>"
|
|
7189
6906
|
],
|
|
7190
|
-
"colors": [
|
|
7191
|
-
|
|
7192
|
-
"border-sf-line",
|
|
7193
|
-
"text-sf-subtle"
|
|
7194
|
-
],
|
|
7195
|
-
"files": [
|
|
7196
|
-
"commander/commander.tsx",
|
|
7197
|
-
"commander/commander.stories.tsx"
|
|
7198
|
-
],
|
|
6907
|
+
"colors": ["bg-sf-base", "border-sf-line", "text-sf-subtle"],
|
|
6908
|
+
"files": ["commander/commander.tsx", "commander/commander.stories.tsx"],
|
|
7199
6909
|
"dependencies": []
|
|
7200
6910
|
},
|
|
7201
6911
|
"DashboardGrid": {
|
|
@@ -7282,10 +6992,7 @@
|
|
|
7282
6992
|
"size": {
|
|
7283
6993
|
"type": "enum",
|
|
7284
6994
|
"optional": true,
|
|
7285
|
-
"values": [
|
|
7286
|
-
"sm",
|
|
7287
|
-
"base"
|
|
7288
|
-
],
|
|
6995
|
+
"values": ["sm", "base"],
|
|
7289
6996
|
"descriptions": {
|
|
7290
6997
|
"sm": "Small dialog for simple delete confirmations",
|
|
7291
6998
|
"base": "Default delete confirmation dialog size"
|
|
@@ -7384,16 +7091,8 @@
|
|
|
7384
7091
|
"text-sf-default",
|
|
7385
7092
|
"text-sf-subtle"
|
|
7386
7093
|
],
|
|
7387
|
-
"files": [
|
|
7388
|
-
|
|
7389
|
-
"map-block/map-block.stories.tsx"
|
|
7390
|
-
],
|
|
7391
|
-
"dependencies": [
|
|
7392
|
-
"Badge",
|
|
7393
|
-
"Button",
|
|
7394
|
-
"Loader",
|
|
7395
|
-
"Tooltip"
|
|
7396
|
-
]
|
|
7094
|
+
"files": ["map-block/map-block.tsx", "map-block/map-block.stories.tsx"],
|
|
7095
|
+
"dependencies": ["Badge", "Button", "Loader", "Tooltip"]
|
|
7397
7096
|
},
|
|
7398
7097
|
"MetricsOverview": {
|
|
7399
7098
|
"name": "MetricsOverview",
|
|
@@ -7447,18 +7146,12 @@
|
|
|
7447
7146
|
"<MetricsOverview\n title=\"Revenue overview\"\n description=\"Last 72 hours · hourly granularity\"\n kpis={[\n {\n id: \"mrr\",\n label: \"MRR\",\n value: \"$128,420\",\n delta: { value: 0.12, label: \"vs last month\" },\n trend: (\n <Sparkline\n echarts={echarts}\n data={sparkData}\n variant=\"area\"\n isDarkMode={isDarkMode}\n />\n ),\n },\n {\n id: \"arpu\",\n label: \"ARPU\",\n value: \"$42.10\",\n delta: { value: 0.03, label: \"vs last month\" },\n },\n {\n id: \"churn\",\n label: \"Churn\",\n value: \"1.4%\",\n delta: {\n value: -0.01,\n label: \"vs last month\",\n positiveDirection: \"down\",\n },\n },\n {\n id: \"users\",\n label: \"Active users\",\n value: \"12,384\",\n delta: { value: 0.08, label: \"vs last week\" },\n },\n ]}\n chart={\n <TimeseriesChart\n echarts={echarts}\n data={[\n series(\"Revenue\", 0, ChartPalette.semantic(\"Neutral\", isDarkMode)),\n series(\"Cost\", 20, ChartPalette.semantic(\"Attention\", isDarkMode)),\n ]}\n height={260}\n gradient\n isDarkMode={isDarkMode}\n />\n }\n />",
|
|
7448
7147
|
"<MetricsOverview\n title=\"Revenue overview\"\n loading\n kpis={[\n { id: \"mrr\", label: \"MRR\", value: \"—\" },\n { id: \"arpu\", label: \"ARPU\", value: \"—\" },\n { id: \"churn\", label: \"Churn\", value: \"—\" },\n { id: \"users\", label: \"Active users\", value: \"—\" },\n ]}\n />"
|
|
7449
7148
|
],
|
|
7450
|
-
"colors": [
|
|
7451
|
-
"bg-sf-elevated",
|
|
7452
|
-
"text-sf-strong",
|
|
7453
|
-
"text-sf-subtle"
|
|
7454
|
-
],
|
|
7149
|
+
"colors": ["bg-sf-elevated", "text-sf-strong", "text-sf-subtle"],
|
|
7455
7150
|
"files": [
|
|
7456
7151
|
"metrics-overview/metrics-overview.tsx",
|
|
7457
7152
|
"metrics-overview/metrics-overview.stories.tsx"
|
|
7458
7153
|
],
|
|
7459
|
-
"dependencies": [
|
|
7460
|
-
"StatCard"
|
|
7461
|
-
]
|
|
7154
|
+
"dependencies": ["StatCard"]
|
|
7462
7155
|
},
|
|
7463
7156
|
"PageHeader": {
|
|
7464
7157
|
"name": "PageHeader",
|
|
@@ -7470,11 +7163,7 @@
|
|
|
7470
7163
|
"spacing": {
|
|
7471
7164
|
"type": "enum",
|
|
7472
7165
|
"optional": true,
|
|
7473
|
-
"values": [
|
|
7474
|
-
"compact",
|
|
7475
|
-
"base",
|
|
7476
|
-
"relaxed"
|
|
7477
|
-
],
|
|
7166
|
+
"values": ["compact", "base", "relaxed"],
|
|
7478
7167
|
"descriptions": {
|
|
7479
7168
|
"compact": "Compact spacing between header elements",
|
|
7480
7169
|
"base": "Default spacing between header elements",
|
|
@@ -7526,18 +7215,12 @@
|
|
|
7526
7215
|
"<PageHeader\n breadcrumbs={\n <Breadcrumbs>\n <Breadcrumbs.Link href=\"#\">Home</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n <Breadcrumbs.Link href=\"#\">Products</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n <Breadcrumbs.Current>Page title</Breadcrumbs.Current>\n </Breadcrumbs>\n }\n title=\"Page title\"\n description=\"Action-led, value-oriented description of what this page does. Optional second sentence with use cases or prerequisites.\"\n />",
|
|
7527
7216
|
"<PageHeader\n breadcrumbs={\n <Breadcrumbs>\n <Breadcrumbs.Link href=\"#\">Home</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n <Breadcrumbs.Link href=\"#\">Products</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n <Breadcrumbs.Current>Page title</Breadcrumbs.Current>\n </Breadcrumbs>\n }\n title=\"Page title\"\n description=\"Action-led, value-oriented description of what this page does.\"\n tabs={[\n { label: \"Overview\", value: \"overview\" },\n { label: \"Analytics\", value: \"analytics\" },\n { label: \"Settings\", value: \"settings\" },\n ]}\n defaultTab=\"overview\"\n >\n <Button variant=\"outline\" size=\"sm\">\n Export\n </Button>\n <Button variant=\"primary\" size=\"sm\" icon={<PlusIcon size={16} />}>\n New Item\n </Button>\n </PageHeader>"
|
|
7528
7217
|
],
|
|
7529
|
-
"colors": [
|
|
7530
|
-
"border-sf-line",
|
|
7531
|
-
"text-sf-default",
|
|
7532
|
-
"text-sf-subtle"
|
|
7533
|
-
],
|
|
7218
|
+
"colors": ["border-sf-line", "text-sf-default", "text-sf-subtle"],
|
|
7534
7219
|
"files": [
|
|
7535
7220
|
"page-header/page-header.tsx",
|
|
7536
7221
|
"page-header/page-header.stories.tsx"
|
|
7537
7222
|
],
|
|
7538
|
-
"dependencies": [
|
|
7539
|
-
"Tabs"
|
|
7540
|
-
]
|
|
7223
|
+
"dependencies": ["Tabs"]
|
|
7541
7224
|
},
|
|
7542
7225
|
"ResourceListPage": {
|
|
7543
7226
|
"name": "ResourceListPage",
|
|
@@ -7576,10 +7259,7 @@
|
|
|
7576
7259
|
}
|
|
7577
7260
|
},
|
|
7578
7261
|
"examples": [],
|
|
7579
|
-
"colors": [
|
|
7580
|
-
"bg-sf-overlay",
|
|
7581
|
-
"text-sf-strong"
|
|
7582
|
-
],
|
|
7262
|
+
"colors": ["bg-sf-overlay", "text-sf-strong"],
|
|
7583
7263
|
"files": [
|
|
7584
7264
|
"resource-list/resource-list.tsx",
|
|
7585
7265
|
"resource-list/resource-list.stories.tsx",
|
|
@@ -7643,15 +7323,8 @@
|
|
|
7643
7323
|
"Meter",
|
|
7644
7324
|
"Text"
|
|
7645
7325
|
],
|
|
7646
|
-
"Feedback": [
|
|
7647
|
-
|
|
7648
|
-
"Loader",
|
|
7649
|
-
"Toasty"
|
|
7650
|
-
],
|
|
7651
|
-
"Action": [
|
|
7652
|
-
"Button",
|
|
7653
|
-
"ClipboardText"
|
|
7654
|
-
],
|
|
7326
|
+
"Feedback": ["Banner", "Loader", "Toasty"],
|
|
7327
|
+
"Action": ["Button", "ClipboardText"],
|
|
7655
7328
|
"Input": [
|
|
7656
7329
|
"Checkbox",
|
|
7657
7330
|
"Combobox",
|
|
@@ -7662,24 +7335,9 @@
|
|
|
7662
7335
|
"Select",
|
|
7663
7336
|
"Switch"
|
|
7664
7337
|
],
|
|
7665
|
-
"Navigation": [
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
"Pagination",
|
|
7669
|
-
"Tabs"
|
|
7670
|
-
],
|
|
7671
|
-
"Overlay": [
|
|
7672
|
-
"Dialog",
|
|
7673
|
-
"DropdownMenu",
|
|
7674
|
-
"Popover",
|
|
7675
|
-
"Tooltip"
|
|
7676
|
-
],
|
|
7677
|
-
"Layout": [
|
|
7678
|
-
"Grid",
|
|
7679
|
-
"Surface",
|
|
7680
|
-
"PageHeader",
|
|
7681
|
-
"ResourceListPage"
|
|
7682
|
-
]
|
|
7338
|
+
"Navigation": ["CommandPalette", "MenuBar", "Pagination", "Tabs"],
|
|
7339
|
+
"Overlay": ["Dialog", "DropdownMenu", "Popover", "Tooltip"],
|
|
7340
|
+
"Layout": ["Grid", "Surface", "PageHeader", "ResourceListPage"]
|
|
7683
7341
|
},
|
|
7684
7342
|
"byName": [
|
|
7685
7343
|
"AgentHarness",
|
|
@@ -7838,4 +7496,4 @@
|
|
|
7838
7496
|
]
|
|
7839
7497
|
}
|
|
7840
7498
|
}
|
|
7841
|
-
}
|
|
7499
|
+
}
|