@anoki/fse-ui 1.0.0-beta1.48.10 → 1.0.0-beta1.48.12
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/components/ui/CommunicationSeach/CommunicationSearch.css +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/{index.cjs467.js → index.cjs464.js} +2 -2
- package/dist/{index.cjs467.js.map → index.cjs464.js.map} +1 -1
- package/dist/{index.cjs468.js → index.cjs465.js} +2 -2
- package/dist/{index.cjs468.js.map → index.cjs465.js.map} +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.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.cjs472.js → index.cjs477.js} +2 -2
- package/dist/{index.cjs472.js.map → index.cjs477.js.map} +1 -1
- package/dist/{index.cjs473.js → index.cjs478.js} +1 -1
- package/dist/{index.cjs473.js.map → index.cjs478.js.map} +1 -1
- package/dist/{index.cjs474.js → index.cjs479.js} +1 -1
- package/dist/{index.cjs474.js.map → index.cjs479.js.map} +1 -1
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- package/dist/index.cjs481.js +2 -0
- package/dist/index.cjs481.js.map +1 -0
- package/dist/{index.cjs487.js → index.cjs485.js} +1 -1
- package/dist/index.cjs485.js.map +1 -0
- package/dist/{index.cjs488.js → index.cjs486.js} +1 -1
- package/dist/index.cjs486.js.map +1 -0
- package/dist/{index.cjs497.js → index.cjs489.js} +1 -1
- package/dist/{index.cjs497.js.map → index.cjs489.js.map} +1 -1
- package/dist/{index.cjs498.js → index.cjs490.js} +2 -2
- package/dist/{index.cjs498.js.map → index.cjs490.js.map} +1 -1
- package/dist/{index.cjs499.js → index.cjs491.js} +1 -1
- package/dist/{index.cjs499.js.map → index.cjs491.js.map} +1 -1
- package/dist/{index.cjs500.js → index.cjs492.js} +2 -2
- package/dist/{index.cjs500.js.map → index.cjs492.js.map} +1 -1
- package/dist/{index.cjs501.js → index.cjs493.js} +2 -2
- package/dist/{index.cjs501.js.map → index.cjs493.js.map} +1 -1
- package/dist/{index.cjs502.js → index.cjs494.js} +1 -1
- package/dist/{index.cjs502.js.map → index.cjs494.js.map} +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -38
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- 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.cjs528.js.map +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.cjs531.js +1 -1
- package/dist/index.cjs531.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.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +38 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +5 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -5
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/{index.cjs578.js → index.cjs567.js} +1 -1
- package/dist/{index.cjs578.js.map → index.cjs567.js.map} +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +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.cjs582.js +2 -0
- package/dist/index.cjs582.js.map +1 -0
- package/dist/index.cjs583.js +2 -0
- package/dist/index.cjs583.js.map +1 -0
- package/dist/{index.cjs574.js → index.cjs584.js} +2 -2
- package/dist/{index.cjs574.js.map → index.cjs584.js.map} +1 -1
- package/dist/index.cjs585.js +2 -0
- package/dist/index.cjs585.js.map +1 -0
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -27
- 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 -2
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +27 -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 +2 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.es269.js +1 -1
- package/dist/index.es27.js +45 -44
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es277.js +3 -3
- package/dist/index.es295.js +8 -8
- package/dist/index.es302.js +1 -1
- package/dist/index.es307.js +1 -1
- package/dist/index.es318.js +1 -1
- package/dist/index.es326.js +2 -2
- package/dist/index.es345.js +6 -6
- package/dist/index.es346.js +2 -2
- package/dist/index.es368.js +1 -1
- package/dist/index.es374.js +1 -1
- package/dist/index.es386.js +8 -8
- package/dist/index.es402.js +3 -3
- package/dist/index.es403.js +2 -2
- package/dist/index.es404.js +3 -3
- package/dist/index.es414.js +1 -1
- package/dist/index.es422.js +1 -1
- package/dist/index.es431.js +1 -1
- package/dist/index.es438.js +1 -1
- package/dist/index.es443.js +3 -3
- package/dist/index.es453.js +1 -1
- package/dist/index.es454.js +1 -1
- package/dist/index.es458.js +1 -1
- package/dist/index.es459.js +1 -1
- package/dist/index.es460.js +13 -13
- package/dist/index.es461.js +1 -1
- package/dist/index.es463.js +6 -15
- package/dist/index.es463.js.map +1 -1
- package/dist/{index.es467.js → index.es464.js} +2 -2
- package/dist/{index.es467.js.map → index.es464.js.map} +1 -1
- package/dist/{index.es468.js → index.es465.js} +2 -2
- package/dist/{index.es468.js.map → index.es465.js.map} +1 -1
- package/dist/index.es466.js +15 -6
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es475.js +122 -47
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +129 -50
- package/dist/index.es476.js.map +1 -1
- package/dist/{index.es472.js → index.es477.js} +2 -2
- package/dist/{index.es472.js.map → index.es477.js.map} +1 -1
- package/dist/{index.es473.js → index.es478.js} +1 -1
- package/dist/{index.es473.js.map → index.es478.js.map} +1 -1
- package/dist/{index.es474.js → index.es479.js} +1 -1
- package/dist/{index.es474.js.map → index.es479.js.map} +1 -1
- package/dist/index.es480.js +53 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +59 -0
- package/dist/index.es481.js.map +1 -0
- package/dist/{index.es487.js → index.es485.js} +1 -1
- package/dist/index.es485.js.map +1 -0
- package/dist/{index.es488.js → index.es486.js} +1 -1
- package/dist/index.es486.js.map +1 -0
- package/dist/{index.es497.js → index.es489.js} +1 -1
- package/dist/{index.es497.js.map → index.es489.js.map} +1 -1
- package/dist/{index.es498.js → index.es490.js} +2 -2
- package/dist/{index.es498.js.map → index.es490.js.map} +1 -1
- package/dist/{index.es499.js → index.es491.js} +1 -1
- package/dist/{index.es499.js.map → index.es491.js.map} +1 -1
- package/dist/{index.es500.js → index.es492.js} +4 -4
- package/dist/{index.es500.js.map → index.es492.js.map} +1 -1
- package/dist/{index.es501.js → index.es493.js} +4 -4
- package/dist/{index.es501.js.map → index.es493.js.map} +1 -1
- package/dist/{index.es502.js → index.es494.js} +1 -1
- package/dist/{index.es502.js.map → index.es494.js.map} +1 -1
- package/dist/index.es503.js +1 -1
- package/dist/index.es512.js +1 -1
- package/dist/index.es513.js +2 -2
- package/dist/index.es514.js +4 -4
- package/dist/index.es519.js +5 -65
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +16 -69
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +13 -9
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +34 -12
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +5 -62
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +2 -5
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +3 -16
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +7 -13
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +6 -36
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +5 -5
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +32 -2
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +242 -3
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +4 -7
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +5 -6
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +10 -5
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +56 -32
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +7 -241
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +6 -4
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +532 -4
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +14 -10
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +2 -56
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +36 -7
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +2 -6
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +248 -508
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +3 -14
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +30 -2
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +64 -36
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +69 -2
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +8 -272
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +14 -3
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +61 -29
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +39 -3
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +2 -23
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +4 -39
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +2 -2
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +2 -5
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +2 -2
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +6 -2
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +16 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +2 -6
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +2 -16
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +3 -2
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +2 -2
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +4 -3
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +4 -2
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +22 -3
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +3 -73
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +3 -2
- package/dist/index.es566.js.map +1 -1
- package/dist/{index.es578.js → index.es567.js} +1 -1
- package/dist/{index.es578.js.map → index.es567.js.map} +1 -1
- package/dist/index.es572.js +74 -23
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +2 -4
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es575.js +2028 -24
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +59 -4
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +189 -3
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es582.js +8 -0
- package/dist/index.es582.js.map +1 -0
- package/dist/index.es583.js +26 -0
- package/dist/index.es583.js.map +1 -0
- package/dist/{index.es574.js → index.es584.js} +2 -2
- package/dist/{index.es574.js.map → index.es584.js.map} +1 -1
- package/dist/index.es585.js +31 -0
- package/dist/index.es585.js.map +1 -0
- package/dist/index.es586.js +5 -5
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +9 -3674
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +178 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +3 -5
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +122 -510
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +3674 -9
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +2 -178
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +5 -3
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +510 -122
- package/dist/index.es594.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs470.js +0 -2
- package/dist/index.cjs470.js.map +0 -1
- package/dist/index.cjs471.js +0 -2
- package/dist/index.cjs471.js.map +0 -1
- package/dist/index.cjs487.js.map +0 -1
- package/dist/index.cjs488.js.map +0 -1
- package/dist/index.cjs579.js +0 -2
- package/dist/index.cjs579.js.map +0 -1
- package/dist/index.cjs580.js +0 -2
- package/dist/index.cjs580.js.map +0 -1
- package/dist/index.cjs581.js +0 -2
- package/dist/index.cjs581.js.map +0 -1
- package/dist/index.es470.js +0 -128
- package/dist/index.es470.js.map +0 -1
- package/dist/index.es471.js +0 -138
- package/dist/index.es471.js.map +0 -1
- package/dist/index.es487.js.map +0 -1
- package/dist/index.es488.js.map +0 -1
- package/dist/index.es579.js +0 -2035
- package/dist/index.es579.js.map +0 -1
- package/dist/index.es580.js +0 -63
- package/dist/index.es580.js.map +0 -1
- package/dist/index.es581.js +0 -192
- package/dist/index.es581.js.map +0 -1
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.es307.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es243.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
4
4
|
export {
|
5
5
|
s as DoctorModalFooter
|
package/dist/index.es318.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es243.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
3
3
|
const s = ({
|
4
4
|
children: o
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es326.js
CHANGED
@@ -3,8 +3,8 @@ import { composeEventHandlers as T } from "./index.es455.js";
|
|
3
3
|
import { useComposedRefs as _ } from "./index.es456.js";
|
4
4
|
import { createContextScope as H } from "./index.es457.js";
|
5
5
|
import { useControllableState as I } from "./index.es458.js";
|
6
|
-
import { usePrevious as M } from "./index.
|
7
|
-
import { useSize as N } from "./index.
|
6
|
+
import { usePrevious as M } from "./index.es463.js";
|
7
|
+
import { useSize as N } from "./index.es464.js";
|
8
8
|
import { Primitive as w } from "./index.es459.js";
|
9
9
|
import { j as p } from "./index.es243.js";
|
10
10
|
var S = "Switch", [B, J] = H(S), [q, z] = B(S), C = s.forwardRef(
|
package/dist/index.es345.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import * as e from "react";
|
2
|
-
import c from "./index.
|
3
|
-
import { extractProps as i } from "./index.
|
4
|
-
import { requireReactElement as a } from "./index.
|
5
|
-
import { popoverContentPropDefs as l } from "./index.
|
6
|
-
import { Theme as f } from "./index.
|
7
|
-
import { Root as p, Trigger as d, Portal as C, Content as P, Close as h, Anchor as R } from "./index.
|
2
|
+
import c from "./index.es519.js";
|
3
|
+
import { extractProps as i } from "./index.es522.js";
|
4
|
+
import { requireReactElement as a } from "./index.es527.js";
|
5
|
+
import { popoverContentPropDefs as l } from "./index.es528.js";
|
6
|
+
import { Theme as f } from "./index.es529.js";
|
7
|
+
import { Root as p, Trigger as d, Portal as C, Content as P, Close as h, Anchor as R } from "./index.es530.js";
|
8
8
|
const v = (r) => e.createElement(p, { ...r });
|
9
9
|
v.displayName = "Popover.Root";
|
10
10
|
const g = e.forwardRef(({ children: r, ...o }, t) => e.createElement(d, { ...o, ref: t, asChild: !0 }, a(r)));
|
package/dist/index.es346.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as t from "react";
|
2
|
-
import r from "./index.
|
3
|
-
import { BaseButton as m } from "./index.
|
2
|
+
import r from "./index.es519.js";
|
3
|
+
import { BaseButton as m } from "./index.es520.js";
|
4
4
|
const s = t.forwardRef(({ className: o, ...a }, e) => t.createElement(m, { ...a, ref: e, className: r("rt-Button", o) }));
|
5
5
|
s.displayName = "Button";
|
6
6
|
export {
|
package/dist/index.es368.js
CHANGED
@@ -3,7 +3,7 @@ import { createContextScope as T } from "./index.es457.js";
|
|
3
3
|
import { useComposedRefs as A } from "./index.es456.js";
|
4
4
|
import { createDialogScope as v, Root as O, Portal as j, Overlay as b, WarningProvider as w, Content as M, Title as I, Description as L, Close as f, Trigger as $ } from "./index.es295.js";
|
5
5
|
import { composeEventHandlers as F } from "./index.es455.js";
|
6
|
-
import { createSlottable as G } from "./index.
|
6
|
+
import { createSlottable as G } from "./index.es481.js";
|
7
7
|
import { j as i } from "./index.es243.js";
|
8
8
|
var D = "AlertDialog", [W, te] = T(D, [
|
9
9
|
v
|
package/dist/index.es374.js
CHANGED
package/dist/index.es386.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as e from "react";
|
2
|
-
import l from "./index.
|
3
|
-
import { scrollAreaPropDefs as r } from "./index.
|
4
|
-
import { extractMarginProps as E } from "./index.
|
5
|
-
import { getMarginStyles as z } from "./index.
|
6
|
-
import { getResponsiveClassNames as i } from "./index.
|
7
|
-
import { getSubtree as C } from "./index.
|
8
|
-
import { mergeStyles as R } from "./index.
|
9
|
-
import { Root as V, Viewport as $, Scrollbar as m, Thumb as n, Corner as w } from "./index.
|
2
|
+
import l from "./index.es519.js";
|
3
|
+
import { scrollAreaPropDefs as r } from "./index.es531.js";
|
4
|
+
import { extractMarginProps as E } from "./index.es532.js";
|
5
|
+
import { getMarginStyles as z } from "./index.es533.js";
|
6
|
+
import { getResponsiveClassNames as i } from "./index.es534.js";
|
7
|
+
import { getSubtree as C } from "./index.es535.js";
|
8
|
+
import { mergeStyles as R } from "./index.es536.js";
|
9
|
+
import { Root as V, Viewport as $, Scrollbar as m, Thumb as n, Corner as w } from "./index.es537.js";
|
10
10
|
const D = e.forwardRef((p, u) => {
|
11
11
|
const { rest: d, ...f } = E(p), [S, N] = z(f), { asChild: t, children: A, className: b, style: h, type: s, scrollHideDelay: y = s !== "scroll" ? 0 : void 0, dir: P, size: o = r.size.default, radius: c = r.radius.default, scrollbars: a = r.scrollbars.default, ...v } = d;
|
12
12
|
return e.createElement(V, { type: s, scrollHideDelay: y, className: l("rt-ScrollAreaRoot", S, b), style: R(N, h), asChild: t }, C({ asChild: t, children: A }, (g) => e.createElement(e.Fragment, null, e.createElement($, { ...v, ref: u, className: "rt-ScrollAreaViewport" }, g), e.createElement("div", { className: "rt-ScrollAreaViewportFocusRing" }), a !== "vertical" ? e.createElement(m, { "data-radius": c, orientation: "horizontal", className: l("rt-ScrollAreaScrollbar", i({ className: "rt-r-size", value: o, propValues: r.size.values })) }, e.createElement(n, { className: "rt-ScrollAreaThumb" })) : null, a !== "horizontal" ? e.createElement(m, { "data-radius": c, orientation: "vertical", className: l("rt-ScrollAreaScrollbar", i({ className: "rt-r-size", value: o, propValues: r.size.values })) }, e.createElement(n, { className: "rt-ScrollAreaThumb" })) : null, a === "both" ? e.createElement(w, { className: "rt-ScrollAreaCorner" }) : null)));
|
package/dist/index.es402.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import a, { forwardRef as W, useState as P, useRef as u, useEffect as _, createContext as q, useLayoutEffect as Q } from "react";
|
2
|
-
import { S as X } from "./index.
|
3
|
-
import { g as Y, m as Z, a as ee, u as re } from "./index.
|
4
|
-
import { d as D, w as te, n as ne, b as se, a as ae, e as V, u as ie } from "./index.
|
2
|
+
import { S as X } from "./index.es575.js";
|
3
|
+
import { g as Y, m as Z, a as ee, u as re } from "./index.es576.js";
|
4
|
+
import { d as D, w as te, n as ne, b as se, a as ae, e as V, u as ie } from "./index.es577.js";
|
5
5
|
function k() {
|
6
6
|
return k = Object.assign ? Object.assign.bind() : function(n) {
|
7
7
|
for (var r = 1; r < arguments.length; r++) {
|
package/dist/index.es403.js
CHANGED
package/dist/index.es404.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { c as $ } from "./index.
|
2
|
-
import { c as F } from "./index.
|
3
|
-
import { m, a as E, f as T, h as S } from "./index.
|
1
|
+
import { c as $ } from "./index.es589.js";
|
2
|
+
import { c as F } from "./index.es587.js";
|
3
|
+
import { m, a as E, f as T, h as S } from "./index.es588.js";
|
4
4
|
function N(I) {
|
5
5
|
let {
|
6
6
|
swiper: e,
|
package/dist/index.es414.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es243.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
3
3
|
const s = ({
|
4
4
|
children: o
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es422.js
CHANGED
package/dist/index.es431.js
CHANGED
package/dist/index.es438.js
CHANGED
package/dist/index.es443.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { g as F } from "./index.
|
2
|
-
import { c as y } from "./index.
|
3
|
-
import { c as K, m as n, h as j } from "./index.
|
1
|
+
import { g as F } from "./index.es590.js";
|
2
|
+
import { c as y } from "./index.es589.js";
|
3
|
+
import { c as K, m as n, h as j } from "./index.es588.js";
|
4
4
|
function Y(P) {
|
5
5
|
let {
|
6
6
|
swiper: i,
|
package/dist/index.es453.js
CHANGED
package/dist/index.es454.js
CHANGED
package/dist/index.es458.js
CHANGED
package/dist/index.es459.js
CHANGED
package/dist/index.es460.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import * as r from "react";
|
2
2
|
import { composeEventHandlers as M } from "./index.es455.js";
|
3
|
-
import { createCollection as Xe } from "./index.
|
3
|
+
import { createCollection as Xe } from "./index.es490.js";
|
4
4
|
import { useComposedRefs as k, composeRefs as He } from "./index.es456.js";
|
5
5
|
import { createContextScope as We } from "./index.es457.js";
|
6
|
-
import { useDirection as ze } from "./index.
|
7
|
-
import { DismissableLayer as Ze } from "./index.
|
8
|
-
import { useFocusGuards as $e } from "./index.
|
9
|
-
import { FocusScope as qe } from "./index.
|
10
|
-
import { createPopperScope as pe, Root as Je, Anchor as Qe, Content as et, Arrow as tt } from "./index.
|
11
|
-
import { Portal as nt } from "./index.
|
12
|
-
import { Presence as H } from "./index.
|
6
|
+
import { useDirection as ze } from "./index.es491.js";
|
7
|
+
import { DismissableLayer as Ze } from "./index.es475.js";
|
8
|
+
import { useFocusGuards as $e } from "./index.es478.js";
|
9
|
+
import { FocusScope as qe } from "./index.es476.js";
|
10
|
+
import { createPopperScope as pe, Root as Je, Anchor as Qe, Content as et, Arrow as tt } from "./index.es492.js";
|
11
|
+
import { Portal as nt } from "./index.es477.js";
|
12
|
+
import { Presence as H } from "./index.es465.js";
|
13
13
|
import { Primitive as N, dispatchDiscreteCustomEvent as ot } from "./index.es459.js";
|
14
|
-
import { createRovingFocusGroupScope as ve, Item as rt, Root as ct } from "./index.
|
15
|
-
import { createSlot as st } from "./index.
|
16
|
-
import { useCallbackRef as Me } from "./index.
|
17
|
-
import { hideOthers as at } from "./index.
|
18
|
-
import ut from "./index.
|
14
|
+
import { createRovingFocusGroupScope as ve, Item as rt, Root as ct } from "./index.es493.js";
|
15
|
+
import { createSlot as st } from "./index.es481.js";
|
16
|
+
import { useCallbackRef as Me } from "./index.es489.js";
|
17
|
+
import { hideOthers as at } from "./index.es480.js";
|
18
|
+
import ut from "./index.es479.js";
|
19
19
|
import { j as u } from "./index.es243.js";
|
20
20
|
var Q = ["Enter", " "], it = ["ArrowDown", "PageUp", "Home"], he = ["ArrowUp", "PageDown", "End"], lt = [...it, ...he], dt = {
|
21
21
|
ltr: [...Q, "ArrowRight"],
|
package/dist/index.es461.js
CHANGED
package/dist/index.es463.js
CHANGED
@@ -1,18 +1,9 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
7
|
-
), c = o[0], r = o[o.length - 1], s = (e) => {
|
8
|
-
e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
|
9
|
-
}, u = document.activeElement;
|
10
|
-
return c.focus(), document.addEventListener("keydown", s), () => {
|
11
|
-
document.removeEventListener("keydown", s), n && (u == null || u.focus());
|
12
|
-
};
|
13
|
-
}, [n, t]);
|
14
|
-
};
|
1
|
+
import * as u from "react";
|
2
|
+
function t(r) {
|
3
|
+
const e = u.useRef({ value: r, previous: r });
|
4
|
+
return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
|
5
|
+
}
|
15
6
|
export {
|
16
|
-
|
7
|
+
t as usePrevious
|
17
8
|
};
|
18
9
|
//# sourceMappingURL=index.es463.js.map
|
package/dist/index.es463.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es463.js","sources":["../
|
1
|
+
{"version":3,"file":"index.es463.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as h from "react";
|
2
|
-
import { useLayoutEffect as z } from "./index.
|
2
|
+
import { useLayoutEffect as z } from "./index.es494.js";
|
3
3
|
function c(r) {
|
4
4
|
const [d, e] = h.useState(void 0);
|
5
5
|
return z(() => {
|
@@ -25,4 +25,4 @@ function c(r) {
|
|
25
25
|
export {
|
26
26
|
c as useSize
|
27
27
|
};
|
28
|
-
//# sourceMappingURL=index.
|
28
|
+
//# sourceMappingURL=index.es464.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.
|
1
|
+
{"version":3,"file":"index.es464.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":";;AAGA,SAASA,EAAQC,GAAS;AACxB,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,MAAM;AAC7CC,SAAAA,EAAgB,MAAM;AACpB,QAAIJ,GAAS;AACX,MAAAE,EAAQ,EAAE,OAAOF,EAAQ,aAAa,QAAQA,EAAQ,cAAc;AACpE,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAY;AAIrD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AACX;AAEF,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC5B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QAC9B;AACU,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAEnB,QAAAE,EAAQ,EAAE,OAAAM,GAAO,QAAAC,GAAQ;AAAA,MACjC,CAAO;AACD,aAAAJ,EAAe,QAAQL,GAAS,EAAE,KAAK,aAAY,CAAE,GAC9C,MAAMK,EAAe,UAAUL,CAAO;AAAA,IACnD;AACM,MAAAE,EAAQ,MAAM;AAAA,EAEpB,GAAK,CAACF,CAAO,CAAC,GACLC;AACT;","x_google_ignoreList":[0]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as a from "react";
|
2
2
|
import { useComposedRefs as E } from "./index.es456.js";
|
3
|
-
import { useLayoutEffect as A } from "./index.
|
3
|
+
import { useLayoutEffect as A } from "./index.es494.js";
|
4
4
|
function T(n, e) {
|
5
5
|
return a.useReducer((r, t) => e[r][t] ?? r, n);
|
6
6
|
}
|
@@ -69,4 +69,4 @@ function P(n) {
|
|
69
69
|
export {
|
70
70
|
R as Presence
|
71
71
|
};
|
72
|
-
//# sourceMappingURL=index.
|
72
|
+
//# sourceMappingURL=index.es465.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.
|
1
|
+
{"version":3,"file":"index.es465.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":";;;AASA,SAASA,EAAgBC,GAAcC,GAAS;AAC9C,SAAOC,EAAM,WAAW,CAACC,GAAOC,MACZH,EAAQE,CAAK,EAAEC,CAAK,KAClBD,GACnBH,CAAY;AACjB;AAGG,IAACK,IAAW,CAACC,MAAU;AACxB,QAAM,EAAE,SAAAC,GAAS,UAAAC,EAAQ,IAAKF,GACxBG,IAAWC,EAAYH,CAAO,GAC9BI,IAAQ,OAAOH,KAAa,aAAaA,EAAS,EAAE,SAASC,EAAS,UAAW,CAAA,IAAIG,EAAO,SAAS,KAAKJ,CAAQ,GAClHK,IAAMC,EAAgBL,EAAS,KAAKM,EAAcJ,CAAK,CAAC;AAE9D,SADmB,OAAOH,KAAa,cAClBC,EAAS,YAAYG,EAAO,aAAaD,GAAO,EAAE,KAAAE,EAAK,CAAA,IAAI;AAClF;AACAR,EAAS,cAAc;AACvB,SAASK,EAAYH,GAAS;AAC5B,QAAM,CAACS,GAAMC,CAAO,IAAIL,EAAO,SAAU,GACnCM,IAAYN,EAAO,OAAO,EAAE,GAC5BO,IAAiBP,EAAO,OAAOL,CAAO,GACtCa,IAAuBR,EAAO,OAAO,MAAM,GAC3CZ,IAAeO,IAAU,YAAY,aACrC,CAACJ,GAAOkB,CAAI,IAAItB,EAAgBC,GAAc;AAAA,IAClD,SAAS;AAAA,MACP,SAAS;AAAA,MACT,eAAe;AAAA,IAChB;AAAA,IACD,kBAAkB;AAAA,MAChB,OAAO;AAAA,MACP,eAAe;AAAA,IAChB;AAAA,IACD,WAAW;AAAA,MACT,OAAO;AAAA,IACb;AAAA,EACA,CAAG;AACDY,SAAAA,EAAO,UAAU,MAAM;AACrB,UAAMU,IAAuBC,EAAiBL,EAAU,OAAO;AAC/D,IAAAE,EAAqB,UAAUjB,MAAU,YAAYmB,IAAuB;AAAA,EAChF,GAAK,CAACnB,CAAK,CAAC,GACVqB,EAAgB,MAAM;AACpB,UAAMC,IAASP,EAAU,SACnBQ,IAAaP,EAAe;AAElC,QAD0BO,MAAenB,GAClB;AACrB,YAAMoB,IAAoBP,EAAqB,SACzCE,IAAuBC,EAAiBE,CAAM;AACpD,MAAIlB,IACFc,EAAK,OAAO,IACHC,MAAyB,WAAUG,KAAA,gBAAAA,EAAQ,aAAY,SAChEJ,EAAK,SAAS,IAIZA,EADEK,KADgBC,MAAsBL,IAEnC,kBAEA,SAFe,GAKxBH,EAAe,UAAUZ;AAAA,IAC/B;AAAA,EACA,GAAK,CAACA,GAASc,CAAI,CAAC,GAClBG,EAAgB,MAAM;AACpB,QAAIR,GAAM;AACR,UAAIY;AACJ,YAAMC,IAAcb,EAAK,cAAc,eAAe,QAChDc,IAAqB,CAAC1B,MAAU;AAEpC,cAAM2B,IADuBR,EAAiBL,EAAU,OAAO,EACf,SAASd,EAAM,aAAa;AAC5E,YAAIA,EAAM,WAAWY,KAAQe,MAC3BV,EAAK,eAAe,GAChB,CAACF,EAAe,UAAS;AAC3B,gBAAMa,IAAkBhB,EAAK,MAAM;AACnC,UAAAA,EAAK,MAAM,oBAAoB,YAC/BY,IAAYC,EAAY,WAAW,MAAM;AACvC,YAAIb,EAAK,MAAM,sBAAsB,eACnCA,EAAK,MAAM,oBAAoBgB;AAAA,UAE/C,CAAa;AAAA,QACb;AAAA,MAEO,GACKC,IAAuB,CAAC7B,MAAU;AACtC,QAAIA,EAAM,WAAWY,MACnBI,EAAqB,UAAUG,EAAiBL,EAAU,OAAO;AAAA,MAEpE;AACD,aAAAF,EAAK,iBAAiB,kBAAkBiB,CAAoB,GAC5DjB,EAAK,iBAAiB,mBAAmBc,CAAkB,GAC3Dd,EAAK,iBAAiB,gBAAgBc,CAAkB,GACjD,MAAM;AACX,QAAAD,EAAY,aAAaD,CAAS,GAClCZ,EAAK,oBAAoB,kBAAkBiB,CAAoB,GAC/DjB,EAAK,oBAAoB,mBAAmBc,CAAkB,GAC9Dd,EAAK,oBAAoB,gBAAgBc,CAAkB;AAAA,MAC5D;AAAA,IACP;AACM,MAAAT,EAAK,eAAe;AAAA,EAE1B,GAAK,CAACL,GAAMK,CAAI,CAAC,GACR;AAAA,IACL,WAAW,CAAC,WAAW,kBAAkB,EAAE,SAASlB,CAAK;AAAA,IACzD,KAAKS,EAAO,YAAY,CAACsB,MAAU;AACjC,MAAIA,MAAOhB,EAAU,UAAU,iBAAiBgB,CAAK,IACrDjB,EAAQiB,CAAK;AAAA,IACnB,GAAO,CAAE,CAAA;AAAA,EACN;AACH;AACA,SAASX,EAAiBE,GAAQ;AAChC,UAAOA,KAAA,gBAAAA,EAAQ,kBAAiB;AAClC;AACA,SAASV,EAAcoB,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
|
package/dist/index.es466.js
CHANGED
@@ -1,9 +1,18 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
import { useEffect as l } from "react";
|
2
|
+
const f = (t, n) => {
|
3
|
+
l(() => {
|
4
|
+
if (!n || !t.current) return;
|
5
|
+
const o = t.current.querySelectorAll(
|
6
|
+
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
7
|
+
), c = o[0], r = o[o.length - 1], s = (e) => {
|
8
|
+
e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
|
9
|
+
}, u = document.activeElement;
|
10
|
+
return c.focus(), document.addEventListener("keydown", s), () => {
|
11
|
+
document.removeEventListener("keydown", s), n && (u == null || u.focus());
|
12
|
+
};
|
13
|
+
}, [n, t]);
|
14
|
+
};
|
6
15
|
export {
|
7
|
-
|
16
|
+
f as useFocusTrap
|
8
17
|
};
|
9
18
|
//# sourceMappingURL=index.es466.js.map
|
package/dist/index.es466.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es466.js","sources":["../
|
1
|
+
{"version":3,"file":"index.es466.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":";AAEa,MAAAA,IAAe,CAC1BC,GACAC,MACG;AACH,EAAAC,EAAU,MAAM;AACd,QAAI,CAACD,KAAY,CAACD,EAAI,QAAS;AAEzB,UAAAG,IAAoBH,EAAI,QAAQ;AAAA,MACpC;AAAA,IACF,GACMI,IAAwBD,EAAkB,CAAC,GAC3CE,IAAuBF,EAC3BA,EAAkB,SAAS,CAC7B,GAEMG,IAAgB,CAAC,MAAqB;AACtC,MAAA,EAAE,QAAQ,UAEV,EAAE,WACA,SAAS,kBAAkBF,MAC7BC,EAAqB,MAAM,GAC3B,EAAE,eAAe,KAGf,SAAS,kBAAkBA,MAC7BD,EAAsB,MAAM,GAC5B,EAAE,eAAe;AAAA,IAGvB,GAEMG,IAAwB,SAAS;AAEvC,WAAAH,EAAsB,MAAM,GAEnB,SAAA,iBAAiB,WAAWE,CAAa,GAE3C,MAAM;AACF,eAAA,oBAAoB,WAAWA,CAAa,GAEjDL,MACFM,KAAA,QAAAA,EAAuB;AAAA,IAE3B;AAAA,EAAA,GACC,CAACN,GAAUD,CAAG,CAAC;AACpB;"}
|
package/dist/index.es475.js
CHANGED
@@ -1,53 +1,128 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
import * as n from "react";
|
2
|
+
import { composeEventHandlers as m } from "./index.es455.js";
|
3
|
+
import { Primitive as R, dispatchDiscreteCustomEvent as k } from "./index.es459.js";
|
4
|
+
import { useComposedRefs as g } from "./index.es456.js";
|
5
|
+
import { useCallbackRef as w } from "./index.es489.js";
|
6
|
+
import { useEscapeKeydown as U } from "./index.es503.js";
|
7
|
+
import { j as x } from "./index.es243.js";
|
8
|
+
var j = "DismissableLayer", p = "dismissableLayer.update", z = "dismissableLayer.pointerDownOutside", H = "dismissableLayer.focusOutside", L, T = n.createContext({
|
9
|
+
layers: /* @__PURE__ */ new Set(),
|
10
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
11
|
+
branches: /* @__PURE__ */ new Set()
|
12
|
+
}), M = n.forwardRef(
|
13
|
+
(r, e) => {
|
14
|
+
const {
|
15
|
+
disableOutsidePointerEvents: i = !1,
|
16
|
+
onEscapeKeyDown: o,
|
17
|
+
onPointerDownOutside: t,
|
18
|
+
onFocusOutside: a,
|
19
|
+
onInteractOutside: l,
|
20
|
+
onDismiss: d,
|
21
|
+
...v
|
22
|
+
} = r, c = n.useContext(T), [u, S] = n.useState(null), f = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, F] = n.useState({}), W = g(e, (s) => S(s)), y = Array.from(c.layers), [A] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), N = y.indexOf(A), b = u ? y.indexOf(u) : -1, I = c.layersWithOutsidePointerEventsDisabled.size > 0, P = b >= N, _ = q((s) => {
|
23
|
+
const E = s.target, C = [...c.branches].some((h) => h.contains(E));
|
24
|
+
!P || C || (t == null || t(s), l == null || l(s), s.defaultPrevented || d == null || d());
|
25
|
+
}, f), D = G((s) => {
|
26
|
+
const E = s.target;
|
27
|
+
[...c.branches].some((h) => h.contains(E)) || (a == null || a(s), l == null || l(s), s.defaultPrevented || d == null || d());
|
28
|
+
}, f);
|
29
|
+
return U((s) => {
|
30
|
+
b === c.layers.size - 1 && (o == null || o(s), !s.defaultPrevented && d && (s.preventDefault(), d()));
|
31
|
+
}, f), n.useEffect(() => {
|
32
|
+
if (u)
|
33
|
+
return i && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (L = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(u)), c.layers.add(u), O(), () => {
|
34
|
+
i && c.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = L);
|
35
|
+
};
|
36
|
+
}, [u, f, i, c]), n.useEffect(() => () => {
|
37
|
+
u && (c.layers.delete(u), c.layersWithOutsidePointerEventsDisabled.delete(u), O());
|
38
|
+
}, [u, c]), n.useEffect(() => {
|
39
|
+
const s = () => F({});
|
40
|
+
return document.addEventListener(p, s), () => document.removeEventListener(p, s);
|
41
|
+
}, []), /* @__PURE__ */ x.jsx(
|
42
|
+
R.div,
|
43
|
+
{
|
44
|
+
...v,
|
45
|
+
ref: W,
|
46
|
+
style: {
|
47
|
+
pointerEvents: I ? P ? "auto" : "none" : void 0,
|
48
|
+
...r.style
|
49
|
+
},
|
50
|
+
onFocusCapture: m(r.onFocusCapture, D.onFocusCapture),
|
51
|
+
onBlurCapture: m(r.onBlurCapture, D.onBlurCapture),
|
52
|
+
onPointerDownCapture: m(
|
53
|
+
r.onPointerDownCapture,
|
54
|
+
_.onPointerDownCapture
|
55
|
+
)
|
56
|
+
}
|
57
|
+
);
|
58
|
+
}
|
59
|
+
);
|
60
|
+
M.displayName = j;
|
61
|
+
var X = "DismissableLayerBranch", Y = n.forwardRef((r, e) => {
|
62
|
+
const i = n.useContext(T), o = n.useRef(null), t = g(e, o);
|
63
|
+
return n.useEffect(() => {
|
64
|
+
const a = o.current;
|
65
|
+
if (a)
|
66
|
+
return i.branches.add(a), () => {
|
67
|
+
i.branches.delete(a);
|
68
|
+
};
|
69
|
+
}, [i.branches]), /* @__PURE__ */ x.jsx(R.div, { ...r, ref: t });
|
70
|
+
});
|
71
|
+
Y.displayName = X;
|
72
|
+
function q(r, e = globalThis == null ? void 0 : globalThis.document) {
|
73
|
+
const i = w(r), o = n.useRef(!1), t = n.useRef(() => {
|
16
74
|
});
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
75
|
+
return n.useEffect(() => {
|
76
|
+
const a = (d) => {
|
77
|
+
if (d.target && !o.current) {
|
78
|
+
let v = function() {
|
79
|
+
B(
|
80
|
+
z,
|
81
|
+
i,
|
82
|
+
c,
|
83
|
+
{ discrete: !0 }
|
84
|
+
);
|
85
|
+
};
|
86
|
+
const c = { originalEvent: d };
|
87
|
+
d.pointerType === "touch" ? (e.removeEventListener("click", t.current), t.current = v, e.addEventListener("click", t.current, { once: !0 })) : v();
|
88
|
+
} else
|
89
|
+
e.removeEventListener("click", t.current);
|
90
|
+
o.current = !1;
|
91
|
+
}, l = window.setTimeout(() => {
|
92
|
+
e.addEventListener("pointerdown", a);
|
93
|
+
}, 0);
|
94
|
+
return () => {
|
95
|
+
window.clearTimeout(l), e.removeEventListener("pointerdown", a), e.removeEventListener("click", t.current);
|
96
|
+
};
|
97
|
+
}, [e, i]), {
|
98
|
+
// ensures we check React component tree (not just DOM tree)
|
99
|
+
onPointerDownCapture: () => o.current = !0
|
22
100
|
};
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
101
|
+
}
|
102
|
+
function G(r, e = globalThis == null ? void 0 : globalThis.document) {
|
103
|
+
const i = w(r), o = n.useRef(!1);
|
104
|
+
return n.useEffect(() => {
|
105
|
+
const t = (a) => {
|
106
|
+
a.target && !o.current && B(H, i, { originalEvent: a }, {
|
107
|
+
discrete: !1
|
108
|
+
});
|
109
|
+
};
|
110
|
+
return e.addEventListener("focusin", t), () => e.removeEventListener("focusin", t);
|
111
|
+
}, [e, i]), {
|
112
|
+
onFocusCapture: () => o.current = !0,
|
113
|
+
onBlurCapture: () => o.current = !1
|
36
114
|
};
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
e
|
45
|
-
|
46
|
-
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
|
47
|
-
return null;
|
48
|
-
};
|
49
|
-
};
|
115
|
+
}
|
116
|
+
function O() {
|
117
|
+
const r = new CustomEvent(p);
|
118
|
+
document.dispatchEvent(r);
|
119
|
+
}
|
120
|
+
function B(r, e, i, { discrete: o }) {
|
121
|
+
const t = i.originalEvent.target, a = new CustomEvent(r, { bubbles: !1, cancelable: !0, detail: i });
|
122
|
+
e && t.addEventListener(r, e, { once: !0 }), o ? k(t, a) : t.dispatchEvent(a);
|
123
|
+
}
|
50
124
|
export {
|
51
|
-
|
125
|
+
M as DismissableLayer,
|
126
|
+
Y as DismissableLayerBranch
|
52
127
|
};
|
53
128
|
//# sourceMappingURL=index.es475.js.map
|