@retailcrm/embed-ui 0.5.20 → 0.5.22

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
@@ -1,6 +1,20 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.5.22](https://github.com/retailcrm/embed-ui/compare/v0.5.21...v0.5.22) (2025-02-04)
5
+
6
+ ### Features
7
+
8
+ * Added new target customer/card:communications.after ([30fda6d](https://github.com/retailcrm/embed-ui/commit/30fda6d7f3b7261a6946af692aa58bd00f5540d8))
9
+
10
+ ### Bug Fixes
11
+
12
+ * **v1-components:** Missing floating-ui dependencies ([45836bd](https://github.com/retailcrm/embed-ui/commit/45836bd455d931d21bf4acdae1704a18cee19d13))
13
+ ## [0.5.21](https://github.com/retailcrm/embed-ui/compare/v0.5.20...v0.5.21) (2025-02-03)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **v1-components:** Fixed date format for spanish locales ([9be1716](https://github.com/retailcrm/embed-ui/commit/9be17164856fd5435c5326acb76aaca2c202b3d5))
4
18
  ## [0.5.20](https://github.com/retailcrm/embed-ui/compare/v0.5.19...v0.5.20) (2025-01-31)
5
19
 
6
20
  ### Bug Fixes
package/dist/meta.json CHANGED
@@ -530,7 +530,30 @@
530
530
  "user/current",
531
531
  "settings"
532
532
  ],
533
- "customContexts": []
533
+ "customContexts": [
534
+ "customer"
535
+ ]
536
+ },
537
+ {
538
+ "id": "customer/card:communications.after",
539
+ "description": {
540
+ "en-GB": "Widget for enhancing the communication section in the left column of the customer page.",
541
+ "es-ES": "Widget para ampliar la sección de comunicación en la columna izquierda de la página del cliente.",
542
+ "ru-RU": "Виджет для дополнения секции коммуникаций в левой колонке страницы клиента."
543
+ },
544
+ "location": {
545
+ "en-GB": "Right below the short summary, in the communication section",
546
+ "es-ES": "Justo debajo del resumen breve, en la sección de comunicación",
547
+ "ru-RU": "Сразу под краткой сводкой, в секции коммуникаций"
548
+ },
549
+ "contexts": [
550
+ "customer/card",
551
+ "user/current",
552
+ "settings"
553
+ ],
554
+ "customContexts": [
555
+ "customer"
556
+ ]
534
557
  },
535
558
  {
536
559
  "id": "order/card:common.before",
@@ -857,7 +880,8 @@
857
880
  "ru-RU": "Страница клиента"
858
881
  },
859
882
  "targets": [
860
- "customer/card:phone"
883
+ "customer/card:phone",
884
+ "customer/card:communications.after"
861
885
  ]
862
886
  },
863
887
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.5.20",
4
+ "version": "0.5.22",
5
5
  "description": "API and components for creating RetailCRM UI extensions",
6
6
  "repository": "git@github.com:retailcrm/embed-ui.git",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
@@ -40,14 +40,14 @@
40
40
  "@omnicajs/symfony-router": "^1.0.0",
41
41
  "@omnicajs/vue-remote": "^0.2.5",
42
42
  "@remote-ui/rpc": "^1.4.5",
43
- "@retailcrm/embed-ui-v1-contexts": "^0.5.20",
44
- "@retailcrm/embed-ui-v1-types": "^0.5.20"
43
+ "@retailcrm/embed-ui-v1-contexts": "^0.5.22",
44
+ "@retailcrm/embed-ui-v1-types": "^0.5.22"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/eslintrc": "^3.0.2",
48
48
  "@eslint/js": "^9.13.0",
49
49
  "@modulify/pkg": "^1.0.1",
50
- "@retailcrm/embed-ui-v1-testing": "^0.5.20",
50
+ "@retailcrm/embed-ui-v1-testing": "^0.5.22",
51
51
  "@types/git-semver-tags": "^7.0.0",
52
52
  "@types/node": "^22.7.9",
53
53
  "@types/semver": "^7.5.8",
package/types/widget.d.ts CHANGED
@@ -38,6 +38,11 @@ export type SchemaListByTarget = {
38
38
  | 'user/current'
39
39
  | 'settings'
40
40
  >;
41
+ 'customer/card:communications.after': Pick<SchemaList,
42
+ | 'customer/card'
43
+ | 'user/current'
44
+ | 'settings'
45
+ >,
41
46
  'order/card:common.before': Pick<SchemaList,
42
47
  | 'order/card'
43
48
  | 'user/current'