3d-marquee 0.1.1 → 0.1.3

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.
@@ -0,0 +1,12 @@
1
+ import * as THREE from 'three';
2
+ export interface LedMarqueeOrbProps {
3
+ word: string;
4
+ speed?: number;
5
+ radius?: number;
6
+ ledSpacing?: number;
7
+ columnSpacing?: number;
8
+ dimColor?: string | THREE.Color;
9
+ brightColor?: string | THREE.Color;
10
+ }
11
+ export default function LedMarqueeOrb({ word, speed, radius, ledSpacing, columnSpacing, dimColor, brightColor, }: LedMarqueeOrbProps): import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=LedMarqueeOrb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LedMarqueeOrb.d.ts","sourceRoot":"","sources":["../../src/components/LedMarqueeOrb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAA;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,IAAiB,EACjB,KAAY,EACZ,MAAU,EACV,UAAmB,EACnB,aAAqB,EACrB,QAAoB,EACpB,WAAuB,GACxB,EAAE,kBAAkB,kDAoTpB"}
@@ -0,0 +1,9 @@
1
+ import { LedMarqueeOrbProps } from './LedMarqueeOrb';
2
+ export interface LedMarqueeOrbContainerProps extends LedMarqueeOrbProps {
3
+ word: string;
4
+ speed: number;
5
+ dimColor: string;
6
+ brightColor: string;
7
+ }
8
+ export declare const LedMarqueeOrbContainer: ({ word, speed, dimColor, brightColor }: LedMarqueeOrbContainerProps) => import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=LedMarqueeOrbContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LedMarqueeOrbContainer.d.ts","sourceRoot":"","sources":["../../src/components/LedMarqueeOrbContainer.tsx"],"names":[],"mappings":"AAGA,OAAsB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGnE,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB;IACnE,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;CACtB;AAED,eAAO,MAAM,sBAAsB,GAAI,wCAAwC,2BAA2B,4CAmCzG,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { LedMarqueeOrbContainer } from './components/LedMarqueeOrbContainer';
2
+ export type { LedMarqueeOrbContainerProps } from './components/LedMarqueeOrbContainer';
3
+ export type { LedMarqueeOrbProps } from './components/LedMarqueeOrb';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAC5E,YAAY,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAA;AACtF,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "3d-marquee",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "main": "./dist/3d-marquee.umd.js",
6
- "module": "./dist/3d-marquee.js",
6
+ "module": "./dist/3d-marquee.es.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./dist/3d-marquee.js",
10
+ "import": "./dist/3d-marquee.es.js",
11
11
  "require": "./dist/3d-marquee.umd.js",
12
12
  "types": "./dist/index.d.ts"
13
13
  }
@@ -18,7 +18,7 @@
18
18
  "scripts": {
19
19
  "dev": "vite",
20
20
  "build": "tsc && vite build",
21
- "build:lib": "tsc -p tsconfig.build.json && vite build --mode library",
21
+ "build:lib": "vite build --mode library && tsc -p tsconfig.build.json",
22
22
  "preview": "vite preview"
23
23
  },
24
24
  "peerDependencies": {
@@ -29,20 +29,18 @@
29
29
  "react-dom": "^18.2.0",
30
30
  "three": "^0.158.0"
31
31
  },
32
- "dependencies": {
32
+ "devDependencies": {
33
33
  "@react-three/drei": "^9.92.7",
34
34
  "@react-three/fiber": "^8.15.11",
35
35
  "@react-three/postprocessing": "^2.15.9",
36
- "react": "^18.2.0",
37
- "react-dom": "^18.2.0",
38
- "three": "^0.158.0"
39
- },
40
- "devDependencies": {
41
36
  "@types/node": "^25.0.3",
42
37
  "@types/react": "^18.2.43",
43
38
  "@types/react-dom": "^18.2.17",
44
39
  "@types/three": "^0.158.3",
45
40
  "@vitejs/plugin-react": "^4.2.1",
41
+ "react": "^18.2.0",
42
+ "react-dom": "^18.2.0",
43
+ "three": "^0.158.0",
46
44
  "typescript": "^5.2.2",
47
45
  "vite": "^5.0.8"
48
46
  }