@retailcrm/embed-ui 0.4.0 → 0.4.1-alpha.2
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 +15 -0
- package/.yarnrc.yml +15 -0
- package/CHANGELOG.md +12 -1
- package/Makefile +5 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +25 -7
- package/tsconfig.basic.json +26 -0
- package/types/context/settings.d.ts +1 -1
package/.yarnrc.dist.yml
ADDED
package/.yarnrc.yml
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
3
|
|
|
4
|
+
## [0.4.1-alpha.2](https://github.com/retailcrm/embed-ui/compare/v0.4.1-alpha.1...v0.4.1-alpha.2) (2024-11-25)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **v1-components:** Missing exported files ([9166a30](https://github.com/retailcrm/embed-ui/commit/9166a30ea3fdcca3533d61a0530bcaa8ce850261))
|
|
9
|
+
## [0.4.1-alpha.1](https://github.com/retailcrm/embed-ui/compare/v0.4.0...v0.4.1-alpha.1) (2024-11-25)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **v1-components:** Added UiButton, UiLink, UiLoader, UiTransition & scaffolding ([9685390](https://github.com/retailcrm/embed-ui/commit/96853906bea7e7e9a69245d0f5ac35b97458c39f))
|
|
14
|
+
* **v1-components:** Added UiError, UiScrollBox, UiTag, i18n and documentation for UiButton and UiLink ([e2d2b21](https://github.com/retailcrm/embed-ui/commit/e2d2b219cd8dddc00e4467fdabe3c1558d720008))
|
|
15
|
+
* **v1-components:** Added UiModal, UiModalSidebar, UiModalWindow and UiModalWindowSurface ([24d3705](https://github.com/retailcrm/embed-ui/commit/24d3705cb9ec3b33970cf8a6e50743c19f8e631d))
|
|
5
16
|
## [0.4.0](https://github.com/retailcrm/embed-ui/compare/v0.3.7...v0.4.0) (2024-11-25)
|
|
6
17
|
|
|
7
18
|
|
package/Makefile
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
TARGET_HEADER=@echo -e '===== \e[34m' $@ '\e[0m'
|
|
2
2
|
YARN=docker-compose run --rm node yarn
|
|
3
3
|
|
|
4
|
+
.PHONY: .yarnrc.yml
|
|
5
|
+
.yarnrc.yml: ## Generates yarn configuration
|
|
6
|
+
$(TARGET_HEADER)
|
|
7
|
+
cp .yarnrc.dist.yml .yarnrc.yml
|
|
8
|
+
|
|
4
9
|
.PHONY: node_modules
|
|
5
10
|
node_modules: package.json yarn.lock ## Installs dependencies
|
|
6
11
|
$(TARGET_HEADER)
|
|
7
12
|
@docker-compose run --rm node yarn install --silent
|
|
8
|
-
@touch node_modules || true
|
|
9
13
|
|
|
10
14
|
.PHONY: build
|
|
11
15
|
build: ## Builds the package
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1-alpha.2",
|
|
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>",
|
|
@@ -11,19 +11,22 @@
|
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"types": "./index.d.ts",
|
|
14
15
|
"import": "./dist/index.mjs",
|
|
15
16
|
"require": "./dist/index.cjs",
|
|
16
|
-
"types": "./index.d.ts",
|
|
17
17
|
"default": "./dist/index.mjs"
|
|
18
18
|
},
|
|
19
19
|
"./dist/*": "./dist/*",
|
|
20
20
|
"./types/*": "./types/*"
|
|
21
21
|
},
|
|
22
22
|
"types": "index.d.ts",
|
|
23
|
+
"workspaces": [
|
|
24
|
+
"packages/*"
|
|
25
|
+
],
|
|
23
26
|
"scripts": {
|
|
24
27
|
"build": "vite build",
|
|
25
28
|
"eslint": "eslint .",
|
|
26
|
-
"generate:meta": "
|
|
29
|
+
"generate:meta": "tsx scripts/generate-meta.ts",
|
|
27
30
|
"release": "yes | npx standard-version",
|
|
28
31
|
"release:major": "yes | npx standard-version --release-as major",
|
|
29
32
|
"release:minor": "yes | npx standard-version --release-as minor",
|
|
@@ -41,28 +44,43 @@
|
|
|
41
44
|
"devDependencies": {
|
|
42
45
|
"@eslint/eslintrc": "^3.0.2",
|
|
43
46
|
"@eslint/js": "^9.13.0",
|
|
44
|
-
"@
|
|
47
|
+
"@types/git-semver-tags": "^7.0.0",
|
|
45
48
|
"@types/node": "^22.7.9",
|
|
49
|
+
"@types/semver": "^7.5.8",
|
|
50
|
+
"@types/yargs": "^17.0.33",
|
|
46
51
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
47
52
|
"@vue/language-server": "^2.1.10",
|
|
48
53
|
"@vue/test-utils": "^2.4.6",
|
|
54
|
+
"chalk": "^5.3.0",
|
|
55
|
+
"conventional-changelog": "^6.0.0",
|
|
56
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
57
|
+
"conventional-recommended-bump": "^10.0.0",
|
|
58
|
+
"detect-indent": "^7.0.1",
|
|
59
|
+
"detect-newline": "^4.0.1",
|
|
49
60
|
"eslint": "^9.13.0",
|
|
50
61
|
"eslint-plugin-import": "^2.31.0",
|
|
51
62
|
"eslint-plugin-n": "^17.11.1",
|
|
52
63
|
"eslint-plugin-promise": "^6.6.0",
|
|
53
64
|
"eslint-plugin-vue": "^9.29.1",
|
|
65
|
+
"figures": "^6.1.0",
|
|
66
|
+
"git-semver-tags": "^7.0.1",
|
|
67
|
+
"glob": "^11.0.0",
|
|
54
68
|
"globals": "^15.11.0",
|
|
55
69
|
"jsdom": "^25.0.1",
|
|
56
70
|
"pinia": "^2.2.4",
|
|
71
|
+
"semver": "^7.6.3",
|
|
72
|
+
"stringify-package": "^1.0.1",
|
|
57
73
|
"tsx": "^4.19.2",
|
|
58
|
-
"typescript": "^5.
|
|
74
|
+
"typescript": "^5.6.3",
|
|
59
75
|
"typescript-eslint": "^8.11.0",
|
|
60
76
|
"vite": "^5.4.8",
|
|
61
77
|
"vite-plugin-dts": "^4.3.0",
|
|
62
78
|
"vitest": "^2.1.2",
|
|
63
|
-
"vue": "^3.5.12"
|
|
79
|
+
"vue": "^3.5.12",
|
|
80
|
+
"yargs": "^17.7.2"
|
|
64
81
|
},
|
|
65
82
|
"publishConfig": {
|
|
66
83
|
"access": "public"
|
|
67
|
-
}
|
|
84
|
+
},
|
|
85
|
+
"packageManager": "yarn@4.5.1"
|
|
68
86
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"allowSyntheticDefaultImports": true,
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"forceConsistentCasingInFileNames": true,
|
|
8
|
+
"importHelpers": true,
|
|
9
|
+
"isolatedModules": true,
|
|
10
|
+
"jsx": "preserve",
|
|
11
|
+
"lib": [
|
|
12
|
+
"esnext",
|
|
13
|
+
"dom",
|
|
14
|
+
"dom.iterable",
|
|
15
|
+
"scripthost"
|
|
16
|
+
],
|
|
17
|
+
"module": "ES2022",
|
|
18
|
+
"moduleResolution": "node",
|
|
19
|
+
"resolveJsonModule": true,
|
|
20
|
+
"skipLibCheck": true,
|
|
21
|
+
"sourceMap": false,
|
|
22
|
+
"strict": true,
|
|
23
|
+
"target": "es2017",
|
|
24
|
+
"useDefineForClassFields": true
|
|
25
|
+
}
|
|
26
|
+
}
|