@empathyco/x-components 8.13.4 → 8.14.1
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,21 @@
|
|
|
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
|
+
## [8.14.1](https://github.com/empathyco/x/compare/@empathyco/x-components@8.14.0...@empathyco/x-components@8.14.1) (2026-09-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.14.0](https://github.com/empathyco/x/compare/@empathyco/x-components@8.13.4...@empathyco/x-components@8.14.0) (2026-08-28)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **skills:** add basic agent skills (skills-npm convention) to all publishable packages (#2164)
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [8.13.4](https://github.com/empathyco/x/compare/@empathyco/x-components@8.13.3...@empathyco/x-components@8.13.4) (2026-08-27)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @empathyco/x-components
|
|
@@ -1498,6 +1498,17 @@ Default implementation for the SemanticQuery schema.
|
|
|
1498
1498
|
Default implementation for the SimpleFilterSchema.
|
|
1499
1499
|
|
|
1500
1500
|
|
|
1501
|
+
</td></tr>
|
|
1502
|
+
<tr><td>
|
|
1503
|
+
|
|
1504
|
+
[statsSchema](./x-adapter-platform.statsschema.md)
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
</td><td>
|
|
1508
|
+
|
|
1509
|
+
Default implementation for the Stats schema.
|
|
1510
|
+
|
|
1511
|
+
|
|
1501
1512
|
</td></tr>
|
|
1502
1513
|
<tr><td>
|
|
1503
1514
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [statsSchema](./x-adapter-platform.statsschema.md)
|
|
4
|
+
|
|
5
|
+
## statsSchema variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the Stats schema.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
statsSchema: import("@empathyco/x-adapter").MutableSchema<PlatformStats, Stats>
|
|
13
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.14.1",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
"vuex": "4.0.2"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@empathyco/x-adapter": "8.
|
|
71
|
-
"@empathyco/x-adapter-platform": "1.
|
|
72
|
-
"@empathyco/x-types": "10.
|
|
73
|
-
"@empathyco/x-utils": "1.0
|
|
70
|
+
"@empathyco/x-adapter": "8.2.0",
|
|
71
|
+
"@empathyco/x-adapter-platform": "1.11.0",
|
|
72
|
+
"@empathyco/x-types": "10.9.0",
|
|
73
|
+
"@empathyco/x-utils": "1.1.0",
|
|
74
74
|
"@vue/devtools-api": "~6.6.4",
|
|
75
75
|
"@vueuse/core": "~12.8.2",
|
|
76
76
|
"js-md5": "~0.8.3",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@babel/preset-env": "8.0.2",
|
|
85
|
-
"@empathyco/x-design-system": "1.0
|
|
85
|
+
"@empathyco/x-design-system": "1.1.0",
|
|
86
86
|
"@microsoft/api-documenter": "7.30.7",
|
|
87
87
|
"@microsoft/api-extractor": "7.58.9",
|
|
88
88
|
"@tailwindcss/vite": "4.3.1",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"access": "public",
|
|
118
118
|
"directory": "dist"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "47e48a7d4dcedec643904bc33c1e996c6bb2baa1"
|
|
121
121
|
}
|
|
@@ -9145,6 +9145,56 @@
|
|
|
9145
9145
|
"endIndex": 8
|
|
9146
9146
|
}
|
|
9147
9147
|
},
|
|
9148
|
+
{
|
|
9149
|
+
"kind": "Variable",
|
|
9150
|
+
"canonicalReference": "@empathyco/x-adapter-platform!statsSchema:var",
|
|
9151
|
+
"docComment": "/**\n * Default implementation for the Stats schema.\n *\n * @public\n */\n",
|
|
9152
|
+
"excerptTokens": [
|
|
9153
|
+
{
|
|
9154
|
+
"kind": "Content",
|
|
9155
|
+
"text": "statsSchema: "
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
"kind": "Content",
|
|
9159
|
+
"text": "import(\"@empathyco/x-adapter\")."
|
|
9160
|
+
},
|
|
9161
|
+
{
|
|
9162
|
+
"kind": "Reference",
|
|
9163
|
+
"text": "MutableSchema",
|
|
9164
|
+
"canonicalReference": "@empathyco/x-adapter!MutableSchema:type"
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
"kind": "Content",
|
|
9168
|
+
"text": "<"
|
|
9169
|
+
},
|
|
9170
|
+
{
|
|
9171
|
+
"kind": "Reference",
|
|
9172
|
+
"text": "PlatformStats",
|
|
9173
|
+
"canonicalReference": "@empathyco/x-adapter-platform!~PlatformStats:interface"
|
|
9174
|
+
},
|
|
9175
|
+
{
|
|
9176
|
+
"kind": "Content",
|
|
9177
|
+
"text": ", "
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
"kind": "Reference",
|
|
9181
|
+
"text": "Stats",
|
|
9182
|
+
"canonicalReference": "@empathyco/x-adapter-platform!Stats:interface"
|
|
9183
|
+
},
|
|
9184
|
+
{
|
|
9185
|
+
"kind": "Content",
|
|
9186
|
+
"text": ">"
|
|
9187
|
+
}
|
|
9188
|
+
],
|
|
9189
|
+
"fileUrlPath": "dist/types/schemas/models/stats.schema.d.ts",
|
|
9190
|
+
"isReadonly": true,
|
|
9191
|
+
"releaseTag": "Public",
|
|
9192
|
+
"name": "statsSchema",
|
|
9193
|
+
"variableTypeTokenRange": {
|
|
9194
|
+
"startIndex": 1,
|
|
9195
|
+
"endIndex": 8
|
|
9196
|
+
}
|
|
9197
|
+
},
|
|
9148
9198
|
{
|
|
9149
9199
|
"kind": "Variable",
|
|
9150
9200
|
"canonicalReference": "@empathyco/x-adapter-platform!suggestionSchema:var",
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: x-components
|
|
3
|
+
description: 'Use when importing, using, or debugging components from x-components.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# x-components
|
|
7
|
+
|
|
8
|
+
Biblioteca de componentes Vue 3 para combinar y crear tu propia experiencia de búsqueda (o cualquier otra interfaz). También se documenta en https://docs.empathy.co (build search UI → web x components).
|
|
9
|
+
|
|
10
|
+
## Componentes disponibles
|
|
11
|
+
|
|
12
|
+
- `AutoProgressBar` — barra de progreso automática para peticiones en curso.
|
|
13
|
+
- `BaseDropdown` — dropdown reutilizable con items.
|
|
14
|
+
- `BaseEventButton` — botón que emite eventos al hacer clic.
|
|
15
|
+
- `BaseGrid` — grid para mostrar una lista de results.
|
|
16
|
+
- `BaseKeyboardNavigation` — navegación por teclado dentro de un componente.
|
|
17
|
+
- `BaseRating` — valoración tipo estrellas.
|
|
18
|
+
- `BaseSlider` — slider (basado en noUiSlider) para rangos numéricos.
|
|
19
|
+
- `BaseSwitch` — switch/toggle accesible.
|
|
20
|
+
- `BaseTeleport` — wrapper para teleportar contenido.
|
|
21
|
+
- `BaseVariableColumnGrid` — grid con número de columnas variable.
|
|
22
|
+
- `BaseColumnPickerDropdown` / `BaseColumnPickerList` — selectores de columnas del grid.
|
|
23
|
+
- `BaseCurrency` — formatea un precio en la divisa configurada.
|
|
24
|
+
- `Highlight` — resalta el texto de una query dentro de un resultado.
|
|
25
|
+
- `ItemsList` — lista básica de items (suggestions, etc.).
|
|
26
|
+
- `Message` — mensaje de estado (loading, error, vacío).
|
|
27
|
+
- `PageLoaderButton` — botón para cargar la siguiente página.
|
|
28
|
+
- `PageSelector` — selector de página del paginador.
|
|
29
|
+
- `SlidingPanel` — panel lateral deslizante.
|
|
30
|
+
- `BaseTogglePanel` / `BaseHeaderTogglePanel` / `BaseTabsPanel` / `BaseIdTogglePanel` — paneles colapsables y por pestañas.
|
|
31
|
+
- `BaseModal` / `MainModal` — modales con eventos de abrir/cerrar.
|
|
32
|
+
- `SortDropdown` / `SortList` / `SortPickerList` — selectores de ordenación.
|
|
33
|
+
- `BaseSuggestions` / `BaseSuggestion` — lista e item de sugerencias.
|
|
34
|
+
- `BaseResult*` — piezas del resultado: `image`, `fallback-image`, `placeholder-image`, `current-price`, `previous-price`, `rating`, `link`, `add-to-cart`.
|
|
35
|
+
- `ResultVariantSelector` / `ResultVariantsProvider` — selección de variantes de producto.
|
|
36
|
+
- `BaseScroll` — scroll con estado de posición.
|
|
37
|
+
- `SnippetCallbacks` — callbacks de ciclo de vida del snippet.
|
|
38
|
+
- `LocationProvider` / `DisplayClickProvider` / `DisplayEmitter` — providers/emitter de contexto.
|
|
39
|
+
- `GlobalXBus` — instancia global del X-Bus de eventos.
|
|
40
|
+
- `Icons` — iconos SVG inline (search, cart, chevron, sort, etc.).
|
|
41
|
+
- `Animations` — animaciones reutilizables (fade, cross-fade, collapse, staggered, etc.).
|
|
42
|
+
|
|
43
|
+
## Instalación
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
npm install @empathyco/x-components
|
|
47
|
+
```
|