@gfazioli/mantine-scene 2.1.2 → 2.2.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.
Files changed (37) hide show
  1. package/README.md +5 -1
  2. package/dist/cjs/Scene.cjs +6 -0
  3. package/dist/cjs/Scene.cjs.map +1 -1
  4. package/dist/cjs/Scene.module.css.cjs +1 -1
  5. package/dist/cjs/SceneBeams/SceneBeams.cjs +81 -0
  6. package/dist/cjs/SceneBeams/SceneBeams.cjs.map +1 -0
  7. package/dist/cjs/SceneGlobe/SceneGlobe.cjs +320 -0
  8. package/dist/cjs/SceneGlobe/SceneGlobe.cjs.map +1 -0
  9. package/dist/cjs/SceneRadar/SceneRadar.cjs +122 -0
  10. package/dist/cjs/SceneRadar/SceneRadar.cjs.map +1 -0
  11. package/dist/cjs/SceneStarField/SceneStarField.cjs +38 -34
  12. package/dist/cjs/SceneStarField/SceneStarField.cjs.map +1 -1
  13. package/dist/cjs/SceneWaves/SceneWaves.cjs +8 -4
  14. package/dist/cjs/SceneWaves/SceneWaves.cjs.map +1 -1
  15. package/dist/esm/Scene.mjs +6 -0
  16. package/dist/esm/Scene.mjs.map +1 -1
  17. package/dist/esm/Scene.module.css.mjs +1 -1
  18. package/dist/esm/SceneBeams/SceneBeams.mjs +79 -0
  19. package/dist/esm/SceneBeams/SceneBeams.mjs.map +1 -0
  20. package/dist/esm/SceneGlobe/SceneGlobe.mjs +318 -0
  21. package/dist/esm/SceneGlobe/SceneGlobe.mjs.map +1 -0
  22. package/dist/esm/SceneRadar/SceneRadar.mjs +120 -0
  23. package/dist/esm/SceneRadar/SceneRadar.mjs.map +1 -0
  24. package/dist/esm/SceneStarField/SceneStarField.mjs +38 -34
  25. package/dist/esm/SceneStarField/SceneStarField.mjs.map +1 -1
  26. package/dist/esm/SceneWaves/SceneWaves.mjs +8 -4
  27. package/dist/esm/SceneWaves/SceneWaves.mjs.map +1 -1
  28. package/dist/styles.css +1 -1
  29. package/dist/styles.layer.css +1 -1
  30. package/dist/types/Scene.d.ts +13 -1
  31. package/dist/types/SceneBeams/SceneBeams.d.ts +53 -0
  32. package/dist/types/SceneGlobe/SceneGlobe.d.ts +134 -0
  33. package/dist/types/SceneRadar/SceneRadar.d.ts +57 -0
  34. package/dist/types/SceneStarField/SceneStarField.d.ts +10 -2
  35. package/dist/types/index.d.mts +1 -1
  36. package/dist/types/index.d.ts +1 -1
  37. package/package.json +14 -3
@@ -2,19 +2,22 @@ import { BoxProps, Factory, StylesApiProps } from '@mantine/core';
2
2
  import React from 'react';
3
3
  import { type SceneMousePosition } from './Scene.context';
4
4
  import { SceneAurora } from './SceneAurora/SceneAurora';
5
+ import { SceneBeams } from './SceneBeams/SceneBeams';
5
6
  import { SceneConfetti } from './SceneConfetti/SceneConfetti';
6
7
  import { SceneDotGrid } from './SceneDotGrid/SceneDotGrid';
8
+ import { SceneGlobe } from './SceneGlobe/SceneGlobe';
7
9
  import { SceneGlow } from './SceneGlow/SceneGlow';
8
10
  import { SceneGradient } from './SceneGradient/SceneGradient';
9
11
  import { SceneMesh } from './SceneMesh/SceneMesh';
10
12
  import { SceneNoise } from './SceneNoise/SceneNoise';
13
+ import { SceneRadar } from './SceneRadar/SceneRadar';
11
14
  import { SceneRain } from './SceneRain/SceneRain';
12
15
  import { SceneShootingStar } from './SceneShootingStar/SceneShootingStar';
13
16
  import { SceneSnow } from './SceneSnow/SceneSnow';
14
17
  import { SceneStarField } from './SceneStarField/SceneStarField';
15
18
  import { SceneStarWarp } from './SceneStarWarp/SceneStarWarp';
16
19
  import { SceneWaves } from './SceneWaves/SceneWaves';
17
- export type SceneStylesNames = 'root' | 'gradient' | 'dotGrid' | 'glow' | 'mesh' | 'noise' | 'starField' | 'shootingStar' | 'snow' | 'rain' | 'confetti' | 'aurora' | 'starWarp' | 'waves';
20
+ export type SceneStylesNames = 'root' | 'gradient' | 'dotGrid' | 'glow' | 'mesh' | 'noise' | 'radar' | 'beams' | 'globe' | 'globeCanvas' | 'starField' | 'shootingStar' | 'snow' | 'rain' | 'confetti' | 'aurora' | 'starWarp' | 'waves';
18
21
  export type SceneCssVariables = {
19
22
  root: '--scene-z-index';
20
23
  };
@@ -66,6 +69,9 @@ export type SceneFactory = Factory<{
66
69
  Glow: typeof SceneGlow;
67
70
  Mesh: typeof SceneMesh;
68
71
  Noise: typeof SceneNoise;
72
+ Radar: typeof SceneRadar;
73
+ Beams: typeof SceneBeams;
74
+ Globe: typeof SceneGlobe;
69
75
  StarField: typeof SceneStarField;
70
76
  ShootingStar: typeof SceneShootingStar;
71
77
  Snow: typeof SceneSnow;
@@ -87,6 +93,9 @@ export declare const Scene: import("@mantine/core").MantineComponent<{
87
93
  Glow: typeof SceneGlow;
88
94
  Mesh: typeof SceneMesh;
89
95
  Noise: typeof SceneNoise;
96
+ Radar: typeof SceneRadar;
97
+ Beams: typeof SceneBeams;
98
+ Globe: typeof SceneGlobe;
90
99
  StarField: typeof SceneStarField;
91
100
  ShootingStar: typeof SceneShootingStar;
92
101
  Snow: typeof SceneSnow;
@@ -102,6 +111,9 @@ export type { SceneDotGridProps } from './SceneDotGrid/SceneDotGrid';
102
111
  export type { SceneGlowProps } from './SceneGlow/SceneGlow';
103
112
  export type { SceneMeshProps, SceneMeshStop } from './SceneMesh/SceneMesh';
104
113
  export type { SceneNoiseProps } from './SceneNoise/SceneNoise';
114
+ export type { SceneRadarArcDirection, SceneRadarProps, SceneRadarShape, } from './SceneRadar/SceneRadar';
115
+ export type { SceneBeamsDirection, SceneBeamsProps } from './SceneBeams/SceneBeams';
116
+ export type { SceneGlobeMarker, SceneGlobeProps } from './SceneGlobe/SceneGlobe';
105
117
  export type { SceneStarFieldProps } from './SceneStarField/SceneStarField';
106
118
  export type { SceneShootingStarProps } from './SceneShootingStar/SceneShootingStar';
107
119
  export type { SceneSnowProps } from './SceneSnow/SceneSnow';
@@ -0,0 +1,53 @@
1
+ import { type MantineColor } from '@mantine/core';
2
+ import React from 'react';
3
+ export type SceneBeamsDirection = 'horizontal' | 'vertical';
4
+ export interface SceneBeamsProps {
5
+ /** Number of beams rendered.
6
+ * @default 5
7
+ */
8
+ count?: number;
9
+ /** Minimum seconds for a beam's traversal across the scene.
10
+ * @default 4
11
+ */
12
+ minDuration?: number;
13
+ /** Maximum seconds for a beam's traversal across the scene.
14
+ * @default 12
15
+ */
16
+ maxDuration?: number;
17
+ /** Beam thickness in px (width for vertical beams, height for horizontal).
18
+ * @default 80
19
+ */
20
+ width?: number;
21
+ /** Peak opacity at the bright moment of the sweep (0..1).
22
+ * @default 0.35
23
+ */
24
+ opacity?: number;
25
+ /** Gaussian blur applied to every beam in px — softens the edges.
26
+ * @default 24
27
+ */
28
+ blur?: number;
29
+ /** Corner radius applied to each beam — accepts a number in px or any CSS length. Pair with a small `width` to get pill / capsule beams, or set to `0` for hard-edged columns.
30
+ * @default 999
31
+ */
32
+ radius?: number | string;
33
+ /** Colors cycled across beams — Mantine theme colors or any CSS colors. Pass a single color to paint every beam the same shade, or an array to cycle.
34
+ * @default ['blue', 'grape', 'cyan']
35
+ */
36
+ colors?: MantineColor | MantineColor[];
37
+ /** Sweep axis. `'vertical'` paints columns that traverse left↔right; `'horizontal'` paints rows that traverse top↔bottom.
38
+ * @default 'vertical'
39
+ */
40
+ direction?: SceneBeamsDirection;
41
+ /** Seed for deterministic positions / durations. Same seed → identical layout.
42
+ * @default 1
43
+ */
44
+ seed?: number;
45
+ /** Additional className */
46
+ className?: string;
47
+ /** Additional inline styles */
48
+ style?: React.CSSProperties;
49
+ }
50
+ export declare function SceneBeams({ count, minDuration, maxDuration, width, opacity, blur, radius, colors, direction, seed, className, style, }: SceneBeamsProps): React.JSX.Element;
51
+ export declare namespace SceneBeams {
52
+ var displayName: string;
53
+ }
@@ -0,0 +1,134 @@
1
+ import { type MantineColor } from '@mantine/core';
2
+ import React from 'react';
3
+ export interface SceneGlobeMarker {
4
+ /** [latitude, longitude] in degrees. */
5
+ location: [number, number];
6
+ /** Marker dot size in cobe's normalised units. @default 0.05 */
7
+ size?: number;
8
+ /** Optional per-marker colour override — falls back to the globe's `markerColor`. */
9
+ color?: MantineColor;
10
+ }
11
+ export interface SceneGlobeArc {
12
+ /** Start point [latitude, longitude] in degrees. */
13
+ from: [number, number];
14
+ /** End point [latitude, longitude] in degrees. */
15
+ to: [number, number];
16
+ /** Optional per-arc colour override — falls back to the globe's `arcColor`. */
17
+ color?: MantineColor;
18
+ }
19
+ export interface SceneGlobeProps {
20
+ /** Canvas size in px (square). Renders at `size × pixelRatio` for crisp HiDPI.
21
+ * @default 600
22
+ */
23
+ size?: number;
24
+ /** Initial longitude rotation in radians.
25
+ * @default 0
26
+ */
27
+ phi?: number;
28
+ /** Latitude tilt in radians. Positive values lean north.
29
+ * @default 0.3
30
+ */
31
+ theta?: number;
32
+ /** When true, the globe spins on its vertical axis at `autoRotateSpeed`.
33
+ * @default true
34
+ */
35
+ autoRotate?: boolean;
36
+ /** Radians added to `phi` on every animation frame.
37
+ * @default 0.005
38
+ */
39
+ autoRotateSpeed?: number;
40
+ /** Enable pointer-drag rotation. Disables auto-rotate while dragging.
41
+ * @default true
42
+ */
43
+ interactive?: boolean;
44
+ /** Map of markers ([lat, lng]) plotted on the surface. */
45
+ markers?: SceneGlobeMarker[];
46
+ /** Sphere base colour — the colour of the continents. Mantine theme color or any CSS color.
47
+ * @default 'gray.5'
48
+ */
49
+ baseColor?: MantineColor;
50
+ /** Atmospheric glow colour around the sphere. The alpha channel is ignored by cobe — use `glowIntensity` to fade or disable the glow instead.
51
+ * @default 'blue.5'
52
+ */
53
+ glowColor?: MantineColor;
54
+ /** Glow strength multiplier (0..1). `0` disables the glow entirely; `1` is the natural intensity of `glowColor`. Use this instead of alpha — cobe's WebGL shader doesn't read the alpha channel of the colour tuples.
55
+ * @default 1
56
+ */
57
+ glowIntensity?: number;
58
+ /** Colour used for the optional `markers` dots (lat/lng points).
59
+ * @default 'orange.5'
60
+ */
61
+ markerColor?: MantineColor;
62
+ /** Cobe's `dark` flag — `1` increases visibility of the night side of the planet, `0` fades it out (cleaner planet silhouette). Set to `'auto'` to mirror the Mantine color scheme.
63
+ * @default 0
64
+ */
65
+ dark?: 'auto' | boolean | 0 | 1;
66
+ /** How many dots make up the continents — higher = denser, more "solid" looking map. Values above ~32000 can introduce sampling artifacts in cobe's shader, so keep it in `[4000, 32000]` for clean rendering.
67
+ * @default 16000
68
+ */
69
+ mapSamples?: number;
70
+ /** How bright the continent dots are against `baseColor`. Increase if the planet looks empty on dark themes.
71
+ * @default 12
72
+ */
73
+ mapBrightness?: number;
74
+ /** Light diffusion across the sphere — controls how much the lit hemisphere bleeds into the dark side.
75
+ * @default 3
76
+ */
77
+ diffuse?: number;
78
+ /** Ambient brightness of the texture *underneath* the lit continents. Raise for a fuller, less contrasty planet.
79
+ * @default 0
80
+ */
81
+ mapBaseBrightness?: number;
82
+ /** Arcs (curved lines) drawn between two locations — perfect for flight paths / network topologies. */
83
+ arcs?: SceneGlobeArc[];
84
+ /** Default arc colour — overridden per-arc by `arc.color`.
85
+ * @default 'blue.4'
86
+ */
87
+ arcColor?: MantineColor;
88
+ /** Arc stroke thickness multiplier.
89
+ * @default 0.5
90
+ */
91
+ arcWidth?: number;
92
+ /** Peak height of each arc above the surface (in cobe's normalised units).
93
+ * @default 0.3
94
+ */
95
+ arcHeight?: number;
96
+ /** How far each marker dot pops out of the surface (cobe units).
97
+ * @default 0.05
98
+ */
99
+ markerElevation?: number;
100
+ /** Canvas-relative offset `[x, y]` in cobe units — shift the sphere off-centre. Useful for "half globe" hero layouts.
101
+ * @default [0, 0]
102
+ */
103
+ offset?: [number, number];
104
+ /** Scale multiplier for the sphere — values >1 zoom in, <1 zoom out.
105
+ * @default 1
106
+ */
107
+ scale?: number;
108
+ /** Initial focus point [latitude, longitude] — the sphere is oriented so this point faces the viewer. Overrides `phi` / `theta` when set. */
109
+ focus?: [number, number];
110
+ /** Continue spinning with momentum after the user releases a drag. Pass a number in `[0, 1)` to set the per-frame decay factor manually — `0.85` snaps fast, `0.97` glides for a long time, `0.92` (default) feels natural. `true` = `0.92`, `false` disables inertia.
111
+ * @default true
112
+ */
113
+ inertia?: boolean | number;
114
+ /** Which axes respond to pointer drag. `'x'` = longitude only (default), `'y'` = latitude only, `'both'` = drag in 2D.
115
+ * @default 'x'
116
+ */
117
+ dragAxis?: 'x' | 'y' | 'both';
118
+ /** When the parent `Scene` has `interactive=true`, rotate the globe to follow the cursor instead of (or in addition to) auto-rotation. Drag still wins while the pointer is down.
119
+ * @default false
120
+ */
121
+ followCursor?: boolean;
122
+ /** Overall opacity (0..1).
123
+ * @default 1
124
+ */
125
+ opacity?: number;
126
+ /** Additional className */
127
+ className?: string;
128
+ /** Additional inline styles */
129
+ style?: React.CSSProperties;
130
+ }
131
+ export declare function SceneGlobe({ size, phi: phiInitial, theta, autoRotate, autoRotateSpeed, interactive, markers, baseColor, glowColor, glowIntensity, markerColor, dark, mapSamples, mapBrightness, diffuse, mapBaseBrightness, arcs, arcColor, arcWidth, arcHeight, markerElevation, offset, scale, focus, inertia, dragAxis, followCursor, opacity, className, style, }: SceneGlobeProps): React.JSX.Element;
132
+ export declare namespace SceneGlobe {
133
+ var displayName: string;
134
+ }
@@ -0,0 +1,57 @@
1
+ import { type MantineColor } from '@mantine/core';
2
+ import React from 'react';
3
+ export type SceneRadarShape = 'arc' | 'circle';
4
+ export type SceneRadarArcDirection = 'up' | 'down' | 'left' | 'right';
5
+ export interface SceneRadarProps {
6
+ /** Origin of the waves expressed as 'x y' (any CSS length). When omitted, defaults to the edge opposite `arcDirection` (so the arc opens into the viewport) for `shape='arc'`, and to `50% 50%` for `shape='circle'`.
7
+ */
8
+ origin?: string;
9
+ /** Wave shape — `'arc'` clips one hemisphere (Wi-Fi icon look), `'circle'` keeps the full ring.
10
+ * @default 'arc'
11
+ */
12
+ shape?: SceneRadarShape;
13
+ /** Which side the open hemisphere faces — only meaningful when `shape='arc'`.
14
+ * @default 'up'
15
+ */
16
+ arcDirection?: SceneRadarArcDirection;
17
+ /** Number of concurrent waves stacked / emitted in rotation.
18
+ * @default 4
19
+ */
20
+ count?: number;
21
+ /** Seconds between successive emissions. Each wave's `animation-delay` is `index * interval`.
22
+ * @default 1.5
23
+ */
24
+ interval?: number;
25
+ /** Seconds for a single wave to travel from origin to `maxRadius`.
26
+ * @default 6
27
+ */
28
+ duration?: number;
29
+ /** Final diameter the ring grows to at the end of its lifecycle — accepts any CSS length (`'1200px'`, `'60vmax'`, …).
30
+ * @default '1400px'
31
+ */
32
+ size?: string;
33
+ /** Ring color — Mantine theme color name or any CSS color.
34
+ * @default 'blue'
35
+ */
36
+ color?: MantineColor;
37
+ /** Ring outline thickness in pixels.
38
+ * @default 2
39
+ */
40
+ strokeWidth?: number;
41
+ /** Optional Gaussian blur applied to every ring in px — softens the rings for a dreamy look.
42
+ * @default 0
43
+ */
44
+ blur?: number;
45
+ /** Brightness at the moment a wave finishes emerging (10% into its lifecycle). Decays linearly to 0 across the rest of the journey.
46
+ * @default 0.45
47
+ */
48
+ peakOpacity?: number;
49
+ /** Additional className */
50
+ className?: string;
51
+ /** Additional inline styles */
52
+ style?: React.CSSProperties;
53
+ }
54
+ export declare function SceneRadar({ origin, shape, arcDirection, count, interval, duration, size, color, strokeWidth, blur, peakOpacity, className, style, }: SceneRadarProps): React.JSX.Element;
55
+ export declare namespace SceneRadar {
56
+ var displayName: string;
57
+ }
@@ -21,10 +21,18 @@ export interface SceneStarFieldProps {
21
21
  * @default true
22
22
  */
23
23
  twinkle?: boolean;
24
- /** Twinkle animation duration in seconds
24
+ /** Central twinkle animation duration in seconds. When `minDuration`/`maxDuration` are not provided, the per-star duration is randomized in `[duration * 0.5, duration * 1.5]` so every star breathes at its own pace.
25
25
  * @default 3
26
26
  */
27
27
  duration?: number;
28
+ /** Minimum per-star twinkle duration in seconds. Overrides the value derived from `duration`. */
29
+ minDuration?: number;
30
+ /** Maximum per-star twinkle duration in seconds. Overrides the value derived from `duration`. */
31
+ maxDuration?: number;
32
+ /** Density multiplier on `count` (0..1) — useful for responsive thinning without changing `count`.
33
+ * @default 1
34
+ */
35
+ density?: number;
28
36
  /** PRNG seed for deterministic star positions
29
37
  * @default 42
30
38
  */
@@ -38,7 +46,7 @@ export interface SceneStarFieldProps {
38
46
  /** Additional inline styles */
39
47
  style?: React.CSSProperties;
40
48
  }
41
- export declare function SceneStarField({ count: countProp, color, minSize, maxSize, twinkle, duration, seed, opacity, className, style, }: SceneStarFieldProps): React.JSX.Element;
49
+ export declare function SceneStarField({ count: countProp, color, minSize, maxSize, twinkle, duration, minDuration, maxDuration, density, seed, opacity, className, style, }: SceneStarFieldProps): React.JSX.Element;
42
50
  export declare namespace SceneStarField {
43
51
  var displayName: string;
44
52
  }
@@ -1,4 +1,4 @@
1
1
  export { Scene } from './Scene';
2
- export type { SceneAuroraProps, SceneBaseProps, SceneConfettiOrigin, SceneConfettiProps, SceneConfettiShape, SceneCssVariables, SceneDotGridProps, SceneFactory, SceneGlowProps, SceneGradientProps, SceneMeshProps, SceneMeshStop, SceneNoiseProps, SceneProps, SceneRainProps, SceneShootingStarProps, SceneSnowProps, SceneStarFieldProps, SceneStarWarpProps, SceneStylesNames, SceneWavesDirection, SceneWavesPosition, SceneWavesProps, } from './Scene';
2
+ export type { SceneAuroraProps, SceneBaseProps, SceneBeamsDirection, SceneBeamsProps, SceneConfettiOrigin, SceneConfettiProps, SceneConfettiShape, SceneCssVariables, SceneDotGridProps, SceneFactory, SceneGlobeMarker, SceneGlobeProps, SceneGlowProps, SceneGradientProps, SceneMeshProps, SceneMeshStop, SceneNoiseProps, SceneProps, SceneRadarArcDirection, SceneRadarProps, SceneRadarShape, SceneRainProps, SceneShootingStarProps, SceneSnowProps, SceneStarFieldProps, SceneStarWarpProps, SceneStylesNames, SceneWavesDirection, SceneWavesPosition, SceneWavesProps, } from './Scene';
3
3
  export { useSceneContext } from './Scene.context';
4
4
  export type { ResponsiveValue } from './use-responsive-value';
@@ -1,4 +1,4 @@
1
1
  export { Scene } from './Scene';
2
- export type { SceneAuroraProps, SceneBaseProps, SceneConfettiOrigin, SceneConfettiProps, SceneConfettiShape, SceneCssVariables, SceneDotGridProps, SceneFactory, SceneGlowProps, SceneGradientProps, SceneMeshProps, SceneMeshStop, SceneNoiseProps, SceneProps, SceneRainProps, SceneShootingStarProps, SceneSnowProps, SceneStarFieldProps, SceneStarWarpProps, SceneStylesNames, SceneWavesDirection, SceneWavesPosition, SceneWavesProps, } from './Scene';
2
+ export type { SceneAuroraProps, SceneBaseProps, SceneBeamsDirection, SceneBeamsProps, SceneConfettiOrigin, SceneConfettiProps, SceneConfettiShape, SceneCssVariables, SceneDotGridProps, SceneFactory, SceneGlobeMarker, SceneGlobeProps, SceneGlowProps, SceneGradientProps, SceneMeshProps, SceneMeshStop, SceneNoiseProps, SceneProps, SceneRadarArcDirection, SceneRadarProps, SceneRadarShape, SceneRainProps, SceneShootingStarProps, SceneSnowProps, SceneStarFieldProps, SceneStarWarpProps, SceneStylesNames, SceneWavesDirection, SceneWavesPosition, SceneWavesProps, } from './Scene';
3
3
  export { useSceneContext } from './Scene.context';
4
4
  export type { ResponsiveValue } from './use-responsive-value';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gfazioli/mantine-scene",
3
- "version": "2.1.2",
4
- "description": "A composable decorative background component for React applications built with Mantine. Layer gradients, glow blobs, dot grids, mesh gradients, noise, particles, rain, confetti, and parallax SVG waves to create rich atmospheric backgrounds — with viewport-aware lazy mode and interactive mouse tracking.",
3
+ "version": "2.2.0",
4
+ "description": "A composable decorative background component for React applications built with Mantine. Layer gradients, glow blobs, dot grids, mesh gradients, noise, star fields, shooting stars, snow, rain, confetti, parallax SVG waves, radar pulses, sweeping beams and an interactive 3D globe (cobe) to create rich atmospheric backgrounds — with viewport-aware lazy mode and interactive mouse tracking.",
5
5
  "homepage": "https://gfazioli.github.io/mantine-scene/",
6
6
  "packageManager": "yarn@4.0.1",
7
7
  "license": "MIT",
@@ -9,10 +9,13 @@
9
9
  "keywords": [
10
10
  "aurora",
11
11
  "background",
12
+ "beams",
13
+ "cobe",
12
14
  "component",
13
15
  "confetti",
14
16
  "decorative",
15
17
  "extension",
18
+ "globe",
16
19
  "glow",
17
20
  "gradient",
18
21
  "lazy",
@@ -23,6 +26,7 @@
23
26
  "noise",
24
27
  "parallax",
25
28
  "particles",
29
+ "radar",
26
30
  "rain",
27
31
  "react",
28
32
  "react-component",
@@ -30,7 +34,8 @@
30
34
  "starfield",
31
35
  "svg",
32
36
  "typescript",
33
- "waves"
37
+ "waves",
38
+ "webgl"
34
39
  ],
35
40
  "main": "./dist/cjs/index.cjs",
36
41
  "module": "./dist/esm/index.mjs",
@@ -53,8 +58,14 @@
53
58
  "peerDependencies": {
54
59
  "@mantine/core": ">=7.0.0",
55
60
  "@mantine/hooks": ">=7.0.0",
61
+ "cobe": ">=0.6.0",
56
62
  "react": "^18.x || ^19.x",
57
63
  "react-dom": "^18.x || ^19.x"
58
64
  },
65
+ "peerDependenciesMeta": {
66
+ "cobe": {
67
+ "optional": true
68
+ }
69
+ },
59
70
  "bugs": "https://github.com/gfazioli/mantine-scene/issues"
60
71
  }