@keboola/design 9.1.0 → 11.0.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/AGENTS.md +119 -40
- package/COMPONENT-API.md +31 -9
- package/README.md +3 -3
- package/dist/MermaidDiagram-ZU5KAVRT.js +18 -0
- package/dist/MermaidDiagram-ZU5KAVRT.js.map +1 -0
- package/dist/charts.d.ts +37 -2
- package/dist/charts.js +11 -9
- package/dist/charts.js.map +1 -1
- package/dist/chunk-2YYJDKSP.js +51 -0
- package/dist/chunk-2YYJDKSP.js.map +1 -0
- package/dist/chunk-3P5UUCFI.js +385 -0
- package/dist/chunk-3P5UUCFI.js.map +1 -0
- package/dist/chunk-3QDFDDWZ.js +99 -0
- package/dist/chunk-3QDFDDWZ.js.map +1 -0
- package/dist/chunk-3W27OLK5.js +15 -0
- package/dist/chunk-3W27OLK5.js.map +1 -0
- package/dist/chunk-4FIZZONW.js +40 -0
- package/dist/chunk-4FIZZONW.js.map +1 -0
- package/dist/chunk-4GIAXOJG.js +133 -0
- package/dist/chunk-4GIAXOJG.js.map +1 -0
- package/dist/chunk-52NDNMK7.js +99 -0
- package/dist/chunk-52NDNMK7.js.map +1 -0
- package/dist/chunk-576G5OES.js +201 -0
- package/dist/chunk-576G5OES.js.map +1 -0
- package/dist/chunk-5AIE6SET.js +659 -0
- package/dist/chunk-5AIE6SET.js.map +1 -0
- package/dist/chunk-5FTNAZRW.js +327 -0
- package/dist/chunk-5FTNAZRW.js.map +1 -0
- package/dist/chunk-5IG2S7ZY.js +70 -0
- package/dist/chunk-5IG2S7ZY.js.map +1 -0
- package/dist/chunk-5QCXHNCW.js +404 -0
- package/dist/chunk-5QCXHNCW.js.map +1 -0
- package/dist/chunk-6DUMGC7Y.js +105 -0
- package/dist/chunk-6DUMGC7Y.js.map +1 -0
- package/dist/chunk-6J25CVST.js +174 -0
- package/dist/chunk-6J25CVST.js.map +1 -0
- package/dist/chunk-6NN35XOP.js +120 -0
- package/dist/chunk-6NN35XOP.js.map +1 -0
- package/dist/chunk-6NZBVA4T.js +24 -0
- package/dist/chunk-6NZBVA4T.js.map +1 -0
- package/dist/chunk-6W5BHRCL.js +295 -0
- package/dist/chunk-6W5BHRCL.js.map +1 -0
- package/dist/chunk-72BKRCEG.js +409 -0
- package/dist/chunk-72BKRCEG.js.map +1 -0
- package/dist/chunk-7GTI3PPI.js +95 -0
- package/dist/chunk-7GTI3PPI.js.map +1 -0
- package/dist/chunk-7P6PLZ4B.js +74 -0
- package/dist/chunk-7P6PLZ4B.js.map +1 -0
- package/dist/chunk-7WZWY5IA.js +46 -0
- package/dist/chunk-7WZWY5IA.js.map +1 -0
- package/dist/chunk-AIYO2632.js +489 -0
- package/dist/chunk-AIYO2632.js.map +1 -0
- package/dist/chunk-ANFZWPNE.js +112 -0
- package/dist/chunk-ANFZWPNE.js.map +1 -0
- package/dist/chunk-ANZTVAJU.js +73 -0
- package/dist/chunk-ANZTVAJU.js.map +1 -0
- package/dist/chunk-BD5BTJKX.js +166 -0
- package/dist/chunk-BD5BTJKX.js.map +1 -0
- package/dist/chunk-BHGIDSRJ.js +140 -0
- package/dist/chunk-BHGIDSRJ.js.map +1 -0
- package/dist/chunk-BSQWZITZ.js +507 -0
- package/dist/chunk-BSQWZITZ.js.map +1 -0
- package/dist/chunk-D3LAIK62.js +23 -0
- package/dist/chunk-D3LAIK62.js.map +1 -0
- package/dist/chunk-DODCR43C.js +155 -0
- package/dist/chunk-DODCR43C.js.map +1 -0
- package/dist/chunk-EEK5NGZF.js +40 -0
- package/dist/chunk-EEK5NGZF.js.map +1 -0
- package/dist/chunk-ENRG7TXA.js +11 -0
- package/dist/chunk-ENRG7TXA.js.map +1 -0
- package/dist/chunk-EQRMGIGY.js +239 -0
- package/dist/chunk-EQRMGIGY.js.map +1 -0
- package/dist/chunk-ERAHK5YQ.js +495 -0
- package/dist/chunk-ERAHK5YQ.js.map +1 -0
- package/dist/chunk-F3FOFY2P.js +124 -0
- package/dist/chunk-F3FOFY2P.js.map +1 -0
- package/dist/chunk-F6BTWFOC.js +507 -0
- package/dist/chunk-F6BTWFOC.js.map +1 -0
- package/dist/chunk-F6J6NNAL.js +34 -0
- package/dist/chunk-F6J6NNAL.js.map +1 -0
- package/dist/chunk-FCHJ7D5O.js +59 -0
- package/dist/chunk-FCHJ7D5O.js.map +1 -0
- package/dist/chunk-FFJTEQCC.js +80 -0
- package/dist/chunk-FFJTEQCC.js.map +1 -0
- package/dist/chunk-FUFMVW7O.js +64 -0
- package/dist/chunk-FUFMVW7O.js.map +1 -0
- package/dist/chunk-FVPGQ6UE.js +25 -0
- package/dist/chunk-FVPGQ6UE.js.map +1 -0
- package/dist/chunk-G3PMV62Z.js +33 -0
- package/dist/chunk-G3PMV62Z.js.map +1 -0
- package/dist/chunk-GACFOW3E.js +51 -0
- package/dist/chunk-GACFOW3E.js.map +1 -0
- package/dist/chunk-GDT6HQMK.js +42 -0
- package/dist/chunk-GDT6HQMK.js.map +1 -0
- package/dist/chunk-HLGU22C6.js +2589 -0
- package/dist/chunk-HLGU22C6.js.map +1 -0
- package/dist/chunk-HPMYYGP7.js +134 -0
- package/dist/chunk-HPMYYGP7.js.map +1 -0
- package/dist/chunk-I2UCOD45.js +197 -0
- package/dist/chunk-I2UCOD45.js.map +1 -0
- package/dist/chunk-IEGDZUVM.js +75 -0
- package/dist/chunk-IEGDZUVM.js.map +1 -0
- package/dist/chunk-IIS7INHF.js +47 -0
- package/dist/chunk-IIS7INHF.js.map +1 -0
- package/dist/chunk-ITELSEFU.js +256 -0
- package/dist/chunk-ITELSEFU.js.map +1 -0
- package/dist/chunk-IXAYNBOY.js +407 -0
- package/dist/chunk-IXAYNBOY.js.map +1 -0
- package/dist/chunk-JUW2ETEI.js +191 -0
- package/dist/chunk-JUW2ETEI.js.map +1 -0
- package/dist/chunk-K65C7CVE.js +127 -0
- package/dist/chunk-K65C7CVE.js.map +1 -0
- package/dist/chunk-KDI64MCY.js +189 -0
- package/dist/chunk-KDI64MCY.js.map +1 -0
- package/dist/chunk-KN4ASMH5.js +160 -0
- package/dist/chunk-KN4ASMH5.js.map +1 -0
- package/dist/chunk-KQW7QNTU.js +1549 -0
- package/dist/chunk-KQW7QNTU.js.map +1 -0
- package/dist/chunk-KR7NXXHC.js +66 -0
- package/dist/chunk-KR7NXXHC.js.map +1 -0
- package/dist/chunk-KRZKIVMA.js +142 -0
- package/dist/chunk-KRZKIVMA.js.map +1 -0
- package/dist/chunk-KTTLLKGQ.js +185 -0
- package/dist/chunk-KTTLLKGQ.js.map +1 -0
- package/dist/chunk-KWKSHPDP.js +234 -0
- package/dist/chunk-KWKSHPDP.js.map +1 -0
- package/dist/chunk-KZVC7OYG.js +57 -0
- package/dist/chunk-KZVC7OYG.js.map +1 -0
- package/dist/chunk-L5DHUN2V.js +204 -0
- package/dist/chunk-L5DHUN2V.js.map +1 -0
- package/dist/chunk-LCTGEH57.js +1376 -0
- package/dist/chunk-LCTGEH57.js.map +1 -0
- package/dist/chunk-LXLIQ2D6.js +12 -0
- package/dist/chunk-LXLIQ2D6.js.map +1 -0
- package/dist/chunk-M4CTURKX.js +84 -0
- package/dist/chunk-M4CTURKX.js.map +1 -0
- package/dist/chunk-M6LTUPVP.js +301 -0
- package/dist/chunk-M6LTUPVP.js.map +1 -0
- package/dist/chunk-MA6RRHDT.js +291 -0
- package/dist/chunk-MA6RRHDT.js.map +1 -0
- package/dist/chunk-MODE4QIA.js +6 -0
- package/dist/chunk-MODE4QIA.js.map +1 -0
- package/dist/chunk-MVILMVGG.js +118 -0
- package/dist/chunk-MVILMVGG.js.map +1 -0
- package/dist/chunk-MWS4VCLV.js +17 -0
- package/dist/chunk-MWS4VCLV.js.map +1 -0
- package/dist/chunk-NEUX74SO.js +315 -0
- package/dist/chunk-NEUX74SO.js.map +1 -0
- package/dist/chunk-NFHKYBRD.js +156 -0
- package/dist/chunk-NFHKYBRD.js.map +1 -0
- package/dist/chunk-NHJNNXD3.js +89 -0
- package/dist/chunk-NHJNNXD3.js.map +1 -0
- package/dist/chunk-O2BF3HZL.js +33 -0
- package/dist/chunk-O2BF3HZL.js.map +1 -0
- package/dist/chunk-OANXCZYD.js +212 -0
- package/dist/chunk-OANXCZYD.js.map +1 -0
- package/dist/chunk-ODJF7YIP.js +230 -0
- package/dist/chunk-ODJF7YIP.js.map +1 -0
- package/dist/chunk-ON4BJTHI.js +101 -0
- package/dist/chunk-ON4BJTHI.js.map +1 -0
- package/dist/chunk-OTL5WXIJ.js +16 -0
- package/dist/chunk-OTL5WXIJ.js.map +1 -0
- package/dist/chunk-PACNBKJV.js +47 -0
- package/dist/chunk-PACNBKJV.js.map +1 -0
- package/dist/chunk-PROCA7K7.js +23 -0
- package/dist/chunk-PROCA7K7.js.map +1 -0
- package/dist/chunk-QGMIPA67.js +85 -0
- package/dist/chunk-QGMIPA67.js.map +1 -0
- package/dist/chunk-QQA37LFB.js +190 -0
- package/dist/chunk-QQA37LFB.js.map +1 -0
- package/dist/chunk-QZAWRSEB.js +61 -0
- package/dist/chunk-QZAWRSEB.js.map +1 -0
- package/dist/chunk-R74KGWNS.js +699 -0
- package/dist/chunk-R74KGWNS.js.map +1 -0
- package/dist/chunk-RFDLHMKL.js +110 -0
- package/dist/chunk-RFDLHMKL.js.map +1 -0
- package/dist/chunk-RL64HN7S.js +40 -0
- package/dist/chunk-RL64HN7S.js.map +1 -0
- package/dist/chunk-RMRQKPL7.js +115 -0
- package/dist/chunk-RMRQKPL7.js.map +1 -0
- package/dist/chunk-RQVK4IYC.js +606 -0
- package/dist/chunk-RQVK4IYC.js.map +1 -0
- package/dist/chunk-RTW56PWZ.js +59 -0
- package/dist/chunk-RTW56PWZ.js.map +1 -0
- package/dist/chunk-RUTPQNLR.js +266 -0
- package/dist/chunk-RUTPQNLR.js.map +1 -0
- package/dist/chunk-S6TAF63G.js +25 -0
- package/dist/chunk-S6TAF63G.js.map +1 -0
- package/dist/chunk-SBGAUGXY.js +224 -0
- package/dist/chunk-SBGAUGXY.js.map +1 -0
- package/dist/chunk-SC275NHZ.js +407 -0
- package/dist/chunk-SC275NHZ.js.map +1 -0
- package/dist/chunk-SCQPU4UE.js +97 -0
- package/dist/chunk-SCQPU4UE.js.map +1 -0
- package/dist/chunk-SFFF2WQP.js +8 -0
- package/dist/chunk-SFFF2WQP.js.map +1 -0
- package/dist/chunk-SJYMHZKA.js +36 -0
- package/dist/chunk-SJYMHZKA.js.map +1 -0
- package/dist/chunk-SLCCUJVN.js +125 -0
- package/dist/chunk-SLCCUJVN.js.map +1 -0
- package/dist/chunk-SVBSNSD4.js +259 -0
- package/dist/chunk-SVBSNSD4.js.map +1 -0
- package/dist/chunk-SVPLTL35.js +62 -0
- package/dist/chunk-SVPLTL35.js.map +1 -0
- package/dist/chunk-SWQFYNYG.js +338 -0
- package/dist/chunk-SWQFYNYG.js.map +1 -0
- package/dist/chunk-THHB4EWS.js +72 -0
- package/dist/chunk-THHB4EWS.js.map +1 -0
- package/dist/chunk-TUCDD33E.js +246 -0
- package/dist/chunk-TUCDD33E.js.map +1 -0
- package/dist/chunk-TV4WAP2R.js +14 -0
- package/dist/chunk-TV4WAP2R.js.map +1 -0
- package/dist/chunk-U3A6YBTZ.js +134 -0
- package/dist/chunk-U3A6YBTZ.js.map +1 -0
- package/dist/chunk-UGT6DKWM.js +95 -0
- package/dist/chunk-UGT6DKWM.js.map +1 -0
- package/dist/chunk-VSERHUWD.js +212 -0
- package/dist/chunk-VSERHUWD.js.map +1 -0
- package/dist/chunk-VYG7BDXC.js +49 -0
- package/dist/chunk-VYG7BDXC.js.map +1 -0
- package/dist/chunk-WETKNYZX.js +52 -0
- package/dist/chunk-WETKNYZX.js.map +1 -0
- package/dist/chunk-WGG4AML3.js +216 -0
- package/dist/chunk-WGG4AML3.js.map +1 -0
- package/dist/chunk-WKAUEL6I.js +30 -0
- package/dist/chunk-WKAUEL6I.js.map +1 -0
- package/dist/chunk-WPOLA5CG.js +81 -0
- package/dist/chunk-WPOLA5CG.js.map +1 -0
- package/dist/chunk-WPVETCGJ.js +254 -0
- package/dist/chunk-WPVETCGJ.js.map +1 -0
- package/dist/chunk-WTSM3A7E.js +13 -0
- package/dist/chunk-WTSM3A7E.js.map +1 -0
- package/dist/chunk-WU3F2K3T.js +148 -0
- package/dist/chunk-WU3F2K3T.js.map +1 -0
- package/dist/chunk-WZZK2DTZ.js +39 -0
- package/dist/chunk-WZZK2DTZ.js.map +1 -0
- package/dist/chunk-X4IHLKRD.js +42 -0
- package/dist/chunk-X4IHLKRD.js.map +1 -0
- package/dist/chunk-XAHEXZJC.js +80 -0
- package/dist/chunk-XAHEXZJC.js.map +1 -0
- package/dist/chunk-XCYGJDUX.js +31 -0
- package/dist/chunk-XCYGJDUX.js.map +1 -0
- package/dist/chunk-Y4W3JORC.js +104 -0
- package/dist/chunk-Y4W3JORC.js.map +1 -0
- package/dist/chunk-YFZJ3ZLG.js +1297 -0
- package/dist/chunk-YFZJ3ZLG.js.map +1 -0
- package/dist/chunk-YI3WLXEN.js +4387 -0
- package/dist/chunk-YI3WLXEN.js.map +1 -0
- package/dist/chunk-ZBKFSPD3.js +29 -0
- package/dist/chunk-ZBKFSPD3.js.map +1 -0
- package/dist/chunk-ZOERRQ6A.js +79 -0
- package/dist/chunk-ZOERRQ6A.js.map +1 -0
- package/dist/chunk-ZSTGUKHU.js +10 -0
- package/dist/chunk-ZSTGUKHU.js.map +1 -0
- package/dist/chunk-ZUEHDL27.js +65 -0
- package/dist/chunk-ZUEHDL27.js.map +1 -0
- package/dist/editors.d.ts +27 -3
- package/dist/editors.js +93 -2081
- package/dist/editors.js.map +1 -1
- package/dist/icons.d.ts +29 -8
- package/dist/icons.js +7 -361
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +715 -441
- package/dist/index.js +121 -24643
- package/dist/index.js.map +1 -1
- package/dist/internal/blocks/AIKit.js +30 -0
- package/dist/internal/blocks/AIKit.js.map +1 -0
- package/dist/internal/blocks/AppShell.js +11 -0
- package/dist/internal/blocks/AppShell.js.map +1 -0
- package/dist/internal/blocks/AutoSaveTextarea.js +14 -0
- package/dist/internal/blocks/AutoSaveTextarea.js.map +1 -0
- package/dist/internal/blocks/BrandEditor.js +23 -0
- package/dist/internal/blocks/BrandEditor.js.map +1 -0
- package/dist/internal/blocks/ChartPanel.js +10 -0
- package/dist/internal/blocks/ChartPanel.js.map +1 -0
- package/dist/internal/blocks/ClipboardButton.js +12 -0
- package/dist/internal/blocks/ClipboardButton.js.map +1 -0
- package/dist/internal/blocks/ColorInput.js +13 -0
- package/dist/internal/blocks/ColorInput.js.map +1 -0
- package/dist/internal/blocks/ColorModeSwitch.js +13 -0
- package/dist/internal/blocks/ColorModeSwitch.js.map +1 -0
- package/dist/internal/blocks/Command.js +15 -0
- package/dist/internal/blocks/Command.js.map +1 -0
- package/dist/internal/blocks/CopyField.js +11 -0
- package/dist/internal/blocks/CopyField.js.map +1 -0
- package/dist/internal/blocks/DashboardHero.js +9 -0
- package/dist/internal/blocks/DashboardHero.js.map +1 -0
- package/dist/internal/blocks/DateInput.js +16 -0
- package/dist/internal/blocks/DateInput.js.map +1 -0
- package/dist/internal/blocks/DateRangeInput.js +16 -0
- package/dist/internal/blocks/DateRangeInput.js.map +1 -0
- package/dist/internal/blocks/EmptyConfigurationActionCard.js +10 -0
- package/dist/internal/blocks/EmptyConfigurationActionCard.js.map +1 -0
- package/dist/internal/blocks/EmptyState.js +4 -0
- package/dist/internal/blocks/EmptyState.js.map +1 -0
- package/dist/internal/blocks/ErrorState.js +5 -0
- package/dist/internal/blocks/ErrorState.js.map +1 -0
- package/dist/internal/blocks/ExportMenu.js +13 -0
- package/dist/internal/blocks/ExportMenu.js.map +1 -0
- package/dist/internal/blocks/Form.js +29 -0
- package/dist/internal/blocks/Form.js.map +1 -0
- package/dist/internal/blocks/FormGroup.js +18 -0
- package/dist/internal/blocks/FormGroup.js.map +1 -0
- package/dist/internal/blocks/GoogleButton.js +10 -0
- package/dist/internal/blocks/GoogleButton.js.map +1 -0
- package/dist/internal/blocks/MicrosoftButton.js +10 -0
- package/dist/internal/blocks/MicrosoftButton.js.map +1 -0
- package/dist/internal/blocks/MultiActionButtonGroup.js +12 -0
- package/dist/internal/blocks/MultiActionButtonGroup.js.map +1 -0
- package/dist/internal/blocks/MultiCombobox.js +14 -0
- package/dist/internal/blocks/MultiCombobox.js.map +1 -0
- package/dist/internal/blocks/NumberInput.js +12 -0
- package/dist/internal/blocks/NumberInput.js.map +1 -0
- package/dist/internal/blocks/OtpInput.js +10 -0
- package/dist/internal/blocks/OtpInput.js.map +1 -0
- package/dist/internal/blocks/PageHeader.js +9 -0
- package/dist/internal/blocks/PageHeader.js.map +1 -0
- package/dist/internal/blocks/PageLayout.js +9 -0
- package/dist/internal/blocks/PageLayout.js.map +1 -0
- package/dist/internal/blocks/PageToolbar.js +13 -0
- package/dist/internal/blocks/PageToolbar.js.map +1 -0
- package/dist/internal/blocks/PasswordInput.js +13 -0
- package/dist/internal/blocks/PasswordInput.js.map +1 -0
- package/dist/internal/blocks/SearchInput.js +12 -0
- package/dist/internal/blocks/SearchInput.js.map +1 -0
- package/dist/internal/blocks/SearchInputWithNavigation.js +16 -0
- package/dist/internal/blocks/SearchInputWithNavigation.js.map +1 -0
- package/dist/internal/blocks/SectionNav.js +15 -0
- package/dist/internal/blocks/SectionNav.js.map +1 -0
- package/dist/internal/blocks/SplitButton.js +14 -0
- package/dist/internal/blocks/SplitButton.js.map +1 -0
- package/dist/internal/blocks/StatCard.js +10 -0
- package/dist/internal/blocks/StatCard.js.map +1 -0
- package/dist/internal/blocks/TextInput.js +13 -0
- package/dist/internal/blocks/TextInput.js.map +1 -0
- package/dist/internal/blocks/Textarea.js +13 -0
- package/dist/internal/blocks/Textarea.js.map +1 -0
- package/dist/internal/blocks/TimeInput.js +17 -0
- package/dist/internal/blocks/TimeInput.js.map +1 -0
- package/dist/internal/components/Alert.js +11 -0
- package/dist/internal/components/Alert.js.map +1 -0
- package/dist/internal/components/AlertModal.js +11 -0
- package/dist/internal/components/AlertModal.js.map +1 -0
- package/dist/internal/components/Avatar.js +9 -0
- package/dist/internal/components/Avatar.js.map +1 -0
- package/dist/internal/components/Badge.js +9 -0
- package/dist/internal/components/Badge.js.map +1 -0
- package/dist/internal/components/BrandLogo.js +11 -0
- package/dist/internal/components/BrandLogo.js.map +1 -0
- package/dist/internal/components/Breadcrumb.js +14 -0
- package/dist/internal/components/Breadcrumb.js.map +1 -0
- package/dist/internal/components/Button.js +10 -0
- package/dist/internal/components/Button.js.map +1 -0
- package/dist/internal/components/ButtonGroup.js +9 -0
- package/dist/internal/components/ButtonGroup.js.map +1 -0
- package/dist/internal/components/Calendar.js +9 -0
- package/dist/internal/components/Calendar.js.map +1 -0
- package/dist/internal/components/Card.js +9 -0
- package/dist/internal/components/Card.js.map +1 -0
- package/dist/internal/components/Checkbox.js +11 -0
- package/dist/internal/components/Checkbox.js.map +1 -0
- package/dist/internal/components/Clipboard.js +9 -0
- package/dist/internal/components/Clipboard.js.map +1 -0
- package/dist/internal/components/Collapsible.js +9 -0
- package/dist/internal/components/Collapsible.js.map +1 -0
- package/dist/internal/components/CollapsiblePanel.js +11 -0
- package/dist/internal/components/CollapsiblePanel.js.map +1 -0
- package/dist/internal/components/Combobox.js +13 -0
- package/dist/internal/components/Combobox.js.map +1 -0
- package/dist/internal/components/DatePicker.js +11 -0
- package/dist/internal/components/DatePicker.js.map +1 -0
- package/dist/internal/components/DateRangePicker.js +17 -0
- package/dist/internal/components/DateRangePicker.js.map +1 -0
- package/dist/internal/components/DiffView.js +9 -0
- package/dist/internal/components/DiffView.js.map +1 -0
- package/dist/internal/components/DotsLoader.js +5 -0
- package/dist/internal/components/DotsLoader.js.map +1 -0
- package/dist/internal/components/DropdownMenu.js +11 -0
- package/dist/internal/components/DropdownMenu.js.map +1 -0
- package/dist/internal/components/EmptySearchContent.js +4 -0
- package/dist/internal/components/EmptySearchContent.js.map +1 -0
- package/dist/internal/components/FileUpload.js +11 -0
- package/dist/internal/components/FileUpload.js.map +1 -0
- package/dist/internal/components/FullScreenModal.js +12 -0
- package/dist/internal/components/FullScreenModal.js.map +1 -0
- package/dist/internal/components/HelpBlock.js +4 -0
- package/dist/internal/components/HelpBlock.js.map +1 -0
- package/dist/internal/components/HoverCard.js +9 -0
- package/dist/internal/components/HoverCard.js.map +1 -0
- package/dist/internal/components/InputGroup.js +11 -0
- package/dist/internal/components/InputGroup.js.map +1 -0
- package/dist/internal/components/Kbd.js +9 -0
- package/dist/internal/components/Kbd.js.map +1 -0
- package/dist/internal/components/Label.js +9 -0
- package/dist/internal/components/Label.js.map +1 -0
- package/dist/internal/components/Link.js +9 -0
- package/dist/internal/components/Link.js.map +1 -0
- package/dist/internal/components/MarkedText.js +5 -0
- package/dist/internal/components/MarkedText.js.map +1 -0
- package/dist/internal/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.js +10 -0
- package/dist/internal/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.js.map +1 -0
- package/dist/internal/components/MergeEditor/PaneHeader.js +4 -0
- package/dist/internal/components/MergeEditor/PaneHeader.js.map +1 -0
- package/dist/internal/components/MergeEditor/constants.js +4 -0
- package/dist/internal/components/MergeEditor/constants.js.map +1 -0
- package/dist/internal/components/MergeEditor/useMergeDiff.js +5 -0
- package/dist/internal/components/MergeEditor/useMergeDiff.js.map +1 -0
- package/dist/internal/components/Modal.js +13 -0
- package/dist/internal/components/Modal.js.map +1 -0
- package/dist/internal/components/Navbar.js +14 -0
- package/dist/internal/components/Navbar.js.map +1 -0
- package/dist/internal/components/Pagination.js +11 -0
- package/dist/internal/components/Pagination.js.map +1 -0
- package/dist/internal/components/PanelWithDetails.js +11 -0
- package/dist/internal/components/PanelWithDetails.js.map +1 -0
- package/dist/internal/components/Popconfirm.js +12 -0
- package/dist/internal/components/Popconfirm.js.map +1 -0
- package/dist/internal/components/Popover.js +9 -0
- package/dist/internal/components/Popover.js.map +1 -0
- package/dist/internal/components/Progress.js +9 -0
- package/dist/internal/components/Progress.js.map +1 -0
- package/dist/internal/components/RadioGroup.js +12 -0
- package/dist/internal/components/RadioGroup.js.map +1 -0
- package/dist/internal/components/Resizable.js +9 -0
- package/dist/internal/components/Resizable.js.map +1 -0
- package/dist/internal/components/ScrollArea.js +9 -0
- package/dist/internal/components/ScrollArea.js.map +1 -0
- package/dist/internal/components/Search.js +10 -0
- package/dist/internal/components/Search.js.map +1 -0
- package/dist/internal/components/Select.js +12 -0
- package/dist/internal/components/Select.js.map +1 -0
- package/dist/internal/components/Separator.js +9 -0
- package/dist/internal/components/Separator.js.map +1 -0
- package/dist/internal/components/Sheet.js +12 -0
- package/dist/internal/components/Sheet.js.map +1 -0
- package/dist/internal/components/Sidebar.js +20 -0
- package/dist/internal/components/Sidebar.js.map +1 -0
- package/dist/internal/components/Skeleton/Skeleton.js +9 -0
- package/dist/internal/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/internal/components/Skeleton/SkeletonList.js +10 -0
- package/dist/internal/components/Skeleton/SkeletonList.js.map +1 -0
- package/dist/internal/components/Slider.js +11 -0
- package/dist/internal/components/Slider.js.map +1 -0
- package/dist/internal/components/SpotlightBackdrop.js +9 -0
- package/dist/internal/components/SpotlightBackdrop.js.map +1 -0
- package/dist/internal/components/Stepper.js +10 -0
- package/dist/internal/components/Stepper.js.map +1 -0
- package/dist/internal/components/Switch.js +10 -0
- package/dist/internal/components/Switch.js.map +1 -0
- package/dist/internal/components/Table.js +10 -0
- package/dist/internal/components/Table.js.map +1 -0
- package/dist/internal/components/Tabs.js +12 -0
- package/dist/internal/components/Tabs.js.map +1 -0
- package/dist/internal/components/ThemeProvider.js +10 -0
- package/dist/internal/components/ThemeProvider.js.map +1 -0
- package/dist/internal/components/TimePicker.js +12 -0
- package/dist/internal/components/TimePicker.js.map +1 -0
- package/dist/internal/components/Timeline.js +10 -0
- package/dist/internal/components/Timeline.js.map +1 -0
- package/dist/internal/components/Toast.js +11 -0
- package/dist/internal/components/Toast.js.map +1 -0
- package/dist/internal/components/Toggle.js +9 -0
- package/dist/internal/components/Toggle.js.map +1 -0
- package/dist/internal/components/ToggleGroup.js +9 -0
- package/dist/internal/components/ToggleGroup.js.map +1 -0
- package/dist/internal/components/Tooltip.js +8 -0
- package/dist/internal/components/Tooltip.js.map +1 -0
- package/dist/internal/components/Truncated.js +9 -0
- package/dist/internal/components/Truncated.js.map +1 -0
- package/dist/internal/components/Workbench.js +11 -0
- package/dist/internal/components/Workbench.js.map +1 -0
- package/dist/internal/components/ZoomableSvg.js +13 -0
- package/dist/internal/components/ZoomableSvg.js.map +1 -0
- package/dist/internal/hooks/useAutosizeInput.js +4 -0
- package/dist/internal/hooks/useAutosizeInput.js.map +1 -0
- package/dist/internal/hooks/useScrollbarPosition.js +5 -0
- package/dist/internal/hooks/useScrollbarPosition.js.map +1 -0
- package/dist/internal/hooks/useStableCallback.js +4 -0
- package/dist/internal/hooks/useStableCallback.js.map +1 -0
- package/dist/internal/utils/mergeRefs.js +4 -0
- package/dist/internal/utils/mergeRefs.js.map +1 -0
- package/dist/internal/utils.js +8 -0
- package/dist/internal/utils.js.map +1 -0
- package/dist/markdown-editor.js +55 -3426
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.js +16 -1129
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.js +252 -9380
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing.js +10 -357
- package/dist/testing.js.map +1 -1
- package/package.json +31 -75
- package/src/styles.css +95 -10
- package/src/theme.css +65 -0
- package/dist/charts.cjs +0 -268
- package/dist/charts.cjs.map +0 -1
- package/dist/charts.d.cts +0 -181
- package/dist/constants-D3gaMY-W.d.cts +0 -39
- package/dist/editors.cjs +0 -2440
- package/dist/editors.cjs.map +0 -1
- package/dist/editors.d.cts +0 -165
- package/dist/icons.cjs +0 -23888
- package/dist/icons.cjs.map +0 -1
- package/dist/icons.d.cts +0 -20
- package/dist/index.cjs +0 -24894
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -10438
- package/dist/markdown-editor.cjs +0 -4636
- package/dist/markdown-editor.cjs.map +0 -1
- package/dist/markdown-editor.d.cts +0 -75
- package/dist/mermaid.cjs +0 -1138
- package/dist/mermaid.cjs.map +0 -1
- package/dist/mermaid.d.cts +0 -15
- package/dist/rjsf.cjs +0 -10893
- package/dist/rjsf.cjs.map +0 -1
- package/dist/rjsf.d.cts +0 -55
- package/dist/testing.cjs +0 -373
- package/dist/testing.cjs.map +0 -1
- package/dist/testing.d.cts +0 -25
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, CSSProperties, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
3
|
+
import { ComponentProps, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, Ref, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, CSSProperties, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, ComponentRef, TransitionEventHandler, Dispatch, SetStateAction, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -40,11 +40,12 @@ import { Brand } from '@keboola/brand-registry';
|
|
|
40
40
|
export { Brand, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from '@keboola/brand-registry';
|
|
41
41
|
import { OTPInput } from 'input-otp';
|
|
42
42
|
export { SlotProps as OtpInputRenderSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from 'input-otp';
|
|
43
|
-
import {
|
|
43
|
+
import { DropzoneState } from 'react-dropzone';
|
|
44
44
|
import * as _radix_ui_react_collapsible from '@radix-ui/react-collapsible';
|
|
45
45
|
import { Root as Root$9 } from '@radix-ui/react-collapsible';
|
|
46
46
|
import { Action, ExternalToast, Toaster as Toaster$1 } from 'sonner';
|
|
47
47
|
import { Root as Root$a } from '@radix-ui/react-progress';
|
|
48
|
+
import { LucideIcon } from 'lucide-react';
|
|
48
49
|
import { Separator as Separator$1, Group as Group$1 } from 'react-resizable-panels';
|
|
49
50
|
export { PanelImperativeHandle, Panel as ResizablePanel, useDefaultLayout } from 'react-resizable-panels';
|
|
50
51
|
import * as RSeparator from '@radix-ui/react-separator';
|
|
@@ -56,15 +57,15 @@ import { AnyFormApi } from '@tanstack/react-form';
|
|
|
56
57
|
import { ClassValue } from 'clsx';
|
|
57
58
|
export { Slot } from '@radix-ui/react-slot';
|
|
58
59
|
|
|
59
|
-
declare const variants$
|
|
60
|
+
declare const variants$3: (props?: ({
|
|
60
61
|
block?: boolean | null | undefined;
|
|
61
62
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
|
-
size?: "
|
|
63
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
63
64
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
64
65
|
declare const argoVariants: (props?: ({
|
|
65
66
|
block?: boolean | null | undefined;
|
|
66
67
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
67
|
-
size?: "
|
|
68
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
68
69
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69
70
|
|
|
70
71
|
/**
|
|
@@ -74,12 +75,12 @@ declare const argoVariants: (props?: ({
|
|
|
74
75
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
76
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
76
77
|
*/
|
|
77
|
-
type Props$
|
|
78
|
+
type Props$1U = {
|
|
78
79
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
80
|
isLoading?: boolean;
|
|
80
81
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
81
82
|
asChild?: boolean;
|
|
82
|
-
} & ComponentProps<'button'> & VariantProps<typeof variants$
|
|
83
|
+
} & ComponentProps<'button'> & VariantProps<typeof variants$3>;
|
|
83
84
|
/**
|
|
84
85
|
* Primary action surface for the design system — covers all clickable controls except inline text links.
|
|
85
86
|
*
|
|
@@ -93,31 +94,31 @@ type Props$1S = {
|
|
|
93
94
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
95
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
96
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
97
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1U) => react_jsx_runtime.JSX.Element;
|
|
97
98
|
|
|
98
99
|
declare const buttonInlineVariants: (props?: ({
|
|
99
|
-
color?: "
|
|
100
|
+
color?: "link" | "dark" | "muted" | "danger" | "custom" | null | undefined;
|
|
100
101
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
101
102
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
|
-
type Props$
|
|
103
|
+
type Props$1T = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
103
104
|
asChild?: boolean;
|
|
104
105
|
};
|
|
105
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
106
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1T) => react_jsx_runtime.JSX.Element;
|
|
106
107
|
|
|
107
108
|
declare const buttonGroupVariant: (props?: ({
|
|
108
109
|
variant?: "inline" | "block" | null | undefined;
|
|
109
|
-
space?: "
|
|
110
|
+
space?: "small" | "medium" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
110
111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
111
|
-
type Props$
|
|
112
|
+
type Props$1S = {
|
|
112
113
|
children: ReactNode;
|
|
113
114
|
className?: string;
|
|
114
115
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
115
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
116
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1S) => react_jsx_runtime.JSX.Element;
|
|
116
117
|
|
|
117
118
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
118
119
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
119
120
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
120
|
-
type Props$
|
|
121
|
+
type Props$1R = {
|
|
121
122
|
actions?: ReactNode;
|
|
122
123
|
isActionsOpen?: boolean;
|
|
123
124
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -126,7 +127,7 @@ type Props$1P = {
|
|
|
126
127
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
127
128
|
size?: SpitButtonSize;
|
|
128
129
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
129
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
130
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1R) => react_jsx_runtime.JSX.Element) & {
|
|
130
131
|
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: _radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
131
132
|
asModalTrigger?: boolean;
|
|
132
133
|
icon?: ReactNode;
|
|
@@ -136,11 +137,11 @@ declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsO
|
|
|
136
137
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
137
138
|
};
|
|
138
139
|
|
|
139
|
-
type Props$
|
|
140
|
+
type Props$1Q = {
|
|
140
141
|
className?: string;
|
|
141
142
|
} & PropsWithChildren;
|
|
142
143
|
declare const MultiActionButtonGroup: {
|
|
143
|
-
({ children, className }: Props$
|
|
144
|
+
({ children, className }: Props$1Q): react_jsx_runtime.JSX.Element;
|
|
144
145
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
145
146
|
disabled?: boolean;
|
|
146
147
|
icon: react.ReactNode;
|
|
@@ -155,19 +156,19 @@ declare const MultiActionButtonGroup: {
|
|
|
155
156
|
|
|
156
157
|
declare const toggleVariants: (props?: ({
|
|
157
158
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
158
|
-
size?: "
|
|
159
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
159
160
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
160
161
|
iconOnly?: boolean | null | undefined;
|
|
161
162
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
162
|
-
type Props$
|
|
163
|
+
type Props$1P = {
|
|
163
164
|
icon?: ReactNode;
|
|
164
165
|
badge?: ReactNode;
|
|
165
166
|
orientation?: 'horizontal' | 'vertical';
|
|
166
167
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
167
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
168
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$1P) => react_jsx_runtime.JSX.Element;
|
|
168
169
|
|
|
169
170
|
declare const rootVariants: (props?: ({
|
|
170
|
-
size?: "
|
|
171
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
171
172
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
173
|
type RootProps$8 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
173
174
|
type ItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
@@ -179,11 +180,11 @@ declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8) =>
|
|
|
179
180
|
declare const tooltipVariants: (props?: ({
|
|
180
181
|
variant?: "action" | "explanatory" | null | undefined;
|
|
181
182
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
182
|
-
type Props$
|
|
183
|
+
type Props$1O = {
|
|
183
184
|
keepOpenOnPointerDownOutside?: boolean;
|
|
184
185
|
placement?: ComponentProps<typeof Content>['side'];
|
|
185
186
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
186
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
187
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element;
|
|
187
188
|
|
|
188
189
|
type TriggerProps$1 = {
|
|
189
190
|
triggerAsChild?: boolean;
|
|
@@ -192,7 +193,7 @@ type TriggerProps$1 = {
|
|
|
192
193
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
193
194
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
194
195
|
*/
|
|
195
|
-
type Props$
|
|
196
|
+
type Props$1N = {
|
|
196
197
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
197
198
|
keepOpenOnTriggerClick?: boolean;
|
|
198
199
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -224,7 +225,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
224
225
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
225
226
|
*/
|
|
226
227
|
declare const Tooltip: {
|
|
227
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$
|
|
228
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, }: Props$1N): react_jsx_runtime.JSX.Element;
|
|
228
229
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
229
230
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
230
231
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -237,35 +238,35 @@ declare const Tooltip: {
|
|
|
237
238
|
} & _radix_ui_react_tooltip.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
238
239
|
};
|
|
239
240
|
|
|
240
|
-
type Props$
|
|
241
|
-
tooltip?: Props$
|
|
242
|
-
tooltipPlacement?: Props$
|
|
243
|
-
tooltipVariant?: Props$
|
|
244
|
-
asChild?: Props$
|
|
241
|
+
type Props$1M = {
|
|
242
|
+
tooltip?: Props$1N['tooltip'];
|
|
243
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
244
|
+
tooltipVariant?: Props$1N['variant'];
|
|
245
|
+
asChild?: Props$1N['triggerAsChild'];
|
|
245
246
|
text?: string | (() => string);
|
|
246
247
|
} & ComponentProps<'button'>;
|
|
247
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
248
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1M) => react_jsx_runtime.JSX.Element;
|
|
248
249
|
|
|
249
250
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
250
251
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
251
|
-
type Props$
|
|
252
|
+
type Props$1L = ClipboardProps$1 & ButtonProps$2 & {
|
|
252
253
|
icon?: ReactNode;
|
|
253
254
|
};
|
|
254
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
255
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
255
256
|
|
|
256
257
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
257
258
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
258
|
-
type Props$
|
|
259
|
+
type Props$1K = {
|
|
259
260
|
hideIcon?: boolean;
|
|
260
261
|
} & ClipboardProps & ButtonProps$1;
|
|
261
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
262
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1K) => react_jsx_runtime.JSX.Element;
|
|
262
263
|
|
|
263
264
|
type ExportMenuItem = {
|
|
264
265
|
/** Menu label, e.g. "Download as CSV". */
|
|
265
266
|
label: string;
|
|
266
267
|
onSelect: () => void;
|
|
267
268
|
};
|
|
268
|
-
type Props$
|
|
269
|
+
type Props$1J = {
|
|
269
270
|
items: ExportMenuItem[];
|
|
270
271
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
271
272
|
label: string;
|
|
@@ -275,18 +276,13 @@ type Props$1H = {
|
|
|
275
276
|
* Download-icon trigger with a menu of export formats.
|
|
276
277
|
*
|
|
277
278
|
* Lives in the root barrel rather than inside `ZoomableSvg` on purpose: that
|
|
278
|
-
* component ships
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* entry, so a consumer whose neighbouring toolbar buttons come from a lazy
|
|
284
|
-
* subpath (`ZoomableSvg` via `@keboola/design/mermaid`, which sees the argo
|
|
285
|
-
* default) would otherwise place a legacy-styled trigger beside argo-styled
|
|
286
|
-
* siblings — different border, background and icon colour from the same
|
|
287
|
-
* `variant="outline"`.
|
|
279
|
+
* component ships behind the lazy `@keboola/design/mermaid` boundary, and Radix's
|
|
280
|
+
* menu is not in that chunk closure — importing it there would pull ~11 kB
|
|
281
|
+
* brotlied of chunk-mates (`DropdownMenu` travels with `ButtonGroup` and `toast`,
|
|
282
|
+
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
283
|
+
* boundary. Callers already paying for the barrel inject this instead.
|
|
288
284
|
*/
|
|
289
|
-
declare const ExportMenu: ({ items, label, size }: Props$
|
|
285
|
+
declare const ExportMenu: ({ items, label, size }: Props$1J) => react_jsx_runtime.JSX.Element;
|
|
290
286
|
|
|
291
287
|
/**
|
|
292
288
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -398,11 +394,11 @@ declare const LABELS$1: {
|
|
|
398
394
|
readonly signup: "Sign up with Microsoft";
|
|
399
395
|
readonly continue: "Continue with Microsoft";
|
|
400
396
|
};
|
|
401
|
-
type Props$
|
|
397
|
+
type Props$1I = ComponentPropsWithRef<'button'> & {
|
|
402
398
|
label?: keyof typeof LABELS$1;
|
|
403
399
|
isLoading?: boolean;
|
|
404
400
|
};
|
|
405
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
401
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1I) => react_jsx_runtime.JSX.Element;
|
|
406
402
|
|
|
407
403
|
declare const LABELS: {
|
|
408
404
|
readonly signin: "Sign in with Google";
|
|
@@ -410,19 +406,19 @@ declare const LABELS: {
|
|
|
410
406
|
readonly continue: "Continue with Google";
|
|
411
407
|
readonly 'signin-short': "Sign in";
|
|
412
408
|
};
|
|
413
|
-
declare const variants$
|
|
409
|
+
declare const variants$2: (props?: ({
|
|
414
410
|
variant?: "default" | "neutral" | null | undefined;
|
|
415
411
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
416
412
|
size?: "icon" | "default" | null | undefined;
|
|
417
413
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
418
|
-
type Props$
|
|
414
|
+
type Props$1H = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$2> & {
|
|
419
415
|
label?: keyof typeof LABELS;
|
|
420
416
|
isLoading?: boolean;
|
|
421
417
|
};
|
|
422
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
418
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1H) => react_jsx_runtime.JSX.Element;
|
|
423
419
|
|
|
424
|
-
type Props$
|
|
425
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
420
|
+
type Props$1G = ComponentProps<'a'>;
|
|
421
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1G) => react_jsx_runtime.JSX.Element;
|
|
426
422
|
|
|
427
423
|
/**
|
|
428
424
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
@@ -432,25 +428,28 @@ type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
|
432
428
|
|
|
433
429
|
type ConfirmHandler = (event: MouseEvent$1<HTMLButtonElement>) => void | Promise<unknown>;
|
|
434
430
|
type CancelHandler = (event: MouseEvent$1<HTMLButtonElement>) => void;
|
|
435
|
-
type Props$
|
|
431
|
+
type Props$1F = {
|
|
436
432
|
onConfirm?: ConfirmHandler;
|
|
437
433
|
onCancel?: CancelHandler;
|
|
438
434
|
skipAsyncWait?: boolean;
|
|
435
|
+
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
436
|
+
isLoading?: boolean;
|
|
439
437
|
} & ComponentProps<typeof Root$1>;
|
|
440
438
|
declare const AlertModal: {
|
|
441
|
-
({ children, onConfirm, onCancel, skipAsyncWait, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
439
|
+
({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$1F): react_jsx_runtime.JSX.Element;
|
|
442
440
|
Trigger: ({ ref, onClick, onKeyDown, ...props }: _radix_ui_react_alert_dialog.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
443
|
-
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, container, className, children, onEscapeKeyDown, ...props }: {
|
|
441
|
+
Content: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: {
|
|
444
442
|
variant?: AlertModalVariant;
|
|
445
443
|
icon?: react.ReactNode;
|
|
446
444
|
title?: react.ReactNode;
|
|
447
445
|
cancelLabel?: react.ReactNode;
|
|
448
446
|
confirmLabel?: react.ReactNode;
|
|
447
|
+
confirmDisabled?: boolean;
|
|
449
448
|
container?: ComponentProps<react.FC<_radix_ui_react_alert_dialog.AlertDialogPortalProps>>["container"];
|
|
450
449
|
} & Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "title">) => react_jsx_runtime.JSX.Element;
|
|
451
450
|
};
|
|
452
451
|
|
|
453
|
-
type Props$
|
|
452
|
+
type Props$1E = ComponentProps<typeof Root$2>;
|
|
454
453
|
/**
|
|
455
454
|
* Blocking dialog for confirmations, forms, and detail views. Built on Radix Dialog.
|
|
456
455
|
*
|
|
@@ -466,7 +465,7 @@ type Props$1C = ComponentProps<typeof Root$2>;
|
|
|
466
465
|
* @see RECIPES.md#confirm-dialog — for destructive-confirm dialogs
|
|
467
466
|
*/
|
|
468
467
|
declare const Modal: {
|
|
469
|
-
(props: Props$
|
|
468
|
+
(props: Props$1E): react_jsx_runtime.JSX.Element;
|
|
470
469
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
471
470
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
472
471
|
Content: ({ size, className, children, onEscapeKeyDown, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -517,7 +516,7 @@ declare const FullScreenModal: (({ children, className, lockBodyScroll, onEscape
|
|
|
517
516
|
}) => react_jsx_runtime.JSX.Element;
|
|
518
517
|
};
|
|
519
518
|
|
|
520
|
-
type Props$
|
|
519
|
+
type Props$1D = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
521
520
|
title: ReactNode;
|
|
522
521
|
titleClassName?: string;
|
|
523
522
|
titleWrapperClassName?: string;
|
|
@@ -526,16 +525,16 @@ type Props$1B = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
526
525
|
onClose?: () => void;
|
|
527
526
|
showPreviousTitle?: boolean;
|
|
528
527
|
}>;
|
|
529
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
528
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$1D) => react_jsx_runtime.JSX.Element;
|
|
530
529
|
|
|
531
|
-
type Props$
|
|
532
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
530
|
+
type Props$1C = HTMLAttributes<HTMLDivElement>;
|
|
531
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$1C & {
|
|
533
532
|
ref?: Ref<HTMLDivElement>;
|
|
534
533
|
}) => react_jsx_runtime.JSX.Element;
|
|
535
534
|
|
|
536
|
-
type Props$
|
|
535
|
+
type Props$1B = ComponentProps<typeof Root$2>;
|
|
537
536
|
declare const Sheet: {
|
|
538
|
-
(props: Props$
|
|
537
|
+
(props: Props$1B): react_jsx_runtime.JSX.Element;
|
|
539
538
|
Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
540
539
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
541
540
|
Content: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: _radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -558,9 +557,9 @@ declare const Sheet: {
|
|
|
558
557
|
Body: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
559
558
|
};
|
|
560
559
|
|
|
561
|
-
type Props$
|
|
560
|
+
type Props$1A = ComponentProps<typeof Root$3>;
|
|
562
561
|
declare const Popover: {
|
|
563
|
-
(props: Props$
|
|
562
|
+
(props: Props$1A): react_jsx_runtime.JSX.Element;
|
|
564
563
|
/**
|
|
565
564
|
* Main Layout
|
|
566
565
|
*/
|
|
@@ -580,12 +579,12 @@ type PopconfirmContextType = {
|
|
|
580
579
|
isLoading: boolean;
|
|
581
580
|
};
|
|
582
581
|
|
|
583
|
-
type Props$
|
|
582
|
+
type Props$1z = {
|
|
584
583
|
children: ReactNode;
|
|
585
584
|
skipAsyncWait?: boolean;
|
|
586
585
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
587
586
|
declare const Popconfirm: {
|
|
588
|
-
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
587
|
+
({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$1z): react_jsx_runtime.JSX.Element;
|
|
589
588
|
Confirm: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
590
589
|
asChild: true;
|
|
591
590
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement>) | ({
|
|
@@ -597,7 +596,7 @@ declare const Popconfirm: {
|
|
|
597
596
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
598
597
|
block?: boolean | null | undefined;
|
|
599
598
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
600
|
-
size?: "
|
|
599
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
601
600
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children" | "isLoading">)) => react_jsx_runtime.JSX.Element;
|
|
602
601
|
Cancel: ({ ref, onClick, children, asChild, className, ...props }: ({
|
|
603
602
|
asChild: true;
|
|
@@ -610,7 +609,7 @@ declare const Popconfirm: {
|
|
|
610
609
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
611
610
|
block?: boolean | null | undefined;
|
|
612
611
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
613
|
-
size?: "
|
|
612
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
614
613
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "children">)) => react_jsx_runtime.JSX.Element;
|
|
615
614
|
Footer: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
616
615
|
Content: ({ className, onInteractOutside, ...props }: {
|
|
@@ -618,11 +617,11 @@ declare const Popconfirm: {
|
|
|
618
617
|
translate?: "yes" | "no" | undefined | undefined;
|
|
619
618
|
color?: string | undefined | undefined;
|
|
620
619
|
prefix?: string | undefined | undefined;
|
|
621
|
-
id?: string | undefined | undefined;
|
|
622
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
623
620
|
slot?: string | undefined | undefined;
|
|
624
621
|
style?: react.CSSProperties | undefined;
|
|
625
622
|
title?: string | undefined | undefined;
|
|
623
|
+
id?: string | undefined | undefined;
|
|
624
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
626
625
|
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
627
626
|
key?: react.Key | null | undefined;
|
|
628
627
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -930,16 +929,16 @@ declare const Popconfirm: {
|
|
|
930
929
|
Trigger: ({ onClick, ...props }: _radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
931
930
|
};
|
|
932
931
|
|
|
933
|
-
type Props$
|
|
932
|
+
type Props$1y = ComponentProps<typeof Root$4>;
|
|
934
933
|
declare const HoverCard: {
|
|
935
|
-
({ openDelay, closeDelay, ...rest }: Props$
|
|
934
|
+
({ openDelay, closeDelay, ...rest }: Props$1y): react_jsx_runtime.JSX.Element;
|
|
936
935
|
Content: ({ ref, className, align, sideOffset, children, ...props }: _radix_ui_react_hover_card.HoverCardContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
937
936
|
Trigger: react.ForwardRefExoticComponent<_radix_ui_react_hover_card.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
938
937
|
};
|
|
939
938
|
|
|
940
|
-
type Props$
|
|
939
|
+
type Props$1x = ComponentProps<typeof Root$5>;
|
|
941
940
|
declare const DropdownMenu: {
|
|
942
|
-
({ modal, ...props }: Props$
|
|
941
|
+
({ modal, ...props }: Props$1x): react_jsx_runtime.JSX.Element;
|
|
943
942
|
/**
|
|
944
943
|
* Main Layout
|
|
945
944
|
*/
|
|
@@ -991,14 +990,14 @@ declare const DropdownMenu: {
|
|
|
991
990
|
}) => react_jsx_runtime.JSX.Element;
|
|
992
991
|
};
|
|
993
992
|
|
|
994
|
-
type Props$
|
|
993
|
+
type Props$1w = {
|
|
995
994
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
996
995
|
};
|
|
997
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
996
|
+
declare const CheckIndicator: ({ variant }: Props$1w) => react_jsx_runtime.JSX.Element | null;
|
|
998
997
|
|
|
999
|
-
type Props$
|
|
998
|
+
type Props$1v = ComponentProps<typeof Command$1>;
|
|
1000
999
|
declare const Command: {
|
|
1001
|
-
({ className, ...rest }: Props$
|
|
1000
|
+
({ className, ...rest }: Props$1v): react_jsx_runtime.JSX.Element;
|
|
1002
1001
|
Content: ({ className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1003
1002
|
Separator: ({ className, ...props }: Pick<Pick<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof react.HTMLAttributes<HTMLDivElement>> & {
|
|
1004
1003
|
ref?: React.Ref<HTMLDivElement>;
|
|
@@ -1041,7 +1040,7 @@ declare const Command: {
|
|
|
1041
1040
|
Input: ({ ref, className, ...props }: {
|
|
1042
1041
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1043
1042
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1044
|
-
sizing?: "
|
|
1043
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1045
1044
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1046
1045
|
} & {
|
|
1047
1046
|
prefix?: react.ReactNode;
|
|
@@ -1080,21 +1079,21 @@ declare const Command: {
|
|
|
1080
1079
|
declare const addonVariants$1: (props?: ({
|
|
1081
1080
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1082
1081
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1083
|
-
type Props$
|
|
1084
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
1082
|
+
type Props$1u = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1083
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1u) => react_jsx_runtime.JSX.Element;
|
|
1085
1084
|
|
|
1086
1085
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
1087
|
-
type Props$
|
|
1088
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
1086
|
+
type Props$1t = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
1087
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$1t) => react_jsx_runtime.JSX.Element;
|
|
1089
1088
|
|
|
1090
|
-
type Props$
|
|
1091
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
1089
|
+
type Props$1s = ComponentProps<'input'>;
|
|
1090
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$1s) => react_jsx_runtime.JSX.Element;
|
|
1092
1091
|
|
|
1093
|
-
type Props$
|
|
1094
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
1092
|
+
type Props$1r = ComponentProps<'span'>;
|
|
1093
|
+
declare const InputGroupText: ({ className, ...props }: Props$1r) => react_jsx_runtime.JSX.Element;
|
|
1095
1094
|
|
|
1096
1095
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof react_textarea_autosize__default>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
1097
|
-
type Props$
|
|
1096
|
+
type Props$1q = TextareaNativeProps$1 & {
|
|
1098
1097
|
value?: string | null;
|
|
1099
1098
|
defaultValue?: string | null;
|
|
1100
1099
|
onValueChange?: (value: string) => void;
|
|
@@ -1102,18 +1101,18 @@ type Props$1o = TextareaNativeProps$1 & {
|
|
|
1102
1101
|
maxRows?: number | 'unlimited';
|
|
1103
1102
|
disableResize?: boolean;
|
|
1104
1103
|
};
|
|
1105
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
1104
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$1q) => react_jsx_runtime.JSX.Element;
|
|
1106
1105
|
|
|
1107
1106
|
declare const inputGroupVariants: (props?: ({
|
|
1108
1107
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1109
1108
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1110
|
-
sizing?: "
|
|
1109
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1111
1110
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1112
1111
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1113
|
-
type Props$
|
|
1112
|
+
type Props$1p = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
1114
1113
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
1115
1114
|
};
|
|
1116
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1115
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$1p) => react_jsx_runtime.JSX.Element;
|
|
1117
1116
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
1118
1117
|
Input: typeof InputGroupInput;
|
|
1119
1118
|
Addon: typeof InputGroupAddon;
|
|
@@ -1145,7 +1144,7 @@ type OwnProps = {
|
|
|
1145
1144
|
* `value` / `defaultValue` plus convenience `onValueChange` / `onValueBlur` callbacks. `null` /
|
|
1146
1145
|
* `undefined` are coerced to empty strings.
|
|
1147
1146
|
*/
|
|
1148
|
-
type Props$
|
|
1147
|
+
type Props$1o = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1149
1148
|
/**
|
|
1150
1149
|
* Standard text input with a string-only API, built on `InputGroup` chrome — addons, clear button,
|
|
1151
1150
|
* sizing, focus variants. The default choice for a bare text input.
|
|
@@ -1158,34 +1157,34 @@ type Props$1m = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pr
|
|
|
1158
1157
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1159
1158
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1160
1159
|
*/
|
|
1161
|
-
declare const TextInput: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$
|
|
1160
|
+
declare const TextInput: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$1o) => react_jsx_runtime.JSX.Element;
|
|
1162
1161
|
|
|
1163
|
-
type Props$
|
|
1164
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1162
|
+
type Props$1n = ComponentProps<typeof TextInput>;
|
|
1163
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$1n) => react_jsx_runtime.JSX.Element;
|
|
1165
1164
|
|
|
1166
|
-
type Props$
|
|
1165
|
+
type Props$1m = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1167
1166
|
viewPortClassName?: string;
|
|
1168
1167
|
scrollBarClassName?: string;
|
|
1169
1168
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1170
1169
|
};
|
|
1171
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1170
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$1m) => react_jsx_runtime.JSX.Element;
|
|
1172
1171
|
|
|
1173
|
-
type Props$
|
|
1174
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1172
|
+
type Props$1l = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1173
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$1l) => react_jsx_runtime.JSX.Element;
|
|
1175
1174
|
|
|
1176
|
-
type Props$
|
|
1177
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1175
|
+
type Props$1k = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1176
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$1k) => react_jsx_runtime.JSX.Element;
|
|
1178
1177
|
|
|
1179
|
-
type Props$
|
|
1180
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
1178
|
+
type Props$1j = ComponentProps<typeof Command$1.Group>;
|
|
1179
|
+
declare const CommandGroup: ({ className, ...props }: Props$1j) => react_jsx_runtime.JSX.Element;
|
|
1181
1180
|
|
|
1182
|
-
type Props$
|
|
1181
|
+
type Props$1i = ComponentProps<typeof Command$1.Item> & {
|
|
1183
1182
|
icon?: ReactNode;
|
|
1184
1183
|
checked?: boolean;
|
|
1185
1184
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1186
1185
|
actions?: ReactNode;
|
|
1187
1186
|
};
|
|
1188
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1187
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$1i) => react_jsx_runtime.JSX.Element;
|
|
1189
1188
|
|
|
1190
1189
|
/** Viewport-relative box of the highlighted target. */
|
|
1191
1190
|
type TargetRect = {
|
|
@@ -1205,7 +1204,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1205
1204
|
*/
|
|
1206
1205
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1207
1206
|
|
|
1208
|
-
type Props$
|
|
1207
|
+
type Props$1h = {
|
|
1209
1208
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1210
1209
|
rect: TargetRect | null;
|
|
1211
1210
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1227,7 +1226,7 @@ type Props$1f = {
|
|
|
1227
1226
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1228
1227
|
* "Guided tour (recipe)" story for the composition.
|
|
1229
1228
|
*/
|
|
1230
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1229
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$1h) => react_jsx_runtime.JSX.Element;
|
|
1231
1230
|
|
|
1232
1231
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
1233
1232
|
declare const Calendar: {
|
|
@@ -1242,49 +1241,87 @@ declare const DatePicker: {
|
|
|
1242
1241
|
displayName: string;
|
|
1243
1242
|
};
|
|
1244
1243
|
|
|
1244
|
+
/**
|
|
1245
|
+
* Chrome for a control that looks like an input but opens an overlay on click. Shared by
|
|
1246
|
+
* `SelectTrigger` and `DateRangePicker`'s trigger so both sit at the same height and colour when
|
|
1247
|
+
* they stand next to each other in a filter row.
|
|
1248
|
+
*/
|
|
1249
|
+
declare const overlayTriggerVariants: (props?: ({
|
|
1250
|
+
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1251
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1252
|
+
state?: "warning" | "default" | "error" | null | undefined;
|
|
1253
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1254
|
+
|
|
1245
1255
|
type DateRange = {
|
|
1246
1256
|
from: Date;
|
|
1247
1257
|
to?: Date;
|
|
1248
1258
|
};
|
|
1249
1259
|
type DateRangePreset = {
|
|
1250
1260
|
label: string;
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1261
|
+
/**
|
|
1262
|
+
* The range the preset stands for. A preset may omit it and carry `value` instead — or neither,
|
|
1263
|
+
* for a clear-the-range preset ("All time"): without `onPresetSelect`, picking one calls
|
|
1264
|
+
* `onChange(undefined)`.
|
|
1265
|
+
*/
|
|
1266
|
+
range?: DateRange;
|
|
1267
|
+
/**
|
|
1268
|
+
* Echoed back through `onPresetSelect` instead of `range`. For consumers whose stored form of a
|
|
1269
|
+
* range is not two dates: a relative token the server resolves per request, such as `-7 days`.
|
|
1270
|
+
*/
|
|
1271
|
+
value?: string;
|
|
1255
1272
|
};
|
|
1256
1273
|
type DateRangePickerProps = {
|
|
1257
1274
|
value: DateRange | undefined;
|
|
1258
1275
|
onChange: (range: DateRange | undefined) => void;
|
|
1276
|
+
/**
|
|
1277
|
+
* Replaces the formatted range on the trigger entirely — the name of the active preset. For a
|
|
1278
|
+
* range in the app's own date style, prefer `formatDate`, which keeps the from → to join here.
|
|
1279
|
+
*/
|
|
1280
|
+
label?: ReactNode;
|
|
1281
|
+
/**
|
|
1282
|
+
* Formats one end of the range on the trigger, replacing the built-in ISO format (which is
|
|
1283
|
+
* unambiguous but matches no app in particular, including the `withTime` time-of-day part).
|
|
1284
|
+
* The from → to join stays with the component.
|
|
1285
|
+
*/
|
|
1286
|
+
formatDate?: (date: Date) => string;
|
|
1259
1287
|
placeholder?: string;
|
|
1260
|
-
presets?: DateRangePreset[];
|
|
1288
|
+
presets?: readonly DateRangePreset[];
|
|
1289
|
+
/** Called instead of `onChange` when a preset is picked, with the preset itself. */
|
|
1290
|
+
onPresetSelect?: (preset: DateRangePreset) => void;
|
|
1291
|
+
/** Adds a start/end time-of-day row; the emitted `from` / `to` then carry hours and minutes. */
|
|
1292
|
+
withTime?: boolean;
|
|
1293
|
+
/** Hold edits in a draft and emit only on Apply, so one range costs one `onChange`. */
|
|
1294
|
+
requireApply?: boolean;
|
|
1295
|
+
/** Days that cannot be picked, as a react-day-picker matcher — e.g. `{ after: new Date() }`. */
|
|
1296
|
+
disabledDays?: Matcher | Matcher[];
|
|
1297
|
+
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'>;
|
|
1261
1298
|
disabled?: boolean;
|
|
1262
1299
|
className?: string;
|
|
1263
|
-
}
|
|
1300
|
+
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1264
1301
|
/**
|
|
1265
|
-
* Range-mode date picker — Popover + Calendar in
|
|
1266
|
-
*
|
|
1267
|
-
* pair; for a single date use `DatePicker`.
|
|
1302
|
+
* Range-mode date picker — `Popover` + `Calendar` in range mode, with an optional preset sidebar,
|
|
1303
|
+
* a time-of-day row (`withTime`) and an explicit Apply step (`requireApply`). Use for selecting a
|
|
1304
|
+
* `{ from, to }` pair; for a single date use `DatePicker`.
|
|
1268
1305
|
*/
|
|
1269
1306
|
declare const DateRangePicker: {
|
|
1270
|
-
({
|
|
1307
|
+
({ align, alignOffset, className, defaultOpen, disabled, disabledDays, formatDate, label, onChange, onOpenChange, onPresetSelect, open, placeholder, presets, requireApply, sideOffset, value, variant, withTime, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1271
1308
|
displayName: string;
|
|
1272
1309
|
};
|
|
1273
1310
|
|
|
1274
|
-
type Props$
|
|
1311
|
+
type Props$1g = {
|
|
1275
1312
|
children?: ReactNode;
|
|
1276
1313
|
defaultSelected?: string | null;
|
|
1277
1314
|
selected?: string | null;
|
|
1278
1315
|
onSelect?: (time: string) => void;
|
|
1279
1316
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
1280
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$
|
|
1317
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset, }: Props$1g) => react_jsx_runtime.JSX.Element;
|
|
1281
1318
|
|
|
1282
|
-
type Props$
|
|
1319
|
+
type Props$1f = {
|
|
1283
1320
|
id?: string | number;
|
|
1284
1321
|
htmlFor?: string | number;
|
|
1285
1322
|
} & Omit<LabelProps$1, 'id' | 'htmlFor'>;
|
|
1286
1323
|
declare const Label: {
|
|
1287
|
-
({ className, children, id, htmlFor, ...rest }: Props$
|
|
1324
|
+
({ className, children, id, htmlFor, ...rest }: Props$1f): react_jsx_runtime.JSX.Element;
|
|
1288
1325
|
Optional: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1289
1326
|
Required: ({ className, ...props }: ComponentPropsWithRef<"span">) => react_jsx_runtime.JSX.Element;
|
|
1290
1327
|
};
|
|
@@ -1295,22 +1332,22 @@ declare const fieldBoxVariants: (props?: ({
|
|
|
1295
1332
|
|
|
1296
1333
|
declare const switchVariants: (props?: ({
|
|
1297
1334
|
variant?: "default" | "argo" | null | undefined;
|
|
1298
|
-
size?: "
|
|
1335
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
1299
1336
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1300
1337
|
|
|
1301
|
-
type Props$
|
|
1338
|
+
type Props$1e = {
|
|
1302
1339
|
id?: string | number;
|
|
1303
1340
|
children?: ReactNode;
|
|
1304
1341
|
description?: ReactNode;
|
|
1305
1342
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1306
1343
|
position?: 'start' | 'end';
|
|
1307
1344
|
} & Omit<ComponentProps<typeof Root$6>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
1308
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
1345
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$1e) => react_jsx_runtime.JSX.Element;
|
|
1309
1346
|
|
|
1310
1347
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
1311
1348
|
type Orientation = 'vertical' | 'horizontal';
|
|
1312
1349
|
|
|
1313
|
-
type Props$
|
|
1350
|
+
type Props$1d<Value> = {
|
|
1314
1351
|
variant?: Variant$7;
|
|
1315
1352
|
orientation?: Orientation;
|
|
1316
1353
|
onValueChange?: (value: Value) => void;
|
|
@@ -1318,18 +1355,18 @@ type Props$1b<Value> = {
|
|
|
1318
1355
|
defaultValue?: Value | null;
|
|
1319
1356
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1320
1357
|
declare const RadioGroup: {
|
|
1321
|
-
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
1322
|
-
Item: <T extends string = string>({ children, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1358
|
+
<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$1d<Value>): react_jsx_runtime.JSX.Element;
|
|
1359
|
+
Item: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: {
|
|
1323
1360
|
content?: string | undefined | undefined;
|
|
1324
1361
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1325
1362
|
color?: string | undefined | undefined;
|
|
1326
1363
|
prefix?: string | undefined | undefined;
|
|
1327
|
-
id?: string | undefined | undefined;
|
|
1328
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1329
1364
|
form?: string | undefined | undefined;
|
|
1330
1365
|
slot?: string | undefined | undefined;
|
|
1331
1366
|
style?: react.CSSProperties | undefined;
|
|
1332
1367
|
title?: string | undefined | undefined;
|
|
1368
|
+
id?: string | undefined | undefined;
|
|
1369
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1333
1370
|
ref?: react.Ref<HTMLButtonElement> | undefined;
|
|
1334
1371
|
key?: react.Key | null | undefined;
|
|
1335
1372
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -1615,30 +1652,30 @@ declare const RadioGroup: {
|
|
|
1615
1652
|
} & {
|
|
1616
1653
|
value: T;
|
|
1617
1654
|
tooltip?: react.ReactNode;
|
|
1618
|
-
tooltipVariant?: Props$
|
|
1619
|
-
tooltipPlacement?: Props$
|
|
1655
|
+
tooltipVariant?: Props$1N["variant"];
|
|
1656
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
1620
1657
|
description?: react.ReactNode;
|
|
1621
1658
|
}) => react_jsx_runtime.JSX.Element;
|
|
1622
1659
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
1623
1660
|
};
|
|
1624
1661
|
|
|
1625
|
-
type Props$
|
|
1662
|
+
type Props$1c = ComponentProps<typeof Thumb> & {
|
|
1626
1663
|
tooltip?: ReactNode;
|
|
1627
1664
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
1628
1665
|
};
|
|
1629
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
1666
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$1c) => react_jsx_runtime.JSX.Element;
|
|
1630
1667
|
|
|
1631
1668
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
1632
|
-
type Props$
|
|
1669
|
+
type Props$1b = ComponentProps<typeof Root$7> & {
|
|
1633
1670
|
thumbTooltip?: ThumbTooltipFn;
|
|
1634
1671
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
1635
1672
|
rangeClassName?: string;
|
|
1636
1673
|
};
|
|
1637
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
1674
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$1b) => react_jsx_runtime.JSX.Element;
|
|
1638
1675
|
|
|
1639
1676
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent$1<HTMLButtonElement>) => void;
|
|
1640
1677
|
type SearchBlurEventHandler = (value: string, event: FocusEvent$1<HTMLInputElement, Element>) => void;
|
|
1641
|
-
type Props$
|
|
1678
|
+
type Props$1a = {
|
|
1642
1679
|
suffix?: ReactNode;
|
|
1643
1680
|
disableDebounce?: boolean;
|
|
1644
1681
|
debounceDelay?: number;
|
|
@@ -1653,12 +1690,12 @@ type Props$18 = {
|
|
|
1653
1690
|
/**
|
|
1654
1691
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
1655
1692
|
*/
|
|
1656
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
1693
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$1a) => react_jsx_runtime.JSX.Element;
|
|
1657
1694
|
|
|
1658
|
-
type Props$
|
|
1695
|
+
type Props$19 = {
|
|
1659
1696
|
onSubmit: (value: string) => void;
|
|
1660
1697
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
1661
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
1698
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$19) => react_jsx_runtime.JSX.Element;
|
|
1662
1699
|
|
|
1663
1700
|
type SelectRootProps = {
|
|
1664
1701
|
children?: ReactNode;
|
|
@@ -1676,15 +1713,10 @@ type SelectRootProps = {
|
|
|
1676
1713
|
onValueChange?(value: string): void;
|
|
1677
1714
|
};
|
|
1678
1715
|
|
|
1679
|
-
|
|
1680
|
-
variant?:
|
|
1681
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1682
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
1683
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1684
|
-
type Props$16 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof variants$2>, 'variant'> & {
|
|
1685
|
-
variant?: Exclude<VariantProps<typeof variants$2>['variant'], 'argo'> | 'inline';
|
|
1716
|
+
type Props$18 = ComponentProps<typeof _radix_ui_react_select.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
1717
|
+
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'> | 'inline';
|
|
1686
1718
|
} & Pick<ComponentProps<typeof _radix_ui_react_select.Value>, 'placeholder'>;
|
|
1687
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
1719
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$18) => react_jsx_runtime.JSX.Element;
|
|
1688
1720
|
|
|
1689
1721
|
type SelectItem = {
|
|
1690
1722
|
value: string;
|
|
@@ -1697,7 +1729,7 @@ type SelectItemGroup = {
|
|
|
1697
1729
|
items: readonly SelectItem[];
|
|
1698
1730
|
};
|
|
1699
1731
|
type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
1700
|
-
type Props$
|
|
1732
|
+
type Props$17 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange' | 'dir' | 'autoComplete' | 'form'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & {
|
|
1701
1733
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
1702
1734
|
};
|
|
1703
1735
|
/**
|
|
@@ -1711,18 +1743,14 @@ type Props$15 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange'
|
|
|
1711
1743
|
* `Select.Item`) for custom item layouts; the top-level `Select` covers the common cases.
|
|
1712
1744
|
*/
|
|
1713
1745
|
declare const Select: {
|
|
1714
|
-
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-required": ariaRequired, items, }: Props$
|
|
1746
|
+
({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, "aria-describedby": ariaDescribedBy, "aria-invalid": ariaInvalid, "aria-required": ariaRequired, items, }: Props$17): react_jsx_runtime.JSX.Element;
|
|
1715
1747
|
Root: (props: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1716
1748
|
Trigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: _radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
1717
1749
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1718
|
-
sizing?: "
|
|
1750
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1719
1751
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1720
1752
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
1721
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
1722
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
1723
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
1724
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
1725
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
1753
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
1726
1754
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">) => react_jsx_runtime.JSX.Element;
|
|
1727
1755
|
Content: ({ ref, className, children, container, position, sideOffset, ...props }: _radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement> & {
|
|
1728
1756
|
container?: HTMLElement | null;
|
|
@@ -1735,45 +1763,45 @@ declare const Select: {
|
|
|
1735
1763
|
Separator: ({ className, ...props }: _radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1736
1764
|
};
|
|
1737
1765
|
|
|
1738
|
-
type Props$
|
|
1766
|
+
type Props$16 = {
|
|
1739
1767
|
id?: string | number;
|
|
1740
1768
|
description?: ReactNode;
|
|
1741
1769
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
1742
1770
|
position?: 'start' | 'end';
|
|
1743
|
-
tooltip?: Props$
|
|
1744
|
-
tooltipPlacement?: Props$
|
|
1771
|
+
tooltip?: Props$1N['tooltip'];
|
|
1772
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
1745
1773
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
1746
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1774
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
1747
1775
|
checked?: boolean;
|
|
1748
1776
|
onCheckedChange?: (checked: boolean) => void;
|
|
1749
1777
|
}): ReactNode;
|
|
1750
|
-
declare function Checkbox(prop: Omit<Props$
|
|
1778
|
+
declare function Checkbox(prop: Omit<Props$16, 'checked' | 'onCheckedChange'> & {
|
|
1751
1779
|
checked?: CheckedState;
|
|
1752
1780
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
1753
1781
|
}): ReactNode;
|
|
1754
1782
|
|
|
1755
1783
|
type Variant$6 = 'check' | 'checkbox';
|
|
1756
|
-
type Props$
|
|
1784
|
+
type Props$15 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
1757
1785
|
className?: string;
|
|
1758
1786
|
variant?: Variant$6;
|
|
1759
1787
|
};
|
|
1760
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
1788
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$15) => react_jsx_runtime.JSX.Element;
|
|
1761
1789
|
|
|
1762
|
-
type Props$
|
|
1763
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
1790
|
+
type Props$14 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
1791
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$14) => react_jsx_runtime.JSX.Element;
|
|
1764
1792
|
|
|
1765
1793
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1766
|
-
type Props$
|
|
1794
|
+
type Props$13 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
1767
1795
|
className?: string;
|
|
1768
1796
|
};
|
|
1769
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
1797
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$13) => react_jsx_runtime.JSX.Element;
|
|
1770
1798
|
|
|
1771
|
-
type Props$
|
|
1799
|
+
type Props$12 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
1772
1800
|
className?: string;
|
|
1773
1801
|
icon?: ReactNode;
|
|
1774
1802
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
1775
1803
|
};
|
|
1776
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
1804
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$12) => react_jsx_runtime.JSX.Element;
|
|
1777
1805
|
|
|
1778
1806
|
type Group<Item = unknown> = {
|
|
1779
1807
|
items: readonly Item[];
|
|
@@ -1791,7 +1819,7 @@ type CreatableProps$1<Value> = {
|
|
|
1791
1819
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
1792
1820
|
queryToCreateValue?: (query: string) => Value;
|
|
1793
1821
|
};
|
|
1794
|
-
type Props
|
|
1822
|
+
type Props$11<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
1795
1823
|
items?: readonly (Value | GroupShape)[];
|
|
1796
1824
|
allowClear?: boolean;
|
|
1797
1825
|
empty?: ReactNode;
|
|
@@ -1810,12 +1838,12 @@ type Props$$<Value, GroupShape extends Group<Value> = Group<Value>> = PublicComb
|
|
|
1810
1838
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
1811
1839
|
};
|
|
1812
1840
|
declare const Combobox: {
|
|
1813
|
-
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props
|
|
1841
|
+
<Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, }: Props$11<Value, GroupShape>): react_jsx_runtime.JSX.Element;
|
|
1814
1842
|
Root: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => react_jsx_runtime.JSX.Element;
|
|
1815
1843
|
InputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: {
|
|
1816
1844
|
variant?: "primary" | "secondary" | null | undefined;
|
|
1817
1845
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
1818
|
-
sizing?: "
|
|
1846
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
1819
1847
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
1820
1848
|
} & Omit<Omit<_base_ui_react_combobox.ComboboxInputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>, "className" | "render"> & {
|
|
1821
1849
|
className?: string;
|
|
@@ -1825,13 +1853,13 @@ declare const Combobox: {
|
|
|
1825
1853
|
size?: number | undefined | undefined;
|
|
1826
1854
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1827
1855
|
prefix?: string | undefined | undefined;
|
|
1828
|
-
id?: string | undefined | undefined;
|
|
1829
|
-
name?: string | undefined | undefined;
|
|
1830
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1831
1856
|
form?: string | undefined | undefined;
|
|
1832
1857
|
slot?: string | undefined | undefined;
|
|
1833
1858
|
style?: CSSProperties | ((state: _base_ui_react_combobox.ComboboxInputState) => React.CSSProperties | undefined) | undefined;
|
|
1834
1859
|
title?: string | undefined | undefined;
|
|
1860
|
+
id?: string | undefined | undefined;
|
|
1861
|
+
name?: string | undefined | undefined;
|
|
1862
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
1835
1863
|
pattern?: string | undefined | undefined;
|
|
1836
1864
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
1837
1865
|
key?: react.Key | null | undefined;
|
|
@@ -2159,7 +2187,7 @@ declare const Combobox: {
|
|
|
2159
2187
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
2160
2188
|
maxVisible?: number;
|
|
2161
2189
|
itemToChipLabel?: ((item: Value) => ReactNode) | undefined;
|
|
2162
|
-
itemToChipColor?: ((item: Value) => "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
2190
|
+
itemToChipColor?: ((item: Value) => "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | undefined) | undefined;
|
|
2163
2191
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2164
2192
|
}) => react_jsx_runtime.JSX.Element;
|
|
2165
2193
|
};
|
|
@@ -2180,7 +2208,7 @@ type CreatableProps<Value> = {
|
|
|
2180
2208
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
2181
2209
|
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
2182
2210
|
*/
|
|
2183
|
-
type Props$
|
|
2211
|
+
type Props$10<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & CreatableProps<Value> & {
|
|
2184
2212
|
items?: readonly (Value | GroupShape)[];
|
|
2185
2213
|
allowClear?: boolean;
|
|
2186
2214
|
allowSelectAll?: boolean;
|
|
@@ -2204,7 +2232,7 @@ type Props$_<Value, GroupShape extends Group<Value> = Group<Value>> = Pick<Combo
|
|
|
2204
2232
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
2205
2233
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
2206
2234
|
*/
|
|
2207
|
-
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$
|
|
2235
|
+
declare const MultiCombobox: <Value, GroupShape extends Group<Value> = Group<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible, }: Props$10<Value, GroupShape>) => react_jsx_runtime.JSX.Element;
|
|
2208
2236
|
|
|
2209
2237
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
2210
2238
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
@@ -2217,12 +2245,12 @@ type TextareaOwnProps = {
|
|
|
2217
2245
|
disableResize?: boolean;
|
|
2218
2246
|
containerClassName?: string;
|
|
2219
2247
|
};
|
|
2220
|
-
type Props
|
|
2248
|
+
type Props$$ = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
2221
2249
|
/**
|
|
2222
2250
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
2223
2251
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
2224
2252
|
*/
|
|
2225
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props
|
|
2253
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$$) => react_jsx_runtime.JSX.Element;
|
|
2226
2254
|
|
|
2227
2255
|
type AutoSaveTextareaProps = {
|
|
2228
2256
|
savedValue?: string;
|
|
@@ -2235,14 +2263,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
2235
2263
|
|
|
2236
2264
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2237
2265
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
2238
|
-
type Props$
|
|
2266
|
+
type Props$_ = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
2239
2267
|
value?: string | null;
|
|
2240
2268
|
defaultValue?: string | null;
|
|
2241
2269
|
onValueChange?: (value: string) => void;
|
|
2242
2270
|
onValueBlur?: (value: string) => void;
|
|
2243
2271
|
allowClear?: boolean;
|
|
2244
2272
|
};
|
|
2245
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
2273
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$_) => react_jsx_runtime.JSX.Element;
|
|
2246
2274
|
|
|
2247
2275
|
type BrandId = string;
|
|
2248
2276
|
type ResolvedColorScheme = 'light' | 'dark';
|
|
@@ -2277,12 +2305,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
2277
2305
|
setScheme: (next: ColorScheme) => void;
|
|
2278
2306
|
};
|
|
2279
2307
|
|
|
2280
|
-
type Props$
|
|
2308
|
+
type Props$Z = UseColorSchemeOptions & UseBrandOptions & {
|
|
2281
2309
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
2282
2310
|
brands?: readonly Brand[];
|
|
2283
2311
|
children: ReactNode;
|
|
2284
2312
|
};
|
|
2285
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$
|
|
2313
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children, }: Props$Z) => react_jsx_runtime.JSX.Element;
|
|
2286
2314
|
|
|
2287
2315
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
2288
2316
|
themes: Theme[];
|
|
@@ -2306,7 +2334,7 @@ declare const useArgoDesign: () => boolean;
|
|
|
2306
2334
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
2307
2335
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
2308
2336
|
|
|
2309
|
-
type Props$
|
|
2337
|
+
type Props$Y = {
|
|
2310
2338
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
2311
2339
|
value: ColorScheme;
|
|
2312
2340
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -2331,11 +2359,11 @@ type Props$W = {
|
|
|
2331
2359
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
2332
2360
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
2333
2361
|
*/
|
|
2334
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
2362
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$Y) => react_jsx_runtime.JSX.Element;
|
|
2335
2363
|
|
|
2336
2364
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2337
2365
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2338
|
-
type Props$
|
|
2366
|
+
type Props$X = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
2339
2367
|
value?: Date | null;
|
|
2340
2368
|
defaultValue?: Date | null;
|
|
2341
2369
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -2345,11 +2373,11 @@ type Props$V = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
2345
2373
|
endMonth?: Date;
|
|
2346
2374
|
startMonth?: Date;
|
|
2347
2375
|
};
|
|
2348
|
-
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2376
|
+
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$X) => react_jsx_runtime.JSX.Element;
|
|
2349
2377
|
|
|
2350
2378
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2351
2379
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
2352
|
-
type Props$
|
|
2380
|
+
type Props$W = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
2353
2381
|
value?: number | null;
|
|
2354
2382
|
defaultValue?: number | null;
|
|
2355
2383
|
onValueChange?: (value: number | null) => void;
|
|
@@ -2357,11 +2385,11 @@ type Props$U = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
2357
2385
|
prefix?: ReactNode;
|
|
2358
2386
|
suffix?: ReactNode;
|
|
2359
2387
|
};
|
|
2360
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
2388
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$W) => react_jsx_runtime.JSX.Element;
|
|
2361
2389
|
|
|
2362
2390
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2363
2391
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
2364
|
-
type Props$
|
|
2392
|
+
type Props$V = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
2365
2393
|
value?: string | null;
|
|
2366
2394
|
defaultValue?: string | null;
|
|
2367
2395
|
onValueChange?: (value: string) => void;
|
|
@@ -2378,22 +2406,22 @@ type Props$T = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
2378
2406
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
2379
2407
|
defaultPasswordVisibility?: boolean;
|
|
2380
2408
|
};
|
|
2381
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
2409
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$V) => react_jsx_runtime.JSX.Element;
|
|
2382
2410
|
|
|
2383
2411
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2384
2412
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2385
|
-
type Props$
|
|
2413
|
+
type Props$U = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
2386
2414
|
value?: string | null;
|
|
2387
2415
|
defaultValue?: string | null;
|
|
2388
2416
|
onValueChange?: (value: string | null) => void;
|
|
2389
2417
|
onValueBlur?: (value: string | null) => void;
|
|
2390
2418
|
allowClear?: boolean;
|
|
2391
2419
|
};
|
|
2392
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2420
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$U) => react_jsx_runtime.JSX.Element;
|
|
2393
2421
|
|
|
2394
2422
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
2395
2423
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
2396
|
-
type Props$
|
|
2424
|
+
type Props$T = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
2397
2425
|
value?: DateRange$1 | null;
|
|
2398
2426
|
defaultValue?: DateRange$1 | null;
|
|
2399
2427
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -2402,7 +2430,7 @@ type Props$R = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
2402
2430
|
startMonth?: Date;
|
|
2403
2431
|
endMonth?: Date;
|
|
2404
2432
|
};
|
|
2405
|
-
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
2433
|
+
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$T) => react_jsx_runtime.JSX.Element;
|
|
2406
2434
|
|
|
2407
2435
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
2408
2436
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
@@ -2438,7 +2466,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
2438
2466
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
2439
2467
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
2440
2468
|
*/
|
|
2441
|
-
type Props$
|
|
2469
|
+
type Props$S = InputGroupProps & InputGroupInputProps & {
|
|
2442
2470
|
value?: string | null;
|
|
2443
2471
|
defaultValue?: string | null;
|
|
2444
2472
|
/** Called with the latest string value after the debounce window (default 300ms). Fires synchronously on clear and when `disableDebounce` is set. For sync echo of every keystroke use `onChange`. */
|
|
@@ -2467,7 +2495,7 @@ type Props$Q = InputGroupProps & InputGroupInputProps & {
|
|
|
2467
2495
|
*
|
|
2468
2496
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
2469
2497
|
*/
|
|
2470
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
2498
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$S) => react_jsx_runtime.JSX.Element;
|
|
2471
2499
|
|
|
2472
2500
|
type SearchInputWithNavigationProps = {
|
|
2473
2501
|
currentIndex: number | null;
|
|
@@ -2486,37 +2514,83 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2486
2514
|
ref?: Ref<HTMLInputElement>;
|
|
2487
2515
|
}) => react_jsx_runtime.JSX.Element;
|
|
2488
2516
|
|
|
2517
|
+
/** MIME type → extensions map, e.g. `{ 'text/csv': ['.csv'] }`. */
|
|
2518
|
+
type FileUploadAccept = Record<string, string[]>;
|
|
2489
2519
|
/**
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2492
|
-
*
|
|
2520
|
+
* Every rejection reason a drop target can emit. `FileUploadRejection.errors[].code` stays
|
|
2521
|
+
* `string` (the underlying library types it that way), but the vocabulary is closed — type a
|
|
2522
|
+
* rejection-copy map as `Record<FileUploadRejectionCode, string>` and it is checkably exhaustive.
|
|
2493
2523
|
*/
|
|
2494
|
-
type
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2524
|
+
type FileUploadRejectionCode = 'file-invalid-type' | 'file-too-large' | 'file-too-small' | 'too-many-files';
|
|
2525
|
+
/** A file the drop target refused, with the reason(s) why. */
|
|
2526
|
+
type FileUploadRejection = {
|
|
2527
|
+
file: File;
|
|
2528
|
+
errors: {
|
|
2529
|
+
code: string;
|
|
2530
|
+
message: string;
|
|
2531
|
+
}[];
|
|
2532
|
+
};
|
|
2533
|
+
type FileDropTargetOptions = {
|
|
2534
|
+
/** MIME / extension filter. Omit to accept every type. */
|
|
2535
|
+
accept?: FileUploadAccept;
|
|
2536
|
+
/** Max size per file, in bytes. Oversized files surface in `onFilesRejected`. */
|
|
2498
2537
|
maxSize?: number;
|
|
2499
2538
|
/** Max number of files accepted per drop. */
|
|
2500
2539
|
maxFiles?: number;
|
|
2501
2540
|
/** Allow multiple files. Defaults to true. */
|
|
2502
2541
|
multiple?: boolean;
|
|
2503
|
-
/** Disable the
|
|
2542
|
+
/** Disable the target — no drops, no click, no keyboard. */
|
|
2504
2543
|
disabled?: boolean;
|
|
2544
|
+
/** Don't open the file dialog on click. Set when wrapping a clickable subtree. */
|
|
2545
|
+
noClick?: boolean;
|
|
2546
|
+
/** Don't open the file dialog on Space / Enter. Set when wrapping a focusable subtree. */
|
|
2547
|
+
noKeyboard?: boolean;
|
|
2505
2548
|
/** Called with the accepted files on every drop. The caller owns the merged file list. */
|
|
2506
2549
|
onFilesChange?: (files: File[]) => void;
|
|
2507
|
-
/** Called with rejected files (
|
|
2508
|
-
onFilesRejected?: (rejections:
|
|
2550
|
+
/** Called with the rejected files (wrong type, too large, too many). */
|
|
2551
|
+
onFilesRejected?: (rejections: FileUploadRejection[]) => void;
|
|
2552
|
+
};
|
|
2553
|
+
type FileDropTarget = Pick<DropzoneState, 'getRootProps' | 'getInputProps' | 'isDragActive'> & {
|
|
2554
|
+
/** Rejections from the most recent drop — replaced on every drop. */
|
|
2555
|
+
rejections: FileUploadRejection[];
|
|
2556
|
+
};
|
|
2557
|
+
/**
|
|
2558
|
+
* Headless drop target — turns any element into one via `getRootProps()`.
|
|
2559
|
+
*
|
|
2560
|
+
* **When to use:** the drop affordance is an existing subtree you style yourself (a message
|
|
2561
|
+
* composer, a card, a whole panel). Pair with `noClick` / `noKeyboard` when that subtree is
|
|
2562
|
+
* already interactive, so clicking or typing inside it doesn't open the file dialog.
|
|
2563
|
+
* **When NOT to use:** a standalone drop box — compose `FileUpload` + `FileUpload.DropZone`,
|
|
2564
|
+
* which own the dashed-border chrome and the drag / error visual states.
|
|
2565
|
+
*/
|
|
2566
|
+
declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disabled, noClick, noKeyboard, onFilesChange, onFilesRejected, }?: FileDropTargetOptions) => FileDropTarget;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* Rejections from the most recent drop, read from the enclosing `FileUpload`. Use it to render
|
|
2570
|
+
* your own "why was this refused" copy next to the drop zone — `FileUpload` ships none, because
|
|
2571
|
+
* the wording is product copy. Replaced on every drop, so it never goes stale.
|
|
2572
|
+
*/
|
|
2573
|
+
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Props for `FileUpload`. The component is uncontrolled with respect to the file
|
|
2577
|
+
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
2578
|
+
* `FileUpload` only signals drop events; it does not store the file array.
|
|
2579
|
+
*/
|
|
2580
|
+
type Props$R = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
2509
2581
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
2510
2582
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
2511
2583
|
children: ReactNode;
|
|
2512
2584
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'>;
|
|
2513
|
-
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
2514
|
-
DropZone: ({ children, className, ...rest }: {
|
|
2585
|
+
declare const FileUpload: (({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$R) => react_jsx_runtime.JSX.Element) & {
|
|
2586
|
+
DropZone: ({ children, inputId, className, ...rest }: {
|
|
2515
2587
|
children?: ReactNode;
|
|
2588
|
+
inputId?: string;
|
|
2516
2589
|
} & Omit<HTMLAttributes<HTMLDivElement>, "children">) => react_jsx_runtime.JSX.Element;
|
|
2517
|
-
FileList: ({ files, onRemove, className, ...rest }: {
|
|
2590
|
+
FileList: ({ files, onRemove, invalid, className, ...rest }: {
|
|
2518
2591
|
files: File[];
|
|
2519
2592
|
onRemove?: (file: File, index: number) => void;
|
|
2593
|
+
invalid?: boolean;
|
|
2520
2594
|
} & Omit<HTMLAttributes<HTMLUListElement>, "children">) => react_jsx_runtime.JSX.Element | null;
|
|
2521
2595
|
};
|
|
2522
2596
|
|
|
@@ -2551,11 +2625,11 @@ declare const FormGroup: {
|
|
|
2551
2625
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2552
2626
|
color?: string | undefined | undefined;
|
|
2553
2627
|
prefix?: string | undefined | undefined;
|
|
2554
|
-
id?: string | undefined | undefined;
|
|
2555
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2556
2628
|
slot?: string | undefined | undefined;
|
|
2557
2629
|
style?: react.CSSProperties | undefined;
|
|
2558
2630
|
title?: string | undefined | undefined;
|
|
2631
|
+
id?: string | undefined | undefined;
|
|
2632
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2559
2633
|
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
2560
2634
|
key?: react.Key | null | undefined;
|
|
2561
2635
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -2841,14 +2915,14 @@ declare const FormGroup: {
|
|
|
2841
2915
|
translate?: "yes" | "no" | undefined | undefined;
|
|
2842
2916
|
color?: string | undefined | undefined;
|
|
2843
2917
|
prefix?: react.ReactNode;
|
|
2844
|
-
id?: string | undefined | undefined;
|
|
2845
|
-
name?: string | undefined | undefined;
|
|
2846
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2847
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
2848
2918
|
form?: string | undefined | undefined;
|
|
2849
2919
|
slot?: string | undefined | undefined;
|
|
2850
2920
|
style?: react.CSSProperties | undefined;
|
|
2851
2921
|
title?: string | undefined | undefined;
|
|
2922
|
+
id?: string | undefined | undefined;
|
|
2923
|
+
name?: string | undefined | undefined;
|
|
2924
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
2925
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
2852
2926
|
pattern?: string | undefined | undefined;
|
|
2853
2927
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
2854
2928
|
key?: react.Key | null | undefined;
|
|
@@ -3149,7 +3223,7 @@ declare const FormGroup: {
|
|
|
3149
3223
|
readOnly?: boolean | undefined | undefined;
|
|
3150
3224
|
required?: boolean | undefined | undefined;
|
|
3151
3225
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3152
|
-
sizing?: "
|
|
3226
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3153
3227
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3154
3228
|
rightSuffix?: react.ReactNode;
|
|
3155
3229
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -3164,14 +3238,14 @@ declare const FormGroup: {
|
|
|
3164
3238
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3165
3239
|
color?: string | undefined | undefined;
|
|
3166
3240
|
prefix?: react.ReactNode;
|
|
3167
|
-
id?: string | undefined | undefined;
|
|
3168
|
-
name?: string | undefined | undefined;
|
|
3169
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3170
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3171
3241
|
form?: string | undefined | undefined;
|
|
3172
3242
|
slot?: string | undefined | undefined;
|
|
3173
3243
|
style?: react.CSSProperties | undefined;
|
|
3174
3244
|
title?: string | undefined | undefined;
|
|
3245
|
+
id?: string | undefined | undefined;
|
|
3246
|
+
name?: string | undefined | undefined;
|
|
3247
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3248
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3175
3249
|
pattern?: string | undefined | undefined;
|
|
3176
3250
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
3177
3251
|
key?: react.Key | null | undefined;
|
|
@@ -3473,7 +3547,7 @@ declare const FormGroup: {
|
|
|
3473
3547
|
readOnly?: boolean | undefined | undefined;
|
|
3474
3548
|
required?: boolean | undefined | undefined;
|
|
3475
3549
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
3476
|
-
sizing?: "
|
|
3550
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3477
3551
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3478
3552
|
suffix?: react.ReactNode;
|
|
3479
3553
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3483,14 +3557,14 @@ declare const FormGroup: {
|
|
|
3483
3557
|
translate?: "yes" | "no" | undefined | undefined;
|
|
3484
3558
|
color?: string | undefined | undefined;
|
|
3485
3559
|
prefix?: string | undefined | undefined;
|
|
3486
|
-
id?: string | undefined | undefined;
|
|
3487
|
-
name?: string | undefined | undefined;
|
|
3488
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3489
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3490
3560
|
form?: string | undefined | undefined;
|
|
3491
3561
|
slot?: string | undefined | undefined;
|
|
3492
3562
|
style?: react.CSSProperties | undefined;
|
|
3493
3563
|
title?: string | undefined | undefined;
|
|
3564
|
+
id?: string | undefined | undefined;
|
|
3565
|
+
name?: string | undefined | undefined;
|
|
3566
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3567
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3494
3568
|
pattern?: string | undefined | undefined;
|
|
3495
3569
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
3496
3570
|
key?: react.Key | null | undefined;
|
|
@@ -3793,7 +3867,7 @@ declare const FormGroup: {
|
|
|
3793
3867
|
readOnly?: boolean | undefined | undefined;
|
|
3794
3868
|
required?: boolean | undefined | undefined;
|
|
3795
3869
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
3796
|
-
sizing?: "
|
|
3870
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
3797
3871
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
3798
3872
|
allowClear?: boolean | undefined;
|
|
3799
3873
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -3803,16 +3877,16 @@ declare const FormGroup: {
|
|
|
3803
3877
|
wrap?: string | undefined | undefined;
|
|
3804
3878
|
color?: string | undefined | undefined;
|
|
3805
3879
|
prefix?: string | undefined | undefined;
|
|
3806
|
-
id?: string | undefined | undefined;
|
|
3807
|
-
name?: string | undefined | undefined;
|
|
3808
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3809
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
3810
3880
|
form?: string | undefined | undefined;
|
|
3811
3881
|
slot?: string | undefined | undefined;
|
|
3812
3882
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
3813
3883
|
height?: number;
|
|
3814
3884
|
}) | undefined;
|
|
3815
3885
|
title?: string | undefined | undefined;
|
|
3886
|
+
id?: string | undefined | undefined;
|
|
3887
|
+
name?: string | undefined | undefined;
|
|
3888
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
3889
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
3816
3890
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
3817
3891
|
key?: react.Key | null | undefined;
|
|
3818
3892
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -4103,7 +4177,7 @@ declare const FormGroup: {
|
|
|
4103
4177
|
cacheMeasurements?: boolean | undefined;
|
|
4104
4178
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4105
4179
|
disableResize?: boolean | undefined;
|
|
4106
|
-
sizing?: "
|
|
4180
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
4107
4181
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
4108
4182
|
containerClassName?: string | undefined;
|
|
4109
4183
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -4112,43 +4186,43 @@ declare const FormGroup: {
|
|
|
4112
4186
|
declare const helpVariants: (props?: ({
|
|
4113
4187
|
state?: "warning" | "default" | null | undefined;
|
|
4114
4188
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4115
|
-
type Props$
|
|
4116
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4189
|
+
type Props$Q = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4190
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$Q) => react_jsx_runtime.JSX.Element | null;
|
|
4117
4191
|
|
|
4118
4192
|
type AnswerItem = {
|
|
4119
4193
|
question: string;
|
|
4120
4194
|
answer?: string;
|
|
4121
4195
|
};
|
|
4122
4196
|
type Variant$5 = 'success' | 'dismissed';
|
|
4123
|
-
type Props$
|
|
4197
|
+
type Props$P = {
|
|
4124
4198
|
items: readonly AnswerItem[];
|
|
4125
4199
|
variant?: Variant$5;
|
|
4126
4200
|
noAnswerLabel?: string;
|
|
4127
4201
|
};
|
|
4128
|
-
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$
|
|
4202
|
+
declare const AnswerSummary: ({ items, variant, noAnswerLabel, }: Props$P) => react_jsx_runtime.JSX.Element;
|
|
4129
4203
|
|
|
4130
4204
|
type Variant$4 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4131
|
-
type Props$
|
|
4205
|
+
type Props$O = {
|
|
4132
4206
|
isExpanded: boolean;
|
|
4133
4207
|
onToggle: () => void;
|
|
4134
4208
|
label: ReactNode;
|
|
4135
4209
|
variant?: Variant$4;
|
|
4136
4210
|
};
|
|
4137
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$
|
|
4211
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, }: Props$O) => react_jsx_runtime.JSX.Element;
|
|
4138
4212
|
|
|
4139
|
-
type Props$
|
|
4213
|
+
type Props$N = {
|
|
4140
4214
|
children: ReactNode;
|
|
4141
4215
|
};
|
|
4142
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
4216
|
+
declare const InlineStepDetail: ({ children }: Props$N) => react_jsx_runtime.JSX.Element;
|
|
4143
4217
|
|
|
4144
4218
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4145
|
-
type Props$
|
|
4219
|
+
type Props$M = {
|
|
4146
4220
|
variant: Variant$3;
|
|
4147
4221
|
children: ReactNode;
|
|
4148
4222
|
};
|
|
4149
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
4223
|
+
declare const InlineStepLabel: ({ variant, children }: Props$M) => react_jsx_runtime.JSX.Element;
|
|
4150
4224
|
|
|
4151
|
-
type Props$
|
|
4225
|
+
type Props$L = {
|
|
4152
4226
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4153
4227
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4154
4228
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4160,9 +4234,9 @@ type Props$J = {
|
|
|
4160
4234
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4161
4235
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4162
4236
|
*/
|
|
4163
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4237
|
+
declare const Markdown: ({ children, className }: Props$L) => react_jsx_runtime.JSX.Element;
|
|
4164
4238
|
|
|
4165
|
-
type Props$
|
|
4239
|
+
type Props$K = {
|
|
4166
4240
|
user?: {
|
|
4167
4241
|
name: string | undefined;
|
|
4168
4242
|
email: string | undefined;
|
|
@@ -4172,15 +4246,15 @@ type Props$I = {
|
|
|
4172
4246
|
size?: number;
|
|
4173
4247
|
variant?: 'circle' | 'rounded';
|
|
4174
4248
|
} & ComponentProps<'span'>;
|
|
4175
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4249
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$K) => react_jsx_runtime.JSX.Element;
|
|
4176
4250
|
|
|
4177
|
-
type Props$
|
|
4251
|
+
type Props$J = {
|
|
4178
4252
|
variant: 'user' | 'assistant';
|
|
4179
4253
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4180
4254
|
actions?: ReactNode;
|
|
4181
4255
|
createdAt?: string;
|
|
4182
4256
|
} & PropsWithChildren;
|
|
4183
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4257
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$J) => react_jsx_runtime.JSX.Element;
|
|
4184
4258
|
|
|
4185
4259
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
4186
4260
|
type PlanApprovalProps = {
|
|
@@ -4230,15 +4304,15 @@ type PromptCommand = {
|
|
|
4230
4304
|
};
|
|
4231
4305
|
|
|
4232
4306
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4233
|
-
type Props$
|
|
4307
|
+
type Props$I = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4234
4308
|
status?: SubmitStatus;
|
|
4235
4309
|
};
|
|
4236
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
4310
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$I) => react_jsx_runtime.JSX.Element;
|
|
4237
4311
|
|
|
4238
4312
|
declare const promptInputVariants: (props?: ({
|
|
4239
4313
|
variant?: "inline" | "default" | null | undefined;
|
|
4240
4314
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4241
|
-
type Props$
|
|
4315
|
+
type Props$H = {
|
|
4242
4316
|
onSend?: (value: string) => void;
|
|
4243
4317
|
onAbort?: () => void;
|
|
4244
4318
|
onContinue?: () => void;
|
|
@@ -4252,7 +4326,7 @@ type Props$F = {
|
|
|
4252
4326
|
commands?: PromptCommand[];
|
|
4253
4327
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof react_textarea_autosize__default>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4254
4328
|
declare const PromptInput: {
|
|
4255
|
-
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4329
|
+
({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$H): react_jsx_runtime.JSX.Element;
|
|
4256
4330
|
Action: ({ ref, onMouseDown, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4257
4331
|
};
|
|
4258
4332
|
|
|
@@ -4262,7 +4336,7 @@ type QuestionOption = {
|
|
|
4262
4336
|
description?: string;
|
|
4263
4337
|
preview?: string;
|
|
4264
4338
|
};
|
|
4265
|
-
type Props$
|
|
4339
|
+
type Props$G = {
|
|
4266
4340
|
question: string;
|
|
4267
4341
|
header?: string;
|
|
4268
4342
|
options: readonly QuestionOption[];
|
|
@@ -4285,7 +4359,7 @@ type Props$E = {
|
|
|
4285
4359
|
renderPreview?: (content: string) => ReactNode;
|
|
4286
4360
|
className?: string;
|
|
4287
4361
|
};
|
|
4288
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$
|
|
4362
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className, }: Props$G) => react_jsx_runtime.JSX.Element;
|
|
4289
4363
|
|
|
4290
4364
|
type QuestionStep = {
|
|
4291
4365
|
question: string;
|
|
@@ -4299,7 +4373,7 @@ type QuestionAnswers = {
|
|
|
4299
4373
|
selections: Record<number, readonly string[]>;
|
|
4300
4374
|
customAnswers: Record<number, string>;
|
|
4301
4375
|
};
|
|
4302
|
-
type Props$
|
|
4376
|
+
type Props$F = {
|
|
4303
4377
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
4304
4378
|
showSkip?: boolean;
|
|
4305
4379
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -4307,16 +4381,16 @@ type Props$D = {
|
|
|
4307
4381
|
renderPreview?: (content: string) => ReactNode;
|
|
4308
4382
|
className?: string;
|
|
4309
4383
|
};
|
|
4310
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$
|
|
4384
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className, }: Props$F) => react_jsx_runtime.JSX.Element;
|
|
4311
4385
|
|
|
4312
|
-
type Props$
|
|
4386
|
+
type Props$E = {
|
|
4313
4387
|
label: string;
|
|
4314
4388
|
disabled?: boolean;
|
|
4315
4389
|
onClick: () => void;
|
|
4316
4390
|
icon?: ReactNode;
|
|
4317
4391
|
className?: string;
|
|
4318
4392
|
};
|
|
4319
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4393
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$E) => react_jsx_runtime.JSX.Element;
|
|
4320
4394
|
|
|
4321
4395
|
type ThinkingIndicatorProps = {
|
|
4322
4396
|
label?: string;
|
|
@@ -4375,7 +4449,7 @@ type ToolCallChipProps = {
|
|
|
4375
4449
|
*/
|
|
4376
4450
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className, }: ToolCallChipProps) => react_jsx_runtime.JSX.Element;
|
|
4377
4451
|
|
|
4378
|
-
type Props$
|
|
4452
|
+
type Props$D = {
|
|
4379
4453
|
value: number;
|
|
4380
4454
|
alert?: boolean;
|
|
4381
4455
|
children: ReactNode;
|
|
@@ -4389,28 +4463,28 @@ type Props$B = {
|
|
|
4389
4463
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4390
4464
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4391
4465
|
};
|
|
4392
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$
|
|
4466
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, }: Props$D) => react_jsx_runtime.JSX.Element;
|
|
4393
4467
|
|
|
4394
|
-
type Props$
|
|
4468
|
+
type Props$C = {
|
|
4395
4469
|
value: number;
|
|
4396
4470
|
size?: number;
|
|
4397
4471
|
strokeWidth?: number;
|
|
4398
4472
|
className?: string;
|
|
4399
4473
|
};
|
|
4400
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4474
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$C) => react_jsx_runtime.JSX.Element;
|
|
4401
4475
|
|
|
4402
|
-
type Props$
|
|
4476
|
+
type Props$B = ComponentProps<typeof Root$9>;
|
|
4403
4477
|
declare const Collapsible: {
|
|
4404
|
-
(props: Props$
|
|
4405
|
-
Trigger:
|
|
4478
|
+
(props: Props$B): react_jsx_runtime.JSX.Element;
|
|
4479
|
+
Trigger: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4406
4480
|
Content: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4407
4481
|
};
|
|
4408
4482
|
|
|
4409
4483
|
type Variant$2 = 'info' | 'warning' | 'error' | 'success';
|
|
4410
|
-
type Props$
|
|
4484
|
+
type Props$A = {
|
|
4411
4485
|
variant?: Variant$2;
|
|
4412
4486
|
} & ComponentProps<'div'>;
|
|
4413
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4487
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$A) => react_jsx_runtime.JSX.Element;
|
|
4414
4488
|
|
|
4415
4489
|
type CommonProps = {
|
|
4416
4490
|
hideIcon?: boolean;
|
|
@@ -4433,7 +4507,7 @@ type DefaultProps = {
|
|
|
4433
4507
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4434
4508
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4435
4509
|
*/
|
|
4436
|
-
type Props$
|
|
4510
|
+
type Props$z = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4437
4511
|
/**
|
|
4438
4512
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4439
4513
|
*
|
|
@@ -4447,13 +4521,13 @@ type Props$x = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4447
4521
|
*
|
|
4448
4522
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4449
4523
|
*/
|
|
4450
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4524
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$z) => react_jsx_runtime.JSX.Element;
|
|
4451
4525
|
|
|
4452
4526
|
declare const variants$1: (props?: ({
|
|
4453
4527
|
variant?: "success" | "warning" | "info" | "default" | "error" | null | undefined;
|
|
4454
4528
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4455
4529
|
type Variants = VariantProps<typeof variants$1>;
|
|
4456
|
-
type Props$
|
|
4530
|
+
type Props$y = {
|
|
4457
4531
|
id: string | number;
|
|
4458
4532
|
title: ReactNode;
|
|
4459
4533
|
icon?: ReactNode;
|
|
@@ -4462,7 +4536,7 @@ type Props$w = {
|
|
|
4462
4536
|
loading?: boolean;
|
|
4463
4537
|
duration?: number;
|
|
4464
4538
|
} & Variants;
|
|
4465
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$
|
|
4539
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp, }: Props$y) => react_jsx_runtime.JSX.Element;
|
|
4466
4540
|
|
|
4467
4541
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
4468
4542
|
type Title = ToastProps['title'] | ((opts: {
|
|
@@ -4483,7 +4557,7 @@ declare const toast: {
|
|
|
4483
4557
|
dismissAll(): string | number;
|
|
4484
4558
|
};
|
|
4485
4559
|
|
|
4486
|
-
type Props$
|
|
4560
|
+
type Props$x = {
|
|
4487
4561
|
enabled?: boolean;
|
|
4488
4562
|
} & Parameters<typeof toast>[0];
|
|
4489
4563
|
/**
|
|
@@ -4496,22 +4570,22 @@ type Props$v = {
|
|
|
4496
4570
|
* Use `toast()` for transient feedback after a user action
|
|
4497
4571
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4498
4572
|
*/
|
|
4499
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4573
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$x) => void;
|
|
4500
4574
|
|
|
4501
4575
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4502
4576
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
4503
4577
|
|
|
4504
|
-
type Props$
|
|
4578
|
+
type Props$w = {
|
|
4505
4579
|
children?: ReactNode;
|
|
4506
4580
|
};
|
|
4507
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4581
|
+
declare const EmptySearchContent: ({ children }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
4508
4582
|
|
|
4509
|
-
type Props$
|
|
4583
|
+
type Props$v = {
|
|
4510
4584
|
title: string;
|
|
4511
4585
|
children: ReactNode;
|
|
4512
4586
|
className?: string;
|
|
4513
4587
|
};
|
|
4514
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4588
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
4515
4589
|
|
|
4516
4590
|
declare const emptyStateClassnames: (props?: ({
|
|
4517
4591
|
variant?: "compact" | "default" | null | undefined;
|
|
@@ -4587,10 +4661,14 @@ type SlotProps$1 = ComponentProps<'div'> & {
|
|
|
4587
4661
|
variant?: Variant;
|
|
4588
4662
|
};
|
|
4589
4663
|
declare const ErrorStateIcon: ({ className, variant, children, ...rest }: SlotProps$1) => react_jsx_runtime.JSX.Element;
|
|
4664
|
+
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4590
4665
|
type TitleProps$1 = ComponentProps<'h3'> & {
|
|
4591
4666
|
variant?: Variant;
|
|
4667
|
+
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
4668
|
+
* (e.g. `as="h2"` when the error state sits directly under a page's `h1`). */
|
|
4669
|
+
as?: HeadingLevel;
|
|
4592
4670
|
};
|
|
4593
|
-
declare const ErrorStateTitle: ({ className, variant, children, ...rest }: TitleProps$1) => react_jsx_runtime.JSX.Element;
|
|
4671
|
+
declare const ErrorStateTitle: ({ className, variant, as: Tag, children, ...rest }: TitleProps$1) => react_jsx_runtime.JSX.Element;
|
|
4594
4672
|
type DescriptionProps$1 = ComponentProps<'p'> & {
|
|
4595
4673
|
variant?: Variant;
|
|
4596
4674
|
};
|
|
@@ -4651,24 +4729,10 @@ declare const variants: (props?: ({
|
|
|
4651
4729
|
variant?: "success" | "default" | null | undefined;
|
|
4652
4730
|
size?: "sm" | "lg" | null | undefined;
|
|
4653
4731
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4654
|
-
type Props$
|
|
4655
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
4656
|
-
|
|
4657
|
-
/** @deprecated Use `Collapsible` instead. */
|
|
4658
|
-
type CollapseProps = {
|
|
4659
|
-
open: boolean;
|
|
4660
|
-
header: ReactNode;
|
|
4661
|
-
className?: string;
|
|
4662
|
-
bodyClassName?: string;
|
|
4663
|
-
children: ReactNode;
|
|
4664
|
-
onClick?: () => void;
|
|
4665
|
-
animationClassName?: string;
|
|
4666
|
-
hidden?: boolean;
|
|
4667
|
-
};
|
|
4668
|
-
/** @deprecated Use `Collapsible` instead. */
|
|
4669
|
-
declare const Collapse: ({ open, header, className, bodyClassName, children, onClick, animationClassName, hidden, ...rest }: CollapseProps & ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4732
|
+
type Props$u = ComponentProps<typeof Root$a> & VariantProps<typeof variants>;
|
|
4733
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
4670
4734
|
|
|
4671
|
-
type Props$
|
|
4735
|
+
type Props$t = {
|
|
4672
4736
|
header: ReactNode;
|
|
4673
4737
|
isDisabled?: boolean;
|
|
4674
4738
|
defaultExpanded?: boolean;
|
|
@@ -4680,22 +4744,59 @@ type Props$r = {
|
|
|
4680
4744
|
variant?: 'default' | 'white';
|
|
4681
4745
|
children: ReactNode;
|
|
4682
4746
|
};
|
|
4683
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$
|
|
4747
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant, }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
4684
4748
|
|
|
4685
|
-
type Props$
|
|
4749
|
+
type Props$s = PropsWithChildren<{
|
|
4686
4750
|
defaultExpanded?: boolean;
|
|
4687
4751
|
labelCollapse?: ReactNode;
|
|
4688
4752
|
labelOpen?: ReactNode;
|
|
4689
4753
|
placement?: 'top' | 'bottom';
|
|
4690
4754
|
className?: string;
|
|
4691
4755
|
}>;
|
|
4692
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$
|
|
4756
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children, }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
4757
|
+
|
|
4758
|
+
/**
|
|
4759
|
+
* How far the header row stretches across the shell.
|
|
4760
|
+
*
|
|
4761
|
+
* - `content` — the header occupies the middle column only (`"sidebar header aside"`),
|
|
4762
|
+
* so both rails sit beside it and run the full height.
|
|
4763
|
+
* - `full` — the header spans all three columns and the rails sit below it, so the
|
|
4764
|
+
* brand mark aligns to the viewport's left edge.
|
|
4765
|
+
*
|
|
4766
|
+
* Only the sidebar geometry honours this; the top-nav geometry's header is
|
|
4767
|
+
* already full width.
|
|
4768
|
+
*/
|
|
4769
|
+
type AppShellHeaderSpan = 'content' | 'full';
|
|
4693
4770
|
|
|
4694
|
-
type RootProps$4 = ComponentPropsWithoutRef<'div'
|
|
4771
|
+
type RootProps$4 = ComponentPropsWithoutRef<'div'> & {
|
|
4772
|
+
/**
|
|
4773
|
+
* How far the header row stretches. `content` (default) gives it the middle
|
|
4774
|
+
* column only, with both rails beside it; `full` spans all three columns and
|
|
4775
|
+
* drops the rails below it, so the brand mark aligns to the viewport edge.
|
|
4776
|
+
* No-op under the top-nav geometry, whose header is already full width.
|
|
4777
|
+
*
|
|
4778
|
+
* Reach for `full` when the header carries app-wide identity (brand mark,
|
|
4779
|
+
* project switcher, account menu) rather than page-level navigation.
|
|
4780
|
+
*/
|
|
4781
|
+
headerSpan?: AppShellHeaderSpan;
|
|
4782
|
+
};
|
|
4695
4783
|
type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
4696
4784
|
/** Render as the child element (Radix-Slot pattern), forwarding props onto it. */
|
|
4697
4785
|
asChild?: boolean;
|
|
4698
4786
|
};
|
|
4787
|
+
type ChromeSlotProps = SlotProps & {
|
|
4788
|
+
/**
|
|
4789
|
+
* Drop the slot's own padding, background and border so a hosted chrome component
|
|
4790
|
+
* (`Navbar` in `Header`, `Sidebar side="right"` in `Aside`) can render edge to edge.
|
|
4791
|
+
*
|
|
4792
|
+
* The slots paint themselves, which is right when you put content straight into them.
|
|
4793
|
+
* It is wrong when the child is already a full-bleed surface: the child ends up inset
|
|
4794
|
+
* inside the slot with the slot's background showing through as gutters at each end.
|
|
4795
|
+
* Use this instead of re-stating the overrides at the call site — hand-written
|
|
4796
|
+
* overrides also have to win a cascade fight, which is why they tend to grow an `!`.
|
|
4797
|
+
*/
|
|
4798
|
+
flush?: boolean;
|
|
4799
|
+
};
|
|
4699
4800
|
/**
|
|
4700
4801
|
* App-shell layout primitive. Reads `useTheme().brand.shell` and dispatches to
|
|
4701
4802
|
* a sidebar (left rail) or top-nav geometry. Consumers compose the same
|
|
@@ -4705,7 +4806,8 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
4705
4806
|
*
|
|
4706
4807
|
* **When to use:** the root layout of any app that wants to follow the active
|
|
4707
4808
|
* brand's shell geometry. Host a `PageLayout` inside `<AppShell.Main>` for
|
|
4708
|
-
* the per-page content column.
|
|
4809
|
+
* the per-page content column. Pass `headerSpan="full"` for a full-bleed header
|
|
4810
|
+
* row above both rails.
|
|
4709
4811
|
* **When NOT to use:** standalone screens that aren't part of a navigated app
|
|
4710
4812
|
* (sign-in, error pages). Render those without `AppShell`.
|
|
4711
4813
|
* **Composition:** must be rendered inside a `<ThemeProvider>` — the geometry
|
|
@@ -4715,14 +4817,14 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
4715
4817
|
* @see AppShell.stories.tsx — flip the Storybook brand toolbar to see the
|
|
4716
4818
|
* sidebar / top-nav geometry swap from a single composition.
|
|
4717
4819
|
*/
|
|
4718
|
-
declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 & {
|
|
4820
|
+
declare const AppShell: (({ ref, className, headerSpan, children, ...props }: RootProps$4 & {
|
|
4719
4821
|
ref?: Ref<ComponentRef<"div">>;
|
|
4720
4822
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
4721
4823
|
/**
|
|
4722
4824
|
* Top header row. Renders above `Main` in the sidebar shell; renders as the
|
|
4723
4825
|
* top bar (with full-width navigation room) in the top-nav shell.
|
|
4724
4826
|
*/
|
|
4725
|
-
Header: ({ ref, className, asChild, children, ...props }:
|
|
4827
|
+
Header: ({ ref, className, asChild, flush, children, ...props }: ChromeSlotProps & {
|
|
4726
4828
|
ref?: Ref<ComponentRef<"header">>;
|
|
4727
4829
|
}) => react_jsx_runtime.JSX.Element;
|
|
4728
4830
|
/**
|
|
@@ -4742,7 +4844,7 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
4742
4844
|
ref?: Ref<ComponentRef<"main">>;
|
|
4743
4845
|
}) => react_jsx_runtime.JSX.Element;
|
|
4744
4846
|
/** Optional right rail. Present in both shells. */
|
|
4745
|
-
Aside: ({ ref, className, asChild, children, ...props }:
|
|
4847
|
+
Aside: ({ ref, className, asChild, flush, children, ...props }: ChromeSlotProps & {
|
|
4746
4848
|
ref?: Ref<ComponentRef<"aside">>;
|
|
4747
4849
|
}) => react_jsx_runtime.JSX.Element;
|
|
4748
4850
|
};
|
|
@@ -4755,6 +4857,12 @@ declare const AppShell: (({ ref, className, children, ...props }: RootProps$4 &
|
|
|
4755
4857
|
type RootProps$3 = ComponentProps<'div'> & {
|
|
4756
4858
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
4757
4859
|
};
|
|
4860
|
+
type HeaderProps = ComponentProps<'header'> & {
|
|
4861
|
+
sticky?: boolean;
|
|
4862
|
+
};
|
|
4863
|
+
type ContentProps = ComponentProps<'div'> & {
|
|
4864
|
+
nav?: ReactNode;
|
|
4865
|
+
};
|
|
4758
4866
|
type FooterProps = ComponentProps<'footer'> & {
|
|
4759
4867
|
sticky?: boolean;
|
|
4760
4868
|
};
|
|
@@ -4774,16 +4882,17 @@ type FooterProps = ComponentProps<'footer'> & {
|
|
|
4774
4882
|
* `PageLayout.Footer sticky`.
|
|
4775
4883
|
*
|
|
4776
4884
|
* @see RECIPES.md#list-detail — for the index → detail page pattern
|
|
4885
|
+
* @see RECIPES.md#section-nav — for the in-page vertical navigation pattern
|
|
4777
4886
|
*/
|
|
4778
4887
|
declare const PageLayout: (({ ref, className, maxWidth, children, ...props }: RootProps$3) => react_jsx_runtime.JSX.Element) & {
|
|
4779
4888
|
/** Detail-pattern breadcrumb row. Usually composed automatically by `PageHeader.Detail` — slot exists for layouts that don't fit either `PageHeader` variant. */
|
|
4780
4889
|
Breadcrumbs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4781
|
-
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. */
|
|
4782
|
-
Header: ({ ref, className, children, ...props }:
|
|
4890
|
+
/** Host slot for `PageHeader.Index` / `PageHeader.Detail`, or custom header JSX when neither variant fits. Pass `sticky` to pin it — it then also publishes its measured height as `--page-header-height` on the root, which `Content nav` pins the nav to. */
|
|
4891
|
+
Header: ({ ref, className, sticky, children, ...props }: HeaderProps) => react_jsx_runtime.JSX.Element;
|
|
4783
4892
|
/** Escape hatch for routing-based tab rows. Use `Tabs` / `TabsContent` core components inside, never a raw `<button>`. */
|
|
4784
4893
|
Tabs: ({ ref, className, children, ...props }: ComponentProps<"div">) => react_jsx_runtime.JSX.Element;
|
|
4785
|
-
/** Main content slot. Lists, cards, tables. */
|
|
4786
|
-
Content: ({ ref, className, children, ...props }:
|
|
4894
|
+
/** Main content slot. Lists, cards, tables. Pass `nav` (a `SectionNav`) for the two-column in-page-navigation layout; without it the slot is a plain column, exactly as before. */
|
|
4895
|
+
Content: ({ ref, className, nav, children, ...props }: ContentProps) => react_jsx_runtime.JSX.Element;
|
|
4787
4896
|
/** Bottom action bar — form submit + cancel. Pass `sticky` for a footer that pins to the viewport. */
|
|
4788
4897
|
Footer: ({ ref, className, sticky, children, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
4789
4898
|
};
|
|
@@ -4832,21 +4941,21 @@ declare const addonVariants: (props?: ({
|
|
|
4832
4941
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
4833
4942
|
variant?: "inline" | "floating" | null | undefined;
|
|
4834
4943
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4835
|
-
type Props$
|
|
4836
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
4944
|
+
type Props$r = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
4945
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
4837
4946
|
|
|
4838
|
-
type Props$
|
|
4947
|
+
type Props$q = ComponentProps<'span'> & {
|
|
4839
4948
|
asChild?: boolean;
|
|
4840
4949
|
};
|
|
4841
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
4950
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
4842
4951
|
|
|
4843
4952
|
declare const badgeRootVariants: (props?: ({
|
|
4844
4953
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4845
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
4954
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4846
4955
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4847
4956
|
|
|
4848
|
-
type Props$
|
|
4849
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
4957
|
+
type Props$p = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
4958
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
4850
4959
|
|
|
4851
4960
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
4852
4961
|
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
@@ -4856,17 +4965,17 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
4856
4965
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
4857
4966
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
4858
4967
|
*/
|
|
4859
|
-
type Props$
|
|
4968
|
+
type Props$o = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
4860
4969
|
prefix?: ReactNode;
|
|
4861
4970
|
prefixVariant?: AddonVariant;
|
|
4862
4971
|
suffix?: ReactNode;
|
|
4863
4972
|
suffixVariant?: AddonVariant;
|
|
4864
4973
|
labelClassName?: string;
|
|
4865
4974
|
};
|
|
4866
|
-
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
4975
|
+
declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$o) => react_jsx_runtime.JSX.Element) & {
|
|
4867
4976
|
Root: ({ ref, variant, color, className, children, ...rest }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4868
4977
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4869
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
4978
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4870
4979
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
4871
4980
|
Button: ({ ref, className, type, children, ...rest }: react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
4872
4981
|
Label: ({ ref, className, asChild, ...rest }: react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -4936,7 +5045,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
4936
5045
|
*/
|
|
4937
5046
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
4938
5047
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
4939
|
-
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "
|
|
5048
|
+
color?: "white" | "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
4940
5049
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "color" | "variant"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
4941
5050
|
asChild?: boolean;
|
|
4942
5051
|
}, "prefix"> & {
|
|
@@ -4957,7 +5066,107 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
4957
5066
|
Clear: ({ className, children, ...props }: ActionProps) => react_jsx_runtime.JSX.Element;
|
|
4958
5067
|
};
|
|
4959
5068
|
|
|
4960
|
-
type
|
|
5069
|
+
type SectionNavItem = {
|
|
5070
|
+
/**
|
|
5071
|
+
* Identity **and** navigation target: `renderItem` gets it back as `targetId`, and `activeId` is
|
|
5072
|
+
* matched against it. Unique across the whole `groups` array.
|
|
5073
|
+
*/
|
|
5074
|
+
id: string;
|
|
5075
|
+
title: string;
|
|
5076
|
+
icon?: LucideIcon;
|
|
5077
|
+
/** Printed under the title when `showDescriptions` is on. */
|
|
5078
|
+
description?: string;
|
|
5079
|
+
/** Marks the row with a "New" badge. */
|
|
5080
|
+
isNew?: boolean;
|
|
5081
|
+
};
|
|
5082
|
+
type SectionNavGroup = SectionNavItem & {
|
|
5083
|
+
/**
|
|
5084
|
+
* Sub-sections, each a destination of its own. A group with children navigates to its first one,
|
|
5085
|
+
* so only a **childless** group's `id` is ever used as a target — that one has to be routable.
|
|
5086
|
+
*/
|
|
5087
|
+
children: SectionNavItem[];
|
|
5088
|
+
/** Rendered under the group's children in the tree — e.g. "More apps coming soon." */
|
|
5089
|
+
note?: ReactNode;
|
|
5090
|
+
};
|
|
5091
|
+
type SectionNavItemRenderProps = {
|
|
5092
|
+
/** Where this row goes. A group with children resolves to `children[0].id`. */
|
|
5093
|
+
targetId: string;
|
|
5094
|
+
/** `true` when `activeId` names this exact row. A group holding the active child is not "active". */
|
|
5095
|
+
isActive: boolean;
|
|
5096
|
+
/** The composed row body — icon, title, "New" badge, chevron, description. Render as children. */
|
|
5097
|
+
children: ReactNode;
|
|
5098
|
+
/**
|
|
5099
|
+
* Spread whole onto the clickable element; don't cherry-pick. `onClick` owns the group's open
|
|
5100
|
+
* state and calls `preventDefault()` on a click that only collapses a group, so a link handed
|
|
5101
|
+
* these props never navigates when it shouldn't — every router `Link` worth using checks
|
|
5102
|
+
* `defaultPrevented` before it navigates. If yours doesn't, render an `<a>` and navigate yourself.
|
|
5103
|
+
*/
|
|
5104
|
+
itemProps: {
|
|
5105
|
+
className: string;
|
|
5106
|
+
'aria-current': 'page' | undefined;
|
|
5107
|
+
'aria-expanded': boolean | undefined;
|
|
5108
|
+
/** `true` on a group row whose subtree holds the active section — the row is tinted, but it is
|
|
5109
|
+
* not the current page, so it carries no `aria-current`. */
|
|
5110
|
+
'data-active': true | undefined;
|
|
5111
|
+
onClick: (event: MouseEvent$1<HTMLElement>) => void;
|
|
5112
|
+
};
|
|
5113
|
+
};
|
|
5114
|
+
|
|
5115
|
+
type Props$n = {
|
|
5116
|
+
/**
|
|
5117
|
+
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
5118
|
+
* app — this block renders exactly what it is handed, in order.
|
|
5119
|
+
*/
|
|
5120
|
+
groups: SectionNavGroup[];
|
|
5121
|
+
/** `id` of the current section: a child's, or a childless group's. */
|
|
5122
|
+
activeId?: string;
|
|
5123
|
+
/**
|
|
5124
|
+
* Renders the clickable element for one row, so routing never enters the design system. Return a
|
|
5125
|
+
* `NavLink` / TanStack `Link` / `<a>` pointing at `targetId` and spread `itemProps` onto it.
|
|
5126
|
+
*/
|
|
5127
|
+
renderItem: (props: SectionNavItemRenderProps) => ReactNode;
|
|
5128
|
+
/** Print each section's `description` under its title. Off — the tree stays scannable without it. */
|
|
5129
|
+
showDescriptions?: boolean;
|
|
5130
|
+
/** Accessible name for the tree's `<nav>`, and the collapsed label with nothing active. */
|
|
5131
|
+
label?: string;
|
|
5132
|
+
/** Applied to the tree's `<nav>`. The column's own geometry belongs to `PageLayout.Content nav`. */
|
|
5133
|
+
className?: string;
|
|
5134
|
+
};
|
|
5135
|
+
/**
|
|
5136
|
+
* In-page grouped navigation for one page's sections: a tree above the container's breakpoint, a
|
|
5137
|
+
* single dropdown below it. Both are rendered and CSS picks one, and both draw their rows through
|
|
5138
|
+
* the same renderer, so the two can never drift apart.
|
|
5139
|
+
*
|
|
5140
|
+
* **This is not `Sidebar`.** `Sidebar` is the app-level left rail — `SidebarProvider`, icon-collapse,
|
|
5141
|
+
* one per app shell, outside `PageLayout`. `SectionNav` is scoped to a single page's sections, lives
|
|
5142
|
+
* inside `PageLayout.Content`, and owns no global state. See `AGENTS.md`.
|
|
5143
|
+
*
|
|
5144
|
+
* **Router-agnostic:** `renderItem` is the seam. Pass it whatever your router calls a link.
|
|
5145
|
+
*
|
|
5146
|
+
* ```tsx
|
|
5147
|
+
* <PageLayout.Content nav={
|
|
5148
|
+
* <SectionNav
|
|
5149
|
+
* groups={groups}
|
|
5150
|
+
* activeId={activeId}
|
|
5151
|
+
* renderItem={({ targetId, children, itemProps }) => (
|
|
5152
|
+
* <Link to={targetId} {...itemProps}>{children}</Link>
|
|
5153
|
+
* )}
|
|
5154
|
+
* />
|
|
5155
|
+
* }>
|
|
5156
|
+
* {page}
|
|
5157
|
+
* </PageLayout.Content>
|
|
5158
|
+
* ```
|
|
5159
|
+
*
|
|
5160
|
+
* The tree↔dropdown switch is a **container** query on the content area's width, never the viewport
|
|
5161
|
+
* — a product sidebar or a chat panel narrows the page without the window resizing.
|
|
5162
|
+
* `PageLayout.Content nav={…}` names that container; standalone, put `tw:@container/section-nav` on
|
|
5163
|
+
* an ancestor yourself.
|
|
5164
|
+
*
|
|
5165
|
+
* @see RECIPES.md#section-nav
|
|
5166
|
+
*/
|
|
5167
|
+
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className, }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
5168
|
+
|
|
5169
|
+
type Props$m = {
|
|
4961
5170
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
4962
5171
|
variant?: 'mark' | 'wordmark';
|
|
4963
5172
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -4967,7 +5176,7 @@ type Props$l = {
|
|
|
4967
5176
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
4968
5177
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
4969
5178
|
*/
|
|
4970
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5179
|
+
declare const BrandLogo: ({ variant, className }: Props$m) => react_jsx_runtime.JSX.Element | null;
|
|
4971
5180
|
|
|
4972
5181
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => react_jsx_runtime.JSX.Element;
|
|
4973
5182
|
|
|
@@ -4979,7 +5188,7 @@ type SidebarState$1 = 'expanded' | 'collapsed';
|
|
|
4979
5188
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
4980
5189
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
4981
5190
|
|
|
4982
|
-
type Props$
|
|
5191
|
+
type Props$l = {
|
|
4983
5192
|
children: ReactNode;
|
|
4984
5193
|
className?: string;
|
|
4985
5194
|
id?: string;
|
|
@@ -4990,7 +5199,7 @@ type Props$k = {
|
|
|
4990
5199
|
resizable?: boolean;
|
|
4991
5200
|
};
|
|
4992
5201
|
declare const Sidebar: {
|
|
4993
|
-
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$
|
|
5202
|
+
({ children, className, id, side, style, container, keepMounted, resizable, }: Props$l): react_jsx_runtime.JSX.Element | null;
|
|
4994
5203
|
Header: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
4995
5204
|
Content: ({ ref, className, children, contentRef }: {
|
|
4996
5205
|
className?: string;
|
|
@@ -5015,12 +5224,12 @@ declare const Sidebar: {
|
|
|
5015
5224
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5016
5225
|
color?: string | undefined | undefined;
|
|
5017
5226
|
prefix?: string | undefined | undefined;
|
|
5018
|
-
id?: string | undefined | undefined;
|
|
5019
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5020
5227
|
label?: ReactNode;
|
|
5021
5228
|
slot?: string | undefined | undefined;
|
|
5022
5229
|
style?: CSSProperties | undefined;
|
|
5023
5230
|
title?: string | undefined | undefined;
|
|
5231
|
+
id?: string | undefined | undefined;
|
|
5232
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5024
5233
|
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
5025
5234
|
key?: react.Key | null | undefined;
|
|
5026
5235
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -5321,13 +5530,13 @@ declare const Sidebar: {
|
|
|
5321
5530
|
size?: number | undefined | undefined;
|
|
5322
5531
|
translate?: "yes" | "no" | undefined | undefined;
|
|
5323
5532
|
color?: string | undefined | undefined;
|
|
5324
|
-
id?: string | undefined | undefined;
|
|
5325
|
-
name?: string | undefined | undefined;
|
|
5326
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5327
5533
|
form?: string | undefined | undefined;
|
|
5328
5534
|
slot?: string | undefined | undefined;
|
|
5329
5535
|
style?: CSSProperties | undefined;
|
|
5330
5536
|
title?: string | undefined | undefined;
|
|
5537
|
+
id?: string | undefined | undefined;
|
|
5538
|
+
name?: string | undefined | undefined;
|
|
5539
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
5331
5540
|
pattern?: string | undefined | undefined;
|
|
5332
5541
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
5333
5542
|
key?: react.Key | null | undefined;
|
|
@@ -5645,7 +5854,7 @@ declare const Sidebar: {
|
|
|
5645
5854
|
}) => react_jsx_runtime.JSX.Element;
|
|
5646
5855
|
};
|
|
5647
5856
|
|
|
5648
|
-
type Props$
|
|
5857
|
+
type Props$k = {
|
|
5649
5858
|
children?: ReactNode;
|
|
5650
5859
|
defaultLeftMode?: SidebarMode;
|
|
5651
5860
|
leftMode?: SidebarMode;
|
|
@@ -5663,7 +5872,7 @@ type Props$j = {
|
|
|
5663
5872
|
onRightWidthChange?: (width: number) => void;
|
|
5664
5873
|
defaultFilledSide?: SidebarSide | null;
|
|
5665
5874
|
};
|
|
5666
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$
|
|
5875
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide, }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
5667
5876
|
|
|
5668
5877
|
type Input = {
|
|
5669
5878
|
variant: SidebarVariant;
|
|
@@ -5679,12 +5888,12 @@ type EffectiveWidths = {
|
|
|
5679
5888
|
};
|
|
5680
5889
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, }: Input) => EffectiveWidths;
|
|
5681
5890
|
|
|
5682
|
-
type Props$
|
|
5891
|
+
type Props$j = {
|
|
5683
5892
|
defaultMode?: SidebarMode;
|
|
5684
5893
|
mode?: SidebarMode;
|
|
5685
5894
|
onModeChange?: (state: SidebarMode) => void;
|
|
5686
5895
|
};
|
|
5687
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
5896
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$j) => {
|
|
5688
5897
|
isHovered: boolean;
|
|
5689
5898
|
toggle: () => void;
|
|
5690
5899
|
setMode: (dispatch: Parameters<react.Dispatch<react.SetStateAction<"expanded" | "collapsed" | "expand-on-hover">>>[0]) => void;
|
|
@@ -5708,13 +5917,19 @@ type SidebarSideValue = SidebarState & {
|
|
|
5708
5917
|
isDragging: boolean;
|
|
5709
5918
|
setIsDragging: (dragging: boolean) => void;
|
|
5710
5919
|
};
|
|
5920
|
+
/**
|
|
5921
|
+
* The sidebar if there is one, `null` otherwise — for code that ENHANCES a page when the app shell is
|
|
5922
|
+
* around it (borrowing width, collapsing a panel) and must still render without one, in a test, a
|
|
5923
|
+
* story, or an embedded surface. Anything that genuinely requires a sidebar keeps `useSidebar`.
|
|
5924
|
+
*/
|
|
5925
|
+
declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | null;
|
|
5711
5926
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
5712
5927
|
|
|
5713
5928
|
declare const separatorVariants: (props?: ({
|
|
5714
5929
|
size?: "full" | "1/2" | "3/4" | null | undefined;
|
|
5715
5930
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5716
5931
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5717
|
-
type Props$
|
|
5932
|
+
type Props$i = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5718
5933
|
/**
|
|
5719
5934
|
* Optional label rendered centered between two line segments
|
|
5720
5935
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5722,12 +5937,12 @@ type Props$h = VariantProps<typeof separatorVariants> & Omit<ComponentProps<type
|
|
|
5722
5937
|
*/
|
|
5723
5938
|
label?: ReactNode;
|
|
5724
5939
|
};
|
|
5725
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
5940
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
5726
5941
|
|
|
5727
5942
|
declare const navbarClassnames: (props?: ({
|
|
5728
5943
|
bordered?: boolean | null | undefined;
|
|
5729
5944
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5730
|
-
type Props$
|
|
5945
|
+
type Props$h = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5731
5946
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5732
5947
|
};
|
|
5733
5948
|
/**
|
|
@@ -5745,7 +5960,7 @@ type Props$g = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
|
5745
5960
|
* @see AppShell — pair with `AppShell.Header`; the sidebar rail uses `Sidebar` instead.
|
|
5746
5961
|
*/
|
|
5747
5962
|
declare const Navbar: {
|
|
5748
|
-
({ className, accent, bordered, ...rest }: Props$
|
|
5963
|
+
({ className, accent, bordered, ...rest }: Props$h): react_jsx_runtime.JSX.Element;
|
|
5749
5964
|
Header: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5750
5965
|
Footer: ({ children, className, ...rest }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
5751
5966
|
Content: ({ children, className }: {
|
|
@@ -5773,6 +5988,72 @@ declare const Navbar: {
|
|
|
5773
5988
|
}) => react_jsx_runtime.JSX.Element;
|
|
5774
5989
|
};
|
|
5775
5990
|
|
|
5991
|
+
declare const DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM = 2.75;
|
|
5992
|
+
declare const DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX = 320;
|
|
5993
|
+
declare const MIN_WORKBENCH_PANEL_HEIGHT_IN_PX = 120;
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* Full screen is a mode of the open panel, not a flag beside it — as two booleans the fourth
|
|
5997
|
+
* combination (collapsed *and* full screen) is expressible but meaningless.
|
|
5998
|
+
*/
|
|
5999
|
+
type WorkbenchState = 'collapsed' | 'expanded' | 'full-screen';
|
|
6000
|
+
type WorkbenchActions = {
|
|
6001
|
+
expand: () => void;
|
|
6002
|
+
collapse: () => void;
|
|
6003
|
+
toggleExpanded: () => void;
|
|
6004
|
+
enterFullScreen: () => void;
|
|
6005
|
+
exitFullScreen: () => void;
|
|
6006
|
+
toggleFullScreen: () => void;
|
|
6007
|
+
};
|
|
6008
|
+
type WorkbenchContextValue = WorkbenchActions & {
|
|
6009
|
+
state: WorkbenchState;
|
|
6010
|
+
setState: Dispatch<SetStateAction<WorkbenchState>>;
|
|
6011
|
+
panelHeight: number;
|
|
6012
|
+
setPanelHeight: Dispatch<SetStateAction<number>>;
|
|
6013
|
+
isResizing: boolean;
|
|
6014
|
+
setIsResizing: (isResizing: boolean) => void;
|
|
6015
|
+
};
|
|
6016
|
+
/**
|
|
6017
|
+
* The parts sit at arbitrary depth under `<Workbench>` — a trigger lives inside the panel header,
|
|
6018
|
+
* three levels down — so the state travels by context rather than props.
|
|
6019
|
+
*/
|
|
6020
|
+
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6021
|
+
|
|
6022
|
+
type Props$g = {
|
|
6023
|
+
className?: string;
|
|
6024
|
+
children: ReactNode;
|
|
6025
|
+
state?: WorkbenchState;
|
|
6026
|
+
defaultState?: WorkbenchState;
|
|
6027
|
+
onStateChange?: (state: WorkbenchState) => void;
|
|
6028
|
+
barHeight?: number;
|
|
6029
|
+
panelHeight?: number;
|
|
6030
|
+
defaultPanelHeight?: number;
|
|
6031
|
+
onPanelHeightChange?: (panelHeight: number) => void;
|
|
6032
|
+
};
|
|
6033
|
+
declare const Workbench: {
|
|
6034
|
+
({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange, }: Props$g): react_jsx_runtime.JSX.Element;
|
|
6035
|
+
Bar: {
|
|
6036
|
+
({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
6037
|
+
Start: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6038
|
+
Middle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6039
|
+
End: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6040
|
+
};
|
|
6041
|
+
BarStart: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6042
|
+
BarMiddle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6043
|
+
BarEnd: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6044
|
+
Panel: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6045
|
+
PanelHeader: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6046
|
+
PanelTitle: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6047
|
+
PanelActions: ({ className, asChild, ...props }: react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & {
|
|
6048
|
+
asChild?: boolean;
|
|
6049
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6050
|
+
PanelContent: ({ className, children, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
6051
|
+
Trigger: ({ ref, className, children, ...props }: _radix_ui_react_collapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>) => react_jsx_runtime.JSX.Element;
|
|
6052
|
+
FullScreenTrigger: ({ asChild, onClick, ...props }: react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6053
|
+
asChild?: boolean;
|
|
6054
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6055
|
+
};
|
|
6056
|
+
|
|
5776
6057
|
type Props$f = ComponentProps<'nav'>;
|
|
5777
6058
|
declare const Breadcrumb: {
|
|
5778
6059
|
({ className, ...props }: Props$f): react_jsx_runtime.JSX.Element;
|
|
@@ -5792,7 +6073,7 @@ declare const Breadcrumb: {
|
|
|
5792
6073
|
open?: boolean;
|
|
5793
6074
|
defaultOpen?: boolean;
|
|
5794
6075
|
onOpenChange?: (open: boolean) => void;
|
|
5795
|
-
size?: "
|
|
6076
|
+
size?: "small" | "medium" | "large";
|
|
5796
6077
|
filter?: boolean;
|
|
5797
6078
|
shouldFilter?: boolean;
|
|
5798
6079
|
searchValue?: string;
|
|
@@ -5888,14 +6169,19 @@ declare const Stepper: {
|
|
|
5888
6169
|
|
|
5889
6170
|
declare const cardClassnames: (props?: ({
|
|
5890
6171
|
bordered?: boolean | null | undefined;
|
|
5891
|
-
padding?: "
|
|
6172
|
+
padding?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
5892
6173
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5893
6174
|
|
|
5894
6175
|
type Props$c = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
5895
6176
|
declare const Card: {
|
|
5896
6177
|
({ children, className, bordered, padding, ...rest }: Props$c): react_jsx_runtime.JSX.Element;
|
|
5897
|
-
Header: ({ children, ...rest }: HTMLAttributes<HTMLDivElement>
|
|
5898
|
-
|
|
6178
|
+
Header: ({ children, className, divider, layout, ...rest }: HTMLAttributes<HTMLDivElement> & {
|
|
6179
|
+
divider?: boolean;
|
|
6180
|
+
layout?: "row" | "inline" | "stack";
|
|
6181
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
6182
|
+
Content: ({ children, className, padded, ...rest }: HTMLAttributes<HTMLDivElement> & {
|
|
6183
|
+
padded?: boolean;
|
|
6184
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
5899
6185
|
Title: ({ children, className, as: Tag, ...rest }: HTMLAttributes<HTMLHeadingElement> & {
|
|
5900
6186
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
5901
6187
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -5958,7 +6244,7 @@ declare const Timeline: {
|
|
|
5958
6244
|
} & react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5959
6245
|
align?: "end" | "start" | "center" | "baseline" | null | undefined;
|
|
5960
6246
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & class_variance_authority.VariantProps<(props?: ({
|
|
5961
|
-
variant?: "
|
|
6247
|
+
variant?: "label" | "none" | "line" | "icon" | null | undefined;
|
|
5962
6248
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) => react_jsx_runtime.JSX.Element;
|
|
5963
6249
|
};
|
|
5964
6250
|
|
|
@@ -5967,8 +6253,8 @@ type Props$9 = {
|
|
|
5967
6253
|
tooltip?: ReactNode;
|
|
5968
6254
|
twoLines?: boolean;
|
|
5969
6255
|
noTooltip?: boolean;
|
|
5970
|
-
tooltipVariant?: Props$
|
|
5971
|
-
tooltipPlacement?: Props$
|
|
6256
|
+
tooltipVariant?: Props$1N['variant'];
|
|
6257
|
+
tooltipPlacement?: Props$1N['placement'];
|
|
5972
6258
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
5973
6259
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
5974
6260
|
|
|
@@ -6013,7 +6299,7 @@ declare const Pagination: {
|
|
|
6013
6299
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6014
6300
|
block?: boolean | null | undefined;
|
|
6015
6301
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6016
|
-
size?: "
|
|
6302
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6017
6303
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6018
6304
|
Previous: ({ children, ...props }: {
|
|
6019
6305
|
active?: boolean;
|
|
@@ -6023,7 +6309,7 @@ declare const Pagination: {
|
|
|
6023
6309
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6024
6310
|
block?: boolean | null | undefined;
|
|
6025
6311
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6026
|
-
size?: "
|
|
6312
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6027
6313
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6028
6314
|
Next: ({ children, className, ...props }: {
|
|
6029
6315
|
active?: boolean;
|
|
@@ -6033,7 +6319,7 @@ declare const Pagination: {
|
|
|
6033
6319
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
6034
6320
|
block?: boolean | null | undefined;
|
|
6035
6321
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
6036
|
-
size?: "
|
|
6322
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
6037
6323
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">) => react_jsx_runtime.JSX.Element;
|
|
6038
6324
|
Ellipsis: ({ className, ...props }: react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
6039
6325
|
};
|
|
@@ -6293,14 +6579,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6293
6579
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6294
6580
|
color?: string | undefined | undefined;
|
|
6295
6581
|
prefix?: react.ReactNode;
|
|
6296
|
-
id?: string | undefined | undefined;
|
|
6297
|
-
name?: string | undefined | undefined;
|
|
6298
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6299
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
6300
6582
|
form?: string | undefined | undefined;
|
|
6301
6583
|
slot?: string | undefined | undefined;
|
|
6302
6584
|
style?: react.CSSProperties | undefined;
|
|
6303
6585
|
title?: string | undefined | undefined;
|
|
6586
|
+
id?: string | undefined | undefined;
|
|
6587
|
+
name?: string | undefined | undefined;
|
|
6588
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6589
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
6304
6590
|
pattern?: string | undefined | undefined;
|
|
6305
6591
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6306
6592
|
key?: react.Key | null | undefined;
|
|
@@ -6601,7 +6887,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6601
6887
|
readOnly?: boolean | undefined | undefined;
|
|
6602
6888
|
required?: boolean | undefined | undefined;
|
|
6603
6889
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
6604
|
-
sizing?: "
|
|
6890
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6605
6891
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6606
6892
|
rightSuffix?: react.ReactNode;
|
|
6607
6893
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -6616,14 +6902,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6616
6902
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6617
6903
|
color?: string | undefined | undefined;
|
|
6618
6904
|
prefix?: react.ReactNode;
|
|
6619
|
-
id?: string | undefined | undefined;
|
|
6620
|
-
name?: string | undefined | undefined;
|
|
6621
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6622
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
6623
6905
|
form?: string | undefined | undefined;
|
|
6624
6906
|
slot?: string | undefined | undefined;
|
|
6625
6907
|
style?: react.CSSProperties | undefined;
|
|
6626
6908
|
title?: string | undefined | undefined;
|
|
6909
|
+
id?: string | undefined | undefined;
|
|
6910
|
+
name?: string | undefined | undefined;
|
|
6911
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6912
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
6627
6913
|
pattern?: string | undefined | undefined;
|
|
6628
6914
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6629
6915
|
key?: react.Key | null | undefined;
|
|
@@ -6925,14 +7211,14 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6925
7211
|
readOnly?: boolean | undefined | undefined;
|
|
6926
7212
|
required?: boolean | undefined | undefined;
|
|
6927
7213
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
6928
|
-
sizing?: "
|
|
7214
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6929
7215
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6930
7216
|
suffix?: react.ReactNode;
|
|
6931
7217
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
6932
7218
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
6933
7219
|
variant?: "primary" | "secondary" | null | undefined;
|
|
6934
7220
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
6935
|
-
sizing?: "
|
|
7221
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
6936
7222
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
6937
7223
|
} & {
|
|
6938
7224
|
content?: string | undefined | undefined;
|
|
@@ -6940,13 +7226,13 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
6940
7226
|
translate?: "yes" | "no" | undefined | undefined;
|
|
6941
7227
|
color?: string | undefined | undefined;
|
|
6942
7228
|
prefix?: string | undefined | undefined;
|
|
6943
|
-
id?: string | undefined | undefined;
|
|
6944
|
-
name?: string | undefined | undefined;
|
|
6945
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6946
7229
|
form?: string | undefined | undefined;
|
|
6947
7230
|
slot?: string | undefined | undefined;
|
|
6948
7231
|
style?: react.CSSProperties | undefined;
|
|
6949
7232
|
title?: string | undefined | undefined;
|
|
7233
|
+
id?: string | undefined | undefined;
|
|
7234
|
+
name?: string | undefined | undefined;
|
|
7235
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
6950
7236
|
pattern?: string | undefined | undefined;
|
|
6951
7237
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
6952
7238
|
key?: react.Key | null | undefined;
|
|
@@ -7260,16 +7546,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7260
7546
|
wrap?: string | undefined | undefined;
|
|
7261
7547
|
color?: string | undefined | undefined;
|
|
7262
7548
|
prefix?: string | undefined | undefined;
|
|
7263
|
-
id?: string | undefined | undefined;
|
|
7264
|
-
name?: string | undefined | undefined;
|
|
7265
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7266
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7267
7549
|
form?: string | undefined | undefined;
|
|
7268
7550
|
slot?: string | undefined | undefined;
|
|
7269
7551
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
7270
7552
|
height?: number;
|
|
7271
7553
|
}) | undefined;
|
|
7272
7554
|
title?: string | undefined | undefined;
|
|
7555
|
+
id?: string | undefined | undefined;
|
|
7556
|
+
name?: string | undefined | undefined;
|
|
7557
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7558
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7273
7559
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
7274
7560
|
key?: react.Key | null | undefined;
|
|
7275
7561
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -7560,20 +7846,16 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7560
7846
|
cacheMeasurements?: boolean | undefined;
|
|
7561
7847
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
7562
7848
|
disableResize?: boolean | undefined;
|
|
7563
|
-
sizing?: "
|
|
7849
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7564
7850
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7565
7851
|
containerClassName?: string | undefined;
|
|
7566
7852
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
7567
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
7853
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7568
7854
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
7569
|
-
sizing?: "
|
|
7855
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7570
7856
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
7571
7857
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
7572
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
7573
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
7574
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
7575
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
7576
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
7858
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
7577
7859
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
7578
7860
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
7579
7861
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -7585,8 +7867,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7585
7867
|
description?: react.ReactNode;
|
|
7586
7868
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
7587
7869
|
position?: "start" | "end";
|
|
7588
|
-
tooltip?: Props$
|
|
7589
|
-
tooltipPlacement?: Props$
|
|
7870
|
+
tooltip?: Props$1N["tooltip"];
|
|
7871
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
7590
7872
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
7591
7873
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
7592
7874
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -7599,7 +7881,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7599
7881
|
position?: "start" | "end";
|
|
7600
7882
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
7601
7883
|
variant?: "default" | "argo" | null | undefined;
|
|
7602
|
-
size?: "
|
|
7884
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
7603
7885
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
7604
7886
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
7605
7887
|
}, {
|
|
@@ -7614,7 +7896,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
7614
7896
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
7615
7897
|
block?: boolean | null | undefined;
|
|
7616
7898
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
7617
|
-
size?: "
|
|
7899
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
7618
7900
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
7619
7901
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
7620
7902
|
}>;
|
|
@@ -7625,14 +7907,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7625
7907
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7626
7908
|
color?: string | undefined | undefined;
|
|
7627
7909
|
prefix?: react.ReactNode;
|
|
7628
|
-
id?: string | undefined | undefined;
|
|
7629
|
-
name?: string | undefined | undefined;
|
|
7630
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7631
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7632
7910
|
form?: string | undefined | undefined;
|
|
7633
7911
|
slot?: string | undefined | undefined;
|
|
7634
7912
|
style?: react.CSSProperties | undefined;
|
|
7635
7913
|
title?: string | undefined | undefined;
|
|
7914
|
+
id?: string | undefined | undefined;
|
|
7915
|
+
name?: string | undefined | undefined;
|
|
7916
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7917
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7636
7918
|
pattern?: string | undefined | undefined;
|
|
7637
7919
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
7638
7920
|
key?: react.Key | null | undefined;
|
|
@@ -7933,7 +8215,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7933
8215
|
readOnly?: boolean | undefined | undefined;
|
|
7934
8216
|
required?: boolean | undefined | undefined;
|
|
7935
8217
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
7936
|
-
sizing?: "
|
|
8218
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
7937
8219
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
7938
8220
|
rightSuffix?: react.ReactNode;
|
|
7939
8221
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -7948,14 +8230,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
7948
8230
|
translate?: "yes" | "no" | undefined | undefined;
|
|
7949
8231
|
color?: string | undefined | undefined;
|
|
7950
8232
|
prefix?: react.ReactNode;
|
|
7951
|
-
id?: string | undefined | undefined;
|
|
7952
|
-
name?: string | undefined | undefined;
|
|
7953
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
7954
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
7955
8233
|
form?: string | undefined | undefined;
|
|
7956
8234
|
slot?: string | undefined | undefined;
|
|
7957
8235
|
style?: react.CSSProperties | undefined;
|
|
7958
8236
|
title?: string | undefined | undefined;
|
|
8237
|
+
id?: string | undefined | undefined;
|
|
8238
|
+
name?: string | undefined | undefined;
|
|
8239
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8240
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
7959
8241
|
pattern?: string | undefined | undefined;
|
|
7960
8242
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
7961
8243
|
key?: react.Key | null | undefined;
|
|
@@ -8257,14 +8539,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8257
8539
|
readOnly?: boolean | undefined | undefined;
|
|
8258
8540
|
required?: boolean | undefined | undefined;
|
|
8259
8541
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
8260
|
-
sizing?: "
|
|
8542
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8261
8543
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8262
8544
|
suffix?: react.ReactNode;
|
|
8263
8545
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8264
8546
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
8265
8547
|
variant?: "primary" | "secondary" | null | undefined;
|
|
8266
8548
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8267
|
-
sizing?: "
|
|
8549
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8268
8550
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8269
8551
|
} & {
|
|
8270
8552
|
content?: string | undefined | undefined;
|
|
@@ -8272,13 +8554,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8272
8554
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8273
8555
|
color?: string | undefined | undefined;
|
|
8274
8556
|
prefix?: string | undefined | undefined;
|
|
8275
|
-
id?: string | undefined | undefined;
|
|
8276
|
-
name?: string | undefined | undefined;
|
|
8277
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8278
8557
|
form?: string | undefined | undefined;
|
|
8279
8558
|
slot?: string | undefined | undefined;
|
|
8280
8559
|
style?: react.CSSProperties | undefined;
|
|
8281
8560
|
title?: string | undefined | undefined;
|
|
8561
|
+
id?: string | undefined | undefined;
|
|
8562
|
+
name?: string | undefined | undefined;
|
|
8563
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8282
8564
|
pattern?: string | undefined | undefined;
|
|
8283
8565
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
8284
8566
|
key?: react.Key | null | undefined;
|
|
@@ -8592,16 +8874,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8592
8874
|
wrap?: string | undefined | undefined;
|
|
8593
8875
|
color?: string | undefined | undefined;
|
|
8594
8876
|
prefix?: string | undefined | undefined;
|
|
8595
|
-
id?: string | undefined | undefined;
|
|
8596
|
-
name?: string | undefined | undefined;
|
|
8597
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8598
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8599
8877
|
form?: string | undefined | undefined;
|
|
8600
8878
|
slot?: string | undefined | undefined;
|
|
8601
8879
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
8602
8880
|
height?: number;
|
|
8603
8881
|
}) | undefined;
|
|
8604
8882
|
title?: string | undefined | undefined;
|
|
8883
|
+
id?: string | undefined | undefined;
|
|
8884
|
+
name?: string | undefined | undefined;
|
|
8885
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8886
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
8605
8887
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
8606
8888
|
key?: react.Key | null | undefined;
|
|
8607
8889
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -8892,20 +9174,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8892
9174
|
cacheMeasurements?: boolean | undefined;
|
|
8893
9175
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8894
9176
|
disableResize?: boolean | undefined;
|
|
8895
|
-
sizing?: "
|
|
9177
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8896
9178
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
8897
9179
|
containerClassName?: string | undefined;
|
|
8898
9180
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
8899
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
9181
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8900
9182
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8901
|
-
sizing?: "
|
|
9183
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
8902
9184
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
8903
9185
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
8904
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
8905
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
8906
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
8907
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
8908
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
9186
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
8909
9187
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
8910
9188
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
8911
9189
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -8917,8 +9195,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8917
9195
|
description?: react.ReactNode;
|
|
8918
9196
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8919
9197
|
position?: "start" | "end";
|
|
8920
|
-
tooltip?: Props$
|
|
8921
|
-
tooltipPlacement?: Props$
|
|
9198
|
+
tooltip?: Props$1N["tooltip"];
|
|
9199
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
8922
9200
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8923
9201
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8924
9202
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -8931,7 +9209,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8931
9209
|
position?: "start" | "end";
|
|
8932
9210
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
8933
9211
|
variant?: "default" | "argo" | null | undefined;
|
|
8934
|
-
size?: "
|
|
9212
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
8935
9213
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
8936
9214
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
8937
9215
|
}, {
|
|
@@ -8946,7 +9224,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8946
9224
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
8947
9225
|
block?: boolean | null | undefined;
|
|
8948
9226
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
8949
|
-
size?: "
|
|
9227
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
8950
9228
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
8951
9229
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
8952
9230
|
}, TRenderProps>) => react.FunctionComponent<react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
@@ -8957,14 +9235,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
8957
9235
|
translate?: "yes" | "no" | undefined | undefined;
|
|
8958
9236
|
color?: string | undefined | undefined;
|
|
8959
9237
|
prefix?: react.ReactNode;
|
|
8960
|
-
id?: string | undefined | undefined;
|
|
8961
|
-
name?: string | undefined | undefined;
|
|
8962
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
8963
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
8964
9238
|
form?: string | undefined | undefined;
|
|
8965
9239
|
slot?: string | undefined | undefined;
|
|
8966
9240
|
style?: react.CSSProperties | undefined;
|
|
8967
9241
|
title?: string | undefined | undefined;
|
|
9242
|
+
id?: string | undefined | undefined;
|
|
9243
|
+
name?: string | undefined | undefined;
|
|
9244
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9245
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
8968
9246
|
pattern?: string | undefined | undefined;
|
|
8969
9247
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
8970
9248
|
key?: react.Key | null | undefined;
|
|
@@ -9265,7 +9543,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9265
9543
|
readOnly?: boolean | undefined | undefined;
|
|
9266
9544
|
required?: boolean | undefined | undefined;
|
|
9267
9545
|
onValueBlur?: ((value: string) => void) | undefined;
|
|
9268
|
-
sizing?: "
|
|
9546
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9269
9547
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9270
9548
|
rightSuffix?: react.ReactNode;
|
|
9271
9549
|
rightSuffixVariant?: "addon" | "default" | undefined;
|
|
@@ -9280,14 +9558,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9280
9558
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9281
9559
|
color?: string | undefined | undefined;
|
|
9282
9560
|
prefix?: react.ReactNode;
|
|
9283
|
-
id?: string | undefined | undefined;
|
|
9284
|
-
name?: string | undefined | undefined;
|
|
9285
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9286
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
9287
9561
|
form?: string | undefined | undefined;
|
|
9288
9562
|
slot?: string | undefined | undefined;
|
|
9289
9563
|
style?: react.CSSProperties | undefined;
|
|
9290
9564
|
title?: string | undefined | undefined;
|
|
9565
|
+
id?: string | undefined | undefined;
|
|
9566
|
+
name?: string | undefined | undefined;
|
|
9567
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9568
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9291
9569
|
pattern?: string | undefined | undefined;
|
|
9292
9570
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
9293
9571
|
key?: react.Key | null | undefined;
|
|
@@ -9589,14 +9867,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9589
9867
|
readOnly?: boolean | undefined | undefined;
|
|
9590
9868
|
required?: boolean | undefined | undefined;
|
|
9591
9869
|
onValueBlur?: ((value: number | null) => void) | undefined;
|
|
9592
|
-
sizing?: "
|
|
9870
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9593
9871
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9594
9872
|
suffix?: react.ReactNode;
|
|
9595
9873
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
9596
9874
|
readonly PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, ...inputProps }: FieldItemProps & Omit<{
|
|
9597
9875
|
variant?: "primary" | "secondary" | null | undefined;
|
|
9598
9876
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
9599
|
-
sizing?: "
|
|
9877
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
9600
9878
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
9601
9879
|
} & {
|
|
9602
9880
|
content?: string | undefined | undefined;
|
|
@@ -9604,13 +9882,13 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9604
9882
|
translate?: "yes" | "no" | undefined | undefined;
|
|
9605
9883
|
color?: string | undefined | undefined;
|
|
9606
9884
|
prefix?: string | undefined | undefined;
|
|
9607
|
-
id?: string | undefined | undefined;
|
|
9608
|
-
name?: string | undefined | undefined;
|
|
9609
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9610
9885
|
form?: string | undefined | undefined;
|
|
9611
9886
|
slot?: string | undefined | undefined;
|
|
9612
9887
|
style?: react.CSSProperties | undefined;
|
|
9613
9888
|
title?: string | undefined | undefined;
|
|
9889
|
+
id?: string | undefined | undefined;
|
|
9890
|
+
name?: string | undefined | undefined;
|
|
9891
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9614
9892
|
pattern?: string | undefined | undefined;
|
|
9615
9893
|
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
9616
9894
|
key?: react.Key | null | undefined;
|
|
@@ -9924,16 +10202,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9924
10202
|
wrap?: string | undefined | undefined;
|
|
9925
10203
|
color?: string | undefined | undefined;
|
|
9926
10204
|
prefix?: string | undefined | undefined;
|
|
9927
|
-
id?: string | undefined | undefined;
|
|
9928
|
-
name?: string | undefined | undefined;
|
|
9929
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
9930
|
-
variant?: "primary" | "secondary" | null | undefined;
|
|
9931
10205
|
form?: string | undefined | undefined;
|
|
9932
10206
|
slot?: string | undefined | undefined;
|
|
9933
10207
|
style?: (Omit<react.CSSProperties, "minHeight" | "maxHeight"> & {
|
|
9934
10208
|
height?: number;
|
|
9935
10209
|
}) | undefined;
|
|
9936
10210
|
title?: string | undefined | undefined;
|
|
10211
|
+
id?: string | undefined | undefined;
|
|
10212
|
+
name?: string | undefined | undefined;
|
|
10213
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
10214
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
9937
10215
|
ref?: react.Ref<HTMLTextAreaElement> | undefined;
|
|
9938
10216
|
key?: react.Key | null | undefined;
|
|
9939
10217
|
defaultChecked?: boolean | undefined | undefined;
|
|
@@ -10224,20 +10502,16 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10224
10502
|
cacheMeasurements?: boolean | undefined;
|
|
10225
10503
|
onValueBlur?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10226
10504
|
disableResize?: boolean | undefined;
|
|
10227
|
-
sizing?: "
|
|
10505
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
10228
10506
|
focusVariant?: "off" | "on" | "default" | null | undefined;
|
|
10229
10507
|
containerClassName?: string | undefined;
|
|
10230
10508
|
}, "id" | "name" | "onBlur" | "value" | "onValueChange">) => react_jsx_runtime.JSX.Element;
|
|
10231
|
-
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "
|
|
10509
|
+
readonly SelectField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, triggerClassName, ...selectProps }: FieldItemProps & Omit<Pick<SelectRootProps, "form" | "name" | "defaultValue" | "dir" | "open" | "defaultOpen" | "onOpenChange" | "disabled" | "value" | "onValueChange" | "autoComplete" | "required"> & Pick<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10232
10510
|
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10233
|
-
sizing?: "
|
|
10511
|
+
sizing?: "small" | "medium" | "default" | null | undefined;
|
|
10234
10512
|
state?: "warning" | "default" | "error" | null | undefined;
|
|
10235
10513
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant"> & {
|
|
10236
|
-
variant?: Exclude<class_variance_authority.VariantProps<
|
|
10237
|
-
variant?: "primary" | "secondary" | "argo" | null | undefined;
|
|
10238
|
-
sizing?: "medium" | "small" | "default" | null | undefined;
|
|
10239
|
-
state?: "warning" | "default" | "error" | null | undefined;
|
|
10240
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>["variant"], "argo"> | "inline";
|
|
10514
|
+
variant?: Exclude<class_variance_authority.VariantProps<typeof overlayTriggerVariants>["variant"], "argo"> | "inline";
|
|
10241
10515
|
} & Pick<_radix_ui_react_select.SelectValueProps & react.RefAttributes<HTMLSpanElement>, "placeholder">, "id" | "variant" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "state" | "placeholder" | "sizing"> & {
|
|
10242
10516
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
10243
10517
|
}, "id" | "name" | "defaultValue" | "className" | "aria-describedby" | "aria-invalid" | "aria-required" | "onBlur" | "value" | "onValueChange" | "items"> & {
|
|
@@ -10249,8 +10523,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10249
10523
|
description?: react.ReactNode;
|
|
10250
10524
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10251
10525
|
position?: "start" | "end";
|
|
10252
|
-
tooltip?: Props$
|
|
10253
|
-
tooltipPlacement?: Props$
|
|
10526
|
+
tooltip?: Props$1N["tooltip"];
|
|
10527
|
+
tooltipPlacement?: Props$1N["placement"];
|
|
10254
10528
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10255
10529
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10256
10530
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10263,7 +10537,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10263
10537
|
position?: "start" | "end";
|
|
10264
10538
|
} & Omit<_radix_ui_react_switch.SwitchProps & react.RefAttributes<HTMLButtonElement>, "id" | "asChild"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
10265
10539
|
variant?: "default" | "argo" | null | undefined;
|
|
10266
|
-
size?: "
|
|
10540
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
|
10267
10541
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "variant">, "id" | "name" | "checked" | "onCheckedChange">) => react_jsx_runtime.JSX.Element;
|
|
10268
10542
|
readonly OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, "aria-describedby": ariaDescribedBy, maxLength, ...otpProps }: FieldItemProps & Omit<RootProps$7, "id" | "name" | "aria-describedby" | "aria-invalid" | "aria-required" | "children" | "onChange" | "value">) => react_jsx_runtime.JSX.Element;
|
|
10269
10543
|
}, {
|
|
@@ -10278,7 +10552,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10278
10552
|
} & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
10279
10553
|
block?: boolean | null | undefined;
|
|
10280
10554
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
10281
|
-
size?: "
|
|
10555
|
+
size?: "small" | "medium" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
10282
10556
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "disabled" | "type" | "isLoading">) => react_jsx_runtime.JSX.Element;
|
|
10283
10557
|
readonly SubmitErrorAlert: () => react_jsx_runtime.JSX.Element;
|
|
10284
10558
|
}>;
|
|
@@ -10435,4 +10709,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10435
10709
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10436
10710
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10437
10711
|
|
|
10438
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$
|
|
10712
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$P as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, ExportMenu, type ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$N as InlineStepDetailProps, InlineStepLabel, type Props$M as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1o as Props, Question, type QuestionAnswers, QuestionBlock, type Props$F as QuestionBlockProps, type QuestionOption, type Props$G as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1N as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useWorkbench, wcagLevel, withForm };
|