@anoki/fse-ui 1.0.629 → 1.0.630
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs210.js +2 -0
- package/dist/index.cjs210.js.map +1 -0
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs331.js +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.cjs347.js +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs357.js +1 -27
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +2 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +27 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -2
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +2 -0
- package/dist/index.cjs369.js.map +1 -0
- package/dist/index.cjs373.js +2 -0
- package/dist/index.cjs373.js.map +1 -0
- package/dist/index.cjs374.js +2 -0
- package/dist/index.cjs374.js.map +1 -0
- package/dist/{index.cjs379.js → index.cjs375.js} +2 -2
- package/dist/{index.cjs379.js.map → index.cjs375.js.map} +1 -1
- package/dist/{index.cjs376.js → index.cjs388.js} +2 -2
- package/dist/{index.cjs376.js.map → index.cjs388.js.map} +1 -1
- package/dist/{index.cjs377.js → index.cjs389.js} +2 -2
- package/dist/{index.cjs377.js.map → index.cjs389.js.map} +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/{index.cjs381.js → index.cjs392.js} +1 -1
- package/dist/{index.cjs381.js.map → index.cjs392.js.map} +1 -1
- package/dist/{index.cjs382.js → index.cjs393.js} +1 -1
- package/dist/{index.cjs382.js.map → index.cjs393.js.map} +1 -1
- package/dist/{index.cjs383.js → index.cjs394.js} +2 -2
- package/dist/{index.cjs383.js.map → index.cjs394.js.map} +1 -1
- package/dist/{index.cjs397.js → index.cjs398.js} +1 -1
- package/dist/{index.cjs397.js.map → index.cjs398.js.map} +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +38 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -38
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.es.js +294 -293
- package/dist/index.es10.js +2 -2
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +1 -1
- package/dist/index.es124.js +1 -1
- package/dist/index.es125.js +1 -1
- package/dist/index.es126.js +1 -1
- package/dist/index.es127.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es129.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es133.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es137.js +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es207.js +2 -2
- package/dist/index.es209.js +2 -27
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +30 -0
- package/dist/index.es210.js.map +1 -0
- package/dist/index.es219.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es225.js +7 -7
- package/dist/index.es228.js +1 -1
- package/dist/index.es236.js +8 -8
- package/dist/index.es246.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es253.js +14 -14
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es280.js +7 -7
- package/dist/index.es318.js +4 -4
- package/dist/index.es331.js +8 -8
- package/dist/index.es34.js +69 -57
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es345.js +3 -3
- package/dist/index.es346.js +1 -1
- package/dist/index.es347.js +2 -2
- package/dist/index.es355.js +1 -1
- package/dist/index.es356.js +1 -1
- package/dist/index.es357.js +5 -3674
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +520 -5
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +3675 -2
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +5 -5
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +2 -521
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es363.js +5 -25
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +23 -64
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +65 -27
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +29 -32
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +31 -620
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +621 -10
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +14 -0
- package/dist/index.es369.js.map +1 -0
- package/dist/index.es373.js +9 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +28 -0
- package/dist/index.es374.js.map +1 -0
- package/dist/{index.es379.js → index.es375.js} +2 -2
- package/dist/{index.es379.js.map → index.es375.js.map} +1 -1
- package/dist/{index.es376.js → index.es388.js} +4 -4
- package/dist/{index.es376.js.map → index.es388.js.map} +1 -1
- package/dist/{index.es377.js → index.es389.js} +3 -3
- package/dist/{index.es377.js.map → index.es389.js.map} +1 -1
- package/dist/index.es390.js +14 -6
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +14 -24
- package/dist/index.es391.js.map +1 -1
- package/dist/{index.es381.js → index.es392.js} +1 -1
- package/dist/{index.es381.js.map → index.es392.js.map} +1 -1
- package/dist/{index.es382.js → index.es393.js} +1 -1
- package/dist/{index.es382.js.map → index.es393.js.map} +1 -1
- package/dist/{index.es383.js → index.es394.js} +2 -2
- package/dist/{index.es383.js.map → index.es394.js.map} +1 -1
- package/dist/{index.es397.js → index.es398.js} +1 -1
- package/dist/{index.es397.js.map → index.es398.js.map} +1 -1
- package/dist/index.es401.js +2 -2032
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +2 -60
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +2017 -174
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +60 -2
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +189 -2
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es407.js +3 -3
- package/dist/index.es409.js +4 -4
- package/dist/index.es410.js +6 -6
- package/dist/index.es413.js +1 -1
- package/dist/index.es414.js +8 -131
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +1 -1
- package/dist/index.es416.js +3 -9
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +131 -2
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es419.js +1 -1
- package/dist/index.es420.js +3 -3
- package/dist/index.es424.js +5 -83
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +4 -5
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +5 -4
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +9 -4
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +55 -9
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +7 -55
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +5 -7
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +532 -5
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +75 -525
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es434.js +1 -1
- package/dist/index.es436.js +4 -4
- package/dist/index.es446.js +54 -512
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +68 -126
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +8 -128
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +13 -64
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +61 -68
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +521 -7
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +126 -13
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +127 -60
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es57.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs211.js +0 -2
- package/dist/index.cjs211.js.map +0 -1
- package/dist/index.cjs362.js +0 -2
- package/dist/index.cjs362.js.map +0 -1
- package/dist/index.cjs378.js +0 -2
- package/dist/index.cjs378.js.map +0 -1
- package/dist/index.cjs380.js +0 -2
- package/dist/index.cjs380.js.map +0 -1
- package/dist/index.es211.js +0 -5
- package/dist/index.es211.js.map +0 -1
- package/dist/index.es362.js +0 -10
- package/dist/index.es362.js.map +0 -1
- package/dist/index.es378.js +0 -17
- package/dist/index.es378.js.map +0 -1
- package/dist/index.es380.js +0 -18
- package/dist/index.es380.js.map +0 -1
package/dist/index.es236.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as n from "react";
|
2
|
-
import { useComposedRefs as N } from "./index.
|
3
|
-
import { createContextScope as M } from "./index.
|
4
|
-
import { composeEventHandlers as S } from "./index.
|
5
|
-
import { useControllableState as O } from "./index.
|
6
|
-
import { usePrevious as A } from "./index.
|
7
|
-
import { useSize as B } from "./index.
|
8
|
-
import { Presence as H } from "./index.
|
9
|
-
import { Primitive as j } from "./index.
|
2
|
+
import { useComposedRefs as N } from "./index.es364.js";
|
3
|
+
import { createContextScope as M } from "./index.es365.js";
|
4
|
+
import { composeEventHandlers as S } from "./index.es363.js";
|
5
|
+
import { useControllableState as O } from "./index.es366.js";
|
6
|
+
import { usePrevious as A } from "./index.es373.js";
|
7
|
+
import { useSize as B } from "./index.es374.js";
|
8
|
+
import { Presence as H } from "./index.es375.js";
|
9
|
+
import { Primitive as j } from "./index.es367.js";
|
10
10
|
import { j as f } from "./index.es196.js";
|
11
11
|
var R = "Checkbox", [K, Y] = M(R), [L, q] = K(R), I = n.forwardRef(
|
12
12
|
(e, l) => {
|
package/dist/index.es246.js
CHANGED
package/dist/index.es25.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { j as t } from "./index.es196.js";
|
2
|
-
import { createColorClasses as I } from "./index.
|
2
|
+
import { createColorClasses as I } from "./index.es209.js";
|
3
3
|
import { clsx as N } from "./index.es198.js";
|
4
4
|
import './components/ui/Button/Button.css';/* empty css */
|
5
5
|
import { Spinner as l } from "./index.es160.js";
|
package/dist/index.es251.js
CHANGED
package/dist/index.es253.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
3
|
-
import { useComposedRefs as C } from "./index.
|
4
|
-
import { createContextScope as B, createContext as H } from "./index.
|
5
|
-
import { useId as x } from "./index.
|
6
|
-
import { useControllableState as V } from "./index.
|
7
|
-
import { DismissableLayer as q } from "./index.
|
8
|
-
import { FocusScope as K } from "./index.
|
9
|
-
import { Portal as U } from "./index.
|
10
|
-
import { Presence as R } from "./index.
|
11
|
-
import { Primitive as m } from "./index.
|
12
|
-
import { useFocusGuards as Y } from "./index.
|
13
|
-
import Z from "./index.
|
14
|
-
import { hideOthers as z } from "./index.
|
15
|
-
import { createSlot as J } from "./index.
|
2
|
+
import { composeEventHandlers as p } from "./index.es363.js";
|
3
|
+
import { useComposedRefs as C } from "./index.es364.js";
|
4
|
+
import { createContextScope as B, createContext as H } from "./index.es365.js";
|
5
|
+
import { useId as x } from "./index.es369.js";
|
6
|
+
import { useControllableState as V } from "./index.es366.js";
|
7
|
+
import { DismissableLayer as q } from "./index.es388.js";
|
8
|
+
import { FocusScope as K } from "./index.es389.js";
|
9
|
+
import { Portal as U } from "./index.es390.js";
|
10
|
+
import { Presence as R } from "./index.es375.js";
|
11
|
+
import { Primitive as m } from "./index.es367.js";
|
12
|
+
import { useFocusGuards as Y } from "./index.es391.js";
|
13
|
+
import Z from "./index.es392.js";
|
14
|
+
import { hideOthers as z } from "./index.es393.js";
|
15
|
+
import { createSlot as J } from "./index.es394.js";
|
16
16
|
import { j as i } from "./index.es196.js";
|
17
17
|
var _ = "Dialog", [N, he] = B(_), [Q, u] = N(_), P = (e) => {
|
18
18
|
const {
|
package/dist/index.es278.js
CHANGED
package/dist/index.es279.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { j as a } from "./index.es196.js";
|
2
2
|
import './components/ui/Section/Description/description.css';/* empty css */
|
3
|
-
import { createColorClasses as n } from "./index.
|
3
|
+
import { createColorClasses as n } from "./index.es209.js";
|
4
4
|
import { clsx as m } from "./index.es198.js";
|
5
5
|
const u = ({
|
6
6
|
fs: t = "6",
|
package/dist/index.es280.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import * as s from "react";
|
2
|
-
import { composeEventHandlers as T } from "./index.
|
3
|
-
import { useComposedRefs as _ } from "./index.
|
4
|
-
import { createContextScope as H } from "./index.
|
5
|
-
import { useControllableState as I } from "./index.
|
6
|
-
import { usePrevious as M } from "./index.
|
7
|
-
import { useSize as N } from "./index.
|
8
|
-
import { Primitive as w } from "./index.
|
2
|
+
import { composeEventHandlers as T } from "./index.es363.js";
|
3
|
+
import { useComposedRefs as _ } from "./index.es364.js";
|
4
|
+
import { createContextScope as H } from "./index.es365.js";
|
5
|
+
import { useControllableState as I } from "./index.es366.js";
|
6
|
+
import { usePrevious as M } from "./index.es373.js";
|
7
|
+
import { useSize as N } from "./index.es374.js";
|
8
|
+
import { Primitive as w } from "./index.es367.js";
|
9
9
|
import { j as p } from "./index.es196.js";
|
10
10
|
var S = "Switch", [B, J] = H(S), [q, z] = B(S), C = s.forwardRef(
|
11
11
|
(e, n) => {
|
package/dist/index.es318.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as l from "react";
|
2
|
-
import { createContextScope as T } from "./index.
|
3
|
-
import { useComposedRefs as A } from "./index.
|
2
|
+
import { createContextScope as T } from "./index.es365.js";
|
3
|
+
import { useComposedRefs as A } from "./index.es364.js";
|
4
4
|
import { createDialogScope as v, Root as O, Portal as j, Overlay as b, WarningProvider as w, Content as M, Title as I, Description as L, Close as f, Trigger as $ } from "./index.es253.js";
|
5
|
-
import { composeEventHandlers as F } from "./index.
|
6
|
-
import { createSlottable as G } from "./index.
|
5
|
+
import { composeEventHandlers as F } from "./index.es363.js";
|
6
|
+
import { createSlottable as G } from "./index.es394.js";
|
7
7
|
import { j as i } from "./index.es196.js";
|
8
8
|
var D = "AlertDialog", [W, te] = T(D, [
|
9
9
|
v
|
package/dist/index.es331.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as e from "react";
|
2
|
-
import l from "./index.
|
3
|
-
import { scrollAreaPropDefs as r } from "./index.
|
4
|
-
import { extractMarginProps as E } from "./index.
|
5
|
-
import { getMarginStyles as z } from "./index.
|
6
|
-
import { getResponsiveClassNames as i } from "./index.
|
7
|
-
import { getSubtree as C } from "./index.
|
8
|
-
import { mergeStyles as R } from "./index.
|
9
|
-
import { Root as V, Viewport as $, Scrollbar as m, Thumb as n, Corner as w } from "./index.
|
2
|
+
import l from "./index.es424.js";
|
3
|
+
import { scrollAreaPropDefs as r } from "./index.es425.js";
|
4
|
+
import { extractMarginProps as E } from "./index.es426.js";
|
5
|
+
import { getMarginStyles as z } from "./index.es427.js";
|
6
|
+
import { getResponsiveClassNames as i } from "./index.es428.js";
|
7
|
+
import { getSubtree as C } from "./index.es429.js";
|
8
|
+
import { mergeStyles as R } from "./index.es430.js";
|
9
|
+
import { Root as V, Viewport as $, Scrollbar as m, Thumb as n, Corner as w } from "./index.es431.js";
|
10
10
|
const D = e.forwardRef((p, u) => {
|
11
11
|
const { rest: d, ...f } = E(p), [S, N] = z(f), { asChild: t, children: A, className: b, style: h, type: s, scrollHideDelay: y = s !== "scroll" ? 0 : void 0, dir: P, size: o = r.size.default, radius: c = r.radius.default, scrollbars: a = r.scrollbars.default, ...v } = d;
|
12
12
|
return e.createElement(V, { type: s, scrollHideDelay: y, className: l("rt-ScrollAreaRoot", S, b), style: R(N, h), asChild: t }, C({ asChild: t, children: A }, (g) => e.createElement(e.Fragment, null, e.createElement($, { ...v, ref: u, className: "rt-ScrollAreaViewport" }, g), e.createElement("div", { className: "rt-ScrollAreaViewportFocusRing" }), a !== "vertical" ? e.createElement(m, { "data-radius": c, orientation: "horizontal", className: l("rt-ScrollAreaScrollbar", i({ className: "rt-r-size", value: o, propValues: r.size.values })) }, e.createElement(n, { className: "rt-ScrollAreaThumb" })) : null, a !== "horizontal" ? e.createElement(m, { "data-radius": c, orientation: "vertical", className: l("rt-ScrollAreaScrollbar", i({ className: "rt-r-size", value: o, propValues: r.size.values })) }, e.createElement(n, { className: "rt-ScrollAreaThumb" })) : null, a === "both" ? e.createElement(w, { className: "rt-ScrollAreaCorner" }) : null)));
|
package/dist/index.es34.js
CHANGED
@@ -1,48 +1,56 @@
|
|
1
1
|
import { j as i } from "./index.es196.js";
|
2
|
-
import { useMemo as
|
3
|
-
import { AuthorBlock as
|
2
|
+
import { useMemo as t } from "react";
|
3
|
+
import { AuthorBlock as L } from "./index.es94.js";
|
4
4
|
import './components/ui/AuthorWithImage/AuthorWithImage.css';/* empty css */
|
5
|
-
import { fromISODateToDateFormatted as
|
6
|
-
import { useCopyToClipboardCurrentPage as
|
7
|
-
import { useAlertDialog as
|
8
|
-
import { getFullNameInitials as
|
9
|
-
import { Row as
|
10
|
-
import { splitInTwo as
|
11
|
-
import { ActionIconText as
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import {
|
15
|
-
import {
|
5
|
+
import { fromISODateToDateFormatted as U } from "./index.es245.js";
|
6
|
+
import { useCopyToClipboardCurrentPage as k } from "./index.es246.js";
|
7
|
+
import { useAlertDialog as E } from "./index.es247.js";
|
8
|
+
import { getFullNameInitials as $ } from "./index.es248.js";
|
9
|
+
import { Row as M } from "./index.es9.js";
|
10
|
+
import { splitInTwo as F } from "./index.es249.js";
|
11
|
+
import { ActionIconText as p } from "./index.es60.js";
|
12
|
+
import { clsx as u } from "./index.es198.js";
|
13
|
+
import { ShareLink as R } from "./index.es170.js";
|
14
|
+
import { CopyLink as S } from "./index.es169.js";
|
15
|
+
import { Tags as P } from "./index.es120.js";
|
16
|
+
import { Col as H } from "./index.es10.js";
|
16
17
|
import { CardCategory as O } from "./index.es26.js";
|
17
|
-
const
|
18
|
+
const ne = {
|
19
|
+
AUTHENTICATED: "authenticated",
|
20
|
+
PUBLIC: "public"
|
21
|
+
}, oe = ({
|
18
22
|
data: e = {},
|
19
|
-
ImageComponent:
|
20
|
-
imageProps:
|
21
|
-
variant:
|
22
|
-
publishedLabel:
|
23
|
-
readingTimeLabel:
|
24
|
-
readingMinuteLabel:
|
25
|
-
tagsLabelTitle:
|
26
|
-
shareLabel:
|
27
|
-
copyLinkLabel:
|
28
|
-
copiedTextLabel:
|
29
|
-
isPreview:
|
23
|
+
ImageComponent: a = "img",
|
24
|
+
imageProps: v = {},
|
25
|
+
variant: g = "service",
|
26
|
+
publishedLabel: x = "Pubblicato",
|
27
|
+
readingTimeLabel: f = "Tempo di lettura",
|
28
|
+
readingMinuteLabel: T = "min",
|
29
|
+
tagsLabelTitle: h = "Argomenti trattati",
|
30
|
+
shareLabel: j = "Condividi",
|
31
|
+
copyLinkLabel: d = "Copia link",
|
32
|
+
copiedTextLabel: I = "Link copiato",
|
33
|
+
isPreview: s = !1,
|
34
|
+
modeAuthenticated: n = !1
|
30
35
|
}) => {
|
31
|
-
var
|
32
|
-
const { copyToClipboard: w, isCopied:
|
36
|
+
var m, l, c;
|
37
|
+
const { copyToClipboard: w, isCopied: N } = k(), { openAlert: C } = E(), b = t(() => e != null && e.updatedBy ? $(
|
33
38
|
e.updatedBy.name ?? "",
|
34
39
|
e.updatedBy.surname ?? ""
|
35
|
-
) : "-", [e.updatedBy]), [y,
|
40
|
+
) : "-", [e.updatedBy]), [y, o] = t(() => !e.previewImageTitle || e.previewImageTitle.trim() === "" ? [null, null] : e.previewImageTitle.trim().split(/\s+/).length >= 4 ? F(e.previewImageTitle.toUpperCase()) : [e.previewImageTitle.toUpperCase(), null], [e.previewImageTitle]), A = t(() => {
|
36
41
|
const r = e.readingTime ?? 0;
|
37
42
|
return Math.ceil(Number(r) / 60) || 0;
|
38
|
-
}, [e]),
|
43
|
+
}, [e]), B = () => {
|
39
44
|
if (!e.previewImageUrl) return null;
|
40
|
-
if (
|
41
|
-
const r = (
|
45
|
+
if (g === "event") {
|
46
|
+
const r = (D) => "eventTitle" in D;
|
42
47
|
return /* @__PURE__ */ i.jsxs(
|
43
48
|
"div",
|
44
49
|
{
|
45
|
-
className:
|
50
|
+
className: u(
|
51
|
+
s ? "event-preview" : "event-image-container",
|
52
|
+
n ? "margin-authenticated" : ""
|
53
|
+
),
|
46
54
|
children: [
|
47
55
|
/* @__PURE__ */ i.jsx(
|
48
56
|
"img",
|
@@ -61,7 +69,7 @@ const re = ({
|
|
61
69
|
alt: `Evento ${e.name}`
|
62
70
|
}
|
63
71
|
),
|
64
|
-
/* @__PURE__ */ i.jsx("div", { className: "event-card-container", children: /* @__PURE__ */ i.jsxs(
|
72
|
+
/* @__PURE__ */ i.jsx("div", { className: "event-card-container", children: /* @__PURE__ */ i.jsxs(H, { gap: "x32", children: [
|
65
73
|
/* @__PURE__ */ i.jsx(
|
66
74
|
O,
|
67
75
|
{
|
@@ -74,9 +82,9 @@ const re = ({
|
|
74
82
|
}
|
75
83
|
),
|
76
84
|
/* @__PURE__ */ i.jsx(
|
77
|
-
|
85
|
+
P,
|
78
86
|
{
|
79
|
-
title:
|
87
|
+
title: h,
|
80
88
|
items: r(e) ? e.tags ?? [] : []
|
81
89
|
}
|
82
90
|
)
|
@@ -89,20 +97,23 @@ const re = ({
|
|
89
97
|
return /* @__PURE__ */ i.jsxs(
|
90
98
|
"div",
|
91
99
|
{
|
92
|
-
className:
|
100
|
+
className: u(
|
101
|
+
s ? "service-detail-image" : "fullscreen-image-container",
|
102
|
+
n ? "margin-authenticated" : ""
|
103
|
+
),
|
93
104
|
children: [
|
94
105
|
/* @__PURE__ */ i.jsx(
|
95
|
-
|
106
|
+
a,
|
96
107
|
{
|
97
108
|
alt: `Service ${e.name} image`,
|
98
109
|
src: e.previewImageUrl,
|
99
110
|
style: { aspectRatio: 21 / 9 },
|
100
|
-
...
|
111
|
+
...v
|
101
112
|
}
|
102
113
|
),
|
103
114
|
e.previewImageTitle && e.previewImageTitle.trim() !== "" && /* @__PURE__ */ i.jsxs("p", { className: "short-title", children: [
|
104
115
|
/* @__PURE__ */ i.jsx("span", { children: y }),
|
105
|
-
|
116
|
+
o && /* @__PURE__ */ i.jsx("span", { children: o })
|
106
117
|
] })
|
107
118
|
]
|
108
119
|
}
|
@@ -111,42 +122,43 @@ const re = ({
|
|
111
122
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
112
123
|
/* @__PURE__ */ i.jsxs("div", { className: "action-author", children: [
|
113
124
|
/* @__PURE__ */ i.jsx(
|
114
|
-
|
125
|
+
L,
|
115
126
|
{
|
116
|
-
authorName: (
|
117
|
-
avatar: { initials:
|
118
|
-
publishedLabel:
|
119
|
-
publishedDate:
|
120
|
-
readingTimeLabel:
|
121
|
-
readingTimeValue:
|
122
|
-
readingMinuteLabel:
|
127
|
+
authorName: (m = e == null ? void 0 : e.updatedBy) != null && m.name ? `${(l = e == null ? void 0 : e.updatedBy) == null ? void 0 : l.name} ${(c = e == null ? void 0 : e.updatedBy) == null ? void 0 : c.surname}` : "-",
|
128
|
+
avatar: { initials: b },
|
129
|
+
publishedLabel: x,
|
130
|
+
publishedDate: U(e.updatedAt ?? "", "it") ?? "-",
|
131
|
+
readingTimeLabel: f,
|
132
|
+
readingTimeValue: A,
|
133
|
+
readingMinuteLabel: T
|
123
134
|
}
|
124
135
|
),
|
125
|
-
/* @__PURE__ */ i.jsxs(
|
136
|
+
/* @__PURE__ */ i.jsxs(M, { gap: "x8", className: "action-link", children: [
|
126
137
|
/* @__PURE__ */ i.jsx(
|
127
|
-
|
138
|
+
p,
|
128
139
|
{
|
129
|
-
textLabel:
|
130
|
-
icon: /* @__PURE__ */ i.jsx(
|
131
|
-
handleAction:
|
140
|
+
textLabel: j,
|
141
|
+
icon: /* @__PURE__ */ i.jsx(R, {}),
|
142
|
+
handleAction: C,
|
132
143
|
classNameText: "fw-bold"
|
133
144
|
}
|
134
145
|
),
|
135
146
|
/* @__PURE__ */ i.jsx("div", { className: "share-divider", children: /* @__PURE__ */ i.jsx(
|
136
|
-
|
147
|
+
p,
|
137
148
|
{
|
138
|
-
textLabel:
|
139
|
-
icon: /* @__PURE__ */ i.jsx(
|
149
|
+
textLabel: N ? I : d,
|
150
|
+
icon: /* @__PURE__ */ i.jsx(S, {}),
|
140
151
|
handleAction: w,
|
141
152
|
classNameText: "fw-bold"
|
142
153
|
}
|
143
154
|
) })
|
144
155
|
] })
|
145
156
|
] }),
|
146
|
-
|
157
|
+
B()
|
147
158
|
] });
|
148
159
|
};
|
149
160
|
export {
|
150
|
-
|
161
|
+
ne as AuthenticatedModeEnum,
|
162
|
+
oe as AuthorWithImage
|
151
163
|
};
|
152
164
|
//# sourceMappingURL=index.es34.js.map
|
package/dist/index.es34.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es34.js","sources":["../src/components/ui/AuthorWithImage/index.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { AuthorBlock } from \"../AuthorBlock\";\nimport \"./AuthorWithImage.scss\";\nimport { fromISODateToDateFormatted } from \"@/utils/dates\";\nimport { useCopyToClipboardCurrentPage } from \"@/hooks/useCopyToClipboardCurrentPage\";\nimport { useAlertDialog } from \"@/hooks/useAlert\";\nimport { getFullNameInitials } from \"@/utils/getFullNameInitials\";\nimport { Row } from \"../Row\";\nimport { CopyLink, ShareLink } from \"@/icons\";\nimport { splitInTwo } from \"@/utils/splitInTwo\";\nimport { ActionIconText } from \"../ActionIconText\";\nimport { CardCategory, Col } from \"@/components\";\nimport { Tags } from \"@/sections\";\n\n// export type VariantType = \"service\" | \"event\" | \"insight\";\n\ntype BaseServiceProps = {\n name: string;\n previewImageUrl?: string;\n previewImageTitle?: string;\n updatedBy?: {\n name?: string;\n surname?: string;\n };\n updatedAt?: string;\n readingTime?: number;\n};\n\ntype Event = BaseServiceProps & {\n eventTitle?: string;\n eventDescription?: string;\n eventDescriptionTitle?: string;\n tags?: string[];\n};\n\ntype Service = BaseServiceProps;\n\ninterface AuthorWithImageCommonProps {\n publishedLabel?: string;\n readingTimeLabel?: string;\n readingMinuteLabel?: string;\n tagsLabelTitle?: string;\n shareLabel?: string;\n copyLinkLabel?: string;\n copiedTextLabel?: string;\n ImageComponent?: \"img\" | React.ComponentType<any>;\n imageProps?: Record<string, any>;\n isPreview?: boolean;\n}\n\ntype ServiceProps = {\n data: Service;\n variant: \"service\";\n} & AuthorWithImageCommonProps;\n\ntype EventProps = {\n data: Event;\n variant: \"event\";\n} & AuthorWithImageCommonProps;\n//\n// type InsightProps = {\n// data: null;\n// variant: \"insight\";\n// } & AuthorWithImageCommonProps;\n\nexport type AuthorWithImageProps = ServiceProps | EventProps;\n\nexport const AuthorWithImage = ({\n data = {} as Service | Event,\n ImageComponent = \"img\",\n imageProps = {},\n variant = \"service\",\n publishedLabel = \"Pubblicato\",\n readingTimeLabel = \"Tempo di lettura\",\n readingMinuteLabel = \"min\",\n tagsLabelTitle = \"Argomenti trattati\",\n shareLabel = \"Condividi\",\n copyLinkLabel = \"Copia link\",\n copiedTextLabel = \"Link copiato\",\n isPreview = false,\n}: AuthorWithImageProps) => {\n const { copyToClipboard, isCopied } = useCopyToClipboardCurrentPage();\n const { openAlert } = useAlertDialog();\n const avatarInitials = useMemo(() => {\n if (!data?.updatedBy) return \"-\";\n return getFullNameInitials(\n data.updatedBy.name ?? \"\",\n data.updatedBy.surname ?? \"\",\n );\n }, [data.updatedBy]);\n\n const [firstTitleLine, secondTitleLine] = useMemo(() => {\n if (!data.previewImageTitle || data.previewImageTitle.trim() === \"\") {\n return [null, null];\n }\n\n const words = data.previewImageTitle.trim().split(/\\s+/);\n\n if (words.length >= 4) {\n return splitInTwo(data.previewImageTitle.toUpperCase());\n }\n\n return [data.previewImageTitle.toUpperCase(), null];\n }, [data.previewImageTitle]);\n\n const readingTimeInMinutes = useMemo(() => {\n const readingTime = data.readingTime ?? 0;\n return Math.ceil(Number(readingTime) / 60) || 0;\n }, [data]);\n\n const renderImage = () => {\n if (!data.previewImageUrl) return null;\n\n if (variant === \"event\") {\n const isEvent = (obj: Service | Event): obj is Event => {\n return \"eventTitle\" in obj;\n };\n\n return (\n <div\n className={`${isPreview ? \"event-preview\" : \"event-image-container\"}`}\n >\n <img\n className=\"event-background\"\n src={data.previewImageUrl}\n alt={`Evento ${data.name}`}\n />\n\n <div className=\"event-content-overlay\">\n <div className={\"event-content\"}>\n <img\n className=\"event-main-image\"\n src={data.previewImageUrl}\n alt={`Evento ${data.name}`}\n />\n\n <div className=\"event-card-container\">\n <Col gap={\"x32\"}>\n <CardCategory\n title={isEvent(data) ? (data.eventTitle ?? \"-\") : \"-\"}\n className={\"w-full\"}\n description={\n isEvent(data) ? (data.eventDescriptionTitle ?? \"-\") : \"-\"\n }\n description2={\n isEvent(data) ? (data.eventDescription ?? \"-\") : \"-\"\n }\n classNameTitle={\"text-slate-20 fs-5 md-fs-custom-2\"}\n classNameDescriptionTitle={\n \"text-slate-28 fw-bold fs-6 md-fs-custom\"\n }\n />\n <Tags\n title={tagsLabelTitle}\n items={isEvent(data) ? (data.tags ?? []) : []}\n />\n </Col>\n </div>\n </div>\n </div>\n </div>\n );\n }\n\n return (\n <div\n className={\n isPreview ? \"service-detail-image\" : \"fullscreen-image-container\"\n }\n >\n <ImageComponent\n alt={`Service ${data.name} image`}\n src={data.previewImageUrl}\n style={{ aspectRatio: 21 / 9 }}\n {...imageProps}\n />\n {data.previewImageTitle && data.previewImageTitle.trim() !== \"\" && (\n <p className={\"short-title\"}>\n <span>{firstTitleLine}</span>\n {secondTitleLine && <span>{secondTitleLine}</span>}\n </p>\n )}\n </div>\n );\n };\n\n return (\n <>\n <div className={\"action-author\"}>\n <AuthorBlock\n authorName={\n data?.updatedBy?.name\n ? `${data?.updatedBy?.name} ${data?.updatedBy?.surname}`\n : \"-\"\n }\n avatar={{ initials: avatarInitials }}\n publishedLabel={publishedLabel}\n publishedDate={\n fromISODateToDateFormatted(data.updatedAt ?? \"\", \"it\") ?? \"-\"\n }\n readingTimeLabel={readingTimeLabel}\n readingTimeValue={readingTimeInMinutes}\n readingMinuteLabel={readingMinuteLabel}\n />\n <Row gap={\"x8\"} className={\"action-link\"}>\n <ActionIconText\n textLabel={shareLabel}\n icon={<ShareLink />}\n handleAction={openAlert}\n classNameText={\"fw-bold\"}\n />\n <div className={\"share-divider\"}>\n <ActionIconText\n textLabel={isCopied ? copiedTextLabel : copyLinkLabel}\n icon={<CopyLink />}\n handleAction={copyToClipboard}\n classNameText={\"fw-bold\"}\n />\n </div>\n </Row>\n </div>\n\n {renderImage()}\n </>\n );\n};\n"],"names":["AuthorWithImage","data","ImageComponent","imageProps","variant","publishedLabel","readingTimeLabel","readingMinuteLabel","tagsLabelTitle","shareLabel","copyLinkLabel","copiedTextLabel","isPreview","copyToClipboard","isCopied","useCopyToClipboardCurrentPage","openAlert","useAlertDialog","avatarInitials","useMemo","getFullNameInitials","firstTitleLine","secondTitleLine","splitInTwo","readingTimeInMinutes","readingTime","renderImage","isEvent","obj","jsxs","jsx","Col","CardCategory","Tags","Fragment","AuthorBlock","_a","_b","_c","fromISODateToDateFormatted","Row","ActionIconText","ShareLink","CopyLink"],"mappings":";;;;;;;;;;;;;;;;AAmEO,MAAMA,KAAkB,CAAC;AAAA,EAC9B,MAAAC,IAAO,CAAC;AAAA,EACR,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa,CAAC;AAAA,EACd,SAAAC,IAAU;AAAA,EACV,gBAAAC,IAAiB;AAAA,EACjB,kBAAAC,IAAmB;AAAA,EACnB,oBAAAC,IAAqB;AAAA,EACrB,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa;AAAA,EACb,eAAAC,IAAgB;AAAA,EAChB,iBAAAC,IAAkB;AAAA,EAClB,WAAAC,IAAY;AACd,MAA4B;;AAC1B,QAAM,EAAE,iBAAAC,GAAiB,UAAAC,EAAS,IAAIC,EAA8B,GAC9D,EAAE,WAAAC,EAAU,IAAIC,EAAe,GAC/BC,IAAiBC,EAAQ,MACxBlB,KAAA,QAAAA,EAAM,YACJmB;AAAA,IACLnB,EAAK,UAAU,QAAQ;AAAA,IACvBA,EAAK,UAAU,WAAW;AAAA,EAC5B,IAJ6B,KAK5B,CAACA,EAAK,SAAS,CAAC,GAEb,CAACoB,GAAgBC,CAAe,IAAIH,EAAQ,MAC5C,CAAClB,EAAK,qBAAqBA,EAAK,kBAAkB,WAAW,KACxD,CAAC,MAAM,IAAI,IAGNA,EAAK,kBAAkB,KAAK,EAAE,MAAM,KAAK,EAE7C,UAAU,IACXsB,EAAWtB,EAAK,kBAAkB,YAAA,CAAa,IAGjD,CAACA,EAAK,kBAAkB,YAAA,GAAe,IAAI,GACjD,CAACA,EAAK,iBAAiB,CAAC,GAErBuB,IAAuBL,EAAQ,MAA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AAA,gBAAAA,EAAM,cAAN,gBAAAqC,EAAiB,OAAO,KACpD;AAAA,UAEN,QAAQ,EAAE,UAAUpB,EAAe;AAAA,UACnC,gBAAAb;AAAA,UACA,eACEkC,EAA2BtC,EAAK,aAAa,IAAI,IAAI,KAAK;AAAA,UAE5D,kBAAAK;AAAA,UACA,kBAAkBkB;AAAA,UAClB,oBAAAjB;AAAA,QAAA;AAAA,MACF;AAAA,MACCsB,gBAAAA,EAAA,KAAAW,GAAA,EAAI,KAAK,MAAM,WAAW,eACzB,UAAA;AAAA,QAAAV,gBAAAA,EAAA;AAAA,UAACW;AAAA,UAAA;AAAA,YACC,WAAWhC;AAAA,YACX,4BAAOiC,GAAU,EAAA;AAAA,YACjB,cAAc1B;AAAA,YACd,eAAe;AAAA,UAAA;AAAA,QACjB;AAAA,QACAc,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAW,iBACd,UAAAA,gBAAAA,EAAA;AAAA,UAACW;AAAA,UAAA;AAAA,YACC,WAAW3B,IAAWH,IAAkBD;AAAA,YACxC,4BAAOiC,GAAS,EAAA;AAAA,YAChB,cAAc9B;AAAA,YACd,eAAe;AAAA,UAAA;AAAA,QAAA,EAEnB,CAAA;AAAA,MAAA,EACF,CAAA;AAAA,IAAA,GACF;AAAA,IAECa,EAAY;AAAA,EAAA,GACf;AAEJ;"}
|
1
|
+
{"version":3,"file":"index.es34.js","sources":["../src/components/ui/AuthorWithImage/index.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { AuthorBlock } from \"../AuthorBlock\";\nimport \"./AuthorWithImage.scss\";\nimport { fromISODateToDateFormatted } from \"@/utils/dates\";\nimport { useCopyToClipboardCurrentPage } from \"@/hooks/useCopyToClipboardCurrentPage\";\nimport { useAlertDialog } from \"@/hooks/useAlert\";\nimport { getFullNameInitials } from \"@/utils/getFullNameInitials\";\nimport { Row } from \"../Row\";\nimport { CopyLink, ShareLink } from \"@/icons\";\nimport { splitInTwo } from \"@/utils/splitInTwo\";\nimport { ActionIconText } from \"../ActionIconText\";\nimport { CardCategory, Col } from \"@/components\";\nimport { Tags } from \"@/sections\";\nimport clsx from \"clsx\";\n\n// export type VariantType = \"service\" | \"event\" | \"insight\";\n\ntype BaseServiceProps = {\n name: string;\n previewImageUrl?: string;\n previewImageTitle?: string;\n updatedBy?: {\n name?: string;\n surname?: string;\n };\n updatedAt?: string;\n readingTime?: number;\n};\n\ntype Event = BaseServiceProps & {\n eventTitle?: string;\n eventDescription?: string;\n eventDescriptionTitle?: string;\n tags?: string[];\n};\n\ntype Service = BaseServiceProps;\nexport const AuthenticatedModeEnum = {\n AUTHENTICATED: \"authenticated\",\n PUBLIC: \"public\",\n} as const;\n\nexport type AuthenticatedModes =\n (typeof AuthenticatedModeEnum)[keyof typeof AuthenticatedModeEnum];\ninterface AuthorWithImageCommonProps {\n publishedLabel?: string;\n readingTimeLabel?: string;\n readingMinuteLabel?: string;\n tagsLabelTitle?: string;\n shareLabel?: string;\n copyLinkLabel?: string;\n copiedTextLabel?: string;\n ImageComponent?: \"img\" | React.ComponentType<any>;\n imageProps?: Record<string, any>;\n isPreview?: boolean;\n modeAuthenticated?: boolean;\n}\n\ntype ServiceProps = {\n data: Service;\n variant: \"service\";\n} & AuthorWithImageCommonProps;\n\ntype EventProps = {\n data: Event;\n variant: \"event\";\n} & AuthorWithImageCommonProps;\n//\n// type InsightProps = {\n// data: null;\n// variant: \"insight\";\n// } & AuthorWithImageCommonProps;\n\nexport type AuthorWithImageProps = ServiceProps | EventProps;\n\nexport const AuthorWithImage = ({\n data = {} as Service | Event,\n ImageComponent = \"img\",\n imageProps = {},\n variant = \"service\",\n publishedLabel = \"Pubblicato\",\n readingTimeLabel = \"Tempo di lettura\",\n readingMinuteLabel = \"min\",\n tagsLabelTitle = \"Argomenti trattati\",\n shareLabel = \"Condividi\",\n copyLinkLabel = \"Copia link\",\n copiedTextLabel = \"Link copiato\",\n isPreview = false,\n modeAuthenticated = false,\n}: AuthorWithImageProps) => {\n const { copyToClipboard, isCopied } = useCopyToClipboardCurrentPage();\n const { openAlert } = useAlertDialog();\n const avatarInitials = useMemo(() => {\n if (!data?.updatedBy) return \"-\";\n return getFullNameInitials(\n data.updatedBy.name ?? \"\",\n data.updatedBy.surname ?? \"\",\n );\n }, [data.updatedBy]);\n\n const [firstTitleLine, secondTitleLine] = useMemo(() => {\n if (!data.previewImageTitle || data.previewImageTitle.trim() === \"\") {\n return [null, null];\n }\n\n const words = data.previewImageTitle.trim().split(/\\s+/);\n\n if (words.length >= 4) {\n return splitInTwo(data.previewImageTitle.toUpperCase());\n }\n\n return [data.previewImageTitle.toUpperCase(), null];\n }, [data.previewImageTitle]);\n\n const readingTimeInMinutes = useMemo(() => {\n const readingTime = data.readingTime ?? 0;\n return Math.ceil(Number(readingTime) / 60) || 0;\n }, [data]);\n\n const renderImage = () => {\n if (!data.previewImageUrl) return null;\n\n if (variant === \"event\") {\n const isEvent = (obj: Service | Event): obj is Event => {\n return \"eventTitle\" in obj;\n };\n\n return (\n <div\n className={clsx(\n isPreview ? \"event-preview\" : \"event-image-container\",\n modeAuthenticated ? \"margin-authenticated\" : \"\",\n )}\n >\n <img\n className=\"event-background\"\n src={data.previewImageUrl}\n alt={`Evento ${data.name}`}\n />\n\n <div className=\"event-content-overlay\">\n <div className={\"event-content\"}>\n <img\n className=\"event-main-image\"\n src={data.previewImageUrl}\n alt={`Evento ${data.name}`}\n />\n\n <div className=\"event-card-container\">\n <Col gap={\"x32\"}>\n <CardCategory\n title={isEvent(data) ? (data.eventTitle ?? \"-\") : \"-\"}\n className={\"w-full\"}\n description={\n isEvent(data) ? (data.eventDescriptionTitle ?? \"-\") : \"-\"\n }\n description2={\n isEvent(data) ? (data.eventDescription ?? \"-\") : \"-\"\n }\n classNameTitle={\"text-slate-20 fs-5 md-fs-custom-2\"}\n classNameDescriptionTitle={\n \"text-slate-28 fw-bold fs-6 md-fs-custom\"\n }\n />\n <Tags\n title={tagsLabelTitle}\n items={isEvent(data) ? (data.tags ?? []) : []}\n />\n </Col>\n </div>\n </div>\n </div>\n </div>\n );\n }\n\n return (\n <div\n className={clsx(\n isPreview ? \"service-detail-image\" : \"fullscreen-image-container\",\n modeAuthenticated ? \"margin-authenticated\" : \"\",\n )}\n >\n <ImageComponent\n alt={`Service ${data.name} image`}\n src={data.previewImageUrl}\n style={{ aspectRatio: 21 / 9 }}\n {...imageProps}\n />\n {data.previewImageTitle && data.previewImageTitle.trim() !== \"\" && (\n <p className={\"short-title\"}>\n <span>{firstTitleLine}</span>\n {secondTitleLine && <span>{secondTitleLine}</span>}\n </p>\n )}\n </div>\n );\n };\n\n return (\n <>\n <div className={\"action-author\"}>\n <AuthorBlock\n authorName={\n data?.updatedBy?.name\n ? `${data?.updatedBy?.name} ${data?.updatedBy?.surname}`\n : \"-\"\n }\n avatar={{ initials: avatarInitials }}\n publishedLabel={publishedLabel}\n publishedDate={\n fromISODateToDateFormatted(data.updatedAt ?? \"\", \"it\") ?? \"-\"\n }\n readingTimeLabel={readingTimeLabel}\n readingTimeValue={readingTimeInMinutes}\n readingMinuteLabel={readingMinuteLabel}\n />\n <Row gap={\"x8\"} className={\"action-link\"}>\n <ActionIconText\n textLabel={shareLabel}\n icon={<ShareLink />}\n handleAction={openAlert}\n classNameText={\"fw-bold\"}\n />\n <div className={\"share-divider\"}>\n <ActionIconText\n textLabel={isCopied ? copiedTextLabel : copyLinkLabel}\n icon={<CopyLink />}\n handleAction={copyToClipboard}\n classNameText={\"fw-bold\"}\n />\n </div>\n </Row>\n </div>\n\n {renderImage()}\n </>\n );\n};\n"],"names":["AuthenticatedModeEnum","AuthorWithImage","data","ImageComponent","imageProps","variant","publishedLabel","readingTimeLabel","readingMinuteLabel","tagsLabelTitle","shareLabel","copyLinkLabel","copiedTextLabel","isPreview","modeAuthenticated","copyToClipboard","isCopied","useCopyToClipboardCurrentPage","openAlert","useAlertDialog","avatarInitials","useMemo","getFullNameInitials","firstTitleLine","secondTitleLine","splitInTwo","readingTimeInMinutes","readingTime","renderImage","isEvent","obj","jsxs","clsx","jsx","Col","CardCategory","Tags","Fragment","AuthorBlock","_a","_b","_c","fromISODateToDateFormatted","Row","ActionIconText","ShareLink","CopyLink"],"mappings":";;;;;;;;;;;;;;;;;AAqCO,MAAMA,KAAwB;AAAA,EACnC,eAAe;AAAA,EACf,QAAQ;AACV,GAmCaC,KAAkB,CAAC;AAAA,EAC9B,MAAAC,IAAO,CAAC;AAAA,EACR,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa,CAAC;AAAA,EACd,SAAAC,IAAU;AAAA,EACV,gBAAAC,IAAiB;AAAA,EACjB,kBAAAC,IAAmB;AAAA,EACnB,oBAAAC,IAAqB;AAAA,EACrB,gBAAAC,IAAiB;AAAA,EACjB,YAAAC,IAAa;AAAA,EACb,eAAAC,IAAgB;AAAA,EAChB,iBAAAC,IAAkB;AAAA,EAClB,WAAAC,IAAY;AAAA,EACZ,mBAAAC,IAAoB;AACtB,MAA4B;;AAC1B,QAAM,EAAE,iBAAAC,GAAiB,UAAAC,EAAS,IAAIC,EAA8B,GAC9D,EAAE,WAAAC,EAAU,IAAIC,EAAe,GAC/BC,IAAiBC,EAAQ,MACxBnB,KAAA,QAAAA,EAAM,YACJoB;AAAA,IACLpB,EAAK,UAAU,QAAQ;AAAA,IACvBA,EAAK,UAAU,WAAW;AAAA,EAC5B,IAJ6B,KAK5B,CAACA,EAAK,SAAS,CAAC,GAEb,CAACqB,GAAgBC,CAAe,IAAIH,EAAQ,MAC5C,CAACnB,EAAK,qBAAqBA,EAAK,kBAAkB,WAAW,KACxD,CAAC,MAAM,IAAI,IAGNA,EAAK,kBAAkB,KAAK,EAAE,MAAM,KAAK,EAE7C,UAAU,IACXuB,EAAWvB,EAAK,kBAAkB,YAAA,CAAa,IAGjD,CAACA,EAAK,kBAAkB,YAAA,GAAe,IAAI,GACjD,CAACA,EAAK,iBAAiB,CAAC,GAErBwB,IAAuBL,EAAQ,MAAM;AACnC,UAAAM,IAAczB,EAAK,eAAe;AACxC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,EAAM,cAAN,gBAAAsC,EAAiB,IAAI,KAAIC,IAAAvC,KAAA,gBAAAA,EAAM,cAAN,gBAAAuC,EAAiB,OAAO,KACpD;AAAA,UAEN,QAAQ,EAAE,UAAUrB,EAAe;AAAA,UACnC,gBAAAd;AAAA,UACA,eACEoC,EAA2BxC,EAAK,aAAa,IAAI,IAAI,KAAK;AAAA,UAE5D,kBAAAK;AAAA,UACA,kBAAkBmB;AAAA,UAClB,oBAAAlB;AAAA,QAAA;AAAA,MACF;AAAA,MACCuB,gBAAAA,EAAA,KAAAY,GAAA,EAAI,KAAK,MAAM,WAAW,eACzB,UAAA;AAAA,QAAAV,gBAAAA,EAAA;AAAA,UAACW;AAAA,UAAA;AAAA,YACC,WAAWlC;AAAA,YACX,4BAAOmC,GAAU,EAAA;AAAA,YACjB,cAAc3B;AAAA,YACd,eAAe;AAAA,UAAA;AAAA,QACjB;AAAA,QACAe,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAW,iBACd,UAAAA,gBAAAA,EAAA;AAAA,UAACW;AAAA,UAAA;AAAA,YACC,WAAW5B,IAAWJ,IAAkBD;AAAA,YACxC,4BAAOmC,GAAS,EAAA;AAAA,YAChB,cAAc/B;AAAA,YACd,eAAe;AAAA,UAAA;AAAA,QAAA,EAEnB,CAAA;AAAA,MAAA,EACF,CAAA;AAAA,IAAA,GACF;AAAA,IAECa,EAAY;AAAA,EAAA,GACf;AAEJ;"}
|
package/dist/index.es345.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import a, { forwardRef as W, useState as P, useRef as u, useEffect as _, createContext as q, useLayoutEffect as Q } from "react";
|
2
|
-
import { S as X } from "./index.
|
3
|
-
import { g as Y, m as Z, a as ee, u as re } from "./index.
|
4
|
-
import { d as D, w as te, n as ne, b as se, a as ae, e as V, u as ie } from "./index.
|
2
|
+
import { S as X } from "./index.es403.js";
|
3
|
+
import { g as Y, m as Z, a as ee, u as re } from "./index.es404.js";
|
4
|
+
import { d as D, w as te, n as ne, b as se, a as ae, e as V, u as ie } from "./index.es405.js";
|
5
5
|
function k() {
|
6
6
|
return k = Object.assign ? Object.assign.bind() : function(n) {
|
7
7
|
for (var r = 1; r < arguments.length; r++) {
|
package/dist/index.es346.js
CHANGED
package/dist/index.es347.js
CHANGED
package/dist/index.es355.js
CHANGED
package/dist/index.es356.js
CHANGED