@retailcrm/embed-ui 0.9.4 → 0.9.6

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/.yarnrc.dist.yml CHANGED
@@ -1,4 +1,4 @@
1
- yarnPath: .yarn/releases/yarn-4.5.1.cjs
1
+ yarnPath: .yarn/releases/yarn-4.12.0.cjs
2
2
 
3
3
  compressionLevel: mixed
4
4
 
package/.yarnrc.yml CHANGED
@@ -1,4 +1,4 @@
1
- yarnPath: .yarn/releases/yarn-4.5.1.cjs
1
+ yarnPath: .yarn/releases/yarn-4.12.0.cjs
2
2
 
3
3
  compressionLevel: mixed
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.9.6](https://github.com/retailcrm/embed-ui/compare/v0.9.5...v0.9.6) (2026-01-13)
5
+
6
+ ### Bug Fixes
7
+
8
+ * Was added height property and orbstack domain ([03485b0](https://github.com/retailcrm/embed-ui/commit/03485b0172bcbf1ee517b5f9d392831b928ec08f))
9
+ ## [0.9.5](https://github.com/retailcrm/embed-ui/compare/v0.9.4...v0.9.5) (2025-12-09)
10
+
11
+ ### Features
12
+
13
+ * **v1-components:** Added rows/cols native textarea attributes to UiTextbox (works only for multiline=true) ([c1784bb](https://github.com/retailcrm/embed-ui/commit/c1784bb340dec27ca39decf49ba8dc2cb88f1b9b))
4
14
  ## [0.9.4](https://github.com/retailcrm/embed-ui/compare/v0.9.3...v0.9.4) (2025-12-08)
5
15
 
6
16
  ### Bug Fixes
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  API и компоненты для создания расширений интерфейса RetailCRM
6
6
 
7
+ Витрина storybook для последней выпущенной версии: [embed-ui/v1-components/latest](https://retailcrm.github.io/embed-ui/v1-components/latest/index.html).
8
+
7
9
  ## Цели встраивания
8
10
 
9
11
  Цели встраивания определяют места, где будет размещена разметка виджета, генерируемая расширением.
package/dist/index.cjs CHANGED
@@ -28,10 +28,7 @@ const useCustomField = (store, code, options = { readonly: false }) => {
28
28
  const kind = options.kind ? Array.isArray(options.kind) ? options.kind : [options.kind] : [];
29
29
  const suitable = (f) => f.code === code && (kind.includes(f.kind) || kind.length === 0);
30
30
  const _onReject = (rejection) => console.error(rejection);
31
- const get = () => {
32
- var _a;
33
- return ((_a = store.schema) == null ? void 0 : _a.fields.find(suitable)) ? store.values[code] ?? null : null;
34
- };
31
+ const get = () => store.schema?.fields.find(suitable) ? store.values[code] ?? null : null;
35
32
  if (options.readonly) {
36
33
  return vue.computed(get);
37
34
  }
package/dist/index.mjs CHANGED
@@ -27,10 +27,7 @@ const useCustomField = (store, code, options = { readonly: false }) => {
27
27
  const kind = options.kind ? Array.isArray(options.kind) ? options.kind : [options.kind] : [];
28
28
  const suitable = (f) => f.code === code && (kind.includes(f.kind) || kind.length === 0);
29
29
  const _onReject = (rejection) => console.error(rejection);
30
- const get = () => {
31
- var _a;
32
- return ((_a = store.schema) == null ? void 0 : _a.fields.find(suitable)) ? store.values[code] ?? null : null;
33
- };
30
+ const get = () => store.schema?.fields.find(suitable) ? store.values[code] ?? null : null;
34
31
  if (options.readonly) {
35
32
  return computed(get);
36
33
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.9.4",
4
+ "version": "0.9.6",
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,21 +40,21 @@
40
40
  "@omnicajs/symfony-router": "^1.0.0",
41
41
  "@omnicajs/vue-remote": "^0.2.8",
42
42
  "@remote-ui/rpc": "^1.4.5",
43
- "@retailcrm/embed-ui-v1-contexts": "^0.9.4",
44
- "@retailcrm/embed-ui-v1-types": "^0.9.4"
43
+ "@retailcrm/embed-ui-v1-contexts": "^0.9.6",
44
+ "@retailcrm/embed-ui-v1-types": "^0.9.6"
45
45
  },
46
46
  "devDependencies": {
47
- "@eslint/eslintrc": "^3.3.1",
47
+ "@eslint/eslintrc": "^3.3.3",
48
48
  "@eslint/js": "^9.39.1",
49
49
  "@modulify/git-toolkit": "^0.0.2",
50
50
  "@modulify/pkg": "^1.0.1",
51
- "@retailcrm/embed-ui-v1-testing": "^0.9.4",
51
+ "@retailcrm/embed-ui-v1-testing": "^0.9.6",
52
52
  "@types/git-semver-tags": "^7.0.0",
53
- "@types/node": "^22.7.9",
54
- "@types/semver": "^7.5.8",
55
- "@types/yargs": "^17.0.33",
56
- "@vitejs/plugin-vue": "^5.1.4",
57
- "@vue/language-server": "^2.1.10",
53
+ "@types/node": "^22.19.2",
54
+ "@types/semver": "^7.7.1",
55
+ "@types/yargs": "^17.0.35",
56
+ "@vitejs/plugin-vue": "^6.0.2",
57
+ "@vue/language-server": "^3.1.8",
58
58
  "@vue/test-utils": "^2.4.6",
59
59
  "chalk": "^5.3.0",
60
60
  "conventional-changelog": "^6.0.0",
@@ -63,26 +63,26 @@
63
63
  "eslint": "^9.39.1",
64
64
  "eslint-plugin-import": "^2.32.0",
65
65
  "eslint-plugin-n": "^17.23.1",
66
- "eslint-plugin-promise": "^6.6.0",
67
- "eslint-plugin-vue": "^9.32.0",
66
+ "eslint-plugin-promise": "^7.2.1",
67
+ "eslint-plugin-vue": "^9.33.0",
68
68
  "figures": "^6.1.0",
69
69
  "git-semver-tags": "^7.0.1",
70
- "glob": "^11.1.0",
70
+ "glob": "^13.0.0",
71
71
  "globals": "^16.5.0",
72
- "jsdom": "^25.0.1",
72
+ "jsdom": "^27.3.0",
73
73
  "pinia": "^2.2.8",
74
- "semver": "^7.6.3",
75
- "tsx": "^4.19.2",
74
+ "semver": "^7.7.3",
75
+ "tsx": "^4.21.0",
76
76
  "typescript": "^5.9.3",
77
- "typescript-eslint": "^8.22.0",
78
- "vite": "^5.4.11",
79
- "vite-plugin-dts": "^4.5.0",
80
- "vitest": "^2.1.8",
77
+ "typescript-eslint": "^8.49.0",
78
+ "vite": "^7.2.7",
79
+ "vite-plugin-dts": "^4.5.4",
80
+ "vitest": "^4.0.15",
81
81
  "vue": "^3.5.12",
82
82
  "yargs": "^17.7.2"
83
83
  },
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "packageManager": "yarn@4.5.1"
87
+ "packageManager": "yarn@4.12.0"
88
88
  }
@@ -1,7 +0,0 @@
1
- import { defineWorkspace } from 'vitest/config'
2
-
3
- export default defineWorkspace([
4
- '.',
5
- 'packages/v1-contexts',
6
- 'packages/v1-components',
7
- ])