@blocklet/payment-react 1.13.125 → 1.13.126

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.
@@ -120,8 +120,9 @@ export default function PricingTable({ table, alignItems, interval, mode, onSele
120
120
  direction: "column",
121
121
  alignItems: "center",
122
122
  className: "price-table-item",
123
+ justifyContent: "center",
123
124
  sx: {
124
- width: "30%",
125
+ width: 0.9 / grouped[state.interval].length,
125
126
  cursor: "pointer",
126
127
  borderWidth: "1px",
127
128
  borderStyle: "solid",
@@ -138,8 +138,9 @@ function PricingTable({
138
138
  direction: "column",
139
139
  alignItems: "center",
140
140
  className: "price-table-item",
141
+ justifyContent: "center",
141
142
  sx: {
142
- width: "30%",
143
+ width: 0.9 / grouped[state.interval].length,
143
144
  cursor: "pointer",
144
145
  borderWidth: "1px",
145
146
  borderStyle: "solid",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.13.125",
3
+ "version": "1.13.126",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -89,7 +89,7 @@
89
89
  "@babel/core": "^7.19.3",
90
90
  "@babel/preset-env": "^7.19.3",
91
91
  "@babel/preset-react": "^7.18.6",
92
- "@blocklet/payment-types": "1.13.125",
92
+ "@blocklet/payment-types": "1.13.126",
93
93
  "@storybook/addon-essentials": "^7.6.10",
94
94
  "@storybook/addon-interactions": "^7.6.10",
95
95
  "@storybook/addon-links": "^7.6.10",
@@ -118,5 +118,5 @@
118
118
  "vite-plugin-babel": "^1.2.0",
119
119
  "vite-plugin-node-polyfills": "^0.19.0"
120
120
  },
121
- "gitHead": "6242d03d1b13c6e0d2875637db232dd8927207b6"
121
+ "gitHead": "efeb0d3762e61e2a6642330b86a41aa4f0847f36"
122
122
  }
@@ -145,8 +145,9 @@ export default function PricingTable({ table, alignItems, interval, mode, onSele
145
145
  direction="column"
146
146
  alignItems="center"
147
147
  className="price-table-item"
148
+ justifyContent="center"
148
149
  sx={{
149
- width: '30%',
150
+ width: 0.9 / grouped[state.interval as string].length,
150
151
  cursor: 'pointer',
151
152
  borderWidth: '1px',
152
153
  borderStyle: 'solid',