@crystaldesign/diva-seller 24.15.0-beta.41 → 24.15.0-beta.42

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.
@@ -7351,7 +7351,7 @@ var leftSide = "left-side-10jmj";
7351
7351
  var rightSide$1 = "right-side-64-Yz";
7352
7352
  var catalogImages = "catalog-images-jJGqW";
7353
7353
  var footer = "footer-1ONIt";
7354
- var css_248z$7 = ".layout-NhUpB {\n display: flex;\n height: 100%;\n flex-direction: column;\n}\n\n.content-t8Rtl {\n display: flex;\n flex: 1;\n overflow: auto;\n}\n\n.left-side-10jmj {\n width: 25%;\n min-width: 300px;\n}\n\n.right-side-64-Yz {\n display: flex;\n flex-direction: column;\n position: relative;\n flex: 1;\n overflow: auto;\n}\n\n.catalog-images-jJGqW {\n flex: 1;\n padding: 12px;\n}\n\n.footer-1ONIt {\n display: flex;\n justify-content: flex-end;\n}\n\n@media (max-width: 820px) {\n .content-t8Rtl {\n flex-direction: column;\n }\n}\n";
7354
+ var css_248z$7 = ".layout-NhUpB {\n display: flex;\n height: 100%;\n flex-direction: column;\n}\n\n.content-t8Rtl {\n display: flex;\n flex: 1;\n overflow: auto;\n}\n\n.left-side-10jmj {\n width: 25%;\n min-width: 300px;\n}\n\n.right-side-64-Yz {\n display: flex;\n flex-direction: column;\n position: relative;\n flex: 1;\n overflow: auto;\n justify-content: flex-end;\n}\n\n.catalog-images-jJGqW {\n flex: 1;\n padding: 12px;\n}\n\n.footer-1ONIt {\n display: flex;\n justify-content: flex-end;\n}\n\n@media (max-width: 820px) {\n .content-t8Rtl {\n flex-direction: column;\n }\n}\n";
7355
7355
  styleInject(css_248z$7);
7356
7356
 
7357
7357
  var wrapper$5 = "wrapper-D5Cmc";
@@ -7443,9 +7443,10 @@ var CatalogImages = function CatalogImages(_ref) {
7443
7443
  };
7444
7444
 
7445
7445
  var wrapper$4 = "wrapper-3d2zl";
7446
+ var fullHeight = "full-height-CQ8Cy";
7446
7447
  var tabBar = "tab-bar-lQQ28";
7447
7448
  var nothingFound = "nothing-found-0eqZ5";
7448
- var css_248z$5 = ".wrapper-3d2zl {\n max-height: 50%;\n overflow: hidden;\n}\n\n.wrapper-3d2zl.MuiAccordion-root.Mui-expanded {\n height: 50%;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-root.Mui-expanded {\n min-height: 0;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-root.Mui-focused {\n background-color: #fff8f8;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-content {\n justify-content: space-between;\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiTabs-root {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root {\n height: calc(100% - 46px) !important;\n}\n\n.wrapper-3d2zl .MuiCollapse-root {\n scrollbar-width: thin;\n overflow-y: scroll;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapper {\n display: none;\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root.MuiCollapse-entered .MuiCollapse-wrapper {\n display: flex;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapperInner {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapperInner > div {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiAccordionDetails-root {\n height: calc(100% - 24px);\n width: calc(100% - 32px);\n}\n\n.tab-bar-lQQ28 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background-color: #f8f8f8;\n height: 46px;\n}\n\n.nothing-found-0eqZ5 {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n flex-direction: column;\n gap: 15px;\n margin: auto;\n}\n";
7449
+ var css_248z$5 = ".wrapper-3d2zl {\n max-height: 50%;\n overflow: hidden;\n}\n\n.wrapper-3d2zl.MuiAccordion-root.Mui-expanded {\n height: 50%;\n}\n\n.wrapper-3d2zl.full-height-CQ8Cy {\n max-height: 100%;\n}\n\n.wrapper-3d2zl.full-height-CQ8Cy.MuiAccordion-root.Mui-expanded {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-root.Mui-expanded {\n min-height: 0;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-root.Mui-focused {\n background-color: #fff8f8;\n}\n\n.wrapper-3d2zl .MuiAccordionSummary-content {\n justify-content: space-between;\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiTabs-root {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root {\n height: calc(100% - 46px) !important;\n}\n\n.wrapper-3d2zl .MuiCollapse-root {\n scrollbar-width: thin;\n overflow-y: scroll;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapper {\n display: none;\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root.MuiCollapse-entered .MuiCollapse-wrapper {\n display: flex;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapperInner {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiCollapse-root .MuiCollapse-wrapperInner > div {\n height: 100%;\n}\n\n.wrapper-3d2zl .MuiAccordionDetails-root {\n height: calc(100% - 24px);\n width: calc(100% - 32px);\n}\n\n.tab-bar-lQQ28 {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background-color: #f8f8f8;\n height: 46px;\n}\n\n.nothing-found-0eqZ5 {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n flex-direction: column;\n gap: 15px;\n margin: auto;\n}\n";
7449
7450
  styleInject(css_248z$5);
7450
7451
 
7451
7452
  var wrapper$3 = "wrapper-i9mNn";
@@ -7501,7 +7502,8 @@ var ProductsOrArticles = function ProductsOrArticles(_ref) {
7501
7502
  var _scroller$current, _scroller$current2;
7502
7503
  var catalogCodex = _ref.catalogCodex,
7503
7504
  onProductClick = _ref.onProductClick,
7504
- hideProducts = _ref.hideProducts;
7505
+ hideProducts = _ref.hideProducts,
7506
+ hideImages = _ref.hideImages;
7505
7507
  var _useSellerState = useSellerState(),
7506
7508
  configurationData = _useSellerState.state.configurationData;
7507
7509
  var _useState = useState(0),
@@ -7581,9 +7583,9 @@ var ProductsOrArticles = function ProductsOrArticles(_ref) {
7581
7583
  }
7582
7584
  };
7583
7585
  if (hideAll || vzProductsState.loading || favoriteProductsState.loading) return /*#__PURE__*/jsx(Fragment, {});
7584
- var isEmpty = tab == 0 ? vzProductsState.groups.length == 0 : favoriteProductsState.groups.length == 0;
7586
+ var isEmpty = selectedTab == 0 ? vzProductsState.groups.length == 0 : favoriteProductsState.groups.length == 0;
7585
7587
  return /*#__PURE__*/jsxs(Accordion, {
7586
- className: wrapper$4,
7588
+ className: classnames(wrapper$4, _defineProperty({}, fullHeight, hideImages)),
7587
7589
  expanded: shouldExpand,
7588
7590
  onChange: function onChange(_, exp) {
7589
7591
  return setExpanded(exp);
@@ -7870,7 +7872,8 @@ function Info(props) {
7870
7872
  }), /*#__PURE__*/jsx(ProductsOrArticles, {
7871
7873
  catalogCodex: catalogData.codex,
7872
7874
  onProductClick: onOpenPlannerWithProduct,
7873
- hideProducts: hideProducts
7875
+ hideProducts: hideProducts,
7876
+ hideImages: hideImage
7874
7877
  })]
7875
7878
  })]
7876
7879
  }), /*#__PURE__*/jsx("div", {
@@ -10049,7 +10052,6 @@ function VariantTable (_ref) {
10049
10052
  sortBy: [{
10050
10053
  id: getSortByIdField()
10051
10054
  }],
10052
- expanded: true,
10053
10055
  views: ['Table'],
10054
10056
  defaultView: 'Table',
10055
10057
  selectable: false,
@@ -10187,7 +10189,7 @@ function _preUpdateData(field, value, row) {
10187
10189
 
10188
10190
  var wrapper$1 = "wrapper-I8eY4";
10189
10191
  var dataTable = "data-table-ImAxQ";
10190
- var css_248z$2 = ".wrapper-I8eY4 {\n display: flex;\n height: 100%;\n border-bottom: 1px solid rgb(224, 224, 224);\n}\n\n.data-table-ImAxQ {\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n}\n";
10192
+ var css_248z$2 = ".wrapper-I8eY4 {\n display: flex;\n height: calc(100% - 67px);\n border-bottom: 1px solid rgb(224, 224, 224);\n}\n\n.data-table-ImAxQ {\n position: relative;\n height: 100%;\n flex-grow: 1;\n overflow: hidden;\n}\n";
10191
10193
  styleInject(css_248z$2);
10192
10194
 
10193
10195
  function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -4,7 +4,8 @@ interface Props {
4
4
  onProductClick: (product: Product) => void;
5
5
  catalogCodex: string;
6
6
  hideProducts?: boolean | 'hideVZ' | 'hideFav';
7
+ hideImages?: boolean;
7
8
  }
8
- declare const ProductsOrArticles: ({ catalogCodex, onProductClick, hideProducts }: Props) => React.JSX.Element;
9
+ declare const ProductsOrArticles: ({ catalogCodex, onProductClick, hideProducts, hideImages }: Props) => React.JSX.Element;
9
10
  export default ProductsOrArticles;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/InfoWithProducts/ProductsOrArticles/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAOrD,UAAU,KAAK;IACb,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC/C;AAED,QAAA,MAAM,kBAAkB,mDAAoD,KAAK,sBAiGhF,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/InfoWithProducts/ProductsOrArticles/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAQrD,UAAU,KAAK;IACb,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,kBAAkB,+DAAgE,KAAK,sBAiG5F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/InfoWithProducts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAyB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,kBAAkB,qBA0BrD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/InfoWithProducts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAyB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,kBAAkB,qBA+BrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/ProductCreator/tabs/VariantTable/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAKtH,MAAM,CAAC,OAAO,WAAW,EACvB,WAAW,EACX,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,MAAM,EACN,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,eAAe,EACf,YAAY,GACb,EAAE;IACD,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC;IACzB,iBAAiB,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,GAAG,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1F,oBAAoB,EAAE;QACpB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,qBA8KA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/ProductCreator/tabs/VariantTable/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAKtH,MAAM,CAAC,OAAO,WAAW,EACvB,WAAW,EACX,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,MAAM,EACN,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,eAAe,EACf,YAAY,GACb,EAAE;IACD,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,oBAAoB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC7C,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC;IACzB,iBAAiB,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,GAAG,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1F,oBAAoB,EAAE;QACpB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,qBA6KA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "24.15.0-beta.41",
3
+ "version": "24.15.0-beta.42",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,9 +29,9 @@
29
29
  "react-dom": "^18.3.1"
30
30
  },
31
31
  "dependencies": {
32
- "@crystaldesign/analytics": "24.15.0-beta.41",
33
- "@crystaldesign/products-component": "24.15.0-beta.41",
34
- "@crystaldesign/real-time-viewer": "24.15.0-beta.41",
32
+ "@crystaldesign/analytics": "24.15.0-beta.42",
33
+ "@crystaldesign/products-component": "24.15.0-beta.42",
34
+ "@crystaldesign/real-time-viewer": "24.15.0-beta.42",
35
35
  "@emotion/react": "^11.4.1",
36
36
  "@emotion/styled": "^11.3.0",
37
37
  "@mui/icons-material": "^6.1.5",
@@ -43,5 +43,5 @@
43
43
  },
44
44
  "types": "./build/types/seller/src/index.d.ts",
45
45
  "module": "build/esm/index.js",
46
- "gitHead": "2aeb96e27cc6aba71d7a6221333b800fe3068b88"
46
+ "gitHead": "ed7ed9c457b7d34d8900c496ff608d60990d8ecd"
47
47
  }