@anoki/fse-ui 1.0.0-beta1.48.22 → 1.0.0-beta1.48.26
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.cjs102.js.map +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs30.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs31.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs32.js.map +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs33.js.map +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs36.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs37.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/{index.cjs477.js → index.cjs469.js} +1 -1
- package/dist/{index.cjs477.js.map → index.cjs469.js.map} +1 -1
- package/dist/{index.cjs478.js → index.cjs470.js} +1 -1
- package/dist/{index.cjs478.js.map → index.cjs470.js.map} +1 -1
- package/dist/index.cjs471.js +2 -0
- package/dist/index.cjs471.js.map +1 -0
- package/dist/{index.cjs480.js → index.cjs472.js} +1 -1
- package/dist/{index.cjs480.js.map → index.cjs472.js.map} +1 -1
- package/dist/{index.cjs481.js → index.cjs473.js} +1 -1
- package/dist/{index.cjs481.js.map → index.cjs473.js.map} +1 -1
- package/dist/{index.cjs482.js → index.cjs474.js} +1 -1
- package/dist/{index.cjs482.js.map → index.cjs474.js.map} +1 -1
- package/dist/{index.cjs483.js → index.cjs475.js} +1 -1
- package/dist/{index.cjs483.js.map → index.cjs475.js.map} +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs48.js.map +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs49.js.map +1 -1
- package/dist/index.cjs498.js +2 -0
- package/dist/index.cjs498.js.map +1 -0
- package/dist/{index.cjs501.js → index.cjs499.js} +1 -1
- package/dist/index.cjs499.js.map +1 -0
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs508.js +2 -0
- package/dist/index.cjs508.js.map +1 -0
- package/dist/index.cjs509.js +3 -0
- package/dist/index.cjs509.js.map +1 -0
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +27 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -2
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.d.ts +18 -45
- package/dist/index.es102.js +1 -1
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es186.js +13 -13
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es205.js +8 -8
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +6 -6
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es215.js +13 -13
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +5 -5
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +10 -10
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +9 -9
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +10 -10
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es288.js +1 -1
- package/dist/index.es295.js +7 -7
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es302.js +1 -1
- package/dist/index.es307.js +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es318.js +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +1 -1
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es345.js +6 -6
- package/dist/index.es346.js +2 -2
- package/dist/index.es36.js +1 -1
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es368.js +1 -1
- package/dist/index.es37.js +1 -1
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es374.js +1 -1
- package/dist/index.es386.js +8 -8
- package/dist/index.es414.js +1 -1
- package/dist/index.es422.js +1 -1
- package/dist/index.es431.js +1 -1
- package/dist/index.es438.js +2 -2
- package/dist/index.es459.js +1 -1
- package/dist/index.es460.js +7 -7
- package/dist/{index.es477.js → index.es469.js} +1 -1
- package/dist/{index.es477.js.map → index.es469.js.map} +1 -1
- package/dist/{index.es478.js → index.es470.js} +1 -1
- package/dist/{index.es478.js.map → index.es470.js.map} +1 -1
- package/dist/index.es471.js +17 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/{index.es480.js → index.es472.js} +1 -1
- package/dist/{index.es480.js.map → index.es472.js.map} +1 -1
- package/dist/{index.es481.js → index.es473.js} +1 -1
- package/dist/{index.es481.js.map → index.es473.js.map} +1 -1
- package/dist/{index.es482.js → index.es474.js} +1 -1
- package/dist/{index.es482.js.map → index.es474.js.map} +1 -1
- package/dist/{index.es483.js → index.es475.js} +1 -1
- package/dist/{index.es483.js.map → index.es475.js.map} +1 -1
- package/dist/index.es479.js +15 -14
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es498.js +77 -0
- package/dist/index.es498.js.map +1 -0
- package/dist/{index.es501.js → index.es499.js} +1 -1
- package/dist/index.es499.js.map +1 -0
- package/dist/index.es500.js +2 -74
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es508.js +9 -0
- package/dist/index.es508.js.map +1 -0
- package/dist/index.es509.js +524 -0
- package/dist/index.es509.js.map +1 -0
- package/dist/index.es512.js +5 -2
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +3674 -5
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +2 -521
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es518.js +1 -1
- package/dist/index.es524.js +1 -1
- package/dist/index.es53.js +1 -1
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es531.js +3 -3
- package/dist/index.es535.js +83 -5
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +5 -16
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +15 -12
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +13 -36
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +36 -5
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +5 -2
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +2 -3
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +3 -7
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +7 -6
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +6 -5
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +5 -32
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +32 -242
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +242 -4
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +4 -5
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +4 -9
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +9 -55
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +55 -7
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +7 -5
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +5 -532
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +532 -13
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +14 -2
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +2 -37
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +37 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +2 -273
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +273 -3
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +3 -30
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +28 -81
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es563.js +1 -1
- package/dist/index.es580.js +522 -3
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +113 -509
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +123 -121
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +61 -125
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +1 -1
- package/dist/index.es585.js +1 -1
- package/dist/index.es588.js +3 -64
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es593.js +21 -11
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +11 -26
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +27 -4
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +4 -22
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es70.js +1 -1
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es73.js +1 -0
- package/dist/index.es73.js.map +1 -1
- package/dist/sections/Login/Login.css +1 -1
- package/package.json +1 -1
- package/dist/index.cjs494.js +0 -2
- package/dist/index.cjs494.js.map +0 -1
- package/dist/index.cjs501.js.map +0 -1
- package/dist/index.cjs502.js +0 -2
- package/dist/index.cjs502.js.map +0 -1
- package/dist/index.cjs510.js +0 -2
- package/dist/index.cjs510.js.map +0 -1
- package/dist/index.cjs511.js +0 -28
- package/dist/index.cjs511.js.map +0 -1
- package/dist/index.es494.js +0 -18
- package/dist/index.es494.js.map +0 -1
- package/dist/index.es501.js.map +0 -1
- package/dist/index.es502.js +0 -5
- package/dist/index.es502.js.map +0 -1
- package/dist/index.es510.js +0 -8
- package/dist/index.es510.js.map +0 -1
- package/dist/index.es511.js +0 -3678
- package/dist/index.es511.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.cjs102.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs102.js","sources":["../src/components/ui/AuthorBlock/index.tsx"],"sourcesContent":["import { /* Avatar, */ AvatarSize } from \"../Avatar\";\r\nimport { ColorKeys } from \"@/theme/colors\";\r\nimport \"./AuthorBlock.scss\";\r\nimport { Row } from \"@/components\";\r\
|
1
|
+
{"version":3,"file":"index.cjs102.js","sources":["../src/components/ui/AuthorBlock/index.tsx"],"sourcesContent":["import { /* Avatar, */ AvatarSize } from \"../Avatar\";\r\nimport { ColorKeys } from \"@/theme/colors\";\r\nimport \"./AuthorBlock.scss\";\r\nimport { Row } from \"@/components\";\r\nimport { HeadingLevel } from \"@/types/headings\";\r\n\r\ntype CardAuthorProps = {\r\n titleTag?: HeadingLevel;\r\n authorName: string;\r\n avatar?: {\r\n initials: string;\r\n bg?: ColorKeys;\r\n textColor?: ColorKeys;\r\n };\r\n avatarSize?: AvatarSize;\r\n publishedLabel?: string;\r\n publishedDate?: string;\r\n readingTimeLabel?: string;\r\n readingTimeValue?: number;\r\n readingMinuteLabel?: string;\r\n};\r\n\r\nexport const AuthorBlock = ({\r\n /*titleTag: TitleTag = \"h1\",\r\n authorName,\r\n avatar,\r\n avatarSize = \"3\", */\r\n publishedLabel = \"Pubblicato il\",\r\n publishedDate = \"-\",\r\n readingTimeLabel = \"Tempo di lettura\",\r\n readingTimeValue = 0,\r\n readingMinuteLabel = \"minuti\",\r\n}: CardAuthorProps) => {\r\n return (\r\n <article className=\"bg-white br-x4 ui-card-author\">\r\n <Row as={\"header\"} gap={\"x16\"} className=\"align-items-center\">\r\n {/* avatar && (\r\n <Avatar\r\n textColor={avatar?.textColor ?? \"slate-20\"}\r\n bg={avatar?.bg ?? \"lightblue-a01\"}\r\n initials={avatar?.initials ?? \"\"}\r\n className=\"ui-card-author-avatar\"\r\n size={avatarSize}\r\n />\r\n ) */}\r\n\r\n <div className={\"text-slate-28\"}>\r\n {/* <TitleTag className=\"fs-5 md-fs-custom fw-semibold \">\r\n {authorName}\r\n </TitleTag> */}\r\n <div className={\"base-row gap-x8 fs-6 text-slate-28\"}>\r\n <div className={\"item-block\"}>\r\n <p className=\"fw-regular\">{publishedLabel}</p>\r\n <p className={\"fw-bold\"}>{publishedDate}</p>\r\n </div>\r\n\r\n <div className={\"item-block ui-author-divider\"}>\r\n <p className=\"fw-regular \">{readingTimeLabel}</p>\r\n <p className={\"fw-bold\"}>\r\n {readingTimeValue} {readingMinuteLabel}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </Row>\r\n </article>\r\n );\r\n};\r\n"],"names":["AuthorBlock","publishedLabel","publishedDate","readingTimeLabel","readingTimeValue","readingMinuteLabel","jsx","Row","jsxs"],"mappings":"qLAsBaA,EAAc,CAAC,CAK1B,eAAAC,EAAiB,gBACjB,cAAAC,EAAgB,IAChB,iBAAAC,EAAmB,mBACnB,iBAAAC,EAAmB,EACnB,mBAAAC,EAAqB,QACvB,4BAEK,UAAQ,CAAA,UAAU,gCACjB,SAACC,wBAAAC,EAAAA,IAAA,CAAI,GAAI,SAAU,IAAK,MAAO,UAAU,qBAWvC,iCAAC,MAAI,CAAA,UAAW,gBAId,SAACC,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAW,qCACd,SAAA,CAACA,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAW,aACd,SAAA,CAACF,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,aAAc,SAAeL,EAAA,EACzCK,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAW,UAAY,SAAcJ,CAAA,CAAA,CAAA,EAC1C,EAEAM,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAW,+BACd,SAAA,CAACF,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,cAAe,SAAiBH,EAAA,EAC7CK,EAAAA,kBAAAA,KAAC,IAAE,CAAA,UAAW,UACX,SAAA,CAAAJ,EAAiB,IAAEC,CAAA,CACtB,CAAA,CAAA,CACF,CAAA,CAAA,EACF,CAAA,CACF,CACF,CAAA,EACF"}
|
package/dist/index.cjs110.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/TableOfContents/TableOfContents.css');const t=require("./index.cjs243.js"),o=require("react");;/* empty css */const E=require("./index.cjs251.js"),l=require("./index.cjs244.js"),f=require("./index.cjs9.js"),v=require("./index.cjs157.js"),b=require("./index.cjs386.js"),R=({title:a="Indice",headings:c,titleTag:d="
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/TableOfContents/TableOfContents.css');const t=require("./index.cjs243.js"),o=require("react");;/* empty css */const E=require("./index.cjs251.js"),l=require("./index.cjs244.js"),f=require("./index.cjs9.js"),v=require("./index.cjs157.js"),b=require("./index.cjs386.js"),R=({title:a="Indice",headings:c,titleTag:d="h1",modeAuthenticated:u=!1,isOpen:n,onToggle:i=()=>{}})=>{const[x,m]=o.useState(""),[p,h]=o.useState(0),j=E.useMediaQuery("(min-width: 768px)")||n;return o.useEffect(()=>{const e=()=>{const r=window.scrollY,s=document.documentElement.scrollHeight-window.innerHeight,w=s>0?Math.min(r/s*100,100):0;h(w)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[]),o.useEffect(()=>{const e=new IntersectionObserver(r=>{r.forEach(s=>{s.isIntersecting&&m(s.target.id)})},{rootMargin:"-100px 0px -50% 0px",threshold:0});return c.forEach(({id:r})=>{const s=document.getElementById(r);s&&e.observe(s)}),()=>e.disconnect()},[c]),t.jsxRuntimeExports.jsxs("div",{className:l.clsx("toc-container",{"toc-container-authenticated":u}),children:[t.jsxRuntimeExports.jsx("button",{className:"ui-button-accordion-toc",onClick:i,type:"button",children:t.jsxRuntimeExports.jsxs(f.Row,{className:"ui-header-table-of-contents",children:[t.jsxRuntimeExports.jsx(d,{className:"text-slate-20 fw-semibold fs-7",children:a}),t.jsxRuntimeExports.jsx(v.ArrowDown,{color:"primary",className:l.clsx("ui-arrow-toc",{"ui-expanded-toc":n})})]})}),t.jsxRuntimeExports.jsx("div",{className:"scroll-progress-bar",children:t.jsxRuntimeExports.jsx("div",{className:"scroll-progress",style:{width:`${p}%`}})}),j&&t.jsxRuntimeExports.jsx(b.ScrollArea,{type:"always",scrollbars:"vertical",className:"toc-scroll fw-semibold fs-6",children:t.jsxRuntimeExports.jsx("div",{className:"toc-list base-col",children:c.map(e=>t.jsxRuntimeExports.jsx("div",{className:"toc-item",children:t.jsxRuntimeExports.jsx("a",{href:`#${e.id}`,className:`toc-link ${x===e.id?"active text-primary":"text-slate-28"}`,onClick:r=>{var s;r.preventDefault(),(s=document.getElementById(e.id))==null||s.scrollIntoView({behavior:"smooth"}),i()},children:e.text})},e.id))})})]})};exports.TableOfContents=R;
|
2
2
|
//# sourceMappingURL=index.cjs110.js.map
|
package/dist/index.cjs110.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs110.js","sources":["../src/components/ui/TableOfContents/index.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\r\nimport { ScrollArea } from \"@radix-ui/themes\";\r\nimport \"./TableOfContents.scss\";\r\nimport { Row } from \"@/components\";\r\nimport { useMediaQuery } from \"@/hooks/useMediaQuery.ts\";\r\nimport { ArrowDown } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\n\r\ntype Heading = {\r\n id: string;\r\n text: string;\r\n};\r\n\r\ntype
|
1
|
+
{"version":3,"file":"index.cjs110.js","sources":["../src/components/ui/TableOfContents/index.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\r\nimport { ScrollArea } from \"@radix-ui/themes\";\r\nimport \"./TableOfContents.scss\";\r\nimport { Row } from \"@/components\";\r\nimport { useMediaQuery } from \"@/hooks/useMediaQuery.ts\";\r\nimport { ArrowDown } from \"@/icons\";\r\nimport clsx from \"clsx\";\r\nimport { HeadingLevel } from \"@/types/headings\";\r\n\r\ntype Heading = {\r\n id: string;\r\n text: string;\r\n};\r\n\r\ntype TableOfContentsProps = {\r\n title: string;\r\n headings: Heading[];\r\n titleTag?: HeadingLevel;\r\n modeAuthenticated?: boolean;\r\n isOpen?: boolean;\r\n onToggle?: () => void;\r\n};\r\n\r\nexport const TableOfContents = ({\r\n title = \"Indice\",\r\n headings,\r\n titleTag: TitleTag = \"h1\",\r\n modeAuthenticated = false,\r\n isOpen,\r\n onToggle = () => {},\r\n}: TableOfContentsProps) => {\r\n const [activeId, setActiveId] = React.useState(\"\");\r\n const [scrollProgress, setScrollProgress] = useState(0);\r\n const isDesktop = useMediaQuery(\"(min-width: 768px)\");\r\n const showScrollArea = isDesktop || isOpen;\r\n\r\n useEffect(() => {\r\n const updateScrollProgress = () => {\r\n const scrollTop = window.scrollY;\r\n const docHeight =\r\n document.documentElement.scrollHeight - window.innerHeight;\r\n const scrollPercent =\r\n docHeight > 0 ? Math.min((scrollTop / docHeight) * 100, 100) : 0;\r\n setScrollProgress(scrollPercent);\r\n };\r\n\r\n window.addEventListener(\"scroll\", updateScrollProgress);\r\n updateScrollProgress(); // Inizializza la barra di progresso\r\n\r\n return () => window.removeEventListener(\"scroll\", updateScrollProgress);\r\n }, []);\r\n\r\n useEffect(() => {\r\n const observer = new IntersectionObserver(\r\n (entries) => {\r\n entries.forEach((entry) => {\r\n if (entry.isIntersecting) {\r\n setActiveId(entry.target.id);\r\n }\r\n });\r\n },\r\n {\r\n rootMargin: \"-100px 0px -50% 0px\",\r\n threshold: 0,\r\n },\r\n );\r\n\r\n headings.forEach(({ id }) => {\r\n const element = document.getElementById(id);\r\n if (element) observer.observe(element);\r\n });\r\n\r\n return () => observer.disconnect();\r\n }, [headings]);\r\n\r\n return (\r\n <div className={clsx(\"toc-container\", { \"toc-container-authenticated\": modeAuthenticated })}>\r\n <button\r\n className={\"ui-button-accordion-toc\"}\r\n onClick={onToggle}\r\n type=\"button\"\r\n >\r\n <Row className={\"ui-header-table-of-contents\"}>\r\n <TitleTag className=\"text-slate-20 fw-semibold fs-7\">\r\n {title}\r\n </TitleTag>\r\n <ArrowDown\r\n color={\"primary\"}\r\n className={clsx(\"ui-arrow-toc\", { \"ui-expanded-toc\": isOpen })}\r\n />\r\n </Row>\r\n </button>\r\n\r\n <div className=\"scroll-progress-bar\">\r\n <div\r\n className=\"scroll-progress\"\r\n style={{ width: `${scrollProgress}%` }}\r\n />\r\n </div>\r\n\r\n {showScrollArea && (\r\n <ScrollArea\r\n type=\"always\"\r\n scrollbars=\"vertical\"\r\n className=\"toc-scroll fw-semibold fs-6\"\r\n >\r\n <div className=\"toc-list base-col\">\r\n {headings.map((item) => (\r\n <div key={item.id} className=\"toc-item\">\r\n <a\r\n href={`#${item.id}`}\r\n className={`toc-link ${activeId === item.id ? \"active text-primary\" : \"text-slate-28\"}`}\r\n onClick={(e) => {\r\n e.preventDefault();\r\n document\r\n .getElementById(item.id)\r\n ?.scrollIntoView({ behavior: \"smooth\" });\r\n onToggle();\r\n }}\r\n >\r\n {item.text}\r\n </a>\r\n </div>\r\n ))}\r\n </div>\r\n </ScrollArea>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"names":["TableOfContents","title","headings","TitleTag","modeAuthenticated","isOpen","onToggle","activeId","setActiveId","React","scrollProgress","setScrollProgress","useState","showScrollArea","useMediaQuery","useEffect","updateScrollProgress","scrollTop","docHeight","scrollPercent","observer","entries","entry","id","element","jsxs","clsx","jsx","Row","ArrowDown","ScrollArea","item","e","_a"],"mappings":"oUAuBaA,EAAkB,CAAC,CAC9B,MAAAC,EAAQ,SACR,SAAAC,EACA,SAAUC,EAAW,KACrB,kBAAAC,EAAoB,GACpB,OAAAC,EACA,SAAAC,EAAW,IAAM,CAAA,CACnB,IAA4B,CAC1B,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAM,SAAS,EAAE,EAC3C,CAACC,EAAgBC,CAAiB,EAAIC,EAAAA,SAAS,CAAC,EAEhDC,EADYC,gBAAc,oBAAoB,GAChBT,EAEpCU,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAMC,EAAuB,IAAM,CACjC,MAAMC,EAAY,OAAO,QACnBC,EACJ,SAAS,gBAAgB,aAAe,OAAO,YAC3CC,EACJD,EAAY,EAAI,KAAK,IAAKD,EAAYC,EAAa,IAAK,GAAG,EAAI,EACjEP,EAAkBQ,CAAa,CACjC,EAEO,cAAA,iBAAiB,SAAUH,CAAoB,EACjCA,EAAA,EAEd,IAAM,OAAO,oBAAoB,SAAUA,CAAoB,CACxE,EAAG,EAAE,EAELD,EAAAA,UAAU,IAAM,CACd,MAAMK,EAAW,IAAI,qBAClBC,GAAY,CACHA,EAAA,QAASC,GAAU,CACrBA,EAAM,gBACId,EAAAc,EAAM,OAAO,EAAE,CAC7B,CACD,CACH,EACA,CACE,WAAY,sBACZ,UAAW,CAAA,CAEf,EAEA,OAAApB,EAAS,QAAQ,CAAC,CAAE,GAAAqB,KAAS,CACrB,MAAAC,EAAU,SAAS,eAAeD,CAAE,EACtCC,GAAkBJ,EAAA,QAAQI,CAAO,CAAA,CACtC,EAEM,IAAMJ,EAAS,WAAW,CAAA,EAChC,CAAClB,CAAQ,CAAC,EAGXuB,yBAAC,OAAI,UAAWC,EAAA,KAAK,gBAAiB,CAAE,8BAA+BtB,EAAmB,EACxF,SAAA,CAAAuB,EAAA,kBAAA,IAAC,SAAA,CACC,UAAW,0BACX,QAASrB,EACT,KAAK,SAEL,SAAAmB,EAAA,kBAAA,KAACG,EAAI,IAAA,CAAA,UAAW,8BACd,SAAA,CAACD,EAAA,kBAAA,IAAAxB,EAAA,CAAS,UAAU,iCACjB,SACHF,EAAA,EACA0B,EAAA,kBAAA,IAACE,EAAA,UAAA,CACC,MAAO,UACP,UAAWH,EAAAA,KAAK,eAAgB,CAAE,kBAAmBrB,CAAQ,CAAA,CAAA,CAAA,CAC/D,CACF,CAAA,CAAA,CACF,EAEAsB,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,sBACb,SAAAA,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,kBACV,MAAO,CAAE,MAAO,GAAGjB,CAAc,GAAI,CAAA,CAAA,EAEzC,EAECG,GACCc,EAAA,kBAAA,IAACG,EAAA,WAAA,CACC,KAAK,SACL,WAAW,WACX,UAAU,8BAEV,SAAAH,EAAA,kBAAA,IAAC,MAAI,CAAA,UAAU,oBACZ,SAAAzB,EAAS,IAAK6B,GACbJ,EAAAA,kBAAAA,IAAC,MAAkB,CAAA,UAAU,WAC3B,SAAAA,EAAA,kBAAA,IAAC,IAAA,CACC,KAAM,IAAII,EAAK,EAAE,GACjB,UAAW,YAAYxB,IAAawB,EAAK,GAAK,sBAAwB,eAAe,GACrF,QAAUC,GAAM,OACdA,EAAE,eAAe,GAEdC,EAAA,SAAA,eAAeF,EAAK,EAAE,IAAtB,MAAAE,EACC,eAAe,CAAE,SAAU,WACtB3B,EAAA,CACX,EAEC,SAAKyB,EAAA,IAAA,CAAA,GAZAA,EAAK,EAcf,CACD,CACH,CAAA,CAAA,CAAA,CACF,EAEJ,CAEJ"}
|
package/dist/index.cjs134.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AggregationItemCard/AggregationItemCard.css');const t=require("./index.cjs243.js"),o=require("./index.cjs244.js"),i=require("./index.cjs10.js"),r=require("./index.cjs9.js");;/* empty css */const E=require("./index.cjs185.js"),f=require("./index.cjs106.js"),N=({category:e,tags:l=[],totalTags:c=2,image:s,title:d,titleTag:p="
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/AggregationItemCard/AggregationItemCard.css');const t=require("./index.cjs243.js"),o=require("./index.cjs244.js"),i=require("./index.cjs10.js"),r=require("./index.cjs9.js");;/* empty css */const E=require("./index.cjs185.js"),f=require("./index.cjs106.js"),N=({category:e,tags:l=[],totalTags:c=2,image:s,title:d,titleTag:p="h1",href:u,isExternal:n=!1,asImage:j="img",className:a,handleOnClick:x})=>{const m=j;return t.jsxRuntimeExports.jsxs("div",{className:o.clsx("ui-aggregation-item-card shadow br-x4 bg-white",a,x&&"cursor-pointer"),children:[t.jsxRuntimeExports.jsxs("div",{className:"category-header text-muted",children:[t.jsxRuntimeExports.jsxs(r.Row,{gap:"x4",alignItems:"center",className:"p-x0 m-x0",children:[e&&t.jsxRuntimeExports.jsx(E.File,{fillColor:s!=null&&s.src?"#fff":"#5C6F82",width:30,height:30}),(e==null?void 0:e.type)??" "]}),t.jsxRuntimeExports.jsx("p",{className:"date text-muted ",children:(e==null?void 0:e.published_at)??" "})]}),(s==null?void 0:s.src)&&t.jsxRuntimeExports.jsxs("header",{className:"image",children:[t.jsxRuntimeExports.jsx(m,{src:s==null?void 0:s.src,alt:s==null?void 0:s.alt,title:s==null?void 0:s.title}),t.jsxRuntimeExports.jsx("div",{className:"backdrop"})]}),t.jsxRuntimeExports.jsx(i.Col,{className:"content-container gap-x16",children:t.jsxRuntimeExports.jsx(r.Row,{alignItems:"center",justifyContent:"space-between",gap:"x4",children:t.jsxRuntimeExports.jsx("a",{className:"text-decoration-none",href:u,target:n?"_blank":void 0,rel:n?"noreferrer noopener":void 0,onClick:x??void 0,children:t.jsxRuntimeExports.jsx(p,{className:o.clsx("title","cursor-pointer hover-underline","text-primary fs-5 md-fs-custom-2"),children:d})})})}),t.jsxRuntimeExports.jsx(i.Col,{className:"content-container gap-x16",children:t.jsxRuntimeExports.jsx(r.Row,{className:"topics-container",gap:"x16",flexWrap:"wrap",alignItems:"flex-start",children:l.slice(0,c).map((h,R)=>t.jsxRuntimeExports.jsx(f.Tag,{...h},R))})})]})};exports.AggregationItemCard=N;
|
2
2
|
//# sourceMappingURL=index.cjs134.js.map
|
package/dist/index.cjs134.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs134.js","sources":["../src/components/ui/AggregationItemCard/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { ComponentType, ReactNode, MouseEvent } from \"react\";\r\nimport { Col } from \"../Col\";\r\nimport { Row } from \"../Row\";\r\nimport { File } from \"@/icons\";\r\nimport \"./AggregationItemCard.scss\";\r\nimport { Tag, TagProps } from \"../Tags\";\r\n\r\ntype Image = {\r\n alt: string;\r\n src: string;\r\n title: string;\r\n};\r\n\r\ntype
|
1
|
+
{"version":3,"file":"index.cjs134.js","sources":["../src/components/ui/AggregationItemCard/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { ComponentType, ReactNode, MouseEvent } from \"react\";\r\nimport { Col } from \"../Col\";\r\nimport { Row } from \"../Row\";\r\nimport { File } from \"@/icons\";\r\nimport \"./AggregationItemCard.scss\";\r\nimport { Tag, TagProps } from \"../Tags\";\r\nimport { HeadingLevel } from \"@/types\";\r\n\r\ntype Image = {\r\n alt: string;\r\n src: string;\r\n title: string;\r\n};\r\n\r\ntype AggregationItemCardProps = {\r\n category?: {\r\n type: string;\r\n published_at: string;\r\n };\r\n tags?: Array<TagProps>;\r\n totalTags?: number;\r\n image?: Image;\r\n title: string;\r\n titleTag?: HeadingLevel;\r\n href?: string;\r\n description?: string | ReactNode;\r\n description2?: string;\r\n isExternal?: boolean;\r\n asImage?: \"img\";\r\n asLink?: \"a\" | ComponentType<any>;\r\n className?: string;\r\n classNameTitle?: string;\r\n handleOnClick?: (e: MouseEvent<HTMLAnchorElement>) => void;\r\n};\r\n\r\nexport const AggregationItemCard = ({\r\n category,\r\n tags = [],\r\n totalTags = 2,\r\n image,\r\n title,\r\n titleTag: TitleTag = \"h1\",\r\n href,\r\n isExternal = false,\r\n asImage = \"img\",\r\n className,\r\n handleOnClick,\r\n}: AggregationItemCardProps) => {\r\n const ImageComponent = asImage;\r\n return (\r\n <div\r\n className={clsx(\r\n \"ui-aggregation-item-card shadow br-x4 bg-white\",\r\n className,\r\n handleOnClick && \"cursor-pointer\",\r\n )}\r\n >\r\n <div className=\"category-header text-muted\">\r\n <Row gap=\"x4\" alignItems=\"center\" className=\"p-x0 m-x0\">\r\n {category && (\r\n <File\r\n fillColor={image?.src ? \"#fff\" : \"#5C6F82\"}\r\n width={30}\r\n height={30}\r\n />\r\n )}\r\n {category?.type ?? \" \"}\r\n </Row>\r\n <p className=\"date text-muted \">{category?.published_at ?? \" \"}</p>\r\n </div>\r\n\r\n {image?.src && (\r\n <header className=\"image\">\r\n <ImageComponent\r\n src={image?.src}\r\n alt={image?.alt}\r\n title={image?.title}\r\n />\r\n <div className=\"backdrop\"></div>\r\n </header>\r\n )}\r\n <Col className=\"content-container gap-x16\">\r\n <Row alignItems={\"center\"} justifyContent={\"space-between\"} gap={\"x4\"}>\r\n <a\r\n className=\"text-decoration-none\"\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 <TitleTag\r\n className={clsx(\r\n \"title\",\r\n \"cursor-pointer hover-underline\",\r\n \"text-primary fs-5 md-fs-custom-2\",\r\n )}\r\n >\r\n {title}\r\n </TitleTag>\r\n </a>\r\n </Row>\r\n </Col>\r\n <Col className=\"content-container gap-x16\">\r\n <Row\r\n className=\"topics-container\"\r\n gap=\"x16\"\r\n flexWrap=\"wrap\"\r\n alignItems=\"flex-start\"\r\n >\r\n {tags.slice(0, totalTags).map((topic, index) => (\r\n <Tag key={index} {...topic} />\r\n ))}\r\n </Row>\r\n </Col>\r\n </div>\r\n );\r\n};\r\n"],"names":["AggregationItemCard","category","tags","totalTags","image","title","TitleTag","href","isExternal","asImage","className","handleOnClick","ImageComponent","jsxs","clsx","Row","jsx","File","Col","topic","index","Tag"],"mappings":"gTAoCaA,EAAsB,CAAC,CAClC,SAAAC,EACA,KAAAC,EAAO,CAAC,EACR,UAAAC,EAAY,EACZ,MAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,KAAAC,EACA,WAAAC,EAAa,GACb,QAAAC,EAAU,MACV,UAAAC,EACA,cAAAC,CACF,IAAgC,CAC9B,MAAMC,EAAiBH,EAErB,OAAAI,EAAA,kBAAA,KAAC,MAAA,CACC,UAAWC,EAAA,KACT,iDACAJ,EACAC,GAAiB,gBACnB,EAEA,SAAA,CAACE,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,6BACb,SAAA,CAAAA,yBAACE,EAAAA,KAAI,IAAI,KAAK,WAAW,SAAS,UAAU,YACzC,SAAA,CACCd,GAAAe,EAAA,kBAAA,IAACC,EAAA,KAAA,CACC,UAAWb,GAAA,MAAAA,EAAO,IAAM,OAAS,UACjC,MAAO,GACP,OAAQ,EAAA,CACV,GAEDH,GAAA,YAAAA,EAAU,OAAQ,GAAA,EACrB,0BACC,IAAE,CAAA,UAAU,mBAAoB,UAAAA,GAAA,YAAAA,EAAU,eAAgB,GAAI,CAAA,CAAA,EACjE,GAECG,GAAA,YAAAA,EAAO,MACLS,yBAAA,SAAA,CAAO,UAAU,QAChB,SAAA,CAAAG,EAAA,kBAAA,IAACJ,EAAA,CACC,IAAKR,GAAA,YAAAA,EAAO,IACZ,IAAKA,GAAA,YAAAA,EAAO,IACZ,MAAOA,GAAA,YAAAA,EAAO,KAAA,CAChB,EACAY,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,UAAW,CAAA,CAAA,EAC5B,EAEFA,EAAA,kBAAA,IAACE,EAAI,IAAA,CAAA,UAAU,4BACb,SAAAF,EAAAA,kBAAAA,IAACD,EAAI,IAAA,CAAA,WAAY,SAAU,eAAgB,gBAAiB,IAAK,KAC/D,SAAAC,EAAA,kBAAA,IAAC,IAAA,CACC,UAAU,uBACV,KAAAT,EACA,OAAQC,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAC1C,QAASG,GAAiB,OAE1B,SAAAK,EAAA,kBAAA,IAACV,EAAA,CACC,UAAWQ,EAAA,KACT,QACA,iCACA,kCACF,EAEC,SAAAT,CAAA,CAAA,CACH,GAEJ,CACF,CAAA,EACAW,EAAAA,kBAAAA,IAACE,EAAAA,IAAI,CAAA,UAAU,4BACb,SAAAF,EAAA,kBAAA,IAACD,EAAA,IAAA,CACC,UAAU,mBACV,IAAI,MACJ,SAAS,OACT,WAAW,aAEV,SAAKb,EAAA,MAAM,EAAGC,CAAS,EAAE,IAAI,CAACgB,EAAOC,IACnCJ,EAAA,kBAAA,IAAAK,EAAA,IAAA,CAAiB,GAAGF,CAAA,EAAXC,CAAkB,CAC7B,CAAA,CAAA,CAEL,CAAA,CAAA,CAAA,CACF,CAEJ"}
|
package/dist/index.cjs142.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/SuggestedServices/SuggestedServices.css');const e=require("./index.cjs243.js"),n=require("./index.cjs54.js"),a=require("./index.cjs244.js");;/* empty css */const d=require("./index.cjs34.js"),j=require("./index.cjs10.js"),g=require("./index.cjs42.js"),p=({title:i,description:c,goToLabel:t,href:o,asLink:l="a",items:r,className:x})=>e.jsxRuntimeExports.jsxs(n.Section,{className:a.clsx("base-col ui-suggested-services-section",x),children:[e.jsxRuntimeExports.jsxs(j.Col,{className:"ui-suggested-services-sectirron-content",children:[e.jsxRuntimeExports.jsxs("div",{className:"ui-suggested-services-section-title",children:[e.jsxRuntimeExports.jsx(n.Section.Description,{color:"slate-14",className:"fw-regular fs-3",children:i}),t&&o&&e.jsxRuntimeExports.jsx(g.ArrowLink,{href:o,asLink:l,fs:"7",children:t.toUpperCase()})]}),c&&e.jsxRuntimeExports.jsx(n.Section.Description,{children:c})]}),e.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${i}`,className:"list-style-none ui-suggested-services-layout",children:r==null?void 0:r.map((s,u)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(d.CardService,{title:s==null?void 0:s.name,href:(s==null?void 0:s.link)||(s==null?void 0:s.externalLink),iconType:u===1?"icon2":u===2?"icon3":"icon1",titleTag:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/SuggestedServices/SuggestedServices.css');const e=require("./index.cjs243.js"),n=require("./index.cjs54.js"),a=require("./index.cjs244.js");;/* empty css */const d=require("./index.cjs34.js"),j=require("./index.cjs10.js"),g=require("./index.cjs42.js"),p=({title:i,description:c,goToLabel:t,href:o,asLink:l="a",items:r,className:x})=>e.jsxRuntimeExports.jsxs(n.Section,{className:a.clsx("base-col ui-suggested-services-section",x),children:[e.jsxRuntimeExports.jsxs(j.Col,{className:"ui-suggested-services-sectirron-content",children:[e.jsxRuntimeExports.jsxs("div",{className:"ui-suggested-services-section-title",children:[e.jsxRuntimeExports.jsx(n.Section.Description,{color:"slate-14",className:"fw-regular fs-3",children:i}),t&&o&&e.jsxRuntimeExports.jsx(g.ArrowLink,{href:o,asLink:l,fs:"7",children:t.toUpperCase()})]}),c&&e.jsxRuntimeExports.jsx(n.Section.Description,{children:c})]}),e.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${i}`,className:"list-style-none ui-suggested-services-layout",children:r==null?void 0:r.map((s,u)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(d.CardService,{title:s==null?void 0:s.name,href:(s==null?void 0:s.link)||(s==null?void 0:s.externalLink),iconType:u===1?"icon2":u===2?"icon3":"icon1",titleTag:"h1",asLink:l},s._id)},s._id))})]});exports.SuggestedServices=p;
|
2
2
|
//# sourceMappingURL=index.cjs142.js.map
|
package/dist/index.cjs142.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs142.js","sources":["../src/sections/SuggestedServices/index.tsx"],"sourcesContent":["import { Section } from \"@/components/ui/Section\";\r\nimport { ArrowLink, CardService, Col } from \"@/components\";\r\nimport clsx from \"clsx\";\r\nimport \"./SuggestedServices.scss\";\r\nimport { ComponentType, ReactNode } from \"react\";\r\n\r\nexport type SuggestedServicesProps = {\r\n title: ReactNode;\r\n description?: ReactNode;\r\n goToLabel?: string;\r\n href?: string;\r\n asLink?: \"a\" | ComponentType<any>;\r\n items: any[];\r\n className?: string;\r\n};\r\n\r\nexport const SuggestedServices = ({\r\n title,\r\n description,\r\n goToLabel,\r\n href,\r\n asLink = \"a\",\r\n items,\r\n className,\r\n}: SuggestedServicesProps) => {\r\n return (\r\n <Section\r\n className={clsx(\"base-col ui-suggested-services-section\", className)}\r\n >\r\n <Col className=\"ui-suggested-services-sectirron-content\">\r\n <div className=\"ui-suggested-services-section-title\">\r\n <Section.Description color={\"slate-14\"} className={\"fw-regular fs-3\"}>\r\n {title}\r\n </Section.Description>\r\n {goToLabel && href && (\r\n <ArrowLink href={href} asLink={asLink} fs=\"7\">\r\n {goToLabel.toUpperCase()}\r\n </ArrowLink>\r\n )}\r\n </div>\r\n {description && (\r\n <Section.Description>{description}</Section.Description>\r\n )}\r\n </Col>\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`list-style-none ui-suggested-services-layout`}\r\n >\r\n {items?.map((item, index) => {\r\n return (\r\n <li key={item._id}>\r\n <CardService\r\n key={item._id}\r\n title={item?.name}\r\n href={item?.link || item?.externalLink}\r\n iconType={\r\n index === 1 ? \"icon2\" : index === 2 ? \"icon3\" : \"icon1\"\r\n }\r\n titleTag={\"
|
1
|
+
{"version":3,"file":"index.cjs142.js","sources":["../src/sections/SuggestedServices/index.tsx"],"sourcesContent":["import { Section } from \"@/components/ui/Section\";\r\nimport { ArrowLink, CardService, Col } from \"@/components\";\r\nimport clsx from \"clsx\";\r\nimport \"./SuggestedServices.scss\";\r\nimport { ComponentType, ReactNode } from \"react\";\r\n\r\nexport type SuggestedServicesProps = {\r\n title: ReactNode;\r\n description?: ReactNode;\r\n goToLabel?: string;\r\n href?: string;\r\n asLink?: \"a\" | ComponentType<any>;\r\n items: any[];\r\n className?: string;\r\n};\r\n\r\nexport const SuggestedServices = ({\r\n title,\r\n description,\r\n goToLabel,\r\n href,\r\n asLink = \"a\",\r\n items,\r\n className,\r\n}: SuggestedServicesProps) => {\r\n return (\r\n <Section\r\n className={clsx(\"base-col ui-suggested-services-section\", className)}\r\n >\r\n <Col className=\"ui-suggested-services-sectirron-content\">\r\n <div className=\"ui-suggested-services-section-title\">\r\n <Section.Description color={\"slate-14\"} className={\"fw-regular fs-3\"}>\r\n {title}\r\n </Section.Description>\r\n {goToLabel && href && (\r\n <ArrowLink href={href} asLink={asLink} fs=\"7\">\r\n {goToLabel.toUpperCase()}\r\n </ArrowLink>\r\n )}\r\n </div>\r\n {description && (\r\n <Section.Description>{description}</Section.Description>\r\n )}\r\n </Col>\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`list-style-none ui-suggested-services-layout`}\r\n >\r\n {items?.map((item, index) => {\r\n return (\r\n <li key={item._id}>\r\n <CardService\r\n key={item._id}\r\n title={item?.name}\r\n href={item?.link || item?.externalLink}\r\n iconType={\r\n index === 1 ? \"icon2\" : index === 2 ? \"icon3\" : \"icon1\"\r\n }\r\n titleTag={\"h1\"}\r\n asLink={asLink}\r\n />\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n </Section>\r\n );\r\n};\r\n"],"names":["SuggestedServices","title","description","goToLabel","href","asLink","items","className","jsxs","Section","clsx","Col","jsx","ArrowLink","item","index","CardService"],"mappings":"+SAgBaA,EAAoB,CAAC,CAChC,MAAAC,EACA,YAAAC,EACA,UAAAC,EACA,KAAAC,EACA,OAAAC,EAAS,IACT,MAAAC,EACA,UAAAC,CACF,IAEIC,EAAA,kBAAA,KAACC,EAAA,QAAA,CACC,UAAWC,EAAAA,KAAK,yCAA0CH,CAAS,EAEnE,SAAA,CAACC,EAAAA,kBAAAA,KAAAG,EAAAA,IAAA,CAAI,UAAU,0CACb,SAAA,CAACH,EAAAA,kBAAAA,KAAA,MAAA,CAAI,UAAU,sCACb,SAAA,CAAAI,wBAACH,EAAAA,QAAQ,YAAR,CAAoB,MAAO,WAAY,UAAW,kBAChD,SACHR,EAAA,EACCE,GAAaC,GACZQ,wBAACC,EAAAA,UAAU,CAAA,KAAAT,EAAY,OAAAC,EAAgB,GAAG,IACvC,SAAUF,EAAA,YAAA,CACb,CAAA,CAAA,EAEJ,EACCD,GACCU,EAAA,kBAAA,IAACH,EAAQ,QAAA,YAAR,CAAqB,SAAYP,CAAA,CAAA,CAAA,EAEtC,EACAU,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,YAAYX,CAAK,GAC7B,UAAW,+CAEV,SAAOK,GAAA,YAAAA,EAAA,IAAI,CAACQ,EAAMC,4BAEd,KACC,CAAA,SAAAH,EAAA,kBAAA,IAACI,EAAA,YAAA,CAEC,MAAOF,GAAA,YAAAA,EAAM,KACb,MAAMA,GAAA,YAAAA,EAAM,QAAQA,GAAA,YAAAA,EAAM,cAC1B,SACEC,IAAU,EAAI,QAAUA,IAAU,EAAI,QAAU,QAElD,SAAU,KACV,OAAAV,CAAA,EAPKS,EAAK,GAAA,CAQZ,EAVOA,EAAK,GAWd,EAEH,CAAA,CACH,CAAA,CACF"}
|
package/dist/index.cjs143.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Documents/Documents.css');const e=require("./index.cjs243.js");;/* empty css */const l=require("./index.cjs101.js"),n=require("./index.cjs54.js"),a=({title:t,description:r,items:i=[],colorTitle:o="primary",fontSizeTitle:c="2"})=>e.jsxRuntimeExports.jsxs(n.Section,{className:"ui-document-section",children:[e.jsxRuntimeExports.jsx("div",{className:"ui-document-items-section-title",children:e.jsxRuntimeExports.jsx(n.Section.Title,{fs:c,mdFs:"2",as:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Documents/Documents.css');const e=require("./index.cjs243.js");;/* empty css */const l=require("./index.cjs101.js"),n=require("./index.cjs54.js"),a=({title:t,description:r,items:i=[],colorTitle:o="primary",fontSizeTitle:c="2"})=>e.jsxRuntimeExports.jsxs(n.Section,{className:"ui-document-section",children:[e.jsxRuntimeExports.jsx("div",{className:"ui-document-items-section-title",children:e.jsxRuntimeExports.jsx(n.Section.Title,{fs:c,mdFs:"2",as:"h1",color:o,children:t})}),r&&e.jsxRuntimeExports.jsx(n.Section.Description,{className:"ui-document-section-description mb-x40",children:r}),e.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${t}`,className:"list-style-none ui-document-items-layout",children:i==null?void 0:i.map((s,u)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(l.CardFile,{action:s==null?void 0:s.action,issued_at:s.issued_at,title:s.title,file:s.file,description:s.description,asLink:s.asLink})},u))})]});exports.Documents=a;
|
2
2
|
//# sourceMappingURL=index.cjs143.js.map
|
package/dist/index.cjs143.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs143.js","sources":["../src/sections/Documents/index.tsx"],"sourcesContent":["import { CardFile, CardFileProps, Section } from \"@/components\";\r\nimport \"./Documents.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { ReactNode } from \"react\";\r\n\r\ntype Props = {\r\n title?: string;\r\n description?: string | ReactNode;\r\n items: CardFileProps[];\r\n colorTitle?: ColorKeys;\r\n fontSizeTitle?: TypographyKeys;\r\n};\r\n\r\nexport const Documents = ({\r\n title,\r\n description,\r\n items = [],\r\n colorTitle = \"primary\",\r\n fontSizeTitle = \"2\",\r\n}: Props) => {\r\n return (\r\n <Section className=\"ui-document-section\">\r\n <div className=\"ui-document-items-section-title\">\r\n <Section.Title\r\n fs={fontSizeTitle}\r\n mdFs={\"2\"}\r\n as={\"
|
1
|
+
{"version":3,"file":"index.cjs143.js","sources":["../src/sections/Documents/index.tsx"],"sourcesContent":["import { CardFile, CardFileProps, Section } from \"@/components\";\r\nimport \"./Documents.scss\";\r\nimport { TypographyKeys } from \"@theme/typography.ts\";\r\nimport { ColorKeys } from \"@theme/colors.ts\";\r\nimport { ReactNode } from \"react\";\r\n\r\ntype Props = {\r\n title?: string;\r\n description?: string | ReactNode;\r\n items: CardFileProps[];\r\n colorTitle?: ColorKeys;\r\n fontSizeTitle?: TypographyKeys;\r\n};\r\n\r\nexport const Documents = ({\r\n title,\r\n description,\r\n items = [],\r\n colorTitle = \"primary\",\r\n fontSizeTitle = \"2\",\r\n}: Props) => {\r\n return (\r\n <Section className=\"ui-document-section\">\r\n <div className=\"ui-document-items-section-title\">\r\n <Section.Title\r\n fs={fontSizeTitle}\r\n mdFs={\"2\"}\r\n as={\"h1\"}\r\n color={colorTitle}\r\n >\r\n {title}\r\n </Section.Title>\r\n </div>\r\n {description && (\r\n <Section.Description className=\"ui-document-section-description mb-x40\">\r\n {description}\r\n </Section.Description>\r\n )}\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`list-style-none ui-document-items-layout`}\r\n >\r\n {items?.map((item, index) => {\r\n return (\r\n <li key={index}>\r\n <CardFile\r\n action={item?.action}\r\n issued_at={item.issued_at}\r\n title={item.title}\r\n file={item.file}\r\n description={item.description}\r\n asLink={item.asLink}\r\n />\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n </Section>\r\n );\r\n};\r\n"],"names":["Documents","title","description","items","colorTitle","fontSizeTitle","jsxs","Section","jsx","item","index","CardFile"],"mappings":"qNAcaA,EAAY,CAAC,CACxB,MAAAC,EACA,YAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,WAAAC,EAAa,UACb,cAAAC,EAAgB,GAClB,IAEIC,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,sBACjB,SAAA,CAACC,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAU,kCACb,SAAAA,EAAA,kBAAA,IAACD,EAAAA,QAAQ,MAAR,CACC,GAAIF,EACJ,KAAM,IACN,GAAI,KACJ,MAAOD,EAEN,SAAAH,CAAA,CAAA,EAEL,EACCC,GACEM,EAAAA,kBAAAA,IAAAD,EAAAA,QAAQ,YAAR,CAAoB,UAAU,yCAC5B,SACHL,EAAA,EAEFM,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,YAAYP,CAAK,GAC7B,UAAW,2CAEV,SAAOE,GAAA,YAAAA,EAAA,IAAI,CAACM,EAAMC,4BAEd,KACC,CAAA,SAAAF,EAAA,kBAAA,IAACG,EAAA,SAAA,CACC,OAAQF,GAAA,YAAAA,EAAM,OACd,UAAWA,EAAK,UAChB,MAAOA,EAAK,MACZ,KAAMA,EAAK,KACX,YAAaA,EAAK,YAClB,OAAQA,EAAK,MAAA,IAPRC,CAST,EAEH,CAAA,CACH,EACF"}
|
package/dist/index.cjs144.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Tags/Tags.css');const s=require("./index.cjs243.js");;/* empty css */const r=require("./index.cjs107.js"),e=require("./index.cjs54.js"),o=({title:t,items:i=[]})=>s.jsxRuntimeExports.jsxs(e.Section,{className:"ui-tags-section",children:[s.jsxRuntimeExports.jsx(e.Section.Title,{fs:"6",mdFs:"6",as:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Tags/Tags.css');const s=require("./index.cjs243.js");;/* empty css */const r=require("./index.cjs107.js"),e=require("./index.cjs54.js"),o=({title:t,items:i=[]})=>s.jsxRuntimeExports.jsxs(e.Section,{className:"ui-tags-section",children:[s.jsxRuntimeExports.jsx(e.Section.Title,{fs:"6",mdFs:"6",as:"h1",color:"slate-28",className:"ui-tags-items-section-title",children:t}),s.jsxRuntimeExports.jsx(r.TagsGroup,{topics:i})]});exports.Tags=o;
|
2
2
|
//# sourceMappingURL=index.cjs144.js.map
|
package/dist/index.cjs144.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs144.js","sources":["../src/sections/Tags/index.tsx"],"sourcesContent":["import { Section, TagsGroup } from \"@/components\";\r\nimport \"./Tags.scss\";\r\n\r\ntype Props = {\r\n title: string;\r\n items: any[];\r\n};\r\n\r\nexport const Tags = ({ title, items = [] }: Props) => {\r\n return (\r\n <Section className=\"ui-tags-section\">\r\n <Section.Title\r\n fs={\"6\"}\r\n mdFs={\"6\"}\r\n as={\"
|
1
|
+
{"version":3,"file":"index.cjs144.js","sources":["../src/sections/Tags/index.tsx"],"sourcesContent":["import { Section, TagsGroup } from \"@/components\";\r\nimport \"./Tags.scss\";\r\n\r\ntype Props = {\r\n title: string;\r\n items: any[];\r\n};\r\n\r\nexport const Tags = ({ title, items = [] }: Props) => {\r\n return (\r\n <Section className=\"ui-tags-section\">\r\n <Section.Title\r\n fs={\"6\"}\r\n mdFs={\"6\"}\r\n as={\"h1\"}\r\n color={\"slate-28\"}\r\n className=\"ui-tags-items-section-title\"\r\n >\r\n {title}\r\n </Section.Title>\r\n <TagsGroup topics={items} />\r\n </Section>\r\n );\r\n};\r\n"],"names":["Tags","title","items","jsxs","Section","jsx","TagsGroup"],"mappings":"qNAQaA,EAAO,CAAC,CAAE,MAAAC,EAAO,MAAAC,EAAQ,MAElCC,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,kBACjB,SAAA,CAAAC,EAAA,kBAAA,IAACD,EAAAA,QAAQ,MAAR,CACC,GAAI,IACJ,KAAM,IACN,GAAI,KACJ,MAAO,WACP,UAAU,8BAET,SAAAH,CAAA,CACH,EACAI,EAAAA,kBAAAA,IAACC,EAAU,UAAA,CAAA,OAAQJ,CAAO,CAAA,CAAA,EAC5B"}
|
package/dist/index.cjs146.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Insights/Insights.css');const s=require("./index.cjs243.js");;/* empty css */const u=require("./index.cjs120.js"),t=require("./index.cjs54.js"),c=({title:e,items:i=[],colorTitle:n="slate-20",showBackgroundRectangle:r=!0})=>s.jsxRuntimeExports.jsxs(t.Section,{className:"ui-insights-section",children:[r&&s.jsxRuntimeExports.jsx("div",{className:"ui-insights-background-rectangle"}),s.jsxRuntimeExports.jsx("div",{className:"ui-insights-items-section-title",children:s.jsxRuntimeExports.jsx(t.Section.Title,{className:"ui-insights-items-section-title",as:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Insights/Insights.css');const s=require("./index.cjs243.js");;/* empty css */const u=require("./index.cjs120.js"),t=require("./index.cjs54.js"),c=({title:e,items:i=[],colorTitle:n="slate-20",showBackgroundRectangle:r=!0})=>s.jsxRuntimeExports.jsxs(t.Section,{className:"ui-insights-section",children:[r&&s.jsxRuntimeExports.jsx("div",{className:"ui-insights-background-rectangle"}),s.jsxRuntimeExports.jsx("div",{className:"ui-insights-items-section-title",children:s.jsxRuntimeExports.jsx(t.Section.Title,{className:"ui-insights-items-section-title",as:"h1",color:n,children:e})}),s.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${e}`,className:"list-style-none ui-insights-items-layout",children:i==null?void 0:i.map((l,o)=>s.jsxRuntimeExports.jsx("li",{children:s.jsxRuntimeExports.jsx(u.CardPreview,{...l})},o))})]});exports.Insights=c;
|
2
2
|
//# sourceMappingURL=index.cjs146.js.map
|
package/dist/index.cjs146.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs146.js","sources":["../src/sections/Insights/index.tsx"],"sourcesContent":["import { CardPreviewProps, CardPreview, Section } from \"@/components\";\r\nimport { ColorKeys } from \"@/theme/colors\";\r\nimport \"./Insights.scss\";\r\n\r\ntype Props = {\r\n title: string;\r\n items: CardPreviewProps[];\r\n colorTitle?: ColorKeys;\r\n showBackgroundRectangle?: boolean;\r\n};\r\n\r\nexport const Insights = ({\r\n title,\r\n items = [],\r\n colorTitle = \"slate-20\",\r\n showBackgroundRectangle = true,\r\n}: Props) => {\r\n return (\r\n <Section className=\"ui-insights-section\">\r\n {showBackgroundRectangle && (\r\n <div className=\"ui-insights-background-rectangle\"></div>\r\n )}\r\n <div className=\"ui-insights-items-section-title\">\r\n <Section.Title\r\n className=\"ui-insights-items-section-title\"\r\n as={\"
|
1
|
+
{"version":3,"file":"index.cjs146.js","sources":["../src/sections/Insights/index.tsx"],"sourcesContent":["import { CardPreviewProps, CardPreview, Section } from \"@/components\";\r\nimport { ColorKeys } from \"@/theme/colors\";\r\nimport \"./Insights.scss\";\r\n\r\ntype Props = {\r\n title: string;\r\n items: CardPreviewProps[];\r\n colorTitle?: ColorKeys;\r\n showBackgroundRectangle?: boolean;\r\n};\r\n\r\nexport const Insights = ({\r\n title,\r\n items = [],\r\n colorTitle = \"slate-20\",\r\n showBackgroundRectangle = true,\r\n}: Props) => {\r\n return (\r\n <Section className=\"ui-insights-section\">\r\n {showBackgroundRectangle && (\r\n <div className=\"ui-insights-background-rectangle\"></div>\r\n )}\r\n <div className=\"ui-insights-items-section-title\">\r\n <Section.Title\r\n className=\"ui-insights-items-section-title\"\r\n as={\"h1\"}\r\n color={colorTitle}\r\n >\r\n {title}\r\n </Section.Title>\r\n </div>\r\n <ul\r\n role=\"list\"\r\n aria-label={`Lista di ${title}`}\r\n className={`list-style-none ui-insights-items-layout`}\r\n >\r\n {items?.map((item, index) => {\r\n return (\r\n <li key={index}>\r\n <CardPreview {...item} />\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n </Section>\r\n );\r\n};\r\n"],"names":["Insights","title","items","colorTitle","showBackgroundRectangle","jsxs","Section","jsx","item","index","CardPreview"],"mappings":"qNAWaA,EAAW,CAAC,CACvB,MAAAC,EACA,MAAAC,EAAQ,CAAC,EACT,WAAAC,EAAa,WACb,wBAAAC,EAA0B,EAC5B,IAEIC,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,sBAChB,SAAA,CACCF,GAAAG,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,kCAAmC,CAAA,EAEpDA,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAU,kCACb,SAAAA,EAAA,kBAAA,IAACD,EAAAA,QAAQ,MAAR,CACC,UAAU,kCACV,GAAI,KACJ,MAAOH,EAEN,SAAAF,CAAA,CAAA,EAEL,EACAM,EAAA,kBAAA,IAAC,KAAA,CACC,KAAK,OACL,aAAY,YAAYN,CAAK,GAC7B,UAAW,2CAEV,SAAOC,GAAA,YAAAA,EAAA,IAAI,CAACM,EAAMC,4BAEd,KACC,CAAA,SAAAF,EAAA,kBAAA,IAACG,eAAa,GAAGF,CAAA,CAAM,GADhBC,CAET,EAEH,CAAA,CACH,EACF"}
|
package/dist/index.cjs149.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableCard/TableCard.css');const e=require("./index.cjs243.js");;/* empty css */const u=require("react"),d=require("./index.cjs442.js"),m=require("./index.cjs11.js"),j=require("./index.cjs7.js"),p=require("./index.cjs8.js"),x=require("./index.cjs54.js"),h=require("./index.cjs10.js"),b=require("./index.cjs9.js"),R=require("./index.cjs101.js"),q=({title:c,headerTitle:a,data:r=[]})=>{const[i,l]=u.useState(""),n=d.useDebouncedValue(i.trim().toLowerCase(),300),o=u.useMemo(()=>n?r.filter(s=>[s.title,s.description].some(t=>t==null?void 0:t.toLowerCase().includes(n))):r,[n,r]);return e.jsxRuntimeExports.jsxs(x.Section,{className:"table-card",children:[e.jsxRuntimeExports.jsx(x.Section.Title,{mdFs:"2",fs:"3",color:"blue-48",as:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/TableCard/TableCard.css');const e=require("./index.cjs243.js");;/* empty css */const u=require("react"),d=require("./index.cjs442.js"),m=require("./index.cjs11.js"),j=require("./index.cjs7.js"),p=require("./index.cjs8.js"),x=require("./index.cjs54.js"),h=require("./index.cjs10.js"),b=require("./index.cjs9.js"),R=require("./index.cjs101.js"),q=({title:c,headerTitle:a,data:r=[]})=>{const[i,l]=u.useState(""),n=d.useDebouncedValue(i.trim().toLowerCase(),300),o=u.useMemo(()=>n?r.filter(s=>[s.title,s.description].some(t=>t==null?void 0:t.toLowerCase().includes(n))):r,[n,r]);return e.jsxRuntimeExports.jsxs(x.Section,{className:"table-card",children:[e.jsxRuntimeExports.jsx(x.Section.Title,{mdFs:"2",fs:"3",color:"blue-48",as:"h1",className:"table-card-section-title",children:c}),e.jsxRuntimeExports.jsxs(h.Col,{children:[e.jsxRuntimeExports.jsxs(b.Row,{alignItems:"flex-start",className:"header-row",justifyContent:"space-between",flexWrap:"wrap",children:[e.jsxRuntimeExports.jsxs("h3",{className:"update-title",children:[a," ",e.jsxRuntimeExports.jsxs("span",{children:["(",o.length,")"]})]}),e.jsxRuntimeExports.jsx(m.Search,{variant:"outlined",btnText:"",helperText:"",value:i,onChangeValue:l})]}),e.jsxRuntimeExports.jsx(j.GridContainer,{gap:"x24",mt:"x32",px:"x12",children:o.map((s,t)=>e.jsxRuntimeExports.jsx(p.GridItem,{sm:6,md:4,children:e.jsxRuntimeExports.jsx(R.CardFile,{...s})},`table-card-${t}`))})]})]})};exports.TableCard=q;
|
2
2
|
//# sourceMappingURL=index.cjs149.js.map
|
package/dist/index.cjs149.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs149.js","sources":["../src/sections/TableCard/index.tsx"],"sourcesContent":["import {\r\n CardFile,\r\n Col,\r\n GridContainer,\r\n GridItem,\r\n Row,\r\n Search,\r\n Section,\r\n} from \"@/components\";\r\nimport \"./TableCard.scss\";\r\nimport { useMemo, useState } from \"react\";\r\nimport { useDebouncedValue } from \"@/utils/useDebouncedValue\";\r\nimport { CardFileProps } from \"@/components/ui/CardFile\";\r\n\r\ntype Props = {\r\n title: string;\r\n headerTitle: string;\r\n data?: CardFileProps[];\r\n};\r\n\r\nexport const TableCard = ({ title, headerTitle, data = [] }: Props) => {\r\n const [query, setQuery] = useState(\"\");\r\n const debouncedQuery = useDebouncedValue(query.trim().toLowerCase(), 300);\r\n\r\n const filtered = useMemo(() => {\r\n if (!debouncedQuery) return data;\r\n return data.filter((u) =>\r\n [\r\n u.title,\r\n u.description,\r\n ].some((field) => \r\n field?.toLowerCase().includes(debouncedQuery)\r\n ),\r\n );\r\n }, [debouncedQuery, data]);\r\n\r\n return (\r\n <Section className=\"table-card\">\r\n <Section.Title mdFs=\"2\" fs=\"3\" color=\"blue-48\" as=\"
|
1
|
+
{"version":3,"file":"index.cjs149.js","sources":["../src/sections/TableCard/index.tsx"],"sourcesContent":["import {\r\n CardFile,\r\n Col,\r\n GridContainer,\r\n GridItem,\r\n Row,\r\n Search,\r\n Section,\r\n} from \"@/components\";\r\nimport \"./TableCard.scss\";\r\nimport { useMemo, useState } from \"react\";\r\nimport { useDebouncedValue } from \"@/utils/useDebouncedValue\";\r\nimport { CardFileProps } from \"@/components/ui/CardFile\";\r\n\r\ntype Props = {\r\n title: string;\r\n headerTitle: string;\r\n data?: CardFileProps[];\r\n};\r\n\r\nexport const TableCard = ({ title, headerTitle, data = [] }: Props) => {\r\n const [query, setQuery] = useState(\"\");\r\n const debouncedQuery = useDebouncedValue(query.trim().toLowerCase(), 300);\r\n\r\n const filtered = useMemo(() => {\r\n if (!debouncedQuery) return data;\r\n return data.filter((u) =>\r\n [\r\n u.title,\r\n u.description,\r\n ].some((field) => \r\n field?.toLowerCase().includes(debouncedQuery)\r\n ),\r\n );\r\n }, [debouncedQuery, data]);\r\n\r\n return (\r\n <Section className=\"table-card\">\r\n <Section.Title mdFs=\"2\" fs=\"3\" color=\"blue-48\" as=\"h1\" className=\"table-card-section-title\">\r\n {title}\r\n </Section.Title>\r\n <Col>\r\n <Row\r\n alignItems=\"flex-start\"\r\n className=\"header-row\"\r\n justifyContent=\"space-between\"\r\n flexWrap=\"wrap\"\r\n >\r\n <h3 className=\"update-title\">\r\n {headerTitle} <span>({filtered.length})</span>\r\n </h3>\r\n <Search\r\n variant=\"outlined\"\r\n btnText=\"\"\r\n helperText=\"\"\r\n value={query}\r\n onChangeValue={setQuery}\r\n />\r\n </Row>\r\n <GridContainer gap=\"x24\" mt=\"x32\" px=\"x12\">\r\n {filtered.map((el, index) => (\r\n <GridItem key={`table-card-${index}`} sm={6} md={4}>\r\n <CardFile {...el} />\r\n </GridItem>\r\n ))}\r\n </GridContainer>\r\n </Col>\r\n </Section>\r\n );\r\n};\r\n"],"names":["TableCard","title","headerTitle","data","query","setQuery","useState","debouncedQuery","useDebouncedValue","filtered","useMemo","u","field","jsxs","Section","jsx","Col","Row","Search","GridContainer","el","index","GridItem","CardFile"],"mappings":"0ZAoBaA,EAAY,CAAC,CAAE,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAO,MAAgB,CACrE,KAAM,CAACC,EAAOC,CAAQ,EAAIC,EAAAA,SAAS,EAAE,EAC/BC,EAAiBC,EAAAA,kBAAkBJ,EAAM,OAAO,cAAe,GAAG,EAElEK,EAAWC,EAAAA,QAAQ,IAClBH,EACEJ,EAAK,OAAQQ,GAClB,CACEA,EAAE,MACFA,EAAE,WAAA,EACF,KAAMC,GACNA,GAAA,YAAAA,EAAO,cAAc,SAASL,EAAc,CAEhD,EAR4BJ,EAS3B,CAACI,EAAgBJ,CAAI,CAAC,EAGvB,OAAAU,EAAA,kBAAA,KAACC,EAAQ,QAAA,CAAA,UAAU,aACjB,SAAA,CAAAC,EAAA,kBAAA,IAACD,EAAQ,QAAA,MAAR,CAAc,KAAK,IAAI,GAAG,IAAI,MAAM,UAAU,GAAG,KAAK,UAAU,2BAC9D,SACHb,EAAA,2BACCe,EAAAA,IACC,CAAA,SAAA,CAAAH,EAAA,kBAAA,KAACI,EAAA,IAAA,CACC,WAAW,aACX,UAAU,aACV,eAAe,gBACf,SAAS,OAET,SAAA,CAACJ,EAAAA,kBAAAA,KAAA,KAAA,CAAG,UAAU,eACX,SAAA,CAAAX,EAAY,6BAAE,OAAK,CAAA,SAAA,CAAA,IAAEO,EAAS,OAAO,GAAA,CAAC,CAAA,CAAA,EACzC,EACAM,EAAA,kBAAA,IAACG,EAAA,OAAA,CACC,QAAQ,WACR,QAAQ,GACR,WAAW,GACX,MAAOd,EACP,cAAeC,CAAA,CAAA,CACjB,CAAA,CACF,EACCU,EAAA,kBAAA,IAAAI,EAAA,cAAA,CAAc,IAAI,MAAM,GAAG,MAAM,GAAG,MAClC,SAASV,EAAA,IAAI,CAACW,EAAIC,IACjBN,wBAACO,EAAAA,SAAqC,CAAA,GAAI,EAAG,GAAI,EAC/C,SAAAP,EAAA,kBAAA,IAACQ,EAAU,SAAA,CAAA,GAAGH,CAAI,CAAA,CAAA,EADL,cAAcC,CAAK,EAElC,CACD,CACH,CAAA,CAAA,CACF,CAAA,CAAA,EACF,CAEJ"}
|
package/dist/index.cjs186.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),c=require("./index.cjs244.js"),n=require("./index.cjs247.js"),u=({width:s=32,height:r=32,className:
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),c=require("./index.cjs244.js"),n=require("./index.cjs247.js"),u=({width:s=32,height:r=32,className:a,color:t,decorative:l=!1,ariaLabel:i="Hide"})=>{const o=n.createColorClasses({color:t});return e.jsxRuntimeExports.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:r,fill:"currentColor",viewBox:"0 0 32 32",className:c.clsx(a,o),"aria-hidden":l,"aria-label":l?void 0:i,children:[e.jsxRuntimeExports.jsx("circle",{cx:"16",cy:"16",r:"16",fill:"#EBECED"}),e.jsxRuntimeExports.jsx("path",{fill:"#2F475E",fillRule:"evenodd",d:"m12.5 24.3 6.1-16.9.9.3-6.1 16.9zM7.1 16a9.8 9.8 0 0 1 8.9-5.5h.4l.4-.9H16a10.9 10.9 0 0 0-9.8 6L6 16l.2.5a11 11 0 0 0 6.1 5.3l.3-.9A9.8 9.8 0 0 1 7.1 16M19 16a3.2 3.2 0 0 0-.7-1.9l.4-1.1a4.2 4.2 0 0 1 1.3 3 4 4 0 0 1-3.9 4l.4-1.1A2.9 2.9 0 0 0 19 16m.7-5.8a11 11 0 0 1 6.1 5.3l.2.5-.2.4a10.9 10.9 0 0 1-9.8 6h-.8l.4-.9h.4a9.8 9.8 0 0 0 8.9-5.5 9.8 9.8 0 0 0-5.5-4.9zm-4.2 2.9.4-1.1a4 4 0 0 0-3.9 4 4.2 4.2 0 0 0 1.3 3l.4-1.1A3.2 3.2 0 0 1 13 16a2.9 2.9 0 0 1 2.5-2.9",clipRule:"evenodd"})]})};exports.Obscured=u;
|
2
2
|
//# sourceMappingURL=index.cjs186.js.map
|
package/dist/index.cjs186.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs186.js","sources":["../src/icons/Obscured/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Obscured = ({\n width = 32,\n height = 32,\n className,\n color,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs186.js","sources":["../src/icons/Obscured/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Obscured = ({\n width = 32,\n height = 32,\n className,\n color,\n decorative = false,\n ariaLabel = \"Hide\",\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 32 32\"\n className={clsx(className, classes)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <circle cx=\"16\" cy=\"16\" r=\"16\" fill=\"#EBECED\"></circle>\n <path\n fill=\"#2F475E\"\n fillRule=\"evenodd\"\n d=\"m12.5 24.3 6.1-16.9.9.3-6.1 16.9zM7.1 16a9.8 9.8 0 0 1 8.9-5.5h.4l.4-.9H16a10.9 10.9 0 0 0-9.8 6L6 16l.2.5a11 11 0 0 0 6.1 5.3l.3-.9A9.8 9.8 0 0 1 7.1 16M19 16a3.2 3.2 0 0 0-.7-1.9l.4-1.1a4.2 4.2 0 0 1 1.3 3 4 4 0 0 1-3.9 4l.4-1.1A2.9 2.9 0 0 0 19 16m.7-5.8a11 11 0 0 1 6.1 5.3l.2.5-.2.4a10.9 10.9 0 0 1-9.8 6h-.8l.4-.9h.4a9.8 9.8 0 0 0 8.9-5.5 9.8 9.8 0 0 0-5.5-4.9zm-4.2 2.9.4-1.1a4 4 0 0 0-3.9 4 4.2 4.2 0 0 0 1.3 3l.4-1.1A3.2 3.2 0 0 1 13 16a2.9 2.9 0 0 1 2.5-2.9\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["Obscured","width","height","className","color","decorative","ariaLabel","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAW,CAAC,CACvB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,MACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAJ,EAAO,EAG1C,OAAAK,EAAA,kBAAA,KAAC,MAAA,CACC,MAAM,6BACN,MAAAR,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWQ,EAAAA,KAAKP,EAAWI,CAAO,EAClC,cAAaF,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAA,CAACK,EAAAA,kBAAAA,IAAA,SAAA,CAAO,GAAG,KAAK,GAAG,KAAK,EAAE,KAAK,KAAK,SAAU,CAAA,EAC9CA,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,UACL,SAAS,UACT,EAAE,sdACF,SAAS,SAAA,CAAA,CACV,CAAA,CACH,CAEJ"}
|
package/dist/index.cjs187.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs243.js"),n=require("./index.cjs244.js"),c=require("./index.cjs247.js"),u=({width:l=24,height:r=24,className:i,color:o,decorative:e=!
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs243.js"),n=require("./index.cjs244.js"),c=require("./index.cjs247.js"),u=({width:l=24,height:r=24,className:i,color:o,decorative:e=!1,ariaLabel:t="Show"})=>{const a=c.createColorClasses({color:o});return s.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:r,fill:"currentColor",viewBox:"0 0 24 24",className:n.clsx(i,a),"aria-hidden":e,"aria-label":e?void 0:t,children:s.jsxRuntimeExports.jsx("path",{fill:"#06C",fillRule:"evenodd",d:"M12 5.496a11 11 0 0 1 9.8 6.004l.2.5-.2.5a11 11 0 0 1-19.6 0L2 12l.2-.5A11 11 0 0 1 12 5.496M3.1 12a9.8 9.8 0 0 0 8.9 5.5 9.8 9.8 0 0 0 8.9-5.5A9.8 9.8 0 0 0 12 6.5 9.8 9.8 0 0 0 3.1 12M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8m-3 4a3 3 0 0 0 3 3 2.9 2.9 0 0 0 3-3 3 3 0 1 0-6 0",clipRule:"evenodd"})})};exports.Visible=u;
|
2
2
|
//# sourceMappingURL=index.cjs187.js.map
|
package/dist/index.cjs187.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs187.js","sources":["../src/icons/Visible/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Visible = ({\n width = 24,\n height = 24,\n className,\n color,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs187.js","sources":["../src/icons/Visible/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const Visible = ({\n width = 24,\n height = 24,\n className,\n color,\n decorative = false,\n ariaLabel = \"Show\",\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n className={clsx(className, classes)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fill=\"#06C\"\n fillRule=\"evenodd\"\n d=\"M12 5.496a11 11 0 0 1 9.8 6.004l.2.5-.2.5a11 11 0 0 1-19.6 0L2 12l.2-.5A11 11 0 0 1 12 5.496M3.1 12a9.8 9.8 0 0 0 8.9 5.5 9.8 9.8 0 0 0 8.9-5.5A9.8 9.8 0 0 0 12 6.5 9.8 9.8 0 0 0 3.1 12M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8m-3 4a3 3 0 0 0 3 3 2.9 2.9 0 0 0 3-3 3 3 0 1 0-6 0\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["Visible","width","height","className","color","decorative","ariaLabel","classes","createColorClasses","jsx","clsx"],"mappings":"mLAIaA,EAAU,CAAC,CACtB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,UAAAC,EAAY,MACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAJ,EAAO,EAG1C,OAAAK,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAR,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWQ,EAAAA,KAAKP,EAAWI,CAAO,EAClC,cAAaF,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAG,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,gRACF,SAAS,SAAA,CAAA,CACV,CACH,CAEJ"}
|
package/dist/index.cjs205.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs243.js"),n=require("./index.cjs244.js"),c=require("./index.cjs247.js"),u=({width:s=24,height:r=24,className:o,color:
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs243.js"),n=require("./index.cjs244.js"),c=require("./index.cjs247.js"),u=({width:s=24,height:r=24,className:o,color:a="primary",decorative:e=!1,ariaLabel:i="Copy link"})=>{const t=c.createColorClasses({color:a});return l.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:r,fill:"currentColor",viewBox:"0 0 24 24",className:n.clsx(o,t),"aria-hidden":e,"aria-label":e?void 0:i,children:l.jsxRuntimeExports.jsx("path",{fill:"#06C",fillRule:"evenodd",d:"m12.7 12.7.7.7a3.6 3.6 0 0 0 1.2-2.8 3.6 3.6 0 0 0-1.2-2.8L9.9 4.2a4.2 4.2 0 0 0-5.7 0 4.2 4.2 0 0 0 0 5.7l2.9 2.8.7-.7-2.9-2.8a3.2 3.2 0 0 1 0-4.3 3.2 3.2 0 0 1 4.3 0l3.5 3.6a2.7 2.7 0 0 1 .9 2.1 2.9 2.9 0 0 1-.9 2.1m7.1 1.4a4.2 4.2 0 0 1 0 5.7 3.9 3.9 0 0 1-2.9 1.1 3.8 3.8 0 0 1-2.8-1.1l-3.5-3.6a3.6 3.6 0 0 1-1.2-2.8 3.6 3.6 0 0 1 1.2-2.8l.7.7a2.9 2.9 0 0 0-.9 2.1 2.7 2.7 0 0 0 .9 2.1l3.5 3.6a3.2 3.2 0 0 0 4.3 0 3.2 3.2 0 0 0 0-4.3L16.2 12l.7-.7z",clipRule:"evenodd"})})};exports.CopyLink=u;
|
2
2
|
//# sourceMappingURL=index.cjs205.js.map
|
package/dist/index.cjs205.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs205.js","sources":["../src/icons/CopyLink/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const CopyLink = ({\n width = 24,\n height = 24,\n className,\n color = \"primary\",\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs205.js","sources":["../src/icons/CopyLink/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const CopyLink = ({\n width = 24,\n height = 24,\n className,\n color = \"primary\",\n decorative = false,\n ariaLabel = \"Copy link\",\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n className={clsx(className, classes)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fill=\"#06C\"\n fillRule=\"evenodd\"\n d=\"m12.7 12.7.7.7a3.6 3.6 0 0 0 1.2-2.8 3.6 3.6 0 0 0-1.2-2.8L9.9 4.2a4.2 4.2 0 0 0-5.7 0 4.2 4.2 0 0 0 0 5.7l2.9 2.8.7-.7-2.9-2.8a3.2 3.2 0 0 1 0-4.3 3.2 3.2 0 0 1 4.3 0l3.5 3.6a2.7 2.7 0 0 1 .9 2.1 2.9 2.9 0 0 1-.9 2.1m7.1 1.4a4.2 4.2 0 0 1 0 5.7 3.9 3.9 0 0 1-2.9 1.1 3.8 3.8 0 0 1-2.8-1.1l-3.5-3.6a3.6 3.6 0 0 1-1.2-2.8 3.6 3.6 0 0 1 1.2-2.8l.7.7a2.9 2.9 0 0 0-.9 2.1 2.7 2.7 0 0 0 .9 2.1l3.5 3.6a3.2 3.2 0 0 0 4.3 0 3.2 3.2 0 0 0 0-4.3L16.2 12l.7-.7z\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["CopyLink","width","height","className","color","decorative","ariaLabel","classes","createColorClasses","jsx","clsx"],"mappings":"mLAIaA,EAAW,CAAC,CACvB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EAAQ,UACR,WAAAC,EAAa,GACb,UAAAC,EAAY,WACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAJ,EAAO,EAG1C,OAAAK,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAR,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWQ,EAAAA,KAAKP,EAAWI,CAAO,EAClC,cAAaF,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAG,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,ucACF,SAAS,SAAA,CAAA,CACV,CACH,CAEJ"}
|
package/dist/index.cjs206.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("./index.cjs243.js"),n=require("./index.cjs244.js"),c=require("./index.cjs247.js"),u=({width:s=24,height:r=24,className:a,color:i="primary",decorative:e=!1,ariaLabel:o="Share link"})=>{const t=c.createColorClasses({color:i});return l.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:r,fill:"currentColor",viewBox:"0 0 24 24",className:n.clsx(a,t),"aria-hidden":e,"aria-label":e?void 0:o,children:l.jsxRuntimeExports.jsx("path",{fill:"#06C",fillRule:"evenodd",d:"M15.5 16a2.5 2.5 0 1 1-.5 1.5 1.3 1.3 0 0 1 .1-.6l-7.6-3.4a2.5 2.5 0 1 1 0-3l7.6-3.4a1.3 1.3 0 0 1-.1-.6 2.5 2.5 0 1 1 .5 1.5l-7.6 3.4c.08.19.115.395.1.6a1.3 1.3 0 0 1-.1.6zM19 6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m-13.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m10.5 4a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0",clipRule:"evenodd"})})};exports.ShareLink=u;
|
2
2
|
//# sourceMappingURL=index.cjs206.js.map
|
package/dist/index.cjs206.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs206.js","sources":["../src/icons/ShareLink/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const ShareLink = ({\n width = 24,\n height = 24,\n className,\n color = \"primary\",\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs206.js","sources":["../src/icons/ShareLink/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { IconProps } from \"@/types/icons\";\nimport { createColorClasses } from \"@/theme/colors\";\n\nexport const ShareLink = ({\n width = 24,\n height = 24,\n className,\n color = \"primary\",\n decorative = false,\n ariaLabel = \"Share link\",\n}: IconProps) => {\n const classes = createColorClasses({ color });\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n className={clsx(className, classes)}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fill=\"#06C\"\n fillRule=\"evenodd\"\n d=\"M15.5 16a2.5 2.5 0 1 1-.5 1.5 1.3 1.3 0 0 1 .1-.6l-7.6-3.4a2.5 2.5 0 1 1 0-3l7.6-3.4a1.3 1.3 0 0 1-.1-.6 2.5 2.5 0 1 1 .5 1.5l-7.6 3.4c.08.19.115.395.1.6a1.3 1.3 0 0 1-.1.6zM19 6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0m-13.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m10.5 4a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0\"\n clipRule=\"evenodd\"\n ></path>\n </svg>\n );\n};\n"],"names":["ShareLink","width","height","className","color","decorative","ariaLabel","classes","createColorClasses","jsx","clsx"],"mappings":"mLAIaA,EAAY,CAAC,CACxB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,EAAQ,UACR,WAAAC,EAAa,GACb,UAAAC,EAAY,YACd,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAJ,EAAO,EAG1C,OAAAK,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAR,EACA,OAAAC,EACA,KAAK,eACL,QAAQ,YACR,UAAWQ,EAAAA,KAAKP,EAAWI,CAAO,EAClC,cAAaF,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAG,EAAA,kBAAA,IAAC,OAAA,CACC,KAAK,OACL,SAAS,UACT,EAAE,kTACF,SAAS,SAAA,CAAA,CACV,CACH,CAEJ"}
|
package/dist/index.cjs215.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 i=require("./index.cjs243.js"),n=({className:t,height:l=20,width:r=20,decorative:e=!1,ariaLabel:s="Email"})=>i.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:l,viewBox:"0 0 14 12",fill:"none",className:t,"aria-hidden":e,"aria-label":e?void 0:s,children:i.jsxRuntimeExports.jsx("path",{d:"M1.73334 11.3333C1.34834 11.3333 1.01875 11.1962 0.744586 10.9221C0.470419 10.6479 0.333336 10.3183 0.333336 9.93332V2.06666C0.333336 1.68166 0.470419 1.35207 0.744586 1.07791C1.01875 0.80374 1.34834 0.666656 1.73334 0.666656H12.2667C12.6517 0.666656 12.9813 0.80374 13.2554 1.07791C13.5296 1.35207 13.6667 1.68166 13.6667 2.06666V9.93332C13.6667 10.3183 13.5296 10.6479 13.2554 10.9221C12.9813 11.1962 12.6517 11.3333 12.2667 11.3333H1.73334ZM12.2667 3.46666L7.3653 6.51771C7.31066 6.55034 7.25278 6.57777 7.19167 6.59999C7.13056 6.62221 7.06667 6.63332 7 6.63332C6.93334 6.63332 6.86945 6.6236 6.80834 6.60416C6.74723 6.58471 6.68889 6.55555 6.63334 6.51666L1.73334 3.46666V9.93332H12.2667V3.46666ZM7 5.36666L12.3 2.06666H1.71667L7 5.36666ZM1.73334 3.46666V3.63079V2.62082V2.63332V2.62846V3.63332V3.46666Z",fill:"currentColor"})});exports.Email=n;
|
2
2
|
//# sourceMappingURL=index.cjs215.js.map
|
package/dist/index.cjs215.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs215.js","sources":["../src/icons/Email/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Email = ({\n className,\n height = 20,\n width = 20,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs215.js","sources":["../src/icons/Email/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Email = ({\n className,\n height = 20,\n width = 20,\n decorative = false,\n ariaLabel = \"Email\",\n}: IconProps) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n viewBox=\"0 0 14 12\"\n fill=\"none\"\n className={className}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n d=\"M1.73334 11.3333C1.34834 11.3333 1.01875 11.1962 0.744586 10.9221C0.470419 10.6479 0.333336 10.3183 0.333336 9.93332V2.06666C0.333336 1.68166 0.470419 1.35207 0.744586 1.07791C1.01875 0.80374 1.34834 0.666656 1.73334 0.666656H12.2667C12.6517 0.666656 12.9813 0.80374 13.2554 1.07791C13.5296 1.35207 13.6667 1.68166 13.6667 2.06666V9.93332C13.6667 10.3183 13.5296 10.6479 13.2554 10.9221C12.9813 11.1962 12.6517 11.3333 12.2667 11.3333H1.73334ZM12.2667 3.46666L7.3653 6.51771C7.31066 6.55034 7.25278 6.57777 7.19167 6.59999C7.13056 6.62221 7.06667 6.63332 7 6.63332C6.93334 6.63332 6.86945 6.6236 6.80834 6.60416C6.74723 6.58471 6.68889 6.55555 6.63334 6.51666L1.73334 3.46666V9.93332H12.2667V3.46666ZM7 5.36666L12.3 2.06666H1.71667L7 5.36666ZM1.73334 3.46666V3.63079V2.62082V2.63332V2.62846V3.63332V3.46666Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["Email","className","height","width","decorative","ariaLabel","jsx"],"mappings":"qHAEaA,EAAQ,CAAC,CACpB,UAAAC,EACA,OAAAC,EAAS,GACT,MAAAC,EAAQ,GACR,WAAAC,EAAa,GACb,UAAAC,EAAY,OACd,IAEIC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAH,EACA,OAAAD,EACA,QAAQ,YACR,KAAK,OACL,UAAAD,EACA,cAAaG,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAC,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0yBACF,KAAK,cAAA,CAAA,CACP,CACF"}
|
package/dist/index.cjs216.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),r=({className:t,height:n=20,width:s=20,decorative:i=!1,ariaLabel:l="LinkedIn"})=>e.jsxRuntimeExports.jsxs("svg",{width:s,height:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-hidden":i,"aria-label":i?void 0:l,children:[e.jsxRuntimeExports.jsx("g",{id:"icon",clipPath:"url(#clip0_2888_1578)",children:e.jsxRuntimeExports.jsx("path",{id:"icon_2",fillRule:"evenodd",clipRule:"evenodd",d:"M0.378002 15.3334V5.34915H3.47744V15.3334H3.54104H0.378002ZM0.00494397 2.55028C0.00249769 2.51483 5.11822e-05 2.47817 5.11822e-05 2.44272C-0.00728766 1.46984 0.775522 0.675399 1.74914 0.668066C1.79807 0.668066 1.84699 0.669288 1.89592 0.672955C2.85975 0.592289 3.70739 1.30728 3.78812 2.26917C3.79179 2.30583 3.79301 2.3425 3.79423 2.37794C3.80157 3.35083 3.01876 4.14526 2.04514 4.1526C1.99499 4.15382 1.94607 4.1526 1.89592 4.14771C0.932084 4.22838 0.0856712 3.51338 0.00494397 2.55028ZM12.459 15.3334V10.1524C12.459 8.82512 11.889 7.87668 10.6879 7.87668C9.92339 7.88157 9.24332 8.35946 8.98035 9.0769C8.92286 9.34701 8.90084 9.62323 8.91674 9.89823V15.2699H5.43813C5.43813 15.2699 5.50174 6.10692 5.43813 5.28437H8.91674V6.86469C9.51975 5.74025 10.7441 5.09126 12.0137 5.22204C14.2276 5.22204 15.9975 6.67525 15.9975 9.77234L15.9999 15.3334H12.459Z",fill:"currentColor"})}),e.jsxRuntimeExports.jsx("defs",{children:e.jsxRuntimeExports.jsx("clipPath",{id:"clip0_2888_1578",children:e.jsxRuntimeExports.jsx("rect",{width:"15.9999",height:"14.6667",fill:"white",transform:"translate(0 0.666748)"})})})]});exports.Linkedin=r;
|
2
2
|
//# sourceMappingURL=index.cjs216.js.map
|
package/dist/index.cjs216.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs216.js","sources":["../src/icons/Linkedin/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Linkedin = ({\n className,\n height = 20,\n width = 20,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs216.js","sources":["../src/icons/Linkedin/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Linkedin = ({\n className,\n height = 20,\n width = 20,\n decorative = false,\n ariaLabel = \"LinkedIn\",\n}: IconProps) => {\n return (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <g id=\"icon\" clipPath=\"url(#clip0_2888_1578)\">\n <path\n id=\"icon_2\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0.378002 15.3334V5.34915H3.47744V15.3334H3.54104H0.378002ZM0.00494397 2.55028C0.00249769 2.51483 5.11822e-05 2.47817 5.11822e-05 2.44272C-0.00728766 1.46984 0.775522 0.675399 1.74914 0.668066C1.79807 0.668066 1.84699 0.669288 1.89592 0.672955C2.85975 0.592289 3.70739 1.30728 3.78812 2.26917C3.79179 2.30583 3.79301 2.3425 3.79423 2.37794C3.80157 3.35083 3.01876 4.14526 2.04514 4.1526C1.99499 4.15382 1.94607 4.1526 1.89592 4.14771C0.932084 4.22838 0.0856712 3.51338 0.00494397 2.55028ZM12.459 15.3334V10.1524C12.459 8.82512 11.889 7.87668 10.6879 7.87668C9.92339 7.88157 9.24332 8.35946 8.98035 9.0769C8.92286 9.34701 8.90084 9.62323 8.91674 9.89823V15.2699H5.43813C5.43813 15.2699 5.50174 6.10692 5.43813 5.28437H8.91674V6.86469C9.51975 5.74025 10.7441 5.09126 12.0137 5.22204C14.2276 5.22204 15.9975 6.67525 15.9975 9.77234L15.9999 15.3334H12.459Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_2888_1578\">\n <rect\n width=\"15.9999\"\n height=\"14.6667\"\n fill=\"white\"\n transform=\"translate(0 0.666748)\"\n />\n </clipPath>\n </defs>\n </svg>\n );\n};\n"],"names":["Linkedin","className","height","width","decorative","ariaLabel","jsxs","jsx"],"mappings":"qHAEaA,EAAW,CAAC,CACvB,UAAAC,EACA,OAAAC,EAAS,GACT,MAAAC,EAAQ,GACR,WAAAC,EAAa,GACb,UAAAC,EAAY,UACd,IAEIC,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAH,EACA,OAAAD,EACA,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,UAAAD,EACA,cAAaG,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAA,CAAAE,EAAA,kBAAA,IAAC,IAAE,CAAA,GAAG,OAAO,SAAS,wBACpB,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,GAAG,SACH,SAAS,UACT,SAAS,UACT,EAAE,u1BACF,KAAK,cAAA,CAAA,EAET,EACCA,wBAAA,OAAA,CACC,SAACA,EAAA,kBAAA,IAAA,WAAA,CAAS,GAAG,kBACX,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,MAAM,UACN,OAAO,UACP,KAAK,QACL,UAAU,uBAAA,GAEd,CACF,CAAA,CAAA,CAAA,CACF"}
|
package/dist/index.cjs217.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),L=({className:r,height:i=20,width:
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs243.js"),L=({className:r,height:i=20,width:s=20,decorative:t=!1,ariaLabel:n="Twitter"})=>e.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:i,viewBox:"0 0 16 16",fill:"none",className:r,"aria-hidden":t,"aria-label":t?void 0:n,children:e.jsxRuntimeExports.jsx("path",{d:"M9.52217 6.77143L15.4785 0H14.0671L8.89516 5.87954L4.76437 0H0L6.24656 8.8909L0 15.9918H1.41155L6.87321 9.78279L11.2356 15.9918H16L9.52183 6.77143H9.52217ZM7.58887 8.96923L6.95596 8.0839L1.92015 1.03921H4.0882L8.15216 6.7245L8.78507 7.60983L14.0677 14.9998H11.8997L7.58887 8.96957V8.96923Z",fill:"currentColor"})});exports.Twitter=L;
|
2
2
|
//# sourceMappingURL=index.cjs217.js.map
|
package/dist/index.cjs217.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs217.js","sources":["../src/icons/Twitter/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Twitter = ({\n className,\n height = 20,\n width = 20,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs217.js","sources":["../src/icons/Twitter/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Twitter = ({\n className,\n height = 20,\n width = 20,\n decorative = false,\n ariaLabel = \"Twitter\",\n}: IconProps) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n className={className}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n d=\"M9.52217 6.77143L15.4785 0H14.0671L8.89516 5.87954L4.76437 0H0L6.24656 8.8909L0 15.9918H1.41155L6.87321 9.78279L11.2356 15.9918H16L9.52183 6.77143H9.52217ZM7.58887 8.96923L6.95596 8.0839L1.92015 1.03921H4.0882L8.15216 6.7245L8.78507 7.60983L14.0677 14.9998H11.8997L7.58887 8.96957V8.96923Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["Twitter","className","height","width","decorative","ariaLabel","jsx"],"mappings":"qHAEaA,EAAU,CAAC,CACtB,UAAAC,EACA,OAAAC,EAAS,GACT,MAAAC,EAAQ,GACR,WAAAC,EAAa,GACb,UAAAC,EAAY,SACd,IAEIC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAH,EACA,OAAAD,EACA,QAAQ,YACR,KAAK,OACL,UAAAD,EACA,cAAaG,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAC,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oSACF,KAAK,cAAA,CAAA,CACP,CACF"}
|
package/dist/index.cjs218.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs243.js"),o=({className:l,height:
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs243.js"),o=({className:l,height:i=20,width:n=20,decorative:e=!1,ariaLabel:r="Meta"})=>t.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 8 16",fill:"none",className:l,"aria-hidden":e,"aria-label":e?void 0:r,children:t.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.19741 8.64433H7.54644L7.89633 5.81939H5.20259V4.01937C5.20259 3.19624 5.40216 2.63357 6.54946 2.63357H8V0.116192C7.29676 0.0610801 6.59698 0.00952361 5.89633 0.00952361C4.06998 -0.130034 2.48035 1.28065 2.34471 3.1598C2.33175 3.3438 2.33261 3.52869 2.34816 3.7118V5.81939H0V8.64433H2.34903V16H5.19741V8.64433Z",fill:"currentColor"})});exports.Meta=o;
|
2
2
|
//# sourceMappingURL=index.cjs218.js.map
|
package/dist/index.cjs218.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs218.js","sources":["../src/icons/Meta/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Meta = ({\n className,\n height = 20,\n width = 20,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs218.js","sources":["../src/icons/Meta/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Meta = ({\n className,\n height = 20,\n width = 20,\n decorative = false,\n ariaLabel = \"Meta\",\n}: IconProps) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n viewBox=\"0 0 8 16\"\n fill=\"none\"\n className={className}\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5.19741 8.64433H7.54644L7.89633 5.81939H5.20259V4.01937C5.20259 3.19624 5.40216 2.63357 6.54946 2.63357H8V0.116192C7.29676 0.0610801 6.59698 0.00952361 5.89633 0.00952361C4.06998 -0.130034 2.48035 1.28065 2.34471 3.1598C2.33175 3.3438 2.33261 3.52869 2.34816 3.7118V5.81939H0V8.64433H2.34903V16H5.19741V8.64433Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["Meta","className","height","width","decorative","ariaLabel","jsx"],"mappings":"qHAEaA,EAAO,CAAC,CACnB,UAAAC,EACA,OAAAC,EAAS,GACT,MAAAC,EAAQ,GACR,WAAAC,EAAa,GACb,UAAAC,EAAY,MACd,IAEIC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAH,EACA,OAAAD,EACA,QAAQ,WACR,KAAK,OACL,UAAAD,EACA,cAAaG,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAC,EAAA,kBAAA,IAAC,OAAA,CACC,SAAS,UACT,SAAS,UACT,EAAE,2TACF,KAAK,cAAA,CAAA,CACP,CACF"}
|
package/dist/index.cjs219.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs243.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs243.js"),l=({className:a,height:e=20,width:r=20,decorative:t=!1,ariaLabel:i="WhatsApp"})=>s.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:e,fill:"currentColor",className:a,viewBox:"0 0 16 16","aria-hidden":t,"aria-label":t?void 0:i,children:s.jsxRuntimeExports.jsx("path",{d:"M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232"})});exports.Whatsapp=l;
|
2
2
|
//# sourceMappingURL=index.cjs219.js.map
|
package/dist/index.cjs219.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs219.js","sources":["../src/icons/Whatsapp/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Whatsapp = ({\n className,\n height = 20,\n width = 20,\n decorative =
|
1
|
+
{"version":3,"file":"index.cjs219.js","sources":["../src/icons/Whatsapp/index.tsx"],"sourcesContent":["import { IconProps } from \"@/types/icons\";\n\nexport const Whatsapp = ({\n className,\n height = 20,\n width = 20,\n decorative = false,\n ariaLabel = \"WhatsApp\",\n}: IconProps) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={width}\n height={height}\n fill=\"currentColor\"\n className={className}\n viewBox=\"0 0 16 16\"\n aria-hidden={decorative}\n aria-label={!decorative ? ariaLabel : undefined}\n >\n <path d=\"M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232\" />\n </svg>\n );\n};\n"],"names":["Whatsapp","className","height","width","decorative","ariaLabel","jsx"],"mappings":"qHAEaA,EAAW,CAAC,CACvB,UAAAC,EACA,OAAAC,EAAS,GACT,MAAAC,EAAQ,GACR,WAAAC,EAAa,GACb,UAAAC,EAAY,UACd,IAEIC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,6BACN,MAAAH,EACA,OAAAD,EACA,KAAK,eACL,UAAAD,EACA,QAAQ,YACR,cAAaG,EACb,aAAaA,EAAyB,OAAZC,EAE1B,SAAAC,EAAAA,kBAAAA,IAAC,OAAK,CAAA,EAAE,mhCAAohC,CAAA,CAAA,CAC9hC"}
|
package/dist/index.cjs288.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs479.js"),s=require("react"),p=()=>{const[o,t]=c.useCopyToClipboard(),[r,e]=s.useState(!1);return{isCopied:r,copiedText:o,copyToClipboard:()=>{if(typeof window>"u")return;const i=window.location.href;t(i).then(()=>{e(()=>!0),setTimeout(()=>{e(!1)},1500)}).catch(n=>{console.debug("Failed to copy!",n)})}}};exports.useCopyToClipboardCurrentPage=p;
|
2
2
|
//# sourceMappingURL=index.cjs288.js.map
|
package/dist/index.cjs295.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs455.js"),v=require("./index.cjs456.js"),M=require("./index.cjs457.js"),R=require("./index.cjs461.js"),B=require("./index.cjs458.js"),V=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs455.js"),v=require("./index.cjs456.js"),M=require("./index.cjs457.js"),R=require("./index.cjs461.js"),B=require("./index.cjs458.js"),V=require("./index.cjs469.js"),z=require("./index.cjs470.js"),K=require("./index.cjs471.js"),E=require("./index.cjs468.js"),x=require("./index.cjs459.js"),U=require("./index.cjs472.js"),Y=require("./index.cjs473.js"),Z=require("./index.cjs474.js"),J=require("./index.cjs475.js"),s=require("./index.cjs243.js");function Q(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=Q(H);var j="Dialog",[S,X]=M.createContextScope(j),[ee,u]=S(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:i,onChange:o});return s.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var w="DialogTrigger",P=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(w,n),o=v.useComposedRefs(t,i.triggerRef);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":A(i.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,i.onOpenToggle)})});P.displayName=w;var _="DialogPortal",[te,F]=S(_,{forceMount:void 0}),y=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=u(_,t);return s.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>s.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:s.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:i,children:c})}))})};y.displayName=_;var m="DialogOverlay",O=a.forwardRef((e,t)=>{const n=F(m,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(m,e.__scopeDialog);return o.modal?s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:s.jsxRuntimeExports.jsx(ne,{...i,ref:t})}):null});O.displayName=m;var oe=J.createSlot("DialogOverlay.RemoveScroll"),ne=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(m,n);return s.jsxRuntimeExports.jsx(Y,{as:oe,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":A(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",h=a.forwardRef((e,t)=>{const n=F(g,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(g,e.__scopeDialog);return s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?s.jsxRuntimeExports.jsx(re,{...i,ref:t}):s.jsxRuntimeExports.jsx(ie,{...i,ref:t})})});h.displayName=g;var re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),i=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),s.jsxRuntimeExports.jsx(q,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),ie=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),i=a.useRef(!1);return s.jsxRuntimeExports.jsx(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),q=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":A(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ae,{titleId:l.titleId}),s.jsxRuntimeExports.jsx(le,{contentRef:d,descriptionId:l.descriptionId})]})]})}),N="DialogTitle",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(N,n);return s.jsxRuntimeExports.jsx(x.Primitive.h2,{id:i.titleId,...r,ref:t})});b.displayName=N;var $="DialogDescription",I=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u($,n);return s.jsxRuntimeExports.jsx(x.Primitive.p,{id:i.descriptionId,...r,ref:t})});I.displayName=$;var W="DialogClose",T=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(W,n);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>i.onOpenChange(!1))})});T.displayName=W;function A(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=M.createContext(k,{contentName:g,titleName:N,docsSlug:"dialog"}),ae=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
4
4
|
|
package/dist/index.cjs30.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs30.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, ReactNode } 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
|
1
|
+
{"version":3,"file":"index.cjs30.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, ReactNode } from \"react\";\r\nimport { HeadingLevel } from \"@/types/headings\";\r\n\r\ntype Image = {\r\n alt: string;\r\n src: string;\r\n title: string;\r\n};\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 | ReactNode;\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 classNameDescriptionTitle?: 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 = \"h1\",\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 classNameDescriptionTitle,\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\r\n ? classNameTitle\r\n : \"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\r\n className={clsx(\r\n classNameDescriptionTitle\r\n ? classNameDescriptionTitle\r\n : \"fs-6 md-fs-custom text-slate-20\",\r\n )}\r\n >\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","classNameDescriptionTitle","handleOnClick","ImageComponent","LinkComponent","jsxs","clsx","jsx","Col","Row","ExternalLink","ArrowLink"],"mappings":"+SAiCaA,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,0BAAAC,EACA,cAAAC,CACF,IAAyB,CACvB,MAAMC,EAAiBN,EACjBO,EAAgBR,EAEpB,OAAAS,EAAA,kBAAA,KAACD,EAAA,CACC,UAAWE,EAAA,KACT,yCACAR,EACAI,GAAiB,gBACnB,EACA,KAAAZ,EACA,OAAQG,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OAC1C,QAASS,GAAiB,OAEzB,SAAA,EAAAf,GAAA,YAAAA,EAAO,MACNoB,wBAAC,SAAO,CAAA,UAAU,0BAChB,SAAAA,EAAA,kBAAA,IAACJ,EAAA,CACC,IAAKhB,GAAA,YAAAA,EAAO,IACZ,IAAKA,GAAA,YAAAA,EAAO,IACZ,MAAOA,GAAA,YAAAA,EAAO,KAAA,CAAA,EAElB,EAGFkB,EAAA,kBAAA,KAACG,EAAA,IAAA,CACC,UAAWF,EAAA,KACTnB,GAAA,MAAAA,EAAO,IACH,qDACA,2BACJ,uBACF,EAEA,SAAA,CAAAkB,yBAACI,EAAAA,KAAI,WAAY,SAAU,eAAgB,gBAAiB,IAAK,KAC/D,SAAA,CAAAJ,EAAA,kBAAA,KAAChB,EAAA,CACC,UAAWiB,EAAA,KACT,wCACAP,GAEI,kCACN,EAEC,SAAA,CAAAX,EACAK,GACCc,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAElC,iCAAA,CAAA,CAAA,CAAA,CAEJ,EAECb,2BACE,OACC,CAAA,SAAAa,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,KAAKN,CAAoB,EACvC,SAAA,CAAAO,EAAA,kBAAA,IAAC,IAAA,CACC,UAAWD,EAAA,KACTL,GAEI,iCACN,EAEC,SAAAV,CAAA,CACH,EACCgB,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHf,CAAA,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,EACCG,GAAaL,GACXiB,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,mCAChB,SAAAA,wBAACI,EAAAA,UAAU,CAAA,KAAMrB,GAAQ,IAAK,WAAAG,EAC3B,SAAWE,GAAA,YAAAA,EAAA,cACd,CACF,CAAA,CAAA,CAAA,CAEJ,CAEJ"}
|