vviinn-widgets 2.18.21 → 2.19.1

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 (183) hide show
  1. package/dist/cjs/{index-cb410762.js → Campaign-a94a827a.js} +17 -1
  2. package/dist/cjs/cropper-handler_29.cjs.entry.js +1418 -0
  3. package/dist/cjs/{imageSearch.store-98824653.js → index-48c94264.js} +16016 -11171
  4. package/dist/cjs/{index-7f1325a7.js → index-a4becaff.js} +683 -303
  5. package/dist/cjs/loader.cjs.js +4 -3
  6. package/dist/cjs/{vviinn-carousel_3.cjs.entry.js → vviinn-carousel_2.cjs.entry.js} +150 -270
  7. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +14 -8
  8. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +12 -14
  9. package/dist/cjs/vviinn-widgets.cjs.js +10 -3
  10. package/dist/collection/Image/sizing.spec.js +66 -0
  11. package/dist/collection/collection-manifest.json +2 -2
  12. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +2 -16
  13. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +11 -7
  14. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -1
  15. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +40 -37
  16. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +73 -67
  17. package/dist/collection/components/image-search/search-filters/search-filters.css +4 -23
  18. package/dist/collection/components/image-search/search-filters/search-filters.js +97 -91
  19. package/dist/collection/components/vviinn-button/vviinn-button.js +34 -31
  20. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +1 -2
  21. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +161 -156
  22. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +12 -14
  23. package/dist/collection/components/vviinn-error/vviinn-error.js +12 -12
  24. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +35 -30
  25. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +35 -30
  26. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -121
  27. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +75 -75
  28. package/dist/collection/components/vviinn-icons/index.js +10 -27
  29. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +120 -67
  30. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +81 -69
  31. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -1
  32. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +27 -28
  33. package/dist/collection/components/vviinn-modal/vviinn-modal.css +7 -36
  34. package/dist/collection/components/vviinn-modal/vviinn-modal.js +115 -93
  35. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +12 -14
  36. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +12 -14
  37. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +12 -14
  38. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +12 -17
  39. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +1 -12
  40. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +12 -9
  41. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +107 -78
  42. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +1 -11
  43. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +11 -7
  44. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -1
  45. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +12 -16
  46. package/dist/collection/components/vviinn-product-card/render-helpers.js +6 -14
  47. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -415
  48. package/dist/collection/components/vviinn-slider/arrow.js +1 -2
  49. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +12 -9
  50. package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -1
  51. package/dist/collection/components/vviinn-slider/vviinn-slider.js +87 -82
  52. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +12 -18
  53. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +12 -64
  54. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +371 -360
  55. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +448 -444
  56. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +545 -542
  57. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +2 -0
  58. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +368 -332
  59. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -5
  60. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.e2e.js +26 -0
  61. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +502 -425
  62. package/dist/collection/geometry/Clip.spec.js +16 -0
  63. package/dist/collection/geometry/Rectangle.spec.js +66 -0
  64. package/dist/collection/geometry/Sized.spec.js +16 -0
  65. package/dist/collection/interfaces/generated.js +0 -4
  66. package/dist/collection/network/ion/Form.spec.js +43 -0
  67. package/dist/esm/{index-b31d86ce.js → Campaign-4aa53f29.js} +15 -2
  68. package/dist/esm/cropper-handler_29.entry.js +1386 -0
  69. package/dist/esm/{index-590cb67e.js → index-48ef9564.js} +683 -304
  70. package/dist/esm/{imageSearch.store-9dde5360.js → index-976acf7e.js} +16124 -11292
  71. package/dist/esm/loader.js +4 -3
  72. package/dist/esm/polyfills/css-shim.js +1 -1
  73. package/dist/esm/{vviinn-carousel_3.entry.js → vviinn-carousel_2.entry.js} +106 -225
  74. package/dist/esm/vviinn-recommendations-sidebar.entry.js +13 -7
  75. package/dist/esm/vviinn-vpr-button.entry.js +11 -13
  76. package/dist/esm/vviinn-widgets.js +7 -3
  77. package/dist/loader/index.d.ts +9 -0
  78. package/dist/loader/package.json +1 -0
  79. package/dist/types/Image/sizing.d.ts +4 -4
  80. package/dist/types/campaign/Campaign.d.ts +5 -5
  81. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -1
  82. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +2 -2
  83. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +4 -0
  84. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +2 -0
  85. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +2 -0
  86. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -3
  87. package/dist/types/components/vviinn-slider/arrow.d.ts +2 -2
  88. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -2
  89. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +9 -4
  90. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +8 -0
  91. package/dist/types/components.d.ts +154 -54
  92. package/dist/types/error.d.ts +1 -1
  93. package/dist/types/geometry/Point.d.ts +1 -1
  94. package/dist/types/geometry/Rectangle.d.ts +1 -1
  95. package/dist/types/geometry/Sized.d.ts +1 -1
  96. package/dist/types/interfaces/generated.d.ts +192 -371
  97. package/dist/types/network/ion/File.d.ts +2 -2
  98. package/dist/types/network/ion/Form.d.ts +5 -5
  99. package/dist/types/network/ion/Link.d.ts +1 -1
  100. package/dist/types/network/ion/ValueObject.d.ts +4 -4
  101. package/dist/types/network/utils.d.ts +3 -3
  102. package/dist/types/recommendation/events.d.ts +5 -5
  103. package/dist/types/recommendation/recommendation.d.ts +1 -1
  104. package/dist/types/searchSession/searchSession.d.ts +7 -7
  105. package/dist/types/slider/GridMode.d.ts +1 -1
  106. package/dist/types/stencil-public-runtime.d.ts +98 -23
  107. package/dist/types/store/imageSearch.store.d.ts +1 -1
  108. package/dist/types/tracking/models.d.ts +2 -2
  109. package/dist/types/utils/event/Events.d.ts +1 -1
  110. package/dist/vviinn-widgets/p-312b0eb7.entry.js +1 -0
  111. package/dist/vviinn-widgets/p-414b2291.js +1 -0
  112. package/dist/vviinn-widgets/p-5b50c7e5.entry.js +1 -0
  113. package/dist/vviinn-widgets/p-8deaa5da.entry.js +1 -0
  114. package/dist/vviinn-widgets/p-c6209bc1.entry.js +1 -0
  115. package/{www/build/p-2f9ee951.js → dist/vviinn-widgets/p-d08ce429.js} +1 -1
  116. package/dist/vviinn-widgets/p-fa17e81f.js +2 -0
  117. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  118. package/package.json +12 -12
  119. package/www/build/p-312b0eb7.entry.js +1 -0
  120. package/www/build/p-414b2291.js +1 -0
  121. package/www/build/p-5b50c7e5.entry.js +1 -0
  122. package/www/build/p-8deaa5da.entry.js +1 -0
  123. package/www/build/p-c6209bc1.entry.js +1 -0
  124. package/{dist/vviinn-widgets/p-2f9ee951.js → www/build/p-d08ce429.js} +1 -1
  125. package/www/build/p-d39b7d70.js +161 -0
  126. package/www/build/p-fa17e81f.js +2 -0
  127. package/www/build/vviinn-widgets.esm.js +1 -1
  128. package/www/index.html +2 -2
  129. package/dist/cjs/Campaign-13258569.js +0 -18
  130. package/dist/cjs/Handler-176539c8.js +0 -331
  131. package/dist/cjs/cropper-handler.cjs.entry.js +0 -27
  132. package/dist/cjs/customized-slots-6e56c354.js +0 -54
  133. package/dist/cjs/highlight-box_22.cjs.entry.js +0 -770
  134. package/dist/cjs/index-a99edb90.js +0 -3235
  135. package/dist/cjs/vviinn-button.cjs.entry.js +0 -21
  136. package/dist/cjs/vviinn-error.cjs.entry.js +0 -19
  137. package/dist/cjs/vviinn-preloader.cjs.entry.js +0 -26
  138. package/dist/cjs/vviinn-vps-button.cjs.entry.js +0 -65
  139. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +0 -251
  140. package/dist/esm/Campaign-90ba7e06.js +0 -14
  141. package/dist/esm/Handler-f9b8735c.js +0 -309
  142. package/dist/esm/cropper-handler.entry.js +0 -23
  143. package/dist/esm/customized-slots-00afe247.js +0 -51
  144. package/dist/esm/highlight-box_22.entry.js +0 -745
  145. package/dist/esm/index-4d5b52ba.js +0 -3224
  146. package/dist/esm/vviinn-button.entry.js +0 -17
  147. package/dist/esm/vviinn-error.entry.js +0 -15
  148. package/dist/esm/vviinn-preloader.entry.js +0 -22
  149. package/dist/esm/vviinn-vps-button.entry.js +0 -61
  150. package/dist/esm/vviinn-vps-widget.entry.js +0 -247
  151. package/dist/vviinn-widgets/p-11f61564.js +0 -1
  152. package/dist/vviinn-widgets/p-12851e97.entry.js +0 -1
  153. package/dist/vviinn-widgets/p-18fd769b.js +0 -1
  154. package/dist/vviinn-widgets/p-339c6838.js +0 -1
  155. package/dist/vviinn-widgets/p-3b2c91c0.entry.js +0 -1
  156. package/dist/vviinn-widgets/p-45df9f28.entry.js +0 -1
  157. package/dist/vviinn-widgets/p-57ed5303.entry.js +0 -1
  158. package/dist/vviinn-widgets/p-69850e5b.js +0 -1
  159. package/dist/vviinn-widgets/p-7c2f762a.entry.js +0 -1
  160. package/dist/vviinn-widgets/p-7c3b7388.entry.js +0 -1
  161. package/dist/vviinn-widgets/p-85006f41.entry.js +0 -1
  162. package/dist/vviinn-widgets/p-8a3dd76d.entry.js +0 -1
  163. package/dist/vviinn-widgets/p-99e58be7.entry.js +0 -1
  164. package/dist/vviinn-widgets/p-a2b450b6.entry.js +0 -1
  165. package/dist/vviinn-widgets/p-bcc1ccf0.js +0 -1
  166. package/dist/vviinn-widgets/p-e6fee8d2.js +0 -1
  167. package/www/build/p-11f61564.js +0 -1
  168. package/www/build/p-12851e97.entry.js +0 -1
  169. package/www/build/p-18fd769b.js +0 -1
  170. package/www/build/p-339c6838.js +0 -1
  171. package/www/build/p-3b2c91c0.entry.js +0 -1
  172. package/www/build/p-45df9f28.entry.js +0 -1
  173. package/www/build/p-57ed5303.entry.js +0 -1
  174. package/www/build/p-69850e5b.js +0 -1
  175. package/www/build/p-7c2f762a.entry.js +0 -1
  176. package/www/build/p-7c3b7388.entry.js +0 -1
  177. package/www/build/p-85006f41.entry.js +0 -1
  178. package/www/build/p-8a3dd76d.entry.js +0 -1
  179. package/www/build/p-99e58be7.entry.js +0 -1
  180. package/www/build/p-9e2c131a.js +0 -125
  181. package/www/build/p-a2b450b6.entry.js +0 -1
  182. package/www/build/p-bcc1ccf0.js +0 -1
  183. package/www/build/p-e6fee8d2.js +0 -1
@@ -12,21 +12,16 @@
12
12
 
13
13
  .filter {
14
14
  align-items: center;
15
- -webkit-animation-duration: 0.25s;
16
- animation-duration: 0.25s;
17
- -webkit-animation-fill-mode: forwards;
18
- animation-fill-mode: forwards;
19
- -webkit-animation-name: scalein;
20
- animation-name: scalein;
15
+ animation-duration: 0.25s;
16
+ animation-fill-mode: forwards;
17
+ animation-name: scalein;
21
18
  border: 1px solid lightgray;
22
19
  cursor: pointer;
23
20
  display: flex;
24
21
  flex-direction: row;
25
22
  grid-gap: 8px;
26
- height: -webkit-max-content;
27
23
  height: -moz-max-content;
28
24
  height: max-content;
29
- min-width: -webkit-max-content;
30
25
  min-width: -moz-max-content;
31
26
  min-width: max-content;
32
27
  padding: 0.1rem;
@@ -36,7 +31,6 @@
36
31
  transition-timing-function: ease-in-out;
37
32
  -webkit-user-select: none;
38
33
  -moz-user-select: none;
39
- -ms-user-select: none;
40
34
  user-select: none;
41
35
  padding: 6px 16px;
42
36
  }
@@ -70,18 +64,6 @@
70
64
  transform: rotateX(180deg);
71
65
  }
72
66
 
73
- @-webkit-keyframes scalein {
74
- from {
75
- opacity: 0;
76
- transform: scale(0.5);
77
- }
78
-
79
- to {
80
- opacity: 1;
81
- transform: scale(1);
82
- }
83
- }
84
-
85
67
  @keyframes scalein {
86
68
  from {
87
69
  opacity: 0;
@@ -108,8 +90,7 @@
108
90
  .filters {
109
91
  flex-wrap: nowrap;
110
92
  overflow-x: scroll;
111
- -ms-scroll-snap-type: x mandatory;
112
- scroll-snap-type: x mandatory;
93
+ scroll-snap-type: x mandatory;
113
94
  grid-gap: unset;
114
95
  }
115
96
 
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Prop, State, Element, Event, } from "@stencil/core";
1
+ import { Host, h, } from "@stencil/core";
2
2
  import { imageSearchState } from "../../../store/imageSearch.store";
3
3
  import { CheckIcon } from "../../vviinn-icons";
4
4
  const FILTERS_COUNT = 5;
@@ -7,6 +7,7 @@ const getFilterId = (filter) => filter.href.split("/").reverse()[0];
7
7
  export class SearchFilters {
8
8
  constructor() {
9
9
  this.filter = null;
10
+ this.basicEventData = undefined;
10
11
  this.selectedCategoryId = null;
11
12
  this.hideFilters = true;
12
13
  }
@@ -41,105 +42,110 @@ export class SearchFilters {
41
42
  return this.selectedCategoryId === getFilterId(filterLink);
42
43
  }
43
44
  render() {
44
- return (h(Host, { exportparts: "filter, show-more-filters" },
45
- h("div", { class: "filters" },
46
- this.filter.filters
47
- .filter((_, i) => (this.hideFilters ? i < FILTERS_COUNT : true))
48
- .map((f, n) => (h("div", { role: "button", tabindex: "0", part: this.isFilterSelected(f) ? "filter active" : "filter", class: {
49
- filter: true,
50
- active: this.selectedCategoryId === getFilterId(f),
51
- }, style: { "animation-delay": `${n * 10}ms` }, onPointerUp: (ev) => {
52
- ev.stopPropagation();
53
- this.handleFilterSelection(f);
54
- }, onKeyPress: (ev) => this.handleEnter(ev, f) },
55
- this.isFilterSelected(f) ? h(CheckIcon, null) : null,
56
- f.name))),
57
- h("div", { class: {
58
- filter: true,
59
- "show-more": true,
60
- hidden: this.filter.filters.length <= FILTERS_COUNT,
61
- active: !this.hideFilters,
62
- }, role: "button", tabindex: "0", "aria-role": "button", onClick: () => this.toggleFilters(), onKeyPress: (ev) => {
63
- if (ev.key === "Enter") {
64
- this.toggleFilters();
65
- }
66
- }, part: "show-more-filters" }, this.hideFilters ? "Zeige mehr" : "Zeige weniger"))));
45
+ return (h(Host, { exportparts: "filter, show-more-filters" }, h("div", { class: "filters" }, this.filter.filters
46
+ .filter((_, i) => (this.hideFilters ? i < FILTERS_COUNT : true))
47
+ .map((f, n) => (h("div", { role: "button", tabindex: "0", part: this.isFilterSelected(f) ? "filter active" : "filter", class: {
48
+ filter: true,
49
+ active: this.selectedCategoryId === getFilterId(f),
50
+ }, style: { "animation-delay": `${n * 10}ms` }, onPointerUp: (ev) => {
51
+ ev.stopPropagation();
52
+ this.handleFilterSelection(f);
53
+ }, onKeyPress: (ev) => this.handleEnter(ev, f) }, this.isFilterSelected(f) ? h(CheckIcon, null) : null, f.name))), h("div", { class: {
54
+ filter: true,
55
+ "show-more": true,
56
+ hidden: this.filter.filters.length <= FILTERS_COUNT,
57
+ active: !this.hideFilters,
58
+ }, role: "button", tabindex: "0", "aria-role": "button", onClick: () => this.toggleFilters(), onKeyPress: (ev) => {
59
+ if (ev.key === "Enter") {
60
+ this.toggleFilters();
61
+ }
62
+ }, part: "show-more-filters" }, this.hideFilters ? "Zeige mehr" : "Zeige weniger"))));
67
63
  }
68
64
  static get is() { return "search-filters"; }
69
65
  static get encapsulation() { return "shadow"; }
70
- static get originalStyleUrls() { return {
71
- "$": ["search-filters.css"]
72
- }; }
73
- static get styleUrls() { return {
74
- "$": ["search-filters.css"]
75
- }; }
76
- static get properties() { return {
77
- "filter": {
78
- "type": "unknown",
79
- "mutable": false,
80
- "complexType": {
81
- "original": "SearchSessionFilter | null",
82
- "resolved": "SearchSessionFilter",
83
- "references": {
84
- "SearchSessionFilter": {
85
- "location": "import",
86
- "path": "../../../searchSession/searchSession"
66
+ static get originalStyleUrls() {
67
+ return {
68
+ "$": ["search-filters.css"]
69
+ };
70
+ }
71
+ static get styleUrls() {
72
+ return {
73
+ "$": ["search-filters.css"]
74
+ };
75
+ }
76
+ static get properties() {
77
+ return {
78
+ "filter": {
79
+ "type": "unknown",
80
+ "mutable": false,
81
+ "complexType": {
82
+ "original": "SearchSessionFilter | null",
83
+ "resolved": "SearchSessionFilter",
84
+ "references": {
85
+ "SearchSessionFilter": {
86
+ "location": "import",
87
+ "path": "../../../searchSession/searchSession"
88
+ }
87
89
  }
88
- }
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": ""
96
+ },
97
+ "defaultValue": "null"
89
98
  },
90
- "required": false,
91
- "optional": false,
92
- "docs": {
93
- "tags": [],
94
- "text": ""
95
- },
96
- "defaultValue": "null"
97
- },
98
- "basicEventData": {
99
- "type": "unknown",
100
- "mutable": false,
101
- "complexType": {
102
- "original": "BasicEventData",
103
- "resolved": "{ widgetType: WidgetType; campaignTypeId: CampaignTypeId; campaignTypeName: CampaignTypeTitle; widgetId?: string; }",
104
- "references": {
105
- "BasicEventData": {
106
- "location": "import",
107
- "path": "../../../recommendation/events"
99
+ "basicEventData": {
100
+ "type": "unknown",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "BasicEventData",
104
+ "resolved": "{ widgetType: WidgetType; campaignTypeId: CampaignTypeId; campaignTypeName: CampaignTypeTitle; widgetId?: string; }",
105
+ "references": {
106
+ "BasicEventData": {
107
+ "location": "import",
108
+ "path": "../../../recommendation/events"
109
+ }
108
110
  }
111
+ },
112
+ "required": false,
113
+ "optional": false,
114
+ "docs": {
115
+ "tags": [],
116
+ "text": ""
109
117
  }
110
- },
111
- "required": false,
112
- "optional": false,
113
- "docs": {
114
- "tags": [],
115
- "text": ""
116
118
  }
117
- }
118
- }; }
119
- static get states() { return {
120
- "selectedCategoryId": {},
121
- "hideFilters": {}
122
- }; }
123
- static get events() { return [{
124
- "method": "vviinnSelectFilter",
125
- "name": "vviinnSelectFilter",
126
- "bubbles": true,
127
- "cancelable": true,
128
- "composed": true,
129
- "docs": {
130
- "tags": [],
131
- "text": ""
132
- },
133
- "complexType": {
134
- "original": "SelectFilterEventData",
135
- "resolved": "BasicEventData & { action: FilterAction; filterName?: string; }",
136
- "references": {
137
- "SelectFilterEventData": {
138
- "location": "import",
139
- "path": "../../../recommendation/events"
119
+ };
120
+ }
121
+ static get states() {
122
+ return {
123
+ "selectedCategoryId": {},
124
+ "hideFilters": {}
125
+ };
126
+ }
127
+ static get events() {
128
+ return [{
129
+ "method": "vviinnSelectFilter",
130
+ "name": "vviinnSelectFilter",
131
+ "bubbles": true,
132
+ "cancelable": true,
133
+ "composed": true,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": ""
137
+ },
138
+ "complexType": {
139
+ "original": "SelectFilterEventData",
140
+ "resolved": "BasicEventData & { action: FilterAction; filterName?: string; }",
141
+ "references": {
142
+ "SelectFilterEventData": {
143
+ "location": "import",
144
+ "path": "../../../recommendation/events"
145
+ }
140
146
  }
141
147
  }
142
- }
143
- }]; }
148
+ }];
149
+ }
144
150
  static get elementRef() { return "el"; }
145
151
  }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Prop } from "@stencil/core";
1
+ import { Host, h } from "@stencil/core";
2
2
  import { VisualSearchIcon } from "../vviinn-icons";
3
3
  /**
4
4
  *
@@ -9,37 +9,40 @@ export class VviinnButton {
9
9
  this.addStyle = true;
10
10
  }
11
11
  render() {
12
- return (h(Host, { exportparts: "button" },
13
- h("button", { class: this.addStyle ? "open-button" : "raw-open-button", part: "button" },
14
- h("slot", null,
15
- h(VisualSearchIcon, null)))));
12
+ return (h(Host, { exportparts: "button" }, h("button", { class: this.addStyle ? "open-button" : "raw-open-button", part: "button" }, h("slot", null, h(VisualSearchIcon, null)))));
16
13
  }
17
14
  static get is() { return "vviinn-button"; }
18
15
  static get encapsulation() { return "shadow"; }
19
- static get originalStyleUrls() { return {
20
- "$": ["vviinn-button.css"]
21
- }; }
22
- static get styleUrls() { return {
23
- "$": ["vviinn-button.css"]
24
- }; }
25
- static get properties() { return {
26
- "addStyle": {
27
- "type": "boolean",
28
- "mutable": false,
29
- "complexType": {
30
- "original": "boolean",
31
- "resolved": "boolean",
32
- "references": {}
33
- },
34
- "required": false,
35
- "optional": false,
36
- "docs": {
37
- "tags": [],
38
- "text": ""
39
- },
40
- "attribute": "add-style",
41
- "reflect": false,
42
- "defaultValue": "true"
43
- }
44
- }; }
16
+ static get originalStyleUrls() {
17
+ return {
18
+ "$": ["vviinn-button.css"]
19
+ };
20
+ }
21
+ static get styleUrls() {
22
+ return {
23
+ "$": ["vviinn-button.css"]
24
+ };
25
+ }
26
+ static get properties() {
27
+ return {
28
+ "addStyle": {
29
+ "type": "boolean",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "boolean",
33
+ "resolved": "boolean",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": ""
41
+ },
42
+ "attribute": "add-style",
43
+ "reflect": false,
44
+ "defaultValue": "true"
45
+ }
46
+ };
47
+ }
45
48
  }
@@ -56,8 +56,7 @@
56
56
  display: flex;
57
57
  flex-direction: row;
58
58
  grid-gap: 8px;
59
- -ms-scroll-snap-type: x mandatory;
60
- scroll-snap-type: x mandatory;
59
+ scroll-snap-type: x mandatory;
61
60
  overflow-y: hidden;
62
61
  overflow-x: auto;
63
62
  flex-grow: 1;