@anoki/fse-ui 1.0.492 → 1.0.493
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.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.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs191.js +2 -0
- package/dist/index.cjs191.js.map +1 -0
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs325.js.map +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +2 -0
- package/dist/index.cjs354.js.map +1 -0
- package/dist/index.cjs355.js +2 -0
- package/dist/index.cjs355.js.map +1 -0
- package/dist/index.cjs356.js +2 -0
- package/dist/index.cjs356.js.map +1 -0
- package/dist/index.cjs357.js +2 -0
- package/dist/index.cjs357.js.map +1 -0
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +2 -0
- package/dist/index.cjs364.js.map +1 -0
- package/dist/index.cjs365.js +2 -0
- package/dist/index.cjs365.js.map +1 -0
- package/dist/{index.cjs340.js → index.cjs366.js} +2 -2
- package/dist/{index.cjs340.js.map → index.cjs366.js.map} +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/{index.cjs345.js → index.cjs371.js} +2 -2
- package/dist/{index.cjs345.js.map → index.cjs371.js.map} +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/{index.cjs387.js → index.cjs375.js} +1 -1
- package/dist/{index.cjs387.js.map → index.cjs375.js.map} +1 -1
- package/dist/{index.cjs347.js → index.cjs376.js} +2 -2
- package/dist/{index.cjs347.js.map → index.cjs376.js.map} +1 -1
- package/dist/{index.cjs348.js → index.cjs377.js} +2 -2
- package/dist/{index.cjs348.js.map → index.cjs377.js.map} +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/{index.cjs350.js → index.cjs379.js} +1 -1
- package/dist/{index.cjs350.js.map → index.cjs379.js.map} +1 -1
- package/dist/{index.cjs351.js → index.cjs380.js} +2 -2
- package/dist/{index.cjs351.js.map → index.cjs380.js.map} +1 -1
- package/dist/index.cjs381.js +2 -0
- package/dist/index.cjs381.js.map +1 -0
- package/dist/index.cjs382.js +2 -0
- package/dist/index.cjs382.js.map +1 -0
- package/dist/{index.cjs360.js → index.cjs383.js} +1 -1
- package/dist/{index.cjs360.js.map → index.cjs383.js.map} +1 -1
- package/dist/index.cjs384.js +2 -0
- package/dist/index.cjs384.js.map +1 -0
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +2 -0
- package/dist/index.cjs396.js.map +1 -0
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es116.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es118.js +1 -1
- package/dist/index.es119.js +1 -1
- package/dist/index.es120.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es124.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es126.js +1 -1
- package/dist/index.es127.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es189.js +27 -2
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es191.js +5 -0
- package/dist/index.es191.js.map +1 -0
- package/dist/index.es200.js +1 -1
- package/dist/index.es206.js +6 -6
- package/dist/index.es209.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es217.js +7 -7
- package/dist/index.es22.js +1 -1
- package/dist/index.es226.js +1 -1
- package/dist/index.es228.js +13 -13
- package/dist/index.es235.js +1 -1
- package/dist/index.es239.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +1 -1
- package/dist/index.es255.js +6 -6
- package/dist/index.es294.js +4 -4
- package/dist/index.es302.js +1 -1
- package/dist/index.es307.js +8 -8
- package/dist/index.es312.js +1 -1
- package/dist/index.es313.js +1 -1
- package/dist/index.es318.js +15 -2
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es321.js +5 -25
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +23 -64
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +67 -10
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +1 -1
- package/dist/index.es325.js +31 -123
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +605 -118
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +11 -14
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +5 -68
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +24 -32
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +67 -13
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +2 -9
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +2 -50
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +120 -48
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +134 -5
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +14 -25
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +15 -4
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +8 -10
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +50 -12
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +50 -22
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es352.js +10 -3
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +45 -22
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +11 -0
- package/dist/index.es354.js.map +1 -0
- package/dist/index.es355.js +221 -0
- package/dist/index.es355.js.map +1 -0
- package/dist/index.es356.js +181 -0
- package/dist/index.es356.js.map +1 -0
- package/dist/index.es357.js +7 -0
- package/dist/index.es357.js.map +1 -0
- package/dist/index.es361.js +12 -13
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +199 -22
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +22 -5
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +396 -0
- package/dist/index.es364.js.map +1 -0
- package/dist/index.es365.js +28 -0
- package/dist/index.es365.js.map +1 -0
- package/dist/{index.es340.js → index.es366.js} +5 -5
- package/dist/{index.es340.js.map → index.es366.js.map} +1 -1
- package/dist/index.es367.js +5 -46
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +5 -8
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +3 -218
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +22 -176
- package/dist/index.es370.js.map +1 -1
- package/dist/{index.es345.js → index.es371.js} +6 -6
- package/dist/{index.es345.js.map → index.es371.js.map} +1 -1
- package/dist/index.es372.js +15 -204
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +522 -21
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +113 -379
- package/dist/index.es374.js.map +1 -1
- package/dist/{index.es387.js → index.es375.js} +1 -1
- package/dist/{index.es387.js.map → index.es375.js.map} +1 -1
- package/dist/{index.es347.js → index.es376.js} +4 -4
- package/dist/{index.es347.js.map → index.es376.js.map} +1 -1
- package/dist/{index.es348.js → index.es377.js} +2 -2
- package/dist/{index.es348.js.map → index.es377.js.map} +1 -1
- package/dist/index.es378.js +14 -15
- package/dist/index.es378.js.map +1 -1
- package/dist/{index.es350.js → index.es379.js} +1 -1
- package/dist/{index.es350.js.map → index.es379.js.map} +1 -1
- package/dist/{index.es351.js → index.es380.js} +2 -2
- package/dist/{index.es351.js.map → index.es380.js.map} +1 -1
- package/dist/index.es381.js +7 -0
- package/dist/index.es381.js.map +1 -0
- package/dist/index.es382.js +26 -0
- package/dist/index.es382.js.map +1 -0
- package/dist/{index.es360.js → index.es383.js} +1 -1
- package/dist/{index.es360.js.map → index.es383.js.map} +1 -1
- package/dist/index.es384.js +16 -0
- package/dist/index.es384.js.map +1 -0
- package/dist/index.es385.js +22 -517
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +4 -126
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es389.js +5 -4
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +4 -5
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +4 -9
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +9 -55
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +55 -7
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +7 -5
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +5 -532
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +536 -0
- package/dist/index.es396.js.map +1 -0
- package/dist/index.es56.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +2 -2
- package/dist/index.es98.js +1 -1
- package/dist/index.es98.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs190.js +0 -2
- package/dist/index.cjs190.js.map +0 -1
- package/dist/index.cjs317.js +0 -2
- package/dist/index.cjs317.js.map +0 -1
- package/dist/index.cjs320.js +0 -2
- package/dist/index.cjs320.js.map +0 -1
- package/dist/index.cjs341.js +0 -2
- package/dist/index.cjs341.js.map +0 -1
- package/dist/index.cjs342.js +0 -2
- package/dist/index.cjs342.js.map +0 -1
- package/dist/index.cjs343.js +0 -2
- package/dist/index.cjs343.js.map +0 -1
- package/dist/index.cjs344.js +0 -2
- package/dist/index.cjs344.js.map +0 -1
- package/dist/index.cjs346.js +0 -2
- package/dist/index.cjs346.js.map +0 -1
- package/dist/index.cjs349.js +0 -2
- package/dist/index.cjs349.js.map +0 -1
- package/dist/index.cjs359.js +0 -2
- package/dist/index.cjs359.js.map +0 -1
- package/dist/index.cjs388.js +0 -2
- package/dist/index.cjs388.js.map +0 -1
- package/dist/index.es190.js +0 -30
- package/dist/index.es190.js.map +0 -1
- package/dist/index.es317.js +0 -5
- package/dist/index.es317.js.map +0 -1
- package/dist/index.es320.js +0 -10
- package/dist/index.es320.js.map +0 -1
- package/dist/index.es341.js +0 -8
- package/dist/index.es341.js.map +0 -1
- package/dist/index.es342.js +0 -8
- package/dist/index.es342.js.map +0 -1
- package/dist/index.es343.js +0 -6
- package/dist/index.es343.js.map +0 -1
- package/dist/index.es344.js +0 -27
- package/dist/index.es344.js.map +0 -1
- package/dist/index.es346.js +0 -19
- package/dist/index.es346.js.map +0 -1
- package/dist/index.es349.js +0 -17
- package/dist/index.es349.js.map +0 -1
- package/dist/index.es359.js +0 -625
- package/dist/index.es359.js.map +0 -1
- package/dist/index.es388.js +0 -8
- package/dist/index.es388.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalContent/DoctorModalContent.css → ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css} +0 -0
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.es156.js
CHANGED
package/dist/index.es157.js
CHANGED
package/dist/index.es158.js
CHANGED
package/dist/index.es189.js
CHANGED
@@ -1,5 +1,30 @@
|
|
1
|
-
const
|
1
|
+
const p = [
|
2
|
+
"gap",
|
3
|
+
"m",
|
4
|
+
"mx",
|
5
|
+
"my",
|
6
|
+
"mt",
|
7
|
+
"mr",
|
8
|
+
"mb",
|
9
|
+
"ml",
|
10
|
+
"p",
|
11
|
+
"px",
|
12
|
+
"py",
|
13
|
+
"pt",
|
14
|
+
"pr",
|
15
|
+
"pb",
|
16
|
+
"pl",
|
17
|
+
"br",
|
18
|
+
"br-t",
|
19
|
+
"br-r",
|
20
|
+
"br-b",
|
21
|
+
"br-l",
|
22
|
+
"min-h",
|
23
|
+
"min-w",
|
24
|
+
"max-h",
|
25
|
+
"max-w"
|
26
|
+
], a = (m) => p.map((r) => m[r] ? `${r}-${m[r]}` : "").filter(Boolean);
|
2
27
|
export {
|
3
|
-
|
28
|
+
a as createSpacingClasses
|
4
29
|
};
|
5
30
|
//# sourceMappingURL=index.es189.js.map
|
package/dist/index.es189.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es189.js","sources":["../src/theme/
|
1
|
+
{"version":3,"file":"index.es189.js","sources":["../src/theme/spacing.ts"],"sourcesContent":["export type SpacingKey =\n | \"x4\"\n | \"x8\"\n | \"x12\"\n | \"x16\"\n | \"x20\"\n | \"x24\"\n | \"x28\"\n | \"x32\"\n | \"x36\"\n | \"x40\"\n | \"x44\"\n | \"x48\"\n | \"x52\"\n | \"x56\"\n | \"x60\"\n | \"x64\"\n | \"x68\"\n | \"x72\"\n | \"x76\"\n | \"x80\"\n | \"x84\"\n | \"x88\"\n | \"x92\"\n | \"x96\"\n | \"x100\"\n | \"x104\";\n\nexport type SpacingProps = {\n gap?: SpacingKey;\n m?: SpacingKey; // margin\n mx?: SpacingKey; // margin x\n my?: SpacingKey; // margin y\n mt?: SpacingKey; // margin top\n mr?: SpacingKey; // margin bottom\n mb?: SpacingKey; // margin right\n ml?: SpacingKey; // margin left\n p?: SpacingKey; // padding\n px?: SpacingKey; // padding x\n py?: SpacingKey; // padding y\n pt?: SpacingKey; // padding top\n pr?: SpacingKey; // padding bottom\n pb?: SpacingKey; // padding right\n pl?: SpacingKey; // padding left\n br?: SpacingKey; // border-radius\n \"br-t\"?: SpacingKey; // border-radius top\n \"br-r\"?: SpacingKey; // border-radius right\n \"br-b\"?: SpacingKey; // border-radius bottom\n \"br-l\"?: SpacingKey; // border-radius left\n \"min-h\"?: SpacingKey; // min-height\n \"min-w\"?: SpacingKey; // min-width\n \"max-h\"?: SpacingKey; // max-height\n \"max-w\"?: SpacingKey; // max-width\n};\n\nexport type SpacingPropsKeys = keyof SpacingProps;\nconst spacingPropsKeys: SpacingPropsKeys[] = [\n \"gap\",\n \"m\",\n \"mx\",\n \"my\",\n \"mt\",\n \"mr\",\n \"mb\",\n \"ml\",\n \"p\",\n \"px\",\n \"py\",\n \"pt\",\n \"pr\",\n \"pb\",\n \"pl\",\n \"br\",\n \"br-t\",\n \"br-r\",\n \"br-b\",\n \"br-l\",\n \"min-h\",\n \"min-w\",\n \"max-h\",\n \"max-w\",\n];\n\nexport const createSpacingClasses = <TProps extends SpacingProps>(\n props: TProps,\n) => {\n return spacingPropsKeys\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\n .filter(Boolean);\n};\n"],"names":["spacingPropsKeys","createSpacingClasses","props","key"],"mappings":"AAwDA,MAAMA,IAAuC;AAAA,EAC3C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEaC,IAAuB,CAClCC,MAEOF,EACJ,IAAI,CAACG,MAASD,EAAMC,CAAG,IAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,KAAK,EAAG,EACvD,OAAO,OAAO;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es191.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\n | \"primary\"\n | \"white\"\n | \"status-success\"\n | \"warning\"\n | \"error\"\n | \"muted\"\n | \"emphasis\"\n | \"slate-20\"\n | \"slate-14\"\n | \"slate-28\"\n | \"border-divider\"\n | \"transparent\"\n | \"blue-30\"\n | \"disabled\"\n | \"lightblue-a01\"\n | \"lightblue-a02\"\n | \"lightblue-a03\"\n | \"secondary\";\n\nexport type ColorProps = {\n bg?: ColorKeys;\n text?: ColorKeys;\n color?: ColorKeys;\n border?: ColorKeys;\n};\n\nexport type ColorPropsKeys = keyof ColorProps;\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\n\nexport const createColorClasses = <TProps extends ColorProps>(\n props: TProps,\n) => {\n return colorPropsKeys\n .map((key) => {\n if (!props[key]) return \"\";\n\n if (key === \"color\") return `text-${props[key]}`;\n return `${key}-${props[key]}`;\n })\n .filter(Boolean);\n};\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"AA4BA,MAAMA,IAAmC,CAAC,MAAM,QAAQ,SAAS,QAAQ,GAE5DC,IAAqB,CAChCC,MAEOF,EACJ,IAAI,CAACG,MACCD,EAAMC,CAAG,IAEVA,MAAQ,UAAgB,QAAQD,EAAMC,CAAG,CAAC,KACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,KAHH,EAIzB,EACA,OAAO,OAAO;"}
|
package/dist/index.es200.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as s } from "./index.es178.js";
|
2
2
|
import { clsx as a } from "./index.es180.js";
|
3
|
-
import { createColorClasses as e } from "./index.
|
3
|
+
import { createColorClasses as e } from "./index.es191.js";
|
4
4
|
import './components/ui/Divider/Divider.css';/* empty css */
|
5
5
|
const p = ({
|
6
6
|
direction: o = "horizontal",
|
package/dist/index.es206.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import * as p from "react";
|
2
|
-
import { composeEventHandlers as m } from "./index.
|
3
|
-
import { composeRefs as E } from "./index.
|
4
|
-
import { createContextScope as S } from "./index.
|
2
|
+
import { composeEventHandlers as m } from "./index.es321.js";
|
3
|
+
import { composeRefs as E } from "./index.es322.js";
|
4
|
+
import { createContextScope as S } from "./index.es323.js";
|
5
5
|
import { useControllableState as P } from "./index.es324.js";
|
6
|
-
import { Primitive as y } from "./index.
|
7
|
-
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.
|
8
|
-
import { useId as g } from "./index.
|
6
|
+
import { Primitive as y } from "./index.es325.js";
|
7
|
+
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.es326.js";
|
8
|
+
import { useId as g } from "./index.es327.js";
|
9
9
|
import { j as a } from "./index.es178.js";
|
10
10
|
var M = "DropdownMenu", [z, bo] = S(
|
11
11
|
M,
|
package/dist/index.es209.js
CHANGED
package/dist/index.es210.js
CHANGED
@@ -3,7 +3,7 @@ import { Button as m } from "./index.es25.js";
|
|
3
3
|
import { HeaderTopBanner as y } from "./index.es21.js";
|
4
4
|
import { useState as g, useRef as w, useCallback as C, useEffect as u } from "react";
|
5
5
|
import { clsx as r } from "./index.es180.js";
|
6
|
-
import { useFocusTrap as N } from "./index.
|
6
|
+
import { useFocusTrap as N } from "./index.es318.js";
|
7
7
|
import { Container as k } from "./index.es6.js";
|
8
8
|
import './components/navigations/HeaderMobile/HeaderMobile.css';/* empty css */
|
9
9
|
import { Col as L } from "./index.es10.js";
|
package/dist/index.es217.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as n from "react";
|
2
|
-
import { useComposedRefs as N } from "./index.
|
3
|
-
import { createContextScope as M } from "./index.
|
4
|
-
import { composeEventHandlers as S } from "./index.
|
2
|
+
import { useComposedRefs as N } from "./index.es322.js";
|
3
|
+
import { createContextScope as M } from "./index.es323.js";
|
4
|
+
import { composeEventHandlers as S } from "./index.es321.js";
|
5
5
|
import { useControllableState as O } from "./index.es324.js";
|
6
|
-
import { usePrevious as A } from "./index.
|
7
|
-
import { useSize as B } from "./index.
|
8
|
-
import { Presence as H } from "./index.
|
9
|
-
import { Primitive as j } from "./index.
|
6
|
+
import { usePrevious as A } from "./index.es328.js";
|
7
|
+
import { useSize as B } from "./index.es329.js";
|
8
|
+
import { Presence as H } from "./index.es330.js";
|
9
|
+
import { Primitive as j } from "./index.es325.js";
|
10
10
|
import { j as f } from "./index.es178.js";
|
11
11
|
var R = "Checkbox", [K, Y] = M(R), [L, q] = K(R), I = n.forwardRef(
|
12
12
|
(e, l) => {
|
package/dist/index.es22.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as e } from "./index.es178.js";
|
2
2
|
import { Root as i, Trigger as c, Portal as m, Content as d, Group as u, Item as x } from "./index.es206.js";
|
3
3
|
import { clsx as o } from "./index.es180.js";
|
4
|
-
import { createColorClasses as h } from "./index.
|
4
|
+
import { createColorClasses as h } from "./index.es191.js";
|
5
5
|
import './components/ui/Dropdown/Dropdown.css';/* empty css */
|
6
6
|
import { ArrowDown as p } from "./index.es111.js";
|
7
7
|
import { Row as w } from "./index.es9.js";
|
package/dist/index.es226.js
CHANGED
package/dist/index.es228.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
3
|
-
import { useComposedRefs as C } from "./index.
|
4
|
-
import { createContextScope as B, createContext as H } from "./index.
|
5
|
-
import { useId as x } from "./index.
|
2
|
+
import { composeEventHandlers as p } from "./index.es321.js";
|
3
|
+
import { useComposedRefs as C } from "./index.es322.js";
|
4
|
+
import { createContextScope as B, createContext as H } from "./index.es323.js";
|
5
|
+
import { useId as x } from "./index.es327.js";
|
6
6
|
import { useControllableState as V } from "./index.es324.js";
|
7
|
-
import { DismissableLayer as q } from "./index.
|
8
|
-
import { FocusScope as K } from "./index.
|
9
|
-
import { Portal as U } from "./index.
|
10
|
-
import { Presence as R } from "./index.
|
11
|
-
import { Primitive as m } from "./index.
|
12
|
-
import { useFocusGuards as Y } from "./index.
|
13
|
-
import Z from "./index.
|
14
|
-
import { hideOthers as z } from "./index.
|
15
|
-
import { createSlot as J } from "./index.
|
7
|
+
import { DismissableLayer as q } from "./index.es333.js";
|
8
|
+
import { FocusScope as K } from "./index.es334.js";
|
9
|
+
import { Portal as U } from "./index.es335.js";
|
10
|
+
import { Presence as R } from "./index.es330.js";
|
11
|
+
import { Primitive as m } from "./index.es325.js";
|
12
|
+
import { useFocusGuards as Y } from "./index.es336.js";
|
13
|
+
import Z from "./index.es337.js";
|
14
|
+
import { hideOthers as z } from "./index.es338.js";
|
15
|
+
import { createSlot as J } from "./index.es339.js";
|
16
16
|
import { j as i } from "./index.es178.js";
|
17
17
|
var _ = "Dialog", [N, he] = B(_), [Q, u] = N(_), P = (e) => {
|
18
18
|
const {
|
package/dist/index.es235.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es178.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.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 ConsentModalFooter
|
package/dist/index.es239.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as r } from "./index.es178.js";
|
2
2
|
import { clsx as s } from "./index.es180.js";
|
3
|
-
import './components/ui/
|
3
|
+
import './components/ui/ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css';/* empty css */
|
4
4
|
const i = ({
|
5
5
|
overrideClassNames: o,
|
6
6
|
children: t
|
package/dist/index.es240.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es178.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.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.es247.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es178.js";
|
2
|
-
import './components/ui/
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.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.es25.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as s } from "./index.es178.js";
|
2
|
-
import { createColorClasses as d } from "./index.
|
2
|
+
import { createColorClasses as d } from "./index.es191.js";
|
3
3
|
import { clsx as w } from "./index.es180.js";
|
4
4
|
import './components/ui/Button/Button.css';/* empty css */
|
5
5
|
import { Spinner as B } from "./index.es147.js";
|
package/dist/index.es253.js
CHANGED
package/dist/index.es254.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as a } from "./index.es178.js";
|
2
2
|
import './components/ui/Section/Description/description.css';/* empty css */
|
3
|
-
import { createColorClasses as n } from "./index.
|
3
|
+
import { createColorClasses as n } from "./index.es191.js";
|
4
4
|
import { clsx as m } from "./index.es180.js";
|
5
5
|
const u = ({
|
6
6
|
fs: t = "6",
|
package/dist/index.es255.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as T } from "./index.
|
3
|
-
import { useComposedRefs as _ } from "./index.
|
4
|
-
import { createContextScope as H } from "./index.
|
2
|
+
import { composeEventHandlers as T } from "./index.es321.js";
|
3
|
+
import { useComposedRefs as _ } from "./index.es322.js";
|
4
|
+
import { createContextScope as H } from "./index.es323.js";
|
5
5
|
import { useControllableState as I } from "./index.es324.js";
|
6
|
-
import { usePrevious as M } from "./index.
|
7
|
-
import { useSize as N } from "./index.
|
8
|
-
import { Primitive as w } from "./index.
|
6
|
+
import { usePrevious as M } from "./index.es328.js";
|
7
|
+
import { useSize as N } from "./index.es329.js";
|
8
|
+
import { Primitive as w } from "./index.es325.js";
|
9
9
|
import { j as p } from "./index.es178.js";
|
10
10
|
var S = "Switch", [B, J] = H(S), [q, z] = B(S), C = s.forwardRef(
|
11
11
|
(e, n) => {
|
package/dist/index.es294.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as l from "react";
|
2
|
-
import { createContextScope as T } from "./index.
|
3
|
-
import { useComposedRefs as A } from "./index.
|
2
|
+
import { createContextScope as T } from "./index.es323.js";
|
3
|
+
import { useComposedRefs as A } from "./index.es322.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.es228.js";
|
5
|
-
import { composeEventHandlers as F } from "./index.
|
6
|
-
import { createSlottable as G } from "./index.
|
5
|
+
import { composeEventHandlers as F } from "./index.es321.js";
|
6
|
+
import { createSlottable as G } from "./index.es339.js";
|
7
7
|
import { j as i } from "./index.es178.js";
|
8
8
|
var D = "AlertDialog", [W, te] = T(D, [
|
9
9
|
v
|
package/dist/index.es302.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as r } from "./index.es178.js";
|
2
2
|
import { clsx as s } from "./index.es180.js";
|
3
|
-
import './components/ui/
|
3
|
+
import './components/ui/ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css';/* empty css */
|
4
4
|
const i = ({
|
5
5
|
overrideClassNames: o,
|
6
6
|
children: t
|
package/dist/index.es307.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.es389.js";
|
3
|
+
import { scrollAreaPropDefs as r } from "./index.es390.js";
|
4
|
+
import { extractMarginProps as E } from "./index.es391.js";
|
5
|
+
import { getMarginStyles as z } from "./index.es392.js";
|
6
|
+
import { getResponsiveClassNames as i } from "./index.es393.js";
|
7
|
+
import { getSubtree as C } from "./index.es394.js";
|
8
|
+
import { mergeStyles as R } from "./index.es395.js";
|
9
|
+
import { Root as V, Viewport as $, Scrollbar as m, Thumb as n, Corner as w } from "./index.es396.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.es312.js
CHANGED
package/dist/index.es313.js
CHANGED
package/dist/index.es318.js
CHANGED
@@ -1,5 +1,18 @@
|
|
1
|
-
|
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
|
+
};
|
2
15
|
export {
|
3
|
-
|
16
|
+
f as useFocusTrap
|
4
17
|
};
|
5
18
|
//# sourceMappingURL=index.es318.js.map
|
package/dist/index.es318.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es318.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
1
|
+
{"version":3,"file":"index.es318.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.es321.js
CHANGED
@@ -1,30 +1,10 @@
|
|
1
|
-
|
2
|
-
function
|
3
|
-
|
4
|
-
|
5
|
-
n != null && (n.current = o);
|
6
|
-
}
|
7
|
-
function i(...n) {
|
8
|
-
return (o) => {
|
9
|
-
let u = !1;
|
10
|
-
const c = n.map((t) => {
|
11
|
-
const e = l(t, o);
|
12
|
-
return !u && typeof e == "function" && (u = !0), e;
|
13
|
-
});
|
14
|
-
if (u)
|
15
|
-
return () => {
|
16
|
-
for (let t = 0; t < c.length; t++) {
|
17
|
-
const e = c[t];
|
18
|
-
typeof e == "function" ? e() : l(n[t], null);
|
19
|
-
}
|
20
|
-
};
|
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);
|
21
5
|
};
|
22
6
|
}
|
23
|
-
function s(...n) {
|
24
|
-
return f.useCallback(i(...n), n);
|
25
|
-
}
|
26
7
|
export {
|
27
|
-
|
28
|
-
s as useComposedRefs
|
8
|
+
h as composeEventHandlers
|
29
9
|
};
|
30
10
|
//# sourceMappingURL=index.es321.js.map
|
package/dist/index.es321.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es321.js","sources":["../node_modules/@radix-ui/
|
1
|
+
{"version":3,"file":"index.es321.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.es322.js
CHANGED
@@ -1,71 +1,30 @@
|
|
1
|
-
import * as
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
return /* @__PURE__ */ h.jsx(o.Provider, { value: s, children: t });
|
7
|
-
};
|
8
|
-
a.displayName = e + "Provider";
|
9
|
-
function i(r) {
|
10
|
-
const t = u.useContext(o);
|
11
|
-
if (t) return t;
|
12
|
-
if (c !== void 0) return c;
|
13
|
-
throw new Error(`\`${r}\` must be used within \`${e}\``);
|
14
|
-
}
|
15
|
-
return [a, i];
|
1
|
+
import * as f from "react";
|
2
|
+
function l(n, o) {
|
3
|
+
if (typeof n == "function")
|
4
|
+
return n(o);
|
5
|
+
n != null && (n.current = o);
|
16
6
|
}
|
17
|
-
function
|
18
|
-
|
19
|
-
|
20
|
-
const
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
return
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
if (p) return p;
|
32
|
-
if (t !== void 0) return t;
|
33
|
-
throw new Error(`\`${m}\` must be used within \`${r}\``);
|
34
|
-
}
|
35
|
-
return [d, f];
|
36
|
-
}
|
37
|
-
const i = () => {
|
38
|
-
const r = o.map((t) => u.createContext(t));
|
39
|
-
return function(n) {
|
40
|
-
const s = (n == null ? void 0 : n[e]) || r;
|
41
|
-
return u.useMemo(
|
42
|
-
() => ({ [`__scope${e}`]: { ...n, [e]: s } }),
|
43
|
-
[n, s]
|
44
|
-
);
|
45
|
-
};
|
7
|
+
function i(...n) {
|
8
|
+
return (o) => {
|
9
|
+
let u = !1;
|
10
|
+
const c = n.map((t) => {
|
11
|
+
const e = l(t, o);
|
12
|
+
return !u && typeof e == "function" && (u = !0), e;
|
13
|
+
});
|
14
|
+
if (u)
|
15
|
+
return () => {
|
16
|
+
for (let t = 0; t < c.length; t++) {
|
17
|
+
const e = c[t];
|
18
|
+
typeof e == "function" ? e() : l(n[t], null);
|
19
|
+
}
|
20
|
+
};
|
46
21
|
};
|
47
|
-
return i.scopeName = e, [a, l(i, ...c)];
|
48
22
|
}
|
49
|
-
function
|
50
|
-
|
51
|
-
if (e.length === 1) return c;
|
52
|
-
const o = () => {
|
53
|
-
const a = e.map((i) => ({
|
54
|
-
useScope: i(),
|
55
|
-
scopeName: i.scopeName
|
56
|
-
}));
|
57
|
-
return function(r) {
|
58
|
-
const t = a.reduce((n, { useScope: s, scopeName: d }) => {
|
59
|
-
const m = s(r)[`__scope${d}`];
|
60
|
-
return { ...n, ...m };
|
61
|
-
}, {});
|
62
|
-
return u.useMemo(() => ({ [`__scope${c.scopeName}`]: t }), [t]);
|
63
|
-
};
|
64
|
-
};
|
65
|
-
return o.scopeName = c.scopeName, o;
|
23
|
+
function s(...n) {
|
24
|
+
return f.useCallback(i(...n), n);
|
66
25
|
}
|
67
26
|
export {
|
68
|
-
|
69
|
-
|
27
|
+
i as composeRefs,
|
28
|
+
s as useComposedRefs
|
70
29
|
};
|
71
30
|
//# sourceMappingURL=index.es322.js.map
|
package/dist/index.es322.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es322.js","sources":["../node_modules/@radix-ui/react-
|
1
|
+
{"version":3,"file":"index.es322.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
|