@arcadeai/design-system 3.39.1 → 3.39.2
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/dist/CompositeItem-CniPsjzP.js +30 -0
- package/dist/CompositeList-yq5K_yj6.js +81 -0
- package/dist/CompositeRoot-Dy-5A-Je.js +206 -0
- package/dist/DialogRoot-DDokfJcO.js +57 -0
- package/dist/DialogTrigger-CFUE8YsM.js +402 -0
- package/dist/DirectionContext-BSOheMwC.js +10 -0
- package/dist/FieldItemContext-CF2fRwBC.js +12 -0
- package/dist/FloatingPortalLite-BHsRx4XN.js +29 -0
- package/dist/InternalBackdrop-BVEfe6O1.js +610 -0
- package/dist/LabelableContext-Dzw1DWuj.js +171 -0
- package/dist/Separator-CswSYAXX.js +25 -0
- package/dist/ToolbarRootContext-D7EsmJ5f.js +10 -0
- package/dist/andromeeda-B-gfN00q.js +4 -0
- package/dist/angular-html-dA1qUKRV.js +32 -0
- package/dist/angular-ts-CXyBC0vY.js +21 -0
- package/dist/apl-CjNiDgad.js +3 -3
- package/dist/assets/images/arcade-grid.d.ts.map +1 -1
- package/dist/assets/images/arcade-grid.js +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/astro--3ZkKqYU.js +18 -0
- package/dist/astro-CFFExE8Q.js +5 -5
- package/dist/aurora-x-B56eICma.js +4 -0
- package/dist/ayu-dark-DJSOaKig.js +4 -0
- package/dist/ayu-light-BPfFt4v-.js +4 -0
- package/dist/ayu-mirage-DmPLRBj7.js +4 -0
- package/dist/blade-BoRuQEEj.js +20 -0
- package/dist/blade-D0HyNvCw.js +4 -4
- package/dist/c-C4SM8H98.js +6 -0
- package/dist/cairo-DM6WF2e3.js +1 -1
- package/dist/{calendar-DreAgQKY.js → calendar-CLEnvrbp.js} +483 -482
- package/dist/catppuccin-frappe-CA5k7W3u.js +4 -0
- package/dist/catppuccin-latte-CYfkUW5v.js +4 -0
- package/dist/catppuccin-macchiato-BOj_4I3g.js +4 -0
- package/dist/catppuccin-mocha-BXpUXme4.js +4 -0
- package/dist/clamp-BxE4ZAuA.js +17 -0
- package/dist/cobol-HihOMwht.js +1 -1
- package/dist/coffee-D8Swy5yR.js +8 -0
- package/dist/components/index.js +665 -646
- package/dist/components/ui/atoms/accordion.d.ts +9 -7
- package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
- package/dist/components/ui/atoms/accordion.js +454 -243
- package/dist/components/ui/atoms/alert-dialog.d.ts +13 -9
- package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +149 -183
- package/dist/components/ui/atoms/alert.d.ts +2 -1
- package/dist/components/ui/atoms/alert.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert.js +36 -25
- package/dist/components/ui/atoms/avatar.d.ts +10 -5
- package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
- package/dist/components/ui/atoms/avatar.js +198 -205
- package/dist/components/ui/atoms/badge.d.ts +4 -5
- package/dist/components/ui/atoms/badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/badge.js +31 -22
- package/dist/components/ui/atoms/breadcrumb.d.ts +4 -5
- package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/atoms/breadcrumb.js +46 -29
- package/dist/components/ui/atoms/button.d.ts +4 -6
- package/dist/components/ui/atoms/button.d.ts.map +1 -1
- package/dist/components/ui/atoms/button.js +59 -28
- package/dist/components/ui/atoms/byoc-badge.d.ts +2 -2
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +14 -8
- package/dist/components/ui/atoms/calendar.d.ts +6 -16
- package/dist/components/ui/atoms/calendar.d.ts.map +1 -1
- package/dist/components/ui/atoms/calendar.js +1 -1
- package/dist/components/ui/atoms/card.d.ts +4 -2
- package/dist/components/ui/atoms/card.d.ts.map +1 -1
- package/dist/components/ui/atoms/card.js +46 -35
- package/dist/components/ui/atoms/chart.d.ts +24 -48
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +179 -148
- package/dist/components/ui/atoms/checkbox.d.ts +2 -3
- package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
- package/dist/components/ui/atoms/checkbox.js +269 -249
- package/dist/components/ui/atoms/code-block.js +1 -1
- package/dist/components/ui/atoms/collapsible.d.ts +5 -5
- package/dist/components/ui/atoms/collapsible.d.ts.map +1 -1
- package/dist/components/ui/atoms/collapsible.js +208 -23
- package/dist/components/ui/atoms/command.d.ts +4 -3
- package/dist/components/ui/atoms/command.d.ts.map +1 -1
- package/dist/components/ui/atoms/command.js +1655 -348
- package/dist/components/ui/atoms/dialog.d.ts +12 -10
- package/dist/components/ui/atoms/dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/dialog.js +91 -80
- package/dist/components/ui/atoms/dropdown-menu.d.ts +21 -17
- package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +1507 -899
- package/dist/components/ui/atoms/form.d.ts +5 -3
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/form.js +36 -42
- package/dist/components/ui/atoms/hover-card.d.ts +5 -6
- package/dist/components/ui/atoms/hover-card.d.ts.map +1 -1
- package/dist/components/ui/atoms/hover-card.js +355 -193
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +566 -547
- package/dist/components/ui/atoms/input-group.d.ts +20 -0
- package/dist/components/ui/atoms/input-group.d.ts.map +1 -0
- package/dist/components/ui/atoms/input-group.js +136 -0
- package/dist/components/ui/atoms/input.d.ts.map +1 -1
- package/dist/components/ui/atoms/input.js +113 -13
- package/dist/components/ui/atoms/label.d.ts +1 -2
- package/dist/components/ui/atoms/label.d.ts.map +1 -1
- package/dist/components/ui/atoms/label.js +18 -31
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.js +4 -3
- package/dist/components/ui/atoms/popover.d.ts +8 -6
- package/dist/components/ui/atoms/popover.d.ts.map +1 -1
- package/dist/components/ui/atoms/popover.js +617 -245
- package/dist/components/ui/atoms/pro-badge.js +1 -1
- package/dist/components/ui/atoms/progress.d.ts +7 -4
- package/dist/components/ui/atoms/progress.d.ts.map +1 -1
- package/dist/components/ui/atoms/progress.js +236 -92
- package/dist/components/ui/atoms/radio-group.d.ts +4 -4
- package/dist/components/ui/atoms/radio-group.d.ts.map +1 -1
- package/dist/components/ui/atoms/radio-group.js +355 -251
- package/dist/components/ui/atoms/resizable.d.ts +3 -4
- package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
- package/dist/components/ui/atoms/resizable.js +25 -27
- package/dist/components/ui/atoms/scroll-area.d.ts +5 -5
- package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-area.js +611 -526
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-button.js +27 -22
- package/dist/components/ui/atoms/select.d.ts +11 -11
- package/dist/components/ui/atoms/select.d.ts.map +1 -1
- package/dist/components/ui/atoms/select.js +1525 -889
- package/dist/components/ui/atoms/separator.d.ts +2 -3
- package/dist/components/ui/atoms/separator.d.ts.map +1 -1
- package/dist/components/ui/atoms/separator.js +16 -35
- package/dist/components/ui/atoms/sheet.d.ts +9 -9
- package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
- package/dist/components/ui/atoms/sheet.js +65 -64
- package/dist/components/ui/atoms/sidebar.d.ts +9 -15
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
- package/dist/components/ui/atoms/sidebar.js +288 -283
- package/dist/components/ui/atoms/skeleton.js +4 -4
- package/dist/components/ui/atoms/slider.d.ts +2 -3
- package/dist/components/ui/atoms/slider.d.ts.map +1 -1
- package/dist/components/ui/atoms/slider.js +886 -440
- package/dist/components/ui/atoms/switch.d.ts +4 -5
- package/dist/components/ui/atoms/switch.d.ts.map +1 -1
- package/dist/components/ui/atoms/switch.js +218 -151
- package/dist/components/ui/atoms/table.d.ts +2 -4
- package/dist/components/ui/atoms/table.d.ts.map +1 -1
- package/dist/components/ui/atoms/table.js +35 -36
- package/dist/components/ui/atoms/tabs.d.ts +11 -7
- package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
- package/dist/components/ui/atoms/tabs.js +492 -186
- package/dist/components/ui/atoms/textarea.d.ts.map +1 -1
- package/dist/components/ui/atoms/textarea.js +7 -7
- package/dist/components/ui/atoms/toggle.d.ts +2 -3
- package/dist/components/ui/atoms/toggle.d.ts.map +1 -1
- package/dist/components/ui/atoms/toggle.js +92 -45
- package/dist/components/ui/atoms/tooltip.d.ts +6 -9
- package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
- package/dist/components/ui/atoms/tooltip.js +625 -343
- package/dist/components/ui/atoms/view-tools-control.js +16 -15
- package/dist/components/ui/atoms/virtualized-grid.d.ts +11 -4
- package/dist/components/ui/atoms/virtualized-grid.d.ts.map +1 -1
- package/dist/components/ui/atoms/virtualized-grid.js +365 -333
- package/dist/components/ui/index.js +665 -646
- package/dist/components/ui/molecules/chat-history-item.d.ts.map +1 -1
- package/dist/components/ui/molecules/chat-history-item.js +47 -40
- package/dist/components/ui/molecules/command-bar.js +1 -1
- package/dist/components/ui/molecules/confirm-popover.d.ts +2 -2
- package/dist/components/ui/molecules/confirm-popover.d.ts.map +1 -1
- package/dist/components/ui/molecules/confirm-popover.js +26 -24
- package/dist/components/ui/molecules/date-time-picker.d.ts.map +1 -1
- package/dist/components/ui/molecules/date-time-picker.js +17 -11
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/message.d.ts +2 -3
- package/dist/components/ui/molecules/message.d.ts.map +1 -1
- package/dist/components/ui/molecules/message.js +10 -16
- package/dist/components/ui/molecules/prompt-input.d.ts +1 -1
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +21 -22
- package/dist/components/ui/molecules/requirement-badges.d.ts.map +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +3 -3
- package/dist/components/ui/molecules/steps-progress.js +1 -0
- package/dist/components/ui/molecules/tool-call-accordion.js +1 -0
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-card.js +60 -47
- package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/user-nav.d.ts.map +1 -1
- package/dist/components/ui/molecules/user-nav.js +62 -57
- package/dist/components/ui/templates/auth-template.js +5 -5
- package/dist/composite-BASdnlNo.js +220 -0
- package/dist/composite-BSpUD7nI.js +66 -0
- package/dist/cpp-CA4iM_wM.js +18 -0
- package/dist/createBaseUIEventDetails-CqidROtw.js +55 -0
- package/dist/crystal-CRJyc4G-.js +4 -4
- package/dist/css-M7EaDHN_.js +6 -0
- package/dist/csv-B7yqA61e.js +6 -0
- package/dist/dark-plus-B4vfALTw.js +4 -0
- package/dist/detectBrowser-Dn2N72k1.js +42 -0
- package/dist/dracula-Cb59ZzY3.js +4 -0
- package/dist/dracula-soft-aaEmszbU.js +4 -0
- package/dist/edge-BYQkOzbF.js +1 -1
- package/dist/element-DSo91iOi.js +88 -0
- package/dist/elm-BtNbw_Cd.js +1 -1
- package/dist/erlang-DNcDT8Hi.js +1 -1
- package/dist/event-BCa0Un_3.js +30 -0
- package/dist/everforest-dark-CLp_21RJ.js +4 -0
- package/dist/everforest-light-CZ0NCAAv.js +4 -0
- package/dist/floating-ui.utils-48URp89E.js +126 -0
- package/dist/floating-ui.utils.dom-jr2suqy2.js +135 -0
- package/dist/fsharp-CYOiIVNx.js +1 -1
- package/dist/getDisabledMountTransitionStyles-fmnaQYVj.js +1539 -0
- package/dist/getPseudoElementBounds-B4_miSEJ.js +364 -0
- package/dist/git-rebase-ZWUFO_T4.js +1 -1
- package/dist/github-dark-BD3lImVS.js +4 -0
- package/dist/github-dark-default-ID_nBUwl.js +4 -0
- package/dist/github-dark-dimmed-Cw4rFgde.js +4 -0
- package/dist/github-dark-high-contrast-DSby9de8.js +4 -0
- package/dist/github-light-W396yAFe.js +4 -0
- package/dist/github-light-default-DCAQ2px1.js +4 -0
- package/dist/github-light-high-contrast-ChWJGEvx.js +4 -0
- package/dist/glimmer-js-DkxNrfPT.js +2 -2
- package/dist/glimmer-ts-D6YZEmK_.js +2 -2
- package/dist/glsl-CgdqkyFp.js +8 -0
- package/dist/graphql-Bv26LTzG.js +14 -0
- package/dist/gruvbox-dark-hard-BC1GRqFa.js +4 -0
- package/dist/gruvbox-dark-medium-COLy2cDY.js +4 -0
- package/dist/gruvbox-dark-soft-B8MALL4f.js +4 -0
- package/dist/gruvbox-light-hard-Bzxr_AnB.js +4 -0
- package/dist/gruvbox-light-medium-D2fqu3Kj.js +4 -0
- package/dist/gruvbox-light-soft-atzRH3-n.js +4 -0
- package/dist/hack-ItRNKiEb.js +1 -1
- package/dist/haml-B1t5q1Sv.js +10 -0
- package/dist/haml-NZLVzu_R.js +1 -1
- package/dist/handlebars-B2fb61mr.js +14 -0
- package/dist/handlebars-mxStpSE7.js +2 -2
- package/dist/highlighted-body-OFNGDK62-Df6AJMbs.js +20 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/hooks/use-mobile.js +11 -12
- package/dist/horizon-PFtq58ZB.js +4 -0
- package/dist/horizon-bright-2WzHy-Vo.js +4 -0
- package/dist/houston-BEqUWhHr.js +4 -0
- package/dist/html-B50bmoVb.js +1 -1
- package/dist/html-CPZ3oZQ7.js +10 -0
- package/dist/html-derivative-B2qv7eyt.js +8 -0
- package/dist/http-BQ2t9cn1.js +14 -0
- package/dist/hurl-RyCMCa80.js +12 -0
- package/dist/imba-DpB-wtPB.js +6 -0
- package/dist/index-3rscXtm3.js +4708 -0
- package/dist/inertValue-kpZZDBEy.js +7 -0
- package/dist/integrations/rhf/index.js +6 -5
- package/dist/isElementDisabled-Cbd8W9kH.js +6 -0
- package/dist/java-CbphP4lz.js +6 -0
- package/dist/javascript-CgYd5l7W.js +6 -0
- package/dist/jinja-DFCUirAg.js +11 -0
- package/dist/jison-CTEI_s6O.js +8 -0
- package/dist/json-B5-prx4F.js +6 -0
- package/dist/json5-CZ8R1oUY.js +6 -0
- package/dist/jsonc-DMboCKBJ.js +6 -0
- package/dist/jsonl-YgIUi4Dg.js +6 -0
- package/dist/jsx-D4q4E1UD.js +6 -0
- package/dist/julia-2ubi2n9a.js +16 -0
- package/dist/just-CEK2SJ_k.js +4 -4
- package/dist/kanagawa-dragon-DuYaOBBk.js +4 -0
- package/dist/kanagawa-lotus-CyjAihYC.js +4 -0
- package/dist/kanagawa-wave-BVdXUMj5.js +4 -0
- package/dist/laserwave-B_2VVKNJ.js +4 -0
- package/dist/less-MoGo8xoS.js +6 -0
- package/dist/light-plus-IB4fPeJj.js +4 -0
- package/dist/liquid-CHzkx3jT.js +2 -2
- package/dist/lua-Bp3IRv7I.js +1 -1
- package/dist/main.js +691 -672
- package/dist/markdown-B-zRtm0x.js +6 -0
- package/dist/{markdown-D0xxRbwP.js → markdown-B71Eurda.js} +10329 -8108
- package/dist/marko-BlmC3dqW.js +14 -0
- package/dist/marko-CJBA24Ri.js +2 -2
- package/dist/material-theme-CjsSdYF2.js +4 -0
- package/dist/material-theme-darker-DEk0vgdS.js +4 -0
- package/dist/material-theme-lighter-DEVB_7K5.js +4 -0
- package/dist/material-theme-ocean-DK6jm24j.js +4 -0
- package/dist/material-theme-palenight-CNkXNpHv.js +4 -0
- package/dist/mdc-C9YSUwVC.js +2 -2
- package/dist/mdc-CLNk3q28.js +12 -0
- package/dist/mdx-CiUWpBB_.js +6 -0
- package/dist/mermaid-GHXKKRXX-BkplG-MI.js +5 -0
- package/dist/min-dark-CJcHUHwu.js +4 -0
- package/dist/min-light-BAN2UR75.js +4 -0
- package/dist/monokai-BbXwpjKl.js +4 -0
- package/dist/night-owl-csViJ7u4.js +4 -0
- package/dist/night-owl-light-BC-NuMC3.js +4 -0
- package/dist/nim-QAjRdh9w.js +5 -5
- package/dist/nord-B8Sq-VQ0.js +4 -0
- package/dist/one-dark-pro-DTdrcl-J.js +4 -0
- package/dist/one-light-kPHTChCU.js +4 -0
- package/dist/owner-rKN292Q9.js +6 -0
- package/dist/perl-DkVrgJBg.js +3 -3
- package/dist/php-BIzsF_5x.js +4 -4
- package/dist/php-Kn-vgdBD.js +18 -0
- package/dist/plastic-DDweBgVs.js +4 -0
- package/dist/poimandres-Dqvs16BQ.js +4 -0
- package/dist/popupStateMapping-BT9Y_jIq.js +1849 -0
- package/dist/postcss-CwL8bLZI.js +6 -0
- package/dist/pug-CTOOvSEH.js +12 -0
- package/dist/pug-XOw9Q1Ho.js +1 -1
- package/dist/python-jjYlTiSH.js +6 -0
- package/dist/qml-rTNXsquU.js +1 -1
- package/dist/r-C8zl4zMO.js +6 -0
- package/dist/react-resizable-panels-BqIpIFl2.js +2017 -0
- package/dist/red-DBDwQkX-.js +4 -0
- package/dist/regexp-Dpy_RgoJ.js +6 -0
- package/dist/resolveAriaLabelledBy-B5vw-szP.js +11 -0
- package/dist/rose-pine-DGHrTu7e.js +4 -0
- package/dist/rose-pine-dawn-DfRVdapG.js +4 -0
- package/dist/rose-pine-moon-DFpJm5Rd.js +4 -0
- package/dist/rst-DM32Wy3O.js +5 -5
- package/dist/ruby-BeqCs27h.js +8 -8
- package/dist/safePolygon-CJcmMc0u.js +389 -0
- package/dist/safeReact-DKq-628G.js +7 -0
- package/dist/sas-fpEvgATw.js +1 -1
- package/dist/sass-BmupNt-w.js +6 -0
- package/dist/scss-BZYVIVaN.js +8 -0
- package/dist/serializeValue-BebmSzW3.js +14 -0
- package/dist/shellscript-fMxXshxv.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +1 -1
- package/dist/slack-dark-noeC6QPl.js +4 -0
- package/dist/slack-ochin-3_2idqLR.js +4 -0
- package/dist/snazzy-light-B9cV359v.js +4 -0
- package/dist/solarized-dark-B6X0ILWr.js +4 -0
- package/dist/solarized-light-LxOemn3c.js +4 -0
- package/dist/sql-D30Zid36.js +6 -0
- package/dist/stata-B8c5fTjX.js +1 -1
- package/dist/styles-DU5BO7fS.js +16 -0
- package/dist/stylus-BoBcEBjx.js +6 -0
- package/dist/surrealql-CQi7GQN7.js +1 -1
- package/dist/svelte-b9PAcyUe.js +14 -0
- package/dist/svelte-rYri41WT.js +3 -3
- package/dist/synthwave-84-DzQeMpV0.js +4 -0
- package/dist/templ-Crs9Ui8q.js +1 -1
- package/dist/tex-AHxmLTL0.js +1 -1
- package/dist/tokyo-night-CLM-V_Re.js +4 -0
- package/dist/{toolkit-card-CB1oiaei.js → toolkit-card-DhpOY80l.js} +56 -36
- package/dist/ts-tags-CP1b-4Z2.js +41 -0
- package/dist/ts-tags-ioVe2PKw.js +5 -5
- package/dist/tsx-QNpb2qLW.js +6 -0
- package/dist/twig-DwV2Fi4L.js +2 -2
- package/dist/typescript-AhniRyfZ.js +6 -0
- package/dist/useAnimationFrame-DIc6eFHa.js +69 -0
- package/dist/useAriaLabelledBy-VklrCmKp.js +34 -0
- package/dist/useBaseUiId-C8Dq0BQq.js +25 -0
- package/dist/useButton-JYPKQKj4.js +150 -0
- package/dist/useCollapsiblePanel-9pDlDh3R.js +257 -0
- package/dist/useCompositeItem-D00ALGkT.js +35 -0
- package/dist/useCompositeListItem-CYQrZg5-.js +74 -0
- package/dist/useControlled-Sx-_x7Sz.js +32 -0
- package/dist/useFocus-Aj9ShMQu.js +97 -0
- package/dist/useIsoLayoutEffect-DpJo20by.js +7 -0
- package/dist/useLabelableId-DF_d91GP.js +44 -0
- package/dist/useOnFirstRender-B4aruaIA.js +9 -0
- package/dist/useOnMount-JHtE6teb.js +9 -0
- package/dist/useOpenChangeComplete-DkeH9FGJ.js +130 -0
- package/dist/useRender-BNXBkp2o.js +7 -0
- package/dist/useRenderElement-DNB2vtF1.js +274 -0
- package/dist/useRole-N-RCRzo1.js +76 -0
- package/dist/useStableCallback-CudqoENs.js +33 -0
- package/dist/useSyncedFloatingRootContext-Bc90zSTy.js +185 -0
- package/dist/useTimeout-DAqPwigF.js +33 -0
- package/dist/useValueAsRef-LhoZc6As.js +20 -0
- package/dist/useValueChanged-Bissqjjn.js +15 -0
- package/dist/valueToPercent-BBgE4D3L.js +27 -0
- package/dist/vesper-BmV7KiQ0.js +4 -0
- package/dist/visuallyHidden-PuyyGHVF.js +22 -0
- package/dist/vitesse-black-CxZz3C4s.js +4 -0
- package/dist/vitesse-dark-DVUJ0sy2.js +4 -0
- package/dist/vitesse-light-BDJohtUr.js +4 -0
- package/dist/vue-CY6W2ID0.js +31 -0
- package/dist/vue-DXEmyXn9.js +3 -3
- package/dist/vue-html-DYXHAJ2G.js +8 -0
- package/dist/vue-vine-D41-N99t.js +4 -4
- package/dist/vue-vine-DiWTpMwZ.js +18 -0
- package/dist/wasm-3y0A1Y71.js +6 -0
- package/dist/wasm-Dm9SFfrx.js +7 -0
- package/dist/web-BbvN_Lei.js +2846 -0
- package/dist/wgsl-SXl3EZUN.js +6 -0
- package/dist/wit-Cw0CTVY0.js +6 -0
- package/dist/xml-CNXGTZ6Z.js +8 -0
- package/dist/xsl-BmSZphgC.js +1 -1
- package/dist/yaml-DZqZ2PBD.js +6 -0
- package/package.json +37 -34
- package/dist/highlighted-body-TPN3WLV5-D6UnKGod.js +0 -19
- package/dist/index-0ioNhtNM.js +0 -10
- package/dist/index-437EL2iq.js +0 -52
- package/dist/index-B695uy69.js +0 -9
- package/dist/index-BEZCAdXQ.js +0 -1568
- package/dist/index-BGQepRFJ.js +0 -27
- package/dist/index-BZPx6jYI.js +0 -8
- package/dist/index-BaLuVb4t.js +0 -70
- package/dist/index-Bw62B28F.js +0 -31
- package/dist/index-By-GFSsC.js +0 -245
- package/dist/index-ByaXH_ih.js +0 -10
- package/dist/index-CCKe-Mpx.js +0 -6
- package/dist/index-Cv867SGx.js +0 -13
- package/dist/index-CvA4FcaC.js +0 -677
- package/dist/index-D2LZVjSn.js +0 -82
- package/dist/index-DFZozV_h.js +0 -68
- package/dist/index-DJQkmo5O.js +0 -49
- package/dist/index-DLohNuco.js +0 -36
- package/dist/index-DrFfdHac.js +0 -144
- package/dist/index-DrlYGDRT.js +0 -119
- package/dist/index-Dz8CQngS.js +0 -181
- package/dist/index-cd1ceFJg.js +0 -6973
- package/dist/index-rKs9bXHr.js +0 -6
- package/dist/mermaid-O7DHMXV3-gUrB-Xs1.js +0 -4
- package/dist/react-resizable-panels.browser-DYl0LXfw.js +0 -1510
- package/dist/web-BwFNdl01.js +0 -697
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Switch as SwitchPrimitive } from '
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
|
|
2
|
+
declare function Switch({ className, size, loading, loadingIndicatorClassName, disabled, ...props }: SwitchPrimitive.Root.Props & {
|
|
3
|
+
size?: "sm" | "default";
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
loadingIndicatorClassName?: string;
|
|
6
|
-
};
|
|
7
|
-
declare function Switch({ className, loading, disabled, loadingIndicatorClassName, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export { Switch };
|
|
9
8
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIlE,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,IAAgB,EAChB,OAAe,EACf,yBAAyB,EACzB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,IAAI,CAAC,KAAK,GAAG;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC,2CAoCA;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,171 +1,238 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"aria-checked": f,
|
|
37
|
-
"aria-required": d,
|
|
38
|
-
"data-state": B(f),
|
|
39
|
-
"data-disabled": c ? "" : void 0,
|
|
40
|
-
disabled: c,
|
|
41
|
-
value: u,
|
|
42
|
-
...k,
|
|
43
|
-
ref: w,
|
|
44
|
-
onClick: M(r.onClick, (m) => {
|
|
45
|
-
T((I) => !I), C && (S.current = m.isPropagationStopped(), S.current || m.stopPropagation());
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
C && /* @__PURE__ */ s(
|
|
50
|
-
_,
|
|
51
|
-
{
|
|
52
|
-
control: l,
|
|
53
|
-
bubbles: !S.current,
|
|
54
|
-
name: a,
|
|
55
|
-
value: u,
|
|
56
|
-
checked: f,
|
|
57
|
-
required: d,
|
|
58
|
-
disabled: c,
|
|
59
|
-
form: i,
|
|
60
|
-
style: { transform: "translateX(-100%)" }
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
] });
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
N.displayName = h;
|
|
67
|
-
var R = "SwitchThumb", E = n.forwardRef(
|
|
68
|
-
(r, e) => {
|
|
69
|
-
const { __scopeSwitch: t, ...a } = r, o = L(R, t);
|
|
70
|
-
return /* @__PURE__ */ s(
|
|
71
|
-
P.span,
|
|
72
|
-
{
|
|
73
|
-
"data-state": B(o.checked),
|
|
74
|
-
"data-disabled": o.disabled ? "" : void 0,
|
|
75
|
-
...a,
|
|
76
|
-
ref: e
|
|
77
|
-
}
|
|
78
|
-
);
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as T, jsx as f } from "react/jsx-runtime";
|
|
3
|
+
import { cn as E } from "../../../lib/utils.js";
|
|
4
|
+
import * as d from "react";
|
|
5
|
+
import { u as ce } from "../../../useControlled-Sx-_x7Sz.js";
|
|
6
|
+
import { u as le } from "../../../useStableCallback-CudqoENs.js";
|
|
7
|
+
import { f as ue, c as fe, m as pe, E as me, u as _ } from "../../../useRenderElement-DNB2vtF1.js";
|
|
8
|
+
import { u as he } from "../../../useIsoLayoutEffect-DpJo20by.js";
|
|
9
|
+
import { v as be, a as ke } from "../../../visuallyHidden-PuyyGHVF.js";
|
|
10
|
+
import { u as ge } from "../../../useBaseUiId-C8Dq0BQq.js";
|
|
11
|
+
import { f as ve, c as ye, a as q, u as xe, b as Ce } from "../../../LabelableContext-Dzw1DWuj.js";
|
|
12
|
+
import { u as we } from "../../../useAriaLabelledBy-VklrCmKp.js";
|
|
13
|
+
import { u as Ee } from "../../../useLabelableId-DF_d91GP.js";
|
|
14
|
+
import { c as Ne, n as ze } from "../../../createBaseUIEventDetails-CqidROtw.js";
|
|
15
|
+
import { u as Pe } from "../../../useValueChanged-Bissqjjn.js";
|
|
16
|
+
import { a as Re } from "../../../useButton-JYPKQKj4.js";
|
|
17
|
+
const N = /* @__PURE__ */ d.createContext(void 0);
|
|
18
|
+
process.env.NODE_ENV !== "production" && (N.displayName = "SwitchRootContext");
|
|
19
|
+
function Ie() {
|
|
20
|
+
const e = d.useContext(N);
|
|
21
|
+
if (e === void 0)
|
|
22
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SwitchRootContext is missing. Switch parts must be placed within <Switch.Root>." : ue(63));
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
let L = /* @__PURE__ */ (function(e) {
|
|
26
|
+
return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
27
|
+
})({});
|
|
28
|
+
const j = {
|
|
29
|
+
...ve,
|
|
30
|
+
checked(e) {
|
|
31
|
+
return e ? {
|
|
32
|
+
[L.checked]: ""
|
|
33
|
+
} : {
|
|
34
|
+
[L.unchecked]: ""
|
|
35
|
+
};
|
|
79
36
|
}
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
37
|
+
}, H = /* @__PURE__ */ d.forwardRef(function(s, n) {
|
|
38
|
+
const {
|
|
39
|
+
checked: p,
|
|
40
|
+
className: k,
|
|
41
|
+
defaultChecked: l,
|
|
42
|
+
"aria-labelledby": g,
|
|
43
|
+
id: v,
|
|
44
|
+
inputRef: y,
|
|
45
|
+
name: J,
|
|
46
|
+
nativeButton: m = !1,
|
|
47
|
+
onCheckedChange: Y,
|
|
48
|
+
readOnly: h = !1,
|
|
49
|
+
required: u = !1,
|
|
50
|
+
disabled: D = !1,
|
|
51
|
+
render: Be,
|
|
52
|
+
uncheckedValue: z,
|
|
53
|
+
value: x,
|
|
54
|
+
...G
|
|
55
|
+
} = s, {
|
|
56
|
+
clearErrors: Q
|
|
57
|
+
} = ye(), {
|
|
58
|
+
state: P,
|
|
59
|
+
setTouched: W,
|
|
60
|
+
setDirty: X,
|
|
61
|
+
validityData: Z,
|
|
62
|
+
setFilled: C,
|
|
63
|
+
setFocused: R,
|
|
64
|
+
shouldValidateOnChange: $,
|
|
65
|
+
validationMode: A,
|
|
66
|
+
disabled: ee,
|
|
67
|
+
name: ae,
|
|
68
|
+
validation: r
|
|
69
|
+
} = q(), {
|
|
70
|
+
labelId: te
|
|
71
|
+
} = xe(), i = ee || D, o = ae ?? J, I = le(Y), c = d.useRef(null), B = fe(c, y, r.inputRef), b = d.useRef(null), V = ge(), S = Ee({
|
|
72
|
+
id: v,
|
|
73
|
+
implicit: !1,
|
|
74
|
+
controlRef: b
|
|
75
|
+
}), w = m ? void 0 : S, [a, K] = ce({
|
|
76
|
+
controlled: p,
|
|
77
|
+
default: !!l,
|
|
78
|
+
name: "Switch",
|
|
79
|
+
state: "checked"
|
|
80
|
+
});
|
|
81
|
+
Ce({
|
|
82
|
+
id: V,
|
|
83
|
+
commit: r.commit,
|
|
84
|
+
value: a,
|
|
85
|
+
controlRef: b,
|
|
86
|
+
name: o,
|
|
87
|
+
getValue: () => a
|
|
88
|
+
}), he(() => {
|
|
89
|
+
c.current && C(c.current.checked);
|
|
90
|
+
}, [c, C]), Pe(a, () => {
|
|
91
|
+
Q(o), X(a !== Z.initialValue), C(a), $() ? r.commit(a) : r.commit(a, !0);
|
|
92
|
+
});
|
|
93
|
+
const {
|
|
94
|
+
getButtonProps: ne,
|
|
95
|
+
buttonRef: re
|
|
96
|
+
} = Re({
|
|
97
|
+
disabled: i,
|
|
98
|
+
native: m
|
|
99
|
+
}), ie = we(g, te, c, !m, w), de = {
|
|
100
|
+
id: m ? S : V,
|
|
101
|
+
role: "switch",
|
|
102
|
+
"aria-checked": a,
|
|
103
|
+
"aria-readonly": h || void 0,
|
|
104
|
+
"aria-required": u || void 0,
|
|
105
|
+
"aria-labelledby": ie,
|
|
106
|
+
onFocus() {
|
|
107
|
+
i || R(!0);
|
|
108
|
+
},
|
|
109
|
+
onBlur() {
|
|
110
|
+
const t = c.current;
|
|
111
|
+
!t || i || (W(!0), R(!1), A === "onBlur" && r.commit(t.checked));
|
|
112
|
+
},
|
|
113
|
+
onClick(t) {
|
|
114
|
+
h || i || (t.preventDefault(), c.current?.dispatchEvent(new PointerEvent("click", {
|
|
115
|
+
bubbles: !0,
|
|
116
|
+
shiftKey: t.shiftKey,
|
|
117
|
+
ctrlKey: t.ctrlKey,
|
|
118
|
+
altKey: t.altKey,
|
|
119
|
+
metaKey: t.metaKey
|
|
120
|
+
})));
|
|
121
|
+
}
|
|
122
|
+
}, se = d.useMemo(() => pe(
|
|
123
|
+
{
|
|
124
|
+
checked: a,
|
|
125
|
+
disabled: i,
|
|
126
|
+
id: w,
|
|
127
|
+
name: o,
|
|
128
|
+
required: u,
|
|
129
|
+
style: o ? be : ke,
|
|
130
|
+
tabIndex: -1,
|
|
131
|
+
type: "checkbox",
|
|
132
|
+
"aria-hidden": !0,
|
|
133
|
+
ref: B,
|
|
134
|
+
onChange(t) {
|
|
135
|
+
if (t.nativeEvent.defaultPrevented)
|
|
136
|
+
return;
|
|
137
|
+
const F = t.target.checked, O = Ne(ze, t.nativeEvent);
|
|
138
|
+
I?.(F, O), !O.isCanceled && K(F);
|
|
139
|
+
},
|
|
140
|
+
onFocus() {
|
|
141
|
+
b.current?.focus();
|
|
119
142
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
143
|
+
},
|
|
144
|
+
r.getInputValidationProps,
|
|
145
|
+
// React <19 sets an empty value if `undefined` is passed explicitly
|
|
146
|
+
// To avoid this, we only set the value if it's defined
|
|
147
|
+
x !== void 0 ? {
|
|
148
|
+
value: x
|
|
149
|
+
} : me
|
|
150
|
+
), [a, i, B, w, o, I, u, K, r, x]), M = d.useMemo(() => ({
|
|
151
|
+
...P,
|
|
152
|
+
checked: a,
|
|
153
|
+
disabled: i,
|
|
154
|
+
readOnly: h,
|
|
155
|
+
required: u
|
|
156
|
+
}), [P, a, i, h, u]), oe = _("span", s, {
|
|
157
|
+
state: M,
|
|
158
|
+
ref: [n, b, re],
|
|
159
|
+
props: [de, r.getValidationProps, G, ne],
|
|
160
|
+
stateAttributesMapping: j
|
|
161
|
+
});
|
|
162
|
+
return /* @__PURE__ */ T(N.Provider, {
|
|
163
|
+
value: M,
|
|
164
|
+
children: [oe, !a && o && z !== void 0 && /* @__PURE__ */ f("input", {
|
|
165
|
+
type: "hidden",
|
|
166
|
+
name: o,
|
|
167
|
+
value: z
|
|
168
|
+
}), /* @__PURE__ */ f("input", {
|
|
169
|
+
...se
|
|
170
|
+
})]
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
process.env.NODE_ENV !== "production" && (H.displayName = "SwitchRoot");
|
|
174
|
+
const U = /* @__PURE__ */ d.forwardRef(function(s, n) {
|
|
175
|
+
const {
|
|
176
|
+
render: p,
|
|
177
|
+
className: k,
|
|
178
|
+
...l
|
|
179
|
+
} = s, {
|
|
180
|
+
state: g
|
|
181
|
+
} = q(), v = Ie(), y = {
|
|
182
|
+
...g,
|
|
183
|
+
...v
|
|
184
|
+
};
|
|
185
|
+
return _("span", s, {
|
|
186
|
+
state: y,
|
|
187
|
+
ref: n,
|
|
188
|
+
stateAttributesMapping: j,
|
|
189
|
+
props: l
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
process.env.NODE_ENV !== "production" && (U.displayName = "SwitchThumb");
|
|
193
|
+
function Ye({
|
|
194
|
+
className: e,
|
|
195
|
+
size: s = "default",
|
|
196
|
+
loading: n = !1,
|
|
197
|
+
loadingIndicatorClassName: p,
|
|
198
|
+
disabled: k,
|
|
199
|
+
...l
|
|
134
200
|
}) {
|
|
135
|
-
return /* @__PURE__ */
|
|
136
|
-
|
|
201
|
+
return /* @__PURE__ */ T(
|
|
202
|
+
H,
|
|
137
203
|
{
|
|
138
|
-
"aria-busy":
|
|
139
|
-
className:
|
|
140
|
-
"peer relative inline-flex
|
|
141
|
-
|
|
204
|
+
"aria-busy": n || void 0,
|
|
205
|
+
className: E(
|
|
206
|
+
"peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent outline-none transition-all after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=sm]:h-[14px] data-[size=default]:w-[32px] data-[size=sm]:w-[24px] data-disabled:cursor-not-allowed data-checked:bg-primary data-unchecked:bg-input data-disabled:opacity-50 dark:data-unchecked:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
207
|
+
e
|
|
142
208
|
),
|
|
143
|
-
"data-loading":
|
|
209
|
+
"data-loading": n || void 0,
|
|
210
|
+
"data-size": s,
|
|
144
211
|
"data-slot": "switch",
|
|
145
|
-
disabled:
|
|
146
|
-
...
|
|
212
|
+
disabled: k || n,
|
|
213
|
+
...l,
|
|
147
214
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
149
|
-
|
|
215
|
+
/* @__PURE__ */ f(
|
|
216
|
+
U,
|
|
150
217
|
{
|
|
151
|
-
className:
|
|
152
|
-
"pointer-events-none block
|
|
153
|
-
|
|
218
|
+
className: E(
|
|
219
|
+
"pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground",
|
|
220
|
+
n && "opacity-0"
|
|
154
221
|
),
|
|
155
222
|
"data-slot": "switch-thumb"
|
|
156
223
|
}
|
|
157
224
|
),
|
|
158
|
-
|
|
225
|
+
n && /* @__PURE__ */ f(
|
|
159
226
|
"span",
|
|
160
227
|
{
|
|
161
228
|
"aria-hidden": "true",
|
|
162
229
|
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
163
|
-
children: /* @__PURE__ */
|
|
230
|
+
children: /* @__PURE__ */ f(
|
|
164
231
|
"span",
|
|
165
232
|
{
|
|
166
|
-
className:
|
|
167
|
-
"
|
|
168
|
-
|
|
233
|
+
className: E(
|
|
234
|
+
"animate-spin rounded-full border-2 border-muted-foreground border-t-transparent group-data-[size=default]/switch:size-3 group-data-[size=sm]/switch:size-2.5",
|
|
235
|
+
p
|
|
169
236
|
)
|
|
170
237
|
}
|
|
171
238
|
)
|
|
@@ -176,5 +243,5 @@ function Z({
|
|
|
176
243
|
);
|
|
177
244
|
}
|
|
178
245
|
export {
|
|
179
|
-
|
|
246
|
+
Ye as Switch
|
|
180
247
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
|
-
declare function Table({ className,
|
|
3
|
-
ref?: React.Ref<HTMLTableElement>;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare function Table({ className, ...props }: React.ComponentProps<"table">): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): import("react/jsx-runtime").JSX.Element;
|
|
6
4
|
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): import("react/jsx-runtime").JSX.Element;
|
|
7
5
|
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,5 +7,5 @@ declare function TableRow({ className, ...props }: React.ComponentProps<"tr">):
|
|
|
9
7
|
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): import("react/jsx-runtime").JSX.Element;
|
|
10
8
|
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): import("react/jsx-runtime").JSX.Element;
|
|
11
9
|
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export { Table,
|
|
10
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
13
11
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAIpC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAapE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ1E;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW1E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWpE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAWrE;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,2CAQjC;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAC"}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { cn as o } from "../../../lib/utils.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
] });
|
|
3
|
+
function n({ className: t, ...e }) {
|
|
4
|
+
return /* @__PURE__ */ a(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: "relative w-full min-w-0 overflow-x-auto",
|
|
8
|
+
"data-slot": "table-container",
|
|
9
|
+
children: /* @__PURE__ */ a(
|
|
10
|
+
"table",
|
|
11
|
+
{
|
|
12
|
+
className: o("w-full caption-bottom text-sm", t),
|
|
13
|
+
"data-slot": "table",
|
|
14
|
+
...e
|
|
15
|
+
}
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
);
|
|
20
19
|
}
|
|
21
|
-
function
|
|
20
|
+
function d({ className: t, ...e }) {
|
|
22
21
|
return /* @__PURE__ */ a(
|
|
23
22
|
"thead",
|
|
24
23
|
{
|
|
@@ -28,7 +27,7 @@ function m({ className: t, ...e }) {
|
|
|
28
27
|
}
|
|
29
28
|
);
|
|
30
29
|
}
|
|
31
|
-
function
|
|
30
|
+
function s({ className: t, ...e }) {
|
|
32
31
|
return /* @__PURE__ */ a(
|
|
33
32
|
"tbody",
|
|
34
33
|
{
|
|
@@ -38,7 +37,7 @@ function u({ className: t, ...e }) {
|
|
|
38
37
|
}
|
|
39
38
|
);
|
|
40
39
|
}
|
|
41
|
-
function
|
|
40
|
+
function b({ className: t, ...e }) {
|
|
42
41
|
return /* @__PURE__ */ a(
|
|
43
42
|
"tfoot",
|
|
44
43
|
{
|
|
@@ -51,12 +50,12 @@ function f({ className: t, ...e }) {
|
|
|
51
50
|
}
|
|
52
51
|
);
|
|
53
52
|
}
|
|
54
|
-
function
|
|
53
|
+
function c({ className: t, ...e }) {
|
|
55
54
|
return /* @__PURE__ */ a(
|
|
56
55
|
"tr",
|
|
57
56
|
{
|
|
58
57
|
className: o(
|
|
59
|
-
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
58
|
+
"border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
|
|
60
59
|
t
|
|
61
60
|
),
|
|
62
61
|
"data-slot": "table-row",
|
|
@@ -64,12 +63,12 @@ function p({ className: t, ...e }) {
|
|
|
64
63
|
}
|
|
65
64
|
);
|
|
66
65
|
}
|
|
67
|
-
function
|
|
66
|
+
function i({ className: t, ...e }) {
|
|
68
67
|
return /* @__PURE__ */ a(
|
|
69
68
|
"th",
|
|
70
69
|
{
|
|
71
70
|
className: o(
|
|
72
|
-
"h-10 whitespace-nowrap px-
|
|
71
|
+
"h-10 whitespace-nowrap px-2 text-left align-middle font-medium text-foreground [&:has([role=checkbox])]:pr-0",
|
|
73
72
|
t
|
|
74
73
|
),
|
|
75
74
|
"data-slot": "table-head",
|
|
@@ -77,12 +76,12 @@ function h({ className: t, ...e }) {
|
|
|
77
76
|
}
|
|
78
77
|
);
|
|
79
78
|
}
|
|
80
|
-
function
|
|
79
|
+
function m({ className: t, ...e }) {
|
|
81
80
|
return /* @__PURE__ */ a(
|
|
82
81
|
"td",
|
|
83
82
|
{
|
|
84
83
|
className: o(
|
|
85
|
-
"whitespace-nowrap
|
|
84
|
+
"whitespace-nowrap p-2 align-middle [&:has([role=checkbox])]:pr-0",
|
|
86
85
|
t
|
|
87
86
|
),
|
|
88
87
|
"data-slot": "table-cell",
|
|
@@ -90,7 +89,7 @@ function x({ className: t, ...e }) {
|
|
|
90
89
|
}
|
|
91
90
|
);
|
|
92
91
|
}
|
|
93
|
-
function
|
|
92
|
+
function u({
|
|
94
93
|
className: t,
|
|
95
94
|
...e
|
|
96
95
|
}) {
|
|
@@ -104,12 +103,12 @@ function N({
|
|
|
104
103
|
);
|
|
105
104
|
}
|
|
106
105
|
export {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
106
|
+
n as Table,
|
|
107
|
+
s as TableBody,
|
|
108
|
+
u as TableCaption,
|
|
109
|
+
m as TableCell,
|
|
110
|
+
b as TableFooter,
|
|
111
|
+
i as TableHead,
|
|
112
|
+
d as TableHeader,
|
|
113
|
+
c as TableRow
|
|
115
114
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { Tabs as TabsPrimitive } from '
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare function
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
4
|
+
declare function Tabs({ className, orientation, ...props }: TabsPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const tabsListVariants: (props?: ({
|
|
6
|
+
variant?: "line" | "default" | null | undefined;
|
|
7
|
+
} & ClassProp) | undefined) => string;
|
|
8
|
+
declare function TabsList({ className, variant, ...props }: TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
|
|
8
12
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/tabs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/tabs.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,WAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,2CAY1B;AAED,QAAA,MAAM,gBAAgB;;8EAarB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,2CASlE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,GAAG,CAAC,KAAK,2CAcpE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,2CAQtE;AAED,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
|