eidotter 0.27.1 → 0.28.0
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
|
@@ -83,4 +83,4 @@ export { isSafeUrl } from './utils';
|
|
|
83
83
|
export { ZOOM_LEVELS } from './components/TimelineContainer';
|
|
84
84
|
export { componentRegistry, projects, getComponentMeta, getComponentsByOrigin, getComponentsByConsumer, getVariantsUsedBy, getVariantConsumerMap, } from './components/registry';
|
|
85
85
|
export type { ComponentMeta, ProjectId, ProjectInfo, VariantMeta, PlatformId, PlatformMeta, ChangelogEntry, } from './components/registry';
|
|
86
|
-
export declare const version = "0.
|
|
86
|
+
export declare const version = "0.28.0";
|
package/dist/index.es.js
CHANGED
|
@@ -8232,34 +8232,57 @@ var Mu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8232
8232
|
]
|
|
8233
8233
|
})
|
|
8234
8234
|
});
|
|
8235
|
-
}, Pu = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0,
|
|
8236
|
-
let
|
|
8235
|
+
}, Pu = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, boot: a = !1, intensity: o = 1, className: c, onPowerStateChange: l, onPowerOn: u, onPowerOff: d, onBootComplete: m }) => {
|
|
8236
|
+
let h = f(i), [g, _] = p(i ? "on" : "off"), [v, S] = p(a);
|
|
8237
8237
|
s(() => {
|
|
8238
|
-
|
|
8239
|
-
if (
|
|
8238
|
+
if (!v) return;
|
|
8239
|
+
if (Ql()) {
|
|
8240
|
+
S(!1), m?.();
|
|
8241
|
+
return;
|
|
8242
|
+
}
|
|
8243
|
+
let e = window.setTimeout(() => {
|
|
8244
|
+
S(!1), m?.();
|
|
8245
|
+
}, 1200);
|
|
8246
|
+
return () => window.clearTimeout(e);
|
|
8247
|
+
}, [v]);
|
|
8248
|
+
let C = (e) => {
|
|
8249
|
+
e.animationName === "eidotter-retro-boot-glow" && (S(!1), m?.());
|
|
8250
|
+
};
|
|
8251
|
+
s(() => {
|
|
8252
|
+
let e = h.current;
|
|
8253
|
+
if (h.current = i, e !== i) {
|
|
8240
8254
|
let e = i ? "powering-on" : "powering-off";
|
|
8241
|
-
|
|
8255
|
+
_(e), l?.(e);
|
|
8242
8256
|
}
|
|
8243
|
-
}, [i,
|
|
8244
|
-
let
|
|
8245
|
-
|
|
8246
|
-
},
|
|
8247
|
-
e.animationName !== "retro-power-on" && e.animationName !== "retro-power-off" ||
|
|
8248
|
-
},
|
|
8249
|
-
e.propertyName === "opacity" && (
|
|
8250
|
-
},
|
|
8251
|
-
return /* @__PURE__ */
|
|
8252
|
-
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects",
|
|
8253
|
-
style:
|
|
8257
|
+
}, [i, l]);
|
|
8258
|
+
let w = () => {
|
|
8259
|
+
g === "powering-on" ? (_("on"), l?.("on"), u?.()) : g === "powering-off" && (_("off"), l?.("off"), d?.());
|
|
8260
|
+
}, T = (e) => {
|
|
8261
|
+
e.animationName !== "retro-power-on" && e.animationName !== "retro-power-off" || w();
|
|
8262
|
+
}, E = (e) => {
|
|
8263
|
+
e.propertyName === "opacity" && (g !== "powering-on" && g !== "powering-off" || w());
|
|
8264
|
+
}, D = { "--retro-intensity": o }, O = g !== "off";
|
|
8265
|
+
return /* @__PURE__ */ x("div", {
|
|
8266
|
+
className: $("fixed inset-0 pointer-events-none z-[9999]", "eidotter-retro-effects", g === "powering-off" && "eidotter-retro-effects--powering-off", g === "powering-on" && "eidotter-retro-effects--powering-on", g === "off" && "eidotter-retro-effects--off", c),
|
|
8267
|
+
style: D,
|
|
8254
8268
|
"aria-hidden": "true",
|
|
8255
|
-
onAnimationEnd:
|
|
8256
|
-
onTransitionEnd:
|
|
8257
|
-
children:
|
|
8269
|
+
onAnimationEnd: T,
|
|
8270
|
+
onTransitionEnd: E,
|
|
8271
|
+
children: [O && /* @__PURE__ */ x(y, { children: [
|
|
8258
8272
|
e && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__scanlines" }),
|
|
8259
8273
|
t && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__glow" }),
|
|
8260
8274
|
n && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__flicker" }),
|
|
8261
8275
|
r && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__bloom" })
|
|
8262
|
-
] })
|
|
8276
|
+
] }), v && /* @__PURE__ */ x("div", {
|
|
8277
|
+
className: "eidotter-retro-effects__boot",
|
|
8278
|
+
onAnimationEnd: C,
|
|
8279
|
+
children: [
|
|
8280
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--top" }),
|
|
8281
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-panel eidotter-retro-effects__boot-panel--bottom" }),
|
|
8282
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-line" }),
|
|
8283
|
+
/* @__PURE__ */ b("div", { className: "eidotter-retro-effects__boot-glow" })
|
|
8284
|
+
]
|
|
8285
|
+
})]
|
|
8263
8286
|
});
|
|
8264
8287
|
}, Fu = {
|
|
8265
8288
|
sm: "small",
|
|
@@ -11472,6 +11495,6 @@ function np(e) {
|
|
|
11472
11495
|
}
|
|
11473
11496
|
//#endregion
|
|
11474
11497
|
//#region src/index.ts
|
|
11475
|
-
var rp = "0.
|
|
11498
|
+
var rp = "0.28.0";
|
|
11476
11499
|
//#endregion
|
|
11477
11500
|
export { Df as AIText, ou as AccordionFill, Rf as AddressBlock, iu as Alert, Au as Badge, Ef as BrandLockup, Nu as Breadcrumb, lu as Button, du as Card, lf as ChatContainer, sf as ChatHistory, cf as ChatInput, of as ChatMessage, fu as Checkbox, Cf as CmdPalette, pu as CommandPrompt, Wf as DatenschutzController, Jf as DatenschutzEncryption, qf as DatenschutzFonts, Gf as DatenschutzHosting, Kf as DatenschutzPostHog, Yf as DatenschutzRights, tf as DesktopNav, yf as DosFigure, Jd as FilterBar, df as Footer, pf as Header, Zl as Icon, zf as ImpressumAddress, Bf as ImpressumContact, Hf as ImpressumLiabilityContent, Uf as ImpressumLiabilityLinks, Vf as ImpressumResponsible, Xd as InlineExpand, vf as InlineLink, Cu as Input, Ff as LegalPage, yd as Lightbox, wf as Logo, nf as MobileNav, Rd as Modal, rf as Nav, hf as Notification, xu as Progress, Pu as RetroEffects, au as Section, Qd as Separator, Pf as Skeleton, Kd as Stat, ju as Switch, Du as Tabs, jd as Tag, Nd as TagGroup, wu as Terminal, $d as TextScramble, Ld as TimelineContainer, zu as TimelineNode, Tf as Wordmark, Bu as ZOOM_LEVELS, Zf as componentRegistry, uf as defaultLegalLinks, Qf as getComponentMeta, ep as getComponentsByConsumer, $f as getComponentsByOrigin, np as getVariantConsumerMap, tp as getVariantsUsedBy, Yd as isSafeUrl, Xf as projects, Vd as useTextScramble, rp as version };
|