@teleporthq/teleport-shared 0.44.0-alpha.0 → 0.44.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/__tests__/_fixtures/rich-text/README.md +6 -0
- package/__tests__/_fixtures/rich-text/help-accept-an-invitation.html +50 -0
- package/__tests__/_fixtures/rich-text/help-activate-an-appsumo-license.html +44 -0
- package/__tests__/_fixtures/rich-text/help-add-custom-code-to-your-site.html +61 -0
- package/__tests__/_fixtures/rich-text/help-connect-a-custom-domain.html +106 -0
- package/__tests__/_fixtures/rich-text/help-custom-animations-with-code.html +69 -0
- package/__tests__/_fixtures/rich-text/help-generate-a-store.html +78 -0
- package/__tests__/_fixtures/rich-text/help-keyboard-shortcuts.html +417 -0
- package/__tests__/_fixtures/rich-text/help-prompting-tips.html +82 -0
- package/__tests__/_fixtures/rich-text/help-sitemap-robots-and-llms-txt.html +82 -0
- package/__tests__/_fixtures/rich-text/help-use-a-csv-file-or-static-data.html +61 -0
- package/__tests__/_helpers/embed-runtime-emitter.ts +197 -0
- package/__tests__/_helpers/emitted-module-harness.ts +122 -0
- package/__tests__/_helpers/rich-text-content-runtime-emitter.ts +117 -0
- package/__tests__/cache/client-runtime.test.ts +341 -0
- package/__tests__/cache/server-runtime.test.ts +369 -0
- package/__tests__/function-sources.ts +30 -0
- package/__tests__/motion-runtime/motion-engine.ts +102 -0
- package/__tests__/motion-runtime/scroll-video-engine.ts +28 -0
- package/__tests__/page-arrival/page-export.test.ts +109 -0
- package/__tests__/page-arrival/runtime.test.ts +209 -0
- package/__tests__/scroll-scene/story-lanes.ts +126 -0
- package/__tests__/utils/ast-effect-cleanup.ts +312 -0
- package/__tests__/utils/ast-scope.ts +120 -0
- package/__tests__/utils/ast-statement-order.ts +351 -0
- package/__tests__/utils/content-tables.ts +69 -0
- package/__tests__/utils/discount-engine.ts +1548 -0
- package/__tests__/utils/font-preconnect.ts +62 -0
- package/__tests__/utils/inline-script-error-guard.ts +121 -0
- package/__tests__/utils/js-identifiers.ts +147 -0
- package/__tests__/utils/local-imports.ts +174 -0
- package/__tests__/utils/order-line-tax.ts +302 -0
- package/__tests__/utils/page-dependencies-prefix.ts +89 -0
- package/__tests__/utils/product-options.ts +2458 -0
- package/__tests__/utils/regional-pricing.ts +1056 -0
- package/__tests__/utils/rich-text-content-runtime-module.ts +115 -0
- package/__tests__/utils/rich-text-content.ts +131 -0
- package/__tests__/utils/rich-text-embeds-runtime-module.ts +158 -0
- package/__tests__/utils/rich-text-embeds.ts +254 -0
- package/__tests__/utils/route-paths.ts +68 -0
- package/__tests__/utils/string-utils.ts +19 -0
- package/__tests__/utils/subscription-access.ts +37 -0
- package/__tests__/utils/table-access-trusted-reader-roles.ts +144 -0
- package/__tests__/utils/uidl-utils.ts +59 -0
- package/dist/cjs/cache/api-routes.d.ts +27 -0
- package/dist/cjs/cache/api-routes.d.ts.map +1 -0
- package/dist/cjs/cache/api-routes.js +33 -0
- package/dist/cjs/cache/api-routes.js.map +1 -0
- package/dist/cjs/cache/client-runtime.d.ts +41 -0
- package/dist/cjs/cache/client-runtime.d.ts.map +1 -0
- package/dist/cjs/cache/client-runtime.js +48 -0
- package/dist/cjs/cache/client-runtime.js.map +1 -0
- package/dist/cjs/cache/constants.d.ts +62 -0
- package/dist/cjs/cache/constants.d.ts.map +1 -0
- package/dist/cjs/cache/constants.js +69 -0
- package/dist/cjs/cache/constants.js.map +1 -0
- package/dist/cjs/cache/index.d.ts +6 -0
- package/dist/cjs/cache/index.d.ts.map +1 -0
- package/dist/cjs/cache/index.js +22 -0
- package/dist/cjs/cache/index.js.map +1 -0
- package/dist/cjs/cache/server-runtime.d.ts +33 -0
- package/dist/cjs/cache/server-runtime.d.ts.map +1 -0
- package/dist/cjs/cache/server-runtime.js +40 -0
- package/dist/cjs/cache/server-runtime.js.map +1 -0
- package/dist/cjs/cache/version-store.d.ts +28 -0
- package/dist/cjs/cache/version-store.d.ts.map +1 -0
- package/dist/cjs/cache/version-store.js +37 -0
- package/dist/cjs/cache/version-store.js.map +1 -0
- package/dist/cjs/index.d.ts +37 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +73 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/motion-runtime/index.d.ts +3 -0
- package/dist/cjs/motion-runtime/index.d.ts.map +1 -0
- package/dist/cjs/motion-runtime/index.js +8 -0
- package/dist/cjs/motion-runtime/index.js.map +1 -0
- package/dist/cjs/motion-runtime/motion-engine-source.d.ts +16 -0
- package/dist/cjs/motion-runtime/motion-engine-source.d.ts.map +1 -0
- package/dist/cjs/motion-runtime/motion-engine-source.js +20 -0
- package/dist/cjs/motion-runtime/motion-engine-source.js.map +1 -0
- package/dist/cjs/motion-runtime/scroll-video-engine-source.d.ts +9 -0
- package/dist/cjs/motion-runtime/scroll-video-engine-source.d.ts.map +1 -0
- package/dist/cjs/motion-runtime/scroll-video-engine-source.js +13 -0
- package/dist/cjs/motion-runtime/scroll-video-engine-source.js.map +1 -0
- package/dist/cjs/page-arrival/constants.d.ts +14 -0
- package/dist/cjs/page-arrival/constants.d.ts.map +1 -0
- package/dist/cjs/page-arrival/constants.js +17 -0
- package/dist/cjs/page-arrival/constants.js.map +1 -0
- package/dist/cjs/page-arrival/index.d.ts +4 -0
- package/dist/cjs/page-arrival/index.d.ts.map +1 -0
- package/dist/cjs/page-arrival/index.js +20 -0
- package/dist/cjs/page-arrival/index.js.map +1 -0
- package/dist/cjs/page-arrival/page-export.d.ts +14 -0
- package/dist/cjs/page-arrival/page-export.d.ts.map +1 -0
- package/dist/cjs/page-arrival/page-export.js +88 -0
- package/dist/cjs/page-arrival/page-export.js.map +1 -0
- package/dist/cjs/page-arrival/runtime.d.ts +21 -0
- package/dist/cjs/page-arrival/runtime.d.ts.map +1 -0
- package/dist/cjs/page-arrival/runtime.js +26 -0
- package/dist/cjs/page-arrival/runtime.js.map +1 -0
- package/dist/cjs/page-revalidate/api-route.d.ts +24 -0
- package/dist/cjs/page-revalidate/api-route.d.ts.map +1 -0
- package/dist/cjs/page-revalidate/api-route.js +30 -0
- package/dist/cjs/page-revalidate/api-route.js.map +1 -0
- package/dist/cjs/page-revalidate/constants.d.ts +22 -0
- package/dist/cjs/page-revalidate/constants.d.ts.map +1 -0
- package/dist/cjs/page-revalidate/constants.js +25 -0
- package/dist/cjs/page-revalidate/constants.js.map +1 -0
- package/dist/cjs/page-revalidate/index.d.ts +3 -0
- package/dist/cjs/page-revalidate/index.d.ts.map +1 -0
- package/dist/cjs/page-revalidate/index.js +19 -0
- package/dist/cjs/page-revalidate/index.js.map +1 -0
- package/dist/cjs/page-transition/index.d.ts +5 -0
- package/dist/cjs/page-transition/index.d.ts.map +1 -0
- package/dist/cjs/page-transition/index.js +21 -0
- package/dist/cjs/page-transition/index.js.map +1 -0
- package/dist/cjs/page-transition/morph-source.d.ts +20 -0
- package/dist/cjs/page-transition/morph-source.d.ts.map +1 -0
- package/dist/cjs/page-transition/morph-source.js +25 -0
- package/dist/cjs/page-transition/morph-source.js.map +1 -0
- package/dist/cjs/page-transition/variant-sources.generated.d.ts +7 -0
- package/dist/cjs/page-transition/variant-sources.generated.d.ts.map +1 -0
- package/dist/cjs/page-transition/variant-sources.generated.js +14 -0
- package/dist/cjs/page-transition/variant-sources.generated.js.map +1 -0
- package/dist/cjs/page-transition/variants.d.ts +87 -0
- package/dist/cjs/page-transition/variants.d.ts.map +1 -0
- package/dist/cjs/page-transition/variants.js +330 -0
- package/dist/cjs/page-transition/variants.js.map +1 -0
- package/dist/cjs/page-transition/view-transition-css.d.ts +21 -0
- package/dist/cjs/page-transition/view-transition-css.d.ts.map +1 -0
- package/dist/cjs/page-transition/view-transition-css.js +188 -0
- package/dist/cjs/page-transition/view-transition-css.js.map +1 -0
- package/dist/cjs/scroll-scene/chapter-index.d.ts +15 -0
- package/dist/cjs/scroll-scene/chapter-index.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/chapter-index.js +30 -0
- package/dist/cjs/scroll-scene/chapter-index.js.map +1 -0
- package/dist/cjs/scroll-scene/controller-source.d.ts +26 -0
- package/dist/cjs/scroll-scene/controller-source.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/controller-source.js +34 -0
- package/dist/cjs/scroll-scene/controller-source.js.map +1 -0
- package/dist/cjs/scroll-scene/engine-source.d.ts +2 -0
- package/dist/cjs/scroll-scene/engine-source.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/engine-source.js +23 -0
- package/dist/cjs/scroll-scene/engine-source.js.map +1 -0
- package/dist/cjs/scroll-scene/helper-sources.generated.d.ts +9 -0
- package/dist/cjs/scroll-scene/helper-sources.generated.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/helper-sources.generated.js +16 -0
- package/dist/cjs/scroll-scene/helper-sources.generated.js.map +1 -0
- package/dist/cjs/scroll-scene/index.d.ts +8 -0
- package/dist/cjs/scroll-scene/index.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/index.js +24 -0
- package/dist/cjs/scroll-scene/index.js.map +1 -0
- package/dist/cjs/scroll-scene/moment.d.ts +21 -0
- package/dist/cjs/scroll-scene/moment.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/moment.js +50 -0
- package/dist/cjs/scroll-scene/moment.js.map +1 -0
- package/dist/cjs/scroll-scene/points.d.ts +23 -0
- package/dist/cjs/scroll-scene/points.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/points.js +51 -0
- package/dist/cjs/scroll-scene/points.js.map +1 -0
- package/dist/cjs/scroll-scene/unclip.d.ts +15 -0
- package/dist/cjs/scroll-scene/unclip.d.ts.map +1 -0
- package/dist/cjs/scroll-scene/unclip.js +44 -0
- package/dist/cjs/scroll-scene/unclip.js.map +1 -0
- package/dist/cjs/state-bindings/index.d.ts +74 -0
- package/dist/cjs/state-bindings/index.d.ts.map +1 -0
- package/dist/cjs/state-bindings/index.js +193 -0
- package/dist/cjs/state-bindings/index.js.map +1 -0
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/cjs/utils/ast-effect-cleanup.d.ts +54 -0
- package/dist/cjs/utils/ast-effect-cleanup.d.ts.map +1 -0
- package/dist/cjs/utils/ast-effect-cleanup.js +358 -0
- package/dist/cjs/utils/ast-effect-cleanup.js.map +1 -0
- package/dist/cjs/utils/ast-scope.d.ts +46 -0
- package/dist/cjs/utils/ast-scope.d.ts.map +1 -0
- package/dist/cjs/utils/ast-scope.js +482 -0
- package/dist/cjs/utils/ast-scope.js.map +1 -0
- package/dist/cjs/utils/ast-statement-order.d.ts +103 -0
- package/dist/cjs/utils/ast-statement-order.d.ts.map +1 -0
- package/dist/cjs/utils/ast-statement-order.js +312 -0
- package/dist/cjs/utils/ast-statement-order.js.map +1 -0
- package/dist/cjs/utils/cart-currency.d.ts +27 -0
- package/dist/cjs/utils/cart-currency.d.ts.map +1 -0
- package/dist/cjs/utils/cart-currency.js +31 -0
- package/dist/cjs/utils/cart-currency.js.map +1 -0
- package/dist/cjs/utils/cart-line-pricing.d.ts +25 -0
- package/dist/cjs/utils/cart-line-pricing.d.ts.map +1 -0
- package/dist/cjs/utils/cart-line-pricing.js +29 -0
- package/dist/cjs/utils/cart-line-pricing.js.map +1 -0
- package/dist/cjs/utils/content-tables.d.ts +78 -0
- package/dist/cjs/utils/content-tables.d.ts.map +1 -0
- package/dist/cjs/utils/content-tables.js +123 -0
- package/dist/cjs/utils/content-tables.js.map +1 -0
- package/dist/cjs/utils/discount-engine.d.ts +74 -0
- package/dist/cjs/utils/discount-engine.d.ts.map +1 -0
- package/dist/cjs/utils/discount-engine.js +435 -0
- package/dist/cjs/utils/discount-engine.js.map +1 -0
- package/dist/cjs/utils/email-date.d.ts +28 -0
- package/dist/cjs/utils/email-date.d.ts.map +1 -0
- package/dist/cjs/utils/email-date.js +35 -0
- package/dist/cjs/utils/email-date.js.map +1 -0
- package/dist/cjs/utils/font-preconnect.d.ts +40 -0
- package/dist/cjs/utils/font-preconnect.d.ts.map +1 -0
- package/dist/cjs/utils/font-preconnect.js +52 -0
- package/dist/cjs/utils/font-preconnect.js.map +1 -0
- package/dist/cjs/utils/generic.d.ts +79 -0
- package/dist/cjs/utils/generic.d.ts.map +1 -1
- package/dist/cjs/utils/generic.js +150 -1
- package/dist/cjs/utils/generic.js.map +1 -1
- package/dist/cjs/utils/html-content-model.d.ts +62 -0
- package/dist/cjs/utils/html-content-model.d.ts.map +1 -0
- package/dist/cjs/utils/html-content-model.js +293 -0
- package/dist/cjs/utils/html-content-model.js.map +1 -0
- package/dist/cjs/utils/inline-script-error-guard.d.ts +29 -0
- package/dist/cjs/utils/inline-script-error-guard.d.ts.map +1 -0
- package/dist/cjs/utils/inline-script-error-guard.js +38 -0
- package/dist/cjs/utils/inline-script-error-guard.js.map +1 -0
- package/dist/cjs/utils/js-identifiers.d.ts +89 -0
- package/dist/cjs/utils/js-identifiers.d.ts.map +1 -0
- package/dist/cjs/utils/js-identifiers.js +208 -0
- package/dist/cjs/utils/js-identifiers.js.map +1 -0
- package/dist/cjs/utils/layout-topology.d.ts +50 -0
- package/dist/cjs/utils/layout-topology.d.ts.map +1 -0
- package/dist/cjs/utils/layout-topology.js +78 -0
- package/dist/cjs/utils/layout-topology.js.map +1 -0
- package/dist/cjs/utils/local-imports.d.ts +48 -0
- package/dist/cjs/utils/local-imports.d.ts.map +1 -0
- package/dist/cjs/utils/local-imports.js +168 -0
- package/dist/cjs/utils/local-imports.js.map +1 -0
- package/dist/cjs/utils/product-discounts.d.ts +27 -0
- package/dist/cjs/utils/product-discounts.d.ts.map +1 -0
- package/dist/cjs/utils/product-discounts.js +31 -0
- package/dist/cjs/utils/product-discounts.js.map +1 -0
- package/dist/cjs/utils/product-options.d.ts +25 -0
- package/dist/cjs/utils/product-options.d.ts.map +1 -0
- package/dist/cjs/utils/product-options.js +1155 -0
- package/dist/cjs/utils/product-options.js.map +1 -0
- package/dist/cjs/utils/product-ratings.d.ts +26 -0
- package/dist/cjs/utils/product-ratings.d.ts.map +1 -0
- package/dist/cjs/utils/product-ratings.js +30 -0
- package/dist/cjs/utils/product-ratings.js.map +1 -0
- package/dist/cjs/utils/regional-pricing.d.ts +46 -0
- package/dist/cjs/utils/regional-pricing.d.ts.map +1 -0
- package/dist/cjs/utils/regional-pricing.js +50 -0
- package/dist/cjs/utils/regional-pricing.js.map +1 -0
- package/dist/cjs/utils/rich-text-content-codegen.d.ts +20 -0
- package/dist/cjs/utils/rich-text-content-codegen.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-content-codegen.js +55 -0
- package/dist/cjs/utils/rich-text-content-codegen.js.map +1 -0
- package/dist/cjs/utils/rich-text-content-runtime-source.d.ts +2 -0
- package/dist/cjs/utils/rich-text-content-runtime-source.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-content-runtime-source.js +591 -0
- package/dist/cjs/utils/rich-text-content-runtime-source.js.map +1 -0
- package/dist/cjs/utils/rich-text-content.d.ts +150 -0
- package/dist/cjs/utils/rich-text-content.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-content.js +649 -0
- package/dist/cjs/utils/rich-text-content.js.map +1 -0
- package/dist/cjs/utils/rich-text-embeds-codegen.d.ts +22 -0
- package/dist/cjs/utils/rich-text-embeds-codegen.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-embeds-codegen.js +50 -0
- package/dist/cjs/utils/rich-text-embeds-codegen.js.map +1 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.d.ts +2 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.js +409 -0
- package/dist/cjs/utils/rich-text-embeds-runtime-source.js.map +1 -0
- package/dist/cjs/utils/rich-text-embeds.d.ts +251 -0
- package/dist/cjs/utils/rich-text-embeds.d.ts.map +1 -0
- package/dist/cjs/utils/rich-text-embeds.js +852 -0
- package/dist/cjs/utils/rich-text-embeds.js.map +1 -0
- package/dist/cjs/utils/route-paths.d.ts +55 -0
- package/dist/cjs/utils/route-paths.d.ts.map +1 -0
- package/dist/cjs/utils/route-paths.js +140 -0
- package/dist/cjs/utils/route-paths.js.map +1 -0
- package/dist/cjs/utils/session-cookie-resolver.d.ts +85 -0
- package/dist/cjs/utils/session-cookie-resolver.d.ts.map +1 -0
- package/dist/cjs/utils/session-cookie-resolver.js +108 -0
- package/dist/cjs/utils/session-cookie-resolver.js.map +1 -0
- package/dist/cjs/utils/storefront-tax.d.ts +76 -0
- package/dist/cjs/utils/storefront-tax.d.ts.map +1 -0
- package/dist/cjs/utils/storefront-tax.js +98 -0
- package/dist/cjs/utils/storefront-tax.js.map +1 -0
- package/dist/cjs/utils/string-utils.d.ts +27 -0
- package/dist/cjs/utils/string-utils.d.ts.map +1 -1
- package/dist/cjs/utils/string-utils.js +46 -3
- package/dist/cjs/utils/string-utils.js.map +1 -1
- package/dist/cjs/utils/style-declarations.d.ts +34 -0
- package/dist/cjs/utils/style-declarations.d.ts.map +1 -0
- package/dist/cjs/utils/style-declarations.js +77 -0
- package/dist/cjs/utils/style-declarations.js.map +1 -0
- package/dist/cjs/utils/subscription-access.d.ts +36 -0
- package/dist/cjs/utils/subscription-access.d.ts.map +1 -0
- package/dist/cjs/utils/subscription-access.js +61 -0
- package/dist/cjs/utils/subscription-access.js.map +1 -0
- package/dist/cjs/utils/table-access.d.ts +127 -0
- package/dist/cjs/utils/table-access.d.ts.map +1 -0
- package/dist/cjs/utils/table-access.js +277 -0
- package/dist/cjs/utils/table-access.js.map +1 -0
- package/dist/cjs/utils/uidl-utils.d.ts +3 -1
- package/dist/cjs/utils/uidl-utils.d.ts.map +1 -1
- package/dist/cjs/utils/uidl-utils.js +431 -35
- package/dist/cjs/utils/uidl-utils.js.map +1 -1
- package/dist/cjs/utils/web-push.d.ts +43 -0
- package/dist/cjs/utils/web-push.d.ts.map +1 -0
- package/dist/cjs/utils/web-push.js +62 -0
- package/dist/cjs/utils/web-push.js.map +1 -0
- package/dist/esm/cache/api-routes.d.ts +27 -0
- package/dist/esm/cache/api-routes.d.ts.map +1 -0
- package/dist/esm/cache/api-routes.js +28 -0
- package/dist/esm/cache/api-routes.js.map +1 -0
- package/dist/esm/cache/client-runtime.d.ts +41 -0
- package/dist/esm/cache/client-runtime.d.ts.map +1 -0
- package/dist/esm/cache/client-runtime.js +44 -0
- package/dist/esm/cache/client-runtime.js.map +1 -0
- package/dist/esm/cache/constants.d.ts +62 -0
- package/dist/esm/cache/constants.d.ts.map +1 -0
- package/dist/esm/cache/constants.js +64 -0
- package/dist/esm/cache/constants.js.map +1 -0
- package/dist/esm/cache/index.d.ts +6 -0
- package/dist/esm/cache/index.d.ts.map +1 -0
- package/dist/esm/cache/index.js +6 -0
- package/dist/esm/cache/index.js.map +1 -0
- package/dist/esm/cache/server-runtime.d.ts +33 -0
- package/dist/esm/cache/server-runtime.d.ts.map +1 -0
- package/dist/esm/cache/server-runtime.js +36 -0
- package/dist/esm/cache/server-runtime.js.map +1 -0
- package/dist/esm/cache/version-store.d.ts +28 -0
- package/dist/esm/cache/version-store.d.ts.map +1 -0
- package/dist/esm/cache/version-store.js +33 -0
- package/dist/esm/cache/version-store.js.map +1 -0
- package/dist/esm/index.d.ts +37 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +37 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/motion-runtime/index.d.ts +3 -0
- package/dist/esm/motion-runtime/index.d.ts.map +1 -0
- package/dist/esm/motion-runtime/index.js +3 -0
- package/dist/esm/motion-runtime/index.js.map +1 -0
- package/dist/esm/motion-runtime/motion-engine-source.d.ts +16 -0
- package/dist/esm/motion-runtime/motion-engine-source.d.ts.map +1 -0
- package/dist/esm/motion-runtime/motion-engine-source.js +16 -0
- package/dist/esm/motion-runtime/motion-engine-source.js.map +1 -0
- package/dist/esm/motion-runtime/scroll-video-engine-source.d.ts +9 -0
- package/dist/esm/motion-runtime/scroll-video-engine-source.d.ts.map +1 -0
- package/dist/esm/motion-runtime/scroll-video-engine-source.js +9 -0
- package/dist/esm/motion-runtime/scroll-video-engine-source.js.map +1 -0
- package/dist/esm/page-arrival/constants.d.ts +14 -0
- package/dist/esm/page-arrival/constants.d.ts.map +1 -0
- package/dist/esm/page-arrival/constants.js +14 -0
- package/dist/esm/page-arrival/constants.js.map +1 -0
- package/dist/esm/page-arrival/index.d.ts +4 -0
- package/dist/esm/page-arrival/index.d.ts.map +1 -0
- package/dist/esm/page-arrival/index.js +4 -0
- package/dist/esm/page-arrival/index.js.map +1 -0
- package/dist/esm/page-arrival/page-export.d.ts +14 -0
- package/dist/esm/page-arrival/page-export.d.ts.map +1 -0
- package/dist/esm/page-arrival/page-export.js +61 -0
- package/dist/esm/page-arrival/page-export.js.map +1 -0
- package/dist/esm/page-arrival/runtime.d.ts +21 -0
- package/dist/esm/page-arrival/runtime.d.ts.map +1 -0
- package/dist/esm/page-arrival/runtime.js +22 -0
- package/dist/esm/page-arrival/runtime.js.map +1 -0
- package/dist/esm/page-revalidate/api-route.d.ts +24 -0
- package/dist/esm/page-revalidate/api-route.d.ts.map +1 -0
- package/dist/esm/page-revalidate/api-route.js +26 -0
- package/dist/esm/page-revalidate/api-route.js.map +1 -0
- package/dist/esm/page-revalidate/constants.d.ts +22 -0
- package/dist/esm/page-revalidate/constants.d.ts.map +1 -0
- package/dist/esm/page-revalidate/constants.js +22 -0
- package/dist/esm/page-revalidate/constants.js.map +1 -0
- package/dist/esm/page-revalidate/index.d.ts +3 -0
- package/dist/esm/page-revalidate/index.d.ts.map +1 -0
- package/dist/esm/page-revalidate/index.js +3 -0
- package/dist/esm/page-revalidate/index.js.map +1 -0
- package/dist/esm/page-transition/index.d.ts +5 -0
- package/dist/esm/page-transition/index.d.ts.map +1 -0
- package/dist/esm/page-transition/index.js +5 -0
- package/dist/esm/page-transition/index.js.map +1 -0
- package/dist/esm/page-transition/morph-source.d.ts +20 -0
- package/dist/esm/page-transition/morph-source.d.ts.map +1 -0
- package/dist/esm/page-transition/morph-source.js +21 -0
- package/dist/esm/page-transition/morph-source.js.map +1 -0
- package/dist/esm/page-transition/variant-sources.generated.d.ts +7 -0
- package/dist/esm/page-transition/variant-sources.generated.d.ts.map +1 -0
- package/dist/esm/page-transition/variant-sources.generated.js +11 -0
- package/dist/esm/page-transition/variant-sources.generated.js.map +1 -0
- package/dist/esm/page-transition/variants.d.ts +87 -0
- package/dist/esm/page-transition/variants.d.ts.map +1 -0
- package/dist/esm/page-transition/variants.js +318 -0
- package/dist/esm/page-transition/variants.js.map +1 -0
- package/dist/esm/page-transition/view-transition-css.d.ts +21 -0
- package/dist/esm/page-transition/view-transition-css.d.ts.map +1 -0
- package/dist/esm/page-transition/view-transition-css.js +161 -0
- package/dist/esm/page-transition/view-transition-css.js.map +1 -0
- package/dist/esm/scroll-scene/chapter-index.d.ts +15 -0
- package/dist/esm/scroll-scene/chapter-index.d.ts.map +1 -0
- package/dist/esm/scroll-scene/chapter-index.js +26 -0
- package/dist/esm/scroll-scene/chapter-index.js.map +1 -0
- package/dist/esm/scroll-scene/controller-source.d.ts +26 -0
- package/dist/esm/scroll-scene/controller-source.d.ts.map +1 -0
- package/dist/esm/scroll-scene/controller-source.js +26 -0
- package/dist/esm/scroll-scene/controller-source.js.map +1 -0
- package/dist/esm/scroll-scene/engine-source.d.ts +2 -0
- package/dist/esm/scroll-scene/engine-source.d.ts.map +1 -0
- package/dist/esm/scroll-scene/engine-source.js +19 -0
- package/dist/esm/scroll-scene/engine-source.js.map +1 -0
- package/dist/esm/scroll-scene/helper-sources.generated.d.ts +9 -0
- package/dist/esm/scroll-scene/helper-sources.generated.d.ts.map +1 -0
- package/dist/esm/scroll-scene/helper-sources.generated.js +13 -0
- package/dist/esm/scroll-scene/helper-sources.generated.js.map +1 -0
- package/dist/esm/scroll-scene/index.d.ts +8 -0
- package/dist/esm/scroll-scene/index.d.ts.map +1 -0
- package/dist/esm/scroll-scene/index.js +8 -0
- package/dist/esm/scroll-scene/index.js.map +1 -0
- package/dist/esm/scroll-scene/moment.d.ts +21 -0
- package/dist/esm/scroll-scene/moment.d.ts.map +1 -0
- package/dist/esm/scroll-scene/moment.js +46 -0
- package/dist/esm/scroll-scene/moment.js.map +1 -0
- package/dist/esm/scroll-scene/points.d.ts +23 -0
- package/dist/esm/scroll-scene/points.d.ts.map +1 -0
- package/dist/esm/scroll-scene/points.js +45 -0
- package/dist/esm/scroll-scene/points.js.map +1 -0
- package/dist/esm/scroll-scene/unclip.d.ts +15 -0
- package/dist/esm/scroll-scene/unclip.d.ts.map +1 -0
- package/dist/esm/scroll-scene/unclip.js +40 -0
- package/dist/esm/scroll-scene/unclip.js.map +1 -0
- package/dist/esm/state-bindings/index.d.ts +74 -0
- package/dist/esm/state-bindings/index.d.ts.map +1 -0
- package/dist/esm/state-bindings/index.js +176 -0
- package/dist/esm/state-bindings/index.js.map +1 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/utils/ast-effect-cleanup.d.ts +54 -0
- package/dist/esm/utils/ast-effect-cleanup.d.ts.map +1 -0
- package/dist/esm/utils/ast-effect-cleanup.js +330 -0
- package/dist/esm/utils/ast-effect-cleanup.js.map +1 -0
- package/dist/esm/utils/ast-scope.d.ts +46 -0
- package/dist/esm/utils/ast-scope.d.ts.map +1 -0
- package/dist/esm/utils/ast-scope.js +477 -0
- package/dist/esm/utils/ast-scope.js.map +1 -0
- package/dist/esm/utils/ast-statement-order.d.ts +103 -0
- package/dist/esm/utils/ast-statement-order.d.ts.map +1 -0
- package/dist/esm/utils/ast-statement-order.js +302 -0
- package/dist/esm/utils/ast-statement-order.js.map +1 -0
- package/dist/esm/utils/cart-currency.d.ts +27 -0
- package/dist/esm/utils/cart-currency.d.ts.map +1 -0
- package/dist/esm/utils/cart-currency.js +27 -0
- package/dist/esm/utils/cart-currency.js.map +1 -0
- package/dist/esm/utils/cart-line-pricing.d.ts +25 -0
- package/dist/esm/utils/cart-line-pricing.d.ts.map +1 -0
- package/dist/esm/utils/cart-line-pricing.js +25 -0
- package/dist/esm/utils/cart-line-pricing.js.map +1 -0
- package/dist/esm/utils/content-tables.d.ts +78 -0
- package/dist/esm/utils/content-tables.d.ts.map +1 -0
- package/dist/esm/utils/content-tables.js +114 -0
- package/dist/esm/utils/content-tables.js.map +1 -0
- package/dist/esm/utils/discount-engine.d.ts +74 -0
- package/dist/esm/utils/discount-engine.d.ts.map +1 -0
- package/dist/esm/utils/discount-engine.js +431 -0
- package/dist/esm/utils/discount-engine.js.map +1 -0
- package/dist/esm/utils/email-date.d.ts +28 -0
- package/dist/esm/utils/email-date.d.ts.map +1 -0
- package/dist/esm/utils/email-date.js +31 -0
- package/dist/esm/utils/email-date.js.map +1 -0
- package/dist/esm/utils/font-preconnect.d.ts +40 -0
- package/dist/esm/utils/font-preconnect.d.ts.map +1 -0
- package/dist/esm/utils/font-preconnect.js +48 -0
- package/dist/esm/utils/font-preconnect.js.map +1 -0
- package/dist/esm/utils/generic.d.ts +79 -0
- package/dist/esm/utils/generic.d.ts.map +1 -1
- package/dist/esm/utils/generic.js +144 -0
- package/dist/esm/utils/generic.js.map +1 -1
- package/dist/esm/utils/html-content-model.d.ts +62 -0
- package/dist/esm/utils/html-content-model.d.ts.map +1 -0
- package/dist/esm/utils/html-content-model.js +284 -0
- package/dist/esm/utils/html-content-model.js.map +1 -0
- package/dist/esm/utils/inline-script-error-guard.d.ts +29 -0
- package/dist/esm/utils/inline-script-error-guard.d.ts.map +1 -0
- package/dist/esm/utils/inline-script-error-guard.js +34 -0
- package/dist/esm/utils/inline-script-error-guard.js.map +1 -0
- package/dist/esm/utils/js-identifiers.d.ts +89 -0
- package/dist/esm/utils/js-identifiers.d.ts.map +1 -0
- package/dist/esm/utils/js-identifiers.js +200 -0
- package/dist/esm/utils/js-identifiers.js.map +1 -0
- package/dist/esm/utils/layout-topology.d.ts +50 -0
- package/dist/esm/utils/layout-topology.d.ts.map +1 -0
- package/dist/esm/utils/layout-topology.js +71 -0
- package/dist/esm/utils/layout-topology.js.map +1 -0
- package/dist/esm/utils/local-imports.d.ts +48 -0
- package/dist/esm/utils/local-imports.d.ts.map +1 -0
- package/dist/esm/utils/local-imports.js +161 -0
- package/dist/esm/utils/local-imports.js.map +1 -0
- package/dist/esm/utils/product-discounts.d.ts +27 -0
- package/dist/esm/utils/product-discounts.d.ts.map +1 -0
- package/dist/esm/utils/product-discounts.js +27 -0
- package/dist/esm/utils/product-discounts.js.map +1 -0
- package/dist/esm/utils/product-options.d.ts +25 -0
- package/dist/esm/utils/product-options.d.ts.map +1 -0
- package/dist/esm/utils/product-options.js +1151 -0
- package/dist/esm/utils/product-options.js.map +1 -0
- package/dist/esm/utils/product-ratings.d.ts +26 -0
- package/dist/esm/utils/product-ratings.d.ts.map +1 -0
- package/dist/esm/utils/product-ratings.js +26 -0
- package/dist/esm/utils/product-ratings.js.map +1 -0
- package/dist/esm/utils/regional-pricing.d.ts +46 -0
- package/dist/esm/utils/regional-pricing.d.ts.map +1 -0
- package/dist/esm/utils/regional-pricing.js +46 -0
- package/dist/esm/utils/regional-pricing.js.map +1 -0
- package/dist/esm/utils/rich-text-content-codegen.d.ts +20 -0
- package/dist/esm/utils/rich-text-content-codegen.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-content-codegen.js +50 -0
- package/dist/esm/utils/rich-text-content-codegen.js.map +1 -0
- package/dist/esm/utils/rich-text-content-runtime-source.d.ts +2 -0
- package/dist/esm/utils/rich-text-content-runtime-source.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-content-runtime-source.js +588 -0
- package/dist/esm/utils/rich-text-content-runtime-source.js.map +1 -0
- package/dist/esm/utils/rich-text-content.d.ts +150 -0
- package/dist/esm/utils/rich-text-content.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-content.js +613 -0
- package/dist/esm/utils/rich-text-content.js.map +1 -0
- package/dist/esm/utils/rich-text-embeds-codegen.d.ts +22 -0
- package/dist/esm/utils/rich-text-embeds-codegen.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-embeds-codegen.js +45 -0
- package/dist/esm/utils/rich-text-embeds-codegen.js.map +1 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.d.ts +2 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.js +406 -0
- package/dist/esm/utils/rich-text-embeds-runtime-source.js.map +1 -0
- package/dist/esm/utils/rich-text-embeds.d.ts +251 -0
- package/dist/esm/utils/rich-text-embeds.d.ts.map +1 -0
- package/dist/esm/utils/rich-text-embeds.js +822 -0
- package/dist/esm/utils/rich-text-embeds.js.map +1 -0
- package/dist/esm/utils/route-paths.d.ts +55 -0
- package/dist/esm/utils/route-paths.d.ts.map +1 -0
- package/dist/esm/utils/route-paths.js +134 -0
- package/dist/esm/utils/route-paths.js.map +1 -0
- package/dist/esm/utils/session-cookie-resolver.d.ts +85 -0
- package/dist/esm/utils/session-cookie-resolver.d.ts.map +1 -0
- package/dist/esm/utils/session-cookie-resolver.js +103 -0
- package/dist/esm/utils/session-cookie-resolver.js.map +1 -0
- package/dist/esm/utils/storefront-tax.d.ts +76 -0
- package/dist/esm/utils/storefront-tax.d.ts.map +1 -0
- package/dist/esm/utils/storefront-tax.js +91 -0
- package/dist/esm/utils/storefront-tax.js.map +1 -0
- package/dist/esm/utils/string-utils.d.ts +27 -0
- package/dist/esm/utils/string-utils.d.ts.map +1 -1
- package/dist/esm/utils/string-utils.js +42 -2
- package/dist/esm/utils/string-utils.js.map +1 -1
- package/dist/esm/utils/style-declarations.d.ts +34 -0
- package/dist/esm/utils/style-declarations.d.ts.map +1 -0
- package/dist/esm/utils/style-declarations.js +73 -0
- package/dist/esm/utils/style-declarations.js.map +1 -0
- package/dist/esm/utils/subscription-access.d.ts +36 -0
- package/dist/esm/utils/subscription-access.d.ts.map +1 -0
- package/dist/esm/utils/subscription-access.js +57 -0
- package/dist/esm/utils/subscription-access.js.map +1 -0
- package/dist/esm/utils/table-access.d.ts +127 -0
- package/dist/esm/utils/table-access.d.ts.map +1 -0
- package/dist/esm/utils/table-access.js +271 -0
- package/dist/esm/utils/table-access.js.map +1 -0
- package/dist/esm/utils/uidl-utils.d.ts +3 -1
- package/dist/esm/utils/uidl-utils.d.ts.map +1 -1
- package/dist/esm/utils/uidl-utils.js +428 -34
- package/dist/esm/utils/uidl-utils.js.map +1 -1
- package/dist/esm/utils/web-push.d.ts +43 -0
- package/dist/esm/utils/web-push.d.ts.map +1 -0
- package/dist/esm/utils/web-push.js +59 -0
- package/dist/esm/utils/web-push.js.map +1 -0
- package/package.json +3 -3
- package/src/cache/api-routes.ts +93 -0
- package/src/cache/client-runtime.ts +416 -0
- package/src/cache/constants.ts +74 -0
- package/src/cache/index.ts +5 -0
- package/src/cache/server-runtime.ts +251 -0
- package/src/cache/version-store.ts +137 -0
- package/src/index.ts +78 -1
- package/src/motion-runtime/index.ts +2 -0
- package/src/motion-runtime/motion-engine-source.ts +289 -0
- package/src/motion-runtime/scroll-video-engine-source.ts +591 -0
- package/src/page-arrival/constants.ts +15 -0
- package/src/page-arrival/index.ts +3 -0
- package/src/page-arrival/page-export.ts +58 -0
- package/src/page-arrival/runtime.ts +75 -0
- package/src/page-revalidate/api-route.ts +77 -0
- package/src/page-revalidate/constants.ts +24 -0
- package/src/page-revalidate/index.ts +2 -0
- package/src/page-transition/index.ts +4 -0
- package/src/page-transition/morph-source.ts +86 -0
- package/src/page-transition/variant-sources.generated.ts +14 -0
- package/src/page-transition/variants.ts +407 -0
- package/src/page-transition/view-transition-css.ts +237 -0
- package/src/scroll-scene/chapter-index.ts +25 -0
- package/src/scroll-scene/controller-source.ts +451 -0
- package/src/scroll-scene/engine-source.ts +327 -0
- package/src/scroll-scene/helper-sources.generated.ts +18 -0
- package/src/scroll-scene/index.ts +13 -0
- package/src/scroll-scene/moment.ts +64 -0
- package/src/scroll-scene/points.ts +46 -0
- package/src/scroll-scene/unclip.ts +44 -0
- package/src/state-bindings/index.ts +207 -0
- package/src/utils/ast-effect-cleanup.ts +370 -0
- package/src/utils/ast-scope.ts +558 -0
- package/src/utils/ast-statement-order.ts +345 -0
- package/src/utils/cart-currency.ts +76 -0
- package/src/utils/cart-line-pricing.ts +151 -0
- package/src/utils/content-tables.ts +151 -0
- package/src/utils/discount-engine.ts +437 -0
- package/src/utils/email-date.ts +44 -0
- package/src/utils/font-preconnect.ts +61 -0
- package/src/utils/generic.ts +149 -0
- package/src/utils/html-content-model.ts +298 -0
- package/src/utils/inline-script-error-guard.ts +51 -0
- package/src/utils/js-identifiers.ts +214 -0
- package/src/utils/layout-topology.ts +91 -0
- package/src/utils/local-imports.ts +226 -0
- package/src/utils/product-discounts.ts +122 -0
- package/src/utils/product-options.ts +1150 -0
- package/src/utils/product-ratings.ts +98 -0
- package/src/utils/regional-pricing.ts +597 -0
- package/src/utils/rich-text-content-codegen.ts +52 -0
- package/src/utils/rich-text-content-runtime-source.ts +587 -0
- package/src/utils/rich-text-content.ts +677 -0
- package/src/utils/rich-text-embeds-codegen.ts +49 -0
- package/src/utils/rich-text-embeds-runtime-source.ts +405 -0
- package/src/utils/rich-text-embeds.ts +966 -0
- package/src/utils/route-paths.ts +141 -0
- package/src/utils/session-cookie-resolver.ts +305 -0
- package/src/utils/storefront-tax.ts +209 -0
- package/src/utils/string-utils.ts +45 -2
- package/src/utils/style-declarations.ts +117 -0
- package/src/utils/subscription-access.ts +59 -0
- package/src/utils/table-access.ts +556 -0
- package/src/utils/uidl-utils.ts +493 -47
- package/src/utils/web-push.ts +61 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Stored-HTML fixtures for `rich-text-content`.
|
|
2
|
+
|
|
3
|
+
`help-*.html` are six articles of TeleportHQ's help center (help-center/, 2026-09-15 drafts)
|
|
4
|
+
rendered from Markdown with markdown-it 14 (`html: false`), front matter, comments and the title
|
|
5
|
+
heading removed. Chosen for what they hold: a 77-line table, a table inside a numbered step,
|
|
6
|
+
fenced code inside list items, a list starting at 2, callouts as bold-led quotes, a same-page anchor.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<p>TeleportHQ invitations don't need to be accepted. If you already have a TeleportHQ account with the email address you were invited with, you have access right away: open your dashboard and look under <strong>SHARED WITH ME</strong>. If you don't have an account yet, sign up with exactly that email address, and the workspace or project is added to your account automatically.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li><strong>Find the email address you were invited with.</strong> It's the address the invitation email was sent to. Access is matched to that exact address.</li>
|
|
5
|
+
</ul>
|
|
6
|
+
<h2>If you already have a TeleportHQ account</h2>
|
|
7
|
+
<ol>
|
|
8
|
+
<li>Sign in to TeleportHQ with the account that uses the invited email address.</li>
|
|
9
|
+
<li>Open your dashboard. If it was already open, reload the page.</li>
|
|
10
|
+
<li>In the <strong>left sidebar</strong>, look under <strong>SHARED WITH ME</strong>:
|
|
11
|
+
<ul>
|
|
12
|
+
<li>If you were invited to a <strong>workspace</strong>, its name is listed there. Click it to see its projects.</li>
|
|
13
|
+
<li>If you were invited to a <strong>single project</strong>, click <strong>Shared projects</strong>. The project is listed there.</li>
|
|
14
|
+
</ul>
|
|
15
|
+
</li>
|
|
16
|
+
</ol>
|
|
17
|
+
<p><img src="screenshots/accept-an-invitation-1.png" alt="The dashboard sidebar with the SHARED WITH ME section showing Shared projects and a shared workspace"></p>
|
|
18
|
+
<h2>If you don't have a TeleportHQ account yet</h2>
|
|
19
|
+
<ol>
|
|
20
|
+
<li>Go to the TeleportHQ sign-up page. You can use the link in the invitation email.</li>
|
|
21
|
+
<li>Sign up with <strong>the same email address</strong> the invitation was sent to. If you sign up with Google, GitHub or Microsoft, make sure that account uses the same address. See <a href="../../account/sign-up.md">How to create a TeleportHQ account</a>.</li>
|
|
22
|
+
<li>Confirm your email address if TeleportHQ asks you to.</li>
|
|
23
|
+
<li>Open your dashboard. The shared workspace or project is under <strong>SHARED WITH ME</strong>.</li>
|
|
24
|
+
</ol>
|
|
25
|
+
<h2>Check that it worked</h2>
|
|
26
|
+
<p>You can open the shared workspace or project from <strong>SHARED WITH ME</strong>. What you can do inside depends on the role you were given. For example, a Viewer can look and comment but not edit. See <a href="roles-and-permissions.md">What can each role do?</a>.</p>
|
|
27
|
+
<h2>Troubleshooting</h2>
|
|
28
|
+
<p><strong>I don't see the workspace or project</strong>
|
|
29
|
+
You're most likely signed in with a different email address, for example a Google account with a different address than the one invited. Check your address in <strong>Account Settings</strong>. Then either sign in with the invited address, or ask the person who invited you to invite the address you use.</p>
|
|
30
|
+
<p><strong>I signed up before I was invited, with another address</strong>
|
|
31
|
+
TeleportHQ only attaches invitations to the exact address they were sent to. Ask the inviter to remove the old invitation and invite the address your account uses.</p>
|
|
32
|
+
<p><strong>The project opens as "View only"</strong>
|
|
33
|
+
You were given a read-only role. Click <strong>View only</strong> in the top bar, then <strong>Request editing rights</strong>. See <a href="../sharing/request-editing-rights.md">How to ask for editing rights on a view-only project</a>.</p>
|
|
34
|
+
<p><strong>I never got the invitation email</strong>
|
|
35
|
+
The email is only a notification. If you have an account with the invited address, your access is already there: check <strong>SHARED WITH ME</strong>. Also check your spam folder.</p>
|
|
36
|
+
<h2>Good to know</h2>
|
|
37
|
+
<ul>
|
|
38
|
+
<li><strong>You also get your own workspace.</strong> Every new TeleportHQ account gets its own workspace, called "My workspace", on a 7-day trial. Shared workspaces are separate and listed under <strong>SHARED WITH ME</strong>.</li>
|
|
39
|
+
<li><strong>Invitations don't expire.</strong> There's no accept, decline or expiry step. To turn down access, leave the workspace or project. See <a href="../workspaces/leave-a-workspace.md">How to leave a workspace</a> and <a href="../sharing/find-and-leave-shared-projects.md">How to find projects shared with you (and leave them)</a>.</li>
|
|
40
|
+
<li><strong>Upper and lower case.</strong> Use the address exactly as it was invited.</li>
|
|
41
|
+
</ul>
|
|
42
|
+
<h2>Related articles</h2>
|
|
43
|
+
<ul>
|
|
44
|
+
<li><a href="invite-people-to-your-workspace.md">How to invite people to your workspace</a></li>
|
|
45
|
+
<li><a href="../sharing/find-and-leave-shared-projects.md">How to find projects shared with you (and leave them)</a></li>
|
|
46
|
+
<li><a href="../workspaces/what-is-a-workspace.md">What is a workspace?</a></li>
|
|
47
|
+
<li><a href="roles-and-permissions.md">What can each role do? (Admin, Designer, Editor, Viewer)</a></li>
|
|
48
|
+
<li><a href="../../account/sign-up.md">How to create a TeleportHQ account</a></li>
|
|
49
|
+
<li><a href="../../account/sign-in-problems.md">I can't sign in: what should I do?</a></li>
|
|
50
|
+
</ul>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<p>To activate a TeleportHQ license you bought on AppSumo, open the activation link AppSumo gives you. It opens the TeleportHQ <strong>Welcome Sumo-ling!</strong> page with your AppSumo email already filled in. Create a TeleportHQ account with a password, or sign in if you already have one. When your dashboard opens, TeleportHQ creates a new workspace on your AppSumo plan.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li>You need the activation link from your AppSumo purchase. The page only works when opened from that link. - <strong>Use the email address of your AppSumo purchase.</strong> TeleportHQ only activates the license for an account with that exact email, and you can't change it on the page.</li>
|
|
5
|
+
<li>Opening the link signs out anyone currently signed in to TeleportHQ in that browser.</li>
|
|
6
|
+
<li>An account that already has an activated AppSumo plan can't activate another one.</li>
|
|
7
|
+
</ul>
|
|
8
|
+
<h2>Steps</h2>
|
|
9
|
+
<h3>If you don't have a TeleportHQ account yet</h3>
|
|
10
|
+
<ol>
|
|
11
|
+
<li>Open the activation link from AppSumo. The page says "TeleportHQ account for <your email> is almost ready".</li>
|
|
12
|
+
<li>Under <strong>Please set a password to Sign Up</strong>, type a password with at least 8 characters.</li>
|
|
13
|
+
<li>Tick <strong>I agree to Terms & Conditions.</strong></li>
|
|
14
|
+
<li>Click <strong>Create account</strong>.</li>
|
|
15
|
+
<li>Confirm your email: open the email from TeleportHQ and click its link. See <a href="sign-up.md">How to create a TeleportHQ account</a>.</li>
|
|
16
|
+
<li>Answer the welcome questions. The dashboard opens and TeleportHQ creates your AppSumo workspace. The message "Workspace was created with success." appears.</li>
|
|
17
|
+
</ol>
|
|
18
|
+
<h3>If you already have a TeleportHQ account with that email</h3>
|
|
19
|
+
<ol>
|
|
20
|
+
<li>Open the activation link from AppSumo. The page says "There is already an account associated with <your email> activation email".</li>
|
|
21
|
+
<li>Sign in: click the <strong>Sign in with …</strong> button you normally use, or type your password and click <strong>Sign In</strong>.</li>
|
|
22
|
+
<li>The dashboard opens and TeleportHQ creates your AppSumo workspace. The message "Workspace was created with success." appears.</li>
|
|
23
|
+
</ol>
|
|
24
|
+
<p><img src="screenshots/activate-an-appsumo-license-1.png" alt="The Welcome Sumo-ling! page with the AppSumo email filled in, the password field and the Create account button"></p>
|
|
25
|
+
<h2>Check that it worked</h2>
|
|
26
|
+
<p>In the dashboard's left sidebar, under <strong>WORKSPACES</strong>, you see a new workspace. Open its <strong>Plans</strong> settings to see your AppSumo plan. See <a href="../plans-and-billing/plans/legacy-lifetime-and-appsumo-plans.md">I'm on an older, Lifetime or AppSumo plan: what do I get?</a></p>
|
|
27
|
+
<h2>Troubleshooting</h2>
|
|
28
|
+
<p><strong>"The current account e-mail is not the one associated with your activation AppSumo one. Check your inbox and retry this operation."</strong>
|
|
29
|
+
You're signed in with a different email address than the AppSumo purchase. Log out, open the activation link again, and sign in or sign up with the AppSumo email.</p>
|
|
30
|
+
<p><strong>"Could not create workspace from AppSumo. Account already has an activated plan."</strong>
|
|
31
|
+
This account already activated an AppSumo license. Check your workspaces for the existing AppSumo workspace. For help, contact TeleportHQ support. See <a href="../getting-started/get-help.md">How to get help</a>.</p>
|
|
32
|
+
<p><strong>"Could not create workspace from AppSumo. Check your inbox and retry operation."</strong>
|
|
33
|
+
Activation failed. Open the activation link from your AppSumo email again and retry.</p>
|
|
34
|
+
<p><strong>The page only shows a loading spinner</strong>
|
|
35
|
+
The page was opened without the AppSumo activation details. Open the full link from AppSumo again, instead of typing the address.</p>
|
|
36
|
+
<p><strong>I signed up with Google, GitHub or Microsoft using the same email</strong>
|
|
37
|
+
On the activation page, click the matching <strong>Sign in with …</strong> button.</p>
|
|
38
|
+
<h2>Related articles</h2>
|
|
39
|
+
<ul>
|
|
40
|
+
<li><a href="../plans-and-billing/plans/legacy-lifetime-and-appsumo-plans.md">I'm on an older, Lifetime or AppSumo plan: what do I get?</a></li>
|
|
41
|
+
<li><a href="sign-up.md">How to create a TeleportHQ account</a></li>
|
|
42
|
+
<li><a href="sign-in-problems.md">I can't sign in: what should I do?</a></li>
|
|
43
|
+
<li><a href="../collaboration/workspaces/what-is-a-workspace.md">What is a workspace?</a></li>
|
|
44
|
+
</ul>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p>To add a script, style or tag to every page of a TeleportHQ site, open <strong>Project Settings → Custom Code</strong>, choose <strong>Head</strong> or <strong>Body</strong>, paste the code and click <strong>Save Changes</strong>. Then publish your site. The code runs on your published (and downloaded) site, not inside the TeleportHQ editor.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li>You need permission to change project settings (Owner, Admin or Designer role).</li>
|
|
5
|
+
<li>Get the full code snippet from the tool you're adding, including its opening and closing tags, for example <code><script></code> and <code></script></code>.</li>
|
|
6
|
+
<li><strong>Head</strong> or <strong>Body?</strong> Follow the tool's instructions. As a rule:
|
|
7
|
+
<ul>
|
|
8
|
+
<li><strong>Head</strong>: <code><meta></code>, <code><link></code> and <code><style></code> tags, and scripts the tool says to put in the head (many analytics tools).</li>
|
|
9
|
+
<li><strong>Body</strong>: scripts the tool says to put in the body, such as chat widgets.</li>
|
|
10
|
+
</ul>
|
|
11
|
+
</li>
|
|
12
|
+
<li>The settings page lists the tags you can add here: <code>link</code>, <code>meta</code>, <code>style</code> and <code>script</code>.</li>
|
|
13
|
+
<li>For fonts, use <strong>Project Settings → Fonts</strong> instead. See <a href="../../design/fonts/upload-custom-fonts.md">How to upload your own fonts</a>.</li>
|
|
14
|
+
</ul>
|
|
15
|
+
<h2>Steps</h2>
|
|
16
|
+
<ol>
|
|
17
|
+
<li>In the editor, at the <strong>top left</strong>, click the TeleportHQ logo (tooltip <strong>Project Menu</strong>).</li>
|
|
18
|
+
<li>Click <strong>Project Settings</strong>.</li>
|
|
19
|
+
<li>In the settings menu on the left, click <strong>Custom Code</strong>.</li>
|
|
20
|
+
<li>Scroll to the <strong>Custom code</strong> section.</li>
|
|
21
|
+
<li>Click <strong>Head</strong> or <strong>Body</strong>.</li>
|
|
22
|
+
<li>Paste your code into the code box. For example, a chat widget:<pre><code class="language-html"><script src="https://widget.example.com/chat.js" async></script>
|
|
23
|
+
</code></pre>
|
|
24
|
+
</li>
|
|
25
|
+
<li>Click <strong>Save Changes</strong>. The message "The changes have been saved" appears.</li>
|
|
26
|
+
<li>Go back to the editor and publish your site. See <a href="../../publishing/publish/publish-your-site.md">How to publish your site</a>.</li>
|
|
27
|
+
</ol>
|
|
28
|
+
<p><img src="screenshots/add-custom-code-to-your-site-1.png" alt="Project Settings with the Custom Code tab open, the Head and Body tabs and a script pasted in the code box"></p>
|
|
29
|
+
<p>You can also reach <strong>Project Settings</strong> from the drop-down next to the project name at the top of the editor, or from the <strong>…</strong> menu on the project card on the dashboard.</p>
|
|
30
|
+
<h2>Check that it worked</h2>
|
|
31
|
+
<p>Open your published site in a new browser tab. The tool should work there, for example the chat bubble appears. To confirm the code is on the page, right-click the page, choose <strong>View page source</strong>, and search for part of your snippet.</p>
|
|
32
|
+
<h2>Troubleshooting</h2>
|
|
33
|
+
<p><strong>The code doesn't work in the editor</strong>
|
|
34
|
+
That's expected. TeleportHQ doesn't run custom code on the editor canvas: "You will not be able to interact with the 3rd party code while editing your project in the playground, this will only work on your published websites." Publish and test on the live site.
|
|
35
|
+
<strong>The code doesn't work on my live site</strong></p>
|
|
36
|
+
<ul>
|
|
37
|
+
<li>Publish again. Saving settings doesn't update the live site by itself.</li>
|
|
38
|
+
<li>Check you pasted the whole snippet, including opening and closing tags.</li>
|
|
39
|
+
<li>Check the tag type: this box is meant for <code>link</code>, <code>meta</code>, <code>style</code> and <code>script</code> tags. To place visible HTML (a table, a form, an iframe) in one spot, use a Code Embed element instead.</li>
|
|
40
|
+
</ul>
|
|
41
|
+
<p><strong>My site layout broke after adding code</strong>
|
|
42
|
+
The settings page warns: "WARNING: Invalid code added here might break your website." Remove the code you added, click <strong>Save Changes</strong>, publish again, and check the snippet with the tool's provider.</p>
|
|
43
|
+
<p><strong>The Save Changes button is greyed out</strong>
|
|
44
|
+
You haven't changed anything since the last save. Edit the code, then save.</p>
|
|
45
|
+
<p><strong>"Could not save changes"</strong>
|
|
46
|
+
Try again. If it keeps failing, reload the page, and check your role allows changing project settings.</p>
|
|
47
|
+
<h2>Good to know</h2>
|
|
48
|
+
<ul>
|
|
49
|
+
<li><strong>Custom Code vs Code Embed:</strong> Custom Code applies to every page and adds nothing visible. A <strong>Code Embed</strong> element puts code in one place on one page, like a booking calendar. See <a href="../../editor/elements/add-custom-code-with-code-embed.md">How to add your own HTML or JavaScript with Code Embed</a>.</li>
|
|
50
|
+
<li><strong>Google Analytics and Google Tag Manager</strong> have their own fields in the <strong>Google</strong> section at the top of the same tab. See <a href="../../seo-and-growth/analytics/add-google-analytics.md">How to add Google Analytics or Google Tag Manager</a>.</li>
|
|
51
|
+
<li><strong>Tracking pixels</strong> such as Meta or TikTok go in this Custom Code box. See <a href="../../seo-and-growth/analytics/add-tracking-pixels.md">How to add a tracking pixel (Meta, TikTok, LinkedIn)</a>.</li>
|
|
52
|
+
<li>Custom code is included when you download your site's code.</li>
|
|
53
|
+
</ul>
|
|
54
|
+
<h2>Related articles</h2>
|
|
55
|
+
<ul>
|
|
56
|
+
<li><a href="../../editor/elements/add-custom-code-with-code-embed.md">How to add your own HTML or JavaScript with Code Embed</a></li>
|
|
57
|
+
<li><a href="../../seo-and-growth/analytics/add-google-analytics.md">How to add Google Analytics or Google Tag Manager</a></li>
|
|
58
|
+
<li><a href="../../seo-and-growth/analytics/add-tracking-pixels.md">How to add a tracking pixel (Meta, TikTok, LinkedIn)</a></li>
|
|
59
|
+
<li><a href="../../project-settings/project-settings-explained.md">Where are Project Settings, and what's in them?</a></li>
|
|
60
|
+
<li><a href="../../publishing/publish/publish-your-site.md">How to publish your site</a></li>
|
|
61
|
+
</ul>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<p>In TeleportHQ, you connect a domain you own (like <code>mybakery.com</code>) from the <strong>Publish</strong> window. Publish your site to Production first, then go to <strong>Domains</strong> → <strong>Custom domain</strong> → <strong>Configure</strong>, type your domain and choose the default address. TeleportHQ then shows the DNS records to add at your domain provider. Once they work, your live site opens on your own domain.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li><strong>Plan.</strong> Custom domains work on Trial, Pro and Premium. Each of these plans includes 1 custom domain for the workspace. See <a href="custom-domain-limits.md">How many custom domains can I connect?</a>.</li>
|
|
5
|
+
<li><strong>Publish to Production first.</strong> A custom domain always points at your live site, so the project needs at least one Production publish. See <a href="../publish/publish-your-site.md">How to publish your site</a>.</li>
|
|
6
|
+
<li><strong>Own the domain.</strong> Buy it from a domain provider (for example GoDaddy, Namecheap or Cloudflare) and make sure you can sign in there and change its DNS settings. A DNS record is a setting at your domain provider that tells the internet where your domain should go.</li>
|
|
7
|
+
<li><strong>Role.</strong> You need a role that can publish: Owner, Admin or Designer.</li>
|
|
8
|
+
<li><strong>One domain per project.</strong> A project can have one custom domain, plus its <code>www</code> twin.</li>
|
|
9
|
+
</ul>
|
|
10
|
+
<h2>Steps</h2>
|
|
11
|
+
<h3>1. Add the domain in TeleportHQ</h3>
|
|
12
|
+
<ol>
|
|
13
|
+
<li>Open your project in the editor.</li>
|
|
14
|
+
<li>At the <strong>top right</strong>, click <strong>Publish</strong>. The <strong>Publish</strong> window opens on the <strong>Publish</strong> tab.</li>
|
|
15
|
+
<li>In the left menu, make sure <strong>Domains</strong> is selected. At the top, keep <strong>Production</strong> selected.</li>
|
|
16
|
+
<li>Scroll to the <strong>Custom domain</strong> section and click <strong>Configure</strong>.</li>
|
|
17
|
+
<li>Type your domain after <code>https://</code>, for example <code>mybakery.com</code> or <code>shop.mybakery.com</code>. Don't type <code>https://</code> yourself.</li>
|
|
18
|
+
<li>Click <strong>Continue</strong>.</li>
|
|
19
|
+
<li>If you typed a root domain like <code>mybakery.com</code>, the <strong>Choose default domain</strong> step opens. Pick one option (the section "Which default domain should I choose?" below explains them), then click <strong>Continue</strong>. If you typed a subdomain like <code>shop.mybakery.com</code>, this step is skipped.</li>
|
|
20
|
+
</ol>
|
|
21
|
+
<p>TeleportHQ shows "Checking if custom domain can be added to your project...", then "Verifying configurations for mybakery.com ...".</p>
|
|
22
|
+
<p><img src="screenshots/connect-a-custom-domain-1.png" alt="The Custom domain section of the TeleportHQ Publish window with the domain field and the Continue button"></p>
|
|
23
|
+
<h3>2. Add the DNS records at your domain provider</h3>
|
|
24
|
+
<p>If your DNS isn't set up yet, TeleportHQ shows "Please verify and fix the following missing configurations for your domain and recheck status". Each address gets an <strong>Invalid Configuration</strong> label and a <strong>Type / Name / Value</strong> table with copy buttons.</p>
|
|
25
|
+
<ol>
|
|
26
|
+
<li>
|
|
27
|
+
<p>Sign in to your domain provider in a new browser tab.</p>
|
|
28
|
+
</li>
|
|
29
|
+
<li>
|
|
30
|
+
<p>Open the DNS settings for your domain.</p>
|
|
31
|
+
</li>
|
|
32
|
+
<li>
|
|
33
|
+
<p>Add each record exactly as TeleportHQ shows it. For a site on <code>mybakery.com</code> with the recommended <code>www</code> option, you add two records:</p>
|
|
34
|
+
<table>
|
|
35
|
+
<thead>
|
|
36
|
+
<tr>
|
|
37
|
+
<th>Type</th>
|
|
38
|
+
<th>Name</th>
|
|
39
|
+
<th>Value</th>
|
|
40
|
+
</tr>
|
|
41
|
+
</thead>
|
|
42
|
+
<tbody>
|
|
43
|
+
<tr>
|
|
44
|
+
<td>A</td>
|
|
45
|
+
<td>@</td>
|
|
46
|
+
<td>76.76.21.21</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<td>CNAME</td>
|
|
50
|
+
<td>www</td>
|
|
51
|
+
<td>cname.vercel-dns.com</td>
|
|
52
|
+
</tr>
|
|
53
|
+
</tbody>
|
|
54
|
+
</table>
|
|
55
|
+
</li>
|
|
56
|
+
<li>
|
|
57
|
+
<p>If TeleportHQ also shows a <strong>TXT</strong> record with the name <code>_vercel</code>, add it too. Copy its value from TeleportHQ.</p>
|
|
58
|
+
</li>
|
|
59
|
+
<li>
|
|
60
|
+
<p>If TeleportHQ says "Remove the following conflicting DNS record from your DNS provider:", delete that old record at your provider.</p>
|
|
61
|
+
</li>
|
|
62
|
+
<li>
|
|
63
|
+
<p>Save the changes at your provider.</p>
|
|
64
|
+
</li>
|
|
65
|
+
</ol>
|
|
66
|
+
<p><img src="screenshots/connect-a-custom-domain-2.png" alt="The TeleportHQ verification step showing Invalid Configuration with the A and CNAME records to add"></p>
|
|
67
|
+
<p>For every record type and what it does, see <a href="dns-records-reference.md">Which DNS records do I need for my domain?</a>.</p>
|
|
68
|
+
<h3>3. Check the status</h3>
|
|
69
|
+
<ol>
|
|
70
|
+
<li>Go back to the TeleportHQ <strong>Publish</strong> window.</li>
|
|
71
|
+
<li>Click <strong>Check status</strong>.</li>
|
|
72
|
+
<li>If the table is still there, wait a while and click <strong>Check status</strong> again. DNS changes often take a few minutes, and can take up to 48 hours.</li>
|
|
73
|
+
</ol>
|
|
74
|
+
<h2>Check that it worked</h2>
|
|
75
|
+
<p>The <strong>Custom domain</strong> section now shows <code>https://mybakery.com</code> with a publish status, and a line such as "Redirect option: mybakery.com". The <strong>TeleportHQ Domain</strong> row above it shows the badge <strong>Redirects to mybakery.com</strong>: your free TeleportHQ address now sends visitors to your own domain, and search engines index only your domain.</p>
|
|
76
|
+
<p>Open your domain in a new browser tab. You should see your live site.</p>
|
|
77
|
+
<p>From now on, the footer of the <strong>Publish</strong> window has a <strong>Publish to custom domain</strong> checkbox, ticked by default. Keep it ticked when you click <strong>Publish to Production</strong> so your domain gets your latest changes.</p>
|
|
78
|
+
<h2>Which default domain should I choose?</h2>
|
|
79
|
+
<p>When you connect a root domain like <code>mybakery.com</code>, TeleportHQ adds both <code>mybakery.com</code> and <code>www.mybakery.com</code> and sends one to the other, so visitors land on one main address.</p>
|
|
80
|
+
<ul>
|
|
81
|
+
<li><strong><code>www.mybakery.com</code></strong> (marked <strong>recommended</strong>, selected by default): <code>www.mybakery.com</code> becomes your main address. Visitors who type <code>mybakery.com</code> are sent to <code>www.mybakery.com</code>. You need both the A record and the CNAME record.</li>
|
|
82
|
+
<li><strong><code>mybakery.com</code> with a redirect</strong>: <code>mybakery.com</code> becomes your main address. Visitors who type <code>www.mybakery.com</code> are sent to <code>mybakery.com</code>. You need both records.</li>
|
|
83
|
+
<li><strong><code>mybakery.com</code> with "no redirect"</strong>: only <code>mybakery.com</code> is connected. <code>www.mybakery.com</code> won't open your site. You need only the A record.</li>
|
|
84
|
+
</ul>
|
|
85
|
+
<h2>Troubleshooting</h2>
|
|
86
|
+
<p><strong>"Publish your project to production first — a custom domain always points at your live site, so there has to be one for it to reach."</strong>
|
|
87
|
+
Click <strong>Cancel</strong>, click <strong>Publish to Production</strong> and wait until the status says <strong>Published</strong>. Then click <strong>Configure</strong> again.</p>
|
|
88
|
+
<p><strong>The "Purchase Custom Domain Subscription" window opens when you click Configure</strong>
|
|
89
|
+
Your workspace has used all its custom domain slots. Remove a domain from another project, or buy a slot. See <a href="custom-domain-limits.md">How many custom domains can I connect?</a>.</p>
|
|
90
|
+
<p><strong>"Invalid Configuration" doesn't go away</strong>
|
|
91
|
+
Check each record for typing mistakes, wait for DNS to update, then click <strong>Check status</strong>. For more fixes, see <a href="custom-domain-not-working.md">Why is my custom domain not working?</a>.</p>
|
|
92
|
+
<h2>Good to know</h2>
|
|
93
|
+
<ul>
|
|
94
|
+
<li><strong>Staging never uses your domain.</strong> Publishing to Staging doesn't change what your domain shows. See <a href="../publish/test-changes-on-staging.md">How to test changes on a staging site</a>.</li>
|
|
95
|
+
<li><strong>Remove a domain.</strong> In the <strong>Custom domain</strong> section, click <strong>Remove</strong>. TeleportHQ asks "Please confirm that you want to delete the existing domain". Click <strong>Confirm</strong>. Your TeleportHQ address serves the site again. Remember to delete the DNS records at your provider if you won't use them.</li>
|
|
96
|
+
<li><strong>When a trial or subscription ends,</strong> TeleportHQ removes your deployments and custom domains, so your domain stops showing the site. After you subscribe again, publish again and connect the domain again. See <a href="../../plans-and-billing/plans/when-your-trial-or-subscription-ends.md">What happens when my trial or subscription ends?</a>.</li>
|
|
97
|
+
<li><strong>HTTPS.</strong> TeleportHQ hosts sites on Vercel, which normally sets up a security certificate for your domain automatically once the DNS records work.</li>
|
|
98
|
+
</ul>
|
|
99
|
+
<h2>Related articles</h2>
|
|
100
|
+
<ul>
|
|
101
|
+
<li><a href="dns-records-reference.md">Which DNS records do I need for my domain?</a></li>
|
|
102
|
+
<li><a href="custom-domain-not-working.md">Why is my custom domain not working?</a></li>
|
|
103
|
+
<li><a href="custom-domain-limits.md">How many custom domains can I connect (and how to get more)?</a></li>
|
|
104
|
+
<li><a href="../publish/publish-your-site.md">How to publish your site</a></li>
|
|
105
|
+
<li><a href="../deployments/manage-deployments.md">How to see and manage your deployments</a></li>
|
|
106
|
+
</ul>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<p>In TeleportHQ, you add your own CSS animation in two parts. First, paste the animation's <code>@keyframes</code> inside a <code><style></code> tag in <strong>Project Settings → Custom Code → Head</strong> and click <strong>Save Changes</strong>. Then select an element and, in the <strong>right panel</strong>'s <strong>Advanced</strong> tab, add an <code>animation</code> property that uses the animation's name. Custom code runs on your published site, not on the editor canvas.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li>This is for people comfortable with CSS. For animations without code, see <a href="animation-options.md">Which animation options does TeleportHQ have?</a></li>
|
|
5
|
+
<li>You need permission to change project settings.</li>
|
|
6
|
+
<li>Custom code isn't limited by plan.</li>
|
|
7
|
+
<li>The 98 effects in the <strong>Animation</strong> section already come from the animate.css library, so you don't need to add that library to use them. See <a href="add-an-entrance-animation.md">How to animate an element when it scrolls into view</a>.</li>
|
|
8
|
+
</ul>
|
|
9
|
+
<h2>1. Add your keyframes</h2>
|
|
10
|
+
<ol>
|
|
11
|
+
<li>
|
|
12
|
+
<p>In the editor, at the <strong>top left</strong>, click the TeleportHQ logo (tooltip <strong>Project Menu</strong>).</p>
|
|
13
|
+
</li>
|
|
14
|
+
<li>
|
|
15
|
+
<p>Click <strong>Project Settings</strong>.</p>
|
|
16
|
+
</li>
|
|
17
|
+
<li>
|
|
18
|
+
<p>In the settings menu on the left, click <strong>Custom Code</strong>.</p>
|
|
19
|
+
</li>
|
|
20
|
+
<li>
|
|
21
|
+
<p>Under <strong>Custom code</strong>, click <strong>Head</strong>.</p>
|
|
22
|
+
</li>
|
|
23
|
+
<li>
|
|
24
|
+
<p>Paste your animation inside a <code><style></code> tag. For example:</p>
|
|
25
|
+
<pre><code class="language-html"><style>
|
|
26
|
+
@keyframes softPulse {
|
|
27
|
+
0% { transform: scale(1); }
|
|
28
|
+
50% { transform: scale(1.05); }
|
|
29
|
+
100% { transform: scale(1); }
|
|
30
|
+
}
|
|
31
|
+
</style>
|
|
32
|
+
</code></pre>
|
|
33
|
+
</li>
|
|
34
|
+
<li>
|
|
35
|
+
<p>Click <strong>Save Changes</strong>.</p>
|
|
36
|
+
</li>
|
|
37
|
+
</ol>
|
|
38
|
+
<p><img src="screenshots/custom-animations-with-code-1.png" alt="The Custom Code settings with the Head tab selected and a style block with keyframes in the code editor"></p>
|
|
39
|
+
<h2>2. Use the animation on an element</h2>
|
|
40
|
+
<ol>
|
|
41
|
+
<li>Go back to the editor and select the element. For example, an <strong>Order now</strong> button.</li>
|
|
42
|
+
<li>In the <strong>right panel</strong>, open the <strong>Advanced</strong> tab.</li>
|
|
43
|
+
<li>In the empty row, type <code>animation</code> in the <strong>property</strong> field.</li>
|
|
44
|
+
<li>Type <code>softPulse 2s infinite</code> in the <strong>value</strong> field.</li>
|
|
45
|
+
<li>Click <strong>+</strong> to add the row.</li>
|
|
46
|
+
</ol>
|
|
47
|
+
<p>To reuse the animation on many elements, add the same <code>animation</code> property to a CSS class instead, in the class's <strong>Properties</strong>. See <a href="../css-classes/edit-a-css-class.md">How to edit a CSS class</a>.</p>
|
|
48
|
+
<h2>Add an animation library</h2>
|
|
49
|
+
<p>To load another library, such as a scroll-animation script, paste its <code><link></code> or <code><script></code> tag from the library's documentation into <strong>Head</strong> (or <strong>Body</strong> for scripts that should load last), then click <strong>Save Changes</strong>. Follow the library's own instructions for the class names or attributes it needs.</p>
|
|
50
|
+
<h2>Check that it worked</h2>
|
|
51
|
+
<p>Custom code doesn't run on the TeleportHQ canvas, so the element stays still while you edit. Publish your site and open it to see the animation. See <a href="../../publishing/publish/publish-your-site.md">How to publish your site</a>.</p>
|
|
52
|
+
<h2>Troubleshooting</h2>
|
|
53
|
+
<p><strong>The animation doesn't play on my published site</strong>
|
|
54
|
+
Check that the name in the <code>animation</code> value matches the <code>@keyframes</code> name exactly, including capital letters. Then check that you clicked <strong>Save Changes</strong> and published again after adding the code.</p>
|
|
55
|
+
<p><strong>My site looks broken after adding code</strong>
|
|
56
|
+
The settings page warns: "WARNING: Invalid code added here might break your website." Remove the code you added, click <strong>Save Changes</strong>, and publish again. Then add it back one piece at a time.</p>
|
|
57
|
+
<h2>Good to know</h2>
|
|
58
|
+
<ul>
|
|
59
|
+
<li>Code in <strong>Head</strong> is added to every page of your site.</li>
|
|
60
|
+
<li>For custom fonts, don't use custom code. Use <strong>Project Settings → Fonts</strong>. See <a href="../fonts/upload-custom-fonts.md">How to upload your own fonts</a>.</li>
|
|
61
|
+
</ul>
|
|
62
|
+
<h2>Related articles</h2>
|
|
63
|
+
<ul>
|
|
64
|
+
<li><a href="animation-options.md">Which animation options does TeleportHQ have?</a></li>
|
|
65
|
+
<li><a href="add-an-entrance-animation.md">How to animate an element when it scrolls into view</a></li>
|
|
66
|
+
<li><a href="../styling/write-css-in-the-advanced-tab.md">How to write CSS directly (Advanced tab)</a></li>
|
|
67
|
+
<li><a href="../../code/custom-code/add-custom-code-to-your-site.md">How to add code to every page (head and body)</a></li>
|
|
68
|
+
<li><a href="../css-classes/edit-a-css-class.md">How to edit a CSS class</a></li>
|
|
69
|
+
</ul>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<p>To generate an online store or web app with AI in TeleportHQ, click <strong>+ New Project</strong> and choose <strong>E-commerce</strong> or <strong>Web App</strong>. You describe your idea, pick colors and fonts, and answer a few quick questions. The AI then builds a complete store (products, cart, checkout, customer accounts and an admin panel) or an app with logins, a database and workflows.</p>
|
|
2
|
+
<h2>Before you start</h2>
|
|
3
|
+
<ul>
|
|
4
|
+
<li><strong>The choice is permanent.</strong> A store or web app can't be turned back into a website, and its code can't be downloaded. You can still publish it from TeleportHQ. Not sure? Read <a href="../../getting-started/websites-vs-web-apps.md">What's the difference between a website and a web app?</a>.</li>
|
|
5
|
+
<li><strong>A store or web app needs a Web App slot.</strong> Without one, it runs for 7 days. A trial includes 1 slot, and so does Premium. See <a href="../../web-apps/web-app-slots-and-the-7-day-window.md">Why does my web app need a slot, and what is the 7-day window?</a>.</li>
|
|
6
|
+
<li><strong>It needs more AI tokens than a website.</strong> A web app or store needs at least 20,000 tokens to start. See <a href="../../plans-and-billing/ai-tokens/what-uses-ai-tokens.md">What uses AI tokens, and how much?</a>.</li>
|
|
7
|
+
<li>A trial workspace can hold 1 project. See <a href="../../projects/project-limits.md">How many projects can I have?</a>.</li>
|
|
8
|
+
</ul>
|
|
9
|
+
<h2>Generate an online store</h2>
|
|
10
|
+
<ol>
|
|
11
|
+
<li>On your TeleportHQ dashboard, click <strong>+ New Project</strong>.</li>
|
|
12
|
+
<li>Click the <strong>E-commerce</strong> card.</li>
|
|
13
|
+
<li>On the <strong>Describe your store</strong> screen, describe what you sell and who buys it. For example: <code>A specialty coffee roaster selling single-origin beans, brewing gear and gift boxes to home baristas.</code> Then click <strong>Next</strong>.</li>
|
|
14
|
+
<li>On the <strong>Colors & Fonts</strong> step, click a color palette and a font pairing, then click <strong>Next</strong>. (Stores skip the design preferences step and use a light theme.)</li>
|
|
15
|
+
<li>If <strong>A few fast questions</strong> appears, answer each question, then click <strong>Continue</strong>. See <a href="#answer-the-quick-questions">Answer the quick questions</a> below.</li>
|
|
16
|
+
<li>On the <strong>Your products</strong> screen, choose <strong>Generate products for me</strong> or <strong>Upload my own products</strong>.</li>
|
|
17
|
+
<li>Click <strong>Build my store</strong> (or <strong>Build store with {n} products</strong> if you uploaded a file).</li>
|
|
18
|
+
</ol>
|
|
19
|
+
<p><img src="screenshots/generate-a-store-or-web-app-with-ai-1.png" alt="The Your products screen with the Generate products for me and Upload my own products options"></p>
|
|
20
|
+
<p>A checklist shows each part being set up: design system, authentication, e-commerce, products, admin panel. When it finishes, the editor opens and your store pages generate. The <strong>Your store is ready!</strong> window then asks how you want to accept payments. See <a href="../../ecommerce/store-setup/connect-stripe-or-paypal.md">How to accept payments with Stripe or PayPal</a>.</p>
|
|
21
|
+
<p><strong>About the products options:</strong></p>
|
|
22
|
+
<ul>
|
|
23
|
+
<li><strong>Generate products for me</strong>: the AI writes a starter catalog from your description, with names, descriptions, prices, categories and images. You can edit or replace every product later.</li>
|
|
24
|
+
<li><strong>Upload my own products</strong>: import a <code>.csv</code> or <code>.json</code> file. A Shopify export works as it is, including variants. The AI reads your columns and matches them to product fields. Nothing is invented. See <a href="../../ecommerce/products/import-products.md">How to import products from a file (including Shopify)</a>.</li>
|
|
25
|
+
</ul>
|
|
26
|
+
<h2>Generate a web app</h2>
|
|
27
|
+
<ol>
|
|
28
|
+
<li>On your TeleportHQ dashboard, click <strong>+ New Project</strong>.</li>
|
|
29
|
+
<li>Click the <strong>Web App</strong> card.</li>
|
|
30
|
+
<li>On the <strong>Business description</strong> screen, describe your app and who uses it. For example: <code>A booking app for a yoga studio. Members sign up, book classes, and see their upcoming bookings. Staff manage the class schedule.</code> Then click <strong>Next</strong>.</li>
|
|
31
|
+
<li>On <strong>Design Preferences</strong>, choose <strong>Theme Mode</strong>, <strong>Animation Level</strong> and <strong>Page Layout</strong>, then click <strong>Next</strong>. Pick <strong>Dashboard</strong> layout for sidebar navigation, or keep <strong>Standard</strong> for top navigation.</li>
|
|
32
|
+
<li>On the <strong>Colors & Fonts</strong> step, click a color palette and a font pairing, then click <strong>Next</strong>.</li>
|
|
33
|
+
<li>On <strong>A few fast questions</strong>, answer each question, then click <strong>Continue</strong>.</li>
|
|
34
|
+
<li>Wait on the <strong>Designing your project</strong> screen. The editor opens and your pages start generating.</li>
|
|
35
|
+
</ol>
|
|
36
|
+
<h2>Answer the quick questions</h2>
|
|
37
|
+
<p>For stores and web apps, TeleportHQ asks up to 10 short questions so the AI builds the right features, for example "Should customers be able to book without an account?"</p>
|
|
38
|
+
<ol>
|
|
39
|
+
<li>Read each question as it appears. It says <strong>Pick one</strong> or <strong>Multiple answers allowed</strong>.</li>
|
|
40
|
+
<li>Click an answer. To give your own, click <strong>Write your own</strong> and type it (up to 500 characters).</li>
|
|
41
|
+
<li>Not sure? Click <strong>Answer for me</strong>, or click <strong>Let AI answer all</strong> at the bottom.</li>
|
|
42
|
+
<li>To change an answer, click <strong>Edit</strong> on the collapsed question.</li>
|
|
43
|
+
<li>When every question is answered, click <strong>Continue</strong>.</li>
|
|
44
|
+
</ol>
|
|
45
|
+
<p>You can change these answers later in <strong>AI Settings</strong> → <strong>Onboarding Q&A</strong>. See <a href="../ai-tools/ai-settings.md">How to give the AI your business details and instructions (AI Settings)</a>.</p>
|
|
46
|
+
<h2>Check that it worked</h2>
|
|
47
|
+
<p>The TeleportHQ editor opens with a <strong>Generating</strong> panel that lists the pages being built. On a web app, up to 10 pages are built right away on a paid plan. On a store, the homepage and the store's content pages are built first. The rest of the planned pages appear in the <strong>Pages</strong> list with a <strong>Create</strong> button. See <a href="while-ai-builds-your-site.md">What happens while AI builds your site (and if it fails)</a>.</p>
|
|
48
|
+
<h2>Troubleshooting</h2>
|
|
49
|
+
<p><strong>"A web app needs at least 20,000 tokens to generate. Add more tokens, or continue with a website."</strong>
|
|
50
|
+
Your balance is below what a web app or store needs. Buy tokens in the <strong>Purchase Tokens</strong> window that opens, or generate a website instead. See <a href="../../plans-and-billing/ai-tokens/buy-ai-tokens.md">How to buy more AI tokens</a>.</p>
|
|
51
|
+
<p><strong>"{AI Stores|Web Apps} — coming soon"</strong>
|
|
52
|
+
Web apps and stores are not yet available on your account. The card shows the date they arrive. Click <strong>Got it</strong>.
|
|
53
|
+
<strong>"Your token balance does not cover this generation. You need about {X} more tokens. Add more tokens, or switch off web app features."</strong>
|
|
54
|
+
The first wave of pages costs more than your balance. Add tokens and click <strong>Try again</strong>.</p>
|
|
55
|
+
<p><strong>"We couldn’t prepare your questions"</strong>
|
|
56
|
+
Click <strong>Try again</strong>, or click <strong>Continue without questions</strong>.</p>
|
|
57
|
+
<p><strong>"Please upload a .csv or .json file"</strong>
|
|
58
|
+
The products upload takes only CSV or JSON files. Export your products in one of these formats.</p>
|
|
59
|
+
<p><strong>"Could not activate the store features (authentication & e-commerce). Please try again or contact support."</strong> or <strong>"Failed to import design system. Please try again or contact support."</strong>
|
|
60
|
+
Try again. If it keeps failing, contact support from the chat on this help center. See <a href="../../getting-started/get-help.md">How to get help</a>.</p>
|
|
61
|
+
<p><strong>"Your store is missing {features}. Nothing was generated — please try again or contact support."</strong>
|
|
62
|
+
Nothing was built and no pages were created. Try again, or contact support.</p>
|
|
63
|
+
<h2>Good to know</h2>
|
|
64
|
+
<ul>
|
|
65
|
+
<li>If the AI couldn't decide on some answers, you see "Picked defaults for {n} question(s) where the AI could not decide. You can change them later."</li>
|
|
66
|
+
<li>The <strong>Dashboard</strong> page layout currently gives lower-quality results than <strong>Standard</strong>. Plan for extra polish after generation.</li>
|
|
67
|
+
<li>If your balance can no longer cover a web app when you reach <strong>Design Preferences</strong>, TeleportHQ switches the project back to a website and shows the token message.</li>
|
|
68
|
+
<li>Uploaded products replace AI products. You can't mix both in the setup; add more products later from the <strong>E-Commerce</strong> panel.</li>
|
|
69
|
+
</ul>
|
|
70
|
+
<h2>Related articles</h2>
|
|
71
|
+
<ul>
|
|
72
|
+
<li><a href="generate-a-website-with-ai.md">How to generate a website with AI</a></li>
|
|
73
|
+
<li><a href="../../getting-started/websites-vs-web-apps.md">What's the difference between a website and a web app?</a></li>
|
|
74
|
+
<li><a href="../../web-apps/web-app-slots-and-the-7-day-window.md">Why does my web app need a slot, and what is the 7-day window?</a></li>
|
|
75
|
+
<li><a href="../../ecommerce/store-setup/create-an-online-store.md">How to create an online store with TeleportHQ</a></li>
|
|
76
|
+
<li><a href="../../ecommerce/store-setup/connect-stripe-or-paypal.md">How to accept payments with Stripe or PayPal</a></li>
|
|
77
|
+
<li><a href="while-ai-builds-your-site.md">What happens while AI builds your site (and if it fails)</a></li>
|
|
78
|
+
</ul>
|