@quantinuum/quantinuum-ui 4.0.2 → 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/.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 +9371 -9128
- 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/{tailwind-merge → .pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge}/dist/bundle-mjs.mjs.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideEffect.js","sources":["../../../../../../../node_modules/cmdk/node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(function () { return styleSingleton(); })[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if ('touches' in event && event.touches.length === 2) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && e.target === event.target && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n event.preventDefault();\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n event.preventDefault();\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: \"margin\" }) : null));\n}\n"],"names":[],"mappings":";;;;;;;AAMU,IAAC,UAAU,GAAG,UAAU,KAAK,EAAE;AACzC,IAAI,OAAO,gBAAgB,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACnH,EAAE;AACQ,IAAC,UAAU,GAAG,UAAU,KAAK,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,C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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/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(function () { return styleSingleton(); })[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if ('touches' in event && event.touches.length === 2) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && e.target === event.target && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n event.preventDefault();\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n event.preventDefault();\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: \"margin\" }) : null));\n}\n"],"names":[],"mappings":";;;;;;;AAMU,IAAC,UAAU,GAAG,UAAU,KAAK,EAAE;AACzC,IAAI,OAAO,gBAAgB,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACnH,EAAE;AACQ,IAAC,U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AE,CAAC,GAAG,IAAI,CAAC,EAAE;AAC/F;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __rest, __assign } from '
|
|
1
|
+
import { __rest, __assign } from '../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { fullWidthClassName, zeroRightClassName } from '
|
|
4
|
-
import { useMergeRefs } from '
|
|
3
|
+
import { fullWidthClassName, zeroRightClassName } from '../../../../../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';
|
|
4
|
+
import { useMergeRefs } from '../../../../../use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js';
|
|
5
5
|
import { effectCar } from './medium.js';
|
|
6
6
|
|
|
7
7
|
var nothing = function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UI.js","sources":["
|
|
1
|
+
{"version":3,"file":"UI.js","sources":["../../../../../../../../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/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":[],"mappings":";;;;;;AAKA,IAAI,OAAO,GAAG,YAAY;AAC1B,IAAI,OAAO;AACX,CAAC,CAAC;AACF;AACA;AACA;AACG,IAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,UAAU,KAAK,EAAE,SAAS,EAAE;AAChE,IAAI,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjC,IAAI,IAAI,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;AAC5B,QAAQ,eAAe,EAAE,OAAO;AAChC,QAAQ,cAAc,EAAE,OAAO;AAC/B,QAAQ,kBAAkB,EAAE,OAAO;AACnC,KAAK,CAAC,EAAE,SAAS,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AAChD,IAAI,IAAI,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,QAAQ,GAA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AAK,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC,EAAE,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,aAAa,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,EAAE,cAAc,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE;AACpQ,CAAC,EAAE;AACH,YAAY,CAAC,YAAY,GAAG;AAC5B,IAAI,OAAO,EAAE,IAAI;AACjB,IAAI,eAAe,EAAE,IAAI;AACzB,IAAI,KAAK,EAAE,KAAK;AAChB,CAAC,CAAC;AACF,YAAY,CAAC,UAAU,GAAG;AAC1B,IAAI,SAAS,EAAE,kBAAkB;AACjC,IAAI,SAAS,EAAE,kBAAkB;AACjC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggresiveCapture.js","sources":["
|
|
1
|
+
{"version":3,"file":"aggresiveCapture.js","sources":["../../../../../../../../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/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":[],"mappings":"AAAA,IAAI,gBAAgB,GAAG,KAAK,CAAC;AAC7B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACnC,IAAI,IAAI;AACR,QAAQ,IAAI,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE;AAC3D,YAAY,GAAG,EAAE,YAAY;AAC7B,gBAAgB,gBAAgB,GAAG,IAAI,CAAC;AACxC,gBAAgB,OAAO,IAAI,CAAC;AAC5B,aAAa;AACb,SAAS,CAAC,CAAC;AACX;AACA,QAAQ,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC1D;AACA,QAAQ,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC7D,KAAK;AACL,IAAI,OAAO,GAAG,EAAE;AAChB,QAAQ,gBAAgB,GAAG,KAAK,CAAC;AACjC,KAAK;AACL,CAAC;AACS,IAAC,UAAU,GAAG,gBAAgB,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleScroll.js","sources":["
|
|
1
|
+
{"version":3,"file":"handleScroll.js","sources":["../../../../../../../../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/handleScroll.js"],"sourcesContent":["var elementCouldBeVScrolled = function (node) {\n var styles = window.getComputedStyle(node);\n return (styles.overflowY !== 'hidden' && // not-not-scrollable\n !(styles.overflowY === styles.overflowX && styles.overflowY === 'visible') // scrollable\n );\n};\nvar elementCouldBeHScrolled = function (node) {\n var styles = window.getComputedStyle(node);\n return (styles.overflowX !== 'hidden' && // not-not-scrollable\n !(styles.overflowY === styles.overflowX && styles.overflowX === 'visible') // scrollable\n );\n};\nexport var locationCouldBeScrolled = function (axis, node) {\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), s = _a[1], d = _a[2];\n if (s > d) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== document.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n target = target.parentNode;\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n if (isDeltaPositive && ((noOverscroll && availableScroll === 0) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && availableScrollTop === 0) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":[],"mappings":"AAAA,IAAI,uBAAuB,GAAG,UAAU,IAAI,EAAE;AAC9C,IAAI,IAAI,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAC/C,IAAI,QAAQ,MAAM,CAAC,SAAS,KAAK,QAAQ;AACzC,QAAQ,EAAE,MAAM,CAAC,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,KAAK,SAAS,CAAC;AAClF,MAAM;AACN,CAAC,CAAC;AACF,IAAI,uBAAuB,GAAG,UAAU,IAAI,EAAE;AAC9C,IAAI,IAAI,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAC/C,IAAI,QAAQ,MAAM,CAAC,SAAS,KAAK,QAAQ;AACzC,QAAQ,EAAE,MAAM,CAAC,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,KAAK,SAAS,CAAC;AAClF,MAAM;AACN,CAAC,CAAC;AACQ,IAAC,uBAAuB,GAAG,UAAU,IAAI,EAAE,IAAI,EAAE;AAC3D,IAAI,IAAI,OAAO,GAAG,IAAI,CAAC;AACvB,IAAI,GAAG;AACP;AACA,QAAQ,IAAI,OAAO,UAAU,KAAK,WAAW,IAAI,OAAO,YAAY,UAAU,EAAE;AAChF,YAAY,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;AACnC,SAAS;AACT,QAAQ,IAAI,YAAY,GAAG,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACjE,QAAQ,IAAI,YAAY,EAAE;AAC1B,YAAY,IAAI,EAAE,GAAG,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EA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gBAAgB,kBAAkB,IAAI,QAAQ,CAAC;AAC/C,aAAa;AACb,SAAS;AACT,QAAQ,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC;AACnC,KAAK;AACL;AACA,IAAI,CAAC,CAAC,YAAY,IAAI,MAAM,KAAK,QAAQ,CAAC,IAAI;AAC9C;AACA,SAAS,YAAY,KAAK,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,SAAS,KAAK,MAAM,CAAC,CAAC,EAAE;AAChF,IAAI,IAAI,eAAe,KAAK,CAAC,YAAY,IAAI,eAAe,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,KAAK,GAAG,eAAe,CAAC,CAAC,EAAE;AACpH,QAAQ,kBAAkB,GAAG,IAAI,CAAC;AAClC,KAAK;AACL,SAAS,IAAI,CAAC,eAAe;AAC7B,SAAS,CAAC,YAAY,IAAI,kBAAkB,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,KAAK,GAAG,kBAAkB,CAAC,CAAC,EAAE;AACxG,QAAQ,kBAAkB,GAAG,IAAI,CAAC;AAClC,KAAK;AACL,IAAI,OAAO,kBAAkB,CAAC;AAC9B;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '../../../../../detect-node-es@1.1.0/node_modules/detect-node-es/esm/node.js';
|
|
3
|
+
import { createSidecarMedium } from '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js';
|
|
4
|
+
import '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js';
|
|
5
|
+
|
|
6
|
+
var effectCar = createSidecarMedium();
|
|
7
|
+
|
|
8
|
+
export { effectCar };
|
|
9
|
+
//# sourceMappingURL=medium.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"medium.js","sources":["
|
|
1
|
+
{"version":3,"file":"medium.js","sources":["../../../../../../../../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"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":[],"mappings":";;;;;AACU,IAAC,SAAS,GAAG,mBAAmB;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../../../../../detect-node-es/esm/node.js';
|
|
3
|
-
import { exportSidecar } from '../../../../../use-sidecar/dist/es2015/exports.js';
|
|
2
|
+
import '../../../../../detect-node-es@1.1.0/node_modules/detect-node-es/esm/node.js';
|
|
3
|
+
import { exportSidecar } from '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js';
|
|
4
4
|
import { RemoveScrollSideCar } from './SideEffect.js';
|
|
5
5
|
import { effectCar } from './medium.js';
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidecar.js","sources":["
|
|
1
|
+
{"version":3,"file":"sidecar.js","sources":["../../../../../../../../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/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":[],"mappings":";;;;;;AAGA,cAAe,aAAa,CAAC,SAAS,EAAE,mBAAmB,CAAC;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign } from '../../../../../tslib/tslib.es6.mjs.js';
|
|
1
|
+
import { __assign } from '../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { RemoveScroll } from './UI.js';
|
|
4
4
|
import SideCar from './sidecar.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Combination.js","sources":["../../../../../../../../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"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":[],"mappings":";;;;;AAIG,IAAC,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAC,UAAU,KAAK,EAAE,GAAG,EAAE,EAAE,QAAQ,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE;AACrK,iBAAiB,CAAC,UAAU,GAAG,YAAY,CAAC,UAAU;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __spreadArray } from '
|
|
1
|
+
import { __spreadArray } from '../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { RemoveScrollBar } from '
|
|
4
|
-
import { styleSingleton } from '
|
|
3
|
+
import { RemoveScrollBar } from '../../../../../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';
|
|
4
|
+
import { styleSingleton } from '../../../../../react-style-singleton@2.2.3_@types_react@18.3.28_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js';
|
|
5
5
|
import { nonPassive } from './aggresiveCapture.js';
|
|
6
6
|
import { locationCouldBeScrolled, handleScroll } from './handleScroll.js';
|
|
7
7
|
|
|
@@ -21,7 +21,7 @@ function RemoveScrollSideCar(props) {
|
|
|
21
21
|
var touchStartRef = React.useRef([0, 0]);
|
|
22
22
|
var activeAxis = React.useRef();
|
|
23
23
|
var id = React.useState(idCounter++)[0];
|
|
24
|
-
var Style = React.useState(
|
|
24
|
+
var Style = React.useState(styleSingleton)[0];
|
|
25
25
|
var lastProps = React.useRef(props);
|
|
26
26
|
React.useEffect(function () {
|
|
27
27
|
lastProps.current = props;
|
|
@@ -39,7 +39,7 @@ function RemoveScrollSideCar(props) {
|
|
|
39
39
|
return;
|
|
40
40
|
}, [props.inert, props.lockRef.current, props.shards]);
|
|
41
41
|
var shouldCancelEvent = React.useCallback(function (event, parent) {
|
|
42
|
-
if ('touches' in event && event.touches.length === 2) {
|
|
42
|
+
if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {
|
|
43
43
|
return !lastProps.current.allowPinchZoom;
|
|
44
44
|
}
|
|
45
45
|
var touch = getTouchXY(event);
|
|
@@ -53,6 +53,13 @@ function RemoveScrollSideCar(props) {
|
|
|
53
53
|
if ('touches' in event && moveDirection === 'h' && target.type === 'range') {
|
|
54
54
|
return false;
|
|
55
55
|
}
|
|
56
|
+
// allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target
|
|
57
|
+
var selection = window.getSelection();
|
|
58
|
+
var anchorNode = selection && selection.anchorNode;
|
|
59
|
+
var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;
|
|
60
|
+
if (isTouchingSelection) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
56
63
|
var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
|
|
57
64
|
if (!canBeScrolledInMainDirection) {
|
|
58
65
|
return true;
|
|
@@ -84,7 +91,7 @@ function RemoveScrollSideCar(props) {
|
|
|
84
91
|
return;
|
|
85
92
|
}
|
|
86
93
|
var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);
|
|
87
|
-
var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && e.target === event.target && deltaCompare(e.delta, delta); })[0];
|
|
94
|
+
var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];
|
|
88
95
|
// self event, and should be canceled
|
|
89
96
|
if (sourceEvent && sourceEvent.should) {
|
|
90
97
|
if (event.cancelable) {
|
|
@@ -107,7 +114,7 @@ function RemoveScrollSideCar(props) {
|
|
|
107
114
|
}
|
|
108
115
|
}, []);
|
|
109
116
|
var shouldCancel = React.useCallback(function (name, delta, target, should) {
|
|
110
|
-
var event = { name: name, delta: delta, target: target, should: should };
|
|
117
|
+
var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };
|
|
111
118
|
shouldPreventQueue.current.push(event);
|
|
112
119
|
setTimeout(function () {
|
|
113
120
|
shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });
|
|
@@ -143,7 +150,18 @@ function RemoveScrollSideCar(props) {
|
|
|
143
150
|
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
144
151
|
return (React.createElement(React.Fragment, null,
|
|
145
152
|
inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,
|
|
146
|
-
removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode:
|
|
153
|
+
removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));
|
|
154
|
+
}
|
|
155
|
+
function getOutermostShadowParent(node) {
|
|
156
|
+
var shadowParent = null;
|
|
157
|
+
while (node !== null) {
|
|
158
|
+
if (node instanceof ShadowRoot) {
|
|
159
|
+
shadowParent = node.host;
|
|
160
|
+
node = node.host;
|
|
161
|
+
}
|
|
162
|
+
node = node.parentNode;
|
|
163
|
+
}
|
|
164
|
+
return shadowParent;
|
|
147
165
|
}
|
|
148
166
|
|
|
149
167
|
export { RemoveScrollSideCar, getDeltaXY, getTouchXY };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideEffect.js","sources":["../../../../../../../../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"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":[],"mappings":";;;;;;;AAMU,IAAC,UAAU,GAAG,UAAU,KAAK,EAAE;AACzC,IAAI,OAAO,gBAAgB,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACnH,EAAE;AACQ,IAAC,UAAU,GAAG,UAAU,KAAK,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG;AAClF,IAAI,UAAU,GAAG,UAAU,GAAG,EAAE;AAChC,IAAI,OAAO,GAAG,IAAI,SAAS,IAAI,GAAG,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC;AACvD,CAAC,CAAC;AACF,IAAI,YAAY,GAAG,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC9E,IAAI,aAAa,GAAG,UAAU,EAAE,EAAE,EAAE,OAAO,2BAA2B,CAAC,MAAM,CAAC,EAAE,EAAE,mDAAmD,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,2BAA2B,CAAC,CAAC,EAAE,CAAC;AAClL,IAAI,SAAS,GAAG,CAAC,CAAC;AAClB,IAAI,SAAS,GAAG,EAAE,CAAC;AACZ,SAAS,mBAAmB,CAAC,KAAK,EAAE;AAC3C,IAAI,IAAI,kBAAkB,GAAG,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OAAO,IAAI,KAAK,IAAI,EAAE;AAC1B,QAAQ,IAAI,IAAI,YAAY,UAAU,EAAE;AACxC,YAAY,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC;AACrC,YAAY,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AAC7B,SAAS;AACT,QAAQ,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;AAC/B,KAAK;AACL,IAAI,OAAO,YAAY,CAAC;AACxB;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { __rest, __assign } from '../../../../../tslib/tslib.es6.mjs.js';
|
|
1
|
+
import { __rest, __assign } from '../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { fullWidthClassName, zeroRightClassName } from '../../../../../react-remove-scroll-bar/dist/es2015/constants.js';
|
|
4
|
-
import { useMergeRefs } from '../../../../../use-callback-ref/dist/es2015/useMergeRef.js';
|
|
3
|
+
import { fullWidthClassName, zeroRightClassName } from '../../../../../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';
|
|
4
|
+
import { useMergeRefs } from '../../../../../use-callback-ref@1.3.3_@types_react@18.3.28_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js';
|
|
5
5
|
import { effectCar } from './medium.js';
|
|
6
6
|
|
|
7
7
|
var nothing = function () {
|
|
@@ -17,12 +17,12 @@ var RemoveScroll = React.forwardRef(function (props, parentRef) {
|
|
|
17
17
|
onWheelCapture: nothing,
|
|
18
18
|
onTouchMoveCapture: nothing,
|
|
19
19
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
20
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
20
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
|
|
21
21
|
var SideCar = sideCar;
|
|
22
22
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
23
23
|
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
24
24
|
return (React.createElement(React.Fragment, null,
|
|
25
|
-
enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref })),
|
|
25
|
+
enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),
|
|
26
26
|
forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));
|
|
27
27
|
});
|
|
28
28
|
RemoveScroll.defaultProps = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UI.js","sources":["../../../../../../../../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"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noRelative\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noRelative: noRelative, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":[],"mappings":";;;;;;AAKA,IAAI,OAAO,GAAG,YAAY;AAC1B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BAAkB;AACjC,IAAI,SAAS,EAAE,kBAAkB;AACjC,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggresiveCapture.js","sources":["../../../../../../../../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"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":[],"mappings":"AAAA,IAAI,gBAAgB,GAAG,KAAK,CAAC;AAC7B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AACnC,IAAI,IAAI;AACR,QAAQ,IAAI,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC,EAAE,EAAE,SAAS,EAAE;AAC3D,YAAY,GAAG,EAAE,YAAY;AAC7B,gBAAgB,gBAAgB,GAAG,IAAI,CAAC;AACxC,gBAAgB,OAAO,IAAI,CAAC;AAC5B,aAAa;AACb,SAAS,CAAC,CAAC;AACX;AACA,QAAQ,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC1D;AACA,QAAQ,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC7D,KAAK;AACL,IAAI,OAAO,GAAG,EAAE;AAChB,QAAQ,gBAAgB,GAAG,KAAK,CAAC;AACjC,KAAK;AACL,CAAC;AACS,IAAC,UAAU,GAAG,gBAAgB,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG;;;;"}
|
|
@@ -3,6 +3,9 @@ var alwaysContainsScroll = function (node) {
|
|
|
3
3
|
return node.tagName === 'TEXTAREA';
|
|
4
4
|
};
|
|
5
5
|
var elementCanBeScrolled = function (node, overflow) {
|
|
6
|
+
if (!(node instanceof Element)) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
6
9
|
var styles = window.getComputedStyle(node);
|
|
7
10
|
return (
|
|
8
11
|
// not-not-scrollable
|
|
@@ -13,6 +16,7 @@ var elementCanBeScrolled = function (node, overflow) {
|
|
|
13
16
|
var elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };
|
|
14
17
|
var elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };
|
|
15
18
|
var locationCouldBeScrolled = function (axis, node) {
|
|
19
|
+
var ownerDocument = node.ownerDocument;
|
|
16
20
|
var current = node;
|
|
17
21
|
do {
|
|
18
22
|
// Skip over shadow root
|
|
@@ -21,13 +25,13 @@ var locationCouldBeScrolled = function (axis, node) {
|
|
|
21
25
|
}
|
|
22
26
|
var isScrollable = elementCouldBeScrolled(axis, current);
|
|
23
27
|
if (isScrollable) {
|
|
24
|
-
var _a = getScrollVariables(axis, current),
|
|
25
|
-
if (
|
|
28
|
+
var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];
|
|
29
|
+
if (scrollHeight > clientHeight) {
|
|
26
30
|
return true;
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
current = current.parentNode;
|
|
30
|
-
} while (current && current !==
|
|
34
|
+
} while (current && current !== ownerDocument.body);
|
|
31
35
|
return false;
|
|
32
36
|
};
|
|
33
37
|
var getVScrollVariables = function (_a) {
|
|
@@ -71,6 +75,9 @@ var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll)
|
|
|
71
75
|
var availableScroll = 0;
|
|
72
76
|
var availableScrollTop = 0;
|
|
73
77
|
do {
|
|
78
|
+
if (!target) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
74
81
|
var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];
|
|
75
82
|
var elementScroll = scroll_1 - capacity - directionFactor * position;
|
|
76
83
|
if (position || elementScroll) {
|
|
@@ -79,17 +86,22 @@ var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll)
|
|
|
79
86
|
availableScrollTop += position;
|
|
80
87
|
}
|
|
81
88
|
}
|
|
82
|
-
|
|
89
|
+
var parent_1 = target.parentNode;
|
|
90
|
+
// we will "bubble" from ShadowDom in case we are, or just to the parent in normal case
|
|
91
|
+
// this is the same logic used in focus-lock
|
|
92
|
+
target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);
|
|
83
93
|
} while (
|
|
84
94
|
// portaled content
|
|
85
95
|
(!targetInLock && target !== document.body) ||
|
|
86
96
|
// self content
|
|
87
97
|
(targetInLock && (endTarget.contains(target) || endTarget === target)));
|
|
88
|
-
|
|
98
|
+
// handle epsilon around 0 (non standard zoom levels)
|
|
99
|
+
if (isDeltaPositive &&
|
|
100
|
+
((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {
|
|
89
101
|
shouldCancelScroll = true;
|
|
90
102
|
}
|
|
91
103
|
else if (!isDeltaPositive &&
|
|
92
|
-
((noOverscroll && availableScrollTop
|
|
104
|
+
((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {
|
|
93
105
|
shouldCancelScroll = true;
|
|
94
106
|
}
|
|
95
107
|
return shouldCancelScroll;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleScroll.js","sources":["../../../../../../../../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"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n if (!target) {\n break;\n }\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n var parent_1 = target.parentNode;\n // we will \"bubble\" from ShadowDom in case we are, or just to the parent in normal case\n // this is the same logic used in focus-lock\n target = (parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1);\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":[],"mappings":"AAAA,IAAI,oBAAoB,GAAG,UAAU,IAAI,EAAE;AAC3C;AACA,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,UAAU,CAAC;AACvC,CAAC,CAAC;AACF,IAAI,oBAAoB,GAAG,UAAU,IAAI,EAAE,QAAQ,EAAE;AACrD,IAAI,IAAI,EAAE,IAAI,YAAY,OAAO,CAAC,EAAE;AACpC,QAAQ,OAAO,KAAK,CAAC;AACrB,KAAK;AACL,IAAI,IAAI,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAC/C,IAAI;AACJ;AACA,IA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AAI,CAAC,sBAAsB,GAAG,QAAQ,CAAC,IAAI,GAAG,QAAQ,CAAC,CAAC;AAC5G,KAAK;AACL;AACA,IAAI,CAAC,CAAC,YAAY,IAAI,MAAM,KAAK,QAAQ,CAAC,IAAI;AAC9C;AACA,SAAS,YAAY,KAAK,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,SAAS,KAAK,MAAM,CAAC,CAAC,EAAE;AAChF;AACA,IAAI,IAAI,eAAe;AACvB,SAAS,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,IAAI,KAAK,GAAG,eAAe,CAAC,CAAC,EAAE;AACzG,QAAQ,kBAAkB,GAAG,IAAI,CAAC;AAClC,KAAK;AACL,SAAS,IAAI,CAAC,eAAe;AAC7B,SAAS,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,KAAK,GAAG,kBAAkB,CAAC,CAAC,EAAE;AAChH,QAAQ,kBAAkB,GAAG,IAAI,CAAC;AAClC,KAAK;AACL,IAAI,OAAO,kBAAkB,CAAC;AAC9B;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '../../../../../detect-node-es@1.1.0/node_modules/detect-node-es/esm/node.js';
|
|
3
|
+
import { createSidecarMedium } from '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js';
|
|
4
|
+
import '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js';
|
|
5
|
+
|
|
6
|
+
var effectCar = createSidecarMedium();
|
|
7
|
+
|
|
8
|
+
export { effectCar };
|
|
9
|
+
//# sourceMappingURL=medium.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"medium.js","sources":["../../../../../../../../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"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":[],"mappings":";;;;;AACU,IAAC,SAAS,GAAG,mBAAmB;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '
|
|
3
|
-
import { exportSidecar } from '
|
|
2
|
+
import '../../../../../detect-node-es@1.1.0/node_modules/detect-node-es/esm/node.js';
|
|
3
|
+
import { exportSidecar } from '../../../../../use-sidecar@1.1.3_@types_react@18.3.28_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js';
|
|
4
4
|
import { RemoveScrollSideCar } from './SideEffect.js';
|
|
5
5
|
import { effectCar } from './medium.js';
|
|
6
6
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidecar.js","sources":["../../../../../../../../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"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":[],"mappings":";;;;;;AAGA,cAAe,aAAa,CAAC,SAAS,EAAE,mBAAmB,CAAC;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../../../../../../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"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA;AACA;AACA;AACA;AACU,IAAC,cAAc,GAAG,YAAY;AACxC,IAAI,IAAI,QAAQ,GAAG,kBAAkB,EAAE,CAAC;AACxC,IAAI,IAAI,KAAK,GAAG,UAAU,EAAE,EAAE;AAC9B,QAAQ,IAAI,MAAM,GAAG,EAAE,CAAC,MAAM,EAAE,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC;AACrD,QAAQ,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAClC,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK,CAAC;AACN,IAAI,OAAO,KAAK,CAAC;AACjB;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.js","sources":["../../../../../../../../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"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":[],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACU,IAAC,kBAAkB,GAAG,YAAY;AAC5C,IAAI,IAAI,KAAK,GAAG,mBAAmB,EAAE,CAAC;AACtC,IAAI,OAAO,UAAU,MAAM,EAAE,SAAS,EAAE;AACxC,QAAQ,KAAK,CAAC,SAAS,CAAC,YAAY;AACpC,YAAY,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC9B,YAAY,OAAO,YAAY;AAC/B,gBAAgB,KAAK,CAAC,MAAM,EAAE,CAAC;AAC/B,aAAa,CAAC;AACd,SAAS,EAAE,CAAC,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC;AAClC,KAAK,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"singleton.js","sources":["../../../../../../../../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"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":[],"mappings":";;AACA,SAAS,YAAY,GAAG;AACxB,IAAI,IAAI,CAAC,QAAQ;AACjB,QAAQ,OAAO,IAAI,CAAC;AACpB,IAAI,IAAI,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;AAC9C,IAAI,GAAG,CAAC,IAAI,GAAG,UAAU,CAAC;AAC1B,IAAI,IAAI,KAAK,GAAG,QAAQ,E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