@empathyco/x-components 3.0.0-alpha.185 → 3.0.0-alpha.186
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 +4 -4
- package/package.json +3 -3
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
- package/types/adapter/mocked-responses.d.ts +40 -0
- package/types/adapter/mocked-responses.d.ts.map +1 -0
- package/types/views/adapter.d.ts +6 -0
- package/types/views/adapter.d.ts.map +1 -0
- package/types/views/base-config.d.ts.map +1 -1
- package/types/views/home/types.d.ts +3 -0
- package/types/views/home/types.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.186](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.185...@empathyco/x-components@3.0.0-alpha.186) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- make `adapter` configurable in the `home` view (#750)
|
|
11
|
+
([0fcc5cf](https://github.com/empathyco/x/commit/0fcc5cf38995a439b3011e1b7d94e7edaa7f9ce5)),
|
|
12
|
+
closes [EX-7073](https://searchbroker.atlassian.net/browse/EX-7073)
|
|
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.185](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.184...@empathyco/x-components@3.0.0-alpha.185) (2022-09-30)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
|
@@ -3063,6 +3063,10 @@
|
|
|
3063
3063
|
--x-mix-blend-mode-picture-fallback-default: var(--x-mix-blend-mode-picture-default);
|
|
3064
3064
|
--x-mix-blend-mode-picture-placeholder-default: var(--x-mix-blend-mode-picture-default);
|
|
3065
3065
|
}
|
|
3066
|
+
.x-picture--fixed-ratio.x-picture {
|
|
3067
|
+
aspect-ratio: var(--x-number-aspect-ratio-picture);
|
|
3068
|
+
width: 100%;
|
|
3069
|
+
}
|
|
3066
3070
|
:root {
|
|
3067
3071
|
--x-number-aspect-ratio-picture: 1;
|
|
3068
3072
|
}
|
|
@@ -3081,10 +3085,6 @@
|
|
|
3081
3085
|
border-radius: var(--x-size-border-radius-progress-bar-default);
|
|
3082
3086
|
background-color: var(--x-color-background-progress-bar-line-default);
|
|
3083
3087
|
}
|
|
3084
|
-
.x-picture--fixed-ratio.x-picture {
|
|
3085
|
-
aspect-ratio: var(--x-number-aspect-ratio-picture);
|
|
3086
|
-
width: 100%;
|
|
3087
|
-
}
|
|
3088
3088
|
:root {
|
|
3089
3089
|
--x-size-height-progress-bar-line-default: var(--x-size-base-02);
|
|
3090
3090
|
--x-size-width-progress-bar-line-default: var(--x-size-base-20);
|
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.186",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@cypress/vue": "~2.2.4",
|
|
84
84
|
"@cypress/webpack-dev-server": "~1.8.4",
|
|
85
85
|
"@empathyco/x-adapter-platform": "^1.0.0-alpha.36",
|
|
86
|
-
"@empathyco/x-tailwindcss": "^0.2.0-alpha.
|
|
86
|
+
"@empathyco/x-tailwindcss": "^0.2.0-alpha.18",
|
|
87
87
|
"@microsoft/api-documenter": "~7.15.3",
|
|
88
88
|
"@microsoft/api-extractor": "~7.19.4",
|
|
89
89
|
"@rollup/plugin-commonjs": "~21.0.1",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"access": "public",
|
|
134
134
|
"directory": "dist"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "a0509afc7015a6bcac399f61948e4aa33eadb9f0"
|
|
137
137
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2e-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/e2e-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,eAAe,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"e2e-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/e2e-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,eAAe,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAG3F;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAMnC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,QAAQ,EACnD,IAAI,EAAE,MAAM,GACX,eAAe,CAAC,OAAO,EAAE,QAAQ,CAAC,CASpC;AAED,eAAO,MAAM,UAAU,EAAE,kBAiBxB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SearchResponse } from '@empathyco/x-types';
|
|
2
|
+
export declare const mockedApiUrl = "https://api.empathy.co";
|
|
3
|
+
export declare const getIdentifierResultsEndpoint: string;
|
|
4
|
+
export declare const getRecommendationsEndpoint: string;
|
|
5
|
+
export declare const getQuerySuggestionsEndpoint: string;
|
|
6
|
+
export declare const getRelatedTagsEndpoint: string;
|
|
7
|
+
export declare const getPopularSearchesEndpoint: string;
|
|
8
|
+
export declare const getNextQueriesEndpoint: string;
|
|
9
|
+
export declare const searchEndpoint: string;
|
|
10
|
+
export declare const trackEndpoint: string;
|
|
11
|
+
export declare const mockedResponses: {
|
|
12
|
+
'identifier-results': {
|
|
13
|
+
results: import("@empathyco/x-types").Result[];
|
|
14
|
+
};
|
|
15
|
+
'next-queries': {
|
|
16
|
+
nextQueries: import("@empathyco/x-types").NextQuery[];
|
|
17
|
+
};
|
|
18
|
+
'popular-searches': {
|
|
19
|
+
suggestions: import("@empathyco/x-types").Suggestion[];
|
|
20
|
+
};
|
|
21
|
+
'query-suggestions': {
|
|
22
|
+
suggestions: import("@empathyco/x-types").Suggestion[];
|
|
23
|
+
};
|
|
24
|
+
recommendations: {
|
|
25
|
+
results: import("@empathyco/x-types").Result[];
|
|
26
|
+
};
|
|
27
|
+
search: SearchResponse;
|
|
28
|
+
'related-tags': {
|
|
29
|
+
relatedTags: import("@empathyco/x-types").RelatedTag[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Creates a search response.
|
|
34
|
+
*
|
|
35
|
+
* @param partial - Partial search response to override default fields.
|
|
36
|
+
*
|
|
37
|
+
* @returns A complete search response object.
|
|
38
|
+
*/
|
|
39
|
+
export declare function createSearchResponse(partial?: Partial<SearchResponse>): SearchResponse;
|
|
40
|
+
//# sourceMappingURL=mocked-responses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocked-responses.d.ts","sourceRoot":"","sources":["../../../src/adapter/mocked-responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAcpD,eAAO,MAAM,YAAY,2BAA2B,CAAC;AAErD,eAAO,MAAM,4BAA4B,QAAuC,CAAC;AACjF,eAAO,MAAM,0BAA0B,QAAoC,CAAC;AAC5E,eAAO,MAAM,2BAA2B,QAAsC,CAAC;AAC/E,eAAO,MAAM,sBAAsB,QAAiC,CAAC;AACrE,eAAO,MAAM,0BAA0B,QAAqC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,QAAiC,CAAC;AACrE,eAAO,MAAM,cAAc,QAA2B,CAAC;AACvD,eAAO,MAAM,aAAa,QAA0B,CAAC;AAErD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;CA+J3B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,CAgBtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/views/adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAmB,MAAM,+BAA+B,CAAC;AAGjF,eAAO,MAAM,aAAa;;CAEzB,CAAC;AAEF,eAAO,MAAM,OAAO,iBAGlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../src/views/base-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../src/views/base-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGnE,eAAO,MAAM,iBAAiB,EAAE,aAK/B,CAAC;AAIF,eAAO,MAAM,mBAAmB,EAAE,eAKjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/views/home/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE;QACX,OAAO,EAAE,OAAO,CAAC;QACjB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,eAAe,EAAE;QACf,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,aAAa,EAAE;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,cAAc,EAAE;QACd,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/views/home/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE;QACX,OAAO,EAAE,OAAO,CAAC;QACjB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,eAAe,EAAE;QACf,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,aAAa,EAAE;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,cAAc,EAAE;QACd,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,OAAO,EAAE;QACP,aAAa,EAAE,OAAO,CAAC;KACxB,CAAC;CACH"}
|