@jacshuo/onyx 1.1.0 → 1.3.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 +19 -6
- 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 +29 -7
- 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
package/dist/Chat.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface ChatMessage {
|
|
5
|
-
/** Unique id for the message. */
|
|
6
|
-
id: string | number;
|
|
7
|
-
/** Sender display name. */
|
|
8
|
-
sender: string;
|
|
9
|
-
/** Avatar — URL string or ReactNode (icon / component). */
|
|
10
|
-
avatar?: string | React.ReactNode;
|
|
11
|
-
/** Message body. Can be text or rich ReactNode content. */
|
|
12
|
-
content: React.ReactNode;
|
|
13
|
-
/** Timestamp label, e.g. "10:30 AM". */
|
|
14
|
-
time?: string;
|
|
15
|
-
/** Mark as "self" (current user). Controls bubble alignment in split mode. */
|
|
16
|
-
self?: boolean;
|
|
17
|
-
}
|
|
18
|
-
interface ChatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
-
/** Array of messages to render. */
|
|
20
|
-
messages: ChatMessage[];
|
|
21
|
-
/**
|
|
22
|
-
* Layout mode.
|
|
23
|
-
* - `'split'` — self messages on the right, others on the left (default)
|
|
24
|
-
* - `'left'` — all messages aligned to the left
|
|
25
|
-
*/
|
|
26
|
-
mode?: "split" | "left";
|
|
27
|
-
/** Auto-scroll to bottom when messages change. @default true */
|
|
28
|
-
autoScroll?: boolean;
|
|
29
|
-
}
|
|
30
|
-
declare function Chat({ messages, mode, autoScroll, className, ...props }: ChatProps): react_jsx_runtime.JSX.Element;
|
|
31
|
-
|
|
32
|
-
export { Chat, type ChatMessage, type ChatProps };
|
package/dist/Chat.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Chat}from'./chunks/chunk-PHAX43YF.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/Checkbox.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkIL5XDMUA_cjs=require('./chunks/chunk-IL5XDMUA.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Checkbox",{enumerable:true,get:function(){return chunkIL5XDMUA_cjs.a}});
|
package/dist/Checkbox.d.cts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { checkboxVariants } from './theme.cjs';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & Omit<VariantProps<typeof checkboxVariants>, "checked"> & {
|
|
8
|
-
/** Controlled checked state. */
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
/** Default checked state (uncontrolled). */
|
|
11
|
-
defaultChecked?: boolean;
|
|
12
|
-
/** Indeterminate state — overrides the check icon with a dash. */
|
|
13
|
-
indeterminate?: boolean;
|
|
14
|
-
/** Callback when the checkbox is toggled. */
|
|
15
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
16
|
-
/** Accessible label text shown beside the checkbox. */
|
|
17
|
-
label?: string;
|
|
18
|
-
};
|
|
19
|
-
declare function Checkbox({ checked: controlledChecked, defaultChecked, indeterminate, onCheckedChange, intent, size, label, id: propId, className, disabled, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
20
|
-
|
|
21
|
-
export { Checkbox, type CheckboxProps };
|
package/dist/Checkbox.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { checkboxVariants } from './theme.js';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & Omit<VariantProps<typeof checkboxVariants>, "checked"> & {
|
|
8
|
-
/** Controlled checked state. */
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
/** Default checked state (uncontrolled). */
|
|
11
|
-
defaultChecked?: boolean;
|
|
12
|
-
/** Indeterminate state — overrides the check icon with a dash. */
|
|
13
|
-
indeterminate?: boolean;
|
|
14
|
-
/** Callback when the checkbox is toggled. */
|
|
15
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
16
|
-
/** Accessible label text shown beside the checkbox. */
|
|
17
|
-
label?: string;
|
|
18
|
-
};
|
|
19
|
-
declare function Checkbox({ checked: controlledChecked, defaultChecked, indeterminate, onCheckedChange, intent, size, label, id: propId, className, disabled, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
20
|
-
|
|
21
|
-
export { Checkbox, type CheckboxProps };
|
package/dist/Checkbox.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Checkbox}from'./chunks/chunk-7CEOIZXK.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/CinePlayer.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkN4QZRR2Y_cjs=require('./chunks/chunk-N4QZRR2Y.cjs');require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"CinePlayer",{enumerable:true,get:function(){return chunkN4QZRR2Y_cjs.a}});
|
package/dist/CinePlayer.d.cts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface CinePlayerMedia {
|
|
4
|
-
/** Display title. */
|
|
5
|
-
title: string;
|
|
6
|
-
/** Subtitle / description line. */
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
/** Media type tag (e.g. 'movie', 'clip', 'episode'). Used for sorting. */
|
|
9
|
-
type?: string;
|
|
10
|
-
/** Source URL (http/blob/file). */
|
|
11
|
-
src: string;
|
|
12
|
-
/** Poster / thumbnail URL. */
|
|
13
|
-
poster?: string;
|
|
14
|
-
/** Duration in seconds (auto-detected if omitted). */
|
|
15
|
-
duration?: number;
|
|
16
|
-
}
|
|
17
|
-
type CinePlayerSortKey = "title" | "type" | "duration";
|
|
18
|
-
interface CinePlayerProps {
|
|
19
|
-
/** Media playlist. */
|
|
20
|
-
playlist: CinePlayerMedia[];
|
|
21
|
-
/** Starting index. @default 0 */
|
|
22
|
-
initialTrack?: number;
|
|
23
|
-
/** Auto-play when ready. @default false */
|
|
24
|
-
autoPlay?: boolean;
|
|
25
|
-
/** Initial shuffle state. @default false */
|
|
26
|
-
shuffle?: boolean;
|
|
27
|
-
/** Initial loop state. @default false */
|
|
28
|
-
loop?: boolean;
|
|
29
|
-
/** Called on track change. */
|
|
30
|
-
onTrackChange?: (index: number, media: CinePlayerMedia) => void;
|
|
31
|
-
/** Called when play state changes. */
|
|
32
|
-
onPlayChange?: (playing: boolean) => void;
|
|
33
|
-
/** Accent color (any CSS color value). @default '#8b5cf6' */
|
|
34
|
-
accent?: string;
|
|
35
|
-
/** Extra class name on root. */
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
|
-
declare function CinePlayer({ playlist, initialTrack, autoPlay, shuffle: shuffleProp, loop: loopProp, onTrackChange, onPlayChange, accent, className, }: CinePlayerProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
export { CinePlayer, type CinePlayerMedia, type CinePlayerProps, type CinePlayerSortKey };
|
package/dist/CinePlayer.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
interface CinePlayerMedia {
|
|
4
|
-
/** Display title. */
|
|
5
|
-
title: string;
|
|
6
|
-
/** Subtitle / description line. */
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
/** Media type tag (e.g. 'movie', 'clip', 'episode'). Used for sorting. */
|
|
9
|
-
type?: string;
|
|
10
|
-
/** Source URL (http/blob/file). */
|
|
11
|
-
src: string;
|
|
12
|
-
/** Poster / thumbnail URL. */
|
|
13
|
-
poster?: string;
|
|
14
|
-
/** Duration in seconds (auto-detected if omitted). */
|
|
15
|
-
duration?: number;
|
|
16
|
-
}
|
|
17
|
-
type CinePlayerSortKey = "title" | "type" | "duration";
|
|
18
|
-
interface CinePlayerProps {
|
|
19
|
-
/** Media playlist. */
|
|
20
|
-
playlist: CinePlayerMedia[];
|
|
21
|
-
/** Starting index. @default 0 */
|
|
22
|
-
initialTrack?: number;
|
|
23
|
-
/** Auto-play when ready. @default false */
|
|
24
|
-
autoPlay?: boolean;
|
|
25
|
-
/** Initial shuffle state. @default false */
|
|
26
|
-
shuffle?: boolean;
|
|
27
|
-
/** Initial loop state. @default false */
|
|
28
|
-
loop?: boolean;
|
|
29
|
-
/** Called on track change. */
|
|
30
|
-
onTrackChange?: (index: number, media: CinePlayerMedia) => void;
|
|
31
|
-
/** Called when play state changes. */
|
|
32
|
-
onPlayChange?: (playing: boolean) => void;
|
|
33
|
-
/** Accent color (any CSS color value). @default '#8b5cf6' */
|
|
34
|
-
accent?: string;
|
|
35
|
-
/** Extra class name on root. */
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
|
-
declare function CinePlayer({ playlist, initialTrack, autoPlay, shuffle: shuffleProp, loop: loopProp, onTrackChange, onPlayChange, accent, className, }: CinePlayerProps): react_jsx_runtime.JSX.Element;
|
|
39
|
-
|
|
40
|
-
export { CinePlayer, type CinePlayerMedia, type CinePlayerProps, type CinePlayerSortKey };
|
package/dist/CinePlayer.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as CinePlayer}from'./chunks/chunk-QTADJ7I5.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/CodeBlock.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkBTR2N5MO_cjs=require('./chunks/chunk-BTR2N5MO.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"CodeBlock",{enumerable:true,get:function(){return chunkBTR2N5MO_cjs.a}});
|
package/dist/CodeBlock.d.cts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { codeBlockVariants } from './theme.cjs';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type CodeBlockLanguage = "typescript" | "javascript" | "tsx" | "jsx" | "html" | "css" | "json" | "markdown" | "python" | "rust" | "go" | "java" | "c" | "cpp" | "csharp" | "vue" | "xml" | "yaml" | "sql" | "bash" | "shell" | (string & {});
|
|
8
|
-
type CodeBlockProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof codeBlockVariants> & {
|
|
9
|
-
/** The source code to highlight */
|
|
10
|
-
code: string;
|
|
11
|
-
/** Programming language for syntax highlighting */
|
|
12
|
-
language?: CodeBlockLanguage;
|
|
13
|
-
/** Show line numbers */
|
|
14
|
-
lineNumbers?: boolean;
|
|
15
|
-
/** Enable live editing — renders a transparent textarea over the highlighted output */
|
|
16
|
-
editable?: boolean;
|
|
17
|
-
/** Called when the user edits code (only fires when `editable` is true) */
|
|
18
|
-
onCodeChange?: (code: string) => void;
|
|
19
|
-
};
|
|
20
|
-
declare function CodeBlock({ code, language, lineNumbers, editable, onCodeChange, size, className, ...props }: CodeBlockProps): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { CodeBlock, type CodeBlockLanguage, type CodeBlockProps };
|
package/dist/CodeBlock.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { codeBlockVariants } from './theme.js';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type CodeBlockLanguage = "typescript" | "javascript" | "tsx" | "jsx" | "html" | "css" | "json" | "markdown" | "python" | "rust" | "go" | "java" | "c" | "cpp" | "csharp" | "vue" | "xml" | "yaml" | "sql" | "bash" | "shell" | (string & {});
|
|
8
|
-
type CodeBlockProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof codeBlockVariants> & {
|
|
9
|
-
/** The source code to highlight */
|
|
10
|
-
code: string;
|
|
11
|
-
/** Programming language for syntax highlighting */
|
|
12
|
-
language?: CodeBlockLanguage;
|
|
13
|
-
/** Show line numbers */
|
|
14
|
-
lineNumbers?: boolean;
|
|
15
|
-
/** Enable live editing — renders a transparent textarea over the highlighted output */
|
|
16
|
-
editable?: boolean;
|
|
17
|
-
/** Called when the user edits code (only fires when `editable` is true) */
|
|
18
|
-
onCodeChange?: (code: string) => void;
|
|
19
|
-
};
|
|
20
|
-
declare function CodeBlock({ code, language, lineNumbers, editable, onCodeChange, size, className, ...props }: CodeBlockProps): react_jsx_runtime.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { CodeBlock, type CodeBlockLanguage, type CodeBlockProps };
|
package/dist/CodeBlock.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as CodeBlock}from'./chunks/chunk-E4EMAZ6V.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/Dialog.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkJJP23IOG_cjs=require('./chunks/chunk-JJP23IOG.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Dialog",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.a}});Object.defineProperty(exports,"DialogClose",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.g}});Object.defineProperty(exports,"DialogContent",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.b}});Object.defineProperty(exports,"DialogDescription",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.e}});Object.defineProperty(exports,"DialogFooter",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.f}});Object.defineProperty(exports,"DialogHeader",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.c}});Object.defineProperty(exports,"DialogTitle",{enumerable:true,get:function(){return chunkJJP23IOG_cjs.d}});
|
package/dist/Dialog.d.cts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { dialogContentVariants } from './theme.cjs';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type DialogProps = {
|
|
8
|
-
open: boolean;
|
|
9
|
-
onOpenChange: (open: boolean) => void;
|
|
10
|
-
modal?: boolean;
|
|
11
|
-
/** When true, clicking outside the dialog closes it. @default false */
|
|
12
|
-
closeOnOutsideClick?: boolean;
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
};
|
|
15
|
-
declare function Dialog({ open, onOpenChange, modal, closeOnOutsideClick, children, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
16
|
-
type DialogContentProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof dialogContentVariants> & {
|
|
17
|
-
/** Where to render the dialog in the viewport. @default 'center' */
|
|
18
|
-
position?: "center" | "bottom";
|
|
19
|
-
};
|
|
20
|
-
declare function DialogContent({ size, position, className, children, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element | null;
|
|
21
|
-
declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
22
|
-
declare function DialogTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
23
|
-
declare function DialogDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare function DialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
-
declare function DialogClose({ className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
26
|
-
|
|
27
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle };
|
package/dist/Dialog.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { dialogContentVariants } from './theme.js';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
type DialogProps = {
|
|
8
|
-
open: boolean;
|
|
9
|
-
onOpenChange: (open: boolean) => void;
|
|
10
|
-
modal?: boolean;
|
|
11
|
-
/** When true, clicking outside the dialog closes it. @default false */
|
|
12
|
-
closeOnOutsideClick?: boolean;
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
};
|
|
15
|
-
declare function Dialog({ open, onOpenChange, modal, closeOnOutsideClick, children, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
16
|
-
type DialogContentProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof dialogContentVariants> & {
|
|
17
|
-
/** Where to render the dialog in the viewport. @default 'center' */
|
|
18
|
-
position?: "center" | "bottom";
|
|
19
|
-
};
|
|
20
|
-
declare function DialogContent({ size, position, className, children, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element | null;
|
|
21
|
-
declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
22
|
-
declare function DialogTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
23
|
-
declare function DialogDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare function DialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
-
declare function DialogClose({ className, ...props }: React.ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime.JSX.Element;
|
|
26
|
-
|
|
27
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle };
|
package/dist/Dialog.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Dialog,g as DialogClose,b as DialogContent,e as DialogDescription,f as DialogFooter,c as DialogHeader,d as DialogTitle}from'./chunks/chunk-3I7Y6FUJ.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/Dropdown.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkIRSGPS7D_cjs=require('./chunks/chunk-IRSGPS7D.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"Dropdown",{enumerable:true,get:function(){return chunkIRSGPS7D_cjs.a}});
|
package/dist/Dropdown.d.cts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface DropdownOption {
|
|
5
|
-
/** Unique value for this option. */
|
|
6
|
-
value: string;
|
|
7
|
-
/** Display label. Defaults to value. */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Icon rendered before the label. */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
/** Disable this option. */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** Nested children for cascading (hierarchical) menus. */
|
|
14
|
-
children?: DropdownOption[];
|
|
15
|
-
}
|
|
16
|
-
interface DropdownBaseProps {
|
|
17
|
-
/** Available options. Supports nested children for cascading. */
|
|
18
|
-
options: DropdownOption[];
|
|
19
|
-
/** Placeholder text when nothing is selected. */
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
/** Allow the user to type to filter options. @default false */
|
|
22
|
-
editable?: boolean;
|
|
23
|
-
/** Called when the user submits a value not in the list (editable mode). */
|
|
24
|
-
onAddItem?: (value: string) => void;
|
|
25
|
-
/** Disable the entire dropdown. */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** Menu alignment. @default 'left' */
|
|
28
|
-
align?: "left" | "right";
|
|
29
|
-
/** Additional class name for the root container. */
|
|
30
|
-
className?: string;
|
|
31
|
-
/** Controls the trigger height and text size. @default 'md' */
|
|
32
|
-
size?: "sm" | "md" | "lg";
|
|
33
|
-
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
34
|
-
animated?: boolean;
|
|
35
|
-
}
|
|
36
|
-
interface DropdownSingleProps extends DropdownBaseProps {
|
|
37
|
-
/** Enable multi-select with checkboxes. @default false */
|
|
38
|
-
multiple?: false;
|
|
39
|
-
/** Currently selected value (controlled, single mode). */
|
|
40
|
-
value?: string;
|
|
41
|
-
/** Default selected value (uncontrolled, single mode). */
|
|
42
|
-
defaultValue?: string;
|
|
43
|
-
/** Callback fired when an option is selected (single mode). */
|
|
44
|
-
onChange?: (value: string, option: DropdownOption) => void;
|
|
45
|
-
/** Not used in single mode. */
|
|
46
|
-
selected?: never;
|
|
47
|
-
/** Not used in single mode. */
|
|
48
|
-
defaultSelected?: never;
|
|
49
|
-
/** Not used in single mode. */
|
|
50
|
-
onSelectionChange?: never;
|
|
51
|
-
}
|
|
52
|
-
interface DropdownMultipleProps extends DropdownBaseProps {
|
|
53
|
-
/** Enable multi-select with checkboxes. */
|
|
54
|
-
multiple: true;
|
|
55
|
-
/** Currently selected values (controlled, multi mode). */
|
|
56
|
-
selected?: string[];
|
|
57
|
-
/** Default selected values (uncontrolled, multi mode). */
|
|
58
|
-
defaultSelected?: string[];
|
|
59
|
-
/** Callback fired when selection changes (multi mode). */
|
|
60
|
-
onSelectionChange?: (selected: string[]) => void;
|
|
61
|
-
/** Not used in multi mode. */
|
|
62
|
-
value?: never;
|
|
63
|
-
/** Not used in multi mode. */
|
|
64
|
-
defaultValue?: never;
|
|
65
|
-
/** Not used in multi mode. */
|
|
66
|
-
onChange?: never;
|
|
67
|
-
}
|
|
68
|
-
type DropdownProps = DropdownSingleProps | DropdownMultipleProps;
|
|
69
|
-
declare function Dropdown(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
export { Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps };
|
package/dist/Dropdown.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface DropdownOption {
|
|
5
|
-
/** Unique value for this option. */
|
|
6
|
-
value: string;
|
|
7
|
-
/** Display label. Defaults to value. */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Icon rendered before the label. */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
/** Disable this option. */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** Nested children for cascading (hierarchical) menus. */
|
|
14
|
-
children?: DropdownOption[];
|
|
15
|
-
}
|
|
16
|
-
interface DropdownBaseProps {
|
|
17
|
-
/** Available options. Supports nested children for cascading. */
|
|
18
|
-
options: DropdownOption[];
|
|
19
|
-
/** Placeholder text when nothing is selected. */
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
/** Allow the user to type to filter options. @default false */
|
|
22
|
-
editable?: boolean;
|
|
23
|
-
/** Called when the user submits a value not in the list (editable mode). */
|
|
24
|
-
onAddItem?: (value: string) => void;
|
|
25
|
-
/** Disable the entire dropdown. */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** Menu alignment. @default 'left' */
|
|
28
|
-
align?: "left" | "right";
|
|
29
|
-
/** Additional class name for the root container. */
|
|
30
|
-
className?: string;
|
|
31
|
-
/** Controls the trigger height and text size. @default 'md' */
|
|
32
|
-
size?: "sm" | "md" | "lg";
|
|
33
|
-
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
34
|
-
animated?: boolean;
|
|
35
|
-
}
|
|
36
|
-
interface DropdownSingleProps extends DropdownBaseProps {
|
|
37
|
-
/** Enable multi-select with checkboxes. @default false */
|
|
38
|
-
multiple?: false;
|
|
39
|
-
/** Currently selected value (controlled, single mode). */
|
|
40
|
-
value?: string;
|
|
41
|
-
/** Default selected value (uncontrolled, single mode). */
|
|
42
|
-
defaultValue?: string;
|
|
43
|
-
/** Callback fired when an option is selected (single mode). */
|
|
44
|
-
onChange?: (value: string, option: DropdownOption) => void;
|
|
45
|
-
/** Not used in single mode. */
|
|
46
|
-
selected?: never;
|
|
47
|
-
/** Not used in single mode. */
|
|
48
|
-
defaultSelected?: never;
|
|
49
|
-
/** Not used in single mode. */
|
|
50
|
-
onSelectionChange?: never;
|
|
51
|
-
}
|
|
52
|
-
interface DropdownMultipleProps extends DropdownBaseProps {
|
|
53
|
-
/** Enable multi-select with checkboxes. */
|
|
54
|
-
multiple: true;
|
|
55
|
-
/** Currently selected values (controlled, multi mode). */
|
|
56
|
-
selected?: string[];
|
|
57
|
-
/** Default selected values (uncontrolled, multi mode). */
|
|
58
|
-
defaultSelected?: string[];
|
|
59
|
-
/** Callback fired when selection changes (multi mode). */
|
|
60
|
-
onSelectionChange?: (selected: string[]) => void;
|
|
61
|
-
/** Not used in multi mode. */
|
|
62
|
-
value?: never;
|
|
63
|
-
/** Not used in multi mode. */
|
|
64
|
-
defaultValue?: never;
|
|
65
|
-
/** Not used in multi mode. */
|
|
66
|
-
onChange?: never;
|
|
67
|
-
}
|
|
68
|
-
type DropdownProps = DropdownSingleProps | DropdownMultipleProps;
|
|
69
|
-
declare function Dropdown(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
70
|
-
|
|
71
|
-
export { Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps };
|
package/dist/Dropdown.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Dropdown}from'./chunks/chunk-CEEQE7SY.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/DropdownButton.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkICDAUJ2G_cjs=require('./chunks/chunk-ICDAUJ2G.cjs');require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"DropdownButton",{enumerable:true,get:function(){return chunkICDAUJ2G_cjs.a}});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { buttonVariants } from './theme.cjs';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
interface DropdownItem {
|
|
8
|
-
/** Unique key. Falls back to label when label is a string. */
|
|
9
|
-
key?: string;
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Disable this item. */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** Divider rendered before this item. */
|
|
14
|
-
divider?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
}
|
|
17
|
-
interface DropdownButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof buttonVariants> {
|
|
18
|
-
/** Button label. */
|
|
19
|
-
label: React.ReactNode;
|
|
20
|
-
/** Dropdown menu items. */
|
|
21
|
-
items: DropdownItem[];
|
|
22
|
-
/** Menu alignment. @default 'left' */
|
|
23
|
-
align?: "left" | "right";
|
|
24
|
-
/** Show a search/add input at the top of the menu. */
|
|
25
|
-
editable?: boolean;
|
|
26
|
-
/** Called when the user presses Enter on a value not in the list. */
|
|
27
|
-
onAddItem?: (value: string) => void;
|
|
28
|
-
/** Enable multi-select with checkboxes. */
|
|
29
|
-
multiple?: boolean;
|
|
30
|
-
/** Currently selected keys (controlled). */
|
|
31
|
-
selected?: string[];
|
|
32
|
-
/** Called when the selection changes (multi-select mode). */
|
|
33
|
-
onSelectionChange?: (selected: string[]) => void;
|
|
34
|
-
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
35
|
-
animated?: boolean;
|
|
36
|
-
}
|
|
37
|
-
declare function DropdownButton({ label, items, intent, size, align, className, disabled, editable, onAddItem, multiple, selected, onSelectionChange, animated, ...props }: DropdownButtonProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
export { DropdownButton, type DropdownButtonProps, type DropdownItem };
|
package/dist/DropdownButton.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import { buttonVariants } from './theme.js';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
|
|
7
|
-
interface DropdownItem {
|
|
8
|
-
/** Unique key. Falls back to label when label is a string. */
|
|
9
|
-
key?: string;
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Disable this item. */
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/** Divider rendered before this item. */
|
|
14
|
-
divider?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
}
|
|
17
|
-
interface DropdownButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof buttonVariants> {
|
|
18
|
-
/** Button label. */
|
|
19
|
-
label: React.ReactNode;
|
|
20
|
-
/** Dropdown menu items. */
|
|
21
|
-
items: DropdownItem[];
|
|
22
|
-
/** Menu alignment. @default 'left' */
|
|
23
|
-
align?: "left" | "right";
|
|
24
|
-
/** Show a search/add input at the top of the menu. */
|
|
25
|
-
editable?: boolean;
|
|
26
|
-
/** Called when the user presses Enter on a value not in the list. */
|
|
27
|
-
onAddItem?: (value: string) => void;
|
|
28
|
-
/** Enable multi-select with checkboxes. */
|
|
29
|
-
multiple?: boolean;
|
|
30
|
-
/** Currently selected keys (controlled). */
|
|
31
|
-
selected?: string[];
|
|
32
|
-
/** Called when the selection changes (multi-select mode). */
|
|
33
|
-
onSelectionChange?: (selected: string[]) => void;
|
|
34
|
-
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
35
|
-
animated?: boolean;
|
|
36
|
-
}
|
|
37
|
-
declare function DropdownButton({ label, items, intent, size, align, className, disabled, editable, onAddItem, multiple, selected, onSelectionChange, animated, ...props }: DropdownButtonProps): react_jsx_runtime.JSX.Element;
|
|
38
|
-
|
|
39
|
-
export { DropdownButton, type DropdownButtonProps, type DropdownItem };
|
package/dist/DropdownButton.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as DropdownButton}from'./chunks/chunk-47UMFXDG.js';import'./chunks/chunk-XAOBJSFW.js';import'./chunks/chunk-AXBJKPZZ.js';
|
package/dist/FileExplorer.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunk4D3XBPZX_cjs=require('./chunks/chunk-4D3XBPZX.cjs');require('./chunks/chunk-JJP23IOG.cjs'),require('./chunks/chunk-2KVAFCQI.cjs'),require('./chunks/chunk-2JLNRAXS.cjs'),require('./chunks/chunk-X5YP5TMY.cjs');Object.defineProperty(exports,"FileExplorer",{enumerable:true,get:function(){return chunk4D3XBPZX_cjs.a}});
|
package/dist/FileExplorer.d.cts
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface FileExplorerItem {
|
|
5
|
-
/** File or directory name (including extension). */
|
|
6
|
-
name: string;
|
|
7
|
-
/** Absolute or virtual path. */
|
|
8
|
-
path: string;
|
|
9
|
-
/** Item type. */
|
|
10
|
-
type: "file" | "directory";
|
|
11
|
-
/** Size in bytes (files only). */
|
|
12
|
-
size?: number;
|
|
13
|
-
/** File extension (e.g. '.tsx'). Auto-derived from name if omitted. */
|
|
14
|
-
extension?: string;
|
|
15
|
-
/** Last modified date. */
|
|
16
|
-
modifiedAt?: Date | string;
|
|
17
|
-
/** Creation date. */
|
|
18
|
-
createdAt?: Date | string;
|
|
19
|
-
/** MIME type string. */
|
|
20
|
-
mimeType?: string;
|
|
21
|
-
/** Whether this item is hidden. */
|
|
22
|
-
hidden?: boolean;
|
|
23
|
-
}
|
|
24
|
-
type FileExplorerViewMode = "list" | "grid";
|
|
25
|
-
type FileExplorerDockSide = "left" | "right";
|
|
26
|
-
/** Toolbar input mode: filter current list or navigate to a path. */
|
|
27
|
-
type FileExplorerInputMode = "search" | "navigate";
|
|
28
|
-
/** A custom action shown in the properties panel. */
|
|
29
|
-
interface FileExplorerAction {
|
|
30
|
-
/** Unique key for the action. */
|
|
31
|
-
key: string;
|
|
32
|
-
/** Label displayed on the button. */
|
|
33
|
-
label: string;
|
|
34
|
-
/** Optional lucide icon component. */
|
|
35
|
-
icon?: React.ComponentType<{
|
|
36
|
-
className?: string;
|
|
37
|
-
}>;
|
|
38
|
-
/** Called when the action is clicked. */
|
|
39
|
-
onClick: (file: FileExplorerItem) => void;
|
|
40
|
-
}
|
|
41
|
-
interface FileExplorerProps {
|
|
42
|
-
/** Files / directories to display. */
|
|
43
|
-
files: FileExplorerItem[];
|
|
44
|
-
/** Window title. @default 'File Explorer' */
|
|
45
|
-
title?: string;
|
|
46
|
-
/** Accent color (any CSS color). @default '#8b5cf6' */
|
|
47
|
-
accent?: string;
|
|
48
|
-
/** Default view mode. @default 'list' */
|
|
49
|
-
defaultView?: FileExplorerViewMode;
|
|
50
|
-
/** Initial window position {x, y}. */
|
|
51
|
-
initialPosition?: {
|
|
52
|
-
x: number;
|
|
53
|
-
y: number;
|
|
54
|
-
};
|
|
55
|
-
/** Initial window dimensions (px). */
|
|
56
|
-
initialSize?: {
|
|
57
|
-
width: number;
|
|
58
|
-
height: number;
|
|
59
|
-
};
|
|
60
|
-
/** Enable dock-to-edge behaviour. @default false */
|
|
61
|
-
dockable?: boolean;
|
|
62
|
-
/** Which edge to dock to. @default 'right' */
|
|
63
|
-
dockSide?: FileExplorerDockSide;
|
|
64
|
-
/** Whether the explorer starts visible. @default true */
|
|
65
|
-
visible?: boolean;
|
|
66
|
-
/** Called on double-click of a file. */
|
|
67
|
-
onFileOpen?: (file: FileExplorerItem) => void;
|
|
68
|
-
/** Called when selection changes. */
|
|
69
|
-
onSelectionChange?: (files: FileExplorerItem[]) => void;
|
|
70
|
-
/** Called when navigating into a directory. */
|
|
71
|
-
onNavigate?: (path: string) => void;
|
|
72
|
-
/** Called when the user confirms deletion of selected files via the Delete key. */
|
|
73
|
-
onDelete?: (files: FileExplorerItem[]) => void;
|
|
74
|
-
/** Called on close button. */
|
|
75
|
-
onClose?: () => void;
|
|
76
|
-
/** Called on minimize/dock. */
|
|
77
|
-
onMinimize?: () => void;
|
|
78
|
-
/** Called when user presses Enter in navigate mode. Receives the typed path. */
|
|
79
|
-
onPathSubmit?: (path: string) => void;
|
|
80
|
-
/** Default input mode. @default 'search' */
|
|
81
|
-
defaultInputMode?: FileExplorerInputMode;
|
|
82
|
-
/** Custom actions shown in the properties panel. Each receives the inspected file. */
|
|
83
|
-
actions?: FileExplorerAction[];
|
|
84
|
-
/** Whether the window is resizable. @default true */
|
|
85
|
-
resizable?: boolean;
|
|
86
|
-
/** Minimum window size when resizing. @default { width: 400, height: 300 } */
|
|
87
|
-
minSize?: {
|
|
88
|
-
width: number;
|
|
89
|
-
height: number;
|
|
90
|
-
};
|
|
91
|
-
/** Extra class on outermost wrapper. */
|
|
92
|
-
className?: string;
|
|
93
|
-
}
|
|
94
|
-
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): react_jsx_runtime.JSX.Element | null;
|
|
95
|
-
|
|
96
|
-
export { FileExplorer, type FileExplorerAction, type FileExplorerDockSide, type FileExplorerInputMode, type FileExplorerItem, type FileExplorerProps, type FileExplorerViewMode };
|