@retailcrm/embed-ui-v1-components 0.9.14 → 0.9.16
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/AGENTS.md +126 -0
- package/README.md +24 -0
- package/assets/sprites/map-and-places/navigate.svg +3 -0
- package/assets/stylesheets/palette.less +11 -6
- package/bin/embed-ui-v1-components.mjs +209 -0
- package/bin/postinstall.mjs +37 -0
- package/dist/host.cjs +2443 -657
- package/dist/host.css +920 -6
- package/dist/host.d.ts +2440 -6
- package/dist/host.js +2444 -658
- package/dist/remote.cjs +1009 -46
- package/dist/remote.d.ts +1240 -67
- package/dist/remote.js +1011 -48
- package/docs/AI.md +106 -0
- package/docs/COMPONENTS.md +99 -0
- package/docs/FORMAT.md +267 -0
- package/docs/PROFILES.md +66 -0
- package/docs/README.md +65 -0
- package/docs/STYLING.md +156 -0
- package/docs/profiles/UiAddButton.yml +57 -0
- package/docs/profiles/UiAlert.yml +48 -0
- package/docs/profiles/UiAvatar.yml +48 -0
- package/docs/profiles/UiAvatarList.yml +42 -0
- package/docs/profiles/UiButton.yml +229 -0
- package/docs/profiles/UiCalendar.yml +48 -0
- package/docs/profiles/UiCheckbox.yml +53 -0
- package/docs/profiles/UiCollapse.yml +40 -0
- package/docs/profiles/UiCollapseBox.yml +51 -0
- package/docs/profiles/UiCollapseGroup.yml +39 -0
- package/docs/profiles/UiCopyButton.yml +52 -0
- package/docs/profiles/UiDate.yml +38 -0
- package/docs/profiles/UiDatePicker.yml +59 -0
- package/docs/profiles/UiError.yml +32 -0
- package/docs/profiles/UiField.yml +233 -0
- package/docs/profiles/UiImage.yml +39 -0
- package/docs/profiles/UiInfobox.yml +45 -0
- package/docs/profiles/UiLink.yml +51 -0
- package/docs/profiles/UiLoader.yml +38 -0
- package/docs/profiles/UiMenuItem.yml +57 -0
- package/docs/profiles/UiMenuItemGroup.yml +50 -0
- package/docs/profiles/UiModalSidebar.yml +46 -0
- package/docs/profiles/UiModalWindow.yml +44 -0
- package/docs/profiles/UiModalWindowSurface.yml +41 -0
- package/docs/profiles/UiNumberStepper.yml +52 -0
- package/docs/profiles/UiPageHeader.yml +244 -0
- package/docs/profiles/UiPopper.yml +201 -0
- package/docs/profiles/UiPopperConnector.yml +115 -0
- package/docs/profiles/UiPopperTarget.yml +118 -0
- package/docs/profiles/UiRadio.yml +38 -0
- package/docs/profiles/UiRadioSwitch.yml +231 -0
- package/docs/profiles/UiRadioSwitchOption.yml +121 -0
- package/docs/profiles/UiScrollBox.yml +31 -0
- package/docs/profiles/UiSelect.yml +327 -0
- package/docs/profiles/UiSelectOption.yml +44 -0
- package/docs/profiles/UiSelectOptionGroup.yml +38 -0
- package/docs/profiles/UiSlider.yml +38 -0
- package/docs/profiles/UiSwitch.yml +37 -0
- package/docs/profiles/UiTab.yml +119 -0
- package/docs/profiles/UiTabGroup.yml +238 -0
- package/docs/profiles/UiTable.yml +152 -0
- package/docs/profiles/UiTableBodyCell.yml +47 -0
- package/docs/profiles/UiTableColumn.yml +50 -0
- package/docs/profiles/UiTableFooterButton.yml +44 -0
- package/docs/profiles/UiTableFooterSection.yml +38 -0
- package/docs/profiles/UiTableHeadCell.yml +44 -0
- package/docs/profiles/UiTableSorter.yml +45 -0
- package/docs/profiles/UiTag.yml +41 -0
- package/docs/profiles/UiTextbox.yml +392 -0
- package/docs/profiles/UiTimePicker.yml +46 -0
- package/docs/profiles/UiToggleButton.yml +211 -0
- package/docs/profiles/UiToggleGroup.yml +211 -0
- package/docs/profiles/UiToggleGroupOption.yml +116 -0
- package/docs/profiles/UiToolbarButton.yml +37 -0
- package/docs/profiles/UiToolbarLink.yml +32 -0
- package/docs/profiles/UiTooltip.yml +43 -0
- package/docs/profiles/UiTransition.yml +27 -0
- package/docs/profiles/UiYandexMap.yml +29 -0
- package/package.json +8 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
component: UiYandexMap
|
|
2
|
+
summary: >
|
|
3
|
+
UiYandexMap is the Yandex map component for map display and related location scenarios.
|
|
4
|
+
Treat it as unstable for now and avoid it unless the screen explicitly requires a map surface.
|
|
5
|
+
|
|
6
|
+
public_import:
|
|
7
|
+
from: '@retailcrm/embed-ui-v1-components/remote'
|
|
8
|
+
named:
|
|
9
|
+
- UiYandexMap
|
|
10
|
+
|
|
11
|
+
use_when:
|
|
12
|
+
- You need a Yandex map view.
|
|
13
|
+
- You need location display inside extension UI.
|
|
14
|
+
|
|
15
|
+
avoid_when:
|
|
16
|
+
- You can solve the task without an embedded map and do not want to depend on an unstable component.
|
|
17
|
+
- You only need text address output.
|
|
18
|
+
|
|
19
|
+
rendered_structure:
|
|
20
|
+
descriptive_only: true
|
|
21
|
+
root:
|
|
22
|
+
shape: div.ui-v1-yandex-map
|
|
23
|
+
tag: div
|
|
24
|
+
notes: The root is one map container that hosts the Yandex map instance.
|
|
25
|
+
|
|
26
|
+
geometry:
|
|
27
|
+
layout: block-like map container
|
|
28
|
+
root_display: flex
|
|
29
|
+
width_behavior: stretches to container width by default
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui-v1-components",
|
|
3
|
+
"bin": "./bin/embed-ui-v1-components.mjs",
|
|
3
4
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.16",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "RetailDriverLLC <integration@retailcrm.ru>",
|
|
7
8
|
"repository": "git@github.com:retailcrm/embed-ui.git",
|
|
@@ -37,8 +38,11 @@
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
"files": [
|
|
41
|
+
"AGENTS.md",
|
|
40
42
|
"assets",
|
|
43
|
+
"bin",
|
|
41
44
|
"dist",
|
|
45
|
+
"docs",
|
|
42
46
|
"index.cjs",
|
|
43
47
|
"index.js",
|
|
44
48
|
"README.md"
|
|
@@ -47,6 +51,7 @@
|
|
|
47
51
|
"build": "yarn build:host && yarn build:remote",
|
|
48
52
|
"build:host": "vite build -c ./vite.config.host.ts",
|
|
49
53
|
"build:remote": "vite build -c ./vite.config.remote.ts && sh -c 'cp dist/remote/* dist/ && rm -rf dist/remote'",
|
|
54
|
+
"postinstall": "node ./bin/postinstall.mjs",
|
|
50
55
|
"test:e2e": "yarn exec vitest --run --config ./vitest.config.playwright.ts",
|
|
51
56
|
"test:playwright": "yarn exec vitest --run --config ./vitest.config.playwright.ts",
|
|
52
57
|
"storybook:build": "storybook build -c storybook -o ./storybook/dist",
|
|
@@ -57,7 +62,7 @@
|
|
|
57
62
|
"vue": "^3.5"
|
|
58
63
|
},
|
|
59
64
|
"dependencies": {
|
|
60
|
-
"@omnicajs/vue-remote": "^0.2.
|
|
65
|
+
"@omnicajs/vue-remote": "^0.2.23",
|
|
61
66
|
"@remote-ui/rpc": "^1.4.7",
|
|
62
67
|
"@retailcrm/image-preview": "^1.0.2",
|
|
63
68
|
"date-fns": "^4.1.0",
|
|
@@ -78,7 +83,7 @@
|
|
|
78
83
|
"@vitest/browser-playwright": "4.0.15",
|
|
79
84
|
"@vue/compiler-sfc": "^3.5.25",
|
|
80
85
|
"@vue/test-utils": "^2.4.6",
|
|
81
|
-
"@yandex/ymaps3-types": "^
|
|
86
|
+
"@yandex/ymaps3-types": "^1.0.19072130",
|
|
82
87
|
"highlight.js": "^11.11.1",
|
|
83
88
|
"less": "^4.4.2",
|
|
84
89
|
"playwright": "1.58.2",
|