@jacshuo/onyx 1.0.0 → 1.2.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/README.md +10 -4
- package/README.zh-CN.md +4 -4
- package/dist/DataDisplay/Chat.cjs +1 -0
- package/dist/DataDisplay/Chat.d.cts +3 -0
- package/dist/DataDisplay/Chat.d.ts +3 -0
- package/dist/DataDisplay/Chat.js +1 -0
- package/dist/DataDisplay/CodeBlock.cjs +2 -0
- package/dist/DataDisplay/CodeBlock.d.cts +3 -0
- package/dist/DataDisplay/CodeBlock.d.ts +3 -0
- package/dist/DataDisplay/CodeBlock.js +2 -0
- package/dist/DataDisplay/List.cjs +1 -0
- package/dist/DataDisplay/List.d.cts +3 -0
- package/dist/DataDisplay/List.d.ts +3 -0
- package/dist/DataDisplay/List.js +1 -0
- package/dist/DataDisplay/Table.cjs +1 -0
- package/dist/DataDisplay/Table.d.cts +15 -0
- package/dist/DataDisplay/Table.d.ts +15 -0
- package/dist/DataDisplay/Table.js +1 -0
- package/dist/DataDisplay/Tree.cjs +1 -0
- package/dist/DataDisplay/Tree.d.cts +2 -0
- package/dist/DataDisplay/Tree.d.ts +2 -0
- package/dist/DataDisplay/Tree.js +1 -0
- package/dist/DataDisplay/index.cjs +2 -0
- package/dist/DataDisplay/index.d.cts +7 -0
- package/dist/DataDisplay/index.d.ts +7 -0
- package/dist/DataDisplay/index.js +2 -0
- package/dist/Disclosure/Accordion.cjs +1 -0
- package/dist/Disclosure/Accordion.d.cts +4 -0
- package/dist/Disclosure/Accordion.d.ts +4 -0
- package/dist/Disclosure/Accordion.js +1 -0
- package/dist/Disclosure/Tabs.cjs +1 -0
- package/dist/Disclosure/Tabs.d.cts +5 -0
- package/dist/Disclosure/Tabs.d.ts +5 -0
- package/dist/Disclosure/Tabs.js +1 -0
- package/dist/Disclosure/index.cjs +1 -0
- package/dist/Disclosure/index.d.cts +4 -0
- package/dist/Disclosure/index.d.ts +4 -0
- package/dist/Disclosure/index.js +1 -0
- package/dist/Extras/CinePlayer.cjs +17 -0
- package/dist/Extras/CinePlayer.d.cts +4 -0
- package/dist/Extras/CinePlayer.d.ts +4 -0
- package/dist/Extras/CinePlayer.js +17 -0
- package/dist/Extras/FileExplorer.cjs +55 -0
- package/dist/Extras/FileExplorer.d.cts +7 -0
- package/dist/Extras/FileExplorer.d.ts +7 -0
- package/dist/Extras/FileExplorer.js +55 -0
- package/dist/Extras/FilmReel.cjs +2 -0
- package/dist/Extras/FilmReel.d.cts +5 -0
- package/dist/Extras/FilmReel.d.ts +5 -0
- package/dist/Extras/FilmReel.js +2 -0
- package/dist/Extras/Masonry.cjs +1 -0
- package/dist/Extras/Masonry.d.cts +3 -0
- package/dist/Extras/Masonry.d.ts +3 -0
- package/dist/Extras/Masonry.js +1 -0
- package/dist/Extras/MiniPlayer.cjs +6 -0
- package/dist/Extras/MiniPlayer.d.cts +5 -0
- package/dist/Extras/MiniPlayer.d.ts +5 -0
- package/dist/{chunks/chunk-A5KQAHDU.js → Extras/MiniPlayer.js} +2 -2
- package/dist/Extras/index.cjs +76 -0
- package/dist/Extras/index.d.cts +7 -0
- package/dist/Extras/index.d.ts +7 -0
- package/dist/Extras/index.js +76 -0
- package/dist/Feedback/Alert.cjs +1 -0
- package/dist/Feedback/Alert.d.cts +9 -0
- package/dist/Feedback/Alert.d.ts +9 -0
- package/dist/Feedback/Alert.js +1 -0
- package/dist/Feedback/ProgressBar.cjs +1 -0
- package/dist/Feedback/ProgressBar.d.cts +2 -0
- package/dist/Feedback/ProgressBar.d.ts +2 -0
- package/dist/Feedback/ProgressBar.js +1 -0
- package/dist/Feedback/Spin.cjs +2 -0
- package/dist/Feedback/Spin.d.cts +3 -0
- package/dist/Feedback/Spin.d.ts +3 -0
- package/dist/Feedback/Spin.js +2 -0
- package/dist/Feedback/index.cjs +2 -0
- package/dist/Feedback/index.d.cts +5 -0
- package/dist/Feedback/index.d.ts +5 -0
- package/dist/Feedback/index.js +2 -0
- package/dist/Forms/Form.cjs +1 -0
- package/dist/Forms/Form.d.cts +13 -0
- package/dist/Forms/Form.d.ts +13 -0
- package/dist/Forms/Form.js +1 -0
- package/dist/Forms/index.cjs +1 -0
- package/dist/Forms/index.d.cts +3 -0
- package/dist/Forms/index.d.ts +3 -0
- package/dist/Forms/index.js +1 -0
- package/dist/Layout/Card.cjs +1 -0
- package/dist/Layout/Card.d.cts +7 -0
- package/dist/Layout/Card.d.ts +7 -0
- package/dist/Layout/Card.js +1 -0
- package/dist/Layout/ImageCard.cjs +1 -0
- package/dist/Layout/ImageCard.d.cts +10 -0
- package/dist/Layout/ImageCard.d.ts +10 -0
- package/dist/Layout/ImageCard.js +1 -0
- package/dist/Layout/Panel.cjs +1 -0
- package/dist/Layout/Panel.d.cts +3 -0
- package/dist/Layout/Panel.d.ts +3 -0
- package/dist/Layout/Panel.js +1 -0
- package/dist/Layout/index.cjs +1 -0
- package/dist/Layout/index.d.cts +5 -0
- package/dist/Layout/index.d.ts +5 -0
- package/dist/Layout/index.js +1 -0
- package/dist/Navigation/Header.cjs +1 -0
- package/dist/Navigation/Header.d.cts +4 -0
- package/dist/Navigation/Header.d.ts +4 -0
- package/dist/Navigation/Header.js +1 -0
- package/dist/Navigation/NavLink.cjs +2 -0
- package/dist/Navigation/NavLink.d.cts +1 -0
- package/dist/Navigation/NavLink.d.ts +1 -0
- package/dist/Navigation/NavLink.js +2 -0
- package/dist/Navigation/SideNav.cjs +1 -0
- package/dist/Navigation/SideNav.d.cts +5 -0
- package/dist/Navigation/SideNav.d.ts +5 -0
- package/dist/Navigation/SideNav.js +1 -0
- package/dist/Navigation/index.cjs +2 -0
- package/dist/Navigation/index.d.cts +5 -0
- package/dist/Navigation/index.d.ts +5 -0
- package/dist/Navigation/index.js +2 -0
- package/dist/Overlay/Dialog.cjs +1 -0
- package/dist/Overlay/Dialog.d.cts +7 -0
- package/dist/Overlay/Dialog.d.ts +7 -0
- package/dist/Overlay/Dialog.js +1 -0
- package/dist/Overlay/Tooltip.cjs +1 -0
- package/dist/Overlay/Tooltip.d.cts +1 -0
- package/dist/Overlay/Tooltip.d.ts +1 -0
- package/dist/Overlay/Tooltip.js +1 -0
- package/dist/Overlay/index.cjs +1 -0
- package/dist/Overlay/index.d.cts +4 -0
- package/dist/Overlay/index.d.ts +4 -0
- package/dist/Overlay/index.js +1 -0
- package/dist/Primitives/Badge.cjs +1 -0
- package/dist/Primitives/Badge.d.cts +1 -0
- package/dist/Primitives/Badge.d.ts +1 -0
- package/dist/Primitives/Badge.js +1 -0
- package/dist/Primitives/Button.cjs +1 -0
- package/dist/Primitives/Button.d.cts +1 -0
- package/dist/Primitives/Button.d.ts +1 -0
- package/dist/Primitives/Button.js +1 -0
- package/dist/Primitives/Checkbox.cjs +1 -0
- package/dist/Primitives/Checkbox.d.cts +2 -0
- package/dist/Primitives/Checkbox.d.ts +2 -0
- package/dist/Primitives/Checkbox.js +1 -0
- package/dist/Primitives/Dropdown.cjs +1 -0
- package/dist/Primitives/Dropdown.d.cts +5 -0
- package/dist/Primitives/Dropdown.d.ts +5 -0
- package/dist/Primitives/Dropdown.js +1 -0
- package/dist/Primitives/DropdownButton.cjs +1 -0
- package/dist/Primitives/DropdownButton.d.cts +3 -0
- package/dist/Primitives/DropdownButton.d.ts +3 -0
- package/dist/Primitives/DropdownButton.js +1 -0
- package/dist/Primitives/Indicator.cjs +1 -0
- package/dist/Primitives/Indicator.d.cts +2 -0
- package/dist/Primitives/Indicator.d.ts +2 -0
- package/dist/Primitives/Indicator.js +1 -0
- package/dist/Primitives/Input.cjs +1 -0
- package/dist/Primitives/Input.d.cts +1 -0
- package/dist/Primitives/Input.d.ts +1 -0
- package/dist/Primitives/Input.js +1 -0
- package/dist/Primitives/Label.cjs +1 -0
- package/dist/Primitives/Label.d.cts +1 -0
- package/dist/Primitives/Label.d.ts +1 -0
- package/dist/Primitives/Label.js +1 -0
- package/dist/Primitives/Radio.cjs +1 -0
- package/dist/Primitives/Radio.d.cts +4 -0
- package/dist/Primitives/Radio.d.ts +4 -0
- package/dist/Primitives/Radio.js +1 -0
- package/dist/Primitives/Switch.cjs +1 -0
- package/dist/Primitives/Switch.d.cts +2 -0
- package/dist/Primitives/Switch.d.ts +2 -0
- package/dist/Primitives/Switch.js +1 -0
- package/dist/Primitives/TextBox.cjs +1 -0
- package/dist/Primitives/TextBox.d.cts +2 -0
- package/dist/Primitives/TextBox.d.ts +2 -0
- package/dist/Primitives/TextBox.js +1 -0
- package/dist/Primitives/index.cjs +1 -0
- package/dist/Primitives/index.d.cts +14 -0
- package/dist/Primitives/index.d.ts +14 -0
- package/dist/Primitives/index.js +1 -0
- package/dist/_tsup-dts-rollup.d.cts +2136 -0
- package/dist/_tsup-dts-rollup.d.ts +2136 -0
- package/dist/index.cjs +77 -1
- package/dist/index.d.cts +179 -42
- package/dist/index.d.ts +179 -42
- package/dist/index.js +77 -1
- package/dist/styles/DataDisplay/Chat.css +1 -0
- package/dist/styles/DataDisplay/CodeBlock.css +31 -0
- package/dist/styles/DataDisplay/List.css +12 -0
- package/dist/styles/DataDisplay/Table.css +8 -0
- package/dist/styles/DataDisplay/Tree.css +11 -0
- package/dist/styles/Disclosure/Accordion.css +14 -0
- package/dist/styles/Disclosure/Tabs.css +1 -0
- package/dist/styles/Extras/CinePlayer.css +1 -0
- package/dist/styles/Extras/FileExplorer.css +1 -0
- package/dist/styles/Extras/FilmReel.css +1 -0
- package/dist/styles/Extras/Masonry.css +3 -0
- package/dist/styles/Extras/MiniPlayer.css +1 -0
- package/dist/styles/Feedback/Alert.css +3 -0
- package/dist/styles/Feedback/ProgressBar.css +25 -0
- package/dist/styles/Feedback/Spin.css +14 -0
- package/dist/styles/Forms/Form.css +21 -0
- package/dist/styles/Layout/Card.css +1 -0
- package/dist/styles/Layout/ImageCard.css +1 -0
- package/dist/styles/Layout/Panel.css +1 -0
- package/dist/styles/Navigation/Header.css +9 -0
- package/dist/styles/Navigation/NavLink.css +1 -0
- package/dist/styles/Navigation/SideNav.css +1 -0
- package/dist/styles/Overlay/Dialog.css +3 -0
- package/dist/styles/Overlay/Tooltip.css +3 -0
- package/dist/styles/Primitives/Badge.css +14 -0
- package/dist/styles/Primitives/Button.css +1 -0
- package/dist/styles/Primitives/Checkbox.css +1 -0
- package/dist/styles/Primitives/Dropdown.css +26 -0
- package/dist/styles/Primitives/DropdownButton.css +1 -0
- package/dist/styles/Primitives/Indicator.css +5 -0
- package/dist/styles/Primitives/Input.css +1 -0
- package/dist/styles/Primitives/Label.css +1 -0
- package/dist/styles/Primitives/Radio.css +1 -0
- package/dist/styles/Primitives/Switch.css +1 -0
- package/dist/styles/Primitives/TextBox.css +1 -0
- package/dist/styles/base.css +1 -246
- package/dist/styles/tokens/animations-shared.css +55 -0
- package/dist/styles/tokens/core.css +56 -0
- package/dist/styles/tokens.css +4 -345
- package/dist/styles.css +153 -163
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +29 -113
- package/dist/theme.d.ts +29 -113
- package/dist/theme.js +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +1 -5
- package/dist/utils.d.ts +1 -5
- package/dist/utils.js +1 -1
- package/package.json +25 -8
- package/dist/Accordion.cjs +0 -1
- package/dist/Accordion.d.cts +0 -25
- package/dist/Accordion.d.ts +0 -25
- package/dist/Accordion.js +0 -1
- package/dist/Alert.cjs +0 -1
- package/dist/Alert.d.cts +0 -30
- package/dist/Alert.d.ts +0 -30
- package/dist/Alert.js +0 -1
- package/dist/Badge.cjs +0 -1
- package/dist/Badge.d.cts +0 -10
- package/dist/Badge.d.ts +0 -10
- package/dist/Badge.js +0 -1
- package/dist/Button.cjs +0 -1
- package/dist/Button.d.cts +0 -10
- package/dist/Button.d.ts +0 -10
- package/dist/Button.js +0 -1
- package/dist/Card.cjs +0 -1
- package/dist/Card.d.cts +0 -35
- package/dist/Card.d.ts +0 -35
- package/dist/Card.js +0 -1
- package/dist/Chat.cjs +0 -1
- package/dist/Chat.d.cts +0 -32
- package/dist/Chat.d.ts +0 -32
- package/dist/Chat.js +0 -1
- package/dist/Checkbox.cjs +0 -1
- package/dist/Checkbox.d.cts +0 -21
- package/dist/Checkbox.d.ts +0 -21
- package/dist/Checkbox.js +0 -1
- package/dist/CinePlayer.cjs +0 -1
- package/dist/CinePlayer.d.cts +0 -40
- package/dist/CinePlayer.d.ts +0 -40
- package/dist/CinePlayer.js +0 -1
- package/dist/CodeBlock.cjs +0 -1
- package/dist/CodeBlock.d.cts +0 -22
- package/dist/CodeBlock.d.ts +0 -22
- package/dist/CodeBlock.js +0 -1
- package/dist/Dialog.cjs +0 -1
- package/dist/Dialog.d.cts +0 -27
- package/dist/Dialog.d.ts +0 -27
- package/dist/Dialog.js +0 -1
- package/dist/Dropdown.cjs +0 -1
- package/dist/Dropdown.d.cts +0 -71
- package/dist/Dropdown.d.ts +0 -71
- package/dist/Dropdown.js +0 -1
- package/dist/DropdownButton.cjs +0 -1
- package/dist/DropdownButton.d.cts +0 -39
- package/dist/DropdownButton.d.ts +0 -39
- package/dist/DropdownButton.js +0 -1
- package/dist/FileExplorer.cjs +0 -1
- package/dist/FileExplorer.d.cts +0 -96
- package/dist/FileExplorer.d.ts +0 -96
- package/dist/FileExplorer.js +0 -1
- package/dist/FilmReel.cjs +0 -1
- package/dist/FilmReel.d.cts +0 -43
- package/dist/FilmReel.d.ts +0 -43
- package/dist/FilmReel.js +0 -1
- package/dist/Form.cjs +0 -1
- package/dist/Form.d.cts +0 -101
- package/dist/Form.d.ts +0 -101
- package/dist/Form.js +0 -1
- package/dist/Header.cjs +0 -1
- package/dist/Header.d.cts +0 -59
- package/dist/Header.d.ts +0 -59
- package/dist/Header.js +0 -1
- package/dist/ImageCard.cjs +0 -1
- package/dist/ImageCard.d.cts +0 -22
- package/dist/ImageCard.d.ts +0 -22
- package/dist/ImageCard.js +0 -1
- package/dist/Indicator.cjs +0 -1
- package/dist/Indicator.d.cts +0 -19
- package/dist/Indicator.d.ts +0 -19
- package/dist/Indicator.js +0 -1
- package/dist/Input.cjs +0 -1
- package/dist/Input.d.cts +0 -24
- package/dist/Input.d.ts +0 -24
- package/dist/Input.js +0 -1
- package/dist/Label.cjs +0 -1
- package/dist/Label.d.cts +0 -10
- package/dist/Label.d.ts +0 -10
- package/dist/Label.js +0 -1
- package/dist/List.cjs +0 -1
- package/dist/List.d.cts +0 -18
- package/dist/List.d.ts +0 -18
- package/dist/List.js +0 -1
- package/dist/Masonry.cjs +0 -1
- package/dist/Masonry.d.cts +0 -41
- package/dist/Masonry.d.ts +0 -41
- package/dist/Masonry.js +0 -1
- package/dist/MiniPlayer.cjs +0 -1
- package/dist/MiniPlayer.d.cts +0 -53
- package/dist/MiniPlayer.d.ts +0 -53
- package/dist/MiniPlayer.js +0 -1
- package/dist/NavLink.cjs +0 -1
- package/dist/NavLink.d.cts +0 -13
- package/dist/NavLink.d.ts +0 -13
- package/dist/NavLink.js +0 -1
- package/dist/Panel.cjs +0 -1
- package/dist/Panel.d.cts +0 -12
- package/dist/Panel.d.ts +0 -12
- package/dist/Panel.js +0 -1
- package/dist/ProgressBar.cjs +0 -1
- package/dist/ProgressBar.d.cts +0 -21
- package/dist/ProgressBar.d.ts +0 -21
- package/dist/ProgressBar.js +0 -1
- package/dist/Radio.cjs +0 -1
- package/dist/Radio.d.cts +0 -35
- package/dist/Radio.d.ts +0 -35
- package/dist/Radio.js +0 -1
- package/dist/SideNav.cjs +0 -1
- package/dist/SideNav.d.cts +0 -80
- package/dist/SideNav.d.ts +0 -80
- package/dist/SideNav.js +0 -1
- package/dist/Spin.cjs +0 -1
- package/dist/Spin.d.cts +0 -26
- package/dist/Spin.d.ts +0 -26
- package/dist/Spin.js +0 -1
- package/dist/Switch.cjs +0 -1
- package/dist/Switch.d.cts +0 -23
- package/dist/Switch.d.ts +0 -23
- package/dist/Switch.js +0 -1
- package/dist/Table.cjs +0 -1
- package/dist/Table.d.cts +0 -102
- package/dist/Table.d.ts +0 -102
- package/dist/Table.js +0 -1
- package/dist/Tabs.cjs +0 -1
- package/dist/Tabs.d.cts +0 -30
- package/dist/Tabs.d.ts +0 -30
- package/dist/Tabs.js +0 -1
- package/dist/TextBox.cjs +0 -1
- package/dist/TextBox.d.cts +0 -16
- package/dist/TextBox.d.ts +0 -16
- package/dist/TextBox.js +0 -1
- package/dist/Tooltip.cjs +0 -1
- package/dist/Tooltip.d.cts +0 -19
- package/dist/Tooltip.d.ts +0 -19
- package/dist/Tooltip.js +0 -1
- package/dist/Tree.cjs +0 -1
- package/dist/Tree.d.cts +0 -37
- package/dist/Tree.d.ts +0 -37
- package/dist/Tree.js +0 -1
- package/dist/chunks/chunk-2JLNRAXS.cjs +0 -1
- package/dist/chunks/chunk-2KVAFCQI.cjs +0 -1
- package/dist/chunks/chunk-3I7Y6FUJ.js +0 -1
- package/dist/chunks/chunk-47UMFXDG.js +0 -1
- package/dist/chunks/chunk-4D3XBPZX.cjs +0 -55
- package/dist/chunks/chunk-4VFV5U3S.js +0 -1
- package/dist/chunks/chunk-5FUEJFGY.js +0 -1
- package/dist/chunks/chunk-5XT6TJGF.js +0 -1
- package/dist/chunks/chunk-6AMBRNVW.js +0 -1
- package/dist/chunks/chunk-6BI4QL37.cjs +0 -1
- package/dist/chunks/chunk-6E5ARQBB.cjs +0 -1
- package/dist/chunks/chunk-6QQPQPD2.cjs +0 -1
- package/dist/chunks/chunk-7CEOIZXK.js +0 -1
- package/dist/chunks/chunk-7XPIY2SQ.cjs +0 -1
- package/dist/chunks/chunk-A6HIQADJ.cjs +0 -1
- package/dist/chunks/chunk-AEBULFON.cjs +0 -1
- package/dist/chunks/chunk-AK5IK7ZD.js +0 -1
- package/dist/chunks/chunk-AN2R5URJ.js +0 -1
- package/dist/chunks/chunk-AXBJKPZZ.js +0 -1
- package/dist/chunks/chunk-BTR2N5MO.cjs +0 -2
- package/dist/chunks/chunk-BUNOVZ23.cjs +0 -2
- package/dist/chunks/chunk-CEEQE7SY.js +0 -1
- package/dist/chunks/chunk-CGGBE3GJ.cjs +0 -2
- package/dist/chunks/chunk-CMHBPMXE.js +0 -1
- package/dist/chunks/chunk-DWYAPPDB.cjs +0 -1
- package/dist/chunks/chunk-E3DST3QD.cjs +0 -1
- package/dist/chunks/chunk-E4EMAZ6V.js +0 -2
- package/dist/chunks/chunk-E5UKEXJE.js +0 -1
- package/dist/chunks/chunk-ETVECKSE.js +0 -2
- package/dist/chunks/chunk-FDTREGBQ.cjs +0 -1
- package/dist/chunks/chunk-FGUFBTKI.cjs +0 -1
- package/dist/chunks/chunk-FQZX67Z7.js +0 -1
- package/dist/chunks/chunk-FROZM2O6.js +0 -1
- package/dist/chunks/chunk-G2VO67XY.js +0 -1
- package/dist/chunks/chunk-GYFFUCBT.js +0 -55
- package/dist/chunks/chunk-I425OSJL.js +0 -1
- package/dist/chunks/chunk-ICDAUJ2G.cjs +0 -1
- package/dist/chunks/chunk-IFRKP7M2.js +0 -1
- package/dist/chunks/chunk-IHBP6FI4.js +0 -1
- package/dist/chunks/chunk-IL5XDMUA.cjs +0 -1
- package/dist/chunks/chunk-IRSGPS7D.cjs +0 -1
- package/dist/chunks/chunk-ITWFMFVO.js +0 -1
- package/dist/chunks/chunk-JJP23IOG.cjs +0 -1
- package/dist/chunks/chunk-JRYYWYGV.cjs +0 -1
- package/dist/chunks/chunk-KCIICUZN.cjs +0 -1
- package/dist/chunks/chunk-KFQVZ2HC.cjs +0 -1
- package/dist/chunks/chunk-KGRBVUVK.cjs +0 -1
- package/dist/chunks/chunk-KY4NDB23.cjs +0 -1
- package/dist/chunks/chunk-KZBYFKOH.js +0 -1
- package/dist/chunks/chunk-LFJEIO3X.cjs +0 -1
- package/dist/chunks/chunk-N4QZRR2Y.cjs +0 -17
- package/dist/chunks/chunk-NY27TTWN.js +0 -1
- package/dist/chunks/chunk-OEXZGLB4.js +0 -1
- package/dist/chunks/chunk-OZVJMUXX.cjs +0 -1
- package/dist/chunks/chunk-PHAX43YF.js +0 -1
- package/dist/chunks/chunk-QC67HOC2.cjs +0 -1
- package/dist/chunks/chunk-QLFCH4TD.js +0 -1
- package/dist/chunks/chunk-QTADJ7I5.js +0 -17
- package/dist/chunks/chunk-RPBESM5F.cjs +0 -1
- package/dist/chunks/chunk-SC4PNYQT.js +0 -2
- package/dist/chunks/chunk-SLHD7PST.cjs +0 -1
- package/dist/chunks/chunk-UDH3OKNZ.cjs +0 -6
- package/dist/chunks/chunk-UEGTVAFV.cjs +0 -1
- package/dist/chunks/chunk-V34PT6H4.cjs +0 -1
- package/dist/chunks/chunk-VUWT3NFR.js +0 -1
- package/dist/chunks/chunk-W5UXZVLS.cjs +0 -1
- package/dist/chunks/chunk-WQOSJM7L.js +0 -2
- package/dist/chunks/chunk-WRPPKNRG.js +0 -1
- package/dist/chunks/chunk-X5YP5TMY.cjs +0 -1
- package/dist/chunks/chunk-XAOBJSFW.js +0 -1
- package/dist/chunks/chunk-XK7SMEDO.cjs +0 -2
- package/dist/chunks/chunk-XO6CNALX.js +0 -1
- package/dist/chunks/chunk-ZY7GZOBS.js +0 -1
- package/dist/styles/CinePlayer.css +0 -54
- package/dist/styles/FileExplorer.css +0 -38
- package/dist/styles/FilmReel.css +0 -24
- package/dist/styles/MiniPlayer.css +0 -71
|
@@ -0,0 +1,2136 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { default as React_2 } from 'react';
|
|
5
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
|
|
7
|
+
declare function Accordion({ type, defaultValue, value, onValueChange, intent, size, className, children, ...props }: AccordionProps): JSX.Element;
|
|
8
|
+
export { Accordion }
|
|
9
|
+
export { Accordion as Accordion_alias_1 }
|
|
10
|
+
export { Accordion as Accordion_alias_2 }
|
|
11
|
+
export { Accordion as Accordion_alias_3 }
|
|
12
|
+
|
|
13
|
+
declare function AccordionContent({ className, children, ...props }: AccordionContentProps): JSX.Element;
|
|
14
|
+
export { AccordionContent }
|
|
15
|
+
export { AccordionContent as AccordionContent_alias_1 }
|
|
16
|
+
export { AccordionContent as AccordionContent_alias_2 }
|
|
17
|
+
|
|
18
|
+
declare type AccordionContentProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
19
|
+
|
|
20
|
+
declare const accordionContentVariants: (props?: ({
|
|
21
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
22
|
+
} & ClassProp) | undefined) => string;
|
|
23
|
+
export { accordionContentVariants }
|
|
24
|
+
export { accordionContentVariants as accordionContentVariants_alias_1 }
|
|
25
|
+
export { accordionContentVariants as accordionContentVariants_alias_2 }
|
|
26
|
+
|
|
27
|
+
declare function AccordionItem({ value, className, children, ...props }: AccordionItemProps): JSX.Element;
|
|
28
|
+
export { AccordionItem }
|
|
29
|
+
export { AccordionItem as AccordionItem_alias_1 }
|
|
30
|
+
export { AccordionItem as AccordionItem_alias_2 }
|
|
31
|
+
|
|
32
|
+
declare type AccordionItemProps = React_2.HTMLAttributes<HTMLDivElement> & {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
declare type AccordionProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof accordionVariants> & {
|
|
37
|
+
type?: "single" | "multiple";
|
|
38
|
+
defaultValue?: string[];
|
|
39
|
+
value?: string[];
|
|
40
|
+
onValueChange?: (value: string[]) => void;
|
|
41
|
+
/** Size of triggers and content text. @default 'md' */
|
|
42
|
+
size?: "sm" | "md" | "lg";
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
declare function AccordionTrigger({ className, children, ...props }: AccordionTriggerProps): JSX.Element;
|
|
46
|
+
export { AccordionTrigger }
|
|
47
|
+
export { AccordionTrigger as AccordionTrigger_alias_1 }
|
|
48
|
+
export { AccordionTrigger as AccordionTrigger_alias_2 }
|
|
49
|
+
|
|
50
|
+
declare type AccordionTriggerProps = React_2.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
51
|
+
|
|
52
|
+
declare const accordionTriggerVariants: (props?: ({
|
|
53
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
54
|
+
} & ClassProp) | undefined) => string;
|
|
55
|
+
export { accordionTriggerVariants }
|
|
56
|
+
export { accordionTriggerVariants as accordionTriggerVariants_alias_1 }
|
|
57
|
+
export { accordionTriggerVariants as accordionTriggerVariants_alias_2 }
|
|
58
|
+
|
|
59
|
+
declare const accordionVariants: (props?: ({
|
|
60
|
+
intent?: "ghost" | "default" | "bordered" | null | undefined;
|
|
61
|
+
} & ClassProp) | undefined) => string;
|
|
62
|
+
export { accordionVariants }
|
|
63
|
+
export { accordionVariants as accordionVariants_alias_1 }
|
|
64
|
+
export { accordionVariants as accordionVariants_alias_2 }
|
|
65
|
+
|
|
66
|
+
declare function addAlert(options: AlertOptions): string;
|
|
67
|
+
|
|
68
|
+
declare function addSpin(target: HTMLElement, tip?: string): () => void;
|
|
69
|
+
|
|
70
|
+
declare function Alert({ intent, className, children, ...props }: AlertProps): JSX.Element;
|
|
71
|
+
export { Alert }
|
|
72
|
+
export { Alert as Alert_alias_1 }
|
|
73
|
+
export { Alert as Alert_alias_2 }
|
|
74
|
+
export { Alert as Alert_alias_3 }
|
|
75
|
+
|
|
76
|
+
declare function AlertContent({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
77
|
+
export { AlertContent }
|
|
78
|
+
export { AlertContent as AlertContent_alias_1 }
|
|
79
|
+
export { AlertContent as AlertContent_alias_2 }
|
|
80
|
+
|
|
81
|
+
declare function AlertDescription({ className, ...props }: React_2.HTMLAttributes<HTMLParagraphElement>): JSX.Element;
|
|
82
|
+
export { AlertDescription }
|
|
83
|
+
export { AlertDescription as AlertDescription_alias_1 }
|
|
84
|
+
export { AlertDescription as AlertDescription_alias_2 }
|
|
85
|
+
|
|
86
|
+
declare function AlertIcon({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
|
|
87
|
+
export { AlertIcon }
|
|
88
|
+
export { AlertIcon as AlertIcon_alias_1 }
|
|
89
|
+
export { AlertIcon as AlertIcon_alias_2 }
|
|
90
|
+
|
|
91
|
+
declare type AlertIntent = NonNullable<VariantProps<typeof alertVariants>["intent"]>;
|
|
92
|
+
|
|
93
|
+
declare type AlertOptions = {
|
|
94
|
+
intent?: AlertIntent;
|
|
95
|
+
title?: string;
|
|
96
|
+
message: string;
|
|
97
|
+
position?: AlertPosition;
|
|
98
|
+
duration?: number;
|
|
99
|
+
};
|
|
100
|
+
export { AlertOptions }
|
|
101
|
+
export { AlertOptions as AlertOptions_alias_1 }
|
|
102
|
+
export { AlertOptions as AlertOptions_alias_2 }
|
|
103
|
+
|
|
104
|
+
declare type AlertPosition = "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-center" | "bottom-center";
|
|
105
|
+
export { AlertPosition }
|
|
106
|
+
export { AlertPosition as AlertPosition_alias_1 }
|
|
107
|
+
export { AlertPosition as AlertPosition_alias_2 }
|
|
108
|
+
|
|
109
|
+
declare type AlertProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>;
|
|
110
|
+
|
|
111
|
+
declare function AlertTitle({ className, ...props }: React_2.HTMLAttributes<HTMLHeadingElement>): JSX.Element;
|
|
112
|
+
export { AlertTitle }
|
|
113
|
+
export { AlertTitle as AlertTitle_alias_1 }
|
|
114
|
+
export { AlertTitle as AlertTitle_alias_2 }
|
|
115
|
+
|
|
116
|
+
declare const alertVariants: (props?: ({
|
|
117
|
+
intent?: "warning" | "success" | "error" | "info" | null | undefined;
|
|
118
|
+
} & ClassProp) | undefined) => string;
|
|
119
|
+
export { alertVariants }
|
|
120
|
+
export { alertVariants as alertVariants_alias_1 }
|
|
121
|
+
export { alertVariants as alertVariants_alias_2 }
|
|
122
|
+
|
|
123
|
+
declare function Badge({ intent, size, className, ...props }: BadgeProps): JSX.Element;
|
|
124
|
+
export { Badge }
|
|
125
|
+
export { Badge as Badge_alias_1 }
|
|
126
|
+
export { Badge as Badge_alias_2 }
|
|
127
|
+
export { Badge as Badge_alias_3 }
|
|
128
|
+
|
|
129
|
+
declare type BadgeProps = React_2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
|
|
130
|
+
|
|
131
|
+
declare const badgeVariants: (props?: ({
|
|
132
|
+
intent?: "primary" | "warning" | "success" | "error" | "info" | null | undefined;
|
|
133
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
134
|
+
} & ClassProp) | undefined) => string;
|
|
135
|
+
export { badgeVariants }
|
|
136
|
+
export { badgeVariants as badgeVariants_alias_1 }
|
|
137
|
+
export { badgeVariants as badgeVariants_alias_2 }
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Map of field names → ValidationResult returned from the `onValues` callback.
|
|
141
|
+
* Form will automatically display these errors in the matching named FormItems.
|
|
142
|
+
* Fields with `result: true` show a success message; `result: false` shows an error.
|
|
143
|
+
*/
|
|
144
|
+
declare type BulkValidationResult = Record<string, ValidationResult>;
|
|
145
|
+
export { BulkValidationResult }
|
|
146
|
+
export { BulkValidationResult as BulkValidationResult_alias_1 }
|
|
147
|
+
|
|
148
|
+
declare function Button({ intent, size, className, ...props }: ButtonProps): JSX.Element;
|
|
149
|
+
export { Button }
|
|
150
|
+
export { Button as Button_alias_1 }
|
|
151
|
+
export { Button as Button_alias_2 }
|
|
152
|
+
export { Button as Button_alias_3 }
|
|
153
|
+
|
|
154
|
+
declare type ButtonProps = React_2.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>;
|
|
155
|
+
|
|
156
|
+
declare const buttonVariants: (props?: ({
|
|
157
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "ghost" | "outline" | null | undefined;
|
|
158
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
159
|
+
} & ClassProp) | undefined) => string;
|
|
160
|
+
export { buttonVariants }
|
|
161
|
+
export { buttonVariants as buttonVariants_alias_1 }
|
|
162
|
+
export { buttonVariants as buttonVariants_alias_2 }
|
|
163
|
+
|
|
164
|
+
declare function Card({ intent, size, className, ...props }: CardProps): JSX.Element;
|
|
165
|
+
export { Card }
|
|
166
|
+
export { Card as Card_alias_1 }
|
|
167
|
+
export { Card as Card_alias_2 }
|
|
168
|
+
export { Card as Card_alias_3 }
|
|
169
|
+
|
|
170
|
+
declare function CardContent({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
171
|
+
export { CardContent }
|
|
172
|
+
export { CardContent as CardContent_alias_1 }
|
|
173
|
+
export { CardContent as CardContent_alias_2 }
|
|
174
|
+
|
|
175
|
+
declare function CardDescription({ className, ...props }: React_2.HTMLAttributes<HTMLParagraphElement>): JSX.Element;
|
|
176
|
+
export { CardDescription }
|
|
177
|
+
export { CardDescription as CardDescription_alias_1 }
|
|
178
|
+
export { CardDescription as CardDescription_alias_2 }
|
|
179
|
+
|
|
180
|
+
declare function CardFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
181
|
+
export { CardFooter }
|
|
182
|
+
export { CardFooter as CardFooter_alias_1 }
|
|
183
|
+
export { CardFooter as CardFooter_alias_2 }
|
|
184
|
+
|
|
185
|
+
declare function CardHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
186
|
+
export { CardHeader }
|
|
187
|
+
export { CardHeader as CardHeader_alias_1 }
|
|
188
|
+
export { CardHeader as CardHeader_alias_2 }
|
|
189
|
+
|
|
190
|
+
declare type CardProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>;
|
|
191
|
+
|
|
192
|
+
declare function CardTitle({ className, ...props }: React_2.HTMLAttributes<HTMLHeadingElement>): JSX.Element;
|
|
193
|
+
export { CardTitle }
|
|
194
|
+
export { CardTitle as CardTitle_alias_1 }
|
|
195
|
+
export { CardTitle as CardTitle_alias_2 }
|
|
196
|
+
|
|
197
|
+
declare const cardVariants: (props?: ({
|
|
198
|
+
intent?: "ghost" | "default" | "elevated" | "outlined" | null | undefined;
|
|
199
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
200
|
+
} & ClassProp) | undefined) => string;
|
|
201
|
+
export { cardVariants }
|
|
202
|
+
export { cardVariants as cardVariants_alias_1 }
|
|
203
|
+
export { cardVariants as cardVariants_alias_2 }
|
|
204
|
+
|
|
205
|
+
declare function Chat({ messages, mode, autoScroll, className, ...props }: ChatProps): JSX.Element;
|
|
206
|
+
export { Chat }
|
|
207
|
+
export { Chat as Chat_alias_1 }
|
|
208
|
+
export { Chat as Chat_alias_2 }
|
|
209
|
+
export { Chat as Chat_alias_3 }
|
|
210
|
+
|
|
211
|
+
declare interface ChatMessage {
|
|
212
|
+
/** Unique id for the message. */
|
|
213
|
+
id: string | number;
|
|
214
|
+
/** Sender display name. */
|
|
215
|
+
sender: string;
|
|
216
|
+
/** Avatar — URL string or ReactNode (icon / component). */
|
|
217
|
+
avatar?: string | React_2.ReactNode;
|
|
218
|
+
/** Message body. Can be text or rich ReactNode content. */
|
|
219
|
+
content: React_2.ReactNode;
|
|
220
|
+
/** Timestamp label, e.g. "10:30 AM". */
|
|
221
|
+
time?: string;
|
|
222
|
+
/** Mark as "self" (current user). Controls bubble alignment in split mode. */
|
|
223
|
+
self?: boolean;
|
|
224
|
+
}
|
|
225
|
+
export { ChatMessage }
|
|
226
|
+
export { ChatMessage as ChatMessage_alias_1 }
|
|
227
|
+
export { ChatMessage as ChatMessage_alias_2 }
|
|
228
|
+
|
|
229
|
+
declare interface ChatProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
230
|
+
/** Array of messages to render. */
|
|
231
|
+
messages: ChatMessage[];
|
|
232
|
+
/**
|
|
233
|
+
* Layout mode.
|
|
234
|
+
* - `'split'` — self messages on the right, others on the left (default)
|
|
235
|
+
* - `'left'` — all messages aligned to the left
|
|
236
|
+
*/
|
|
237
|
+
mode?: "split" | "left";
|
|
238
|
+
/** Auto-scroll to bottom when messages change. @default true */
|
|
239
|
+
autoScroll?: boolean;
|
|
240
|
+
}
|
|
241
|
+
export { ChatProps }
|
|
242
|
+
export { ChatProps as ChatProps_alias_1 }
|
|
243
|
+
export { ChatProps as ChatProps_alias_2 }
|
|
244
|
+
|
|
245
|
+
declare function Checkbox({ checked: controlledChecked, defaultChecked, indeterminate, onCheckedChange, intent, size, label, id: propId, className, disabled, ...props }: CheckboxProps): JSX.Element;
|
|
246
|
+
export { Checkbox }
|
|
247
|
+
export { Checkbox as Checkbox_alias_1 }
|
|
248
|
+
export { Checkbox as Checkbox_alias_2 }
|
|
249
|
+
export { Checkbox as Checkbox_alias_3 }
|
|
250
|
+
|
|
251
|
+
declare type CheckboxProps = Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & Omit<VariantProps<typeof checkboxVariants>, "checked"> & {
|
|
252
|
+
/** Controlled checked state. */
|
|
253
|
+
checked?: boolean;
|
|
254
|
+
/** Default checked state (uncontrolled). */
|
|
255
|
+
defaultChecked?: boolean;
|
|
256
|
+
/** Indeterminate state — overrides the check icon with a dash. */
|
|
257
|
+
indeterminate?: boolean;
|
|
258
|
+
/** Callback when the checkbox is toggled. */
|
|
259
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
260
|
+
/** Accessible label text shown beside the checkbox. */
|
|
261
|
+
label?: string;
|
|
262
|
+
};
|
|
263
|
+
export { CheckboxProps }
|
|
264
|
+
export { CheckboxProps as CheckboxProps_alias_1 }
|
|
265
|
+
export { CheckboxProps as CheckboxProps_alias_2 }
|
|
266
|
+
|
|
267
|
+
declare const checkboxVariants: (props?: ({
|
|
268
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "success" | null | undefined;
|
|
269
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
270
|
+
checked?: "on" | "off" | null | undefined;
|
|
271
|
+
} & ClassProp) | undefined) => string;
|
|
272
|
+
export { checkboxVariants }
|
|
273
|
+
export { checkboxVariants as checkboxVariants_alias_1 }
|
|
274
|
+
export { checkboxVariants as checkboxVariants_alias_2 }
|
|
275
|
+
|
|
276
|
+
declare function CinePlayer({ playlist, initialTrack, autoPlay, shuffle: shuffleProp, loop: loopProp, onTrackChange, onPlayChange, accent, className, }: CinePlayerProps): JSX.Element;
|
|
277
|
+
export { CinePlayer }
|
|
278
|
+
export { CinePlayer as CinePlayer_alias_1 }
|
|
279
|
+
export { CinePlayer as CinePlayer_alias_2 }
|
|
280
|
+
export { CinePlayer as CinePlayer_alias_3 }
|
|
281
|
+
|
|
282
|
+
declare interface CinePlayerMedia {
|
|
283
|
+
/** Display title. */
|
|
284
|
+
title: string;
|
|
285
|
+
/** Subtitle / description line. */
|
|
286
|
+
subtitle?: string;
|
|
287
|
+
/** Media type tag (e.g. 'movie', 'clip', 'episode'). Used for sorting. */
|
|
288
|
+
type?: string;
|
|
289
|
+
/** Source URL (http/blob/file). */
|
|
290
|
+
src: string;
|
|
291
|
+
/** Poster / thumbnail URL. */
|
|
292
|
+
poster?: string;
|
|
293
|
+
/** Duration in seconds (auto-detected if omitted). */
|
|
294
|
+
duration?: number;
|
|
295
|
+
}
|
|
296
|
+
export { CinePlayerMedia }
|
|
297
|
+
export { CinePlayerMedia as CinePlayerMedia_alias_1 }
|
|
298
|
+
export { CinePlayerMedia as CinePlayerMedia_alias_2 }
|
|
299
|
+
|
|
300
|
+
declare interface CinePlayerProps {
|
|
301
|
+
/** Media playlist. */
|
|
302
|
+
playlist: CinePlayerMedia[];
|
|
303
|
+
/** Starting index. @default 0 */
|
|
304
|
+
initialTrack?: number;
|
|
305
|
+
/** Auto-play when ready. @default false */
|
|
306
|
+
autoPlay?: boolean;
|
|
307
|
+
/** Initial shuffle state. @default false */
|
|
308
|
+
shuffle?: boolean;
|
|
309
|
+
/** Initial loop state. @default false */
|
|
310
|
+
loop?: boolean;
|
|
311
|
+
/** Called on track change. */
|
|
312
|
+
onTrackChange?: (index: number, media: CinePlayerMedia) => void;
|
|
313
|
+
/** Called when play state changes. */
|
|
314
|
+
onPlayChange?: (playing: boolean) => void;
|
|
315
|
+
/** Accent color (any CSS color value). @default '#8b5cf6' */
|
|
316
|
+
accent?: string;
|
|
317
|
+
/** Extra class name on root. */
|
|
318
|
+
className?: string;
|
|
319
|
+
}
|
|
320
|
+
export { CinePlayerProps }
|
|
321
|
+
export { CinePlayerProps as CinePlayerProps_alias_1 }
|
|
322
|
+
export { CinePlayerProps as CinePlayerProps_alias_2 }
|
|
323
|
+
|
|
324
|
+
declare type CinePlayerSortKey = "title" | "type" | "duration";
|
|
325
|
+
export { CinePlayerSortKey }
|
|
326
|
+
export { CinePlayerSortKey as CinePlayerSortKey_alias_1 }
|
|
327
|
+
export { CinePlayerSortKey as CinePlayerSortKey_alias_2 }
|
|
328
|
+
|
|
329
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
330
|
+
export { cn }
|
|
331
|
+
export { cn as cn_alias_1 }
|
|
332
|
+
|
|
333
|
+
declare function CodeBlock({ code, language, lineNumbers, editable, onCodeChange, size, className, ...props }: CodeBlockProps): JSX.Element;
|
|
334
|
+
export { CodeBlock }
|
|
335
|
+
export { CodeBlock as CodeBlock_alias_1 }
|
|
336
|
+
export { CodeBlock as CodeBlock_alias_2 }
|
|
337
|
+
export { CodeBlock as CodeBlock_alias_3 }
|
|
338
|
+
|
|
339
|
+
declare type CodeBlockLanguage = "typescript" | "javascript" | "tsx" | "jsx" | "html" | "css" | "json" | "markdown" | "python" | "rust" | "go" | "java" | "c" | "cpp" | "csharp" | "vue" | "xml" | "yaml" | "sql" | "bash" | "shell" | (string & {});
|
|
340
|
+
export { CodeBlockLanguage }
|
|
341
|
+
export { CodeBlockLanguage as CodeBlockLanguage_alias_1 }
|
|
342
|
+
export { CodeBlockLanguage as CodeBlockLanguage_alias_2 }
|
|
343
|
+
|
|
344
|
+
declare type CodeBlockProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof codeBlockVariants> & {
|
|
345
|
+
/** The source code to highlight */
|
|
346
|
+
code: string;
|
|
347
|
+
/** Programming language for syntax highlighting */
|
|
348
|
+
language?: CodeBlockLanguage;
|
|
349
|
+
/** Show line numbers */
|
|
350
|
+
lineNumbers?: boolean;
|
|
351
|
+
/** Enable live editing — renders a transparent textarea over the highlighted output */
|
|
352
|
+
editable?: boolean;
|
|
353
|
+
/** Called when the user edits code (only fires when `editable` is true) */
|
|
354
|
+
onCodeChange?: (code: string) => void;
|
|
355
|
+
};
|
|
356
|
+
export { CodeBlockProps }
|
|
357
|
+
export { CodeBlockProps as CodeBlockProps_alias_1 }
|
|
358
|
+
export { CodeBlockProps as CodeBlockProps_alias_2 }
|
|
359
|
+
|
|
360
|
+
declare const codeBlockVariants: (props?: ({
|
|
361
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
362
|
+
} & ClassProp) | undefined) => string;
|
|
363
|
+
export { codeBlockVariants }
|
|
364
|
+
export { codeBlockVariants as codeBlockVariants_alias_1 }
|
|
365
|
+
export { codeBlockVariants as codeBlockVariants_alias_2 }
|
|
366
|
+
|
|
367
|
+
declare type ColumnDef<T, K extends string = string> = {
|
|
368
|
+
/** Unique key identifying this column. */
|
|
369
|
+
key: K;
|
|
370
|
+
/** Header label. */
|
|
371
|
+
header: React_2.ReactNode;
|
|
372
|
+
/** Extract the cell value from a row. */
|
|
373
|
+
cell: (row: T) => React_2.ReactNode;
|
|
374
|
+
/** Whether this column is sortable. @default true */
|
|
375
|
+
sortable?: boolean;
|
|
376
|
+
/** Custom comparator. Receives two row objects and should return <0, 0, or >0. */
|
|
377
|
+
compareFn?: (a: T, b: T) => number;
|
|
378
|
+
/** Custom class for the <th> element. */
|
|
379
|
+
headerClassName?: string;
|
|
380
|
+
/** Custom class for the <td> element. */
|
|
381
|
+
cellClassName?: string;
|
|
382
|
+
/** Whether this column can be edited inline. @default true when table is editable. */
|
|
383
|
+
editable?: boolean;
|
|
384
|
+
/** Extract a raw string value for editing. Falls back to cell(). */
|
|
385
|
+
editValue?: (row: T) => string;
|
|
386
|
+
/** Hide this column below a given breakpoint. */
|
|
387
|
+
hideBelow?: "sm" | "md" | "lg";
|
|
388
|
+
};
|
|
389
|
+
export { ColumnDef }
|
|
390
|
+
export { ColumnDef as ColumnDef_alias_1 }
|
|
391
|
+
export { ColumnDef as ColumnDef_alias_2 }
|
|
392
|
+
|
|
393
|
+
declare function configureAlertTopOffset(offset: number): void;
|
|
394
|
+
export { configureAlertTopOffset }
|
|
395
|
+
export { configureAlertTopOffset as configureAlertTopOffset_alias_1 }
|
|
396
|
+
export { configureAlertTopOffset as configureAlertTopOffset_alias_2 }
|
|
397
|
+
|
|
398
|
+
declare const DataDisplay: {
|
|
399
|
+
Table: typeof Table;
|
|
400
|
+
List: typeof List;
|
|
401
|
+
Tree: typeof Tree;
|
|
402
|
+
Chat: typeof Chat;
|
|
403
|
+
CodeBlock: typeof CodeBlock;
|
|
404
|
+
};
|
|
405
|
+
export { DataDisplay }
|
|
406
|
+
export { DataDisplay as DataDisplay_alias_1 }
|
|
407
|
+
export { DataDisplay as default_alias_1 }
|
|
408
|
+
|
|
409
|
+
declare function DataTable<T, K extends string = string>({ columns, data, rowKey, sort: controlledSort, onSortChange, defaultSort, selectionMode, selected: controlledSelected, onSelectionChange, editable, onCellEdit, toolbar, onAdd, onDelete, rowActions, intent, density, className, empty, }: DataTableProps<T, K>): JSX.Element;
|
|
410
|
+
export { DataTable }
|
|
411
|
+
export { DataTable as DataTable_alias_1 }
|
|
412
|
+
export { DataTable as DataTable_alias_2 }
|
|
413
|
+
|
|
414
|
+
declare type DataTableProps<T, K extends string = string> = {
|
|
415
|
+
/** Column definitions. */
|
|
416
|
+
columns: ColumnDef<T, K>[];
|
|
417
|
+
/** Row data (controlled). */
|
|
418
|
+
data: T[];
|
|
419
|
+
/** Extract a unique key per row. */
|
|
420
|
+
rowKey: (row: T, index: number) => React_2.Key;
|
|
421
|
+
sort?: SortState<K>;
|
|
422
|
+
onSortChange?: (sort: SortState<K>) => void;
|
|
423
|
+
defaultSort?: SortState<K>;
|
|
424
|
+
/** Row selection mode. @default 'none' */
|
|
425
|
+
selectionMode?: SelectionMode_2;
|
|
426
|
+
/** Controlled selected keys. */
|
|
427
|
+
selected?: React_2.Key[];
|
|
428
|
+
/** Fired when selection changes. */
|
|
429
|
+
onSelectionChange?: (keys: React_2.Key[]) => void;
|
|
430
|
+
/** Enable inline cell editing on double-click. @default false */
|
|
431
|
+
editable?: boolean;
|
|
432
|
+
/** Called when a cell value is committed. */
|
|
433
|
+
onCellEdit?: (rowKey: React_2.Key, columnKey: K, value: string) => void;
|
|
434
|
+
/** Show the toolbar. @default false */
|
|
435
|
+
toolbar?: boolean;
|
|
436
|
+
/** Called when the Add button is clicked. */
|
|
437
|
+
onAdd?: () => void;
|
|
438
|
+
/** Called when Delete is clicked. Receives currently selected keys. */
|
|
439
|
+
onDelete?: (keys: React_2.Key[]) => void;
|
|
440
|
+
/** Render action buttons for each row. Receives the row data object. */
|
|
441
|
+
rowActions?: (row: T) => React_2.ReactNode;
|
|
442
|
+
intent?: VariantProps<typeof tableVariants>["intent"];
|
|
443
|
+
density?: VariantProps<typeof tableVariants>["density"];
|
|
444
|
+
className?: string;
|
|
445
|
+
/** Custom empty state props (icon, text). Shown when data is empty. */
|
|
446
|
+
empty?: TableEmptyProps;
|
|
447
|
+
};
|
|
448
|
+
export { DataTableProps }
|
|
449
|
+
export { DataTableProps as DataTableProps_alias_1 }
|
|
450
|
+
export { DataTableProps as DataTableProps_alias_2 }
|
|
451
|
+
|
|
452
|
+
export declare const default_alias: {
|
|
453
|
+
Primitives: {
|
|
454
|
+
Button: Button;
|
|
455
|
+
Dropdown: Dropdown;
|
|
456
|
+
DropdownButton: DropdownButton;
|
|
457
|
+
Badge: Badge;
|
|
458
|
+
Indicator: Indicator;
|
|
459
|
+
Label: Label;
|
|
460
|
+
Input: Input;
|
|
461
|
+
TextBox: TextBox;
|
|
462
|
+
Switch: Switch;
|
|
463
|
+
Checkbox: Checkbox;
|
|
464
|
+
Radio: Radio;
|
|
465
|
+
RadioGroup: RadioGroup;
|
|
466
|
+
};
|
|
467
|
+
Layout: {
|
|
468
|
+
Card: Card;
|
|
469
|
+
ImageCard: ImageCard;
|
|
470
|
+
Panel: Panel;
|
|
471
|
+
};
|
|
472
|
+
DataDisplay: {
|
|
473
|
+
Table: Table;
|
|
474
|
+
List: List;
|
|
475
|
+
Tree: Tree;
|
|
476
|
+
Chat: Chat;
|
|
477
|
+
CodeBlock: CodeBlock;
|
|
478
|
+
};
|
|
479
|
+
Navigation: {
|
|
480
|
+
SideNav: SideNav;
|
|
481
|
+
Header: Header;
|
|
482
|
+
NavLink: NavLink;
|
|
483
|
+
};
|
|
484
|
+
Disclosure: {
|
|
485
|
+
Accordion: Accordion;
|
|
486
|
+
Tabs: Tabs;
|
|
487
|
+
};
|
|
488
|
+
Overlay: {
|
|
489
|
+
Dialog: Dialog;
|
|
490
|
+
Tooltip: Tooltip;
|
|
491
|
+
};
|
|
492
|
+
Feedback: {
|
|
493
|
+
Alert: Alert;
|
|
494
|
+
ProgressBar: ProgressBar;
|
|
495
|
+
Spin: Spin;
|
|
496
|
+
};
|
|
497
|
+
Extras: {
|
|
498
|
+
FilmReel: FilmReel;
|
|
499
|
+
MiniPlayer: MiniPlayer;
|
|
500
|
+
CinePlayer: CinePlayer;
|
|
501
|
+
FileExplorer: FileExplorer;
|
|
502
|
+
Masonry: Masonry;
|
|
503
|
+
};
|
|
504
|
+
Forms: {
|
|
505
|
+
Form: Form;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
export declare function default_alias_10(): JSX.Element;
|
|
510
|
+
|
|
511
|
+
export declare function default_alias_11(): JSX.Element;
|
|
512
|
+
|
|
513
|
+
export declare function default_alias_12(): JSX.Element;
|
|
514
|
+
|
|
515
|
+
export declare function default_alias_13(): JSX.Element;
|
|
516
|
+
|
|
517
|
+
export declare function default_alias_14(): JSX.Element;
|
|
518
|
+
|
|
519
|
+
export declare function default_alias_15(): JSX.Element;
|
|
520
|
+
|
|
521
|
+
export declare function default_alias_16(): JSX.Element;
|
|
522
|
+
|
|
523
|
+
export declare function default_alias_17(): JSX.Element;
|
|
524
|
+
|
|
525
|
+
export declare function default_alias_18(): JSX.Element;
|
|
526
|
+
|
|
527
|
+
export declare function default_alias_19(): JSX.Element;
|
|
528
|
+
|
|
529
|
+
export declare function default_alias_20(): JSX.Element;
|
|
530
|
+
|
|
531
|
+
export declare function default_alias_21(): JSX.Element;
|
|
532
|
+
|
|
533
|
+
export declare function default_alias_22(): JSX.Element;
|
|
534
|
+
|
|
535
|
+
export declare function default_alias_23(): JSX.Element;
|
|
536
|
+
|
|
537
|
+
export declare function default_alias_24(): JSX.Element;
|
|
538
|
+
|
|
539
|
+
export declare function default_alias_25(): JSX.Element;
|
|
540
|
+
|
|
541
|
+
export declare function default_alias_26(): JSX.Element;
|
|
542
|
+
|
|
543
|
+
export declare function default_alias_27(): JSX.Element;
|
|
544
|
+
|
|
545
|
+
export declare function default_alias_28(): JSX.Element;
|
|
546
|
+
|
|
547
|
+
export declare function default_alias_29(): JSX.Element;
|
|
548
|
+
|
|
549
|
+
export declare function default_alias_30(): JSX.Element;
|
|
550
|
+
|
|
551
|
+
export declare function default_alias_31(): JSX.Element;
|
|
552
|
+
|
|
553
|
+
export declare function default_alias_32(): JSX.Element;
|
|
554
|
+
|
|
555
|
+
export declare function default_alias_33(): JSX.Element;
|
|
556
|
+
|
|
557
|
+
export declare function default_alias_34(): JSX.Element;
|
|
558
|
+
|
|
559
|
+
export declare function default_alias_35(): JSX.Element;
|
|
560
|
+
|
|
561
|
+
export declare function default_alias_36(): JSX.Element;
|
|
562
|
+
|
|
563
|
+
export declare function default_alias_37(): JSX.Element;
|
|
564
|
+
|
|
565
|
+
export declare function default_alias_38(): JSX.Element;
|
|
566
|
+
|
|
567
|
+
export declare function default_alias_39(): JSX.Element;
|
|
568
|
+
|
|
569
|
+
export declare function default_alias_40(): JSX.Element;
|
|
570
|
+
|
|
571
|
+
export declare function default_alias_41(): JSX.Element;
|
|
572
|
+
|
|
573
|
+
export declare function default_alias_42(): JSX.Element;
|
|
574
|
+
|
|
575
|
+
export declare function default_alias_43(): JSX.Element;
|
|
576
|
+
|
|
577
|
+
export declare function default_alias_44(): JSX.Element;
|
|
578
|
+
|
|
579
|
+
declare function Dialog({ open, onOpenChange, modal, closeOnOutsideClick, children, }: DialogProps): JSX.Element | null;
|
|
580
|
+
export { Dialog }
|
|
581
|
+
export { Dialog as Dialog_alias_1 }
|
|
582
|
+
export { Dialog as Dialog_alias_2 }
|
|
583
|
+
export { Dialog as Dialog_alias_3 }
|
|
584
|
+
|
|
585
|
+
declare function DialogClose({ className, ...props }: React_2.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
586
|
+
export { DialogClose }
|
|
587
|
+
export { DialogClose as DialogClose_alias_1 }
|
|
588
|
+
export { DialogClose as DialogClose_alias_2 }
|
|
589
|
+
|
|
590
|
+
declare function DialogContent({ size, position, className, children, ...props }: DialogContentProps): JSX.Element | null;
|
|
591
|
+
export { DialogContent }
|
|
592
|
+
export { DialogContent as DialogContent_alias_1 }
|
|
593
|
+
export { DialogContent as DialogContent_alias_2 }
|
|
594
|
+
|
|
595
|
+
declare type DialogContentProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof dialogContentVariants> & {
|
|
596
|
+
/** Where to render the dialog in the viewport. @default 'center' */
|
|
597
|
+
position?: "center" | "bottom";
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
declare const dialogContentVariants: (props?: ({
|
|
601
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
602
|
+
} & ClassProp) | undefined) => string;
|
|
603
|
+
export { dialogContentVariants }
|
|
604
|
+
export { dialogContentVariants as dialogContentVariants_alias_1 }
|
|
605
|
+
export { dialogContentVariants as dialogContentVariants_alias_2 }
|
|
606
|
+
|
|
607
|
+
declare function DialogDescription({ className, ...props }: React_2.HTMLAttributes<HTMLParagraphElement>): JSX.Element;
|
|
608
|
+
export { DialogDescription }
|
|
609
|
+
export { DialogDescription as DialogDescription_alias_1 }
|
|
610
|
+
export { DialogDescription as DialogDescription_alias_2 }
|
|
611
|
+
|
|
612
|
+
declare function DialogFooter({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
613
|
+
export { DialogFooter }
|
|
614
|
+
export { DialogFooter as DialogFooter_alias_1 }
|
|
615
|
+
export { DialogFooter as DialogFooter_alias_2 }
|
|
616
|
+
|
|
617
|
+
declare function DialogHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
618
|
+
export { DialogHeader }
|
|
619
|
+
export { DialogHeader as DialogHeader_alias_1 }
|
|
620
|
+
export { DialogHeader as DialogHeader_alias_2 }
|
|
621
|
+
|
|
622
|
+
declare type DialogProps = {
|
|
623
|
+
open: boolean;
|
|
624
|
+
onOpenChange: (open: boolean) => void;
|
|
625
|
+
modal?: boolean;
|
|
626
|
+
/** When true, clicking outside the dialog closes it. @default false */
|
|
627
|
+
closeOnOutsideClick?: boolean;
|
|
628
|
+
children: React_2.ReactNode;
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
declare function DialogTitle({ className, ...props }: React_2.HTMLAttributes<HTMLHeadingElement>): JSX.Element;
|
|
632
|
+
export { DialogTitle }
|
|
633
|
+
export { DialogTitle as DialogTitle_alias_1 }
|
|
634
|
+
export { DialogTitle as DialogTitle_alias_2 }
|
|
635
|
+
|
|
636
|
+
declare const Disclosure: {
|
|
637
|
+
Accordion: typeof Accordion;
|
|
638
|
+
Tabs: typeof Tabs;
|
|
639
|
+
};
|
|
640
|
+
export { Disclosure }
|
|
641
|
+
export { Disclosure as Disclosure_alias_1 }
|
|
642
|
+
export { Disclosure as default_alias_2 }
|
|
643
|
+
|
|
644
|
+
declare function Dropdown(props: DropdownProps): JSX.Element;
|
|
645
|
+
export { Dropdown }
|
|
646
|
+
export { Dropdown as Dropdown_alias_1 }
|
|
647
|
+
export { Dropdown as Dropdown_alias_2 }
|
|
648
|
+
export { Dropdown as Dropdown_alias_3 }
|
|
649
|
+
|
|
650
|
+
declare interface DropdownBaseProps {
|
|
651
|
+
/** Available options. Supports nested children for cascading. */
|
|
652
|
+
options: DropdownOption[];
|
|
653
|
+
/** Placeholder text when nothing is selected. */
|
|
654
|
+
placeholder?: string;
|
|
655
|
+
/** Allow the user to type to filter options. @default false */
|
|
656
|
+
editable?: boolean;
|
|
657
|
+
/** Called when the user submits a value not in the list (editable mode). */
|
|
658
|
+
onAddItem?: (value: string) => void;
|
|
659
|
+
/** Disable the entire dropdown. */
|
|
660
|
+
disabled?: boolean;
|
|
661
|
+
/** Menu alignment. @default 'left' */
|
|
662
|
+
align?: "left" | "right";
|
|
663
|
+
/** Additional class name for the root container. */
|
|
664
|
+
className?: string;
|
|
665
|
+
/** Controls the trigger height and text size. @default 'md' */
|
|
666
|
+
size?: "sm" | "md" | "lg";
|
|
667
|
+
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
668
|
+
animated?: boolean;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare function DropdownButton({ label, items, intent, size, align, className, disabled, editable, onAddItem, multiple, selected, onSelectionChange, animated, chevron, ...props }: DropdownButtonProps): JSX.Element;
|
|
672
|
+
export { DropdownButton }
|
|
673
|
+
export { DropdownButton as DropdownButton_alias_1 }
|
|
674
|
+
export { DropdownButton as DropdownButton_alias_2 }
|
|
675
|
+
export { DropdownButton as DropdownButton_alias_3 }
|
|
676
|
+
|
|
677
|
+
declare interface DropdownButtonProps extends Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof buttonVariants> {
|
|
678
|
+
/** Button label. */
|
|
679
|
+
label: React_2.ReactNode;
|
|
680
|
+
/** Dropdown menu items. */
|
|
681
|
+
items: DropdownItem[];
|
|
682
|
+
/** Menu alignment. @default 'left' */
|
|
683
|
+
align?: "left" | "right";
|
|
684
|
+
/** Show a search/add input at the top of the menu. */
|
|
685
|
+
editable?: boolean;
|
|
686
|
+
/** Called when the user presses Enter on a value not in the list. */
|
|
687
|
+
onAddItem?: (value: string) => void;
|
|
688
|
+
/** Enable multi-select with checkboxes. */
|
|
689
|
+
multiple?: boolean;
|
|
690
|
+
/** Currently selected keys (controlled). */
|
|
691
|
+
selected?: string[];
|
|
692
|
+
/** Called when the selection changes (multi-select mode). */
|
|
693
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
694
|
+
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
695
|
+
animated?: boolean;
|
|
696
|
+
/** Show the chevron indicator on the trigger button. @default true */
|
|
697
|
+
chevron?: boolean;
|
|
698
|
+
}
|
|
699
|
+
export { DropdownButtonProps }
|
|
700
|
+
export { DropdownButtonProps as DropdownButtonProps_alias_1 }
|
|
701
|
+
export { DropdownButtonProps as DropdownButtonProps_alias_2 }
|
|
702
|
+
|
|
703
|
+
declare interface DropdownItem {
|
|
704
|
+
/** Unique key. Falls back to label when label is a string. */
|
|
705
|
+
key?: string;
|
|
706
|
+
label: React_2.ReactNode;
|
|
707
|
+
/** Disable this item. */
|
|
708
|
+
disabled?: boolean;
|
|
709
|
+
/** Divider rendered before this item. */
|
|
710
|
+
divider?: boolean;
|
|
711
|
+
onClick?: () => void;
|
|
712
|
+
}
|
|
713
|
+
export { DropdownItem }
|
|
714
|
+
export { DropdownItem as DropdownItem_alias_1 }
|
|
715
|
+
export { DropdownItem as DropdownItem_alias_2 }
|
|
716
|
+
|
|
717
|
+
declare interface DropdownMultipleProps extends DropdownBaseProps {
|
|
718
|
+
/** Enable multi-select with checkboxes. */
|
|
719
|
+
multiple: true;
|
|
720
|
+
/** Currently selected values (controlled, multi mode). */
|
|
721
|
+
selected?: string[];
|
|
722
|
+
/** Default selected values (uncontrolled, multi mode). */
|
|
723
|
+
defaultSelected?: string[];
|
|
724
|
+
/** Callback fired when selection changes (multi mode). */
|
|
725
|
+
onSelectionChange?: (selected: string[]) => void;
|
|
726
|
+
/** Not used in multi mode. */
|
|
727
|
+
value?: never;
|
|
728
|
+
/** Not used in multi mode. */
|
|
729
|
+
defaultValue?: never;
|
|
730
|
+
/** Not used in multi mode. */
|
|
731
|
+
onChange?: never;
|
|
732
|
+
}
|
|
733
|
+
export { DropdownMultipleProps }
|
|
734
|
+
export { DropdownMultipleProps as DropdownMultipleProps_alias_1 }
|
|
735
|
+
export { DropdownMultipleProps as DropdownMultipleProps_alias_2 }
|
|
736
|
+
|
|
737
|
+
declare interface DropdownOption {
|
|
738
|
+
/** Unique value for this option. */
|
|
739
|
+
value: string;
|
|
740
|
+
/** Display label. Defaults to value. */
|
|
741
|
+
label?: string;
|
|
742
|
+
/** Icon rendered before the label. */
|
|
743
|
+
icon?: React_2.ReactNode;
|
|
744
|
+
/** Disable this option. */
|
|
745
|
+
disabled?: boolean;
|
|
746
|
+
/** Nested children for cascading (hierarchical) menus. */
|
|
747
|
+
children?: DropdownOption[];
|
|
748
|
+
}
|
|
749
|
+
export { DropdownOption }
|
|
750
|
+
export { DropdownOption as DropdownOption_alias_1 }
|
|
751
|
+
export { DropdownOption as DropdownOption_alias_2 }
|
|
752
|
+
|
|
753
|
+
declare type DropdownProps = DropdownSingleProps | DropdownMultipleProps;
|
|
754
|
+
export { DropdownProps }
|
|
755
|
+
export { DropdownProps as DropdownProps_alias_1 }
|
|
756
|
+
export { DropdownProps as DropdownProps_alias_2 }
|
|
757
|
+
|
|
758
|
+
declare interface DropdownSingleProps extends DropdownBaseProps {
|
|
759
|
+
/** Enable multi-select with checkboxes. @default false */
|
|
760
|
+
multiple?: false;
|
|
761
|
+
/** Currently selected value (controlled, single mode). */
|
|
762
|
+
value?: string;
|
|
763
|
+
/** Default selected value (uncontrolled, single mode). */
|
|
764
|
+
defaultValue?: string;
|
|
765
|
+
/** Callback fired when an option is selected (single mode). */
|
|
766
|
+
onChange?: (value: string, option: DropdownOption) => void;
|
|
767
|
+
/** Not used in single mode. */
|
|
768
|
+
selected?: never;
|
|
769
|
+
/** Not used in single mode. */
|
|
770
|
+
defaultSelected?: never;
|
|
771
|
+
/** Not used in single mode. */
|
|
772
|
+
onSelectionChange?: never;
|
|
773
|
+
}
|
|
774
|
+
export { DropdownSingleProps }
|
|
775
|
+
export { DropdownSingleProps as DropdownSingleProps_alias_1 }
|
|
776
|
+
export { DropdownSingleProps as DropdownSingleProps_alias_2 }
|
|
777
|
+
|
|
778
|
+
declare const Extras: {
|
|
779
|
+
FilmReel: typeof FilmReel;
|
|
780
|
+
MiniPlayer: typeof MiniPlayer;
|
|
781
|
+
CinePlayer: typeof CinePlayer;
|
|
782
|
+
FileExplorer: typeof FileExplorer;
|
|
783
|
+
Masonry: typeof Masonry;
|
|
784
|
+
};
|
|
785
|
+
export { Extras }
|
|
786
|
+
export { Extras as Extras_alias_1 }
|
|
787
|
+
export { Extras as default_alias_3 }
|
|
788
|
+
|
|
789
|
+
declare const Feedback: {
|
|
790
|
+
Alert: typeof Alert;
|
|
791
|
+
ProgressBar: typeof ProgressBar;
|
|
792
|
+
Spin: typeof Spin;
|
|
793
|
+
};
|
|
794
|
+
export { Feedback }
|
|
795
|
+
export { Feedback as Feedback_alias_1 }
|
|
796
|
+
export { Feedback as default_alias_4 }
|
|
797
|
+
|
|
798
|
+
declare function FileExplorer({ files, title, accent, defaultView, initialPosition, initialSize, dockable, dockSide, visible: visibleProp, onFileOpen, onSelectionChange, onNavigate, onDelete, onClose, onMinimize, onPathSubmit, defaultInputMode, actions, resizable, minSize, className, }: FileExplorerProps): JSX.Element | null;
|
|
799
|
+
export { FileExplorer }
|
|
800
|
+
export { FileExplorer as FileExplorer_alias_1 }
|
|
801
|
+
export { FileExplorer as FileExplorer_alias_2 }
|
|
802
|
+
export { FileExplorer as FileExplorer_alias_3 }
|
|
803
|
+
|
|
804
|
+
/** A custom action shown in the properties panel. */
|
|
805
|
+
declare interface FileExplorerAction {
|
|
806
|
+
/** Unique key for the action. */
|
|
807
|
+
key: string;
|
|
808
|
+
/** Label displayed on the button. */
|
|
809
|
+
label: string;
|
|
810
|
+
/** Optional lucide icon component. */
|
|
811
|
+
icon?: React_2.ComponentType<{
|
|
812
|
+
className?: string;
|
|
813
|
+
}>;
|
|
814
|
+
/** Called when the action is clicked. */
|
|
815
|
+
onClick: (file: FileExplorerItem) => void;
|
|
816
|
+
}
|
|
817
|
+
export { FileExplorerAction }
|
|
818
|
+
export { FileExplorerAction as FileExplorerAction_alias_1 }
|
|
819
|
+
export { FileExplorerAction as FileExplorerAction_alias_2 }
|
|
820
|
+
|
|
821
|
+
declare type FileExplorerDockSide = "left" | "right";
|
|
822
|
+
export { FileExplorerDockSide }
|
|
823
|
+
export { FileExplorerDockSide as FileExplorerDockSide_alias_1 }
|
|
824
|
+
export { FileExplorerDockSide as FileExplorerDockSide_alias_2 }
|
|
825
|
+
|
|
826
|
+
/** Toolbar input mode: filter current list or navigate to a path. */
|
|
827
|
+
declare type FileExplorerInputMode = "search" | "navigate";
|
|
828
|
+
export { FileExplorerInputMode }
|
|
829
|
+
export { FileExplorerInputMode as FileExplorerInputMode_alias_1 }
|
|
830
|
+
export { FileExplorerInputMode as FileExplorerInputMode_alias_2 }
|
|
831
|
+
|
|
832
|
+
declare interface FileExplorerItem {
|
|
833
|
+
/** File or directory name (including extension). */
|
|
834
|
+
name: string;
|
|
835
|
+
/** Absolute or virtual path. */
|
|
836
|
+
path: string;
|
|
837
|
+
/** Item type. */
|
|
838
|
+
type: "file" | "directory";
|
|
839
|
+
/** Size in bytes (files only). */
|
|
840
|
+
size?: number;
|
|
841
|
+
/** File extension (e.g. '.tsx'). Auto-derived from name if omitted. */
|
|
842
|
+
extension?: string;
|
|
843
|
+
/** Last modified date. */
|
|
844
|
+
modifiedAt?: Date | string;
|
|
845
|
+
/** Creation date. */
|
|
846
|
+
createdAt?: Date | string;
|
|
847
|
+
/** MIME type string. */
|
|
848
|
+
mimeType?: string;
|
|
849
|
+
/** Whether this item is hidden. */
|
|
850
|
+
hidden?: boolean;
|
|
851
|
+
}
|
|
852
|
+
export { FileExplorerItem }
|
|
853
|
+
export { FileExplorerItem as FileExplorerItem_alias_1 }
|
|
854
|
+
export { FileExplorerItem as FileExplorerItem_alias_2 }
|
|
855
|
+
|
|
856
|
+
declare interface FileExplorerProps {
|
|
857
|
+
/** Files / directories to display. */
|
|
858
|
+
files: FileExplorerItem[];
|
|
859
|
+
/** Window title. @default 'File Explorer' */
|
|
860
|
+
title?: string;
|
|
861
|
+
/** Accent color (any CSS color). @default '#8b5cf6' */
|
|
862
|
+
accent?: string;
|
|
863
|
+
/** Default view mode. @default 'list' */
|
|
864
|
+
defaultView?: FileExplorerViewMode;
|
|
865
|
+
/** Initial window position {x, y}. */
|
|
866
|
+
initialPosition?: {
|
|
867
|
+
x: number;
|
|
868
|
+
y: number;
|
|
869
|
+
};
|
|
870
|
+
/** Initial window dimensions (px). */
|
|
871
|
+
initialSize?: {
|
|
872
|
+
width: number;
|
|
873
|
+
height: number;
|
|
874
|
+
};
|
|
875
|
+
/** Enable dock-to-edge behaviour. @default false */
|
|
876
|
+
dockable?: boolean;
|
|
877
|
+
/** Which edge to dock to. @default 'right' */
|
|
878
|
+
dockSide?: FileExplorerDockSide;
|
|
879
|
+
/** Whether the explorer starts visible. @default true */
|
|
880
|
+
visible?: boolean;
|
|
881
|
+
/** Called on double-click of a file. */
|
|
882
|
+
onFileOpen?: (file: FileExplorerItem) => void;
|
|
883
|
+
/** Called when selection changes. */
|
|
884
|
+
onSelectionChange?: (files: FileExplorerItem[]) => void;
|
|
885
|
+
/** Called when navigating into a directory. */
|
|
886
|
+
onNavigate?: (path: string) => void;
|
|
887
|
+
/** Called when the user confirms deletion of selected files via the Delete key. */
|
|
888
|
+
onDelete?: (files: FileExplorerItem[]) => void;
|
|
889
|
+
/** Called on close button. */
|
|
890
|
+
onClose?: () => void;
|
|
891
|
+
/** Called on minimize/dock. */
|
|
892
|
+
onMinimize?: () => void;
|
|
893
|
+
/** Called when user presses Enter in navigate mode. Receives the typed path. */
|
|
894
|
+
onPathSubmit?: (path: string) => void;
|
|
895
|
+
/** Default input mode. @default 'search' */
|
|
896
|
+
defaultInputMode?: FileExplorerInputMode;
|
|
897
|
+
/** Custom actions shown in the properties panel. Each receives the inspected file. */
|
|
898
|
+
actions?: FileExplorerAction[];
|
|
899
|
+
/** Whether the window is resizable. @default true */
|
|
900
|
+
resizable?: boolean;
|
|
901
|
+
/** Minimum window size when resizing. @default { width: 400, height: 300 } */
|
|
902
|
+
minSize?: {
|
|
903
|
+
width: number;
|
|
904
|
+
height: number;
|
|
905
|
+
};
|
|
906
|
+
/** Extra class on outermost wrapper. */
|
|
907
|
+
className?: string;
|
|
908
|
+
}
|
|
909
|
+
export { FileExplorerProps }
|
|
910
|
+
export { FileExplorerProps as FileExplorerProps_alias_1 }
|
|
911
|
+
export { FileExplorerProps as FileExplorerProps_alias_2 }
|
|
912
|
+
|
|
913
|
+
declare type FileExplorerViewMode = "list" | "grid";
|
|
914
|
+
export { FileExplorerViewMode }
|
|
915
|
+
export { FileExplorerViewMode as FileExplorerViewMode_alias_1 }
|
|
916
|
+
export { FileExplorerViewMode as FileExplorerViewMode_alias_2 }
|
|
917
|
+
|
|
918
|
+
declare function FilmReel({ photos, layout, actions, onAction, className, showGrain, sheetTitle, sheetLabel, }: FilmReelProps): JSX.Element;
|
|
919
|
+
export { FilmReel }
|
|
920
|
+
export { FilmReel as FilmReel_alias_1 }
|
|
921
|
+
export { FilmReel as FilmReel_alias_2 }
|
|
922
|
+
export { FilmReel as FilmReel_alias_3 }
|
|
923
|
+
|
|
924
|
+
declare interface FilmReelAction {
|
|
925
|
+
key: string;
|
|
926
|
+
icon: React_2.ReactNode;
|
|
927
|
+
activeIcon?: React_2.ReactNode;
|
|
928
|
+
label: string;
|
|
929
|
+
toggle?: boolean;
|
|
930
|
+
}
|
|
931
|
+
export { FilmReelAction }
|
|
932
|
+
export { FilmReelAction as FilmReelAction_alias_1 }
|
|
933
|
+
export { FilmReelAction as FilmReelAction_alias_2 }
|
|
934
|
+
|
|
935
|
+
declare type FilmReelLayout = "strip" | "sheet" | "stack";
|
|
936
|
+
export { FilmReelLayout }
|
|
937
|
+
export { FilmReelLayout as FilmReelLayout_alias_1 }
|
|
938
|
+
export { FilmReelLayout as FilmReelLayout_alias_2 }
|
|
939
|
+
|
|
940
|
+
declare interface FilmReelPhoto {
|
|
941
|
+
src: string;
|
|
942
|
+
alt?: string;
|
|
943
|
+
title?: string;
|
|
944
|
+
/** A short memoir or description for this photo. */
|
|
945
|
+
description?: string;
|
|
946
|
+
metadata?: {
|
|
947
|
+
camera?: string;
|
|
948
|
+
lens?: string;
|
|
949
|
+
aperture?: string;
|
|
950
|
+
shutter?: string;
|
|
951
|
+
iso?: string;
|
|
952
|
+
date?: string;
|
|
953
|
+
location?: string;
|
|
954
|
+
[key: string]: string | undefined;
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
export { FilmReelPhoto }
|
|
958
|
+
export { FilmReelPhoto as FilmReelPhoto_alias_1 }
|
|
959
|
+
export { FilmReelPhoto as FilmReelPhoto_alias_2 }
|
|
960
|
+
|
|
961
|
+
declare interface FilmReelProps {
|
|
962
|
+
photos: FilmReelPhoto[];
|
|
963
|
+
layout?: FilmReelLayout;
|
|
964
|
+
actions?: FilmReelAction[];
|
|
965
|
+
onAction?: (action: string, photo: FilmReelPhoto, index: number) => void;
|
|
966
|
+
className?: string;
|
|
967
|
+
showGrain?: boolean;
|
|
968
|
+
/** Left-side header text for the contact sheet layout. */
|
|
969
|
+
sheetTitle?: string;
|
|
970
|
+
/** Right-side label text for the contact sheet layout. */
|
|
971
|
+
sheetLabel?: string;
|
|
972
|
+
}
|
|
973
|
+
export { FilmReelProps }
|
|
974
|
+
export { FilmReelProps as FilmReelProps_alias_1 }
|
|
975
|
+
export { FilmReelProps as FilmReelProps_alias_2 }
|
|
976
|
+
|
|
977
|
+
declare function Form({ children, className, intent, size, layout, title, description, footer, onValues, onSubmit, ...props }: FormProps): JSX.Element;
|
|
978
|
+
export { Form }
|
|
979
|
+
export { Form as Form_alias_1 }
|
|
980
|
+
export { Form as Form_alias_2 }
|
|
981
|
+
export { Form as Form_alias_3 }
|
|
982
|
+
|
|
983
|
+
declare function FormItem({ label, layout: itemLayout, required, hint, validation, name, onValidate, className, children, }: FormItemProps): JSX.Element;
|
|
984
|
+
export { FormItem }
|
|
985
|
+
export { FormItem as FormItem_alias_1 }
|
|
986
|
+
export { FormItem as FormItem_alias_2 }
|
|
987
|
+
|
|
988
|
+
declare type FormItemProps = {
|
|
989
|
+
/** Label text or element. Pass a string for automatic htmlFor wiring. */
|
|
990
|
+
label?: React_2.ReactNode;
|
|
991
|
+
/**
|
|
992
|
+
* Override the inherited layout from Form.
|
|
993
|
+
* Useful when a specific item needs to differ from the rest.
|
|
994
|
+
*/
|
|
995
|
+
layout?: FormLayout;
|
|
996
|
+
/** Whether the field is required (adds a red asterisk after the label). */
|
|
997
|
+
required?: boolean;
|
|
998
|
+
/** Additional hint text rendered below the control (below validation if both present). */
|
|
999
|
+
hint?: React_2.ReactNode;
|
|
1000
|
+
/** Externally controlled validation result. Takes precedence over `onValidate`. */
|
|
1001
|
+
validation?: FormValidation;
|
|
1002
|
+
/**
|
|
1003
|
+
* Field name used by the native FormData API when the Form's `onValues`
|
|
1004
|
+
* callback is used. Injected into the first child element automatically.
|
|
1005
|
+
*/
|
|
1006
|
+
name?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Validation callback. Called with the current value on every change.
|
|
1009
|
+
* Return `{ result: true, reason: "" }` for success or
|
|
1010
|
+
* `{ result: false, reason: "Error message" }` for error.
|
|
1011
|
+
*/
|
|
1012
|
+
onValidate?: ValidateCallback;
|
|
1013
|
+
/** Extra class on the wrapper div. */
|
|
1014
|
+
className?: string;
|
|
1015
|
+
children: React_2.ReactNode;
|
|
1016
|
+
};
|
|
1017
|
+
export { FormItemProps }
|
|
1018
|
+
export { FormItemProps as FormItemProps_alias_1 }
|
|
1019
|
+
export { FormItemProps as FormItemProps_alias_2 }
|
|
1020
|
+
|
|
1021
|
+
declare const formItemVariants: (props?: ({
|
|
1022
|
+
layout?: "inline" | "stacked" | null | undefined;
|
|
1023
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1024
|
+
} & ClassProp) | undefined) => string;
|
|
1025
|
+
export { formItemVariants }
|
|
1026
|
+
export { formItemVariants as formItemVariants_alias_1 }
|
|
1027
|
+
|
|
1028
|
+
declare type FormLayout = "stacked" | "inline";
|
|
1029
|
+
export { FormLayout }
|
|
1030
|
+
export { FormLayout as FormLayout_alias_1 }
|
|
1031
|
+
export { FormLayout as FormLayout_alias_2 }
|
|
1032
|
+
|
|
1033
|
+
declare type FormProps = React_2.FormHTMLAttributes<HTMLFormElement> & VariantProps<typeof formVariants> & {
|
|
1034
|
+
/**
|
|
1035
|
+
* Label + control layout for all FormItems.
|
|
1036
|
+
* - "stacked" — label above control (default; always used on narrow viewports)
|
|
1037
|
+
* - "inline" — label left, control right
|
|
1038
|
+
* @default "stacked"
|
|
1039
|
+
*/
|
|
1040
|
+
layout?: FormLayout;
|
|
1041
|
+
/** Form heading rendered above all items. */
|
|
1042
|
+
title?: React_2.ReactNode;
|
|
1043
|
+
/** Optional descriptive text below the heading. */
|
|
1044
|
+
description?: React_2.ReactNode;
|
|
1045
|
+
/**
|
|
1046
|
+
* Footer slot — typically holds submit / reset buttons.
|
|
1047
|
+
* Rendered below all FormItems, separated by a top border.
|
|
1048
|
+
*/
|
|
1049
|
+
footer?: React_2.ReactNode;
|
|
1050
|
+
/**
|
|
1051
|
+
* Called on form submit with a plain-object snapshot of all named
|
|
1052
|
+
* FormItem inputs (via the native FormData API).
|
|
1053
|
+
* Call `e.preventDefault()` inside this callback to prevent a page reload.
|
|
1054
|
+
*
|
|
1055
|
+
* May return (or resolve to) a `BulkValidationResult` to display
|
|
1056
|
+
* per-field errors/successes — Form automatically routes each entry
|
|
1057
|
+
* to the matching `<FormItem name="…">`.
|
|
1058
|
+
* Supports async (return a Promise).
|
|
1059
|
+
*/
|
|
1060
|
+
onValues?: (values: Record<string, FormDataEntryValue>, event: React_2.FormEvent<HTMLFormElement>) => BulkValidationResult | void | Promise<BulkValidationResult | void>;
|
|
1061
|
+
};
|
|
1062
|
+
export { FormProps }
|
|
1063
|
+
export { FormProps as FormProps_alias_1 }
|
|
1064
|
+
export { FormProps as FormProps_alias_2 }
|
|
1065
|
+
|
|
1066
|
+
declare const Forms: {
|
|
1067
|
+
Form: typeof Form;
|
|
1068
|
+
};
|
|
1069
|
+
export { Forms }
|
|
1070
|
+
export { Forms as Forms_alias_1 }
|
|
1071
|
+
export { Forms as default_alias_5 }
|
|
1072
|
+
|
|
1073
|
+
declare function FormSection({ title, description, className, children }: FormSectionProps): JSX.Element;
|
|
1074
|
+
export { FormSection }
|
|
1075
|
+
export { FormSection as FormSection_alias_1 }
|
|
1076
|
+
export { FormSection as FormSection_alias_2 }
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Optional grouping element inside a Form.
|
|
1080
|
+
* Renders a subtle heading + divider, then its children as a nested column.
|
|
1081
|
+
*/
|
|
1082
|
+
declare type FormSectionProps = {
|
|
1083
|
+
title?: React_2.ReactNode;
|
|
1084
|
+
description?: React_2.ReactNode;
|
|
1085
|
+
className?: string;
|
|
1086
|
+
children: React_2.ReactNode;
|
|
1087
|
+
};
|
|
1088
|
+
export { FormSectionProps }
|
|
1089
|
+
export { FormSectionProps as FormSectionProps_alias_1 }
|
|
1090
|
+
export { FormSectionProps as FormSectionProps_alias_2 }
|
|
1091
|
+
|
|
1092
|
+
declare type FormSize = "sm" | "md" | "lg";
|
|
1093
|
+
export { FormSize }
|
|
1094
|
+
export { FormSize as FormSize_alias_1 }
|
|
1095
|
+
export { FormSize as FormSize_alias_2 }
|
|
1096
|
+
|
|
1097
|
+
declare type FormValidation = {
|
|
1098
|
+
/** Validation display status. Controls icon colour. */
|
|
1099
|
+
status: FormValidationStatus;
|
|
1100
|
+
/** Message text shown below the control. */
|
|
1101
|
+
message: string;
|
|
1102
|
+
};
|
|
1103
|
+
export { FormValidation }
|
|
1104
|
+
export { FormValidation as FormValidation_alias_1 }
|
|
1105
|
+
export { FormValidation as FormValidation_alias_2 }
|
|
1106
|
+
|
|
1107
|
+
declare type FormValidationStatus = "error" | "warning" | "success" | "hint";
|
|
1108
|
+
export { FormValidationStatus }
|
|
1109
|
+
export { FormValidationStatus as FormValidationStatus_alias_1 }
|
|
1110
|
+
export { FormValidationStatus as FormValidationStatus_alias_2 }
|
|
1111
|
+
|
|
1112
|
+
declare const formValidationVariants: (props?: ({
|
|
1113
|
+
status?: "warning" | "success" | "error" | "hint" | null | undefined;
|
|
1114
|
+
} & ClassProp) | undefined) => string;
|
|
1115
|
+
export { formValidationVariants }
|
|
1116
|
+
export { formValidationVariants as formValidationVariants_alias_1 }
|
|
1117
|
+
|
|
1118
|
+
declare const formVariants: (props?: ({
|
|
1119
|
+
intent?: "default" | "inset" | "card" | null | undefined;
|
|
1120
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1121
|
+
} & ClassProp) | undefined) => string;
|
|
1122
|
+
export { formVariants }
|
|
1123
|
+
export { formVariants as formVariants_alias_1 }
|
|
1124
|
+
|
|
1125
|
+
declare function Header({ brand, onBrandClick, navItems, actions, linkComponent: Link, height, mobileMenu, navMenuIcon, actionsMenuIcon, className, children, }: HeaderProps): JSX.Element;
|
|
1126
|
+
export { Header }
|
|
1127
|
+
export { Header as Header_alias_1 }
|
|
1128
|
+
export { Header as Header_alias_2 }
|
|
1129
|
+
export { Header as Header_alias_3 }
|
|
1130
|
+
|
|
1131
|
+
declare interface HeaderAction {
|
|
1132
|
+
/** Unique key. Falls back to index. */
|
|
1133
|
+
key?: string;
|
|
1134
|
+
/** Icon or element to render. */
|
|
1135
|
+
icon: React_2.ReactNode;
|
|
1136
|
+
/** Accessible label for the button. */
|
|
1137
|
+
"aria-label": string;
|
|
1138
|
+
/** Click handler. */
|
|
1139
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
1140
|
+
/** Render as a link instead of a button. */
|
|
1141
|
+
href?: string;
|
|
1142
|
+
/** Open in new tab (when href is set). */
|
|
1143
|
+
external?: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
export { HeaderAction }
|
|
1146
|
+
export { HeaderAction as HeaderAction_alias_1 }
|
|
1147
|
+
export { HeaderAction as HeaderAction_alias_2 }
|
|
1148
|
+
|
|
1149
|
+
declare interface HeaderNavItem {
|
|
1150
|
+
/** Display label. */
|
|
1151
|
+
label: React_2.ReactNode;
|
|
1152
|
+
/** URL or route path. */
|
|
1153
|
+
href?: string;
|
|
1154
|
+
/** Marks this item as currently active. */
|
|
1155
|
+
active?: boolean;
|
|
1156
|
+
/** Click handler (for SPA routing or custom behaviour). */
|
|
1157
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
1158
|
+
}
|
|
1159
|
+
export { HeaderNavItem }
|
|
1160
|
+
export { HeaderNavItem as HeaderNavItem_alias_1 }
|
|
1161
|
+
export { HeaderNavItem as HeaderNavItem_alias_2 }
|
|
1162
|
+
|
|
1163
|
+
declare interface HeaderProps {
|
|
1164
|
+
/** Brand text, logo element, or both. */
|
|
1165
|
+
brand?: React_2.ReactNode;
|
|
1166
|
+
/** Click handler on the brand element (e.g. navigate home). */
|
|
1167
|
+
onBrandClick?: (e: React_2.MouseEvent) => void;
|
|
1168
|
+
/** Primary navigation items displayed after the brand. */
|
|
1169
|
+
navItems?: HeaderNavItem[];
|
|
1170
|
+
/** Action buttons rendered on the right side (e.g. search, theme toggle, login). */
|
|
1171
|
+
actions?: HeaderAction[];
|
|
1172
|
+
/** Override the link component used for nav items (e.g. React-Router NavLink). */
|
|
1173
|
+
linkComponent?: React_2.ComponentType<{
|
|
1174
|
+
href: string;
|
|
1175
|
+
className?: string;
|
|
1176
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
1177
|
+
children: React_2.ReactNode;
|
|
1178
|
+
}>;
|
|
1179
|
+
/** Fixed height class. @default 'h-12' */
|
|
1180
|
+
height?: string;
|
|
1181
|
+
/** Additional class names for the root header element. */
|
|
1182
|
+
className?: string;
|
|
1183
|
+
/** Content rendered between nav items and actions (e.g. search bar). */
|
|
1184
|
+
children?: React_2.ReactNode;
|
|
1185
|
+
/** Show a hamburger menu button on small screens (< md) that reveals nav items. @default false */
|
|
1186
|
+
mobileMenu?: boolean;
|
|
1187
|
+
/** Custom icon for the mobile nav toggle (left side). @default <PanelLeft> */
|
|
1188
|
+
navMenuIcon?: React_2.ReactNode;
|
|
1189
|
+
/** Custom icon for the mobile actions toggle (right side). @default <MoreHorizontal> */
|
|
1190
|
+
actionsMenuIcon?: React_2.ReactNode;
|
|
1191
|
+
}
|
|
1192
|
+
export { HeaderProps }
|
|
1193
|
+
export { HeaderProps as HeaderProps_alias_1 }
|
|
1194
|
+
export { HeaderProps as HeaderProps_alias_2 }
|
|
1195
|
+
|
|
1196
|
+
declare function HorizontalCard({ intent, media, mediaPosition, stackOnMobile, className, children, ...props }: HorizontalCardProps): JSX.Element;
|
|
1197
|
+
export { HorizontalCard }
|
|
1198
|
+
export { HorizontalCard as HorizontalCard_alias_1 }
|
|
1199
|
+
export { HorizontalCard as HorizontalCard_alias_2 }
|
|
1200
|
+
|
|
1201
|
+
declare type HorizontalCardMediaProps = {
|
|
1202
|
+
/** Image source URL. */
|
|
1203
|
+
src?: string;
|
|
1204
|
+
/** Image alt text. */
|
|
1205
|
+
alt?: string;
|
|
1206
|
+
/** Render an icon or avatar instead of an image. */
|
|
1207
|
+
icon?: React_2.ReactNode;
|
|
1208
|
+
/** Width of the media area. @default '10rem' */
|
|
1209
|
+
width?: string;
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
declare type HorizontalCardProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, "children"> & VariantProps<typeof cardVariants> & {
|
|
1213
|
+
/** Media placement. @default 'left' */
|
|
1214
|
+
mediaPosition?: "left" | "right";
|
|
1215
|
+
/** Media configuration. */
|
|
1216
|
+
media: HorizontalCardMediaProps;
|
|
1217
|
+
children: React_2.ReactNode;
|
|
1218
|
+
/** Stack media above content on small screens. @default false */
|
|
1219
|
+
stackOnMobile?: boolean;
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
declare function ImageCard({ src, alt, aspectRatio, className, children, ...props }: ImageCardProps): JSX.Element;
|
|
1223
|
+
export { ImageCard }
|
|
1224
|
+
export { ImageCard as ImageCard_alias_1 }
|
|
1225
|
+
export { ImageCard as ImageCard_alias_2 }
|
|
1226
|
+
export { ImageCard as ImageCard_alias_3 }
|
|
1227
|
+
|
|
1228
|
+
declare function ImageCardActions({ className, ...props }: ImageCardActionsProps): JSX.Element;
|
|
1229
|
+
export { ImageCardActions }
|
|
1230
|
+
export { ImageCardActions as ImageCardActions_alias_1 }
|
|
1231
|
+
export { ImageCardActions as ImageCardActions_alias_2 }
|
|
1232
|
+
|
|
1233
|
+
declare type ImageCardActionsProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
1234
|
+
export { ImageCardActionsProps }
|
|
1235
|
+
export { ImageCardActionsProps as ImageCardActionsProps_alias_1 }
|
|
1236
|
+
|
|
1237
|
+
declare function ImageCardBody({ className, ...props }: ImageCardBodyProps): JSX.Element;
|
|
1238
|
+
export { ImageCardBody }
|
|
1239
|
+
export { ImageCardBody as ImageCardBody_alias_1 }
|
|
1240
|
+
export { ImageCardBody as ImageCardBody_alias_2 }
|
|
1241
|
+
|
|
1242
|
+
declare type ImageCardBodyProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
1243
|
+
export { ImageCardBodyProps }
|
|
1244
|
+
export { ImageCardBodyProps as ImageCardBodyProps_alias_1 }
|
|
1245
|
+
|
|
1246
|
+
declare function ImageCardDescription({ className, ...props }: ImageCardDescriptionProps): JSX.Element;
|
|
1247
|
+
export { ImageCardDescription }
|
|
1248
|
+
export { ImageCardDescription as ImageCardDescription_alias_1 }
|
|
1249
|
+
export { ImageCardDescription as ImageCardDescription_alias_2 }
|
|
1250
|
+
|
|
1251
|
+
declare type ImageCardDescriptionProps = React_2.HTMLAttributes<HTMLParagraphElement>;
|
|
1252
|
+
export { ImageCardDescriptionProps }
|
|
1253
|
+
export { ImageCardDescriptionProps as ImageCardDescriptionProps_alias_1 }
|
|
1254
|
+
|
|
1255
|
+
declare interface ImageCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1256
|
+
/** Image source URL. */
|
|
1257
|
+
src: string;
|
|
1258
|
+
/** Image alt text. */
|
|
1259
|
+
alt?: string;
|
|
1260
|
+
/** Fixed aspect ratio for the image area. @default '16/9' */
|
|
1261
|
+
aspectRatio?: string;
|
|
1262
|
+
}
|
|
1263
|
+
export { ImageCardProps }
|
|
1264
|
+
export { ImageCardProps as ImageCardProps_alias_1 }
|
|
1265
|
+
|
|
1266
|
+
declare function ImageCardTitle({ className, ...props }: ImageCardTitleProps): JSX.Element;
|
|
1267
|
+
export { ImageCardTitle }
|
|
1268
|
+
export { ImageCardTitle as ImageCardTitle_alias_1 }
|
|
1269
|
+
export { ImageCardTitle as ImageCardTitle_alias_2 }
|
|
1270
|
+
|
|
1271
|
+
declare type ImageCardTitleProps = React_2.HTMLAttributes<HTMLHeadingElement>;
|
|
1272
|
+
export { ImageCardTitleProps }
|
|
1273
|
+
export { ImageCardTitleProps as ImageCardTitleProps_alias_1 }
|
|
1274
|
+
|
|
1275
|
+
declare function Indicator({ children, show, content, dot, intent, size, placement, pulse, className, }: IndicatorProps): JSX.Element;
|
|
1276
|
+
export { Indicator }
|
|
1277
|
+
export { Indicator as Indicator_alias_1 }
|
|
1278
|
+
export { Indicator as Indicator_alias_2 }
|
|
1279
|
+
export { Indicator as Indicator_alias_3 }
|
|
1280
|
+
|
|
1281
|
+
declare interface IndicatorProps extends VariantProps<typeof indicatorVariants> {
|
|
1282
|
+
children: React_2.ReactNode;
|
|
1283
|
+
/** Show or hide the indicator. @default true */
|
|
1284
|
+
show?: boolean;
|
|
1285
|
+
/** Content to display. Numbers > 99 are shown as "99+". Ignored when dot=true. */
|
|
1286
|
+
content?: React_2.ReactNode;
|
|
1287
|
+
/** Show a pulsing ring animation (best for dot-only mode). @default false */
|
|
1288
|
+
pulse?: boolean;
|
|
1289
|
+
className?: string;
|
|
1290
|
+
}
|
|
1291
|
+
export { IndicatorProps }
|
|
1292
|
+
export { IndicatorProps as IndicatorProps_alias_1 }
|
|
1293
|
+
export { IndicatorProps as IndicatorProps_alias_2 }
|
|
1294
|
+
|
|
1295
|
+
declare const indicatorVariants: (props?: ({
|
|
1296
|
+
intent?: "primary" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
1297
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1298
|
+
dot?: boolean | null | undefined;
|
|
1299
|
+
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | null | undefined;
|
|
1300
|
+
} & ClassProp) | undefined) => string;
|
|
1301
|
+
export { indicatorVariants }
|
|
1302
|
+
export { indicatorVariants as indicatorVariants_alias_1 }
|
|
1303
|
+
export { indicatorVariants as indicatorVariants_alias_2 }
|
|
1304
|
+
|
|
1305
|
+
declare function Input({ state, inputSize, className, prefix, suffix, action, ...props }: InputProps): JSX.Element;
|
|
1306
|
+
export { Input }
|
|
1307
|
+
export { Input as Input_alias_1 }
|
|
1308
|
+
export { Input as Input_alias_2 }
|
|
1309
|
+
export { Input as Input_alias_3 }
|
|
1310
|
+
|
|
1311
|
+
declare type InputProps = Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "prefix"> & {
|
|
1312
|
+
state?: InputVariants["state"];
|
|
1313
|
+
inputSize?: InputVariants["size"];
|
|
1314
|
+
/** Icon or label shown at the start of the input with a highlighted background */
|
|
1315
|
+
prefix?: React_2.ReactNode;
|
|
1316
|
+
/** Icon shown inside the input at the end (non-interactive decoration) */
|
|
1317
|
+
suffix?: React_2.ReactNode;
|
|
1318
|
+
/** Clickable action button rendered at the end of the input */
|
|
1319
|
+
action?: {
|
|
1320
|
+
icon: React_2.ReactNode;
|
|
1321
|
+
onClick: () => void;
|
|
1322
|
+
"aria-label"?: string;
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
declare type InputVariants = VariantProps<typeof inputVariants>;
|
|
1327
|
+
|
|
1328
|
+
declare const inputVariants: (props?: ({
|
|
1329
|
+
state?: "error" | "default" | null | undefined;
|
|
1330
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1331
|
+
} & ClassProp) | undefined) => string;
|
|
1332
|
+
export { inputVariants }
|
|
1333
|
+
export { inputVariants as inputVariants_alias_1 }
|
|
1334
|
+
export { inputVariants as inputVariants_alias_2 }
|
|
1335
|
+
|
|
1336
|
+
declare function Label({ intent, size, className, ...props }: LabelProps): JSX.Element;
|
|
1337
|
+
export { Label }
|
|
1338
|
+
export { Label as Label_alias_1 }
|
|
1339
|
+
export { Label as Label_alias_2 }
|
|
1340
|
+
export { Label as Label_alias_3 }
|
|
1341
|
+
|
|
1342
|
+
declare type LabelProps = React_2.LabelHTMLAttributes<HTMLLabelElement> & VariantProps<typeof labelVariants>;
|
|
1343
|
+
|
|
1344
|
+
declare const labelVariants: (props?: ({
|
|
1345
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1346
|
+
intent?: "default" | "muted" | "required" | null | undefined;
|
|
1347
|
+
} & ClassProp) | undefined) => string;
|
|
1348
|
+
export { labelVariants }
|
|
1349
|
+
export { labelVariants as labelVariants_alias_1 }
|
|
1350
|
+
export { labelVariants as labelVariants_alias_2 }
|
|
1351
|
+
|
|
1352
|
+
declare const Layout: {
|
|
1353
|
+
Card: typeof Card;
|
|
1354
|
+
ImageCard: typeof ImageCard;
|
|
1355
|
+
Panel: typeof Panel;
|
|
1356
|
+
};
|
|
1357
|
+
export { Layout }
|
|
1358
|
+
export { Layout as Layout_alias_1 }
|
|
1359
|
+
export { Layout as default_alias_6 }
|
|
1360
|
+
|
|
1361
|
+
declare function List({ intent, size, className, ...props }: ListProps): JSX.Element;
|
|
1362
|
+
export { List }
|
|
1363
|
+
export { List as List_alias_1 }
|
|
1364
|
+
export { List as List_alias_2 }
|
|
1365
|
+
export { List as List_alias_3 }
|
|
1366
|
+
|
|
1367
|
+
declare function ListItem({ actions, className, children, ...props }: ListItemProps): JSX.Element;
|
|
1368
|
+
export { ListItem }
|
|
1369
|
+
export { ListItem as ListItem_alias_1 }
|
|
1370
|
+
export { ListItem as ListItem_alias_2 }
|
|
1371
|
+
|
|
1372
|
+
declare type ListItemProps = React_2.LiHTMLAttributes<HTMLLIElement> & {
|
|
1373
|
+
/** Action buttons rendered on the right side of the item. */
|
|
1374
|
+
actions?: React_2.ReactNode;
|
|
1375
|
+
};
|
|
1376
|
+
export { ListItemProps }
|
|
1377
|
+
export { ListItemProps as ListItemProps_alias_1 }
|
|
1378
|
+
export { ListItemProps as ListItemProps_alias_2 }
|
|
1379
|
+
|
|
1380
|
+
declare const listItemVariants: (props?: ({
|
|
1381
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1382
|
+
} & ClassProp) | undefined) => string;
|
|
1383
|
+
export { listItemVariants }
|
|
1384
|
+
export { listItemVariants as listItemVariants_alias_1 }
|
|
1385
|
+
export { listItemVariants as listItemVariants_alias_2 }
|
|
1386
|
+
|
|
1387
|
+
declare type ListProps = React_2.HTMLAttributes<HTMLUListElement> & VariantProps<typeof listVariants> & {
|
|
1388
|
+
/** Controls item text and icon sizing. @default 'md' */
|
|
1389
|
+
size?: "sm" | "md" | "lg";
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
declare const listVariants: (props?: ({
|
|
1393
|
+
intent?: "default" | "bordered" | "hover" | null | undefined;
|
|
1394
|
+
} & ClassProp) | undefined) => string;
|
|
1395
|
+
export { listVariants }
|
|
1396
|
+
export { listVariants as listVariants_alias_1 }
|
|
1397
|
+
export { listVariants as listVariants_alias_2 }
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Pinterest-style waterfall / masonry layout with rich interactions.
|
|
1401
|
+
*
|
|
1402
|
+
* Items are measured and placed into the shortest column, producing
|
|
1403
|
+
* an even distribution regardless of varying item heights.
|
|
1404
|
+
* Fully responsive — column count adapts to parent width.
|
|
1405
|
+
*
|
|
1406
|
+
* Each item supports:
|
|
1407
|
+
* - Hover: cursor pointer, enlarge + elevated shadow + glass-reflection sweep
|
|
1408
|
+
* - Overlay: title / description / action buttons on hover
|
|
1409
|
+
* - Click: ripple flash effect + `onItemClick` callback
|
|
1410
|
+
*/
|
|
1411
|
+
declare function Masonry({ columns: fixedColumns, columnWidth, gap, items, onItemClick, className, style, children, ...props }: MasonryProps): JSX.Element;
|
|
1412
|
+
export { Masonry }
|
|
1413
|
+
export { Masonry as Masonry_alias_1 }
|
|
1414
|
+
export { Masonry as Masonry_alias_2 }
|
|
1415
|
+
export { Masonry as Masonry_alias_3 }
|
|
1416
|
+
|
|
1417
|
+
declare type MasonryItemData = {
|
|
1418
|
+
key?: React_2.Key;
|
|
1419
|
+
/** The visual content rendered inside the item. */
|
|
1420
|
+
content: React_2.ReactNode;
|
|
1421
|
+
/** Optional title shown in the hover overlay. */
|
|
1422
|
+
title?: string;
|
|
1423
|
+
/** Optional description shown in the hover overlay. */
|
|
1424
|
+
description?: string;
|
|
1425
|
+
/** Optional action buttons shown in the hover overlay. */
|
|
1426
|
+
actions?: React_2.ReactNode;
|
|
1427
|
+
};
|
|
1428
|
+
export { MasonryItemData }
|
|
1429
|
+
export { MasonryItemData as MasonryItemData_alias_1 }
|
|
1430
|
+
export { MasonryItemData as MasonryItemData_alias_2 }
|
|
1431
|
+
|
|
1432
|
+
declare type MasonryProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, "onClick"> & {
|
|
1433
|
+
/** Fixed number of columns. Overrides `columnWidth` when set. */
|
|
1434
|
+
columns?: number;
|
|
1435
|
+
/** Minimum column width in pixels. The actual column count is auto-calculated from the container width. @default 240 */
|
|
1436
|
+
columnWidth?: number;
|
|
1437
|
+
/** Gap between items in pixels (horizontal and vertical). @default 16 */
|
|
1438
|
+
gap?: number;
|
|
1439
|
+
/** Structured item list with overlay metadata. When provided, `children` is ignored. */
|
|
1440
|
+
items?: MasonryItemData[];
|
|
1441
|
+
/** Called when an item is clicked. Receives the item data (or undefined for plain children) and the index. */
|
|
1442
|
+
onItemClick?: (item: MasonryItemData | undefined, index: number) => void;
|
|
1443
|
+
};
|
|
1444
|
+
export { MasonryProps }
|
|
1445
|
+
export { MasonryProps as MasonryProps_alias_1 }
|
|
1446
|
+
export { MasonryProps as MasonryProps_alias_2 }
|
|
1447
|
+
|
|
1448
|
+
declare function MiniPlayer({ playlist, initialTrack, position, entrance: entranceProp, theme, docked: dockedProp, visible: visibleProp, onVisibleChange, onTrackChange, onLike, autoPlay, shuffle: shuffleProp, loop: loopProp, accent, className, }: MiniPlayerProps): JSX.Element;
|
|
1449
|
+
export { MiniPlayer }
|
|
1450
|
+
export { MiniPlayer as MiniPlayer_alias_1 }
|
|
1451
|
+
export { MiniPlayer as MiniPlayer_alias_2 }
|
|
1452
|
+
export { MiniPlayer as MiniPlayer_alias_3 }
|
|
1453
|
+
|
|
1454
|
+
declare type MiniPlayerEntrance = "bottom" | "top" | "left" | "right";
|
|
1455
|
+
export { MiniPlayerEntrance }
|
|
1456
|
+
export { MiniPlayerEntrance as MiniPlayerEntrance_alias_1 }
|
|
1457
|
+
export { MiniPlayerEntrance as MiniPlayerEntrance_alias_2 }
|
|
1458
|
+
|
|
1459
|
+
declare type MiniPlayerPosition = "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
1460
|
+
export { MiniPlayerPosition }
|
|
1461
|
+
export { MiniPlayerPosition as MiniPlayerPosition_alias_1 }
|
|
1462
|
+
export { MiniPlayerPosition as MiniPlayerPosition_alias_2 }
|
|
1463
|
+
|
|
1464
|
+
declare interface MiniPlayerProps {
|
|
1465
|
+
/** Playlist of tracks. */
|
|
1466
|
+
playlist: MiniPlayerTrack[];
|
|
1467
|
+
/** Starting track index. @default 0 */
|
|
1468
|
+
initialTrack?: number;
|
|
1469
|
+
/** Position on screen. @default 'bottom-right' */
|
|
1470
|
+
position?: MiniPlayerPosition;
|
|
1471
|
+
/** Entrance animation direction. @default derived from position */
|
|
1472
|
+
entrance?: MiniPlayerEntrance;
|
|
1473
|
+
/** Theme override. Follows parent by default. */
|
|
1474
|
+
theme?: "dark" | "light";
|
|
1475
|
+
/** When true, player docks to the nearest edge and reveals on hover. @default false */
|
|
1476
|
+
docked?: boolean;
|
|
1477
|
+
/** When true, player is visible (managed externally or auto-shown on track change). */
|
|
1478
|
+
visible?: boolean;
|
|
1479
|
+
/** Called when visibility changes internally. */
|
|
1480
|
+
onVisibleChange?: (v: boolean) => void;
|
|
1481
|
+
/** Called on track change. */
|
|
1482
|
+
onTrackChange?: (index: number, track: MiniPlayerTrack) => void;
|
|
1483
|
+
/** Called on like toggle. */
|
|
1484
|
+
onLike?: (index: number, track: MiniPlayerTrack, liked: boolean) => void;
|
|
1485
|
+
/** Auto-play the first track when ready. @default true */
|
|
1486
|
+
autoPlay?: boolean;
|
|
1487
|
+
/** Initial shuffle state. @default false */
|
|
1488
|
+
shuffle?: boolean;
|
|
1489
|
+
/** Initial single-track loop state. @default false */
|
|
1490
|
+
loop?: boolean;
|
|
1491
|
+
/** Accent color (any CSS color value). @default '#8b5cf6' */
|
|
1492
|
+
accent?: string;
|
|
1493
|
+
/** Extra class name. */
|
|
1494
|
+
className?: string;
|
|
1495
|
+
}
|
|
1496
|
+
export { MiniPlayerProps }
|
|
1497
|
+
export { MiniPlayerProps as MiniPlayerProps_alias_1 }
|
|
1498
|
+
export { MiniPlayerProps as MiniPlayerProps_alias_2 }
|
|
1499
|
+
|
|
1500
|
+
declare interface MiniPlayerTrack {
|
|
1501
|
+
/** Display title. */
|
|
1502
|
+
title: string;
|
|
1503
|
+
/** Artist name. */
|
|
1504
|
+
artist?: string;
|
|
1505
|
+
/** Album name. */
|
|
1506
|
+
album?: string;
|
|
1507
|
+
/** URL (http/blob/file) or local path for Electron. */
|
|
1508
|
+
src: string;
|
|
1509
|
+
/** Album art URL. Omit to show a placeholder. */
|
|
1510
|
+
cover?: string;
|
|
1511
|
+
/** Duration in seconds (auto-detected if not provided). */
|
|
1512
|
+
duration?: number;
|
|
1513
|
+
}
|
|
1514
|
+
export { MiniPlayerTrack }
|
|
1515
|
+
export { MiniPlayerTrack as MiniPlayerTrack_alias_1 }
|
|
1516
|
+
export { MiniPlayerTrack as MiniPlayerTrack_alias_2 }
|
|
1517
|
+
|
|
1518
|
+
declare const Navigation: {
|
|
1519
|
+
SideNav: typeof SideNav;
|
|
1520
|
+
Header: typeof Header;
|
|
1521
|
+
NavLink: typeof NavLink;
|
|
1522
|
+
};
|
|
1523
|
+
export { Navigation }
|
|
1524
|
+
export { Navigation as Navigation_alias_1 }
|
|
1525
|
+
export { Navigation as default_alias_7 }
|
|
1526
|
+
|
|
1527
|
+
declare function NavLink({ intent, size, underline, external, className, children, href, target, rel, ...props }: NavLinkProps): JSX.Element;
|
|
1528
|
+
export { NavLink }
|
|
1529
|
+
export { NavLink as NavLink_alias_1 }
|
|
1530
|
+
export { NavLink as NavLink_alias_2 }
|
|
1531
|
+
export { NavLink as NavLink_alias_3 }
|
|
1532
|
+
|
|
1533
|
+
declare type NavLinkProps = React_2.AnchorHTMLAttributes<HTMLAnchorElement> & VariantProps<typeof navLinkVariants> & {
|
|
1534
|
+
/** Show external-link icon. Defaults to `true` when `target="_blank"` or href starts with `http`. */
|
|
1535
|
+
external?: boolean;
|
|
1536
|
+
};
|
|
1537
|
+
|
|
1538
|
+
declare const navLinkVariants: (props?: ({
|
|
1539
|
+
intent?: "secondary" | "default" | "muted" | null | undefined;
|
|
1540
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1541
|
+
underline?: "none" | "always" | "hover" | null | undefined;
|
|
1542
|
+
} & ClassProp) | undefined) => string;
|
|
1543
|
+
export { navLinkVariants }
|
|
1544
|
+
export { navLinkVariants as navLinkVariants_alias_1 }
|
|
1545
|
+
export { navLinkVariants as navLinkVariants_alias_2 }
|
|
1546
|
+
|
|
1547
|
+
declare const Overlay: {
|
|
1548
|
+
Dialog: typeof Dialog;
|
|
1549
|
+
Tooltip: typeof Tooltip;
|
|
1550
|
+
};
|
|
1551
|
+
export { Overlay }
|
|
1552
|
+
export { Overlay as Overlay_alias_1 }
|
|
1553
|
+
export { Overlay as default_alias_8 }
|
|
1554
|
+
|
|
1555
|
+
export declare function PageTitle({ children }: {
|
|
1556
|
+
children: React_2.ReactNode;
|
|
1557
|
+
}): JSX.Element;
|
|
1558
|
+
|
|
1559
|
+
declare function Panel({ intent, size, className, ...props }: PanelProps): JSX.Element;
|
|
1560
|
+
export { Panel }
|
|
1561
|
+
export { Panel as Panel_alias_1 }
|
|
1562
|
+
export { Panel as Panel_alias_2 }
|
|
1563
|
+
export { Panel as Panel_alias_3 }
|
|
1564
|
+
|
|
1565
|
+
declare function PanelContent({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1566
|
+
export { PanelContent }
|
|
1567
|
+
export { PanelContent as PanelContent_alias_1 }
|
|
1568
|
+
export { PanelContent as PanelContent_alias_2 }
|
|
1569
|
+
|
|
1570
|
+
declare function PanelHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1571
|
+
export { PanelHeader }
|
|
1572
|
+
export { PanelHeader as PanelHeader_alias_1 }
|
|
1573
|
+
export { PanelHeader as PanelHeader_alias_2 }
|
|
1574
|
+
|
|
1575
|
+
declare type PanelProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof panelVariants>;
|
|
1576
|
+
|
|
1577
|
+
declare const panelVariants: (props?: ({
|
|
1578
|
+
intent?: "default" | "inset" | "elevated" | null | undefined;
|
|
1579
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1580
|
+
} & ClassProp) | undefined) => string;
|
|
1581
|
+
export { panelVariants }
|
|
1582
|
+
export { panelVariants as panelVariants_alias_1 }
|
|
1583
|
+
export { panelVariants as panelVariants_alias_2 }
|
|
1584
|
+
|
|
1585
|
+
declare const Primitives: {
|
|
1586
|
+
Button: typeof Button;
|
|
1587
|
+
Dropdown: typeof Dropdown;
|
|
1588
|
+
DropdownButton: typeof DropdownButton;
|
|
1589
|
+
Badge: typeof Badge;
|
|
1590
|
+
Indicator: typeof Indicator;
|
|
1591
|
+
Label: typeof Label;
|
|
1592
|
+
Input: typeof Input;
|
|
1593
|
+
TextBox: typeof TextBox;
|
|
1594
|
+
Switch: typeof Switch;
|
|
1595
|
+
Checkbox: typeof Checkbox;
|
|
1596
|
+
Radio: typeof Radio;
|
|
1597
|
+
RadioGroup: typeof RadioGroup;
|
|
1598
|
+
};
|
|
1599
|
+
export { Primitives }
|
|
1600
|
+
export { Primitives as Primitives_alias_1 }
|
|
1601
|
+
export { Primitives as default_alias_9 }
|
|
1602
|
+
|
|
1603
|
+
declare function ProgressBar({ value, size, intent, edge, showLabel, indeterminate, animated, duration, className, ...props }: ProgressBarProps): JSX.Element;
|
|
1604
|
+
export { ProgressBar }
|
|
1605
|
+
export { ProgressBar as ProgressBar_alias_1 }
|
|
1606
|
+
export { ProgressBar as ProgressBar_alias_2 }
|
|
1607
|
+
export { ProgressBar as ProgressBar_alias_3 }
|
|
1608
|
+
|
|
1609
|
+
declare type ProgressBarProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof progressBarVariants> & {
|
|
1610
|
+
/** Current value 0–100 */
|
|
1611
|
+
value?: number;
|
|
1612
|
+
/** Show the percentage label inside the bar */
|
|
1613
|
+
showLabel?: boolean;
|
|
1614
|
+
/** Enable the indeterminate (loading) animation — ignores `value` */
|
|
1615
|
+
indeterminate?: boolean;
|
|
1616
|
+
/** Enable the shine / pulse glow animation on the fill */
|
|
1617
|
+
animated?: boolean;
|
|
1618
|
+
/** Duration of the value transition in ms @default 500 */
|
|
1619
|
+
duration?: number;
|
|
1620
|
+
};
|
|
1621
|
+
export { ProgressBarProps }
|
|
1622
|
+
export { ProgressBarProps as ProgressBarProps_alias_1 }
|
|
1623
|
+
export { ProgressBarProps as ProgressBarProps_alias_2 }
|
|
1624
|
+
|
|
1625
|
+
declare const progressBarVariants: (props?: ({
|
|
1626
|
+
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
1627
|
+
intent?: "primary" | "danger" | "warning" | "success" | null | undefined;
|
|
1628
|
+
edge?: "none" | "bottom" | "top" | null | undefined;
|
|
1629
|
+
} & ClassProp) | undefined) => string;
|
|
1630
|
+
export { progressBarVariants }
|
|
1631
|
+
export { progressBarVariants as progressBarVariants_alias_1 }
|
|
1632
|
+
export { progressBarVariants as progressBarVariants_alias_2 }
|
|
1633
|
+
|
|
1634
|
+
declare function Radio({ value, intent: intentProp, size: sizeProp, label, id: propId, className, disabled: disabledProp, ...props }: RadioProps): JSX.Element;
|
|
1635
|
+
export { Radio }
|
|
1636
|
+
export { Radio as Radio_alias_1 }
|
|
1637
|
+
export { Radio as Radio_alias_2 }
|
|
1638
|
+
export { Radio as Radio_alias_3 }
|
|
1639
|
+
|
|
1640
|
+
declare function RadioGroup({ name: nameProp, value: controlledValue, defaultValue, onValueChange, intent, size, disabled, orientation, className, children, }: RadioGroupProps): JSX.Element;
|
|
1641
|
+
export { RadioGroup }
|
|
1642
|
+
export { RadioGroup as RadioGroup_alias_1 }
|
|
1643
|
+
export { RadioGroup as RadioGroup_alias_2 }
|
|
1644
|
+
export { RadioGroup as RadioGroup_alias_3 }
|
|
1645
|
+
|
|
1646
|
+
declare interface RadioGroupProps {
|
|
1647
|
+
/** Form field name shared by all radios. */
|
|
1648
|
+
name?: string;
|
|
1649
|
+
/** Controlled selected value. */
|
|
1650
|
+
value?: string;
|
|
1651
|
+
/** Default selected value (uncontrolled). */
|
|
1652
|
+
defaultValue?: string;
|
|
1653
|
+
/** Callback when selection changes. */
|
|
1654
|
+
onValueChange?: (value: string) => void;
|
|
1655
|
+
/** Shared intent for all child radios. */
|
|
1656
|
+
intent?: VariantProps<typeof radioVariants>["intent"];
|
|
1657
|
+
/** Shared size for all child radios. */
|
|
1658
|
+
size?: VariantProps<typeof radioVariants>["size"];
|
|
1659
|
+
disabled?: boolean;
|
|
1660
|
+
/** Layout direction of the radio buttons. @default 'vertical' */
|
|
1661
|
+
orientation?: "vertical" | "horizontal";
|
|
1662
|
+
className?: string;
|
|
1663
|
+
children: React_2.ReactNode;
|
|
1664
|
+
}
|
|
1665
|
+
export { RadioGroupProps }
|
|
1666
|
+
export { RadioGroupProps as RadioGroupProps_alias_1 }
|
|
1667
|
+
export { RadioGroupProps as RadioGroupProps_alias_2 }
|
|
1668
|
+
|
|
1669
|
+
declare type RadioProps = Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & Omit<VariantProps<typeof radioVariants>, "checked"> & {
|
|
1670
|
+
/** The value of this radio option. */
|
|
1671
|
+
value: string;
|
|
1672
|
+
/** Accessible label text shown beside the radio. */
|
|
1673
|
+
label?: string;
|
|
1674
|
+
};
|
|
1675
|
+
export { RadioProps }
|
|
1676
|
+
export { RadioProps as RadioProps_alias_1 }
|
|
1677
|
+
export { RadioProps as RadioProps_alias_2 }
|
|
1678
|
+
|
|
1679
|
+
declare const radioVariants: (props?: ({
|
|
1680
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "success" | null | undefined;
|
|
1681
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1682
|
+
checked?: "on" | "off" | null | undefined;
|
|
1683
|
+
} & ClassProp) | undefined) => string;
|
|
1684
|
+
export { radioVariants }
|
|
1685
|
+
export { radioVariants as radioVariants_alias_1 }
|
|
1686
|
+
export { radioVariants as radioVariants_alias_2 }
|
|
1687
|
+
|
|
1688
|
+
declare function removeAlert(id: string): void;
|
|
1689
|
+
|
|
1690
|
+
export declare function Section({ title, children }: {
|
|
1691
|
+
title: string;
|
|
1692
|
+
children: React_2.ReactNode;
|
|
1693
|
+
}): JSX.Element;
|
|
1694
|
+
|
|
1695
|
+
declare type SelectionMode_2 = "none" | "single" | "multiple";
|
|
1696
|
+
export { SelectionMode_2 as SelectionMode }
|
|
1697
|
+
export { SelectionMode_2 as SelectionMode_alias_1 }
|
|
1698
|
+
export { SelectionMode_2 as SelectionMode_alias_2 }
|
|
1699
|
+
|
|
1700
|
+
declare function SideNav({ items, title, basePath, onItemClick, LinkComponent, collapsible, collapseMode: controlledMode, defaultCollapseMode, onCollapseModeChange, showLines, expandedKeys: controlledExpandedKeys, defaultExpandedKeys, onExpandedKeysChange, className, responsive, mobileBreakpoint, mobileTopOffset, ...props }: SideNavProps): JSX.Element;
|
|
1701
|
+
export { SideNav }
|
|
1702
|
+
export { SideNav as SideNav_alias_1 }
|
|
1703
|
+
export { SideNav as SideNav_alias_2 }
|
|
1704
|
+
export { SideNav as SideNav_alias_3 }
|
|
1705
|
+
|
|
1706
|
+
declare type SideNavCollapseMode = "expanded" | "icons" | "mini";
|
|
1707
|
+
export { SideNavCollapseMode }
|
|
1708
|
+
export { SideNavCollapseMode as SideNavCollapseMode_alias_1 }
|
|
1709
|
+
export { SideNavCollapseMode as SideNavCollapseMode_alias_2 }
|
|
1710
|
+
|
|
1711
|
+
declare interface SideNavItem {
|
|
1712
|
+
/** Unique key (falls back to `path` or `label`). */
|
|
1713
|
+
key?: string;
|
|
1714
|
+
/** Display label. */
|
|
1715
|
+
label: string;
|
|
1716
|
+
/** Route path — renders a link when provided. */
|
|
1717
|
+
path?: string;
|
|
1718
|
+
/** Nested children — renders a collapsible group. */
|
|
1719
|
+
children?: SideNavItem[];
|
|
1720
|
+
/** Icon element shown before the label. */
|
|
1721
|
+
icon?: React_2.ReactNode;
|
|
1722
|
+
/** Whether the group is expanded by default (only for items with children). */
|
|
1723
|
+
defaultOpen?: boolean;
|
|
1724
|
+
}
|
|
1725
|
+
export { SideNavItem }
|
|
1726
|
+
export { SideNavItem as SideNavItem_alias_1 }
|
|
1727
|
+
export { SideNavItem as SideNavItem_alias_2 }
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Props for a custom link component.
|
|
1731
|
+
* When using react-router, pass NavLink. When using plain HTML, an `<a>` wrapper.
|
|
1732
|
+
*/
|
|
1733
|
+
declare type SideNavLinkComponentProps = {
|
|
1734
|
+
to: string;
|
|
1735
|
+
className: string | ((props: {
|
|
1736
|
+
isActive: boolean;
|
|
1737
|
+
}) => string);
|
|
1738
|
+
style?: React_2.CSSProperties;
|
|
1739
|
+
children: React_2.ReactNode;
|
|
1740
|
+
};
|
|
1741
|
+
export { SideNavLinkComponentProps }
|
|
1742
|
+
export { SideNavLinkComponentProps as SideNavLinkComponentProps_alias_1 }
|
|
1743
|
+
export { SideNavLinkComponentProps as SideNavLinkComponentProps_alias_2 }
|
|
1744
|
+
|
|
1745
|
+
declare interface SideNavProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
1746
|
+
/** Navigation items (supports nesting). */
|
|
1747
|
+
items: SideNavItem[];
|
|
1748
|
+
/** Section title rendered above the items. */
|
|
1749
|
+
title?: string;
|
|
1750
|
+
/** Base path prefix prepended to every item `path`. Defaults to `"/"`. */
|
|
1751
|
+
basePath?: string;
|
|
1752
|
+
/** When provided, renders buttons instead of links and calls this on click. */
|
|
1753
|
+
onItemClick?: (item: SideNavItem, fullPath: string) => void;
|
|
1754
|
+
/**
|
|
1755
|
+
* Custom link component (e.g. react-router's NavLink).
|
|
1756
|
+
* Falls back to a plain `<a>` tag if not provided.
|
|
1757
|
+
*/
|
|
1758
|
+
LinkComponent?: React_2.ComponentType<SideNavLinkComponentProps>;
|
|
1759
|
+
/** Show collapse / expand toggle. */
|
|
1760
|
+
collapsible?: boolean;
|
|
1761
|
+
/** Controlled collapse mode. */
|
|
1762
|
+
collapseMode?: SideNavCollapseMode;
|
|
1763
|
+
/** Default collapse mode (uncontrolled). @default 'expanded' */
|
|
1764
|
+
defaultCollapseMode?: SideNavCollapseMode;
|
|
1765
|
+
/** Fires when collapse mode changes. */
|
|
1766
|
+
onCollapseModeChange?: (mode: SideNavCollapseMode) => void;
|
|
1767
|
+
/** Show indentation guide lines for nested items. @default true */
|
|
1768
|
+
showLines?: boolean;
|
|
1769
|
+
/**
|
|
1770
|
+
* Controlled set of expanded group keys.
|
|
1771
|
+
* Each key is `item.key ?? item.label`.
|
|
1772
|
+
*/
|
|
1773
|
+
expandedKeys?: Set<string>;
|
|
1774
|
+
/** Default expanded keys (uncontrolled). When omitted all groups start open. */
|
|
1775
|
+
defaultExpandedKeys?: Set<string> | "all";
|
|
1776
|
+
/** Fires when a group is toggled. */
|
|
1777
|
+
onExpandedKeysChange?: (keys: Set<string>) => void;
|
|
1778
|
+
/**
|
|
1779
|
+
* Enable built-in responsive behaviour: a floating action button toggles a slide-in
|
|
1780
|
+
* overlay drawer on narrow viewports, so the nav never occupies layout space on mobile.
|
|
1781
|
+
* @default true
|
|
1782
|
+
*/
|
|
1783
|
+
responsive?: boolean;
|
|
1784
|
+
/** Viewport width (px) below which mobile mode activates. @default 768 */
|
|
1785
|
+
mobileBreakpoint?: number;
|
|
1786
|
+
/**
|
|
1787
|
+
* Distance (px) from the top of the viewport where the mobile drawer starts.
|
|
1788
|
+
* Set this to the height of your app's top bar. @default 48
|
|
1789
|
+
*/
|
|
1790
|
+
mobileTopOffset?: number;
|
|
1791
|
+
}
|
|
1792
|
+
export { SideNavProps }
|
|
1793
|
+
export { SideNavProps as SideNavProps_alias_1 }
|
|
1794
|
+
export { SideNavProps as SideNavProps_alias_2 }
|
|
1795
|
+
|
|
1796
|
+
declare function SortableTable<T, K extends string = string>({ columns, data, sort: controlledSort, onSortChange, defaultSort, rowKey, rowActions, intent, density, className, empty, }: SortableTableProps<T, K>): JSX.Element;
|
|
1797
|
+
export { SortableTable }
|
|
1798
|
+
export { SortableTable as SortableTable_alias_1 }
|
|
1799
|
+
export { SortableTable as SortableTable_alias_2 }
|
|
1800
|
+
|
|
1801
|
+
declare type SortableTableProps<T, K extends string = string> = {
|
|
1802
|
+
columns: ColumnDef<T, K>[];
|
|
1803
|
+
data: T[];
|
|
1804
|
+
sort?: SortState<K>;
|
|
1805
|
+
onSortChange?: (sort: SortState<K>) => void;
|
|
1806
|
+
defaultSort?: SortState<K>;
|
|
1807
|
+
rowKey?: (row: T, index: number) => React_2.Key;
|
|
1808
|
+
/** Render action buttons for each row. Receives the row data object. */
|
|
1809
|
+
rowActions?: (row: T) => React_2.ReactNode;
|
|
1810
|
+
intent?: VariantProps<typeof tableVariants>["intent"];
|
|
1811
|
+
density?: VariantProps<typeof tableVariants>["density"];
|
|
1812
|
+
className?: string;
|
|
1813
|
+
/** Custom empty state props (icon, text). Shown when data is empty. */
|
|
1814
|
+
empty?: TableEmptyProps;
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
declare type SortDirection = "asc" | "desc";
|
|
1818
|
+
export { SortDirection }
|
|
1819
|
+
export { SortDirection as SortDirection_alias_1 }
|
|
1820
|
+
export { SortDirection as SortDirection_alias_2 }
|
|
1821
|
+
|
|
1822
|
+
declare type SortState<K extends string = string> = {
|
|
1823
|
+
column: K;
|
|
1824
|
+
direction: SortDirection;
|
|
1825
|
+
} | null;
|
|
1826
|
+
export { SortState }
|
|
1827
|
+
export { SortState as SortState_alias_1 }
|
|
1828
|
+
export { SortState as SortState_alias_2 }
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* Inline Spin overlay.
|
|
1832
|
+
* Wraps children and covers them with a loading mask when `spinning` is true.
|
|
1833
|
+
* Without children it renders a standalone spinner.
|
|
1834
|
+
*/
|
|
1835
|
+
declare function Spin({ spinning, tip, size, className, children, ...props }: SpinProps): JSX.Element | null;
|
|
1836
|
+
export { Spin }
|
|
1837
|
+
export { Spin as Spin_alias_1 }
|
|
1838
|
+
export { Spin as Spin_alias_2 }
|
|
1839
|
+
export { Spin as Spin_alias_3 }
|
|
1840
|
+
|
|
1841
|
+
declare type SpinProps = React_2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof spinVariants> & {
|
|
1842
|
+
/** Whether the spinner and overlay are active */
|
|
1843
|
+
spinning?: boolean;
|
|
1844
|
+
/** Tip text shown below the spinner */
|
|
1845
|
+
tip?: string;
|
|
1846
|
+
};
|
|
1847
|
+
export { SpinProps }
|
|
1848
|
+
export { SpinProps as SpinProps_alias_1 }
|
|
1849
|
+
export { SpinProps as SpinProps_alias_2 }
|
|
1850
|
+
|
|
1851
|
+
declare const spinVariants: (props?: ({
|
|
1852
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1853
|
+
} & ClassProp) | undefined) => string;
|
|
1854
|
+
export { spinVariants }
|
|
1855
|
+
export { spinVariants as spinVariants_alias_1 }
|
|
1856
|
+
export { spinVariants as spinVariants_alias_2 }
|
|
1857
|
+
|
|
1858
|
+
declare function Switch({ checked: controlledChecked, defaultChecked, onCheckedChange, checkedContent, uncheckedContent, intent, size, label, id: propId, className, disabled, ...props }: SwitchProps): JSX.Element;
|
|
1859
|
+
export { Switch }
|
|
1860
|
+
export { Switch as Switch_alias_1 }
|
|
1861
|
+
export { Switch as Switch_alias_2 }
|
|
1862
|
+
export { Switch as Switch_alias_3 }
|
|
1863
|
+
|
|
1864
|
+
declare type SwitchProps = Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & Omit<VariantProps<typeof switchTrackVariants>, "checked"> & {
|
|
1865
|
+
/** Controlled checked state. */
|
|
1866
|
+
checked?: boolean;
|
|
1867
|
+
/** Default checked state (uncontrolled). */
|
|
1868
|
+
defaultChecked?: boolean;
|
|
1869
|
+
/** Callback when the switch is toggled. */
|
|
1870
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
1871
|
+
/** Text/icon shown when checked (inside the track). */
|
|
1872
|
+
checkedContent?: React_2.ReactNode;
|
|
1873
|
+
/** Text/icon shown when unchecked (inside the track). */
|
|
1874
|
+
uncheckedContent?: React_2.ReactNode;
|
|
1875
|
+
/** Accessible label text shown beside the switch. */
|
|
1876
|
+
label?: string;
|
|
1877
|
+
};
|
|
1878
|
+
export { SwitchProps }
|
|
1879
|
+
export { SwitchProps as SwitchProps_alias_1 }
|
|
1880
|
+
export { SwitchProps as SwitchProps_alias_2 }
|
|
1881
|
+
|
|
1882
|
+
declare const switchTrackVariants: (props?: ({
|
|
1883
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "success" | null | undefined;
|
|
1884
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1885
|
+
checked?: "on" | "off" | null | undefined;
|
|
1886
|
+
} & ClassProp) | undefined) => string;
|
|
1887
|
+
export { switchTrackVariants }
|
|
1888
|
+
export { switchTrackVariants as switchTrackVariants_alias_1 }
|
|
1889
|
+
export { switchTrackVariants as switchTrackVariants_alias_2 }
|
|
1890
|
+
|
|
1891
|
+
declare function TabContent({ value, className, children, ...props }: TabContentProps): JSX.Element | null;
|
|
1892
|
+
export { TabContent }
|
|
1893
|
+
export { TabContent as TabContent_alias_1 }
|
|
1894
|
+
export { TabContent as TabContent_alias_2 }
|
|
1895
|
+
|
|
1896
|
+
declare type TabContentProps = React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1897
|
+
value: string;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
declare function Table({ intent, density, className, ...props }: TableProps): JSX.Element;
|
|
1901
|
+
export { Table }
|
|
1902
|
+
export { Table as Table_alias_1 }
|
|
1903
|
+
export { Table as Table_alias_2 }
|
|
1904
|
+
export { Table as Table_alias_3 }
|
|
1905
|
+
|
|
1906
|
+
declare function TableBody({ className, ...props }: React_2.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
1907
|
+
export { TableBody }
|
|
1908
|
+
export { TableBody as TableBody_alias_1 }
|
|
1909
|
+
export { TableBody as TableBody_alias_2 }
|
|
1910
|
+
|
|
1911
|
+
declare function TableCell({ className, ...props }: React_2.TdHTMLAttributes<HTMLTableCellElement>): JSX.Element;
|
|
1912
|
+
export { TableCell }
|
|
1913
|
+
export { TableCell as TableCell_alias_1 }
|
|
1914
|
+
export { TableCell as TableCell_alias_2 }
|
|
1915
|
+
|
|
1916
|
+
declare function TableEmpty({ icon, text, className }: TableEmptyProps): JSX.Element;
|
|
1917
|
+
export { TableEmpty }
|
|
1918
|
+
export { TableEmpty as TableEmpty_alias_1 }
|
|
1919
|
+
export { TableEmpty as TableEmpty_alias_2 }
|
|
1920
|
+
|
|
1921
|
+
declare type TableEmptyProps = {
|
|
1922
|
+
/** Custom icon to display. Defaults to Inbox. */
|
|
1923
|
+
icon?: React_2.ReactNode;
|
|
1924
|
+
/** Text shown below the icon. @default "No data" */
|
|
1925
|
+
text?: React_2.ReactNode;
|
|
1926
|
+
className?: string;
|
|
1927
|
+
};
|
|
1928
|
+
export { TableEmptyProps }
|
|
1929
|
+
export { TableEmptyProps as TableEmptyProps_alias_1 }
|
|
1930
|
+
export { TableEmptyProps as TableEmptyProps_alias_2 }
|
|
1931
|
+
|
|
1932
|
+
declare function TableHead({ className, ...props }: React_2.ThHTMLAttributes<HTMLTableCellElement>): JSX.Element;
|
|
1933
|
+
export { TableHead }
|
|
1934
|
+
export { TableHead as TableHead_alias_1 }
|
|
1935
|
+
export { TableHead as TableHead_alias_2 }
|
|
1936
|
+
|
|
1937
|
+
declare function TableHeader({ className, ...props }: React_2.HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
|
|
1938
|
+
export { TableHeader }
|
|
1939
|
+
export { TableHeader as TableHeader_alias_1 }
|
|
1940
|
+
export { TableHeader as TableHeader_alias_2 }
|
|
1941
|
+
|
|
1942
|
+
declare type TableProps = React_2.TableHTMLAttributes<HTMLTableElement> & VariantProps<typeof tableVariants>;
|
|
1943
|
+
|
|
1944
|
+
declare function TableRow({ className, ...props }: React_2.HTMLAttributes<HTMLTableRowElement>): JSX.Element;
|
|
1945
|
+
export { TableRow }
|
|
1946
|
+
export { TableRow as TableRow_alias_1 }
|
|
1947
|
+
export { TableRow as TableRow_alias_2 }
|
|
1948
|
+
|
|
1949
|
+
declare const tableVariants: (props?: ({
|
|
1950
|
+
intent?: "default" | "striped" | "bordered" | null | undefined;
|
|
1951
|
+
density?: "default" | "compact" | "relaxed" | null | undefined;
|
|
1952
|
+
} & ClassProp) | undefined) => string;
|
|
1953
|
+
export { tableVariants }
|
|
1954
|
+
export { tableVariants as tableVariants_alias_1 }
|
|
1955
|
+
export { tableVariants as tableVariants_alias_2 }
|
|
1956
|
+
|
|
1957
|
+
declare function TabList({ className, scrollable, ...props }: React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1958
|
+
scrollable?: boolean;
|
|
1959
|
+
}): JSX.Element;
|
|
1960
|
+
export { TabList }
|
|
1961
|
+
export { TabList as TabList_alias_1 }
|
|
1962
|
+
export { TabList as TabList_alias_2 }
|
|
1963
|
+
|
|
1964
|
+
declare const tabListVariants: (props?: ({
|
|
1965
|
+
intent?: "underline" | "line" | "pills" | null | undefined;
|
|
1966
|
+
} & ClassProp) | undefined) => string;
|
|
1967
|
+
export { tabListVariants }
|
|
1968
|
+
export { tabListVariants as tabListVariants_alias_1 }
|
|
1969
|
+
export { tabListVariants as tabListVariants_alias_2 }
|
|
1970
|
+
|
|
1971
|
+
declare function TabPanels({ className, children, ...props }: TabPanelsProps): JSX.Element | null;
|
|
1972
|
+
export { TabPanels }
|
|
1973
|
+
export { TabPanels as TabPanels_alias_1 }
|
|
1974
|
+
export { TabPanels as TabPanels_alias_2 }
|
|
1975
|
+
|
|
1976
|
+
declare type TabPanelsProps = React_2.HTMLAttributes<HTMLDivElement>;
|
|
1977
|
+
|
|
1978
|
+
declare function Tabs({ defaultValue, value, onValueChange, intent, children, className, }: TabsProps): JSX.Element;
|
|
1979
|
+
export { Tabs }
|
|
1980
|
+
export { Tabs as Tabs_alias_1 }
|
|
1981
|
+
export { Tabs as Tabs_alias_2 }
|
|
1982
|
+
export { Tabs as Tabs_alias_3 }
|
|
1983
|
+
|
|
1984
|
+
declare type TabsProps = {
|
|
1985
|
+
defaultValue?: string;
|
|
1986
|
+
value?: string;
|
|
1987
|
+
onValueChange?: (value: string) => void;
|
|
1988
|
+
intent?: VariantProps<typeof tabListVariants>["intent"];
|
|
1989
|
+
children: React_2.ReactNode;
|
|
1990
|
+
className?: string;
|
|
1991
|
+
};
|
|
1992
|
+
|
|
1993
|
+
declare function TabTrigger({ value, className, children, ...props }: TabTriggerProps): JSX.Element;
|
|
1994
|
+
export { TabTrigger }
|
|
1995
|
+
export { TabTrigger as TabTrigger_alias_1 }
|
|
1996
|
+
export { TabTrigger as TabTrigger_alias_2 }
|
|
1997
|
+
|
|
1998
|
+
declare type TabTriggerProps = React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1999
|
+
value: string;
|
|
2000
|
+
};
|
|
2001
|
+
|
|
2002
|
+
declare const tabTriggerVariants: (props?: ({
|
|
2003
|
+
intent?: "underline" | "line" | "pills" | null | undefined;
|
|
2004
|
+
} & ClassProp) | undefined) => string;
|
|
2005
|
+
export { tabTriggerVariants }
|
|
2006
|
+
export { tabTriggerVariants as tabTriggerVariants_alias_1 }
|
|
2007
|
+
export { tabTriggerVariants as tabTriggerVariants_alias_2 }
|
|
2008
|
+
|
|
2009
|
+
declare function TextBox({ state, size, showWordCount, maxWords, className, value: controlledValue, defaultValue, onChange, disabled, ...props }: TextBoxProps): JSX.Element;
|
|
2010
|
+
export { TextBox }
|
|
2011
|
+
export { TextBox as TextBox_alias_1 }
|
|
2012
|
+
export { TextBox as TextBox_alias_2 }
|
|
2013
|
+
export { TextBox as TextBox_alias_3 }
|
|
2014
|
+
|
|
2015
|
+
declare type TextBoxProps = Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
2016
|
+
/** Visual state. @default 'default' */
|
|
2017
|
+
state?: "default" | "error";
|
|
2018
|
+
/** Size variant. @default 'md' */
|
|
2019
|
+
size?: "sm" | "md" | "lg";
|
|
2020
|
+
/** Show a live word count below the textarea. @default false */
|
|
2021
|
+
showWordCount?: boolean;
|
|
2022
|
+
/** Maximum number of words. When exceeded the counter turns red. */
|
|
2023
|
+
maxWords?: number;
|
|
2024
|
+
};
|
|
2025
|
+
export { TextBoxProps }
|
|
2026
|
+
export { TextBoxProps as TextBoxProps_alias_1 }
|
|
2027
|
+
export { TextBoxProps as TextBoxProps_alias_2 }
|
|
2028
|
+
|
|
2029
|
+
declare function Tooltip({ content, position, intent, delay, maxWidth, children, className, }: TooltipProps): JSX.Element;
|
|
2030
|
+
export { Tooltip }
|
|
2031
|
+
export { Tooltip as Tooltip_alias_1 }
|
|
2032
|
+
export { Tooltip as Tooltip_alias_2 }
|
|
2033
|
+
export { Tooltip as Tooltip_alias_3 }
|
|
2034
|
+
|
|
2035
|
+
declare type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
2036
|
+
|
|
2037
|
+
declare type TooltipProps = VariantProps<typeof tooltipVariants> & {
|
|
2038
|
+
content: React_2.ReactNode;
|
|
2039
|
+
position?: TooltipPosition;
|
|
2040
|
+
delay?: number;
|
|
2041
|
+
children: React_2.ReactNode;
|
|
2042
|
+
className?: string;
|
|
2043
|
+
/** Maximum width of the tooltip. Allows text to wrap. @default undefined (no wrap) */
|
|
2044
|
+
maxWidth?: string | number;
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
declare const tooltipVariants: (props?: ({
|
|
2048
|
+
intent?: "default" | "light" | null | undefined;
|
|
2049
|
+
} & ClassProp) | undefined) => string;
|
|
2050
|
+
export { tooltipVariants }
|
|
2051
|
+
export { tooltipVariants as tooltipVariants_alias_1 }
|
|
2052
|
+
export { tooltipVariants as tooltipVariants_alias_2 }
|
|
2053
|
+
|
|
2054
|
+
declare function Tree({ showLines, showRoot, expandedKeys: controlledKeys, defaultExpandedKeys, onExpandedKeysChange, size, className, children, ...props }: TreeProps): JSX.Element;
|
|
2055
|
+
export { Tree }
|
|
2056
|
+
export { Tree as Tree_alias_1 }
|
|
2057
|
+
export { Tree as Tree_alias_2 }
|
|
2058
|
+
export { Tree as Tree_alias_3 }
|
|
2059
|
+
|
|
2060
|
+
declare function TreeItem({ nodeKey, label, icon, actions, defaultExpanded, expanded: controlledExpanded, onToggle, children, className, }: TreeItemProps): JSX.Element;
|
|
2061
|
+
export { TreeItem }
|
|
2062
|
+
export { TreeItem as TreeItem_alias_1 }
|
|
2063
|
+
export { TreeItem as TreeItem_alias_2 }
|
|
2064
|
+
|
|
2065
|
+
declare type TreeItemProps = {
|
|
2066
|
+
/** Unique key for programmatic expand control. Falls back to label string. */
|
|
2067
|
+
nodeKey?: string;
|
|
2068
|
+
label: React_2.ReactNode;
|
|
2069
|
+
icon?: React_2.ReactNode;
|
|
2070
|
+
/** Action buttons shown on hover at the right side of the item row. */
|
|
2071
|
+
actions?: React_2.ReactNode;
|
|
2072
|
+
defaultExpanded?: boolean;
|
|
2073
|
+
expanded?: boolean;
|
|
2074
|
+
onToggle?: (expanded: boolean) => void;
|
|
2075
|
+
children?: React_2.ReactNode;
|
|
2076
|
+
className?: string;
|
|
2077
|
+
};
|
|
2078
|
+
|
|
2079
|
+
declare const treeItemVariants: (props?: ({
|
|
2080
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2081
|
+
} & ClassProp) | undefined) => string;
|
|
2082
|
+
export { treeItemVariants }
|
|
2083
|
+
export { treeItemVariants as treeItemVariants_alias_1 }
|
|
2084
|
+
export { treeItemVariants as treeItemVariants_alias_2 }
|
|
2085
|
+
|
|
2086
|
+
declare type TreeProps = React_2.HTMLAttributes<HTMLUListElement> & {
|
|
2087
|
+
/** Show indent guide lines between parent and children. @default true */
|
|
2088
|
+
showLines?: boolean;
|
|
2089
|
+
/** Render the root-level items. When false, only their children are shown. @default true */
|
|
2090
|
+
showRoot?: boolean;
|
|
2091
|
+
/**
|
|
2092
|
+
* Controlled set of expanded node keys.
|
|
2093
|
+
* Each key is `TreeItem.nodeKey` (falls back to label string).
|
|
2094
|
+
*/
|
|
2095
|
+
expandedKeys?: Set<string>;
|
|
2096
|
+
/** Default expanded keys (uncontrolled). Pass `'all'` to expand everything. */
|
|
2097
|
+
defaultExpandedKeys?: Set<string> | "all";
|
|
2098
|
+
/** Fires when a node is toggled. */
|
|
2099
|
+
onExpandedKeysChange?: (keys: Set<string>) => void;
|
|
2100
|
+
/** Controls item text and icon sizing. @default 'md' */
|
|
2101
|
+
size?: "sm" | "md" | "lg";
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
declare function useAlert(): {
|
|
2105
|
+
addAlert: typeof addAlert;
|
|
2106
|
+
removeAlert: typeof removeAlert;
|
|
2107
|
+
};
|
|
2108
|
+
export { useAlert }
|
|
2109
|
+
export { useAlert as useAlert_alias_1 }
|
|
2110
|
+
export { useAlert as useAlert_alias_2 }
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Returns a `setSpin(target, tip?)` function.
|
|
2114
|
+
* Each call returns a **close** function to dismiss that specific overlay.
|
|
2115
|
+
*/
|
|
2116
|
+
declare function useSpin(): typeof addSpin;
|
|
2117
|
+
export { useSpin }
|
|
2118
|
+
export { useSpin as useSpin_alias_1 }
|
|
2119
|
+
export { useSpin as useSpin_alias_2 }
|
|
2120
|
+
|
|
2121
|
+
/** Callback type for FormItem's `onValidate` prop. */
|
|
2122
|
+
declare type ValidateCallback = (value: unknown) => ValidationResult;
|
|
2123
|
+
export { ValidateCallback }
|
|
2124
|
+
export { ValidateCallback as ValidateCallback_alias_1 }
|
|
2125
|
+
export { ValidateCallback as ValidateCallback_alias_2 }
|
|
2126
|
+
|
|
2127
|
+
/** Return value of a FormItem validation callback. */
|
|
2128
|
+
declare type ValidationResult = {
|
|
2129
|
+
result: boolean;
|
|
2130
|
+
reason: string;
|
|
2131
|
+
};
|
|
2132
|
+
export { ValidationResult }
|
|
2133
|
+
export { ValidationResult as ValidationResult_alias_1 }
|
|
2134
|
+
export { ValidationResult as ValidationResult_alias_2 }
|
|
2135
|
+
|
|
2136
|
+
export { }
|