@zonos/elements v1.3.14
Zonos Component UI for Stripe elements
Project build architecture:
/src/components
(Will be bundled with Stencil): stencil web component, separate folder into 4 types:main
: component that will receive custom configuration from users, do all of the script and css injection into consumer page and also control how other components will show/hide by using stencilstore
.checkout
: main components that will handle zonos checkouthello
: main components that will handle zonos hello (currently holding the component placeholder)store
: this is state management amongs all of the components.stripe
: the folder that will hold all of the stripe wrapper web componentsutils
: folders that will hold all of the necessary utilities for all of the components in stencilcomponents.d.ts
: generated typed component that will have global types for all web components
/src/scripts
(Will be bundled with regular rollup): scripts that will be bundled into cdn and init global utility function when consumer inject cdn into their page. Consumer then can use to init zonos elements./src/scripts/demo
: base scripts for the demo.setup.ts
is for how to setup configuration andcustomer-site-interaction.ts
is just base interaction for website (add to cart behavior).
/src/styled
: folder that will hold all of the styling related for all web componentsvariables
: scss variables that will be used throughout the web components application (better to just have scss variables and should not have css)css
: folder that will hold all of the global css (this will be generated and inject into<head>
consumer site)
- Have environment
t3
setup, but currently it's only being used inrollup
andstencil
config for build time checking. It may be will remove this in the future if we don't have any severless api or api using related (right now using just nativeprocess.env
, and have the rollup env plugin to transfer that env into actual value when building. - separate tsconfig for each bundling:
tsconfig
: will include all folders to have all of the intellisense throughout the project.tsconfig.build
: stencil building processtsconfig.demo-script
: script for demo scripttsconfig.scripts
: rollup bundling for loading script.
3 days ago
4 days ago
8 days ago
7 days ago
15 days ago
18 days ago
19 days ago
24 days ago
29 days ago
28 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
7 months ago