@lystech/core 3.0.110 → 3.0.112

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.d.ts CHANGED
@@ -498,8 +498,12 @@ export declare type ImageType = {
498
498
  export declare function InstallPwaButton({ size, visible, forceVisible, text, knowMoreUrl, knowMoreText, onAction, onPopupClose }: Props_8): JSX.Element | null;
499
499
 
500
500
  /**
501
- * Loader partagé de toutes les apps Lystech — animation « Mirage » (ldrs).
502
- * Conserve la couleur de marque de l'organisation (repli noir).
501
+ * Loader partagé de toutes les apps Lystech — animation « Mirage » (ldrs),
502
+ * pivotée à la VERTICALE : le filet qui descend évoque un café qui coule,
503
+ * ce qui vaut mieux qu'un trait horizontal générique dans une boutique de
504
+ * torréfacteur.
505
+ *
506
+ * La couleur vient de la marque de l'organisation (repli noir).
503
507
  */
504
508
  export declare function LoadingCircle(): JSX.Element;
505
509
 
@@ -42845,7 +42845,7 @@ const Zf = {
42845
42845
  padding: 2,
42846
42846
  lineHeight: 0,
42847
42847
  flexShrink: 0
42848
- }, BY = "@lystech/core", VY = "lystechcorenpmpackage:last-version", YY = "3.0.110";
42848
+ }, BY = "@lystech/core", VY = "lystechcorenpmpackage:last-version", YY = "3.0.112";
42849
42849
  function WY(e = {}) {
42850
42850
  const {
42851
42851
  packageName: t = BY,
@@ -45282,24 +45282,62 @@ const lU = ({ size: e = 60, color: t = "black", speed: n = 2.5 }) => {
45282
45282
  function Dg() {
45283
45283
  const { organizationDetails: e } = zr();
45284
45284
  return (
45285
- /* CENTRE SUR LA HAUTEUR REELLE, pas sur 400 px arbitraires : le
45286
- chargeur se posait au milieu d'une bande, elle-meme quelque part
45287
- dans la page — donc jamais au centre de l'ecran. `dvh` plutot que
45288
- `vh` : sur iOS, `vh` compte la barre d'adresse retractee. */
45289
- /* @__PURE__ */ p.jsx("div", { style: {
45290
- width: "100%",
45291
- minHeight: "60dvh",
45292
- display: "flex",
45293
- justifyContent: "center",
45294
- alignItems: "center"
45295
- }, children: /* @__PURE__ */ p.jsx(
45296
- lU,
45285
+ /* CENTRÉ SUR LA HAUTEUR RÉELLE, pas sur 400 px arbitraires : le
45286
+ chargeur se posait au milieu d'une bande, elle-même quelque part
45287
+ dans la page — donc jamais au centre de l'écran. `dvh` plutôt que
45288
+ `vh` : sur iOS, `vh` compte la barre d'adresse rétractée. */
45289
+ /* @__PURE__ */ p.jsxs(
45290
+ "div",
45297
45291
  {
45298
- size: "220",
45299
- speed: "2.5",
45300
- color: (e == null ? void 0 : e.primaryColor) || "black"
45292
+ style: {
45293
+ width: "100%",
45294
+ minHeight: "60dvh",
45295
+ display: "flex",
45296
+ justifyContent: "center",
45297
+ alignItems: "center"
45298
+ },
45299
+ children: [
45300
+ /* @__PURE__ */ p.jsx(
45301
+ "div",
45302
+ {
45303
+ style: {
45304
+ width: 220,
45305
+ height: 220,
45306
+ display: "flex",
45307
+ alignItems: "center",
45308
+ justifyContent: "center",
45309
+ transform: "rotate(90deg)"
45310
+ },
45311
+ "aria-hidden": "true",
45312
+ children: /* @__PURE__ */ p.jsx(
45313
+ lU,
45314
+ {
45315
+ size: "220",
45316
+ speed: "2.5",
45317
+ color: (e == null ? void 0 : e.primaryColor) || "black"
45318
+ }
45319
+ )
45320
+ }
45321
+ ),
45322
+ /* @__PURE__ */ p.jsx(
45323
+ "span",
45324
+ {
45325
+ role: "status",
45326
+ "aria-live": "polite",
45327
+ style: {
45328
+ position: "absolute",
45329
+ width: 1,
45330
+ height: 1,
45331
+ overflow: "hidden",
45332
+ clipPath: "inset(50%)",
45333
+ whiteSpace: "nowrap"
45334
+ },
45335
+ children: "Chargement…"
45336
+ }
45337
+ )
45338
+ ]
45301
45339
  }
45302
- ) })
45340
+ )
45303
45341
  );
45304
45342
  }
45305
45343
  async function cU() {