@epigraph/solutions 0.0.0-alpha

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,53 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Document</title>
7
+ <script type="module" crossorigin src="/assets/index-_mBbDbIT.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-NrP-ORXC.css">
9
+ </head>
10
+ <body>
11
+ <style>
12
+ html,
13
+ body {
14
+ width: 100vw;
15
+ height: 100vh;
16
+ margin: 0;
17
+ padding: 0;
18
+ overflow: hidden;
19
+ }
20
+
21
+ .epigraph-tour-container {
22
+ width: 100%;
23
+ height: 100%;
24
+ }
25
+
26
+ .epigraph-tour-container.absolute-positioned {
27
+ position: absolute;
28
+ bottom: 0;
29
+ width: 50%;
30
+ height: 50%;
31
+ }
32
+
33
+ epigraph-tour {
34
+ width: 100%;
35
+ height: 100%;
36
+ }
37
+ </style>
38
+
39
+ <epigraph-buton></epigraph-buton>
40
+ <div class="epigraph-tour-container">
41
+ <epigraph-tour
42
+ id="demoTour"
43
+ class="demo-viewer"
44
+ sku="sku-epigraph-logo-red"
45
+ api-mode="production"
46
+ >
47
+ <epg-button-view-in-your-space
48
+ slot="slot-custom-view-in-your-space-button"
49
+ ></epg-button-view-in-your-space>
50
+ </epigraph-tour>
51
+ </div>
52
+ </body>
53
+ </html>
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "@epigraph/solutions",
3
+ "version": "0.0.0-alpha",
4
+ "type": "module",
5
+ "files": [
6
+ "dist/"
7
+ ],
8
+ "scripts": {
9
+ "dev": "vite --force",
10
+ "build": "cross-env NODE_ENV=production && tsc && vite build",
11
+ "preview": "vite preview",
12
+ "prepublishOnly": "npm run build",
13
+ "test": "npm run build && vitest",
14
+ "storybook": "storybook dev -p 6007",
15
+ "build-storybook": "storybook build",
16
+ "component:create": "node ./npm-scripts/createNewUiComponent.js",
17
+ "format": "tsc --noEmit && prettier . --write && eslint . --fix",
18
+ "chromatic": "cross-env NODE_ENV=production && npx chromatic --project-token=chpt_cb7e103f37516af"
19
+ },
20
+ "husky": {
21
+ "hooks": {
22
+ "pre-commit": "npm run format"
23
+ }
24
+ },
25
+ "lint-staged": {
26
+ "*.{js,jsx,ts,tsx,json,css,md}": [
27
+ "npm run format"
28
+ ]
29
+ },
30
+ "devDependencies": {
31
+ "@babel/core": "^7.26.0",
32
+ "@chromatic-com/storybook": "^3.2.6",
33
+ "@epigraph/epigraph-std-lib": "^4.2.0",
34
+ "@gltf-transform/functions": "^4.1.3",
35
+ "@google/model-viewer": "^4.1.0",
36
+ "@storybook/addon-actions": "^8.5.8",
37
+ "@storybook/addon-essentials": "^8.6.12",
38
+ "@storybook/addon-links": "^8.5.8",
39
+ "@storybook/addon-mdx-gfm": "^8.5.8",
40
+ "@storybook/blocks": "^8.6.12",
41
+ "@storybook/builder-vite": "^8.5.8",
42
+ "@storybook/test": "^8.6.12",
43
+ "@storybook/web-components": "^8.6.12",
44
+ "@storybook/web-components-vite": "^8.6.12",
45
+ "@tweenjs/tween.js": "^25.0.0",
46
+ "@types/node": "^22.14.0",
47
+ "@types/three": "^0.172.0",
48
+ "babel-loader": "^8.2.3",
49
+ "camera-controls": "^2.10.1",
50
+ "chromatic": "^13.0.1",
51
+ "eslint": "^9.26.0",
52
+ "inquirer": "^12.4.1",
53
+ "lit": "^3.3.0",
54
+ "prettier": "^3.5.3",
55
+ "storybook": "^8.6.12",
56
+ "three": "^0.172.0",
57
+ "typescript": "^5.8.2",
58
+ "vite": "^6.2.0",
59
+ "vite-plugin-dts": "^4.5.3"
60
+ },
61
+ "dependencies": {
62
+ "@typescript-eslint/eslint-plugin": "^8.32.1",
63
+ "cross-env": "^7.0.3",
64
+ "dompurify": "^3.2.6",
65
+ "swiper": "^11.2.8"
66
+ }
67
+ }