@anoki/fse-ui 1.0.422 → 1.0.423
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.cjs.js.map +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs10.js.map +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs100.js.map +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs101.js.map +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs102.js.map +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs103.js.map +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs104.js.map +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs105.js.map +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs106.js.map +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs107.js.map +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs108.js.map +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs109.js.map +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs111.js.map +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs112.js.map +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs115.js.map +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs116.js.map +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs117.js.map +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs118.js.map +1 -1
- package/dist/index.cjs119.js.map +1 -1
- package/dist/index.cjs12.js.map +1 -1
- package/dist/index.cjs120.js.map +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs121.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs14.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs160.js.map +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js +2 -0
- package/dist/index.cjs171.js.map +1 -0
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs201.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 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs281.js +3 -12
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs302.js +2 -0
- package/dist/index.cjs302.js.map +1 -0
- package/dist/index.cjs303.js +2 -0
- package/dist/index.cjs303.js.map +1 -0
- 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.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/{index.cjs300.js → index.cjs320.js} +1 -1
- package/dist/index.cjs320.js.map +1 -0
- package/dist/{index.cjs299.js → index.cjs321.js} +1 -1
- package/dist/index.cjs321.js.map +1 -0
- package/dist/{index.cjs314.js → index.cjs322.js} +1 -1
- package/dist/{index.cjs314.js.map → index.cjs322.js.map} +1 -1
- package/dist/{index.cjs315.js → index.cjs323.js} +2 -2
- package/dist/{index.cjs315.js.map → index.cjs323.js.map} +1 -1
- package/dist/{index.cjs316.js → index.cjs324.js} +1 -1
- package/dist/{index.cjs316.js.map → index.cjs324.js.map} +1 -1
- package/dist/{index.cjs317.js → index.cjs325.js} +2 -2
- package/dist/{index.cjs317.js.map → index.cjs325.js.map} +1 -1
- package/dist/{index.cjs318.js → index.cjs326.js} +2 -2
- package/dist/{index.cjs318.js.map → index.cjs326.js.map} +1 -1
- package/dist/{index.cjs319.js → index.cjs327.js} +1 -1
- package/dist/{index.cjs319.js.map → index.cjs327.js.map} +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs35.js.map +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs38.js.map +1 -1
- package/dist/index.cjs39.js.map +1 -1
- package/dist/index.cjs40.js.map +1 -1
- package/dist/index.cjs41.js.map +1 -1
- package/dist/index.cjs42.js.map +1 -1
- package/dist/index.cjs43.js.map +1 -1
- package/dist/index.cjs44.js.map +1 -1
- package/dist/index.cjs45.js.map +1 -1
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js.map +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs57.js.map +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs6.js.map +1 -1
- package/dist/index.cjs60.js.map +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs7.js.map +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs84.js.map +1 -1
- package/dist/index.cjs85.js.map +1 -1
- package/dist/index.cjs86.js.map +1 -1
- package/dist/index.cjs87.js.map +1 -1
- package/dist/index.cjs88.js.map +1 -1
- package/dist/index.cjs89.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs9.js.map +1 -1
- package/dist/index.cjs90.js.map +1 -1
- package/dist/index.cjs91.js.map +1 -1
- package/dist/index.cjs93.js.map +1 -1
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs97.js.map +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.d.ts +1 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es104.js.map +1 -1
- package/dist/index.es105.js +1 -1
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js +1 -1
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js +1 -1
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es117.js.map +1 -1
- package/dist/index.es118.js +1 -1
- package/dist/index.es118.js.map +1 -1
- package/dist/index.es119.js.map +1 -1
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es120.js.map +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +1 -1
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +1 -1
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +1 -1
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +1 -1
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +76 -71
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +11 -1
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es147.js +63 -58
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es156.js +29 -26
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es160.js +18 -15
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es170.js +2 -27
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +30 -0
- package/dist/index.es171.js.map +1 -0
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es206.js +1 -1
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es208.js +7 -7
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +1 -1
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es225.js +1 -1
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es233.js +1 -1
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +1 -1
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +15 -15
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es280.js +1 -1
- package/dist/index.es281.js +146 -307
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es292.js +1 -1
- package/dist/index.es293.js +1 -1
- package/dist/index.es294.js +12 -12
- package/dist/index.es295.js +1 -1
- package/dist/index.es297.js +1 -1
- package/dist/index.es298.js +1 -1
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es302.js +128 -0
- package/dist/index.es302.js.map +1 -0
- package/dist/index.es303.js +138 -0
- package/dist/index.es303.js.map +1 -0
- package/dist/index.es304.js +13 -124
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +14 -134
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +7 -12
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +50 -15
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +41 -8
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js.map +1 -1
- package/dist/{index.es299.js → index.es320.js} +1 -1
- package/dist/index.es320.js.map +1 -0
- package/dist/{index.es300.js → index.es321.js} +1 -1
- package/dist/index.es321.js.map +1 -0
- package/dist/{index.es314.js → index.es322.js} +1 -1
- package/dist/{index.es314.js.map → index.es322.js.map} +1 -1
- package/dist/{index.es315.js → index.es323.js} +2 -2
- package/dist/{index.es315.js.map → index.es323.js.map} +1 -1
- package/dist/{index.es316.js → index.es324.js} +1 -1
- package/dist/{index.es316.js.map → index.es324.js.map} +1 -1
- package/dist/{index.es317.js → index.es325.js} +3 -3
- package/dist/{index.es317.js.map → index.es325.js.map} +1 -1
- package/dist/{index.es318.js → index.es326.js} +4 -4
- package/dist/{index.es318.js.map → index.es326.js.map} +1 -1
- package/dist/{index.es319.js → index.es327.js} +1 -1
- package/dist/{index.es319.js.map → index.es327.js.map} +1 -1
- package/dist/index.es328.js +1 -1
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +1 -1
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es6.js.map +1 -1
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es7.js.map +1 -1
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es9.js +2 -2
- package/dist/index.es9.js.map +1 -1
- package/dist/index.es90.js.map +1 -1
- package/dist/index.es91.js.map +1 -1
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js +1 -1
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +1 -1
- package/dist/index.es99.js.map +1 -1
- package/package.json +107 -107
- package/readme.md +42 -42
- package/dist/index.cjs172.js +0 -2
- package/dist/index.cjs172.js.map +0 -1
- package/dist/index.cjs299.js.map +0 -1
- package/dist/index.cjs300.js.map +0 -1
- package/dist/index.cjs309.js +0 -2
- package/dist/index.cjs309.js.map +0 -1
- package/dist/index.cjs310.js +0 -2
- package/dist/index.cjs310.js.map +0 -1
- package/dist/index.es172.js +0 -5
- package/dist/index.es172.js.map +0 -1
- package/dist/index.es299.js.map +0 -1
- package/dist/index.es300.js.map +0 -1
- package/dist/index.es309.js +0 -53
- package/dist/index.es309.js.map +0 -1
- package/dist/index.es310.js +0 -45
- package/dist/index.es310.js.map +0 -1
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
package/dist/index.cjs17.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs17.js","sources":["../src/components/navigations/HeaderSlim/index.tsx"],"sourcesContent":["import { Container } from \"@/components/ui/Container\";\nimport { SpacingProps } from \"@/theme/spacing\";\nimport { CSSProperties } from \"react\";\nimport clsx from \"clsx\";\nimport { Row } from \"@/components\";\n\ntype HeaderSlimProps = {\n as?: \"div\" | \"header\";\n className?: string;\n hasContainer?: boolean;\n display?: CSSProperties[\"display\"];\n justifyContent?: CSSProperties[\"justifyContent\"];\n alignItems?: CSSProperties[\"alignItems\"];\n flexWrap?: CSSProperties[\"flexWrap\"];\n children: React.ReactNode;\n} & SpacingProps;\n\nexport const HeaderSlim = ({\n as = \"div\",\n className,\n hasContainer = true,\n display,\n justifyContent,\n alignItems,\n flexWrap,\n children,\n}: HeaderSlimProps) => {\n const Component = as;\n const containerComponent = () => {\n if (hasContainer) {\n return (\n <Container\n className={clsx(\n \"min-h-x48 base-row align-items-center py-x12\",\n className,\n )}\n display={display}\n justifyContent={justifyContent}\n alignItems={alignItems}\n flexWrap={flexWrap}\n >\n {children}\n </Container>\n );\n }\n return (\n <Row\n alignItems={\"center\"}\n py={\"x12\"}\n className={clsx(\"min-h-x48 \", className)}\n style={{\n display,\n justifyContent,\n alignItems,\n flexWrap,\n }}\n >\n {children}\n </Row>\n );\n };\n\n return <Component className=\"bg-slate-20\">{containerComponent()}</Component>;\n};\n"],"names":["HeaderSlim","as","className","hasContainer","display","justifyContent","alignItems","flexWrap","children","Component","containerComponent","jsx","Container","clsx","Row"],"mappings":"8MAiBaA,EAAa,CAAC,CACzB,GAAAC,EAAK,MACL,UAAAC,EACA,aAAAC,EAAe,GACf,QAAAC,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,EACA,SAAAC,CACF,IAAuB,CACrB,MAAMC,EAAYR,EACZS,EAAqB,IACrBP,EAEAQ,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,UAAWC,EAAA,KACT,+CACAX,CACF,EACA,QAAAE,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,EAEC,SAAAC,CAAA,CACH,EAIFG,EAAA,kBAAA,IAACG,EAAA,IAAA,CACC,WAAY,SACZ,GAAI,MACJ,UAAWD,EAAAA,KAAK,aAAcX,CAAS,EACvC,MAAO,CACL,QAAAE,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,CACF,EAEC,SAAAC,CAAA,CACH,EAIJ,OAAQG,EAAAA,kBAAAA,IAAAF,EAAA,CAAU,UAAU,cAAe,aAAqB,CAClE"}
|
1
|
+
{"version":3,"file":"index.cjs17.js","sources":["../src/components/navigations/HeaderSlim/index.tsx"],"sourcesContent":["import { Container } from \"@/components/ui/Container\";\r\nimport { SpacingProps } from \"@/theme/spacing\";\r\nimport { CSSProperties } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype HeaderSlimProps = {\r\n as?: \"div\" | \"header\";\r\n className?: string;\r\n hasContainer?: boolean;\r\n display?: CSSProperties[\"display\"];\r\n justifyContent?: CSSProperties[\"justifyContent\"];\r\n alignItems?: CSSProperties[\"alignItems\"];\r\n flexWrap?: CSSProperties[\"flexWrap\"];\r\n children: React.ReactNode;\r\n} & SpacingProps;\r\n\r\nexport const HeaderSlim = ({\r\n as = \"div\",\r\n className,\r\n hasContainer = true,\r\n display,\r\n justifyContent,\r\n alignItems,\r\n flexWrap,\r\n children,\r\n}: HeaderSlimProps) => {\r\n const Component = as;\r\n const containerComponent = () => {\r\n if (hasContainer) {\r\n return (\r\n <Container\r\n className={clsx(\r\n \"min-h-x48 base-row align-items-center py-x12\",\r\n className,\r\n )}\r\n display={display}\r\n justifyContent={justifyContent}\r\n alignItems={alignItems}\r\n flexWrap={flexWrap}\r\n >\r\n {children}\r\n </Container>\r\n );\r\n }\r\n return (\r\n <Row\r\n alignItems={\"center\"}\r\n py={\"x12\"}\r\n className={clsx(\"min-h-x48 \", className)}\r\n style={{\r\n display,\r\n justifyContent,\r\n alignItems,\r\n flexWrap,\r\n }}\r\n >\r\n {children}\r\n </Row>\r\n );\r\n };\r\n\r\n return <Component className=\"bg-slate-20\">{containerComponent()}</Component>;\r\n};\r\n"],"names":["HeaderSlim","as","className","hasContainer","display","justifyContent","alignItems","flexWrap","children","Component","containerComponent","jsx","Container","clsx","Row"],"mappings":"8MAiBaA,EAAa,CAAC,CACzB,GAAAC,EAAK,MACL,UAAAC,EACA,aAAAC,EAAe,GACf,QAAAC,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,EACA,SAAAC,CACF,IAAuB,CACrB,MAAMC,EAAYR,EACZS,EAAqB,IACrBP,EAEAQ,EAAA,kBAAA,IAACC,EAAA,UAAA,CACC,UAAWC,EAAA,KACT,+CACAX,CACF,EACA,QAAAE,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,EAEC,SAAAC,CAAA,CACH,EAIFG,EAAA,kBAAA,IAACG,EAAA,IAAA,CACC,WAAY,SACZ,GAAI,MACJ,UAAWD,EAAAA,KAAK,aAAcX,CAAS,EACvC,MAAO,CACL,QAAAE,EACA,eAAAC,EACA,WAAAC,EACA,SAAAC,CACF,EAEC,SAAAC,CAAA,CACH,EAIJ,OAAQG,EAAAA,kBAAAA,IAAAF,EAAA,CAAU,UAAU,cAAe,aAAqB,CAClE"}
|
package/dist/index.cjs170.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["bg","text","color","border"],o=e=>t.map(r=>e[r]?r==="color"?`text-${e[r]}`:`${r}-${e[r]}`:"").filter(Boolean);exports.createColorClasses=o;
|
2
2
|
//# sourceMappingURL=index.cjs170.js.map
|
package/dist/index.cjs170.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs170.js","sources":["../src/theme/
|
1
|
+
{"version":3,"file":"index.cjs170.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\r\n | \"primary\"\r\n | \"white\"\r\n | \"status-success\"\r\n | \"warning\"\r\n | \"error\"\r\n | \"muted\"\r\n | \"emphasis\"\r\n | \"slate-20\"\r\n | \"slate-14\"\r\n | \"slate-28\"\r\n | \"border-divider\"\r\n | \"transparent\"\r\n | \"blue-30\"\r\n | \"disabled\"\r\n | \"lightblue-a01\"\r\n | \"lightblue-a02\"\r\n | \"lightblue-a03\"\r\n | \"secondary\";\r\n\r\nexport type ColorProps = {\r\n bg?: ColorKeys;\r\n text?: ColorKeys;\r\n color?: ColorKeys;\r\n border?: ColorKeys;\r\n};\r\n\r\nexport type ColorPropsKeys = keyof ColorProps;\r\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\r\n\r\nexport const createColorClasses = <TProps extends ColorProps>(\r\n props: TProps,\r\n) => {\r\n return colorPropsKeys\r\n .map((key) => {\r\n if (!props[key]) return \"\";\r\n\r\n if (key === \"color\") return `text-${props[key]}`;\r\n return `${key}-${props[key]}`;\r\n })\r\n .filter(Boolean);\r\n};\r\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"gFA4BA,MAAMA,EAAmC,CAAC,KAAM,OAAQ,QAAS,QAAQ,EAE5DC,EACXC,GAEOF,EACJ,IAAKG,GACCD,EAAMC,CAAG,EAEVA,IAAQ,QAAgB,QAAQD,EAAMC,CAAG,CAAC,GACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAHH,EAIzB,EACA,OAAO,OAAO"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["gap","m","mx","my","mt","mr","mb","ml","p","px","py","pt","pr","pb","pl","br","br-t","br-r","br-b","br-l","min-h","min-w","max-h","max-w"],a=e=>t.map(r=>e[r]?`${r}-${e[r]}`:"").filter(Boolean);exports.createSpacingClasses=a;
|
2
|
+
//# sourceMappingURL=index.cjs171.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.cjs171.js","sources":["../src/theme/spacing.ts"],"sourcesContent":["export type SpacingKey =\r\n | \"x4\"\r\n | \"x8\"\r\n | \"x12\"\r\n | \"x16\"\r\n | \"x20\"\r\n | \"x24\"\r\n | \"x28\"\r\n | \"x32\"\r\n | \"x36\"\r\n | \"x40\"\r\n | \"x44\"\r\n | \"x48\"\r\n | \"x52\"\r\n | \"x56\"\r\n | \"x60\"\r\n | \"x64\"\r\n | \"x68\"\r\n | \"x72\"\r\n | \"x76\"\r\n | \"x80\"\r\n | \"x84\"\r\n | \"x88\"\r\n | \"x92\"\r\n | \"x96\"\r\n | \"x100\"\r\n | \"x104\";\r\n\r\nexport type SpacingProps = {\r\n gap?: SpacingKey;\r\n m?: SpacingKey; // margin\r\n mx?: SpacingKey; // margin x\r\n my?: SpacingKey; // margin y\r\n mt?: SpacingKey; // margin top\r\n mr?: SpacingKey; // margin bottom\r\n mb?: SpacingKey; // margin right\r\n ml?: SpacingKey; // margin left\r\n p?: SpacingKey; // padding\r\n px?: SpacingKey; // padding x\r\n py?: SpacingKey; // padding y\r\n pt?: SpacingKey; // padding top\r\n pr?: SpacingKey; // padding bottom\r\n pb?: SpacingKey; // padding right\r\n pl?: SpacingKey; // padding left\r\n br?: SpacingKey; // border-radius\r\n \"br-t\"?: SpacingKey; // border-radius top\r\n \"br-r\"?: SpacingKey; // border-radius right\r\n \"br-b\"?: SpacingKey; // border-radius bottom\r\n \"br-l\"?: SpacingKey; // border-radius left\r\n \"min-h\"?: SpacingKey; // min-height\r\n \"min-w\"?: SpacingKey; // min-width\r\n \"max-h\"?: SpacingKey; // max-height\r\n \"max-w\"?: SpacingKey; // max-width\r\n};\r\n\r\nexport type SpacingPropsKeys = keyof SpacingProps;\r\nconst spacingPropsKeys: SpacingPropsKeys[] = [\r\n \"gap\",\r\n \"m\",\r\n \"mx\",\r\n \"my\",\r\n \"mt\",\r\n \"mr\",\r\n \"mb\",\r\n \"ml\",\r\n \"p\",\r\n \"px\",\r\n \"py\",\r\n \"pt\",\r\n \"pr\",\r\n \"pb\",\r\n \"pl\",\r\n \"br\",\r\n \"br-t\",\r\n \"br-r\",\r\n \"br-b\",\r\n \"br-l\",\r\n \"min-h\",\r\n \"min-w\",\r\n \"max-h\",\r\n \"max-w\",\r\n];\r\n\r\nexport const createSpacingClasses = <TProps extends SpacingProps>(\r\n props: TProps,\r\n) => {\r\n return spacingPropsKeys\r\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\r\n .filter(Boolean);\r\n};\r\n"],"names":["spacingPropsKeys","createSpacingClasses","props","key"],"mappings":"gFAwDA,MAAMA,EAAuC,CAC3C,MACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,OACA,OACA,OACA,QACA,QACA,QACA,OACF,EAEaC,EACXC,GAEOF,EACJ,IAAKG,GAASD,EAAMC,CAAG,EAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAAK,EAAG,EACvD,OAAO,OAAO"}
|
package/dist/index.cjs173.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs173.js","sources":["../src/theme/typography.ts"],"sourcesContent":["export type TypographyKeys =\n | \"0\"\n | \"1\"\n | \"2\"\n | \"3\"\n | \"4\"\n | \"5\"\n | \"6\"\n | \"7\"\n | \"8\"\n | \"custom\";\n\nexport type TypographyProps = {\n fs?: TypographyKeys;\n fw?: \"regular\" | \"medium\" | \"semibold\" | \"bold\";\n};\n\nexport type TypographyPropsKeys = keyof TypographyProps;\nconst typographyPropsKeys: TypographyPropsKeys[] = [\"fs\", \"fw\"];\n\nexport const createTypographyClasses = <TProps extends TypographyProps>(\n props: TProps,\n) => {\n return typographyPropsKeys\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\n .filter(Boolean);\n};\n"],"names":["typographyPropsKeys","createTypographyClasses","props","key"],"mappings":"gFAkBA,MAAMA,EAA6C,CAAC,KAAM,IAAI,EAEjDC,EACXC,GAEOF,EACJ,IAAKG,GAASD,EAAMC,CAAG,EAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAAK,EAAG,EACvD,OAAO,OAAO"}
|
1
|
+
{"version":3,"file":"index.cjs173.js","sources":["../src/theme/typography.ts"],"sourcesContent":["export type TypographyKeys =\r\n | \"0\"\r\n | \"1\"\r\n | \"2\"\r\n | \"3\"\r\n | \"4\"\r\n | \"5\"\r\n | \"6\"\r\n | \"7\"\r\n | \"8\"\r\n | \"custom\";\r\n\r\nexport type TypographyProps = {\r\n fs?: TypographyKeys;\r\n fw?: \"regular\" | \"medium\" | \"semibold\" | \"bold\";\r\n};\r\n\r\nexport type TypographyPropsKeys = keyof TypographyProps;\r\nconst typographyPropsKeys: TypographyPropsKeys[] = [\"fs\", \"fw\"];\r\n\r\nexport const createTypographyClasses = <TProps extends TypographyProps>(\r\n props: TProps,\r\n) => {\r\n return typographyPropsKeys\r\n .map((key) => (props[key] ? `${key}-${props[key]}` : \"\"))\r\n .filter(Boolean);\r\n};\r\n"],"names":["typographyPropsKeys","createTypographyClasses","props","key"],"mappings":"gFAkBA,MAAMA,EAA6C,CAAC,KAAM,IAAI,EAEjDC,EACXC,GAEOF,EACJ,IAAKG,GAASD,EAAMC,CAAG,EAAI,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAAK,EAAG,EACvD,OAAO,OAAO"}
|
package/dist/index.cjs176.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs176.js","sources":["../src/hooks/useMediaQuery.ts"],"sourcesContent":["import { useState, useEffect } from \"react\";\n\nexport const useMediaQuery = (query: string): boolean => {\n const [matches, setMatches] = useState(false);\n\n useEffect(() => {\n const media = window.matchMedia(query);\n\n setMatches(media.matches);\n\n const listener = (event: MediaQueryListEvent) => {\n setMatches(event.matches);\n };\n\n media.addEventListener(\"change\", listener);\n\n return () => {\n media.removeEventListener(\"change\", listener);\n };\n }, [query]);\n\n return matches;\n};\n\nexport const useMediaQueryV2 = (\n query: string,\n initialValue: boolean,\n): boolean => {\n const [matches, setMatches] = useState(initialValue);\n\n useEffect(() => {\n const media = window.matchMedia(query);\n\n setMatches(media.matches);\n\n const listener = (event: MediaQueryListEvent) => {\n setMatches(event.matches);\n };\n\n media.addEventListener(\"change\", listener);\n\n return () => {\n media.removeEventListener(\"change\", listener);\n };\n }, [query]);\n\n return matches;\n};\n"],"names":["useMediaQuery","query","matches","setMatches","useState","useEffect","media","listener","event"],"mappings":"yGAEaA,EAAiBC,GAA2B,CACvD,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAAS,EAAK,EAE5CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAQ,OAAO,WAAWL,CAAK,EAErCE,EAAWG,EAAM,OAAO,EAElB,MAAAC,EAAYC,GAA+B,CAC/CL,EAAWK,EAAM,OAAO,CAC1B,EAEM,OAAAF,EAAA,iBAAiB,SAAUC,CAAQ,EAElC,IAAM,CACLD,EAAA,oBAAoB,SAAUC,CAAQ,CAC9C,CAAA,EACC,CAACN,CAAK,CAAC,EAEHC,CACT"}
|
1
|
+
{"version":3,"file":"index.cjs176.js","sources":["../src/hooks/useMediaQuery.ts"],"sourcesContent":["import { useState, useEffect } from \"react\";\r\n\r\nexport const useMediaQuery = (query: string): boolean => {\r\n const [matches, setMatches] = useState(false);\r\n\r\n useEffect(() => {\r\n const media = window.matchMedia(query);\r\n\r\n setMatches(media.matches);\r\n\r\n const listener = (event: MediaQueryListEvent) => {\r\n setMatches(event.matches);\r\n };\r\n\r\n media.addEventListener(\"change\", listener);\r\n\r\n return () => {\r\n media.removeEventListener(\"change\", listener);\r\n };\r\n }, [query]);\r\n\r\n return matches;\r\n};\r\n\r\nexport const useMediaQueryV2 = (\r\n query: string,\r\n initialValue: boolean,\r\n): boolean => {\r\n const [matches, setMatches] = useState(initialValue);\r\n\r\n useEffect(() => {\r\n const media = window.matchMedia(query);\r\n\r\n setMatches(media.matches);\r\n\r\n const listener = (event: MediaQueryListEvent) => {\r\n setMatches(event.matches);\r\n };\r\n\r\n media.addEventListener(\"change\", listener);\r\n\r\n return () => {\r\n media.removeEventListener(\"change\", listener);\r\n };\r\n }, [query]);\r\n\r\n return matches;\r\n};\r\n"],"names":["useMediaQuery","query","matches","setMatches","useState","useEffect","media","listener","event"],"mappings":"yGAEaA,EAAiBC,GAA2B,CACvD,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAAS,EAAK,EAE5CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAQ,OAAO,WAAWL,CAAK,EAErCE,EAAWG,EAAM,OAAO,EAElB,MAAAC,EAAYC,GAA+B,CAC/CL,EAAWK,EAAM,OAAO,CAC1B,EAEM,OAAAF,EAAA,iBAAiB,SAAUC,CAAQ,EAElC,IAAM,CACLD,EAAA,oBAAoB,SAAUC,CAAQ,CAC9C,CAAA,EACC,CAACN,CAAK,CAAC,EAEHC,CACT"}
|
package/dist/index.cjs18.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs18.js","sources":["../src/components/navigations/HeaderPostLogin/index.tsx"],"sourcesContent":["import { LOGOS, Region } from \"../Header\";\nimport clsx from \"clsx\";\nimport { Divider } from \"@/components/ui/Divider\";\nimport \"./HeaderPostLogin.scss\";\nimport { ComponentType, ReactNode } from \"react\";\nimport { Col, Row } from \"@/components\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n icon?: ComponentType<any>;\n active?: boolean;\n isNewTab?: boolean;\n};\n\nexport type HeaderPostLoginProps = {\n shortTitle: ReactNode;\n region: Region;\n navigationItems: NavigationItem[];\n loginLink?: string;\n asLink?: \"a\" | ComponentType<any>;\n generalClassName?: string;\n navItemsClassName?: string;\n};\n\nexport const HeaderPostLogin = ({\n shortTitle,\n region,\n asLink = \"a\",\n navigationItems,\n generalClassName,\n navItemsClassName,\n}: HeaderPostLoginProps) => {\n const LinkComponent = asLink;\n const NationalIcon = LOGOS[\"nazionale\"];\n const RegionIcon = LOGOS[region];\n\n return (\n <nav\n aria-label=\"Menu di navigazione\"\n className={clsx(\"ui-hpl-menu\", generalClassName)}\n style={\n {\n \"--navbar-elements\": navigationItems.length ?? 0,\n } as React.CSSProperties\n }\n >\n <Col\n pt={\"x80\"}\n px={\"x40\"}\n gap={\"x16\"}\n justifyContent={\"center\"}\n className=\"position-relative\"\n >\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"center\"}>\n <NationalIcon width={27} height={44} />\n <Divider bg=\"border-divider\" direction=\"vertical\" />\n <RegionIcon width={44} height={44} />\n </Row>\n <h3 className=\"fs-custom fw-normal text-slate-20 text-align-center\">\n {shortTitle}\n </h3>\n </Col>\n <div className=\"p-x40\">\n <Divider bg=\"border-divider\" />\n </div>\n <Col\n as={\"ul\"}\n gap={\"x12\"}\n className={clsx(\"list-style-none ui-hpl-list\", navItemsClassName)}\n role=\"list\"\n >\n {navigationItems.map((item, index) => {\n const IconComponent = item?.icon;\n return (\n <li\n key={index}\n className={clsx(\"ui-hpl-list-item\", item.active && \"active\")}\n >\n <LinkComponent\n href={item.href}\n aria-label={`Vai alla pagina ${item.label}`}\n className={clsx(\n \"text-decoration-none text-primary fs-custom base-row gap-x16 align-items-center pr-x8\",\n item.active ? \"fw-bold\" : \"fw-normal\",\n )}\n target={item.isNewTab ? \"_blank\" : undefined}\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\n >\n {IconComponent && (\n <IconComponent color=\"primary\" filled={item.active} />\n )}\n <span className=\"ui-hpl-text\">{item.label}</span>\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\n </LinkComponent>\n </li>\n );\n })}\n </Col>\n </nav>\n );\n};\n"],"names":["HeaderPostLogin","shortTitle","region","asLink","navigationItems","generalClassName","navItemsClassName","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsxs","clsx","Col","Row","jsx","Divider","item","index","IconComponent"],"mappings":"+SAyBaA,EAAkB,CAAC,CAC9B,WAAAC,EACA,OAAAC,EACA,OAAAC,EAAS,IACT,gBAAAC,EACA,iBAAAC,EACA,kBAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAChBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMP,CAAM,EAG7B,OAAAS,EAAA,kBAAA,KAAC,MAAA,CACC,aAAW,sBACX,UAAWC,EAAAA,KAAK,cAAeP,CAAgB,EAC/C,MACE,CACE,oBAAqBD,EAAgB,QAAU,CACjD,EAGF,SAAA,CAAAO,EAAA,kBAAA,KAACE,EAAA,IAAA,CACC,GAAI,MACJ,GAAI,MACJ,IAAK,MACL,eAAgB,SAChB,UAAU,oBAEV,SAAA,CAAAF,yBAACG,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,SACrD,SAAA,CAAAC,EAAA,kBAAA,IAACP,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EACpCO,EAAA,kBAAA,IAAAC,EAAA,QAAA,CAAQ,GAAG,iBAAiB,UAAU,WAAW,EACjDD,EAAA,kBAAA,IAAAL,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,EACrC,EACCK,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,sDACX,SACHd,CAAA,CAAA,CAAA,CAAA,CACF,EACAc,EAAAA,kBAAAA,IAAC,OAAI,UAAU,QACb,iCAACC,EAAAA,QAAQ,CAAA,GAAG,iBAAiB,CAC/B,CAAA,EACAD,EAAA,kBAAA,IAACF,EAAA,IAAA,CACC,GAAI,KACJ,IAAK,MACL,UAAWD,EAAAA,KAAK,8BAA+BN,CAAiB,EAChE,KAAK,OAEJ,SAAgBF,EAAA,IAAI,CAACa,EAAMC,IAAU,CACpC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWH,EAAAA,KAAK,mBAAoBK,EAAK,QAAU,QAAQ,EAE3D,SAAAN,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMU,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWL,EAAA,KACT,wFACAK,EAAK,OAAS,UAAY,WAC5B,EACA,OAAQA,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAAE,2BACEA,EAAc,CAAA,MAAM,UAAU,OAAQF,EAAK,OAAQ,EAErDF,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,cAAe,WAAK,MAAM,EACzCE,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAC1D,EAlBKG,CAmBP,CAEH,CAAA,CAAA,CAAA,CACH,CAAA,CACF,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs18.js","sources":["../src/components/navigations/HeaderPostLogin/index.tsx"],"sourcesContent":["import { LOGOS, Region } from \"../Header\";\r\nimport clsx from \"clsx\";\r\nimport { Divider } from \"@/components/ui/Divider\";\r\nimport \"./HeaderPostLogin.scss\";\r\nimport { ComponentType, ReactNode } from \"react\";\r\nimport { Col, Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n icon?: ComponentType<any>;\r\n active?: boolean;\r\n isNewTab?: boolean;\r\n};\r\n\r\nexport type HeaderPostLoginProps = {\r\n shortTitle: ReactNode;\r\n region: Region;\r\n navigationItems: NavigationItem[];\r\n loginLink?: string;\r\n asLink?: \"a\" | ComponentType<any>;\r\n generalClassName?: string;\r\n navItemsClassName?: string;\r\n};\r\n\r\nexport const HeaderPostLogin = ({\r\n shortTitle,\r\n region,\r\n asLink = \"a\",\r\n navigationItems,\r\n generalClassName,\r\n navItemsClassName,\r\n}: HeaderPostLoginProps) => {\r\n const LinkComponent = asLink;\r\n const NationalIcon = LOGOS[\"nazionale\"];\r\n const RegionIcon = LOGOS[region];\r\n\r\n return (\r\n <nav\r\n aria-label=\"Menu di navigazione\"\r\n className={clsx(\"ui-hpl-menu\", generalClassName)}\r\n style={\r\n {\r\n \"--navbar-elements\": navigationItems.length ?? 0,\r\n } as React.CSSProperties\r\n }\r\n >\r\n <Col\r\n pt={\"x80\"}\r\n px={\"x40\"}\r\n gap={\"x16\"}\r\n justifyContent={\"center\"}\r\n className=\"position-relative\"\r\n >\r\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"center\"}>\r\n <NationalIcon width={27} height={44} />\r\n <Divider bg=\"border-divider\" direction=\"vertical\" />\r\n <RegionIcon width={44} height={44} />\r\n </Row>\r\n <h3 className=\"fs-custom fw-normal text-slate-20 text-align-center\">\r\n {shortTitle}\r\n </h3>\r\n </Col>\r\n <div className=\"p-x40\">\r\n <Divider bg=\"border-divider\" />\r\n </div>\r\n <Col\r\n as={\"ul\"}\r\n gap={\"x12\"}\r\n className={clsx(\"list-style-none ui-hpl-list\", navItemsClassName)}\r\n role=\"list\"\r\n >\r\n {navigationItems.map((item, index) => {\r\n const IconComponent = item?.icon;\r\n return (\r\n <li\r\n key={index}\r\n className={clsx(\"ui-hpl-list-item\", item.active && \"active\")}\r\n >\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none text-primary fs-custom base-row gap-x16 align-items-center pr-x8\",\r\n item.active ? \"fw-bold\" : \"fw-normal\",\r\n )}\r\n target={item.isNewTab ? \"_blank\" : undefined}\r\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\r\n >\r\n {IconComponent && (\r\n <IconComponent color=\"primary\" filled={item.active} />\r\n )}\r\n <span className=\"ui-hpl-text\">{item.label}</span>\r\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </Col>\r\n </nav>\r\n );\r\n};\r\n"],"names":["HeaderPostLogin","shortTitle","region","asLink","navigationItems","generalClassName","navItemsClassName","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsxs","clsx","Col","Row","jsx","Divider","item","index","IconComponent"],"mappings":"+SAyBaA,EAAkB,CAAC,CAC9B,WAAAC,EACA,OAAAC,EACA,OAAAC,EAAS,IACT,gBAAAC,EACA,iBAAAC,EACA,kBAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAChBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMP,CAAM,EAG7B,OAAAS,EAAA,kBAAA,KAAC,MAAA,CACC,aAAW,sBACX,UAAWC,EAAAA,KAAK,cAAeP,CAAgB,EAC/C,MACE,CACE,oBAAqBD,EAAgB,QAAU,CACjD,EAGF,SAAA,CAAAO,EAAA,kBAAA,KAACE,EAAA,IAAA,CACC,GAAI,MACJ,GAAI,MACJ,IAAK,MACL,eAAgB,SAChB,UAAU,oBAEV,SAAA,CAAAF,yBAACG,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,SACrD,SAAA,CAAAC,EAAA,kBAAA,IAACP,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EACpCO,EAAA,kBAAA,IAAAC,EAAA,QAAA,CAAQ,GAAG,iBAAiB,UAAU,WAAW,EACjDD,EAAA,kBAAA,IAAAL,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,EACrC,EACCK,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,sDACX,SACHd,CAAA,CAAA,CAAA,CAAA,CACF,EACAc,EAAAA,kBAAAA,IAAC,OAAI,UAAU,QACb,iCAACC,EAAAA,QAAQ,CAAA,GAAG,iBAAiB,CAC/B,CAAA,EACAD,EAAA,kBAAA,IAACF,EAAA,IAAA,CACC,GAAI,KACJ,IAAK,MACL,UAAWD,EAAAA,KAAK,8BAA+BN,CAAiB,EAChE,KAAK,OAEJ,SAAgBF,EAAA,IAAI,CAACa,EAAMC,IAAU,CACpC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWH,EAAAA,KAAK,mBAAoBK,EAAK,QAAU,QAAQ,EAE3D,SAAAN,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMU,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWL,EAAA,KACT,wFACAK,EAAK,OAAS,UAAY,WAC5B,EACA,OAAQA,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAAE,2BACEA,EAAc,CAAA,MAAM,UAAU,OAAQF,EAAK,OAAQ,EAErDF,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,cAAe,WAAK,MAAM,EACzCE,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAC1D,EAlBKG,CAmBP,CAEH,CAAA,CAAA,CAAA,CACH,CAAA,CACF,CAEJ"}
|
package/dist/index.cjs180.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Divider/Divider.css');const s=require("./index.cjs161.js"),t=require("./index.cjs163.js"),l=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Divider/Divider.css');const s=require("./index.cjs161.js"),t=require("./index.cjs163.js"),l=require("./index.cjs170.js");;/* empty css */const c=({direction:e="horizontal",bg:r="white",className:o})=>{const i=l.createColorClasses({bg:r});return s.jsxRuntimeExports.jsx("div",{className:t.clsx(e==="horizontal"?"ui-horizontal":"ui-vertical",i,o)})};exports.Divider=c;
|
2
2
|
//# sourceMappingURL=index.cjs180.js.map
|
package/dist/index.cjs180.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs180.js","sources":["../src/components/ui/Divider/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ColorProps, createColorClasses } from \"@/theme/colors\";\nimport \"./Divider.scss\";\n\ntype DividerProps = Pick<ColorProps, \"bg\"> & {\n direction?: \"horizontal\" | \"vertical\";\n className?: string;\n};\n\nexport const Divider = ({\n direction = \"horizontal\",\n bg = \"white\",\n className,\n}: DividerProps) => {\n const colorClass = createColorClasses({ bg });\n\n return (\n <div\n className={clsx(\n direction === \"horizontal\" ? \"ui-horizontal\" : \"ui-vertical\",\n colorClass,\n className,\n )}\n />\n );\n};\n"],"names":["Divider","direction","bg","className","colorClass","createColorClasses","jsx","clsx"],"mappings":"gNASO,MAAMA,EAAU,CAAC,CACtB,UAAAC,EAAY,aACZ,GAAAC,EAAK,QACL,UAAAC,CACF,IAAoB,CAClB,MAAMC,EAAaC,EAAAA,mBAAmB,CAAE,GAAAH,EAAI,EAG1C,OAAAI,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTN,IAAc,aAAe,gBAAkB,cAC/CG,EACAD,CAAA,CACF,CACF,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs180.js","sources":["../src/components/ui/Divider/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { ColorProps, createColorClasses } from \"@/theme/colors\";\r\nimport \"./Divider.scss\";\r\n\r\ntype DividerProps = Pick<ColorProps, \"bg\"> & {\r\n direction?: \"horizontal\" | \"vertical\";\r\n className?: string;\r\n};\r\n\r\nexport const Divider = ({\r\n direction = \"horizontal\",\r\n bg = \"white\",\r\n className,\r\n}: DividerProps) => {\r\n const colorClass = createColorClasses({ bg });\r\n\r\n return (\r\n <div\r\n className={clsx(\r\n direction === \"horizontal\" ? \"ui-horizontal\" : \"ui-vertical\",\r\n colorClass,\r\n className,\r\n )}\r\n />\r\n );\r\n};\r\n"],"names":["Divider","direction","bg","className","colorClass","createColorClasses","jsx","clsx"],"mappings":"gNASO,MAAMA,EAAU,CAAC,CACtB,UAAAC,EAAY,aACZ,GAAAC,EAAK,QACL,UAAAC,CACF,IAAoB,CAClB,MAAMC,EAAaC,EAAAA,mBAAmB,CAAE,GAAAH,EAAI,EAG1C,OAAAI,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTN,IAAc,aAAe,gBAAkB,cAC/CG,EACAD,CAAA,CACF,CACF,CAEJ"}
|
package/dist/index.cjs183.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs183.js","sources":["../src/components/navigations/Breadcrumb/BreadcrumbItem.tsx"],"sourcesContent":["import \"./Breadcrumb.scss\";\nimport clsx from \"clsx\";\nimport { ComponentType } from \"react\";\n\nexport type BreadcrumbItemProps = {\n label: string;\n href?: string;\n isClickable?: boolean;\n asLink?: \"a\" | ComponentType<any>;\n};\n\nexport const BreadcrumbItem = ({\n label,\n href,\n isClickable,\n asLink = \"a\",\n}: BreadcrumbItemProps) => {\n const LinkComponent = asLink;\n return (\n <li\n className={clsx(\"ui-breadcrumb-item\", {\n \"active text-slate-20 fw-semibold\": isClickable,\n \"text-slate-28\": !isClickable,\n })}\n >\n {href && isClickable ? (\n <LinkComponent href={href}>{label}</LinkComponent>\n ) : (\n label\n )}\n </li>\n );\n};\n"],"names":["BreadcrumbItem","label","href","isClickable","asLink","LinkComponent","jsx","clsx"],"mappings":"uLAWaA,EAAiB,CAAC,CAC7B,MAAAC,EACA,KAAAC,EACA,YAAAC,EACA,OAAAC,EAAS,GACX,IAA2B,CACzB,MAAMC,EAAgBD,EAEpB,OAAAE,EAAA,kBAAA,IAAC,KAAA,CACC,UAAWC,OAAK,qBAAsB,CACpC,mCAAoCJ,EACpC,gBAAiB,CAACA,CAAA,CACnB,EAEA,YAAQA,EACPG,wBAACD,EAAc,CAAA,KAAAH,EAAa,WAAM,EAElCD,CAAA,CAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs183.js","sources":["../src/components/navigations/Breadcrumb/BreadcrumbItem.tsx"],"sourcesContent":["import \"./Breadcrumb.scss\";\r\nimport clsx from \"clsx\";\r\nimport { ComponentType } from \"react\";\r\n\r\nexport type BreadcrumbItemProps = {\r\n label: string;\r\n href?: string;\r\n isClickable?: boolean;\r\n asLink?: \"a\" | ComponentType<any>;\r\n};\r\n\r\nexport const BreadcrumbItem = ({\r\n label,\r\n href,\r\n isClickable,\r\n asLink = \"a\",\r\n}: BreadcrumbItemProps) => {\r\n const LinkComponent = asLink;\r\n return (\r\n <li\r\n className={clsx(\"ui-breadcrumb-item\", {\r\n \"active text-slate-20 fw-semibold\": isClickable,\r\n \"text-slate-28\": !isClickable,\r\n })}\r\n >\r\n {href && isClickable ? (\r\n <LinkComponent href={href}>{label}</LinkComponent>\r\n ) : (\r\n label\r\n )}\r\n </li>\r\n );\r\n};\r\n"],"names":["BreadcrumbItem","label","href","isClickable","asLink","LinkComponent","jsx","clsx"],"mappings":"uLAWaA,EAAiB,CAAC,CAC7B,MAAAC,EACA,KAAAC,EACA,YAAAC,EACA,OAAAC,EAAS,GACX,IAA2B,CACzB,MAAMC,EAAgBD,EAEpB,OAAAE,EAAA,kBAAA,IAAC,KAAA,CACC,UAAWC,OAAK,qBAAsB,CACpC,mCAAoCJ,EACpC,gBAAiB,CAACA,CAAA,CACnB,EAEA,YAAQA,EACPG,wBAACD,EAAc,CAAA,KAAAH,EAAa,WAAM,EAElCD,CAAA,CAEJ,CAEJ"}
|
package/dist/index.cjs189.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs161.js"),l=require("./index.cjs163.js"),x=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs161.js"),l=require("./index.cjs163.js"),x=require("./index.cjs170.js"),n=({width:s=56,height:r=10,className:t,color:i})=>{const o=x.createColorClasses({color:i});return e.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:r,fill:"currentColor",viewBox:"0 0 56 10",className:l.clsx(t,o),"aria-hidden":"true",children:[e.jsxRuntimeExports.jsx("g",{filter:"url(#filter0_d_348_84872)",children:e.jsxRuntimeExports.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"M25.44 2.134a4 4 0 0 1 5.12 0L40 10H16z",clipRule:"evenodd"})}),e.jsxRuntimeExports.jsx("defs",{children:e.jsxRuntimeExports.jsxs("filter",{id:"filter0_d_348_84872",width:"56",height:"40.793",x:"0",y:"-6.793",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[e.jsxRuntimeExports.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsxRuntimeExports.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),e.jsxRuntimeExports.jsx("feOffset",{dy:"8"}),e.jsxRuntimeExports.jsx("feGaussianBlur",{stdDeviation:"8"}),e.jsxRuntimeExports.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),e.jsxRuntimeExports.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_348_84872"}),e.jsxRuntimeExports.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_348_84872",result:"shape"})]})})]})};exports.ArrowList=n;
|
2
2
|
//# sourceMappingURL=index.cjs189.js.map
|
package/dist/index.cjs189.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs189.js","sources":["../src/icons/ArrowList/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"../../types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const ArrowList = ({\n width = 56,\n height = 10,\n className,\n color,\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 56 10\"\n className={clsx(className, classes)}\n aria-hidden=\"true\" // this is a decorative icon, so we should hide it from screen readers\n >\n <g filter=\"url(#filter0_d_348_84872)\">\n <path\n fill=\"#fff\"\n fillRule=\"evenodd\"\n d=\"M25.44 2.134a4 4 0 0 1 5.12 0L40 10H16z\"\n clipRule=\"evenodd\"\n ></path>\n </g>\n <defs>\n <filter\n id=\"filter0_d_348_84872\"\n width=\"56\"\n height=\"40.793\"\n x=\"0\"\n y=\"-6.793\"\n colorInterpolationFilters=\"sRGB\"\n filterUnits=\"userSpaceOnUse\"\n >\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\"></feFlood>\n <feColorMatrix\n in=\"SourceAlpha\"\n result=\"hardAlpha\"\n values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n ></feColorMatrix>\n <feOffset dy=\"8\"></feOffset>\n <feGaussianBlur stdDeviation=\"8\"></feGaussianBlur>\n <feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"></feColorMatrix>\n <feBlend\n in2=\"BackgroundImageFix\"\n result=\"effect1_dropShadow_348_84872\"\n ></feBlend>\n <feBlend\n in=\"SourceGraphic\"\n in2=\"effect1_dropShadow_348_84872\"\n result=\"shape\"\n ></feBlend>\n </filter>\n </defs>\n </svg>\n );\n};\n"],"names":["ArrowList","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,6BACN,MAAAN,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAClC,cAAY,OAEZ,SAAA,CAACI,EAAAA,kBAAAA,IAAA,IAAA,CAAE,OAAO,4BACR,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,0CACF,SAAS,SAAA,CAAA,EAEb,0BACC,OACC,CAAA,SAAAF,EAAA,kBAAA,KAAC,SAAA,CACC,GAAG,sBACH,MAAM,KACN,OAAO,SACP,EAAE,IACF,EAAE,SACF,0BAA0B,OAC1B,YAAY,iBAEZ,SAAA,CAAAE,EAAA,kBAAA,IAAC,UAAQ,CAAA,aAAa,IAAI,OAAO,qBAAqB,EACtDA,EAAA,kBAAA,IAAC,gBAAA,CACC,GAAG,cACH,OAAO,YACP,OAAO,2CAAA,CACR,EACDA,EAAAA,kBAAAA,IAAC,WAAS,CAAA,GAAG,GAAI,CAAA,EACjBA,EAAAA,kBAAAA,IAAC,iBAAe,CAAA,aAAa,GAAI,CAAA,EACjCA,EAAAA,kBAAAA,IAAC,gBAAc,CAAA,OAAO,4CAA6C,CAAA,EACnEA,EAAA,kBAAA,IAAC,UAAA,CACC,IAAI,qBACJ,OAAO,8BAAA,CACR,EACDA,EAAA,kBAAA,IAAC,UAAA,CACC,GAAG,gBACH,IAAI,+BACJ,OAAO,OAAA,CAAA,CACR,CAAA,CAAA,CAEL,CAAA,CAAA,CAAA,CACF,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs189.js","sources":["../src/icons/ArrowList/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"../../types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const ArrowList = ({\r\n width = 56,\r\n height = 10,\r\n className,\r\n color,\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width={width}\r\n height={height}\r\n fill=\"currentColor\"\r\n viewBox=\"0 0 56 10\"\r\n className={clsx(className, classes)}\r\n aria-hidden=\"true\" // this is a decorative icon, so we should hide it from screen readers\r\n >\r\n <g filter=\"url(#filter0_d_348_84872)\">\r\n <path\r\n fill=\"#fff\"\r\n fillRule=\"evenodd\"\r\n d=\"M25.44 2.134a4 4 0 0 1 5.12 0L40 10H16z\"\r\n clipRule=\"evenodd\"\r\n ></path>\r\n </g>\r\n <defs>\r\n <filter\r\n id=\"filter0_d_348_84872\"\r\n width=\"56\"\r\n height=\"40.793\"\r\n x=\"0\"\r\n y=\"-6.793\"\r\n colorInterpolationFilters=\"sRGB\"\r\n filterUnits=\"userSpaceOnUse\"\r\n >\r\n <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\"></feFlood>\r\n <feColorMatrix\r\n in=\"SourceAlpha\"\r\n result=\"hardAlpha\"\r\n values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\r\n ></feColorMatrix>\r\n <feOffset dy=\"8\"></feOffset>\r\n <feGaussianBlur stdDeviation=\"8\"></feGaussianBlur>\r\n <feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0\"></feColorMatrix>\r\n <feBlend\r\n in2=\"BackgroundImageFix\"\r\n result=\"effect1_dropShadow_348_84872\"\r\n ></feBlend>\r\n <feBlend\r\n in=\"SourceGraphic\"\r\n in2=\"effect1_dropShadow_348_84872\"\r\n result=\"shape\"\r\n ></feBlend>\r\n </filter>\r\n </defs>\r\n </svg>\r\n );\r\n};\r\n"],"names":["ArrowList","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,6BACN,MAAAN,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAClC,cAAY,OAEZ,SAAA,CAACI,EAAAA,kBAAAA,IAAA,IAAA,CAAE,OAAO,4BACR,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,0CACF,SAAS,SAAA,CAAA,EAEb,0BACC,OACC,CAAA,SAAAF,EAAA,kBAAA,KAAC,SAAA,CACC,GAAG,sBACH,MAAM,KACN,OAAO,SACP,EAAE,IACF,EAAE,SACF,0BAA0B,OAC1B,YAAY,iBAEZ,SAAA,CAAAE,EAAA,kBAAA,IAAC,UAAQ,CAAA,aAAa,IAAI,OAAO,qBAAqB,EACtDA,EAAA,kBAAA,IAAC,gBAAA,CACC,GAAG,cACH,OAAO,YACP,OAAO,2CAAA,CACR,EACDA,EAAAA,kBAAAA,IAAC,WAAS,CAAA,GAAG,GAAI,CAAA,EACjBA,EAAAA,kBAAAA,IAAC,iBAAe,CAAA,aAAa,GAAI,CAAA,EACjCA,EAAAA,kBAAAA,IAAC,gBAAc,CAAA,OAAO,4CAA6C,CAAA,EACnEA,EAAA,kBAAA,IAAC,UAAA,CACC,IAAI,qBACJ,OAAO,8BAAA,CACR,EACDA,EAAA,kBAAA,IAAC,UAAA,CACC,GAAG,gBACH,IAAI,+BACJ,OAAO,OAAA,CAAA,CACR,CAAA,CAAA,CAEL,CAAA,CAAA,CAAA,CACF,CAEJ"}
|
package/dist/index.cjs19.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs19.js","sources":["../src/components/navigations/Breadcrumb/index.tsx"],"sourcesContent":["import {\n BreadcrumbItem,\n BreadcrumbItemProps,\n} from \"@/components/navigations/Breadcrumb/BreadcrumbItem.tsx\";\nimport clsx from \"clsx\";\nimport \"./Breadcrumb.scss\";\n\nexport type BreadcrumbProps = {\n items: BreadcrumbItemProps[];\n};\n\nexport const Breadcrumb = ({\n items = [{ label: \"Home\", href: \"#\" }],\n}: BreadcrumbProps) => {\n return (\n <nav aria-label=\"Percorso di navigazione\">\n <ol className={clsx(\"ui-breadcrumb\", \"fs-6 md-fs-custom\")}>\n {items.map((item, index) => (\n <div key={index}>\n <BreadcrumbItem\n label={item.label}\n href={item.href}\n asLink={item.asLink}\n isClickable={item.isClickable ?? true}\n />\n {index < items.length - 1 && (\n <span\n className={clsx(\n \"ui-breadcrumb-separator\",\n \"fw-bold text-slate-28\",\n )}\n >\n /\n </span>\n )}\n </div>\n ))}\n </ol>\n </nav>\n );\n};\n"],"names":["Breadcrumb","items","jsx","clsx","item","index","BreadcrumbItem"],"mappings":"gNAWO,MAAMA,EAAa,CAAC,CACzB,MAAAC,EAAQ,CAAC,CAAE,MAAO,OAAQ,KAAM,GAAK,CAAA,CACvC,4BAEK,MAAI,CAAA,aAAW,0BACd,SAAAC,wBAAC,MAAG,UAAWC,EAAA,KAAK,gBAAiB,mBAAmB,EACrD,SAAMF,EAAA,IAAI,CAACG,EAAMC,6BACf,MACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,IAACI,EAAA,eAAA,CACC,MAAOF,EAAK,MACZ,KAAMA,EAAK,KACX,OAAQA,EAAK,OACb,YAAaA,EAAK,aAAe,EAAA,CACnC,EACCC,EAAQJ,EAAM,OAAS,GACtBC,EAAA,kBAAA,IAAC,OAAA,CACC,UAAWC,EAAA,KACT,0BACA,uBACF,EACD,SAAA,GAAA,CAAA,CAbK,CAAA,EAAAE,CAiBV,CACD,CACH,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs19.js","sources":["../src/components/navigations/Breadcrumb/index.tsx"],"sourcesContent":["import {\r\n BreadcrumbItem,\r\n BreadcrumbItemProps,\r\n} from \"@/components/navigations/Breadcrumb/BreadcrumbItem.tsx\";\r\nimport clsx from \"clsx\";\r\nimport \"./Breadcrumb.scss\";\r\n\r\nexport type BreadcrumbProps = {\r\n items: BreadcrumbItemProps[];\r\n};\r\n\r\nexport const Breadcrumb = ({\r\n items = [{ label: \"Home\", href: \"#\" }],\r\n}: BreadcrumbProps) => {\r\n return (\r\n <nav aria-label=\"Percorso di navigazione\">\r\n <ol className={clsx(\"ui-breadcrumb\", \"fs-6 md-fs-custom\")}>\r\n {items.map((item, index) => (\r\n <div key={index}>\r\n <BreadcrumbItem\r\n label={item.label}\r\n href={item.href}\r\n asLink={item.asLink}\r\n isClickable={item.isClickable ?? true}\r\n />\r\n {index < items.length - 1 && (\r\n <span\r\n className={clsx(\r\n \"ui-breadcrumb-separator\",\r\n \"fw-bold text-slate-28\",\r\n )}\r\n >\r\n /\r\n </span>\r\n )}\r\n </div>\r\n ))}\r\n </ol>\r\n </nav>\r\n );\r\n};\r\n"],"names":["Breadcrumb","items","jsx","clsx","item","index","BreadcrumbItem"],"mappings":"gNAWO,MAAMA,EAAa,CAAC,CACzB,MAAAC,EAAQ,CAAC,CAAE,MAAO,OAAQ,KAAM,GAAK,CAAA,CACvC,4BAEK,MAAI,CAAA,aAAW,0BACd,SAAAC,wBAAC,MAAG,UAAWC,EAAA,KAAK,gBAAiB,mBAAmB,EACrD,SAAMF,EAAA,IAAI,CAACG,EAAMC,6BACf,MACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,IAACI,EAAA,eAAA,CACC,MAAOF,EAAK,MACZ,KAAMA,EAAK,KACX,OAAQA,EAAK,OACb,YAAaA,EAAK,aAAe,EAAA,CACnC,EACCC,EAAQJ,EAAM,OAAS,GACtBC,EAAA,kBAAA,IAAC,OAAA,CACC,UAAWC,EAAA,KACT,0BACA,uBACF,EACD,SAAA,GAAA,CAAA,CAbK,CAAA,EAAAE,CAiBV,CACD,CACH,CAAA,EACF"}
|
package/dist/index.cjs190.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs190.js","sources":["../src/components/navigations/HeaderMobile/index.tsx"],"sourcesContent":["\"use client\";\n\nimport { Button } from \"@/components/ui/Button\";\nimport { Region } from \"../Header\";\nimport { HeaderTopBanner, HeaderTopBannerProps } from \"../HeaderTopBanner\";\nimport { Close, Hamburguer } from \"@/icons\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport clsx from \"clsx\";\nimport { useFocusTrap } from \"@/hooks/useFocusTrap\";\nimport { Container } from \"@/components/ui/Container\";\nimport \"./HeaderMobile.scss\";\nimport { Col } from \"@/components/ui/Col\";\nimport { Row } from \"@/components\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n active?: boolean;\n isNewTab?: boolean;\n};\n\ntype NavigationLabels = {\n closeMenu: string;\n login: string;\n};\n\nexport type HeaderMobileProps = HeaderTopBannerProps & {\n shortTitle: React.ReactNode;\n menuTitle?: string;\n region: Region;\n navigatonItems: NavigationItem[];\n labels: NavigationLabels;\n loginLink?: string;\n};\n\nexport const HeaderMobile = ({\n shortTitle,\n menuTitle = \"Menù\",\n region,\n asLink = \"a\",\n navigatonItems,\n labels,\n loginLink = \"/\",\n}: HeaderMobileProps) => {\n const LinkComponent = asLink;\n const [isOpen, setIsOpen] = useState(false);\n const navId = \"main-navigation\";\n const navRef = useRef<HTMLElement>(null);\n\n useFocusTrap(navRef, isOpen);\n\n const toggleMenu = useCallback(() => {\n setIsOpen(!isOpen);\n }, [isOpen]);\n\n useEffect(() => {\n if (isOpen) {\n document.body.classList.add(\"ui-body-overflow-hidden\");\n } else {\n document.body.classList.remove(\"ui-body-overflow-hidden\");\n }\n\n return () => {\n document.body.classList.remove(\"ui-body-overflow-hidden\");\n };\n }, [isOpen]);\n\n useEffect(() => {\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key === \"Escape\" && isOpen) {\n toggleMenu();\n }\n };\n\n document.addEventListener(\"keydown\", handleEscape);\n return () => document.removeEventListener(\"keydown\", handleEscape);\n }, [isOpen, toggleMenu]);\n\n const handleLinkClick = () => {\n setIsOpen(false);\n };\n\n return (\n <div className=\"sticky-header shadow\">\n <HeaderTopBanner\n asLink={asLink}\n shortTitle={shortTitle}\n region={region}\n />\n\n <Container\n className=\"bg-slate-20 min-h-x64 base-row align-items-center justify-content-end\"\n as=\"header\"\n py=\"x8\"\n >\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"end\"}>\n <Button\n size=\"3\"\n bg=\"white\"\n textColor=\"primary\"\n href={loginLink}\n asLink=\"a\"\n >\n {labels.login}\n <span className=\"visually-hidden\"> Accedi con Cohesion</span>\n </Button>\n <button\n aria-expanded={isOpen}\n aria-label=\"Apri menu di navigazione\"\n onClick={toggleMenu}\n className=\"ui-mobile-menu-toggle\"\n aria-controls={navId}\n >\n <Hamburguer width={40} height={40} color=\"white\" />\n </button>\n </Row>\n\n <nav\n id={navId}\n aria-label=\"Menu di navigazione\"\n className={clsx(isOpen ? \"ui-mobile-nav-panel\" : \"visually-hidden\")}\n ref={navRef}\n >\n <Col className=\"ui-mobile-nav-header\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n onClick={toggleMenu}\n aria-label=\"Chiudi menu di navigazione\"\n aria-controls={navId}\n >\n {labels.closeMenu}\n <Close />\n </Button>\n <h2 className=\"fs-3 text-slate-20\">{menuTitle}</h2>\n </Col>\n\n <ul className=\"list-style-none p-x16\" role=\"list\">\n {navigatonItems.map((item, index) => {\n return (\n <li\n key={index}\n className={clsx(\n \"ui-mobile-nav-item\",\n item.active && \"active\",\n )}\n >\n <LinkComponent\n href={item.href}\n aria-label={`Vai alla pagina ${item.label}`}\n className={clsx(\n \"text-decoration-none text-primary fs-5\",\n item.active ? \"fw-bold\" : \"fw-normal\",\n )}\n onClick={handleLinkClick}\n target={item.isNewTab ? \"_blank\" : undefined}\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\n >\n {item.label}\n {item.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </LinkComponent>\n </li>\n );\n })}\n </ul>\n </nav>\n </Container>\n </div>\n );\n};\n"],"names":["HeaderMobile","shortTitle","menuTitle","region","asLink","navigatonItems","labels","loginLink","LinkComponent","isOpen","setIsOpen","useState","navId","navRef","useRef","useFocusTrap","toggleMenu","useCallback","useEffect","handleEscape","e","handleLinkClick","jsxs","jsx","HeaderTopBanner","Container","Row","Button","Hamburguer","clsx","Col","Close","item","index"],"mappings":"2bAmCaA,EAAe,CAAC,CAC3B,WAAAC,EACA,UAAAC,EAAY,OACZ,OAAAC,EACA,OAAAC,EAAS,IACT,eAAAC,EACA,OAAAC,EACA,UAAAC,EAAY,GACd,IAAyB,CACvB,MAAMC,EAAgBJ,EAChB,CAACK,EAAQC,CAAS,EAAIC,EAAAA,SAAS,EAAK,EACpCC,EAAQ,kBACRC,EAASC,SAAoB,IAAI,EAEvCC,EAAA,aAAaF,EAAQJ,CAAM,EAErB,MAAAO,EAAaC,EAAAA,YAAY,IAAM,CACnCP,EAAU,CAACD,CAAM,CAAA,EAChB,CAACA,CAAM,CAAC,EAEXS,EAAAA,UAAU,KACJT,EACO,SAAA,KAAK,UAAU,IAAI,yBAAyB,EAE5C,SAAA,KAAK,UAAU,OAAO,yBAAyB,EAGnD,IAAM,CACF,SAAA,KAAK,UAAU,OAAO,yBAAyB,CAC1D,GACC,CAACA,CAAM,CAAC,EAEXS,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAgBC,GAAqB,CACrCA,EAAE,MAAQ,UAAYX,GACbO,EAAA,CAEf,EAES,gBAAA,iBAAiB,UAAWG,CAAY,EAC1C,IAAM,SAAS,oBAAoB,UAAWA,CAAY,CAAA,EAChE,CAACV,EAAQO,CAAU,CAAC,EAEvB,MAAMK,EAAkB,IAAM,CAC5BX,EAAU,EAAK,CACjB,EAGE,OAAAY,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,uBACb,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,gBAAA,CACC,OAAApB,EACA,WAAAH,EACA,OAAAE,CAAA,CACF,EAEAmB,EAAA,kBAAA,KAACG,EAAA,UAAA,CACC,UAAU,wEACV,GAAG,SACH,GAAG,KAEH,SAAA,CAAAH,yBAACI,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,MACrD,SAAA,CAAAJ,EAAA,kBAAA,KAACK,EAAA,OAAA,CACC,KAAK,IACL,GAAG,QACH,UAAU,UACV,KAAMpB,EACN,OAAO,IAEN,SAAA,CAAOD,EAAA,MACPiB,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,kBAAkB,SAAoB,sBAAA,CAAA,CAAA,CAAA,CACxD,EACAA,EAAA,kBAAA,IAAC,SAAA,CACC,gBAAed,EACf,aAAW,2BACX,QAASO,EACT,UAAU,wBACV,gBAAeJ,EAEf,iCAACgB,EAAW,WAAA,CAAA,MAAO,GAAI,OAAQ,GAAI,MAAM,OAAQ,CAAA,CAAA,CAAA,CACnD,EACF,EAEAN,EAAA,kBAAA,KAAC,MAAA,CACC,GAAIV,EACJ,aAAW,sBACX,UAAWiB,EAAA,KAAKpB,EAAS,sBAAwB,iBAAiB,EAClE,IAAKI,EAEL,SAAA,CAACS,EAAAA,kBAAAA,KAAAQ,EAAAA,IAAA,CAAI,UAAU,uBACb,SAAA,CAAAR,EAAA,kBAAA,KAACK,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,QAASX,EACT,aAAW,6BACX,gBAAeJ,EAEd,SAAA,CAAON,EAAA,kCACPyB,EAAM,MAAA,CAAA,CAAA,CAAA,CAAA,CACT,EACCR,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,qBAAsB,SAAUrB,CAAA,CAAA,CAAA,EAChD,EAEAqB,EAAAA,kBAAAA,IAAC,KAAG,CAAA,UAAU,wBAAwB,KAAK,OACxC,SAAelB,EAAA,IAAI,CAAC2B,EAAMC,IAEvBV,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWM,EAAA,KACT,qBACAG,EAAK,QAAU,QACjB,EAEA,SAAAV,EAAA,kBAAA,KAACd,EAAA,CACC,KAAMwB,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,yCACAG,EAAK,OAAS,UAAY,WAC5B,EACA,QAASX,EACT,OAAQW,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAKA,EAAA,MACLA,EAAK,QACJT,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAE5C,EArBKU,CAsBP,CAEH,CACH,CAAA,CAAA,CAAA,CAAA,CACF,CAAA,CAAA,CACF,EACF,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs190.js","sources":["../src/components/navigations/HeaderMobile/index.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { Button } from \"@/components/ui/Button\";\r\nimport { Region } from \"../Header\";\r\nimport { HeaderTopBanner, HeaderTopBannerProps } from \"../HeaderTopBanner\";\r\nimport { Close, Hamburguer } from \"@/icons\";\r\nimport { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { useFocusTrap } from \"@/hooks/useFocusTrap\";\r\nimport { Container } from \"@/components/ui/Container\";\r\nimport \"./HeaderMobile.scss\";\r\nimport { Col } from \"@/components/ui/Col\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n active?: boolean;\r\n isNewTab?: boolean;\r\n};\r\n\r\ntype NavigationLabels = {\r\n closeMenu: string;\r\n login: string;\r\n};\r\n\r\nexport type HeaderMobileProps = HeaderTopBannerProps & {\r\n shortTitle: React.ReactNode;\r\n menuTitle?: string;\r\n region: Region;\r\n navigatonItems: NavigationItem[];\r\n labels: NavigationLabels;\r\n loginLink?: string;\r\n};\r\n\r\nexport const HeaderMobile = ({\r\n shortTitle,\r\n menuTitle = \"Menù\",\r\n region,\r\n asLink = \"a\",\r\n navigatonItems,\r\n labels,\r\n loginLink = \"/\",\r\n}: HeaderMobileProps) => {\r\n const LinkComponent = asLink;\r\n const [isOpen, setIsOpen] = useState(false);\r\n const navId = \"main-navigation\";\r\n const navRef = useRef<HTMLElement>(null);\r\n\r\n useFocusTrap(navRef, isOpen);\r\n\r\n const toggleMenu = useCallback(() => {\r\n setIsOpen(!isOpen);\r\n }, [isOpen]);\r\n\r\n useEffect(() => {\r\n if (isOpen) {\r\n document.body.classList.add(\"ui-body-overflow-hidden\");\r\n } else {\r\n document.body.classList.remove(\"ui-body-overflow-hidden\");\r\n }\r\n\r\n return () => {\r\n document.body.classList.remove(\"ui-body-overflow-hidden\");\r\n };\r\n }, [isOpen]);\r\n\r\n useEffect(() => {\r\n const handleEscape = (e: KeyboardEvent) => {\r\n if (e.key === \"Escape\" && isOpen) {\r\n toggleMenu();\r\n }\r\n };\r\n\r\n document.addEventListener(\"keydown\", handleEscape);\r\n return () => document.removeEventListener(\"keydown\", handleEscape);\r\n }, [isOpen, toggleMenu]);\r\n\r\n const handleLinkClick = () => {\r\n setIsOpen(false);\r\n };\r\n\r\n return (\r\n <div className=\"sticky-header shadow\">\r\n <HeaderTopBanner\r\n asLink={asLink}\r\n shortTitle={shortTitle}\r\n region={region}\r\n />\r\n\r\n <Container\r\n className=\"bg-slate-20 min-h-x64 base-row align-items-center justify-content-end\"\r\n as=\"header\"\r\n py=\"x8\"\r\n >\r\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"end\"}>\r\n <Button\r\n size=\"3\"\r\n bg=\"white\"\r\n textColor=\"primary\"\r\n href={loginLink}\r\n asLink=\"a\"\r\n >\r\n {labels.login}\r\n <span className=\"visually-hidden\"> Accedi con Cohesion</span>\r\n </Button>\r\n <button\r\n aria-expanded={isOpen}\r\n aria-label=\"Apri menu di navigazione\"\r\n onClick={toggleMenu}\r\n className=\"ui-mobile-menu-toggle\"\r\n aria-controls={navId}\r\n >\r\n <Hamburguer width={40} height={40} color=\"white\" />\r\n </button>\r\n </Row>\r\n\r\n <nav\r\n id={navId}\r\n aria-label=\"Menu di navigazione\"\r\n className={clsx(isOpen ? \"ui-mobile-nav-panel\" : \"visually-hidden\")}\r\n ref={navRef}\r\n >\r\n <Col className=\"ui-mobile-nav-header\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n onClick={toggleMenu}\r\n aria-label=\"Chiudi menu di navigazione\"\r\n aria-controls={navId}\r\n >\r\n {labels.closeMenu}\r\n <Close />\r\n </Button>\r\n <h2 className=\"fs-3 text-slate-20\">{menuTitle}</h2>\r\n </Col>\r\n\r\n <ul className=\"list-style-none p-x16\" role=\"list\">\r\n {navigatonItems.map((item, index) => {\r\n return (\r\n <li\r\n key={index}\r\n className={clsx(\r\n \"ui-mobile-nav-item\",\r\n item.active && \"active\",\r\n )}\r\n >\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none text-primary fs-5\",\r\n item.active ? \"fw-bold\" : \"fw-normal\",\r\n )}\r\n onClick={handleLinkClick}\r\n target={item.isNewTab ? \"_blank\" : undefined}\r\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\r\n >\r\n {item.label}\r\n {item.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n </nav>\r\n </Container>\r\n </div>\r\n );\r\n};\r\n"],"names":["HeaderMobile","shortTitle","menuTitle","region","asLink","navigatonItems","labels","loginLink","LinkComponent","isOpen","setIsOpen","useState","navId","navRef","useRef","useFocusTrap","toggleMenu","useCallback","useEffect","handleEscape","e","handleLinkClick","jsxs","jsx","HeaderTopBanner","Container","Row","Button","Hamburguer","clsx","Col","Close","item","index"],"mappings":"2bAmCaA,EAAe,CAAC,CAC3B,WAAAC,EACA,UAAAC,EAAY,OACZ,OAAAC,EACA,OAAAC,EAAS,IACT,eAAAC,EACA,OAAAC,EACA,UAAAC,EAAY,GACd,IAAyB,CACvB,MAAMC,EAAgBJ,EAChB,CAACK,EAAQC,CAAS,EAAIC,EAAAA,SAAS,EAAK,EACpCC,EAAQ,kBACRC,EAASC,SAAoB,IAAI,EAEvCC,EAAA,aAAaF,EAAQJ,CAAM,EAErB,MAAAO,EAAaC,EAAAA,YAAY,IAAM,CACnCP,EAAU,CAACD,CAAM,CAAA,EAChB,CAACA,CAAM,CAAC,EAEXS,EAAAA,UAAU,KACJT,EACO,SAAA,KAAK,UAAU,IAAI,yBAAyB,EAE5C,SAAA,KAAK,UAAU,OAAO,yBAAyB,EAGnD,IAAM,CACF,SAAA,KAAK,UAAU,OAAO,yBAAyB,CAC1D,GACC,CAACA,CAAM,CAAC,EAEXS,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAgBC,GAAqB,CACrCA,EAAE,MAAQ,UAAYX,GACbO,EAAA,CAEf,EAES,gBAAA,iBAAiB,UAAWG,CAAY,EAC1C,IAAM,SAAS,oBAAoB,UAAWA,CAAY,CAAA,EAChE,CAACV,EAAQO,CAAU,CAAC,EAEvB,MAAMK,EAAkB,IAAM,CAC5BX,EAAU,EAAK,CACjB,EAGE,OAAAY,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,uBACb,SAAA,CAAAC,EAAA,kBAAA,IAACC,EAAA,gBAAA,CACC,OAAApB,EACA,WAAAH,EACA,OAAAE,CAAA,CACF,EAEAmB,EAAA,kBAAA,KAACG,EAAA,UAAA,CACC,UAAU,wEACV,GAAG,SACH,GAAG,KAEH,SAAA,CAAAH,yBAACI,EAAAA,KAAI,IAAK,MAAO,WAAY,SAAU,eAAgB,MACrD,SAAA,CAAAJ,EAAA,kBAAA,KAACK,EAAA,OAAA,CACC,KAAK,IACL,GAAG,QACH,UAAU,UACV,KAAMpB,EACN,OAAO,IAEN,SAAA,CAAOD,EAAA,MACPiB,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,kBAAkB,SAAoB,sBAAA,CAAA,CAAA,CAAA,CACxD,EACAA,EAAA,kBAAA,IAAC,SAAA,CACC,gBAAed,EACf,aAAW,2BACX,QAASO,EACT,UAAU,wBACV,gBAAeJ,EAEf,iCAACgB,EAAW,WAAA,CAAA,MAAO,GAAI,OAAQ,GAAI,MAAM,OAAQ,CAAA,CAAA,CAAA,CACnD,EACF,EAEAN,EAAA,kBAAA,KAAC,MAAA,CACC,GAAIV,EACJ,aAAW,sBACX,UAAWiB,EAAA,KAAKpB,EAAS,sBAAwB,iBAAiB,EAClE,IAAKI,EAEL,SAAA,CAACS,EAAAA,kBAAAA,KAAAQ,EAAAA,IAAA,CAAI,UAAU,uBACb,SAAA,CAAAR,EAAA,kBAAA,KAACK,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,QAASX,EACT,aAAW,6BACX,gBAAeJ,EAEd,SAAA,CAAON,EAAA,kCACPyB,EAAM,MAAA,CAAA,CAAA,CAAA,CAAA,CACT,EACCR,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAU,qBAAsB,SAAUrB,CAAA,CAAA,CAAA,EAChD,EAEAqB,EAAAA,kBAAAA,IAAC,KAAG,CAAA,UAAU,wBAAwB,KAAK,OACxC,SAAelB,EAAA,IAAI,CAAC2B,EAAMC,IAEvBV,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWM,EAAA,KACT,qBACAG,EAAK,QAAU,QACjB,EAEA,SAAAV,EAAA,kBAAA,KAACd,EAAA,CACC,KAAMwB,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,yCACAG,EAAK,OAAS,UAAY,WAC5B,EACA,QAASX,EACT,OAAQW,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAKA,EAAA,MACLA,EAAK,QACJT,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAE5C,EArBKU,CAsBP,CAEH,CACH,CAAA,CAAA,CAAA,CAAA,CACF,CAAA,CAAA,CACF,EACF,CAEJ"}
|
package/dist/index.cjs198.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs198.js","sources":["../src/hooks/useClickOutside.ts"],"sourcesContent":["// src/hooks/useClickOutside.ts\nimport { useEffect, RefObject } from \"react\";\n\n// Make the hook generic to accept any HTMLElement type\nexport function useClickOutside<T extends HTMLDivElement | null>(\n ref: RefObject<T>,\n isActive: boolean,\n onClickOutside: () => void,\n resetSelection?: () => void,\n keepSelectionOnNavigation?: boolean,\n): void {\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (ref.current && !ref.current.contains(event.target as Node)) {\n const isNavigationElement = (event.target as HTMLElement).closest(\n '[data-navigation=\"true\"]',\n );\n\n if (!isNavigationElement || !keepSelectionOnNavigation) {\n onClickOutside();\n\n if (resetSelection) {\n resetSelection();\n }\n }\n }\n };\n\n if (isActive) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [\n ref,\n isActive,\n onClickOutside,\n resetSelection,\n keepSelectionOnNavigation,\n ]);\n}\n"],"names":["useClickOutside","ref","isActive","onClickOutside","resetSelection","keepSelectionOnNavigation","useEffect","handleClickOutside","event"],"mappings":"yGAIO,SAASA,EACdC,EACAC,EACAC,EACAC,EACAC,EACM,CACNC,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAC5CP,EAAI,SAAW,CAACA,EAAI,QAAQ,SAASO,EAAM,MAAc,IAKvD,CAJyBA,EAAM,OAAuB,QACxD,0BACF,GAE4B,CAACH,KACZF,EAAA,EAEXC,GACaA,EAAA,EAIvB,EAEA,OAAIF,GACO,SAAA,iBAAiB,YAAaK,CAAkB,EAGpD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CACDN,EACAC,EACAC,EACAC,EACAC,CAAA,CACD,CACH"}
|
1
|
+
{"version":3,"file":"index.cjs198.js","sources":["../src/hooks/useClickOutside.ts"],"sourcesContent":["// src/hooks/useClickOutside.ts\r\nimport { useEffect, RefObject } from \"react\";\r\n\r\n// Make the hook generic to accept any HTMLElement type\r\nexport function useClickOutside<T extends HTMLDivElement | null>(\r\n ref: RefObject<T>,\r\n isActive: boolean,\r\n onClickOutside: () => void,\r\n resetSelection?: () => void,\r\n keepSelectionOnNavigation?: boolean,\r\n): void {\r\n useEffect(() => {\r\n const handleClickOutside = (event: MouseEvent) => {\r\n if (ref.current && !ref.current.contains(event.target as Node)) {\r\n const isNavigationElement = (event.target as HTMLElement).closest(\r\n '[data-navigation=\"true\"]',\r\n );\r\n\r\n if (!isNavigationElement || !keepSelectionOnNavigation) {\r\n onClickOutside();\r\n\r\n if (resetSelection) {\r\n resetSelection();\r\n }\r\n }\r\n }\r\n };\r\n\r\n if (isActive) {\r\n document.addEventListener(\"mousedown\", handleClickOutside);\r\n }\r\n\r\n return () => {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n };\r\n }, [\r\n ref,\r\n isActive,\r\n onClickOutside,\r\n resetSelection,\r\n keepSelectionOnNavigation,\r\n ]);\r\n}\r\n"],"names":["useClickOutside","ref","isActive","onClickOutside","resetSelection","keepSelectionOnNavigation","useEffect","handleClickOutside","event"],"mappings":"yGAIO,SAASA,EACdC,EACAC,EACAC,EACAC,EACAC,EACM,CACNC,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAC5CP,EAAI,SAAW,CAACA,EAAI,QAAQ,SAASO,EAAM,MAAc,IAKvD,CAJyBA,EAAM,OAAuB,QACxD,0BACF,GAE4B,CAACH,KACZF,EAAA,EAEXC,GACaA,EAAA,EAIvB,EAEA,OAAIF,GACO,SAAA,iBAAiB,YAAaK,CAAkB,EAGpD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CACDN,EACAC,EACAC,EACAC,EACAC,CAAA,CACD,CACH"}
|
package/dist/index.cjs20.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs20.js","sources":["../src/components/navigations/TabBar/index.tsx"],"sourcesContent":["\"use client\";\nimport clsx from \"clsx\";\nimport \"./TabBar.scss\";\nimport { Row } from \"@/components\";\n\ntype NavigationItem = {\n label: string;\n href: string;\n icon?: React.ComponentType<any>;\n active?: boolean;\n shortLabel?: string;\n};\n\nexport type TabBarProps = {\n navigatonItems: NavigationItem[];\n asLink?: \"a\" | React.ComponentType<any>;\n className?: string;\n};\n\nexport const TabBar = ({\n navigatonItems,\n asLink = \"a\",\n className,\n}: TabBarProps) => {\n const LinkComponent = asLink;\n\n return (\n <nav className={clsx(\"bg-white ui-tab-bar shadow\", className)}>\n <Row as={\"ul\"} className=\"list-style-none ui-tab-bar-list\" role=\"list\">\n {navigatonItems.map((item, index) => {\n const IconComponent = item?.icon;\n return (\n <li key={index} className=\"ui-tab-bar-item\">\n <LinkComponent\n href={item.href}\n aria-label={`Vai alla pagina ${item.label}`}\n className={clsx(\n \"text-decoration-none text-secondary fs-8 fw-bold\",\n item.active && \"active\",\n )}\n >\n {IconComponent && (\n <IconComponent\n color={item.active ? \"primary\" : \"secondary\"}\n filled={!!item.active}\n />\n )}\n {item.shortLabel ? item.shortLabel : item.label}\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\n </LinkComponent>\n </li>\n );\n })}\n </Row>\n </nav>\n );\n};\n"],"names":["TabBar","navigatonItems","asLink","className","LinkComponent","clsx","jsx","Row","item","index","IconComponent","jsxs"],"mappings":"oNAmBaA,EAAS,CAAC,CACrB,eAAAC,EACA,OAAAC,EAAS,IACT,UAAAC,CACF,IAAmB,CACjB,MAAMC,EAAgBF,EAEtB,+BACG,MAAI,CAAA,UAAWG,OAAK,6BAA8BF,CAAS,EAC1D,SAACG,EAAA,kBAAA,IAAAC,MAAA,CAAI,GAAI,KAAM,UAAU,kCAAkC,KAAK,OAC7D,WAAe,IAAI,CAACC,EAAMC,IAAU,CACnC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAAA,kBAAAA,IAAC,KAAe,CAAA,UAAU,kBACxB,SAAAK,EAAA,kBAAA,KAACP,EAAA,CACC,KAAMI,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,mDACAG,EAAK,QAAU,QACjB,EAEC,SAAA,CACCE,GAAAJ,EAAA,kBAAA,IAACI,EAAA,CACC,MAAOF,EAAK,OAAS,UAAY,YACjC,OAAQ,CAAC,CAACA,EAAK,MAAA,CACjB,EAEDA,EAAK,WAAaA,EAAK,WAAaA,EAAK,MACzCA,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,IAhBnDG,CAkBT,CAAA,CAEH,EACH,CACF,CAAA,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs20.js","sources":["../src/components/navigations/TabBar/index.tsx"],"sourcesContent":["\"use client\";\r\nimport clsx from \"clsx\";\r\nimport \"./TabBar.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n icon?: React.ComponentType<any>;\r\n active?: boolean;\r\n shortLabel?: string;\r\n};\r\n\r\nexport type TabBarProps = {\r\n navigatonItems: NavigationItem[];\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n className?: string;\r\n};\r\n\r\nexport const TabBar = ({\r\n navigatonItems,\r\n asLink = \"a\",\r\n className,\r\n}: TabBarProps) => {\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <nav className={clsx(\"bg-white ui-tab-bar shadow\", className)}>\r\n <Row as={\"ul\"} className=\"list-style-none ui-tab-bar-list\" role=\"list\">\r\n {navigatonItems.map((item, index) => {\r\n const IconComponent = item?.icon;\r\n return (\r\n <li key={index} className=\"ui-tab-bar-item\">\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none text-secondary fs-8 fw-bold\",\r\n item.active && \"active\",\r\n )}\r\n >\r\n {IconComponent && (\r\n <IconComponent\r\n color={item.active ? \"primary\" : \"secondary\"}\r\n filled={!!item.active}\r\n />\r\n )}\r\n {item.shortLabel ? item.shortLabel : item.label}\r\n {item.active && <span className=\"visually-hidden\">Attivo</span>}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </Row>\r\n </nav>\r\n );\r\n};\r\n"],"names":["TabBar","navigatonItems","asLink","className","LinkComponent","clsx","jsx","Row","item","index","IconComponent","jsxs"],"mappings":"oNAmBaA,EAAS,CAAC,CACrB,eAAAC,EACA,OAAAC,EAAS,IACT,UAAAC,CACF,IAAmB,CACjB,MAAMC,EAAgBF,EAEtB,+BACG,MAAI,CAAA,UAAWG,OAAK,6BAA8BF,CAAS,EAC1D,SAACG,EAAA,kBAAA,IAAAC,MAAA,CAAI,GAAI,KAAM,UAAU,kCAAkC,KAAK,OAC7D,WAAe,IAAI,CAACC,EAAMC,IAAU,CACnC,MAAMC,EAAgBF,GAAA,YAAAA,EAAM,KAE1B,OAAAF,EAAAA,kBAAAA,IAAC,KAAe,CAAA,UAAU,kBACxB,SAAAK,EAAA,kBAAA,KAACP,EAAA,CACC,KAAMI,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWH,EAAA,KACT,mDACAG,EAAK,QAAU,QACjB,EAEC,SAAA,CACCE,GAAAJ,EAAA,kBAAA,IAACI,EAAA,CACC,MAAOF,EAAK,OAAS,UAAY,YACjC,OAAQ,CAAC,CAACA,EAAK,MAAA,CACjB,EAEDA,EAAK,WAAaA,EAAK,WAAaA,EAAK,MACzCA,EAAK,QAAUF,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,IAhBnDG,CAkBT,CAAA,CAEH,EACH,CACF,CAAA,CAEJ"}
|
package/dist/index.cjs201.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs201.js","sources":["../src/hooks/useIsDesktop.ts"],"sourcesContent":["import { useMediaQuery, useMediaQueryV2 } from \"./useMediaQuery\";\n\nexport const useIsDesktop = (): boolean => {\n return useMediaQuery(\"(min-width: 1200px)\");\n};\n\nexport const useIsDesktopV2 = (initialValue?: boolean): boolean => {\n return useMediaQueryV2(\"(min-width: 1200px)\", initialValue ?? false);\n};\n"],"names":["useIsDesktop","useMediaQuery"],"mappings":"qHAEaA,EAAe,IACnBC,EAAAA,cAAc,qBAAqB"}
|
1
|
+
{"version":3,"file":"index.cjs201.js","sources":["../src/hooks/useIsDesktop.ts"],"sourcesContent":["import { useMediaQuery, useMediaQueryV2 } from \"./useMediaQuery\";\r\n\r\nexport const useIsDesktop = (): boolean => {\r\n return useMediaQuery(\"(min-width: 1200px)\");\r\n};\r\n\r\nexport const useIsDesktopV2 = (initialValue?: boolean): boolean => {\r\n return useMediaQueryV2(\"(min-width: 1200px)\", initialValue ?? false);\r\n};\r\n"],"names":["useIsDesktop","useMediaQuery"],"mappings":"qHAEaA,EAAe,IACnBC,EAAAA,cAAc,qBAAqB"}
|
package/dist/index.cjs206.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs161.js"),i=require("./index.cjs163.js"),l=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs161.js"),i=require("./index.cjs163.js"),l=require("./index.cjs170.js"),n=({width:t=24,height:e=24,className:r,color:C})=>{const o=l.createColorClasses({color:C});return s.jsxRuntimeExports.jsxs("svg",{width:t,height:e,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:i.clsx(r,o),children:[s.jsxRuntimeExports.jsx("path",{d:"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z",fill:"white"}),s.jsxRuntimeExports.jsx("path",{d:"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z",fill:"#0066CC",stroke:"#0066CC",strokeWidth:"0.3"}),s.jsxRuntimeExports.jsx("path",{d:"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z",fill:"#0066CC",stroke:"#0066CC",strokeWidth:"0.3"})]})};exports.Spid=n;
|
2
2
|
//# sourceMappingURL=index.cjs206.js.map
|
package/dist/index.cjs206.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs206.js","sources":["../src/icons/Spid/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"../../types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Spid = ({\n width = 24,\n height = 24,\n className,\n color,\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n className={clsx(className, classes)}\n >\n <path\n d=\"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z\"\n fill=\"white\"\n />\n <path\n d=\"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z\"\n fill=\"#0066CC\"\n stroke=\"#0066CC\"\n strokeWidth=\"0.3\"\n />\n <path\n d=\"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z\"\n fill=\"#0066CC\"\n stroke=\"#0066CC\"\n strokeWidth=\"0.3\"\n />\n </svg>\n );\n};\n"],"names":["Spid","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAO,CAAC,CACnB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,eACL,MAAM,6BACN,cAAY,OACZ,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAElC,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4IACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,6WACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CACd,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0LACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CAAA,CACd,CAAA,CACF,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs206.js","sources":["../src/icons/Spid/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"../../types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const Spid = ({\r\n width = 24,\r\n height = 24,\r\n className,\r\n color,\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 24 24\"\r\n fill=\"currentColor\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-hidden=\"true\"\r\n className={clsx(className, classes)}\r\n >\r\n <path\r\n d=\"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n <path\r\n d=\"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n </svg>\r\n );\r\n};\r\n"],"names":["Spid","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAO,CAAC,CACnB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,eACL,MAAM,6BACN,cAAY,OACZ,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAElC,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4IACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,6WACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CACd,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0LACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CAAA,CACd,CAAA,CACF,CAEJ"}
|
package/dist/index.cjs208.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs289.js"),v=require("./index.cjs290.js"),T=require("./index.cjs291.js"),R=require("./index.cjs295.js"),B=require("./index.cjs292.js"),V=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs289.js"),v=require("./index.cjs290.js"),T=require("./index.cjs291.js"),R=require("./index.cjs295.js"),B=require("./index.cjs292.js"),V=require("./index.cjs302.js"),z=require("./index.cjs303.js"),K=require("./index.cjs304.js"),E=require("./index.cjs298.js"),x=require("./index.cjs293.js"),U=require("./index.cjs305.js"),Y=require("./index.cjs306.js"),Z=require("./index.cjs307.js"),J=require("./index.cjs308.js"),i=require("./index.cjs161.js");function Q(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=Q(H);var j="Dialog",[A,X]=T.createContextScope(j),[ee,u]=A(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:s,onChange:o});return i.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var M="DialogTrigger",S=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(M,n),o=v.useComposedRefs(t,s.triggerRef);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":I(s.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,s.onOpenToggle)})});S.displayName=M;var P="DialogPortal",[te,w]=A(P,{forceMount:void 0}),_=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,o=u(P,t);return i.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>i.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:i.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:s,children:c})}))})};_.displayName=P;var m="DialogOverlay",y=a.forwardRef((e,t)=>{const n=w(m,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(m,e.__scopeDialog);return o.modal?i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:i.jsxRuntimeExports.jsx(oe,{...s,ref:t})}):null});y.displayName=m;var oe=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(m,n);return i.jsxRuntimeExports.jsx(Y,{as:J.Slot,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":I(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",O=a.forwardRef((e,t)=>{const n=w(g,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,o=u(g,e.__scopeDialog);return i.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?i.jsxRuntimeExports.jsx(ne,{...s,ref:t}):i.jsxRuntimeExports.jsx(re,{...s,ref:t})})});O.displayName=g;var ne=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),s=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),i.jsxRuntimeExports.jsx(F,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),s=a.useRef(!1);return i.jsxRuntimeExports.jsx(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),F=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:o,children:i.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":I(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[i.jsxRuntimeExports.jsx(ie,{titleId:l.titleId}),i.jsxRuntimeExports.jsx(ce,{contentRef:d,descriptionId:l.descriptionId})]})]})}),h="DialogTitle",N=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(h,n);return i.jsxRuntimeExports.jsx(x.Primitive.h2,{id:s.titleId,...r,ref:t})});N.displayName=h;var q="DialogDescription",$=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(q,n);return i.jsxRuntimeExports.jsx(x.Primitive.p,{id:s.descriptionId,...r,ref:t})});$.displayName=q;var W="DialogClose",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=u(W,n);return i.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>s.onOpenChange(!1))})});b.displayName=W;function I(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=T.createContext(k,{contentName:g,titleName:h,docsSlug:"dialog"}),ie=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
4
4
|
|
package/dist/index.cjs209.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs209.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close, ArrowLeft } from \"@/icons\";\nimport \"./BaseModalHeader.scss\";\nimport { Row } from \"@/components\";\n\ntype BaseModalHeaderProps = {\n labels?: {\n closeButton?: string;\n backButton?: string;\n };\n onCloseClick?: () => void;\n onBackClick?: () => void;\n showBackButton?: boolean;\n children?: React.ReactNode;\n};\n\nexport const BaseModalHeader = ({\n labels = {\n closeButton: \"Chiudi\",\n backButton: \"Indietro\",\n },\n onCloseClick,\n onBackClick,\n showBackButton = false,\n children,\n}: BaseModalHeaderProps) => {\n return (\n <header className=\"ui-base-modal-header bg-white br-t-x4\">\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\n {showBackButton && onBackClick && labels?.backButton ? (\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n >\n <ArrowLeft className=\"mr-x8\" />\n {labels.backButton}\n </Button>\n ) : null}\n {onCloseClick && labels?.closeButton ? (\n <Dialog.Close asChild>\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Chiudi modale\"\n onClick={onCloseClick}\n className=\"ui-base-modal-close\"\n >\n {labels.closeButton}\n <Close className=\"ml-x8\" />\n </Button>\n </Dialog.Close>\n ) : null}\n </Row>\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </header>\n );\n};\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Dialog.Title"],"mappings":"gTAiBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,wCAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBH,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCK,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASL,EAET,SAAA,CAACM,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BT,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBQ,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,0BACCC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAR,CACH,CAAA,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs209.js","sources":["../src/components/ui/BaseModal/BaseModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close, ArrowLeft } from \"@/icons\";\r\nimport \"./BaseModalHeader.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype BaseModalHeaderProps = {\r\n labels?: {\r\n closeButton?: string;\r\n backButton?: string;\r\n };\r\n onCloseClick?: () => void;\r\n onBackClick?: () => void;\r\n showBackButton?: boolean;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalHeader = ({\r\n labels = {\r\n closeButton: \"Chiudi\",\r\n backButton: \"Indietro\",\r\n },\r\n onCloseClick,\r\n onBackClick,\r\n showBackButton = false,\r\n children,\r\n}: BaseModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-base-modal-header bg-white br-t-x4\">\r\n <Row alignItems={\"center\"} justifyContent={\"space-between\"}>\r\n {showBackButton && onBackClick && labels?.backButton ? (\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Torna indietro\"\r\n onClick={onBackClick}\r\n >\r\n <ArrowLeft className=\"mr-x8\" />\r\n {labels.backButton}\r\n </Button>\r\n ) : null}\r\n {onCloseClick && labels?.closeButton ? (\r\n <Dialog.Close asChild>\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n className=\"ui-base-modal-close\"\r\n >\r\n {labels.closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n ) : null}\r\n </Row>\r\n <Dialog.Title className=\"fs-3 text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n </header>\r\n );\r\n};\r\n"],"names":["BaseModalHeader","labels","onCloseClick","onBackClick","showBackButton","children","jsxs","Row","Button","jsx","ArrowLeft","Dialog.Close","Close","Dialog.Title"],"mappings":"gTAiBaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,CACP,YAAa,SACb,WAAY,UACd,EACA,aAAAC,EACA,YAAAC,EACA,eAAAC,EAAiB,GACjB,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,wCAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBACxC,SAAA,CAAkBH,GAAAD,IAAeF,GAAA,MAAAA,EAAQ,YACxCK,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASL,EAET,SAAA,CAACM,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BT,EAAO,UAAA,CAAA,CAAA,EAER,KACHC,IAAgBD,GAAA,MAAAA,EAAQ,aACvBQ,EAAA,kBAAA,IAACE,EAAA,MAAA,CAAa,QAAO,GACnB,SAAAL,EAAA,kBAAA,KAACE,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EACT,UAAU,sBAET,SAAA,CAAOD,EAAA,YACRQ,EAAAA,kBAAAA,IAACG,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,GAE7B,EACE,IAAA,EACN,0BACCC,EAAAA,MAAA,CAAa,UAAU,6BACrB,SAAAR,CACH,CAAA,CAAA,EACF"}
|
package/dist/index.cjs21.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs21.js","sources":["../src/components/navigations/HeaderTopBanner/index.tsx"],"sourcesContent":["\"use client\";\n\nimport { Container } from \"@/components/ui/Container\";\nimport { Region, LOGOS } from \"../Header\";\nimport { Divider } from \"@/components/ui/Divider\";\nimport clsx from \"clsx\";\nimport { Row } from \"@/components\";\n\nexport type HeaderTopBannerProps = {\n asLink?: \"a\" | React.ComponentType<any>;\n shortTitle: React.ReactNode;\n region?: Region;\n className?: string;\n};\n\nexport const HeaderTopBanner = ({\n asLink = \"a\",\n shortTitle,\n region = \"marche\",\n className,\n}: HeaderTopBannerProps) => {\n const LinkComponent = asLink;\n\n const NationalIcon = LOGOS[\"nazionale\"];\n const RegionIcon = LOGOS[region];\n\n return (\n <div className=\"bg-white\">\n <Container\n className={clsx(\"min-h-x48 base-row align-items-center\", className)}\n display=\"flex\"\n alignItems=\"center\"\n gap=\"x16\"\n py=\"x8\"\n >\n <Row alignItems={\"center\"} gap={\"x8\"}>\n <NationalIcon width={28} height={28} />\n\n {region !== \"nazionale\" && (\n <>\n <Divider direction=\"vertical\" bg=\"border-divider\" />\n <RegionIcon width={28} height={28} />\n </>\n )}\n </Row>\n\n <LinkComponent\n href=\"/\"\n className={\n \"fs-7 text-decoration-none text-slate-20 fw-regular d-block hover-underline\"\n }\n >\n {shortTitle}\n </LinkComponent>\n </Container>\n </div>\n );\n};\n"],"names":["HeaderTopBanner","asLink","shortTitle","region","className","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsx","jsxs","Container","clsx","Row","Fragment","Divider"],"mappings":"2QAeaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,IACT,WAAAC,EACA,OAAAC,EAAS,SACT,UAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAEhBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMJ,CAAM,EAG7B,OAAAM,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,WACb,SAAAC,EAAA,kBAAA,KAACC,EAAA,UAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCR,CAAS,EAClE,QAAQ,OACR,WAAW,SACX,IAAI,MACJ,GAAG,KAEH,SAAA,CAAAM,EAAA,kBAAA,KAACG,EAAI,IAAA,CAAA,WAAY,SAAU,IAAK,KAC9B,SAAA,CAAAJ,EAAA,kBAAA,IAACH,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EAEpCH,IAAW,aAERO,EAAAA,kBAAAA,KAAAI,EAAA,kBAAA,SAAA,CAAA,SAAA,CAAAL,EAAA,kBAAA,IAACM,EAAQ,QAAA,CAAA,UAAU,WAAW,GAAG,iBAAiB,EACjDN,EAAA,kBAAA,IAAAD,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CACrC,CAAA,CAAA,EAEJ,EAEAC,EAAA,kBAAA,IAACJ,EAAA,CACC,KAAK,IACL,UACE,6EAGD,SAAAH,CAAA,CAAA,CACH,CAAA,CAAA,EAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs21.js","sources":["../src/components/navigations/HeaderTopBanner/index.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport { Container } from \"@/components/ui/Container\";\r\nimport { Region, LOGOS } from \"../Header\";\r\nimport { Divider } from \"@/components/ui/Divider\";\r\nimport clsx from \"clsx\";\r\nimport { Row } from \"@/components\";\r\n\r\nexport type HeaderTopBannerProps = {\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n shortTitle: React.ReactNode;\r\n region?: Region;\r\n className?: string;\r\n};\r\n\r\nexport const HeaderTopBanner = ({\r\n asLink = \"a\",\r\n shortTitle,\r\n region = \"marche\",\r\n className,\r\n}: HeaderTopBannerProps) => {\r\n const LinkComponent = asLink;\r\n\r\n const NationalIcon = LOGOS[\"nazionale\"];\r\n const RegionIcon = LOGOS[region];\r\n\r\n return (\r\n <div className=\"bg-white\">\r\n <Container\r\n className={clsx(\"min-h-x48 base-row align-items-center\", className)}\r\n display=\"flex\"\r\n alignItems=\"center\"\r\n gap=\"x16\"\r\n py=\"x8\"\r\n >\r\n <Row alignItems={\"center\"} gap={\"x8\"}>\r\n <NationalIcon width={28} height={28} />\r\n\r\n {region !== \"nazionale\" && (\r\n <>\r\n <Divider direction=\"vertical\" bg=\"border-divider\" />\r\n <RegionIcon width={28} height={28} />\r\n </>\r\n )}\r\n </Row>\r\n\r\n <LinkComponent\r\n href=\"/\"\r\n className={\r\n \"fs-7 text-decoration-none text-slate-20 fw-regular d-block hover-underline\"\r\n }\r\n >\r\n {shortTitle}\r\n </LinkComponent>\r\n </Container>\r\n </div>\r\n );\r\n};\r\n"],"names":["HeaderTopBanner","asLink","shortTitle","region","className","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsx","jsxs","Container","clsx","Row","Fragment","Divider"],"mappings":"2QAeaA,EAAkB,CAAC,CAC9B,OAAAC,EAAS,IACT,WAAAC,EACA,OAAAC,EAAS,SACT,UAAAC,CACF,IAA4B,CAC1B,MAAMC,EAAgBJ,EAEhBK,EAAeC,QAAM,UACrBC,EAAaD,QAAMJ,CAAM,EAG7B,OAAAM,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,WACb,SAAAC,EAAA,kBAAA,KAACC,EAAA,UAAA,CACC,UAAWC,EAAAA,KAAK,wCAAyCR,CAAS,EAClE,QAAQ,OACR,WAAW,SACX,IAAI,MACJ,GAAG,KAEH,SAAA,CAAAM,EAAA,kBAAA,KAACG,EAAI,IAAA,CAAA,WAAY,SAAU,IAAK,KAC9B,SAAA,CAAAJ,EAAA,kBAAA,IAACH,EAAa,CAAA,MAAO,GAAI,OAAQ,GAAI,EAEpCH,IAAW,aAERO,EAAAA,kBAAAA,KAAAI,EAAA,kBAAA,SAAA,CAAA,SAAA,CAAAL,EAAA,kBAAA,IAACM,EAAQ,QAAA,CAAA,UAAU,WAAW,GAAG,iBAAiB,EACjDN,EAAA,kBAAA,IAAAD,EAAA,CAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CACrC,CAAA,CAAA,EAEJ,EAEAC,EAAA,kBAAA,IAACJ,EAAA,CACC,KAAK,IACL,UACE,6EAGD,SAAAH,CAAA,CAAA,CACH,CAAA,CAAA,EAEJ,CAEJ"}
|
package/dist/index.cjs210.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs210.js","sources":["../src/components/ui/BaseModal/BaseModalFooter/index.tsx"],"sourcesContent":["import { Row } from \"@/components\";\n\ntype BaseModalFooterProps = {\n className?: string;\n children: React.ReactNode;\n};\n\nexport const BaseModalFooter = ({\n children,\n className,\n}: BaseModalFooterProps) => {\n return (\n <Row\n as={\"footer\"}\n bg={\"white\"}\n alignItems={\"center\"}\n px={\"x36\"}\n py={\"x8\"}\n className={`min-h-x72 w-full br-b-x4 ${className ? className : \"\"} `}\n >\n {children}\n </Row>\n );\n};\n"],"names":["BaseModalFooter","children","className","jsx","Row"],"mappings":"kJAOaA,EAAkB,CAAC,CAC9B,SAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,IAAA,CACC,GAAI,SACJ,GAAI,QACJ,WAAY,SACZ,GAAI,MACJ,GAAI,KACJ,UAAW,4BAA4BF,GAAwB,EAAE,IAEhE,SAAAD,CAAA,CACH"}
|
1
|
+
{"version":3,"file":"index.cjs210.js","sources":["../src/components/ui/BaseModal/BaseModalFooter/index.tsx"],"sourcesContent":["import { Row } from \"@/components\";\r\n\r\ntype BaseModalFooterProps = {\r\n className?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalFooter = ({\r\n children,\r\n className,\r\n}: BaseModalFooterProps) => {\r\n return (\r\n <Row\r\n as={\"footer\"}\r\n bg={\"white\"}\r\n alignItems={\"center\"}\r\n px={\"x36\"}\r\n py={\"x8\"}\r\n className={`min-h-x72 w-full br-b-x4 ${className ? className : \"\"} `}\r\n >\r\n {children}\r\n </Row>\r\n );\r\n};\r\n"],"names":["BaseModalFooter","children","className","jsx","Row"],"mappings":"kJAOaA,EAAkB,CAAC,CAC9B,SAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,IAACC,EAAA,IAAA,CACC,GAAI,SACJ,GAAI,QACJ,WAAY,SACZ,GAAI,MACJ,GAAI,KACJ,UAAW,4BAA4BF,GAAwB,EAAE,IAEhE,SAAAD,CAAA,CACH"}
|
package/dist/index.cjs211.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs211.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":"kJAOO,MAAMA,EAAmB,CAAC,CAC/B,UAAAC,EACA,SAAAC,CACF,IAEIC,wBAAC,OAAI,UAAW,yBAAyBF,GAAwB,EAAE,GAChE,SAAAC,CACH,CAAA"}
|
1
|
+
{"version":3,"file":"index.cjs211.js","sources":["../src/components/ui/BaseModal/BaseModalContent/index.tsx"],"sourcesContent":["import \"./BaseModalContent.scss\";\r\n\r\ntype BaseModalContentProps = {\r\n className?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalContent = ({\r\n className,\r\n children,\r\n}: BaseModalContentProps) => {\r\n return (\r\n <div className={`ui-base-modal-content ${className ? className : \"\"}`}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["BaseModalContent","className","children","jsx"],"mappings":"kJAOO,MAAMA,EAAmB,CAAC,CAC/B,UAAAC,EACA,SAAAC,CACF,IAEIC,wBAAC,OAAI,UAAW,yBAAyBF,GAAwB,EAAE,GAChE,SAAAC,CACH,CAAA"}
|
package/dist/index.cjs212.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs212.js","sources":["../src/components/ui/BaseModal/BaseModalBackHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { ArrowLeft } from \"@/icons\";\nimport \"./BaseModalBackHeader.scss\";\n\ntype BaseModalBackProps = {\n onBackClick: () => void;\n backButton: string;\n children?: React.ReactNode;\n};\n\nexport const BaseModalBackHeader = ({\n onBackClick,\n backButton,\n children,\n}: BaseModalBackProps) => {\n return (\n <header className=\"ui-base-modal-back-header\">\n <Button\n size=\"4\"\n textColor=\"primary\"\n bg=\"transparent\"\n aria-label=\"Torna indietro\"\n onClick={onBackClick}\n className=\"ui-base-modal-back-button\"\n >\n <ArrowLeft className=\"mr-x8\" />\n {backButton}\n </Button>\n <Dialog.Title className=\"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold\">\n {children}\n </Dialog.Title>\n </header>\n );\n};\n"],"names":["BaseModalBackHeader","onBackClick","backButton","children","jsxs","Button","jsx","ArrowLeft","Dialog.Title"],"mappings":"oPAWaA,EAAsB,CAAC,CAClC,YAAAC,EACA,WAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,4BAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASJ,EACT,UAAU,4BAEV,SAAA,CAACK,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BL,CAAA,CAAA,CACH,0BACCM,EAAAA,MAAA,CAAa,UAAU,6DACrB,SAAAL,CACH,CAAA,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs212.js","sources":["../src/components/ui/BaseModal/BaseModalBackHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { ArrowLeft } from \"@/icons\";\r\nimport \"./BaseModalBackHeader.scss\";\r\n\r\ntype BaseModalBackProps = {\r\n onBackClick: () => void;\r\n backButton: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalBackHeader = ({\r\n onBackClick,\r\n backButton,\r\n children,\r\n}: BaseModalBackProps) => {\r\n return (\r\n <header className=\"ui-base-modal-back-header\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Torna indietro\"\r\n onClick={onBackClick}\r\n className=\"ui-base-modal-back-button\"\r\n >\r\n <ArrowLeft className=\"mr-x8\" />\r\n {backButton}\r\n </Button>\r\n <Dialog.Title className=\"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n </header>\r\n );\r\n};\r\n"],"names":["BaseModalBackHeader","onBackClick","backButton","children","jsxs","Button","jsx","ArrowLeft","Dialog.Title"],"mappings":"oPAWaA,EAAsB,CAAC,CAClC,YAAAC,EACA,WAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,4BAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASJ,EACT,UAAU,4BAEV,SAAA,CAACK,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BL,CAAA,CAAA,CACH,0BACCM,EAAAA,MAAA,CAAa,UAAU,6DACrB,SAAAL,CACH,CAAA,CAAA,EACF"}
|
package/dist/index.cjs214.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs214.js","sources":["../src/components/ui/ConsentModal/ConsentModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"../../Button\";\nimport { Close } from \"@/icons\";\nimport \"./ConsentModalHeader.scss\";\n\ntype ConsentModalHeaderProps = {\n closeButton?: string;\n onCloseClick?: () => void;\n children?: React.ReactNode;\n};\n\nexport const ConsentModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: ConsentModalHeaderProps) => {\n return (\n <header className=\"ui-consent-modal-header shadow 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-consent-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":["ConsentModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"oPAWaA,EAAqB,CAAC,CACjC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs214.js","sources":["../src/components/ui/ConsentModal/ConsentModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./ConsentModalHeader.scss\";\r\n\r\ntype ConsentModalHeaderProps = {\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ConsentModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: ConsentModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-consent-modal-header shadow bg-white\">\r\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n <Dialog.Close asChild className=\"ui-consent-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n );\r\n};\r\n"],"names":["ConsentModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"oPAWaA,EAAqB,CAAC,CACjC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,gCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
|
package/dist/index.cjs215.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs215.js","sources":["../src/components/ui/ConsentModal/ConsentModalFooter/index.tsx"],"sourcesContent":["import \"./ConsentModalFooter.scss\";\n\ntype ConsentModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const ConsentModalFooter = ({ children }: ConsentModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["ConsentModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAqB,CAAC,CAAE,SAAAC,KAEhCC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
1
|
+
{"version":3,"file":"index.cjs215.js","sources":["../src/components/ui/ConsentModal/ConsentModalFooter/index.tsx"],"sourcesContent":["import \"./ConsentModalFooter.scss\";\r\n\r\ntype ConsentModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ConsentModalFooter = ({ children }: ConsentModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["ConsentModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAqB,CAAC,CAAE,SAAAC,KAEhCC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
package/dist/index.cjs216.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const n=require("./index.cjs161.js"),o=require("./index.cjs163.js");;/* empty css */const s=({overrideClassNames:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:o.clsx("ui-consent-modal-body",e),children:t});exports.ContentModalContent=s;
|
2
2
|
//# sourceMappingURL=index.cjs216.js.map
|
package/dist/index.cjs216.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs216.js","sources":["../src/components/ui/ConsentModal/ConsentModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./ConsentModalContent.scss\";\n\ntype ContentModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const ContentModalContent = ({\n overrideClassNames,\n children,\n}: ContentModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["ContentModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAsB,CAAC,CAClC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
1
|
+
{"version":3,"file":"index.cjs216.js","sources":["../src/components/ui/ConsentModal/ConsentModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./ConsentModalContent.scss\";\r\n\r\ntype ContentModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const ContentModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: ContentModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["ContentModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAsB,CAAC,CAClC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
package/dist/index.cjs219.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs219.js","sources":["../src/components/ui/DoctorModal/DoctorModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DoctorModalContent.scss\";\n\ntype DoctorModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DoctorModalContent = ({\n overrideClassNames,\n children,\n}: DoctorModalContentProps) => {\n return (\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DoctorModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAqB,CAAC,CACjC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
1
|
+
{"version":3,"file":"index.cjs219.js","sources":["../src/components/ui/DoctorModal/DoctorModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DoctorModalContent.scss\";\r\n\r\ntype DoctorModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DoctorModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DoctorModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAAqB,CAAC,CACjC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
package/dist/index.cjs22.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Dropdown/Dropdown.css');const e=require("./index.cjs161.js"),r=require("./index.cjs186.js"),x=require("./index.cjs163.js"),a=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Dropdown/Dropdown.css');const e=require("./index.cjs161.js"),r=require("./index.cjs186.js"),x=require("./index.cjs163.js"),a=require("./index.cjs170.js");;/* empty css */const u=require("./index.cjs98.js"),c=require("./index.cjs9.js"),d=({text:t,leftIcon:n,options:o,asLinkItem:s,textColor:i="white"})=>{const l=a.createColorClasses({text:i});return e.jsxRuntimeExports.jsxs(r.Root,{children:[e.jsxRuntimeExports.jsx(r.Trigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{className:x.clsx("border-none bg-transparent base-row gap-x8 fw-regular fs-6 align-items-center",l,"ui-dropdown-trigger"),children:[n&&n,e.jsxRuntimeExports.jsxs(c.Row,{as:"span",gap:"x4",children:[t,e.jsxRuntimeExports.jsx(u.ArrowDown,{color:i,className:"ui-arrow"})]})]})}),e.jsxRuntimeExports.jsx(m,{options:o,asLinkItem:s})]})},m=({options:t,asLinkItem:n})=>{if(t.length===0)return null;const o=n??"a";return e.jsxRuntimeExports.jsx(r.Portal,{children:e.jsxRuntimeExports.jsx(r.Content,{className:"bg-white shadow ui-dropdown-menu-content",children:e.jsxRuntimeExports.jsx(r.Group,{className:"ui-dropdown-menu-group",children:t.map((s,i)=>e.jsxRuntimeExports.jsx(r.Item,{asChild:!0,className:"ui-dropdown-menu-item",children:s.href?e.jsxRuntimeExports.jsxs(o,{href:s.href,className:x.clsx("fs-6 text-decoration-none",s.active?"text-primary fw-semibold":"text-slate-28 fw-regular"),children:[s.label,s.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]}):e.jsxRuntimeExports.jsxs("button",{onClick:s.onClick,children:[s.label,s.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})},i))})})})};exports.Dropdown=d;
|
2
2
|
//# sourceMappingURL=index.cjs22.js.map
|
package/dist/index.cjs22.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs22.js","sources":["../src/components/ui/Dropdown/index.tsx"],"sourcesContent":["import { ArrowDown } from \"@/icons\";\nimport * as DropdownMenu from \"@radix-ui/react-dropdown-menu\";\nimport clsx from \"clsx\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport \"./Dropdown.scss\";\nimport { Row } from \"@/components\";\n\ntype DropdownOption = {\n label: string;\n href?: string;\n onClick?: () => void;\n active?: boolean;\n};\n\ntype DropdownProps = {\n text: string;\n leftIcon?: React.ReactNode;\n options: DropdownOption[];\n asLinkItem?: \"a\" | React.ComponentType<any>;\n textColor?: ColorKeys;\n};\n\ntype DropdownMenuContentProps = {\n options: DropdownOption[];\n asLinkItem?: \"a\" | React.ComponentType<any>;\n};\n\nexport const Dropdown = ({\n text,\n leftIcon,\n options,\n asLinkItem,\n textColor = \"white\",\n}: DropdownProps) => {\n const textColorClass = createColorClasses({ text: textColor });\n\n return (\n <DropdownMenu.Root>\n <DropdownMenu.Trigger asChild>\n <button\n className={clsx(\n \"border-none bg-transparent base-row gap-x8 fw-regular fs-6 align-items-center\",\n textColorClass,\n \"ui-dropdown-trigger\",\n )}\n >\n {leftIcon && leftIcon}\n <Row as={\"span\"} gap={\"x4\"}>\n {text}\n <ArrowDown color={textColor} className={\"ui-arrow\"} />\n </Row>\n </button>\n </DropdownMenu.Trigger>\n <DropdownMenuContent options={options} asLinkItem={asLinkItem} />\n </DropdownMenu.Root>\n );\n};\n\nconst DropdownMenuContent = ({\n options,\n asLinkItem,\n}: DropdownMenuContentProps) => {\n if (options.length === 0) return null;\n\n const LinkComponent = asLinkItem ?? \"a\";\n\n return (\n <DropdownMenu.Portal>\n <DropdownMenu.Content\n className={\"bg-white shadow ui-dropdown-menu-content\"}\n >\n <DropdownMenu.Group className={\"ui-dropdown-menu-group\"}>\n {options.map((option, index) => (\n <DropdownMenu.Item\n key={index}\n asChild\n className={\"ui-dropdown-menu-item\"}\n >\n {option.href ? (\n <LinkComponent\n href={option.href}\n className={clsx(\n \"fs-6 text-decoration-none\",\n option.active\n ? `text-primary fw-semibold`\n : `text-slate-28 fw-regular`,\n )}\n >\n {option.label}\n {option.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </LinkComponent>\n ) : (\n <button onClick={option.onClick}>\n {option.label}\n {option.active && (\n <span className=\"visually-hidden\">Attivo</span>\n )}\n </button>\n )}\n </DropdownMenu.Item>\n ))}\n </DropdownMenu.Group>\n </DropdownMenu.Content>\n </DropdownMenu.Portal>\n );\n};\n"],"names":["Dropdown","text","leftIcon","options","asLinkItem","textColor","textColorClass","createColorClasses","jsxs","DropdownMenu.Root","jsx","DropdownMenu.Trigger","clsx","Row","ArrowDown","DropdownMenuContent","LinkComponent","DropdownMenu.Portal","DropdownMenu.Content","DropdownMenu.Group","option","index","DropdownMenu.Item"],"mappings":"gTA2BaA,EAAW,CAAC,CACvB,KAAAC,EACA,SAAAC,EACA,QAAAC,EACA,WAAAC,EACA,UAAAC,EAAY,OACd,IAAqB,CACnB,MAAMC,EAAiBC,EAAA,mBAAmB,CAAE,KAAMF,EAAW,EAG3D,OAAAG,EAAA,kBAAA,KAACC,OAAA,CACC,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,QAAA,CAAqB,QAAO,GAC3B,SAAAH,EAAA,kBAAA,KAAC,SAAA,CACC,UAAWI,EAAA,KACT,gFACAN,EACA,qBACF,EAEC,SAAA,CAAYJ,GAAAA,EACZM,EAAA,kBAAA,KAAAK,EAAA,IAAA,CAAI,GAAI,OAAQ,IAAK,KACnB,SAAA,CAAAZ,EACAS,EAAA,kBAAA,IAAAI,EAAA,UAAA,CAAU,MAAOT,EAAW,UAAW,UAAY,CAAA,CAAA,CACtD,CAAA,CAAA,CAAA,CAAA,EAEJ,EACAK,EAAAA,kBAAAA,IAACK,EAAoB,CAAA,QAAAZ,EAAkB,WAAAC,CAAwB,CAAA,CAAA,EACjE,CAEJ,EAEMW,EAAsB,CAAC,CAC3B,QAAAZ,EACA,WAAAC,CACF,IAAgC,CAC1B,GAAAD,EAAQ,SAAW,EAAU,OAAA,KAEjC,MAAMa,EAAgBZ,GAAc,IAGlC,OAAAM,wBAACO,EAAAA,OAAA,CACC,SAAAP,EAAA,kBAAA,IAACQ,EAAa,QAAb,CACC,UAAW,2CAEX,SAAAR,EAAA,kBAAA,IAACS,QAAA,CAAmB,UAAW,yBAC5B,SAAQhB,EAAA,IAAI,CAACiB,EAAQC,IACpBX,EAAA,kBAAA,IAACY,EAAa,KAAb,CAEC,QAAO,GACP,UAAW,wBAEV,WAAO,KACNd,EAAA,kBAAA,KAACQ,EAAA,CACC,KAAMI,EAAO,KACb,UAAWR,EAAA,KACT,4BACAQ,EAAO,OACH,2BACA,0BACN,EAEC,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,EAI5CF,EAAAA,kBAAAA,KAAC,SAAO,CAAA,QAASY,EAAO,QACrB,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAE5C,CAAA,CAAA,EAzBGW,CAAA,CA4BR,CACH,CAAA,CAAA,CAAA,EAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs22.js","sources":["../src/components/ui/Dropdown/index.tsx"],"sourcesContent":["import { ArrowDown } from \"@/icons\";\r\nimport * as DropdownMenu from \"@radix-ui/react-dropdown-menu\";\r\nimport clsx from \"clsx\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport \"./Dropdown.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype DropdownOption = {\r\n label: string;\r\n href?: string;\r\n onClick?: () => void;\r\n active?: boolean;\r\n};\r\n\r\ntype DropdownProps = {\r\n text: string;\r\n leftIcon?: React.ReactNode;\r\n options: DropdownOption[];\r\n asLinkItem?: \"a\" | React.ComponentType<any>;\r\n textColor?: ColorKeys;\r\n};\r\n\r\ntype DropdownMenuContentProps = {\r\n options: DropdownOption[];\r\n asLinkItem?: \"a\" | React.ComponentType<any>;\r\n};\r\n\r\nexport const Dropdown = ({\r\n text,\r\n leftIcon,\r\n options,\r\n asLinkItem,\r\n textColor = \"white\",\r\n}: DropdownProps) => {\r\n const textColorClass = createColorClasses({ text: textColor });\r\n\r\n return (\r\n <DropdownMenu.Root>\r\n <DropdownMenu.Trigger asChild>\r\n <button\r\n className={clsx(\r\n \"border-none bg-transparent base-row gap-x8 fw-regular fs-6 align-items-center\",\r\n textColorClass,\r\n \"ui-dropdown-trigger\",\r\n )}\r\n >\r\n {leftIcon && leftIcon}\r\n <Row as={\"span\"} gap={\"x4\"}>\r\n {text}\r\n <ArrowDown color={textColor} className={\"ui-arrow\"} />\r\n </Row>\r\n </button>\r\n </DropdownMenu.Trigger>\r\n <DropdownMenuContent options={options} asLinkItem={asLinkItem} />\r\n </DropdownMenu.Root>\r\n );\r\n};\r\n\r\nconst DropdownMenuContent = ({\r\n options,\r\n asLinkItem,\r\n}: DropdownMenuContentProps) => {\r\n if (options.length === 0) return null;\r\n\r\n const LinkComponent = asLinkItem ?? \"a\";\r\n\r\n return (\r\n <DropdownMenu.Portal>\r\n <DropdownMenu.Content\r\n className={\"bg-white shadow ui-dropdown-menu-content\"}\r\n >\r\n <DropdownMenu.Group className={\"ui-dropdown-menu-group\"}>\r\n {options.map((option, index) => (\r\n <DropdownMenu.Item\r\n key={index}\r\n asChild\r\n className={\"ui-dropdown-menu-item\"}\r\n >\r\n {option.href ? (\r\n <LinkComponent\r\n href={option.href}\r\n className={clsx(\r\n \"fs-6 text-decoration-none\",\r\n option.active\r\n ? `text-primary fw-semibold`\r\n : `text-slate-28 fw-regular`,\r\n )}\r\n >\r\n {option.label}\r\n {option.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </LinkComponent>\r\n ) : (\r\n <button onClick={option.onClick}>\r\n {option.label}\r\n {option.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </button>\r\n )}\r\n </DropdownMenu.Item>\r\n ))}\r\n </DropdownMenu.Group>\r\n </DropdownMenu.Content>\r\n </DropdownMenu.Portal>\r\n );\r\n};\r\n"],"names":["Dropdown","text","leftIcon","options","asLinkItem","textColor","textColorClass","createColorClasses","jsxs","DropdownMenu.Root","jsx","DropdownMenu.Trigger","clsx","Row","ArrowDown","DropdownMenuContent","LinkComponent","DropdownMenu.Portal","DropdownMenu.Content","DropdownMenu.Group","option","index","DropdownMenu.Item"],"mappings":"gTA2BaA,EAAW,CAAC,CACvB,KAAAC,EACA,SAAAC,EACA,QAAAC,EACA,WAAAC,EACA,UAAAC,EAAY,OACd,IAAqB,CACnB,MAAMC,EAAiBC,EAAA,mBAAmB,CAAE,KAAMF,EAAW,EAG3D,OAAAG,EAAA,kBAAA,KAACC,OAAA,CACC,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,QAAA,CAAqB,QAAO,GAC3B,SAAAH,EAAA,kBAAA,KAAC,SAAA,CACC,UAAWI,EAAA,KACT,gFACAN,EACA,qBACF,EAEC,SAAA,CAAYJ,GAAAA,EACZM,EAAA,kBAAA,KAAAK,EAAA,IAAA,CAAI,GAAI,OAAQ,IAAK,KACnB,SAAA,CAAAZ,EACAS,EAAA,kBAAA,IAAAI,EAAA,UAAA,CAAU,MAAOT,EAAW,UAAW,UAAY,CAAA,CAAA,CACtD,CAAA,CAAA,CAAA,CAAA,EAEJ,EACAK,EAAAA,kBAAAA,IAACK,EAAoB,CAAA,QAAAZ,EAAkB,WAAAC,CAAwB,CAAA,CAAA,EACjE,CAEJ,EAEMW,EAAsB,CAAC,CAC3B,QAAAZ,EACA,WAAAC,CACF,IAAgC,CAC1B,GAAAD,EAAQ,SAAW,EAAU,OAAA,KAEjC,MAAMa,EAAgBZ,GAAc,IAGlC,OAAAM,wBAACO,EAAAA,OAAA,CACC,SAAAP,EAAA,kBAAA,IAACQ,EAAa,QAAb,CACC,UAAW,2CAEX,SAAAR,EAAA,kBAAA,IAACS,QAAA,CAAmB,UAAW,yBAC5B,SAAQhB,EAAA,IAAI,CAACiB,EAAQC,IACpBX,EAAA,kBAAA,IAACY,EAAa,KAAb,CAEC,QAAO,GACP,UAAW,wBAEV,WAAO,KACNd,EAAA,kBAAA,KAACQ,EAAA,CACC,KAAMI,EAAO,KACb,UAAWR,EAAA,KACT,4BACAQ,EAAO,OACH,2BACA,0BACN,EAEC,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,EAI5CF,EAAAA,kBAAAA,KAAC,SAAO,CAAA,QAASY,EAAO,QACrB,SAAA,CAAOA,EAAA,MACPA,EAAO,QACNV,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAE5C,CAAA,CAAA,EAzBGW,CAAA,CA4BR,CACH,CAAA,CAAA,CAAA,EAEJ,CAEJ"}
|
package/dist/index.cjs220.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs220.js","sources":["../src/components/ui/DoctorModal/DoctorModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorModalFooter.scss\";\n\ntype DoctorModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DoctorModalFooter = ({ children }: DoctorModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DoctorModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
1
|
+
{"version":3,"file":"index.cjs220.js","sources":["../src/components/ui/DoctorModal/DoctorModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorModalFooter.scss\";\r\n\r\ntype DoctorModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorModalFooter = ({ children }: DoctorModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DoctorModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAAoB,CAAC,CAAE,SAAAC,KAE/BC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
package/dist/index.cjs225.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalContent/ConsentModalContent.css');const t=require("./index.cjs161.js"),r=require("./index.cjs163.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
|
2
2
|
//# sourceMappingURL=index.cjs225.js.map
|
package/dist/index.cjs225.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs225.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":"iLAQO,MAAMA,EAA4B,CAAC,CACxC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
1
|
+
{"version":3,"file":"index.cjs225.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DoctorConfirmModalContent.scss\";\r\n\r\ntype DoctorConfirmModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DoctorConfirmModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA4B,CAAC,CACxC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
|
package/dist/index.cjs226.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs226.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":"oPAWaA,EAA2B,CAAC,CACvC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,uCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
|
1
|
+
{"version":3,"file":"index.cjs226.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./DoctorConfirmModalHeader.scss\";\r\n\r\ntype DoctorConfirmModalHeaderProps = {\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: DoctorConfirmModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-doctor-confirm-modal-header bg-white\">\r\n <Dialog.Title className=\"fs-6 md-fs-custom text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n <Dialog.Close asChild className=\"ui-doctor-confirm-modal-header-close\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Chiudi modale\"\r\n onClick={onCloseClick}\r\n >\r\n {closeButton}\r\n <Close className=\"ml-x8\" />\r\n </Button>\r\n </Dialog.Close>\r\n </header>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"oPAWaA,EAA2B,CAAC,CACvC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,0CAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,uCAC9B,SAAAH,EAAA,kBAAA,KAACI,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,gBACX,QAASN,EAER,SAAA,CAAAD,EACDI,EAAAA,kBAAAA,IAACI,EAAM,MAAA,CAAA,UAAU,OAAQ,CAAA,CAAA,CAAA,CAAA,CAE7B,CAAA,CAAA,EACF"}
|