@empathyco/x-components 3.0.0-alpha.40 → 3.0.0-alpha.44

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 (178) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/core/index.js +6 -1
  3. package/core/index.js.map +1 -1
  4. package/design-system/base.css +2 -1
  5. package/design-system/default-theme.css +98 -35
  6. package/design-system/full-theme.css +571 -47
  7. package/design-system/grid-default.css +6 -0
  8. package/design-system/input-group-default.css +16 -7
  9. package/design-system/list-default.css +0 -5
  10. package/design-system/list-gap.css +141 -1
  11. package/design-system/option-list-bottom.css +76 -10
  12. package/design-system/option-list-default.css +39 -2
  13. package/design-system/result-default.css +1 -1
  14. package/design-system/row-gap.css +61 -1
  15. package/design-system/sliding-panel-default.css +15 -17
  16. package/design-system/sliding-panel-default.token.css +0 -2
  17. package/design-system/typography-default.css +1 -0
  18. package/design-system/utilities-background-color.css +3 -0
  19. package/design-system/utilities-border-color.css +3 -0
  20. package/design-system/utilities-flex.css +32 -0
  21. package/design-system/utilities-font-color.css +3 -0
  22. package/design-system/utilities-font-size.css +79 -0
  23. package/design-system/utilities-line-clamp.css +29 -0
  24. package/design-system/utilities-line-height.css +17 -0
  25. package/design-system/utilities-position.css +14 -0
  26. package/design-system/utilities-text-decoration.css +15 -0
  27. package/design-system/utilities-text-transform.css +11 -0
  28. package/docs/API-reference/api/x-components.arrowdownicon.md +11 -0
  29. package/docs/API-reference/api/x-components.arrowlefticon.md +11 -0
  30. package/docs/API-reference/api/x-components.arrowrighticon.md +11 -0
  31. package/docs/API-reference/api/{x-components.arrowicon.md → x-components.arrowupicon.md} +2 -2
  32. package/docs/API-reference/api/x-components.baseresultrating.link.md +13 -0
  33. package/docs/API-reference/api/x-components.baseresultrating.md +22 -0
  34. package/docs/API-reference/api/x-components.baseresultrating.result.md +13 -0
  35. package/docs/API-reference/api/x-components.grid2rowsicon.md +11 -0
  36. package/docs/API-reference/api/x-components.md +6 -1
  37. package/docs/API-reference/api/x-components.nextqueries.highlightcurated.md +13 -0
  38. package/docs/API-reference/api/x-components.nextquery.highlightcurated.md +13 -0
  39. package/docs/API-reference/api/x-components.nextquery.md +1 -0
  40. package/docs/API-reference/api/x-components.slidingpanel.buttonclass.md +13 -0
  41. package/docs/API-reference/api/x-components.slidingpanel.md +1 -0
  42. package/docs/API-reference/api/x-components.xeventstypes.md +1 -0
  43. package/docs/API-reference/api/x-components.xeventstypes.userclickedaresultrating.md +13 -0
  44. package/docs/API-reference/components/common/icons/x-components.arrow-down.md +7 -0
  45. package/docs/API-reference/components/common/icons/x-components.arrow-left.md +7 -0
  46. package/docs/API-reference/components/common/icons/x-components.arrow-right.md +7 -0
  47. package/docs/API-reference/components/common/icons/x-components.arrow-up.md +7 -0
  48. package/docs/API-reference/components/common/icons/x-components.grid-2-rows.md +7 -0
  49. package/docs/API-reference/components/common/result/x-components.base-result-rating.md +254 -0
  50. package/docs/API-reference/components/common/x-components.base-rating.md +6 -6
  51. package/docs/API-reference/components/common/x-components.sliding-panel.md +1 -0
  52. package/docs/API-reference/components/next-queries/x-components.next-queries.md +17 -11
  53. package/docs/API-reference/components/next-queries/x-components.next-query.md +16 -7
  54. package/js/components/base-rating.vue.js +4 -4
  55. package/js/components/base-rating.vue.js.map +1 -1
  56. package/js/components/filters/labels/base-rating-filter-label.vue.js +2 -2
  57. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  58. package/js/components/icons/arrow-down.vue.js +61 -0
  59. package/js/components/icons/arrow-down.vue.js.map +1 -0
  60. package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js +4 -0
  61. package/js/components/icons/arrow-down.vue_rollup-plugin-vue=script.js.map +1 -0
  62. package/js/components/icons/{arrow.vue.js → arrow-left.vue.js} +2 -2
  63. package/js/components/icons/arrow-left.vue.js.map +1 -0
  64. package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js +4 -0
  65. package/js/components/icons/arrow-left.vue_rollup-plugin-vue=script.js.map +1 -0
  66. package/js/components/icons/arrow-right.vue.js +61 -0
  67. package/js/components/icons/arrow-right.vue.js.map +1 -0
  68. package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js +4 -0
  69. package/js/components/icons/arrow-right.vue_rollup-plugin-vue=script.js.map +1 -0
  70. package/js/components/icons/arrow-up.vue.js +61 -0
  71. package/js/components/icons/arrow-up.vue.js.map +1 -0
  72. package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js +4 -0
  73. package/js/components/icons/arrow-up.vue_rollup-plugin-vue=script.js.map +1 -0
  74. package/js/components/icons/grid-2-rows.vue.js +65 -0
  75. package/js/components/icons/grid-2-rows.vue.js.map +1 -0
  76. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js +4 -0
  77. package/js/components/icons/grid-2-rows.vue_rollup-plugin-vue=script.js.map +1 -0
  78. package/js/components/icons/tag.vue.js +1 -1
  79. package/js/components/icons/tag.vue.js.map +1 -1
  80. package/js/components/result/base-result-rating.vue.js +99 -0
  81. package/js/components/result/base-result-rating.vue.js.map +1 -0
  82. package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js +42 -0
  83. package/js/components/result/base-result-rating.vue_rollup-plugin-vue=script.js.map +1 -0
  84. package/js/components/sliding-panel.vue.js +6 -4
  85. package/js/components/sliding-panel.vue.js.map +1 -1
  86. package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js +3 -0
  87. package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js.map +1 -1
  88. package/js/index.js +6 -1
  89. package/js/index.js.map +1 -1
  90. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +6 -1
  91. package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  92. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +6 -1
  93. package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
  94. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +6 -1
  95. package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
  96. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +6 -1
  97. package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  98. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +6 -1
  99. package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
  100. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +6 -1
  101. package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  102. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +6 -1
  103. package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  104. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +6 -1
  105. package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  106. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +6 -1
  107. package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  108. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +6 -1
  109. package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  110. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +6 -1
  111. package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
  112. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +6 -1
  113. package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
  114. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +6 -1
  115. package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
  116. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +6 -1
  117. package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
  118. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +6 -1
  119. package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  120. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +6 -1
  121. package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  122. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +6 -1
  123. package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
  124. package/js/x-modules/next-queries/components/next-queries.vue.js +15 -4
  125. package/js/x-modules/next-queries/components/next-queries.vue.js.map +1 -1
  126. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js +3 -0
  127. package/js/x-modules/next-queries/components/next-queries.vue_rollup-plugin-vue=script.js.map +1 -1
  128. package/js/x-modules/next-queries/components/next-query.vue.js +6 -1
  129. package/js/x-modules/next-queries/components/next-query.vue.js.map +1 -1
  130. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js +18 -0
  131. package/js/x-modules/next-queries/components/next-query.vue_rollup-plugin-vue=script.js.map +1 -1
  132. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +6 -1
  133. package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
  134. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +6 -1
  135. package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
  136. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +6 -1
  137. package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
  138. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +6 -1
  139. package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
  140. package/js/x-modules/search/components/sort.mixin.js +6 -1
  141. package/js/x-modules/search/components/sort.mixin.js.map +1 -1
  142. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +6 -1
  143. package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
  144. package/package.json +2 -2
  145. package/report/x-components.api.json +278 -2
  146. package/report/x-components.api.md +27 -1
  147. package/types/adapter/util.d.ts.map +1 -1
  148. package/types/components/icons/arrow-down.vue.d.ts +3 -0
  149. package/types/components/icons/arrow-down.vue.d.ts.map +1 -0
  150. package/types/components/icons/arrow-left.vue.d.ts +3 -0
  151. package/types/components/icons/arrow-left.vue.d.ts.map +1 -0
  152. package/types/components/icons/arrow-right.vue.d.ts +3 -0
  153. package/types/components/icons/arrow-right.vue.d.ts.map +1 -0
  154. package/types/components/icons/arrow-up.vue.d.ts +3 -0
  155. package/types/components/icons/arrow-up.vue.d.ts.map +1 -0
  156. package/types/components/icons/grid-2-rows.vue.d.ts +3 -0
  157. package/types/components/icons/grid-2-rows.vue.d.ts.map +1 -0
  158. package/types/components/icons/index.d.ts +5 -1
  159. package/types/components/icons/index.d.ts.map +1 -1
  160. package/types/components/result/base-result-rating.vue.d.ts +29 -0
  161. package/types/components/result/base-result-rating.vue.d.ts.map +1 -0
  162. package/types/components/result/index.d.ts +1 -0
  163. package/types/components/result/index.d.ts.map +1 -1
  164. package/types/components/sliding-panel.vue.d.ts +6 -0
  165. package/types/components/sliding-panel.vue.d.ts.map +1 -1
  166. package/types/views/base-config.d.ts.map +1 -1
  167. package/types/wiring/events.types.d.ts +5 -0
  168. package/types/wiring/events.types.d.ts.map +1 -1
  169. package/types/x-modules/next-queries/components/next-queries.vue.d.ts +6 -0
  170. package/types/x-modules/next-queries/components/next-queries.vue.d.ts.map +1 -1
  171. package/types/x-modules/next-queries/components/next-query.vue.d.ts +14 -0
  172. package/types/x-modules/next-queries/components/next-query.vue.d.ts.map +1 -1
  173. package/docs/API-reference/components/common/icons/x-components.arrow.md +0 -7
  174. package/js/components/icons/arrow.vue.js.map +0 -1
  175. package/js/components/icons/arrow.vue_rollup-plugin-vue=script.js +0 -4
  176. package/js/components/icons/arrow.vue_rollup-plugin-vue=script.js.map +0 -1
  177. package/types/components/icons/arrow.vue.d.ts +0 -3
  178. package/types/components/icons/arrow.vue.d.ts.map +0 -1
@@ -0,0 +1,254 @@
1
+ ---
2
+
3
+ title: BaseResultRating
4
+
5
+ ---
6
+
7
+ # BaseResultRating
8
+
9
+ This component renders a {@link BaseRating} for a result passed as prop.
10
+
11
+ ## Props
12
+
13
+ | Name | Description | Type | Default |
14
+ | ------------------- | --------------------------------------------------------------------- | ------------------- | ------------- |
15
+ | <code>result</code> | The {@link @empathyco/x-types#Result \| Result} to render its rating. | <code>Result</code> | <code></code> |
16
+ | <code>link</code> | A link to redirect when rating is clicked. | <code>string</code> | <code></code> |
17
+
18
+ ## Slots
19
+
20
+ | Name | Description | Bindings<br />(name - type - description) |
21
+ | ------------------------ | ------------------------------------ | ----------------------------------------- |
22
+ | <code>default</code> | To override the whole content | <br /> |
23
+ | <code>empty-icon</code> | The content to render as empty icon | None |
24
+ | <code>filled-icon</code> | The content to render as filled icon | None |
25
+
26
+ ## Events
27
+
28
+ This component emits the following events:
29
+
30
+ - [`UserClickedAResultRating`](./../../api/x-components.searchboxxevents.md)
31
+
32
+ ## See it in action
33
+
34
+ Here you have a basic example of how the result rating is rendered.
35
+
36
+ ```vue
37
+ <template>
38
+ <BaseResultRating :result="result" />
39
+ </template>
40
+
41
+ <script>
42
+ import { BaseResultRating } from "@empathyco/x-components";
43
+
44
+ export default {
45
+ name: "ResultRatingDemo",
46
+ components: {
47
+ BaseResultRating
48
+ },
49
+ data() {
50
+ return {
51
+ result: {
52
+ id: 1,
53
+ name: "Result with rating",
54
+ rating: { value: 3 }
55
+ }
56
+ };
57
+ }
58
+ };
59
+ </script>
60
+ ```
61
+
62
+ ### Play with props
63
+
64
+ In this example, the result rating has been configured to 6 as maximum value using the prop `max`.
65
+
66
+ ```vue
67
+ <template>
68
+ <BaseResultRating :result="result" :max="6" />
69
+ </template>
70
+
71
+ <script>
72
+ import { BaseResultRating } from "@empathyco/x-components";
73
+
74
+ export default {
75
+ name: "ResultRatingDemo",
76
+ components: {
77
+ BaseResultRating
78
+ },
79
+ data() {
80
+ return {
81
+ result: {
82
+ id: 1,
83
+ name: "Result with rating",
84
+ rating: { value: 3 }
85
+ }
86
+ };
87
+ }
88
+ };
89
+ </script>
90
+ ```
91
+
92
+ In this example, the result rating has been configured with a link to redirect when is clicked.
93
+
94
+ ```vue
95
+ <template>
96
+ <BaseResultRating :result="result" link="https://empathy.co/" />
97
+ </template>
98
+
99
+ <script>
100
+ import { BaseResultRating } from "@empathyco/x-components";
101
+
102
+ export default {
103
+ name: "ResultRatingDemo",
104
+ components: {
105
+ BaseResultRating
106
+ },
107
+ data() {
108
+ return {
109
+ result: {
110
+ id: 1,
111
+ name: "Result with rating",
112
+ rating: { value: 3 }
113
+ }
114
+ };
115
+ }
116
+ };
117
+ </script>
118
+ ```
119
+
120
+ ### Play with events
121
+
122
+ In this example, a message has been added to be shown when the result rating is clicked.
123
+
124
+ ```vue
125
+ <template>
126
+ <BaseResultRating
127
+ :result="result"
128
+ @UserClickedAResultRating="logUserClickedRating"
129
+ />
130
+ </template>
131
+
132
+ <script>
133
+ import { BaseResultRating } from "@empathyco/x-components";
134
+
135
+ export default {
136
+ name: "ResultRatingDemo",
137
+ components: {
138
+ BaseResultRating
139
+ },
140
+ data() {
141
+ return {
142
+ result: {
143
+ id: 1,
144
+ name: "Result with rating",
145
+ rating: { value: 3 }
146
+ }
147
+ };
148
+ },
149
+ methods: {
150
+ logUserClickedRating(result) {
151
+ console.log("User clickedRating of this result:", result);
152
+ }
153
+ }
154
+ };
155
+ </script>
156
+ ```
157
+
158
+ ## Extending the component
159
+
160
+ The rendered icons for rating can be configured through slots. Keep in mind that the icons for both
161
+ states (filled and empty), must have the same size make component work properly.
162
+
163
+ ```vue
164
+ <template>
165
+ <BaseResultRating :result="result">
166
+ <template #filled-icon>❤️</template>
167
+ <template #empty-icon>🤍</template>
168
+ </BaseResultRating>
169
+ </template>
170
+
171
+ <script>
172
+ import { BaseResultRating } from "@empathyco/x-components";
173
+
174
+ export default {
175
+ name: "ResultRatingDemo",
176
+ components: {
177
+ BaseResultRating
178
+ },
179
+ data() {
180
+ return {
181
+ result: {
182
+ id: 1,
183
+ name: "Result with rating",
184
+ rating: { value: 3 }
185
+ }
186
+ };
187
+ }
188
+ };
189
+ </script>
190
+ ```
191
+
192
+ It is possible to override all the content of the component to show your own rating but keeping the
193
+ link and event behaviour:
194
+
195
+ ```vue
196
+ <template>
197
+ <BaseResultRating :result="result" #default="{ rating, result }">
198
+ <span v-for="star in rating">⭐️</span>
199
+ <span>{{ result.name }}</span>
200
+ </BaseResultRating>
201
+ </template>
202
+
203
+ <script>
204
+ import { BaseResultRating } from "@empathyco/x-components";
205
+
206
+ export default {
207
+ name: "ResultRatingDemo",
208
+ components: {
209
+ BaseResultRating
210
+ },
211
+ data() {
212
+ return {
213
+ result: {
214
+ id: 1,
215
+ name: "Result with rating",
216
+ rating: { value: 3 }
217
+ }
218
+ };
219
+ }
220
+ };
221
+ </script>
222
+ ```
223
+
224
+ Even it is possible to reuse our rating component:
225
+
226
+ ```vue
227
+ <template>
228
+ <BaseResultRating :result="result" #default="{ rating, result }">
229
+ <BaseRating :value="rating" />
230
+ <span>{{ result.name }}</span>
231
+ </BaseResultRating>
232
+ </template>
233
+
234
+ <script>
235
+ import { BaseResultRating, BaseRating } from "@empathyco/x-components";
236
+
237
+ export default {
238
+ name: "ResultRatingDemo",
239
+ components: {
240
+ BaseResultRating,
241
+ BaseRating
242
+ },
243
+ data() {
244
+ return {
245
+ result: {
246
+ id: 1,
247
+ name: "Result with rating",
248
+ rating: { value: 3 }
249
+ }
250
+ };
251
+ }
252
+ };
253
+ </script>
254
+ ```
@@ -18,10 +18,10 @@ prop.
18
18
 
19
19
  ## Slots
20
20
 
21
- | Name | Description | Bindings<br />(name - type - description) |
22
- | ----------------------- | ------------------------------------ | ----------------------------------------- |
23
- | <code>emptyIcon</code> | The content to render as empty icon | None |
24
- | <code>filledIcon</code> | The content to render as filled icon | None |
21
+ | Name | Description | Bindings<br />(name - type - description) |
22
+ | ------------------------ | ------------------------------------ | ----------------------------------------- |
23
+ | <code>empty-icon</code> | The content to render as empty icon | None |
24
+ | <code>filled-icon</code> | The content to render as filled icon | None |
25
25
 
26
26
  ## Examples
27
27
 
@@ -38,10 +38,10 @@ on this value.
38
38
 
39
39
  ```vue
40
40
  <BaseRating :value="7.15" :max="10">
41
- <template #filledIcon>
41
+ <template #filled-icon>
42
42
  <TestIcon/>
43
43
  </template>
44
- <template #emptyIcon>
44
+ <template #empty-icon>
45
45
  <TestIcon/>
46
46
  </template>
47
47
  </BaseRating>
@@ -17,6 +17,7 @@ general behavior.
17
17
  | <code>scrollFactor</code> | Scroll factor that will dictate how much the scroll moves when pressing a navigation button. | <code>number</code> | <code>0.7</code> |
18
18
  | <code>showButtons</code> | Would make the navigation buttons visible when they're needed or always hide them. | <code>boolean</code> | <code>true</code> |
19
19
  | <code>resetOnContentChange</code> | When true, whenever the DOM content in the sliding panel slot changes, it will reset<br />the scroll position to 0. | <code>boolean</code> | <code>true</code> |
20
+ | <code>buttonClass</code> | CSS classes to add to the buttons. | <code>string</code> | <code></code> |
20
21
 
21
22
  ## Slots
22
23
 
@@ -14,17 +14,18 @@ of `shirts`.
14
14
 
15
15
  ## Props
16
16
 
17
- | Name | Description | Type | Default |
18
- | ----------------------------- | ----------------------------------------------------------------- | ------------------- | ------------- |
19
- | <code>animation</code> | Animation component that will be used to animate the suggestions. | <code>Vue</code> | <code></code> |
20
- | <code>maxItemsToRender</code> | Number of next queries to be rendered. | <code>number</code> | <code></code> |
17
+ | Name | Description | Type | Default |
18
+ | ----------------------------- | --------------------------------------------------------------------------- | -------------------- | ------------------ |
19
+ | <code>animation</code> | Animation component that will be used to animate the suggestions. | <code>Vue</code> | <code></code> |
20
+ | <code>maxItemsToRender</code> | Number of next queries to be rendered. | <code>number</code> | <code></code> |
21
+ | <code>highlightCurated</code> | Flag to indicate if the curated next queries should be displayed different. | <code>boolean</code> | <code>false</code> |
21
22
 
22
23
  ## Slots
23
24
 
24
- | Name | Description | Bindings<br />(name - type - description) |
25
- | ------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
26
- | <code>suggestion</code> | Next Query item | **suggestion** <code>Suggestion</code> - Next Query suggestion data<br />**index** <code>number</code> - Next Query suggestion index |
27
- | <code>suggestion-content</code> | Next Query content | **suggestion** <code>Suggestion</code> - Next Query suggestion data<br />**index** <code>number</code> - Next Query suggestion index |
25
+ | Name | Description | Bindings<br />(name - type - description) |
26
+ | ------------------------------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | <code>suggestion</code> | Next Query item | **suggestion** <code>Suggestion</code> - Next Query suggestion data<br />**highlightCurated** <code>boolean</code> - True if the curated NQs should be highlighted<br />**index** <code>number</code> - Next Query suggestion index |
28
+ | <code>suggestion-content</code> | Next Query content | **suggestion** <code>Suggestion</code> - Next Query suggestion data<br />**shouldHighlightCurated** <code>boolean</code> - True if the curated NQ should<br /> be highlighted<br />**index** <code>number</code> - Next Query suggestion index |
28
29
 
29
30
  ## Examples
30
31
 
@@ -37,11 +38,16 @@ queries it will show them
37
38
  <NextQueries />
38
39
  ```
39
40
 
40
- The component has two optional props. `animation` to render the component with an animation and
41
- `maxItemToRender` to limit the number of next queries will be rendered (by default it is 5).
41
+ The component has three optional props. `animation` to render the component with an animation,
42
+ `maxItemToRender` to limit the number of next queries will be rendered (by default it is 5) and
43
+ `highlightCurated` to indicate if the curated Next Queries inside the list should be highlighted.
42
44
 
43
45
  ```vue
44
- <NextQueries :animation="FadeAndSlide" :maxItemsToRender="10" />
46
+ <NextQueries
47
+ :animation="FadeAndSlide"
48
+ :maxItemsToRender="10"
49
+ :highlightCurated="true"
50
+ />
45
51
  ```
46
52
 
47
53
  ### Overriding Next Queries' Content
@@ -12,20 +12,23 @@ it will render the suggestion query by default.
12
12
 
13
13
  ## Props
14
14
 
15
- | Name | Description | Type | Default |
16
- | ----------------------- | ----------------------------------------------------- | --------------------------- | ------------- |
17
- | <code>suggestion</code> | The suggestion to render and use in the default slot. | <code>NextQueryModel</code> | <code></code> |
15
+ | Name | Description | Type | Default |
16
+ | ----------------------------- | ---------------------------------------------------------- | --------------------------- | ------------------ |
17
+ | <code>suggestion</code> | The suggestion to render and use in the default slot. | <code>NextQueryModel</code> | <code></code> |
18
+ | <code>highlightCurated</code> | Indicates if the curated next query should be highlighted. | <code>boolean</code> | <code>false</code> |
18
19
 
19
20
  ## Slots
20
21
 
21
- | Name | Description | Bindings<br />(name - type - description) |
22
- | -------------------- | ------------------ | ------------------------------------------------------------------- |
23
- | <code>default</code> | Next Query content | **suggestion** <code>Suggestion</code> - Next Query suggestion data |
22
+ | Name | Description | Bindings<br />(name - type - description) |
23
+ | -------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
24
+ | <code>default</code> | Next Query content | **suggestion** <code>Suggestion</code> - Next Query suggestion data<br />**shouldHighlightCurated** <code>boolean</code> - True if the curated NQ should be highlighted |
24
25
 
25
26
  ## Examples
26
27
 
27
28
  This components expects just a suggestion as a prop to be rendered. It has a slot to override the
28
- content. By default, it renders the suggestion query of the next query.
29
+ content. By default, it renders the suggestion query of the next query. It also has an optional
30
+ prop, `highlightCurated`, to indicate if the curated Next Queries should be differentiated with a
31
+ CSS class.
29
32
 
30
33
  ### Basic Usage
31
34
 
@@ -48,6 +51,12 @@ The default slot allows you to replace the content of the suggestion button.
48
51
  </NextQuery>
49
52
  ```
50
53
 
54
+ ## Dynamic Classes
55
+
56
+ `NextQuery` uses the following dynamic CSS classes so you can style it when is:
57
+
58
+ - Curated: `x-next-query--is-curated`.
59
+
51
60
  ## Events
52
61
 
53
62
  A list of events that the component will emit:
@@ -29,7 +29,7 @@ var __vue_render__ = function () {
29
29
  },
30
30
  [
31
31
  _vm._l(_vm.max, function (i) {
32
- return _vm._t("emptyIcon", function () {
32
+ return _vm._t("empty-icon", function () {
33
33
  return [
34
34
  _c("DefaultIcon", {
35
35
  key: i,
@@ -50,7 +50,7 @@ var __vue_render__ = function () {
50
50
  },
51
51
  [
52
52
  _vm._l(_vm.max, function (i) {
53
- return _vm._t("filledIcon", function () {
53
+ return _vm._t("filled-icon", function () {
54
54
  return [
55
55
  _c("DefaultIcon", {
56
56
  key: i,
@@ -69,11 +69,11 @@ __vue_render__._withStripped = true;
69
69
  /* style */
70
70
  var __vue_inject_styles__ = function (inject) {
71
71
  if (!inject) { return }
72
- inject("data-v-572d183e_0", { source: ".x-rating[data-v-572d183e] {\n position: relative;\n display: inline-block;\n}\n.x-rating--empty[data-v-572d183e] {\n overflow: hidden;\n display: flex;\n}\n.x-rating--filled[data-v-572d183e] {\n display: flex;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n}\n.x-rating__default-icon[data-v-572d183e] {\n fill: currentColor;\n stroke: currentColor;\n}\n.x-rating__default-icon--empty[data-v-572d183e] {\n fill: none;\n}", map: undefined, media: undefined });
72
+ inject("data-v-01a5c2e2_0", { source: ".x-rating[data-v-01a5c2e2] {\n position: relative;\n display: inline-block;\n}\n.x-rating--empty[data-v-01a5c2e2] {\n overflow: hidden;\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n}\n.x-rating--filled[data-v-01a5c2e2] {\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n height: 100%;\n}\n.x-rating__default-icon[data-v-01a5c2e2] {\n fill: currentColor;\n stroke: currentColor;\n}\n.x-rating__default-icon--empty[data-v-01a5c2e2] {\n fill: none;\n}", map: undefined, media: undefined });
73
73
 
74
74
  };
75
75
  /* scoped */
76
- var __vue_scope_id__ = "data-v-572d183e";
76
+ var __vue_scope_id__ = "data-v-01a5c2e2";
77
77
  /* module identifier */
78
78
  var __vue_module_identifier__ = undefined;
79
79
  /* functional template */
@@ -1 +1 @@
1
- {"version":3,"file":"base-rating.vue.js","sources":["../../../src/components/base-rating.vue"],"sourcesContent":["<template>\n <span class=\"x-rating\" role=\"img\" :aria-label=\"ariaLabel\" data-test=\"rating\">\n <div class=\"x-rating--empty\" data-test=\"rating-empty\">\n <!--\n @slot The content to render as empty icon\n -->\n <slot v-for=\"i in max\" name=\"emptyIcon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--empty\" />\n </slot>\n </div>\n <div\n class=\"x-rating--filled\"\n :style=\"{ width: calculateFilledWrapperWidth }\"\n data-test=\"rating-filled\"\n >\n <!--\n @slot The content to render as filled icon\n -->\n <slot v-for=\"i in max\" name=\"filledIcon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--filled\" />\n </slot>\n </div>\n </span>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import StarIcon from './icons/star.vue';\n\n /**\n * Rating component. This component renders a set of elements filled based on the value passed as\n * prop.\n *\n * @public\n */\n @Component({\n components: {\n DefaultIcon: StarIcon\n }\n })\n export default class BaseRating extends Vue {\n /**\n * Numeric value used to calculates the width of the filled elements.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Calculates the width of the filled elements wrapper.\n *\n * @returns The % of the wrapper width.\n *\n * @internal\n */\n protected get calculateFilledWrapperWidth(): string {\n return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;\n }\n\n /**\n * Creates the aria label for accessibility purpose.\n *\n * @returns The aria label.\n *\n * @internal\n */\n protected get ariaLabel(): string {\n return `${this.value}/${this.max}`;\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-rating {\n position: relative;\n display: inline-block;\n\n &--empty {\n overflow: hidden;\n display: flex;\n }\n\n &--filled {\n display: flex;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n }\n\n &__default-icon {\n fill: currentColor;\n stroke: currentColor;\n\n &--empty {\n fill: none;\n }\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component receives a `value` as prop and renders a set of elements, which will be filled based\non this value.\n\n### Basic usage\n\n```vue\n<BaseRating :value=\"5.23\" />\n```\n\n### Customizing its contents\n\n```vue\n<BaseRating :value=\"7.15\" :max=\"10\">\n <template #filledIcon>\n <TestIcon/>\n </template>\n <template #emptyIcon>\n <TestIcon/>\n </template>\n</BaseRating>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-rating.vue.js","sources":["../../../src/components/base-rating.vue"],"sourcesContent":["<template>\n <span class=\"x-rating\" role=\"img\" :aria-label=\"ariaLabel\" data-test=\"rating\">\n <div class=\"x-rating--empty\" data-test=\"rating-empty\">\n <!--\n @slot The content to render as empty icon\n -->\n <slot v-for=\"i in max\" name=\"empty-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--empty\" />\n </slot>\n </div>\n <div\n class=\"x-rating--filled\"\n :style=\"{ width: calculateFilledWrapperWidth }\"\n data-test=\"rating-filled\"\n >\n <!--\n @slot The content to render as filled icon\n -->\n <slot v-for=\"i in max\" name=\"filled-icon\">\n <DefaultIcon :key=\"i\" class=\"x-rating__default-icon x-rating__default-icon--filled\" />\n </slot>\n </div>\n </span>\n</template>\n\n<script lang=\"ts\">\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import StarIcon from './icons/star.vue';\n\n /**\n * Rating component. This component renders a set of elements filled based on the value passed as\n * prop.\n *\n * @public\n */\n @Component({\n components: {\n DefaultIcon: StarIcon\n }\n })\n export default class BaseRating extends Vue {\n /**\n * Numeric value used to calculates the width of the filled elements.\n *\n * @public\n */\n @Prop({ required: true })\n protected value!: number;\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Calculates the width of the filled elements wrapper.\n *\n * @returns The % of the wrapper width.\n *\n * @internal\n */\n protected get calculateFilledWrapperWidth(): string {\n return this.value < 0 ? '0%' : `${(this.value * 100) / this.max}%`;\n }\n\n /**\n * Creates the aria label for accessibility purpose.\n *\n * @returns The aria label.\n *\n * @internal\n */\n protected get ariaLabel(): string {\n return `${this.value}/${this.max}`;\n }\n }\n</script>\n\n<style lang=\"scss\" scoped>\n .x-rating {\n position: relative;\n display: inline-block;\n\n &--empty {\n overflow: hidden;\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n }\n\n &--filled {\n display: flex;\n flex-flow: row nowrap;\n white-space: nowrap;\n position: absolute;\n overflow: hidden;\n top: 0;\n left: 0;\n height: 100%;\n }\n\n &__default-icon {\n fill: currentColor;\n stroke: currentColor;\n\n &--empty {\n fill: none;\n }\n }\n }\n</style>\n\n<docs lang=\"mdx\">\n## Examples\n\nThis component receives a `value` as prop and renders a set of elements, which will be filled based\non this value.\n\n### Basic usage\n\n```vue\n<BaseRating :value=\"5.23\" />\n```\n\n### Customizing its contents\n\n```vue\n<BaseRating :value=\"7.15\" :max=\"10\">\n <template #filled-icon>\n <TestIcon/>\n </template>\n <template #empty-icon>\n <TestIcon/>\n </template>\n</BaseRating>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,14 +15,14 @@ var __vue_render__ = function () {
15
15
  scopedSlots: _vm._u(
16
16
  [
17
17
  {
18
- key: "filledIcon",
18
+ key: "filled-icon",
19
19
  fn: function () {
20
20
  return [_vm._t("rating-icon-filled")]
21
21
  },
22
22
  proxy: true,
23
23
  },
24
24
  {
25
- key: "emptyIcon",
25
+ key: "empty-icon",
26
26
  fn: function () {
27
27
  return [_vm._t("rating-icon-empty")]
28
28
  },
@@ -1 +1 @@
1
- {"version":3,"file":"base-rating-filter-label.vue.js","sources":["../../../../../src/components/filters/labels/base-rating-filter-label.vue"],"sourcesContent":["<template>\n <BaseRating class=\"x-rating-filter-label\" data-test=\"rating-label\" :value=\"value\" :max=\"max\">\n <template #filledIcon>\n <!--\n @slot Filled icon content\n -->\n <slot name=\"rating-icon-filled\" />\n </template>\n <template #emptyIcon>\n <!--\n @slot Empty icon content\n -->\n <slot name=\"rating-icon-empty\" />\n </template>\n </BaseRating>\n</template>\n\n<script lang=\"ts\">\n import { BooleanFilter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import BaseRating from '../../base-rating.vue';\n\n /**\n * Renders a label for a rating filter, allowing to override the elements used to paint\n * the rating.\n *\n * @public\n */\n @Component({\n components: {\n BaseRating\n }\n })\n export default class BaseRatingFilterLabel extends Vue {\n /**\n * The filter data to render.\n *\n * @public\n * */\n @Prop({ required: true })\n public filter!: BooleanFilter;\n\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Converts the label string into a number.\n *\n * @returns The label as number or 0 if it is not a valid number.\n *\n * @internal\n * */\n protected get value(): number {\n const value = parseFloat(this.filter.label) ?? 0;\n return Number.isNaN(value) ? 0 : value;\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nRenders a label for a rating filter, allowing to override the elements used to paint the rating. The\nfilter label must be a valid number string. For example: '3', '2.5', '0.25'\n\n### Basic usage\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" />\n```\n\n### Customizing color\n\nIts possible to change the default color directly with color CSS attribute. For more elaborated\nstyles it's possible to style the inner svg icons.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" style=\"color: gold\" />\n```\n\n### Customizing its contents\n\nThe `max` prop can be used to set the max rating number. It will render as many icons as the this\n`max` value.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" :max=\"max\" />\n```\n\nThe default icons can be changed using the `rating-icon-filled` and `rating-icon-empty` icons, to\nrepresent the filled empty and empty icon in the rating component.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" :max=\"max\">\n <template #rating-icon-filled>♥</template>\n <template #rating-icon-empty>♡</template>\n</BaseRatingFilterLabel>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"base-rating-filter-label.vue.js","sources":["../../../../../src/components/filters/labels/base-rating-filter-label.vue"],"sourcesContent":["<template>\n <BaseRating class=\"x-rating-filter-label\" data-test=\"rating-label\" :value=\"value\" :max=\"max\">\n <template #filled-icon>\n <!--\n @slot Filled icon content\n -->\n <slot name=\"rating-icon-filled\" />\n </template>\n <template #empty-icon>\n <!--\n @slot Empty icon content\n -->\n <slot name=\"rating-icon-empty\" />\n </template>\n </BaseRating>\n</template>\n\n<script lang=\"ts\">\n import { BooleanFilter } from '@empathyco/x-types';\n import Vue from 'vue';\n import { Component, Prop } from 'vue-property-decorator';\n import BaseRating from '../../base-rating.vue';\n\n /**\n * Renders a label for a rating filter, allowing to override the elements used to paint\n * the rating.\n *\n * @public\n */\n @Component({\n components: {\n BaseRating\n }\n })\n export default class BaseRatingFilterLabel extends Vue {\n /**\n * The filter data to render.\n *\n * @public\n * */\n @Prop({ required: true })\n public filter!: BooleanFilter;\n\n /**\n * Maximum number of elements to paint.\n *\n * @public\n */\n @Prop({ default: 5 })\n protected max!: number;\n\n /**\n * Converts the label string into a number.\n *\n * @returns The label as number or 0 if it is not a valid number.\n *\n * @internal\n * */\n protected get value(): number {\n const value = parseFloat(this.filter.label) ?? 0;\n return Number.isNaN(value) ? 0 : value;\n }\n }\n</script>\n\n<docs lang=\"mdx\">\n## Example\n\nRenders a label for a rating filter, allowing to override the elements used to paint the rating. The\nfilter label must be a valid number string. For example: '3', '2.5', '0.25'\n\n### Basic usage\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" />\n```\n\n### Customizing color\n\nIts possible to change the default color directly with color CSS attribute. For more elaborated\nstyles it's possible to style the inner svg icons.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" style=\"color: gold\" />\n```\n\n### Customizing its contents\n\nThe `max` prop can be used to set the max rating number. It will render as many icons as the this\n`max` value.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" :max=\"max\" />\n```\n\nThe default icons can be changed using the `rating-icon-filled` and `rating-icon-empty` icons, to\nrepresent the filled empty and empty icon in the rating component.\n\n```vue\n<BaseRatingFilterLabel :filter=\"filter\" :max=\"max\">\n <template #rating-icon-filled>♥</template>\n <template #rating-icon-empty>♡</template>\n</BaseRatingFilterLabel>\n```\n</docs>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,61 @@
1
+ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
+ import script from './arrow-down.vue_rollup-plugin-vue=script.js';
3
+
4
+ /* script */
5
+ var __vue_script__ = script;
6
+
7
+ /* template */
8
+ var __vue_render__ = function (_h, _vm) {
9
+ var _c = _vm._c;
10
+ return _c(
11
+ "svg",
12
+ {
13
+ class: ["x-icon"].concat(_vm.data.staticClass, _vm.data.class),
14
+ attrs: {
15
+ viewBox: "0 0 16 16",
16
+ version: "1.1",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
19
+ },
20
+ },
21
+ [
22
+ _c("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [
23
+ _c("line", { attrs: { x1: "8", y1: "3", x2: "8", y2: "13" } }),
24
+ _vm._v(" "),
25
+ _c("polyline", { attrs: { points: "3 8 8 13 13 8" } }) ]) ]
26
+ )
27
+ };
28
+ var __vue_staticRenderFns__ = [];
29
+ __vue_render__._withStripped = true;
30
+
31
+ /* style */
32
+ var __vue_inject_styles__ = undefined;
33
+ /* scoped */
34
+ var __vue_scope_id__ = undefined;
35
+ /* module identifier */
36
+ var __vue_module_identifier__ = undefined;
37
+ /* functional template */
38
+ var __vue_is_functional_template__ = true;
39
+ /* style inject */
40
+
41
+ /* style inject SSR */
42
+
43
+ /* style inject shadow dom */
44
+
45
+
46
+
47
+ var __vue_component__ = /*#__PURE__*/__vue_normalize__(
48
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
49
+ __vue_inject_styles__,
50
+ __vue_script__,
51
+ __vue_scope_id__,
52
+ __vue_is_functional_template__,
53
+ __vue_module_identifier__,
54
+ false,
55
+ undefined,
56
+ undefined,
57
+ undefined
58
+ );
59
+
60
+ export default __vue_component__;
61
+ //# sourceMappingURL=arrow-down.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-down.vue.js","sources":["../../../../src/components/icons/arrow-down.vue"],"sourcesContent":["<template functional>\n <svg\n :class=\"['x-icon'].concat(data.staticClass, data.class)\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <line x1=\"8\" y1=\"3\" x2=\"8\" y2=\"13\" />\n <polyline points=\"3 8 8 13 13 8\" />\n </g>\n </svg>\n</template>\n\n<script lang=\"ts\">\n export default {};\n</script>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var script = {};
2
+
3
+ export default script;
4
+ //# sourceMappingURL=arrow-down.vue_rollup-plugin-vue=script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-down.vue_rollup-plugin-vue=script.js","sources":["../../../../src/components/icons/arrow-down.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {};\n"],"names":[],"mappings":"AAgBA,aAAe,EAAE;;;;"}
@@ -1,5 +1,5 @@
1
1
  import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
- import script from './arrow.vue_rollup-plugin-vue=script.js';
2
+ import script from './arrow-left.vue_rollup-plugin-vue=script.js';
3
3
 
4
4
  /* script */
5
5
  var __vue_script__ = script;
@@ -58,4 +58,4 @@ __vue_render__._withStripped = true;
58
58
  );
59
59
 
60
60
  export default __vue_component__;
61
- //# sourceMappingURL=arrow.vue.js.map
61
+ //# sourceMappingURL=arrow-left.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-left.vue.js","sources":["../../../../src/components/icons/arrow-left.vue"],"sourcesContent":["<template functional>\n <svg\n :class=\"['x-icon'].concat(data.staticClass, data.class)\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <line x1=\"13\" y1=\"8\" x2=\"3\" y2=\"8\" />\n <polyline points=\"8 13 3 8 8 3\" />\n </g>\n </svg>\n</template>\n\n<script lang=\"ts\">\n export default {};\n</script>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var script = {};
2
+
3
+ export default script;
4
+ //# sourceMappingURL=arrow-left.vue_rollup-plugin-vue=script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-left.vue_rollup-plugin-vue=script.js","sources":["../../../../src/components/icons/arrow-left.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {};\n"],"names":[],"mappings":"AAgBA,aAAe,EAAE;;;;"}
@@ -0,0 +1,61 @@
1
+ import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
+ import script from './arrow-right.vue_rollup-plugin-vue=script.js';
3
+
4
+ /* script */
5
+ var __vue_script__ = script;
6
+
7
+ /* template */
8
+ var __vue_render__ = function (_h, _vm) {
9
+ var _c = _vm._c;
10
+ return _c(
11
+ "svg",
12
+ {
13
+ class: ["x-icon"].concat(_vm.data.staticClass, _vm.data.class),
14
+ attrs: {
15
+ viewBox: "0 0 16 16",
16
+ version: "1.1",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
19
+ },
20
+ },
21
+ [
22
+ _c("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [
23
+ _c("line", { attrs: { x1: "13", y1: "8", x2: "3", y2: "8" } }),
24
+ _vm._v(" "),
25
+ _c("polyline", { attrs: { points: "8 13 13 8 8 3" } }) ]) ]
26
+ )
27
+ };
28
+ var __vue_staticRenderFns__ = [];
29
+ __vue_render__._withStripped = true;
30
+
31
+ /* style */
32
+ var __vue_inject_styles__ = undefined;
33
+ /* scoped */
34
+ var __vue_scope_id__ = undefined;
35
+ /* module identifier */
36
+ var __vue_module_identifier__ = undefined;
37
+ /* functional template */
38
+ var __vue_is_functional_template__ = true;
39
+ /* style inject */
40
+
41
+ /* style inject SSR */
42
+
43
+ /* style inject shadow dom */
44
+
45
+
46
+
47
+ var __vue_component__ = /*#__PURE__*/__vue_normalize__(
48
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
49
+ __vue_inject_styles__,
50
+ __vue_script__,
51
+ __vue_scope_id__,
52
+ __vue_is_functional_template__,
53
+ __vue_module_identifier__,
54
+ false,
55
+ undefined,
56
+ undefined,
57
+ undefined
58
+ );
59
+
60
+ export default __vue_component__;
61
+ //# sourceMappingURL=arrow-right.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-right.vue.js","sources":["../../../../src/components/icons/arrow-right.vue"],"sourcesContent":["<template functional>\n <svg\n :class=\"['x-icon'].concat(data.staticClass, data.class)\"\n viewBox=\"0 0 16 16\"\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n >\n <g fill=\"none\" fill-rule=\"evenodd\">\n <line x1=\"13\" y1=\"8\" x2=\"3\" y2=\"8\" />\n <polyline points=\"8 13 13 8 8 3\" />\n </g>\n </svg>\n</template>\n\n<script lang=\"ts\">\n export default {};\n</script>\n"],"names":["const"],"mappings":";;;;AAEAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ var script = {};
2
+
3
+ export default script;
4
+ //# sourceMappingURL=arrow-right.vue_rollup-plugin-vue=script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-right.vue_rollup-plugin-vue=script.js","sources":["../../../../src/components/icons/arrow-right.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nexport default {};\n"],"names":[],"mappings":"AAgBA,aAAe,EAAE;;;;"}