@viur/shop-components 0.0.1-dev.6 → 0.0.1-dev.61
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/.editorconfig +16 -0
- package/.github/workflows/npm-publish.yml +42 -0
- package/.gitmodules +3 -0
- package/LICENSE +21 -0
- package/README.md +13 -2
- package/old/client/HttpClient.js +111 -0
- package/old/client/ViURShopClient.js +472 -0
- package/old/client/index.js +23 -0
- package/old/client/types.js +10 -0
- package/old/components/ExampleUsage.vue +95 -0
- package/old/components/ShopCart.vue +91 -0
- package/old/components/ShopOrderComplete.vue +73 -0
- package/old/components/ShopOrderConfirm.vue +311 -0
- package/old/components/ShopOrderStepper.vue +352 -0
- package/old/components/ShopPaymentProvider.vue +113 -0
- package/old/components/ShopShippingMethod.vue +52 -0
- package/old/components/ShopSummary.vue +138 -0
- package/old/components/ShopUserData.vue +218 -0
- package/old/components/cart/CartLeaf.vue +277 -0
- package/old/components/cart/CartLeafModel.vue +312 -0
- package/old/components/cart/CartNode.vue +26 -0
- package/old/components/cart/CartTree.vue +67 -0
- package/old/components/cart/CartTreeWrapper.vue +73 -0
- package/old/components/cart/CartView.vue +82 -0
- package/old/components/cart/Discount.vue +91 -0
- package/old/components/generic/loadinghandler.vue +76 -0
- package/old/components/paymentProvider/paypalplus.vue +0 -0
- package/old/components/paymentProvider/prepayment.vue +0 -0
- package/old/components/paymentProvider/unzerPayment.vue +140 -0
- package/old/components/simple/ShopUserData.vue +161 -0
- package/old/components/simple/SimpleDefaultLayout.vue +116 -0
- package/old/components/ui/generic/CardSelector.vue +52 -0
- package/old/components/ui/generic/CartList.vue +69 -0
- package/old/components/ui/generic/ShippingInfo.vue +56 -0
- package/old/components/ui/generic/ShopPriceFormatter.vue +41 -0
- package/old/components/ui/generic/alerts/ShopAlert.vue +30 -0
- package/old/components/ui/payment/PaymentOption.vue +79 -0
- package/old/components/ui/payment/PaymentSelector.vue +158 -0
- package/old/components/ui/stepper/StepperItem.vue +90 -0
- package/old/components/ui/stepper/StepperTab.vue +161 -0
- package/old/components/ui/stepper/StepperTrigger.vue +69 -0
- package/old/components/ui/userdata/AddForm.vue +160 -0
- package/old/components/ui/userdata/AddressBox.vue +137 -0
- package/old/components/ui/userdata/BaseLayout.vue +77 -0
- package/old/components/ui/userdata/CustomBooleanBone.vue +58 -0
- package/old/components/ui/userdata/CustomSelectBone.vue +91 -0
- package/old/components/ui/userdata/CustomStringBone.vue +71 -0
- package/old/components/ui/userdata/DefaultLayout.vue +126 -0
- package/old/components/ui/userdata/SelectAddress.vue +21 -0
- package/old/components/ui/userdata/multi/ActionBar.vue +38 -0
- package/old/components/ui/userdata/multi/CartSelection.vue +42 -0
- package/old/ignite/.editorconfig +20 -0
- package/old/ignite/.github/workflows/ignite.yml +64 -0
- package/old/ignite/.github/workflows/node.yml +30 -0
- package/old/ignite/.postcssrc.cjs +25 -0
- package/old/ignite/CHANGELOG.md +244 -0
- package/old/ignite/LICENSE +21 -0
- package/old/ignite/README.md +92 -0
- package/old/ignite/dist/ignite.css +2019 -0
- package/old/ignite/dist/ignite.min.css +4 -0
- package/old/ignite/foundation/basic.css +371 -0
- package/old/ignite/foundation/color.css +323 -0
- package/old/ignite/foundation/config.css +188 -0
- package/old/ignite/foundation/grid.css +78 -0
- package/old/ignite/foundation/mediaqueries.css +71 -0
- package/old/ignite/foundation/reset.css +261 -0
- package/old/ignite/ignite.css +29 -0
- package/old/ignite/ignite.css.map +1 -0
- package/old/ignite/package-lock.json +5530 -0
- package/old/ignite/package.json +58 -0
- package/old/ignite/shoelace.css +19 -0
- package/old/ignite/themes/dark.css +12 -0
- package/old/ignite/themes/light.css +11 -0
- package/old/ignite/utilities/shoelace.css +537 -0
- package/old/ignite/utilities/utilities.css +24 -0
- package/old/stores/address.js +122 -0
- package/old/stores/cart.js +266 -0
- package/old/stores/message.js +21 -0
- package/old/stores/order.js +202 -0
- package/old/stores/payment.js +79 -0
- package/old/stores/shipping.js +78 -0
- package/package.json +23 -23
- package/src/Shop.vue +212 -0
- package/src/ShopOrderStepper.vue +89 -0
- package/src/ShopSummary.vue +170 -0
- package/src/Steps/ShopCart.vue +60 -0
- package/src/Steps/ShopOrderComplete.vue +24 -0
- package/src/Steps/ShopOrderConfirm.vue +295 -0
- package/src/Steps/ShopPaymentProvider.vue +53 -0
- package/src/Steps/ShopShippingMethod.vue +53 -0
- package/src/Steps/ShopUserDataGuest.vue +78 -0
- package/src/Steps/index.js +15 -0
- package/src/components/AddressForm.vue +84 -0
- package/src/components/AddressFormLayout.vue +107 -0
- package/src/components/CardSelector.vue +68 -0
- package/src/components/CartItem.vue +325 -0
- package/src/components/CartItemSmall.vue +257 -0
- package/src/components/LoadingHandler.vue +76 -0
- package/src/components/PaymentOption.vue +78 -0
- package/src/components/PaymentProviderUnzer.vue +201 -0
- package/src/components/PaymentSelector.vue +55 -0
- package/src/components/ShopAlert.vue +30 -0
- package/src/components/StepperTab.vue +132 -0
- package/src/components/dialogButton.vue +49 -0
- package/src/composables/address.js +95 -0
- package/src/composables/cart.js +132 -0
- package/src/composables/order.js +80 -0
- package/src/composables/payment.js +75 -0
- package/src/composables/shipping.js +32 -0
- package/src/main.js +44 -0
- package/src/shop.js +251 -0
- package/src/translations/de.js +15 -0
- package/src/translations/en.js +5 -0
- package/src/utils.js +49 -0
- package/vite.config.js +51 -0
- package/src/components/cart/CartView.vue +0 -692
- package/src/components/cart/ConfirmView.vue +0 -314
- package/src/components/order/category/CategoryList.vue +0 -83
- package/src/components/order/category/CategoryView.vue +0 -143
- package/src/components/order/information/UserInfoMulti.vue +0 -427
- package/src/components/order/information/UserInformation.vue +0 -332
- package/src/components/order/information/adress/ShippingAdress.vue +0 -143
- package/src/components/order/item/ItemCard.vue +0 -168
- package/src/components/order/item/ItemView.vue +0 -233
- package/src/components/order/process/ExampleUsage.vue +0 -100
- package/src/components/order/process/OrderComplete.vue +0 -41
- package/src/components/order/process/OrderTabHeader.vue +0 -7
- package/src/components/order/process/OrderView.vue +0 -210
- package/src/router/index.js +0 -103
- package/src/stores/cart.js +0 -111
- package/src/views/ViewMissing.vue +0 -20
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[](https://www.npmjs.com/package/@viur/ignite) [](https://raw.githubusercontent.com/viur-ignite/ignite/master/LICENSE)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
# Ignite
|
|
5
|
+
> ViUR Ignite is a sizzling PostCSS boilerplate
|
|
6
|
+
|
|
7
|
+
Our goal is to create a boilerplate that is sturdy and scalable
|
|
8
|
+
yet lightweight and adaptable to our different customer projects.
|
|
9
|
+
Our approach to CSS is influenced by many modern CSS principles: object oriented, functional and structured.
|
|
10
|
+
It uses the power of PostCSS.
|
|
11
|
+
|
|
12
|
+
For a detailed introduction and examples have a look at [ignite.viur.dev](https://ignite.viur.dev).
|
|
13
|
+
|
|
14
|
+
## What is this framework for?
|
|
15
|
+
* Ignite is a development toolkit for sturdy HTML and CSS
|
|
16
|
+
* It is a lightweight collection of helpful CSS
|
|
17
|
+
* It is responsive and adaptable
|
|
18
|
+
* It is built with PostCSS
|
|
19
|
+
* It is a solid foundation for [Shoelace](https://github.com/viur-framework/vi-shoelace) and [VUEJS](https://github.com/viur-framework/vi-vue-components)
|
|
20
|
+
|
|
21
|
+
## Foundation
|
|
22
|
+
* _basic.css_ – styling of all application basics (body, fonts, headlines, lists etc.).
|
|
23
|
+
* _color.css_ – is a collection of color tables.
|
|
24
|
+
* _config.css_ – stores all default variables and constants.
|
|
25
|
+
* _mediaqueries.css_ – is a really simple solution for media queries.
|
|
26
|
+
* _reset.css_ – resets all browsers to the same base state.
|
|
27
|
+
|
|
28
|
+
## Themes
|
|
29
|
+
* _dark.css_ - is a starting point for a dark theme
|
|
30
|
+
* _light.css_ - is a starting point for a light theme
|
|
31
|
+
|
|
32
|
+
## Utilities
|
|
33
|
+
* _shoelace.css_ – the ignite shoelace adapter (ISA)
|
|
34
|
+
* _utilities.css_ – useful helpers
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
**NPM**
|
|
41
|
+
|
|
42
|
+
Use NPM to install Ignite:
|
|
43
|
+
```bash
|
|
44
|
+
npm install @viur/ignite
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Please use [postcss-import](https://www.npmjs.com/package/postcss-import) with your PostCSS pipeline.
|
|
48
|
+
This way you are able to get rid of ugly `../node_modules/@viur/ignite/ignite.css` imports:
|
|
49
|
+
|
|
50
|
+
```postcss
|
|
51
|
+
@import url('@viur/ignite/ignite.css');
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Submodule**
|
|
55
|
+
|
|
56
|
+
You can add Ignite as submodule to your project as well:
|
|
57
|
+
```bash
|
|
58
|
+
git submodule add git@github.com:viur-framework/ignite.git
|
|
59
|
+
```
|
|
60
|
+
or
|
|
61
|
+
```bash
|
|
62
|
+
git submodule add https://github.com/viur-framework/ignite.git
|
|
63
|
+
```
|
|
64
|
+
Now you can import Ignite in your projects style.css
|
|
65
|
+
```postcss
|
|
66
|
+
@import url('ignite/ignite.css');
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Builds**
|
|
70
|
+
|
|
71
|
+
Preprocessed versions of Ignite can be found in `dist` folder:
|
|
72
|
+
|
|
73
|
+
Bundled:
|
|
74
|
+
```postcss
|
|
75
|
+
@import url('@viur/ignite/dist/ignite.css');
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Minified:
|
|
79
|
+
```postcss
|
|
80
|
+
@import url('@viur/ignite/dist/ignite.min.css');
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Contribution guidelines
|
|
86
|
+
* Available for use under the MIT license
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Who do I talk to?
|
|
91
|
+
* [@phneutral](https://github.com/phneutral)
|
|
92
|
+
* [@sveneberth](https://github.com/sveneberth)
|