@empathyco/x-components 3.0.0-alpha.374 → 3.0.0-alpha.375

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 CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.375](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.374...@empathyco/x-components@3.0.0-alpha.375) (2023-05-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **tagging:** add new type values to ResultFeature and FeatureLocation (#1209) ([a48dc72](https://github.com/empathyco/x/commit/a48dc720b10d7e8ad59445f684cee3fc18d9bb8d))
12
+
13
+
14
+
6
15
  ## [3.0.0-alpha.374](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.373...@empathyco/x-components@3.0.0-alpha.374) (2023-05-24)
7
16
 
8
17
  **Note:** Version bump only for package @empathyco/x-components
@@ -1,3 +1,5 @@
1
+
2
+
1
3
  .x-uppercase {
2
4
  text-transform: uppercase;
3
5
  }
@@ -950,7 +952,6 @@
950
952
  [dir="rtl"] .x-margin--left-20 {
951
953
  margin-right: var(--x-size-base-20) !important;
952
954
  }
953
-
954
955
  .x-line-height--none {
955
956
  line-height: 1 !important;
956
957
  }
@@ -4172,6 +4173,12 @@
4172
4173
  --x-number-font-weight-suggestion-default-matching
4173
4174
  );
4174
4175
  }
4176
+ :root {
4177
+ --x-color-background-sliding-panel: var(--x-color-base-neutral-100);
4178
+ --x-size-width-sliding-panel-gradient: var(--x-size-base-09);
4179
+ --x-size-padding-sliding-panel-button: var(--x-size-base-03);
4180
+ --x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
4181
+ }
4175
4182
  :root {
4176
4183
  --x-string-align-items-suggestion-default: center;
4177
4184
  --x-color-text-suggestion-default: var(--x-color-text-default);
@@ -4394,12 +4401,6 @@
4394
4401
  --x-color-text-suggestion-default-matching-curated
4395
4402
  );
4396
4403
  }
4397
- :root {
4398
- --x-color-background-sliding-panel: var(--x-color-base-neutral-100);
4399
- --x-size-width-sliding-panel-gradient: var(--x-size-base-09);
4400
- --x-size-padding-sliding-panel-button: var(--x-size-base-03);
4401
- --x-size-horizontal-margin-sliding-panel-button-overflow: var(--x-size-base-02);
4402
- }
4403
4404
  .x-sliding-panel {
4404
4405
  z-index: 0;
4405
4406
  background-color: var(--x-color-background-sliding-panel);
@@ -4817,6 +4818,23 @@
4817
4818
  --x-size-border-width-result-description-default: 0;
4818
4819
  --x-size-border-width-result-picture-default: 0;
4819
4820
  }
4821
+ :root {
4822
+ --x-color-border-result-default: var(--x-color-base-lead);
4823
+ --x-color-border-result-overlay-default: var(--x-color-border-result-default);
4824
+ --x-color-border-result-description-default: var(--x-color-border-result-default);
4825
+ --x-color-border-result-picture-default: var(--x-color-border-result-default);
4826
+ --x-color-background-result-default: transparent;
4827
+ --x-size-padding-result-default: 0;
4828
+ --x-size-padding-result-overlay-default: 0;
4829
+ --x-size-padding-result-description-default: 0;
4830
+ --x-size-gap-result-default: var(--x-size-base-03);
4831
+ --x-size-padding-result-picture-default: 0;
4832
+ --x-size-border-radius-result-default: var(--x-size-border-radius-base-none);
4833
+ --x-size-border-width-result-default: 0;
4834
+ --x-size-border-width-result-overlay-default: 0;
4835
+ --x-size-border-width-result-description-default: 0;
4836
+ --x-size-border-width-result-picture-default: 0;
4837
+ }
4820
4838
 
4821
4839
  .x-result {
4822
4840
  display: grid;
@@ -4871,25 +4889,16 @@
4871
4889
  }
4872
4890
  }
4873
4891
  :root {
4874
- --x-color-border-result-default: var(--x-color-base-lead);
4875
- --x-color-border-result-overlay-default: var(--x-color-border-result-default);
4876
- --x-color-border-result-description-default: var(--x-color-border-result-default);
4877
- --x-color-border-result-picture-default: var(--x-color-border-result-default);
4878
- --x-color-background-result-default: transparent;
4879
- --x-size-padding-result-default: 0;
4880
- --x-size-padding-result-overlay-default: 0;
4881
- --x-size-padding-result-description-default: 0;
4882
- --x-size-gap-result-default: var(--x-size-base-03);
4883
- --x-size-padding-result-picture-default: 0;
4884
- --x-size-border-radius-result-default: var(--x-size-border-radius-base-none);
4885
- --x-size-border-width-result-default: 0;
4886
- --x-size-border-width-result-overlay-default: 0;
4887
- --x-size-border-width-result-description-default: 0;
4888
- --x-size-border-width-result-picture-default: 0;
4892
+ --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
4889
4893
  }
4890
4894
  :root {
4891
4895
  --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
4892
4896
  }
4897
+
4898
+ .x-result.x-result--card {
4899
+ overflow: hidden;
4900
+ --x-size-border-radius-result-default: var(--x-size-border-radius-result-card);
4901
+ }
4893
4902
  :root {
4894
4903
  --x-size-height-progress-bar-line-default: var(--x-size-base-02);
4895
4904
  --x-size-width-progress-bar-line-default: var(--x-size-base-20);
@@ -4924,14 +4933,6 @@
4924
4933
  border-radius: var(--x-size-border-radius-progress-bar-default);
4925
4934
  background-color: var(--x-color-background-progress-bar-line-default);
4926
4935
  }
4927
- :root {
4928
- --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
4929
- }
4930
-
4931
- .x-result.x-result--card {
4932
- overflow: hidden;
4933
- --x-size-border-radius-result-default: var(--x-size-border-radius-result-card);
4934
- }
4935
4936
  :root {
4936
4937
  --x-number-zoom-scale-picture: 1.1;
4937
4938
  --x-number-zoom-duration-picture: 0.3s;
@@ -4950,14 +4951,14 @@
4950
4951
  :root {
4951
4952
  --x-number-aspect-ratio-picture: 1;
4952
4953
  }
4954
+ :root {
4955
+ --x-number-aspect-ratio-picture: 1;
4956
+ }
4953
4957
 
4954
4958
  .x-picture--fixed-ratio.x-picture {
4955
4959
  aspect-ratio: var(--x-number-aspect-ratio-picture);
4956
4960
  width: 100%;
4957
4961
  }
4958
- :root {
4959
- --x-number-aspect-ratio-picture: 1;
4960
- }
4961
4962
  :root {
4962
4963
  --x-size-border-radius-picture-default: 0;
4963
4964
  --x-size-border-radius-top-picture-default: var(--x-size-border-radius-picture-default);
@@ -5585,22 +5586,6 @@
5585
5586
  --x-size-font-message-default: var(--x-size-font-title3);
5586
5587
  --x-number-font-weight-message-default: var(--x-number-font-weight-title3);
5587
5588
  }
5588
- /* @deprecated */
5589
- :root {
5590
- --x-size-padding-list-01: var(--x-size-base-01);
5591
- --x-size-padding-list-02: var(--x-size-base-02);
5592
- --x-size-padding-list-03: var(--x-size-base-03);
5593
- --x-size-padding-list-04: var(--x-size-base-04);
5594
- --x-size-padding-list-05: var(--x-size-base-05);
5595
- --x-size-padding-list-06: var(--x-size-base-06);
5596
- --x-size-padding-list-07: var(--x-size-base-07);
5597
- --x-size-padding-list-08: var(--x-size-base-08);
5598
- --x-size-padding-list-09: var(--x-size-base-09);
5599
- --x-size-padding-list-10: var(--x-size-base-10);
5600
- --x-size-padding-list-11: var(--x-size-base-11);
5601
- --x-size-padding-list-12: var(--x-size-base-12);
5602
- --x-size-padding-list-13: var(--x-size-base-13);
5603
- }
5604
5589
  :root {
5605
5590
  --x-string-justify-message-default: center;
5606
5591
  --x-size-gap-message-default: var(--x-size-base-03);
@@ -5688,6 +5673,22 @@
5688
5673
  --x-size-padding-list-12: var(--x-size-base-12);
5689
5674
  --x-size-padding-list-13: var(--x-size-base-13);
5690
5675
  }
5676
+ /* @deprecated */
5677
+ :root {
5678
+ --x-size-padding-list-01: var(--x-size-base-01);
5679
+ --x-size-padding-list-02: var(--x-size-base-02);
5680
+ --x-size-padding-list-03: var(--x-size-base-03);
5681
+ --x-size-padding-list-04: var(--x-size-base-04);
5682
+ --x-size-padding-list-05: var(--x-size-base-05);
5683
+ --x-size-padding-list-06: var(--x-size-base-06);
5684
+ --x-size-padding-list-07: var(--x-size-base-07);
5685
+ --x-size-padding-list-08: var(--x-size-base-08);
5686
+ --x-size-padding-list-09: var(--x-size-base-09);
5687
+ --x-size-padding-list-10: var(--x-size-base-10);
5688
+ --x-size-padding-list-11: var(--x-size-base-11);
5689
+ --x-size-padding-list-12: var(--x-size-base-12);
5690
+ --x-size-padding-list-13: var(--x-size-base-13);
5691
+ }
5691
5692
 
5692
5693
  /* @deprecated */
5693
5694
  [class*=x-list--padding-].x-list.x-list--padding-top:not(.x-list--padding-right) {
@@ -8840,4 +8841,4 @@
8840
8841
  --x-size-border-radius-base-m: var(--x-size-base-06);
8841
8842
  --x-size-border-radius-base-pill: 99999px;
8842
8843
  --x-size-border-width-base: 1px;
8843
- }
8844
+ }
@@ -9,7 +9,7 @@ Indicates where the feature is placed.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'no_results' | 'none' | 'predictive_layer' | 'results' | 'pdp' | 'url_history' | 'url_history_pdp';
12
+ export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
13
13
  ```
14
14
 
15
15
  ## Example 1
@@ -9,5 +9,5 @@ The name of the tool that generated the results.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result';
12
+ export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result' | 'brand_recommendations' | 'semantics';
13
13
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.0.0-alpha.374",
3
+ "version": "3.0.0-alpha.375",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -143,5 +143,5 @@
143
143
  "access": "public",
144
144
  "directory": "dist"
145
145
  },
146
- "gitHead": "1394c8e94386fa6f9f53ffd8cc7a70bbf359f6c1"
146
+ "gitHead": "471cfda78e6eed892cb490b1a5be989440ae3998"
147
147
  }
@@ -19793,7 +19793,7 @@
19793
19793
  },
19794
19794
  {
19795
19795
  "kind": "Content",
19796
- "text": "'external' | 'my_history' | 'no_query' | 'no_results' | 'none' | 'predictive_layer' | 'results' | 'pdp' | 'url_history' | 'url_history_pdp'"
19796
+ "text": "'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp'"
19797
19797
  },
19798
19798
  {
19799
19799
  "kind": "Content",
@@ -43131,7 +43131,7 @@
43131
43131
  },
43132
43132
  {
43133
43133
  "kind": "Content",
43134
- "text": "'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result'"
43134
+ "text": "'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result' | 'brand_recommendations' | 'semantics'"
43135
43135
  },
43136
43136
  {
43137
43137
  "kind": "Content",
@@ -1963,7 +1963,7 @@ export class FallbackDisclaimer extends Vue_2 {
1963
1963
  }
1964
1964
 
1965
1965
  // @public
1966
- export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'no_results' | 'none' | 'predictive_layer' | 'results' | 'pdp' | 'url_history' | 'url_history_pdp';
1966
+ export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
1967
1967
 
1968
1968
  // @public
1969
1969
  export interface FetchAndSaveActions<Context extends XActionContext<StatusState, object, StatusMutations, object>, Request> {
@@ -4034,7 +4034,7 @@ export function resettableState(): {
4034
4034
  export const RESULT_WITH_VARIANTS_KEY: XInjectKey<Result>;
4035
4035
 
4036
4036
  // @public
4037
- export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result';
4037
+ export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result' | 'brand_recommendations' | 'semantics';
4038
4038
 
4039
4039
  // @public
4040
4040
  export type ResultOrigin = `${ResultFeature}:${FeatureLocation}`;
@@ -24,7 +24,7 @@ export type QueryFeature = 'search_box' | 'url' | 'query_suggestion' | 'next_que
24
24
  *
25
25
  * @public
26
26
  */
27
- export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result';
27
+ export type ResultFeature = 'search' | 'recommendations' | 'next_query_results' | 'partial_results' | 'identifier_result' | 'brand_recommendations' | 'semantics';
28
28
  /**
29
29
  * Indicates where the feature is placed.
30
30
  *
@@ -36,7 +36,7 @@ export type ResultFeature = 'search' | 'recommendations' | 'next_query_results'
36
36
  *
37
37
  * @public
38
38
  */
39
- export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'no_results' | 'none' | 'predictive_layer' | 'results' | 'pdp' | 'url_history' | 'url_history_pdp';
39
+ export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp';
40
40
  /**
41
41
  * Parameters to create a {@link QueryOrigin} or {@link ResultOrigin}.
42
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"origin.d.ts","sourceRoot":"","sources":["../../../src/types/origin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,YAAY,IAAI,eAAe,EAAE,CAAC;AAC/D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,aAAa,IAAI,eAAe,EAAE,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,KAAK,GACL,kBAAkB,GAClB,YAAY,GACZ,gBAAgB,GAChB,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,UAAU,CAAC;AAEf;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,iBAAiB,GACjB,oBAAoB,GACpB,iBAAiB,GACjB,mBAAmB,CAAC;AAExB;;;;;;;;;;GAUG;A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