@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.
Files changed (78) hide show
  1. package/AGENTS.md +126 -0
  2. package/README.md +24 -0
  3. package/assets/sprites/map-and-places/navigate.svg +3 -0
  4. package/assets/stylesheets/palette.less +11 -6
  5. package/bin/embed-ui-v1-components.mjs +209 -0
  6. package/bin/postinstall.mjs +37 -0
  7. package/dist/host.cjs +2443 -657
  8. package/dist/host.css +920 -6
  9. package/dist/host.d.ts +2440 -6
  10. package/dist/host.js +2444 -658
  11. package/dist/remote.cjs +1009 -46
  12. package/dist/remote.d.ts +1240 -67
  13. package/dist/remote.js +1011 -48
  14. package/docs/AI.md +106 -0
  15. package/docs/COMPONENTS.md +99 -0
  16. package/docs/FORMAT.md +267 -0
  17. package/docs/PROFILES.md +66 -0
  18. package/docs/README.md +65 -0
  19. package/docs/STYLING.md +156 -0
  20. package/docs/profiles/UiAddButton.yml +57 -0
  21. package/docs/profiles/UiAlert.yml +48 -0
  22. package/docs/profiles/UiAvatar.yml +48 -0
  23. package/docs/profiles/UiAvatarList.yml +42 -0
  24. package/docs/profiles/UiButton.yml +229 -0
  25. package/docs/profiles/UiCalendar.yml +48 -0
  26. package/docs/profiles/UiCheckbox.yml +53 -0
  27. package/docs/profiles/UiCollapse.yml +40 -0
  28. package/docs/profiles/UiCollapseBox.yml +51 -0
  29. package/docs/profiles/UiCollapseGroup.yml +39 -0
  30. package/docs/profiles/UiCopyButton.yml +52 -0
  31. package/docs/profiles/UiDate.yml +38 -0
  32. package/docs/profiles/UiDatePicker.yml +59 -0
  33. package/docs/profiles/UiError.yml +32 -0
  34. package/docs/profiles/UiField.yml +233 -0
  35. package/docs/profiles/UiImage.yml +39 -0
  36. package/docs/profiles/UiInfobox.yml +45 -0
  37. package/docs/profiles/UiLink.yml +51 -0
  38. package/docs/profiles/UiLoader.yml +38 -0
  39. package/docs/profiles/UiMenuItem.yml +57 -0
  40. package/docs/profiles/UiMenuItemGroup.yml +50 -0
  41. package/docs/profiles/UiModalSidebar.yml +46 -0
  42. package/docs/profiles/UiModalWindow.yml +44 -0
  43. package/docs/profiles/UiModalWindowSurface.yml +41 -0
  44. package/docs/profiles/UiNumberStepper.yml +52 -0
  45. package/docs/profiles/UiPageHeader.yml +244 -0
  46. package/docs/profiles/UiPopper.yml +201 -0
  47. package/docs/profiles/UiPopperConnector.yml +115 -0
  48. package/docs/profiles/UiPopperTarget.yml +118 -0
  49. package/docs/profiles/UiRadio.yml +38 -0
  50. package/docs/profiles/UiRadioSwitch.yml +231 -0
  51. package/docs/profiles/UiRadioSwitchOption.yml +121 -0
  52. package/docs/profiles/UiScrollBox.yml +31 -0
  53. package/docs/profiles/UiSelect.yml +327 -0
  54. package/docs/profiles/UiSelectOption.yml +44 -0
  55. package/docs/profiles/UiSelectOptionGroup.yml +38 -0
  56. package/docs/profiles/UiSlider.yml +38 -0
  57. package/docs/profiles/UiSwitch.yml +37 -0
  58. package/docs/profiles/UiTab.yml +119 -0
  59. package/docs/profiles/UiTabGroup.yml +238 -0
  60. package/docs/profiles/UiTable.yml +152 -0
  61. package/docs/profiles/UiTableBodyCell.yml +47 -0
  62. package/docs/profiles/UiTableColumn.yml +50 -0
  63. package/docs/profiles/UiTableFooterButton.yml +44 -0
  64. package/docs/profiles/UiTableFooterSection.yml +38 -0
  65. package/docs/profiles/UiTableHeadCell.yml +44 -0
  66. package/docs/profiles/UiTableSorter.yml +45 -0
  67. package/docs/profiles/UiTag.yml +41 -0
  68. package/docs/profiles/UiTextbox.yml +392 -0
  69. package/docs/profiles/UiTimePicker.yml +46 -0
  70. package/docs/profiles/UiToggleButton.yml +211 -0
  71. package/docs/profiles/UiToggleGroup.yml +211 -0
  72. package/docs/profiles/UiToggleGroupOption.yml +116 -0
  73. package/docs/profiles/UiToolbarButton.yml +37 -0
  74. package/docs/profiles/UiToolbarLink.yml +32 -0
  75. package/docs/profiles/UiTooltip.yml +43 -0
  76. package/docs/profiles/UiTransition.yml +27 -0
  77. package/docs/profiles/UiYandexMap.yml +29 -0
  78. 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.14",
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.21",
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": "^0.0.21",
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",