@empathyco/x-components 3.0.0-alpha.35 → 3.0.0-alpha.39
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 +84 -0
- package/design-system/.-variables.css +0 -0
- package/design-system/base.css +4 -2
- package/design-system/default-theme.css +28 -18
- package/design-system/full-theme.css +159 -131
- package/design-system/suggestion-default.css +4 -2
- package/design-system/tag-default.css +19 -14
- package/design-system/typography-accent.token.css +1 -1
- package/design-system/utilities-background-color.css +9 -0
- package/design-system/utilities-border-color.css +9 -0
- package/design-system/utilities-border-radius.css +0 -24
- package/design-system/utilities-border-width.css +40 -40
- package/design-system/utilities-box-shadow.css +64 -1
- package/design-system/utilities-font-color.css +9 -0
- package/design-system/utilities-margin.css +0 -24
- package/design-system/utilities-padding.css +0 -24
- package/docs/API-reference/api/x-components.fetchandsavesearchresponse.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavesearchresponsewire.md +1 -1
- package/docs/API-reference/api/x-components.internalsearchrequest.md +21 -0
- package/docs/API-reference/api/x-components.internalsearchrequest.page.md +13 -0
- package/docs/API-reference/api/x-components.mainscroll.md +2 -2
- package/docs/API-reference/api/x-components.md +1 -0
- package/docs/API-reference/api/x-components.searchactions.fetchandsavesearchresponse.md +2 -2
- package/docs/API-reference/api/x-components.searchgetters.md +1 -1
- package/docs/API-reference/api/x-components.searchgetters.request.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.md +1 -1
- package/docs/API-reference/api/x-components.searchxevents.searchrequestchanged.md +1 -1
- package/docs/API-reference/api/x-components.trackquerywire.md +1 -1
- package/docs/API-reference/api/x-components.xcomponentaliasapi.md +1 -0
- package/docs/API-reference/api/x-components.xcomponentaliasapi.selectedsort.md +13 -0
- package/docs/API-reference/components/scroll/x-components.main-scroll.md +1 -1
- package/js/components/currency/base-currency.vue.js +3 -2
- package/js/components/currency/base-currency.vue.js.map +1 -1
- package/js/components/layouts/fixed-header-and-asides-layout.vue.js +1 -1
- package/js/components/layouts/multi-column-max-width-layout.vue.js +1 -1
- package/js/components/layouts/single-column-layout.vue.js +12 -4
- package/js/components/layouts/single-column-layout.vue.js.map +1 -1
- package/js/components/layouts/single-column-layout.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/result/base-result-image.vue.js +3 -2
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/directives/infinite-scroll/infinite-scroll.js +2 -1
- package/js/directives/infinite-scroll/infinite-scroll.js.map +1 -1
- package/js/plugins/x-plugin.alias.js +4 -0
- package/js/plugins/x-plugin.alias.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue.js +17 -6
- package/js/x-modules/scroll/components/main-scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js +20 -2
- package/js/x-modules/scroll/components/main-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js +19 -5
- package/js/x-modules/search/store/actions/fetch-and-save-search-response.action.js.map +1 -1
- package/js/x-modules/search/store/getters/request.getter.js +2 -2
- package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
- package/js/x-modules/search/store/module.js +0 -3
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +4 -2
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/package.json +2 -3
- package/report/tsdoc-metadata.json +1 -1
- package/report/x-adapter.api.json +1 -1
- package/report/x-components.api.json +98 -16
- package/report/x-components.api.md +18 -12
- package/report/x-types.api.json +1 -1
- package/types/components/layouts/single-column-layout.vue.d.ts.map +1 -1
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/plugins/x-plugin.alias.d.ts.map +1 -1
- package/types/plugins/x-plugin.types.d.ts +2 -0
- package/types/plugins/x-plugin.types.d.ts.map +1 -1
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts +11 -2
- package/types/x-modules/scroll/components/main-scroll.vue.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +2 -2
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/index.d.ts +1 -0
- package/types/x-modules/search/index.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts +2 -2
- package/types/x-modules/search/store/actions/fetch-and-save-search-response.action.d.ts.map +1 -1
- package/types/x-modules/search/store/emitters.d.ts +1 -1
- package/types/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +3 -2
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/types.d.ts +12 -0
- package/types/x-modules/search/types.d.ts.map +1 -0
- package/types/x-modules/search/wiring.d.ts +2 -2
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +3 -3
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,90 @@
|
|
|
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.39](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.38...@empathyco/x-components@3.0.0-alpha.39) (2021-12-22)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **design-system:** Add bottom variant to `x-shadow` utility in the Design System
|
|
11
|
+
([a23552f](https://github.com/empathyco/x/commit/a23552f29d1ec1b7939c770862d91f9e2f3a4890)),
|
|
12
|
+
closes [EX-5184](https://searchbroker.atlassian.net/browse/EX-5184)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- Fix multiple issues.
|
|
17
|
+
([2f5515e](https://github.com/empathyco/x/commit/2f5515e5bcaca67f085ff3eef4fb52698041292c)),
|
|
18
|
+
closes [EX-5179](https://searchbroker.atlassian.net/browse/EX-5179)
|
|
19
|
+
|
|
20
|
+
# Change Log
|
|
21
|
+
|
|
22
|
+
All notable changes to this project will be documented in this file. See
|
|
23
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
24
|
+
|
|
25
|
+
## [3.0.0-alpha.38](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.37...@empathyco/x-components@3.0.0-alpha.38) (2021-12-22)
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
- **desing-system:** Add new color tokens. (#275)
|
|
30
|
+
([e93fcc4](https://github.com/empathyco/x/commit/e93fcc4cea0e975441695f14a66b0863cb5896af)),
|
|
31
|
+
closes [EX-5171](https://searchbroker.atlassian.net/browse/EX-5171)
|
|
32
|
+
- **test:** refactor base tests to cypress component testing
|
|
33
|
+
([dc7a924](https://github.com/empathyco/x/commit/dc7a924b612411470742d222bcc6531fa656ce13)),
|
|
34
|
+
closes [EX-4928](https://searchbroker.atlassian.net/browse/EX-4928)
|
|
35
|
+
- **x-plugin:** Add selected sort (#274)
|
|
36
|
+
([b4c0d14](https://github.com/empathyco/x/commit/b4c0d140ca5eba8de189068fef5dd2a6249c1207)),
|
|
37
|
+
closes [EX-5165](https://searchbroker.atlassian.net/browse/EX-5165)
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
- **components:** Fix infinite scroll not working in Android Chrome. (#277)
|
|
42
|
+
([19c3d77](https://github.com/empathyco/x/commit/19c3d77f124a1bbc099bae0e5dbb80fb30a132a1)),
|
|
43
|
+
closes [EX-5181](https://searchbroker.atlassian.net/browse/EX-5181)
|
|
44
|
+
- **search:** rows and start parameters calculations moved from getter to action to avoid multiple
|
|
45
|
+
requests
|
|
46
|
+
([84752ba](https://github.com/empathyco/x/commit/84752ba3eb1ab728b6adf5cc62ea31646f42b959)),
|
|
47
|
+
closes [EX-5047](https://searchbroker.atlassian.net/browse/EX-5047)
|
|
48
|
+
|
|
49
|
+
# Change Log
|
|
50
|
+
|
|
51
|
+
All notable changes to this project will be documented in this file. See
|
|
52
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
53
|
+
|
|
54
|
+
## [3.0.0-alpha.37](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.36...@empathyco/x-components@3.0.0-alpha.37) (2021-12-15)
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
- **scroll:** remove animations on pending element to scroll
|
|
59
|
+
([7a33653](https://github.com/empathyco/x/commit/7a336531c4fedb2c38133a5464f9b7e9736cef68)),
|
|
60
|
+
closes [EX-5025](https://searchbroker.atlassian.net/browse/EX-5025)
|
|
61
|
+
- **tagging:** Include 'location' parameter to track result events. (#273)
|
|
62
|
+
([69bab4b](https://github.com/empathyco/x/commit/69bab4b81f85725f3fc0a9bdc3177db09dd46a40)),
|
|
63
|
+
closes [EX-5163](https://searchbroker.atlassian.net/browse/EX-5163)
|
|
64
|
+
[EX-5163](https://searchbroker.atlassian.net/browse/EX-5163)
|
|
65
|
+
|
|
66
|
+
# Change Log
|
|
67
|
+
|
|
68
|
+
All notable changes to this project will be documented in this file. See
|
|
69
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
70
|
+
|
|
71
|
+
## [3.0.0-alpha.36](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.35...@empathyco/x-components@3.0.0-alpha.36) (2021-12-15)
|
|
72
|
+
|
|
73
|
+
### Build System
|
|
74
|
+
|
|
75
|
+
- Load PostCSS plugins from rollup build (#272)
|
|
76
|
+
([aaed2f3](https://github.com/empathyco/x/commit/aaed2f328b0b7252853922703283c77bcd1221d0)),
|
|
77
|
+
closes [EX-5162](https://searchbroker.atlassian.net/browse/EX-5162)
|
|
78
|
+
|
|
79
|
+
### Testing
|
|
80
|
+
|
|
81
|
+
- **e2e:** fix tagging tests (#270)
|
|
82
|
+
([ff2ecba](https://github.com/empathyco/x/commit/ff2ecbac79fd3c16d72a05c133dbe0b60de606f7)),
|
|
83
|
+
closes [EX-5161](https://searchbroker.atlassian.net/browse/EX-5161)
|
|
84
|
+
|
|
85
|
+
# Change Log
|
|
86
|
+
|
|
87
|
+
All notable changes to this project will be documented in this file. See
|
|
88
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
89
|
+
|
|
6
90
|
## [3.0.0-alpha.35](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.34...@empathyco/x-components@3.0.0-alpha.35) (2021-12-14)
|
|
7
91
|
|
|
8
92
|
### Features
|
|
File without changes
|
package/design-system/base.css
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
--x-color-base-neutral-35: #595959;
|
|
13
13
|
--x-color-base-neutral-70: #b3b3b3;
|
|
14
14
|
--x-color-base-neutral-95: #f2f2f2;
|
|
15
|
-
--x-color-base-neutral-100: #ffffff;
|
|
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; }
|
|
16
19
|
|
|
17
|
-
/* Update this value if adding more values */
|
|
18
20
|
:root {
|
|
19
21
|
--x-size-base-01: 2px;
|
|
20
22
|
--x-size-base-02: 4px;
|
|
@@ -1827,6 +1827,7 @@
|
|
|
1827
1827
|
--x-number-font-weight-suggestion-group-default: var(--x-number-font-weight-suggestion-default); }
|
|
1828
1828
|
|
|
1829
1829
|
:root {
|
|
1830
|
+
--x-string-align-items-suggestion-default: center;
|
|
1830
1831
|
--x-color-text-suggestion-default: var(--x-color-text-default);
|
|
1831
1832
|
--x-color-text-suggestion-matching-part-default: var(--x-color-base-neutral-35);
|
|
1832
1833
|
--x-color-text-suggestion-default-matching: var(--x-color-text-suggestion-default);
|
|
@@ -1871,8 +1872,8 @@
|
|
|
1871
1872
|
.x-suggestion {
|
|
1872
1873
|
display: flex;
|
|
1873
1874
|
flex-flow: row nowrap;
|
|
1874
|
-
align-items: flex-start;
|
|
1875
1875
|
box-sizing: border-box;
|
|
1876
|
+
align-items: var(--x-string-align-items-suggestion-default);
|
|
1876
1877
|
border: none;
|
|
1877
1878
|
background-color: var(--x-color-background-suggestion-default);
|
|
1878
1879
|
color: var(--x-color-text-suggestion-default);
|
|
@@ -1891,7 +1892,8 @@
|
|
|
1891
1892
|
margin-right: var(--x-size-gap-suggestion-default); } }
|
|
1892
1893
|
.x-suggestion__query {
|
|
1893
1894
|
flex: 1 1 auto; }
|
|
1894
|
-
.x-suggestion__matching-part,
|
|
1895
|
+
.x-suggestion__matching-part,
|
|
1896
|
+
.x-suggestion .x-identifier-result__matching-part {
|
|
1895
1897
|
font-family: var(--x-font-family-suggestion-matching-part-default);
|
|
1896
1898
|
font-size: var(--x-size-font-suggestion-matching-part-default);
|
|
1897
1899
|
line-height: var(--x-size-line-height-suggestion-matching-part-default);
|
|
@@ -1909,6 +1911,7 @@
|
|
|
1909
1911
|
flex: none; }
|
|
1910
1912
|
|
|
1911
1913
|
:root {
|
|
1914
|
+
--x-string-align-items-suggestion-default: center;
|
|
1912
1915
|
--x-color-text-suggestion-default: var(--x-color-text-default);
|
|
1913
1916
|
--x-color-text-suggestion-matching-part-default: var(--x-color-base-neutral-35);
|
|
1914
1917
|
--x-color-text-suggestion-default-matching: var(--x-color-text-suggestion-default);
|
|
@@ -2011,15 +2014,18 @@
|
|
|
2011
2014
|
.x-tag > *:not(:last-child) {
|
|
2012
2015
|
margin-right: var(--x-size-gap-tag-default); } }
|
|
2013
2016
|
.x-tag.x-filter {
|
|
2014
|
-
--x-color-background-filter: transparent;
|
|
2015
|
-
--x-size-border-width-filter: 0;
|
|
2016
|
-
--x-color-text-filter: var(--x-color-text-tag-default);
|
|
2017
|
-
--x-size-padding-filter: 0;
|
|
2018
|
-
--x-size-
|
|
2019
|
-
--x-
|
|
2020
|
-
--x-size-
|
|
2021
|
-
--x-
|
|
2022
|
-
--x-
|
|
2017
|
+
--x-color-background-filter-default: transparent;
|
|
2018
|
+
--x-size-border-width-filter-default: 0;
|
|
2019
|
+
--x-color-text-filter-default: var(--x-color-text-tag-default);
|
|
2020
|
+
--x-size-padding-top-filter-default: 0;
|
|
2021
|
+
--x-size-padding-right-filter-default: var(--x-size-padding-right-tag-default);
|
|
2022
|
+
--x-size-padding-bottom-filter-default: 0;
|
|
2023
|
+
--x-size-padding-left-filter-default: var(--x-size-padding-left-tag-default);
|
|
2024
|
+
--x-size-gap-filter-default: var(--x-size-gap-tag-default);
|
|
2025
|
+
--x-font-family-filter-default: var(--x-font-family-tag-default);
|
|
2026
|
+
--x-size-font-filter-default: var(--x-size-font-tag-default);
|
|
2027
|
+
--x-number-font-weight-filter-count-default: var(--x-number-font-weight-tag-default);
|
|
2028
|
+
--x-size-line-height-filter-default: var(--x-size-line-height-tag-default); }
|
|
2023
2029
|
.x-tag.x-tag.x-tag--is-selected {
|
|
2024
2030
|
background-color: var(--x-color-background-tag-default-selected);
|
|
2025
2031
|
border-color: var(--x-color-border-tag-default-selected);
|
|
@@ -2029,11 +2035,13 @@
|
|
|
2029
2035
|
font-size: var(--x-size-font-tag-default-selected);
|
|
2030
2036
|
font-weight: var(--x-number-font-weight-tag-default-selected); }
|
|
2031
2037
|
.x-tag.x-tag.x-tag--is-selected.x-filter {
|
|
2032
|
-
--x-color-text-filter: var(--x-color-text-tag-default-selected);
|
|
2033
|
-
--x-font-family-filter: var(--x-font-family-tag-default-selected);
|
|
2034
|
-
--x-size-font-filter: var(--x-size-font-tag-default-selected);
|
|
2035
|
-
--x-number-font-weight-filter
|
|
2036
|
-
|
|
2038
|
+
--x-color-text-filter-default-selected: var(--x-color-text-tag-default-selected);
|
|
2039
|
+
--x-font-family-filter-default-selected: var(--x-font-family-tag-default-selected);
|
|
2040
|
+
--x-size-font-filter-default-selected: var(--x-size-font-tag-default-selected);
|
|
2041
|
+
--x-number-font-weight-filter-count-default-selected: var(
|
|
2042
|
+
--x-number-font-weight-tag-default-selected
|
|
2043
|
+
);
|
|
2044
|
+
--x-size-line-height-filter-default-selected: var(--x-size-line-height-tag-default-selected); }
|
|
2037
2045
|
|
|
2038
2046
|
:root {
|
|
2039
2047
|
--x-color-background-tag-default: var(--x-color-base-neutral-100);
|
|
@@ -2190,9 +2198,11 @@
|
|
|
2190
2198
|
--x-color-base-neutral-35: #595959;
|
|
2191
2199
|
--x-color-base-neutral-70: #b3b3b3;
|
|
2192
2200
|
--x-color-base-neutral-95: #f2f2f2;
|
|
2193
|
-
--x-color-base-neutral-100: #ffffff;
|
|
2201
|
+
--x-color-base-neutral-100: #ffffff;
|
|
2202
|
+
--x-color-base-accent: #b90276;
|
|
2203
|
+
--x-color-base-enable: #00705c;
|
|
2204
|
+
--x-color-base-disable: #e11f26; }
|
|
2194
2205
|
|
|
2195
|
-
/* Update this value if adding more values */
|
|
2196
2206
|
:root {
|
|
2197
2207
|
--x-size-base-01: 2px;
|
|
2198
2208
|
--x-size-base-02: 4px;
|