@anoki/fse-ui 1.10.1-RC2.15 → 1.10.1-RC2.16.1
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/index.cjs113.js +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs462.js +1 -27
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +2 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -2
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +27 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +2 -0
- package/dist/index.cjs478.js.map +1 -0
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/{index.cjs489.js → index.cjs499.js} +2 -2
- package/dist/{index.cjs489.js.map → index.cjs499.js.map} +1 -1
- package/dist/{index.cjs490.js → index.cjs500.js} +2 -2
- package/dist/{index.cjs490.js.map → index.cjs500.js.map} +1 -1
- package/dist/{index.cjs491.js → index.cjs501.js} +1 -1
- package/dist/{index.cjs491.js.map → index.cjs501.js.map} +1 -1
- package/dist/{index.cjs492.js → index.cjs502.js} +2 -2
- package/dist/{index.cjs492.js.map → index.cjs502.js.map} +1 -1
- package/dist/{index.cjs493.js → index.cjs503.js} +1 -1
- package/dist/{index.cjs493.js.map → index.cjs503.js.map} +1 -1
- package/dist/{index.cjs494.js → index.cjs504.js} +2 -2
- package/dist/{index.cjs494.js.map → index.cjs504.js.map} +1 -1
- package/dist/index.cjs508.js +2 -0
- package/dist/index.cjs508.js.map +1 -0
- package/dist/{index.cjs513.js → index.cjs511.js} +2 -2
- package/dist/{index.cjs513.js.map → index.cjs511.js.map} +1 -1
- package/dist/{index.cjs514.js → index.cjs512.js} +1 -1
- package/dist/index.cjs512.js.map +1 -0
- package/dist/{index.cjs519.js → index.cjs516.js} +1 -1
- package/dist/index.cjs516.js.map +1 -0
- package/dist/{index.cjs522.js → index.cjs517.js} +1 -1
- package/dist/index.cjs517.js.map +1 -0
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +2 -0
- package/dist/index.cjs524.js.map +1 -0
- package/dist/index.cjs525.js +2 -0
- package/dist/index.cjs525.js.map +1 -0
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs662.js +38 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -38
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs664.js +1 -1
- package/dist/index.cjs664.js.map +1 -1
- package/dist/index.cjs665.js +1 -1
- package/dist/index.cjs665.js.map +1 -1
- package/dist/index.cjs666.js +1 -1
- package/dist/index.cjs666.js.map +1 -1
- package/dist/index.cjs667.js +1 -1
- package/dist/index.cjs667.js.map +1 -1
- package/dist/index.cjs668.js +1 -1
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs670.js +1 -1
- package/dist/index.cjs670.js.map +1 -1
- package/dist/index.es113.js +1 -0
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es137.js +11 -10
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es207.js +12 -12
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es258.js +2 -2
- package/dist/index.es264.js +3 -3
- package/dist/index.es265.js +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +2 -2
- package/dist/index.es297.js +7 -7
- package/dist/index.es302.js +1 -1
- package/dist/index.es310.js +5 -5
- package/dist/index.es321.js +1 -1
- package/dist/index.es328.js +13 -13
- package/dist/index.es359.js +5 -5
- package/dist/index.es377.js +6 -6
- package/dist/index.es378.js +2 -2
- package/dist/index.es400.js +4 -4
- package/dist/index.es406.js +1 -1
- package/dist/index.es418.js +8 -8
- package/dist/index.es437.js +1 -1
- package/dist/index.es449.js +1 -1
- package/dist/index.es460.js +1 -1
- package/dist/index.es461.js +1 -1
- package/dist/index.es462.js +5 -3674
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +520 -5
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +2032 -2
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +59 -5
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +185 -517
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +3664 -2021
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +5 -59
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +2 -189
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +15 -7
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es473.js +6 -29
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +26 -32
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +63 -617
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +29 -10
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +33 -15
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +625 -0
- package/dist/index.es478.js.map +1 -0
- package/dist/index.es479.js +14 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es481.js +1 -1
- package/dist/index.es482.js +2 -2
- package/dist/index.es498.js +124 -14
- package/dist/index.es498.js.map +1 -1
- package/dist/{index.es489.js → index.es499.js} +3 -3
- package/dist/{index.es489.js.map → index.es499.js.map} +1 -1
- package/dist/{index.es490.js → index.es500.js} +3 -3
- package/dist/{index.es490.js.map → index.es500.js.map} +1 -1
- package/dist/{index.es491.js → index.es501.js} +1 -1
- package/dist/{index.es491.js.map → index.es501.js.map} +1 -1
- package/dist/{index.es492.js → index.es502.js} +4 -4
- package/dist/{index.es492.js.map → index.es502.js.map} +1 -1
- package/dist/{index.es493.js → index.es503.js} +1 -1
- package/dist/{index.es493.js.map → index.es503.js.map} +1 -1
- package/dist/{index.es494.js → index.es504.js} +2 -2
- package/dist/{index.es494.js.map → index.es504.js.map} +1 -1
- package/dist/index.es508.js +18 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/{index.es513.js → index.es511.js} +3 -3
- package/dist/{index.es513.js.map → index.es511.js.map} +1 -1
- package/dist/{index.es514.js → index.es512.js} +1 -1
- package/dist/index.es512.js.map +1 -0
- package/dist/{index.es519.js → index.es516.js} +1 -1
- package/dist/index.es516.js.map +1 -0
- package/dist/index.es517.js +5 -0
- package/dist/index.es517.js.map +1 -0
- package/dist/index.es520.js +4 -53
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es523.js +21 -2
- package/dist/index.es523.js.map +1 -1
- package/dist/{index.es522.js → index.es524.js} +1 -1
- package/dist/index.es524.js.map +1 -0
- package/dist/index.es525.js +57 -0
- package/dist/index.es525.js.map +1 -0
- package/dist/index.es526.js +202 -4
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +8 -131
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +1 -1
- package/dist/index.es529.js +3 -9
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +131 -2
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es532.js +4 -46
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +45 -13
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +12 -216
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +203 -163
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +177 -3
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es538.js +1 -1
- package/dist/index.es576.js +202 -22
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +20 -27
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +393 -5
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +22 -202
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es580.js +27 -20
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +5 -393
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +5 -83
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +16 -5
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +12 -15
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +36 -13
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +5 -36
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +2 -5
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +3 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +7 -3
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +6 -7
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +5 -6
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +32 -5
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +242 -32
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +4 -242
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +5 -4
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +9 -4
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +55 -9
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +7 -55
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +5 -7
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +532 -5
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +13 -532
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +2 -14
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +37 -2
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -37
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +273 -2
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +3 -273
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +30 -3
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +81 -28
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es645.js +1 -1
- package/dist/index.es647.js +5 -5
- package/dist/index.es648.js +1 -1
- package/dist/index.es662.js +69 -65
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +8 -68
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +14 -9
- package/dist/index.es664.js.map +1 -1
- package/dist/index.es665.js +62 -14
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +64 -61
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +522 -3
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es668.js +113 -509
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +123 -121
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es670.js +3 -128
- package/dist/index.es670.js.map +1 -1
- package/package.json +5 -4
- package/dist/index.cjs471.js +0 -2
- package/dist/index.cjs471.js.map +0 -1
- package/dist/index.cjs472.js +0 -2
- package/dist/index.cjs472.js.map +0 -1
- package/dist/index.cjs488.js +0 -2
- package/dist/index.cjs488.js.map +0 -1
- package/dist/index.cjs514.js.map +0 -1
- package/dist/index.cjs518.js +0 -2
- package/dist/index.cjs518.js.map +0 -1
- package/dist/index.cjs519.js.map +0 -1
- package/dist/index.cjs521.js +0 -2
- package/dist/index.cjs521.js.map +0 -1
- package/dist/index.cjs522.js.map +0 -1
- package/dist/index.es471.js +0 -30
- package/dist/index.es471.js.map +0 -1
- package/dist/index.es472.js +0 -71
- package/dist/index.es472.js.map +0 -1
- package/dist/index.es488.js +0 -128
- package/dist/index.es488.js.map +0 -1
- package/dist/index.es514.js.map +0 -1
- package/dist/index.es518.js +0 -24
- package/dist/index.es518.js.map +0 -1
- package/dist/index.es519.js.map +0 -1
- package/dist/index.es521.js +0 -206
- package/dist/index.es521.js.map +0 -1
- package/dist/index.es522.js.map +0 -1
package/dist/index.es608.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es608.js","sources":["../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// packages/react/visually-hidden/src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: {\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\",\n ...props.style\n }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,kBACPC,IAAiBC,EAAM;AAAA,EACzB,CAACC,GAAOC,MACiBC,gBAAAA,EAAG;AAAA,IACxBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGH;AAAA,MACH,KAAKC;AAAA,MACL,OAAO;AAAA;AAAA,QAEL,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,GAAGD,EAAM;AAAA,MACnB;AAAA,IACA;AAAA,EACK;AAEL;AACAF,EAAe,cAAcD;AAC1B,IAACO,IAAON;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es608.js","sources":["../node_modules/lodash.debounce/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n"],"names":["FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectProto","objectToString","nativeMax","nativeMin","now","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","value","type","isObjectLike","isSymbol","other","isBinary","lodash_debounce"],"mappings":";;;;;AAUA,MAAIA,IAAkB,uBAGlBC,IAAM,KAGNC,IAAY,mBAGZC,IAAS,cAGTC,IAAa,sBAGbC,IAAa,cAGbC,IAAY,eAGZC,IAAe,UAGfC,IAAa,OAAOC,KAAU,YAAYA,KAAUA,EAAO,WAAW,UAAUA,GAGhFC,IAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU,MAGxEC,IAAOH,KAAcE,KAAY,SAAS,aAAa,EAAG,GAG1DE,IAAc,OAAO,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AOA,KAAS;AAClB,aAAOA;AAET,QAAIG,EAASH,CAAK;AAChB,aAAO/C;AAET,QAAI+B,EAASgB,CAAK,GAAG;AACnB,UAAII,IAAQ,OAAOJ,EAAM,WAAW,aAAaA,EAAM,QAAO,IAAKA;AACnE,MAAAA,IAAQhB,EAASoB,CAAK,IAAKA,IAAQ,KAAMA;AAAA,IAC7C;AACE,QAAI,OAAOJ,KAAS;AAClB,aAAOA,MAAU,IAAIA,IAAQ,CAACA;AAEhC,IAAAA,IAAQA,EAAM,QAAQ7C,GAAQ,EAAE;AAChC,QAAIkD,IAAWhD,EAAW,KAAK2C,CAAK;AACpC,WAAQK,KAAY/C,EAAU,KAAK0C,CAAK,IACpCzC,EAAayC,EAAM,MAAM,CAAC,GAAGK,IAAW,IAAI,CAAC,IAC5CjD,EAAW,KAAK4C,CAAK,IAAI/C,IAAM,CAAC+C;AAAA,EACvC;AAEA,SAAAM,IAAiBrC;;","x_google_ignoreList":[0]}
|
package/dist/index.es645.js
CHANGED
package/dist/index.es647.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { __spreadArray as x } from "./index.
|
1
|
+
import { __spreadArray as x } from "./index.es579.js";
|
2
2
|
import * as n from "react";
|
3
|
-
import { RemoveScrollBar as A } from "./index.
|
4
|
-
import { styleSingleton as I } from "./index.
|
5
|
-
import { nonPassive as s } from "./index.
|
6
|
-
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.
|
3
|
+
import { RemoveScrollBar as A } from "./index.es662.js";
|
4
|
+
import { styleSingleton as I } from "./index.es663.js";
|
5
|
+
import { nonPassive as s } from "./index.es664.js";
|
6
|
+
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es665.js";
|
7
7
|
var b = function(t) {
|
8
8
|
return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
|
9
9
|
}, Y = function(t) {
|
package/dist/index.es648.js
CHANGED
package/dist/index.es662.js
CHANGED
@@ -1,68 +1,72 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
}
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
var
|
63
|
-
|
64
|
-
}
|
1
|
+
import * as d from "react";
|
2
|
+
import { styleSingleton as f } from "./index.es663.js";
|
3
|
+
import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index.es644.js";
|
4
|
+
import { getGapWidth as m } from "./index.es675.js";
|
5
|
+
var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
|
6
|
+
var r = n.left, i = n.top, s = n.right, c = n.gap;
|
7
|
+
return o === void 0 && (o = "margin"), `
|
8
|
+
.`.concat(p, ` {
|
9
|
+
overflow: hidden `).concat(t, `;
|
10
|
+
padding-right: `).concat(c, "px ").concat(t, `;
|
11
|
+
}
|
12
|
+
body[`).concat(e, `] {
|
13
|
+
overflow: hidden `).concat(t, `;
|
14
|
+
overscroll-behavior: contain;
|
15
|
+
`).concat([
|
16
|
+
a && "position: relative ".concat(t, ";"),
|
17
|
+
o === "margin" && `
|
18
|
+
padding-left: `.concat(r, `px;
|
19
|
+
padding-top: `).concat(i, `px;
|
20
|
+
padding-right: `).concat(s, `px;
|
21
|
+
margin-left:0;
|
22
|
+
margin-top:0;
|
23
|
+
margin-right: `).concat(c, "px ").concat(t, `;
|
24
|
+
`),
|
25
|
+
o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
|
26
|
+
].filter(Boolean).join(""), `
|
27
|
+
}
|
28
|
+
|
29
|
+
.`).concat(g, ` {
|
30
|
+
right: `).concat(c, "px ").concat(t, `;
|
31
|
+
}
|
32
|
+
|
33
|
+
.`).concat(l, ` {
|
34
|
+
margin-right: `).concat(c, "px ").concat(t, `;
|
35
|
+
}
|
36
|
+
|
37
|
+
.`).concat(g, " .").concat(g, ` {
|
38
|
+
right: 0 `).concat(t, `;
|
39
|
+
}
|
40
|
+
|
41
|
+
.`).concat(l, " .").concat(l, ` {
|
42
|
+
margin-right: 0 `).concat(t, `;
|
43
|
+
}
|
44
|
+
|
45
|
+
body[`).concat(e, `] {
|
46
|
+
`).concat(v, ": ").concat(c, `px;
|
47
|
+
}
|
48
|
+
`);
|
49
|
+
}, u = function() {
|
50
|
+
var n = parseInt(document.body.getAttribute(e) || "0", 10);
|
51
|
+
return isFinite(n) ? n : 0;
|
52
|
+
}, x = function() {
|
53
|
+
d.useEffect(function() {
|
54
|
+
return document.body.setAttribute(e, (u() + 1).toString()), function() {
|
55
|
+
var n = u() - 1;
|
56
|
+
n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
|
57
|
+
};
|
58
|
+
}, []);
|
59
|
+
}, C = function(n) {
|
60
|
+
var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
|
61
|
+
x();
|
62
|
+
var i = d.useMemo(function() {
|
63
|
+
return m(r);
|
64
|
+
}, [r]);
|
65
|
+
return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
|
66
|
+
};
|
65
67
|
export {
|
66
|
-
|
68
|
+
C as RemoveScrollBar,
|
69
|
+
e as lockAttribute,
|
70
|
+
x as useLockAttribute
|
67
71
|
};
|
68
72
|
//# sourceMappingURL=index.es662.js.map
|
package/dist/index.es662.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es662.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es662.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":";;;;AAIA,IAAIA,IAAQC,EAAgB,GACjBC,IAAgB,sBAIvBC,IAAY,SAAUC,GAAIC,GAAeC,GAASC,GAAW;AAC7D,MAAIC,IAAOJ,EAAG,MAAMK,IAAML,EAAG,KAAKM,IAAQN,EAAG,OAAOO,IAAMP,EAAG;AAC7D,SAAIE,MAAY,WAAUA,IAAU,WAC7B;AAAA,KAAQ,OAAOM,GAAuB;AAAA,qBAA0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,IAAIA,IAAU;AACzC,GACWC,IAAmB,WAAY;AACtC,EAAAC,EAAM,UAAU,WAAY;AACxB,oBAAS,KAAK,aAAajB,IAAgBc,MAAyB,GAAG,UAAU,GAC1E,WAAY;AACf,UAAII,IAAaJ,EAAoB,IAAK;AAC1C,MAAII,KAAc,IACd,SAAS,KAAK,gBAAgBlB,CAAa,IAG3C,SAAS,KAAK,aAAaA,GAAekB,EAAW,SAAQ,CAAE;AAAA,IAEtE;AAAA,EACJ,GAAE,EAAE;AACT,GAIWC,IAAkB,SAAUjB,GAAI;AACvC,MAAIkB,IAAalB,EAAG,YAAYmB,IAAcnB,EAAG,aAAaoB,IAAKpB,EAAG,SAASE,IAAUkB,MAAO,SAAS,WAAWA;AACpH,EAAAN,EAAkB;AAMlB,MAAIP,IAAMQ,EAAM,QAAQ,WAAY;AAAE,WAAOM,EAAYnB,CAAO;AAAA,EAAE,GAAI,CAACA,CAAO,CAAC;AAC/E,SAAOa,EAAM,cAAcnB,GAAO,EAAE,QAAQG,EAAUQ,GAAK,CAACW,GAAYhB,GAAUiB,IAA6B,KAAf,YAAiB,EAAC,CAAE;AACxH;","x_google_ignoreList":[0]}
|
package/dist/index.es663.js
CHANGED
@@ -1,72 +1,12 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
return
|
8
|
-
.`.concat(p, ` {
|
9
|
-
overflow: hidden `).concat(t, `;
|
10
|
-
padding-right: `).concat(c, "px ").concat(t, `;
|
11
|
-
}
|
12
|
-
body[`).concat(e, `] {
|
13
|
-
overflow: hidden `).concat(t, `;
|
14
|
-
overscroll-behavior: contain;
|
15
|
-
`).concat([
|
16
|
-
a && "position: relative ".concat(t, ";"),
|
17
|
-
o === "margin" && `
|
18
|
-
padding-left: `.concat(r, `px;
|
19
|
-
padding-top: `).concat(i, `px;
|
20
|
-
padding-right: `).concat(s, `px;
|
21
|
-
margin-left:0;
|
22
|
-
margin-top:0;
|
23
|
-
margin-right: `).concat(c, "px ").concat(t, `;
|
24
|
-
`),
|
25
|
-
o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
|
26
|
-
].filter(Boolean).join(""), `
|
27
|
-
}
|
28
|
-
|
29
|
-
.`).concat(g, ` {
|
30
|
-
right: `).concat(c, "px ").concat(t, `;
|
31
|
-
}
|
32
|
-
|
33
|
-
.`).concat(l, ` {
|
34
|
-
margin-right: `).concat(c, "px ").concat(t, `;
|
35
|
-
}
|
36
|
-
|
37
|
-
.`).concat(g, " .").concat(g, ` {
|
38
|
-
right: 0 `).concat(t, `;
|
39
|
-
}
|
40
|
-
|
41
|
-
.`).concat(l, " .").concat(l, ` {
|
42
|
-
margin-right: 0 `).concat(t, `;
|
43
|
-
}
|
44
|
-
|
45
|
-
body[`).concat(e, `] {
|
46
|
-
`).concat(v, ": ").concat(c, `px;
|
47
|
-
}
|
48
|
-
`);
|
49
|
-
}, u = function() {
|
50
|
-
var n = parseInt(document.body.getAttribute(e) || "0", 10);
|
51
|
-
return isFinite(n) ? n : 0;
|
52
|
-
}, x = function() {
|
53
|
-
d.useEffect(function() {
|
54
|
-
return document.body.setAttribute(e, (u() + 1).toString()), function() {
|
55
|
-
var n = u() - 1;
|
56
|
-
n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
|
57
|
-
};
|
58
|
-
}, []);
|
59
|
-
}, C = function(n) {
|
60
|
-
var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
|
61
|
-
x();
|
62
|
-
var i = d.useMemo(function() {
|
63
|
-
return m(r);
|
64
|
-
}, [r]);
|
65
|
-
return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
|
1
|
+
import { styleHookSingleton as o } from "./index.es676.js";
|
2
|
+
var s = function() {
|
3
|
+
var e = o(), n = function(t) {
|
4
|
+
var r = t.styles, l = t.dynamic;
|
5
|
+
return e(r, l), null;
|
6
|
+
};
|
7
|
+
return n;
|
66
8
|
};
|
67
9
|
export {
|
68
|
-
|
69
|
-
e as lockAttribute,
|
70
|
-
x as useLockAttribute
|
10
|
+
s as styleSingleton
|
71
11
|
};
|
72
12
|
//# sourceMappingURL=index.es663.js.map
|
package/dist/index.es663.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es663.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es663.js","sources":["../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":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAoB,GAC/BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACV;AACD,SAAOH;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es664.js
CHANGED
@@ -1,12 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
var
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
};
|
1
|
+
var r = !1;
|
2
|
+
if (typeof window < "u")
|
3
|
+
try {
|
4
|
+
var e = Object.defineProperty({}, "passive", {
|
5
|
+
get: function() {
|
6
|
+
return r = !0, !0;
|
7
|
+
}
|
8
|
+
});
|
9
|
+
window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
|
10
|
+
} catch {
|
11
|
+
r = !1;
|
12
|
+
}
|
13
|
+
var a = r ? { passive: !1 } : !1;
|
9
14
|
export {
|
10
|
-
|
15
|
+
a as nonPassive
|
11
16
|
};
|
12
17
|
//# sourceMappingURL=index.es664.js.map
|
package/dist/index.es664.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es664.js","sources":["../node_modules/react-
|
1
|
+
{"version":3,"file":"index.es664.js","sources":["../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":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACV;AAAA,IACb,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EAC3D,QACgB;AACR,IAAAD,IAAmB;AAAA,EAC3B;AAEU,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
|
package/dist/index.es665.js
CHANGED
@@ -1,17 +1,65 @@
|
|
1
|
-
var
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
1
|
+
var p = function(e) {
|
2
|
+
return e.tagName === "TEXTAREA";
|
3
|
+
}, w = function(e, r) {
|
4
|
+
if (!(e instanceof Element))
|
5
|
+
return !1;
|
6
|
+
var o = window.getComputedStyle(e);
|
7
|
+
return (
|
8
|
+
// not-not-scrollable
|
9
|
+
o[r] !== "hidden" && // contains scroll inside self
|
10
|
+
!(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
|
11
|
+
);
|
12
|
+
}, y = function(e) {
|
13
|
+
return w(e, "overflowY");
|
14
|
+
}, H = function(e) {
|
15
|
+
return w(e, "overflowX");
|
16
|
+
}, R = function(e, r) {
|
17
|
+
var o = r.ownerDocument, t = r;
|
18
|
+
do {
|
19
|
+
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
20
|
+
var v = g(e, t);
|
21
|
+
if (v) {
|
22
|
+
var n = b(e, t), a = n[1], l = n[2];
|
23
|
+
if (a > l)
|
24
|
+
return !0;
|
25
|
+
}
|
26
|
+
t = t.parentNode;
|
27
|
+
} while (t && t !== o.body);
|
28
|
+
return !1;
|
29
|
+
}, B = function(e) {
|
30
|
+
var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
|
31
|
+
return [
|
32
|
+
r,
|
33
|
+
o,
|
34
|
+
t
|
35
|
+
];
|
36
|
+
}, V = function(e) {
|
37
|
+
var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
|
38
|
+
return [
|
39
|
+
r,
|
40
|
+
o,
|
41
|
+
t
|
42
|
+
];
|
43
|
+
}, g = function(e, r) {
|
44
|
+
return e === "v" ? y(r) : H(r);
|
45
|
+
}, b = function(e, r) {
|
46
|
+
return e === "v" ? B(r) : V(r);
|
47
|
+
}, D = function(e, r) {
|
48
|
+
return e === "h" && r === "rtl" ? -1 : 1;
|
49
|
+
}, W = function(e, r, o, t, v) {
|
50
|
+
var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
|
51
|
+
do {
|
52
|
+
var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
|
53
|
+
(u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
|
54
|
+
} while (
|
55
|
+
// portaled content
|
56
|
+
!f && l !== document.body || // self content
|
57
|
+
f && (r.contains(l) || r === l)
|
58
|
+
);
|
59
|
+
return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
|
60
|
+
};
|
14
61
|
export {
|
15
|
-
|
62
|
+
W as handleScroll,
|
63
|
+
R as locationCouldBeScrolled
|
16
64
|
};
|
17
65
|
//# sourceMappingURL=index.es665.js.map
|
package/dist/index.es665.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es665.js","sources":["../node_modules/react-remove-scroll/dist/es2015/
|
1
|
+
{"version":3,"file":"index.es665.js","sources":["../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 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 if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\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":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"AAAA,IAAIA,IAAuB,SAAUC,GAAM;AAEvC,SAAOA,EAAK,YAAY;AAC5B,GACIC,IAAuB,SAAUD,GAAME,GAAU;AACjD,MAAI,EAAEF,aAAgB;AAClB,WAAO;AAEX,MAAIG,IAAS,OAAO,iBAAiBH,CAAI;AACzC;AAAA;AAAA,IAEAG,EAAOD,CAAQ,MAAM;AAAA,IAEjB,EAAEC,EAAO,cAAcA,EAAO,aAAa,CAACJ,EAAqBC,CAAI,KAAKG,EAAOD,CAAQ,MAAM;AAAA;AACvG,GACIE,IAA0B,SAAUJ,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAI,GAC7FK,IAA0B,SAAUL,GAAM;AAAE,SAAOC,EAAqBD,GAAM,WAAW;AAAI,GACtFM,IAA0B,SAAUC,GAAMP,GAAM;AACvD,MAAIQ,IAAgBR,EAAK,eACrBS,IAAUT;AACd,KAAG;AAEC,IAAI,OAAO,aAAe,OAAeS,aAAmB,eACxDA,IAAUA,EAAQ;AAEtB,QAAIC,IAAeC,EAAuBJ,GAAME,CAAO;AACvD,QAAIC,GAAc;AACd,UAAIE,IAAKC,EAAmBN,GAAME,CAAO,GAAGK,IAAeF,EAAG,CAAC,GAAGG,IAAeH,EAAG,CAAC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