1.3.14 • Published 3 days ago

@zonos/elements v1.3.14

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

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 stencil store.
    • checkout: main components that will handle zonos checkout
    • hello: 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 components
    • utils: folders that will hold all of the necessary utilities for all of the components in stencil
    • components.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 and customer-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 components
    • variables: 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 in rollup and stencil 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 native process.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 process
    • tsconfig.demo-script: script for demo script
    • tsconfig.scripts: rollup bundling for loading script.
1.3.15-alpha.2

3 days ago

1.3.15-alpha.1

4 days ago

1.3.14

8 days ago

1.3.15-alpha.0

7 days ago

1.3.14-alpha.0

15 days ago

1.3.13

18 days ago

1.3.13-alpha.2

19 days ago

1.3.13-alpha.1

24 days ago

1.3.12

29 days ago

1.3.13-alpha.0

28 days ago

1.3.12-alpha.10

1 month ago

1.3.12-alpha.11

1 month ago

1.3.12-alpha.12

1 month ago

1.3.12-alpha.9

1 month ago

1.3.12-alpha.8

1 month ago

1.3.12-alpha.7

1 month ago

1.3.12-alpha.6

1 month ago

1.3.12-alpha.3

1 month ago

1.3.12-alpha.5

1 month ago

1.3.12-alpha.4

1 month ago

1.3.12-alpha.2

1 month ago

1.3.12-alpha.1

1 month ago

1.3.12-alpha.0

1 month ago

1.3.11

1 month ago

1.3.11-alpha.2

1 month ago

1.3.11-alpha.3

1 month ago

1.3.11-alpha.1

2 months ago

1.3.11-alpha.0

2 months ago

1.3.10

2 months ago

1.3.10-alpha.1

2 months ago

1.3.10-alpha.0

2 months ago

1.3.10-alpha.2

2 months ago

1.3.8-alpha.5

2 months ago

1.3.8-alpha.3

2 months ago

1.3.8-alpha.4

2 months ago

1.3.9

2 months ago

1.3.8

2 months ago

1.3.8-alpha.2

2 months ago

1.3.8-alpha.1

2 months ago

1.3.7

2 months ago

1.3.8-alpha.0

2 months ago

1.3.7-alpha.1

2 months ago

1.3.7-alpha.0

3 months ago

1.3.6

3 months ago

1.3.5

3 months ago

1.3.5-alpha.0

3 months ago

1.3.4

3 months ago

1.3.4-alpha.2

3 months ago

1.3.4-alpha.1

3 months ago

1.3.4-alpha.0

3 months ago

1.3.3

3 months ago

1.3.2

3 months ago

1.3.3-alpha.0

3 months ago

1.2.4-alpha.14

3 months ago

1.2.4-alpha.13

3 months ago

1.2.4-alpha.12

3 months ago

1.2.4-alpha.10

4 months ago

1.2.4-alpha.11

4 months ago

1.2.4-alpha.8

4 months ago

1.2.4-alpha.7

4 months ago

1.2.4-alpha.6

5 months ago

1.2.4-alpha.5

5 months ago

1.2.4-alpha.4

5 months ago

1.2.4-alpha.3

5 months ago

1.2.4-alpha.1

5 months ago

1.2.4-alpha.2

5 months ago

1.2.3

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.2.0

6 months ago

1.1.2

6 months ago

1.0.17-alpha.1

7 months ago

1.0.17-alpha.0

7 months ago

1.1.1

7 months ago

1.0.16

7 months ago