@retailcrm/embed-ui 0.4.1-alpha.16 → 0.4.1-alpha.17

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,7 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.4.1-alpha.17](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.16...v0.4.1-alpha.17) (2024-11-27)
4
5
  ## [0.4.1-alpha.16](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.15...v0.4.1-alpha.16) (2024-11-27)
5
6
 
6
7
  ### Bug Fixes
package/README.md CHANGED
@@ -7,47 +7,3 @@ API и компоненты для создания расширений инт
7
7
  Цели встраивания определяют места, где будет размещена разметка виджета, генерируемая расширением.
8
8
 
9
9
  https://docs.retailcrm.ru/Developers/modules/PublishingModuleMarketplace/JsModulesTargets
10
-
11
- ## Контексты
12
-
13
- Предоставляют данные из системы, реактивны.
14
-
15
- ### `customer/card`
16
-
17
- Данные карточки клиента
18
-
19
- ```typescript
20
- import { useCustomerCardContext } from '@retailcrm/embed-ui'
21
-
22
- const customer = useCustomerCardContext()
23
- ```
24
-
25
- ### `customer/card:phone`
26
-
27
- Данные телефона клиента
28
-
29
- ```typescript
30
- import { useCustomerCardPhoneContext } from '@retailcrm/embed-ui'
31
-
32
- const phone = useCustomerCardPhoneContext()
33
- ```
34
-
35
- ### `order/card`
36
-
37
- Данные карточки заказа
38
-
39
- ```typescript
40
- import { useOrderCardContext } from '@retailcrm/embed-ui'
41
-
42
- const order = useOrderCardContext()
43
- ```
44
-
45
- ### `settings`
46
-
47
- Настройки CRM
48
-
49
- ```typescript
50
- import { useSettingsContext } from '@retailcrm/embed-ui'
51
-
52
- const settings = useSettingsContext()
53
- ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.4.1-alpha.16",
4
+ "version": "0.4.1-alpha.17",
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>",