@compose-market/theme 0.0.2 → 0.0.4

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 (82) hide show
  1. package/dist/css/dark.css +38 -0
  2. package/dist/css/index.css +10 -0
  3. package/dist/css/index.d.ts +16 -0
  4. package/dist/css/index.d.ts.map +1 -0
  5. package/dist/css/index.js +97 -0
  6. package/dist/css/index.js.map +1 -0
  7. package/dist/css/light.css +70 -0
  8. package/dist/css/shell.css +414 -0
  9. package/dist/css/tokens.css +24 -0
  10. package/dist/index.d.ts +7 -5
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +7 -5
  13. package/dist/index.js.map +1 -1
  14. package/dist/shell/index.d.ts +67 -0
  15. package/dist/shell/index.d.ts.map +1 -0
  16. package/dist/shell/index.js +45 -0
  17. package/dist/shell/index.js.map +1 -0
  18. package/dist/shell/styles.d.ts +2 -0
  19. package/dist/shell/styles.d.ts.map +1 -0
  20. package/dist/shell/styles.js +416 -0
  21. package/dist/shell/styles.js.map +1 -0
  22. package/dist/tailwind/preset.d.ts +282 -0
  23. package/dist/tailwind/preset.d.ts.map +1 -0
  24. package/dist/tailwind/preset.js +144 -0
  25. package/dist/tailwind/preset.js.map +1 -0
  26. package/package.json +16 -41
  27. package/dist/components/brand/Logo.d.ts +0 -25
  28. package/dist/components/brand/Logo.d.ts.map +0 -1
  29. package/dist/components/brand/Logo.js +0 -20
  30. package/dist/components/brand/Logo.js.map +0 -1
  31. package/dist/components/brand/index.d.ts +0 -2
  32. package/dist/components/brand/index.d.ts.map +0 -1
  33. package/dist/components/brand/index.js +0 -2
  34. package/dist/components/brand/index.js.map +0 -1
  35. package/dist/components/session.d.ts +0 -58
  36. package/dist/components/session.d.ts.map +0 -1
  37. package/dist/components/session.js +0 -280
  38. package/dist/components/session.js.map +0 -1
  39. package/dist/components/ui/badge.d.ts +0 -10
  40. package/dist/components/ui/badge.d.ts.map +0 -1
  41. package/dist/components/ui/badge.js +0 -24
  42. package/dist/components/ui/badge.js.map +0 -1
  43. package/dist/components/ui/button.d.ts +0 -14
  44. package/dist/components/ui/button.d.ts.map +0 -1
  45. package/dist/components/ui/button.js +0 -43
  46. package/dist/components/ui/button.js.map +0 -1
  47. package/dist/components/ui/card.d.ts +0 -13
  48. package/dist/components/ui/card.d.ts.map +0 -1
  49. package/dist/components/ui/card.js +0 -18
  50. package/dist/components/ui/card.js.map +0 -1
  51. package/dist/components/ui/dialog.d.ts +0 -20
  52. package/dist/components/ui/dialog.d.ts.map +0 -1
  53. package/dist/components/ui/dialog.js +0 -23
  54. package/dist/components/ui/dialog.js.map +0 -1
  55. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  56. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  57. package/dist/components/ui/dropdown-menu.js +0 -37
  58. package/dist/components/ui/dropdown-menu.js.map +0 -1
  59. package/dist/components/ui/index.d.ts +0 -7
  60. package/dist/components/ui/index.d.ts.map +0 -1
  61. package/dist/components/ui/index.js +0 -7
  62. package/dist/components/ui/index.js.map +0 -1
  63. package/dist/components/ui/progress.d.ts +0 -5
  64. package/dist/components/ui/progress.d.ts.map +0 -1
  65. package/dist/components/ui/progress.js +0 -9
  66. package/dist/components/ui/progress.js.map +0 -1
  67. package/dist/components/ui/surface-variant.d.ts +0 -4
  68. package/dist/components/ui/surface-variant.d.ts.map +0 -1
  69. package/dist/components/ui/surface-variant.js +0 -10
  70. package/dist/components/ui/surface-variant.js.map +0 -1
  71. package/dist/lib/utils.d.ts +0 -3
  72. package/dist/lib/utils.d.ts.map +0 -1
  73. package/dist/lib/utils.js +0 -6
  74. package/dist/lib/utils.js.map +0 -1
  75. package/dist/lib/visual-system.d.ts +0 -39
  76. package/dist/lib/visual-system.d.ts.map +0 -1
  77. package/dist/lib/visual-system.js +0 -129
  78. package/dist/lib/visual-system.js.map +0 -1
  79. package/dist/utils/index.d.ts +0 -2
  80. package/dist/utils/index.d.ts.map +0 -1
  81. package/dist/utils/index.js +0 -2
  82. package/dist/utils/index.js.map +0 -1
@@ -1,37 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import * as React from "react";
4
- import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
5
- import { Check, ChevronRight, Circle } from "lucide-react";
6
- import { cn } from "@/lib/utils";
7
- const DropdownMenu = DropdownMenuPrimitive.Root;
8
- const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
9
- const DropdownMenuGroup = DropdownMenuPrimitive.Group;
10
- const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
11
- const DropdownMenuSub = DropdownMenuPrimitive.Sub;
12
- const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
13
- const DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.SubTrigger, { ref: ref, className: cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", inset && "pl-8", className), ...props, children: [children, _jsx(ChevronRight, { className: "ml-auto" })] })));
14
- DropdownMenuSubTrigger.displayName =
15
- DropdownMenuPrimitive.SubTrigger.displayName;
16
- const DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(DropdownMenuPrimitive.SubContent, { ref: ref, className: cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", className), ...props })));
17
- DropdownMenuSubContent.displayName =
18
- DropdownMenuPrimitive.SubContent.displayName;
19
- const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Portal, { children: _jsx(DropdownMenuPrimitive.Content, { ref: ref, sideOffset: sideOffset, className: cn("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]", className), ...props }) })));
20
- DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
21
- const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Item, { ref: ref, className: cn("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", inset && "pl-8", className), ...props })));
22
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
23
- const DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.CheckboxItem, { ref: ref, className: cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className), checked: checked, ...props, children: [_jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Check, { className: "h-4 w-4" }) }) }), children] })));
24
- DropdownMenuCheckboxItem.displayName =
25
- DropdownMenuPrimitive.CheckboxItem.displayName;
26
- const DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.RadioItem, { ref: ref, className: cn("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className), ...props, children: [_jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }), children] })));
27
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
28
- const DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Label, { ref: ref, className: cn("px-2 py-1.5 text-sm font-semibold", inset && "pl-8", className), ...props })));
29
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
30
- const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Separator, { ref: ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props })));
31
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
32
- const DropdownMenuShortcut = ({ className, ...props }) => {
33
- return (_jsx("span", { className: cn("ml-auto text-xs tracking-widest opacity-60", className), ...props }));
34
- };
35
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
36
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
37
- //# sourceMappingURL=dropdown-menu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dropdown-menu.js","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AE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,KAAC,qBAAqB,CAAC,SAAS,IAC9B,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,0BAA0B,EAAE,SAAS,CAAC,KAChD,KAAK,GACT,CACH,CAAC,CAAA;AACF,qBAAqB,CAAC,WAAW,GAAG,qBAAqB,CAAC,SAAS,CAAC,WAAW,CAAA;AAE/E,MAAM,oBAAoB,GAAG,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EAC8B,EAAE,EAAE;IAC1C,OAAO,CACL,eACE,SAAS,EAAE,EAAE,CAAC,4CAA4C,EAAE,SAAS,CAAC,KAClE,KAAK,GACT,CACH,CAAA;AACH,CAAC,CAAA;AACD,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAA;AAEzD,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
@@ -1,7 +0,0 @@
1
- export * from "./badge";
2
- export * from "./button";
3
- export * from "./card";
4
- export * from "./dialog";
5
- export * from "./dropdown-menu";
6
- export * from "./progress";
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
@@ -1,7 +0,0 @@
1
- export * from "./badge";
2
- export * from "./button";
3
- export * from "./card";
4
- export * from "./dialog";
5
- export * from "./dropdown-menu";
6
- export * from "./progress";
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- import * as ProgressPrimitive from "@radix-ui/react-progress";
3
- declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export { Progress };
5
- //# sourceMappingURL=progress.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAI7D,QAAA,MAAM,QAAQ,2JAiBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,9 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import * as React from "react";
4
- import * as ProgressPrimitive from "@radix-ui/react-progress";
5
- import { cn } from "@/lib/utils";
6
- const Progress = React.forwardRef(({ className, value, ...props }, ref) => (_jsx(ProgressPrimitive.Root, { ref: ref, className: cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className), ...props, children: _jsx(ProgressPrimitive.Indicator, { className: "h-full w-full flex-1 bg-primary transition-all", style: { transform: `translateX(-${100 - (value || 0)}%)` } }) })));
7
- Progress.displayName = ProgressPrimitive.Root.displayName;
8
- export { Progress };
9
- //# sourceMappingURL=progress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAE7D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,gEAAgE,EAChE,SAAS,CACV,KACG,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAC1B,SAAS,EAAC,gDAAgD,EAC1D,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,GAAG,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,IAAI,EAAE,GAC3D,GACqB,CAC1B,CAAC,CAAA;AACF,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAA;AAEzD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { SurfaceVariant } from "@/lib/visual-system";
2
- export declare function getSurfaceClasses(surface: SurfaceVariant): string;
3
- export type { SurfaceVariant };
4
- //# sourceMappingURL=surface-variant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"surface-variant.d.ts","sourceRoot":"","sources":["../../../src/components/ui/surface-variant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAY1D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,CAEjE;AAED,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -1,10 +0,0 @@
1
- const SURFACE_CLASSES = {
2
- default: "",
3
- liquid: "surface-liquid border-cyan-500/30 shadow-[0_0_0_1px_hsl(188_95%_43%/0.16),0_12px_36px_hsl(188_95%_43%/0.16)]",
4
- acid: "surface-acid border-fuchsia-500/35 shadow-[0_0_0_1px_hsl(292_85%_55%/0.2),0_12px_40px_hsl(292_85%_55%/0.14)]",
5
- wire: "surface-wire border-cyan-500/25 shadow-[inset_0_0_0_1px_hsl(188_95%_43%/0.16),0_10px_28px_hsl(222_47%_2%/0.52)]",
6
- };
7
- export function getSurfaceClasses(surface) {
8
- return SURFACE_CLASSES[surface];
9
- }
10
- //# sourceMappingURL=surface-variant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"surface-variant.js","sourceRoot":"","sources":["../../../src/components/ui/surface-variant.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAmC;IACtD,OAAO,EAAE,EAAE;IACX,MAAM,EACJ,8GAA8G;IAChH,IAAI,EACF,8GAA8G;IAChH,IAAI,EACF,iHAAiH;CACpH,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,OAAuB;IACvD,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { type ClassValue } from "clsx";
2
- export declare function cn(...inputs: ClassValue[]): string;
3
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAA;AAG5C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
package/dist/lib/utils.js DELETED
@@ -1,6 +0,0 @@
1
- import { clsx } from "clsx";
2
- import { twMerge } from "tailwind-merge";
3
- export function cn(...inputs) {
4
- return twMerge(clsx(inputs));
5
- }
6
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAmB,MAAM,MAAM,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC"}
@@ -1,39 +0,0 @@
1
- export type RouteVisualMode = "home" | "market" | "compose" | "chat" | "registry" | "default";
2
- export interface MotionProfile {
3
- lenisLerp: number;
4
- parallaxScale: number;
5
- sectionScrub: number;
6
- transitionDurationMs: number;
7
- overlayDriftSpeed: number;
8
- }
9
- export interface VisualIntensityProfile {
10
- fluidAmplitude: number;
11
- tendrilDensity: number;
12
- latticeOpacity: number;
13
- glowBoost: number;
14
- meltDistortion: number;
15
- }
16
- export interface ManowarFieldConfig {
17
- mode: RouteVisualMode;
18
- pulseSpeed: number;
19
- pulseSize: number;
20
- tentacleCount: number;
21
- bioluminescence: number;
22
- fallbackGradient: string;
23
- }
24
- export interface SceneDefinition {
25
- id: string;
26
- title: string;
27
- snap: boolean;
28
- start: string;
29
- end: string;
30
- parallaxStrength: number;
31
- meltStrength: number;
32
- }
33
- export type SurfaceVariant = "default" | "liquid" | "acid" | "wire";
34
- export declare const DEFAULT_MOTION_PROFILE: MotionProfile;
35
- export declare const REDUCED_MOTION_PROFILE: MotionProfile;
36
- export declare function getRouteVisualMode(pathname: string): RouteVisualMode;
37
- export declare function getVisualIntensityProfile(mode: RouteVisualMode): VisualIntensityProfile;
38
- export declare function getManowarFieldConfig(mode: RouteVisualMode): ManowarFieldConfig;
39
- //# sourceMappingURL=visual-system.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-system.d.ts","sourceRoot":"","sources":["../../src/lib/visual-system.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE9F,MAAM,WAAW,aAAa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isLerp: 0.08,
3
- parallaxScale: 1,
4
- sectionScrub: 0.75,
5
- transitionDurationMs: 360,
6
- overlayDriftSpeed: 1,
7
- };
8
- export const REDUCED_MOTION_PROFILE = {
9
- lenisLerp: 1,
10
- parallaxScale: 0.2,
11
- sectionScrub: 0,
12
- transitionDurationMs: 120,
13
- overlayDriftSpeed: 0,
14
- };
15
- const VISUAL_INTENSITY_BY_MODE = {
16
- home: {
17
- fluidAmplitude: 1,
18
- tendrilDensity: 1,
19
- latticeOpacity: 0.7,
20
- glowBoost: 1,
21
- meltDistortion: 0.8,
22
- },
23
- market: {
24
- fluidAmplitude: 0.82,
25
- tendrilDensity: 0.74,
26
- latticeOpacity: 0.55,
27
- glowBoost: 0.86,
28
- meltDistortion: 0.54,
29
- },
30
- compose: {
31
- fluidAmplitude: 0.9,
32
- tendrilDensity: 0.9,
33
- latticeOpacity: 0.65,
34
- glowBoost: 0.95,
35
- meltDistortion: 0.65,
36
- },
37
- chat: {
38
- fluidAmplitude: 0.7,
39
- tendrilDensity: 0.64,
40
- latticeOpacity: 0.52,
41
- glowBoost: 0.78,
42
- meltDistortion: 0.42,
43
- },
44
- registry: {
45
- fluidAmplitude: 0.75,
46
- tendrilDensity: 0.7,
47
- latticeOpacity: 0.72,
48
- glowBoost: 0.82,
49
- meltDistortion: 0.7,
50
- },
51
- default: {
52
- fluidAmplitude: 0.72,
53
- tendrilDensity: 0.64,
54
- latticeOpacity: 0.55,
55
- glowBoost: 0.8,
56
- meltDistortion: 0.5,
57
- },
58
- };
59
- const FIELD_CONFIG_BY_MODE = {
60
- home: {
61
- mode: "home",
62
- pulseSpeed: 0.95,
63
- pulseSize: 1.1,
64
- tentacleCount: 20,
65
- bioluminescence: 1,
66
- fallbackGradient: "radial-gradient(circle at 20% 10%, hsl(188 95% 43% / 0.26), transparent 52%), radial-gradient(circle at 80% 20%, hsl(292 85% 55% / 0.18), transparent 48%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
67
- },
68
- market: {
69
- mode: "market",
70
- pulseSpeed: 0.68,
71
- pulseSize: 0.84,
72
- tentacleCount: 15,
73
- bioluminescence: 0.84,
74
- fallbackGradient: "radial-gradient(circle at 24% 12%, hsl(188 95% 43% / 0.17), transparent 48%), radial-gradient(circle at 82% 25%, hsl(292 85% 55% / 0.12), transparent 40%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
75
- },
76
- compose: {
77
- mode: "compose",
78
- pulseSpeed: 0.86,
79
- pulseSize: 1.08,
80
- tentacleCount: 18,
81
- bioluminescence: 0.92,
82
- fallbackGradient: "radial-gradient(circle at 12% 8%, hsl(188 95% 43% / 0.2), transparent 44%), radial-gradient(circle at 75% 16%, hsl(292 85% 55% / 0.16), transparent 42%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
83
- },
84
- chat: {
85
- mode: "chat",
86
- pulseSpeed: 0.6,
87
- pulseSize: 0.7,
88
- tentacleCount: 12,
89
- bioluminescence: 0.74,
90
- fallbackGradient: "radial-gradient(circle at 16% 10%, hsl(188 95% 43% / 0.13), transparent 38%), radial-gradient(circle at 74% 22%, hsl(292 85% 55% / 0.1), transparent 34%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
91
- },
92
- registry: {
93
- mode: "registry",
94
- pulseSpeed: 0.74,
95
- pulseSize: 0.82,
96
- tentacleCount: 14,
97
- bioluminescence: 0.8,
98
- fallbackGradient: "radial-gradient(circle at 8% 6%, hsl(188 95% 43% / 0.14), transparent 44%), radial-gradient(circle at 86% 20%, hsl(292 85% 55% / 0.14), transparent 42%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
99
- },
100
- default: {
101
- mode: "default",
102
- pulseSpeed: 0.65,
103
- pulseSize: 0.74,
104
- tentacleCount: 12,
105
- bioluminescence: 0.75,
106
- fallbackGradient: "radial-gradient(circle at 10% 7%, hsl(188 95% 43% / 0.14), transparent 42%), radial-gradient(circle at 80% 18%, hsl(292 85% 55% / 0.11), transparent 38%), linear-gradient(180deg, hsl(222 47% 3%), hsl(222 47% 2%))",
107
- },
108
- };
109
- export function getRouteVisualMode(pathname) {
110
- if (pathname === "/")
111
- return "home";
112
- if (pathname.startsWith("/compose"))
113
- return "compose";
114
- if (pathname.startsWith("/market"))
115
- return "market";
116
- if (pathname.startsWith("/registry"))
117
- return "registry";
118
- if (pathname.startsWith("/agent") || pathname.startsWith("/manowar") || pathname.startsWith("/playground")) {
119
- return "chat";
120
- }
121
- return "default";
122
- }
123
- export function getVisualIntensityProfile(mode) {
124
- return VISUAL_INTENSITY_BY_MODE[mode];
125
- }
126
- export function getManowarFieldConfig(mode) {
127
- return FIELD_CONFIG_BY_MODE[mode];
128
- }
129
- //# sourceMappingURL=visual-system.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visual-system.js","sourceRoot":"","sources":["../../src/lib/visual-system.ts"],"names":[],"mappings":"AAuCA,MAAM,CAAC,MAAM,sBAAsB,GAAkB;IACnD,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,CAAC;IAChB,YAAY,EAAE,IAAI;IAClB,oBAAoB,EAAE,GAAG;IACzB,iBAAiB,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAkB;IACnD,SAAS,EAAE,CAAC;IACZ,aAAa,EAAE,GAAG;IAClB,YAAY,EAAE,CAAC;IACf,oBAAoB,EAAE,GAAG;IACzB,iBAAiB,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,wBAAwB,GAAoD;IAChF,IAAI,EAAE;QACJ,cAAc,EAAE,CAAC;QACjB,cAAc,EAAE,CAAC;QACjB,cAAc,EAAE,GAAG;QACnB,SAAS,EAAE,CAAC;QACZ,cAAc,EAAE,GAAG;KACpB;IACD,MAAM,EAAE;QACN,cAAc,EAAE,IAAI;QACpB,cAAc,EAAE,IAAI;QACpB,cAAc,EAAE,IAAI;QACpB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;KACrB;IACD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ourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "../lib/utils";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}