@bunnyapp/components 1.0.73-beta.2 → 1.0.73-beta.3
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/dist/cjs/index.js
CHANGED
|
@@ -154,7 +154,7 @@ var BrandContext = react.createContext({
|
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
// This will be replaced at build time by rollup-plugin-replace
|
|
157
|
-
var PACKAGE_VERSION = '1.0.73-beta.
|
|
157
|
+
var PACKAGE_VERSION = '1.0.73-beta.3';
|
|
158
158
|
var createRequestHeaders = function (token) {
|
|
159
159
|
var headers = common.createClientDevHeaders(token);
|
|
160
160
|
// Add the components version header
|
|
@@ -19170,13 +19170,6 @@ var PaymentForm = function (_a) {
|
|
|
19170
19170
|
if (isPaymentMethodLoading) {
|
|
19171
19171
|
return jsxRuntime.jsx(antd.Skeleton, { active: true, className: "bunny-p-4" });
|
|
19172
19172
|
}
|
|
19173
|
-
console.log('\n');
|
|
19174
|
-
console.log('paymentRequired', paymentRequired);
|
|
19175
|
-
console.log('paying', paying);
|
|
19176
|
-
console.log('defaultPaymentMethod', defaultPaymentMethod);
|
|
19177
|
-
console.log('selectedPaymentMethodPlugin', selectedPaymentMethodPlugin);
|
|
19178
|
-
console.log('storedPaymentMethods', storedPaymentMethods);
|
|
19179
|
-
console.log('paymentPlugins', paymentPlugins);
|
|
19180
19173
|
return (jsxRuntime.jsx(PaymentContext.Provider, __assign({ value: {
|
|
19181
19174
|
onClickCancel: function () { return setShowPaymentMethodForm(false); },
|
|
19182
19175
|
accountId: accountId,
|
|
@@ -21073,7 +21066,6 @@ var Checkout = function (_a) {
|
|
|
21073
21066
|
priceListId: selectedPriceList === null || selectedPriceList === void 0 ? void 0 : selectedPriceList.id,
|
|
21074
21067
|
token: token,
|
|
21075
21068
|
});
|
|
21076
|
-
console.log('recalculateTaxes - updatedQuote', updatedQuote);
|
|
21077
21069
|
queryClient.setQueryData(quoteKey, updatedQuote);
|
|
21078
21070
|
queryClient.setQueryData(calculatedPricesKey, updatedQuote);
|
|
21079
21071
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from
|
|
2
|
-
import Invoice from
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Invoice from './Invoice';
|
|
3
3
|
declare const meta: Meta<typeof Invoice>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
package/dist/esm/index.js
CHANGED
|
@@ -143,7 +143,7 @@ var BrandContext = createContext({
|
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
// This will be replaced at build time by rollup-plugin-replace
|
|
146
|
-
var PACKAGE_VERSION = '1.0.73-beta.
|
|
146
|
+
var PACKAGE_VERSION = '1.0.73-beta.3';
|
|
147
147
|
var createRequestHeaders = function (token) {
|
|
148
148
|
var headers = createClientDevHeaders(token);
|
|
149
149
|
// Add the components version header
|
|
@@ -19159,13 +19159,6 @@ var PaymentForm = function (_a) {
|
|
|
19159
19159
|
if (isPaymentMethodLoading) {
|
|
19160
19160
|
return jsx(Skeleton, { active: true, className: "bunny-p-4" });
|
|
19161
19161
|
}
|
|
19162
|
-
console.log('\n');
|
|
19163
|
-
console.log('paymentRequired', paymentRequired);
|
|
19164
|
-
console.log('paying', paying);
|
|
19165
|
-
console.log('defaultPaymentMethod', defaultPaymentMethod);
|
|
19166
|
-
console.log('selectedPaymentMethodPlugin', selectedPaymentMethodPlugin);
|
|
19167
|
-
console.log('storedPaymentMethods', storedPaymentMethods);
|
|
19168
|
-
console.log('paymentPlugins', paymentPlugins);
|
|
19169
19162
|
return (jsx(PaymentContext.Provider, __assign({ value: {
|
|
19170
19163
|
onClickCancel: function () { return setShowPaymentMethodForm(false); },
|
|
19171
19164
|
accountId: accountId,
|
|
@@ -21062,7 +21055,6 @@ var Checkout = function (_a) {
|
|
|
21062
21055
|
priceListId: selectedPriceList === null || selectedPriceList === void 0 ? void 0 : selectedPriceList.id,
|
|
21063
21056
|
token: token,
|
|
21064
21057
|
});
|
|
21065
|
-
console.log('recalculateTaxes - updatedQuote', updatedQuote);
|
|
21066
21058
|
queryClient.setQueryData(quoteKey, updatedQuote);
|
|
21067
21059
|
queryClient.setQueryData(calculatedPricesKey, updatedQuote);
|
|
21068
21060
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from
|
|
2
|
-
import Invoice from
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Invoice from './Invoice';
|
|
3
3
|
declare const meta: Meta<typeof Invoice>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
package/package.json
CHANGED