@epigraph/solutions 1.11.3 → 1.11.4-pre-alpha.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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Epigraph
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Epigraph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- A collection of solutions offered by Epigraph. The intent of this initiative to provide easy and streamlined access to the offerings we have in a single place. For now, the supported solutions are mentioned below, but more are expected to be added in the future.
2
-
3
- ## `<epigraph-button/>`
4
- - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-button-quickstart#/
5
- - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-button-knowledgebase#/
6
-
7
- ## `<epigraph-viewer/>`
8
- - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-viewer-quickstart#/
9
- - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-viewer-knowledgebase#/
10
-
11
- ## `<epigraph-tour/>`
12
- - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
13
- - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
14
-
15
- ## `<epigraph-previewer/>`
16
- - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
17
- - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
18
-
19
- ## `<epigraph-hotspot-tool/>`
20
- - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
21
- - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
1
+ A collection of solutions offered by Epigraph. The intent of this initiative to provide easy and streamlined access to the offerings we have in a single place. For now, the supported solutions are mentioned below, but more are expected to be added in the future.
2
+
3
+ ## `<epigraph-button/>`
4
+ - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-button-quickstart#/
5
+ - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-button-knowledgebase#/
6
+
7
+ ## `<epigraph-viewer/>`
8
+ - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-viewer-quickstart#/
9
+ - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-viewer-knowledgebase#/
10
+
11
+ ## `<epigraph-tour/>`
12
+ - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
13
+ - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
14
+
15
+ ## `<epigraph-previewer/>`
16
+ - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
17
+ - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
18
+
19
+ ## `<epigraph-hotspot-tool/>`
20
+ - Quickstart Guide: https://docs.myepigraph.com/docs/epigraph-tour-quickstart#/
21
+ - Knowledgebase: https://docs.myepigraph.com/update/docs/epigraph-tour-knowledgebase#/
@@ -4443,7 +4443,7 @@ ${l.join(`
4443
4443
  .hide {
4444
4444
  display: none;
4445
4445
  }
4446
- `]}firstUpdated(e){super.firstUpdated(e)}static ensureFontsAreLoaded(){const e="epigraphFonts";document.head.querySelector(`#${e}`)||document.head.insertAdjacentHTML("beforeend",`<style id=${e}>${Jz}</style>`)}_getSlottedElements(e){const t=e.assignedElements();return[...t.length>0?t:e.children]}doHoverStart(){if(this.disabled)return;typeof this.onHoverStartCallback=="function"&&this.onHoverStartCallback(),this.shadowRoot?.host.classList.add("hover");const e=new CustomEvent("epgonhoverstart");this.dispatchEvent(e)}doHoverEnd(){if(this.disabled)return;typeof this.onHoverEndCallback=="function"&&this.onHoverEndCallback(),this.shadowRoot?.host.classList.remove("hover");const e=new CustomEvent("epgonhoverend");this.dispatchEvent(e)}doClick(){if(this.disabled)return;typeof this.onClickCallback=="function"&&this.onClickCallback();const e=new CustomEvent("epgonclick");this.dispatchEvent(e)}_showElement(e){const t=e.target;t&&(t.classList.remove("hide"),t.ariaHidden="true")}_hideElement(e){const t=e.target;t&&(t.classList.add("hide"),t.ariaHidden="true")}_showPlaceholderImage(e){const t=e.target;t&&(t.src="https://placehold.co/100")}render(){return de`
4446
+ `]}firstUpdated(e){super.firstUpdated(e)}static ensureFontsAreLoaded(){const e="epigraphFonts";document.head.querySelector(`#${e}`)||document.head.insertAdjacentHTML("beforeend",`<style id=${e}>${Jz}</style>`)}_getSlottedElements(e){const t=e.assignedElements();return[...t.length>0?t:e.children]}doHoverStart(e){if(this.disabled)return;typeof this.onHoverStartCallback=="function"&&this.onHoverStartCallback(),this.shadowRoot?.host.classList.add("hover");const t=new CustomEvent("epgonhoverstart");this.dispatchEvent(t)}doHoverEnd(){if(this.disabled)return;typeof this.onHoverEndCallback=="function"&&this.onHoverEndCallback(),this.shadowRoot?.host.classList.remove("hover");const e=new CustomEvent("epgonhoverend");this.dispatchEvent(e)}doClick(){if(this.disabled)return;typeof this.onClickCallback=="function"&&this.onClickCallback();const e=new CustomEvent("epgonclick");this.dispatchEvent(e)}_showElement(e){const t=e.target;t&&(t.classList.remove("hide"),t.ariaHidden="true")}_hideElement(e){const t=e.target;t&&(t.classList.add("hide"),t.ariaHidden="true")}_showPlaceholderImage(e){const t=e.target;t&&(t.src="https://placehold.co/100")}render(){return de`
4447
4447
  ${Vt.getCustomStylesTemplate()}
4448
4448
  `}};Hc([le({type:Boolean,attribute:Tc.disabled.name,reflect:!0})],Fo.prototype,"disabled");Hc([le({attribute:Tc.theme.name,type:String,reflect:!0})],Fo.prototype,"theme");Hc([le({attribute:Tc.size.name,type:String,reflect:!0})],Fo.prototype,"size");Hc([le({attribute:!1})],Fo.prototype,"onClickCallback");Hc([le({attribute:!1})],Fo.prototype,"onHoverStartCallback");Hc([le({attribute:!1})],Fo.prototype,"onHoverEndCallback");let dn=Fo;const mw="epg-dimension-label",zp={label:{name:"label",defaultValue:"6.5"},unitSymbol:{name:"unit-symbol",defaultValue:"”"}};var n4=Object.defineProperty,ZM=(n,e,t,i)=>{for(var s=void 0,l=n.length-1,h;l>=0;l--)(h=n[l])&&(s=h(e,t,s)||s);return s&&n4(e,t,s),s};class sy extends dn{constructor(){super(...arguments),this.label=zp.label.defaultValue.toString(),this.unitSymbol=zp.unitSymbol.defaultValue.toString()}static{this.styles=[super.styles,gt`
4449
4449
  :host {
@@ -5044,7 +5044,10 @@ ${l.join(`
5044
5044
  height: 30%;
5045
5045
  border-radius: 50%;
5046
5046
  background-color: white;
5047
- transition: width 0.2s ease-in-out, height 0.2s ease-in-out, opacity 0.2s ease-in-out;
5047
+ transition:
5048
+ width 0.2s ease-in-out,
5049
+ height 0.2s ease-in-out,
5050
+ opacity 0.2s ease-in-out;
5048
5051
  }
5049
5052
 
5050
5053
  :host .hotspot-ripple-circle {
@@ -5053,7 +5056,10 @@ ${l.join(`
5053
5056
  border-radius: 50%;
5054
5057
  background-color: white;
5055
5058
  position: absolute;
5056
- transition: width 0.2s ease-in-out, height 0.2s ease-in-out, opacity 0.2s ease-in-out;
5059
+ transition:
5060
+ width 0.2s ease-in-out,
5061
+ height 0.2s ease-in-out,
5062
+ opacity 0.2s ease-in-out;
5057
5063
  }
5058
5064
 
5059
5065
  :host(:disabled) {
@@ -5103,7 +5109,7 @@ ${l.join(`
5103
5109
  width: 0%;
5104
5110
  height: 0%;
5105
5111
  }
5106
-
5112
+
5107
5113
  75% {
5108
5114
  width: 100%;
5109
5115
  height: 100%;
@@ -5113,8 +5119,13 @@ ${l.join(`
5113
5119
  opacity: 0;
5114
5120
  }
5115
5121
  }
5116
- `]}doClick(){if(this.disabled)return;this.togglable&&(this.active=!this.active),typeof this.onClickCallback=="function"&&this.onClickCallback.bind(this);const e=new CustomEvent("epgonclick");this.dispatchEvent(e)}ripple(){this.__rippleElement&&(this.__rippleElement.style.animation="none",this.__rippleElement.style.animation="ripple 1500ms ease-out")}updated(e){super.updated(e),e.has("active")&&this.shadowRoot?.host.toggleAttribute("active",this.active)}_renderTooltip(){const e=this.tooltipLabel?de`<div slot="replace-all">${this.tooltipLabel}</div>`:De;return de`
5117
- <epg-tooltip class="tooltip ${this.tooltipPlacement}" ?disabled=${this.tooltipPlacement==="none"} placement=${this.tooltipPlacement} theme="light">
5122
+ `]}doClick(){if(this.disabled)return;this.togglable&&(this.active=!this.active),typeof this.onClickCallback=="function"&&this.onClickCallback.bind(this);const e=new CustomEvent("epgonclick");this.dispatchEvent(e)}doHoverStart(e){e.pointerType!=="touch"&&super.doHoverStart()}ripple(){this.__rippleElement&&(this.__rippleElement.style.animation="none",this.__rippleElement.style.animation="ripple 1500ms ease-out")}updated(e){super.updated(e),e.has("active")&&this.shadowRoot?.host.toggleAttribute("active",this.active)}_renderTooltip(){const e=this.tooltipLabel?de`<div slot="replace-all">${this.tooltipLabel}</div>`:De;return de`
5123
+ <epg-tooltip
5124
+ class="tooltip ${this.tooltipPlacement}"
5125
+ ?disabled=${this.tooltipPlacement==="none"}
5126
+ placement=${this.tooltipPlacement}
5127
+ theme="light"
5128
+ >
5118
5129
  ${e}
5119
5130
  </epg-tooltip>
5120
5131
  `}_defaultContents(){return de`
@@ -9620,7 +9631,7 @@ Arguments: [`+R+"]"}},a.fz.prototype={k(r){return"Unsupported operation: "+this.
9620
9631
  ${this.__renderBody()}
9621
9632
  </div>
9622
9633
  </epg-modal>
9623
- `}};pd([le({attribute:!1})],th.prototype,"report");pd([bi()],th.prototype,"__activeTab");pd([bi()],th.prototype,"__gpuSnapshot");pd([bi()],th.prototype,"__validationProgress");pd([kt("#validationsModal")],th.prototype,"__modalRef");let p6=th;var g6=Object.defineProperty,ut=(n,e,t,i)=>{for(var s=void 0,l=n.length-1,h;l>=0;l--)(h=n[l])&&(s=h(e,t,s)||s);return s&&g6(e,t,s),s},kl=(n=>(n.NONE="",n.SKU="sku",n.SHOPIFY_VARIANT_ID="shopify_variant_id",n.ASIN="asin",n.UPC="upc",n.PRODUCT_VARIANT_UUID="product_variant_uuid",n))(kl||{});const lt=class au extends qR{constructor(){let e=ou.PRODUCTION;super("1.11.3",e),this.isMac=/Mac/i.test(navigator.userAgent),this.epigraphWebsiteRedirectUrls={icon:"https://www.epigraph.us",modal:"https://www.epigraph.us"},this.sessionState="default",this.isAppReady=!1,this.sku=zt.sku.defaultValue.toString(),this.shopify_variant_id=zt.shopifyVariantId.defaultValue.toString(),this.upc=zt.upc.defaultValue.toString(),this.asin=zt.asin.defaultValue.toString(),this.product_variant_uuid=zt.productVariantUuid.defaultValue.toString(),this.customVersionId="",this.gaMeasurementId="",this.disableZoom=!1,this.modalView=!1,this.hide=!1,this.isLoading=!0,this.apiMode="production",this.debug=!1,this.showSettings=!1,this.dimensionsUnit=zt.dimensionsUnit.defaultValue.toString(),this.dimensionsUnitSymbol=zt.dimensionsUnitSymbol.defaultValue.toString(),this.areDimensionsActive=!1,this.areHotspotsActive=!1,this.variantSwitchMode=zt.variantSwitchMode.defaultValue.toString(),this.areCommentsActive=!1,this.isHelpVisible=!1,this.baseUrlOverride=zt.baseUrlOverride.defaultValue.toString(),this.cameraBoundsMultiplier=1,this.isPortraitOrientation=!1,this.didARAutoLaunch=!1,this.transparentBackground=!1,this.splashScreenLogo=zt.splashScreenLogo.defaultValue.toString(),this.splashScreenText=zt.splashScreenText.defaultValue.toString(),this.hideUi=!1,this.playInteractionPrompt=!1,this.featuresToEnable={viewer:!0,hotspots:!0,dimensions:!0,viewInYourSpace:!0,sceneManager:!0,comments:!1,debugManager:!1,validationsManager:!1},this._hasActiveHotspot=!1,this._isToolsetLargerThanTheLeftBottomQuadrant=!1,this._loadingProgress=0,this._loadTimeBegin=performance.now(),this._loggerContext="EPIGRAPH THREED CODE",this._epigraphAnalytics=new n2(null,null),this._identifier="",this._identifierType="",this._isDevEnv=!1,this._isStagingEnv=!1,this._productSettings=new V8,this._boundingSphereCenter=new ee,this._loaders=new wu,this._activeAnimations=new Map,this._animationFadeDurationInMiliseconds=1e3,this._isSceneInteractedWith=!1,this.__isLoadingForTheFirstTime=!0,this.__glbBlobUrl="",this.__usdzBlobUrl="",this.__hasSceneChanged=!1,this.__canvasSize={width:0,height:0},this.__raycaster=new Gv,this.__pointer=new Re,this.__viewStateGrid=new H1(40,190,0,12829635),this.__interactionPlayCount=0}static{this.webComponentName="epigraph-threed-core"}static setupWebComponent(){window.customElements.get(au.webComponentName)||window.customElements.define(au.webComponentName,au)}static{this.styles=[gt`
9634
+ `}};pd([le({attribute:!1})],th.prototype,"report");pd([bi()],th.prototype,"__activeTab");pd([bi()],th.prototype,"__gpuSnapshot");pd([bi()],th.prototype,"__validationProgress");pd([kt("#validationsModal")],th.prototype,"__modalRef");let p6=th;var g6=Object.defineProperty,ut=(n,e,t,i)=>{for(var s=void 0,l=n.length-1,h;l>=0;l--)(h=n[l])&&(s=h(e,t,s)||s);return s&&g6(e,t,s),s},kl=(n=>(n.NONE="",n.SKU="sku",n.SHOPIFY_VARIANT_ID="shopify_variant_id",n.ASIN="asin",n.UPC="upc",n.PRODUCT_VARIANT_UUID="product_variant_uuid",n))(kl||{});const lt=class au extends qR{constructor(){let e=ou.PRODUCTION;super("1.11.4-pre-alpha.0",e),this.isMac=/Mac/i.test(navigator.userAgent),this.epigraphWebsiteRedirectUrls={icon:"https://www.epigraph.us",modal:"https://www.epigraph.us"},this.sessionState="default",this.isAppReady=!1,this.sku=zt.sku.defaultValue.toString(),this.shopify_variant_id=zt.shopifyVariantId.defaultValue.toString(),this.upc=zt.upc.defaultValue.toString(),this.asin=zt.asin.defaultValue.toString(),this.product_variant_uuid=zt.productVariantUuid.defaultValue.toString(),this.customVersionId="",this.gaMeasurementId="",this.disableZoom=!1,this.modalView=!1,this.hide=!1,this.isLoading=!0,this.apiMode="production",this.debug=!1,this.showSettings=!1,this.dimensionsUnit=zt.dimensionsUnit.defaultValue.toString(),this.dimensionsUnitSymbol=zt.dimensionsUnitSymbol.defaultValue.toString(),this.areDimensionsActive=!1,this.areHotspotsActive=!1,this.variantSwitchMode=zt.variantSwitchMode.defaultValue.toString(),this.areCommentsActive=!1,this.isHelpVisible=!1,this.baseUrlOverride=zt.baseUrlOverride.defaultValue.toString(),this.cameraBoundsMultiplier=1,this.isPortraitOrientation=!1,this.didARAutoLaunch=!1,this.transparentBackground=!1,this.splashScreenLogo=zt.splashScreenLogo.defaultValue.toString(),this.splashScreenText=zt.splashScreenText.defaultValue.toString(),this.hideUi=!1,this.playInteractionPrompt=!1,this.featuresToEnable={viewer:!0,hotspots:!0,dimensions:!0,viewInYourSpace:!0,sceneManager:!0,comments:!1,debugManager:!1,validationsManager:!1},this._hasActiveHotspot=!1,this._isToolsetLargerThanTheLeftBottomQuadrant=!1,this._loadingProgress=0,this._loadTimeBegin=performance.now(),this._loggerContext="EPIGRAPH THREED CODE",this._epigraphAnalytics=new n2(null,null),this._identifier="",this._identifierType="",this._isDevEnv=!1,this._isStagingEnv=!1,this._productSettings=new V8,this._boundingSphereCenter=new ee,this._loaders=new wu,this._activeAnimations=new Map,this._animationFadeDurationInMiliseconds=1e3,this._isSceneInteractedWith=!1,this.__isLoadingForTheFirstTime=!0,this.__glbBlobUrl="",this.__usdzBlobUrl="",this.__hasSceneChanged=!1,this.__canvasSize={width:0,height:0},this.__raycaster=new Gv,this.__pointer=new Re,this.__viewStateGrid=new H1(40,190,0,12829635),this.__interactionPlayCount=0}static{this.webComponentName="epigraph-threed-core"}static setupWebComponent(){window.customElements.get(au.webComponentName)||window.customElements.define(au.webComponentName,au)}static{this.styles=[gt`
9624
9635
  :host {
9625
9636
  all: initial;
9626
9637
  display: flex;
package/package.json CHANGED
@@ -1,73 +1,73 @@
1
- {
2
- "name": "@epigraph/solutions",
3
- "version": "1.11.3",
4
- "type": "module",
5
- "main": "./dist/epigraph-solutions.js",
6
- "files": [
7
- "dist"
8
- ],
9
- "scripts": {
10
- "component:create": "node ./npm-scripts/createNewUiComponent.js",
11
- "dev": "vite --force",
12
- "build:ui-components": "cross-env NODE_ENV=production && tsc && vite build --config ui-components-vite.config.ts",
13
- "build:epigraph-solutions": "cross-env NODE_ENV=production && tsc && vite build",
14
- "build:epigraph-previewer": "cross-env NODE_ENV=production && tsc && vite build --config epigraph-previewer-vite.config.ts",
15
- "build:demo-pages": "cross-env NODE_ENV=production && tsc && vite build --config demo-pages-vite.config.ts",
16
- "build": "npm run build:ui-components && npm run build:epigraph-solutions && npm run build:epigraph-previewer",
17
- "docs": "typedoc ./lib/solutions/Solutions/**/*.api.ts",
18
- "chromatic": "cross-env NODE_ENV=production && npx chromatic --project-token=chpt_cb7e103f37516af",
19
- "preview": "vite preview",
20
- "prepublishOnly": "npm run build:epigraph-solutions",
21
- "storybook": "storybook dev -p 6007",
22
- "build-storybook": "storybook build",
23
- "format": "tsc --noEmit && prettier . --write && eslint . --fix"
24
- },
25
- "husky": {
26
- "hooks": {
27
- "pre-commit": "npm run format"
28
- }
29
- },
30
- "lint-staged": {
31
- "*.{js,jsx,ts,tsx,json,css,md}": [
32
- "npm run format"
33
- ]
34
- },
35
- "devDependencies": {
36
- "@babel/core": "^7.26.0",
37
- "@chromatic-com/storybook": "^5.2.1",
38
- "@epigraph/epigraph-std-lib": "5.0.0-alpha.14",
39
- "@gltf-transform/functions": "^4.1.3",
40
- "@google/model-viewer": "4.2.0",
41
- "@storybook/addon-docs": "^10.4.6",
42
- "@storybook/addon-links": "^10.4.6",
43
- "@storybook/builder-vite": "^10.4.6",
44
- "@storybook/web-components": "^10.4.6",
45
- "@storybook/web-components-vite": "^10.4.6",
46
- "@tweenjs/tween.js": "^25.0.0",
47
- "@types/node": "^22.14.0",
48
- "@types/three": "0.182.0",
49
- "babel-loader": "^8.2.3",
50
- "camera-controls": "^3.1.0",
51
- "chromatic": "^17.8.0",
52
- "eslint": "^9.26.0",
53
- "gltf-validator": "^2.0.0-dev.3.10",
54
- "inquirer": "^12.4.1",
55
- "playcanvas": "^2.20.0",
56
- "prettier": "^3.5.3",
57
- "storybook": "^10.4.6",
58
- "three": "0.182.0",
59
- "typedoc": "^0.28.16",
60
- "typedoc-plugin-markdown": "^4.9.0",
61
- "typescript": "^5.8.2",
62
- "vite": "^6.2.0",
63
- "vite-plugin-dts": "^4.5.4"
64
- },
65
- "dependencies": {
66
- "@pmndrs/vanilla": "^1.25.0",
67
- "@typescript-eslint/eslint-plugin": "^8.32.1",
68
- "cross-env": "^7.0.3",
69
- "dompurify": "^3.2.6",
70
- "lit": "^3.3.0",
71
- "swiper": "^12.1.3"
72
- }
73
- }
1
+ {
2
+ "name": "@epigraph/solutions",
3
+ "version": "1.11.4-pre-alpha.0",
4
+ "type": "module",
5
+ "main": "./dist/epigraph-solutions.js",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "scripts": {
10
+ "component:create": "node ./npm-scripts/createNewUiComponent.js",
11
+ "dev": "vite --force",
12
+ "build:ui-components": "cross-env NODE_ENV=production && tsc && vite build --config ui-components-vite.config.ts",
13
+ "build:epigraph-solutions": "cross-env NODE_ENV=production && tsc && vite build",
14
+ "build:epigraph-previewer": "cross-env NODE_ENV=production && tsc && vite build --config epigraph-previewer-vite.config.ts",
15
+ "build:demo-pages": "cross-env NODE_ENV=production && tsc && vite build --config demo-pages-vite.config.ts",
16
+ "build": "npm run build:ui-components && npm run build:epigraph-solutions && npm run build:epigraph-previewer",
17
+ "docs": "typedoc ./lib/solutions/Solutions/**/*.api.ts",
18
+ "chromatic": "cross-env NODE_ENV=production && npx chromatic --project-token=chpt_cb7e103f37516af",
19
+ "preview": "vite preview",
20
+ "prepublishOnly": "npm run build:epigraph-solutions",
21
+ "storybook": "storybook dev -p 6007",
22
+ "build-storybook": "storybook build",
23
+ "format": "tsc --noEmit && prettier . --write && eslint . --fix"
24
+ },
25
+ "husky": {
26
+ "hooks": {
27
+ "pre-commit": "npm run format"
28
+ }
29
+ },
30
+ "lint-staged": {
31
+ "*.{js,jsx,ts,tsx,json,css,md}": [
32
+ "npm run format"
33
+ ]
34
+ },
35
+ "devDependencies": {
36
+ "@babel/core": "^7.26.0",
37
+ "@chromatic-com/storybook": "^5.2.1",
38
+ "@epigraph/epigraph-std-lib": "5.0.0-alpha.14",
39
+ "@gltf-transform/functions": "^4.1.3",
40
+ "@google/model-viewer": "4.2.0",
41
+ "@storybook/addon-docs": "^10.4.6",
42
+ "@storybook/addon-links": "^10.4.6",
43
+ "@storybook/builder-vite": "^10.4.6",
44
+ "@storybook/web-components": "^10.4.6",
45
+ "@storybook/web-components-vite": "^10.4.6",
46
+ "@tweenjs/tween.js": "^25.0.0",
47
+ "@types/node": "^22.14.0",
48
+ "@types/three": "0.182.0",
49
+ "babel-loader": "^8.2.3",
50
+ "camera-controls": "^3.1.0",
51
+ "chromatic": "^17.8.0",
52
+ "eslint": "^9.26.0",
53
+ "gltf-validator": "^2.0.0-dev.3.10",
54
+ "inquirer": "^12.4.1",
55
+ "playcanvas": "^2.20.0",
56
+ "prettier": "^3.5.3",
57
+ "storybook": "^10.4.6",
58
+ "three": "0.182.0",
59
+ "typedoc": "^0.28.16",
60
+ "typedoc-plugin-markdown": "^4.9.0",
61
+ "typescript": "^5.8.2",
62
+ "vite": "^6.2.0",
63
+ "vite-plugin-dts": "^4.5.4"
64
+ },
65
+ "dependencies": {
66
+ "@pmndrs/vanilla": "^1.25.0",
67
+ "@typescript-eslint/eslint-plugin": "^8.32.1",
68
+ "cross-env": "^7.0.3",
69
+ "dompurify": "^3.2.6",
70
+ "lit": "^3.3.0",
71
+ "swiper": "^12.1.3"
72
+ }
73
+ }