@clickaroo/checkout-ui 0.0.1-beta

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/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
1
+ # @vsl-network/checkout-ui
2
+
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 配置 storybook、支持多产品下单、添加谷歌地址建议支持
8
+
9
+ ## 1.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - 修改.gitlab-ci.yml
14
+
15
+ ## 1.0.3
16
+
17
+ ### Patch Changes
18
+
19
+ - 添加 Changesets 支持,用于自动管理版本和 changelog
20
+
21
+ ## 1.0.2
22
+
23
+ ### Patch Changes
24
+
25
+ - 添加 Terser 压缩混淆生产环境代码
26
+
27
+ ## 1.0.1
28
+
29
+ ### Patch Changes
30
+
31
+ - 关闭 source map 文件生成
32
+
33
+ ## 1.0.0
34
+
35
+ ### 首次发布
36
+
37
+ - ✨ 完整的结账流程组件
38
+ - ✨ CheckoutProvider 上下文提供者
39
+ - ✨ CustomerInfo 客户信息组件
40
+ - ✨ DeliveryAddress 收货地址组件
41
+ - ✨ PaymentMethods 支付方式组件
42
+ - ✨ ButtonGroup 订单提交按钮组
43
+ - ✨ Stripe 支付集成
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [2025] [Nobody]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @clickaroo/checkout-ui
2
+
3
+ ## 📦 Install
4
+
5
+ ```bash
6
+ pnpm add @clickaroo/checkout-ui
7
+ # 或
8
+ npm install @clickaroo/checkout-ui
9
+ # 或
10
+ yarn add @clickaroo/checkout-ui
11
+ ```
12
+
13
+ ## 🚀 Quick Start
14
+
15
+ ### Basic Usage
16
+
17
+ #### Use CheckoutPage
18
+
19
+ ```tsx
20
+ import { CheckoutPage } from '@clickaroo/checkout-ui';
21
+
22
+ function App() {
23
+ const product = [{
24
+ title: "test product",
25
+ sku: "TEST001",
26
+ offerPricePoint: "",
27
+ image: "https://example.com/product.jpg",
28
+ price: 99.99,
29
+ originalPrice: 129.99,
30
+ isSubscribe: false
31
+ }]
32
+
33
+ return (
34
+ <CheckoutPage
35
+ cart={product}
36
+ />
37
+ );
38
+ }
39
+ ```