academe-kit 0.11.4 → 0.11.5
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.esm.js
CHANGED
|
@@ -6848,6 +6848,9 @@ const LOGO_A_DATA_URI = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlb
|
|
|
6848
6848
|
// derivar a largura a partir da altura, preservando a proporção do logo.
|
|
6849
6849
|
const ASSET_W = 1320;
|
|
6850
6850
|
const ASSET_H = 1320.42;
|
|
6851
|
+
/** Proporção (largura/altura) do asset. O AcademeLoading usa para dimensionar o
|
|
6852
|
+
* container do logo igual à imagem e mantê-lo centralizado nos círculos. */
|
|
6853
|
+
const LOGO_A_ASPECT = ASSET_W / ASSET_H;
|
|
6851
6854
|
/**
|
|
6852
6855
|
* Logo "A" da Academe (§8) — renderiza o asset oficial
|
|
6853
6856
|
* (`src/assets/LOGO A SVG 2.svg`) via data URI. Puramente estático; quem anima é
|
|
@@ -6870,7 +6873,7 @@ const TOTAL = 2333;
|
|
|
6870
6873
|
*/
|
|
6871
6874
|
const HOLD_T = 0.56;
|
|
6872
6875
|
const DEFAULT_COLORS = {
|
|
6873
|
-
background: "#
|
|
6876
|
+
background: "#f1f2f6",
|
|
6874
6877
|
purple: "#7C28D4",
|
|
6875
6878
|
white: "#FCFCFC",
|
|
6876
6879
|
};
|
|
@@ -7135,7 +7138,7 @@ function AcademeLoading({ size = 320, duration = TOTAL, loading, autoPlay = true
|
|
|
7135
7138
|
return 0;
|
|
7136
7139
|
});
|
|
7137
7140
|
const LOGO_H = 0.46 * S;
|
|
7138
|
-
const LOGO_W = LOGO_H *
|
|
7141
|
+
const LOGO_W = LOGO_H * LOGO_A_ASPECT;
|
|
7139
7142
|
// Centralização determinística: cada camada é absoluta e centralizada por
|
|
7140
7143
|
// `inset:0 + margin:auto` sobre um width/height fixo — independe do tamanho
|
|
7141
7144
|
// relativo dos elementos (o grid implícito anterior ancorava a célula no canto,
|