@gem-sdk/plugin-quick-view 2.0.0-dev.324 → 2.0.0-dev.348

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.
@@ -90,21 +90,25 @@ const ModalContent = ()=>{
90
90
  children: [
91
91
  /*#__PURE__*/ jsxRuntime.jsx(components.Col, {
92
92
  children: /*#__PURE__*/ jsxRuntime.jsx(components.ProductPrice, {
93
+ setting: {
94
+ priceType: 'regular'
95
+ },
93
96
  styles: {
94
97
  typography: {
95
98
  type: 'subheading-2'
96
- },
97
- priceType: 'regular'
99
+ }
98
100
  }
99
101
  })
100
102
  }),
101
103
  /*#__PURE__*/ jsxRuntime.jsx(components.Col, {
102
104
  children: /*#__PURE__*/ jsxRuntime.jsx(components.ProductPrice, {
105
+ setting: {
106
+ priceType: 'compare'
107
+ },
103
108
  styles: {
104
109
  typography: {
105
110
  type: 'paragraph-2'
106
- },
107
- priceType: 'compare'
111
+ }
108
112
  }
109
113
  })
110
114
  })
package/dist/cjs/index.js CHANGED
@@ -3,9 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var QuickView = require('./components/QuickView.js');
6
- var index = require('./setting/index.js');
7
-
6
+ var QuickView$1 = require('./setting/QuickView.js');
8
7
 
8
+ const builderSetting = {
9
+ QuickView: QuickView$1.default
10
+ };
9
11
 
10
12
  exports.default = QuickView.default;
11
- exports.builderSetting = index.default;
13
+ exports.builderSetting = builderSetting;
@@ -86,21 +86,25 @@ const ModalContent = ()=>{
86
86
  children: [
87
87
  /*#__PURE__*/ jsx(Col, {
88
88
  children: /*#__PURE__*/ jsx(ProductPrice, {
89
+ setting: {
90
+ priceType: 'regular'
91
+ },
89
92
  styles: {
90
93
  typography: {
91
94
  type: 'subheading-2'
92
- },
93
- priceType: 'regular'
95
+ }
94
96
  }
95
97
  })
96
98
  }),
97
99
  /*#__PURE__*/ jsx(Col, {
98
100
  children: /*#__PURE__*/ jsx(ProductPrice, {
101
+ setting: {
102
+ priceType: 'compare'
103
+ },
99
104
  styles: {
100
105
  typography: {
101
106
  type: 'paragraph-2'
102
- },
103
- priceType: 'compare'
107
+ }
104
108
  }
105
109
  })
106
110
  })
package/dist/esm/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  import ProductQuickView from './components/QuickView.js';
2
- export { default as builderSetting } from './setting/index.js';
2
+ import config from './setting/QuickView.js';
3
3
 
4
+ const builderSetting = {
5
+ QuickView: config
6
+ };
4
7
 
5
-
6
- export { ProductQuickView as default };
8
+ export { builderSetting, ProductQuickView as default };
@@ -4,10 +4,11 @@ import { BaseProps } from '@gem-sdk/core';
4
4
  type ProductQuickViewProps = BaseProps<{
5
5
  label?: React.ReactNode;
6
6
  }>;
7
+
7
8
  declare const ProductQuickView: React.FC<ProductQuickViewProps>;
8
9
 
9
- declare const _default: {
10
+ declare const builderSetting: {
10
11
  QuickView: _gem_sdk_core.ComponentSetting<ProductQuickViewProps>;
11
12
  };
12
13
 
13
- export { _default as builderSetting, ProductQuickView as default };
14
+ export { builderSetting, ProductQuickView as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/plugin-quick-view",
3
- "version": "2.0.0-dev.324",
3
+ "version": "2.0.0-dev.348",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -19,8 +19,8 @@
19
19
  "test": "jest -c ./../../helpers/jest.config.ts"
20
20
  },
21
21
  "devDependencies": {
22
- "@gem-sdk/components": "2.0.0-dev.328",
23
- "@gem-sdk/core": "2.0.0-dev.324",
22
+ "@gem-sdk/components": "2.0.0-dev.348",
23
+ "@gem-sdk/core": "2.0.0-dev.345",
24
24
  "@gem-sdk/styles": "2.0.0-dev.324"
25
25
  },
26
26
  "peerDependencies": {
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var QuickView = require('./QuickView.js');
6
-
7
- var index = {
8
- QuickView: QuickView.default
9
- };
10
-
11
- exports.default = index;
@@ -1,7 +0,0 @@
1
- import config from './QuickView.js';
2
-
3
- var index = {
4
- QuickView: config
5
- };
6
-
7
- export { index as default };