@anoki/fse-ui 1.0.342 → 1.0.343
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/InfoModal/InfoModal.css +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs145.js +2 -0
- package/dist/index.cjs145.js.map +1 -0
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/{index.cjs144.js → index.cjs148.js} +1 -1
- package/dist/{index.cjs144.js.map → index.cjs148.js.map} +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs155.js +2 -0
- package/dist/index.cjs155.js.map +1 -0
- package/dist/{index.cjs154.js → index.cjs158.js} +2 -2
- package/dist/{index.cjs154.js.map → index.cjs158.js.map} +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs161.js.map +1 -1
- package/dist/{index.cjs160.js → index.cjs164.js} +2 -2
- package/dist/{index.cjs160.js.map → index.cjs164.js.map} +1 -1
- package/dist/index.cjs165.js +2 -0
- package/dist/index.cjs165.js.map +1 -0
- package/dist/{index.cjs162.js → index.cjs166.js} +2 -2
- package/dist/{index.cjs162.js.map → index.cjs166.js.map} +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs172.js.map +1 -1
- package/dist/{index.cjs169.js → index.cjs173.js} +1 -1
- package/dist/{index.cjs169.js.map → index.cjs173.js.map} +1 -1
- package/dist/index.cjs176.js +2 -0
- package/dist/index.cjs176.js.map +1 -0
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs183.js +5 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/{index.cjs180.js → index.cjs184.js} +2 -2
- package/dist/{index.cjs180.js.map → index.cjs184.js.map} +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs189.js +2 -0
- package/dist/index.cjs189.js.map +1 -0
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs194.js +2 -0
- package/dist/index.cjs194.js.map +1 -0
- package/dist/{index.cjs198.js → index.cjs195.js} +2 -2
- package/dist/index.cjs195.js.map +1 -0
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs208.js +1 -6
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +2 -0
- package/dist/index.cjs209.js.map +1 -0
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +2 -0
- package/dist/index.cjs210.js.map +1 -0
- package/dist/index.cjs212.js +7 -0
- package/dist/index.cjs212.js.map +1 -0
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs221.js +2 -0
- package/dist/index.cjs221.js.map +1 -0
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +2 -0
- package/dist/index.cjs244.js.map +1 -0
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/{index.cjs266.js → index.cjs253.js} +1 -1
- package/dist/{index.cjs266.js.map → index.cjs253.js.map} +1 -1
- package/dist/index.cjs254.js +2 -0
- package/dist/index.cjs254.js.map +1 -0
- package/dist/{index.cjs267.js → index.cjs255.js} +2 -2
- package/dist/{index.cjs267.js.map → index.cjs255.js.map} +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +2 -0
- package/dist/index.cjs263.js.map +1 -0
- package/dist/index.cjs264.js +2 -0
- package/dist/index.cjs264.js.map +1 -0
- package/dist/{index.cjs271.js → index.cjs265.js} +1 -1
- package/dist/{index.cjs271.js.map → index.cjs265.js.map} +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs295.js +1 -38
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +38 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.es10.js +4 -4
- package/dist/index.es100.js +2 -2
- package/dist/index.es101.js +2 -2
- package/dist/index.es102.js +2 -2
- package/dist/index.es103.js +2 -2
- package/dist/index.es104.js +2 -2
- package/dist/index.es105.js +2 -2
- package/dist/index.es106.js +2 -2
- package/dist/index.es107.js +2 -2
- package/dist/index.es108.js +2 -2
- package/dist/index.es109.js +2 -2
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +2 -2
- package/dist/index.es111.js +2 -2
- package/dist/index.es113.js +2 -2
- package/dist/index.es114.js +2 -2
- package/dist/index.es115.js +2 -2
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +2 -2
- package/dist/index.es118.js +2 -2
- package/dist/index.es119.js +2 -2
- package/dist/index.es12.js +2 -2
- package/dist/index.es13.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es141.js +15 -27
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es145.js +30 -0
- package/dist/index.es145.js.map +1 -0
- package/dist/index.es147.js +2 -15
- package/dist/index.es147.js.map +1 -1
- package/dist/{index.es144.js → index.es148.js} +1 -1
- package/dist/{index.es144.js.map → index.es148.js.map} +1 -1
- package/dist/index.es15.js +2 -2
- package/dist/index.es151.js +14 -21
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es155.js +25 -0
- package/dist/index.es155.js.map +1 -0
- package/dist/{index.es154.js → index.es158.js} +2 -2
- package/dist/{index.es154.js.map → index.es158.js.map} +1 -1
- package/dist/index.es16.js +2 -2
- package/dist/index.es161.js +203 -139
- package/dist/index.es161.js.map +1 -1
- package/dist/{index.es160.js → index.es164.js} +3 -3
- package/dist/{index.es160.js.map → index.es164.js.map} +1 -1
- package/dist/index.es165.js +146 -0
- package/dist/index.es165.js.map +1 -0
- package/dist/{index.es162.js → index.es166.js} +4 -4
- package/dist/{index.es162.js.map → index.es166.js.map} +1 -1
- package/dist/index.es17.js +1 -1
- package/dist/index.es172.js +133 -3
- package/dist/index.es172.js.map +1 -1
- package/dist/{index.es169.js → index.es173.js} +1 -1
- package/dist/{index.es169.js.map → index.es173.js.map} +1 -1
- package/dist/index.es176.js +6 -0
- package/dist/index.es176.js.map +1 -0
- package/dist/index.es18.js +2 -2
- package/dist/index.es181.js +51 -18
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es183.js +255 -26
- package/dist/index.es183.js.map +1 -1
- package/dist/{index.es180.js → index.es184.js} +2 -2
- package/dist/{index.es180.js.map → index.es184.js.map} +1 -1
- package/dist/index.es185.js +18 -27
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +7 -4
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +28 -8
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es189.js +30 -0
- package/dist/index.es189.js.map +1 -0
- package/dist/index.es19.js +2 -2
- package/dist/index.es190.js +4 -8
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +8 -4
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es194.js +11 -0
- package/dist/index.es194.js.map +1 -0
- package/dist/index.es195.js +7 -0
- package/dist/index.es195.js.map +1 -0
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +8 -27
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +27 -8
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +4 -4
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es204.js +24 -24
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +8 -26
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +6 -116
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es208.js +27 -59
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +29 -0
- package/dist/index.es209.js.map +1 -0
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +119 -0
- package/dist/index.es210.js.map +1 -0
- package/dist/index.es212.js +62 -0
- package/dist/index.es212.js.map +1 -0
- package/dist/index.es22.js +3 -3
- package/dist/index.es221.js +2 -0
- package/dist/index.es221.js.map +1 -0
- package/dist/index.es23.js +2 -2
- package/dist/index.es235.js +1 -1
- package/dist/index.es236.js +1 -1
- package/dist/index.es238.js +5 -25
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +23 -64
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +2 -2
- package/dist/index.es240.js +65 -27
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +29 -32
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +31 -620
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +621 -10
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +14 -0
- package/dist/index.es244.js.map +1 -0
- package/dist/index.es248.js +2 -6
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +2 -25
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es25.js +2 -2
- package/dist/index.es250.js +5 -68
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +25 -2
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +69 -2
- package/dist/index.es252.js.map +1 -1
- package/dist/{index.es266.js → index.es253.js} +1 -1
- package/dist/{index.es266.js.map → index.es253.js.map} +1 -1
- package/dist/index.es254.js +45 -0
- package/dist/index.es254.js.map +1 -0
- package/dist/{index.es267.js → index.es255.js} +4 -4
- package/dist/{index.es267.js.map → index.es255.js.map} +1 -1
- package/dist/index.es256.js +7 -124
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +116 -126
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +14 -13
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +134 -14
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es260.js +217 -8
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +14 -50
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +174 -38
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +53 -0
- package/dist/index.es263.js.map +1 -0
- package/dist/index.es264.js +12 -0
- package/dist/index.es264.js.map +1 -0
- package/dist/{index.es271.js → index.es265.js} +1 -1
- package/dist/{index.es271.js.map → index.es265.js.map} +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +1 -1
- package/dist/index.es282.js +1 -1
- package/dist/index.es288.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es290.js +4 -4
- package/dist/index.es295.js +65 -69
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +68 -8
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +9 -14
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +14 -62
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +61 -64
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es30.js +3 -3
- package/dist/index.es302.js +21 -11
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +11 -26
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +27 -4
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +4 -22
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es37.js +5 -5
- package/dist/index.es38.js +4 -4
- package/dist/index.es39.js +3 -3
- package/dist/index.es40.js +2 -2
- package/dist/index.es41.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +4 -4
- package/dist/index.es44.js +4 -4
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +3 -3
- package/dist/index.es49.js +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +2 -2
- package/dist/index.es53.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es58.js +1 -1
- package/dist/index.es59.js +2 -2
- package/dist/index.es6.js +2 -2
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +3 -3
- package/dist/index.es63.js +1 -1
- package/dist/index.es65.js +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +1 -1
- package/dist/index.es71.js +28 -36
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es76.js +2 -2
- package/dist/index.es77.js +2 -2
- package/dist/index.es78.js +2 -2
- package/dist/index.es79.js +2 -2
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +2 -2
- package/dist/index.es81.js +2 -2
- package/dist/index.es82.js +2 -2
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +2 -2
- package/dist/index.es85.js +2 -2
- package/dist/index.es86.js +2 -2
- package/dist/index.es87.js +2 -2
- package/dist/index.es88.js +2 -2
- package/dist/index.es89.js +2 -2
- package/dist/index.es9.js +4 -4
- package/dist/index.es90.js +2 -2
- package/dist/index.es91.js +2 -2
- package/dist/index.es92.js +2 -2
- package/dist/index.es93.js +2 -2
- package/dist/index.es94.js +2 -2
- package/dist/index.es95.js +2 -2
- package/dist/index.es96.js +2 -2
- package/dist/index.es97.js +2 -2
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/dist/index.cjs140.js +0 -2
- package/dist/index.cjs140.js.map +0 -1
- package/dist/index.cjs143.js +0 -2
- package/dist/index.cjs143.js.map +0 -1
- package/dist/index.cjs157.js +0 -2
- package/dist/index.cjs157.js.map +0 -1
- package/dist/index.cjs168.js +0 -2
- package/dist/index.cjs168.js.map +0 -1
- package/dist/index.cjs177.js +0 -2
- package/dist/index.cjs177.js.map +0 -1
- package/dist/index.cjs179.js +0 -6
- package/dist/index.cjs179.js.map +0 -1
- package/dist/index.cjs182.js +0 -2
- package/dist/index.cjs182.js.map +0 -1
- package/dist/index.cjs196.js +0 -2
- package/dist/index.cjs196.js.map +0 -1
- package/dist/index.cjs197.js +0 -2
- package/dist/index.cjs197.js.map +0 -1
- package/dist/index.cjs198.js.map +0 -1
- package/dist/index.cjs217.js +0 -2
- package/dist/index.cjs217.js.map +0 -1
- package/dist/index.cjs237.js +0 -2
- package/dist/index.cjs237.js.map +0 -1
- package/dist/index.cjs268.js +0 -2
- package/dist/index.cjs268.js.map +0 -1
- package/dist/index.cjs269.js +0 -2
- package/dist/index.cjs269.js.map +0 -1
- package/dist/index.cjs270.js +0 -2
- package/dist/index.cjs270.js.map +0 -1
- package/dist/index.es140.js +0 -18
- package/dist/index.es140.js.map +0 -1
- package/dist/index.es143.js +0 -5
- package/dist/index.es143.js.map +0 -1
- package/dist/index.es157.js +0 -210
- package/dist/index.es157.js.map +0 -1
- package/dist/index.es168.js +0 -136
- package/dist/index.es168.js.map +0 -1
- package/dist/index.es177.js +0 -54
- package/dist/index.es177.js.map +0 -1
- package/dist/index.es179.js +0 -260
- package/dist/index.es179.js.map +0 -1
- package/dist/index.es182.js +0 -10
- package/dist/index.es182.js.map +0 -1
- package/dist/index.es196.js +0 -11
- package/dist/index.es196.js.map +0 -1
- package/dist/index.es197.js +0 -30
- package/dist/index.es197.js.map +0 -1
- package/dist/index.es198.js +0 -9
- package/dist/index.es198.js.map +0 -1
- package/dist/index.es217.js +0 -2
- package/dist/index.es217.js.map +0 -1
- package/dist/index.es237.js +0 -10
- package/dist/index.es237.js.map +0 -1
- package/dist/index.es268.js +0 -11
- package/dist/index.es268.js.map +0 -1
- package/dist/index.es269.js +0 -221
- package/dist/index.es269.js.map +0 -1
- package/dist/index.es270.js +0 -181
- package/dist/index.es270.js.map +0 -1
package/dist/index.es179.js
DELETED
@@ -1,260 +0,0 @@
|
|
1
|
-
import * as s from "react";
|
2
|
-
import { composeEventHandlers as p } from "./index.es237.js";
|
3
|
-
import { useComposedRefs as C } from "./index.es238.js";
|
4
|
-
import { createContextScope as L, createContext as $ } from "./index.es239.js";
|
5
|
-
import { useId as x } from "./index.es243.js";
|
6
|
-
import { useControllableState as B } from "./index.es240.js";
|
7
|
-
import { DismissableLayer as H } from "./index.es256.js";
|
8
|
-
import { FocusScope as V } from "./index.es257.js";
|
9
|
-
import { Portal as q } from "./index.es258.js";
|
10
|
-
import { Presence as R } from "./index.es250.js";
|
11
|
-
import { Primitive as m } from "./index.es241.js";
|
12
|
-
import { useFocusGuards as K } from "./index.es259.js";
|
13
|
-
import U from "./index.es260.js";
|
14
|
-
import { hideOthers as Y } from "./index.es261.js";
|
15
|
-
import { Slot as Z } from "./index.es262.js";
|
16
|
-
import { j as i } from "./index.es139.js";
|
17
|
-
var _ = "Dialog", [P, _e] = L(_), [z, u] = P(_), y = (e) => {
|
18
|
-
const {
|
19
|
-
__scopeDialog: o,
|
20
|
-
children: n,
|
21
|
-
open: a,
|
22
|
-
defaultOpen: r,
|
23
|
-
onOpenChange: t,
|
24
|
-
modal: c = !0
|
25
|
-
} = e, l = s.useRef(null), d = s.useRef(null), [g = !1, v] = B({
|
26
|
-
prop: a,
|
27
|
-
defaultProp: r,
|
28
|
-
onChange: t
|
29
|
-
});
|
30
|
-
return /* @__PURE__ */ i.jsx(
|
31
|
-
z,
|
32
|
-
{
|
33
|
-
scope: o,
|
34
|
-
triggerRef: l,
|
35
|
-
contentRef: d,
|
36
|
-
contentId: x(),
|
37
|
-
titleId: x(),
|
38
|
-
descriptionId: x(),
|
39
|
-
open: g,
|
40
|
-
onOpenChange: v,
|
41
|
-
onOpenToggle: s.useCallback(() => v((G) => !G), [v]),
|
42
|
-
modal: c,
|
43
|
-
children: n
|
44
|
-
}
|
45
|
-
);
|
46
|
-
};
|
47
|
-
y.displayName = _;
|
48
|
-
var I = "DialogTrigger", J = s.forwardRef(
|
49
|
-
(e, o) => {
|
50
|
-
const { __scopeDialog: n, ...a } = e, r = u(I, n), t = C(o, r.triggerRef);
|
51
|
-
return /* @__PURE__ */ i.jsx(
|
52
|
-
m.button,
|
53
|
-
{
|
54
|
-
type: "button",
|
55
|
-
"aria-haspopup": "dialog",
|
56
|
-
"aria-expanded": r.open,
|
57
|
-
"aria-controls": r.contentId,
|
58
|
-
"data-state": N(r.open),
|
59
|
-
...a,
|
60
|
-
ref: t,
|
61
|
-
onClick: p(e.onClick, r.onOpenToggle)
|
62
|
-
}
|
63
|
-
);
|
64
|
-
}
|
65
|
-
);
|
66
|
-
J.displayName = I;
|
67
|
-
var h = "DialogPortal", [Q, O] = P(h, {
|
68
|
-
forceMount: void 0
|
69
|
-
}), A = (e) => {
|
70
|
-
const { __scopeDialog: o, forceMount: n, children: a, container: r } = e, t = u(h, o);
|
71
|
-
return /* @__PURE__ */ i.jsx(Q, { scope: o, forceMount: n, children: s.Children.map(a, (c) => /* @__PURE__ */ i.jsx(R, { present: n || t.open, children: /* @__PURE__ */ i.jsx(q, { asChild: !0, container: r, children: c }) })) });
|
72
|
-
};
|
73
|
-
A.displayName = h;
|
74
|
-
var D = "DialogOverlay", j = s.forwardRef(
|
75
|
-
(e, o) => {
|
76
|
-
const n = O(D, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, t = u(D, e.__scopeDialog);
|
77
|
-
return t.modal ? /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: /* @__PURE__ */ i.jsx(X, { ...r, ref: o }) }) : null;
|
78
|
-
}
|
79
|
-
);
|
80
|
-
j.displayName = D;
|
81
|
-
var X = s.forwardRef(
|
82
|
-
(e, o) => {
|
83
|
-
const { __scopeDialog: n, ...a } = e, r = u(D, n);
|
84
|
-
return (
|
85
|
-
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
86
|
-
// ie. when `Overlay` and `Content` are siblings
|
87
|
-
/* @__PURE__ */ i.jsx(U, { as: Z, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ i.jsx(
|
88
|
-
m.div,
|
89
|
-
{
|
90
|
-
"data-state": N(r.open),
|
91
|
-
...a,
|
92
|
-
ref: o,
|
93
|
-
style: { pointerEvents: "auto", ...a.style }
|
94
|
-
}
|
95
|
-
) })
|
96
|
-
);
|
97
|
-
}
|
98
|
-
), f = "DialogContent", T = s.forwardRef(
|
99
|
-
(e, o) => {
|
100
|
-
const n = O(f, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, t = u(f, e.__scopeDialog);
|
101
|
-
return /* @__PURE__ */ i.jsx(R, { present: a || t.open, children: t.modal ? /* @__PURE__ */ i.jsx(ee, { ...r, ref: o }) : /* @__PURE__ */ i.jsx(te, { ...r, ref: o }) });
|
102
|
-
}
|
103
|
-
);
|
104
|
-
T.displayName = f;
|
105
|
-
var ee = s.forwardRef(
|
106
|
-
(e, o) => {
|
107
|
-
const n = u(f, e.__scopeDialog), a = s.useRef(null), r = C(o, n.contentRef, a);
|
108
|
-
return s.useEffect(() => {
|
109
|
-
const t = a.current;
|
110
|
-
if (t) return Y(t);
|
111
|
-
}, []), /* @__PURE__ */ i.jsx(
|
112
|
-
b,
|
113
|
-
{
|
114
|
-
...e,
|
115
|
-
ref: r,
|
116
|
-
trapFocus: n.open,
|
117
|
-
disableOutsidePointerEvents: !0,
|
118
|
-
onCloseAutoFocus: p(e.onCloseAutoFocus, (t) => {
|
119
|
-
var c;
|
120
|
-
t.preventDefault(), (c = n.triggerRef.current) == null || c.focus();
|
121
|
-
}),
|
122
|
-
onPointerDownOutside: p(e.onPointerDownOutside, (t) => {
|
123
|
-
const c = t.detail.originalEvent, l = c.button === 0 && c.ctrlKey === !0;
|
124
|
-
(c.button === 2 || l) && t.preventDefault();
|
125
|
-
}),
|
126
|
-
onFocusOutside: p(
|
127
|
-
e.onFocusOutside,
|
128
|
-
(t) => t.preventDefault()
|
129
|
-
)
|
130
|
-
}
|
131
|
-
);
|
132
|
-
}
|
133
|
-
), te = s.forwardRef(
|
134
|
-
(e, o) => {
|
135
|
-
const n = u(f, e.__scopeDialog), a = s.useRef(!1), r = s.useRef(!1);
|
136
|
-
return /* @__PURE__ */ i.jsx(
|
137
|
-
b,
|
138
|
-
{
|
139
|
-
...e,
|
140
|
-
ref: o,
|
141
|
-
trapFocus: !1,
|
142
|
-
disableOutsidePointerEvents: !1,
|
143
|
-
onCloseAutoFocus: (t) => {
|
144
|
-
var c, l;
|
145
|
-
(c = e.onCloseAutoFocus) == null || c.call(e, t), t.defaultPrevented || (a.current || (l = n.triggerRef.current) == null || l.focus(), t.preventDefault()), a.current = !1, r.current = !1;
|
146
|
-
},
|
147
|
-
onInteractOutside: (t) => {
|
148
|
-
var d, g;
|
149
|
-
(d = e.onInteractOutside) == null || d.call(e, t), t.defaultPrevented || (a.current = !0, t.detail.originalEvent.type === "pointerdown" && (r.current = !0));
|
150
|
-
const c = t.target;
|
151
|
-
((g = n.triggerRef.current) == null ? void 0 : g.contains(c)) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && r.current && t.preventDefault();
|
152
|
-
}
|
153
|
-
}
|
154
|
-
);
|
155
|
-
}
|
156
|
-
), b = s.forwardRef(
|
157
|
-
(e, o) => {
|
158
|
-
const { __scopeDialog: n, trapFocus: a, onOpenAutoFocus: r, onCloseAutoFocus: t, ...c } = e, l = u(f, n), d = s.useRef(null), g = C(o, d);
|
159
|
-
return K(), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
160
|
-
/* @__PURE__ */ i.jsx(
|
161
|
-
V,
|
162
|
-
{
|
163
|
-
asChild: !0,
|
164
|
-
loop: !0,
|
165
|
-
trapped: a,
|
166
|
-
onMountAutoFocus: r,
|
167
|
-
onUnmountAutoFocus: t,
|
168
|
-
children: /* @__PURE__ */ i.jsx(
|
169
|
-
H,
|
170
|
-
{
|
171
|
-
role: "dialog",
|
172
|
-
id: l.contentId,
|
173
|
-
"aria-describedby": l.descriptionId,
|
174
|
-
"aria-labelledby": l.titleId,
|
175
|
-
"data-state": N(l.open),
|
176
|
-
...c,
|
177
|
-
ref: g,
|
178
|
-
onDismiss: () => l.onOpenChange(!1)
|
179
|
-
}
|
180
|
-
)
|
181
|
-
}
|
182
|
-
),
|
183
|
-
/* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
184
|
-
/* @__PURE__ */ i.jsx(re, { titleId: l.titleId }),
|
185
|
-
/* @__PURE__ */ i.jsx(ae, { contentRef: d, descriptionId: l.descriptionId })
|
186
|
-
] })
|
187
|
-
] });
|
188
|
-
}
|
189
|
-
), E = "DialogTitle", M = s.forwardRef(
|
190
|
-
(e, o) => {
|
191
|
-
const { __scopeDialog: n, ...a } = e, r = u(E, n);
|
192
|
-
return /* @__PURE__ */ i.jsx(m.h2, { id: r.titleId, ...a, ref: o });
|
193
|
-
}
|
194
|
-
);
|
195
|
-
M.displayName = E;
|
196
|
-
var w = "DialogDescription", oe = s.forwardRef(
|
197
|
-
(e, o) => {
|
198
|
-
const { __scopeDialog: n, ...a } = e, r = u(w, n);
|
199
|
-
return /* @__PURE__ */ i.jsx(m.p, { id: r.descriptionId, ...a, ref: o });
|
200
|
-
}
|
201
|
-
);
|
202
|
-
oe.displayName = w;
|
203
|
-
var F = "DialogClose", S = s.forwardRef(
|
204
|
-
(e, o) => {
|
205
|
-
const { __scopeDialog: n, ...a } = e, r = u(F, n);
|
206
|
-
return /* @__PURE__ */ i.jsx(
|
207
|
-
m.button,
|
208
|
-
{
|
209
|
-
type: "button",
|
210
|
-
...a,
|
211
|
-
ref: o,
|
212
|
-
onClick: p(e.onClick, () => r.onOpenChange(!1))
|
213
|
-
}
|
214
|
-
);
|
215
|
-
}
|
216
|
-
);
|
217
|
-
S.displayName = F;
|
218
|
-
function N(e) {
|
219
|
-
return e ? "open" : "closed";
|
220
|
-
}
|
221
|
-
var W = "DialogTitleWarning", [he, k] = $(W, {
|
222
|
-
contentName: f,
|
223
|
-
titleName: E,
|
224
|
-
docsSlug: "dialog"
|
225
|
-
}), re = ({ titleId: e }) => {
|
226
|
-
const o = k(W), n = `\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
227
|
-
|
228
|
-
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
229
|
-
|
230
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;
|
231
|
-
return s.useEffect(() => {
|
232
|
-
e && (document.getElementById(e) || console.error(n));
|
233
|
-
}, [n, e]), null;
|
234
|
-
}, ne = "DialogDescriptionWarning", ae = ({ contentRef: e, descriptionId: o }) => {
|
235
|
-
const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${k(ne).contentName}}.`;
|
236
|
-
return s.useEffect(() => {
|
237
|
-
var t;
|
238
|
-
const r = (t = e.current) == null ? void 0 : t.getAttribute("aria-describedby");
|
239
|
-
o && r && (document.getElementById(o) || console.warn(a));
|
240
|
-
}, [a, e, o]), null;
|
241
|
-
}, Ee = y, Ne = A, Pe = j, ye = T, Ie = M, Oe = S;
|
242
|
-
export {
|
243
|
-
Oe as Close,
|
244
|
-
ye as Content,
|
245
|
-
y as Dialog,
|
246
|
-
S as DialogClose,
|
247
|
-
T as DialogContent,
|
248
|
-
oe as DialogDescription,
|
249
|
-
j as DialogOverlay,
|
250
|
-
A as DialogPortal,
|
251
|
-
M as DialogTitle,
|
252
|
-
J as DialogTrigger,
|
253
|
-
Pe as Overlay,
|
254
|
-
Ne as Portal,
|
255
|
-
Ee as Root,
|
256
|
-
Ie as Title,
|
257
|
-
he as WarningProvider,
|
258
|
-
_e as createDialogScope
|
259
|
-
};
|
260
|
-
//# sourceMappingURL=index.es179.js.map
|
package/dist/index.es179.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es179.js","sources":["../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","RemoveScroll","Slot","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","_a","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","_b","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Portal","Overlay","Content","Title","Close"],"mappings":";;;;;;;;;;;;;;;;AAmBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,EAAmBH,CAAW,GACzE,CAACI,GAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM;AAAA,IACJ,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,EACZ,IAAMN,GACEO,IAAaC,EAAM,OAAO,IAAI,GAC9BC,IAAaD,EAAM,OAAO,IAAI,GAC9B,CAACE,IAAO,IAAOC,CAAO,IAAIC,EAAqB;AAAA,IACnD,MAAMT;AAAA,IACN,aAAaC;AAAA,IACb,UAA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AClC,QAAMC,IAAsBH,EAAkBF,CAAkB,GAC1DM,IAAU,KAAKD,EAAoB,WAAW,mBAAmBA,EAAoB,SAAS;AAAA;AAAA,4BAE1EA,EAAoB,SAAS;AAAA;AAAA,4EAEmBA,EAAoB,QAAQ;AACtG,SAAA3E,EAAM,UAAU,MAAM;AACpB,IAAI0E,MACe,SAAS,eAAeA,CAAO,KACjC,QAAQ,MAAME,CAAO;AAAA,EAE1C,GAAK,CAACA,GAASF,CAAO,CAAC,GACd;AACT,GACIG,KAA2B,4BAC3BjB,KAAqB,CAAC,EAAE,YAAA3D,GAAY,eAAA6E,QAAoB;AAE1D,QAAMF,IAAU,6EADkBJ,EAAkBK,EAAwB,EAC2C,WAAW;AAClI,SAAA7E,EAAM,UAAU,MAAM;;AACpB,UAAM+E,KAAgBnC,IAAA3C,EAAW,YAAX,gBAAA2C,EAAoB,aAAa;AACvD,IAAIkC,KAAiBC,MACI,SAAS,eAAeD,CAAa,KACvC,QAAQ,KAAKF,CAAO;AAAA,EAE5C,GAAE,CAACA,GAAS3E,GAAY6E,CAAa,CAAC,GAChC;AACT,GACIE,KAAOzF,GAEP0F,KAAS5D,GACT6D,KAAUtD,GACVuD,KAAUhD,GACViD,KAAQtB,GAERuB,KAAQjB;","x_google_ignoreList":[0]}
|
package/dist/index.es182.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import { j as e } from "./index.es139.js";
|
2
|
-
import './components/ui/BaseModal/BaseModalContent/BaseModalContent.css';/* empty css */
|
3
|
-
const s = ({
|
4
|
-
className: t,
|
5
|
-
children: o
|
6
|
-
}) => /* @__PURE__ */ e.jsx("div", { className: `ui-base-modal-content ${t || ""}`, children: o });
|
7
|
-
export {
|
8
|
-
s as BaseModalContent
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=index.es182.js.map
|
package/dist/index.es182.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es182.js","sources":["../src/components/ui/BaseModal/BaseModalContent/index.tsx"],"sourcesContent":["import \"./BaseModalContent.scss\";\n\ntype BaseModalContentProps = {\n className?: string;\n children: React.ReactNode;\n};\n\nexport const BaseModalContent = ({\n className,\n children,\n}: BaseModalContentProps) => {\n return (\n <div className={`ui-base-modal-content ${className ? className : \"\"}`}>\n {children}\n </div>\n );\n};\n"],"names":["BaseModalContent","className","children","jsx"],"mappings":";;AAOO,MAAMA,IAAmB,CAAC;AAAA,EAC/B,WAAAC;AAAA,EACA,UAAAC;AACF,MAEIC,gBAAAA,MAAC,SAAI,WAAW,yBAAyBF,KAAwB,EAAE,IAChE,UAAAC,EACH,CAAA;"}
|
package/dist/index.es196.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { j as r } from "./index.es139.js";
|
2
|
-
import { clsx as m } from "./index.es140.js";
|
3
|
-
import './components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css';/* empty css */
|
4
|
-
const e = ({
|
5
|
-
overrideClassNames: o,
|
6
|
-
children: t
|
7
|
-
}) => /* @__PURE__ */ r.jsx("div", { className: m("ui-consent-modal-body", o), children: t });
|
8
|
-
export {
|
9
|
-
e as DoctorConfirmModalContent
|
10
|
-
};
|
11
|
-
//# sourceMappingURL=index.es196.js.map
|
package/dist/index.es196.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es196.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DoctorConfirmModalContent.scss\";\n\ntype DoctorConfirmModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalContent = ({\n overrideClassNames,\n children,\n}: DoctorConfirmModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DoctorConfirmModalContent","overrideClassNames","children","clsx"],"mappings":";;;AAQO,MAAMA,IAA4B,CAAC;AAAA,EACxC,oBAAAC;AAAA,EACA,UAAAC;AACF,4BAEK,OAAI,EAAA,WAAWC,EAAK,yBAAyBF,CAAkB,GAC7D,UAAAC,GACH;"}
|
package/dist/index.es197.js
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
import { j as o } from "./index.es139.js";
|
2
|
-
import { Title as a, Close as t } from "./index.es179.js";
|
3
|
-
import { Button as i } from "./index.es25.js";
|
4
|
-
import './components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/DoctorConfirmModalHeader.css';/* empty css */
|
5
|
-
import { Close as l } from "./index.es80.js";
|
6
|
-
const f = ({
|
7
|
-
closeButton: r = "Chiudi",
|
8
|
-
onCloseClick: e,
|
9
|
-
children: s
|
10
|
-
}) => /* @__PURE__ */ o.jsxs("header", { className: "ui-doctor-confirm-modal-header bg-white", children: [
|
11
|
-
/* @__PURE__ */ o.jsx(a, { className: "fs-6 md-fs-custom text-slate-20 fw-bold", children: s }),
|
12
|
-
/* @__PURE__ */ o.jsx(t, { asChild: !0, className: "ui-doctor-confirm-modal-header-close", children: /* @__PURE__ */ o.jsxs(
|
13
|
-
i,
|
14
|
-
{
|
15
|
-
size: "4",
|
16
|
-
textColor: "primary",
|
17
|
-
bg: "transparent",
|
18
|
-
"aria-label": "Chiudi modale",
|
19
|
-
onClick: e,
|
20
|
-
children: [
|
21
|
-
r,
|
22
|
-
/* @__PURE__ */ o.jsx(l, { className: "ml-x8" })
|
23
|
-
]
|
24
|
-
}
|
25
|
-
) })
|
26
|
-
] });
|
27
|
-
export {
|
28
|
-
f as DoctorConfirmModalHeader
|
29
|
-
};
|
30
|
-
//# sourceMappingURL=index.es197.js.map
|
package/dist/index.es197.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es197.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./DoctorConfirmModalHeader.scss\";\n\ntype DoctorConfirmModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: DoctorConfirmModalHeaderProps) => {\n return (\n <header className=\"ui-doctor-confirm-modal-header bg-white\">\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n <Dialog.Close asChild className=\"ui-doctor-confirm-modal-header-close\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n >\n {closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n </header>\n );\n};\n"],"names":["DoctorConfirmModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":";;;;;AAWO,MAAMA,IAA2B,CAAC;AAAA,EACvC,aAAAC,IAAc;AAAA,EACd,cAAAC;AAAA,EACA,UAAAC;AACF,MAEIC,gBAAAA,EAAA,KAAC,UAAO,EAAA,WAAU,2CAChB,UAAA;AAAA,EAAAC,gBAAAA,EAAAA,IAACC,GAAA,EAAa,WAAU,2CACrB,UAAAH,EACH,CAAA;AAAA,wBACCI,GAAA,EAAa,SAAO,IAAC,WAAU,wCAC9B,UAAAH,gBAAAA,EAAA;AAAA,IAACI;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAU;AAAA,MACV,IAAG;AAAA,MACH,cAAW;AAAA,MACX,SAASN;AAAA,MAER,UAAA;AAAA,QAAAD;AAAA,QACDI,gBAAAA,EAAAA,IAACI,GAAM,EAAA,WAAU,QAAQ,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,EAE7B,CAAA;AAAA,GACF;"}
|
package/dist/index.es198.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { j as t } from "./index.es139.js";
|
2
|
-
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
3
|
-
const s = ({
|
4
|
-
children: o
|
5
|
-
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
6
|
-
export {
|
7
|
-
s as DoctorConfirmModalFooter
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=index.es198.js.map
|
package/dist/index.es198.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es198.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\n\ntype DoctorConfirmModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalFooter = ({\n children,\n}: DoctorConfirmModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DoctorConfirmModalFooter","children","jsx"],"mappings":";;AAMO,MAAMA,IAA2B,CAAC;AAAA,EACvC,UAAAC;AACF,MAEKC,gBAAAA,EAAAA,IAAA,UAAA,EAAO,WAAU,2CACf,UAAAD,EACH,CAAA;"}
|
package/dist/index.es217.js
DELETED
package/dist/index.es217.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es217.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.es237.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
|
2
|
-
return function(s) {
|
3
|
-
if (f == null || f(s), p === !1 || !s.defaultPrevented)
|
4
|
-
return c == null ? void 0 : c(s);
|
5
|
-
};
|
6
|
-
}
|
7
|
-
export {
|
8
|
-
h as composeEventHandlers
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=index.es237.js.map
|
package/dist/index.es237.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es237.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es268.js
DELETED
package/dist/index.es268.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es268.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/Direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","x_google_ignoreList":[0]}
|
package/dist/index.es269.js
DELETED
@@ -1,221 +0,0 @@
|
|
1
|
-
import * as s from "react";
|
2
|
-
import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es281.js";
|
3
|
-
import { Root as Oe } from "./index.es282.js";
|
4
|
-
import { useComposedRefs as T } from "./index.es238.js";
|
5
|
-
import { createContextScope as Re } from "./index.es239.js";
|
6
|
-
import { Primitive as z } from "./index.es241.js";
|
7
|
-
import { useCallbackRef as Ee } from "./index.es266.js";
|
8
|
-
import { useLayoutEffect as B } from "./index.es271.js";
|
9
|
-
import { useSize as Ne } from "./index.es249.js";
|
10
|
-
import { j as f } from "./index.es139.js";
|
11
|
-
import { autoUpdate as _e } from "./index.es283.js";
|
12
|
-
var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
|
13
|
-
const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
|
14
|
-
return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
|
15
|
-
};
|
16
|
-
U.displayName = N;
|
17
|
-
var q = "PopperAnchor", G = s.forwardRef(
|
18
|
-
(e, i) => {
|
19
|
-
const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
|
20
|
-
return s.useEffect(() => {
|
21
|
-
r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
|
22
|
-
}), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
|
23
|
-
}
|
24
|
-
);
|
25
|
-
G.displayName = q;
|
26
|
-
var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
|
27
|
-
(e, i) => {
|
28
|
-
var I, Y, M, X, D, F;
|
29
|
-
const {
|
30
|
-
__scopePopper: n,
|
31
|
-
side: t = "bottom",
|
32
|
-
sideOffset: a = 0,
|
33
|
-
align: r = "center",
|
34
|
-
alignOffset: o = 0,
|
35
|
-
arrowPadding: w = 0,
|
36
|
-
avoidCollisions: p = !0,
|
37
|
-
collisionBoundary: c = [],
|
38
|
-
collisionPadding: x = 0,
|
39
|
-
sticky: m = "partial",
|
40
|
-
hideWhenDetached: y = !1,
|
41
|
-
updatePositionStrategy: A = "optimized",
|
42
|
-
onPlaced: l,
|
43
|
-
...d
|
44
|
-
} = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
|
45
|
-
padding: ne,
|
46
|
-
boundary: j.filter(Ie),
|
47
|
-
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
48
|
-
altBoundary: ae
|
49
|
-
}, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
|
50
|
-
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
51
|
-
strategy: "fixed",
|
52
|
-
placement: oe,
|
53
|
-
whileElementsMounted: (...P) => _e(...P, {
|
54
|
-
animationFrame: A === "always"
|
55
|
-
}),
|
56
|
-
elements: {
|
57
|
-
reference: v.anchor
|
58
|
-
},
|
59
|
-
middleware: [
|
60
|
-
Pe({ mainAxis: a + $, alignmentAxis: o }),
|
61
|
-
p && ye({
|
62
|
-
mainAxis: !0,
|
63
|
-
crossAxis: !1,
|
64
|
-
limiter: m === "partial" ? Se() : void 0,
|
65
|
-
...b
|
66
|
-
}),
|
67
|
-
p && Ae({ ...b }),
|
68
|
-
ve({
|
69
|
-
...b,
|
70
|
-
apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
|
71
|
-
const { width: ue, height: we } = k.reference, R = P.floating.style;
|
72
|
-
R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
|
73
|
-
}
|
74
|
-
}),
|
75
|
-
E && Ce({ element: E, padding: w }),
|
76
|
-
Ye({ arrowWidth: re, arrowHeight: $ }),
|
77
|
-
y && be({ strategy: "referenceHidden", ...b })
|
78
|
-
]
|
79
|
-
}), [W, pe] = V(se), O = Ee(l);
|
80
|
-
B(() => {
|
81
|
-
S && (O == null || O());
|
82
|
-
}, [S, O]);
|
83
|
-
const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
|
84
|
-
return B(() => {
|
85
|
-
h && me(window.getComputedStyle(h).zIndex);
|
86
|
-
}, [h]), /* @__PURE__ */ f.jsx(
|
87
|
-
"div",
|
88
|
-
{
|
89
|
-
ref: ie.setFloating,
|
90
|
-
"data-radix-popper-content-wrapper": "",
|
91
|
-
style: {
|
92
|
-
...H,
|
93
|
-
transform: S ? H.transform : "translate(0, -200%)",
|
94
|
-
// keep off the page when measuring
|
95
|
-
minWidth: "max-content",
|
96
|
-
zIndex: fe,
|
97
|
-
"--radix-popper-transform-origin": [
|
98
|
-
(X = u.transformOrigin) == null ? void 0 : X.x,
|
99
|
-
(D = u.transformOrigin) == null ? void 0 : D.y
|
100
|
-
].join(" "),
|
101
|
-
// hide the content if using the hide middleware and should be hidden
|
102
|
-
// set visibility to hidden and disable pointer events so the UI behaves
|
103
|
-
// as if the PopperContent isn't there at all
|
104
|
-
...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
|
105
|
-
visibility: "hidden",
|
106
|
-
pointerEvents: "none"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
dir: e.dir,
|
110
|
-
children: /* @__PURE__ */ f.jsx(
|
111
|
-
je,
|
112
|
-
{
|
113
|
-
scope: n,
|
114
|
-
placedSide: W,
|
115
|
-
onArrowChange: te,
|
116
|
-
arrowX: ce,
|
117
|
-
arrowY: de,
|
118
|
-
shouldHideArrow: le,
|
119
|
-
children: /* @__PURE__ */ f.jsx(
|
120
|
-
z.div,
|
121
|
-
{
|
122
|
-
"data-side": W,
|
123
|
-
"data-align": pe,
|
124
|
-
...d,
|
125
|
-
ref: ee,
|
126
|
-
style: {
|
127
|
-
...d.style,
|
128
|
-
// if the PopperContent hasn't been placed yet (not all measurements done)
|
129
|
-
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
130
|
-
animation: S ? void 0 : "none"
|
131
|
-
}
|
132
|
-
}
|
133
|
-
)
|
134
|
-
}
|
135
|
-
)
|
136
|
-
}
|
137
|
-
);
|
138
|
-
}
|
139
|
-
);
|
140
|
-
J.displayName = _;
|
141
|
-
var K = "PopperArrow", We = {
|
142
|
-
top: "bottom",
|
143
|
-
right: "left",
|
144
|
-
bottom: "top",
|
145
|
-
left: "right"
|
146
|
-
}, Q = s.forwardRef(function(i, n) {
|
147
|
-
const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
|
148
|
-
return (
|
149
|
-
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
150
|
-
// doesn't report size as we'd expect on SVG elements.
|
151
|
-
// it reports their bounding box which is effectively the largest path inside the SVG.
|
152
|
-
/* @__PURE__ */ f.jsx(
|
153
|
-
"span",
|
154
|
-
{
|
155
|
-
ref: r.onArrowChange,
|
156
|
-
style: {
|
157
|
-
position: "absolute",
|
158
|
-
left: r.arrowX,
|
159
|
-
top: r.arrowY,
|
160
|
-
[o]: 0,
|
161
|
-
transformOrigin: {
|
162
|
-
top: "",
|
163
|
-
right: "0 0",
|
164
|
-
bottom: "center 0",
|
165
|
-
left: "100% 0"
|
166
|
-
}[r.placedSide],
|
167
|
-
transform: {
|
168
|
-
top: "translateY(100%)",
|
169
|
-
right: "translateY(50%) rotate(90deg) translateX(-50%)",
|
170
|
-
bottom: "rotate(180deg)",
|
171
|
-
left: "translateY(50%) rotate(-90deg) translateX(50%)"
|
172
|
-
}[r.placedSide],
|
173
|
-
visibility: r.shouldHideArrow ? "hidden" : void 0
|
174
|
-
},
|
175
|
-
children: /* @__PURE__ */ f.jsx(
|
176
|
-
Oe,
|
177
|
-
{
|
178
|
-
...a,
|
179
|
-
ref: n,
|
180
|
-
style: {
|
181
|
-
...a.style,
|
182
|
-
// ensures the element can be measured correctly (mostly for if SVG)
|
183
|
-
display: "block"
|
184
|
-
}
|
185
|
-
}
|
186
|
-
)
|
187
|
-
}
|
188
|
-
)
|
189
|
-
);
|
190
|
-
});
|
191
|
-
Q.displayName = K;
|
192
|
-
function Ie(e) {
|
193
|
-
return e !== null;
|
194
|
-
}
|
195
|
-
var Ye = (e) => ({
|
196
|
-
name: "transformOrigin",
|
197
|
-
options: e,
|
198
|
-
fn(i) {
|
199
|
-
var v, h, C;
|
200
|
-
const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
|
201
|
-
let l = "", d = "";
|
202
|
-
return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
|
203
|
-
}
|
204
|
-
});
|
205
|
-
function V(e) {
|
206
|
-
const [i, n = "center"] = e.split("-");
|
207
|
-
return [i, n];
|
208
|
-
}
|
209
|
-
var qe = U, Ge = G, Je = J, Ke = Q;
|
210
|
-
export {
|
211
|
-
Ge as Anchor,
|
212
|
-
Ke as Arrow,
|
213
|
-
Je as Content,
|
214
|
-
U as Popper,
|
215
|
-
G as PopperAnchor,
|
216
|
-
Q as PopperArrow,
|
217
|
-
J as PopperContent,
|
218
|
-
qe as Root,
|
219
|
-
Ue as createPopperScope
|
220
|
-
};
|
221
|
-
//# sourceMappingURL=index.es269.js.map
|