@empathyco/x-components 3.0.0-alpha.320 → 3.0.0-alpha.321
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 +19 -0
- package/design-system/deprecated-full-theme.css +65 -53
- package/design-system/full-theme.css +22 -22
- package/docs/API-reference/api/x-components.basexapi.close.md +17 -0
- package/docs/API-reference/api/x-components.basexapi.md +1 -0
- package/js/x-installer/api/base-api.js +8 -0
- package/js/x-installer/api/base-api.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +30 -0
- package/report/x-components.api.md +1 -0
- package/types/x-installer/api/base-api.d.ts +6 -0
- package/types/x-installer/api/base-api.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.321](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.320...@empathyco/x-components@3.0.0-alpha.321) (2023-03-01)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Add close event to BaseXAPI (#1091)
|
|
11
|
+
([1aaaeb0](https://github.com/empathyco/x/commit/1aaaeb0dd2cb20a90655e9afe7622de67616e708)),
|
|
12
|
+
closes [EX-8050](https://searchbroker.atlassian.net/browse/EX-8050)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **design-system:** fix deprecated typography and picture components (#1090)
|
|
17
|
+
([4f1bdb7](https://github.com/empathyco/x/commit/4f1bdb7d69a49e51d39dd2a7f8050b0fce3ef96e)),
|
|
18
|
+
closes [EX-8053](https://searchbroker.atlassian.net/browse/EX-8053)
|
|
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
|
+
|
|
6
25
|
## [3.0.0-alpha.320](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.319...@empathyco/x-components@3.0.0-alpha.320) (2023-02-28)
|
|
7
26
|
|
|
8
27
|
### Bug Fixes
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
.x-picture--colored.x-picture {
|
|
785
785
|
--x-color-background-picture-default: var(--x-color-background-picture-colored);
|
|
786
786
|
}
|
|
787
|
-
.x-picture--colored.x-picture .x-
|
|
787
|
+
.x-picture--colored.x-picture .x-picture-image {
|
|
788
788
|
--x-mix-blend-mode-picture-default: var(--x-mix-blend-mode-picture-colored);
|
|
789
789
|
}
|
|
790
790
|
.x-picture--colored.x-picture .x-picture--fallback {
|
|
@@ -838,35 +838,35 @@
|
|
|
838
838
|
border-radius: var(--x-size-border-radius-top-picture-default) var(--x-size-border-radius-right-picture-default) var(--x-size-border-radius-bottom-picture-default) var(--x-size-border-radius-left-picture-default);
|
|
839
839
|
background: var(--x-color-background-picture-default);
|
|
840
840
|
}
|
|
841
|
-
.x-
|
|
841
|
+
.x-picture-image {
|
|
842
842
|
display: block;
|
|
843
843
|
width: 100%;
|
|
844
844
|
height: 100%;
|
|
845
845
|
object-fit: var(--x-object-fit-picture-default);
|
|
846
846
|
mix-blend-mode: var(--x-mix-blend-mode-picture-default);
|
|
847
847
|
}
|
|
848
|
-
.x-
|
|
848
|
+
.x-picture-image--fallback {
|
|
849
849
|
--x-object-fit-picture-default: var(--x-object-fit-picture-fallback-default) !important;
|
|
850
850
|
--x-mix-blend-mode-picture-default: var(
|
|
851
851
|
--x-mix-blend-mode-picture-fallback-default
|
|
852
852
|
) !important;
|
|
853
853
|
}
|
|
854
|
-
.x-
|
|
854
|
+
.x-picture-image--fallback > rect {
|
|
855
855
|
fill: var(--x-color-fill-picture-fallback-rect-default) !important;
|
|
856
856
|
}
|
|
857
|
-
.x-
|
|
857
|
+
.x-picture-image--fallback > path {
|
|
858
858
|
fill: var(--x-color-fill-picture-fallback-path-default) !important;
|
|
859
859
|
}
|
|
860
|
-
.x-
|
|
860
|
+
.x-picture-image--placeholder {
|
|
861
861
|
--x-object-fit-picture-default: var(--x-object-fit-picture-placeholder-default) !important;
|
|
862
862
|
--x-mix-blend-mode-picture-default: var(
|
|
863
863
|
--x-mix-blend-mode-picture-placeholder-default
|
|
864
864
|
) !important;
|
|
865
865
|
}
|
|
866
|
-
.x-
|
|
866
|
+
.x-picture-image--placeholder > rect {
|
|
867
867
|
fill: var(--x-color-fill-picture-placeholder-rect-default) !important;
|
|
868
868
|
}
|
|
869
|
-
.x-
|
|
869
|
+
.x-picture-image--placeholder > path {
|
|
870
870
|
fill: var(--x-color-fill-picture-placeholder-path-default) !important;
|
|
871
871
|
}
|
|
872
872
|
:root {
|
|
@@ -882,10 +882,10 @@
|
|
|
882
882
|
--x-number-zoom-duration-picture: 0.3s;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
.x-picture--zoom .x-
|
|
885
|
+
.x-picture--zoom .x-picture-image {
|
|
886
886
|
transition: transform var(--x-number-zoom-duration-picture) ease-out;
|
|
887
887
|
}
|
|
888
|
-
.x-picture--zoom .x-
|
|
888
|
+
.x-picture--zoom .x-picture-image:hover {
|
|
889
889
|
transform: scale(var(--x-number-zoom-scale-picture));
|
|
890
890
|
}
|
|
891
891
|
:root {
|
|
@@ -1362,6 +1362,18 @@
|
|
|
1362
1362
|
--x-number-font-weight-small: var(--x-number-font-weight-base-bold);
|
|
1363
1363
|
}
|
|
1364
1364
|
:root {
|
|
1365
|
+
--x-font-family-base: "Montserrat", sans-serif;
|
|
1366
|
+
--x-size-font-base-xs: 12px;
|
|
1367
|
+
--x-size-font-base-s: 14px;
|
|
1368
|
+
--x-size-font-base-m: 16px;
|
|
1369
|
+
--x-size-font-base-l: 18px;
|
|
1370
|
+
--x-size-font-base-xl: 32px;
|
|
1371
|
+
--x-number-font-weight-base-light: 300;
|
|
1372
|
+
--x-number-font-weight-base-regular: 400;
|
|
1373
|
+
--x-number-font-weight-base-bold: 600;
|
|
1374
|
+
--x-size-line-height-base-s: 16px;
|
|
1375
|
+
--x-size-line-height-base-m: 24px;
|
|
1376
|
+
--x-size-line-height-base-l: 32px;
|
|
1365
1377
|
--x-color-text-default: var(--x-color-base-neutral-10);
|
|
1366
1378
|
--x-font-family-text: var(--x-font-family-base);
|
|
1367
1379
|
--x-size-font-text: var(--x-size-font-base-s);
|
|
@@ -1487,6 +1499,49 @@
|
|
|
1487
1499
|
.x-text--stroke.x-small {
|
|
1488
1500
|
--x-string-text-decoration-small: line-through;
|
|
1489
1501
|
}
|
|
1502
|
+
.x-font-color--lead {
|
|
1503
|
+
color: var(--x-color-base-lead) !important;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
.x-font-color--auxiliary {
|
|
1507
|
+
color: var(--x-color-base-auxiliary) !important;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
.x-font-color--neutral-10 {
|
|
1511
|
+
color: var(--x-color-base-neutral-10) !important;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
.x-font-color--neutral-35 {
|
|
1515
|
+
color: var(--x-color-base-neutral-35) !important;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
.x-font-color--neutral-70 {
|
|
1519
|
+
color: var(--x-color-base-neutral-70) !important;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
.x-font-color--neutral-95 {
|
|
1523
|
+
color: var(--x-color-base-neutral-95) !important;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
.x-font-color--neutral-100 {
|
|
1527
|
+
color: var(--x-color-base-neutral-100) !important;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.x-font-color--accent {
|
|
1531
|
+
color: var(--x-color-base-accent) !important;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
.x-font-color--enable {
|
|
1535
|
+
color: var(--x-color-base-enable) !important;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.x-font-color--disable {
|
|
1539
|
+
color: var(--x-color-base-disable) !important;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.x-font-color--transparent {
|
|
1543
|
+
color: var(--x-color-base-transparent) !important;
|
|
1544
|
+
}
|
|
1490
1545
|
.x-font-size--01 {
|
|
1491
1546
|
font-size: var(--x-size-base-01) !important;
|
|
1492
1547
|
line-height: 1.5;
|
|
@@ -1599,49 +1654,6 @@
|
|
|
1599
1654
|
.x-line-height--loose {
|
|
1600
1655
|
line-height: 2 !important;
|
|
1601
1656
|
}
|
|
1602
|
-
.x-font-color--lead {
|
|
1603
|
-
color: var(--x-color-base-lead) !important;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
.x-font-color--auxiliary {
|
|
1607
|
-
color: var(--x-color-base-auxiliary) !important;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
.x-font-color--neutral-10 {
|
|
1611
|
-
color: var(--x-color-base-neutral-10) !important;
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
.x-font-color--neutral-35 {
|
|
1615
|
-
color: var(--x-color-base-neutral-35) !important;
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
.x-font-color--neutral-70 {
|
|
1619
|
-
color: var(--x-color-base-neutral-70) !important;
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
.x-font-color--neutral-95 {
|
|
1623
|
-
color: var(--x-color-base-neutral-95) !important;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
.x-font-color--neutral-100 {
|
|
1627
|
-
color: var(--x-color-base-neutral-100) !important;
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
.x-font-color--accent {
|
|
1631
|
-
color: var(--x-color-base-accent) !important;
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
.x-font-color--enable {
|
|
1635
|
-
color: var(--x-color-base-enable) !important;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
.x-font-color--disable {
|
|
1639
|
-
color: var(--x-color-base-disable) !important;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
.x-font-color--transparent {
|
|
1643
|
-
color: var(--x-color-base-transparent) !important;
|
|
1644
|
-
}
|
|
1645
1657
|
.x-underline {
|
|
1646
1658
|
text-decoration-line: underline;
|
|
1647
1659
|
}
|
|
@@ -18,28 +18,6 @@
|
|
|
18
18
|
--x-color-base-disable: #e11f26;
|
|
19
19
|
--x-color-base-transparent: transparent;
|
|
20
20
|
}
|
|
21
|
-
:root {
|
|
22
|
-
--x-size-base-01: 2px;
|
|
23
|
-
--x-size-base-02: 4px;
|
|
24
|
-
--x-size-base-03: 8px;
|
|
25
|
-
--x-size-base-04: 12px;
|
|
26
|
-
--x-size-base-05: 16px;
|
|
27
|
-
--x-size-base-06: 24px;
|
|
28
|
-
--x-size-base-07: 32px;
|
|
29
|
-
--x-size-base-08: 40px;
|
|
30
|
-
--x-size-base-09: 48px;
|
|
31
|
-
--x-size-base-10: 56px;
|
|
32
|
-
--x-size-base-11: 64px;
|
|
33
|
-
--x-size-base-12: 80px;
|
|
34
|
-
--x-size-base-13: 80px;
|
|
35
|
-
--x-size-base-14: 96px;
|
|
36
|
-
--x-size-base-15: 128px;
|
|
37
|
-
--x-size-base-16: 152px;
|
|
38
|
-
--x-size-base-17: 184px;
|
|
39
|
-
--x-size-base-18: 216px;
|
|
40
|
-
--x-size-base-19: 280px;
|
|
41
|
-
--x-size-base-20: 344px;
|
|
42
|
-
}
|
|
43
21
|
[dir="ltr"] .x-badge {
|
|
44
22
|
right: calc(var(--x-size-width-badge-default) / 4);
|
|
45
23
|
}
|
|
@@ -76,6 +54,28 @@
|
|
|
76
54
|
.x-badge-container {
|
|
77
55
|
position: relative;
|
|
78
56
|
}
|
|
57
|
+
:root {
|
|
58
|
+
--x-size-base-01: 2px;
|
|
59
|
+
--x-size-base-02: 4px;
|
|
60
|
+
--x-size-base-03: 8px;
|
|
61
|
+
--x-size-base-04: 12px;
|
|
62
|
+
--x-size-base-05: 16px;
|
|
63
|
+
--x-size-base-06: 24px;
|
|
64
|
+
--x-size-base-07: 32px;
|
|
65
|
+
--x-size-base-08: 40px;
|
|
66
|
+
--x-size-base-09: 48px;
|
|
67
|
+
--x-size-base-10: 56px;
|
|
68
|
+
--x-size-base-11: 64px;
|
|
69
|
+
--x-size-base-12: 80px;
|
|
70
|
+
--x-size-base-13: 80px;
|
|
71
|
+
--x-size-base-14: 96px;
|
|
72
|
+
--x-size-base-15: 128px;
|
|
73
|
+
--x-size-base-16: 152px;
|
|
74
|
+
--x-size-base-17: 184px;
|
|
75
|
+
--x-size-base-18: 216px;
|
|
76
|
+
--x-size-base-19: 280px;
|
|
77
|
+
--x-size-base-20: 344px;
|
|
78
|
+
}
|
|
79
79
|
:root {
|
|
80
80
|
--x-color-background-badge-default: var(--x-color-base-neutral-10);
|
|
81
81
|
--x-color-text-badge-default: var(--x-color-base-neutral-100);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseXAPI](./x-components.basexapi.md) > [close](./x-components.basexapi.close.md)
|
|
4
|
+
|
|
5
|
+
## BaseXAPI.close() method
|
|
6
|
+
|
|
7
|
+
Closes the Application.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
close(): void;
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
void
|
|
17
|
+
|
|
@@ -18,6 +18,7 @@ export declare class BaseXAPI implements XAPI
|
|
|
18
18
|
| Method | Modifiers | Description |
|
|
19
19
|
| --- | --- | --- |
|
|
20
20
|
| [addProductToCart(productId)](./x-components.basexapi.addproducttocart.md) | | Tracks that a product was added to cart from PDP. |
|
|
21
|
+
| [close()](./x-components.basexapi.close.md) | | Closes the Application. |
|
|
21
22
|
| [init(config)](./x-components.basexapi.init.md) | | Initializes the Application passing the [SnippetConfig](./x-components.snippetconfig.md)<!-- -->. |
|
|
22
23
|
| [search(query)](./x-components.basexapi.search.md) | | Searches the query parameter as user query. |
|
|
23
24
|
| [setInitCallback(initCallback)](./x-components.basexapi.setinitcallback.md) | | Setter for the callback to call in the init method. |
|
|
@@ -88,6 +88,14 @@ class BaseXAPI {
|
|
|
88
88
|
console.warn('We know X is awesome, but you only need to initialize it once.');
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Closes the Application.
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
close() {
|
|
97
|
+
this.bus?.emit('UserClickedCloseX');
|
|
98
|
+
}
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
export { BaseXAPI };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-api.js","sources":["../../../../src/x-installer/api/base-api.ts"],"sourcesContent":["import { XBus } from '../../plugins/x-bus.types';\nimport { SnippetConfig, XAPI } from './api.types';\n\n/**\n * Default implementation for {@link XAPI}.\n *\n * @public\n */\nexport class BaseXAPI implements XAPI {\n /**\n * Flag to check if the initialization was already done.\n *\n * @internal\n */\n protected isXInitialized = false;\n\n /**\n * Bus for emitting and listening events.\n *\n * @internal\n */\n protected bus!: XBus;\n\n /**\n * The callback to call from the init method. The logic of initialization is out of this API\n * since this API is just a facade.\n *\n * @internal\n */\n protected initCallback!: (config: SnippetConfig) => any;\n\n /**\n * Callback that allows to update the snippet config. The logic of initialization is out of this\n * API since this API is just a facade.\n *\n * @internal\n */\n protected snippetCallback!: (config: Partial<SnippetConfig>) => void;\n\n /**\n * Tracks that a product was added to cart from PDP.\n *\n * @param productId - The product id that was added to cart.\n */\n addProductToCart(productId?: string): void {\n this.bus?.emit('UserClickedPDPAddToCart', productId);\n }\n\n /**\n * Setter for the {@link XBus}.\n *\n * @param bus - The {@link XBus} received to emit events.\n *\n * @internal\n */\n setBus(bus: XBus): void {\n this.bus = bus;\n }\n\n /**\n * Setter for the callback to call in the init method.\n *\n * @param initCallback - The callback to call.\n */\n setInitCallback(initCallback: (config: SnippetConfig) => any): void {\n this.initCallback = initCallback;\n }\n\n /**\n * Setter for the callback to modify the snippet config.\n *\n * @param snippetCallback - The callback to call.\n *\n * @internal\n */\n setSnippetConfigCallback(snippetCallback: (config: Partial<SnippetConfig>) => void): void {\n this.snippetCallback = snippetCallback;\n }\n\n /**\n * Sets or updates the snippet config.\n *\n * @param config - A part or all the snippet config.\n *\n * @public\n */\n setSnippetConfig(config: Partial<SnippetConfig>): void {\n this?.snippetCallback(config);\n }\n\n /**\n * Searches the query parameter as user query.\n *\n * @param query - Query to be searched.\n *\n * @public\n */\n search(query?: string): void {\n if (query) {\n this.bus?.emit('UserAcceptedAQuery', query);\n }\n this.bus?.emit('UserClickedOpenX');\n }\n\n /**\n * Initializes the Application passing the {@link SnippetConfig}.\n *\n * @param config - The config coming from the customer snippet.\n *\n * @public\n */\n init(config: SnippetConfig): void {\n if (!this.isXInitialized) {\n this.isXInitialized = true;\n this?.initCallback(config);\n } else {\n //eslint-disable-next-line no-console\n console.warn('We know X is awesome, but you only need to initialize it once.');\n }\n }\n}\n"],"names":[],"mappings":"AAGA;;;;AAIG;MACU,QAAQ,CAAA;AAArB,IAAA,WAAA,GAAA;AACE;;;;AAIG;QACO,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"base-api.js","sources":["../../../../src/x-installer/api/base-api.ts"],"sourcesContent":["import { XBus } from '../../plugins/x-bus.types';\nimport { SnippetConfig, XAPI } from './api.types';\n\n/**\n * Default implementation for {@link XAPI}.\n *\n * @public\n */\nexport class BaseXAPI implements XAPI {\n /**\n * Flag to check if the initialization was already done.\n *\n * @internal\n */\n protected isXInitialized = false;\n\n /**\n * Bus for emitting and listening events.\n *\n * @internal\n */\n protected bus!: XBus;\n\n /**\n * The callback to call from the init method. The logic of initialization is out of this API\n * since this API is just a facade.\n *\n * @internal\n */\n protected initCallback!: (config: SnippetConfig) => any;\n\n /**\n * Callback that allows to update the snippet config. The logic of initialization is out of this\n * API since this API is just a facade.\n *\n * @internal\n */\n protected snippetCallback!: (config: Partial<SnippetConfig>) => void;\n\n /**\n * Tracks that a product was added to cart from PDP.\n *\n * @param productId - The product id that was added to cart.\n */\n addProductToCart(productId?: string): void {\n this.bus?.emit('UserClickedPDPAddToCart', productId);\n }\n\n /**\n * Setter for the {@link XBus}.\n *\n * @param bus - The {@link XBus} received to emit events.\n *\n * @internal\n */\n setBus(bus: XBus): void {\n this.bus = bus;\n }\n\n /**\n * Setter for the callback to call in the init method.\n *\n * @param initCallback - The callback to call.\n */\n setInitCallback(initCallback: (config: SnippetConfig) => any): void {\n this.initCallback = initCallback;\n }\n\n /**\n * Setter for the callback to modify the snippet config.\n *\n * @param snippetCallback - The callback to call.\n *\n * @internal\n */\n setSnippetConfigCallback(snippetCallback: (config: Partial<SnippetConfig>) => void): void {\n this.snippetCallback = snippetCallback;\n }\n\n /**\n * Sets or updates the snippet config.\n *\n * @param config - A part or all the snippet config.\n *\n * @public\n */\n setSnippetConfig(config: Partial<SnippetConfig>): void {\n this?.snippetCallback(config);\n }\n\n /**\n * Searches the query parameter as user query.\n *\n * @param query - Query to be searched.\n *\n * @public\n */\n search(query?: string): void {\n if (query) {\n this.bus?.emit('UserAcceptedAQuery', query);\n }\n this.bus?.emit('UserClickedOpenX');\n }\n\n /**\n * Initializes the Application passing the {@link SnippetConfig}.\n *\n * @param config - The config coming from the customer snippet.\n *\n * @public\n */\n init(config: SnippetConfig): void {\n if (!this.isXInitialized) {\n this.isXInitialized = true;\n this?.initCallback(config);\n } else {\n //eslint-disable-next-line no-console\n console.warn('We know X is awesome, but you only need to initialize it once.');\n }\n }\n\n /**\n * Closes the Application.\n *\n * @public\n */\n close(): void {\n this.bus?.emit('UserClickedCloseX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EAAgE,CAAC,CAAC;AAChF,SAAA;KACF;AAED;;;;AAIG;IACH,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;KACrC;AACF;;;;"}
|
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.321",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -141,5 +141,5 @@
|
|
|
141
141
|
"access": "public",
|
|
142
142
|
"directory": "dist"
|
|
143
143
|
},
|
|
144
|
-
"gitHead": "
|
|
144
|
+
"gitHead": "996c0f78ee85e169033ac8d8ad021c944e384d0c"
|
|
145
145
|
}
|
|
@@ -7387,6 +7387,36 @@
|
|
|
7387
7387
|
"isOptional": false,
|
|
7388
7388
|
"name": "addProductToCart"
|
|
7389
7389
|
},
|
|
7390
|
+
{
|
|
7391
|
+
"kind": "Method",
|
|
7392
|
+
"canonicalReference": "@empathyco/x-components!BaseXAPI#close:member(1)",
|
|
7393
|
+
"docComment": "/**\n * Closes the Application.\n *\n * @public\n */\n",
|
|
7394
|
+
"excerptTokens": [
|
|
7395
|
+
{
|
|
7396
|
+
"kind": "Content",
|
|
7397
|
+
"text": "close(): "
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
"kind": "Content",
|
|
7401
|
+
"text": "void"
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
7404
|
+
"kind": "Content",
|
|
7405
|
+
"text": ";"
|
|
7406
|
+
}
|
|
7407
|
+
],
|
|
7408
|
+
"isStatic": false,
|
|
7409
|
+
"returnTypeTokenRange": {
|
|
7410
|
+
"startIndex": 1,
|
|
7411
|
+
"endIndex": 2
|
|
7412
|
+
},
|
|
7413
|
+
"releaseTag": "Public",
|
|
7414
|
+
"isProtected": false,
|
|
7415
|
+
"overloadIndex": 1,
|
|
7416
|
+
"parameters": [],
|
|
7417
|
+
"isOptional": false,
|
|
7418
|
+
"name": "close"
|
|
7419
|
+
},
|
|
7390
7420
|
{
|
|
7391
7421
|
"kind": "Method",
|
|
7392
7422
|
"canonicalReference": "@empathyco/x-components!BaseXAPI#init:member(1)",
|
|
@@ -686,6 +686,7 @@ export class BaseXAPI implements XAPI {
|
|
|
686
686
|
addProductToCart(productId?: string): void;
|
|
687
687
|
// @internal
|
|
688
688
|
protected bus: XBus;
|
|
689
|
+
close(): void;
|
|
689
690
|
init(config: SnippetConfig): void;
|
|
690
691
|
// @internal
|
|
691
692
|
protected initCallback: (config: SnippetConfig) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-api.d.ts","sourceRoot":"","sources":["../../../../src/x-installer/api/base-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAElD;;;;GAIG;AACH,qBAAa,QAAS,YAAW,IAAI;IACnC;;;;OAIG;IACH,SAAS,CAAC,cAAc,UAAS;IAEjC;;;;OAIG;IACH,SAAS,CAAC,GAAG,EAAG,IAAI,CAAC;IAErB;;;;;OAKG;IACH,SAAS,CAAC,YAAY,EAAG,CAAC,MAAM,EAAE,aAAa,KAAK,GAAG,CAAC;IAExD;;;;;OAKG;IACH,SAAS,CAAC,eAAe,EAAG,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAErE;;;;OAIG;IACH,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;IAI1C;;;;;;OAMG;IACH,MAAM,CAAC,GAAG,EAAE,IAAI,GAAG,IAAI;IAIvB;;;;OAIG;IACH,eAAe,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,aA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