vviinn-widgets 2.213.0 → 2.214.0

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 (70) hide show
  1. package/dist/cjs/{customized-slots-DO4p0HLW.js → customized-slots-PFvwCmln.js} +0 -1
  2. package/dist/cjs/{index-CnuLIG_J.js → index-Bn-9uRYi.js} +1 -1
  3. package/dist/cjs/{search.store-DTsTB4Jt.js → search.store-BnMr3itz.js} +5 -2
  4. package/dist/cjs/vviinn-button_6.cjs.entry.js +2 -2
  5. package/dist/cjs/vviinn-camera_12.cjs.entry.js +183 -113
  6. package/dist/cjs/vviinn-carousel_10.cjs.entry.js +3 -3
  7. package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +2 -2
  8. package/dist/cjs/vviinn-text-search.cjs.entry.js +16 -9
  9. package/dist/cjs/vviinn-vps-button.cjs.entry.js +2 -2
  10. package/dist/collection/components/customized-slots.js +0 -1
  11. package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +2 -1
  12. package/dist/collection/components/vviinn-suggestions/helpers.js +12 -15
  13. package/dist/collection/components/vviinn-suggestions/render-helpers.js +66 -32
  14. package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.css +17 -9
  15. package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.js +28 -58
  16. package/dist/collection/components/vviinn-text-search/helpers/autoSuggestDebounce.js +2 -2
  17. package/dist/collection/components/vviinn-text-search/vviinn-text-search.css +1 -0
  18. package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +11 -4
  19. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +2 -2
  20. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +3 -8
  21. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +3 -3
  22. package/dist/collection/cssParts/index.js +1 -0
  23. package/dist/collection/cssParts/suggestions.js +1 -1
  24. package/dist/collection/store/search.store.js +2 -0
  25. package/dist/esm/{customized-slots-lHQ882WI.js → customized-slots-gRb3OL7z.js} +0 -1
  26. package/dist/esm/{index-v8QhH1RI.js → index-BJN61YXF.js} +1 -1
  27. package/dist/esm/{search.store-BpPwjG8r.js → search.store-CL3UKAEv.js} +5 -2
  28. package/dist/esm/vviinn-button_6.entry.js +2 -2
  29. package/dist/esm/vviinn-camera_12.entry.js +183 -113
  30. package/dist/esm/vviinn-carousel_10.entry.js +3 -3
  31. package/dist/esm/vviinn-shop-the-look.entry.js +2 -2
  32. package/dist/esm/vviinn-text-search.entry.js +16 -9
  33. package/dist/esm/vviinn-vps-button.entry.js +2 -2
  34. package/dist/types/components/vviinn-shop-the-look/vviinn-shop-the-look.d.ts +1 -0
  35. package/dist/types/components/vviinn-suggestions/render-helpers.d.ts +14 -7
  36. package/dist/types/components/vviinn-suggestions/vviinn-suggestions.d.ts +1 -5
  37. package/dist/types/components/vviinn-text-search/helpers/autoSuggestDebounce.d.ts +1 -0
  38. package/dist/types/components/vviinn-text-search/vviinn-text-search.d.ts +1 -0
  39. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -1
  40. package/dist/types/interfaces/generated.d.ts +13 -0
  41. package/dist/types/store/search.store.d.ts +2 -0
  42. package/dist/vviinn-widgets/{p-09cb9b27.entry.js → p-5a4e01e1.entry.js} +1 -1
  43. package/{www/build/p-88038586.entry.js → dist/vviinn-widgets/p-82c9f722.entry.js} +1 -1
  44. package/dist/vviinn-widgets/p-95f8db6a.entry.js +1 -0
  45. package/dist/vviinn-widgets/{p-B1vXgCV0.js → p-BcOLlemr.js} +1 -1
  46. package/dist/vviinn-widgets/p-Dx6H0ZtJ.js +1 -0
  47. package/dist/vviinn-widgets/{p-82fe3078.entry.js → p-ae8b85ba.entry.js} +1 -1
  48. package/{www/build/p-Ctg1pNLs.js → dist/vviinn-widgets/p-buSN9o-i.js} +1 -1
  49. package/dist/vviinn-widgets/{p-46133244.entry.js → p-c60f5d06.entry.js} +1 -1
  50. package/dist/vviinn-widgets/p-c78d10c0.entry.js +1 -0
  51. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  52. package/package.json +2 -1
  53. package/www/build/{p-09cb9b27.entry.js → p-5a4e01e1.entry.js} +1 -1
  54. package/{dist/vviinn-widgets/p-88038586.entry.js → www/build/p-82c9f722.entry.js} +1 -1
  55. package/www/build/p-95f8db6a.entry.js +1 -0
  56. package/www/build/{p-B1vXgCV0.js → p-BcOLlemr.js} +1 -1
  57. package/www/build/p-Dx6H0ZtJ.js +1 -0
  58. package/www/build/{p-82fe3078.entry.js → p-ae8b85ba.entry.js} +1 -1
  59. package/{dist/vviinn-widgets/p-Ctg1pNLs.js → www/build/p-buSN9o-i.js} +1 -1
  60. package/www/build/{p-46133244.entry.js → p-c60f5d06.entry.js} +1 -1
  61. package/www/build/p-c78d10c0.entry.js +1 -0
  62. package/www/build/{p-cd007a0f.js → p-f079aa97.js} +1 -1
  63. package/www/build/vviinn-widgets.esm.js +1 -1
  64. package/www/index.html +1 -1
  65. package/dist/vviinn-widgets/p-DtCxkixb.js +0 -1
  66. package/dist/vviinn-widgets/p-bc79a10b.entry.js +0 -1
  67. package/dist/vviinn-widgets/p-fd4c190f.entry.js +0 -1
  68. package/www/build/p-DtCxkixb.js +0 -1
  69. package/www/build/p-bc79a10b.entry.js +0 -1
  70. package/www/build/p-fd4c190f.entry.js +0 -1
@@ -32,7 +32,6 @@ const filtersSlotNames = [
32
32
  ];
33
33
  const suggestionsSlotNames = [
34
34
  "vviinn-suggestions-title",
35
- "vviinn-suggestions-description",
36
35
  "vviinn-suggestions-icon",
37
36
  ];
38
37
  const productCardSlotNames = [
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-D38ORu31.js');
4
- var search_store = require('./search.store-DTsTB4Jt.js');
4
+ var search_store = require('./search.store-BnMr3itz.js');
5
5
  var store = require('./store-jPZ4ROqV.js');
6
6
 
7
7
  const PlusIcon = () => (index.h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon", "aria-hidden": "true" },
@@ -7785,12 +7785,12 @@ const suggestionsPartsList = [
7785
7785
  "suggestions-header",
7786
7786
  "suggestions-icon",
7787
7787
  "suggestions-title",
7788
- "suggestions-description",
7789
7788
  "suggestions-wrapper",
7790
7789
  "suggestions-list",
7791
7790
  "suggestion-item",
7792
7791
  "suggestion-link",
7793
7792
  "suggestion-filter-button",
7793
+ "suggestion-info-text",
7794
7794
  ];
7795
7795
 
7796
7796
  const makeExportPartsString = (...args) => args.flat().join(", ");
@@ -7836,6 +7836,7 @@ const modalParts = makeExportPartsString([
7836
7836
  ]);
7837
7837
  const suggestionsParts = makeExportPartsString(suggestionsPartsList);
7838
7838
  const shopTheLookPartsList = [
7839
+ "shop-the-look-actions-container",
7839
7840
  "shop-the-look-upload-button",
7840
7841
  "shop-the-look-upload-button-icon",
7841
7842
  "shop-the-look-upload-button-text",
@@ -8788,7 +8789,7 @@ const encodeToBase64UTF8 = (str) => {
8788
8789
  return btoa(String.fromCharCode.apply(null, utf8Array));
8789
8790
  };
8790
8791
 
8791
- const version = "2.213.0";
8792
+ const version = "2.214.0";
8792
8793
 
8793
8794
  const appStateGlobalDefaults = {
8794
8795
  excluded: null,
@@ -8877,6 +8878,7 @@ const emitSearchSuccess = (storeName, state, campaignTypeId) => {
8877
8878
  }));
8878
8879
  };
8879
8880
  const updateVisualSearchState = (store, isHiResUpdate = false) => async (response) => {
8881
+ var _a;
8880
8882
  const state = useStore(store);
8881
8883
  if (store === "shopTheLook") {
8882
8884
  state.visualSearchId = response.requestId;
@@ -8888,6 +8890,7 @@ const updateVisualSearchState = (store, isHiResUpdate = false) => async (respons
8888
8890
  state.visualSearchId = response.requestId;
8889
8891
  state.results = response.data.products;
8890
8892
  state.dynamicFilters = response.interactions.dynamicFilters;
8893
+ state.stream = (_a = response === null || response === void 0 ? void 0 : response.stream) !== null && _a !== void 0 ? _a : null;
8891
8894
  state.searchStatus = "success";
8892
8895
  if (!isHiResUpdate)
8893
8896
  emitSearchSuccess(store, state, "VPS");
@@ -2,8 +2,8 @@
2
2
 
3
3
  var index = require('./index-D38ORu31.js');
4
4
  var store = require('./store-jPZ4ROqV.js');
5
- var search_store = require('./search.store-DTsTB4Jt.js');
6
- var customizedSlots = require('./customized-slots-DO4p0HLW.js');
5
+ var search_store = require('./search.store-BnMr3itz.js');
6
+ var customizedSlots = require('./customized-slots-PFvwCmln.js');
7
7
  var SecondaryActionIcon = require('./SecondaryActionIcon-Ng84u7-b.js');
8
8
  var index$1 = require('./index-DLEDOlRe.js');
9
9
  var Rectangle = require('./Rectangle-7dF6_xf3.js');