@anoki/fse-ui 1.0.415 → 1.0.416
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.map +1 -1
- package/dist/index.cjs100.js.map +1 -1
- package/dist/index.cjs101.js.map +1 -1
- package/dist/index.cjs102.js.map +1 -1
- package/dist/index.cjs103.js.map +1 -1
- package/dist/index.cjs104.js.map +1 -1
- package/dist/index.cjs105.js.map +1 -1
- package/dist/index.cjs106.js.map +1 -1
- package/dist/index.cjs107.js.map +1 -1
- package/dist/index.cjs108.js.map +1 -1
- package/dist/index.cjs109.js.map +1 -1
- package/dist/index.cjs11.js.map +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs111.js.map +1 -1
- package/dist/index.cjs112.js.map +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js.map +1 -1
- package/dist/index.cjs116.js.map +1 -1
- package/dist/index.cjs117.js.map +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.map +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js.map +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.cjs14.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs15.js.map +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs16.js.map +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js.map +1 -1
- package/dist/index.cjs166.js.map +1 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs17.js.map +1 -1
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs18.js.map +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs19.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js.map +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs23.js.map +1 -1
- package/dist/index.cjs25.js.map +1 -1
- package/dist/index.cjs26.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +3 -12
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs27.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs28.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs280.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/{index.cjs303.js → index.cjs282.js} +1 -1
- package/dist/{index.cjs303.js.map → index.cjs282.js.map} +1 -1
- package/dist/{index.cjs301.js → index.cjs283.js} +2 -2
- package/dist/{index.cjs301.js.map → index.cjs283.js.map} +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs29.js.map +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs290.js.map +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs291.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/{index.cjs271.js → index.cjs307.js} +1 -1
- package/dist/index.cjs307.js.map +1 -0
- package/dist/index.cjs308.js +2 -0
- package/dist/index.cjs308.js.map +1 -0
- package/dist/{index.cjs286.js → index.cjs309.js} +2 -2
- package/dist/{index.cjs286.js.map → index.cjs309.js.map} +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs310.js +2 -0
- package/dist/index.cjs310.js.map +1 -0
- package/dist/index.cjs311.js +2 -0
- package/dist/index.cjs311.js.map +1 -0
- package/dist/{index.cjs294.js → index.cjs312.js} +2 -2
- package/dist/{index.cjs294.js.map → index.cjs312.js.map} +1 -1
- package/dist/{index.cjs297.js → index.cjs313.js} +1 -1
- package/dist/{index.cjs297.js.map → index.cjs313.js.map} +1 -1
- package/dist/{index.cjs298.js → index.cjs314.js} +2 -2
- package/dist/{index.cjs298.js.map → index.cjs314.js.map} +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -4
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +2 -0
- package/dist/index.cjs323.js.map +1 -0
- package/dist/index.cjs324.js +5 -0
- package/dist/index.cjs324.js.map +1 -0
- package/dist/index.cjs325.js +2 -0
- package/dist/index.cjs325.js.map +1 -0
- package/dist/index.cjs326.js +2 -0
- package/dist/index.cjs326.js.map +1 -0
- package/dist/index.cjs327.js +2 -0
- package/dist/index.cjs327.js.map +1 -0
- package/dist/index.cjs328.js +2 -0
- package/dist/index.cjs328.js.map +1 -0
- package/dist/index.cjs329.js +38 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs330.js +1 -38
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.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.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.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.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.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.cjs87.js.map +1 -1
- package/dist/index.cjs88.js.map +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.cjs92.js.map +1 -1
- package/dist/index.cjs93.js.map +1 -1
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs95.js.map +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.cjs97.js.map +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js.map +1 -1
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es117.js.map +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.map +1 -1
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +76 -71
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +11 -1
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es140.js +63 -58
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es149.js +29 -26
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es153.js +18 -15
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es16.js +19 -19
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es179.js +7 -7
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es190.js +8 -8
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es201.js +14 -14
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +1 -1
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es220.js +1 -1
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +7 -7
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es266.js +1 -1
- package/dist/index.es267.js +146 -307
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es272.js +15 -2
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es275.js +5 -25
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +23 -64
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +65 -27
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +29 -32
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +31 -620
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es280.js +621 -10
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +11 -15
- package/dist/index.es281.js.map +1 -1
- package/dist/{index.es303.js → index.es282.js} +1 -1
- package/dist/{index.es303.js.map → index.es282.js.map} +1 -1
- package/dist/{index.es301.js → index.es283.js} +2 -2
- package/dist/{index.es301.js.map → index.es283.js.map} +1 -1
- package/dist/index.es284.js +68 -10
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es287.js +124 -7
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +126 -116
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +13 -14
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es290.js +14 -134
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es291.js +8 -217
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +50 -14
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +39 -66
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es306.js +2 -5
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +5 -0
- package/dist/index.es307.js.map +1 -0
- package/dist/index.es308.js +14 -0
- package/dist/index.es308.js.map +1 -0
- package/dist/{index.es286.js → index.es309.js} +4 -4
- package/dist/{index.es286.js.map → index.es309.js.map} +1 -1
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es310.js +11 -0
- package/dist/index.es310.js.map +1 -0
- package/dist/index.es311.js +221 -0
- package/dist/index.es311.js.map +1 -0
- package/dist/{index.es294.js → index.es312.js} +10 -10
- package/dist/{index.es294.js.map → index.es312.js.map} +1 -1
- package/dist/{index.es297.js → index.es313.js} +1 -1
- package/dist/{index.es297.js.map → index.es313.js.map} +1 -1
- package/dist/{index.es298.js → index.es314.js} +2 -2
- package/dist/{index.es298.js.map → index.es314.js.map} +1 -1
- package/dist/index.es315.js +205 -5
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +22 -3
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +389 -20
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +22 -107
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +28 -15
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es320.js +5 -523
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +5 -127
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +3 -129
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +27 -0
- package/dist/index.es323.js.map +1 -0
- package/dist/index.es324.js +113 -0
- package/dist/index.es324.js.map +1 -0
- package/dist/index.es325.js +19 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +526 -0
- package/dist/index.es326.js.map +1 -0
- package/dist/index.es327.js +130 -0
- package/dist/index.es327.js.map +1 -0
- package/dist/index.es328.js +132 -0
- package/dist/index.es328.js.map +1 -0
- package/dist/index.es329.js +69 -65
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es330.js +8 -68
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +14 -9
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +62 -14
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +64 -61
- package/dist/index.es333.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.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.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.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.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.es87.js.map +1 -1
- package/dist/index.es88.js.map +1 -1
- 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.es92.js.map +1 -1
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es95.js.map +1 -1
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js.map +1 -1
- package/dist/sections/Login/Login.css +1 -1
- package/package.json +107 -107
- package/readme.md +42 -42
- package/dist/index.cjs271.js.map +0 -1
- package/dist/index.cjs274.js +0 -2
- package/dist/index.cjs274.js.map +0 -1
- package/dist/index.cjs285.js +0 -2
- package/dist/index.cjs285.js.map +0 -1
- package/dist/index.cjs295.js +0 -2
- package/dist/index.cjs295.js.map +0 -1
- package/dist/index.cjs296.js +0 -2
- package/dist/index.cjs296.js.map +0 -1
- package/dist/index.cjs299.js +0 -2
- package/dist/index.cjs299.js.map +0 -1
- package/dist/index.cjs300.js +0 -2
- package/dist/index.cjs300.js.map +0 -1
- package/dist/index.cjs302.js +0 -2
- package/dist/index.cjs302.js.map +0 -1
- package/dist/index.cjs304.js +0 -2
- package/dist/index.cjs304.js.map +0 -1
- package/dist/index.cjs305.js +0 -2
- package/dist/index.cjs305.js.map +0 -1
- package/dist/index.es271.js +0 -5
- package/dist/index.es271.js.map +0 -1
- package/dist/index.es274.js +0 -10
- package/dist/index.es274.js.map +0 -1
- package/dist/index.es285.js +0 -45
- package/dist/index.es285.js.map +0 -1
- package/dist/index.es295.js +0 -53
- package/dist/index.es295.js.map +0 -1
- package/dist/index.es296.js +0 -12
- package/dist/index.es296.js.map +0 -1
- package/dist/index.es299.js +0 -208
- package/dist/index.es299.js.map +0 -1
- package/dist/index.es300.js +0 -25
- package/dist/index.es300.js.map +0 -1
- package/dist/index.es302.js +0 -396
- package/dist/index.es302.js.map +0 -1
- package/dist/index.es304.js +0 -28
- package/dist/index.es304.js.map +0 -1
- package/dist/index.es305.js +0 -32
- package/dist/index.es305.js.map +0 -1
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.cjs213.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs213.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.cjs213.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.cjs218.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs218.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.cjs218.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.cjs219.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs219.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":"mPAWaA,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.cjs219.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":"mPAWaA,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"}
|
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
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/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const e=require("./index.cjs154.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs220.js.map
|
package/dist/index.cjs220.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs220.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\n\ntype DoctorConfirmModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DoctorConfirmModalFooter = ({\n children,\n}: DoctorConfirmModalFooterProps) => {\n return (\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DoctorConfirmModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA2B,CAAC,CACvC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
1
|
+
{"version":3,"file":"index.cjs220.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\r\n\r\ntype DoctorConfirmModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalFooter = ({\r\n children,\r\n}: DoctorConfirmModalFooterProps) => {\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":["DoctorConfirmModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA2B,CAAC,CACvC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
|
package/dist/index.cjs222.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs222.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\nimport { Button } from \"@/components\";\nimport { Close } from \"@/icons\";\nimport \"./DocumentUploadModalHeader.scss\";\nimport { PropsWithChildren, ReactNode } from \"react\";\n\ntype DocumentUploadModalHeaderProps = PropsWithChildren<{\n closeButton?: string;\n onCloseClick?: () => void;\n children?: ReactNode;\n}>;\n\nexport const DocumentUploadModalHeader = ({\n closeButton = \"Chiudi\",\n onCloseClick,\n children,\n}: DocumentUploadModalHeaderProps) => {\n return (\n <header className=\"ui-upload-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-upload-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":["DocumentUploadModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAYaA,EAA4B,CAAC,CACxC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,kCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,+BAC9B,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.cjs222.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"@/components\";\r\nimport { Close } from \"@/icons\";\r\nimport \"./DocumentUploadModalHeader.scss\";\r\nimport { PropsWithChildren, ReactNode } from \"react\";\r\n\r\ntype DocumentUploadModalHeaderProps = PropsWithChildren<{\r\n closeButton?: string;\r\n onCloseClick?: () => void;\r\n children?: ReactNode;\r\n}>;\r\n\r\nexport const DocumentUploadModalHeader = ({\r\n closeButton = \"Chiudi\",\r\n onCloseClick,\r\n children,\r\n}: DocumentUploadModalHeaderProps) => {\r\n return (\r\n <header className=\"ui-upload-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-upload-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":["DocumentUploadModalHeader","closeButton","onCloseClick","children","jsxs","jsx","Dialog.Title","Dialog.Close","Button","Close"],"mappings":"mPAYaA,EAA4B,CAAC,CACxC,YAAAC,EAAc,SACd,aAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,kCAChB,SAAA,CAAAC,EAAAA,kBAAAA,IAACC,EAAAA,MAAA,CAAa,UAAU,0CACrB,SAAAH,CACH,CAAA,0BACCI,EAAO,MAAP,CAAa,QAAO,GAAC,UAAU,+BAC9B,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.cjs223.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs223.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./DocumentUploadModalContent.scss\";\n\ntype DocumentUploadModalContentProps = {\n overrideClassNames?: string;\n children?: React.ReactNode;\n};\n\nexport const DocumentUploadModalContent = ({\n overrideClassNames,\n children,\n}: DocumentUploadModalContentProps) => {\n return (\n <div className={clsx(\"ui-upload-modal-body\", overrideClassNames)}>\n {children}\n </div>\n );\n};\n"],"names":["DocumentUploadModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA6B,CAAC,CACzC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,uBAAwBF,CAAkB,EAC5D,SAAAC,EACH"}
|
1
|
+
{"version":3,"file":"index.cjs223.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DocumentUploadModalContent.scss\";\r\n\r\ntype DocumentUploadModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DocumentUploadModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-upload-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA6B,CAAC,CACzC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,uBAAwBF,CAAkB,EAC5D,SAAAC,EACH"}
|
package/dist/index.cjs224.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs224.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalFooter/index.tsx"],"sourcesContent":["import \"./DocumentUploadModalFooter.scss\";\n\ntype DocumentUploadModalFooterProps = {\n children?: React.ReactNode;\n};\n\nexport const DocumentUploadModalFooter = ({\n children,\n}: DocumentUploadModalFooterProps) => {\n return (\n <footer className=\"ui-upload-modal-footer bg-white shadow\">\n {children}\n </footer>\n );\n};\n"],"names":["DocumentUploadModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA4B,CAAC,CACxC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,yCACf,SAAAD,CACH,CAAA"}
|
1
|
+
{"version":3,"file":"index.cjs224.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalFooter/index.tsx"],"sourcesContent":["import \"./DocumentUploadModalFooter.scss\";\r\n\r\ntype DocumentUploadModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalFooter = ({\r\n children,\r\n}: DocumentUploadModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-upload-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA4B,CAAC,CACxC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,yCACf,SAAAD,CACH,CAAA"}
|
package/dist/index.cjs226.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs226.js","sources":["../src/components/ui/Section/Title/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport clsx from \"clsx\";\nimport { ReactNode } from \"react\";\n\ntype TitleProps = {\n className?: string;\n fs?: TypographyKeys;\n mdFs?: TypographyKeys;\n color?: ColorKeys;\n as?: \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n children: ReactNode;\n};\n\nexport const Title = ({\n className,\n fs = \"3\",\n mdFs = \"1\",\n color = \"slate-20\",\n as = \"h2\",\n children,\n}: TitleProps) => {\n const Heading = as;\n\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n const mdFontSizeClass = mdFs ? `md-fs-${mdFs}` : \"\";\n const textColorClass = createColorClasses({ text: color });\n\n return (\n <Heading\n className={clsx(\n \"fw-bold\",\n fontSizeClass,\n mdFontSizeClass,\n\n textColorClass,\n className,\n )}\n >\n {children}\n </Heading>\n );\n};\n"],"names":["Title","className","fs","mdFs","color","as","children","Heading","fontSizeClass","size","mdFontSizeClass","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAcaA,EAAQ,CAAC,CACpB,UAAAC,EACA,GAAAC,EAAK,IACL,KAAAC,EAAO,IACP,MAAAC,EAAQ,WACR,GAAAC,EAAK,KACL,SAAAC,CACF,IAAkB,CAChB,MAAMC,EAAUF,EAMVG,GAJuBC,GACpB,MAAMA,CAAI,IAGuBP,CAAE,EACtCQ,EAAkBP,EAAO,SAASA,CAAI,GAAK,GAC3CQ,EAAiBC,EAAA,mBAAmB,CAAE,KAAMR,EAAO,EAGvD,OAAAS,EAAA,kBAAA,IAACN,EAAA,CACC,UAAWO,EAAA,KACT,UACAN,EACAE,EAEAC,EACAV,CACF,EAEC,SAAAK,CAAA,CACH,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs226.js","sources":["../src/components/ui/Section/Title/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport clsx from \"clsx\";\r\nimport { ReactNode } from \"react\";\r\n\r\ntype TitleProps = {\r\n className?: string;\r\n fs?: TypographyKeys;\r\n mdFs?: TypographyKeys;\r\n color?: ColorKeys;\r\n as?: \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\r\n children: ReactNode;\r\n};\r\n\r\nexport const Title = ({\r\n className,\r\n fs = \"3\",\r\n mdFs = \"1\",\r\n color = \"slate-20\",\r\n as = \"h2\",\r\n children,\r\n}: TitleProps) => {\r\n const Heading = as;\r\n\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n const mdFontSizeClass = mdFs ? `md-fs-${mdFs}` : \"\";\r\n const textColorClass = createColorClasses({ text: color });\r\n\r\n return (\r\n <Heading\r\n className={clsx(\r\n \"fw-bold\",\r\n fontSizeClass,\r\n mdFontSizeClass,\r\n\r\n textColorClass,\r\n className,\r\n )}\r\n >\r\n {children}\r\n </Heading>\r\n );\r\n};\r\n"],"names":["Title","className","fs","mdFs","color","as","children","Heading","fontSizeClass","size","mdFontSizeClass","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAcaA,EAAQ,CAAC,CACpB,UAAAC,EACA,GAAAC,EAAK,IACL,KAAAC,EAAO,IACP,MAAAC,EAAQ,WACR,GAAAC,EAAK,KACL,SAAAC,CACF,IAAkB,CAChB,MAAMC,EAAUF,EAMVG,GAJuBC,GACpB,MAAMA,CAAI,IAGuBP,CAAE,EACtCQ,EAAkBP,EAAO,SAASA,CAAI,GAAK,GAC3CQ,EAAiBC,EAAA,mBAAmB,CAAE,KAAMR,EAAO,EAGvD,OAAAS,EAAA,kBAAA,IAACN,EAAA,CACC,UAAWO,EAAA,KACT,UACAN,EACAE,EAEAC,EACAV,CACF,EAEC,SAAAK,CAAA,CACH,CAEJ"}
|
package/dist/index.cjs227.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs227.js","sources":["../src/components/ui/Section/Description/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport clsx from \"clsx\";\nimport { PropsWithChildren } from \"react\";\n\ntype DescriptionProps = PropsWithChildren<{\n fs?: TypographyKeys;\n color?: ColorKeys;\n className?: string;\n}>;\n\nexport const Description = ({\n fs = \"6\",\n color = \"slate-28\",\n className,\n children,\n}: DescriptionProps) => {\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n\n const textColorClass = createColorClasses({ text: color });\n\n return (\n <div\n className={clsx(\n fontSizeClass,\n textColorClass,\n \"fw-regular\",\n \"ui-max-width-section-description\",\n className,\n \"md-fs-custom\",\n )}\n >\n {children}\n </div>\n );\n};\n"],"names":["Description","fs","color","className","children","fontSizeClass","size","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAWaA,EAAc,CAAC,CAC1B,GAAAC,EAAK,IACL,MAAAC,EAAQ,WACR,UAAAC,EACA,SAAAC,CACF,IAAwB,CAKhB,MAAAC,GAJuBC,GACpB,MAAMA,CAAI,IAGuBL,CAAE,EAEtCM,EAAiBC,EAAA,mBAAmB,CAAE,KAAMN,EAAO,EAGvD,OAAAO,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTL,EACAE,EACA,aACA,mCACAJ,EACA,cACF,EAEC,SAAAC,CAAA,CACH,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs227.js","sources":["../src/components/ui/Section/Description/index.tsx"],"sourcesContent":["import { TypographyKeys } from \"@/theme/typography\";\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport clsx from \"clsx\";\r\nimport { PropsWithChildren } from \"react\";\r\n\r\ntype DescriptionProps = PropsWithChildren<{\r\n fs?: TypographyKeys;\r\n color?: ColorKeys;\r\n className?: string;\r\n}>;\r\n\r\nexport const Description = ({\r\n fs = \"6\",\r\n color = \"slate-28\",\r\n className,\r\n children,\r\n}: DescriptionProps) => {\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n\r\n const textColorClass = createColorClasses({ text: color });\r\n\r\n return (\r\n <div\r\n className={clsx(\r\n fontSizeClass,\r\n textColorClass,\r\n \"fw-regular\",\r\n \"ui-max-width-section-description\",\r\n className,\r\n \"md-fs-custom\",\r\n )}\r\n >\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["Description","fs","color","className","children","fontSizeClass","size","textColorClass","createColorClasses","jsx","clsx"],"mappings":"mLAWaA,EAAc,CAAC,CAC1B,GAAAC,EAAK,IACL,MAAAC,EAAQ,WACR,UAAAC,EACA,SAAAC,CACF,IAAwB,CAKhB,MAAAC,GAJuBC,GACpB,MAAMA,CAAI,IAGuBL,CAAE,EAEtCM,EAAiBC,EAAA,mBAAmB,CAAE,KAAMN,EAAO,EAGvD,OAAAO,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,KACTL,EACAE,EACA,aACA,mCACAJ,EACA,cACF,EAEC,SAAAC,CAAA,CACH,CAEJ"}
|
package/dist/index.cjs228.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs275.js"),_=require("./index.cjs276.js"),O=require("./index.cjs277.js"),M=require("./index.cjs278.js"),$=require("./index.cjs282.js"),N=require("./index.cjs283.js"),C=require("./index.cjs279.js"),d=require("./index.cjs154.js");function H(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=H(q);var S="Switch",[I,z]=O.createContextScope(S),[B,D]=I(S),v=s.forwardRef((e,o)=>{const{__scopeSwitch:t,name:r,checked:n,defaultChecked:p,required:i,disabled:c,value:a="on",onCheckedChange:b,form:m,...l}=e,[u,R]=s.useState(null),g=_.useComposedRefs(o,f=>R(f)),x=s.useRef(!1),k=u?m||!!u.closest("form"):!0,[h=!1,y]=M.useControllableState({prop:n,defaultProp:p,onChange:b});return d.jsxRuntimeExports.jsxs(B,{scope:t,checked:h,disabled:c,children:[d.jsxRuntimeExports.jsx(C.Primitive.button,{type:"button",role:"switch","aria-checked":h,"aria-required":i,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:a,...l,ref:g,onClick:T.composeEventHandlers(e.onClick,f=>{y(E=>!E),k&&(x.current=f.isPropagationStopped(),x.current||f.stopPropagation())})}),k&&d.jsxRuntimeExports.jsx(A,{control:u,bubbles:!x.current,name:r,value:a,checked:h,required:i,disabled:c,form:m,style:{transform:"translateX(-100%)"}})]})});v.displayName=S;var j="SwitchThumb",w=s.forwardRef((e,o)=>{const{__scopeSwitch:t,...r}=e,n=D(j,t);return d.jsxRuntimeExports.jsx(C.Primitive.span,{"data-state":P(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});w.displayName=j;var A=e=>{const{control:o,checked:t,bubbles:r=!0,...n}=e,p=s.useRef(null),i=$.usePrevious(t),c=N.useSize(o);return s.useEffect(()=>{const a=p.current,b=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(b,"checked").set;if(i!==t&&l){const u=new Event("click",{bubbles:r});l.call(a,t),a.dispatchEvent(u)}},[i,t,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function P(e){return e?"checked":"unchecked"}var F=v,L=w;exports.Root=F;exports.Switch=v;exports.SwitchThumb=w;exports.Thumb=L;exports.createSwitchScope=z;
|
2
2
|
//# sourceMappingURL=index.cjs228.js.map
|
package/dist/index.cjs23.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs23.js","sources":["../src/components/ui/FilterDropDown/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./FilterDropDown.scss\";\nimport { ArrowDown } from \"@/icons/ArrowDown\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\nimport { ArrowList } from \"@/icons/ArrowList\";\nimport { Col } from \"@/components\";\n\ntype FilterDropdownProps = {\n size: \"small\" | \"large\";\n items: string[];\n className?: string;\n filter: string;\n setFilter: (filter: string) => void;\n allStructuresLabel: string;\n};\nexport const FilterDropDown = ({\n size,\n items = [],\n className,\n filter,\n setFilter,\n allStructuresLabel,\n}: FilterDropdownProps) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n const processedItems = useMemo(() => {\n return [allStructuresLabel, ...items];\n }, [items, allStructuresLabel]);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsExpanded(false);\n }\n };\n\n if (isExpanded) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isExpanded]);\n\n return (\n <div\n ref={dropdownRef}\n style={size === \"large\" ? { width: \"668px\" } : { width: \"322px\" }}\n className={clsx(className, \"ui-filter-dropdown\")}\n >\n <button\n className=\"ui-button-accordion\"\n type=\"button\"\n onClick={() => setIsExpanded(!isExpanded)}\n >\n <h3 className=\"fw-semibold fs-custom text-primary\">{filter}</h3>\n <ArrowDown\n color=\"primary\"\n className={clsx(\"ui-arrow\", { \"ui-expanded\": isExpanded })}\n />\n </button>\n {isExpanded && (\n <div className={\"ui-wrap-list-item-filter position-relative pt-x12\"}>\n <ArrowList className={\"ui-arrow-list position-absolute\"} />\n <div className={\"p-x24 h-full shadow\"}>\n <Col\n gap={\"x24\"}\n text={\"primary\"}\n fs={\"custom\"}\n fw={\"regular\"}\n className={\"ui-list-item-filter h-full overflow fw-regular\"}\n >\n {processedItems.map((item, index) => {\n return (\n <div\n key={index}\n onClick={() => {\n setFilter(item);\n setIsExpanded(false);\n }}\n >\n {item}\n </div>\n );\n })}\n </Col>\n </div>\n </div>\n )}\n </div>\n );\n};\n"],"names":["FilterDropDown","size","items","className","filter","setFilter","allStructuresLabel","isExpanded","setIsExpanded","useState","dropdownRef","useRef","processedItems","useMemo","useEffect","handleClickOutside","event","jsxs","clsx","jsx","ArrowDown","ArrowList","Col","item","index"],"mappings":"qSAeaA,EAAiB,CAAC,CAC7B,KAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,UAAAC,EACA,OAAAC,EACA,UAAAC,EACA,mBAAAC,CACF,IAA2B,CACzB,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAC5CC,EAAcC,SAAuB,IAAI,EAEzCC,EAAiBC,EAA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EAAUkB,CAAI,EACdf,EAAc,EAAK,CACrB,EAEC,SAAAe,CAAA,EANIC,CAOP,CAEH,CAAA,CAAA,CAEL,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs23.js","sources":["../src/components/ui/FilterDropDown/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./FilterDropDown.scss\";\r\nimport { ArrowDown } from \"@/icons/ArrowDown\";\r\nimport { useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { ArrowList } from \"@/icons/ArrowList\";\r\nimport { Col } from \"@/components\";\r\n\r\ntype FilterDropdownProps = {\r\n size: \"small\" | \"large\";\r\n items: string[];\r\n className?: string;\r\n filter: string;\r\n setFilter: (filter: string) => void;\r\n allStructuresLabel: string;\r\n};\r\nexport const FilterDropDown = ({\r\n size,\r\n items = [],\r\n className,\r\n filter,\r\n setFilter,\r\n allStructuresLabel,\r\n}: FilterDropdownProps) => {\r\n const [isExpanded, setIsExpanded] = useState(false);\r\n const dropdownRef = useRef<HTMLDivElement>(null);\r\n\r\n const processedItems = useMemo(() => {\r\n return [allStructuresLabel, ...items];\r\n }, [items, allStructuresLabel]);\r\n\r\n useEffect(() => {\r\n const handleClickOutside = (event: MouseEvent) => {\r\n if (\r\n dropdownRef.current &&\r\n !dropdownRef.current.contains(event.target as Node)\r\n ) {\r\n setIsExpanded(false);\r\n }\r\n };\r\n\r\n if (isExpanded) {\r\n document.addEventListener(\"mousedown\", handleClickOutside);\r\n } else {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n }\r\n\r\n return () => {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n };\r\n }, [isExpanded]);\r\n\r\n return (\r\n <div\r\n ref={dropdownRef}\r\n style={size === \"large\" ? { width: \"668px\" } : { width: \"322px\" }}\r\n className={clsx(className, \"ui-filter-dropdown\")}\r\n >\r\n <button\r\n className=\"ui-button-accordion\"\r\n type=\"button\"\r\n onClick={() => setIsExpanded(!isExpanded)}\r\n >\r\n <h3 className=\"fw-semibold fs-custom text-primary\">{filter}</h3>\r\n <ArrowDown\r\n color=\"primary\"\r\n className={clsx(\"ui-arrow\", { \"ui-expanded\": isExpanded })}\r\n />\r\n </button>\r\n {isExpanded && (\r\n <div className={\"ui-wrap-list-item-filter position-relative pt-x12\"}>\r\n <ArrowList className={\"ui-arrow-list position-absolute\"} />\r\n <div className={\"p-x24 h-full shadow\"}>\r\n <Col\r\n gap={\"x24\"}\r\n text={\"primary\"}\r\n fs={\"custom\"}\r\n fw={\"regular\"}\r\n className={\"ui-list-item-filter h-full overflow fw-regular\"}\r\n >\r\n {processedItems.map((item, index) => {\r\n return (\r\n <div\r\n key={index}\r\n onClick={() => {\r\n setFilter(item);\r\n setIsExpanded(false);\r\n }}\r\n >\r\n {item}\r\n </div>\r\n );\r\n })}\r\n </Col>\r\n </div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"names":["FilterDropDown","size","items","className","filter","setFilter","allStructuresLabel","isExpanded","setIsExpanded","useState","dropdownRef","useRef","processedItems","useMemo","useEffect","handleClickOutside","event","jsxs","clsx","jsx","ArrowDown","ArrowList","Col","item","index"],"mappings":"qSAeaA,EAAiB,CAAC,CAC7B,KAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,UAAAC,EACA,OAAAC,EACA,UAAAC,EACA,mBAAAC,CACF,IAA2B,CACzB,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,EAAK,EAC5CC,EAAcC,SAAuB,IAAI,EAEzCC,EAAiBC,EAAAA,QAAQ,IACtB,CAACP,EAAoB,GAAGJ,CAAK,EACnC,CAACA,EAAOI,CAAkB,CAAC,EAE9BQ,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAE9CN,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASM,EAAM,MAAc,GAElDR,EAAc,EAAK,CAEvB,EAEA,OAAID,EACO,SAAA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x"],"sourcesContent":["// src/components/ui/Button/index.tsx\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\nimport clsx from \"clsx\";\nimport \"./Button.scss\";\nimport { Spinner } from \"@/icons\";\n\ntype ButtonSize = \"2\" | \"3\" | \"4\";\ntype ButtonVariant = \"primary\" | \"secondary\";\n\ntype BaseButtonProps = {\n children: React.ReactNode;\n variant?: ButtonVariant;\n bg?: ColorKeys;\n textColor?: ColorKeys;\n border?: ColorKeys;\n size?: ButtonSize;\n className?: string;\n disabled?: boolean;\n loading?: boolean;\n form?: string;\n rel?: string;\n target?: string;\n};\n\ntype ButtonAsButtonProps = BaseButtonProps & {\n onClick?: () => void;\n type?: \"button\" | \"submit\" | \"reset\";\n asLink?: never;\n href?: never;\n};\n\ntype ButtonAsLinkProps = BaseButtonProps & {\n href: string;\n onClick?: never;\n type?: never;\n asLink?: \"a\" | React.ComponentType<any>;\n};\n\ntype ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;\n\nexport const Button = ({\n children,\n variant,\n bg = \"primary\",\n textColor = \"white\",\n border = \"white\",\n size = \"3\",\n className,\n disabled,\n loading,\n onClick,\n type = \"button\",\n form = \"\",\n asLink,\n href,\n target = undefined,\n rel = undefined,\n ...props\n}: ButtonProps) => {\n // Only apply color classes if no variant is specified\n const colorClasses = !variant\n ? createColorClasses({\n bg,\n text: textColor,\n border,\n })\n : \"\";\n\n const BTN_SIZES = {\n \"2\": \"fs-6 py-x12 px-x24\",\n \"3\": \"fs-7 py-x12 px-x24\",\n \"4\": \"fs-6 py-x4 px-x8\",\n };\n\n const baseClasses = clsx(\n \"ui-button\",\n BTN_SIZES[size],\n // Apply variant class if provided\n variant && `ui-button-${variant}`,\n // Otherwise use traditional classes\n !variant && colorClasses,\n {\n \"ui-button-disabled\": disabled || loading,\n },\n {\n \"ui-button-loading\": loading,\n },\n className,\n \"fw-bold\",\n );\n\n if (asLink) {\n const LinkComponent = asLink;\n return (\n <LinkComponent\n target={target}\n rel={rel}\n href={href}\n className={baseClasses}\n {...props}\n >\n {children}\n </LinkComponent>\n );\n }\n\n return (\n <button\n type={type}\n form={form}\n className={baseClasses}\n onClick={onClick}\n disabled={disabled || loading}\n {...props}\n >\n {children}\n {loading ? <Spinner /> : null}\n </button>\n );\n};\n"],"names":["Button","children","variant","bg","textColor","border","size","className","disabled","loading","onClick","type","form","asLink","href","target","rel","props","colorClasses","createColorClasses","BTN_SIZES","baseClasses","clsx","LinkComponent","jsx","jsxs","Spinner"],"mappings":"qPAwCaA,EAAS,CAAC,CACrB,SAAAC,EACA,QAAAC,EACA,GAAAC,EAAK,UACL,UAAAC,EAAY,QACZ,OAAAC,EAAS,QACT,KAAAC,EAAO,IACP,UAAAC,EACA,SAAAC,EACA,QAAAC,EACA,QAAAC,EACA,KAAAC,EAAO,SACP,KAAAC,EAAO,GACP,OAAAC,EACA,KAAAC,EACA,OAAAC,EAAS,OACT,IAAAC,EAAM,OACN,GAAGC,CACL,IAAmB,CAEX,MAAAC,EAAgBhB,EAMlB,GALAiB,qBAAmB,CACjB,GAAAhB,EACA,KAAMC,EACN,OAAAC,CACD,CAAA,EAGCe,EAAY,CAChB,EAAK,qBACL,EAAK,qBACL,EAAK,kBACP,EAEMC,EAAcC,EAAA,KAClB,YACAF,EAAUd,CAAI,EAEdJ,GAAW,aAAaA,CAAO,GAE/B,CAACA,GAAWgB,EACZ,CACE,qBAAsBV,GAAYC,CACpC,EACA,CACE,oBAAqBA,CACvB,EACAF,EACA,SACF,EAEA,GAAIM,EAAQ,CACV,MAAMU,EAAgBV,EAEpB,OAAAW,EAAA,kBAAA,IAACD,EAAA,CACC,OAAAR,EACA,IAAAC,EACA,KAAAF,EACA,UAAWO,EACV,GAAGJ,EAEH,SAAAhB,CAAA,CACH,CAAA,CAKF,OAAAwB,EAAA,kBAAA,KAAC,SAAA,CACC,KAAAd,EACA,KAAAC,EACA,UAAWS,EACX,QAAAX,EACA,SAAUF,GAAYC,EACrB,GAAGQ,EAEH,SAAA,CAAAhB,EACAQ,EAAWe,EAAA,kBAAA,IAAAE,UAAA,CAAA,CAAQ,EAAK,IAAA,CAAA,CAC3B,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs25.js","sources":["../src/components/ui/Button/index.tsx"],"sourcesContent":["// src/components/ui/Button/index.tsx\r\nimport { ColorKeys, createColorClasses } from \"@/theme/colors\";\r\nimport clsx from \"clsx\";\r\nimport \"./Button.scss\";\r\nimport { Spinner } from \"@/icons\";\r\n\r\ntype ButtonSize = \"2\" | \"3\" | \"4\";\r\ntype ButtonVariant = \"primary\" | \"secondary\";\r\n\r\ntype BaseButtonProps = {\r\n children: React.ReactNode;\r\n variant?: ButtonVariant;\r\n bg?: ColorKeys;\r\n textColor?: ColorKeys;\r\n border?: ColorKeys;\r\n size?: ButtonSize;\r\n className?: string;\r\n disabled?: boolean;\r\n loading?: boolean;\r\n form?: string;\r\n rel?: string;\r\n target?: string;\r\n};\r\n\r\ntype ButtonAsButtonProps = BaseButtonProps & {\r\n onClick?: () => void;\r\n type?: \"button\" | \"submit\" | \"reset\";\r\n asLink?: never;\r\n href?: never;\r\n};\r\n\r\ntype ButtonAsLinkProps = BaseButtonProps & {\r\n href: string;\r\n onClick?: never;\r\n type?: never;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n};\r\n\r\ntype ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;\r\n\r\nexport const Button = ({\r\n children,\r\n variant,\r\n bg = \"primary\",\r\n textColor = \"white\",\r\n border = \"white\",\r\n size = \"3\",\r\n className,\r\n disabled,\r\n loading,\r\n onClick,\r\n type = \"button\",\r\n form = \"\",\r\n asLink,\r\n href,\r\n target = undefined,\r\n rel = undefined,\r\n ...props\r\n}: ButtonProps) => {\r\n // Only apply color classes if no variant is specified\r\n const colorClasses = !variant\r\n ? createColorClasses({\r\n bg,\r\n text: textColor,\r\n border,\r\n })\r\n : \"\";\r\n\r\n const BTN_SIZES = {\r\n \"2\": \"fs-6 py-x12 px-x24\",\r\n \"3\": \"fs-7 py-x12 px-x24\",\r\n \"4\": \"fs-6 py-x4 px-x8\",\r\n };\r\n\r\n const baseClasses = clsx(\r\n \"ui-button\",\r\n BTN_SIZES[size],\r\n // Apply variant class if provided\r\n variant && `ui-button-${variant}`,\r\n // Otherwise use traditional classes\r\n !variant && colorClasses,\r\n {\r\n \"ui-button-disabled\": disabled || loading,\r\n },\r\n {\r\n \"ui-button-loading\": loading,\r\n },\r\n className,\r\n \"fw-bold\",\r\n );\r\n\r\n if (asLink) {\r\n const LinkComponent = asLink;\r\n return (\r\n <LinkComponent\r\n target={target}\r\n rel={rel}\r\n href={href}\r\n className={baseClasses}\r\n {...props}\r\n >\r\n {children}\r\n </LinkComponent>\r\n );\r\n }\r\n\r\n return (\r\n <button\r\n type={type}\r\n form={form}\r\n className={baseClasses}\r\n onClick={onClick}\r\n disabled={disabled || loading}\r\n {...props}\r\n >\r\n {children}\r\n {loading ? <Spinner /> : null}\r\n </button>\r\n );\r\n};\r\n"],"names":["Button","children","variant","bg","textColor","border","size","className","disabled","loading","onClick","type","form","asLink","href","target","rel","props","colorClasses","createColorClasses","BTN_SIZES","baseClasses","clsx","LinkComponent","jsx","jsxs","Spinner"],"mappings":"qPAwCaA,EAAS,CAAC,CACrB,SAAAC,EACA,QAAAC,EACA,GAAAC,EAAK,UACL,UAAAC,EAAY,QACZ,OAAAC,EAAS,QACT,KAAAC,EAAO,IACP,UAAAC,EACA,SAAAC,EACA,QAAAC,EACA,QAAAC,EACA,KAAAC,EAAO,SACP,KAAAC,EAAO,GACP,OAAAC,EACA,KAAAC,EACA,OAAAC,EAAS,OACT,IAAAC,EAAM,OACN,GAAGC,CACL,IAAmB,CAEX,MAAAC,EAAgBhB,EAMlB,GALAiB,qBAAmB,CACjB,GAAAhB,EACA,KAAMC,EACN,OAAAC,CACD,CAAA,EAGCe,EAAY,CAChB,EAAK,qBACL,EAAK,qBACL,EAAK,kBACP,EAEMC,EAAcC,EAAA,KAClB,YACAF,EAAUd,CAAI,EAEdJ,GAAW,aAAaA,CAAO,GAE/B,CAACA,GAAWgB,EACZ,CACE,qBAAsBV,GAAYC,CACpC,EACA,CACE,oBAAqBA,CACvB,EACAF,EACA,SACF,EAEA,GAAIM,EAAQ,CACV,MAAMU,EAAgBV,EAEpB,OAAAW,EAAA,kBAAA,IAACD,EAAA,CACC,OAAAR,EACA,IAAAC,EACA,KAAAF,EACA,UAAWO,EACV,GAAGJ,EAEH,SAAAhB,CAAA,CACH,CAAA,CAKF,OAAAwB,EAAA,kBAAA,KAAC,SAAA,CACC,KAAAd,EACA,KAAAC,EACA,UAAWS,EACX,QAAAX,EACA,SAAUF,GAAYC,EACrB,GAAGQ,EAEH,SAAA,CAAAhB,EACAQ,EAAWe,EAAA,kBAAA,IAAAE,UAAA,CAAA,CAAQ,EAAK,IAAA,CAAA,CAC3B,CAEJ"}
|
package/dist/index.cjs26.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs26.js","sources":["../src/components/ui/CardCategory/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ExternalLink } from \"@/icons\";\nimport { ArrowLink } from \"@/components/ui/ArrowLink\";\nimport \"./CardCategory.scss\";\nimport { Col, Row } from \"@/components\";\nimport { ComponentType, MouseEvent } from \"react\";\n\ntype Image = {\n alt: string;\n src: string;\n title: string;\n};\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardCategoryProps = {\n image?: Image;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string;\n description2?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n goToLabel?: string;\n asImage?: \"img\";\n asLink?: \"a\" | ComponentType<any>;\n className?: string;\n classNameTitle?: string;\n classNameDescription?: string;\n handleOnClick?: (e: MouseEvent<HTMLAnchorElement>) => void;\n};\n\nexport const CardCategory = ({\n image,\n title,\n titleTag: TitleTag = \"h3\",\n href,\n description,\n description2,\n isExternal = false,\n showIcon = false,\n goToLabel,\n asLink = \"a\",\n asImage = \"img\",\n className,\n classNameTitle,\n classNameDescription,\n handleOnClick,\n}: CardCategoryProps) => {\n const ImageComponent = asImage;\n const LinkComponent = asLink;\n return (\n <LinkComponent\n className={clsx(\n \"ui-card-category shadow br-x4 bg-white\",\n className,\n handleOnClick && \"cursor-pointer\",\n )}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n onClick={handleOnClick ?? undefined}\n >\n {image?.src && (\n <header className=\"ui-card-category-header\">\n <ImageComponent\n src={image?.src}\n alt={image?.alt}\n title={image?.title}\n />\n </header>\n )}\n\n <Col\n className={clsx(\n image?.src\n ? \"ui-card-category-content-with-image ui-mt-negative\"\n : \"ui-card-category-content\",\n \"gap-x8 br-x4 bg-white\",\n )}\n >\n <Row alignItems={\"center\"} justifyContent={\"space-between\"} gap={\"x4\"}>\n <TitleTag\n className={clsx(\n \"flex-1 cursor-pointer hover-underline\",\n classNameTitle ? classNameTitle : \"text-primary fs-5 md-fs-custom-2\",\n )}\n >\n {title}\n {isExternal && (\n <span className=\"visually-hidden\">\n (si apre in una nuova finestra)\n </span>\n )}\n </TitleTag>\n\n {showIcon && (\n <span>\n <ExternalLink\n width={24}\n height={24}\n color=\"primary\"\n className=\"ui-external-link\"\n />\n </span>\n )}\n </Row>\n <div className={clsx(classNameDescription)}>\n <p className=\"fs-6 md-fs-custom fw-regular text-slate-28\">\n {description}\n </p>\n <p className=\"fs-6 md-fs-custom fw-regular text-slate-28\">\n {description2}\n </p>\n </div>\n </Col>\n {goToLabel && href && (\n <footer className=\"ui-card-category-footer bg-white\">\n <ArrowLink href={href ?? \"#\"} isExternal={isExternal}>\n {goToLabel?.toUpperCase()}\n </ArrowLink>\n </footer>\n )}\n </LinkComponent>\n );\n};\n"],"names":["CardCategory","image","title","TitleTag","href","description","description2","isExternal","showIcon","goToLabel","asLink","asImage","className","classNameTitle","classNameDescription","handleOnClick","ImageComponent","LinkComponent","jsxs","clsx","jsx","Col","Row","Extern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AA,CAAA,EAEJ,EACCL,EAAA,kBAAA,KAAA,MAAA,CAAI,UAAWC,EAAAA,KAAKL,CAAoB,EACvC,SAAA,CAACM,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHf,EAAA,EACCe,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHd,CAAA,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,EACCG,GAAaL,GACXgB,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,mCAChB,SAAAA,wBAACI,EAAAA,UAAU,CAAA,KAAMpB,GAAQ,IAAK,WAAAG,EAC3B,SAAWE,GAAA,YAAAA,EAAA,cACd,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs26.js","sources":["../src/components/ui/CardCategory/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { ExternalLink } from \"@/icons\";\r\nimport { ArrowLink } from \"@/components/ui/ArrowLink\";\r\nimport \"./CardCategory.scss\";\r\nimport { Col, Row } from \"@/components\";\r\nimport { ComponentType, MouseEvent } from \"react\";\r\n\r\ntype Image = {\r\n alt: string;\r\n src: string;\r\n title: string;\r\n};\r\n\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\n\r\ntype CardCategoryProps = {\r\n image?: Image;\r\n title: string;\r\n titleTag?: HeadingLevel;\r\n href?: string;\r\n description?: string;\r\n description2?: string;\r\n isExternal?: boolean;\r\n showIcon?: boolean;\r\n goToLabel?: string;\r\n asImage?: \"img\";\r\n asLink?: \"a\" | ComponentType<any>;\r\n className?: string;\r\n classNameTitle?: string;\r\n classNameDescription?: string;\r\n handleOnClick?: (e: MouseEvent<HTMLAnchorElement>) => void;\r\n};\r\n\r\nexport const CardCategory = ({\r\n image,\r\n title,\r\n titleTag: TitleTag = \"h3\",\r\n href,\r\n description,\r\n description2,\r\n isExternal = false,\r\n showIcon = false,\r\n goToLabel,\r\n asLink = \"a\",\r\n asImage = \"img\",\r\n className,\r\n classNameTitle,\r\n classNameDescription,\r\n handleOnClick,\r\n}: CardCategoryProps) => {\r\n const ImageComponent = asImage;\r\n const LinkComponent = asLink;\r\n return (\r\n <LinkComponent\r\n className={clsx(\r\n \"ui-card-category shadow br-x4 bg-white\",\r\n className,\r\n handleOnClick && \"cursor-pointer\",\r\n )}\r\n href={href}\r\n target={isExternal ? \"_blank\" : undefined}\r\n rel={isExternal ? \"noreferrer noopener\" : undefined}\r\n onClick={handleOnClick ?? undefined}\r\n >\r\n {image?.src && (\r\n <header className=\"ui-card-category-header\">\r\n <ImageComponent\r\n src={image?.src}\r\n alt={image?.alt}\r\n title={image?.title}\r\n />\r\n </header>\r\n )}\r\n\r\n <Col\r\n className={clsx(\r\n image?.src\r\n ? \"ui-card-category-content-with-image ui-mt-negative\"\r\n : \"ui-card-category-content\",\r\n \"gap-x8 br-x4 bg-white\",\r\n )}\r\n >\r\n <Row alignItems={\"center\"} justifyContent={\"space-between\"} gap={\"x4\"}>\r\n <TitleTag\r\n className={clsx(\r\n \"flex-1 cursor-pointer hover-underline\",\r\n classNameTitle ? classNameTitle : \"text-primary fs-5 md-fs-custom-2\",\r\n )}\r\n >\r\n {title}\r\n {isExternal && (\r\n <span className=\"visually-hidden\">\r\n (si apre in una nuova finestra)\r\n </span>\r\n )}\r\n </TitleTag>\r\n\r\n {showIcon && (\r\n <span>\r\n <ExternalLink\r\n width={24}\r\n height={24}\r\n color=\"primary\"\r\n className=\"ui-external-link\"\r\n />\r\n </span>\r\n )}\r\n </Row>\r\n <div className={clsx(classNameDescription)}>\r\n <p className=\"fs-6 md-fs-custom fw-regular text-slate-28\">\r\n {description}\r\n </p>\r\n <p className=\"fs-6 md-fs-custom fw-regular text-slate-28\">\r\n {description2}\r\n </p>\r\n </div>\r\n </Col>\r\n {goToLabel && href && (\r\n <footer className=\"ui-card-category-footer bg-white\">\r\n <ArrowLink href={href ?? \"#\"} isExternal={isExternal}>\r\n {goToLabel?.toUpperCase()}\r\n </ArrowLink>\r\n </footer>\r\n )}\r\n </LinkComponent>\r\n );\r\n};\r\n"],"names":["CardCategory","image","title","TitleTag","href","description","description2","isExternal","showIcon","goToLabel","asLink","asImage","className","classNameTitle","classNameDescription","handleOnClick","ImageComponent","LinkComponent","jsxs","clsx","jsx","Col","Row","ExternalLink","ArrowLink"],"mappings":"8SAiCaA,EAAe,CAAC,CAC3B,MAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,KAAAC,EACA,YAAAC,EACA,aAAAC,EACA,WAAAC,EAAa,GACb,SAAAC,EAAW,GACX,UAAAC,EACA,OAAAC,EAAS,IACT,QAAAC,EAAU,MACV,UAAAC,EACA,eAAAC,EACA,qBAAAC,EACA,cAAAC,CACF,IAAyB,CACvB,MAAMC,EAAiBL,EACjBM,EAAgBP,EAEpB,OAAAQ,EAAA,kBAAA,KAACD,EAAA,CACC,UAAWE,EAAA,KACT,yCACAP,EACAG,GAAiB,gBACnB,EACA,KAAAX,EACA,OAAQG,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAC1C,QAASQ,GAAiB,OAEzB,SAAA,EAAAd,GAAA,YAAAA,EAAO,MACNmB,wBAAC,SAAO,CAAA,UAAU,0BAChB,SAAAA,EAAA,kBAAA,IAACJ,EAAA,CACC,IAAKf,GAAA,YAAAA,EAAO,IACZ,IAAKA,GAAA,YAAAA,EAAO,IACZ,MAAOA,GAAA,YAAAA,EAAO,KAAA,CAAA,EAElB,EAGFiB,EAAA,kBAAA,KAACG,EAAA,IAAA,CACC,UAAWF,EAAA,KACTlB,GAAA,MAAAA,EAAO,IACH,qDACA,2BACJ,uBACF,EAEA,SAAA,CAAAiB,yBAACI,EAAAA,KAAI,WAAY,SAAU,eAAgB,gBAAiB,IAAK,KAC/D,SAAA,CAAAJ,EAAA,kBAAA,KAACf,EAAA,CACC,UAAWgB,EAAA,KACT,wCACAN,GAAkC,kCACpC,EAEC,SAAA,CAAAX,EACAK,GACCa,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAElC,iCAAA,CAAA,CAAA,CAAA,CAEJ,EAECZ,2BACE,OACC,CAAA,SAAAY,EAAA,kBAAA,IAACG,EAAA,aAAA,CACC,MAAO,GACP,OAAQ,GACR,MAAM,UACN,UAAU,kBAAA,CAAA,CAEd,CAAA,CAAA,EAEJ,EACCL,EAAA,kBAAA,KAAA,MAAA,CAAI,UAAWC,EAAAA,KAAKL,CAAoB,EACvC,SAAA,CAACM,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHf,EAAA,EACCe,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHd,CAAA,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,EACCG,GAAaL,GACXgB,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,mCAChB,SAAAA,wBAACI,EAAAA,UAAU,CAAA,KAAMpB,GAAQ,IAAK,WAAAG,EAC3B,SAAWE,GAAA,YAAAA,EAAA,cACd,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|
package/dist/index.cjs266.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs306.js");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.js
|
4
4
|
*
|
package/dist/index.cjs267.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs307.js"),B=require("react");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.development.js
|
4
4
|
*
|
@@ -6,19 +6,10 @@
|
|
6
6
|
*
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var
|
10
|
-
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
11
|
-
`+N+e+re}function U(e,r){if(!e||P)return"";var o=Y.get(e);if(o!==void 0)return o;P=!0,o=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=E.H,E.H=null,le();try{var u={DetermineComponentFrameRoot:function(){try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(c){var T=c}Reflect.construct(e,[],i)}else{try{i.call()}catch(c){T=c}e.call(i.prototype)}}else{try{throw Error()}catch(c){T=c}(i=e())&&typeof i.catch=="function"&&i.catch(function(){})}}catch(c){if(c&&T&&typeof c.stack=="string")return[c.stack,T.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var t=u.DetermineComponentFrameRoot(),f=t[0],d=t[1];if(f&&d){var l=f.split(`
|
12
|
-
`),b=d.split(`
|
13
|
-
`);for(t=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;t<b.length&&!b[t].includes("DetermineComponentFrameRoot");)t++;if(a===l.length||t===b.length)for(a=l.length-1,t=b.length-1;1<=a&&0<=t&&l[a]!==b[t];)t--;for(;1<=a&&0<=t;a--,t--)if(l[a]!==b[t]){if(a!==1||t!==1)do if(a--,t--,0>t||l[a]!==b[t]){var m=`
|
14
|
-
`+l[a].replace(" at new "," at ");return e.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,m),m}while(1<=a&&0<=t);break}}}finally{P=!1,E.H=n,fe(),Error.prepareStackTrace=o}return l=(l=e?e.displayName||e.name:"")?y(l):"",typeof e=="function"&&Y.set(e,l),l}function w(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return U(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return y(e);switch(e){case p:return y("Suspense");case x:return y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case j:return e=U(e.render,!1),e;case A:return w(e.type);case R:r=e._payload,e=e._init;try{return w(e(r))}catch{}}return""}function C(){var e=E.A;return e===null?null:e.getOwner()}function ce(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function se(e,r){function o(){oe||(oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function ie(){var e=s(this.type);return te[e]||(te[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function Ee(e,r,o,n,u,a){return o=a.ref,e={$$typeof:S,type:e,key:r,props:a,_owner:u},(o!==void 0?o:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:ie}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function z(e,r,o,n,u,a){if(typeof e=="string"||typeof e=="function"||e===h||e===H||e===G||e===p||e===x||e===ge||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===A||e.$$typeof===X||e.$$typeof===K||e.$$typeof===j||e.$$typeof===_e||e.getModuleId!==void 0)){var t=r.children;if(t!==void 0)if(n)if(k(t)){for(n=0;n<t.length;n++)q(t[n],e);Object.freeze&&Object.freeze(t)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else q(t,e)}else t="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(t+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":k(e)?n="array":e!==void 0&&e.$$typeof===S?(n="<"+(s(e.type)||"Unknown")+" />",t=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,t);if(J.call(r,"key")){t=s(e);var f=Object.keys(r).filter(function(l){return l!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",ne[t+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
9
|
+
*/var N;function H(){return N||(N=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===X?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case W:return"Profiler";case $:return"StrictMode";case z:return"Suspense";case q:return"SuspenseList";case G:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case F:return"Portal";case M:return(e.displayName||"Context")+".Provider";case L:return(e._context.displayName||"Context")+".Consumer";case U:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case S:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function T(e){return""+e}function v(e){try{T(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),T(e)}}function f(e){if(e===m)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===S)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function x(){var e=b.A;return e===null?null:e.getOwner()}function p(){return Error("react-stack-top-frame")}function C(e){if(A.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Y(e,r){function t(){w||(w=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function I(){var e=l(this.type);return P[e]||(P[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function D(e,r,t,n,c,a,_,E){return t=a.ref,e={$$typeof:k,type:e,key:r,props:a,_owner:c},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:I}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function O(e,r,t,n,c,a,_,E){var o=r.children;if(o!==void 0)if(n)if(K(o)){for(n=0;n<o.length;n++)g(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(o);if(A.call(r,"key")){o=l(e);var s=Object.keys(r).filter(function(J){return J!=="key"});n=0<s.length?"{key: someKey, "+s.join(": ..., ")+": ...}":"{key: someKey}",h[o+n]||(s=0<s.length?"{"+s.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
15
10
|
let props = %s;
|
16
11
|
<%s {...props} />
|
17
12
|
React keys must be passed directly to JSX without using spread:
|
18
13
|
let props = %s;
|
19
|
-
<%s key={someKey} {...props} />`,n,
|
20
|
-
|
21
|
-
Check the render method of \``+o+"`."),r||(e=s(e))&&(r=`
|
22
|
-
|
23
|
-
Check the top-level render call using <`+e+">."),r}var be=Te,S=Symbol.for("react.transitional.element"),de=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),X=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),B=Symbol.iterator,me=Symbol.for("react.client.reference"),E=be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.prototype.hasOwnProperty,v=Object.assign,_e=Symbol.for("react.client.reference"),k=Array.isArray,g=0,Z,F,I,L,Q,D,ee;$.__reactDisabledLog=!0;var N,re,P=!1,Y=new(typeof WeakMap=="function"?WeakMap:Map),ye=Symbol.for("react.client.reference"),oe,te={},ne={},ae={};_.__exports.Fragment=h,_.__exports.jsx=function(e,r,o,n,u){return z(e,r,o,!1,n,u)},_.__exports.jsxs=function(e,r,o,n,u){return z(e,r,o,!0,n,u)}}()),_.__exports}exports.__require=we;
|
14
|
+
<%s key={someKey} {...props} />`,n,o,s,o),h[o+n]=!0)}if(o=null,t!==void 0&&(v(t),o=""+t),C(r)&&(v(r.key),o=""+r.key),"key"in r){t={};for(var R in r)R!=="key"&&(t[R]=r[R])}else t=r;return o&&Y(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),D(e,o,a,c,x(),t,_,E)}function g(e){typeof e=="object"&&e!==null&&e.$$typeof===k&&e._store&&(e._store.validated=1)}var i=B,k=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),X=Symbol.for("react.client.reference"),b=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,K=Array.isArray,d=console.createTask?console.createTask:function(){return null};i={"react-stack-bottom-frame":function(e){return e()}};var w,P={},y=i["react-stack-bottom-frame"].bind(i,p)(),j=d(f(p)),h={};u.__exports.Fragment=m,u.__exports.jsx=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!1,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)},u.__exports.jsxs=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!0,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)}}()),u.__exports}exports.__require=H;
|
24
15
|
//# sourceMappingURL=index.cjs267.js.map
|
package/dist/index.cjs267.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs267.js","sources":["../node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE$2\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function disabledLog() {}\n function disableLogs() {\n if (0 === disabledDepth) {\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd;\n var props = {\n configurable: !0,\n enumerable: !0,\n value: disabledLog,\n writable: !0\n };\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 === disabledDepth) {\n var props = { configurable: !0, enumerable: !0, writable: !0 };\n Object.defineProperties(console, {\n log: assign({}, props, { value: prevLog }),\n info: assign({}, props, { value: prevInfo }),\n warn: assign({}, props, { value: prevWarn }),\n error: assign({}, props, { value: prevError }),\n group: assign({}, props, { value: prevGroup }),\n groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),\n groupEnd: assign({}, props, { value: prevGroupEnd })\n });\n }\n 0 > disabledDepth &&\n console.error(\n \"disabledDepth fell below zero. This is a bug in React. Please file an issue.\"\n );\n }\n function describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n var frame = componentFrameCache.get(fn);\n if (void 0 !== frame) return frame;\n reentry = !0;\n frame = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n var previousDispatcher = null;\n previousDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = null;\n disableLogs();\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$0) {\n control = x$0;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$1) {\n control = x$1;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter =\n RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n _RunInRootFrame$Deter = namePropDescriptor = 0;\n namePropDescriptor < sampleLines.length &&\n !sampleLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n for (\n ;\n _RunInRootFrame$Deter < controlLines.length &&\n !controlLines[_RunInRootFrame$Deter].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n _RunInRootFrame$Deter++;\n if (\n namePropDescriptor === sampleLines.length ||\n _RunInRootFrame$Deter === controlLines.length\n )\n for (\n namePropDescriptor = sampleLines.length - 1,\n _RunInRootFrame$Deter = controlLines.length - 1;\n 1 <= namePropDescriptor &&\n 0 <= _RunInRootFrame$Deter &&\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter];\n\n )\n _RunInRootFrame$Deter--;\n for (\n ;\n 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;\n namePropDescriptor--, _RunInRootFrame$Deter--\n )\n if (\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter]\n ) {\n if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {\n do\n if (\n (namePropDescriptor--,\n _RunInRootFrame$Deter--,\n 0 > _RunInRootFrame$Deter ||\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter])\n ) {\n var _frame =\n \"\\n\" +\n sampleLines[namePropDescriptor].replace(\n \" at new \",\n \" at \"\n );\n fn.displayName &&\n _frame.includes(\"<anonymous>\") &&\n (_frame = _frame.replace(\"<anonymous>\", fn.displayName));\n \"function\" === typeof fn &&\n componentFrameCache.set(fn, _frame);\n return _frame;\n }\n while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);\n }\n break;\n }\n }\n } finally {\n (reentry = !1),\n (ReactSharedInternals.H = previousDispatcher),\n reenableLogs(),\n (Error.prepareStackTrace = frame);\n }\n sampleLines = (sampleLines = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(sampleLines)\n : \"\";\n \"function\" === typeof fn && componentFrameCache.set(fn, sampleLines);\n return sampleLines;\n }\n function describeUnknownElementTypeFrameInDEV(type) {\n if (null == type) return \"\";\n if (\"function\" === typeof type) {\n var prototype = type.prototype;\n return describeNativeComponentFrame(\n type,\n !(!prototype || !prototype.isReactComponent)\n );\n }\n if (\"string\" === typeof type) return describeBuiltInComponentFrame(type);\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame(\"Suspense\");\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return (type = describeNativeComponentFrame(type.render, !1)), type;\n case REACT_MEMO_TYPE:\n return describeUnknownElementTypeFrameInDEV(type.type);\n case REACT_LAZY_TYPE:\n prototype = type._payload;\n type = type._init;\n try {\n return describeUnknownElementTypeFrameInDEV(type(prototype));\n } catch (x) {}\n }\n return \"\";\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, self, source, owner, props) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self\n ) {\n if (\n \"string\" === typeof type ||\n \"function\" === typeof type ||\n type === REACT_FRAGMENT_TYPE ||\n type === REACT_PROFILER_TYPE ||\n type === REACT_STRICT_MODE_TYPE ||\n type === REACT_SUSPENSE_TYPE ||\n type === REACT_SUSPENSE_LIST_TYPE ||\n type === REACT_OFFSCREEN_TYPE ||\n (\"object\" === typeof type &&\n null !== type &&\n (type.$$typeof === REACT_LAZY_TYPE ||\n type.$$typeof === REACT_MEMO_TYPE ||\n type.$$typeof === REACT_CONTEXT_TYPE ||\n type.$$typeof === REACT_CONSUMER_TYPE ||\n type.$$typeof === REACT_FORWARD_REF_TYPE ||\n type.$$typeof === REACT_CLIENT_REFERENCE$1 ||\n void 0 !== type.getModuleId))\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren], type);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children, type);\n } else {\n children = \"\";\n if (\n void 0 === type ||\n (\"object\" === typeof type &&\n null !== type &&\n 0 === Object.keys(type).length)\n )\n children +=\n \" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\";\n null === type\n ? (isStaticChildren = \"null\")\n : isArrayImpl(type)\n ? (isStaticChildren = \"array\")\n : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE\n ? ((isStaticChildren =\n \"<\" +\n (getComponentNameFromType(type.type) || \"Unknown\") +\n \" />\"),\n (children =\n \" Did you accidentally export a JSX literal instead of a component?\"))\n : (isStaticChildren = typeof type);\n console.error(\n \"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\",\n isStaticChildren,\n children\n );\n }\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(type, children, self, source, getOwner(), maybeKey);\n }\n function validateChildKeys(node, parentType) {\n if (\n \"object\" === typeof node &&\n node &&\n node.$$typeof !== REACT_CLIENT_REFERENCE\n )\n if (isArrayImpl(node))\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n isValidElement(child) && validateExplicitKey(child, parentType);\n }\n else if (isValidElement(node))\n node._store && (node._store.validated = 1);\n else if (\n (null === node || \"object\" !== typeof node\n ? (i = null)\n : ((i =\n (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||\n node[\"@@iterator\"]),\n (i = \"function\" === typeof i ? i : null)),\n \"function\" === typeof i &&\n i !== node.entries &&\n ((i = i.call(node)), i !== node))\n )\n for (; !(node = i.next()).done; )\n isValidElement(node.value) &&\n validateExplicitKey(node.value, parentType);\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function validateExplicitKey(element, parentType) {\n if (\n element._store &&\n !element._store.validated &&\n null == element.key &&\n ((element._store.validated = 1),\n (parentType = getCurrentComponentErrorInfo(parentType)),\n !ownerHasKeyUseWarning[parentType])\n ) {\n ownerHasKeyUseWarning[parentType] = !0;\n var childOwner = \"\";\n element &&\n null != element._owner &&\n element._owner !== getOwner() &&\n ((childOwner = null),\n \"number\" === typeof element._owner.tag\n ? (childOwner = getComponentNameFromType(element._owner.type))\n : \"string\" === typeof element._owner.name &&\n (childOwner = element._owner.name),\n (childOwner = \" It was passed a child from \" + childOwner + \".\"));\n var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;\n ReactSharedInternals.getCurrentStack = function () {\n var stack = describeUnknownElementTypeFrameInDEV(element.type);\n prevGetCurrentStack && (stack += prevGetCurrentStack() || \"\");\n return stack;\n };\n console.error(\n 'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.',\n parentType,\n childOwner\n );\n ReactSharedInternals.getCurrentStack = prevGetCurrentStack;\n }\n }\n function getCurrentComponentErrorInfo(parentType) {\n var info = \"\",\n owner = getOwner();\n owner &&\n (owner = getComponentNameFromType(owner.type)) &&\n (info = \"\\n\\nCheck the render method of `\" + owner + \"`.\");\n info ||\n ((parentType = getComponentNameFromType(parentType)) &&\n (info =\n \"\\n\\nCheck the top-level render call using <\" + parentType + \">.\"));\n return info;\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n REACT_CLIENT_REFERENCE$2 = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n assign = Object.assign,\n REACT_CLIENT_REFERENCE$1 = Symbol.for(\"react.client.reference\"),\n isArrayImpl = Array.isArray,\n disabledDepth = 0,\n prevLog,\n prevInfo,\n prevWarn,\n prevError,\n prevGroup,\n prevGroupCollapsed,\n prevGroupEnd;\n disabledLog.__reactDisabledLog = !0;\n var prefix,\n suffix,\n reentry = !1;\n var componentFrameCache = new (\n \"function\" === typeof WeakMap ? WeakMap : Map\n )();\n var REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var didWarnAboutKeySpread = {},\n ownerHasKeyUseWarning = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !1, source, self);\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !0, source, self);\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE$2","REACT_FRAGMENT_TYPE","REACT_PORTAL_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","disabledLog","disableLogs","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","props","reenableLogs","assign","describeBuiltInComponentFrame","name","prefix","x","match","suffix","describeNativeComponentFrame","fn","construct","reentry","frame","componentFrameCache","previousDispatcher","ReactSharedInternals","RunInRootFrame","Fake","control","x$0","x$1","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","_frame","describeUnknownElementTypeFrameInDEV","prototype","getOwner","dispatcher","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","self","source","owner","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","REACT_OFFSCREEN_TYPE","REACT_CLIENT_REFERENCE$1","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","parentType","REACT_CLIENT_REFERENCE","i","child","isValidElement","validateExplicitKey","MAYBE_ITERATOR_SYMBOL","object","element","getCurrentComponentErrorInfo","ownerHasKeyUseWarning","childOwner","prevGetCurrentStack","stack","info","React","require$$0","reactJsxRuntime_development"],"mappings":";;;;;;;;yCAWiB,QAAQ,IAA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x-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","self","source","owner","debugStack","debugTask","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner"],"mappings":";;;;;;;;qCAWiB,QAAQ,IAAI,WAA7B,cACG,UAAY,CACX,SAASA,EAAyBC,EAAM,CACtC,GAAYA,GAAR,KAAc,OAAO,KACzB,GAAmB,OAAOA,GAAtB,WACF,OAAOA,EAAK,WAAaC,EACrB,KACAD,EAAK,aAAeA,EAAK,MAAQ,KACvC,GAAiB,OAAOA,GAApB,SAA0B,OAAOA,EACrC,OAAQA,EAAI,CACV,KAAKE,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,UACjB,CACM,GAAiB,OAAOP,GAApB,SACF,OACgB,OAAOA,EAAK,KAAzB,UACC,QAAQ,MACN,mHACD,EACHA,EAAK,SACf,CACU,KAAKQ,EACH,MAAO,SACT,KAAKC,EACH,OAAQT,EAAK,aAAe,WAAa,YAC3C,KAAKU,EACH,OAAQV,EAAK,SAAS,aAAe,WAAa,YACpD,KAAK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oB,EAAUN,EAAQD,EAAM,CAC5D,IAAIwB,EACF,IAAMxC,EAAqB,6BAC7B,OAAOsB,EACL/C,EACA4B,EACAoB,EACA,GACAN,EACAD,EACAwB,EACI,MAAM,uBAAuB,EAC7BH,EACJG,EAAmBL,EAAWvC,EAAYrB,CAAI,CAAC,EAAI+D,CACpD,CACF,EACDC,EAAY,UAAA,KAAG,SAAUhE,EAAM4B,EAAQoB,EAAUN,EAAQD,EAAM,CAC7D,IAAIwB,EACF,IAAMxC,EAAqB,6BAC7B,OAAOsB,EACL/C,EACA4B,EACAoB,EACA,GACAN,EACAD,EACAwB,EACI,MAAM,uBAAuB,EAC7BH,EACJG,EAAmBL,EAAWvC,EAAYrB,CAAI,CAAC,EAAI+D,CACpD,CACF,CACL,EAAM","x_google_ignoreList":[0]}
|
package/dist/index.cjs27.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs27.js","sources":["../src/components/ui/CardMapStructure/index.tsx"],"sourcesContent":["import \"./CardMap.scss\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { AddressSchema } from \"@anoki/fse-common\";\nimport { Col } from \"@/components\";\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardMapProps = {\n id: string;\n title: string;\n titleTag: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n address?: AddressSchema;\n setSelectedCard?: (id: string) => void;\n};\nexport const CardMap = ({\n id,\n title,\n titleTag: TitleTag = \"h3\",\n href,\n description,\n isExternal = false,\n asLink = \"a\",\n className,\n address,\n setSelectedCard = () => {},\n}: CardMapProps) => {\n const LinkComponent = asLink;\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (\n dropdownRef.current &&\n !dropdownRef.current.contains(event.target as Node)\n ) {\n setIsActive(false);\n }\n };\n\n if (isActive) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isActive]);\n return (\n <Col\n as={\"div\"}\n justifyContent={\"center\"}\n ref={dropdownRef}\n br={\"x4\"}\n p={\"x24\"}\n bg={\"white\"}\n className={`${className} ${isActive ? \"ui-is-active\" : \"ui-card-search\"} shadow cursor-pointer text-slate-28`}\n onClick={() => {\n setIsActive(true);\n setSelectedCard(id);\n }}\n >\n <Col pb={\"x24\"}>\n <TitleTag className=\"flex-1\">\n <LinkComponent\n className={\"text-decoration-none fs-4 text-primary fw-semibold\"}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n >\n {title}\n </LinkComponent>\n </TitleTag>\n <p className=\"fs-6 fw-regular\">{description}</p>\n </Col>\n\n {address && address.streetName && (\n <Col as={\"footer\"} gap={\"x8\"} bg={\"white\"}>\n <h5 className={\"fw-semibold fs-6\"}>Indirizzo</h5>\n <p className={\"fw-regular\"}>{address.plainAddress}</p>\n </Col>\n )}\n </Col>\n );\n};\n"],"names":["CardMap","id","title","TitleTag","href","description","isExternal","asLink","className","address","setSelectedCard","LinkComponent","isActive","setIsActive","useState","dropdownRef","useRef","useEffect","handleClickOutside","event","jsxs","Col","jsx"],"mappings":"yMAoBaA,EAAU,CAAC,CACtB,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,KAAAC,EACA,YAAAC,EACA,WAAAC,EAAa,GACb,OAAAC,EAAS,IACT,UAAAC,EACA,QAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAA,CAC1B,IAAoB,CAClB,MAAMC,EAAgBJ,EAChB,CAACK,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAE/CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAE9CJ,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASI,EAAM,MAAc,GAElDN,EAAY,EAAK,CAErB,EAEA,OAAID,EACO,SAAA,iBAAiB,YAAaM,CAAkB,EAEhD,SAAA,oBAAoB,YAAaA,CAAkB,EAGvD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CAACN,CAAQ,CAAC,EAEXQ,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,GAAI,MACJ,eAAgB,SAChB,IAAKN,EACL,GAAI,KACJ,EAAG,MACH,GAAI,QACJ,UAAW,GAAGP,CAAS,IAAII,EAAW,eAAiB,gBAAgB,uCACvE,QAAS,IAAM,CACbC,EAAY,EAAI,EAChBH,EAAgBT,CAAE,CACpB,EAEA,SAAA,CAACmB,EAAAA,kBAAAA,KAAAC,EAAAA,IAAA,CAAI,GAAI,MACP,SAAA,CAACC,EAAAA,kBAAAA,IAAAnB,EAAA,CAAS,UAAU,SAClB,SAAAmB,EAAA,kBAAA,IAACX,EAAA,CACC,UAAW,qDACX,KAAAP,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAEzC,SAAAJ,CAAA,CAAA,EAEL,EACCoB,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,kBAAmB,SAAYjB,CAAA,CAAA,CAAA,EAC9C,EAECI,GAAWA,EAAQ,YACjBW,EAAA,kBAAA,KAAAC,EAAA,IAAA,CAAI,GAAI,SAAU,IAAK,KAAM,GAAI,QAChC,SAAA,CAACC,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAW,mBAAoB,SAAS,YAAA,EAC3CA,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAW,aAAe,WAAQ,YAAa,CAAA,CAAA,CACpD,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|
1
|
+
{"version":3,"file":"index.cjs27.js","sources":["../src/components/ui/CardMapStructure/index.tsx"],"sourcesContent":["import \"./CardMap.scss\";\r\nimport { useEffect, useRef, useState } from \"react\";\r\nimport { AddressSchema } from \"@anoki/fse-common\";\r\nimport { Col } from \"@/components\";\r\n\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\n\r\ntype CardMapProps = {\r\n id: string;\r\n title: string;\r\n titleTag: HeadingLevel;\r\n href?: string;\r\n description?: string;\r\n isExternal?: boolean;\r\n showIcon?: boolean;\r\n asLink?: \"a\";\r\n className?: string;\r\n address?: AddressSchema;\r\n setSelectedCard?: (id: string) => void;\r\n};\r\nexport const CardMap = ({\r\n id,\r\n title,\r\n titleTag: TitleTag = \"h3\",\r\n href,\r\n description,\r\n isExternal = false,\r\n asLink = \"a\",\r\n className,\r\n address,\r\n setSelectedCard = () => {},\r\n}: CardMapProps) => {\r\n const LinkComponent = asLink;\r\n const [isActive, setIsActive] = useState(false);\r\n const dropdownRef = useRef<HTMLDivElement>(null);\r\n\r\n useEffect(() => {\r\n const handleClickOutside = (event: MouseEvent) => {\r\n if (\r\n dropdownRef.current &&\r\n !dropdownRef.current.contains(event.target as Node)\r\n ) {\r\n setIsActive(false);\r\n }\r\n };\r\n\r\n if (isActive) {\r\n document.addEventListener(\"mousedown\", handleClickOutside);\r\n } else {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n }\r\n\r\n return () => {\r\n document.removeEventListener(\"mousedown\", handleClickOutside);\r\n };\r\n }, [isActive]);\r\n return (\r\n <Col\r\n as={\"div\"}\r\n justifyContent={\"center\"}\r\n ref={dropdownRef}\r\n br={\"x4\"}\r\n p={\"x24\"}\r\n bg={\"white\"}\r\n className={`${className} ${isActive ? \"ui-is-active\" : \"ui-card-search\"} shadow cursor-pointer text-slate-28`}\r\n onClick={() => {\r\n setIsActive(true);\r\n setSelectedCard(id);\r\n }}\r\n >\r\n <Col pb={\"x24\"}>\r\n <TitleTag className=\"flex-1\">\r\n <LinkComponent\r\n className={\"text-decoration-none fs-4 text-primary fw-semibold\"}\r\n href={href}\r\n target={isExternal ? \"_blank\" : undefined}\r\n rel={isExternal ? \"noreferrer noopener\" : undefined}\r\n >\r\n {title}\r\n </LinkComponent>\r\n </TitleTag>\r\n <p className=\"fs-6 fw-regular\">{description}</p>\r\n </Col>\r\n\r\n {address && address.streetName && (\r\n <Col as={\"footer\"} gap={\"x8\"} bg={\"white\"}>\r\n <h5 className={\"fw-semibold fs-6\"}>Indirizzo</h5>\r\n <p className={\"fw-regular\"}>{address.plainAddress}</p>\r\n </Col>\r\n )}\r\n </Col>\r\n );\r\n};\r\n"],"names":["CardMap","id","title","TitleTag","href","description","isExternal","asLink","className","address","setSelectedCard","LinkComponent","isActive","setIsActive","useState","dropdownRef","useRef","useEffect","handleClickOutside","event","jsxs","Col","jsx"],"mappings":"yMAoBaA,EAAU,CAAC,CACtB,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,KAAAC,EACA,YAAAC,EACA,WAAAC,EAAa,GACb,OAAAC,EAAS,IACT,UAAAC,EACA,QAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAA,CAC1B,IAAoB,CAClB,MAAMC,EAAgBJ,EAChB,CAACK,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAE/CC,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAsBC,GAAsB,CAE9CJ,EAAY,SACZ,CAACA,EAAY,QAAQ,SAASI,EAAM,MAAc,GAElDN,EAAY,EAAK,CAErB,EAEA,OAAID,EACO,SAAA,iBAAiB,YAAaM,CAAkB,EAEhD,SAAA,oBAAoB,YAAaA,CAAkB,EAGvD,IAAM,CACF,SAAA,oBAAoB,YAAaA,CAAkB,CAC9D,CAAA,EACC,CAACN,CAAQ,CAAC,EAEXQ,EAAA,kBAAA,KAACC,EAAA,IAAA,CACC,GAAI,MACJ,eAAgB,SAChB,IAAKN,EACL,GAAI,KACJ,EAAG,MACH,GAAI,QACJ,UAAW,GAAGP,CAAS,IAAII,EAAW,eAAiB,gBAAgB,uCACvE,QAAS,IAAM,CACbC,EAAY,EAAI,EAChBH,EAAgBT,CAAE,CACpB,EAEA,SAAA,CAACmB,EAAAA,kBAAAA,KAAAC,EAAAA,IAAA,CAAI,GAAI,MACP,SAAA,CAACC,EAAAA,kBAAAA,IAAAnB,EAAA,CAAS,UAAU,SAClB,SAAAmB,EAAA,kBAAA,IAACX,EAAA,CACC,UAAW,qDACX,KAAAP,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAEzC,SAAAJ,CAAA,CAAA,EAEL,EACCoB,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,kBAAmB,SAAYjB,CAAA,CAAA,CAAA,EAC9C,EAECI,GAAWA,EAAQ,YACjBW,EAAA,kBAAA,KAAAC,EAAA,IAAA,CAAI,GAAI,SAAU,IAAK,KAAM,GAAI,QAChC,SAAA,CAACC,EAAA,kBAAA,IAAA,KAAA,CAAG,UAAW,mBAAoB,SAAS,YAAA,EAC3CA,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAW,aAAe,WAAQ,YAAa,CAAA,CAAA,CACpD,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|
package/dist/index.cjs272.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),l=(t,n)=>{a.useEffect(()=>{if(!n||!t.current)return;const o=t.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),u=o[0],s=o[o.length-1],r=e=>{e.key==="Tab"&&(e.shiftKey?document.activeElement===u&&(s.focus(),e.preventDefault()):document.activeElement===s&&(u.focus(),e.preventDefault()))},c=document.activeElement;return u.focus(),document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n&&(c==null||c.focus())}},[n,t])};exports.useFocusTrap=l;
|
2
2
|
//# sourceMappingURL=index.cjs272.js.map
|
package/dist/index.cjs272.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs272.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"index.cjs272.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\r\n\r\nexport const useFocusTrap = (\r\n ref: React.RefObject<HTMLElement | null>,\r\n isActive: boolean,\r\n) => {\r\n useEffect(() => {\r\n if (!isActive || !ref.current) return;\r\n\r\n const focusableElements = ref.current.querySelectorAll(\r\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\r\n );\r\n const firstFocusableElement = focusableElements[0] as HTMLElement;\r\n const lastFocusableElement = focusableElements[\r\n focusableElements.length - 1\r\n ] as HTMLElement;\r\n\r\n const handleKeyDown = (e: KeyboardEvent) => {\r\n if (e.key !== \"Tab\") return;\r\n\r\n if (e.shiftKey) {\r\n if (document.activeElement === firstFocusableElement) {\r\n lastFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n } else {\r\n if (document.activeElement === lastFocusableElement) {\r\n firstFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n }\r\n };\r\n\r\n const previousActiveElement = document.activeElement as HTMLElement;\r\n\r\n firstFocusableElement.focus();\r\n\r\n document.addEventListener(\"keydown\", handleKeyDown);\r\n\r\n return () => {\r\n document.removeEventListener(\"keydown\", handleKeyDown);\r\n\r\n if (isActive) {\r\n previousActiveElement?.focus();\r\n }\r\n };\r\n }, [isActive, ref]);\r\n};\r\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAEzB,MAAAG,EAAoBH,EAAI,QAAQ,iBACpC,0EACF,EACMI,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAM,EAC3B,EAAE,eAAe,GAGf,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAM,EAC5B,EAAE,eAAe,GAGvB,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAM,EAEnB,SAAA,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACF,SAAA,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CAAA,EACC,CAACN,EAAUD,CAAG,CAAC,CACpB"}
|
package/dist/index.cjs275.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(s,c,{checkForDefaultPrevented:t=!0}={}){return function(f){if(s==null||s(f),t===!1||!f.defaultPrevented)return c==null?void 0:c(f)}}exports.composeEventHandlers=u;
|
2
2
|
//# sourceMappingURL=index.cjs275.js.map
|
package/dist/index.cjs275.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs275.js","sources":["../node_modules/@radix-ui/
|
1
|
+
{"version":3,"file":"index.cjs275.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"gFACA,SAASA,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAM,EAAG,GAAI,CAC7G,OAAO,SAAqBC,EAAO,CAEjC,GADAH,GAAA,MAAAA,EAAuBG,GACnBD,IAA6B,IAAS,CAACC,EAAM,iBAC/C,OAAOF,GAAA,YAAAA,EAAkBE,EAE5B,CACH","x_google_ignoreList":[0]}
|
package/dist/index.cjs276.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
|
2
2
|
//# sourceMappingURL=index.cjs276.js.map
|