@quantinuum/quantinuum-ui 4.0.1 → 4.0.3
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/_virtual/index.js +4 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/{@floating-ui → .pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui}/core/dist/floating-ui.core.mjs.js +385 -116
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +1 -0
- package/dist/node_modules/{@floating-ui → .pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui}/dom/dist/floating-ui.dom.mjs.js +249 -78
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +1 -0
- package/dist/node_modules/{@floating-ui → .pnpm/@floating-ui_react-dom@2.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui}/react-dom/dist/floating-ui.react-dom.mjs.js +163 -54
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +1 -0
- package/dist/node_modules/{@floating-ui/utils/dom → .pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils}/dist/floating-ui.utils.dom.mjs.js +56 -19
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js.map +1 -0
- package/dist/node_modules/{@floating-ui → .pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui}/utils/dist/floating-ui.utils.mjs.js +34 -20
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@18.3.7_@types_react@18.3.28__@types_r_945059ed0de00f830fb66f21d052102c/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +307 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-accordion@1.2.12_@types_react-dom@18.3.7_@types_react@18.3.28__@types_r_945059ed0de00f830fb66f21d052102c/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_ca49517bc17aeb848c1fd64fd7d6a751/node_modules/@radix-ui/react-arrow/dist/index.mjs.js +26 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_ca49517bc17aeb848c1fd64fd7d6a751/node_modules/@radix-ui/react-arrow/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_419790f1591934fff4dc4c16434d5164/node_modules/@radix-ui/react-avatar/dist/index.mjs.js +120 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_419790f1591934fff4dc4c16434d5164/node_modules/@radix-ui/react-avatar/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_4fc6cdc92cef03c1a6fe7bff5e983d83/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js +272 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.3_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_4fc6cdc92cef03c1a6fe7bff5e983d83/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@18.3.7_@types_react@18.3.28__@types_0836b9883955787a1ca7a4a1484b34da/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +147 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.12_@types_react-dom@18.3.7_@types_react@18.3.28__@types_0836b9883955787a1ca7a4a1484b34da/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types_r_4e264787f1cadc3b39e6411b3bc7d186/node_modules/@radix-ui/react-collection/dist/index.mjs.js +72 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types_r_4e264787f1cadc3b39e6411b3bc7d186/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs.js +80 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-context@1.1.3_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-context/dist/index.mjs.js +2 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-dialog/dist/index.module.js +15 -15
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-dialog/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_9cd126aa2880bf880e57e64087c058d6/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +323 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_9cd126aa2880bf880e57e64087c058d6/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js +6 -6
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28___5d000c10c02cdc0d4dacfce3cf09d956/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +213 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28___5d000c10c02cdc0d4dacfce3cf09d956/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.28__@typ_d35e5dc40abab5fe5f4878bdec8fbaa2/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js +269 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dropdown-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.28__@typ_d35e5dc40abab5fe5f4878bdec8fbaa2/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-focus-scope/dist/index.module.js +4 -4
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-focus-scope/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types__43d2223233f54a5e2048cdd87aae13c1/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +209 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.3.7_@types_react@18.3.28__@types__43d2223233f54a5e2048cdd87aae13c1/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types__0048f3610bdbd377cb8ec83e028dbb12/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js +240 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types__0048f3610bdbd377cb8ec83e028dbb12/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-id@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-id/dist/index.module.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.mjs.js +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_8915bfc4015ea7714adf8fc777d50ad8/node_modules/@radix-ui/react-label/dist/index.mjs.js +26 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-label@2.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_8915bfc4015ea7714adf8fc777d50ad8/node_modules/@radix-ui/react-label/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_69d1a512f3b5663a6f762fe6479cdc77/node_modules/@radix-ui/react-menu/dist/index.mjs.js +836 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.16_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_69d1a512f3b5663a6f762fe6479cdc77/node_modules/@radix-ui/react-menu/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.14_@types_react-dom@18.3.7_@types_react@18.3.28__@t_78af1a43306362c6a93ef2ea5b017181/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js +785 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.14_@types_react-dom@18.3.7_@types_react@18.3.28__@t_78af1a43306362c6a93ef2ea5b017181/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_4db96f1aff224c79b0e83cc70c14d80d/node_modules/@radix-ui/react-popover/dist/index.mjs.js +300 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.15_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_4db96f1aff224c79b0e83cc70c14d80d/node_modules/@radix-ui/react-popover/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_670e32d9a64ee24e3a22b3ad7ddf00ff/node_modules/@radix-ui/react-popper/dist/index.mjs.js +285 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_670e32d9a64ee24e3a22b3ad7ddf00ff/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-portal/dist/index.module.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-portal/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_3d239322f44fd01c1fc3aece7e608026/node_modules/@radix-ui/react-portal/dist/index.mjs.js +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_3d239322f44fd01c1fc3aece7e608026/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-presence/dist/index.module.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-presence/dist/index.module.js.map +1 -0
- package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_f4bce12bb8d2a0530a33b49f48bbe93f}/node_modules/@radix-ui/react-presence/dist/index.mjs.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_f4bce12bb8d2a0530a33b49f48bbe93f/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1}/node_modules/@radix-ui/react-primitive/dist/index.module.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_8827551f88f8a44c5b480e0d8a5a4518/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +44 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_8827551f88f8a44c5b480e0d8a5a4518/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_be93e2873c2be441aa6fe1469ec0005c}/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.4_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_be93e2873c2be441aa6fe1469ec0005c/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-progress@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_1ce273def151fb9bc2b32297c023b112/node_modules/@radix-ui/react-progress/dist/index.mjs.js +95 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-progress@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_rea_1ce273def151fb9bc2b32297c023b112/node_modules/@radix-ui/react-progress/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types__65cb42920eb4a00bf531ed9a54d3f90b/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js +284 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types__65cb42920eb4a00bf531ed9a54d3f90b/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_6f10866f94bcb38b5caff30079bbebd2/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js +225 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_6f10866f94bcb38b5caff30079bbebd2/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{@radix-ui → .pnpm/@radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.28__@types_5d65e204c827d704c5184e8d17b67f82/node_modules/@radix-ui}/react-scroll-area/dist/index.mjs.js +9 -9
- package/dist/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.10_@types_react-dom@18.3.7_@types_react@18.3.28__@types_5d65e204c827d704c5184e8d17b67f82/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_f9b05e8db7247fc075715ae52301583d/node_modules/@radix-ui/react-select/dist/index.mjs.js +1158 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.6_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_f9b05e8db7247fc075715ae52301583d/node_modules/@radix-ui/react-select/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_65503dc6cee771df7e5ad7e8522dc4b5/node_modules/@radix-ui/react-separator/dist/index.mjs.js +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_re_65503dc6cee771df7e5ad7e8522dc4b5/node_modules/@radix-ui/react-separator/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-slot@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-slot/dist/index.module.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.module.js.map +1 -0
- package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-slot/dist/index.mjs.js +12 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{@radix-ui → .pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui}/react-slot/dist/index.mjs.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_0225fbd6ccc84d9eda18b8a03485bb75/node_modules/@radix-ui/react-switch/dist/index.mjs.js +154 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.6_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react_0225fbd6ccc84d9eda18b8a03485bb75/node_modules/@radix-ui/react-switch/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_6db026cd1527317527c6849c7bd26c2f/node_modules/@radix-ui/react-tabs/dist/index.mjs.js +189 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.13_@types_react-dom@18.3.7_@types_react@18.3.28__@types_react@_6db026cd1527317527c6849c7bd26c2f/node_modules/@radix-ui/react-tabs/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_aeb0a9c335dbe5637aedd311835f3954/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js +170 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.11_@types_react-dom@18.3.7_@types_react@18.3.28__@type_aeb0a9c335dbe5637aedd311835f3954/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_2f2008b9c2b3b6a991d0c6de9b0a9097/node_modules/@radix-ui/react-toggle/dist/index.mjs.js +38 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.10_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_2f2008b9c2b3b6a991d0c6de9b0a9097/node_modules/@radix-ui/react-toggle/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_a18368212e1009eee1acc445b8edb5ee/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +484 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.8_@types_react-dom@18.3.7_@types_react@18.3.28__@types_reac_a18368212e1009eee1acc445b8edb5ee/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +71 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs.js +18 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +41 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.1_@types_react@18.3.28_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.28__@ty_20e51f345ec6c8aedb80070ad020dacb/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +36 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.3.7_@types_react@18.3.28__@ty_20e51f345ec6c8aedb80070ad020dacb/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@8.5.0_rollup@2.80.0_tslib@2.8.1_typescript@6.0.3/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@8.5.0_rollup@2.80.0_tslib@2.8.1_typescript@6.0.3/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/{aria-hidden → .pnpm/aria-hidden@1.2.6/node_modules/aria-hidden}/dist/es2015/index.js +22 -16
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/{class-variance-authority → .pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority}/dist/index.mjs.js +7 -9
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/cmdk@0.2.1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/cmdk/dist/chunk-XJATAMEX.mjs.js +4 -0
- package/dist/node_modules/.pnpm/cmdk@0.2.1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/cmdk/dist/chunk-XJATAMEX.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/cmdk@0.2.1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/cmdk/dist/index.mjs.js +8 -0
- package/dist/node_modules/.pnpm/cmdk@0.2.1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/cmdk/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/addLeadingZeros.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/defaultOptions.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/format/formatters.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/format/lightFormatters.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/format/longFormatters.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/protectedTokens.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addDays.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addMonths.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addWeeks.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/addYears.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/constants.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/constructFrom.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInCalendarDays.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInCalendarMonths.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInCalendarWeeks.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfISOWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/endOfWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/format.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getDayOfYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getDaysInMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getISOWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getISOWeekYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getUnixTime.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getWeekYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/getWeeksInMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isAfter.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isBefore.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isDate.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isSameDay.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isSameMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isSameYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isValid.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/lastDayOfMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchFn.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatLong.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/localize.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US/_lib/match.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/locale/en-US.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/max.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/min.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/setYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfDay.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfISOWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfISOWeekYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfMonth.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfWeek.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfWeekYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/startOfYear.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/subDays.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/toDate.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/esm/node.js.map +1 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
- package/dist/node_modules/{input-otp → .pnpm/input-otp@1.4.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/input-otp}/dist/index.mjs.js +1 -1
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/input-otp/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{react-day-picker → .pnpm/react-day-picker@8.10.2_date-fns@3.6.0_react@18.3.1/node_modules/react-day-picker}/dist/index.esm.js +31 -31
- package/dist/node_modules/.pnpm/react-day-picker@8.10.2_date-fns@3.6.0_react@18.3.1/node_modules/react-day-picker/dist/index.esm.js.map +1 -0
- package/dist/node_modules/{react-remove-scroll-bar → .pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar}/dist/es2015/component.js +26 -6
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
- package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/Combination.js +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +3 -3
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -1
- package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/UI.js +3 -3
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +9 -0
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/sidecar.js +2 -2
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -1
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/Combination.js +1 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/SideEffect.js +26 -8
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/UI.js +5 -5
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/handleScroll.js +18 -6
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +9 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/sidecar.js +2 -2
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
- package/dist/node_modules/{react-style-singleton → .pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton}/dist/es2015/singleton.js +1 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
- package/dist/node_modules/{sonner → .pnpm/sonner@2.0.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner}/dist/index.mjs.js +46 -26
- package/dist/node_modules/.pnpm/sonner@2.0.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/sonner/dist/index.mjs.js.map +1 -0
- package/dist/node_modules/{tailwind-merge → .pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge}/dist/bundle-mjs.mjs.js +1 -1
- package/dist/node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs.js.map +1 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +49 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
- package/dist/node_modules/{use-sidecar → .pnpm/use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar}/dist/es2015/exports.js +1 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
- package/dist/node_modules/{use-sidecar → .pnpm/use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar}/dist/es2015/medium.js +1 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +107 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +78 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js +13 -0
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/src/index.js +1 -1
- package/dist/src/shadcn/ui/accordion.js +9 -9
- package/dist/src/shadcn/ui/alert.js +2 -2
- package/dist/src/shadcn/ui/avatar.js +8 -8
- package/dist/src/shadcn/ui/badge.js +2 -2
- package/dist/src/shadcn/ui/breadcrumb.js +3 -3
- package/dist/src/shadcn/ui/button.js +3 -3
- package/dist/src/shadcn/ui/calendar.js +3 -3
- package/dist/src/shadcn/ui/card.js +1 -1
- package/dist/src/shadcn/ui/checkbox.js +5 -5
- package/dist/src/shadcn/ui/command.js +16 -16
- package/dist/src/shadcn/ui/dialog.js +16 -16
- package/dist/src/shadcn/ui/dropdown-menu.js +24 -24
- package/dist/src/shadcn/ui/form.js +2 -2
- package/dist/src/shadcn/ui/hover-card.js +6 -6
- package/dist/src/shadcn/ui/input-group.js +2 -2
- package/dist/src/shadcn/ui/input-otp.js +2 -2
- package/dist/src/shadcn/ui/input.js +1 -1
- package/dist/src/shadcn/ui/label.js +5 -5
- package/dist/src/shadcn/ui/navigation-menu.js +18 -18
- package/dist/src/shadcn/ui/navigation-menu.js.map +1 -1
- package/dist/src/shadcn/ui/pagination.js +2 -2
- package/dist/src/shadcn/ui/popover.js +6 -6
- package/dist/src/shadcn/ui/progress.js +4 -4
- package/dist/src/shadcn/ui/radio-group.js +6 -6
- package/dist/src/shadcn/ui/scroll-area.js +2 -2
- package/dist/src/shadcn/ui/select.js +21 -21
- package/dist/src/shadcn/ui/separator.js +4 -4
- package/dist/src/shadcn/ui/sheet.js +16 -16
- package/dist/src/shadcn/ui/skeleton.js +1 -1
- package/dist/src/shadcn/ui/sonner.js +4 -4
- package/dist/src/shadcn/ui/switch.js +4 -4
- package/dist/src/shadcn/ui/table.js +1 -1
- package/dist/src/shadcn/ui/tabs.js +9 -9
- package/dist/src/shadcn/ui/textarea.js +1 -1
- package/dist/src/shadcn/ui/toggle-group.js +6 -6
- package/dist/src/shadcn/ui/toggle.js +5 -5
- package/dist/src/shadcn/ui/tooltip.js +8 -8
- package/dist/src/utils/cn.js +2 -2
- package/dist/tailwind-manifest.js +9372 -9129
- package/dist/types/src/shadcn/ui/command.d.ts +4 -0
- package/dist/types/src/shadcn/ui/form.d.ts +1 -1
- package/dist/types/stories/shadcn/sonner.stories.d.ts +2 -0
- package/dist/types/vite.config.d.ts +1 -1
- package/package.json +5 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.js +0 -6
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js +0 -9
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +0 -295
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js +0 -98
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js +0 -155
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +0 -142
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js +0 -94
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +0 -27
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js +0 -101
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +0 -280
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js +0 -10
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +0 -240
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js +0 -243
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +0 -30
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +0 -277
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js +0 -221
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js +0 -19
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js +0 -18
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js +0 -891
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js +0 -798
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.mjs.js +0 -232
- package/dist/node_modules/@radix-ui/react-popover/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js +0 -242
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js +0 -15
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js +0 -131
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +0 -88
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js +0 -96
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js +0 -237
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js +0 -237
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/number/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js +0 -1157
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-separator/dist/index.mjs.js +0 -48
- package/dist/node_modules/@radix-ui/react-separator/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +0 -37
- package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js +0 -126
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js +0 -157
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js +0 -29
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js +0 -161
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +0 -513
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs.js +0 -82
- package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +0 -19
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +0 -48
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +0 -22
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +0 -12
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js +0 -22
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +0 -27
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js +0 -4
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.mjs.js.map +0 -1
- package/dist/node_modules/cmdk/dist/index.mjs.js +0 -8
- package/dist/node_modules/cmdk/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/primitive/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-context/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dialog/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-focus-scope/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-id/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-portal/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-presence/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-slot/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +0 -1
- package/dist/node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -9
- package/dist/node_modules/command-score/index.js +0 -138
- package/dist/node_modules/command-score/index.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/defaultOptions.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/formatters.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/_lib/protectedTokens.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/addDays.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/addMonths.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/addWeeks.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/addYears.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/constants.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/constructFrom.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarDays.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarMonths.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/differenceInCalendarWeeks.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/endOfISOWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/endOfMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/endOfWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/format.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getDayOfYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getDaysInMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getISOWeekYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getUnixTime.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getWeekYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/getWeeksInMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isAfter.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isBefore.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isDate.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isSameDay.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isSameMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isSameYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/isValid.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/lastDayOfMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/locale/en-US.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/max.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/min.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/setMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/setYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfDay.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfISOWeekYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfMonth.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeek.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfWeekYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/startOfYear.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/subDays.mjs.js.map +0 -1
- package/dist/node_modules/date-fns/toDate.mjs.js.map +0 -1
- package/dist/node_modules/detect-node-es/esm/node.js.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/node_modules/input-otp/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/react-day-picker/dist/index.esm.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/node_modules/sonner/dist/index.mjs.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.mjs.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -23
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- /package/dist/node_modules/{@babel → .pnpm/@babel_runtime@7.29.2/node_modules/@babel}/runtime/helpers/esm/extends.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_number@1.1.1}/node_modules/@radix-ui/number/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_primitive@1.0.0}/node_modules/@radix-ui/primitive/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_primitive@1.1.3}/node_modules/@radix-ui/primitive/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-compose-refs/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-context@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-context/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-direction@1.1.1_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-direction/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-focus-guards/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui → .pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui}/react-icons/dist/react-icons.esm.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.3.1}/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js +0 -0
- /package/dist/node_modules/{@radix-ui/react-scroll-area → .pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.3.28_react@18.3.1}/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +0 -0
- /package/dist/node_modules/{clsx → .pnpm/clsx@2.1.1/node_modules/clsx}/dist/clsx.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/addLeadingZeros.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/defaultOptions.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/format/formatters.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/format/lightFormatters.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/format/longFormatters.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/getTimezoneOffsetInMilliseconds.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/_lib/protectedTokens.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/addDays.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/addMonths.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/addWeeks.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/addYears.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/constants.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/constructFrom.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/differenceInCalendarDays.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/differenceInCalendarMonths.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/differenceInCalendarWeeks.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/endOfISOWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/endOfMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/endOfWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/format.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getDayOfYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getDaysInMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getISOWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getISOWeekYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getUnixTime.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getWeekYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/getWeeksInMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isAfter.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isBefore.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isDate.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isSameDay.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isSameMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isSameYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/isValid.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/lastDayOfMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/_lib/buildFormatLongFn.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/_lib/buildLocalizeFn.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/_lib/buildMatchFn.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/_lib/buildMatchPatternFn.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US/_lib/formatDistance.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US/_lib/formatLong.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US/_lib/formatRelative.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US/_lib/localize.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US/_lib/match.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/locale/en-US.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/max.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/min.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/setMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/setYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfDay.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfISOWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfISOWeekYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfMonth.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfWeek.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfWeekYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/startOfYear.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/subDays.mjs.js +0 -0
- /package/dist/node_modules/{date-fns → .pnpm/date-fns@3.6.0/node_modules/date-fns}/toDate.mjs.js +0 -0
- /package/dist/node_modules/{detect-node-es → .pnpm/detect-node-es@1.1.0/node_modules/detect-node-es}/esm/node.js +0 -0
- /package/dist/node_modules/{get-nonce → .pnpm/get-nonce@1.0.1/node_modules/get-nonce}/dist/es2015/index.js +0 -0
- /package/dist/node_modules/{react-remove-scroll-bar → .pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar}/dist/es2015/constants.js +0 -0
- /package/dist/node_modules/{react-remove-scroll-bar → .pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll-bar}/dist/es2015/utils.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -0
- /package/dist/node_modules/{cmdk → .pnpm/react-remove-scroll@2.5.4_@types_react@18.3.28_react@18.3.1}/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -0
- /package/dist/node_modules/{react-remove-scroll → .pnpm/react-remove-scroll@2.7.2_@types_react@18.3.28_react@18.3.1/node_modules/react-remove-scroll}/dist/es2015/aggresiveCapture.js +0 -0
- /package/dist/node_modules/{react-style-singleton → .pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton}/dist/es2015/component.js +0 -0
- /package/dist/node_modules/{react-style-singleton → .pnpm/react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton}/dist/es2015/hook.js +0 -0
- /package/dist/node_modules/{tslib → .pnpm/tslib@2.8.1/node_modules/tslib}/tslib.es6.mjs.js +0 -0
- /package/dist/node_modules/{use-callback-ref → .pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref}/dist/es2015/assignRef.js +0 -0
- /package/dist/node_modules/{use-callback-ref → .pnpm/use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref}/dist/es2015/useRef.js +0 -0
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
import _extends from '../../../@babel/runtime/helpers/esm/extends.js';
|
|
2
|
-
import { forwardRef, createElement, useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { composeEventHandlers as $e42e1063c40fb3ef$export$b9ecd428b558ff10 } from '../../primitive/dist/index.mjs.js';
|
|
4
|
-
import { createCollection as $e02a7d9cb1dc128c$export$c74125a8e3af6bb2 } from '../../react-collection/dist/index.mjs.js';
|
|
5
|
-
import { useComposedRefs as $6ed0406888f73fc4$export$c7b2cbe3552a0d05 } from '../../react-compose-refs/dist/index.mjs.js';
|
|
6
|
-
import { createContextScope as $c512c27ab02ef895$export$50c7b4e9d9f19c1 } from '../../react-context/dist/index.mjs.js';
|
|
7
|
-
import { useId as $1746a345f3d73bb7$export$f680877a34711e37 } from '../../react-id/dist/index.mjs.js';
|
|
8
|
-
import { Primitive as $8927f6f2acc4f386$export$250ffa63cdc0d034 } from '../../react-primitive/dist/index.mjs.js';
|
|
9
|
-
import { useCallbackRef as $b1b2314f5f9a1d84$export$25bec8c6f54ee79a } from '../../react-use-callback-ref/dist/index.mjs.js';
|
|
10
|
-
import { useControllableState as $71cd76cc60e0454e$export$6f32135080cb4c3 } from '../../react-use-controllable-state/dist/index.mjs.js';
|
|
11
|
-
import { useDirection as $f631663db3294ace$export$b39126d51d94e6f3 } from '../../react-direction/dist/index.mjs.js';
|
|
12
|
-
|
|
13
|
-
const $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';
|
|
14
|
-
const $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {
|
|
15
|
-
bubbles: false,
|
|
16
|
-
cancelable: true
|
|
17
|
-
};
|
|
18
|
-
/* -------------------------------------------------------------------------------------------------
|
|
19
|
-
* RovingFocusGroup
|
|
20
|
-
* -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$GROUP_NAME = 'RovingFocusGroup';
|
|
21
|
-
const [$d7bdfb9eb0fdf311$var$Collection, $d7bdfb9eb0fdf311$var$useCollection, $d7bdfb9eb0fdf311$var$createCollectionScope] = $e02a7d9cb1dc128c$export$c74125a8e3af6bb2($d7bdfb9eb0fdf311$var$GROUP_NAME);
|
|
22
|
-
const [$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext, $d7bdfb9eb0fdf311$export$c7109489551a4f4] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($d7bdfb9eb0fdf311$var$GROUP_NAME, [
|
|
23
|
-
$d7bdfb9eb0fdf311$var$createCollectionScope
|
|
24
|
-
]);
|
|
25
|
-
const [$d7bdfb9eb0fdf311$var$RovingFocusProvider, $d7bdfb9eb0fdf311$var$useRovingFocusContext] = $d7bdfb9eb0fdf311$var$createRovingFocusGroupContext($d7bdfb9eb0fdf311$var$GROUP_NAME);
|
|
26
|
-
const $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
27
|
-
return /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$Collection.Provider, {
|
|
28
|
-
scope: props.__scopeRovingFocusGroup
|
|
29
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {
|
|
30
|
-
scope: props.__scopeRovingFocusGroup
|
|
31
|
-
}, /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends({}, props, {
|
|
32
|
-
ref: forwardedRef
|
|
33
|
-
}))));
|
|
34
|
-
});
|
|
35
|
-
/* -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$RovingFocusGroupImpl = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
36
|
-
const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , orientation: orientation , loop: loop = false , dir: dir , currentTabStopId: currentTabStopIdProp , defaultCurrentTabStopId: defaultCurrentTabStopId , onCurrentTabStopIdChange: onCurrentTabStopIdChange , onEntryFocus: onEntryFocus , ...groupProps } = props;
|
|
37
|
-
const ref = useRef(null);
|
|
38
|
-
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
39
|
-
const direction = $f631663db3294ace$export$b39126d51d94e6f3(dir);
|
|
40
|
-
const [currentTabStopId = null, setCurrentTabStopId] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
41
|
-
prop: currentTabStopIdProp,
|
|
42
|
-
defaultProp: defaultCurrentTabStopId,
|
|
43
|
-
onChange: onCurrentTabStopIdChange
|
|
44
|
-
});
|
|
45
|
-
const [isTabbingBackOut, setIsTabbingBackOut] = useState(false);
|
|
46
|
-
const handleEntryFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEntryFocus);
|
|
47
|
-
const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);
|
|
48
|
-
const isClickFocusRef = useRef(false);
|
|
49
|
-
const [focusableItemsCount, setFocusableItemsCount] = useState(0);
|
|
50
|
-
useEffect(()=>{
|
|
51
|
-
const node = ref.current;
|
|
52
|
-
if (node) {
|
|
53
|
-
node.addEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus);
|
|
54
|
-
return ()=>node.removeEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus)
|
|
55
|
-
;
|
|
56
|
-
}
|
|
57
|
-
}, [
|
|
58
|
-
handleEntryFocus
|
|
59
|
-
]);
|
|
60
|
-
return /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$RovingFocusProvider, {
|
|
61
|
-
scope: __scopeRovingFocusGroup,
|
|
62
|
-
orientation: orientation,
|
|
63
|
-
dir: direction,
|
|
64
|
-
loop: loop,
|
|
65
|
-
currentTabStopId: currentTabStopId,
|
|
66
|
-
onItemFocus: useCallback((tabStopId)=>setCurrentTabStopId(tabStopId)
|
|
67
|
-
, [
|
|
68
|
-
setCurrentTabStopId
|
|
69
|
-
]),
|
|
70
|
-
onItemShiftTab: useCallback(()=>setIsTabbingBackOut(true)
|
|
71
|
-
, []),
|
|
72
|
-
onFocusableItemAdd: useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount + 1
|
|
73
|
-
)
|
|
74
|
-
, []),
|
|
75
|
-
onFocusableItemRemove: useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount - 1
|
|
76
|
-
)
|
|
77
|
-
, [])
|
|
78
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
79
|
-
tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
|
|
80
|
-
"data-orientation": orientation
|
|
81
|
-
}, groupProps, {
|
|
82
|
-
ref: composedRefs,
|
|
83
|
-
style: {
|
|
84
|
-
outline: 'none',
|
|
85
|
-
...props.style
|
|
86
|
-
},
|
|
87
|
-
onMouseDown: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onMouseDown, ()=>{
|
|
88
|
-
isClickFocusRef.current = true;
|
|
89
|
-
}),
|
|
90
|
-
onFocus: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onFocus, (event)=>{
|
|
91
|
-
// We normally wouldn't need this check, because we already check
|
|
92
|
-
// that the focus is on the current target and not bubbling to it.
|
|
93
|
-
// We do this because Safari doesn't focus buttons when clicked, and
|
|
94
|
-
// instead, the wrapper will get focused and not through a bubbling event.
|
|
95
|
-
const isKeyboardFocus = !isClickFocusRef.current;
|
|
96
|
-
if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {
|
|
97
|
-
const entryFocusEvent = new CustomEvent($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, $d7bdfb9eb0fdf311$var$EVENT_OPTIONS);
|
|
98
|
-
event.currentTarget.dispatchEvent(entryFocusEvent);
|
|
99
|
-
if (!entryFocusEvent.defaultPrevented) {
|
|
100
|
-
const items = getItems().filter((item)=>item.focusable
|
|
101
|
-
);
|
|
102
|
-
const activeItem = items.find((item)=>item.active
|
|
103
|
-
);
|
|
104
|
-
const currentItem = items.find((item)=>item.id === currentTabStopId
|
|
105
|
-
);
|
|
106
|
-
const candidateItems = [
|
|
107
|
-
activeItem,
|
|
108
|
-
currentItem,
|
|
109
|
-
...items
|
|
110
|
-
].filter(Boolean);
|
|
111
|
-
const candidateNodes = candidateItems.map((item)=>item.ref.current
|
|
112
|
-
);
|
|
113
|
-
$d7bdfb9eb0fdf311$var$focusFirst(candidateNodes);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
isClickFocusRef.current = false;
|
|
117
|
-
}),
|
|
118
|
-
onBlur: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onBlur, ()=>setIsTabbingBackOut(false)
|
|
119
|
-
)
|
|
120
|
-
})));
|
|
121
|
-
});
|
|
122
|
-
/* -------------------------------------------------------------------------------------------------
|
|
123
|
-
* RovingFocusGroupItem
|
|
124
|
-
* -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$ITEM_NAME = 'RovingFocusGroupItem';
|
|
125
|
-
const $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
|
|
126
|
-
const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , focusable: focusable = true , active: active = false , tabStopId: tabStopId , ...itemProps } = props;
|
|
127
|
-
const autoId = $1746a345f3d73bb7$export$f680877a34711e37();
|
|
128
|
-
const id = tabStopId || autoId;
|
|
129
|
-
const context = $d7bdfb9eb0fdf311$var$useRovingFocusContext($d7bdfb9eb0fdf311$var$ITEM_NAME, __scopeRovingFocusGroup);
|
|
130
|
-
const isCurrentTabStop = context.currentTabStopId === id;
|
|
131
|
-
const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);
|
|
132
|
-
const { onFocusableItemAdd: onFocusableItemAdd , onFocusableItemRemove: onFocusableItemRemove } = context;
|
|
133
|
-
useEffect(()=>{
|
|
134
|
-
if (focusable) {
|
|
135
|
-
onFocusableItemAdd();
|
|
136
|
-
return ()=>onFocusableItemRemove()
|
|
137
|
-
;
|
|
138
|
-
}
|
|
139
|
-
}, [
|
|
140
|
-
focusable,
|
|
141
|
-
onFocusableItemAdd,
|
|
142
|
-
onFocusableItemRemove
|
|
143
|
-
]);
|
|
144
|
-
return /*#__PURE__*/ createElement($d7bdfb9eb0fdf311$var$Collection.ItemSlot, {
|
|
145
|
-
scope: __scopeRovingFocusGroup,
|
|
146
|
-
id: id,
|
|
147
|
-
focusable: focusable,
|
|
148
|
-
active: active
|
|
149
|
-
}, /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
150
|
-
tabIndex: isCurrentTabStop ? 0 : -1,
|
|
151
|
-
"data-orientation": context.orientation
|
|
152
|
-
}, itemProps, {
|
|
153
|
-
ref: forwardedRef,
|
|
154
|
-
onMouseDown: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onMouseDown, (event)=>{
|
|
155
|
-
// We prevent focusing non-focusable items on `mousedown`.
|
|
156
|
-
// Even though the item has tabIndex={-1}, that only means take it out of the tab order.
|
|
157
|
-
if (!focusable) event.preventDefault(); // Safari doesn't focus a button when clicked so we run our logic on mousedown also
|
|
158
|
-
else context.onItemFocus(id);
|
|
159
|
-
}),
|
|
160
|
-
onFocus: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onFocus, ()=>context.onItemFocus(id)
|
|
161
|
-
),
|
|
162
|
-
onKeyDown: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onKeyDown, (event)=>{
|
|
163
|
-
if (event.key === 'Tab' && event.shiftKey) {
|
|
164
|
-
context.onItemShiftTab();
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
if (event.target !== event.currentTarget) return;
|
|
168
|
-
const focusIntent = $d7bdfb9eb0fdf311$var$getFocusIntent(event, context.orientation, context.dir);
|
|
169
|
-
if (focusIntent !== undefined) {
|
|
170
|
-
event.preventDefault();
|
|
171
|
-
const items = getItems().filter((item)=>item.focusable
|
|
172
|
-
);
|
|
173
|
-
let candidateNodes = items.map((item)=>item.ref.current
|
|
174
|
-
);
|
|
175
|
-
if (focusIntent === 'last') candidateNodes.reverse();
|
|
176
|
-
else if (focusIntent === 'prev' || focusIntent === 'next') {
|
|
177
|
-
if (focusIntent === 'prev') candidateNodes.reverse();
|
|
178
|
-
const currentIndex = candidateNodes.indexOf(event.currentTarget);
|
|
179
|
-
candidateNodes = context.loop ? $d7bdfb9eb0fdf311$var$wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Imperative focus during keydown is risky so we prevent React's batching updates
|
|
183
|
-
* to avoid potential bugs. See: https://github.com/facebook/react/issues/20332
|
|
184
|
-
*/ setTimeout(()=>$d7bdfb9eb0fdf311$var$focusFirst(candidateNodes)
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
})
|
|
188
|
-
})));
|
|
189
|
-
});
|
|
190
|
-
/* -----------------------------------------------------------------------------------------------*/ // prettier-ignore
|
|
191
|
-
const $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT = {
|
|
192
|
-
ArrowLeft: 'prev',
|
|
193
|
-
ArrowUp: 'prev',
|
|
194
|
-
ArrowRight: 'next',
|
|
195
|
-
ArrowDown: 'next',
|
|
196
|
-
PageUp: 'first',
|
|
197
|
-
Home: 'first',
|
|
198
|
-
PageDown: 'last',
|
|
199
|
-
End: 'last'
|
|
200
|
-
};
|
|
201
|
-
function $d7bdfb9eb0fdf311$var$getDirectionAwareKey(key, dir) {
|
|
202
|
-
if (dir !== 'rtl') return key;
|
|
203
|
-
return key === 'ArrowLeft' ? 'ArrowRight' : key === 'ArrowRight' ? 'ArrowLeft' : key;
|
|
204
|
-
}
|
|
205
|
-
function $d7bdfb9eb0fdf311$var$getFocusIntent(event, orientation, dir) {
|
|
206
|
-
const key = $d7bdfb9eb0fdf311$var$getDirectionAwareKey(event.key, dir);
|
|
207
|
-
if (orientation === 'vertical' && [
|
|
208
|
-
'ArrowLeft',
|
|
209
|
-
'ArrowRight'
|
|
210
|
-
].includes(key)) return undefined;
|
|
211
|
-
if (orientation === 'horizontal' && [
|
|
212
|
-
'ArrowUp',
|
|
213
|
-
'ArrowDown'
|
|
214
|
-
].includes(key)) return undefined;
|
|
215
|
-
return $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT[key];
|
|
216
|
-
}
|
|
217
|
-
function $d7bdfb9eb0fdf311$var$focusFirst(candidates) {
|
|
218
|
-
const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
|
|
219
|
-
for (const candidate of candidates){
|
|
220
|
-
// if focus is already where we want to go, we don't want to keep going through the candidates
|
|
221
|
-
if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
222
|
-
candidate.focus();
|
|
223
|
-
if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* Wraps an array around itself at a given start index
|
|
228
|
-
* Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
|
|
229
|
-
*/ function $d7bdfb9eb0fdf311$var$wrapArray(array, startIndex) {
|
|
230
|
-
return array.map((_, index)=>array[(startIndex + index) % array.length]
|
|
231
|
-
);
|
|
232
|
-
}
|
|
233
|
-
const $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 = $d7bdfb9eb0fdf311$export$8699f7c8af148338;
|
|
234
|
-
const $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 = $d7bdfb9eb0fdf311$export$ab9df7c53fe8454;
|
|
235
|
-
|
|
236
|
-
export { $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 as Item, $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 as Root, $d7bdfb9eb0fdf311$export$8699f7c8af148338 as RovingFocusGroup, $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 as RovingFocusGroupItem, $d7bdfb9eb0fdf311$export$c7109489551a4f4 as createRovingFocusGroupScope };
|
|
237
|
-
//# sourceMappingURL=index.mjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["import $98Iye$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $98Iye$forwardRef, createElement as $98Iye$createElement, useRef as $98Iye$useRef, useState as $98Iye$useState, useEffect as $98Iye$useEffect, useCallback as $98Iye$useCallback} from \"react\";\nimport {composeEventHandlers as $98Iye$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createCollection as $98Iye$createCollection} from \"@radix-ui/react-collection\";\nimport {useComposedRefs as $98Iye$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createContextScope as $98Iye$createContextScope} from \"@radix-ui/react-context\";\nimport {useId as $98Iye$useId} from \"@radix-ui/react-id\";\nimport {Primitive as $98Iye$Primitive} from \"@radix-ui/react-primitive\";\nimport {useCallbackRef as $98Iye$useCallbackRef} from \"@radix-ui/react-use-callback-ref\";\nimport {useControllableState as $98Iye$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useDirection as $98Iye$useDirection} from \"@radix-ui/react-direction\";\n\n\n\n\n\n\n\n\n\n\n\n\nconst $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';\nconst $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {\n bubbles: false,\n cancelable: true\n};\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroup\n * -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$GROUP_NAME = 'RovingFocusGroup';\nconst [$d7bdfb9eb0fdf311$var$Collection, $d7bdfb9eb0fdf311$var$useCollection, $d7bdfb9eb0fdf311$var$createCollectionScope] = $98Iye$createCollection($d7bdfb9eb0fdf311$var$GROUP_NAME);\nconst [$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext, $d7bdfb9eb0fdf311$export$c7109489551a4f4] = $98Iye$createContextScope($d7bdfb9eb0fdf311$var$GROUP_NAME, [\n $d7bdfb9eb0fdf311$var$createCollectionScope\n]);\nconst [$d7bdfb9eb0fdf311$var$RovingFocusProvider, $d7bdfb9eb0fdf311$var$useRovingFocusContext] = $d7bdfb9eb0fdf311$var$createRovingFocusGroupContext($d7bdfb9eb0fdf311$var$GROUP_NAME);\nconst $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.Provider, {\n scope: props.__scopeRovingFocusGroup\n }, /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {\n scope: props.__scopeRovingFocusGroup\n }, /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, $98Iye$babelruntimehelpersesmextends({}, props, {\n ref: forwardedRef\n }))));\n});\n/*#__PURE__*/ Object.assign($d7bdfb9eb0fdf311$export$8699f7c8af148338, {\n displayName: $d7bdfb9eb0fdf311$var$GROUP_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$RovingFocusGroupImpl = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , orientation: orientation , loop: loop = false , dir: dir , currentTabStopId: currentTabStopIdProp , defaultCurrentTabStopId: defaultCurrentTabStopId , onCurrentTabStopIdChange: onCurrentTabStopIdChange , onEntryFocus: onEntryFocus , ...groupProps } = props;\n const ref = $98Iye$useRef(null);\n const composedRefs = $98Iye$useComposedRefs(forwardedRef, ref);\n const direction = $98Iye$useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = $98Iye$useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = $98Iye$useState(false);\n const handleEntryFocus = $98Iye$useCallbackRef(onEntryFocus);\n const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = $98Iye$useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = $98Iye$useState(0);\n $98Iye$useEffect(()=>{\n const node = ref.current;\n if (node) {\n node.addEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus);\n return ()=>node.removeEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus)\n ;\n }\n }, [\n handleEntryFocus\n ]);\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$RovingFocusProvider, {\n scope: __scopeRovingFocusGroup,\n orientation: orientation,\n dir: direction,\n loop: loop,\n currentTabStopId: currentTabStopId,\n onItemFocus: $98Iye$useCallback((tabStopId)=>setCurrentTabStopId(tabStopId)\n , [\n setCurrentTabStopId\n ]),\n onItemShiftTab: $98Iye$useCallback(()=>setIsTabbingBackOut(true)\n , []),\n onFocusableItemAdd: $98Iye$useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount + 1\n )\n , []),\n onFocusableItemRemove: $98Iye$useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount - 1\n )\n , [])\n }, /*#__PURE__*/ $98Iye$createElement($98Iye$Primitive.div, $98Iye$babelruntimehelpersesmextends({\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation\n }, groupProps, {\n ref: composedRefs,\n style: {\n outline: 'none',\n ...props.style\n },\n onMouseDown: $98Iye$composeEventHandlers(props.onMouseDown, ()=>{\n isClickFocusRef.current = true;\n }),\n onFocus: $98Iye$composeEventHandlers(props.onFocus, (event)=>{\n // We normally wouldn't need this check, because we already check\n // that the focus is on the current target and not bubbling to it.\n // We do this because Safari doesn't focus buttons when clicked, and\n // instead, the wrapper will get focused and not through a bubbling event.\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, $d7bdfb9eb0fdf311$var$EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item)=>item.focusable\n );\n const activeItem = items.find((item)=>item.active\n );\n const currentItem = items.find((item)=>item.id === currentTabStopId\n );\n const candidateItems = [\n activeItem,\n currentItem,\n ...items\n ].filter(Boolean);\n const candidateNodes = candidateItems.map((item)=>item.ref.current\n );\n $d7bdfb9eb0fdf311$var$focusFirst(candidateNodes);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: $98Iye$composeEventHandlers(props.onBlur, ()=>setIsTabbingBackOut(false)\n )\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroupItem\n * -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$ITEM_NAME = 'RovingFocusGroupItem';\nconst $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , focusable: focusable = true , active: active = false , tabStopId: tabStopId , ...itemProps } = props;\n const autoId = $98Iye$useId();\n const id = tabStopId || autoId;\n const context = $d7bdfb9eb0fdf311$var$useRovingFocusContext($d7bdfb9eb0fdf311$var$ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd: onFocusableItemAdd , onFocusableItemRemove: onFocusableItemRemove } = context;\n $98Iye$useEffect(()=>{\n if (focusable) {\n onFocusableItemAdd();\n return ()=>onFocusableItemRemove()\n ;\n }\n }, [\n focusable,\n onFocusableItemAdd,\n onFocusableItemRemove\n ]);\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.ItemSlot, {\n scope: __scopeRovingFocusGroup,\n id: id,\n focusable: focusable,\n active: active\n }, /*#__PURE__*/ $98Iye$createElement($98Iye$Primitive.span, $98Iye$babelruntimehelpersesmextends({\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation\n }, itemProps, {\n ref: forwardedRef,\n onMouseDown: $98Iye$composeEventHandlers(props.onMouseDown, (event)=>{\n // We prevent focusing non-focusable items on `mousedown`.\n // Even though the item has tabIndex={-1}, that only means take it out of the tab order.\n if (!focusable) event.preventDefault(); // Safari doesn't focus a button when clicked so we run our logic on mousedown also\n else context.onItemFocus(id);\n }),\n onFocus: $98Iye$composeEventHandlers(props.onFocus, ()=>context.onItemFocus(id)\n ),\n onKeyDown: $98Iye$composeEventHandlers(props.onKeyDown, (event)=>{\n if (event.key === 'Tab' && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = $d7bdfb9eb0fdf311$var$getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== undefined) {\n event.preventDefault();\n const items = getItems().filter((item)=>item.focusable\n );\n let candidateNodes = items.map((item)=>item.ref.current\n );\n if (focusIntent === 'last') candidateNodes.reverse();\n else if (focusIntent === 'prev' || focusIntent === 'next') {\n if (focusIntent === 'prev') candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? $d7bdfb9eb0fdf311$var$wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n /**\n * Imperative focus during keydown is risky so we prevent React's batching updates\n * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332\n */ setTimeout(()=>$d7bdfb9eb0fdf311$var$focusFirst(candidateNodes)\n );\n }\n })\n })));\n});\n/*#__PURE__*/ Object.assign($d7bdfb9eb0fdf311$export$ab9df7c53fe8454, {\n displayName: $d7bdfb9eb0fdf311$var$ITEM_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ // prettier-ignore\nconst $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: 'prev',\n ArrowUp: 'prev',\n ArrowRight: 'next',\n ArrowDown: 'next',\n PageUp: 'first',\n Home: 'first',\n PageDown: 'last',\n End: 'last'\n};\nfunction $d7bdfb9eb0fdf311$var$getDirectionAwareKey(key, dir) {\n if (dir !== 'rtl') return key;\n return key === 'ArrowLeft' ? 'ArrowRight' : key === 'ArrowRight' ? 'ArrowLeft' : key;\n}\nfunction $d7bdfb9eb0fdf311$var$getFocusIntent(event, orientation, dir) {\n const key = $d7bdfb9eb0fdf311$var$getDirectionAwareKey(event.key, dir);\n if (orientation === 'vertical' && [\n 'ArrowLeft',\n 'ArrowRight'\n ].includes(key)) return undefined;\n if (orientation === 'horizontal' && [\n 'ArrowUp',\n 'ArrowDown'\n ].includes(key)) return undefined;\n return $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction $d7bdfb9eb0fdf311$var$focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates){\n // if focus is already where we want to go, we don't want to keep going through the candidates\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\n/**\n * Wraps an array around itself at a given start index\n * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n */ function $d7bdfb9eb0fdf311$var$wrapArray(array, startIndex) {\n return array.map((_, index)=>array[(startIndex + index) % array.length]\n );\n}\nconst $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 = $d7bdfb9eb0fdf311$export$8699f7c8af148338;\nconst $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 = $d7bdfb9eb0fdf311$export$ab9df7c53fe8454;\n\n\n\n\nexport {$d7bdfb9eb0fdf311$export$c7109489551a4f4 as createRovingFocusGroupScope, $d7bdfb9eb0fdf311$export$8699f7c8af148338 as RovingFocusGroup, $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 as RovingFocusGroupItem, $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 as Root, $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 as Item};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$98Iye$createCollection","$98Iye$createContextScope","$98Iye$forwardRef","$98Iye$createElement","$98Iye$babelruntimehelpersesmextends","$98Iye$useRef","$98Iye$useComposedRefs","$98Iye$useDirection","$98Iye$useControllableState","$98Iye$useState","$98Iye$useCallbackRef","$98Iye$useEffect","$98Iye$useCallback","$98Iye$Primitive","$98Iye$composeEventHandlers","$98Iye$useId"],"mappings":";;;;;;;;;;;;AAuBA,MAAM,iCAAiC,GAAG,+BAA+B,CAAC;AAC1E,MAAM,mCAAmC,GAAG;AAC5C,IAAI,OAAO,EAAE,KAAK;AAClB,IAAI,UAAU,EAAE,IAAI;AACpB,CAAC,CAAC;AACF;AACA;AACA,qGAAqG,MAAM,gCAAgC,GAAG,kBAAkB,CAAC;AACjK,MAAM,CAAC,gCAAgC,EAAE,mCAAmC,EAAE,2CAA2C,CAAC,GAAGA,yCAAuB,CAAC,gCAAgC,CAAC,CAAC;AAClL,MAAC,CAAC,mDAAmD,EAAE,wCAAwC,CAAC,GAAGC,wCAAyB,CAAC,gCAAgC,EAAE;AACpK,IAAI,2CAA2C;AAC/C,CAAC,EAAE;AACH,MAAM,CAAC,yCAAyC,EAAE,2CAA2C,CAAC,GAAG,mDAAmD,CAAC,gCAAgC,CAAC,CAAC;AAClL,MAAC,yCAAyC,iBAAiBC,UAAiB,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG;AACzG,IAAI,qBAAqBC,aAAoB,CAAC,gCAAgC,CAAC,QAAQ,EAAE;AACzF,QAAQ,KAAK,EAAE,KAAK,CAAC,uBAAuB;AAC5C,KAAK,gBAAgBA,aAAoB,CAAC,gCAAgC,CAAC,IAAI,EAAE;AACjF,QAAQ,KAAK,E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,MAAM,0BAA0B,GAAG,QAAQ,CAAC,aAAa,CAAC;AAC9D,IAAI,KAAK,MAAM,SAAS,IAAI,UAAU,CAAC;AACvC;AACA,QAAQ,IAAI,SAAS,KAAK,0BAA0B,EAAE,OAAO;AAC7D,QAAQ,SAAS,CAAC,KAAK,EAAE,CAAC;AAC1B,QAAQ,IAAI,QAAQ,CAAC,aAAa,KAAK,0BAA0B,EAAE,OAAO;AAC1E,KAAK;AACL,CAAC;AACD;AACA;AACA;AACA,IAAI,SAAS,+BAA+B,CAAC,KAAK,EAAE,UAAU,EAAE;AAChE,IAAI,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,CAAC,UAAU,GAAG,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC;AAC3E,KAAK,CAAC;AACN,CAAC;AACI,MAAC,yCAAyC,GAAG,0CAA0C;AACvF,MAAC,yCAAyC,GAAG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../node_modules/@radix-ui/react-scroll-area/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/scroll-area.tsx\nimport * as React2 from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { clamp } from \"@radix-ui/number\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\n\n// src/use-state-machine.ts\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/scroll-area.tsx\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar SCROLL_AREA_NAME = \"ScrollArea\";\nvar [createScrollAreaContext, createScrollAreaScope] = createContextScope(SCROLL_AREA_NAME);\nvar [ScrollAreaProvider, useScrollAreaContext] = createScrollAreaContext(SCROLL_AREA_NAME);\nvar ScrollArea = React2.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeScrollArea,\n type = \"hover\",\n dir,\n scrollHideDelay = 600,\n ...scrollAreaProps\n } = props;\n const [scrollArea, setScrollArea] = React2.useState(null);\n const [viewport, setViewport] = React2.useState(null);\n const [content, setContent] = React2.useState(null);\n const [scrollbarX, setScrollbarX] = React2.useState(null);\n const [scrollbarY, setScrollbarY] = React2.useState(null);\n const [cornerWidth, setCornerWidth] = React2.useState(0);\n const [cornerHeight, setCornerHeight] = React2.useState(0);\n const [scrollbarXEnabled, setScrollbarXEnabled] = React2.useState(false);\n const [scrollbarYEnabled, setScrollbarYEnabled] = React2.useState(false);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setScrollArea(node));\n const direction = useDirection(dir);\n return /* @__PURE__ */ jsx(\n ScrollAreaProvider,\n {\n scope: __scopeScrollArea,\n type,\n dir: direction,\n scrollHideDelay,\n scrollArea,\n viewport,\n onViewportChange: setViewport,\n content,\n onContentChange: setContent,\n scrollbarX,\n onScrollbarXChange: setScrollbarX,\n scrollbarXEnabled,\n onScrollbarXEnabledChange: setScrollbarXEnabled,\n scrollbarY,\n onScrollbarYChange: setScrollbarY,\n scrollbarYEnabled,\n onScrollbarYEnabledChange: setScrollbarYEnabled,\n onCornerWidthChange: setCornerWidth,\n onCornerHeightChange: setCornerHeight,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n dir: direction,\n ...scrollAreaProps,\n ref: composedRefs,\n style: {\n position: \"relative\",\n // Pass corner sizes as CSS vars to reduce re-renders of context consumers\n [\"--radix-scroll-area-corner-width\"]: cornerWidth + \"px\",\n [\"--radix-scroll-area-corner-height\"]: cornerHeight + \"px\",\n ...props.style\n }\n }\n )\n }\n );\n }\n);\nScrollArea.displayName = SCROLL_AREA_NAME;\nvar VIEWPORT_NAME = \"ScrollAreaViewport\";\nvar ScrollAreaViewport = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeScrollArea, children, nonce, ...viewportProps } = props;\n const context = useScrollAreaContext(VIEWPORT_NAME, __scopeScrollArea);\n const ref = React2.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onViewportChange);\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n \"style\",\n {\n dangerouslySetInnerHTML: {\n __html: `[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`\n },\n nonce\n }\n ),\n /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-radix-scroll-area-viewport\": \"\",\n ...viewportProps,\n ref: composedRefs,\n style: {\n /**\n * We don't support `visible` because the intention is to have at least one scrollbar\n * if this component is used and `visible` will behave like `auto` in that case\n * https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#description\n *\n * We don't handle `auto` because the intention is for the native implementation\n * to be hidden if using this component. We just want to ensure the node is scrollable\n * so could have used either `scroll` or `auto` here. We picked `scroll` to prevent\n * the browser from having to work out whether to render native scrollbars or not,\n * we tell it to with the intention of hiding them in CSS.\n */\n overflowX: context.scrollbarXEnabled ? \"scroll\" : \"hidden\",\n overflowY: context.scrollbarYEnabled ? \"scroll\" : \"hidden\",\n ...props.style\n },\n children: /* @__PURE__ */ jsx(\"div\", { ref: context.onContentChange, style: { minWidth: \"100%\", display: \"table\" }, children })\n }\n )\n ] });\n }\n);\nScrollAreaViewport.displayName = VIEWPORT_NAME;\nvar SCROLLBAR_NAME = \"ScrollAreaScrollbar\";\nvar ScrollAreaScrollbar = React2.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const { onScrollbarXEnabledChange, onScrollbarYEnabledChange } = context;\n const isHorizontal = props.orientation === \"horizontal\";\n React2.useEffect(() => {\n isHorizontal ? onScrollbarXEnabledChange(true) : onScrollbarYEnabledChange(true);\n return () => {\n isHorizontal ? onScrollbarXEnabledChange(false) : onScrollbarYEnabledChange(false);\n };\n }, [isHorizontal, onScrollbarXEnabledChange, onScrollbarYEnabledChange]);\n return context.type === \"hover\" ? /* @__PURE__ */ jsx(ScrollAreaScrollbarHover, { ...scrollbarProps, ref: forwardedRef, forceMount }) : context.type === \"scroll\" ? /* @__PURE__ */ jsx(ScrollAreaScrollbarScroll, { ...scrollbarProps, ref: forwardedRef, forceMount }) : context.type === \"auto\" ? /* @__PURE__ */ jsx(ScrollAreaScrollbarAuto, { ...scrollbarProps, ref: forwardedRef, forceMount }) : context.type === \"always\" ? /* @__PURE__ */ jsx(ScrollAreaScrollbarVisible, { ...scrollbarProps, ref: forwardedRef }) : null;\n }\n);\nScrollAreaScrollbar.displayName = SCROLLBAR_NAME;\nvar ScrollAreaScrollbarHover = React2.forwardRef((props, forwardedRef) => {\n const { forceMount, ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const [visible, setVisible] = React2.useState(false);\n React2.useEffect(() => {\n const scrollArea = context.scrollArea;\n let hideTimer = 0;\n if (scrollArea) {\n const handlePointerEnter = () => {\n window.clearTimeout(hideTimer);\n setVisible(true);\n };\n const handlePointerLeave = () => {\n hideTimer = window.setTimeout(() => setVisible(false), context.scrollHideDelay);\n };\n scrollArea.addEventListener(\"pointerenter\", handlePointerEnter);\n scrollArea.addEventListener(\"pointerleave\", handlePointerLeave);\n return () => {\n window.clearTimeout(hideTimer);\n scrollArea.removeEventListener(\"pointerenter\", handlePointerEnter);\n scrollArea.removeEventListener(\"pointerleave\", handlePointerLeave);\n };\n }\n }, [context.scrollArea, context.scrollHideDelay]);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || visible, children: /* @__PURE__ */ jsx(\n ScrollAreaScrollbarAuto,\n {\n \"data-state\": visible ? \"visible\" : \"hidden\",\n ...scrollbarProps,\n ref: forwardedRef\n }\n ) });\n});\nvar ScrollAreaScrollbarScroll = React2.forwardRef((props, forwardedRef) => {\n const { forceMount, ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const isHorizontal = props.orientation === \"horizontal\";\n const debounceScrollEnd = useDebounceCallback(() => send(\"SCROLL_END\"), 100);\n const [state, send] = useStateMachine(\"hidden\", {\n hidden: {\n SCROLL: \"scrolling\"\n },\n scrolling: {\n SCROLL_END: \"idle\",\n POINTER_ENTER: \"interacting\"\n },\n interacting: {\n SCROLL: \"interacting\",\n POINTER_LEAVE: \"idle\"\n },\n idle: {\n HIDE: \"hidden\",\n SCROLL: \"scrolling\",\n POINTER_ENTER: \"interacting\"\n }\n });\n React2.useEffect(() => {\n if (state === \"idle\") {\n const hideTimer = window.setTimeout(() => send(\"HIDE\"), context.scrollHideDelay);\n return () => window.clearTimeout(hideTimer);\n }\n }, [state, context.scrollHideDelay, send]);\n React2.useEffect(() => {\n const viewport = context.viewport;\n const scrollDirection = isHorizontal ? \"scrollLeft\" : \"scrollTop\";\n if (viewport) {\n let prevScrollPos = viewport[scrollDirection];\n const handleScroll = () => {\n const scrollPos = viewport[scrollDirection];\n const hasScrollInDirectionChanged = prevScrollPos !== scrollPos;\n if (hasScrollInDirectionChanged) {\n send(\"SCROLL\");\n debounceScrollEnd();\n }\n prevScrollPos = scrollPos;\n };\n viewport.addEventListener(\"scroll\", handleScroll);\n return () => viewport.removeEventListener(\"scroll\", handleScroll);\n }\n }, [context.viewport, isHorizontal, send, debounceScrollEnd]);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || state !== \"hidden\", children: /* @__PURE__ */ jsx(\n ScrollAreaScrollbarVisible,\n {\n \"data-state\": state === \"hidden\" ? \"hidden\" : \"visible\",\n ...scrollbarProps,\n ref: forwardedRef,\n onPointerEnter: composeEventHandlers(props.onPointerEnter, () => send(\"POINTER_ENTER\")),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => send(\"POINTER_LEAVE\"))\n }\n ) });\n});\nvar ScrollAreaScrollbarAuto = React2.forwardRef((props, forwardedRef) => {\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const { forceMount, ...scrollbarProps } = props;\n const [visible, setVisible] = React2.useState(false);\n const isHorizontal = props.orientation === \"horizontal\";\n const handleResize = useDebounceCallback(() => {\n if (context.viewport) {\n const isOverflowX = context.viewport.offsetWidth < context.viewport.scrollWidth;\n const isOverflowY = context.viewport.offsetHeight < context.viewport.scrollHeight;\n setVisible(isHorizontal ? isOverflowX : isOverflowY);\n }\n }, 10);\n useResizeObserver(context.viewport, handleResize);\n useResizeObserver(context.content, handleResize);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || visible, children: /* @__PURE__ */ jsx(\n ScrollAreaScrollbarVisible,\n {\n \"data-state\": visible ? \"visible\" : \"hidden\",\n ...scrollbarProps,\n ref: forwardedRef\n }\n ) });\n});\nvar ScrollAreaScrollbarVisible = React2.forwardRef((props, forwardedRef) => {\n const { orientation = \"vertical\", ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const thumbRef = React2.useRef(null);\n const pointerOffsetRef = React2.useRef(0);\n const [sizes, setSizes] = React2.useState({\n content: 0,\n viewport: 0,\n scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }\n });\n const thumbRatio = getThumbRatio(sizes.viewport, sizes.content);\n const commonProps = {\n ...scrollbarProps,\n sizes,\n onSizesChange: setSizes,\n hasThumb: Boolean(thumbRatio > 0 && thumbRatio < 1),\n onThumbChange: (thumb) => thumbRef.current = thumb,\n onThumbPointerUp: () => pointerOffsetRef.current = 0,\n onThumbPointerDown: (pointerPos) => pointerOffsetRef.current = pointerPos\n };\n function getScrollPosition(pointerPos, dir) {\n return getScrollPositionFromPointer(pointerPos, pointerOffsetRef.current, sizes, dir);\n }\n if (orientation === \"horizontal\") {\n return /* @__PURE__ */ jsx(\n ScrollAreaScrollbarX,\n {\n ...commonProps,\n ref: forwardedRef,\n onThumbPositionChange: () => {\n if (context.viewport && thumbRef.current) {\n const scrollPos = context.viewport.scrollLeft;\n const offset = getThumbOffsetFromScroll(scrollPos, sizes, context.dir);\n thumbRef.current.style.transform = `translate3d(${offset}px, 0, 0)`;\n }\n },\n onWheelScroll: (scrollPos) => {\n if (context.viewport) context.viewport.scrollLeft = scrollPos;\n },\n onDragScroll: (pointerPos) => {\n if (context.viewport) {\n context.viewport.scrollLeft = getScrollPosition(pointerPos, context.dir);\n }\n }\n }\n );\n }\n if (orientation === \"vertical\") {\n return /* @__PURE__ */ jsx(\n ScrollAreaScrollbarY,\n {\n ...commonProps,\n ref: forwardedRef,\n onThumbPositionChange: () => {\n if (context.viewport && thumbRef.current) {\n const scrollPos = context.viewport.scrollTop;\n const offset = getThumbOffsetFromScroll(scrollPos, sizes);\n thumbRef.current.style.transform = `translate3d(0, ${offset}px, 0)`;\n }\n },\n onWheelScroll: (scrollPos) => {\n if (context.viewport) context.viewport.scrollTop = scrollPos;\n },\n onDragScroll: (pointerPos) => {\n if (context.viewport) context.viewport.scrollTop = getScrollPosition(pointerPos);\n }\n }\n );\n }\n return null;\n});\nvar ScrollAreaScrollbarX = React2.forwardRef((props, forwardedRef) => {\n const { sizes, onSizesChange, ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const [computedStyle, setComputedStyle] = React2.useState();\n const ref = React2.useRef(null);\n const composeRefs = useComposedRefs(forwardedRef, ref, context.onScrollbarXChange);\n React2.useEffect(() => {\n if (ref.current) setComputedStyle(getComputedStyle(ref.current));\n }, [ref]);\n return /* @__PURE__ */ jsx(\n ScrollAreaScrollbarImpl,\n {\n \"data-orientation\": \"horizontal\",\n ...scrollbarProps,\n ref: composeRefs,\n sizes,\n style: {\n bottom: 0,\n left: context.dir === \"rtl\" ? \"var(--radix-scroll-area-corner-width)\" : 0,\n right: context.dir === \"ltr\" ? \"var(--radix-scroll-area-corner-width)\" : 0,\n [\"--radix-scroll-area-thumb-width\"]: getThumbSize(sizes) + \"px\",\n ...props.style\n },\n onThumbPointerDown: (pointerPos) => props.onThumbPointerDown(pointerPos.x),\n onDragScroll: (pointerPos) => props.onDragScroll(pointerPos.x),\n onWheelScroll: (event, maxScrollPos) => {\n if (context.viewport) {\n const scrollPos = context.viewport.scrollLeft + event.deltaX;\n props.onWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n event.preventDefault();\n }\n }\n },\n onResize: () => {\n if (ref.current && context.viewport && computedStyle) {\n onSizesChange({\n content: context.viewport.scrollWidth,\n viewport: context.viewport.offsetWidth,\n scrollbar: {\n size: ref.current.clientWidth,\n paddingStart: toInt(computedStyle.paddingLeft),\n paddingEnd: toInt(computedStyle.paddingRight)\n }\n });\n }\n }\n }\n );\n});\nvar ScrollAreaScrollbarY = React2.forwardRef((props, forwardedRef) => {\n const { sizes, onSizesChange, ...scrollbarProps } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, props.__scopeScrollArea);\n const [computedStyle, setComputedStyle] = React2.useState();\n const ref = React2.useRef(null);\n const composeRefs = useComposedRefs(forwardedRef, ref, context.onScrollbarYChange);\n React2.useEffect(() => {\n if (ref.current) setComputedStyle(getComputedStyle(ref.current));\n }, [ref]);\n return /* @__PURE__ */ jsx(\n ScrollAreaScrollbarImpl,\n {\n \"data-orientation\": \"vertical\",\n ...scrollbarProps,\n ref: composeRefs,\n sizes,\n style: {\n top: 0,\n right: context.dir === \"ltr\" ? 0 : void 0,\n left: context.dir === \"rtl\" ? 0 : void 0,\n bottom: \"var(--radix-scroll-area-corner-height)\",\n [\"--radix-scroll-area-thumb-height\"]: getThumbSize(sizes) + \"px\",\n ...props.style\n },\n onThumbPointerDown: (pointerPos) => props.onThumbPointerDown(pointerPos.y),\n onDragScroll: (pointerPos) => props.onDragScroll(pointerPos.y),\n onWheelScroll: (event, maxScrollPos) => {\n if (context.viewport) {\n const scrollPos = context.viewport.scrollTop + event.deltaY;\n props.onWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n event.preventDefault();\n }\n }\n },\n onResize: () => {\n if (ref.current && context.viewport && computedStyle) {\n onSizesChange({\n content: context.viewport.scrollHeight,\n viewport: context.viewport.offsetHeight,\n scrollbar: {\n size: ref.current.clientHeight,\n paddingStart: toInt(computedStyle.paddingTop),\n paddingEnd: toInt(computedStyle.paddingBottom)\n }\n });\n }\n }\n }\n );\n});\nvar [ScrollbarProvider, useScrollbarContext] = createScrollAreaContext(SCROLLBAR_NAME);\nvar ScrollAreaScrollbarImpl = React2.forwardRef((props, forwardedRef) => {\n const {\n __scopeScrollArea,\n sizes,\n hasThumb,\n onThumbChange,\n onThumbPointerUp,\n onThumbPointerDown,\n onThumbPositionChange,\n onDragScroll,\n onWheelScroll,\n onResize,\n ...scrollbarProps\n } = props;\n const context = useScrollAreaContext(SCROLLBAR_NAME, __scopeScrollArea);\n const [scrollbar, setScrollbar] = React2.useState(null);\n const composeRefs = useComposedRefs(forwardedRef, (node) => setScrollbar(node));\n const rectRef = React2.useRef(null);\n const prevWebkitUserSelectRef = React2.useRef(\"\");\n const viewport = context.viewport;\n const maxScrollPos = sizes.content - sizes.viewport;\n const handleWheelScroll = useCallbackRef(onWheelScroll);\n const handleThumbPositionChange = useCallbackRef(onThumbPositionChange);\n const handleResize = useDebounceCallback(onResize, 10);\n function handleDragScroll(event) {\n if (rectRef.current) {\n const x = event.clientX - rectRef.current.left;\n const y = event.clientY - rectRef.current.top;\n onDragScroll({ x, y });\n }\n }\n React2.useEffect(() => {\n const handleWheel = (event) => {\n const element = event.target;\n const isScrollbarWheel = scrollbar?.contains(element);\n if (isScrollbarWheel) handleWheelScroll(event, maxScrollPos);\n };\n document.addEventListener(\"wheel\", handleWheel, { passive: false });\n return () => document.removeEventListener(\"wheel\", handleWheel, { passive: false });\n }, [viewport, scrollbar, maxScrollPos, handleWheelScroll]);\n React2.useEffect(handleThumbPositionChange, [sizes, handleThumbPositionChange]);\n useResizeObserver(scrollbar, handleResize);\n useResizeObserver(context.content, handleResize);\n return /* @__PURE__ */ jsx(\n ScrollbarProvider,\n {\n scope: __scopeScrollArea,\n scrollbar,\n hasThumb,\n onThumbChange: useCallbackRef(onThumbChange),\n onThumbPointerUp: useCallbackRef(onThumbPointerUp),\n onThumbPositionChange: handleThumbPositionChange,\n onThumbPointerDown: useCallbackRef(onThumbPointerDown),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...scrollbarProps,\n ref: composeRefs,\n style: { position: \"absolute\", ...scrollbarProps.style },\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n const mainPointer = 0;\n if (event.button === mainPointer) {\n const element = event.target;\n element.setPointerCapture(event.pointerId);\n rectRef.current = scrollbar.getBoundingClientRect();\n prevWebkitUserSelectRef.current = document.body.style.webkitUserSelect;\n document.body.style.webkitUserSelect = \"none\";\n if (context.viewport) context.viewport.style.scrollBehavior = \"auto\";\n handleDragScroll(event);\n }\n }),\n onPointerMove: composeEventHandlers(props.onPointerMove, handleDragScroll),\n onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n const element = event.target;\n if (element.hasPointerCapture(event.pointerId)) {\n element.releasePointerCapture(event.pointerId);\n }\n document.body.style.webkitUserSelect = prevWebkitUserSelectRef.current;\n if (context.viewport) context.viewport.style.scrollBehavior = \"\";\n rectRef.current = null;\n })\n }\n )\n }\n );\n});\nvar THUMB_NAME = \"ScrollAreaThumb\";\nvar ScrollAreaThumb = React2.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...thumbProps } = props;\n const scrollbarContext = useScrollbarContext(THUMB_NAME, props.__scopeScrollArea);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || scrollbarContext.hasThumb, children: /* @__PURE__ */ jsx(ScrollAreaThumbImpl, { ref: forwardedRef, ...thumbProps }) });\n }\n);\nvar ScrollAreaThumbImpl = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeScrollArea, style, ...thumbProps } = props;\n const scrollAreaContext = useScrollAreaContext(THUMB_NAME, __scopeScrollArea);\n const scrollbarContext = useScrollbarContext(THUMB_NAME, __scopeScrollArea);\n const { onThumbPositionChange } = scrollbarContext;\n const composedRef = useComposedRefs(\n forwardedRef,\n (node) => scrollbarContext.onThumbChange(node)\n );\n const removeUnlinkedScrollListenerRef = React2.useRef(void 0);\n const debounceScrollEnd = useDebounceCallback(() => {\n if (removeUnlinkedScrollListenerRef.current) {\n removeUnlinkedScrollListenerRef.current();\n removeUnlinkedScrollListenerRef.current = void 0;\n }\n }, 100);\n React2.useEffect(() => {\n const viewport = scrollAreaContext.viewport;\n if (viewport) {\n const handleScroll = () => {\n debounceScrollEnd();\n if (!removeUnlinkedScrollListenerRef.current) {\n const listener = addUnlinkedScrollListener(viewport, onThumbPositionChange);\n removeUnlinkedScrollListenerRef.current = listener;\n onThumbPositionChange();\n }\n };\n onThumbPositionChange();\n viewport.addEventListener(\"scroll\", handleScroll);\n return () => viewport.removeEventListener(\"scroll\", handleScroll);\n }\n }, [scrollAreaContext.viewport, debounceScrollEnd, onThumbPositionChange]);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": scrollbarContext.hasThumb ? \"visible\" : \"hidden\",\n ...thumbProps,\n ref: composedRef,\n style: {\n width: \"var(--radix-scroll-area-thumb-width)\",\n height: \"var(--radix-scroll-area-thumb-height)\",\n ...style\n },\n onPointerDownCapture: composeEventHandlers(props.onPointerDownCapture, (event) => {\n const thumb = event.target;\n const thumbRect = thumb.getBoundingClientRect();\n const x = event.clientX - thumbRect.left;\n const y = event.clientY - thumbRect.top;\n scrollbarContext.onThumbPointerDown({ x, y });\n }),\n onPointerUp: composeEventHandlers(props.onPointerUp, scrollbarContext.onThumbPointerUp)\n }\n );\n }\n);\nScrollAreaThumb.displayName = THUMB_NAME;\nvar CORNER_NAME = \"ScrollAreaCorner\";\nvar ScrollAreaCorner = React2.forwardRef(\n (props, forwardedRef) => {\n const context = useScrollAreaContext(CORNER_NAME, props.__scopeScrollArea);\n const hasBothScrollbarsVisible = Boolean(context.scrollbarX && context.scrollbarY);\n const hasCorner = context.type !== \"scroll\" && hasBothScrollbarsVisible;\n return hasCorner ? /* @__PURE__ */ jsx(ScrollAreaCornerImpl, { ...props, ref: forwardedRef }) : null;\n }\n);\nScrollAreaCorner.displayName = CORNER_NAME;\nvar ScrollAreaCornerImpl = React2.forwardRef((props, forwardedRef) => {\n const { __scopeScrollArea, ...cornerProps } = props;\n const context = useScrollAreaContext(CORNER_NAME, __scopeScrollArea);\n const [width, setWidth] = React2.useState(0);\n const [height, setHeight] = React2.useState(0);\n const hasSize = Boolean(width && height);\n useResizeObserver(context.scrollbarX, () => {\n const height2 = context.scrollbarX?.offsetHeight || 0;\n context.onCornerHeightChange(height2);\n setHeight(height2);\n });\n useResizeObserver(context.scrollbarY, () => {\n const width2 = context.scrollbarY?.offsetWidth || 0;\n context.onCornerWidthChange(width2);\n setWidth(width2);\n });\n return hasSize ? /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...cornerProps,\n ref: forwardedRef,\n style: {\n width,\n height,\n position: \"absolute\",\n right: context.dir === \"ltr\" ? 0 : void 0,\n left: context.dir === \"rtl\" ? 0 : void 0,\n bottom: 0,\n ...props.style\n }\n }\n ) : null;\n});\nfunction toInt(value) {\n return value ? parseInt(value, 10) : 0;\n}\nfunction getThumbRatio(viewportSize, contentSize) {\n const ratio = viewportSize / contentSize;\n return isNaN(ratio) ? 0 : ratio;\n}\nfunction getThumbSize(sizes) {\n const ratio = getThumbRatio(sizes.viewport, sizes.content);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const thumbSize = (sizes.scrollbar.size - scrollbarPadding) * ratio;\n return Math.max(thumbSize, 18);\n}\nfunction getScrollPositionFromPointer(pointerPos, pointerOffset, sizes, dir = \"ltr\") {\n const thumbSizePx = getThumbSize(sizes);\n const thumbCenter = thumbSizePx / 2;\n const offset = pointerOffset || thumbCenter;\n const thumbOffsetFromEnd = thumbSizePx - offset;\n const minPointerPos = sizes.scrollbar.paddingStart + offset;\n const maxPointerPos = sizes.scrollbar.size - sizes.scrollbar.paddingEnd - thumbOffsetFromEnd;\n const maxScrollPos = sizes.content - sizes.viewport;\n const scrollRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const interpolate = linearScale([minPointerPos, maxPointerPos], scrollRange);\n return interpolate(pointerPos);\n}\nfunction getThumbOffsetFromScroll(scrollPos, sizes, dir = \"ltr\") {\n const thumbSizePx = getThumbSize(sizes);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const scrollbar = sizes.scrollbar.size - scrollbarPadding;\n const maxScrollPos = sizes.content - sizes.viewport;\n const maxThumbPos = scrollbar - thumbSizePx;\n const scrollClampRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const scrollWithoutMomentum = clamp(scrollPos, scrollClampRange);\n const interpolate = linearScale([0, maxScrollPos], [0, maxThumbPos]);\n return interpolate(scrollWithoutMomentum);\n}\nfunction linearScale(input, output) {\n return (value) => {\n if (input[0] === input[1] || output[0] === output[1]) return output[0];\n const ratio = (output[1] - output[0]) / (input[1] - input[0]);\n return output[0] + ratio * (value - input[0]);\n };\n}\nfunction isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos) {\n return scrollPos > 0 && scrollPos < maxScrollPos;\n}\nvar addUnlinkedScrollListener = (node, handler = () => {\n}) => {\n let prevPosition = { left: node.scrollLeft, top: node.scrollTop };\n let rAF = 0;\n (function loop() {\n const position = { left: node.scrollLeft, top: node.scrollTop };\n const isHorizontalScroll = prevPosition.left !== position.left;\n const isVerticalScroll = prevPosition.top !== position.top;\n if (isHorizontalScroll || isVerticalScroll) handler();\n prevPosition = position;\n rAF = window.requestAnimationFrame(loop);\n })();\n return () => window.cancelAnimationFrame(rAF);\n};\nfunction useDebounceCallback(callback, delay) {\n const handleCallback = useCallbackRef(callback);\n const debounceTimerRef = React2.useRef(0);\n React2.useEffect(() => () => window.clearTimeout(debounceTimerRef.current), []);\n return React2.useCallback(() => {\n window.clearTimeout(debounceTimerRef.current);\n debounceTimerRef.current = window.setTimeout(handleCallback, delay);\n }, [handleCallback, delay]);\n}\nfunction useResizeObserver(element, onResize) {\n const handleResize = useCallbackRef(onResize);\n useLayoutEffect(() => {\n let rAF = 0;\n if (element) {\n const resizeObserver = new ResizeObserver(() => {\n cancelAnimationFrame(rAF);\n rAF = window.requestAnimationFrame(handleResize);\n });\n resizeObserver.observe(element);\n return () => {\n window.cancelAnimationFrame(rAF);\n resizeObserver.unobserve(element);\n };\n }\n }, [element, handleResize]);\n}\nvar Root = ScrollArea;\nvar Viewport = ScrollAreaViewport;\nvar Scrollbar = ScrollAreaScrollbar;\nvar Thumb = ScrollAreaThumb;\nvar Corner = ScrollAreaCorner;\nexport {\n Corner,\n Root,\n ScrollArea,\n ScrollAreaCorner,\n ScrollAreaScrollbar,\n ScrollAreaThumb,\n ScrollAreaViewport,\n Scrollbar,\n Thumb,\n Viewport,\n createScrollAreaScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;;;AAgBA;AACA;AACA;AACA;AACA;AACA;AAIA;AACG;AACH;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACA;AAGA;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":"AAAA;AACA,SAAS,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;AAClC,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;AAC7C;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":"AAAA;AAEA,SAAS,oBAAoB,CAAC,oBAAoB,EAAE,eAAe,EAAE,EAAE,wBAAwB,GAAG,IAAI,EAAE,GAAG,EAAE,EAAE;AAC/G,EAAE,OAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACrC,IAAI,oBAAoB,GAAG,KAAK,CAAC,CAAC;AAClC,IAAI,IAAI,wBAAwB,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AACvE,MAAM,OAAO,eAAe,GAAG,KAAK,CAAC,CAAC;AACtC,KAAK;AACL,GAAG,CAAC;AACJ;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE;AAC5B,EAAE,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE;AACjC,IAAI,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC;AACtB,GAAG,MAAM,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,KAAK,CAAC,EAAE;AAC7C,IAAI,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC;AACxB,GAAG;AACH,CAAC;AACD,SAAS,WAAW,CAAC,GAAG,IAAI,EAAE;AAC9B,EAAE,OAAO,CAAC,IAAI,KAAK;AACnB,IAAI,IAAI,UAAU,GAAG,KAAK,CAAC;AAC3B,IAAI,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK;AACvC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AACxC,MAAM,IAAI,CAAC,UAAU,IAAI,OAAO,OAAO,IAAI,UAAU,EAAE;AACvD,QAAQ,UAAU,GAAG,IAAI,CAAC;AAC1B,OAAO;AACP,MAAM,OAAO,OAAO,CAAC;AACrB,KAAK,CAAC,CAAC;AACP,IAAI,IAAI,UAAU,EAAE;AACpB,MAAM,OAAO,MAAM;AACnB,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAClD,UAAU,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AACtC,UAAU,IAAI,OAAO,OAAO,IAAI,UAAU,EAAE;AAC5C,YAAY,OAAO,EAAE,CAAC;AACtB,WAAW,MAAM;AACjB,YAAY,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AAClC,WAAW;AACX,SAAS;AACT,OAAO,CAAC;AACR,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;AACD,SAAS,eAAe,CAAC,GAAG,IAAI,EAAE;AAClC,EAAE,OAAO,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;AACvD;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL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G,CAAC,CAAC,YAAY,MAAM;AACrD,MAAM,QAAQ,EAAE,YAAY,EAAE;AAC9B,MAAM,SAAS,EAAE,YAAY,CAAC,SAAS;AACvC,KAAK,CAAC,CAAC,CAAC;AACR,IAAI,OAAO,SAAS,iBAAiB,CAAC,cAAc,EAAE;AACtD,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK;AACrF,QAAQ,MAAM,UAAU,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;AACpD,QAAQ,MAAM,YAAY,GAAG,UAAU,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;AAC/D,QAAQ,OAAO,EAAE,GAAG,WAAW,EAAE,GAAG,YAAY,EAAE,CAAC;AACnD,OAAO,EAAE,EAAE,CAAC,CAAC;AACb,MAAM,OAAO,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;AACpG,KAAK,CAAC;AACN,GAAG,CAAC;AACJ,EAAE,WAAW,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,EAAE,OAAO,WAAW,CAAC;AACrB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;AAAA;AAGA,IAAI,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAKnD,SAAS,YAAY,CAAC,QAAQ,EAAE;AAChC,EAAE,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACvD,EAAE,OAAO,QAAQ,IAAI,SAAS,IAAI,KAAK,CAAC;AACxC;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;AAAA;AAKA,IAAI,KAAK,GAAG;AACZ,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,KAAK;AACP,EAAE,MAAM;AACR,EAAE,IAAI;AACN,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,OAAO;AACT,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,IAAI;AACN,EAAE,GAAG;AACL,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,KAAK;AACP,EAAE,IAAI;AACN,CAAC,CAAC;AACC,IAAC,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,IAAI,KAAK;AAClD,EAAE,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/C,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACzD,IAAI,MAAM,EAAE,OAAO,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK,CAAC;AACjD,IAAI,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC;AACvC,IAAI,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACvC,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC;AAC5C,KAAK;AACL,IAAI,uBAAuB,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,CAAC;AAC/E,GAAG,CAAC,CAAC;AACL,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AACzC,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC;AACxC,CAAC,EAAE,EAAE;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;AAAA;AAIA;AACA,SAAS,UAAU,CAAC,SAAS,EAAE;AAC/B,EAAE,MAAM,SAAS,mBAAmB,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/D,EAAE,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AAC1D,IAAI,MAAM,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;AAC7C,IAAI,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC3D,IAAI,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AACtD,IAAI,IAAI,SAAS,EAAE;AACnB,MAAM,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC;AAClD,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC,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GAAG,CAAC;AACvB,GAAG;AACH,EAAE,MAAM,GAAG,MAAM,CAAC,wBAAwB,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,GAAG,CAAC;AAChE,EAAE,OAAO,GAAG,MAAM,IAAI,gBAAgB,IAAI,MAAM,IAAI,MAAM,CAAC,cAAc,CAAC;AAC1E,EAAE,IAAI,OAAO,EAAE;AACf,IAAI,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;AAC7B,GAAG;AACH,EAAE,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;AAC1C;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA,SAAS,cAAc,CAAC,QAAQ,EAAE;AAClC,EAAE,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC7C,EAAE,KAAK,CAAC,SAAS,CAAC,MAAM;AACxB,IAAI,WAAW,CAAC,OAAO,GAAG,QAAQ,CAAC;AACnC,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,KAAK,WAAW,CAAC,OAAO,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC9E;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs.js","sources":["../../../../../../../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEG,IAAC,gBAAgB,GAAG,UAAU,EAAE,QAAQ,GAAG,KAAK,CAAC,eAAe,GAAG,MAAM;AAC5E;;;;"}
|