@empathyco/x-components 6.0.0-alpha.69 → 6.0.0-alpha.70
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 +9 -0
- package/design-system/deprecated-full-theme.css +106 -106
- package/docs/API-reference/api/x-components.featurelocation.md +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +1 -1
- package/report/x-components.api.md +1 -1
- package/types/types/origin.d.ts +1 -1
- package/types/types/origin.d.ts.map +1 -1
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
|
+
## [6.0.0-alpha.70](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.69...@empathyco/x-components@6.0.0-alpha.70) (2025-04-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add add2cart location to FeatureLocation type (#1764) ([732a0da](https://github.com/empathyco/x/commit/732a0da3c1fdd70c685078663809943a91d72627))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [6.0.0-alpha.69](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.68...@empathyco/x-components@6.0.0-alpha.69) (2025-04-28)
|
|
7
16
|
|
|
8
17
|
**Note:** Version bump only for package @empathyco/x-components
|
|
@@ -34,6 +34,25 @@
|
|
|
34
34
|
-webkit-text-decoration-line: none;
|
|
35
35
|
text-decoration-line: none;
|
|
36
36
|
}
|
|
37
|
+
.x-static {
|
|
38
|
+
position: static !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.x-fixed {
|
|
42
|
+
position: fixed !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.x-absolute {
|
|
46
|
+
position: absolute !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.x-relative {
|
|
50
|
+
position: relative !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.x-sticky {
|
|
54
|
+
position: sticky !important;
|
|
55
|
+
}
|
|
37
56
|
.x-padding--00 {
|
|
38
57
|
padding: 0 !important;
|
|
39
58
|
}
|
|
@@ -937,48 +956,6 @@
|
|
|
937
956
|
[dir="rtl"] .x-margin--left-20 {
|
|
938
957
|
margin-right: var(--x-size-base-20) !important;
|
|
939
958
|
}
|
|
940
|
-
.x-static {
|
|
941
|
-
position: static !important;
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
.x-fixed {
|
|
945
|
-
position: fixed !important;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
.x-absolute {
|
|
949
|
-
position: absolute !important;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
.x-relative {
|
|
953
|
-
position: relative !important;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
.x-sticky {
|
|
957
|
-
position: sticky !important;
|
|
958
|
-
}
|
|
959
|
-
.x-line-height--none {
|
|
960
|
-
line-height: 1 !important;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
.x-line-height--tight {
|
|
964
|
-
line-height: 1.25 !important;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
.x-line-height--snug {
|
|
968
|
-
line-height: 1.375 !important;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
.x-line-height--normal {
|
|
972
|
-
line-height: 1.5 !important;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
.x-line-height--relaxed {
|
|
976
|
-
line-height: 1.625 !important;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.x-line-height--loose {
|
|
980
|
-
line-height: 2 !important;
|
|
981
|
-
}
|
|
982
959
|
.x-line-clamp--2 {
|
|
983
960
|
overflow: hidden !important;
|
|
984
961
|
display: -webkit-box !important;
|
|
@@ -7295,13 +7272,6 @@
|
|
|
7295
7272
|
--x-size-border-radius-bottom-right-input-card: var(--x-size-border-radius-input-card);
|
|
7296
7273
|
--x-size-border-radius-bottom-left-input-card: var(--x-size-border-radius-input-card);
|
|
7297
7274
|
}
|
|
7298
|
-
:root {
|
|
7299
|
-
--x-size-border-radius-input-card: var(--x-size-border-radius-base-s);
|
|
7300
|
-
--x-size-border-radius-top-left-input-card: var(--x-size-border-radius-input-card);
|
|
7301
|
-
--x-size-border-radius-top-right-input-card: var(--x-size-border-radius-input-card);
|
|
7302
|
-
--x-size-border-radius-bottom-right-input-card: var(--x-size-border-radius-input-card);
|
|
7303
|
-
--x-size-border-radius-bottom-left-input-card: var(--x-size-border-radius-input-card);
|
|
7304
|
-
}
|
|
7305
7275
|
|
|
7306
7276
|
.x-input--card.x-input,
|
|
7307
7277
|
.x-input--card .x-input {
|
|
@@ -7316,12 +7286,15 @@
|
|
|
7316
7286
|
);
|
|
7317
7287
|
}
|
|
7318
7288
|
:root {
|
|
7319
|
-
--x-size-
|
|
7320
|
-
--x-size-
|
|
7289
|
+
--x-size-border-radius-input-card: var(--x-size-border-radius-base-s);
|
|
7290
|
+
--x-size-border-radius-top-left-input-card: var(--x-size-border-radius-input-card);
|
|
7291
|
+
--x-size-border-radius-top-right-input-card: var(--x-size-border-radius-input-card);
|
|
7292
|
+
--x-size-border-radius-bottom-right-input-card: var(--x-size-border-radius-input-card);
|
|
7293
|
+
--x-size-border-radius-bottom-left-input-card: var(--x-size-border-radius-input-card);
|
|
7321
7294
|
}
|
|
7322
7295
|
:root {
|
|
7323
|
-
--x-size-width-icon-
|
|
7324
|
-
--x-size-height-icon-
|
|
7296
|
+
--x-size-width-icon-xl: var(--x-size-base-07);
|
|
7297
|
+
--x-size-height-icon-xl: var(--x-size-base-07);
|
|
7325
7298
|
}
|
|
7326
7299
|
:root {
|
|
7327
7300
|
--x-size-width-icon-xl: var(--x-size-base-07);
|
|
@@ -7336,6 +7309,10 @@
|
|
|
7336
7309
|
--x-size-width-icon-s: var(--x-size-base-03);
|
|
7337
7310
|
--x-size-height-icon-s: var(--x-size-base-03);
|
|
7338
7311
|
}
|
|
7312
|
+
:root {
|
|
7313
|
+
--x-size-width-icon-s: var(--x-size-base-03);
|
|
7314
|
+
--x-size-height-icon-s: var(--x-size-base-03);
|
|
7315
|
+
}
|
|
7339
7316
|
|
|
7340
7317
|
.x-icon--s {
|
|
7341
7318
|
--x-size-width-icon-default: var(--x-size-width-icon-s);
|
|
@@ -7437,6 +7414,12 @@
|
|
|
7437
7414
|
.x-grid-list--cols-auto .x-grid-list__item {
|
|
7438
7415
|
min-width: var(--x-size-min-width-grid-item);
|
|
7439
7416
|
}
|
|
7417
|
+
.x-filter--justified.x-filter > *:last-child:not(.x-filter__label),
|
|
7418
|
+
.x-filter--justified.x-facet-filter > *:last-child:not(.x-filter__label),
|
|
7419
|
+
.x-filter--justified .x-filter > *:last-child:not(.x-filter__label),
|
|
7420
|
+
.x-filter--justified .x-facet-filter > *:last-child:not(.x-filter__label) {
|
|
7421
|
+
margin-left: auto;
|
|
7422
|
+
}
|
|
7440
7423
|
:root {
|
|
7441
7424
|
--x-size-margin-filter-children: 0;
|
|
7442
7425
|
--x-size-padding-top-filter-children: 0;
|
|
@@ -7444,12 +7427,6 @@
|
|
|
7444
7427
|
--x-size-padding-bottom-filter-children: 0;
|
|
7445
7428
|
--x-size-padding-left-filter-children: var(--x-size-base-05);
|
|
7446
7429
|
}
|
|
7447
|
-
.x-filter--justified.x-filter > *:last-child:not(.x-filter__label),
|
|
7448
|
-
.x-filter--justified.x-facet-filter > *:last-child:not(.x-filter__label),
|
|
7449
|
-
.x-filter--justified .x-filter > *:last-child:not(.x-filter__label),
|
|
7450
|
-
.x-filter--justified .x-facet-filter > *:last-child:not(.x-filter__label) {
|
|
7451
|
-
margin-left: auto;
|
|
7452
|
-
}
|
|
7453
7430
|
:root {
|
|
7454
7431
|
--x-size-margin-filter-children: 0;
|
|
7455
7432
|
--x-size-padding-top-filter-children: 0;
|
|
@@ -7889,6 +7866,18 @@
|
|
|
7889
7866
|
--x-size-padding-bottom-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7890
7867
|
--x-size-padding-left-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7891
7868
|
}
|
|
7869
|
+
:root {
|
|
7870
|
+
--x-size-border-radius-facet-card: var(--x-size-border-radius-base-s);
|
|
7871
|
+
--x-size-border-radius-top-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
7872
|
+
--x-size-border-radius-top-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
7873
|
+
--x-size-border-radius-bottom-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
7874
|
+
--x-size-border-radius-bottom-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
7875
|
+
--x-size-padding-facet-header-card: var(--x-size-base-03);
|
|
7876
|
+
--x-size-padding-top-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7877
|
+
--x-size-padding-right-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7878
|
+
--x-size-padding-bottom-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7879
|
+
--x-size-padding-left-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7880
|
+
}
|
|
7892
7881
|
|
|
7893
7882
|
.x-facet--card.x-facet,
|
|
7894
7883
|
.x-facet--card .x-facet {
|
|
@@ -7903,18 +7892,6 @@
|
|
|
7903
7892
|
--x-size-padding-bottom-facet-header-default: var(--x-size-padding-bottom-facet-header-card);
|
|
7904
7893
|
--x-size-padding-left-facet-header-default: var(--x-size-padding-left-facet-header-card);
|
|
7905
7894
|
}
|
|
7906
|
-
:root {
|
|
7907
|
-
--x-size-border-radius-facet-card: var(--x-size-border-radius-base-s);
|
|
7908
|
-
--x-size-border-radius-top-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
7909
|
-
--x-size-border-radius-top-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
7910
|
-
--x-size-border-radius-bottom-right-facet-card: var(--x-size-border-radius-facet-card);
|
|
7911
|
-
--x-size-border-radius-bottom-left-facet-card: var(--x-size-border-radius-facet-card);
|
|
7912
|
-
--x-size-padding-facet-header-card: var(--x-size-base-03);
|
|
7913
|
-
--x-size-padding-top-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7914
|
-
--x-size-padding-right-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7915
|
-
--x-size-padding-bottom-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7916
|
-
--x-size-padding-left-facet-header-card: var(--x-size-padding-facet-header-card);
|
|
7917
|
-
}
|
|
7918
7895
|
:root {
|
|
7919
7896
|
--x-size-width-dropdown-xl: 282px;
|
|
7920
7897
|
}
|
|
@@ -7991,6 +7968,13 @@
|
|
|
7991
7968
|
:root {
|
|
7992
7969
|
--x-size-width-dropdown-m: 130px;
|
|
7993
7970
|
}
|
|
7971
|
+
:root {
|
|
7972
|
+
--x-size-width-dropdown-m: 130px;
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
.x-dropdown.x-dropdown--m {
|
|
7976
|
+
--x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-m);
|
|
7977
|
+
}
|
|
7994
7978
|
:root {
|
|
7995
7979
|
--x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
|
|
7996
7980
|
--x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
|
|
@@ -8015,13 +7999,6 @@
|
|
|
8015
7999
|
--x-size-border-width-bottom-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
8016
8000
|
--x-size-border-width-left-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
|
|
8017
8001
|
}
|
|
8018
|
-
:root {
|
|
8019
|
-
--x-size-width-dropdown-m: 130px;
|
|
8020
|
-
}
|
|
8021
|
-
|
|
8022
|
-
.x-dropdown.x-dropdown--m {
|
|
8023
|
-
--x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-m);
|
|
8024
|
-
}
|
|
8025
8002
|
:root {
|
|
8026
8003
|
--x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
|
|
8027
8004
|
--x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
|
|
@@ -8423,19 +8400,6 @@
|
|
|
8423
8400
|
--x-size-border-width-bottom-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8424
8401
|
--x-size-border-width-left-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8425
8402
|
}
|
|
8426
|
-
:root {
|
|
8427
|
-
--x-size-gap-dropdown-card: var(--x-size-base-03);
|
|
8428
|
-
--x-size-border-radius-dropdown-card: var(--x-size-border-radius-base-s);
|
|
8429
|
-
--x-size-border-radius-top-left-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8430
|
-
--x-size-border-radius-top-right-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8431
|
-
--x-size-border-radius-bottom-right-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8432
|
-
--x-size-border-radius-bottom-left-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8433
|
-
--x-size-border-width-dropdown-list-card: var(--x-size-border-width-base);
|
|
8434
|
-
--x-size-border-width-top-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8435
|
-
--x-size-border-width-right-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8436
|
-
--x-size-border-width-bottom-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8437
|
-
--x-size-border-width-left-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8438
|
-
}
|
|
8439
8403
|
|
|
8440
8404
|
.x-dropdown--card {
|
|
8441
8405
|
--x-size-gap-dropdown-default: var(--x-size-gap-dropdown-card);
|
|
@@ -8466,6 +8430,29 @@
|
|
|
8466
8430
|
--x-size-border-width-left-dropdown-list-card
|
|
8467
8431
|
);
|
|
8468
8432
|
}
|
|
8433
|
+
:root {
|
|
8434
|
+
--x-size-gap-dropdown-card: var(--x-size-base-03);
|
|
8435
|
+
--x-size-border-radius-dropdown-card: var(--x-size-border-radius-base-s);
|
|
8436
|
+
--x-size-border-radius-top-left-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8437
|
+
--x-size-border-radius-top-right-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8438
|
+
--x-size-border-radius-bottom-right-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8439
|
+
--x-size-border-radius-bottom-left-dropdown-card: var(--x-size-border-radius-dropdown-card);
|
|
8440
|
+
--x-size-border-width-dropdown-list-card: var(--x-size-border-width-base);
|
|
8441
|
+
--x-size-border-width-top-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8442
|
+
--x-size-border-width-right-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8443
|
+
--x-size-border-width-bottom-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8444
|
+
--x-size-border-width-left-dropdown-list-card: var(--x-size-border-width-dropdown-list-card);
|
|
8445
|
+
}
|
|
8446
|
+
:root {
|
|
8447
|
+
--x-color-background-button-tertiary: var(--x-color-base-neutral-95);
|
|
8448
|
+
--x-color-border-button-tertiary: var(--x-color-base-neutral-70);
|
|
8449
|
+
--x-color-text-button-tertiary: var(--x-color-text-default);
|
|
8450
|
+
--x-size-border-width-button-tertiary: var(--x-size-border-width-base);
|
|
8451
|
+
--x-size-border-width-top-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8452
|
+
--x-size-border-width-right-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8453
|
+
--x-size-border-width-bottom-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8454
|
+
--x-size-border-width-left-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8455
|
+
}
|
|
8469
8456
|
:root {
|
|
8470
8457
|
--x-color-background-button-tertiary: var(--x-color-base-neutral-95);
|
|
8471
8458
|
--x-color-border-button-tertiary: var(--x-color-base-neutral-70);
|
|
@@ -8487,16 +8474,6 @@
|
|
|
8487
8474
|
--x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-tertiary);
|
|
8488
8475
|
--x-size-border-width-left-button-default: var(--x-size-border-width-left-button-tertiary);
|
|
8489
8476
|
}
|
|
8490
|
-
:root {
|
|
8491
|
-
--x-color-background-button-tertiary: var(--x-color-base-neutral-95);
|
|
8492
|
-
--x-color-border-button-tertiary: var(--x-color-base-neutral-70);
|
|
8493
|
-
--x-color-text-button-tertiary: var(--x-color-text-default);
|
|
8494
|
-
--x-size-border-width-button-tertiary: var(--x-size-border-width-base);
|
|
8495
|
-
--x-size-border-width-top-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8496
|
-
--x-size-border-width-right-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8497
|
-
--x-size-border-width-bottom-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8498
|
-
--x-size-border-width-left-button-tertiary: var(--x-size-border-width-button-tertiary);
|
|
8499
|
-
}
|
|
8500
8477
|
:root {
|
|
8501
8478
|
--x-color-background-button-secondary: transparent;
|
|
8502
8479
|
--x-color-border-button-secondary: var(--x-color-border-button-default);
|
|
@@ -8598,11 +8575,6 @@
|
|
|
8598
8575
|
--x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
|
|
8599
8576
|
--x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
|
|
8600
8577
|
}
|
|
8601
|
-
:root {
|
|
8602
|
-
--x-color-background-button-ghost: transparent;
|
|
8603
|
-
--x-color-border-button-ghost: transparent;
|
|
8604
|
-
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8605
|
-
}
|
|
8606
8578
|
:root {
|
|
8607
8579
|
--x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
|
|
8608
8580
|
--x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
|
|
@@ -8630,6 +8602,11 @@
|
|
|
8630
8602
|
--x-color-border-button-ghost: transparent;
|
|
8631
8603
|
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8632
8604
|
}
|
|
8605
|
+
:root {
|
|
8606
|
+
--x-color-background-button-ghost: transparent;
|
|
8607
|
+
--x-color-border-button-ghost: transparent;
|
|
8608
|
+
--x-color-text-button-ghost: var(--x-color-base-lead);
|
|
8609
|
+
}
|
|
8633
8610
|
|
|
8634
8611
|
.x-button--ghost.x-button,
|
|
8635
8612
|
.x-button--ghost .x-button {
|
|
@@ -8884,4 +8861,27 @@
|
|
|
8884
8861
|
--x-size-border-radius-base-m: var(--x-size-base-06);
|
|
8885
8862
|
--x-size-border-radius-base-pill: 99999px;
|
|
8886
8863
|
--x-size-border-width-base: 1px;
|
|
8864
|
+
}
|
|
8865
|
+
.x-line-height--none {
|
|
8866
|
+
line-height: 1 !important;
|
|
8867
|
+
}
|
|
8868
|
+
|
|
8869
|
+
.x-line-height--tight {
|
|
8870
|
+
line-height: 1.25 !important;
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8873
|
+
.x-line-height--snug {
|
|
8874
|
+
line-height: 1.375 !important;
|
|
8875
|
+
}
|
|
8876
|
+
|
|
8877
|
+
.x-line-height--normal {
|
|
8878
|
+
line-height: 1.5 !important;
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8881
|
+
.x-line-height--relaxed {
|
|
8882
|
+
line-height: 1.625 !important;
|
|
8883
|
+
}
|
|
8884
|
+
|
|
8885
|
+
.x-line-height--loose {
|
|
8886
|
+
line-height: 2 !important;
|
|
8887
8887
|
}
|
|
@@ -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' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts';
|
|
12
|
+
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts' | 'add2cart';
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Example 1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.70",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"access": "public",
|
|
143
143
|
"directory": "dist"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "60f58a334d18e91f8e0be0311c864d78cacb3714"
|
|
146
146
|
}
|
|
@@ -23160,7 +23160,7 @@
|
|
|
23160
23160
|
},
|
|
23161
23161
|
{
|
|
23162
23162
|
"kind": "Content",
|
|
23163
|
-
"text": "'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts'"
|
|
23163
|
+
"text": "'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts' | 'add2cart'"
|
|
23164
23164
|
},
|
|
23165
23165
|
{
|
|
23166
23166
|
"kind": "Content",
|
|
@@ -2841,7 +2841,7 @@ fromNoResultsWithFilters: ComputedRef<boolean>;
|
|
|
2841
2841
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
2842
2842
|
|
|
2843
2843
|
// @public
|
|
2844
|
-
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts';
|
|
2844
|
+
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts' | 'add2cart';
|
|
2845
2845
|
|
|
2846
2846
|
// @public
|
|
2847
2847
|
export interface FetchAndSaveActions<Context extends XActionContext<StatusState, object, StatusMutations, object>, Request> {
|
package/types/types/origin.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type ResultFeature = 'search' | 'topclicked_recommendations' | 'brand_rec
|
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
|
-
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts';
|
|
39
|
+
export type FeatureLocation = 'external' | 'my_history' | 'no_query' | 'results' | 'no_results' | 'low_results' | 'none' | 'predictive_layer' | 'pdp' | 'url_history' | 'url_history_pdp' | 'related_prompts' | 'add2cart';
|
|
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,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,YAAY,IAAI,eAAe,EAAE,CAAA;AAC9D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,aAAa,IAAI,eAAe,EAAE,CAAA;AAEhE;;;;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,GACV,WAAW,GACX,iBAAiB,CAAA;AAErB;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,4BAA4B,GAC5B,uBAAuB,GACvB,4BAA4B,GAC5B,0BAA0B,GAC1B,iBAAiB,GACjB,mBAAmB,GACnB,iBAAiB,CAAA;AAErB;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,KAAK,GACL,aAAa,GACb,iBAAiB,GACjB,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"origin.d.ts","sourceRoot":"","sources":["../../../src/types/origin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,YAAY,IAAI,eAAe,EAAE,CAAA;AAC9D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,GAAG,aAAa,IAAI,eAAe,EAAE,CAAA;AAEhE;;;;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,GACV,WAAW,GACX,iBAAiB,CAAA;AAErB;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,4BAA4B,GAC5B,uBAAuB,GACvB,4BAA4B,GAC5B,0BAA0B,GAC1B,iBAAiB,GACjB,mBAAmB,GACnB,iBAAiB,CAAA;AAErB;;;;;;;;;;GAUG;AACH,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,YAAY,GACZ,UAAU,GACV,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,KAAK,GACL,aAAa,GACb,iBAAiB,GACjB,iBAAiB,GACjB,UAAU,CAAA;AAEd;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC,CAAA"}
|