Skip to content

Commit

Permalink
Update Showcases
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko314 committed Oct 31, 2024
1 parent 1e28e52 commit dd30c79
Show file tree
Hide file tree
Showing 196 changed files with 1,510 additions and 887 deletions.
6 changes: 3 additions & 3 deletions showcase-3d-mockup-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@cesdk/cesdk-js": "1.37.0",
"@cesdk/engine": "1.37.0",
"@cesdk/cesdk-js": "1.38.0",
"@cesdk/engine": "1.38.0",
"@google/model-viewer": "3.1.1",
"@imgly/idml-importer": "^1.0.6",
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-cutout-library-web": "^1.0.5",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion showcase-3d-mockup-editor/public/example-1.scene

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions showcase-3d-mockup-editor/src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ body {
.mobile-padding-top {
padding-top: 0;
}
}

/* hide hubspot chat widget on mobile */
#hubspot-messages-iframe-container {
visibility: hidden;
}

@media (min-width: 650px) {
#hubspot-messages-iframe-container {
visibility: initial;
}
}
26 changes: 13 additions & 13 deletions showcase-3d-mockup-editor/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1045,17 +1045,17 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@cesdk/cesdk-js@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.37.0.tgz#791634fea6d75a3addc29bc77bd8f6383cab076b"
integrity sha512-Tg1NPxgh1loqomCBci1gDnlbjVyAULTrD+Bxi4USfw4LAJBxdmD+T97b6MAHOc5kVFtQWrpfEKplT3xYnRHytQ==
"@cesdk/cesdk-js@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.38.0.tgz#d4744aaff4e2b0b2ed6cd772eade927d7baf4e09"
integrity sha512-qmnkRT6BkIQXbQMBa69y2N7hJvoLWeOOW59DT1woWQwb6o3B1V99Z3baya4sP7YraAoYEl4ssZcJ9opTG+EtnQ==
dependencies:
"@cesdk/engine" "1.37.0"
"@cesdk/engine" "1.38.0"

"@cesdk/engine@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.37.0.tgz#904bf6bf85147f8f13a7ab77ff1e5a9257289902"
integrity sha512-7UsBukfoQ6MVrHU7q3lBposcXTmtF32wuSPV0kwtDqkHdYC1CJ61jJLs2FbVb3yqtecI/AUxdzH3/RblTXeU6w==
"@cesdk/engine@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.38.0.tgz#a20d8fb8b4a5ade14bb3bd7bc42bcbbbeb33b65d"
integrity sha512-2Jn6M6/4npqD9649Y/92asxceKMvQLI4T4R/cmX0FqZPRususSwZ7GELWcsCvImEiu7HK6mrIw7ztDYCvmc2ZA==

"@eslint-community/eslint-utils@^4.2.0":
version "4.4.0"
Expand Down Expand Up @@ -1142,10 +1142,10 @@
dependencies:
"@imgly/background-removal" "^1.5.3"

"@imgly/plugin-cutout-library-web@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.4.tgz#799301bdbed30e4309e9e48067c84ec0e130c64d"
integrity sha512-sfVt/jHBpqxNgz/KOzOGyuSv1ILWw6OFg4Y73LMh0gt5d8UJwF4egfmRyNcA2A3E5zxZc6llhNekEtXKkTqCEA==
"@imgly/plugin-cutout-library-web@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.5.tgz#467188a7a65a012b976e03e0a73410aa6fd4679a"
integrity sha512-MUvteEi9kE32tba7+ZB81KVvl7pNSNvav29m4S2PMBNqjcQGuKFcbZ7py+jT4iNTN2y5AmEDONpsc2GzOm1Ebw==
dependencies:
lodash "^4.17.21"

Expand Down
6 changes: 3 additions & 3 deletions showcase-advanced-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@cesdk/cesdk-js": "1.37.0",
"@cesdk/engine": "1.37.0",
"@cesdk/cesdk-js": "1.38.0",
"@cesdk/engine": "1.38.0",
"@google/model-viewer": "3.1.1",
"@imgly/idml-importer": "^1.0.6",
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-cutout-library-web": "^1.0.5",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion showcase-advanced-ui/public/example-1.scene

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions showcase-advanced-ui/src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ body {
.mobile-padding-top {
padding-top: 0;
}
}

/* hide hubspot chat widget on mobile */
#hubspot-messages-iframe-container {
visibility: hidden;
}

@media (min-width: 650px) {
#hubspot-messages-iframe-container {
visibility: initial;
}
}
26 changes: 13 additions & 13 deletions showcase-advanced-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1045,17 +1045,17 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@cesdk/cesdk-js@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.37.0.tgz#791634fea6d75a3addc29bc77bd8f6383cab076b"
integrity sha512-Tg1NPxgh1loqomCBci1gDnlbjVyAULTrD+Bxi4USfw4LAJBxdmD+T97b6MAHOc5kVFtQWrpfEKplT3xYnRHytQ==
"@cesdk/cesdk-js@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.38.0.tgz#d4744aaff4e2b0b2ed6cd772eade927d7baf4e09"
integrity sha512-qmnkRT6BkIQXbQMBa69y2N7hJvoLWeOOW59DT1woWQwb6o3B1V99Z3baya4sP7YraAoYEl4ssZcJ9opTG+EtnQ==
dependencies:
"@cesdk/engine" "1.37.0"
"@cesdk/engine" "1.38.0"

"@cesdk/engine@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.37.0.tgz#904bf6bf85147f8f13a7ab77ff1e5a9257289902"
integrity sha512-7UsBukfoQ6MVrHU7q3lBposcXTmtF32wuSPV0kwtDqkHdYC1CJ61jJLs2FbVb3yqtecI/AUxdzH3/RblTXeU6w==
"@cesdk/engine@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.38.0.tgz#a20d8fb8b4a5ade14bb3bd7bc42bcbbbeb33b65d"
integrity sha512-2Jn6M6/4npqD9649Y/92asxceKMvQLI4T4R/cmX0FqZPRususSwZ7GELWcsCvImEiu7HK6mrIw7ztDYCvmc2ZA==

"@eslint-community/eslint-utils@^4.2.0":
version "4.4.0"
Expand Down Expand Up @@ -1142,10 +1142,10 @@
dependencies:
"@imgly/background-removal" "^1.5.3"

"@imgly/plugin-cutout-library-web@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.4.tgz#799301bdbed30e4309e9e48067c84ec0e130c64d"
integrity sha512-sfVt/jHBpqxNgz/KOzOGyuSv1ILWw6OFg4Y73LMh0gt5d8UJwF4egfmRyNcA2A3E5zxZc6llhNekEtXKkTqCEA==
"@imgly/plugin-cutout-library-web@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.5.tgz#467188a7a65a012b976e03e0a73410aa6fd4679a"
integrity sha512-MUvteEi9kE32tba7+ZB81KVvl7pNSNvav29m4S2PMBNqjcQGuKFcbZ7py+jT4iNTN2y5AmEDONpsc2GzOm1Ebw==
dependencies:
lodash "^4.17.21"

Expand Down
6 changes: 3 additions & 3 deletions showcase-airtable-image-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@cesdk/cesdk-js": "1.37.0",
"@cesdk/engine": "1.37.0",
"@cesdk/cesdk-js": "1.38.0",
"@cesdk/engine": "1.38.0",
"@google/model-viewer": "3.1.1",
"@imgly/idml-importer": "^1.0.6",
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-cutout-library-web": "^1.0.5",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion showcase-airtable-image-assets/public/example-1.scene

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions showcase-airtable-image-assets/src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ body {
.mobile-padding-top {
padding-top: 0;
}
}

/* hide hubspot chat widget on mobile */
#hubspot-messages-iframe-container {
visibility: hidden;
}

@media (min-width: 650px) {
#hubspot-messages-iframe-container {
visibility: initial;
}
}
26 changes: 13 additions & 13 deletions showcase-airtable-image-assets/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1045,17 +1045,17 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@cesdk/cesdk-js@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.37.0.tgz#791634fea6d75a3addc29bc77bd8f6383cab076b"
integrity sha512-Tg1NPxgh1loqomCBci1gDnlbjVyAULTrD+Bxi4USfw4LAJBxdmD+T97b6MAHOc5kVFtQWrpfEKplT3xYnRHytQ==
"@cesdk/cesdk-js@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.38.0.tgz#d4744aaff4e2b0b2ed6cd772eade927d7baf4e09"
integrity sha512-qmnkRT6BkIQXbQMBa69y2N7hJvoLWeOOW59DT1woWQwb6o3B1V99Z3baya4sP7YraAoYEl4ssZcJ9opTG+EtnQ==
dependencies:
"@cesdk/engine" "1.37.0"
"@cesdk/engine" "1.38.0"

"@cesdk/engine@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.37.0.tgz#904bf6bf85147f8f13a7ab77ff1e5a9257289902"
integrity sha512-7UsBukfoQ6MVrHU7q3lBposcXTmtF32wuSPV0kwtDqkHdYC1CJ61jJLs2FbVb3yqtecI/AUxdzH3/RblTXeU6w==
"@cesdk/engine@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.38.0.tgz#a20d8fb8b4a5ade14bb3bd7bc42bcbbbeb33b65d"
integrity sha512-2Jn6M6/4npqD9649Y/92asxceKMvQLI4T4R/cmX0FqZPRususSwZ7GELWcsCvImEiu7HK6mrIw7ztDYCvmc2ZA==

"@eslint-community/eslint-utils@^4.2.0":
version "4.4.0"
Expand Down Expand Up @@ -1142,10 +1142,10 @@
dependencies:
"@imgly/background-removal" "^1.5.3"

"@imgly/plugin-cutout-library-web@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.4.tgz#799301bdbed30e4309e9e48067c84ec0e130c64d"
integrity sha512-sfVt/jHBpqxNgz/KOzOGyuSv1ILWw6OFg4Y73LMh0gt5d8UJwF4egfmRyNcA2A3E5zxZc6llhNekEtXKkTqCEA==
"@imgly/plugin-cutout-library-web@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.5.tgz#467188a7a65a012b976e03e0a73410aa6fd4679a"
integrity sha512-MUvteEi9kE32tba7+ZB81KVvl7pNSNvav29m4S2PMBNqjcQGuKFcbZ7py+jT4iNTN2y5AmEDONpsc2GzOm1Ebw==
dependencies:
lodash "^4.17.21"

Expand Down
6 changes: 3 additions & 3 deletions showcase-apparel-editor-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@cesdk/cesdk-js": "1.37.0",
"@cesdk/engine": "1.37.0",
"@cesdk/cesdk-js": "1.38.0",
"@cesdk/engine": "1.38.0",
"@google/model-viewer": "3.1.1",
"@imgly/idml-importer": "^1.0.6",
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-cutout-library-web": "^1.0.5",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion showcase-apparel-editor-ui/public/example-1.scene

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ const CaseComponent = () => {
`${process.env.NEXT_PUBLIC_URL_HOSTNAME}${process.env.NEXT_PUBLIC_URL}/cases/apparel-editor-ui/tshirt.scene`
);

const checkScopesInAPIsSetting =
engine.editor.getSettingBool('checkScopesInAPIs');
engine.editor.setSettingBool('checkScopesInAPIs', false);
const pages = engine.block.findByType('page');
pages.forEach((page) => {
// temporary allow clipping
Expand All @@ -63,8 +60,6 @@ const CaseComponent = () => {
engine.block.setClipped(page, true);
engine.block.setScopeEnabled(page, 'layer/clipping', oldScope);
});
// restore checkScopesInAPIs setting
engine.editor.setSettingBool('checkScopesInAPIs', checkScopesInAPIsSetting);
}, []);

return (
Expand Down
11 changes: 11 additions & 0 deletions showcase-apparel-editor-ui/src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ body {
.mobile-padding-top {
padding-top: 0;
}
}

/* hide hubspot chat widget on mobile */
#hubspot-messages-iframe-container {
visibility: hidden;
}

@media (min-width: 650px) {
#hubspot-messages-iframe-container {
visibility: initial;
}
}
26 changes: 13 additions & 13 deletions showcase-apparel-editor-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1045,17 +1045,17 @@
"@babel/helper-validator-identifier" "^7.22.20"
to-fast-properties "^2.0.0"

"@cesdk/cesdk-js@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.37.0.tgz#791634fea6d75a3addc29bc77bd8f6383cab076b"
integrity sha512-Tg1NPxgh1loqomCBci1gDnlbjVyAULTrD+Bxi4USfw4LAJBxdmD+T97b6MAHOc5kVFtQWrpfEKplT3xYnRHytQ==
"@cesdk/cesdk-js@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/cesdk-js/-/cesdk-js-1.38.0.tgz#d4744aaff4e2b0b2ed6cd772eade927d7baf4e09"
integrity sha512-qmnkRT6BkIQXbQMBa69y2N7hJvoLWeOOW59DT1woWQwb6o3B1V99Z3baya4sP7YraAoYEl4ssZcJ9opTG+EtnQ==
dependencies:
"@cesdk/engine" "1.37.0"
"@cesdk/engine" "1.38.0"

"@cesdk/engine@1.37.0":
version "1.37.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.37.0.tgz#904bf6bf85147f8f13a7ab77ff1e5a9257289902"
integrity sha512-7UsBukfoQ6MVrHU7q3lBposcXTmtF32wuSPV0kwtDqkHdYC1CJ61jJLs2FbVb3yqtecI/AUxdzH3/RblTXeU6w==
"@cesdk/engine@1.38.0":
version "1.38.0"
resolved "https://registry.yarnpkg.com/@cesdk/engine/-/engine-1.38.0.tgz#a20d8fb8b4a5ade14bb3bd7bc42bcbbbeb33b65d"
integrity sha512-2Jn6M6/4npqD9649Y/92asxceKMvQLI4T4R/cmX0FqZPRususSwZ7GELWcsCvImEiu7HK6mrIw7ztDYCvmc2ZA==

"@eslint-community/eslint-utils@^4.2.0":
version "4.4.0"
Expand Down Expand Up @@ -1142,10 +1142,10 @@
dependencies:
"@imgly/background-removal" "^1.5.3"

"@imgly/plugin-cutout-library-web@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.4.tgz#799301bdbed30e4309e9e48067c84ec0e130c64d"
integrity sha512-sfVt/jHBpqxNgz/KOzOGyuSv1ILWw6OFg4Y73LMh0gt5d8UJwF4egfmRyNcA2A3E5zxZc6llhNekEtXKkTqCEA==
"@imgly/plugin-cutout-library-web@^1.0.5":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@imgly/plugin-cutout-library-web/-/plugin-cutout-library-web-1.0.5.tgz#467188a7a65a012b976e03e0a73410aa6fd4679a"
integrity sha512-MUvteEi9kE32tba7+ZB81KVvl7pNSNvav29m4S2PMBNqjcQGuKFcbZ7py+jT4iNTN2y5AmEDONpsc2GzOm1Ebw==
dependencies:
lodash "^4.17.21"

Expand Down
6 changes: 3 additions & 3 deletions showcase-apparel-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@cesdk/cesdk-js": "1.37.0",
"@cesdk/engine": "1.37.0",
"@cesdk/cesdk-js": "1.38.0",
"@cesdk/engine": "1.38.0",
"@google/model-viewer": "3.1.1",
"@imgly/idml-importer": "^1.0.6",
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-cutout-library-web": "^1.0.5",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion showcase-apparel-ui/public/example-1.scene

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion showcase-apparel-ui/src/components/case/CaseComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const CaseComponent = () => {
}}
configure={async (engine) => {
engine.editor.setSettingBool('page/title/show', false);
engine.editor.setSettingBool('checkScopesInAPIs', false);
await engine.addDefaultAssetSources();
await engine.addDemoAssetSources({
sceneMode: 'Design',
Expand Down
11 changes: 11 additions & 0 deletions showcase-apparel-ui/src/styles/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ body {
.mobile-padding-top {
padding-top: 0;
}
}

/* hide hubspot chat widget on mobile */
#hubspot-messages-iframe-container {
visibility: hidden;
}

@media (min-width: 650px) {
#hubspot-messages-iframe-container {
visibility: initial;
}
}
Loading

0 comments on commit dd30c79

Please sign in to comment.