@ikas/storefront 0.0.168-alpha.5 → 0.0.168-alpha.6

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/build/index.es.js CHANGED
@@ -22977,7 +22977,8 @@ var CheckoutViewModel = /** @class */ (function () {
22977
22977
  case 2:
22978
22978
  // Skip shipping if there is only 1 shipping method
22979
22979
  if (this.step === CheckoutStep.SHIPPING &&
22980
- this.checkout.availableShippingMethods.length === 1) {
22980
+ this.checkout.availableShippingMethods.length === 1 &&
22981
+ !this.checkoutSettings.isGiftPackageEnabled) {
22981
22982
  this.step = CheckoutStep.PAYMENT;
22982
22983
  this.router.replace("/checkout?id=" + this.checkout.id + "&step=" + this.step, undefined, {
22983
22984
  shallow: true,
@@ -68878,13 +68879,6 @@ var AddressForm$1 = observer(function (props) {
68878
68879
  createElement(AddressFirstLine, __assign({}, props, { vm: vm }))),
68879
68880
  createElement("div", { className: styles$4.RowPB },
68880
68881
  createElement(AddressSecondLine, __assign({}, props, { vm: vm }))))),
68881
- createElement("div", { className: styles$4.RowPB },
68882
- createElement(AddressFirstLine, __assign({}, props, { vm: vm }))),
68883
- createElement("div", { className: [commonStyles.Grid, commonStyles.Grid2].join(" ") },
68884
- createElement(AddressSecondLine, __assign({}, props, { vm: vm })),
68885
- createElement(PostalCode, __assign({}, props, { vm: vm })),
68886
- createElement("div", null),
68887
- " "),
68888
68882
  createElement("div", { className: [
68889
68883
  styles$4.RowPB,
68890
68884
  commonStyles.Grid,
package/build/index.js CHANGED
@@ -22985,7 +22985,8 @@ var CheckoutViewModel = /** @class */ (function () {
22985
22985
  case 2:
22986
22986
  // Skip shipping if there is only 1 shipping method
22987
22987
  if (this.step === CheckoutStep.SHIPPING &&
22988
- this.checkout.availableShippingMethods.length === 1) {
22988
+ this.checkout.availableShippingMethods.length === 1 &&
22989
+ !this.checkoutSettings.isGiftPackageEnabled) {
22989
22990
  this.step = CheckoutStep.PAYMENT;
22990
22991
  this.router.replace("/checkout?id=" + this.checkout.id + "&step=" + this.step, undefined, {
22991
22992
  shallow: true,
@@ -68857,13 +68858,6 @@ var AddressForm$1 = mobxReactLite.observer(function (props) {
68857
68858
  React.createElement(AddressFirstLine, __assign({}, props, { vm: vm }))),
68858
68859
  React.createElement("div", { className: styles$4.RowPB },
68859
68860
  React.createElement(AddressSecondLine, __assign({}, props, { vm: vm }))))),
68860
- React.createElement("div", { className: styles$4.RowPB },
68861
- React.createElement(AddressFirstLine, __assign({}, props, { vm: vm }))),
68862
- React.createElement("div", { className: [commonStyles.Grid, commonStyles.Grid2].join(" ") },
68863
- React.createElement(AddressSecondLine, __assign({}, props, { vm: vm })),
68864
- React.createElement(PostalCode, __assign({}, props, { vm: vm })),
68865
- React.createElement("div", null),
68866
- " "),
68867
68861
  React.createElement("div", { className: [
68868
68862
  styles$4.RowPB,
68869
68863
  commonStyles.Grid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.168-alpha.5",
3
+ "version": "0.0.168-alpha.6",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",