@sc-360-v2/storefront-cms-library 0.3.38 → 0.3.40

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.
Files changed (42) hide show
  1. package/dist/add-products-tab.scss +388 -0
  2. package/dist/badge.scss +84 -82
  3. package/dist/builder.js +1 -1
  4. package/dist/bulk-order-pad.scss +29 -34
  5. package/dist/buyForHeaders.scss +120 -2
  6. package/dist/buyForPopup.scss +41 -7
  7. package/dist/cart-details.scss +62 -65
  8. package/dist/cart-products-sidebar.scss +113 -83
  9. package/dist/cartAttributes.scss +277 -183
  10. package/dist/cartDropdownOverlay.scss +55 -27
  11. package/dist/checkout.scss +1017 -640
  12. package/dist/customization-tree.scss +42 -10
  13. package/dist/dropdownTemplate.scss +35 -25
  14. package/dist/employee-bulk-order.scss +219 -47
  15. package/dist/empty-states.scss +66 -66
  16. package/dist/functions.js +1 -1
  17. package/dist/functions.scss +7 -5
  18. package/dist/icons.js +1 -1
  19. package/dist/index.js +1 -1
  20. package/dist/item-stock.scss +27 -28
  21. package/dist/menu-v2.scss +2 -2
  22. package/dist/modal.scss +128 -75
  23. package/dist/past-orders.scss +272 -258
  24. package/dist/payment-methods.scss +70 -71
  25. package/dist/prefix-list.scss +1 -0
  26. package/dist/product-actions.scss +68 -68
  27. package/dist/product-sizechart.scss +13 -13
  28. package/dist/quick-links.scss +47 -48
  29. package/dist/quick-order-pad.scss +51 -51
  30. package/dist/quotes.scss +118 -116
  31. package/dist/review-cart.scss +196 -0
  32. package/dist/rfqs.scss +118 -116
  33. package/dist/types/builder/elements/add-products-tab/index.d.ts +46 -0
  34. package/dist/types/builder/enums/index.d.ts +2 -0
  35. package/dist/types/builder/index.d.ts +2 -1
  36. package/dist/types/builder/tools/element-edit/addProductsTab.d.ts +542 -0
  37. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +1747 -38
  38. package/dist/types/builder/tools/element-edit/checkout.d.ts +793 -254
  39. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  40. package/dist/video.scss +16 -7
  41. package/dist/widget.scss +2 -0
  42. package/package.json +1 -1
@@ -98,4 +98,5 @@ import * as badge from "./badge";
98
98
  import * as languageMenu from "./language-menu";
99
99
  import * as cartAttributes from "./cartAttributes";
100
100
  import * as loader from "./loader";
101
- export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, };
101
+ import * as addProductsTab from "./addProductsTab";
102
+ export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, };
package/dist/video.scss CHANGED
@@ -1,3 +1,6 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
1
4
  [data-div-type="element"] {
2
5
  &[data-element-type="video"] {
3
6
  // width: var(--_sf-nw-wh, var(--_tst-lt-wh));
@@ -318,6 +321,9 @@
318
321
  }
319
322
 
320
323
  .video__icon {
324
+ display: var(--_d-flex);
325
+ align-items: center;
326
+ justify-content: center;
321
327
  cursor: pointer;
322
328
  position: absolute;
323
329
  top: 50%;
@@ -327,14 +333,17 @@
327
333
  --_ctm-mob-dn-py-pe-bd-cr,
328
334
  var(--_ctm-tab-dn-py-pe-bd-cr, var(--_ctm-dn-py-pe-bd-cr))
329
335
  );
330
- padding: var(--_ctm-mob-dn-py-pe-pd, var(--_ctm-tab-dn-py-pe-pd, 6%));
336
+ // padding: var(--_ctm-mob-dn-py-pe-pd, var(--_ctm-tab-dn-py-pe-pd, 6%));
331
337
 
332
- width: calc(
333
- var(--_ctm-mob-dn-py-pe-se, var(--_ctm-tab-dn-py-pe-se, var(--_ctm-dn-py-pe-se))) + 40px
334
- );
335
- height: calc(
336
- var(--_ctm-mob-dn-py-pe-se, var(--_ctm-tab-dn-py-pe-se, var(--_ctm-dn-py-pe-se))) + 40px
337
- );
338
+ // width: calc(
339
+ // var(--_ctm-mob-dn-py-pe-se, var(--_ctm-tab-dn-py-pe-se, var(--_ctm-dn-py-pe-se))) + 40px
340
+ // );
341
+ // height: calc(
342
+ // var(--_ctm-mob-dn-py-pe-se, var(--_ctm-tab-dn-py-pe-se, var(--_ctm-dn-py-pe-se))) + 40px
343
+ // );
344
+ --_perc: 2.5;
345
+ width: calc(var(--_perc) * #{prepareMediaVariable(--_ctm-dn-py-pe-se)});
346
+ height: calc(var(--_perc) * #{prepareMediaVariable(--_ctm-dn-py-pe-se)});
338
347
 
339
348
  svg {
340
349
  width: var(
package/dist/widget.scss CHANGED
@@ -117,3 +117,5 @@
117
117
  @use "./cartAttributes.scss";
118
118
  @use "./language-selector.scss";
119
119
  @use "./loader.scss";
120
+ @use "./empty-states.scss";
121
+ @use "./review-cart.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {