@elevasis/ui 1.15.3 → 1.17.1
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/charts/index.d.ts +25 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-FEZ2TGSH.js → chunk-7ATCF6UL.js} +282 -14
- package/dist/{chunk-4NHYV42S.js → chunk-7S5FS7WW.js} +35 -4
- package/dist/chunk-ADSSLKKP.js +10 -0
- package/dist/{chunk-WY2BCL5F.js → chunk-F25DUOWI.js} +2 -2
- package/dist/chunk-MHW43EOH.js +47 -0
- package/dist/{chunk-6YIE72M2.js → chunk-NUULWBAD.js} +1 -1
- package/dist/{chunk-E6Q6A5TU.js → chunk-QCEUL5QG.js} +2 -6
- package/dist/{chunk-4NAZQ7WO.js → chunk-RYSPAQGW.js} +2 -2
- package/dist/{chunk-XY7VKOKI.js → chunk-UEYUPTAD.js} +80 -777
- package/dist/chunk-ZGK6XZVY.js +1208 -0
- package/dist/components/index.d.ts +511 -488
- package/dist/components/index.js +28 -1221
- package/dist/features/operations/index.css +565 -0
- package/dist/features/operations/index.d.ts +90 -0
- package/dist/features/operations/index.js +241 -0
- package/dist/hooks/index.d.ts +509 -488
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +509 -488
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +522 -490
- package/dist/index.js +6 -6
- package/dist/initialization/index.d.ts +508 -487
- package/dist/layout/index.d.ts +196 -6
- package/dist/layout/index.js +5 -4
- package/dist/profile/index.d.ts +508 -487
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +1 -1
- package/dist/router/index.d.ts +12 -1
- package/dist/router/index.js +1 -1
- package/dist/supabase/index.d.ts +890 -851
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +509 -488
- package/package.json +5 -1
- package/dist/chunk-LHQTTUL2.js +0 -27
- package/dist/components/layout/backgrounds/CyberParticles.d.ts +0 -30
- package/dist/components/layout/backgrounds/CyberParticles.d.ts.map +0 -1
- package/dist/components/layout/backgrounds/CyberParticles.js +0 -138
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
"types": "./dist/organization/index.d.ts",
|
|
44
44
|
"import": "./dist/organization/index.js"
|
|
45
45
|
},
|
|
46
|
+
"./features/operations": {
|
|
47
|
+
"types": "./dist/features/operations/index.d.ts",
|
|
48
|
+
"import": "./dist/features/operations/index.js"
|
|
49
|
+
},
|
|
46
50
|
"./types": {
|
|
47
51
|
"types": "./dist/types/index.d.ts",
|
|
48
52
|
"import": "./dist/types/index.js"
|
package/dist/chunk-LHQTTUL2.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { RouterProvider } from './chunk-Q7DJKLEN.js';
|
|
2
|
-
import { useLocation, useRouter, Link } from '@tanstack/react-router';
|
|
3
|
-
import { useCallback, useMemo, forwardRef } from 'react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
function TanStackRouterBridge({ children }) {
|
|
7
|
-
const location = useLocation();
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
const navigate = useCallback((to) => router.navigate({ to }), [router]);
|
|
10
|
-
const Link$1 = useMemo(
|
|
11
|
-
() => forwardRef(function AdapterLink(props, ref) {
|
|
12
|
-
return /* @__PURE__ */ jsx(Link, { ref, ...props });
|
|
13
|
-
}),
|
|
14
|
-
[]
|
|
15
|
-
);
|
|
16
|
-
const value = useMemo(
|
|
17
|
-
() => ({
|
|
18
|
-
currentPath: location.pathname,
|
|
19
|
-
navigate,
|
|
20
|
-
Link: Link$1
|
|
21
|
-
}),
|
|
22
|
-
[location.pathname, navigate, Link$1]
|
|
23
|
-
);
|
|
24
|
-
return /* @__PURE__ */ jsx(RouterProvider, { value, children });
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { TanStackRouterBridge };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type CyberVariant = 'flux' | 'strike' | 'void' | 'volt';
|
|
3
|
-
interface CyberParticlesProps {
|
|
4
|
-
/** Which particle flavor to render. */
|
|
5
|
-
variant: CyberVariant;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Techy particle layer for cyber-themed presets.
|
|
10
|
-
*
|
|
11
|
-
* Sits alongside `PerspectiveGrid` / `RadiantGlow` / `FloatingOrbs` / `FilmGrain`
|
|
12
|
-
* at the same z-level (via document order) and adds rising electric sparks
|
|
13
|
-
* that inherit their color from `var(--color-primary)` so they automatically
|
|
14
|
-
* match the active preset's accent:
|
|
15
|
-
*
|
|
16
|
-
* - `flux` — yellow sparks
|
|
17
|
-
* - `strike` — red sparks
|
|
18
|
-
* - `void` — blue sparks
|
|
19
|
-
* - `volt` — cyan sparks
|
|
20
|
-
*
|
|
21
|
-
* The `variant` prop is currently unused at the render level (all four
|
|
22
|
-
* cyber presets share the same spark effect), but is kept in the API so
|
|
23
|
-
* individual variants can diverge again without changing preset wiring.
|
|
24
|
-
*
|
|
25
|
-
* Particle field is generated once at module load (fresh per page reload).
|
|
26
|
-
* All animations are disabled under `prefers-reduced-motion`.
|
|
27
|
-
*/
|
|
28
|
-
export declare function CyberParticles({ variant: _variant, className }: CyberParticlesProps): React.JSX.Element;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=CyberParticles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CyberParticles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/backgrounds/CyberParticles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;AAE9D,UAAU,mBAAmB;IAC3B,uCAAuC;IACvC,OAAO,EAAE,YAAY,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAmJD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiBvG"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const randRange = (min, max) => min + Math.random() * (max - min);
|
|
3
|
-
// -----------------------------------------------------------------------------
|
|
4
|
-
// Flux — Rising electric sparks. Bright primary-colored dots with halo glow
|
|
5
|
-
// rising from the bottom of the viewport with slight horizontal drift and a
|
|
6
|
-
// secondary pulse animation for flicker energy.
|
|
7
|
-
// -----------------------------------------------------------------------------
|
|
8
|
-
const FLUX_SPARKS = Array.from({ length: 42 }, () => {
|
|
9
|
-
const duration = randRange(14, 32);
|
|
10
|
-
const pulse = randRange(0.8, 2.2);
|
|
11
|
-
return {
|
|
12
|
-
left: randRange(0, 100),
|
|
13
|
-
size: randRange(1.5, 4.2),
|
|
14
|
-
duration,
|
|
15
|
-
delay: -randRange(0, duration),
|
|
16
|
-
drift: randRange(-35, 35),
|
|
17
|
-
pulse,
|
|
18
|
-
pulseDelay: -randRange(0, pulse)
|
|
19
|
-
};
|
|
20
|
-
});
|
|
21
|
-
// Larger, blurrier, slower orbs drifting up in the background. Lower opacity
|
|
22
|
-
// and heavier blur so they read as depth haze rather than distinct particles.
|
|
23
|
-
const FLUX_GLOWS = Array.from({ length: 14 }, () => {
|
|
24
|
-
const duration = randRange(28, 55);
|
|
25
|
-
const pulse = randRange(3.5, 7);
|
|
26
|
-
return {
|
|
27
|
-
left: randRange(-5, 105),
|
|
28
|
-
size: randRange(3, 22),
|
|
29
|
-
duration,
|
|
30
|
-
delay: -randRange(0, duration),
|
|
31
|
-
drift: randRange(-80, 80),
|
|
32
|
-
blur: randRange(6, 16),
|
|
33
|
-
opacity: randRange(0.18, 0.42),
|
|
34
|
-
pulse,
|
|
35
|
-
pulseDelay: -randRange(0, pulse)
|
|
36
|
-
};
|
|
37
|
-
});
|
|
38
|
-
const KEYFRAMES = `
|
|
39
|
-
@keyframes elevasis-cyber-spark-rise {
|
|
40
|
-
0% { transform: translate3d(0, 0, 0); opacity: 0; }
|
|
41
|
-
10% { opacity: 1; }
|
|
42
|
-
85% { opacity: 0.9; }
|
|
43
|
-
100% { transform: translate3d(var(--cy-drift, 0px), -112vh, 0); opacity: 0; }
|
|
44
|
-
}
|
|
45
|
-
@keyframes elevasis-cyber-spark-pulse {
|
|
46
|
-
0%, 100% { filter: brightness(0.55); transform: scale(0.8); }
|
|
47
|
-
50% { filter: brightness(1.7); transform: scale(1.25); }
|
|
48
|
-
}
|
|
49
|
-
@keyframes elevasis-cyber-glow-pulse {
|
|
50
|
-
0%, 100% { transform: scale(0.85); }
|
|
51
|
-
50% { transform: scale(1.2); }
|
|
52
|
-
}
|
|
53
|
-
@media (prefers-reduced-motion: reduce) {
|
|
54
|
-
.elevasis-cyber-spark,
|
|
55
|
-
.elevasis-cyber-spark-inner,
|
|
56
|
-
.elevasis-cyber-glow,
|
|
57
|
-
.elevasis-cyber-glow-inner {
|
|
58
|
-
animation: none !important;
|
|
59
|
-
}
|
|
60
|
-
.elevasis-cyber-spark,
|
|
61
|
-
.elevasis-cyber-glow {
|
|
62
|
-
opacity: 0 !important;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
`;
|
|
66
|
-
function FluxGlows() {
|
|
67
|
-
return (_jsx(_Fragment, { children: FLUX_GLOWS.map((g, i) => (_jsx("div", { className: "elevasis-cyber-glow", style: {
|
|
68
|
-
position: 'absolute',
|
|
69
|
-
bottom: '-5%',
|
|
70
|
-
left: `${g.left}%`,
|
|
71
|
-
width: `${g.size}px`,
|
|
72
|
-
height: `${g.size}px`,
|
|
73
|
-
opacity: g.opacity,
|
|
74
|
-
filter: `blur(${g.blur}px)`,
|
|
75
|
-
animation: `elevasis-cyber-spark-rise ${g.duration}s linear infinite`,
|
|
76
|
-
animationDelay: `${g.delay}s`,
|
|
77
|
-
['--cy-drift']: `${g.drift}px`,
|
|
78
|
-
willChange: 'transform, opacity'
|
|
79
|
-
}, children: _jsx("div", { className: "elevasis-cyber-glow-inner", style: {
|
|
80
|
-
width: '100%',
|
|
81
|
-
height: '100%',
|
|
82
|
-
borderRadius: '50%',
|
|
83
|
-
background: `radial-gradient(circle, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 60%, transparent) 45%, transparent 75%)`,
|
|
84
|
-
animation: `elevasis-cyber-glow-pulse ${g.pulse}s ease-in-out infinite`,
|
|
85
|
-
animationDelay: `${g.pulseDelay}s`,
|
|
86
|
-
willChange: 'transform'
|
|
87
|
-
} }) }, i))) }));
|
|
88
|
-
}
|
|
89
|
-
function FluxSparks() {
|
|
90
|
-
return (_jsx(_Fragment, { children: FLUX_SPARKS.map((s, i) => (_jsx("div", { className: "elevasis-cyber-spark", style: {
|
|
91
|
-
position: 'absolute',
|
|
92
|
-
bottom: '-2%',
|
|
93
|
-
left: `${s.left}%`,
|
|
94
|
-
width: `${s.size}px`,
|
|
95
|
-
height: `${s.size}px`,
|
|
96
|
-
animation: `elevasis-cyber-spark-rise ${s.duration}s linear infinite`,
|
|
97
|
-
animationDelay: `${s.delay}s`,
|
|
98
|
-
['--cy-drift']: `${s.drift}px`,
|
|
99
|
-
willChange: 'transform, opacity'
|
|
100
|
-
}, children: _jsx("div", { className: "elevasis-cyber-spark-inner", style: {
|
|
101
|
-
width: '100%',
|
|
102
|
-
height: '100%',
|
|
103
|
-
borderRadius: '50%',
|
|
104
|
-
background: 'var(--color-primary)',
|
|
105
|
-
boxShadow: `0 0 ${s.size * 2.5}px var(--color-primary), 0 0 ${s.size * 5}px color-mix(in srgb, var(--color-primary) 50%, transparent)`,
|
|
106
|
-
animation: `elevasis-cyber-spark-pulse ${s.pulse}s ease-in-out infinite`,
|
|
107
|
-
animationDelay: `${s.pulseDelay}s`,
|
|
108
|
-
willChange: 'transform, filter'
|
|
109
|
-
} }) }, i))) }));
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Techy particle layer for cyber-themed presets.
|
|
113
|
-
*
|
|
114
|
-
* Sits alongside `PerspectiveGrid` / `RadiantGlow` / `FloatingOrbs` / `FilmGrain`
|
|
115
|
-
* at the same z-level (via document order) and adds rising electric sparks
|
|
116
|
-
* that inherit their color from `var(--color-primary)` so they automatically
|
|
117
|
-
* match the active preset's accent:
|
|
118
|
-
*
|
|
119
|
-
* - `flux` — yellow sparks
|
|
120
|
-
* - `strike` — red sparks
|
|
121
|
-
* - `void` — blue sparks
|
|
122
|
-
* - `volt` — cyan sparks
|
|
123
|
-
*
|
|
124
|
-
* The `variant` prop is currently unused at the render level (all four
|
|
125
|
-
* cyber presets share the same spark effect), but is kept in the API so
|
|
126
|
-
* individual variants can diverge again without changing preset wiring.
|
|
127
|
-
*
|
|
128
|
-
* Particle field is generated once at module load (fresh per page reload).
|
|
129
|
-
* All animations are disabled under `prefers-reduced-motion`.
|
|
130
|
-
*/
|
|
131
|
-
export function CyberParticles({ variant: _variant, className }) {
|
|
132
|
-
return (_jsxs("div", { className: className, "aria-hidden": "true", style: {
|
|
133
|
-
position: 'absolute',
|
|
134
|
-
inset: 0,
|
|
135
|
-
pointerEvents: 'none',
|
|
136
|
-
overflow: 'hidden'
|
|
137
|
-
}, children: [_jsx("style", { children: KEYFRAMES }), _jsx(FluxGlows, {}), _jsx(FluxSparks, {})] }));
|
|
138
|
-
}
|