@empathyco/x-components 3.0.0-alpha.362 → 3.0.0-alpha.363

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,18 @@
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.363](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.362...@empathyco/x-components@3.0.0-alpha.363) (2023-05-03)
7
+
8
+ ### Features
9
+
10
+ - Adapt Result mapping according to new API standard (#1039)
11
+ ([89186b6](https://github.com/empathyco/x/commit/89186b604d72f18bce257b88b536243c11c5ddf3))
12
+
13
+ # Change Log
14
+
15
+ All notable changes to this project will be documented in this file. See
16
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
17
+
6
18
  ## [3.0.0-alpha.362](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.361...@empathyco/x-components@3.0.0-alpha.362) (2023-05-02)
7
19
 
8
20
  ### Features
@@ -1,51 +1,46 @@
1
1
  :root {
2
- --x-color-background-badge-default: var(--x-color-base-neutral-10);
3
- --x-color-text-badge-default: var(--x-color-base-neutral-100);
4
- --x-color-border-badge-default: var(--x-color-base-neutral-10);
5
- --x-size-border-radius-badge-default: var(--x-size-border-radius-base-pill);
6
- --x-size-border-width-badge-default: 0;
7
- --x-size-width-badge-default: 1.5em;
8
- --x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
9
- --x-size-font-badge-default: var(--x-size-font-base-xs);
2
+ --x-color-background-button-ghost: transparent;
3
+ --x-color-border-button-ghost: transparent;
4
+ --x-color-text-button-ghost: var(--x-color-base-lead);
10
5
  }
11
6
 
12
- [dir="ltr"] .x-badge {
13
- right: calc(var(--x-size-width-badge-default) / 4);
7
+ .x-button--ghost.x-button,
8
+ .x-button--ghost .x-button {
9
+ --x-color-background-button-default: var(--x-color-background-button-ghost);
10
+ --x-color-border-button-default: var(--x-color-border-button-ghost);
11
+ --x-color-text-button-default: var(--x-color-text-button-ghost);
14
12
  }
15
13
 
16
- [dir="rtl"] .x-badge {
17
- left: calc(var(--x-size-width-badge-default) / 4);
14
+ .x-button--ghost.x-button--ghost-start.x-button,
15
+ .x-button--ghost.x-button--ghost-start .x-button {
16
+ --x-size-padding-left-button-default: 0;
18
17
  }
19
18
 
20
- .x-badge {
21
- border-radius: var(--x-size-border-radius-badge-default);
22
- border-style: solid;
23
- border-width: var(--x-size-border-width-badge-default);
24
- font-size: var(--x-size-font-badge-default);
25
- font-weight: var(--x-number-font-weight-badge-default);
26
- box-sizing: border-box;
27
- position: absolute;
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- transform: translate(50%, -50%);
32
- z-index: 1;
33
- /* We dont' want to have the button fully centered in the top right corner, the top right corner
34
- of the text is the one that should be aligned with the top right corner of the container. */
35
- top: calc(var(--x-size-width-badge-default) / 4);
36
- min-width: var(--x-size-width-badge-default);
37
- height: var(--x-size-width-badge-default);
38
- padding: 2px;
39
- background: var(--x-color-background-badge-default);
40
- color: var(--x-color-text-badge-default);
41
- border-color: var(--x-color-border-badge-default);
19
+ .x-button--ghost.x-button--ghost-end.x-button,
20
+ .x-button--ghost.x-button--ghost-end .x-button {
21
+ --x-size-padding-right-button-default: 0;
42
22
  }
43
- [dir="rtl"] .x-badge {
44
- transform: translate(-50%, -50%);
23
+ :root {
24
+ --x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
25
+ --x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
26
+ --x-size-border-radius-top-right-button-pill: var(--x-size-border-radius-button-pill);
27
+ --x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
28
+ --x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
45
29
  }
46
30
 
47
- .x-badge-container {
48
- position: relative;
31
+ .x-button--pill.x-button,
32
+ .x-button--pill .x-button {
33
+ --x-size-border-radius-button-default: var(--x-size-border-radius-button-pill);
34
+ --x-size-border-radius-top-left-button-default: var(--x-size-border-radius-top-left-button-pill);
35
+ --x-size-border-radius-top-right-button-default: var(
36
+ --x-size-border-radius-top-right-button-pill
37
+ );
38
+ --x-size-border-radius-bottom-right-button-default: var(
39
+ --x-size-border-radius-bottom-right-button-pill
40
+ );
41
+ --x-size-border-radius-bottom-left-button-default: var(
42
+ --x-size-border-radius-bottom-left-button-pill
43
+ );
49
44
  }
50
45
  :root {
51
46
  --x-size-border-radius-button-card: var(--x-size-border-radius-base-s);
@@ -69,6 +64,27 @@
69
64
  --x-size-border-radius-bottom-left-button-card
70
65
  );
71
66
  }
67
+ :root {
68
+ --x-color-background-button-primary: var(--x-color-background-button-default);
69
+ --x-color-border-button-primary: var(--x-color-border-button-default);
70
+ --x-color-text-button-primary: var(--x-color-text-button-default);
71
+ --x-size-border-width-button-primary: var(--x-size-border-width-base);
72
+ --x-size-border-width-top-button-primary: var(--x-size-border-width-button-primary);
73
+ --x-size-border-width-right-button-primary: var(--x-size-border-width-button-primary);
74
+ --x-size-border-width-bottom-button-primary: var(--x-size-border-width-button-primary);
75
+ --x-size-border-width-left-button-primary: var(--x-size-border-width-button-primary);
76
+ }
77
+
78
+ .x-button--primary.x-button,
79
+ .x-button--primary .x-button {
80
+ --x-color-background-button-default: var(--x-color-background-button-primary);
81
+ --x-color-border-button-default: var(--x-color-border-button-primary);
82
+ --x-color-text-button-default: var(--x-color-text-button-primary);
83
+ --x-size-border-width-top-button-default: var(--x-size-border-width-top-button-primary);
84
+ --x-size-border-width-right-button-default: var(--x-size-border-width-right-button-primary);
85
+ --x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-primary);
86
+ --x-size-border-width-left-button-default: var(--x-size-border-width-left-button-primary);
87
+ }
72
88
  :root {
73
89
  --x-color-background-button-default: var(--x-color-base-lead);
74
90
  --x-color-border-button-default: var(--x-color-background-button-default);
@@ -154,71 +170,6 @@
154
170
  margin-right: var(--x-size-gap-button-default);
155
171
  }
156
172
  }
157
- :root {
158
- --x-color-background-button-ghost: transparent;
159
- --x-color-border-button-ghost: transparent;
160
- --x-color-text-button-ghost: var(--x-color-base-lead);
161
- }
162
-
163
- .x-button--ghost.x-button,
164
- .x-button--ghost .x-button {
165
- --x-color-background-button-default: var(--x-color-background-button-ghost);
166
- --x-color-border-button-default: var(--x-color-border-button-ghost);
167
- --x-color-text-button-default: var(--x-color-text-button-ghost);
168
- }
169
-
170
- .x-button--ghost.x-button--ghost-start.x-button,
171
- .x-button--ghost.x-button--ghost-start .x-button {
172
- --x-size-padding-left-button-default: 0;
173
- }
174
-
175
- .x-button--ghost.x-button--ghost-end.x-button,
176
- .x-button--ghost.x-button--ghost-end .x-button {
177
- --x-size-padding-right-button-default: 0;
178
- }
179
- :root {
180
- --x-size-border-radius-button-pill: var(--x-size-border-radius-base-pill);
181
- --x-size-border-radius-top-left-button-pill: var(--x-size-border-radius-button-pill);
182
- --x-size-border-radius-top-right-button-pill: var(--x-size-border-radius-button-pill);
183
- --x-size-border-radius-bottom-right-button-pill: var(--x-size-border-radius-button-pill);
184
- --x-size-border-radius-bottom-left-button-pill: var(--x-size-border-radius-button-pill);
185
- }
186
-
187
- .x-button--pill.x-button,
188
- .x-button--pill .x-button {
189
- --x-size-border-radius-button-default: var(--x-size-border-radius-button-pill);
190
- --x-size-border-radius-top-left-button-default: var(--x-size-border-radius-top-left-button-pill);
191
- --x-size-border-radius-top-right-button-default: var(
192
- --x-size-border-radius-top-right-button-pill
193
- );
194
- --x-size-border-radius-bottom-right-button-default: var(
195
- --x-size-border-radius-bottom-right-button-pill
196
- );
197
- --x-size-border-radius-bottom-left-button-default: var(
198
- --x-size-border-radius-bottom-left-button-pill
199
- );
200
- }
201
- :root {
202
- --x-color-background-button-primary: var(--x-color-background-button-default);
203
- --x-color-border-button-primary: var(--x-color-border-button-default);
204
- --x-color-text-button-primary: var(--x-color-text-button-default);
205
- --x-size-border-width-button-primary: var(--x-size-border-width-base);
206
- --x-size-border-width-top-button-primary: var(--x-size-border-width-button-primary);
207
- --x-size-border-width-right-button-primary: var(--x-size-border-width-button-primary);
208
- --x-size-border-width-bottom-button-primary: var(--x-size-border-width-button-primary);
209
- --x-size-border-width-left-button-primary: var(--x-size-border-width-button-primary);
210
- }
211
-
212
- .x-button--primary.x-button,
213
- .x-button--primary .x-button {
214
- --x-color-background-button-default: var(--x-color-background-button-primary);
215
- --x-color-border-button-default: var(--x-color-border-button-primary);
216
- --x-color-text-button-default: var(--x-color-text-button-primary);
217
- --x-size-border-width-top-button-default: var(--x-size-border-width-top-button-primary);
218
- --x-size-border-width-right-button-default: var(--x-size-border-width-right-button-primary);
219
- --x-size-border-width-bottom-button-default: var(--x-size-border-width-bottom-button-primary);
220
- --x-size-border-width-left-button-default: var(--x-size-border-width-left-button-primary);
221
- }
222
173
  :root {
223
174
  --x-size-border-radius-button-round: var(--x-size-border-radius-base-pill);
224
175
  --x-size-border-radius-top-left-button-round: var(--x-size-border-radius-button-round);
@@ -1126,15 +1077,6 @@
1126
1077
  --x-size-width-icon-default: var(--x-size-width-icon-l);
1127
1078
  --x-size-height-icon-default: var(--x-size-height-icon-l);
1128
1079
  }
1129
- :root {
1130
- --x-size-width-icon-m: var(--x-size-base-05);
1131
- --x-size-height-icon-m: var(--x-size-base-05);
1132
- }
1133
-
1134
- .x-icon--m {
1135
- --x-size-width-icon-default: var(--x-size-width-icon-m);
1136
- --x-size-height-icon-default: var(--x-size-height-icon-m);
1137
- }
1138
1080
  :root {
1139
1081
  --x-size-width-icon-s: var(--x-size-base-03);
1140
1082
  --x-size-height-icon-s: var(--x-size-base-03);
@@ -1144,6 +1086,15 @@
1144
1086
  --x-size-width-icon-default: var(--x-size-width-icon-s);
1145
1087
  --x-size-height-icon-default: var(--x-size-height-icon-s);
1146
1088
  }
1089
+ :root {
1090
+ --x-size-width-icon-m: var(--x-size-base-05);
1091
+ --x-size-height-icon-m: var(--x-size-base-05);
1092
+ }
1093
+
1094
+ .x-icon--m {
1095
+ --x-size-width-icon-default: var(--x-size-width-icon-m);
1096
+ --x-size-height-icon-default: var(--x-size-height-icon-m);
1097
+ }
1147
1098
  :root {
1148
1099
  --x-size-width-icon-xl: var(--x-size-base-07);
1149
1100
  --x-size-height-icon-xl: var(--x-size-base-07);
@@ -2619,6 +2570,15 @@
2619
2570
  margin-right: var(--x-size-gap-list-13);
2620
2571
  }
2621
2572
  }
2573
+ :root {
2574
+ --x-modal-overlay-color: rgb(0, 0, 0);
2575
+ --x-modal-overlay-opacity: 0.7;
2576
+ }
2577
+
2578
+ .x-modal__overlay {
2579
+ background-color: var(--x-modal-overlay-color) !important;
2580
+ opacity: var(--x-modal-overlay-opacity) !important;
2581
+ }
2622
2582
  :root {
2623
2583
  --x-string-justify-message-default: center;
2624
2584
  --x-size-gap-message-default: var(--x-size-base-03);
@@ -2690,15 +2650,6 @@
2690
2650
  .x-message > p {
2691
2651
  margin: 0;
2692
2652
  }
2693
- :root {
2694
- --x-modal-overlay-color: rgb(0, 0, 0);
2695
- --x-modal-overlay-opacity: 0.7;
2696
- }
2697
-
2698
- .x-modal__overlay {
2699
- background-color: var(--x-modal-overlay-color) !important;
2700
- opacity: var(--x-modal-overlay-opacity) !important;
2701
- }
2702
2653
  :root {
2703
2654
  --x-color-text-option-list-button-bottom-hover: var(--x-color-base-neutral-10);
2704
2655
  --x-color-text-option-list-button-bottom-selected-hover: var(
@@ -4384,21 +4335,6 @@
4384
4335
  :root {
4385
4336
  --x-color-text-secondary: var(--x-color-base-neutral-35);
4386
4337
  }
4387
- .x-text--stroke.x-text {
4388
- --x-string-text-decoration: line-through;
4389
- }
4390
- .x-text--stroke.x-title1 {
4391
- --x-string-text-decoration-title1: line-through;
4392
- }
4393
- .x-text--stroke.x-title2 {
4394
- --x-string-text-decoration-title2: line-through;
4395
- }
4396
- .x-text--stroke.x-title3 {
4397
- --x-string-text-decoration-title3: line-through;
4398
- }
4399
- .x-text--stroke.x-small {
4400
- --x-string-text-decoration-small: line-through;
4401
- }
4402
4338
 
4403
4339
  .x-background--lead {
4404
4340
  background-color: var(--x-color-base-lead) !important;
@@ -4443,6 +4379,21 @@
4443
4379
  .x-background--transparent {
4444
4380
  background-color: var(--x-color-base-transparent) !important;
4445
4381
  }
4382
+ .x-text--stroke.x-text {
4383
+ --x-string-text-decoration: line-through;
4384
+ }
4385
+ .x-text--stroke.x-title1 {
4386
+ --x-string-text-decoration-title1: line-through;
4387
+ }
4388
+ .x-text--stroke.x-title2 {
4389
+ --x-string-text-decoration-title2: line-through;
4390
+ }
4391
+ .x-text--stroke.x-title3 {
4392
+ --x-string-text-decoration-title3: line-through;
4393
+ }
4394
+ .x-text--stroke.x-small {
4395
+ --x-string-text-decoration-small: line-through;
4396
+ }
4446
4397
  .x-border-color--lead {
4447
4398
  border-color: var(--x-color-base-lead) !important;
4448
4399
  }
@@ -7700,3 +7651,53 @@
7700
7651
  .x-normal-case {
7701
7652
  text-transform: none;
7702
7653
  }
7654
+
7655
+ :root {
7656
+ --x-color-background-badge-default: var(--x-color-base-neutral-10);
7657
+ --x-color-text-badge-default: var(--x-color-base-neutral-100);
7658
+ --x-color-border-badge-default: var(--x-color-base-neutral-10);
7659
+ --x-size-border-radius-badge-default: var(--x-size-border-radius-base-pill);
7660
+ --x-size-border-width-badge-default: 0;
7661
+ --x-size-width-badge-default: 1.5em;
7662
+ --x-number-font-weight-badge-default: var(--x-number-font-weight-base-regular);
7663
+ --x-size-font-badge-default: var(--x-size-font-base-xs);
7664
+ }
7665
+
7666
+ [dir="ltr"] .x-badge {
7667
+ right: calc(var(--x-size-width-badge-default) / 4);
7668
+ }
7669
+
7670
+ [dir="rtl"] .x-badge {
7671
+ left: calc(var(--x-size-width-badge-default) / 4);
7672
+ }
7673
+
7674
+ .x-badge {
7675
+ border-radius: var(--x-size-border-radius-badge-default);
7676
+ border-style: solid;
7677
+ border-width: var(--x-size-border-width-badge-default);
7678
+ font-size: var(--x-size-font-badge-default);
7679
+ font-weight: var(--x-number-font-weight-badge-default);
7680
+ box-sizing: border-box;
7681
+ position: absolute;
7682
+ display: flex;
7683
+ align-items: center;
7684
+ justify-content: center;
7685
+ transform: translate(50%, -50%);
7686
+ z-index: 1;
7687
+ /* We dont' want to have the button fully centered in the top right corner, the top right corner
7688
+ of the text is the one that should be aligned with the top right corner of the container. */
7689
+ top: calc(var(--x-size-width-badge-default) / 4);
7690
+ min-width: var(--x-size-width-badge-default);
7691
+ height: var(--x-size-width-badge-default);
7692
+ padding: 2px;
7693
+ background: var(--x-color-background-badge-default);
7694
+ color: var(--x-color-text-badge-default);
7695
+ border-color: var(--x-color-border-badge-default);
7696
+ }
7697
+ [dir="rtl"] .x-badge {
7698
+ transform: translate(-50%, -50%);
7699
+ }
7700
+
7701
+ .x-badge-container {
7702
+ position: relative;
7703
+ }
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_externalId](./x-adapter-platform.platformresult.__externalid.md)
4
+
5
+ ## PlatformResult.\_\_externalId property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ __externalId: string;
11
+ ```
@@ -1,11 +1,11 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [id](./x-adapter-platform.platformresult.id.md)
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_id](./x-adapter-platform.platformresult.__id.md)
4
4
 
5
- ## PlatformResult.id property
5
+ ## PlatformResult.\_\_id property
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- id: string;
10
+ __id: string;
11
11
  ```
@@ -1,11 +1,11 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [price](./x-adapter-platform.platformresult.price.md)
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_images](./x-adapter-platform.platformresult.__images.md)
4
4
 
5
- ## PlatformResult.price property
5
+ ## PlatformResult.\_\_images property
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- price: number;
10
+ __images: string[];
11
11
  ```
@@ -1,11 +1,11 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [name](./x-adapter-platform.platformresult.name.md)
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_name](./x-adapter-platform.platformresult.__name.md)
4
4
 
5
- ## PlatformResult.name property
5
+ ## PlatformResult.\_\_name property
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- name: string;
10
+ __name: string;
11
11
  ```
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_prices](./x-adapter-platform.platformresult.__prices.md)
4
+
5
+ ## PlatformResult.\_\_prices property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ __prices: {
11
+ current: {
12
+ value: number;
13
+ };
14
+ previous?: {
15
+ value: number;
16
+ };
17
+ future?: {
18
+ value: number;
19
+ };
20
+ };
21
+ ```
@@ -1,11 +1,11 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [image](./x-adapter-platform.platformresult.image.md)
3
+ [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [\_\_url](./x-adapter-platform.platformresult.__url.md)
4
4
 
5
- ## PlatformResult.image property
5
+ ## PlatformResult.\_\_url property
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- image: string;
10
+ __url: string;
11
11
  ```
@@ -16,10 +16,11 @@ export interface PlatformResult
16
16
 
17
17
  | Property | Modifiers | Type | Description |
18
18
  | --- | --- | --- | --- |
19
- | [id](./x-adapter-platform.platformresult.id.md) | | string | |
20
- | [image](./x-adapter-platform.platformresult.image.md) | | string | |
21
- | [name](./x-adapter-platform.platformresult.name.md) | | string | |
22
- | [price](./x-adapter-platform.platformresult.price.md) | | number | |
19
+ | [\_\_externalId](./x-adapter-platform.platformresult.__externalid.md) | | string | |
20
+ | [\_\_id](./x-adapter-platform.platformresult.__id.md) | | string | |
21
+ | [\_\_images](./x-adapter-platform.platformresult.__images.md) | | string\[\] | |
22
+ | [\_\_name](./x-adapter-platform.platformresult.__name.md) | | string | |
23
+ | [\_\_prices](./x-adapter-platform.platformresult.__prices.md) | | { current: { value: number; }; previous?: { value: number; }; future?: { value: number; }; } | |
24
+ | [\_\_url](./x-adapter-platform.platformresult.__url.md) | | string | |
23
25
  | [tagging](./x-adapter-platform.platformresult.tagging.md) | | [PlatformTagging](./x-adapter-platform.platformtagging.md) | |
24
- | [url](./x-adapter-platform.platformresult.url.md) | | string | |
25
26
 
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [ResultPrice](./x-types.resultprice.md) &gt; [futureValue](./x-types.resultprice.futurevalue.md)
4
+
5
+ ## ResultPrice.futureValue property
6
+
7
+ Pre-warming price.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ futureValue: number;
13
+ ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## ResultPrice.hasDiscount property
6
6
 
7
- Whether or not this result has discount.
7
+ Whether this result has discount.
8
8
 
9
9
  **Signature:**
10
10
 
@@ -16,7 +16,8 @@ export interface ResultPrice
16
16
 
17
17
  | Property | Modifiers | Type | Description |
18
18
  | --- | --- | --- | --- |
19
- | [hasDiscount](./x-types.resultprice.hasdiscount.md) | | boolean | Whether or not this result has discount. |
19
+ | [futureValue](./x-types.resultprice.futurevalue.md) | | number | Pre-warming price. |
20
+ | [hasDiscount](./x-types.resultprice.hasdiscount.md) | | boolean | Whether this result has discount. |
20
21
  | [originalValue](./x-types.resultprice.originalvalue.md) | | number | The old value. |
21
22
  | [value](./x-types.resultprice.value.md) | | number | The current value. |
22
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.0.0-alpha.362",
3
+ "version": "3.0.0-alpha.363",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -68,12 +68,12 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@empathyco/x-adapter": "^8.0.0-alpha.27",
71
- "@empathyco/x-adapter-platform": "^1.0.0-alpha.68",
71
+ "@empathyco/x-adapter-platform": "^1.0.0-alpha.69",
72
72
  "@empathyco/x-bus": "^0.1.0-alpha.11",
73
73
  "@empathyco/x-deep-merge": "^1.3.0-alpha.34",
74
74
  "@empathyco/x-logger": "^1.2.0-alpha.11",
75
75
  "@empathyco/x-storage-service": "^2.0.0-alpha.11",
76
- "@empathyco/x-types": "^10.0.0-alpha.63",
76
+ "@empathyco/x-types": "^10.0.0-alpha.64",
77
77
  "@empathyco/x-utils": "^1.0.0-alpha.19",
78
78
  "@vue/devtools-api": "~6.5.0",
79
79
  "@vueuse/core": "~9.13.0",
@@ -143,5 +143,5 @@
143
143
  "access": "public",
144
144
  "directory": "dist"
145
145
  },
146
- "gitHead": "cc8402c74ddb5c2c81e5ff4d1fed9782b2751b91"
146
+ "gitHead": "27865abfcfc501af5da632154c144353b6341a9e"
147
147
  }
@@ -3456,12 +3456,12 @@
3456
3456
  "members": [
3457
3457
  {
3458
3458
  "kind": "PropertySignature",
3459
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#id:member",
3459
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__externalId:member",
3460
3460
  "docComment": "",
3461
3461
  "excerptTokens": [
3462
3462
  {
3463
3463
  "kind": "Content",
3464
- "text": "id: "
3464
+ "text": "__externalId: "
3465
3465
  },
3466
3466
  {
3467
3467
  "kind": "Content",
@@ -3475,7 +3475,7 @@
3475
3475
  "isReadonly": false,
3476
3476
  "isOptional": false,
3477
3477
  "releaseTag": "Public",
3478
- "name": "id",
3478
+ "name": "__externalId",
3479
3479
  "propertyTypeTokenRange": {
3480
3480
  "startIndex": 1,
3481
3481
  "endIndex": 2
@@ -3483,12 +3483,12 @@
3483
3483
  },
3484
3484
  {
3485
3485
  "kind": "PropertySignature",
3486
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#image:member",
3486
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__id:member",
3487
3487
  "docComment": "",
3488
3488
  "excerptTokens": [
3489
3489
  {
3490
3490
  "kind": "Content",
3491
- "text": "image: "
3491
+ "text": "__id: "
3492
3492
  },
3493
3493
  {
3494
3494
  "kind": "Content",
@@ -3502,7 +3502,7 @@
3502
3502
  "isReadonly": false,
3503
3503
  "isOptional": false,
3504
3504
  "releaseTag": "Public",
3505
- "name": "image",
3505
+ "name": "__id",
3506
3506
  "propertyTypeTokenRange": {
3507
3507
  "startIndex": 1,
3508
3508
  "endIndex": 2
@@ -3510,16 +3510,16 @@
3510
3510
  },
3511
3511
  {
3512
3512
  "kind": "PropertySignature",
3513
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#name:member",
3513
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__images:member",
3514
3514
  "docComment": "",
3515
3515
  "excerptTokens": [
3516
3516
  {
3517
3517
  "kind": "Content",
3518
- "text": "name: "
3518
+ "text": "__images: "
3519
3519
  },
3520
3520
  {
3521
3521
  "kind": "Content",
3522
- "text": "string"
3522
+ "text": "string[]"
3523
3523
  },
3524
3524
  {
3525
3525
  "kind": "Content",
@@ -3529,7 +3529,7 @@
3529
3529
  "isReadonly": false,
3530
3530
  "isOptional": false,
3531
3531
  "releaseTag": "Public",
3532
- "name": "name",
3532
+ "name": "__images",
3533
3533
  "propertyTypeTokenRange": {
3534
3534
  "startIndex": 1,
3535
3535
  "endIndex": 2
@@ -3537,16 +3537,16 @@
3537
3537
  },
3538
3538
  {
3539
3539
  "kind": "PropertySignature",
3540
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#price:member",
3540
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__name:member",
3541
3541
  "docComment": "",
3542
3542
  "excerptTokens": [
3543
3543
  {
3544
3544
  "kind": "Content",
3545
- "text": "price: "
3545
+ "text": "__name: "
3546
3546
  },
3547
3547
  {
3548
3548
  "kind": "Content",
3549
- "text": "number"
3549
+ "text": "string"
3550
3550
  },
3551
3551
  {
3552
3552
  "kind": "Content",
@@ -3556,7 +3556,7 @@
3556
3556
  "isReadonly": false,
3557
3557
  "isOptional": false,
3558
3558
  "releaseTag": "Public",
3559
- "name": "price",
3559
+ "name": "__name",
3560
3560
  "propertyTypeTokenRange": {
3561
3561
  "startIndex": 1,
3562
3562
  "endIndex": 2
@@ -3564,17 +3564,16 @@
3564
3564
  },
3565
3565
  {
3566
3566
  "kind": "PropertySignature",
3567
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#tagging:member",
3567
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__prices:member",
3568
3568
  "docComment": "",
3569
3569
  "excerptTokens": [
3570
3570
  {
3571
3571
  "kind": "Content",
3572
- "text": "tagging: "
3572
+ "text": "__prices: "
3573
3573
  },
3574
3574
  {
3575
- "kind": "Reference",
3576
- "text": "PlatformTagging",
3577
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformTagging:interface"
3575
+ "kind": "Content",
3576
+ "text": "{\n current: {\n value: number;\n };\n previous?: {\n value: number;\n };\n future?: {\n value: number;\n };\n }"
3578
3577
  },
3579
3578
  {
3580
3579
  "kind": "Content",
@@ -3584,7 +3583,7 @@
3584
3583
  "isReadonly": false,
3585
3584
  "isOptional": false,
3586
3585
  "releaseTag": "Public",
3587
- "name": "tagging",
3586
+ "name": "__prices",
3588
3587
  "propertyTypeTokenRange": {
3589
3588
  "startIndex": 1,
3590
3589
  "endIndex": 2
@@ -3592,12 +3591,12 @@
3592
3591
  },
3593
3592
  {
3594
3593
  "kind": "PropertySignature",
3595
- "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#url:member",
3594
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#__url:member",
3596
3595
  "docComment": "",
3597
3596
  "excerptTokens": [
3598
3597
  {
3599
3598
  "kind": "Content",
3600
- "text": "url: "
3599
+ "text": "__url: "
3601
3600
  },
3602
3601
  {
3603
3602
  "kind": "Content",
@@ -3611,7 +3610,35 @@
3611
3610
  "isReadonly": false,
3612
3611
  "isOptional": false,
3613
3612
  "releaseTag": "Public",
3614
- "name": "url",
3613
+ "name": "__url",
3614
+ "propertyTypeTokenRange": {
3615
+ "startIndex": 1,
3616
+ "endIndex": 2
3617
+ }
3618
+ },
3619
+ {
3620
+ "kind": "PropertySignature",
3621
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformResult#tagging:member",
3622
+ "docComment": "",
3623
+ "excerptTokens": [
3624
+ {
3625
+ "kind": "Content",
3626
+ "text": "tagging: "
3627
+ },
3628
+ {
3629
+ "kind": "Reference",
3630
+ "text": "PlatformTagging",
3631
+ "canonicalReference": "@empathyco/x-adapter-platform!PlatformTagging:interface"
3632
+ },
3633
+ {
3634
+ "kind": "Content",
3635
+ "text": ";"
3636
+ }
3637
+ ],
3638
+ "isReadonly": false,
3639
+ "isOptional": false,
3640
+ "releaseTag": "Public",
3641
+ "name": "tagging",
3615
3642
  "propertyTypeTokenRange": {
3616
3643
  "startIndex": 1,
3617
3644
  "endIndex": 2
@@ -5042,10 +5042,37 @@
5042
5042
  "name": "ResultPrice",
5043
5043
  "preserveMemberOrder": false,
5044
5044
  "members": [
5045
+ {
5046
+ "kind": "PropertySignature",
5047
+ "canonicalReference": "@empathyco/x-types!ResultPrice#futureValue:member",
5048
+ "docComment": "/**\n * Pre-warming price.\n */\n",
5049
+ "excerptTokens": [
5050
+ {
5051
+ "kind": "Content",
5052
+ "text": "futureValue: "
5053
+ },
5054
+ {
5055
+ "kind": "Content",
5056
+ "text": "number"
5057
+ },
5058
+ {
5059
+ "kind": "Content",
5060
+ "text": ";"
5061
+ }
5062
+ ],
5063
+ "isReadonly": false,
5064
+ "isOptional": false,
5065
+ "releaseTag": "Public",
5066
+ "name": "futureValue",
5067
+ "propertyTypeTokenRange": {
5068
+ "startIndex": 1,
5069
+ "endIndex": 2
5070
+ }
5071
+ },
5045
5072
  {
5046
5073
  "kind": "PropertySignature",
5047
5074
  "canonicalReference": "@empathyco/x-types!ResultPrice#hasDiscount:member",
5048
- "docComment": "/**\n * Whether or not this result has discount.\n */\n",
5075
+ "docComment": "/**\n * Whether this result has discount.\n */\n",
5049
5076
  "excerptTokens": [
5050
5077
  {
5051
5078
  "kind": "Content",
@@ -1 +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"}
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;;;;;;;;;;;;;;;;;;;;CAsK3B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,CAgBtF"}
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@empathyco/x-adapter-platform](./x-adapter-platform.md) &gt; [PlatformResult](./x-adapter-platform.platformresult.md) &gt; [url](./x-adapter-platform.platformresult.url.md)
4
-
5
- ## PlatformResult.url property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- url: string;
11
- ```