@empathyco/x-components 3.0.0-alpha.114 → 3.0.0-alpha.115
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.
- package/CHANGELOG.md +13 -0
- package/design-system/full-theme.css +50 -49
- package/docs/API-reference/api/x-adapter-platform.bannermutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.facetmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.hierarchicalfiltermutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.identifierresultsendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.identifierresultsrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.identifierresultsrequestschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.identifierresultsresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.identifierresultsresponseschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextqueriesendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextqueriesrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextqueriesrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextqueriesresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextqueriesresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.nextquerymutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.numberfiltermutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.popularsearchesendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.popularsearchesrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.popularsearchesrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.popularsearchesresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.popularsearchesresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.promotedmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.querysuggestionsendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.querysuggestionsrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.querysuggestionsrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.querysuggestionsresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.querysuggestionsresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.recommendationsendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.recommendationsrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.recommendationsrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.recommendationsresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.recommendationsresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.redirectionmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagsendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagsrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagsrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagsresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.relatedtagsresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.resultschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchrequestmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchresponsemapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchresponsemutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.simplefiltermutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.suggestionmutableschema.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.taggingendpointadapter.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.taggingrequestmapper.md +1 -1
- package/docs/API-reference/api/x-adapter-platform.taggingrequestmutableschema.md +1 -1
- package/docs/build-search-ui/web-x-components-development-guide.md +3 -4
- package/package.json +4 -4
- package/report/x-adapter-platform.api.json +135 -135
- package/report/x-components.api.md +2 -2
- package/types/adapter/e2e-adapter.d.ts +1 -1
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.115](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.114...@empathyco/x-components@3.0.0-alpha.115) (2022-06-21)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- remove old adapter package and use the new one (#568)
|
|
11
|
+
([1632a59](https://github.com/empathyco/x/commit/1632a594b6905e6403c82b2189300eefd45b3691)),
|
|
12
|
+
closes [EX-6286](https://searchbroker.atlassian.net/browse/EX-6286)
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
6
19
|
## [3.0.0-alpha.114](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.113...@empathyco/x-components@3.0.0-alpha.114) (2022-06-21)
|
|
7
20
|
|
|
8
21
|
### Build System
|
|
@@ -5,55 +5,6 @@
|
|
|
5
5
|
--x-size-border-radius-base-pill: 99999px;
|
|
6
6
|
--x-size-border-width-base: 1px;
|
|
7
7
|
}
|
|
8
|
-
:root {
|
|
9
|
-
--x-color-base-lead: #36515b;
|
|
10
|
-
--x-color-base-auxiliary: #667981;
|
|
11
|
-
--x-color-base-neutral-10: #1a1a1a;
|
|
12
|
-
--x-color-base-neutral-35: #595959;
|
|
13
|
-
--x-color-base-neutral-70: #b3b3b3;
|
|
14
|
-
--x-color-base-neutral-95: #f2f2f2;
|
|
15
|
-
--x-color-base-neutral-100: #ffffff;
|
|
16
|
-
--x-color-base-accent: #b90276;
|
|
17
|
-
--x-color-base-enable: #00705c;
|
|
18
|
-
--x-color-base-disable: #e11f26;
|
|
19
|
-
--x-color-base-transparent: transparent;
|
|
20
|
-
}
|
|
21
|
-
:root {
|
|
22
|
-
--x-size-base-01: 2px;
|
|
23
|
-
--x-size-base-02: 4px;
|
|
24
|
-
--x-size-base-03: 8px;
|
|
25
|
-
--x-size-base-04: 12px;
|
|
26
|
-
--x-size-base-05: 16px;
|
|
27
|
-
--x-size-base-06: 24px;
|
|
28
|
-
--x-size-base-07: 32px;
|
|
29
|
-
--x-size-base-08: 40px;
|
|
30
|
-
--x-size-base-09: 48px;
|
|
31
|
-
--x-size-base-10: 56px;
|
|
32
|
-
--x-size-base-11: 64px;
|
|
33
|
-
--x-size-base-12: 72px;
|
|
34
|
-
--x-size-base-13: 80px;
|
|
35
|
-
--x-size-base-14: 96px;
|
|
36
|
-
--x-size-base-15: 112px;
|
|
37
|
-
--x-size-base-16: 144px;
|
|
38
|
-
--x-size-base-17: 176px;
|
|
39
|
-
--x-size-base-18: 208px;
|
|
40
|
-
--x-size-base-19: 240px;
|
|
41
|
-
--x-size-base-20: 272px;
|
|
42
|
-
}
|
|
43
|
-
:root {
|
|
44
|
-
--x-font-family-base: "Montserrat", sans-serif;
|
|
45
|
-
--x-size-font-base-xs: 12px;
|
|
46
|
-
--x-size-font-base-s: 14px;
|
|
47
|
-
--x-size-font-base-m: 16px;
|
|
48
|
-
--x-size-font-base-l: 18px;
|
|
49
|
-
--x-size-font-base-xl: 32px;
|
|
50
|
-
--x-number-font-weight-base-light: 300;
|
|
51
|
-
--x-number-font-weight-base-regular: 400;
|
|
52
|
-
--x-number-font-weight-base-bold: 600;
|
|
53
|
-
--x-size-line-height-base-s: 16px;
|
|
54
|
-
--x-size-line-height-base-m: 24px;
|
|
55
|
-
--x-size-line-height-base-l: 32px;
|
|
56
|
-
}
|
|
57
8
|
[dir="ltr"] .x-badge {
|
|
58
9
|
right: calc(var(--x-size-width-badge-default) / 4);
|
|
59
10
|
}
|
|
@@ -7566,3 +7517,53 @@
|
|
|
7566
7517
|
.x-normal-case {
|
|
7567
7518
|
text-transform: none;
|
|
7568
7519
|
}
|
|
7520
|
+
|
|
7521
|
+
:root {
|
|
7522
|
+
--x-color-base-lead: #36515b;
|
|
7523
|
+
--x-color-base-auxiliary: #667981;
|
|
7524
|
+
--x-color-base-neutral-10: #1a1a1a;
|
|
7525
|
+
--x-color-base-neutral-35: #595959;
|
|
7526
|
+
--x-color-base-neutral-70: #b3b3b3;
|
|
7527
|
+
--x-color-base-neutral-95: #f2f2f2;
|
|
7528
|
+
--x-color-base-neutral-100: #ffffff;
|
|
7529
|
+
--x-color-base-accent: #b90276;
|
|
7530
|
+
--x-color-base-enable: #00705c;
|
|
7531
|
+
--x-color-base-disable: #e11f26;
|
|
7532
|
+
--x-color-base-transparent: transparent;
|
|
7533
|
+
}
|
|
7534
|
+
:root {
|
|
7535
|
+
--x-size-base-01: 2px;
|
|
7536
|
+
--x-size-base-02: 4px;
|
|
7537
|
+
--x-size-base-03: 8px;
|
|
7538
|
+
--x-size-base-04: 12px;
|
|
7539
|
+
--x-size-base-05: 16px;
|
|
7540
|
+
--x-size-base-06: 24px;
|
|
7541
|
+
--x-size-base-07: 32px;
|
|
7542
|
+
--x-size-base-08: 40px;
|
|
7543
|
+
--x-size-base-09: 48px;
|
|
7544
|
+
--x-size-base-10: 56px;
|
|
7545
|
+
--x-size-base-11: 64px;
|
|
7546
|
+
--x-size-base-12: 72px;
|
|
7547
|
+
--x-size-base-13: 80px;
|
|
7548
|
+
--x-size-base-14: 96px;
|
|
7549
|
+
--x-size-base-15: 112px;
|
|
7550
|
+
--x-size-base-16: 144px;
|
|
7551
|
+
--x-size-base-17: 176px;
|
|
7552
|
+
--x-size-base-18: 208px;
|
|
7553
|
+
--x-size-base-19: 240px;
|
|
7554
|
+
--x-size-base-20: 272px;
|
|
7555
|
+
}
|
|
7556
|
+
:root {
|
|
7557
|
+
--x-font-family-base: "Montserrat", sans-serif;
|
|
7558
|
+
--x-size-font-base-xs: 12px;
|
|
7559
|
+
--x-size-font-base-s: 14px;
|
|
7560
|
+
--x-size-font-base-m: 16px;
|
|
7561
|
+
--x-size-font-base-l: 18px;
|
|
7562
|
+
--x-size-font-base-xl: 32px;
|
|
7563
|
+
--x-number-font-weight-base-light: 300;
|
|
7564
|
+
--x-number-font-weight-base-regular: 400;
|
|
7565
|
+
--x-number-font-weight-base-bold: 600;
|
|
7566
|
+
--x-size-line-height-base-s: 16px;
|
|
7567
|
+
--x-size-line-height-base-m: 24px;
|
|
7568
|
+
--x-size-line-height-base-l: 32px;
|
|
7569
|
+
}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
facetMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
facetMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformFacet, EditableNumberRangeFacet | HierarchicalFacet | NumberRangeFacet | SimpleFacet>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
hierarchicalFilterMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
hierarchicalFilterMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformHierarchicalFilter, HierarchicalFilter>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
identifierResultsEndpointAdapter: import("@empathyco/x-adapter
|
|
10
|
+
identifierResultsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<IdentifierResultsRequest, IdentifierResultsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
identifierResultsRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
identifierResultsRequestMapper: import("@empathyco/x-adapter").Mapper<IdentifierResultsRequest, PlatformIdentifierResultsRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
identifierResultsRequestSchema: import("@empathyco/x-adapter
|
|
10
|
+
identifierResultsRequestSchema: import("@empathyco/x-adapter").MutableSchema<Schema<IdentifierResultsRequest, PlatformIdentifierResultsRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
identifierResultsResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
identifierResultsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformIdentifierResultsResponse, IdentifierResultsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
identifierResultsResponseSchema: import("@empathyco/x-adapter
|
|
10
|
+
identifierResultsResponseSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformIdentifierResultsResponse, IdentifierResultsResponse>>
|
|
11
11
|
```
|
|
@@ -9,5 +9,5 @@ This endpoint does not support pagination in the request.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
nextQueriesEndpointAdapter: import("@empathyco/x-adapter
|
|
12
|
+
nextQueriesEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<NextQueriesRequest, NextQueriesResponse>
|
|
13
13
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
nextQueriesRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
nextQueriesRequestMapper: import("@empathyco/x-adapter").Mapper<NextQueriesRequest, PlatformNextQueriesRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
nextQueriesRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
nextQueriesRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<NextQueriesRequest, PlatformNextQueriesRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
nextQueriesResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
nextQueriesResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformNextQueriesResponse, NextQueriesResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
nextQueriesResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
nextQueriesResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformNextQueriesResponse, NextQueriesResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
numberFilterMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
numberFilterMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformFilter, NumberRangeFilter>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
popularSearchesEndpointAdapter: import("@empathyco/x-adapter
|
|
10
|
+
popularSearchesEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<PopularSearchesRequest, PopularSearchesResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
popularSearchesRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
popularSearchesRequestMapper: import("@empathyco/x-adapter").Mapper<PopularSearchesRequest, PlatformPopularSearchesRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
popularSearchesRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
popularSearchesRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PopularSearchesRequest, PlatformPopularSearchesRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
popularSearchesResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
popularSearchesResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformPopularSearchesResponse, PopularSearchesResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
popularSearchesResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
popularSearchesResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformPopularSearchesResponse, PopularSearchesResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
querySuggestionsEndpointAdapter: import("@empathyco/x-adapter
|
|
10
|
+
querySuggestionsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<QuerySuggestionsRequest, QuerySuggestionsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
querySuggestionsRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
querySuggestionsRequestMapper: import("@empathyco/x-adapter").Mapper<QuerySuggestionsRequest, PlatformQuerySuggestionsRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
querySuggestionsRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
querySuggestionsRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<QuerySuggestionsRequest, PlatformQuerySuggestionsRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
querySuggestionsResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
querySuggestionsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformQuerySuggestionsResponse, QuerySuggestionsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
querySuggestionsResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
querySuggestionsResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformQuerySuggestionsResponse, QuerySuggestionsResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
recommendationsEndpointAdapter: import("@empathyco/x-adapter
|
|
10
|
+
recommendationsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<RecommendationsRequest, RecommendationsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
recommendationsRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
recommendationsRequestMapper: import("@empathyco/x-adapter").Mapper<RecommendationsRequest, PlatformRecommendationsRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
recommendationsRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
recommendationsRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<RecommendationsRequest, PlatformRecommendationsRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
recommendationsResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
recommendationsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformRecommendationsResponse, RecommendationsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
recommendationsResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
recommendationsResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformRecommendationsResponse, RecommendationsResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
redirectionMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
redirectionMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformRedirection, Redirection>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
relatedTagMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
relatedTagMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformRelatedTag, RelatedTag>>
|
|
11
11
|
```
|
|
@@ -9,5 +9,5 @@ This endpoint does not support pagination in the request.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
relatedTagsEndpointAdapter: import("@empathyco/x-adapter
|
|
12
|
+
relatedTagsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<RelatedTagsRequest, RelatedTagsResponse>
|
|
13
13
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
relatedTagsRequestMapper: import("@empathyco/x-adapter
|
|
10
|
+
relatedTagsRequestMapper: import("@empathyco/x-adapter").Mapper<RelatedTagsRequest, PlatformRelatedTagsRequest>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
relatedTagsRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
relatedTagsRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<RelatedTagsRequest, PlatformRelatedTagsRequest>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
relatedTagsResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
relatedTagsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformRelatedTagsResponse, RelatedTagsResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
relatedTagsResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
relatedTagsResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformRelatedTagsResponse, RelatedTagsResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
searchEndpointAdapter: import("@empathyco/x-adapter
|
|
10
|
+
searchEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<SearchRequest, SearchResponse>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
searchRequestMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
searchRequestMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<SearchRequest, PlatformSearchRequest>>
|
|
11
11
|
```
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
searchResponseMapper: import("@empathyco/x-adapter
|
|
10
|
+
searchResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformSearchResponse, {
|
|
11
11
|
banners: import("@empathyco/x-types").Banner[];
|
|
12
12
|
facets: import("@empathyco/x-types").Facet[];
|
|
13
13
|
partialResults: import("@empathyco/x-types").PartialResult[];
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
searchResponseMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
searchResponseMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformSearchResponse, SearchResponse>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
simpleFilterMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
simpleFilterMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformFilter, SimpleFilter>>
|
|
11
11
|
```
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
<b>Signature:</b>
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
suggestionMutableSchema: import("@empathyco/x-adapter
|
|
10
|
+
suggestionMutableSchema: import("@empathyco/x-adapter").MutableSchema<Schema<PlatformSuggestion, Suggestion>>
|
|
11
11
|
```
|
|
@@ -63,8 +63,7 @@ To build your search and discovery UI, the following project dependencies are re
|
|
|
63
63
|
you are not using the Empathy Search API, you need to build your own search adapter. In order to
|
|
64
64
|
build your own search adapter, you can either extend the **x-adapter-platform** or create a new
|
|
65
65
|
one from scratch using the
|
|
66
|
-
[`@empathyco/x-adapter
|
|
67
|
-
package.
|
|
66
|
+
[`@empathyco/x-adapter`](https://github.com/empathyco/x/tree/main/packages/x-adapter) package.
|
|
68
67
|
|
|
69
68
|
- **x-types**
|
|
70
69
|
([`@empathyco/x-types`](https://github.com/empathyco/x/tree/main/packages/search-types)): The data
|
|
@@ -82,8 +81,8 @@ npm install --save @empathyco/x-components @empathyco/x-types @empathyco/x-adapt
|
|
|
82
81
|
You will need the search adapter in the [xPlugin configuration](#3-configure-the-plugin).
|
|
83
82
|
|
|
84
83
|
There are two libraries for making it easier to consume search APIs. The
|
|
85
|
-
[`@empathyco/x-adapter`](https://github.com/empathyco/x/tree/main/packages/x-adapter
|
|
86
|
-
|
|
84
|
+
[`@empathyco/x-adapter`](https://github.com/empathyco/x/tree/main/packages/x-adapter), which is the
|
|
85
|
+
interface you can use to build your own adapter for other APIs, and the
|
|
87
86
|
[`@empathyco/x-adapter-platform`](https://github.com/empathyco/x/tree/main/packages/x-adapter-platform),
|
|
88
87
|
which is the implementation to consume the Empathy Search Platform API, and it can be extended in
|
|
89
88
|
case your search API is similar to it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.115",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,8 +59,7 @@
|
|
|
59
59
|
"cypress:open:component": "cypress open-ct"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@empathyco/x-adapter
|
|
63
|
-
"@empathyco/x-adapter-platform": "^1.0.0-alpha.20",
|
|
62
|
+
"@empathyco/x-adapter": "^8.0.0-alpha.1",
|
|
64
63
|
"@empathyco/x-deep-merge": "^1.3.0-alpha.18",
|
|
65
64
|
"@empathyco/x-logger": "^1.2.0-alpha.3",
|
|
66
65
|
"@empathyco/x-storage-service": "^2.0.0-alpha.2",
|
|
@@ -79,6 +78,7 @@
|
|
|
79
78
|
"devDependencies": {
|
|
80
79
|
"@cypress/vue": "~2.2.4",
|
|
81
80
|
"@cypress/webpack-dev-server": "~1.8.4",
|
|
81
|
+
"@empathyco/x-adapter-platform": "^1.0.0-alpha.21",
|
|
82
82
|
"@microsoft/api-documenter": "~7.15.3",
|
|
83
83
|
"@microsoft/api-extractor": "~7.19.4",
|
|
84
84
|
"@rollup/plugin-commonjs": "~21.0.1",
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"access": "public",
|
|
126
126
|
"directory": "dist"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "a1e6557d05a9e4b60ef44aa25196299a1b622500"
|
|
129
129
|
}
|