From d48611487436db4c4e37385c5a917000c8e1b721 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 25 Jan 2024 15:47:53 +0300 Subject: [PATCH 001/291] fix: listing item selected item hover #1280 --- ...em-with-instruments-example.component.html | 9 ++++-- .../listing-item-example.component.html | 32 ++++++++++++++++++- .../listing-item-example.component.ts | 3 ++ .../listing-item-example.module.ts | 2 ++ .../listing-item/listing-item.component.less | 4 +-- 5 files changed, 45 insertions(+), 5 deletions(-) diff --git a/apps/doc/src/app/components/listing-item/examples/with-instrumnets/listing-item-with-instruments-example.component.html b/apps/doc/src/app/components/listing-item/examples/with-instrumnets/listing-item-with-instruments-example.component.html index 26a3f38cf7..404d2d8181 100644 --- a/apps/doc/src/app/components/listing-item/examples/with-instrumnets/listing-item-with-instruments-example.component.html +++ b/apps/doc/src/app/components/listing-item/examples/with-instrumnets/listing-item-with-instruments-example.component.html @@ -1,7 +1,12 @@
- + - + diff --git a/apps/doc/src/app/components/listing-item/listing-item-example.component.html b/apps/doc/src/app/components/listing-item/listing-item-example.component.html index 5923284a2a..f333b62fd5 100644 --- a/apps/doc/src/app/components/listing-item/listing-item-example.component.html +++ b/apps/doc/src/app/components/listing-item/listing-item-example.component.html @@ -23,12 +23,42 @@
- + {{ title }}
+ + Listing item row hover color + + + Listing item selected row hover color + + + Listing item height + Date: Tue, 30 Jan 2024 17:50:20 +0300 Subject: [PATCH 002/291] chore: version 1.14.0 up tp 1.15.0 --- .github/workflows/beta-publish-ng14.yml | 2 +- .github/workflows/main-publish-ng14.yml | 2 +- .github/workflows/pre-release-publish-ng14.yml | 2 +- apps/doc/src/app/version-manager/current.const.ts | 2 +- libs/ast/package.json.ng14 | 2 +- libs/charts/base/package.json.ng14 | 6 +++--- libs/components/package.json.ng14 | 10 +++++----- libs/core/package.json.ng14 | 2 +- libs/helpers/package.json.ng14 | 2 +- libs/i18n/package.json.ng14 | 2 +- libs/icons/base/package.json.ng14 | 4 ++-- libs/icons/flags/package.json.ng14 | 4 ++-- libs/nxmv/package.json.ng14 | 2 +- libs/plugin/package.json.ng14 | 4 ++-- libs/schematics/package.json.ng14 | 2 +- libs/theme/package.json.ng14 | 6 +++--- package.json.ng14 | 2 +- 17 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/beta-publish-ng14.yml b/.github/workflows/beta-publish-ng14.yml index 1621c82154..a4e1067a78 100644 --- a/.github/workflows/beta-publish-ng14.yml +++ b/.github/workflows/beta-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.14.0-ng14beta.0') | jq '([.[] | select(startswith("1.14.0-ng14beta"))] | last // "1.14.0-ng14beta.0")' 2>/dev/null || echo '1.14.0-ng14beta.0' + (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.15.0-ng14beta.0') | jq '([.[] | select(startswith("1.15.0-ng14beta"))] | last // "1.15.0-ng14beta.0")' 2>/dev/null || echo '1.15.0-ng14beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng14.yml b/.github/workflows/main-publish-ng14.yml index c82a8c2bc2..84a211871a 100644 --- a/.github/workflows/main-publish-ng14.yml +++ b/.github/workflows/main-publish-ng14.yml @@ -58,7 +58,7 @@ jobs: - name: Set up environment variables run: | last_v1_version=$( - echo '1.14.0' + echo '1.15.0' ) echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng14.yml b/.github/workflows/pre-release-publish-ng14.yml index dc3f2d566c..b20a1e50db 100644 --- a/.github/workflows/pre-release-publish-ng14.yml +++ b/.github/workflows/pre-release-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.14.0-ng14next.0') | jq '([.[] | select(startswith("1.14.0-ng14next"))] | last // "1.14.0-ng14next.0")' 2>/dev/null || echo '1.14.0-ng14next.0' + (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.15.0-ng14next.0') | jq '([.[] | select(startswith("1.15.0-ng14next"))] | last // "1.15.0-ng14next.0")' 2>/dev/null || echo '1.15.0-ng14next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts b/apps/doc/src/app/version-manager/current.const.ts index e67a621d6c..c548790b68 100644 --- a/apps/doc/src/app/version-manager/current.const.ts +++ b/apps/doc/src/app/version-manager/current.const.ts @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.14.0'; +export const PRIZM_CURRENT_VERSION = '1.15.0'; diff --git a/libs/ast/package.json.ng14 b/libs/ast/package.json.ng14 index ea0efe8172..98a9be114b 100644 --- a/libs/ast/package.json.ng14 +++ b/libs/ast/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "1.14.0", + "version": "1.15.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng14 b/libs/charts/base/package.json.ng14 index c3774d869a..4b519d3924 100644 --- a/libs/charts/base/package.json.ng14 +++ b/libs/charts/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "1.14.0", + "version": "1.15.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/theme": "^1.14.0", - "@prizm-ui/helpers": "^1.14.0", + "@prizm-ui/theme": "^1.15.0", + "@prizm-ui/helpers": "^1.15.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng14 b/libs/components/package.json.ng14 index 6edcc443a7..2d462d74fc 100644 --- a/libs/components/package.json.ng14 +++ b/libs/components/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "1.14.0", + "version": "1.15.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -17,10 +17,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^1.14.0", - "@prizm-ui/core": "^1.14.0", - "@prizm-ui/i18n": "^1.14.0", - "@prizm-ui/theme": "^1.14.0" + "@prizm-ui/helpers": "^1.15.0", + "@prizm-ui/core": "^1.15.0", + "@prizm-ui/i18n": "^1.15.0", + "@prizm-ui/theme": "^1.15.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng14 b/libs/core/package.json.ng14 index 1b1d0b28e8..179f0d9b88 100644 --- a/libs/core/package.json.ng14 +++ b/libs/core/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "1.14.0", + "version": "1.15.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng14 b/libs/helpers/package.json.ng14 index e08dd3f7fa..2551bf27d4 100644 --- a/libs/helpers/package.json.ng14 +++ b/libs/helpers/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "1.14.0", + "version": "1.15.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng14 b/libs/i18n/package.json.ng14 index 885e83239a..2837e0a236 100644 --- a/libs/i18n/package.json.ng14 +++ b/libs/i18n/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "1.14.0", + "version": "1.15.0", "peerDependencies": { "@angular/core": "^14.2.0" }, diff --git a/libs/icons/base/package.json.ng14 b/libs/icons/base/package.json.ng14 index d6ca9fb69d..cc1243d17e 100644 --- a/libs/icons/base/package.json.ng14 +++ b/libs/icons/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "1.14.0", + "version": "1.15.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.14.0" + "@prizm-ui/core": "^1.15.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng14 b/libs/icons/flags/package.json.ng14 index 4bb6f105e6..4fe2b6fe18 100644 --- a/libs/icons/flags/package.json.ng14 +++ b/libs/icons/flags/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "1.14.0", + "version": "1.15.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.14.0" + "@prizm-ui/core": "^1.15.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng14 b/libs/nxmv/package.json.ng14 index 9311171c9f..c68798b507 100644 --- a/libs/nxmv/package.json.ng14 +++ b/libs/nxmv/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "1.14.0", + "version": "1.15.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng14 b/libs/plugin/package.json.ng14 index f3df8c81ad..23c315edc8 100644 --- a/libs/plugin/package.json.ng14 +++ b/libs/plugin/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "1.14.0", + "version": "1.15.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^1.14.0" + "@prizm-ui/ast": "^1.15.0" } } diff --git a/libs/schematics/package.json.ng14 b/libs/schematics/package.json.ng14 index e1ea4523b7..9484e08e69 100644 --- a/libs/schematics/package.json.ng14 +++ b/libs/schematics/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "1.14.0", + "version": "1.15.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng14 b/libs/theme/package.json.ng14 index b3c1d3bae2..db76d7b781 100644 --- a/libs/theme/package.json.ng14 +++ b/libs/theme/package.json.ng14 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "1.14.0", + "version": "1.15.0", "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.14.0", - "@prizm-ui/helpers": "^1.14.0" + "@prizm-ui/core": "^1.15.0", + "@prizm-ui/helpers": "^1.15.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng14 b/package.json.ng14 index afa0a05006..2056c4777c 100644 --- a/package.json.ng14 +++ b/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "1.14.0", + "version": "1.15.0", "license": "MIT", "husky": { "hooks": { From a5a6dc2b58967fbcf7aec0028a7db78de3417618 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 30 Jan 2024 18:01:45 +0300 Subject: [PATCH 003/291] chore: version 2.11.0 up tp 2.12.0 --- .github/workflows/beta-publish-ng15.yml | 2 +- .github/workflows/main-publish-ng15.yml | 2 +- .github/workflows/pre-release-publish-ng15.yml | 2 +- apps/doc/src/app/version-manager/current.const.ts.ng15 | 2 +- libs/ast/package.json.ng15 | 2 +- libs/charts/base/package.json.ng15 | 6 +++--- libs/components/package.json.ng15 | 10 +++++----- libs/core/package.json.ng15 | 2 +- libs/helpers/package.json.ng15 | 2 +- libs/i18n/package.json.ng15 | 2 +- libs/icons/base/package.json.ng15 | 4 ++-- libs/icons/flags/package.json.ng15 | 4 ++-- libs/nxmv/package.json.ng15 | 2 +- libs/plugin/package.json.ng15 | 4 ++-- libs/schematics/package.json.ng15 | 2 +- libs/theme/package.json.ng15 | 6 +++--- package.json.ng15 | 2 +- 17 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/beta-publish-ng15.yml b/.github/workflows/beta-publish-ng15.yml index adb28c517a..cc29082903 100644 --- a/.github/workflows/beta-publish-ng15.yml +++ b/.github/workflows/beta-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.11.0-ng15beta.0') | jq '([.[] | select(startswith("2.11.0-ng15beta"))] | last // "2.11.0-ng15beta.0")' 2>/dev/null || echo '2.11.0-ng15beta.0' + (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.12.0-ng15beta.0') | jq '([.[] | select(startswith("2.12.0-ng15beta"))] | last // "2.12.0-ng15beta.0")' 2>/dev/null || echo '2.12.0-ng15beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng15.yml b/.github/workflows/main-publish-ng15.yml index d505686470..e7d2368f77 100644 --- a/.github/workflows/main-publish-ng15.yml +++ b/.github/workflows/main-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v2_version=$( - echo '2.11.0' + echo '2.12.0' ) echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng15.yml b/.github/workflows/pre-release-publish-ng15.yml index f3cb5b7980..c21b35b2fb 100644 --- a/.github/workflows/pre-release-publish-ng15.yml +++ b/.github/workflows/pre-release-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.11.0-ng15next.0') | jq '([.[] | select(startswith("2.11.0-ng15next"))] | last // "2.11.0-ng15next.0")' 2>/dev/null || echo '2.11.0-ng15next.0' + (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.12.0-ng15next.0') | jq '([.[] | select(startswith("2.12.0-ng15next"))] | last // "2.12.0-ng15next.0")' 2>/dev/null || echo '2.12.0-ng15next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng15 b/apps/doc/src/app/version-manager/current.const.ts.ng15 index 59fc163711..972582c517 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng15 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng15 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '2.11.0'; +export const PRIZM_CURRENT_VERSION = '2.12.0'; diff --git a/libs/ast/package.json.ng15 b/libs/ast/package.json.ng15 index abd77bb58f..b29ea148bd 100644 --- a/libs/ast/package.json.ng15 +++ b/libs/ast/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "2.11.0", + "version": "2.12.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng15 b/libs/charts/base/package.json.ng15 index 97c9175a86..17e7cbed0a 100644 --- a/libs/charts/base/package.json.ng15 +++ b/libs/charts/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "2.11.0", + "version": "2.12.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/theme": "^2.11.0", - "@prizm-ui/helpers": "^2.11.0", + "@prizm-ui/theme": "^2.12.0", + "@prizm-ui/helpers": "^2.12.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng15 b/libs/components/package.json.ng15 index 45fc9a1859..dc35050266 100644 --- a/libs/components/package.json.ng15 +++ b/libs/components/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "2.11.0", + "version": "2.12.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^2.11.0", - "@prizm-ui/core": "^2.11.0", - "@prizm-ui/i18n": "^2.11.0", - "@prizm-ui/theme": "^2.11.0" + "@prizm-ui/helpers": "^2.12.0", + "@prizm-ui/core": "^2.12.0", + "@prizm-ui/i18n": "^2.12.0", + "@prizm-ui/theme": "^2.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng15 b/libs/core/package.json.ng15 index 1be908aa58..7cc63d6128 100644 --- a/libs/core/package.json.ng15 +++ b/libs/core/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "2.11.0", + "version": "2.12.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng15 b/libs/helpers/package.json.ng15 index 4d1377afc3..bc6d329251 100644 --- a/libs/helpers/package.json.ng15 +++ b/libs/helpers/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "2.11.0", + "version": "2.12.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng15 b/libs/i18n/package.json.ng15 index 20b3672355..b20c03381e 100644 --- a/libs/i18n/package.json.ng15 +++ b/libs/i18n/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "2.11.0", + "version": "2.12.0", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0" diff --git a/libs/icons/base/package.json.ng15 b/libs/icons/base/package.json.ng15 index ec23762e4f..a6569b3403 100644 --- a/libs/icons/base/package.json.ng15 +++ b/libs/icons/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "2.11.0", + "version": "2.12.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.11.0" + "@prizm-ui/core": "^2.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng15 b/libs/icons/flags/package.json.ng15 index 92d6d789e8..c63522f9fe 100644 --- a/libs/icons/flags/package.json.ng15 +++ b/libs/icons/flags/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "2.11.0", + "version": "2.12.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.11.0" + "@prizm-ui/core": "^2.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng15 b/libs/nxmv/package.json.ng15 index 9be9d944d5..e51afad300 100644 --- a/libs/nxmv/package.json.ng15 +++ b/libs/nxmv/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "2.11.0", + "version": "2.12.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng15 b/libs/plugin/package.json.ng15 index 767c743638..e076e85c27 100644 --- a/libs/plugin/package.json.ng15 +++ b/libs/plugin/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "2.11.0", + "version": "2.12.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^2.11.0" + "@prizm-ui/ast": "^2.12.0" } } diff --git a/libs/schematics/package.json.ng15 b/libs/schematics/package.json.ng15 index b24b841522..ddbcc00179 100644 --- a/libs/schematics/package.json.ng15 +++ b/libs/schematics/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "2.11.0", + "version": "2.12.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng15 b/libs/theme/package.json.ng15 index 76593cfd9f..d737f9d13a 100644 --- a/libs/theme/package.json.ng15 +++ b/libs/theme/package.json.ng15 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "2.11.0", + "version": "2.12.0", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.11.0", - "@prizm-ui/helpers": "^2.11.0" + "@prizm-ui/core": "^2.12.0", + "@prizm-ui/helpers": "^2.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng15 b/package.json.ng15 index 6465c95c63..5b0315b233 100644 --- a/package.json.ng15 +++ b/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "2.11.0", + "version": "2.12.0", "license": "MIT", "husky": { "hooks": { From cb94769695223fa392c7ea43497709e47f78f9bc Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 30 Jan 2024 18:27:37 +0300 Subject: [PATCH 004/291] chore: version 3.10.0 up tp 3.11.0 --- .github/workflows/beta-publish-ng16.yml | 2 +- .github/workflows/main-publish-ng16.yml | 2 +- .../workflows/pre-release-publish-ng16.yml | 2 +- .../app/version-manager/current.const.ts.ng16 | 2 +- .../app/version-manager/versions.constants.ts | 36 +++++++++---------- libs/ast/package.json | 2 +- libs/ast/package.json.ng16 | 2 +- libs/charts/base/package.json | 6 ++-- libs/charts/base/package.json.ng16 | 6 ++-- libs/components/package.json | 10 +++--- libs/components/package.json.ng16 | 10 +++--- libs/core/package.json | 2 +- libs/core/package.json.ng16 | 2 +- libs/helpers/package.json | 2 +- libs/helpers/package.json.ng16 | 2 +- libs/i18n/package.json | 2 +- libs/i18n/package.json.ng16 | 2 +- libs/icons/base/package.json | 4 +-- libs/icons/base/package.json.ng16 | 4 +-- libs/icons/flags/package.json | 4 +-- libs/icons/flags/package.json.ng16 | 4 +-- libs/nxmv/package.json | 2 +- libs/nxmv/package.json.ng16 | 2 +- libs/plugin/package.json | 4 +-- libs/plugin/package.json.ng16 | 4 +-- libs/schematics/package.json | 2 +- libs/schematics/package.json.ng16 | 2 +- libs/theme/package.json | 6 ++-- libs/theme/package.json.ng16 | 6 ++-- package.json | 2 +- package.json.ng16 | 2 +- 31 files changed, 70 insertions(+), 70 deletions(-) diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index ee55ee327b..f91fcba240 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '3.10.0-beta.0') | jq '([.[] | select(startswith("3.10.0-beta"))] | last // "3.10.0-beta.0")' 2>/dev/null || echo '3.10.0-beta.0' + (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '3.11.0-beta.0') | jq '([.[] | select(startswith("3.11.0-beta"))] | last // "3.11.0-beta.0")' 2>/dev/null || echo '3.11.0-beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index 069a99b437..8f47068f1f 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v3_version=$( - echo '3.10.0' + echo '3.11.0' ) echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 1c5d098ca0..0e5306fd3b 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '3.10.0-next.0') | jq '([.[] | select(startswith("3.10.0-next"))] | last // "3.10.0-next.0")' 2>/dev/null || echo '3.10.0-next.0' + (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '3.11.0-next.0') | jq '([.[] | select(startswith("3.11.0-next"))] | last // "3.11.0-next.0")' 2>/dev/null || echo '3.11.0-next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng16 b/apps/doc/src/app/version-manager/current.const.ts.ng16 index 37253f64fd..1bd44ff0ff 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng16 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng16 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '3.10.0'; +export const PRIZM_CURRENT_VERSION = '3.11.0'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index 1470db81b0..e1a89b0dee 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -10,8 +10,8 @@ export interface PrizmVersionMeta { export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ { - label: '3.10.0 (ng16)', - version: '3.10.0', + label: '3.11.0 (ng16)', + version: '3.11.0', stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo', link: new URL('http://prizm.site'), otherLinks: [new URL('https://prizm-v3.web.app')], @@ -20,8 +20,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '2.11.0 (ng15)', - version: '2.11.0', + label: '2.12.0 (ng15)', + version: '2.12.0', stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo', link: new URL('https://prizm-v2.web.app'), otherLinks: [], @@ -30,8 +30,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '1.14.0 (ng14)', - version: '1.14.0', + label: '1.15.0 (ng14)', + version: '1.15.0', stackblitz: 'https://stackblitz.com/edit/prizm-v1-demo', link: new URL('https://prizm-v1.web.app'), otherLinks: [], @@ -40,43 +40,43 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '3.10.0-next (ng16)', - version: '3.10.0-next', + label: '3.11.0-next (ng16)', + version: '3.11.0-next', stackblitz: 'https://stackblitz.com/edit/prizm-v3-next-demo', link: new URL('https://prizm-v3-next.web.app'), otherLinks: [], }, { - label: '2.11.0-next (ng15)', + label: '2.12.0-next (ng15)', stackblitz: 'https://stackblitz.com/edit/prizm-v2-next-demo', - version: '2.11.0-next', + version: '2.12.0-next', link: new URL('https://prizm-v2-next.web.app'), otherLinks: [], }, { - label: '1.14.0-next (ng14)', - version: '1.14.0-next', + label: '1.15.0-next (ng14)', + version: '1.15.0-next', stackblitz: 'https://stackblitz.com/edit/prizm-v1-next-demo', link: new URL('https://prizm-v1-next.web.app'), otherLinks: [], }, { - label: '3.10.0-beta (ng16)', - version: '3.10.0-beta', + label: '3.11.0-beta (ng16)', + version: '3.11.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo', link: new URL('https://prizm-v3-beta.web.app'), otherLinks: [], }, { - label: '2.11.0-beta (ng15)', - version: '2.11.0-beta', + label: '2.12.0-beta (ng15)', + version: '2.12.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo', link: new URL('https://prizm-v2-beta.web.app'), otherLinks: [], }, { - label: '1.14.0-beta (ng14)', - version: '1.14.0-beta', + label: '1.15.0-beta (ng14)', + version: '1.15.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo', link: new URL('https://prizm-v1-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json b/libs/ast/package.json index 13b2af52bb..6be58f2176 100644 --- a/libs/ast/package.json +++ b/libs/ast/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.10.0", + "version": "3.11.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/ast/package.json.ng16 b/libs/ast/package.json.ng16 index 13b2af52bb..6be58f2176 100644 --- a/libs/ast/package.json.ng16 +++ b/libs/ast/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.10.0", + "version": "3.11.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json b/libs/charts/base/package.json index e449c06dc0..6ff13e4109 100644 --- a/libs/charts/base/package.json +++ b/libs/charts/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.10.0", - "@prizm-ui/helpers": "^3.10.0", + "@prizm-ui/theme": "^3.11.0", + "@prizm-ui/helpers": "^3.11.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/charts/base/package.json.ng16 b/libs/charts/base/package.json.ng16 index e449c06dc0..6ff13e4109 100644 --- a/libs/charts/base/package.json.ng16 +++ b/libs/charts/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.10.0", - "@prizm-ui/helpers": "^3.10.0", + "@prizm-ui/theme": "^3.11.0", + "@prizm-ui/helpers": "^3.11.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json b/libs/components/package.json index 884d475725..9bae131f7f 100644 --- a/libs/components/package.json +++ b/libs/components/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.10.0", - "@prizm-ui/core": "^3.10.0", - "@prizm-ui/i18n": "^3.10.0", - "@prizm-ui/theme": "^3.10.0" + "@prizm-ui/helpers": "^3.11.0", + "@prizm-ui/core": "^3.11.0", + "@prizm-ui/i18n": "^3.11.0", + "@prizm-ui/theme": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/components/package.json.ng16 b/libs/components/package.json.ng16 index 884d475725..9bae131f7f 100644 --- a/libs/components/package.json.ng16 +++ b/libs/components/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.10.0", - "@prizm-ui/core": "^3.10.0", - "@prizm-ui/i18n": "^3.10.0", - "@prizm-ui/theme": "^3.10.0" + "@prizm-ui/helpers": "^3.11.0", + "@prizm-ui/core": "^3.11.0", + "@prizm-ui/i18n": "^3.11.0", + "@prizm-ui/theme": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json b/libs/core/package.json index 32650b5531..9ab953022d 100644 --- a/libs/core/package.json +++ b/libs/core/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/core/package.json.ng16 b/libs/core/package.json.ng16 index 32650b5531..9ab953022d 100644 --- a/libs/core/package.json.ng16 +++ b/libs/core/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json b/libs/helpers/package.json index 4d3e44e939..55b85145de 100644 --- a/libs/helpers/package.json +++ b/libs/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/helpers/package.json.ng16 b/libs/helpers/package.json.ng16 index 4d3e44e939..55b85145de 100644 --- a/libs/helpers/package.json.ng16 +++ b/libs/helpers/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json b/libs/i18n/package.json index 13ef7dd35f..0071eba228 100644 --- a/libs/i18n/package.json +++ b/libs/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.10.0", + "version": "3.11.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/i18n/package.json.ng16 b/libs/i18n/package.json.ng16 index 13ef7dd35f..0071eba228 100644 --- a/libs/i18n/package.json.ng16 +++ b/libs/i18n/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.10.0", + "version": "3.11.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/icons/base/package.json b/libs/icons/base/package.json index 90b63200b4..0f1689fb1d 100644 --- a/libs/icons/base/package.json +++ b/libs/icons/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0" + "@prizm-ui/core": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/base/package.json.ng16 b/libs/icons/base/package.json.ng16 index 90b63200b4..0f1689fb1d 100644 --- a/libs/icons/base/package.json.ng16 +++ b/libs/icons/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0" + "@prizm-ui/core": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json b/libs/icons/flags/package.json index 07b5897eba..8bd26d816a 100644 --- a/libs/icons/flags/package.json +++ b/libs/icons/flags/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0" + "@prizm-ui/core": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng16 b/libs/icons/flags/package.json.ng16 index 07b5897eba..8bd26d816a 100644 --- a/libs/icons/flags/package.json.ng16 +++ b/libs/icons/flags/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.10.0", + "version": "3.11.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0" + "@prizm-ui/core": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json b/libs/nxmv/package.json index 8dd82df6ab..17d25f65b3 100644 --- a/libs/nxmv/package.json +++ b/libs/nxmv/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.10.0", + "version": "3.11.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/nxmv/package.json.ng16 b/libs/nxmv/package.json.ng16 index 8dd82df6ab..17d25f65b3 100644 --- a/libs/nxmv/package.json.ng16 +++ b/libs/nxmv/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.10.0", + "version": "3.11.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json b/libs/plugin/package.json index 437e8ee986..b2e6454faa 100644 --- a/libs/plugin/package.json +++ b/libs/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.10.0", + "version": "3.11.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.10.0" + "@prizm-ui/ast": "^3.11.0" } } diff --git a/libs/plugin/package.json.ng16 b/libs/plugin/package.json.ng16 index 437e8ee986..b2e6454faa 100644 --- a/libs/plugin/package.json.ng16 +++ b/libs/plugin/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.10.0", + "version": "3.11.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.10.0" + "@prizm-ui/ast": "^3.11.0" } } diff --git a/libs/schematics/package.json b/libs/schematics/package.json index 1f5c9aa99d..e4f3037546 100644 --- a/libs/schematics/package.json +++ b/libs/schematics/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.10.0", + "version": "3.11.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/schematics/package.json.ng16 b/libs/schematics/package.json.ng16 index 1f5c9aa99d..e4f3037546 100644 --- a/libs/schematics/package.json.ng16 +++ b/libs/schematics/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.10.0", + "version": "3.11.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json b/libs/theme/package.json index 9561b3b081..d63d4e1b64 100644 --- a/libs/theme/package.json +++ b/libs/theme/package.json @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.10.0", + "version": "3.11.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0", - "@prizm-ui/helpers": "^3.10.0" + "@prizm-ui/core": "^3.11.0", + "@prizm-ui/helpers": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/theme/package.json.ng16 b/libs/theme/package.json.ng16 index 9561b3b081..d63d4e1b64 100644 --- a/libs/theme/package.json.ng16 +++ b/libs/theme/package.json.ng16 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.10.0", + "version": "3.11.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.10.0", - "@prizm-ui/helpers": "^3.10.0" + "@prizm-ui/core": "^3.11.0", + "@prizm-ui/helpers": "^3.11.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json b/package.json index e9442726ec..a72138a1a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "husky": { "hooks": { diff --git a/package.json.ng16 b/package.json.ng16 index e9442726ec..a72138a1a2 100644 --- a/package.json.ng16 +++ b/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.10.0", + "version": "3.11.0", "license": "MIT", "husky": { "hooks": { From 388e4834528b0bbdcd59e9681e0e6e15cc7a0ab1 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 30 Jan 2024 18:35:58 +0300 Subject: [PATCH 005/291] chore: current const for 1.15.0 update --- apps/doc/src/app/version-manager/current.const.ts.ng14 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng14 b/apps/doc/src/app/version-manager/current.const.ts.ng14 index e67a621d6c..c548790b68 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng14 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng14 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.14.0'; +export const PRIZM_CURRENT_VERSION = '1.15.0'; From 38ba9ccffe33678d6d85bf7a99632aa776070ec5 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 30 Jan 2024 18:43:46 +0300 Subject: [PATCH 006/291] chore: update changelog --- .../src/app/about-prizm/changelog/CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index 64e7c260b8..34cd036273 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. +## [1.15.0, 2.13.0, 3.11.0](https://github.com/zyfra/Prizm) (30-01-2023) + +## Features + +- feat(components/navigation-menu): add hint to navigation menu items and titles when text overflows #1216, #1312 +- feat(components/accordion): add hint to accordion title when text overflows #1216, #1312 + +### Bug fixes + +- fix(components/listing-item): listing item selected item hover #1280 +- fix(components/input-dat-relative): selected item hover #1280 +- fix(components/accordion): accordion focus shadow overlaps on hover #1116, +- fix(components/accordion): accordion incorrect background color #1236, +- fix(components/accordion): nested accordion button incorect behavior #1285 +- fix(components/accordion): custom title accordion example fix #1240 + ## [1.14.0, 2.11.0, 3.10.0](https://github.com/zyfra/Prizm) (19-01-2023) ## Features From ac608ffdddb3946643d3e36344443ad3a631ea62 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 31 Jan 2024 12:51:16 +0300 Subject: [PATCH 007/291] fix: accordion examples line height changed according to markup values --- .../accordion-basic-example.component.less | 2 +- .../accordion-multiple-expand-example.component.less | 2 +- .../accordion-single-expand-example.component.less | 2 +- .../accordion-with-instruments-example.component.less | 2 +- .../accordion/examples/custom-title/custom-title.component.less | 2 +- .../components/accordion/examples/nested/nested.component.less | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/doc/src/app/components/accordion/examples/accordion-basic-example/accordion-basic-example.component.less b/apps/doc/src/app/components/accordion/examples/accordion-basic-example/accordion-basic-example.component.less index 4777b046b6..89940b96b6 100644 --- a/apps/doc/src/app/components/accordion/examples/accordion-basic-example/accordion-basic-example.component.less +++ b/apps/doc/src/app/components/accordion/examples/accordion-basic-example/accordion-basic-example.component.less @@ -1,5 +1,5 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } diff --git a/apps/doc/src/app/components/accordion/examples/accordion-multiple-expand-example/accordion-multiple-expand-example.component.less b/apps/doc/src/app/components/accordion/examples/accordion-multiple-expand-example/accordion-multiple-expand-example.component.less index 4777b046b6..89940b96b6 100644 --- a/apps/doc/src/app/components/accordion/examples/accordion-multiple-expand-example/accordion-multiple-expand-example.component.less +++ b/apps/doc/src/app/components/accordion/examples/accordion-multiple-expand-example/accordion-multiple-expand-example.component.less @@ -1,5 +1,5 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } diff --git a/apps/doc/src/app/components/accordion/examples/accordion-single-expand-example/accordion-single-expand-example.component.less b/apps/doc/src/app/components/accordion/examples/accordion-single-expand-example/accordion-single-expand-example.component.less index 4777b046b6..89940b96b6 100644 --- a/apps/doc/src/app/components/accordion/examples/accordion-single-expand-example/accordion-single-expand-example.component.less +++ b/apps/doc/src/app/components/accordion/examples/accordion-single-expand-example/accordion-single-expand-example.component.less @@ -1,5 +1,5 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } diff --git a/apps/doc/src/app/components/accordion/examples/accordion-with-instruments-example/accordion-with-instruments-example.component.less b/apps/doc/src/app/components/accordion/examples/accordion-with-instruments-example/accordion-with-instruments-example.component.less index 4777b046b6..89940b96b6 100644 --- a/apps/doc/src/app/components/accordion/examples/accordion-with-instruments-example/accordion-with-instruments-example.component.less +++ b/apps/doc/src/app/components/accordion/examples/accordion-with-instruments-example/accordion-with-instruments-example.component.less @@ -1,5 +1,5 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } diff --git a/apps/doc/src/app/components/accordion/examples/custom-title/custom-title.component.less b/apps/doc/src/app/components/accordion/examples/custom-title/custom-title.component.less index b21162b45d..934a7b9b21 100644 --- a/apps/doc/src/app/components/accordion/examples/custom-title/custom-title.component.less +++ b/apps/doc/src/app/components/accordion/examples/custom-title/custom-title.component.less @@ -1,6 +1,6 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } diff --git a/apps/doc/src/app/components/accordion/examples/nested/nested.component.less b/apps/doc/src/app/components/accordion/examples/nested/nested.component.less index 4777b046b6..89940b96b6 100644 --- a/apps/doc/src/app/components/accordion/examples/nested/nested.component.less +++ b/apps/doc/src/app/components/accordion/examples/nested/nested.component.less @@ -1,5 +1,5 @@ :host { font-size: 14px; - line-height: 16px; + line-height: 20px; color: var(--prizm-v3-text-icon-secondary); } From c962be957de505bd05f7e40bc6b258e8a14d2169 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 1 Feb 2024 13:54:16 +0300 Subject: [PATCH 008/291] fix: search label for inout select and input multiselect added #1323 --- .../multi-select/input-multi-select.component.html | 3 ++- .../dropdowns/multi-select/input-multi-select.component.ts | 4 ++++ .../components/dropdowns/select/input-select.component.html | 3 ++- .../components/dropdowns/select/input-select.component.ts | 6 +++++- libs/components/src/lib/tokens/i18n.ts | 4 ++++ libs/i18n/src/lib/interfaces/language.ts | 2 ++ libs/i18n/src/lib/languages/russian/kit.ts | 1 + 7 files changed, 20 insertions(+), 3 deletions(-) diff --git a/libs/components/src/lib/components/dropdowns/multi-select/input-multi-select.component.html b/libs/components/src/lib/components/dropdowns/multi-select/input-multi-select.component.html index b3e2ef8c1d..f34da2d969 100644 --- a/libs/components/src/lib/components/dropdowns/multi-select/input-multi-select.component.html +++ b/libs/components/src/lib/components/dropdowns/multi-select/input-multi-select.component.html @@ -32,7 +32,8 @@ [style.--prizm-data-list-border]="0" >
- + + extends PrizmInputNgControl implements AfterViewInit { @@ -218,6 +221,7 @@ export class PrizmInputMultiSelectComponent extends PrizmInputNgControl return !this.value?.length; } constructor( + @Inject(PRIZM_SEARCH_TEXT) readonly searchLabelTranslation$: Observable, @Inject(PRIZM_MULTI_SELECT_OPTIONS) private readonly options: PrizmMultiSelectOptions, @Inject(Injector) injector: Injector ) { diff --git a/libs/components/src/lib/components/dropdowns/select/input-select.component.html b/libs/components/src/lib/components/dropdowns/select/input-select.component.html index a8ab52d17d..584034fcc9 100644 --- a/libs/components/src/lib/components/dropdowns/select/input-select.component.html +++ b/libs/components/src/lib/components/dropdowns/select/input-select.component.html @@ -105,7 +105,8 @@ [style.--prizm-data-list-border]="0" >
- + + extends PrizmInputNgControl impleme }); constructor( @Inject(PRIZM_SELECT_OPTIONS) private readonly options: PrizmSelectOptions, - @Inject(Injector) injector: Injector + @Inject(Injector) injector: Injector, + @Inject(PRIZM_SEARCH_TEXT) readonly searchLabelTranslation$: Observable ) { super(injector); } diff --git a/libs/components/src/lib/tokens/i18n.ts b/libs/components/src/lib/tokens/i18n.ts index cc6c5250a2..373bbb66ad 100644 --- a/libs/components/src/lib/tokens/i18n.ts +++ b/libs/components/src/lib/tokens/i18n.ts @@ -56,3 +56,7 @@ export const PRIZM_COLUMN_SETTINGS = new InjectionToken< export const PRIZM_PAGINATOR = new InjectionToken>( `paginator texts` ); + +export const PRIZM_SEARCH_TEXT = new InjectionToken>( + `search i18n text` +); diff --git a/libs/i18n/src/lib/interfaces/language.ts b/libs/i18n/src/lib/interfaces/language.ts index ab1632578a..ebcf0d1b4d 100644 --- a/libs/i18n/src/lib/interfaces/language.ts +++ b/libs/i18n/src/lib/interfaces/language.ts @@ -137,6 +137,8 @@ export interface PrizmLanguageKit { drop: string; dropMultiple: string; }; + // TODO: 4.0 remove optional sign, bc #dr + search?: string; } export interface PrizmLanguageEditor { diff --git a/libs/i18n/src/lib/languages/russian/kit.ts b/libs/i18n/src/lib/languages/russian/kit.ts index 2905228368..0035eac6ff 100644 --- a/libs/i18n/src/lib/languages/russian/kit.ts +++ b/libs/i18n/src/lib/languages/russian/kit.ts @@ -53,4 +53,5 @@ export const PRIZM_RUSSIAN_LANGUAGE_KIT: PrizmLanguageKit = { drop: `Поместите файл сюда`, dropMultiple: `Поместите файлы сюда`, }, + search: `Поиск`, }; From f1495389ef197f4ecc0fc6fc3192a24f695633d7 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 1 Feb 2024 15:19:53 +0300 Subject: [PATCH 009/291] fix: extra title in input select #1286 --- .../lib/components/dropdowns/select/input-select.component.html | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/components/src/lib/components/dropdowns/select/input-select.component.html b/libs/components/src/lib/components/dropdowns/select/input-select.component.html index a8ab52d17d..081443e312 100644 --- a/libs/components/src/lib/components/dropdowns/select/input-select.component.html +++ b/libs/components/src/lib/components/dropdowns/select/input-select.component.html @@ -41,7 +41,6 @@ [placeholder]="placeholder" [disabled]="disabled" [tabIndex]="!disabled ? 0 : -1" - [title]="val" [readonly]="true" [prizmHintDirection]="prizmHintDirection" [prizmHintCanShow]="prizmHintCanShow" From 622cc62e154d6cd0ac7b90d7f583ad4da7a61404 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Sun, 4 Feb 2024 16:51:27 +0300 Subject: [PATCH 010/291] fix: dropdown select panel example fix #1283 --- .../dropdowns/dropdown-host/dropdown-host.module.ts | 2 ++ .../select-panel-example.component.html | 2 +- .../select-panel-example.component.less | 8 -------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/doc/src/app/components/dropdowns/dropdown-host/dropdown-host.module.ts b/apps/doc/src/app/components/dropdowns/dropdown-host/dropdown-host.module.ts index 7f4b279916..141ac7a97d 100644 --- a/apps/doc/src/app/components/dropdowns/dropdown-host/dropdown-host.module.ts +++ b/apps/doc/src/app/components/dropdowns/dropdown-host/dropdown-host.module.ts @@ -6,6 +6,7 @@ import { PolymorphModule, PrizmButtonModule, PrizmCheckboxModule, + PrizmChipsModule, PrizmDataListModule, PrizmDropdownHostModule, PrizmIconModule, @@ -44,6 +45,7 @@ import { PrizmDropdownHostExampleByMethodComponent } from './examples/by-method/ PrizmLetModule, PrizmButtonModule, FormsModule, + PrizmChipsModule, ], declarations: [ PrizmDropdownHostExampleByMethodComponent, diff --git a/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.html b/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.html index f765cb2474..35426075c4 100644 --- a/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.html +++ b/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.html @@ -45,7 +45,7 @@
  • - {{ option.label.title }} + {{ option.label.title }} {{ option.label.subtitle }}
    diff --git a/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.less b/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.less index ba54d798ca..5606a9072f 100644 --- a/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.less +++ b/apps/doc/src/app/components/dropdowns/dropdown-host/examples/select-panel-example/select-panel-example.component.less @@ -56,14 +56,6 @@ flex-direction: column; } - &__title { - font-size: 13px; - line-height: 20px; - color: var(--prizm-v3-text-icon-primary); - padding: 0 8px; - border-radius: 2px; - } - &__subtitle { font-size: 10px; line-height: 17px; From 327b6d1f5a4ee497a62c2fb548cb636be5fdfcf9 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 7 Feb 2024 18:31:43 +0300 Subject: [PATCH 011/291] fix: custom error message is not displayed in input layout date time #185 --- .../dialog-with-parent-example.component.html | 2 +- ...ayout-date-time-required-example.component.html | 9 +++++++++ ...-layout-date-time-required-example.component.ts | 5 +++++ .../input-mask/input-mask-example.component.html | 2 +- .../input-number-example.component.html | 5 +++-- .../input-password-example.component.html | 2 +- .../input-validation-custom-texts.service.ts | 2 +- .../common/input-layout/input-layout.component.ts | 2 +- .../input-status-text.directive.ts | 4 ++-- .../input-layout-date-time.component.html | 5 ++++- .../input-layout-date-time.component.ts | 14 +++++++++++--- libs/components/src/lib/tokens/i18n.ts | 5 +++++ libs/i18n/src/lib/interfaces/language.ts | 6 ++++++ .../languages/russian/input-layout-date-time.ts | 7 +++++++ libs/i18n/src/lib/languages/russian/russian.ts | 2 ++ 15 files changed, 59 insertions(+), 13 deletions(-) create mode 100644 libs/i18n/src/lib/languages/russian/input-layout-date-time.ts diff --git a/apps/doc/src/app/components/dialogs/dialog/examples/with-parent/dialog-with-parent-example.component.html b/apps/doc/src/app/components/dialogs/dialog/examples/with-parent/dialog-with-parent-example.component.html index 2d9a484173..6b4291fb43 100644 --- a/apps/doc/src/app/components/dialogs/dialog/examples/with-parent/dialog-with-parent-example.component.html +++ b/apps/doc/src/app/components/dialogs/dialog/examples/with-parent/dialog-with-parent-example.component.html @@ -15,7 +15,7 @@

    Check Dropdown Host Parent Container And Position

    - dddd + diff --git a/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.html b/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.html index 7d25ddc54e..c874ee202e 100644 --- a/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.html +++ b/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.html @@ -1,3 +1,12 @@ + +
    + +

    With custom error text

    + + + + Warning text + diff --git a/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.ts b/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.ts index 87ff14bfb7..98adddbc36 100644 --- a/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.ts +++ b/apps/doc/src/app/components/input/input-layout-date-time/examples/required/input-layout-date-time-required-example.component.ts @@ -19,4 +19,9 @@ export class PrizmInputLayoutDateTimeRequiredExampleComponent { [new PrizmDay(2017, 2, 15), new PrizmTime(12, 30)], [Validators.required] ); + + public readonly customErrorValue = new UntypedFormControl( + [new PrizmDay(2017, 2, 15), new PrizmTime(12, 30)], + [Validators.required] + ); } diff --git a/apps/doc/src/app/components/input/input-mask/input-mask-example.component.html b/apps/doc/src/app/components/input/input-mask/input-mask-example.component.html index 3235a69ceb..c9c5b54954 100644 --- a/apps/doc/src/app/components/input/input-mask/input-mask-example.component.html +++ b/apps/doc/src/app/components/input/input-mask/input-mask-example.component.html @@ -30,7 +30,7 @@ prizmDocHostElementKey="PrizmInputText" prizmInput /> - Текст статуса + diff --git a/apps/doc/src/app/components/input/input-number/input-number-example.component.html b/apps/doc/src/app/components/input/input-number/input-number-example.component.html index 034852737b..2cdb04ac09 100644 --- a/apps/doc/src/app/components/input/input-number/input-number-example.component.html +++ b/apps/doc/src/app/components/input/input-number/input-number-example.component.html @@ -66,7 +66,7 @@

    Number

    prizm-input-right > - Текст статуса +
  • @@ -93,6 +93,7 @@

    Counter

    > Counter prizm-input-right > - Текст статуса +
    diff --git a/apps/doc/src/app/components/input/input-password/input-password-example.component.html b/apps/doc/src/app/components/input/input-password/input-password-example.component.html index 6d55c5c9b4..933edeb37e 100644 --- a/apps/doc/src/app/components/input/input-password/input-password-example.component.html +++ b/apps/doc/src/app/components/input/input-password/input-password-example.component.html @@ -27,7 +27,7 @@ prizmDocHostElementKey="inputPasswordAuxiliaryControl" prizm-input-right > - Текст статуса + diff --git a/apps/doc/src/app/components/input/input-text/examples/input-validation-custom-example/input-validation-custom-texts.service.ts b/apps/doc/src/app/components/input/input-text/examples/input-validation-custom-example/input-validation-custom-texts.service.ts index 07400c66b6..5b0085828c 100644 --- a/apps/doc/src/app/components/input/input-text/examples/input-validation-custom-example/input-validation-custom-texts.service.ts +++ b/apps/doc/src/app/components/input/input-text/examples/input-validation-custom-example/input-validation-custom-texts.service.ts @@ -3,7 +3,7 @@ import { PrizmInputControl, PrizmInputValidationTexts } from '@prizm-ui/componen @Injectable() export class InputValidationCustomTextsService extends PrizmInputValidationTexts { - private readonly invalidTextCustomMap = new Map([['required', 'Обязательное поле']]); + private readonly invalidTextCustomMap = new Map([['required', 'Самое обязательное поле']]); public override getText(key: string, control?: PrizmInputControl): string | undefined { return this.invalidTextCustomMap.get(key); diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.ts b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.ts index 6870fb9d5f..abcc5e43a2 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.ts +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.ts @@ -20,7 +20,7 @@ import { PrizmInputControl } from '../base/input-control.class'; import { PrizmInputStatusTextDirective } from '../input-status-text/input-status-text.directive'; import { PrizmInputPosition, PrizmInputSize, PrizmInputStatus } from '../models/prizm-input.models'; import { debounceTime, map, startWith, takeUntil, tap } from 'rxjs/operators'; -import { isPolymorphPrimitive, PolymorphComponent, PolymorphContent } from '../../../../directives/polymorph'; +import { isPolymorphPrimitive, PolymorphContent } from '../../../../directives/polymorph'; import { Compare, filterTruthy, PrizmDestroyService, PrizmLetDirective } from '@prizm-ui/helpers'; import { PrizmAbstractTestId } from '../../../../abstract/interactive'; diff --git a/libs/components/src/lib/components/input/common/input-status-text/input-status-text.directive.ts b/libs/components/src/lib/components/input/common/input-status-text/input-status-text.directive.ts index 330b47d4db..2f39a57e82 100644 --- a/libs/components/src/lib/components/input/common/input-status-text/input-status-text.directive.ts +++ b/libs/components/src/lib/components/input/common/input-status-text/input-status-text.directive.ts @@ -23,11 +23,11 @@ export class PrizmInputStatusTextDirective extends DefaultInputInvalidTextClass protected override setInvalidText(text: string): void { super.setInvalidText(text); - this.changed.next(); } public getStatusMessage(): PolymorphContent { - return this.invalidText || this.templateRef; + const isTemplateEmpty = !this.templateRef.createEmbeddedView(null).rootNodes[0]; + return isTemplateEmpty ? this.invalidText : this.templateRef; } } diff --git a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.html b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.html index 7863346c0d..f108b4d5db 100644 --- a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.html +++ b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.html @@ -10,7 +10,6 @@ [closeByEsc]="true" (isOpenChange)="onOpenChange($event); $event && prizmDropdownHostComponent.reCalculatePositions()" > - Ошибка! Неправильный формат
    + + + {{ dictionary$ | async | prizmPluck : 'wrongFormat' }} + diff --git a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts index 404330f2d0..dd0296afff 100644 --- a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts +++ b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts @@ -23,7 +23,7 @@ import { PRIZM_ALWAYS_FALSE_HANDLER } from '../../../constants/always-false-hand import { PRIZM_DATE_TIME_SEPARATOR } from '../../../constants/date-time-separator'; import { prizmDefaultProp, prizmPure } from '@prizm-ui/core'; import { PRIZM_DATE_TIME_VALUE_TRANSFORMER } from '../../../tokens/date-inputs-value-transformers'; -import { PRIZM_DATE_TEXTS, PRIZM_TIME_TEXTS } from '../../../tokens/i18n'; +import { PRIZM_DATE_TEXTS, PRIZM_INPUT_LAYOUT_DATE_TIME, PRIZM_TIME_TEXTS } from '../../../tokens/i18n'; import { PrizmContextWithImplicit } from '../../../types/context-with-implicit'; import { PrizmControlValueTransformer } from '../../../types/control-value-transformer'; import { PrizmDateMode } from '../../../types/date-mode'; @@ -36,8 +36,8 @@ import { prizmClamp } from '../../../util/math/clamp'; import { PRIZM_DATE_RIGHT_BUTTONS } from '../../../tokens/date-extra-buttons'; import { PrizmDateButton } from '../../../types/date-button'; import { PRIZM_STRICT_MATCHER } from '../../../constants'; -import { filterTruthy, PrizmDestroyService } from '@prizm-ui/helpers'; -import { PrizmInputControl, PrizmInputNgControl } from '../common'; +import { filterTruthy, PrizmDestroyService, PrizmPluckPipe } from '@prizm-ui/helpers'; +import { PrizmInputControl, PrizmInputNgControl, PrizmInputStatusTextDirective } from '../common'; import { PrizmInputZoneDirective, PrizmInputZoneModule } from '../../../directives/input-zone'; import { debounceTime, delay, map, takeUntil } from 'rxjs/operators'; import { PrizmLifecycleModule } from '../../../directives/lifecycle'; @@ -58,6 +58,7 @@ import { PrizmCalendarComponent } from '../../calendar'; import { PrizmLinkComponent } from '../../link'; import { PrizmValueAccessorModule } from '../../../directives/value-accessor/value-accessor.module'; import { PrizmListingItemComponent } from '../../listing-item'; +import { PrizmLanguageInputLayoutDateTime } from '@prizm-ui/i18n'; @Component({ selector: `prizm-input-layout-date-time`, @@ -71,6 +72,7 @@ import { PrizmListingItemComponent } from '../../listing-item'; ...prizmI18nInitWithKeys({ time: PRIZM_TIME_TEXTS, dateTexts: PRIZM_DATE_TEXTS, + inputLayoutDateTime: PRIZM_INPUT_LAYOUT_DATE_TIME, }), ...PRIZM_INPUT_DATE_TIME_PROVIDERS, { @@ -103,6 +105,7 @@ import { PrizmListingItemComponent } from '../../listing-item'; PrizmValueAccessorModule, PrizmInputNativeValueModule, PrizmListingItemComponent, + PrizmPluckPipe, ], }) export class PrizmInputLayoutDateTimeComponent @@ -118,6 +121,9 @@ export class PrizmInputLayoutDateTimeComponent @ViewChild('focusableElementRef', { read: PrizmInputZoneDirective }) public override readonly focusableElement?: PrizmInputZoneDirective; + @ViewChild(PrizmInputStatusTextDirective, { static: true }) + override statusText!: PrizmInputStatusTextDirective; + @Input() @prizmDefaultProp() timeItems: readonly PrizmTime[] = new Array(24).fill(null).map((_, i) => new PrizmTime(i, 0, 0, 0)); @@ -182,6 +188,8 @@ export class PrizmInputLayoutDateTimeComponent injector: Injector, @Inject(PRIZM_DATE_TEXTS) readonly dateTexts$: Observable>, + @Inject(PRIZM_INPUT_LAYOUT_DATE_TIME) + public readonly dictionary$: Observable, @Optional() @Inject(PRIZM_DATE_TIME_VALUE_TRANSFORMER) valueTransformer: PrizmControlValueTransformer<[PrizmDay | null, PrizmTime | null] | null> | null diff --git a/libs/components/src/lib/tokens/i18n.ts b/libs/components/src/lib/tokens/i18n.ts index cc6c5250a2..013a519831 100644 --- a/libs/components/src/lib/tokens/i18n.ts +++ b/libs/components/src/lib/tokens/i18n.ts @@ -7,6 +7,7 @@ import { PrizmLanguageCron, PrizmLanguageFileUpload, PrizmLanguageInputLayoutDateRelative, + PrizmLanguageInputLayoutDateTime, PrizmLanguageKit, PrizmLanguagePaginator, } from '@prizm-ui/i18n'; @@ -19,6 +20,10 @@ export const PRIZM_INPUT_LAYOUT_DATE_RELATIVE = new InjectionToken< Observable >(`Localized for input layout date relative component`); +export const PRIZM_INPUT_LAYOUT_DATE_TIME = new InjectionToken< + Observable +>(`Localized for input layout date time component`); + export const PRIZM_CRON = new InjectionToken>( `Localized for cron component` ); diff --git a/libs/i18n/src/lib/interfaces/language.ts b/libs/i18n/src/lib/interfaces/language.ts index ab1632578a..016d9c865e 100644 --- a/libs/i18n/src/lib/interfaces/language.ts +++ b/libs/i18n/src/lib/interfaces/language.ts @@ -21,6 +21,11 @@ export interface PrizmLanguageInputLayoutDateRelative { wrongFormat: string; }; } +export interface PrizmLanguageInputLayoutDateTime { + inputLayoutDateTime: { + wrongFormat: string; + }; +} export interface PrizmLanguageCron { cron: { title: string; @@ -219,6 +224,7 @@ export interface PrizmLanguage PrizmLanguageMeta, PrizmLanguageCron, PrizmLanguageInputLayoutDateRelative, + PrizmLanguageInputLayoutDateTime, PrizmLanguageFileUpload, PrizmLanguageColumnSettings, PrizmLanguagePaginator {} diff --git a/libs/i18n/src/lib/languages/russian/input-layout-date-time.ts b/libs/i18n/src/lib/languages/russian/input-layout-date-time.ts new file mode 100644 index 0000000000..2ed50480f8 --- /dev/null +++ b/libs/i18n/src/lib/languages/russian/input-layout-date-time.ts @@ -0,0 +1,7 @@ +import { PrizmLanguageInputLayoutDateTime } from '../../interfaces'; + +export const PRIZM_RUSSIAN_INPUT_LAYOUT_DATE_TIME: PrizmLanguageInputLayoutDateTime = { + inputLayoutDateTime: { + wrongFormat: 'Неправильный формат данных', + }, +}; diff --git a/libs/i18n/src/lib/languages/russian/russian.ts b/libs/i18n/src/lib/languages/russian/russian.ts index 4574770e1a..e8db4cbf2a 100644 --- a/libs/i18n/src/lib/languages/russian/russian.ts +++ b/libs/i18n/src/lib/languages/russian/russian.ts @@ -6,6 +6,7 @@ import { PRIZM_RUSSIAN_CRON } from './cron'; import { PRIZM_RUSSIAN_INPUT_LAYOUT_DATE_RELATIVE } from './input-date-layout-relative'; import { PRIZM_RUSSIAN_COLUMN_SETTINGS } from './column-settings'; import { PRIZM_RUSSIAN_PAGINATOR } from './paginator'; +import { PRIZM_RUSSIAN_INPUT_LAYOUT_DATE_TIME } from './input-layout-date-time'; export const PRIZM_RUSSIAN_LANGUAGE = { name: `russian`, @@ -14,6 +15,7 @@ export const PRIZM_RUSSIAN_LANGUAGE = { ...PRIZM_RUSSIAN_LANGUAGE_KIT, ...PRIZM_RUSSIAN_FILE_UPLOAD, ...PRIZM_RUSSIAN_INPUT_LAYOUT_DATE_RELATIVE, + ...PRIZM_RUSSIAN_INPUT_LAYOUT_DATE_TIME, ...PRIZM_RUSSIAN_CRON, ...PRIZM_RUSSIAN_COLUMN_SETTINGS, ...PRIZM_RUSSIAN_PAGINATOR, From 80b5a4a62c017970fe72ea070b20318fa69faf41 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 7 Feb 2024 19:12:54 +0300 Subject: [PATCH 012/291] fix: input select example update --- .../examples/base/select-base-example.component.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html b/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html index 5a24665f04..ed335507d1 100644 --- a/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html +++ b/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html @@ -1,5 +1,10 @@ - + From 962b9d6be7e21b221e5c12a73803663435af96c2 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 7 Feb 2024 19:19:52 +0300 Subject: [PATCH 013/291] fix: input select examples prizm input status text fix #185 --- .../examples/base/select-base-example.component.html | 8 +------- .../full-width/select-full-width-example.component.html | 1 - .../select-virtual-scroll-example.component.html | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html b/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html index 5a24665f04..868b39539e 100644 --- a/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html +++ b/apps/doc/src/app/components/input/input-select/examples/base/select-base-example.component.html @@ -1,12 +1,6 @@ - - - - - - - dddd +

    diff --git a/apps/doc/src/app/components/input/input-select/examples/full-width/select-full-width-example.component.html b/apps/doc/src/app/components/input/input-select/examples/full-width/select-full-width-example.component.html index 27c524349f..d497218bd7 100644 --- a/apps/doc/src/app/components/input/input-select/examples/full-width/select-full-width-example.component.html +++ b/apps/doc/src/app/components/input/input-select/examples/full-width/select-full-width-example.component.html @@ -1,7 +1,6 @@ -

    diff --git a/apps/doc/src/app/components/input/input-select/examples/virtual-scroll/select-virtual-scroll-example.component.html b/apps/doc/src/app/components/input/input-select/examples/virtual-scroll/select-virtual-scroll-example.component.html index 4fad677f95..ccbbcdf6dc 100644 --- a/apps/doc/src/app/components/input/input-select/examples/virtual-scroll/select-virtual-scroll-example.component.html +++ b/apps/doc/src/app/components/input/input-select/examples/virtual-scroll/select-virtual-scroll-example.component.html @@ -9,7 +9,7 @@ - dddd +

    From ad77bdca3570be5e1a62f13a910ee23daa951615 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 8 Feb 2024 11:35:46 +0300 Subject: [PATCH 014/291] fix: switcher active disable state regress fixed #1348 --- .../components/switcher-item/switcher-item.component.html | 1 + .../components/switcher-item/switcher-item.component.less | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.html b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.html index d580adcdd1..58ac800e99 100644 --- a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.html +++ b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.html @@ -6,6 +6,7 @@ [size]="size" [appearanceType]="data?.appearanceType ?? 'ghost'" [appearance]="data?.appearance ?? 'secondary'" + [class.switcher_active_disabled]="isActive && isDisabled" [pseudoPressed]="isActive" prizmButton > diff --git a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less index a8951424b0..aa5793122d 100644 --- a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less +++ b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less @@ -49,6 +49,11 @@ transition: 400ms; overflow: hidden; + &_active_disabled { + background: var(--prizm-v3-button-secondary-ghost-active); + color: var(--prizm-v3-button-secondary-solid-active); + } + &_icon { min-width: 50px; } From d2a7609b287b626dcd70cf7c2782a20684cddebc Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 8 Feb 2024 13:37:55 +0300 Subject: [PATCH 015/291] fix: prizm navigation menu search error #1344 --- .../prizm-navigation-menu-group.service.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts b/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts index 4f6c42b15c..833117b8d6 100644 --- a/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts +++ b/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts @@ -103,15 +103,16 @@ export class PrizmNavigationMenuGroupService< this.searchState$$, ]).pipe( map(([modeBasedItems, searchState]) => { - if (searchState.enabled && searchState.value === '') { - return []; - } - if (searchState.enabled) { - const filtered = filterItems(modeBasedItems, item => - item.text.toLowerCase().includes(searchState.value.toLowerCase()) - ); - traverseAllDeep(filtered, item => this.temporaryExpandedItemsMap.set(item, true)); + const searchValue = + searchState.value !== null && searchState.value !== undefined + ? searchState.value.toLowerCase() + : ''; + + const filtered = filterItems(modeBasedItems, item => item.text.toLowerCase().includes(searchValue)); + if (searchValue !== '') { + traverseAllDeep(filtered, item => this.temporaryExpandedItemsMap.set(item, true)); + } return filtered; } From 5e582c5fddadd8bb4ee3dcbcde443575edea1862 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 9 Feb 2024 18:02:27 +0300 Subject: [PATCH 016/291] fix: navigation menu active item setter fix #1213 --- .../navigation-menu-basic-example.component.html | 1 + .../prizm-navigation-menu/prizm-navigation-menu.component.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html index 17f7db600b..d31eefa43d 100644 --- a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html +++ b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html @@ -4,6 +4,7 @@ [title]="'Basic props'" [toolbarConfig]="toolbarConfig" [items]="items" + [activeItem]="items[0]" [emptyDataMessageConfig]="{ title: 'Нет никаких данных', subtitle: diff --git a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu/prizm-navigation-menu.component.ts b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu/prizm-navigation-menu.component.ts index 6a3c771e21..d77eeeda8a 100644 --- a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu/prizm-navigation-menu.component.ts +++ b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu/prizm-navigation-menu.component.ts @@ -79,7 +79,9 @@ export class PrizmNavigationMenuComponent< @Input() headerExtraTemplate!: TemplateRef; @Input() set activeItem(activeItem: UserItem | null) { - this.menuService.setActiveItem(activeItem as UserItem); + queueMicrotask(() => { + this.menuService.setActiveItem(activeItem as UserItem); + }); } @Input() set itemKeyName(keyName: string) { this.menuService.setItemKeyName(keyName); From d966b59312eef2103829d9300c35caa85b4f258f Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Sun, 11 Feb 2024 18:01:56 +0300 Subject: [PATCH 017/291] fix: breadcrumbs force update for content projection use case #1282 --- .../breadcrumbs-example-projection.component.html | 4 ++-- .../breadcrumbs-example-projection.component.ts | 10 +++++++++- .../components/breadcrumbs/breadcrumbs.component.ts | 4 ++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html index 6d38f7b235..8aec2b163e 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html @@ -1,5 +1,5 @@ - - + + {{ item.name }} diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts index 6d9d3536f5..03359f5a1a 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts @@ -1,5 +1,6 @@ -import { Component, ChangeDetectionStrategy } from '@angular/core'; +import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core'; import { IBreadcrumb } from '@prizm-ui/components'; +import { map, tap, timer } from 'rxjs'; @Component({ selector: 'prizm-breadcrumbs-example-projection', @@ -8,12 +9,19 @@ import { IBreadcrumb } from '@prizm-ui/components'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class BreadcrumbsExampleProjectionComponent { + @ViewChild('crumbs') public crumbs!: any; + public breadcrumbs = [ { link: '/components/button', name: 'Button' }, { link: '/components/split-button', name: 'Split' }, { link: '/components/icon-button', name: 'Icon' }, ]; + breadcrumbs$ = timer(2000).pipe( + map(() => this.breadcrumbs), + tap(() => this.crumbs.forceUpdateView()) + ); + private currentBreadcrumb: IBreadcrumb | null = null; public breadcrumbChange(current: IBreadcrumb): void { diff --git a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts index e46533a8ef..81984b2df9 100644 --- a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts +++ b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts @@ -119,6 +119,10 @@ export class PrizmBreadcrumbsComponent this.mutationDetector$.complete(); } + public forceUpdateView() { + setTimeout(() => this.cdRef.detectChanges()); + } + private calculateOverflowState(): void { const containerWidth = this.containerRef.nativeElement.clientWidth; const contentWidth = this.breadcrumbsElementsWidth; From 85a29d58167fcca3b823959946c55aede72ab53f Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 12 Feb 2024 12:30:16 +0300 Subject: [PATCH 018/291] fix: navigation active node styles changed #1213 --- .../navigation-menu-basic-example.component.html | 2 +- .../navigation-menu-basic-example.component.ts | 4 ++++ .../prizm-navigation-menu-item.component.html | 1 + .../prizm-navigation-menu-item.component.less | 5 ++++- .../prizm-navigation-menu-item.component.ts | 1 + .../prizm-navigation-menu-items.component.html | 1 + .../prizm-navigation-menu-items.component.ts | 8 +++++++- 7 files changed, 19 insertions(+), 3 deletions(-) diff --git a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html index d31eefa43d..df8a257f77 100644 --- a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html +++ b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.html @@ -4,7 +4,7 @@ [title]="'Basic props'" [toolbarConfig]="toolbarConfig" [items]="items" - [activeItem]="items[0]" + [activeItem]="activeItem" [emptyDataMessageConfig]="{ title: 'Нет никаких данных', subtitle: diff --git a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts index f1ab94dbfa..450d90e0ce 100644 --- a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts +++ b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts @@ -18,9 +18,13 @@ export class NavigationMenuBasicExampleComponent { }; items: PrizmNavigationMenuItem[] = MOKED_ITEMS; + activeItem: PrizmNavigationMenuItem; constructor(private readonly iconRegistry: PrizmIconsSvgRegistry, private cdr: ChangeDetectorRef) { this.iconRegistry.registerIcons(PRIZM_ICONS_SVG_SET); + + const childItemsArray = this.items[0].children as PrizmNavigationMenuItem[]; + this.activeItem = childItemsArray[1]; } public toggleLoading(): void { diff --git a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-item/prizm-navigation-menu-item.component.html b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-item/prizm-navigation-menu-item.component.html index 4cae267a7e..582d93d747 100644 --- a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-item/prizm-navigation-menu-item.component.html +++ b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-item/prizm-navigation-menu-item.component.html @@ -1,5 +1,6 @@
    extends PrizmAbstractTestId { @Input() itemExtraTemplate!: TemplateRef; @Input() isExpandable!: boolean; @Input() isExpanded!: boolean; + @Input() isActiveNode!: boolean; @Input() isActive!: boolean; @Input() item!: InternalPrizmNavigationMenuItem; @Input() mode!: ViewMode; diff --git a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.html b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.html index ab7b18f5e3..cf4086055b 100644 --- a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.html +++ b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.html @@ -13,6 +13,7 @@ [item]="item" [mode]="mode" [itemExtraTemplate]="itemExtraTemplate" + [isActiveNode]="getItemIsActiveNode(item)" [isActive]="getItemIsActive(item)" [isExpandable]="menuItemsChildrenHandler(item).length > 0" [isExpanded]="getItemIsExpanded(item)" diff --git a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.ts b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.ts index cdfab37933..c62193aded 100644 --- a/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.ts +++ b/libs/components/src/lib/components/navigation-menu/components/prizm-navigation-menu-items/prizm-navigation-menu-items.component.ts @@ -96,7 +96,7 @@ export class PrizmNavigationMenuItemsComponent< return this.expandedItemsMap.get(item) ?? false; } - public getItemIsActive(item: InternalPrizmNavigationMenuItem): boolean { + public getItemIsActiveNode(item: InternalPrizmNavigationMenuItem): boolean { if (item === this.activeItem) return true; if (!this.getItemIsExpanded(item) && item.children && this.mode !== 'rubricator') { @@ -107,6 +107,12 @@ export class PrizmNavigationMenuItemsComponent< return false; } + public getItemIsActive(item: InternalPrizmNavigationMenuItem): boolean { + if (item === this.activeItem) return true; + + return false; + } + public triggerCdr(): void { this.cdr.markForCheck(); this.menuItemsList?.forEach(itemComponent => itemComponent.cdr.markForCheck()); From 37a1cd659967778c2d56c507f3dd8ffe7b1e9323 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 12 Feb 2024 14:26:55 +0300 Subject: [PATCH 019/291] fix: breadcrumbs update for content projection use case #1282 --- .../breadcrumbs-example-projection.component.ts | 7 ++----- .../components/breadcrumbs/breadcrumbs.component.ts | 11 ++++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts index 03359f5a1a..48288c6a27 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts @@ -1,6 +1,6 @@ import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core'; import { IBreadcrumb } from '@prizm-ui/components'; -import { map, tap, timer } from 'rxjs'; +import { map, timer } from 'rxjs'; @Component({ selector: 'prizm-breadcrumbs-example-projection', @@ -17,10 +17,7 @@ export class BreadcrumbsExampleProjectionComponent { { link: '/components/icon-button', name: 'Icon' }, ]; - breadcrumbs$ = timer(2000).pipe( - map(() => this.breadcrumbs), - tap(() => this.crumbs.forceUpdateView()) - ); + breadcrumbs$ = timer(2000).pipe(map(() => this.breadcrumbs)); private currentBreadcrumb: IBreadcrumb | null = null; diff --git a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts index 81984b2df9..061aa13f10 100644 --- a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts +++ b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts @@ -109,7 +109,12 @@ export class PrizmBreadcrumbsComponent }) ); - merge($breadcrumbsChange, $mutation) + const $templateChage = this.breadcrumbsItem.changes.pipe( + debounceTime(200), + observeOn(animationFrameScheduler) + ); + + merge($breadcrumbsChange, $mutation, $templateChage) .pipe(debounceTime(200), takeUntil(this.destroy)) .subscribe(() => this.cdRef.detectChanges()); } @@ -119,10 +124,6 @@ export class PrizmBreadcrumbsComponent this.mutationDetector$.complete(); } - public forceUpdateView() { - setTimeout(() => this.cdRef.detectChanges()); - } - private calculateOverflowState(): void { const containerWidth = this.containerRef.nativeElement.clientWidth; const contentWidth = this.breadcrumbsElementsWidth; From 730d039794737baffa311b6cc7976c2a188e6540 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 12 Feb 2024 15:28:38 +0300 Subject: [PATCH 020/291] fix: style fixes --- .../breadcrumbs-example-projection.component.html | 2 +- .../breadcrumbs-example-projection.component.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html index 8aec2b163e..8c41779a67 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.html @@ -1,4 +1,4 @@ - + {{ item.name }} diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts index 48288c6a27..84eae895bc 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.ts @@ -1,4 +1,4 @@ -import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core'; +import { Component, ChangeDetectionStrategy } from '@angular/core'; import { IBreadcrumb } from '@prizm-ui/components'; import { map, timer } from 'rxjs'; @@ -9,8 +9,6 @@ import { map, timer } from 'rxjs'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class BreadcrumbsExampleProjectionComponent { - @ViewChild('crumbs') public crumbs!: any; - public breadcrumbs = [ { link: '/components/button', name: 'Button' }, { link: '/components/split-button', name: 'Split' }, From 90e92e6dd2544c526b619a70f00f24e70eeb3ee4 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 13 Feb 2024 12:58:26 +0300 Subject: [PATCH 021/291] fix: input height fixes #1179, #1308 --- ...input-carousel-auxiliary-left.component.ts | 1 + ...nput-carousel-auxiliary-right.component.ts | 1 + .../input-icon-button.component.less | 1 + .../input-layout/input-layout.component.less | 31 +++++++++++++++++++ ...t-number-auxiliary-controls.component.less | 8 +++++ 5 files changed, 42 insertions(+) diff --git a/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-left.component.ts b/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-left.component.ts index 6427db091e..2ea128fedd 100644 --- a/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-left.component.ts +++ b/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-left.component.ts @@ -26,6 +26,7 @@ import { PrizmInputCommonModule } from '../common'; :host { display: flex; align-items: center; + height: 100%; } `, ], diff --git a/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-right.component.ts b/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-right.component.ts index 62eb34cbbf..fbaad43f70 100644 --- a/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-right.component.ts +++ b/libs/components/src/lib/components/input/carousel/input-carousel-auxiliary-right.component.ts @@ -26,6 +26,7 @@ import { PrizmInputCommonModule } from '../common'; :host { display: flex; align-items: center; + height: 100%; } `, ], diff --git a/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less b/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less index 03c9bdbc9e..1c19bac1af 100644 --- a/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less +++ b/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less @@ -31,6 +31,7 @@ } cursor: pointer; + height: 100%; } color: var(--prizm-v3-button-secondary-solid-default); diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index 8376dfbef1..c69969f8f1 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -118,6 +118,9 @@ display: flex; align-items: center; flex-grow: 1; + + // Hack for height in percents for buttons inside controls + height: 1px; } &-body { @@ -204,11 +207,23 @@ &-inner { min-height: 44px; + &:not(:has(prizm-chips)) { + max-height: 44px; + } + &[data-size='l'] { min-height: 44px; + + &:not(:has(prizm-chips)) { + max-height: 44px; + } } &[data-size='m'] { min-height: 36px; + + &:not(:has(prizm-chips)) { + max-height: 36px; + } } } @@ -218,14 +233,30 @@ &-outer { min-height: 32px; + &:not(:has(prizm-chips)) { + max-height: 32px; + } + &[data-size='l'] { min-height: 40px; + + &:not(:has(prizm-chips)) { + max-height: 40px; + } } &[data-size='m'] { min-height: 32px; + + &:not(:has(prizm-chips)) { + max-height: 32px; + } } &[data-size='s'] { min-height: 24px; + + &:not(:has(prizm-chips)) { + max-height: 24px; + } } } diff --git a/libs/components/src/lib/components/input/input-number/input-number-auxiliary-controls.component.less b/libs/components/src/lib/components/input/input-number/input-number-auxiliary-controls.component.less index e48e611c0c..90e2f4767f 100644 --- a/libs/components/src/lib/components/input/input-number/input-number-auxiliary-controls.component.less +++ b/libs/components/src/lib/components/input/input-number/input-number-auxiliary-controls.component.less @@ -1,6 +1,14 @@ +:host { + height: 100%; +} .container { display: flex; flex-direction: column; + height: 100%; + + [prizmInputIconButton] { + height: 50%; + } } :host-context(.prizm-input-form-outer[data-size='m']) { From ee938a065f95adde679aaa8c3e199686261f5c15 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 13 Feb 2024 14:26:05 +0300 Subject: [PATCH 022/291] fix: debounce time removed from template update function --- .../src/lib/components/breadcrumbs/breadcrumbs.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts index 061aa13f10..40e692de1c 100644 --- a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts +++ b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts @@ -109,10 +109,7 @@ export class PrizmBreadcrumbsComponent }) ); - const $templateChage = this.breadcrumbsItem.changes.pipe( - debounceTime(200), - observeOn(animationFrameScheduler) - ); + const $templateChage = this.breadcrumbsItem.changes.pipe(observeOn(animationFrameScheduler)); merge($breadcrumbsChange, $mutation, $templateChage) .pipe(debounceTime(200), takeUntil(this.destroy)) From 5c8295669f497ba13929c62ca736f378f3f8925a Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 14 Feb 2024 17:43:26 +0300 Subject: [PATCH 023/291] fix: navigation example litle fix --- .../navigation-menu-basic-example.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts index 450d90e0ce..881e89f2d3 100644 --- a/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts +++ b/apps/doc/src/app/components/navigation-menu/examples/navigation-menu-basic-example/navigation-menu-basic-example.component.ts @@ -24,7 +24,7 @@ export class NavigationMenuBasicExampleComponent { this.iconRegistry.registerIcons(PRIZM_ICONS_SVG_SET); const childItemsArray = this.items[0].children as PrizmNavigationMenuItem[]; - this.activeItem = childItemsArray[1]; + this.activeItem = childItemsArray[0]; } public toggleLoading(): void { From 35fa0bb44672ec0171e0e8608ee09eeac9e94ea9 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 09:28:46 +0300 Subject: [PATCH 024/291] fix: date time range transformer token error #1364 --- .../input-layout-date-time-range.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts index ba37e15770..46578e9504 100644 --- a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts +++ b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts @@ -30,7 +30,7 @@ import { PrizmDialogService } from '../../dialogs/dialog/dialog.service'; import { PRIZM_DATE_FORMAT } from '../../../@core/date-time/date-format'; import { PrizmDateMode } from '../../../types/date-mode'; import { PRIZM_DATE_TEXTS, PRIZM_TIME_TEXTS } from '../../../tokens/i18n'; -import { PRIZM_DATE_RANGE_VALUE_TRANSFORMER } from '../../../tokens/date-inputs-value-transformers'; +import { PRIZM_DATE_TIME_RANGE_VALUE_TRANSFORMER } from '../../../tokens/date-inputs-value-transformers'; import { PrizmControlValueTransformer } from '../../../types/control-value-transformer'; import { prizmNullableSame } from '../../../util/common/nullable-same'; import { filterTruthy, PrizmDestroyService, PrizmLetDirective } from '@prizm-ui/helpers'; @@ -247,7 +247,7 @@ export class PrizmInputLayoutDateTimeRangeComponent @Inject(PRIZM_DATE_TEXTS) readonly dateTexts$: Observable>, @Optional() - @Inject(PRIZM_DATE_RANGE_VALUE_TRANSFORMER) + @Inject(PRIZM_DATE_TIME_RANGE_VALUE_TRANSFORMER) override readonly valueTransformer: PrizmControlValueTransformer | null ) { super(injector); From 7f50dd0a29be915a309e3c287be078b8ce52b035 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 10:44:41 +0300 Subject: [PATCH 025/291] fix: fix styles for input chips --- .../input/common/input-layout/input-layout.component.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index c69969f8f1..0adf370b71 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -118,7 +118,9 @@ display: flex; align-items: center; flex-grow: 1; + } + &:not(:has([prizm-input-bottom])) &__first { // Hack for height in percents for buttons inside controls height: 1px; } From f9c6d0be693db9912f0082854fcc9757021ba671 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 11:42:44 +0300 Subject: [PATCH 026/291] fix: input chips styles fix --- .../input/input-text/input-example.module.ts | 2 -- .../input-layout/input-layout.component.less | 14 +++++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/doc/src/app/components/input/input-text/input-example.module.ts b/apps/doc/src/app/components/input/input-text/input-example.module.ts index 41918d548c..376cece390 100644 --- a/apps/doc/src/app/components/input/input-text/input-example.module.ts +++ b/apps/doc/src/app/components/input/input-text/input-example.module.ts @@ -4,9 +4,7 @@ import { RouterModule } from '@angular/router'; import { PrizmButtonModule, PrizmHintDirective, - PrizmHintModule, PrizmIconComponent, - PrizmIconModule, PrizmInputTextModule, } from '@prizm-ui/components'; import { PrizmAddonDocModule, prizmDocGenerateRoutes } from '@prizm-ui/doc'; diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index 0adf370b71..d6b137e38f 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -209,21 +209,21 @@ &-inner { min-height: 44px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 44px; } &[data-size='l'] { min-height: 44px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 44px; } } &[data-size='m'] { min-height: 36px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 36px; } } @@ -235,28 +235,28 @@ &-outer { min-height: 32px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 32px; } &[data-size='l'] { min-height: 40px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 40px; } } &[data-size='m'] { min-height: 32px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 32px; } } &[data-size='s'] { min-height: 24px; - &:not(:has(prizm-chips)) { + &:not(:has(prizm-chips > .chips-list)) { max-height: 24px; } } From d0cc9ce0c8fcf7084e32388f94a0a6c8e1d6434b Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 12:12:05 +0300 Subject: [PATCH 027/291] fix: clear search result map for navigation menu --- .../services/prizm-navigation-menu-group.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts b/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts index 833117b8d6..2f5db37004 100644 --- a/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts +++ b/libs/components/src/lib/components/navigation-menu/services/prizm-navigation-menu-group.service.ts @@ -70,6 +70,7 @@ export class PrizmNavigationMenuGroupService< this.viewMode$$, ]).pipe( switchMap(([internalItems, viewMode]) => { + console.log(22222); if (viewMode === 'rubricator') { const rubricatorItems = toRubricatorItems(internalItems); rubricatorItems.forEach(rootLevelItem => this.temporaryExpandedItemsMap.set(rootLevelItem, false)); @@ -116,6 +117,10 @@ export class PrizmNavigationMenuGroupService< return filtered; } + if (!searchState.enabled) { + this.temporaryExpandedItemsMap.clear(); + } + return modeBasedItems; }) ); From 78c3f636b3dabde5f3eb95273107ef945267e0d0 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 14:38:57 +0300 Subject: [PATCH 028/291] fix: fix styles for textarea --- .../input/common/input-layout/input-layout.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index d6b137e38f..ed39b4f045 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -120,7 +120,7 @@ flex-grow: 1; } - &:not(:has([prizm-input-bottom])) &__first { + &:not(:has([prizm-input-bottom])):not(.prizm-input-form-textarea) &__first { // Hack for height in percents for buttons inside controls height: 1px; } From a275f1642d4fb2f76b139a0ca2720353a33d622c Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 15:16:26 +0300 Subject: [PATCH 029/291] fix: input buttons overflow fix --- .../input/common/input-layout/input-layout.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index ed39b4f045..2d1243e77a 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -6,7 +6,6 @@ .prizm-input-form-status-button, .prizm-input-button-default { flex-shrink: 0; - height: 100%; } .prizm-input-button-default { @@ -269,6 +268,7 @@ position: absolute; z-index: 100; background-color: var(--prizm-v3-form-fill-default); + height: auto; } .prizm-input-button-default { From 952bde3acd2314e615389649638a4496d4d6a67a Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 15 Feb 2024 16:08:27 +0300 Subject: [PATCH 030/291] fix: debounce replaced by asyncShceduler in breadcrumbs --- .../src/lib/components/breadcrumbs/breadcrumbs.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts index 40e692de1c..1dfdf7b964 100644 --- a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts +++ b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.ts @@ -15,7 +15,7 @@ import { ViewChildren, } from '@angular/core'; import { IBreadcrumb } from './breadcrumb.interface'; -import { animationFrameScheduler, BehaviorSubject, merge, Subject } from 'rxjs'; +import { animationFrameScheduler, asyncScheduler, BehaviorSubject, merge, Subject } from 'rxjs'; import { PrizmDestroyService, prizmEmptyQueryList } from '@prizm-ui/helpers'; import { debounceTime, observeOn, takeUntil, tap } from 'rxjs/operators'; import { PrizmAbstractTestId } from '../../abstract/interactive'; @@ -112,7 +112,7 @@ export class PrizmBreadcrumbsComponent const $templateChage = this.breadcrumbsItem.changes.pipe(observeOn(animationFrameScheduler)); merge($breadcrumbsChange, $mutation, $templateChage) - .pipe(debounceTime(200), takeUntil(this.destroy)) + .pipe(observeOn(asyncScheduler), takeUntil(this.destroy)) .subscribe(() => this.cdRef.detectChanges()); } From d941b00950d4d0e08be49cad911c6792ee0cf0be Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 16 Feb 2024 09:50:32 +0300 Subject: [PATCH 031/291] fix: status button for inputs style fix --- .../input/common/input-layout/input-layout.component.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less index 2d1243e77a..dd0280b89e 100644 --- a/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less +++ b/libs/components/src/lib/components/input/common/input-layout/input-layout.component.less @@ -8,6 +8,10 @@ flex-shrink: 0; } + .prizm-input-form-status-button { + align-self: center; + } + .prizm-input-button-default { display: none; } From e417a18260ab22d92de43c407ebfce42f933f7ba Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 16 Feb 2024 13:56:33 +0300 Subject: [PATCH 032/291] fix: switcher styles fix --- .../components/switcher-item/switcher-item.component.less | 7 +++++-- .../components/switcher-item/switcher-item.component.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less index aa5793122d..4f175c2ed0 100644 --- a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less +++ b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.less @@ -50,8 +50,11 @@ overflow: hidden; &_active_disabled { - background: var(--prizm-v3-button-secondary-ghost-active); - color: var(--prizm-v3-button-secondary-solid-active); + ::ng-deep prizm-wrapper { + &[data-state='disabled'][data-state='disabled'] { + background: var(--prizm-v3-button-disable); + } + } } &_icon { diff --git a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.ts b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.ts index df79a2a039..b1839ce5db 100644 --- a/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.ts +++ b/libs/components/src/lib/components/switcher/components/switcher-item/switcher-item.component.ts @@ -9,7 +9,7 @@ import { prizmDefaultProp } from '@prizm-ui/core'; import { PrizmAbstractTestId } from '../../../../abstract/interactive'; import { PrizmHintDirective } from '../../../../directives'; import { CommonModule } from '@angular/common'; -import { PrizmButtonComponent, PrizmButtonModule } from '../../../button'; +import { PrizmButtonComponent } from '../../../button'; @Component({ selector: 'prizm-switcher-item', From 8a45acb342b2cd2f61351fea7641ee3ad3cab039 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 16 Feb 2024 15:20:02 +0300 Subject: [PATCH 033/291] fix: input chips demo styles fix --- .../input/input-chips/input-chips-example.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less b/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less index feaac48f41..f7f08e265a 100644 --- a/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less +++ b/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less @@ -1,3 +1,3 @@ -prizm-chips.single-line { +prizm-chips.single-line:not(empty) { margin-bottom: 11px; } From e818180b848014f0e96ca55ec4dfbe981100f86e Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Fri, 16 Feb 2024 15:25:43 +0300 Subject: [PATCH 034/291] fix(components/tabs): issue with close tabs logic #1360 --- .../components/tabs/components/tab.component.ts | 17 +++++++---------- .../src/lib/components/tabs/tabs.component.html | 2 +- .../src/lib/components/tabs/tabs.service.ts | 10 +++++++++- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/libs/components/src/lib/components/tabs/components/tab.component.ts b/libs/components/src/lib/components/tabs/components/tab.component.ts index 4d21290e06..033b3e2890 100644 --- a/libs/components/src/lib/components/tabs/components/tab.component.ts +++ b/libs/components/src/lib/components/tabs/components/tab.component.ts @@ -160,16 +160,13 @@ export class PrizmTabComponent extends PrizmAbstractTestId implements OnInit, On ); } - public onClose(event: MouseEvent): void { - event.stopPropagation(); - this.tab$.pipe( - first(), - tap(tab => { - tab.closeTab.emit(); - }), - takeUntil(this.destroy) - ); - + public close(): void { + this.tabsService.removeTab(this); this.closeTab.emit(); } + + protected onClose(event: MouseEvent): void { + event.stopPropagation(); + this.close(); + } } diff --git a/libs/components/src/lib/components/tabs/tabs.component.html b/libs/components/src/lib/components/tabs/tabs.component.html index 00d82b60e4..4d338161af 100644 --- a/libs/components/src/lib/components/tabs/tabs.component.html +++ b/libs/components/src/lib/components/tabs/tabs.component.html @@ -105,7 +105,7 @@ [class.hidden]="!tab.closable" [iconClass]="'cancel-close'" [size]="16" - (click)="closeTab($any(tabElement.idx))" + (click)="closeTab(tabElement.idx!)" > diff --git a/libs/components/src/lib/components/tabs/tabs.service.ts b/libs/components/src/lib/components/tabs/tabs.service.ts index 51bf283e3a..95511a8f06 100644 --- a/libs/components/src/lib/components/tabs/tabs.service.ts +++ b/libs/components/src/lib/components/tabs/tabs.service.ts @@ -1,6 +1,6 @@ import { Injectable, OnDestroy } from '@angular/core'; import { BehaviorSubject, combineLatest, concat, Observable, of, Subject } from 'rxjs'; -import { distinctUntilChanged, filter, map, startWith, take, takeUntil, tap } from 'rxjs/operators'; +import { distinctUntilChanged, map, take, takeUntil, tap } from 'rxjs/operators'; import { PrizmTabComponent } from './components/tab.component'; import { filterTruthy, PrizmDestroyService, prizmFromMutationObserver$ } from '@prizm-ui/helpers'; import { PrizmTabCanOpen } from './tabs.model'; @@ -48,6 +48,14 @@ export class PrizmTabsService implements OnDestroy { return this.tabs.get(idx) as PrizmTabComponent; } + public close(tabIdx: number): boolean { + const tab = this.getTabByIdx(tabIdx); + if (!tab) return false; + + tab.close(); + return true; + } + public moveTab(idx: number, toIndex: number, tab: PrizmTabComponent): void { if (tab !== this.getTabByIdx(idx)) return; this.tabs.delete(idx); From 63311ae886154c36293850d98ea33e3edd824159 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:39:43 +0300 Subject: [PATCH 035/291] feat(components/tabs): added tests --- .../tabs/components/tabs.component.spec.ts | 70 +++++++++++++++++++ .../src/lib/components/tabs/tabs.service.ts | 8 ++- 2 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 libs/components/src/lib/components/tabs/components/tabs.component.spec.ts diff --git a/libs/components/src/lib/components/tabs/components/tabs.component.spec.ts b/libs/components/src/lib/components/tabs/components/tabs.component.spec.ts new file mode 100644 index 0000000000..4ba6eeaeb3 --- /dev/null +++ b/libs/components/src/lib/components/tabs/components/tabs.component.spec.ts @@ -0,0 +1,70 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { PrizmTabComponent } from './tab.component'; +import { PrizmTabsService } from '../tabs.service'; +import { PrizmDestroyService } from '@prizm-ui/helpers'; + +describe('PrizmTabComponent', () => { + let component: PrizmTabComponent; + let fixture: ComponentFixture; + let tabsService: PrizmTabsService; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [PrizmTabComponent], + providers: [PrizmTabsService, PrizmDestroyService], // Используем реальный сервис + }).compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PrizmTabComponent); + component = fixture.componentInstance; + tabsService = TestBed.inject(PrizmTabsService); + fixture.detectChanges(); // Инициируем обнаружение изменений + }); + + it('should remove the selected tab and update activeTabIdx accordingly', () => { + // Создаем и добавляем 3 таба в сервис + const tab1 = TestBed.createComponent(PrizmTabComponent).componentInstance; + const tab2 = TestBed.createComponent(PrizmTabComponent).componentInstance; + const tab3 = TestBed.createComponent(PrizmTabComponent).componentInstance; + + tabsService.addTab(tab1, 0); + tabsService.addTab(tab2, 1); + tabsService.addTab(tab3, 2); + + // Выбираем последний таб + tabsService.selectTab(tab3); + + // Проверяем, что последний таб теперь активный + expect(tabsService.activeTabIdx).toBe(2); // Предполагая, что индексы начинаются с 0 + + // Закрываем последний таб + tab3.close(); + + // Проверяем, что активный таб изменился после закрытия последнего таба + expect(tabsService.activeTabIdx).not.toBe(2); + }); + + it('should remove the unselected tab and update activeTabIdx accordingly', () => { + // Создаем и добавляем 3 таба в сервис + const tab1 = TestBed.createComponent(PrizmTabComponent).componentInstance; + const tab2 = TestBed.createComponent(PrizmTabComponent).componentInstance; + const tab3 = TestBed.createComponent(PrizmTabComponent).componentInstance; + + tabsService.addTab(tab1, 0); + tabsService.addTab(tab2, 1); + tabsService.addTab(tab3, 2); + + // Выбираем последний таб + tabsService.selectTab(tab2); + + // Проверяем, что последний таб теперь активный + expect(tabsService.activeTabIdx).toBe(1); // Предполагая, что индексы начинаются с 0 + + // Закрываем последний таб + tab3.close(); + + // Проверяем, что активный таб не изменился после закрытия последнего таба + expect(tabsService.activeTabIdx).toBe(1); + }); +}); diff --git a/libs/components/src/lib/components/tabs/tabs.service.ts b/libs/components/src/lib/components/tabs/tabs.service.ts index 95511a8f06..4eb993f5ab 100644 --- a/libs/components/src/lib/components/tabs/tabs.service.ts +++ b/libs/components/src/lib/components/tabs/tabs.service.ts @@ -15,7 +15,7 @@ export class PrizmTabsService implements OnDestroy { return this.changeParent$_; } readonly closeTab$$ = new Subject>(); - private readonly activeTabIdx$$ = new BehaviorSubject(0); + public readonly activeTabIdx$$ = new BehaviorSubject(0); readonly activeTabIdx$ = this.activeTabIdx$$.pipe(distinctUntilChanged()); get activeTabIdx() { @@ -72,6 +72,11 @@ export class PrizmTabsService implements OnDestroy { this.changes$$.next(this.tabs); } + public addTab(tab: PrizmTabComponent, tabIdx: number): void { + this.tabs.set(tabIdx, tab); + this.changes$$.next(this.tabs); + } + public removeTab(tab: PrizmTabComponent): void { const idx = this.findTabIdx(tab); this.tabs.delete(idx); @@ -94,7 +99,6 @@ export class PrizmTabsService implements OnDestroy { } public selectTab(tab: PrizmTabComponent): void { const idx = this.findTabIdx(tab); - if (idx === -1) { return; } From 3011aa91a28551be9e2300c7246e9f24e7d0f89c Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 19 Feb 2024 11:12:49 +0300 Subject: [PATCH 036/291] fix: demo styles fix --- .../input/input-chips/input-chips-example.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less b/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less index f7f08e265a..3fda37b155 100644 --- a/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less +++ b/apps/doc/src/app/components/input/input-chips/input-chips-example.component.less @@ -1,3 +1,3 @@ -prizm-chips.single-line:not(empty) { +prizm-chips.single-line:not(:empty) { margin-bottom: 11px; } From 63df3c32e452daaab17bdb262fc7b3107a6b6eb0 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:13:35 +0300 Subject: [PATCH 037/291] fix(componets/tab): modificator --- libs/components/src/lib/components/tabs/tabs.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/tabs/tabs.service.ts b/libs/components/src/lib/components/tabs/tabs.service.ts index 4eb993f5ab..f5d9bf66d4 100644 --- a/libs/components/src/lib/components/tabs/tabs.service.ts +++ b/libs/components/src/lib/components/tabs/tabs.service.ts @@ -15,7 +15,7 @@ export class PrizmTabsService implements OnDestroy { return this.changeParent$_; } readonly closeTab$$ = new Subject>(); - public readonly activeTabIdx$$ = new BehaviorSubject(0); + private readonly activeTabIdx$$ = new BehaviorSubject(0); readonly activeTabIdx$ = this.activeTabIdx$$.pipe(distinctUntilChanged()); get activeTabIdx() { From c57c1f63c12d8838db62593c8dbe16f7680b8415 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 19 Feb 2024 11:45:19 +0300 Subject: [PATCH 038/291] chore: update changelog 3.11.1 --- .../app/about-prizm/changelog/CHANGELOG.md | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index 34cd036273..bd4851e71e 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -2,7 +2,26 @@ All notable changes to this project will be documented in this file. -## [1.15.0, 2.13.0, 3.11.0](https://github.com/zyfra/Prizm) (30-01-2023) +## [1.15.1, 2.12.1, 3.11.1](https://github.com/zyfra/Prizm) (19-02-2023) + +### Bug fixes + +- fix(components/input-select) search label translation added #1323 +- fix(components/input-multiselect) search label translation added #1323 +- fix(components/input-select): extra title in input select #1286 +- fix(components/input-layout-date-time): custom error not shown for inputLayoutDateTime #185 +- fix(doc/inputStatusText): inputStatusText examples fixed +- fix(components/switcher): switcher active item disabled statate colors changed #1348 +- fix(components/navigation-menu): navigation menu search error #1344 +- fix(components/navigation): navigation menu active item setter error #1213 +- fix(components/breadcrumbs): breadcrumbs force update for content projection usage #1282 +- fix(components/input-number): incorrect height of InputNumberDefaultControlsComponent #1308 +- fix(components/inputs): incorrect controls height #1179 +- fix(components/input-button): input button size set to 100% height of container +- fix(components/input-date-time-range): incorrect injection token for date time value transformer #1364 +- fix(components/tabs): issue with close tabs logic #1360 + +## [1.15.0, 2.12.0, 3.11.0](https://github.com/zyfra/Prizm) (30-01-2023) ## Features From 1c82208af89295910dcec2decd9db7936a06f508 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 19 Feb 2024 13:14:27 +0300 Subject: [PATCH 039/291] chore: version 1.15.0 up tp 1.15.1 --- .github/workflows/beta-publish-ng14.yml | 2 +- .github/workflows/main-publish-ng14.yml | 2 +- .github/workflows/pre-release-publish-ng14.yml | 2 +- apps/doc/src/app/version-manager/current.const.ts | 2 +- .../src/app/version-manager/current.const.ts.ng14 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json.ng14 | 2 +- libs/charts/base/package.json.ng14 | 6 +++--- libs/components/package.json.ng14 | 10 +++++----- libs/core/package.json.ng14 | 2 +- libs/helpers/package.json.ng14 | 2 +- libs/i18n/package.json.ng14 | 2 +- libs/icons/base/package.json.ng14 | 4 ++-- libs/icons/flags/package.json.ng14 | 4 ++-- libs/nxmv/package.json.ng14 | 2 +- libs/plugin/package.json.ng14 | 4 ++-- libs/schematics/package.json.ng14 | 2 +- libs/theme/package.json.ng14 | 6 +++--- package.json.ng14 | 2 +- 19 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/beta-publish-ng14.yml b/.github/workflows/beta-publish-ng14.yml index a4e1067a78..d9a665d1fa 100644 --- a/.github/workflows/beta-publish-ng14.yml +++ b/.github/workflows/beta-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.15.0-ng14beta.0') | jq '([.[] | select(startswith("1.15.0-ng14beta"))] | last // "1.15.0-ng14beta.0")' 2>/dev/null || echo '1.15.0-ng14beta.0' + (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.15.1-ng14beta.0') | jq '([.[] | select(startswith("1.15.1-ng14beta"))] | last // "1.15.1-ng14beta.0")' 2>/dev/null || echo '1.15.1-ng14beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng14.yml b/.github/workflows/main-publish-ng14.yml index 84a211871a..0a82cb239d 100644 --- a/.github/workflows/main-publish-ng14.yml +++ b/.github/workflows/main-publish-ng14.yml @@ -58,7 +58,7 @@ jobs: - name: Set up environment variables run: | last_v1_version=$( - echo '1.15.0' + echo '1.15.1' ) echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng14.yml b/.github/workflows/pre-release-publish-ng14.yml index b20a1e50db..038354c5e0 100644 --- a/.github/workflows/pre-release-publish-ng14.yml +++ b/.github/workflows/pre-release-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.15.0-ng14next.0') | jq '([.[] | select(startswith("1.15.0-ng14next"))] | last // "1.15.0-ng14next.0")' 2>/dev/null || echo '1.15.0-ng14next.0' + (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.15.1-ng14next.0') | jq '([.[] | select(startswith("1.15.1-ng14next"))] | last // "1.15.1-ng14next.0")' 2>/dev/null || echo '1.15.1-ng14next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts b/apps/doc/src/app/version-manager/current.const.ts index c548790b68..092f3ce545 100644 --- a/apps/doc/src/app/version-manager/current.const.ts +++ b/apps/doc/src/app/version-manager/current.const.ts @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.15.0'; +export const PRIZM_CURRENT_VERSION = '1.15.1'; diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng14 b/apps/doc/src/app/version-manager/current.const.ts.ng14 index c548790b68..092f3ce545 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng14 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng14 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.15.0'; +export const PRIZM_CURRENT_VERSION = '1.15.1'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index e1a89b0dee..9e021ed094 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -30,8 +30,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '1.15.0 (ng14)', - version: '1.15.0', + label: '1.15.1 (ng14)', + version: '1.15.1', stackblitz: 'https://stackblitz.com/edit/prizm-v1-demo', link: new URL('https://prizm-v1.web.app'), otherLinks: [], @@ -54,8 +54,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '1.15.0-next (ng14)', - version: '1.15.0-next', + label: '1.15.1-next (ng14)', + version: '1.15.1-next', stackblitz: 'https://stackblitz.com/edit/prizm-v1-next-demo', link: new URL('https://prizm-v1-next.web.app'), otherLinks: [], @@ -75,8 +75,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '1.15.0-beta (ng14)', - version: '1.15.0-beta', + label: '1.15.1-beta (ng14)', + version: '1.15.1-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo', link: new URL('https://prizm-v1-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json.ng14 b/libs/ast/package.json.ng14 index 98a9be114b..a80ff60446 100644 --- a/libs/ast/package.json.ng14 +++ b/libs/ast/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "1.15.0", + "version": "1.15.1", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng14 b/libs/charts/base/package.json.ng14 index 4b519d3924..df692cde2e 100644 --- a/libs/charts/base/package.json.ng14 +++ b/libs/charts/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "1.15.0", + "version": "1.15.1", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/theme": "^1.15.0", - "@prizm-ui/helpers": "^1.15.0", + "@prizm-ui/theme": "^1.15.1", + "@prizm-ui/helpers": "^1.15.1", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng14 b/libs/components/package.json.ng14 index 2d462d74fc..18e5066df6 100644 --- a/libs/components/package.json.ng14 +++ b/libs/components/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "1.15.0", + "version": "1.15.1", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -17,10 +17,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^1.15.0", - "@prizm-ui/core": "^1.15.0", - "@prizm-ui/i18n": "^1.15.0", - "@prizm-ui/theme": "^1.15.0" + "@prizm-ui/helpers": "^1.15.1", + "@prizm-ui/core": "^1.15.1", + "@prizm-ui/i18n": "^1.15.1", + "@prizm-ui/theme": "^1.15.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng14 b/libs/core/package.json.ng14 index 179f0d9b88..067afa27b8 100644 --- a/libs/core/package.json.ng14 +++ b/libs/core/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "1.15.0", + "version": "1.15.1", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng14 b/libs/helpers/package.json.ng14 index 2551bf27d4..96e99cf9d6 100644 --- a/libs/helpers/package.json.ng14 +++ b/libs/helpers/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "1.15.0", + "version": "1.15.1", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng14 b/libs/i18n/package.json.ng14 index 2837e0a236..234d743949 100644 --- a/libs/i18n/package.json.ng14 +++ b/libs/i18n/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "1.15.0", + "version": "1.15.1", "peerDependencies": { "@angular/core": "^14.2.0" }, diff --git a/libs/icons/base/package.json.ng14 b/libs/icons/base/package.json.ng14 index cc1243d17e..aae5c481f3 100644 --- a/libs/icons/base/package.json.ng14 +++ b/libs/icons/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "1.15.0", + "version": "1", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.0" + "@prizm-ui/core": "^1.15.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng14 b/libs/icons/flags/package.json.ng14 index 4fe2b6fe18..3a48421a8c 100644 --- a/libs/icons/flags/package.json.ng14 +++ b/libs/icons/flags/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "1.15.0", + "version": "1.15.1", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.0" + "@prizm-ui/core": "^1.15.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng14 b/libs/nxmv/package.json.ng14 index c68798b507..aeb41bbfc6 100644 --- a/libs/nxmv/package.json.ng14 +++ b/libs/nxmv/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "1.15.0", + "version": "1.15.1", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng14 b/libs/plugin/package.json.ng14 index 23c315edc8..827ae0fec9 100644 --- a/libs/plugin/package.json.ng14 +++ b/libs/plugin/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "1.15.0", + "version": "1.15.1", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^1.15.0" + "@prizm-ui/ast": "^1.15.1" } } diff --git a/libs/schematics/package.json.ng14 b/libs/schematics/package.json.ng14 index 9484e08e69..260abea0ed 100644 --- a/libs/schematics/package.json.ng14 +++ b/libs/schematics/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "1.15.0", + "version": "1.15.1", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng14 b/libs/theme/package.json.ng14 index db76d7b781..77c5f70a59 100644 --- a/libs/theme/package.json.ng14 +++ b/libs/theme/package.json.ng14 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "1.15.0", + "version": "1.15.1", "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.0", - "@prizm-ui/helpers": "^1.15.0" + "@prizm-ui/core": "^1.15.1", + "@prizm-ui/helpers": "^1.15.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng14 b/package.json.ng14 index 2056c4777c..38132ab4bc 100644 --- a/package.json.ng14 +++ b/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "1.15.0", + "version": "1.15.1", "license": "MIT", "husky": { "hooks": { From c80f0acf8f997c1e96be2496d467e87bdd111f48 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 19 Feb 2024 13:23:45 +0300 Subject: [PATCH 040/291] chore: version 2.12.0 up tp 2.12.1 --- .github/workflows/beta-publish-ng15.yml | 2 +- .github/workflows/main-publish-ng15.yml | 2 +- .github/workflows/pre-release-publish-ng15.yml | 2 +- .../src/app/version-manager/current.const.ts.ng15 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json.ng15 | 2 +- libs/charts/base/package.json.ng15 | 6 +++--- libs/components/package.json.ng15 | 10 +++++----- libs/core/package.json.ng15 | 2 +- libs/helpers/package.json.ng15 | 2 +- libs/i18n/package.json.ng15 | 2 +- libs/icons/base/package.json.ng15 | 4 ++-- libs/icons/flags/package.json.ng15 | 4 ++-- libs/nxmv/package.json.ng15 | 2 +- libs/plugin/package.json.ng15 | 4 ++-- libs/schematics/package.json.ng15 | 2 +- libs/theme/package.json.ng15 | 6 +++--- package.json.ng15 | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/beta-publish-ng15.yml b/.github/workflows/beta-publish-ng15.yml index cc29082903..415e89b276 100644 --- a/.github/workflows/beta-publish-ng15.yml +++ b/.github/workflows/beta-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.12.0-ng15beta.0') | jq '([.[] | select(startswith("2.12.0-ng15beta"))] | last // "2.12.0-ng15beta.0")' 2>/dev/null || echo '2.12.0-ng15beta.0' + (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.12.1-ng15beta.0') | jq '([.[] | select(startswith("2.12.1-ng15beta"))] | last // "2.12.1-ng15beta.0")' 2>/dev/null || echo '2.12.1-ng15beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng15.yml b/.github/workflows/main-publish-ng15.yml index e7d2368f77..76abe9611e 100644 --- a/.github/workflows/main-publish-ng15.yml +++ b/.github/workflows/main-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v2_version=$( - echo '2.12.0' + echo '2.12.1' ) echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng15.yml b/.github/workflows/pre-release-publish-ng15.yml index c21b35b2fb..879e9f1fb6 100644 --- a/.github/workflows/pre-release-publish-ng15.yml +++ b/.github/workflows/pre-release-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.12.0-ng15next.0') | jq '([.[] | select(startswith("2.12.0-ng15next"))] | last // "2.12.0-ng15next.0")' 2>/dev/null || echo '2.12.0-ng15next.0' + (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.12.1-ng15next.0') | jq '([.[] | select(startswith("2.12.1-ng15next"))] | last // "2.12.1-ng15next.0")' 2>/dev/null || echo '2.12.1-ng15next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng15 b/apps/doc/src/app/version-manager/current.const.ts.ng15 index 972582c517..05e8058e38 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng15 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng15 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '2.12.0'; +export const PRIZM_CURRENT_VERSION = '2.12.1'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index 9e021ed094..3d5e32591d 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -20,8 +20,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '2.12.0 (ng15)', - version: '2.12.0', + label: '2.12.1 (ng15)', + version: '2.12.1', stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo', link: new URL('https://prizm-v2.web.app'), otherLinks: [], @@ -47,9 +47,9 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '2.12.0-next (ng15)', + label: '2.12.1-next (ng15)', stackblitz: 'https://stackblitz.com/edit/prizm-v2-next-demo', - version: '2.12.0-next', + version: '2.12.1-next', link: new URL('https://prizm-v2-next.web.app'), otherLinks: [], }, @@ -68,8 +68,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '2.12.0-beta (ng15)', - version: '2.12.0-beta', + label: '2.12.1-beta (ng15)', + version: '2.12.1-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo', link: new URL('https://prizm-v2-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json.ng15 b/libs/ast/package.json.ng15 index b29ea148bd..cd6b0c539d 100644 --- a/libs/ast/package.json.ng15 +++ b/libs/ast/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "2.12.0", + "version": "2.12.1", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng15 b/libs/charts/base/package.json.ng15 index 17e7cbed0a..a271e91b5d 100644 --- a/libs/charts/base/package.json.ng15 +++ b/libs/charts/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "2.12.0", + "version": "2.12.1", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/theme": "^2.12.0", - "@prizm-ui/helpers": "^2.12.0", + "@prizm-ui/theme": "^2.12.1", + "@prizm-ui/helpers": "^2.12.1", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng15 b/libs/components/package.json.ng15 index dc35050266..3fca5a1a73 100644 --- a/libs/components/package.json.ng15 +++ b/libs/components/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "2.12.0", + "version": "2.12.1", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^2.12.0", - "@prizm-ui/core": "^2.12.0", - "@prizm-ui/i18n": "^2.12.0", - "@prizm-ui/theme": "^2.12.0" + "@prizm-ui/helpers": "^2.12.1", + "@prizm-ui/core": "^2.12.1", + "@prizm-ui/i18n": "^2.12.1", + "@prizm-ui/theme": "^2.12.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng15 b/libs/core/package.json.ng15 index 7cc63d6128..e245884263 100644 --- a/libs/core/package.json.ng15 +++ b/libs/core/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "2.12.0", + "version": "2.12.1", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng15 b/libs/helpers/package.json.ng15 index bc6d329251..f64244b971 100644 --- a/libs/helpers/package.json.ng15 +++ b/libs/helpers/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "2.12.0", + "version": "2.12.1", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng15 b/libs/i18n/package.json.ng15 index b20c03381e..4eb5ec9a9f 100644 --- a/libs/i18n/package.json.ng15 +++ b/libs/i18n/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "2.12.0", + "version": "2.12.1", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0" diff --git a/libs/icons/base/package.json.ng15 b/libs/icons/base/package.json.ng15 index a6569b3403..cb826540bc 100644 --- a/libs/icons/base/package.json.ng15 +++ b/libs/icons/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "2.12.0", + "version": "2.12.1", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.0" + "@prizm-ui/core": "^2.12.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng15 b/libs/icons/flags/package.json.ng15 index c63522f9fe..f349ca5b1b 100644 --- a/libs/icons/flags/package.json.ng15 +++ b/libs/icons/flags/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "2.12.0", + "version": "2.12.1", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.0" + "@prizm-ui/core": "^2.12.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng15 b/libs/nxmv/package.json.ng15 index e51afad300..8602f5cbec 100644 --- a/libs/nxmv/package.json.ng15 +++ b/libs/nxmv/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "2.12.0", + "version": "2.12.1", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng15 b/libs/plugin/package.json.ng15 index e076e85c27..c1de88ee74 100644 --- a/libs/plugin/package.json.ng15 +++ b/libs/plugin/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "2.12.0", + "version": "2.12.1", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^2.12.0" + "@prizm-ui/ast": "^2.12.1" } } diff --git a/libs/schematics/package.json.ng15 b/libs/schematics/package.json.ng15 index ddbcc00179..4b5cc894b2 100644 --- a/libs/schematics/package.json.ng15 +++ b/libs/schematics/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "2.12.0", + "version": "2.12.1", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng15 b/libs/theme/package.json.ng15 index d737f9d13a..2c3a8b22f7 100644 --- a/libs/theme/package.json.ng15 +++ b/libs/theme/package.json.ng15 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "2.12.0", + "version": "2.12.1", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.0", - "@prizm-ui/helpers": "^2.12.0" + "@prizm-ui/core": "^2.12.1", + "@prizm-ui/helpers": "^2.12.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng15 b/package.json.ng15 index 5b0315b233..17ed86f0fe 100644 --- a/package.json.ng15 +++ b/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "2.12.0", + "version": "2.12.1", "license": "MIT", "husky": { "hooks": { From 3a1d66407408d79a2da283da8f05b7de0667f6df Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 19 Feb 2024 13:29:23 +0300 Subject: [PATCH 041/291] chore: version 3.11.0 up tp 3.11.1 --- .github/workflows/beta-publish-ng16.yml | 2 +- .github/workflows/main-publish-ng16.yml | 2 +- .github/workflows/pre-release-publish-ng16.yml | 2 +- .../src/app/version-manager/current.const.ts.ng16 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json | 2 +- libs/ast/package.json.ng16 | 2 +- libs/charts/base/package.json | 6 +++--- libs/charts/base/package.json.ng16 | 6 +++--- libs/components/package.json | 10 +++++----- libs/components/package.json.ng16 | 10 +++++----- libs/core/package.json | 2 +- libs/core/package.json.ng16 | 2 +- libs/helpers/package.json | 2 +- libs/helpers/package.json.ng16 | 2 +- libs/i18n/package.json | 2 +- libs/i18n/package.json.ng16 | 2 +- libs/icons/base/package.json | 4 ++-- libs/icons/base/package.json.ng16 | 4 ++-- libs/icons/flags/package.json | 4 ++-- libs/icons/flags/package.json.ng16 | 4 ++-- libs/nxmv/package.json | 2 +- libs/nxmv/package.json.ng16 | 2 +- libs/plugin/package.json | 4 ++-- libs/plugin/package.json.ng16 | 4 ++-- libs/schematics/package.json | 2 +- libs/schematics/package.json.ng16 | 2 +- libs/theme/package.json | 6 +++--- libs/theme/package.json.ng16 | 6 +++--- package.json | 2 +- package.json.ng16 | 2 +- 31 files changed, 58 insertions(+), 58 deletions(-) diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index f91fcba240..d23c1aa624 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '3.11.0-beta.0') | jq '([.[] | select(startswith("3.11.0-beta"))] | last // "3.11.0-beta.0")' 2>/dev/null || echo '3.11.0-beta.0' + (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '3.11.1-beta.0') | jq '([.[] | select(startswith("3.11.1-beta"))] | last // "3.11.1-beta.0")' 2>/dev/null || echo '3.11.1-beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index 8f47068f1f..bb1ba399ff 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v3_version=$( - echo '3.11.0' + echo '3.11.1' ) echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 0e5306fd3b..0a85deeb91 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '3.11.0-next.0') | jq '([.[] | select(startswith("3.11.0-next"))] | last // "3.11.0-next.0")' 2>/dev/null || echo '3.11.0-next.0' + (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '3.11.1-next.0') | jq '([.[] | select(startswith("3.11.1-next"))] | last // "3.11.1-next.0")' 2>/dev/null || echo '3.11.1-next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng16 b/apps/doc/src/app/version-manager/current.const.ts.ng16 index 1bd44ff0ff..567a9c0b88 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng16 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng16 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '3.11.0'; +export const PRIZM_CURRENT_VERSION = '3.11.1'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index 3d5e32591d..d1cf29490a 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -10,8 +10,8 @@ export interface PrizmVersionMeta { export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ { - label: '3.11.0 (ng16)', - version: '3.11.0', + label: '3.11.1 (ng16)', + version: '3.11.1', stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo', link: new URL('http://prizm.site'), otherLinks: [new URL('https://prizm-v3.web.app')], @@ -40,8 +40,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '3.11.0-next (ng16)', - version: '3.11.0-next', + label: '3.11.1-next (ng16)', + version: '3.11.1-next', stackblitz: 'https://stackblitz.com/edit/prizm-v3-next-demo', link: new URL('https://prizm-v3-next.web.app'), otherLinks: [], @@ -61,8 +61,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '3.11.0-beta (ng16)', - version: '3.11.0-beta', + label: '3.11.1-beta (ng16)', + version: '3.11.1-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo', link: new URL('https://prizm-v3-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json b/libs/ast/package.json index 6be58f2176..964b76d358 100644 --- a/libs/ast/package.json +++ b/libs/ast/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.11.0", + "version": "3.11.1", "private": false, "publishConfig": { "access": "public", diff --git a/libs/ast/package.json.ng16 b/libs/ast/package.json.ng16 index 6be58f2176..964b76d358 100644 --- a/libs/ast/package.json.ng16 +++ b/libs/ast/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.11.0", + "version": "3.11.1", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json b/libs/charts/base/package.json index 6ff13e4109..9ae760771e 100644 --- a/libs/charts/base/package.json +++ b/libs/charts/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.11.0", - "@prizm-ui/helpers": "^3.11.0", + "@prizm-ui/theme": "^3.11.1", + "@prizm-ui/helpers": "^3.11.1", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/charts/base/package.json.ng16 b/libs/charts/base/package.json.ng16 index 6ff13e4109..9ae760771e 100644 --- a/libs/charts/base/package.json.ng16 +++ b/libs/charts/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.11.0", - "@prizm-ui/helpers": "^3.11.0", + "@prizm-ui/theme": "^3.11.1", + "@prizm-ui/helpers": "^3.11.1", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json b/libs/components/package.json index 9bae131f7f..b9e14116ac 100644 --- a/libs/components/package.json +++ b/libs/components/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.11.0", - "@prizm-ui/core": "^3.11.0", - "@prizm-ui/i18n": "^3.11.0", - "@prizm-ui/theme": "^3.11.0" + "@prizm-ui/helpers": "^3.11.1", + "@prizm-ui/core": "^3.11.1", + "@prizm-ui/i18n": "^3.11.1", + "@prizm-ui/theme": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/components/package.json.ng16 b/libs/components/package.json.ng16 index 9bae131f7f..b9e14116ac 100644 --- a/libs/components/package.json.ng16 +++ b/libs/components/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.11.0", - "@prizm-ui/core": "^3.11.0", - "@prizm-ui/i18n": "^3.11.0", - "@prizm-ui/theme": "^3.11.0" + "@prizm-ui/helpers": "^3.11.1", + "@prizm-ui/core": "^3.11.1", + "@prizm-ui/i18n": "^3.11.1", + "@prizm-ui/theme": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json b/libs/core/package.json index 9ab953022d..5b0894b880 100644 --- a/libs/core/package.json +++ b/libs/core/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/core/package.json.ng16 b/libs/core/package.json.ng16 index 9ab953022d..5b0894b880 100644 --- a/libs/core/package.json.ng16 +++ b/libs/core/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json b/libs/helpers/package.json index 55b85145de..9b4be6b274 100644 --- a/libs/helpers/package.json +++ b/libs/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/helpers/package.json.ng16 b/libs/helpers/package.json.ng16 index 55b85145de..9b4be6b274 100644 --- a/libs/helpers/package.json.ng16 +++ b/libs/helpers/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json b/libs/i18n/package.json index 0071eba228..8961bea8df 100644 --- a/libs/i18n/package.json +++ b/libs/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.11.0", + "version": "3.11.1", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/i18n/package.json.ng16 b/libs/i18n/package.json.ng16 index 0071eba228..8961bea8df 100644 --- a/libs/i18n/package.json.ng16 +++ b/libs/i18n/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.11.0", + "version": "3.11.1", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/icons/base/package.json b/libs/icons/base/package.json index 0f1689fb1d..44d49146a8 100644 --- a/libs/icons/base/package.json +++ b/libs/icons/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0" + "@prizm-ui/core": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/base/package.json.ng16 b/libs/icons/base/package.json.ng16 index 0f1689fb1d..44d49146a8 100644 --- a/libs/icons/base/package.json.ng16 +++ b/libs/icons/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0" + "@prizm-ui/core": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json b/libs/icons/flags/package.json index 8bd26d816a..51ffced2da 100644 --- a/libs/icons/flags/package.json +++ b/libs/icons/flags/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0" + "@prizm-ui/core": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng16 b/libs/icons/flags/package.json.ng16 index 8bd26d816a..51ffced2da 100644 --- a/libs/icons/flags/package.json.ng16 +++ b/libs/icons/flags/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.11.0", + "version": "3.11.1", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0" + "@prizm-ui/core": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json b/libs/nxmv/package.json index 17d25f65b3..d3f6cd4ca1 100644 --- a/libs/nxmv/package.json +++ b/libs/nxmv/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.11.0", + "version": "3.11.1", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/nxmv/package.json.ng16 b/libs/nxmv/package.json.ng16 index 17d25f65b3..d3f6cd4ca1 100644 --- a/libs/nxmv/package.json.ng16 +++ b/libs/nxmv/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.11.0", + "version": "3.11.1", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json b/libs/plugin/package.json index b2e6454faa..1e2c1257f0 100644 --- a/libs/plugin/package.json +++ b/libs/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.11.0", + "version": "3.11.1", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.11.0" + "@prizm-ui/ast": "^3.11.1" } } diff --git a/libs/plugin/package.json.ng16 b/libs/plugin/package.json.ng16 index b2e6454faa..1e2c1257f0 100644 --- a/libs/plugin/package.json.ng16 +++ b/libs/plugin/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.11.0", + "version": "3.11.1", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.11.0" + "@prizm-ui/ast": "^3.11.1" } } diff --git a/libs/schematics/package.json b/libs/schematics/package.json index e4f3037546..cf61d009fc 100644 --- a/libs/schematics/package.json +++ b/libs/schematics/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.11.0", + "version": "3.11.1", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/schematics/package.json.ng16 b/libs/schematics/package.json.ng16 index e4f3037546..cf61d009fc 100644 --- a/libs/schematics/package.json.ng16 +++ b/libs/schematics/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.11.0", + "version": "3.11.1", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json b/libs/theme/package.json index d63d4e1b64..e9d8c29ca1 100644 --- a/libs/theme/package.json +++ b/libs/theme/package.json @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.11.0", + "version": "3.11.1", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0", - "@prizm-ui/helpers": "^3.11.0" + "@prizm-ui/core": "^3.11.1", + "@prizm-ui/helpers": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/theme/package.json.ng16 b/libs/theme/package.json.ng16 index d63d4e1b64..e9d8c29ca1 100644 --- a/libs/theme/package.json.ng16 +++ b/libs/theme/package.json.ng16 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.11.0", + "version": "3.11.1", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.0", - "@prizm-ui/helpers": "^3.11.0" + "@prizm-ui/core": "^3.11.1", + "@prizm-ui/helpers": "^3.11.1" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json b/package.json index a72138a1a2..bb999e475b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "husky": { "hooks": { diff --git a/package.json.ng16 b/package.json.ng16 index a72138a1a2..bb999e475b 100644 --- a/package.json.ng16 +++ b/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.11.0", + "version": "3.11.1", "license": "MIT", "husky": { "hooks": { From 3cd84290e4a2f5d9c21ae3764703035d7740921b Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 20 Feb 2024 15:18:39 +0300 Subject: [PATCH 042/291] feat: changelog update --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index bd4851e71e..bad5bb19b8 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file. - fix(components/navigation-menu): navigation menu search error #1344 - fix(components/navigation): navigation menu active item setter error #1213 - fix(components/breadcrumbs): breadcrumbs force update for content projection usage #1282 -- fix(components/input-number): incorrect height of InputNumberDefaultControlsComponent #1308 +- fix(components/input-number): incorrect height of InputNumberDefaultControlsComponent #1308, #1383 - fix(components/inputs): incorrect controls height #1179 - fix(components/input-button): input button size set to 100% height of container - fix(components/input-date-time-range): incorrect injection token for date time value transformer #1364 From ce0ac61539867bbb70f658707f47ce55be2ea5ca Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 20 Feb 2024 16:05:56 +0300 Subject: [PATCH 043/291] fix: input clear button position for centered values #1385 --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 1 + .../input-custom-clear-button-example.component.html | 2 -- .../input/common/input-layout/input-layout.component.html | 1 + .../input/common/input-layout/input-layout.component.less | 2 +- .../services/prizm-navigation-menu-group.service.ts | 1 - 5 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index bad5bb19b8..11f56019e0 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. - fix(components/input-multiselect) search label translation added #1323 - fix(components/input-select): extra title in input select #1286 - fix(components/input-layout-date-time): custom error not shown for inputLayoutDateTime #185 +- fix(components/input-layout): clear button in inputs with position=center has incorrect placement #1385 - fix(doc/inputStatusText): inputStatusText examples fixed - fix(components/switcher): switcher active item disabled statate colors changed #1348 - fix(components/navigation-menu): navigation menu search error #1344 diff --git a/apps/doc/src/app/components/input/input-text/examples/input-custom-clear-button-example/input-custom-clear-button-example.component.html b/apps/doc/src/app/components/input/input-text/examples/input-custom-clear-button-example/input-custom-clear-button-example.component.html index e3e57ccad0..4d2a4b2ffa 100644 --- a/apps/doc/src/app/components/input/input-text/examples/input-custom-clear-button-example/input-custom-clear-button-example.component.html +++ b/apps/doc/src/app/components/input/input-text/examples/input-custom-clear-button-example/input-custom-clear-button-example.component.html @@ -12,7 +12,6 @@

    Custom Button

    let-clear="clear" >
    @@ -121,110 +31,20 @@
    H1050
    -
    - Light: -
    -
    - #401c14 -
    -
    -
    -
    - Dark: -
    -
    - #fae9e4 -
    -
    -
    -
    - Light: -
    -
    - rgb(64,28,20) -
    -
    -
    -
    - Dark: -
    -
    - rgb(250,233,228) -
    +
    Light:
    +
    #401c14
    +
    +
    +
    Dark:
    +
    #fae9e4
    +
    +
    +
    Light:
    +
    rgb(64,28,20)
    +
    +
    +
    Dark:
    +
    rgb(250,233,228)
    @@ -234,110 +54,20 @@
    H950
    -
    - Light: -
    -
    - #4d2017 -
    -
    -
    -
    - Dark: -
    -
    - #f4cec3 -
    -
    -
    -
    - Light: -
    -
    - rgb(77,32,23) -
    -
    -
    -
    - Dark: -
    -
    - rgb(244,206,195) -
    +
    Light:
    +
    #4d2017
    +
    +
    +
    Dark:
    +
    #f4cec3
    +
    +
    +
    Light:
    +
    rgb(77,32,23)
    +
    +
    +
    Dark:
    +
    rgb(244,206,195)
    @@ -347,110 +77,20 @@
    H850
    -
    - Light: -
    -
    - #6a291e -
    -
    -
    -
    - Dark: -
    -
    - #eeab99 -
    -
    -
    -
    - Light: -
    -
    - rgb(106,41,30) -
    -
    -
    -
    - Dark: -
    -
    - rgb(238,171,153) -
    +
    Light:
    +
    #6a291e
    +
    +
    +
    Dark:
    +
    #eeab99
    +
    +
    +
    Light:
    +
    rgb(106,41,30)
    +
    +
    +
    Dark:
    +
    rgb(238,171,153)
    @@ -460,110 +100,20 @@
    H750
    -
    - Light: -
    -
    - #943427 -
    -
    -
    -
    - Dark: -
    -
    - #e9836f -
    -
    -
    -
    - Light: -
    -
    - rgb(148,52,39) -
    -
    -
    -
    - Dark: -
    -
    - rgb(233,131,111) -
    +
    Light:
    +
    #943427
    +
    +
    +
    Dark:
    +
    #e9836f
    +
    +
    +
    Light:
    +
    rgb(148,52,39)
    +
    +
    +
    Dark:
    +
    rgb(233,131,111)
    @@ -573,110 +123,20 @@
    H650
    -
    - Light: -
    -
    - #c13f2f -
    -
    -
    -
    - Dark: -
    -
    - #df5a46 -
    -
    -
    -
    - Light: -
    -
    - rgb(193,63,47) -
    -
    -
    -
    - Dark: -
    -
    - rgb(223,90,70) -
    +
    Light:
    +
    #c13f2f
    +
    +
    +
    Dark:
    +
    #df5a46
    +
    +
    +
    Light:
    +
    rgb(193,63,47)
    +
    +
    +
    Dark:
    +
    rgb(223,90,70)
    @@ -686,110 +146,20 @@
    H550
    -
    - Light: -
    -
    - #df5a46 -
    -
    -
    -
    - Dark: -
    -
    - #c13f2f -
    -
    -
    -
    - Light: -
    -
    - rgb(223,90,70) -
    -
    -
    -
    - Dark: -
    -
    - rgb(193,63,47) -
    +
    Light:
    +
    #df5a46
    +
    +
    +
    Dark:
    +
    #c13f2f
    +
    +
    +
    Light:
    +
    rgb(223,90,70)
    +
    +
    +
    Dark:
    +
    rgb(193,63,47)
    @@ -799,110 +169,20 @@
    H450
    -
    - Light: -
    -
    - #e9836f -
    -
    -
    -
    - Dark: -
    -
    - #943427 -
    -
    -
    -
    - Light: -
    -
    - rgb(233,131,111) -
    -
    -
    -
    - Dark: -
    -
    - rgb(148,52,39) -
    +
    Light:
    +
    #e9836f
    +
    +
    +
    Dark:
    +
    #943427
    +
    +
    +
    Light:
    +
    rgb(233,131,111)
    +
    +
    +
    Dark:
    +
    rgb(148,52,39)
    @@ -912,110 +192,20 @@
    H350
    -
    - Light: -
    -
    - #eeab99 -
    -
    -
    -
    - Dark: -
    -
    - #6a291e -
    -
    -
    -
    - Light: -
    -
    - rgb(238,171,153) -
    -
    -
    -
    - Dark: -
    -
    - rgb(106,41,30) -
    +
    Light:
    +
    #eeab99
    +
    +
    +
    Dark:
    +
    #6a291e
    +
    +
    +
    Light:
    +
    rgb(238,171,153)
    +
    +
    +
    Dark:
    +
    rgb(106,41,30)
    @@ -1025,110 +215,20 @@
    H250
    -
    - Light: -
    -
    - #f4cec3 -
    -
    -
    -
    - Dark: -
    -
    - #4d2017 -
    -
    -
    -
    - Light: -
    -
    - rgb(244,206,195) -
    -
    -
    -
    - Dark: -
    -
    - rgb(77,32,23) -
    +
    Light:
    +
    #f4cec3
    +
    +
    +
    Dark:
    +
    #4d2017
    +
    +
    +
    Light:
    +
    rgb(244,206,195)
    +
    +
    +
    Dark:
    +
    rgb(77,32,23)
    @@ -1138,110 +238,20 @@
    H150
    -
    - Light: -
    -
    - #fae9e4 -
    -
    -
    -
    - Dark: -
    -
    - #401c14 -
    -
    -
    -
    - Light: -
    -
    - rgb(250,233,228) -
    -
    -
    -
    - Dark: -
    -
    - rgb(64,28,20) -
    +
    Light:
    +
    #fae9e4
    +
    +
    +
    Dark:
    +
    #401c14
    +
    +
    +
    Light:
    +
    rgb(250,233,228)
    +
    +
    +
    Dark:
    +
    rgb(64,28,20)
    @@ -1251,110 +261,20 @@
    H50
    -
    - Light: -
    -
    - #fdf7f5 -
    -
    -
    -
    - Dark: -
    -
    - #271613 -
    -
    -
    -
    - Light: -
    -
    - rgb(253,247,245) -
    -
    -
    -
    - Dark: -
    -
    - rgb(39,22,19) -
    +
    Light:
    +
    #fdf7f5
    +
    +
    +
    Dark:
    +
    #271613
    +
    +
    +
    Light:
    +
    rgb(253,247,245)
    +
    +
    +
    Dark:
    +
    rgb(39,22,19)
    @@ -1364,110 +284,20 @@
    1050
    -
    - Light: -
    -
    - #371912 -
    -
    -
    -
    - Dark: -
    -
    - #fcf1ee -
    -
    -
    -
    - Light: -
    -
    - rgb(55,25,18) -
    -
    -
    -
    - Dark: -
    -
    - rgb(252,241,238) -
    +
    Light:
    +
    #371912
    +
    +
    +
    Dark:
    +
    #fcf1ee
    +
    +
    +
    Light:
    +
    rgb(55,25,18)
    +
    +
    +
    Dark:
    +
    rgb(252,241,238)
    @@ -1477,110 +307,20 @@
    1000
    -
    - Light: -
    -
    - #461e15 -
    -
    -
    -
    - Dark: -
    -
    - #f7dcd4 -
    -
    -
    -
    - Light: -
    -
    - rgb(70,30,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(247,220,212) -
    +
    Light:
    +
    #461e15
    +
    +
    +
    Dark:
    +
    #f7dcd4
    +
    +
    +
    Light:
    +
    rgb(70,30,21)
    +
    +
    +
    Dark:
    +
    rgb(247,220,212)
    @@ -1590,110 +330,20 @@
    900
    -
    - Light: -
    -
    - #512218 -
    -
    -
    -
    - Dark: -
    -
    - #f0baa9 -
    -
    -
    -
    - Light: -
    -
    - rgb(81,34,24) -
    -
    -
    -
    - Dark: -
    -
    - rgb(240,186,169) -
    +
    Light:
    +
    #512218
    +
    +
    +
    Dark:
    +
    #f0baa9
    +
    +
    +
    Light:
    +
    rgb(81,34,24)
    +
    +
    +
    Dark:
    +
    rgb(240,186,169)
    @@ -1703,110 +353,20 @@
    800
    -
    - Light: -
    -
    - #7a2d22 -
    -
    -
    -
    - Dark: -
    -
    - #eb9481 -
    -
    -
    -
    - Light: -
    -
    - rgb(122,45,34) -
    -
    -
    -
    - Dark: -
    -
    - rgb(235,148,129) -
    +
    Light:
    +
    #7a2d22
    +
    +
    +
    Dark:
    +
    #eb9481
    +
    +
    +
    Light:
    +
    rgb(122,45,34)
    +
    +
    +
    Dark:
    +
    rgb(235,148,129)
    @@ -1816,110 +376,20 @@
    700
    -
    - Light: -
    -
    - #a5382a -
    -
    -
    -
    - Dark: -
    -
    - #e66a54 -
    -
    -
    -
    - Light: -
    -
    - rgb(165,56,42) -
    -
    -
    -
    - Dark: -
    -
    - rgb(230,106,84) -
    +
    Light:
    +
    #a5382a
    +
    +
    +
    Dark:
    +
    #e66a54
    +
    +
    +
    Light:
    +
    rgb(165,56,42)
    +
    +
    +
    Dark:
    +
    rgb(230,106,84)
    @@ -1929,110 +399,20 @@
    600
    -
    - Light: -
    -
    - #d44332 -
    -
    -
    -
    - Dark: -
    -
    - #d44332 -
    -
    -
    -
    - Light: -
    -
    - rgb(212,67,50) -
    -
    -
    -
    - Dark: -
    -
    - rgb(212,67,50) -
    +
    Light:
    +
    #d44332
    +
    +
    +
    Dark:
    +
    #d44332
    +
    +
    +
    Light:
    +
    rgb(212,67,50)
    +
    +
    +
    Dark:
    +
    rgb(212,67,50)
    @@ -2042,110 +422,20 @@
    500
    -
    - Light: -
    -
    - #e66a54 -
    -
    -
    -
    - Dark: -
    -
    - #a5382a -
    -
    -
    -
    - Light: -
    -
    - rgb(230,106,84) -
    -
    -
    -
    - Dark: -
    -
    - rgb(165,56,42) -
    +
    Light:
    +
    #e66a54
    +
    +
    +
    Dark:
    +
    #a5382a
    +
    +
    +
    Light:
    +
    rgb(230,106,84)
    +
    +
    +
    Dark:
    +
    rgb(165,56,42)
    @@ -2155,110 +445,20 @@
    400
    -
    - Light: -
    -
    - #eb9481 -
    -
    -
    -
    - Dark: -
    -
    - #7a2d22 -
    -
    -
    -
    - Light: -
    -
    - rgb(235,148,129) -
    -
    -
    -
    - Dark: -
    -
    - rgb(122,45,34) -
    +
    Light:
    +
    #eb9481
    +
    +
    +
    Dark:
    +
    #7a2d22
    +
    +
    +
    Light:
    +
    rgb(235,148,129)
    +
    +
    +
    Dark:
    +
    rgb(122,45,34)
    @@ -2268,110 +468,20 @@
    300
    -
    - Light: -
    -
    - #f0baa9 -
    -
    -
    -
    - Dark: -
    -
    - #512218 -
    -
    -
    -
    - Light: -
    -
    - rgb(240,186,169) -
    -
    -
    -
    - Dark: -
    -
    - rgb(81,34,24) -
    +
    Light:
    +
    #f0baa9
    +
    +
    +
    Dark:
    +
    #512218
    +
    +
    +
    Light:
    +
    rgb(240,186,169)
    +
    +
    +
    Dark:
    +
    rgb(81,34,24)
    @@ -2381,110 +491,20 @@
    200
    -
    - Light: -
    -
    - #f7dcd4 -
    -
    -
    -
    - Dark: -
    -
    - #461e15 -
    -
    -
    -
    - Light: -
    -
    - rgb(247,220,212) -
    -
    -
    -
    - Dark: -
    -
    - rgb(70,30,21) -
    +
    Light:
    +
    #f7dcd4
    +
    +
    +
    Dark:
    +
    #461e15
    +
    +
    +
    Light:
    +
    rgb(247,220,212)
    +
    +
    +
    Dark:
    +
    rgb(70,30,21)
    @@ -2494,127 +514,26 @@
    100
    -
    - Light: -
    -
    - #fcf1ee -
    -
    -
    -
    - Dark: -
    -
    - #371912 -
    -
    -
    -
    - Light: -
    -
    - rgb(252,241,238) -
    -
    -
    -
    - Dark: -
    -
    - rgb(55,25,18) -
    +
    Light:
    +
    #fcf1ee
    +
    +
    +
    Dark:
    +
    #371912
    +
    +
    +
    Light:
    +
    rgb(252,241,238)
    +
    +
    +
    Dark:
    +
    rgb(55,25,18)
    -
    - Orange -
    +
    Orange
    @@ -2623,110 +542,20 @@
    H1150
    -
    - Light: -
    -
    - #221913 -
    -
    -
    -
    - Dark: -
    -
    - #fef7ee -
    -
    -
    -
    - Light: -
    -
    - rgb(34,25,19) -
    -
    -
    -
    - Dark: -
    -
    - rgb(254,247,238) -
    +
    Light:
    +
    #221913
    +
    +
    +
    Dark:
    +
    #fef7ee
    +
    +
    +
    Light:
    +
    rgb(34,25,19)
    +
    +
    +
    Dark:
    +
    rgb(254,247,238)
    @@ -2736,110 +565,20 @@
    H1050
    -
    - Light: -
    -
    - #352312 -
    -
    -
    -
    - Dark: -
    -
    - #fbe9d1 -
    -
    -
    -
    - Light: -
    -
    - rgb(53,35,18) -
    -
    -
    -
    - Dark: -
    -
    - rgb(251,233,209) -
    +
    Light:
    +
    #352312
    +
    +
    +
    Dark:
    +
    #fbe9d1
    +
    +
    +
    Light:
    +
    rgb(53,35,18)
    +
    +
    +
    Dark:
    +
    rgb(251,233,209)
    @@ -2849,110 +588,20 @@
    H950
    -
    - Light: -
    -
    - #3e2915 -
    -
    -
    -
    - Dark: -
    -
    - #f6d09a -
    -
    -
    -
    - Light: -
    -
    - rgb(62,41,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(246,208,154) -
    +
    Light:
    +
    #3e2915
    +
    +
    +
    Dark:
    +
    #f6d09a
    +
    +
    +
    Light:
    +
    rgb(62,41,21)
    +
    +
    +
    Dark:
    +
    rgb(246,208,154)
    @@ -2962,110 +611,20 @@
    H850
    -
    - Light: -
    -
    - #553619 -
    -
    -
    -
    - Dark: -
    -
    - #f0ae51 -
    -
    -
    -
    - Light: -
    -
    - rgb(85,54,25) -
    -
    -
    -
    - Dark: -
    -
    - rgb(240,174,81) -
    +
    Light:
    +
    #553619
    +
    +
    +
    Dark:
    +
    #f0ae51
    +
    +
    +
    Light:
    +
    rgb(85,54,25)
    +
    +
    +
    Dark:
    +
    rgb(240,174,81)
    @@ -3075,110 +634,20 @@
    H750
    -
    - Light: -
    -
    - #764b1e -
    -
    -
    -
    - Dark: -
    -
    - #de8e27 -
    -
    -
    -
    - Light: -
    -
    - rgb(118,75,30) -
    -
    -
    -
    - Dark: -
    -
    - rgb(222,142,39) -
    +
    Light:
    +
    #764b1e
    +
    +
    +
    Dark:
    +
    #de8e27
    +
    +
    +
    Light:
    +
    rgb(118,75,30)
    +
    +
    +
    Dark:
    +
    rgb(222,142,39)
    @@ -3188,110 +657,20 @@
    H650
    -
    - Light: -
    -
    - #986122 -
    -
    -
    -
    - Dark: -
    -
    - #bb7725 -
    -
    -
    -
    - Light: -
    -
    - rgb(152,97,34) -
    -
    -
    -
    - Dark: -
    -
    - rgb(187,119,37) -
    +
    Light:
    +
    #986122
    +
    +
    +
    Dark:
    +
    #bb7725
    +
    +
    +
    Light:
    +
    rgb(152,97,34)
    +
    +
    +
    Dark:
    +
    rgb(187,119,37)
    @@ -3301,110 +680,20 @@
    H550
    -
    - Light: -
    -
    - #bb7725 -
    -
    -
    -
    - Dark: -
    -
    - #986122 -
    -
    -
    -
    - Light: -
    -
    - rgb(187,119,37) -
    -
    -
    -
    - Dark: -
    -
    - rgb(152,97,34) -
    +
    Light:
    +
    #bb7725
    +
    +
    +
    Dark:
    +
    #986122
    +
    +
    +
    Light:
    +
    rgb(187,119,37)
    +
    +
    +
    Dark:
    +
    rgb(152,97,34)
    @@ -3414,110 +703,20 @@
    H450
    -
    - Light: -
    -
    - #de8e27 -
    -
    -
    -
    - Dark: -
    -
    - #764b1e -
    -
    -
    -
    - Light: -
    -
    - rgb(222,142,39) -
    -
    -
    -
    - Dark: -
    -
    - rgb(118,75,30) -
    +
    Light:
    +
    #de8e27
    +
    +
    +
    Dark:
    +
    #764b1e
    +
    +
    +
    Light:
    +
    rgb(222,142,39)
    +
    +
    +
    Dark:
    +
    rgb(118,75,30)
    @@ -3527,110 +726,20 @@
    H350
    -
    - Light: -
    -
    - #f0ae51 -
    -
    -
    -
    - Dark: -
    -
    - #553619 -
    -
    -
    -
    - Light: -
    -
    - rgb(240,174,81) -
    -
    -
    -
    - Dark: -
    -
    - rgb(85,54,25) -
    +
    Light:
    +
    #f0ae51
    +
    +
    +
    Dark:
    +
    #553619
    +
    +
    +
    Light:
    +
    rgb(240,174,81)
    +
    +
    +
    Dark:
    +
    rgb(85,54,25)
    @@ -3640,110 +749,20 @@
    H250
    -
    - Light: -
    -
    - #f6d09a -
    -
    -
    -
    - Dark: -
    -
    - #3e2915 -
    -
    -
    -
    - Light: -
    -
    - rgb(246,208,154) -
    -
    -
    -
    - Dark: -
    -
    - rgb(62,41,21) -
    +
    Light:
    +
    #f6d09a
    +
    +
    +
    Dark:
    +
    #3e2915
    +
    +
    +
    Light:
    +
    rgb(246,208,154)
    +
    +
    +
    Dark:
    +
    rgb(62,41,21)
    @@ -3753,110 +772,20 @@
    H150
    -
    - Light: -
    -
    - #fbe9d1 -
    -
    -
    -
    - Dark: -
    -
    - #352312 -
    -
    -
    -
    - Light: -
    -
    - rgb(251,233,209) -
    -
    -
    -
    - Dark: -
    -
    - rgb(53,35,18) -
    +
    Light:
    +
    #fbe9d1
    +
    +
    +
    Dark:
    +
    #352312
    +
    +
    +
    Light:
    +
    rgb(251,233,209)
    +
    +
    +
    Dark:
    +
    rgb(53,35,18)
    @@ -3866,110 +795,20 @@
    H50
    -
    - Light: -
    -
    - #fef7ee -
    -
    -
    -
    - Dark: -
    -
    - #221913 -
    -
    -
    -
    - Light: -
    -
    - rgb(254,247,238) -
    -
    -
    -
    - Dark: -
    -
    - rgb(34,25,19) -
    +
    Light:
    +
    #fef7ee
    +
    +
    +
    Dark:
    +
    #221913
    +
    +
    +
    Light:
    +
    rgb(254,247,238)
    +
    +
    +
    Dark:
    +
    rgb(34,25,19)
    @@ -3979,110 +818,20 @@
    1100
    -
    - Light: -
    -
    - #2e1f11 -
    -
    -
    -
    - Dark: -
    -
    - #fdf1e2 -
    -
    -
    -
    - Light: -
    -
    - rgb(46,31,17) -
    -
    -
    -
    - Dark: -
    -
    - rgb(253,241,226) -
    +
    Light:
    +
    #2e1f11
    +
    +
    +
    Dark:
    +
    #fdf1e2
    +
    +
    +
    Light:
    +
    rgb(46,31,17)
    +
    +
    +
    Dark:
    +
    rgb(253,241,226)
    @@ -4092,110 +841,20 @@
    1000
    -
    - Light: -
    -
    - #392513 -
    -
    -
    -
    - Dark: -
    -
    - #f8deb8 -
    -
    -
    -
    - Light: -
    -
    - rgb(57,37,19) -
    -
    -
    -
    - Dark: -
    -
    - rgb(248,222,184) -
    +
    Light:
    +
    #392513
    +
    +
    +
    Dark:
    +
    #f8deb8
    +
    +
    +
    Light:
    +
    rgb(57,37,19)
    +
    +
    +
    Dark:
    +
    rgb(248,222,184)
    @@ -4205,110 +864,20 @@
    900
    -
    - Light: -
    -
    - #422b16 -
    -
    -
    -
    - Dark: -
    -
    - #f2bc6d -
    -
    -
    -
    - Light: -
    -
    - rgb(66,43,22) -
    -
    -
    -
    - Dark: -
    -
    - rgb(242,188,109) -
    +
    Light:
    +
    #422b16
    +
    +
    +
    Dark:
    +
    #f2bc6d
    +
    +
    +
    Light:
    +
    rgb(66,43,22)
    +
    +
    +
    Dark:
    +
    rgb(242,188,109)
    @@ -4318,110 +887,20 @@
    800
    -
    - Light: -
    -
    - #623e1b -
    -
    -
    -
    - Dark: -
    -
    - #ec9827 -
    -
    -
    -
    - Light: -
    -
    - rgb(98,62,27) -
    -
    -
    -
    - Dark: -
    -
    - rgb(236,152,39) -
    +
    Light:
    +
    #623e1b
    +
    +
    +
    Dark:
    +
    #ec9827
    +
    +
    +
    Light:
    +
    rgb(98,62,27)
    +
    +
    +
    Dark:
    +
    rgb(236,152,39)
    @@ -4431,110 +910,20 @@
    700
    -
    - Light: -
    -
    - #835420 -
    -
    -
    -
    - Dark: -
    -
    - #c98027 -
    -
    -
    -
    - Light: -
    -
    - rgb(131,84,32) -
    -
    -
    -
    - Dark: -
    -
    - rgb(201,128,39) -
    +
    Light:
    +
    #835420
    +
    +
    +
    Dark:
    +
    #c98027
    +
    +
    +
    Light:
    +
    rgb(131,84,32)
    +
    +
    +
    Dark:
    +
    rgb(201,128,39)
    @@ -4544,110 +933,20 @@
    600
    -
    - Light: -
    -
    - #a66923 -
    -
    -
    -
    - Dark: -
    -
    - #a66923 -
    -
    -
    -
    - Light: -
    -
    - rgb(166,105,35) -
    -
    -
    -
    - Dark: -
    -
    - rgb(166,105,35) -
    +
    Light:
    +
    #a66923
    +
    +
    +
    Dark:
    +
    #a66923
    +
    +
    +
    Light:
    +
    rgb(166,105,35)
    +
    +
    +
    Dark:
    +
    rgb(166,105,35)
    @@ -4657,110 +956,20 @@
    500
    -
    - Light: -
    -
    - #c98027 -
    -
    -
    -
    - Dark: -
    -
    - #835420 -
    -
    -
    -
    - Light: -
    -
    - rgb(201,128,39) -
    -
    -
    -
    - Dark: -
    -
    - rgb(131,84,32) -
    +
    Light:
    +
    #c98027
    +
    +
    +
    Dark:
    +
    #835420
    +
    +
    +
    Light:
    +
    rgb(201,128,39)
    +
    +
    +
    Dark:
    +
    rgb(131,84,32)
    @@ -4770,110 +979,20 @@
    400
    -
    - Light: -
    -
    - #ec9827 -
    -
    -
    -
    - Dark: -
    -
    - #623e1b -
    -
    -
    -
    - Light: -
    -
    - rgb(236,152,39) -
    -
    -
    -
    - Dark: -
    -
    - rgb(98,62,27) -
    +
    Light:
    +
    #ec9827
    +
    +
    +
    Dark:
    +
    #623e1b
    +
    +
    +
    Light:
    +
    rgb(236,152,39)
    +
    +
    +
    Dark:
    +
    rgb(98,62,27)
    @@ -4883,110 +1002,20 @@
    300
    -
    - Light: -
    -
    - #f2bc6d -
    -
    -
    -
    - Dark: -
    -
    - #422b16 -
    -
    -
    -
    - Light: -
    -
    - rgb(242,188,109) -
    -
    -
    -
    - Dark: -
    -
    - rgb(66,43,22) -
    +
    Light:
    +
    #f2bc6d
    +
    +
    +
    Dark:
    +
    #422b16
    +
    +
    +
    Light:
    +
    rgb(242,188,109)
    +
    +
    +
    Dark:
    +
    rgb(66,43,22)
    @@ -4996,110 +1025,20 @@
    200
    -
    - Light: -
    -
    - #f8deb8 -
    -
    -
    -
    - Dark: -
    -
    - #392513 -
    -
    -
    -
    - Light: -
    -
    - rgb(248,222,184) -
    -
    -
    -
    - Dark: -
    -
    - rgb(57,37,19) -
    +
    Light:
    +
    #f8deb8
    +
    +
    +
    Dark:
    +
    #392513
    +
    +
    +
    Light:
    +
    rgb(248,222,184)
    +
    +
    +
    Dark:
    +
    rgb(57,37,19)
    @@ -5109,127 +1048,26 @@
    100
    -
    - Light: -
    -
    - #fdf1e2 -
    -
    -
    -
    - Dark: -
    -
    - #2e1f11 -
    -
    -
    -
    - Light: -
    -
    - rgb(253,241,226) -
    -
    -
    -
    - Dark: -
    -
    - rgb(46,31,17) -
    +
    Light:
    +
    #fdf1e2
    +
    +
    +
    Dark:
    +
    #2e1f11
    +
    +
    +
    Light:
    +
    rgb(253,241,226)
    +
    +
    +
    Dark:
    +
    rgb(46,31,17)
    -
    - Yellow -
    +
    Yellow
    @@ -5238,110 +1076,20 @@
    H1150
    -
    - Light: -
    -
    - #1f1a11 -
    -
    -
    -
    - Dark: -
    -
    - #fef8e3 -
    -
    -
    -
    - Light: -
    -
    - rgb(31,26,17) -
    -
    -
    -
    - Dark: -
    -
    - rgb(254,248,227) -
    +
    Light:
    +
    #1f1a11
    +
    +
    +
    Dark:
    +
    #fef8e3
    +
    +
    +
    Light:
    +
    rgb(31,26,17)
    +
    +
    +
    Dark:
    +
    rgb(254,248,227)
    @@ -5351,110 +1099,20 @@
    H1050
    -
    - Light: -
    -
    - #302511 -
    -
    -
    -
    - Dark: -
    -
    - #fbecb3 -
    -
    -
    -
    - Light: -
    -
    - rgb(48,37,17) -
    -
    -
    -
    - Dark: -
    -
    - rgb(251,236,179) -
    +
    Light:
    +
    #302511
    +
    +
    +
    Dark:
    +
    #fbecb3
    +
    +
    +
    Light:
    +
    rgb(48,37,17)
    +
    +
    +
    Dark:
    +
    rgb(251,236,179)
    @@ -5464,110 +1122,20 @@
    H950
    -
    - Light: -
    -
    - #382d14 -
    -
    -
    -
    - Dark: -
    -
    - #f4d560 -
    -
    -
    -
    - Light: -
    -
    - rgb(56,45,20) -
    -
    -
    -
    - Dark: -
    -
    - rgb(244,213,96) -
    +
    Light:
    +
    #382d14
    +
    +
    +
    Dark:
    +
    #f4d560
    +
    +
    +
    Light:
    +
    rgb(56,45,20)
    +
    +
    +
    Dark:
    +
    rgb(244,213,96)
    @@ -5577,110 +1145,20 @@
    H850
    -
    - Light: -
    -
    - #4b3d17 -
    -
    -
    -
    - Dark: -
    -
    - #e1b725 -
    -
    -
    -
    - Light: -
    -
    - rgb(75,61,23) -
    -
    -
    -
    - Dark: -
    -
    - rgb(225,183,37) -
    +
    Light:
    +
    #4b3d17
    +
    +
    +
    Dark:
    +
    #e1b725
    +
    +
    +
    Light:
    +
    rgb(75,61,23)
    +
    +
    +
    Dark:
    +
    rgb(225,183,37)
    @@ -5690,110 +1168,20 @@
    H750
    -
    - Light: -
    -
    - #67521a -
    -
    -
    -
    - Dark: -
    -
    - #c29d24 -
    -
    -
    -
    - Light: -
    -
    - rgb(103,82,26) -
    -
    -
    -
    - Dark: -
    -
    - rgb(194,157,36) -
    +
    Light:
    +
    #67521a
    +
    +
    +
    Dark:
    +
    #c29d24
    +
    +
    +
    Light:
    +
    rgb(103,82,26)
    +
    +
    +
    Dark:
    +
    rgb(194,157,36)
    @@ -5803,110 +1191,20 @@
    H650
    -
    - Light: -
    -
    - #836a1e -
    -
    -
    -
    - Dark: -
    -
    - #a28322 -
    -
    -
    -
    - Light: -
    -
    - rgb(131,106,30) -
    -
    -
    -
    - Dark: -
    -
    - rgb(162,131,34) -
    +
    Light:
    +
    #836a1e
    +
    +
    +
    Dark:
    +
    #a28322
    +
    +
    +
    Light:
    +
    rgb(131,106,30)
    +
    +
    +
    Dark:
    +
    rgb(162,131,34)
    @@ -5916,110 +1214,20 @@
    H550
    -
    - Light: -
    -
    - #a28322 -
    -
    -
    -
    - Dark: -
    -
    - #836a1e -
    -
    -
    -
    - Light: -
    -
    - rgb(162,131,34) -
    -
    -
    -
    - Dark: -
    -
    - rgb(131,106,30) -
    +
    Light:
    +
    #a28322
    +
    +
    +
    Dark:
    +
    #836a1e
    +
    +
    +
    Light:
    +
    rgb(162,131,34)
    +
    +
    +
    Dark:
    +
    rgb(131,106,30)
    @@ -6029,110 +1237,20 @@
    H450
    -
    - Light: -
    -
    - #c29d24 -
    -
    -
    -
    - Dark: -
    -
    - #67521a -
    -
    -
    -
    - Light: -
    -
    - rgb(194,157,36) -
    -
    -
    -
    - Dark: -
    -
    - rgb(103,82,26) -
    +
    Light:
    +
    #c29d24
    +
    +
    +
    Dark:
    +
    #67521a
    +
    +
    +
    Light:
    +
    rgb(194,157,36)
    +
    +
    +
    Dark:
    +
    rgb(103,82,26)
    @@ -6142,110 +1260,20 @@
    H350
    -
    - Light: -
    -
    - #e1b725 -
    -
    -
    -
    - Dark: -
    -
    - #4b3d17 -
    -
    -
    -
    - Light: -
    -
    - rgb(225,183,37) -
    -
    -
    -
    - Dark: -
    -
    - rgb(75,61,23) -
    +
    Light:
    +
    #e1b725
    +
    +
    +
    Dark:
    +
    #4b3d17
    +
    +
    +
    Light:
    +
    rgb(225,183,37)
    +
    +
    +
    Dark:
    +
    rgb(75,61,23)
    @@ -6255,110 +1283,20 @@
    H250
    -
    - Light: -
    -
    - #f4d560 -
    -
    -
    -
    - Dark: -
    -
    - #382d14 -
    -
    -
    -
    - Light: -
    -
    - rgb(244,213,96) -
    -
    -
    -
    - Dark: -
    -
    - rgb(56,45,20) -
    +
    Light:
    +
    #f4d560
    +
    +
    +
    Dark:
    +
    #382d14
    +
    +
    +
    Light:
    +
    rgb(244,213,96)
    +
    +
    +
    Dark:
    +
    rgb(56,45,20)
    @@ -6368,110 +1306,20 @@
    H150
    -
    - Light: -
    -
    - #fbecb3 -
    -
    -
    -
    - Dark: -
    -
    - #302511 -
    -
    -
    -
    - Light: -
    -
    - rgb(251,236,179) -
    -
    -
    -
    - Dark: -
    -
    - rgb(48,37,17) -
    +
    Light:
    +
    #fbecb3
    +
    +
    +
    Dark:
    +
    #302511
    +
    +
    +
    Light:
    +
    rgb(251,236,179)
    +
    +
    +
    Dark:
    +
    rgb(48,37,17)
    @@ -6481,110 +1329,20 @@
    H50
    -
    - Light: -
    -
    - #fef8e3 -
    -
    -
    -
    - Dark: -
    -
    - #1f1a11 -
    -
    -
    -
    - Light: -
    -
    - rgb(254,248,227) -
    -
    -
    -
    - Dark: -
    -
    - rgb(31,26,17) -
    +
    Light:
    +
    #fef8e3
    +
    +
    +
    Dark:
    +
    #1f1a11
    +
    +
    +
    Light:
    +
    rgb(254,248,227)
    +
    +
    +
    Dark:
    +
    rgb(31,26,17)
    @@ -6594,110 +1352,20 @@
    1100
    -
    - Light: -
    -
    - #29200f -
    -
    -
    -
    - Dark: -
    -
    - #fdf3d1 -
    -
    -
    -
    - Light: -
    -
    - rgb(41,32,15) -
    -
    -
    -
    - Dark: -
    -
    - rgb(253,243,209) -
    +
    Light:
    +
    #29200f
    +
    +
    +
    Dark:
    +
    #fdf3d1
    +
    +
    +
    Light:
    +
    rgb(41,32,15)
    +
    +
    +
    Dark:
    +
    rgb(253,243,209)
    @@ -6707,110 +1375,20 @@
    1000
    -
    - Light: -
    -
    - #342912 -
    -
    -
    -
    - Dark: -
    -
    - #f9e187 -
    -
    -
    -
    - Light: -
    -
    - rgb(52,41,18) -
    -
    -
    -
    - Dark: -
    -
    - rgb(249,225,135) -
    +
    Light:
    +
    #342912
    +
    +
    +
    Dark:
    +
    #f9e187
    +
    +
    +
    Light:
    +
    rgb(52,41,18)
    +
    +
    +
    Dark:
    +
    rgb(249,225,135)
    @@ -6820,110 +1398,20 @@
    900
    -
    - Light: -
    -
    - #3b3015 -
    -
    -
    -
    - Dark: -
    -
    - #edc225 -
    -
    -
    -
    - Light: -
    -
    - rgb(59,48,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(237,194,37) -
    +
    Light:
    +
    #3b3015
    +
    +
    +
    Dark:
    +
    #edc225
    +
    +
    +
    Light:
    +
    rgb(59,48,21)
    +
    +
    +
    Dark:
    +
    rgb(237,194,37)
    @@ -6933,110 +1421,20 @@
    800
    -
    - Light: -
    -
    - #564518 -
    -
    -
    -
    - Dark: -
    -
    - #cea724 -
    -
    -
    -
    - Light: -
    -
    - rgb(86,69,24) -
    -
    -
    -
    - Dark: -
    -
    - rgb(206,167,36) -
    +
    Light:
    +
    #564518
    +
    +
    +
    Dark:
    +
    #cea724
    +
    +
    +
    Light:
    +
    rgb(86,69,24)
    +
    +
    +
    Dark:
    +
    rgb(206,167,36)
    @@ -7046,110 +1444,20 @@
    700
    -
    - Light: -
    -
    - #725b1c -
    -
    -
    -
    - Dark: -
    -
    - #af8d23 -
    -
    -
    -
    - Light: -
    -
    - rgb(114,91,28) -
    -
    -
    -
    - Dark: -
    -
    - rgb(175,141,35) -
    +
    Light:
    +
    #725b1c
    +
    +
    +
    Dark:
    +
    #af8d23
    +
    +
    +
    Light:
    +
    rgb(114,91,28)
    +
    +
    +
    Dark:
    +
    rgb(175,141,35)
    @@ -7159,110 +1467,20 @@
    600
    -
    - Light: -
    -
    - #8f7420 -
    -
    -
    -
    - Dark: -
    -
    - #8f7420 -
    -
    -
    -
    - Light: -
    -
    - rgb(143,116,32) -
    -
    -
    -
    - Dark: -
    -
    - rgb(143,116,32) -
    +
    Light:
    +
    #8f7420
    +
    +
    +
    Dark:
    +
    #8f7420
    +
    +
    +
    Light:
    +
    rgb(143,116,32)
    +
    +
    +
    Dark:
    +
    rgb(143,116,32)
    @@ -7272,110 +1490,20 @@
    500
    -
    - Light: -
    -
    - #af8d23 -
    -
    -
    -
    - Dark: -
    -
    - #725b1c -
    -
    -
    -
    - Light: -
    -
    - rgb(175,141,35) -
    -
    -
    -
    - Dark: -
    -
    - rgb(114,91,28) -
    +
    Light:
    +
    #af8d23
    +
    +
    +
    Dark:
    +
    #725b1c
    +
    +
    +
    Light:
    +
    rgb(175,141,35)
    +
    +
    +
    Dark:
    +
    rgb(114,91,28)
    @@ -7385,110 +1513,20 @@
    400
    -
    - Light: -
    -
    - #cea724 -
    -
    -
    -
    - Dark: -
    -
    - #564518 -
    -
    -
    -
    - Light: -
    -
    - rgb(206,167,36) -
    -
    -
    -
    - Dark: -
    -
    - rgb(86,69,24) -
    +
    Light:
    +
    #cea724
    +
    +
    +
    Dark:
    +
    #564518
    +
    +
    +
    Light:
    +
    rgb(206,167,36)
    +
    +
    +
    Dark:
    +
    rgb(86,69,24)
    @@ -7498,110 +1536,20 @@
    300
    -
    - Light: -
    -
    - #edc225 -
    -
    -
    -
    - Dark: -
    -
    - #3b3015 -
    -
    -
    -
    - Light: -
    -
    - rgb(237,194,37) -
    -
    -
    -
    - Dark: -
    -
    - rgb(59,48,21) -
    +
    Light:
    +
    #edc225
    +
    +
    +
    Dark:
    +
    #3b3015
    +
    +
    +
    Light:
    +
    rgb(237,194,37)
    +
    +
    +
    Dark:
    +
    rgb(59,48,21)
    @@ -7611,110 +1559,20 @@
    200
    -
    - Light: -
    -
    - #f9e187 -
    -
    -
    -
    - Dark: -
    -
    - #342912 -
    -
    -
    -
    - Light: -
    -
    - rgb(249,225,135) -
    -
    -
    -
    - Dark: -
    -
    - rgb(52,41,18) -
    +
    Light:
    +
    #f9e187
    +
    +
    +
    Dark:
    +
    #342912
    +
    +
    +
    Light:
    +
    rgb(249,225,135)
    +
    +
    +
    Dark:
    +
    rgb(52,41,18)
    @@ -7724,127 +1582,26 @@
    100
    -
    - Light: -
    -
    - #fdf3d1 -
    -
    -
    -
    - Dark: -
    -
    - #29200f -
    -
    -
    -
    - Light: -
    -
    - rgb(253,243,209) -
    -
    -
    -
    - Dark: -
    -
    - rgb(41,32,15) -
    +
    Light:
    +
    #fdf3d1
    +
    +
    +
    Dark:
    +
    #29200f
    +
    +
    +
    Light:
    +
    rgb(253,243,209)
    +
    +
    +
    Dark:
    +
    rgb(41,32,15)
    -
    - Green -
    +
    Green
    @@ -7853,110 +1610,20 @@
    H1150
    -
    - Light: -
    -
    - #161e10 -
    -
    -
    -
    - Dark: -
    -
    - #f5faf2 -
    -
    -
    -
    - Light: -
    -
    - rgb(22,30,16) -
    -
    -
    -
    - Dark: -
    -
    - rgb(245,250,242) -
    +
    Light:
    +
    #161e10
    +
    +
    +
    Dark:
    +
    #f5faf2
    +
    +
    +
    Light:
    +
    rgb(22,30,16)
    +
    +
    +
    Dark:
    +
    rgb(245,250,242)
    @@ -7966,110 +1633,20 @@
    H1050
    -
    - Light: -
    -
    - #1c2b0f -
    -
    -
    -
    - Dark: -
    -
    - #e6f0dd -
    -
    -
    -
    - Light: -
    -
    - rgb(28,43,15) -
    -
    -
    -
    - Dark: -
    -
    - rgb(230,240,221) -
    +
    Light:
    +
    #1c2b0f
    +
    +
    +
    Dark:
    +
    #e6f0dd
    +
    +
    +
    Light:
    +
    rgb(28,43,15)
    +
    +
    +
    Dark:
    +
    rgb(230,240,221)
    @@ -8079,110 +1656,20 @@
    H950
    -
    - Light: -
    -
    - #203212 -
    -
    -
    -
    - Dark: -
    -
    - #c9deb6 -
    -
    -
    -
    - Light: -
    -
    - rgb(32,50,18) -
    -
    -
    -
    - Dark: -
    -
    - rgb(201,222,182) -
    +
    Light:
    +
    #203212
    +
    +
    +
    Dark:
    +
    #c9deb6
    +
    +
    +
    Light:
    +
    rgb(32,50,18)
    +
    +
    +
    Dark:
    +
    rgb(201,222,182)
    @@ -8192,110 +1679,20 @@
    H850
    -
    - Light: -
    -
    - #2a4513 -
    -
    -
    -
    - Dark: -
    -
    - #a3c784 -
    -
    -
    -
    - Light: -
    -
    - rgb(42,69,19) -
    -
    -
    -
    - Dark: -
    -
    - rgb(163,199,132) -
    +
    Light:
    +
    #2a4513
    +
    +
    +
    Dark:
    +
    #a3c784
    +
    +
    +
    Light:
    +
    rgb(42,69,19)
    +
    +
    +
    Dark:
    +
    rgb(163,199,132)
    @@ -8305,110 +1702,20 @@
    H750
    -
    - Light: -
    -
    - #366015 -
    -
    -
    -
    - Dark: -
    -
    - #7caf52 -
    -
    -
    -
    - Light: -
    -
    - rgb(54,96,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(124,175,82) -
    +
    Light:
    +
    #366015
    +
    +
    +
    Dark:
    +
    #7caf52
    +
    +
    +
    Light:
    +
    rgb(54,96,21)
    +
    +
    +
    Dark:
    +
    rgb(124,175,82)
    @@ -8418,110 +1725,20 @@
    H650
    -
    - Light: -
    -
    - #3e7c13 -
    -
    -
    -
    - Dark: -
    -
    - #5a9727 -
    -
    -
    -
    - Light: -
    -
    - rgb(62,124,19) -
    -
    -
    -
    - Dark: -
    -
    - rgb(90,151,39) -
    +
    Light:
    +
    #3e7c13
    +
    +
    +
    Dark:
    +
    #5a9727
    +
    +
    +
    Light:
    +
    rgb(62,124,19)
    +
    +
    +
    Dark:
    +
    rgb(90,151,39)
    @@ -8531,110 +1748,20 @@
    H550
    -
    - Light: -
    -
    - #5a9727 -
    -
    -
    -
    - Dark: -
    -
    - #3e7c13 -
    -
    -
    -
    - Light: -
    -
    - rgb(90,151,39) -
    -
    -
    -
    - Dark: -
    -
    - rgb(62,124,19) -
    +
    Light:
    +
    #5a9727
    +
    +
    +
    Dark:
    +
    #3e7c13
    +
    +
    +
    Light:
    +
    rgb(90,151,39)
    +
    +
    +
    Dark:
    +
    rgb(62,124,19)
    @@ -8644,110 +1771,20 @@
    H450
    -
    - Light: -
    -
    - #7caf52 -
    -
    -
    -
    - Dark: -
    -
    - #366015 -
    -
    -
    -
    - Light: -
    -
    - rgb(124,175,82) -
    -
    -
    -
    - Dark: -
    -
    - rgb(54,96,21) -
    +
    Light:
    +
    #7caf52
    +
    +
    +
    Dark:
    +
    #366015
    +
    +
    +
    Light:
    +
    rgb(124,175,82)
    +
    +
    +
    Dark:
    +
    rgb(54,96,21)
    @@ -8757,110 +1794,20 @@
    H350
    -
    - Light: -
    -
    - #a3c784 -
    -
    -
    -
    - Dark: -
    -
    - #2a4513 -
    -
    -
    -
    - Light: -
    -
    - rgb(163,199,132) -
    -
    -
    -
    - Dark: -
    -
    - rgb(42,69,19) -
    +
    Light:
    +
    #a3c784
    +
    +
    +
    Dark:
    +
    #2a4513
    +
    +
    +
    Light:
    +
    rgb(163,199,132)
    +
    +
    +
    Dark:
    +
    rgb(42,69,19)
    @@ -8870,110 +1817,20 @@
    H250
    -
    - Light: -
    -
    - #c9deb6 -
    -
    -
    -
    - Dark: -
    -
    - #203212 -
    -
    -
    -
    - Light: -
    -
    - rgb(201,222,182) -
    -
    -
    -
    - Dark: -
    -
    - rgb(32,50,18) -
    +
    Light:
    +
    #c9deb6
    +
    +
    +
    Dark:
    +
    #203212
    +
    +
    +
    Light:
    +
    rgb(201,222,182)
    +
    +
    +
    Dark:
    +
    rgb(32,50,18)
    @@ -8983,110 +1840,20 @@
    H150
    -
    - Light: -
    -
    - #e6f0dd -
    -
    -
    -
    - Dark: -
    -
    - #1c2b0f -
    -
    -
    -
    - Light: -
    -
    - rgb(230,240,221) -
    -
    -
    -
    - Dark: -
    -
    - rgb(28,43,15) -
    +
    Light:
    +
    #e6f0dd
    +
    +
    +
    Dark:
    +
    #1c2b0f
    +
    +
    +
    Light:
    +
    rgb(230,240,221)
    +
    +
    +
    Dark:
    +
    rgb(28,43,15)
    @@ -9096,110 +1863,20 @@
    H50
    -
    - Light: -
    -
    - #f5faf2 -
    -
    -
    -
    - Dark: -
    -
    - #161e10 -
    -
    -
    -
    - Light: -
    -
    - rgb(245,250,242) -
    -
    -
    -
    - Dark: -
    -
    - rgb(22,30,16) -
    +
    Light:
    +
    #f5faf2
    +
    +
    +
    Dark:
    +
    #161e10
    +
    +
    +
    Light:
    +
    rgb(245,250,242)
    +
    +
    +
    Dark:
    +
    rgb(22,30,16)
    @@ -9209,110 +1886,20 @@
    1100
    -
    - Light: -
    -
    - #1a260d -
    -
    -
    -
    - Dark: -
    -
    - #eff6ea -
    -
    -
    -
    - Light: -
    -
    - rgb(26,38,13) -
    -
    -
    -
    - Dark: -
    -
    - rgb(239,246,234) -
    +
    Light:
    +
    #1a260d
    +
    +
    +
    Dark:
    +
    #eff6ea
    +
    +
    +
    Light:
    +
    rgb(26,38,13)
    +
    +
    +
    Dark:
    +
    rgb(239,246,234)
    @@ -9322,110 +1909,20 @@
    1000
    -
    - Light: -
    -
    - #1e2e11 -
    -
    -
    -
    - Dark: -
    -
    - #d8e7ca -
    -
    -
    -
    - Light: -
    -
    - rgb(30,46,17) -
    -
    -
    -
    - Dark: -
    -
    - rgb(216,231,202) -
    +
    Light:
    +
    #1e2e11
    +
    +
    +
    Dark:
    +
    #d8e7ca
    +
    +
    +
    Light:
    +
    rgb(30,46,17)
    +
    +
    +
    Dark:
    +
    rgb(216,231,202)
    @@ -9435,110 +1932,20 @@
    900
    -
    - Light: -
    -
    - #223512 -
    -
    -
    -
    - Dark: -
    -
    - #b2d198 -
    -
    -
    -
    - Light: -
    -
    - rgb(34,53,18) -
    -
    -
    -
    - Dark: -
    -
    - rgb(178,209,152) -
    +
    Light:
    +
    #223512
    +
    +
    +
    Dark:
    +
    #b2d198
    +
    +
    +
    Light:
    +
    rgb(34,53,18)
    +
    +
    +
    Dark:
    +
    rgb(178,209,152)
    @@ -9548,110 +1955,20 @@
    800
    -
    - Light: -
    -
    - #2f5014 -
    -
    -
    -
    - Dark: -
    -
    - #8cb966 -
    -
    -
    -
    - Light: -
    -
    - rgb(47,80,20) -
    -
    -
    -
    - Dark: -
    -
    - rgb(140,185,102) -
    +
    Light:
    +
    #2f5014
    +
    +
    +
    Dark:
    +
    #8cb966
    +
    +
    +
    Light:
    +
    rgb(47,80,20)
    +
    +
    +
    Dark:
    +
    rgb(140,185,102)
    @@ -9661,110 +1978,20 @@
    700
    -
    - Light: -
    -
    - #3b6a15 -
    -
    -
    -
    - Dark: -
    -
    - #65a134 -
    -
    -
    -
    - Light: -
    -
    - rgb(59,106,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(101,161,52) -
    +
    Light:
    +
    #3b6a15
    +
    +
    +
    Dark:
    +
    #65a134
    +
    +
    +
    Light:
    +
    rgb(59,106,21)
    +
    +
    +
    Dark:
    +
    rgb(101,161,52)
    @@ -9774,110 +2001,20 @@
    600
    -
    - Light: -
    -
    - #498714 -
    -
    -
    -
    - Dark: -
    -
    - #498714 -
    -
    -
    -
    - Light: -
    -
    - rgb(73,135,20) -
    -
    -
    -
    - Dark: -
    -
    - rgb(73,135,20) -
    +
    Light:
    +
    #498714
    +
    +
    +
    Dark:
    +
    #498714
    +
    +
    +
    Light:
    +
    rgb(73,135,20)
    +
    +
    +
    Dark:
    +
    rgb(73,135,20)
    @@ -9887,110 +2024,20 @@
    500
    -
    - Light: -
    -
    - #65a134 -
    -
    -
    -
    - Dark: -
    -
    - #3b6a15 -
    -
    -
    -
    - Light: -
    -
    - rgb(101,161,52) -
    -
    -
    -
    - Dark: -
    -
    - rgb(59,106,21) -
    +
    Light:
    +
    #65a134
    +
    +
    +
    Dark:
    +
    #3b6a15
    +
    +
    +
    Light:
    +
    rgb(101,161,52)
    +
    +
    +
    Dark:
    +
    rgb(59,106,21)
    @@ -10000,110 +2047,20 @@
    400
    -
    - Light: -
    -
    - #8cb966 -
    -
    -
    -
    - Dark: -
    -
    - #2f5014 -
    -
    -
    -
    - Light: -
    -
    - rgb(140,185,102) -
    -
    -
    -
    - Dark: -
    -
    - rgb(47,80,20) -
    +
    Light:
    +
    #8cb966
    +
    +
    +
    Dark:
    +
    #2f5014
    +
    +
    +
    Light:
    +
    rgb(140,185,102)
    +
    +
    +
    Dark:
    +
    rgb(47,80,20)
    @@ -10113,110 +2070,20 @@
    300
    -
    - Light: -
    -
    - #b2d198 -
    -
    -
    -
    - Dark: -
    -
    - #223512 -
    -
    -
    -
    - Light: -
    -
    - rgb(178,209,152) -
    -
    -
    -
    - Dark: -
    -
    - rgb(34,53,18) -
    +
    Light:
    +
    #b2d198
    +
    +
    +
    Dark:
    +
    #223512
    +
    +
    +
    Light:
    +
    rgb(178,209,152)
    +
    +
    +
    Dark:
    +
    rgb(34,53,18)
    @@ -10226,110 +2093,20 @@
    200
    -
    - Light: -
    -
    - #d8e7ca -
    -
    -
    -
    - Dark: -
    -
    - #1e2e11 -
    -
    -
    -
    - Light: -
    -
    - rgb(216,231,202) -
    -
    -
    -
    - Dark: -
    -
    - rgb(30,46,17) -
    +
    Light:
    +
    #d8e7ca
    +
    +
    +
    Dark:
    +
    #1e2e11
    +
    +
    +
    Light:
    +
    rgb(216,231,202)
    +
    +
    +
    Dark:
    +
    rgb(30,46,17)
    @@ -10339,127 +2116,26 @@
    100
    -
    - Light: -
    -
    - #eff6ea -
    -
    -
    -
    - Dark: -
    -
    - #1a260d -
    -
    -
    -
    - Light: -
    -
    - rgb(239,246,234) -
    -
    -
    -
    - Dark: -
    -
    - rgb(26,38,13) -
    +
    Light:
    +
    #eff6ea
    +
    +
    +
    Dark:
    +
    #1a260d
    +
    +
    +
    Light:
    +
    rgb(239,246,234)
    +
    +
    +
    Dark:
    +
    rgb(26,38,13)
    -
    - Blue -
    +
    Blue
    @@ -10468,110 +2144,20 @@
    H1150
    -
    - Light: -
    -
    - #111a32 -
    -
    -
    -
    - Dark: -
    -
    - #f4f7fe -
    -
    -
    -
    - Light: -
    -
    - rgb(17,26,50) -
    -
    -
    -
    - Dark: -
    -
    - rgb(244,247,254) -
    +
    Light:
    +
    #111a32
    +
    +
    +
    Dark:
    +
    #f4f7fe
    +
    +
    +
    Light:
    +
    rgb(17,26,50)
    +
    +
    +
    Dark:
    +
    rgb(244,247,254)
    @@ -10581,110 +2167,20 @@
    H1050
    -
    - Light: -
    -
    - #16234f -
    -
    -
    -
    - Dark: -
    -
    - #e7edff -
    -
    -
    -
    - Light: -
    -
    - rgb(22,35,79) -
    -
    -
    -
    - Dark: -
    -
    - rgb(231,237,255) -
    +
    Light:
    +
    #16234f
    +
    +
    +
    Dark:
    +
    #e7edff
    +
    +
    +
    Light:
    +
    rgb(22,35,79)
    +
    +
    +
    Dark:
    +
    rgb(231,237,255)
    @@ -10694,110 +2190,20 @@
    H950
    -
    - Light: -
    -
    - #1a295d -
    -
    -
    -
    - Dark: -
    -
    - #cad6fe -
    -
    -
    -
    - Light: -
    -
    - rgb(26,41,93) -
    -
    -
    -
    - Dark: -
    -
    - rgb(202,214,254) -
    +
    Light:
    +
    #1a295d
    +
    +
    +
    Dark:
    +
    #cad6fe
    +
    +
    +
    Light:
    +
    rgb(26,41,93)
    +
    +
    +
    Dark:
    +
    rgb(202,214,254)
    @@ -10807,110 +2213,20 @@
    H850
    -
    - Light: -
    -
    - #23387c -
    -
    -
    -
    - Dark: -
    -
    - #a4b8fd -
    -
    -
    -
    - Light: -
    -
    - rgb(35,56,124) -
    -
    -
    -
    - Dark: -
    -
    - rgb(164,184,253) -
    +
    Light:
    +
    #23387c
    +
    +
    +
    Dark:
    +
    #a4b8fd
    +
    +
    +
    Light:
    +
    rgb(35,56,124)
    +
    +
    +
    Dark:
    +
    rgb(164,184,253)
    @@ -10920,110 +2236,20 @@
    H750
    -
    - Light: -
    -
    - #304daa -
    -
    -
    -
    - Dark: -
    -
    - #7d9bfd -
    -
    -
    -
    - Light: -
    -
    - rgb(48,77,170) -
    -
    -
    -
    - Dark: -
    -
    - rgb(125,155,253) -
    +
    Light:
    +
    #304daa
    +
    +
    +
    Dark:
    +
    #7d9bfd
    +
    +
    +
    Light:
    +
    rgb(48,77,170)
    +
    +
    +
    Dark:
    +
    rgb(125,155,253)
    @@ -11031,112 +2257,22 @@
    -
    H650
    -
    -
    - Light: -
    -
    - #3d63da -
    -
    -
    -
    - Dark: -
    -
    - #587df7 -
    -
    -
    -
    - Light: -
    -
    - rgb(61,99,218) -
    -
    -
    -
    - Dark: -
    -
    - rgb(88,125,247) -
    +
    H650
    +
    +
    Light:
    +
    #3d63da
    +
    +
    +
    Dark:
    +
    #587df7
    +
    +
    +
    Light:
    +
    rgb(61,99,218)
    +
    +
    +
    Dark:
    +
    rgb(88,125,247)
    @@ -11146,110 +2282,20 @@
    H550
    -
    - Light: -
    -
    - #587df7 -
    -
    -
    -
    - Dark: -
    -
    - #3d63da -
    -
    -
    -
    - Light: -
    -
    - rgb(88,125,247) -
    -
    -
    -
    - Dark: -
    -
    - rgb(61,99,218) -
    +
    Light:
    +
    #587df7
    +
    +
    +
    Dark:
    +
    #3d63da
    +
    +
    +
    Light:
    +
    rgb(88,125,247)
    +
    +
    +
    Dark:
    +
    rgb(61,99,218)
    @@ -11259,110 +2305,20 @@
    H450
    -
    - Light: -
    -
    - #7d9bfd -
    -
    -
    -
    - Dark: -
    -
    - #304daa -
    -
    -
    -
    - Light: -
    -
    - rgb(125,155,253) -
    -
    -
    -
    - Dark: -
    -
    - rgb(48,77,170) -
    +
    Light:
    +
    #7d9bfd
    +
    +
    +
    Dark:
    +
    #304daa
    +
    +
    +
    Light:
    +
    rgb(125,155,253)
    +
    +
    +
    Dark:
    +
    rgb(48,77,170)
    @@ -11372,110 +2328,20 @@
    H350
    -
    - Light: -
    -
    - #a4b8fd -
    -
    -
    -
    - Dark: -
    -
    - #23387c -
    -
    -
    -
    - Light: -
    -
    - rgb(164,184,253) -
    -
    -
    -
    - Dark: -
    -
    - rgb(35,56,124) -
    +
    Light:
    +
    #a4b8fd
    +
    +
    +
    Dark:
    +
    #23387c
    +
    +
    +
    Light:
    +
    rgb(164,184,253)
    +
    +
    +
    Dark:
    +
    rgb(35,56,124)
    @@ -11485,110 +2351,20 @@
    H250
    -
    - Light: -
    -
    - #cad6fe -
    -
    -
    -
    - Dark: -
    -
    - #1a295d -
    -
    -
    -
    - Light: -
    -
    - rgb(202,214,254) -
    -
    -
    -
    - Dark: -
    -
    - rgb(26,41,93) -
    +
    Light:
    +
    #cad6fe
    +
    +
    +
    Dark:
    +
    #1a295d
    +
    +
    +
    Light:
    +
    rgb(202,214,254)
    +
    +
    +
    Dark:
    +
    rgb(26,41,93)
    @@ -11598,110 +2374,20 @@
    H150
    -
    - Light: -
    -
    - #e7edff -
    -
    -
    -
    - Dark: -
    -
    - #16234f -
    -
    -
    -
    - Light: -
    -
    - rgb(231,237,255) -
    -
    -
    -
    - Dark: -
    -
    - rgb(22,35,79) -
    +
    Light:
    +
    #e7edff
    +
    +
    +
    Dark:
    +
    #16234f
    +
    +
    +
    Light:
    +
    rgb(231,237,255)
    +
    +
    +
    Dark:
    +
    rgb(22,35,79)
    @@ -11711,110 +2397,20 @@
    H50
    -
    - Light: -
    -
    - #f6f8ff -
    -
    -
    -
    - Dark: -
    -
    - #111a32 -
    -
    -
    -
    - Light: -
    -
    - rgb(246,248,255) -
    -
    -
    -
    - Dark: -
    -
    - rgb(17,26,50) -
    +
    Light:
    +
    #f6f8ff
    +
    +
    +
    Dark:
    +
    #111a32
    +
    +
    +
    Light:
    +
    rgb(246,248,255)
    +
    +
    +
    Dark:
    +
    rgb(17,26,50)
    @@ -11824,110 +2420,20 @@
    1100
    -
    - Light: -
    -
    - #132045 -
    -
    -
    -
    - Dark: -
    -
    - #f0f4ff -
    -
    -
    -
    - Light: -
    -
    - rgb(19,32,69) -
    -
    -
    -
    - Dark: -
    -
    - rgb(240,244,255) -
    +
    Light:
    +
    #132045
    +
    +
    +
    Dark:
    +
    #f0f4ff
    +
    +
    +
    Light:
    +
    rgb(19,32,69)
    +
    +
    +
    Dark:
    +
    rgb(240,244,255)
    @@ -11937,110 +2443,20 @@
    1000
    -
    - Light: -
    -
    - #182556 -
    -
    -
    -
    - Dark: -
    -
    - #d9e2ff -
    -
    -
    -
    - Light: -
    -
    - rgb(24,37,86) -
    -
    -
    -
    - Dark: -
    -
    - rgb(217,226,255) -
    +
    Light:
    +
    #182556
    +
    +
    +
    Dark:
    +
    #d9e2ff
    +
    +
    +
    Light:
    +
    rgb(24,37,86)
    +
    +
    +
    Dark:
    +
    rgb(217,226,255)
    @@ -12050,110 +2466,20 @@
    900
    -
    - Light: -
    -
    - #1b2b62 -
    -
    -
    -
    - Dark: -
    -
    - #b4c4fd -
    -
    -
    -
    - Light: -
    -
    - rgb(27,43,98) -
    -
    -
    -
    - Dark: -
    -
    - rgb(180,196,253) -
    +
    Light:
    +
    #1b2b62
    +
    +
    +
    Dark:
    +
    #b4c4fd
    +
    +
    +
    Light:
    +
    rgb(27,43,98)
    +
    +
    +
    Dark:
    +
    rgb(180,196,253)
    @@ -12163,110 +2489,20 @@
    800
    -
    - Light: -
    -
    - #28408d -
    -
    -
    -
    - Dark: -
    -
    - #8da7fd -
    -
    -
    -
    - Light: -
    -
    - rgb(40,64,141) -
    -
    -
    -
    - Dark: -
    -
    - rgb(141,167,253) -
    +
    Light:
    +
    #28408d
    +
    +
    +
    Dark:
    +
    #8da7fd
    +
    +
    +
    Light:
    +
    rgb(40,64,141)
    +
    +
    +
    Dark:
    +
    rgb(141,167,253)
    @@ -12276,110 +2512,20 @@
    700
    -
    - Light: -
    -
    - #3555bd -
    -
    -
    -
    - Dark: -
    -
    - #6689fd -
    -
    -
    -
    - Light: -
    -
    - rgb(53,85,189) -
    -
    -
    -
    - Dark: -
    -
    - rgb(102,137,253) -
    +
    Light:
    +
    #3555bd
    +
    +
    +
    Dark:
    +
    #6689fd
    +
    +
    +
    Light:
    +
    rgb(53,85,189)
    +
    +
    +
    Dark:
    +
    rgb(102,137,253)
    @@ -12389,110 +2535,20 @@
    600
    -
    - Light: -
    -
    - #436cee -
    -
    -
    -
    - Dark: -
    -
    - #436cee -
    -
    -
    -
    - Light: -
    -
    - rgb(67,108,238) -
    -
    -
    -
    - Dark: -
    -
    - rgb(67,108,238) -
    +
    Light:
    +
    #436cee
    +
    +
    +
    Dark:
    +
    #436cee
    +
    +
    +
    Light:
    +
    rgb(67,108,238)
    +
    +
    +
    Dark:
    +
    rgb(67,108,238)
    @@ -12502,110 +2558,20 @@
    500
    -
    - Light: -
    -
    - #6689fd -
    -
    -
    -
    - Dark: -
    -
    - #3555bd -
    -
    -
    -
    - Light: -
    -
    - rgb(102,137,253) -
    -
    -
    -
    - Dark: -
    -
    - rgb(53,85,189) -
    +
    Light:
    +
    #6689fd
    +
    +
    +
    Dark:
    +
    #3555bd
    +
    +
    +
    Light:
    +
    rgb(102,137,253)
    +
    +
    +
    Dark:
    +
    rgb(53,85,189)
    @@ -12615,110 +2581,20 @@
    400
    -
    - Light: -
    -
    - #8da7fd -
    -
    -
    -
    - Dark: -
    -
    - #28408d -
    -
    -
    -
    - Light: -
    -
    - rgb(141,167,253) -
    -
    -
    -
    - Dark: -
    -
    - rgb(40,64,141) -
    +
    Light:
    +
    #8da7fd
    +
    +
    +
    Dark:
    +
    #28408d
    +
    +
    +
    Light:
    +
    rgb(141,167,253)
    +
    +
    +
    Dark:
    +
    rgb(40,64,141)
    @@ -12728,110 +2604,20 @@
    300
    -
    - Light: -
    -
    - #b4c4fd -
    -
    -
    -
    - Dark: -
    -
    - #1b2b62 -
    -
    -
    -
    - Light: -
    -
    - rgb(180,196,253) -
    -
    -
    -
    - Dark: -
    -
    - rgb(27,43,98) -
    +
    Light:
    +
    #b4c4fd
    +
    +
    +
    Dark:
    +
    #1b2b62
    +
    +
    +
    Light:
    +
    rgb(180,196,253)
    +
    +
    +
    Dark:
    +
    rgb(27,43,98)
    @@ -12841,110 +2627,20 @@
    200
    -
    - Light: -
    -
    - #d9e2ff -
    -
    -
    -
    - Dark: -
    -
    - #182556 -
    -
    -
    -
    - Light: -
    -
    - rgb(217,226,255) -
    -
    -
    -
    - Dark: -
    -
    - rgb(24,37,86) -
    +
    Light:
    +
    #d9e2ff
    +
    +
    +
    Dark:
    +
    #182556
    +
    +
    +
    Light:
    +
    rgb(217,226,255)
    +
    +
    +
    Dark:
    +
    rgb(24,37,86)
    @@ -12954,127 +2650,26 @@
    100
    -
    - Light: -
    -
    - #f0f4ff -
    -
    -
    -
    - Dark: -
    -
    - #132045 -
    -
    -
    -
    - Light: -
    -
    - rgb(240,244,255) -
    -
    -
    -
    - Dark: -
    -
    - rgb(19,32,69) -
    +
    Light:
    +
    #f0f4ff
    +
    +
    +
    Dark:
    +
    #132045
    +
    +
    +
    Light:
    +
    rgb(240,244,255)
    +
    +
    +
    Dark:
    +
    rgb(19,32,69)
    -
    - Gray -
    +
    Gray
    @@ -13083,110 +2678,20 @@
    H1150
    -
    - Light: -
    -
    - #181b22 -
    -
    -
    -
    - Dark: -
    -
    - #f8f8f9 -
    -
    -
    -
    - Light: -
    -
    - rgb(24,27,34) -
    -
    -
    -
    - Dark: -
    -
    - rgb(248,248,249) -
    +
    Light:
    +
    #181b22
    +
    +
    +
    Dark:
    +
    #f8f8f9
    +
    +
    +
    Light:
    +
    rgb(24,27,34)
    +
    +
    +
    Dark:
    +
    rgb(248,248,249)
    @@ -13196,110 +2701,20 @@
    H1050
    -
    - Light: -
    -
    - #222731 -
    -
    -
    -
    - Dark: -
    -
    - #ebedef -
    -
    -
    -
    - Light: -
    -
    - rgb(34,39,49) -
    -
    -
    -
    - Dark: -
    -
    - rgb(235,237,239) -
    +
    Light:
    +
    #222731
    +
    +
    +
    Dark:
    +
    #ebedef
    +
    +
    +
    Light:
    +
    rgb(34,39,49)
    +
    +
    +
    Dark:
    +
    rgb(235,237,239)
    @@ -13309,110 +2724,20 @@
    H950
    -
    - Light: -
    -
    - #292e3a -
    -
    -
    -
    - Dark: -
    -
    - #d4d8dd -
    -
    -
    -
    - Light: -
    -
    - rgb(41,46,58) -
    -
    -
    -
    - Dark: -
    -
    - rgb(212,216,221) -
    +
    Light:
    +
    #292e3a
    +
    +
    +
    Dark:
    +
    #d4d8dd
    +
    +
    +
    Light:
    +
    rgb(41,46,58)
    +
    +
    +
    Dark:
    +
    rgb(212,216,221)
    @@ -13422,110 +2747,20 @@
    H850
    -
    - Light: -
    -
    - #373e4e -
    -
    -
    -
    - Dark: -
    -
    - #b7bcc6 -
    -
    -
    -
    - Light: -
    -
    - rgb(55,62,78) -
    -
    -
    -
    - Dark: -
    -
    - rgb(183,188,198) -
    +
    Light:
    +
    #373e4e
    +
    +
    +
    Dark:
    +
    #b7bcc6
    +
    +
    +
    Light:
    +
    rgb(55,62,78)
    +
    +
    +
    Dark:
    +
    rgb(183,188,198)
    @@ -13535,110 +2770,20 @@
    H750
    -
    - Light: -
    -
    - #4c556b -
    -
    -
    -
    - Dark: -
    -
    - #9ba1af -
    -
    -
    -
    - Light: -
    -
    - rgb(76,85,107) -
    -
    -
    -
    - Dark: -
    -
    - rgb(155,161,175) -
    +
    Light:
    +
    #4c556b
    +
    +
    +
    Dark:
    +
    #9ba1af
    +
    +
    +
    Light:
    +
    rgb(76,85,107)
    +
    +
    +
    Dark:
    +
    rgb(155,161,175)
    @@ -13648,110 +2793,20 @@
    H650
    -
    - Light: -
    -
    - #646d84 -
    -
    -
    -
    - Dark: -
    -
    - #7e8799 -
    -
    -
    -
    - Light: -
    -
    - rgb(100,109,132) -
    -
    -
    -
    - Dark: -
    -
    - rgb(126,135,153) -
    +
    Light:
    +
    #646d84
    +
    +
    +
    Dark:
    +
    #7e8799
    +
    +
    +
    Light:
    +
    rgb(100,109,132)
    +
    +
    +
    Dark:
    +
    rgb(126,135,153)
    @@ -13761,110 +2816,20 @@
    H550
    -
    - Light: -
    -
    - #7e8799 -
    -
    -
    -
    - Dark: -
    -
    - #646d84 -
    -
    -
    -
    - Light: -
    -
    - rgb(126,135,153) -
    -
    -
    -
    - Dark: -
    -
    - rgb(100,109,132) -
    +
    Light:
    +
    #7e8799
    +
    +
    +
    Dark:
    +
    #646d84
    +
    +
    +
    Light:
    +
    rgb(126,135,153)
    +
    +
    +
    Dark:
    +
    rgb(100,109,132)
    @@ -13874,110 +2839,20 @@
    H450
    -
    - Light: -
    -
    - #9ba1af -
    -
    -
    -
    - Dark: -
    -
    - #4c556b -
    -
    -
    -
    - Light: -
    -
    - rgb(155,161,175) -
    -
    -
    -
    - Dark: -
    -
    - rgb(76,85,107) -
    +
    Light:
    +
    #9ba1af
    +
    +
    +
    Dark:
    +
    #4c556b
    +
    +
    +
    Light:
    +
    rgb(155,161,175)
    +
    +
    +
    Dark:
    +
    rgb(76,85,107)
    @@ -13987,110 +2862,20 @@
    H350
    -
    - Light: -
    -
    - #b7bcc6 -
    -
    -
    -
    - Dark: -
    -
    - #373e4e -
    -
    -
    -
    - Light: -
    -
    - rgb(183,188,198) -
    -
    -
    -
    - Dark: -
    -
    - rgb(55,62,78) -
    +
    Light:
    +
    #b7bcc6
    +
    +
    +
    Dark:
    +
    #373e4e
    +
    +
    +
    Light:
    +
    rgb(183,188,198)
    +
    +
    +
    Dark:
    +
    rgb(55,62,78)
    @@ -14100,110 +2885,20 @@
    H250
    -
    - Light: -
    -
    - #d4d8dd -
    -
    -
    -
    - Dark: -
    -
    - #292e3a -
    -
    -
    -
    - Light: -
    -
    - rgb(212,216,221) -
    -
    -
    -
    - Dark: -
    -
    - rgb(41,46,58) -
    +
    Light:
    +
    #d4d8dd
    +
    +
    +
    Dark:
    +
    #292e3a
    +
    +
    +
    Light:
    +
    rgb(212,216,221)
    +
    +
    +
    Dark:
    +
    rgb(41,46,58)
    @@ -14213,110 +2908,20 @@
    H150
    -
    - Light: -
    -
    - #ebedef -
    -
    -
    -
    - Dark: -
    -
    - #222731 -
    -
    -
    -
    - Light: -
    -
    - rgb(235,237,239) -
    -
    -
    -
    - Dark: -
    -
    - rgb(34,39,49) -
    +
    Light:
    +
    #ebedef
    +
    +
    +
    Dark:
    +
    #222731
    +
    +
    +
    Light:
    +
    rgb(235,237,239)
    +
    +
    +
    Dark:
    +
    rgb(34,39,49)
    @@ -14326,110 +2931,20 @@
    H50
    -
    - Light: -
    -
    - #f8f8f9 -
    -
    -
    -
    - Dark: -
    -
    - #181b22 -
    -
    -
    -
    - Light: -
    -
    - rgb(248,248,249) -
    -
    -
    -
    - Dark: -
    -
    - rgb(24,27,34) -
    +
    Light:
    +
    #f8f8f9
    +
    +
    +
    Dark:
    +
    #181b22
    +
    +
    +
    Light:
    +
    rgb(248,248,249)
    +
    +
    +
    Dark:
    +
    rgb(24,27,34)
    @@ -14439,110 +2954,20 @@
    1100
    -
    - Light: -
    -
    - #1e222a -
    -
    -
    -
    - Dark: -
    -
    - #f3f4f5 -
    -
    -
    -
    - Light: -
    -
    - rgb(30,34,42) -
    -
    -
    -
    - Dark: -
    -
    - rgb(243,244,245) -
    +
    Light:
    +
    #1e222a
    +
    +
    +
    Dark:
    +
    #f3f4f5
    +
    +
    +
    Light:
    +
    rgb(30,34,42)
    +
    +
    +
    Dark:
    +
    rgb(243,244,245)
    @@ -14552,110 +2977,20 @@
    1000
    -
    - Light: -
    -
    - #252a35 -
    -
    -
    -
    - Dark: -
    -
    - #e0e3e7 -
    -
    -
    -
    - Light: -
    -
    - rgb(37,42,53) -
    -
    -
    -
    - Dark: -
    -
    - rgb(224,227,231) -
    +
    Light:
    +
    #252a35
    +
    +
    +
    Dark:
    +
    #e0e3e7
    +
    +
    +
    Light:
    +
    rgb(37,42,53)
    +
    +
    +
    Dark:
    +
    rgb(224,227,231)
    @@ -14665,110 +3000,20 @@
    900
    -
    - Light: -
    -
    - #2c313d -
    -
    -
    -
    - Dark: -
    -
    - #c3c7cf -
    -
    -
    -
    - Light: -
    -
    - rgb(44,49,61) -
    -
    -
    -
    - Dark: -
    -
    - rgb(195,199,207) -
    +
    Light:
    +
    #2c313d
    +
    +
    +
    Dark:
    +
    #c3c7cf
    +
    +
    +
    Light:
    +
    rgb(44,49,61)
    +
    +
    +
    Dark:
    +
    rgb(195,199,207)
    @@ -14778,110 +3023,20 @@
    800
    -
    - Light: -
    -
    - #3f4759 -
    -
    -
    -
    - Dark: -
    -
    - #a7acb8 -
    -
    -
    -
    - Light: -
    -
    - rgb(63,71,89) -
    -
    -
    -
    - Dark: -
    -
    - rgb(167,172,184) -
    +
    Light:
    +
    #3f4759
    +
    +
    +
    Dark:
    +
    #a7acb8
    +
    +
    +
    Light:
    +
    rgb(63,71,89)
    +
    +
    +
    Dark:
    +
    rgb(167,172,184)
    @@ -14891,110 +3046,20 @@
    700
    -
    - Light: -
    -
    - #545f77 -
    -
    -
    -
    - Dark: -
    -
    - #8a91a2 -
    -
    -
    -
    - Light: -
    -
    - rgb(84,95,119) -
    -
    -
    -
    - Dark: -
    -
    - rgb(138,145,162) -
    +
    Light:
    +
    #545f77
    +
    +
    +
    Dark:
    +
    #8a91a2
    +
    +
    +
    Light:
    +
    rgb(84,95,119)
    +
    +
    +
    Dark:
    +
    rgb(138,145,162)
    @@ -15004,110 +3069,20 @@
    600
    -
    - Light: -
    -
    - #6e778c -
    -
    -
    -
    - Dark: -
    -
    - #6e778c -
    -
    -
    -
    - Light: -
    -
    - rgb(110,119,140) -
    -
    -
    -
    - Dark: -
    -
    - rgb(110,119,140) -
    +
    Light:
    +
    #6e778c
    +
    +
    +
    Dark:
    +
    #6e778c
    +
    +
    +
    Light:
    +
    rgb(110,119,140)
    +
    +
    +
    Dark:
    +
    rgb(110,119,140)
    @@ -15117,110 +3092,20 @@
    500
    -
    - Light: -
    -
    - #8a91a2 -
    -
    -
    -
    - Dark: -
    -
    - #545f77 -
    -
    -
    -
    - Light: -
    -
    - rgb(138,145,162) -
    -
    -
    -
    - Dark: -
    -
    - rgb(84,95,119) -
    +
    Light:
    +
    #8a91a2
    +
    +
    +
    Dark:
    +
    #545f77
    +
    +
    +
    Light:
    +
    rgb(138,145,162)
    +
    +
    +
    Dark:
    +
    rgb(84,95,119)
    @@ -15230,110 +3115,20 @@
    400
    -
    - Light: -
    -
    - #a7acb8 -
    -
    -
    -
    - Dark: -
    -
    - #3f4759 -
    -
    -
    -
    - Light: -
    -
    - rgb(167,172,184) -
    -
    -
    -
    - Dark: -
    -
    - rgb(63,71,89) -
    +
    Light:
    +
    #a7acb8
    +
    +
    +
    Dark:
    +
    #3f4759
    +
    +
    +
    Light:
    +
    rgb(167,172,184)
    +
    +
    +
    Dark:
    +
    rgb(63,71,89)
    @@ -15343,110 +3138,20 @@
    300
    -
    - Light: -
    -
    - #c3c7cf -
    -
    -
    -
    - Dark: -
    -
    - #2c313d -
    -
    -
    -
    - Light: -
    -
    - rgb(195,199,207) -
    -
    -
    -
    - Dark: -
    -
    - rgb(44,49,61) -
    +
    Light:
    +
    #c3c7cf
    +
    +
    +
    Dark:
    +
    #2c313d
    +
    +
    +
    Light:
    +
    rgb(195,199,207)
    +
    +
    +
    Dark:
    +
    rgb(44,49,61)
    @@ -15456,110 +3161,20 @@
    200
    -
    - Light: -
    -
    - #e0e3e7 -
    -
    -
    -
    - Dark: -
    -
    - #252a35 -
    -
    -
    -
    - Light: -
    -
    - rgb(224,227,231) -
    -
    -
    -
    - Dark: -
    -
    - rgb(37,42,53) -
    +
    Light:
    +
    #e0e3e7
    +
    +
    +
    Dark:
    +
    #252a35
    +
    +
    +
    Light:
    +
    rgb(224,227,231)
    +
    +
    +
    Dark:
    +
    rgb(37,42,53)
    @@ -15569,110 +3184,20 @@
    100
    -
    - Light: -
    -
    - #f3f4f5 -
    -
    -
    -
    - Dark: -
    -
    - #1e222a -
    -
    -
    -
    - Light: -
    -
    - rgb(243,244,245) -
    -
    -
    -
    - Dark: -
    -
    - rgb(30,34,42) -
    +
    Light:
    +
    #f3f4f5
    +
    +
    +
    Dark:
    +
    #1e222a
    +
    +
    +
    Light:
    +
    rgb(243,244,245)
    +
    +
    +
    Dark:
    +
    rgb(30,34,42)
    @@ -15686,110 +3211,20 @@
    1200
    -
    - Light: -
    -
    - #0f1115 -
    -
    -
    -
    - Dark: -
    -
    - #ffffff -
    -
    -
    -
    - Light: -
    -
    - rgb(15,17,21) -
    -
    -
    -
    - Dark: -
    -
    - rgb(255,255,255) -
    +
    Light:
    +
    #0f1115
    +
    +
    +
    Dark:
    +
    #ffffff
    +
    +
    +
    Light:
    +
    rgb(15,17,21)
    +
    +
    +
    Dark:
    +
    rgb(255,255,255)
    @@ -15799,110 +3234,20 @@
    0
    -
    - Light: -
    -
    - #ffffff -
    -
    -
    -
    - Dark: -
    -
    - #0f1115 -
    -
    -
    -
    - Light: -
    -
    - rgb(255,255,255) -
    -
    -
    -
    - Dark: -
    -
    - rgb(15,17,21) -
    +
    Light:
    +
    #ffffff
    +
    +
    +
    Dark:
    +
    #0f1115
    +
    +
    +
    Light:
    +
    rgb(255,255,255)
    +
    +
    +
    Dark:
    +
    rgb(15,17,21)
    diff --git a/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.css b/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.css index cb713ae3b9..7f32a4d586 100644 --- a/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.css +++ b/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.css @@ -74,3 +74,21 @@ line-height: 20px; word-wrap: break-word; } + +.description-text-header { + color: var(--prizm-v3-text-icon-primary); + font-size: 16px; + font-family: Inter; + font-weight: 400; + line-height: 20px; + word-wrap: break-word; +} + +.description-text { + flex: 1 1 0; + color: var(--prizm-v3-text-icon-secondary); + font-size: 16px; + font-family: Inter; + font-weight: 500; + line-height: 20px; +} diff --git a/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.html b/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.html index c252e381ca..9a759073ec 100644 --- a/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.html +++ b/apps/doc/src/app/guidelines/colors/components/theme-colors/theme-colors.component.html @@ -9,14 +9,14 @@
    Disable
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: Gray/300
    +
    alias: Gray/300
    -
    Token: --prizm-v3-button-disable
    +
    Token: --prizm-v3-button-disable
    @@ -27,14 +27,14 @@
    Ghost-Hover
    Light:
    -
    alias: Gray/H150
    +
    alias: Gray/H150
    Dark:
    350
    -
    Token: --prizm-v3-button-ghost-hover
    +
    Token: --prizm-v3-button-ghost-hover
    @@ -45,14 +45,14 @@
    Alarm-Ghost-Active
    Light:
    -
    alias: Red/200
    +
    alias: Red/200
    Dark:
    -
    alias: Red/400
    +
    alias: Red/400
    -
    Token: --prizm-v3-button-alarm-ghost-active
    +
    Token: --prizm-v3-button-alarm-ghost-active
    @@ -63,14 +63,14 @@
    Alarm-Solid-Active
    Light:
    -
    alias: Red/700
    +
    alias: Red/700
    Dark:
    -
    alias: Red/700
    +
    alias: Red/700
    -
    Token: -prizm-v3-button-alarm-solid-active
    +
    Token: -prizm-v3-button-alarm-solid-active
    @@ -81,14 +81,14 @@
    Alarm-Solid-Hover
    Light:
    -
    alias: Red/H650
    +
    alias: Red/H650
    Dark:
    -
    alias: Red/H650
    +
    alias: Red/H650
    -
    Token: -prizm-v3-button-alarm-solid-hover
    +
    Token: -prizm-v3-button-alarm-solid-hover
    @@ -99,14 +99,14 @@
    Alarm-Solid-Default
    Light:
    -
    alias: Red/600
    +
    alias: Red/600
    Dark:
    -
    alias: Red/600
    +
    alias: Red/600
    -
    Token: -prizm-v3-button-alarm-solid-default
    +
    Token: -prizm-v3-button-alarm-solid-default
    @@ -117,14 +117,14 @@
    Warning-Ghost-Active
    Light:
    -
    alias: Orange/200
    +
    alias: Orange/200
    Dark:
    -
    alias: Orange/400
    +
    alias: Orange/400
    -
    Token: --prizm-v3-button-warning-ghost-active
    +
    Token: --prizm-v3-button-warning-ghost-active
    @@ -135,14 +135,14 @@
    Warning-Solid-Active
    Light:
    -
    alias: Orange/500
    +
    alias: Orange/500
    Dark:
    -
    alias: Orange/900
    +
    alias: Orange/900
    -
    Token: --prizm-v3-button-warning-solid-active
    +
    Token: --prizm-v3-button-warning-solid-active
    @@ -153,14 +153,14 @@
    Warning-Solid-Hover
    Light:
    -
    alias: Orange/H450
    +
    alias: Orange/H450
    Dark:
    -
    alias: Orange/H850
    +
    alias: Orange/H850
    -
    Token: --prizm-v3-button-warning-solid-hover
    +
    Token: --prizm-v3-button-warning-solid-hover
    @@ -171,14 +171,14 @@
    Warning-Solid-Default
    Light:
    -
    alias: Orange/400
    +
    alias: Orange/400
    Dark:
    -
    alias: Orange/800
    +
    alias: Orange/800
    -
    Token: --prizm-v3-button-warning-solid-default
    +
    Token: --prizm-v3-button-warning-solid-default
    @@ -189,14 +189,14 @@
    Success-Ghost-Active
    Light:
    -
    alias: Green/200
    +
    alias: Green/200
    Dark:
    -
    alias: Green/400
    +
    alias: Green/400
    -
    Token: --prizm-v3-button-success-ghost-active
    +
    Token: --prizm-v3-button-success-ghost-active
    @@ -207,14 +207,14 @@
    Success-Solid-Active
    Light:
    -
    alias: Green/700
    +
    alias: Green/700
    Dark:
    -
    alias: Green/700
    +
    alias: Green/700
    -
    Token: --prizm-v3-button-success-solid-active
    +
    Token: --prizm-v3-button-success-solid-active
    @@ -225,14 +225,14 @@
    Success-Solid-Hover
    Light:
    -
    alias: Green/H650
    +
    alias: Green/H650
    Dark:
    -
    alias: Green/H650
    +
    alias: Green/H650
    -
    Token: --prizm-v3-button-success-solid-hover
    +
    Token: --prizm-v3-button-success-solid-hover
    @@ -243,14 +243,14 @@
    Success-Solid-Default
    Light:
    -
    alias: Green/600
    +
    alias: Green/600
    Dark:
    -
    alias: Green/600
    +
    alias: Green/600
    -
    Token: --prizm-v3-button-success-solid-default
    +
    Token: --prizm-v3-button-success-solid-default
    @@ -261,14 +261,14 @@
    Secondary-Ghost-Active
    Light:
    -
    alias: Gray/200
    +
    alias: Gray/200
    Dark:
    -
    alias: Gray/400
    +
    alias: Gray/400
    -
    Token: --prizm-v3-button-secondary-ghost-active
    +
    Token: --prizm-v3-button-secondary-ghost-active
    @@ -279,14 +279,14 @@
    Secondary-Solid-Active
    Light:
    -
    alias: Gray/700
    +
    alias: Gray/700
    Dark:
    -
    alias: Gray/700
    +
    alias: Gray/700
    -
    Token: --prizm-v3-button-secondary-solid-active
    +
    Token: --prizm-v3-button-secondary-solid-active
    @@ -297,14 +297,14 @@
    Secondary-Solid-Hover
    Light:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    Dark:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    -
    Token: --prizm-v3-button-secondary-solid-hover
    +
    Token: --prizm-v3-button-secondary-solid-hover
    @@ -315,14 +315,14 @@
    Secondary-Solid-Default
    Light:
    -
    alias: Gray/600
    +
    alias: Gray/600
    Dark:
    -
    alias: Gray/600
    +
    alias: Gray/600
    -
    Token: --prizm-v3-button-secondary-solid-default
    +
    Token: --prizm-v3-button-secondary-solid-default
    @@ -333,14 +333,14 @@
    Primary-Ghost-Active
    Light:
    -
    alias: Blue/200
    +
    alias: Blue/200
    Dark:
    -
    alias: Blue/400
    +
    alias: Blue/400
    -
    Token: --prizm-v3-button-primary-ghost-active
    +
    Token: --prizm-v3-button-primary-ghost-active
    @@ -351,14 +351,14 @@
    Primary-Solid-Active
    Light:
    -
    alias: Blue/700
    +
    alias: Blue/700
    Dark:
    -
    alias: Blue/700
    +
    alias: Blue/700
    -
    Token: --prizm-v3-button-primary-solid-active
    +
    Token: --prizm-v3-button-primary-solid-active
    @@ -369,14 +369,14 @@
    Primary-Solid-Hover
    Light:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    Dark:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    -
    Token: --prizm-v3-button-primary-solid-hover
    +
    Token: --prizm-v3-button-primary-solid-hover
    @@ -387,14 +387,14 @@
    Primary-Solid-Default
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/600
    +
    alias: Blue/600
    -
    Token: --prizm-v3-button-primary-solid-default
    +
    Token: --prizm-v3-button-primary-solid-default
    @@ -410,14 +410,14 @@
    Active-Disable
    Light:
    -
    alias: Blue/400
    +
    alias: Blue/400
    Dark:
    -
    alias: Blue/400
    +
    alias: Blue/400
    -
    Token: --prizm-v3-form-active-disable
    +
    Token: --prizm-v3-form-active-disable
    @@ -428,14 +428,14 @@
    Active-Hover
    Light:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    Dark:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    -
    Token: --prizm-v3-form-active-hover
    +
    Token: --prizm-v3-form-active-hover
    @@ -446,14 +446,14 @@
    Active
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/600
    +
    alias: Blue/600
    -
    Token: --prizm-v3-form-active
    +
    Token: --prizm-v3-form-active
    @@ -464,14 +464,14 @@
    Stroke-Disable
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: 1200
    +
    alias: 1200
    -
    Token: --prizm-v3-form-stroke-disable
    +
    Token: --prizm-v3-form-stroke-disable
    @@ -482,14 +482,14 @@
    Stroke-Hover
    Light:
    -
    alias: Gray/H450
    +
    alias: Gray/H450
    Dark:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    -
    Token: --prizm-v3-form-stroke-hover
    +
    Token: --prizm-v3-form-stroke-hover
    @@ -500,14 +500,14 @@
    Stroke-Default
    Light:
    -
    alias: Gray/300
    +
    alias: Gray/300
    Dark:
    -
    alias: Gray/500
    +
    alias: Gray/500
    -
    Token: --prizm-v3-form-stroke-default
    +
    Token: --prizm-v3-form-stroke-default
    @@ -518,14 +518,14 @@
    Fill-Disable
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: 0
    +
    alias: 0
    -
    Token: --prizm-v3-form-fill-disable
    +
    Token: --prizm-v3-form-fill-disable
    @@ -536,14 +536,14 @@
    Fill-Default
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: 0
    +
    alias: 0
    -
    Token: --prizm-v3-form-fill-default
    +
    Token: --prizm-v3-form-fill-default
    @@ -565,84 +565,22 @@
    Fill-Blanket
    Light:
    -
    - #0f111580 -
    +
    #0f111580
    Dark:
    -
    - #0f111580 -
    +
    #0f111580
    -
    Token: --prizm-v3-background-fill-blanket
    +
    Token: --prizm-v3-background-fill-blanket
    -
    +
    Light:
    -
    - rgba(15,17,21,0.5) -
    -
    -
    +
    rgba(15,17,21,0.5)
    +
    +
    Dark:
    -
    - rgba(15,17,21,0.5) -
    +
    rgba(15,17,21,0.5)
    @@ -653,14 +591,14 @@
    Fill-Overlay
    Light:
    -
    alias: 0
    +
    alias: 0
    Dark:
    -
    alias: Gray/200
    +
    alias: Gray/200
    -
    Token: --prizm-v3-background-fill-overlay
    +
    Token: --prizm-v3-background-fill-overlay
    @@ -671,14 +609,14 @@
    Fill-Panel
    Light:
    -
    alias: 0
    +
    alias: 0
    Dark:
    -
    alias: Gray/300
    +
    alias: Gray/300
    -
    Token: --prizm-v3-background-fill-panel
    +
    Token: --prizm-v3-background-fill-panel
    @@ -689,14 +627,14 @@
    Stroke-Focus
    Light:
    -
    alias: Blue/400
    +
    alias: Blue/400
    Dark:
    -
    alias: Blue/800
    +
    alias: Blue/800
    -
    Token: --prizm-v3-background-stroke-focus
    +
    Token: --prizm-v3-background-stroke-focus
    @@ -707,14 +645,14 @@
    Stroke
    Light:
    -
    alias: Gray/200
    +
    alias: Gray/200
    Dark:
    -
    alias: Gray/400
    +
    alias: Gray/400
    -
    Token: --prizm-v3-background-stroke
    +
    Token: --prizm-v3-background-stroke
    @@ -725,14 +663,14 @@
    Fill-Revers
    Light:
    -
    alias: Gray/1100
    +
    alias: Gray/1100
    Dark:
    -
    alias: Gray/100
    +
    alias: Gray/100
    -
    Token: --prizm-v3-background-fill-reverse
    +
    Token: --prizm-v3-background-fill-reverse
    @@ -743,14 +681,14 @@
    Fill-Secondary
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: 1200
    +
    alias: 1200
    -
    Token: --prizm-v3-background-fill-secondary
    +
    Token: --prizm-v3-background-fill-secondary
    @@ -761,14 +699,14 @@
    Fill-Primary
    Light:
    -
    alias: 0
    +
    alias: 0
    Dark:
    -
    alias: Gray/100
    +
    alias: Gray/100
    -
    Token: --prizm-v3-background-fill-primary
    +
    Token: --prizm-v3-background-fill-primary
    @@ -784,14 +722,14 @@
    Link-Visited
    Light:
    -
    alias: Blue/400
    +
    alias: Blue/400
    Dark:
    -
    alias: Blue/500
    +
    alias: Blue/500
    -
    Token: --prizm-v3-text-icon-link-visited
    +
    Token: --prizm-v3-text-icon-link-visited
    @@ -802,14 +740,14 @@
    Link-Hover
    Light:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    Dark:
    -
    alias: Blue/H750
    +
    alias: Blue/H750
    -
    Token: --prizm-v3-text-icon-link-hover
    +
    Token: --prizm-v3-text-icon-link-hover
    @@ -820,14 +758,14 @@
    Exception
    Light:
    -
    alias: 0
    +
    alias: 0
    Dark:
    -
    alias: 1200
    +
    alias: 1200
    -
    Token: --prizm-v3-text-icon-exception
    +
    Token: --prizm-v3-text-icon-exception
    @@ -838,14 +776,14 @@
    Revers
    Light:
    -
    alias: 0
    +
    alias: 0
    Dark:
    -
    alias: 0
    +
    alias: 0
    -
    Token: --prizm-v3-text-icon-reverse
    +
    Token: --prizm-v3-text-icon-reverse
    @@ -856,14 +794,14 @@
    Link
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/700
    +
    alias: Blue/700
    -
    Token: --prizm-v3-text-icon-link
    +
    Token: --prizm-v3-text-icon-link
    @@ -874,14 +812,14 @@
    Disable
    Light:
    -
    alias: Gray/400
    +
    alias: Gray/400
    Dark:
    -
    alias: Gray/500
    +
    alias: Gray/500
    -
    Token: --prizm-v3-text-icon-disable
    +
    Token: --prizm-v3-text-icon-disable
    @@ -892,14 +830,14 @@
    Tertiary
    Light:
    -
    alias: Gray/600
    +
    alias: Gray/600
    Dark:
    -
    alias: Gray/600
    +
    alias: Gray/600
    -
    Token: --prizm-v3-text-icon-tertiary
    +
    Token: --prizm-v3-text-icon-tertiary
    @@ -910,14 +848,14 @@
    Secondary
    Light:
    -
    alias: Gray/800
    +
    alias: Gray/800
    Dark:
    -
    alias: Gray/800
    +
    alias: Gray/800
    -
    Token: --prizm-v3-text-icon-secondary
    +
    Token: --prizm-v3-text-icon-secondary
    @@ -928,14 +866,14 @@
    Primary
    Light:
    -
    alias: 1200
    +
    alias: 1200
    Dark:
    -
    alias: 1200
    +
    alias: 1200
    -
    Token: --prizm-v3-text-icon-primary
    +
    Token: --prizm-v3-text-icon-primary
    @@ -951,14 +889,14 @@
    Stroke-Cell-Hover
    Light:
    -
    alias: Gray/H450
    +
    alias: Gray/H450
    Dark:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    -
    Token: --prizm-v3-table-stroke-cell-hover
    +
    Token: --prizm-v3-table-stroke-cell-hover
    @@ -969,14 +907,14 @@
    Fill-Row-Active
    Light:
    -
    alias: Blue/200
    +
    alias: Blue/200
    Dark:
    -
    alias: Blue/400
    +
    alias: Blue/400
    -
    Token: --prizm-v3-table-fill-row-active
    +
    Token: --prizm-v3-table-fill-row-active
    @@ -987,14 +925,14 @@
    Fill-Row-Hover
    Light:
    -
    alias: Gray/H150
    +
    alias: Gray/H150
    Dark:
    -
    alias: Gray/H250
    +
    alias: Gray/H250
    -
    Token: --prizm-v3-table-fill-row-hover
    +
    Token: --prizm-v3-table-fill-row-hover
    @@ -1005,14 +943,14 @@
    Fill-Header-Hover
    Light:
    -
    alias: Gray/H150
    +
    alias: Gray/H150
    Dark:
    -
    alias: Gray/H250
    +
    alias: Gray/H250
    -
    Token: --prizm-v3-table-fill-header-hover
    +
    Token: --prizm-v3-table-fill-header-hover
    @@ -1023,14 +961,14 @@
    Stroke-Cell-Active
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/600
    +
    alias: Blue/600
    -
    Token: --prizm-v3-table-stroke-cell-active
    +
    Token: --prizm-v3-table-stroke-cell-active
    @@ -1041,14 +979,14 @@
    Fill-Cell-Disable
    Light:
    -
    alias: Gray/200
    +
    alias: Gray/200
    Dark:
    -
    alias: Gray/300
    +
    alias: Gray/300
    -
    Token: --prizm-v3-table-fill-cell-disable
    +
    Token: --prizm-v3-table-fill-cell-disable
    @@ -1059,14 +997,14 @@
    Stroke-Cell-Default
    Light:
    -
    alias: Gray/200
    +
    alias: Gray/200
    Dark:
    -
    alias: Gray/400
    +
    alias: Gray/400
    -
    Token: --prizm-v3-table-stroke-cell-default
    +
    Token: --prizm-v3-table-stroke-cell-default
    @@ -1077,14 +1015,14 @@
    Fill-Header-Default
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: Gray/200
    +
    alias: Gray/200
    -
    Token: --prizm-v3-table-fill-header-default
    +
    Token: --prizm-v3-table-fill-header-default
    @@ -1095,14 +1033,14 @@
    Fill-Row-Zebra_Default
    Light:
    -
    alias: Gray/100
    +
    alias: Gray/100
    Dark:
    -
    alias: Gray/200
    +
    alias: Gray/200
    -
    Token: --prizm-v3-table-fill-row-zebra_default
    +
    Token: --prizm-v3-table-fill-row-zebra_default
    @@ -1118,14 +1056,14 @@
    Alarm-Secondary-Hover
    Light:
    -
    alias: Red/H250
    +
    alias: Red/H250
    Dark:
    -
    alias: Red/H350
    +
    alias: Red/H350
    -
    Token: --prizm-v3-status-alarm-secondary-hover
    +
    Token: --prizm-v3-status-alarm-secondary-hover
    @@ -1136,14 +1074,14 @@
    Alarm-Primary-Hover
    Light:
    -
    alias: Red/H650
    +
    alias: Red/H650
    Dark:
    -
    alias: Red/H650
    +
    alias: Red/H650
    -
    Token: --prizm-v3-status-alarm-primary-hover
    +
    Token: --prizm-v3-status-alarm-primary-hover
    @@ -1154,14 +1092,14 @@
    Warning-Secondary-Hover
    Light:
    -
    alias: Orange/H150
    +
    alias: Orange/H150
    Dark:
    -
    alias: Orange/H350
    +
    alias: Orange/H350
    -
    Token: --prizm-v3-status-warning-secondary-hover
    +
    Token: --prizm-v3-status-warning-secondary-hover
    @@ -1172,14 +1110,14 @@
    Warning-Primary-Hover
    Light:
    -
    alias: Orange/H450
    +
    alias: Orange/H450
    Dark:
    -
    alias: Orange/H850
    +
    alias: Orange/H850
    -
    Token: --prizm-v3-status-warning-primary-hover
    +
    Token: --prizm-v3-status-warning-primary-hover
    @@ -1190,14 +1128,14 @@
    Attention-Secondary-Hover
    Light:
    -
    alias: Yellow/H150
    +
    alias: Yellow/H150
    Dark:
    -
    alias: Yellow/H350
    +
    alias: Yellow/H350
    -
    Token: --prizm-v3-status-attention-secondary-hover
    +
    Token: --prizm-v3-status-attention-secondary-hover
    @@ -1208,14 +1146,14 @@
    Attention-Primary-Hover
    Light:
    -
    alias: Yellow/H350
    +
    alias: Yellow/H350
    Dark:
    -
    alias: Yellow/H950
    +
    alias: Yellow/H950
    -
    Token: --prizm-v3-status-attention-primary-hover
    +
    Token: --prizm-v3-status-attention-primary-hover
    @@ -1226,14 +1164,14 @@
    Success-Secondary-Hover
    Light:
    -
    alias: Green/H250
    +
    alias: Green/H250
    Dark:
    -
    alias: Green/H350
    +
    alias: Green/H350
    -
    Token: --prizm-v3-status-success-secondary-hover
    +
    Token: --prizm-v3-status-success-secondary-hover
    @@ -1244,14 +1182,14 @@
    Success-Primary-Hover
    Light:
    -
    alias: Green/H650
    +
    alias: Green/H650
    Dark:
    -
    alias: Green/H650
    +
    alias: Green/H650
    -
    Token: --prizm-v3-status-success-primary-hover
    +
    Token: --prizm-v3-status-success-primary-hover
    @@ -1262,14 +1200,14 @@
    None-Secondary-Hover
    Light:
    -
    alias: Gray/H250
    +
    alias: Gray/H250
    Dark:
    -
    alias: Gray/H350
    +
    alias: Gray/H350
    -
    Token: --prizm-v3-status-none-secondary-hover
    +
    Token: --prizm-v3-status-none-secondary-hover
    @@ -1280,14 +1218,14 @@
    None-Primary-Hover
    Light:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    Dark:
    -
    alias: Gray/H650
    +
    alias: Gray/H650
    -
    Token: --prizm-v3-status-none-primary-hover
    +
    Token: --prizm-v3-status-none-primary-hover
    @@ -1298,14 +1236,14 @@
    Info-Secondary-Hover
    Light:
    -
    alias: Blue/H250
    +
    alias: Blue/H250
    Dark:
    -
    alias: Blue/H350
    +
    alias: Blue/H350
    -
    Token: --prizm-v3-status-info-secondary-hover
    +
    Token: --prizm-v3-status-info-secondary-hover
    @@ -1316,14 +1254,14 @@
    Info-Primary-Hover
    Light:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    Dark:
    -
    alias: Blue/H650
    +
    alias: Blue/H650
    -
    Token: --prizm-v3-status-info-primary-hover
    +
    Token: --prizm-v3-status-info-primary-hover
    @@ -1334,14 +1272,14 @@
    Alarm-Secondary-Default
    Light:
    -
    alias: Red/200
    +
    alias: Red/200
    Dark:
    -
    alias: Red/300
    +
    alias: Red/300
    -
    Token: --prizm-v3-status-alarm-secondary-default
    +
    Token: --prizm-v3-status-alarm-secondary-default
    @@ -1352,14 +1290,14 @@
    Alarm-Primary-Default
    Light:
    -
    alias: Red/600
    +
    alias: Red/600
    Dark:
    -
    alias: Red/600
    +
    alias: Red/600
    -
    Token: --prizm-v3-status-alarm-primary-default
    +
    Token: --prizm-v3-status-alarm-primary-default
    @@ -1370,14 +1308,14 @@
    Warning-Secondary-Default
    Light:
    -
    alias: Orange/100
    +
    alias: Orange/100
    Dark:
    -
    alias: Orange/300
    +
    alias: Orange/300
    -
    Token: --prizm-v3-status-warning-secondary-default
    +
    Token: --prizm-v3-status-warning-secondary-default
    @@ -1388,14 +1326,14 @@
    Warning-Primary-Default
    Light:
    -
    alias: Orange/400
    +
    alias: Orange/400
    Dark:
    -
    alias: Orange/800
    +
    alias: Orange/800
    -
    Token: --prizm-v3-status-warning-primary-default
    +
    Token: --prizm-v3-status-warning-primary-default
    @@ -1406,14 +1344,14 @@
    Attention-Secondary-Default
    Light:
    -
    alias: Yellow/100
    +
    alias: Yellow/100
    Dark:
    -
    alias: Yellow/300
    +
    alias: Yellow/300
    -
    Token: --prizm-v3-status-attention-secondary-default
    +
    Token: --prizm-v3-status-attention-secondary-default
    @@ -1424,14 +1362,14 @@
    Attention-Primary-Default
    Light:
    -
    alias: Yellow/300
    +
    alias: Yellow/300
    Dark:
    -
    alias: Yellow/900
    +
    alias: Yellow/900
    -
    Token: --prizm-v3-status-attention-primary-default
    +
    Token: --prizm-v3-status-attention-primary-default
    @@ -1442,14 +1380,14 @@
    Success-Secondary-Default
    Light:
    -
    alias: Green/200
    +
    alias: Green/200
    Dark:
    -
    alias: Green/300
    +
    alias: Green/300
    -
    Token: --prizm-v3-status-success-secondary-default
    +
    Token: --prizm-v3-status-success-secondary-default
    @@ -1460,14 +1398,14 @@
    Success-Primary-Default
    Light:
    -
    alias: Green/600
    +
    alias: Green/600
    Dark:
    -
    alias: Green/600
    +
    alias: Green/600
    -
    Token: --prizm-v3-status-success-primary-default
    +
    Token: --prizm-v3-status-success-primary-default
    @@ -1478,14 +1416,14 @@
    None-Secondary-Default
    Light:
    -
    alias: Gray/200
    +
    alias: Gray/200
    Dark:
    -
    alias: Gray/300
    +
    alias: Gray/300
    -
    Token: --prizm-v3-status-none-secondary-default
    +
    Token: --prizm-v3-status-none-secondary-default
    @@ -1496,14 +1434,14 @@
    None-Primary-Default
    Light:
    -
    alias: Gray/600
    +
    alias: Gray/600
    Dark:
    -
    alias: Gray/600
    +
    alias: Gray/600
    -
    Token: --prizm-v3-status-none-primary-default
    +
    Token: --prizm-v3-status-none-primary-default
    @@ -1514,14 +1452,14 @@
    Info-Secondary-Default
    Light:
    -
    alias: Blue/200
    +
    alias: Blue/200
    Dark:
    -
    alias: Blue/300
    +
    alias: Blue/300
    -
    Token: --prizm-v3-status-info-secondary-default
    +
    Token: --prizm-v3-status-info-secondary-default
    @@ -1532,14 +1470,14 @@
    Info-Primary-Default
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/600
    +
    alias: Blue/600
    -
    Token: --prizm-v3-status-info-primary-default
    +
    Token: --prizm-v3-status-info-primary-default
    @@ -1555,14 +1493,14 @@
    Prognosis
    Light:
    -
    alias: Gray/600
    +
    alias: Gray/600
    Dark:
    -
    alias: Gray/600
    +
    alias: Gray/600
    -
    Token: --prizm-v3-index-prognosis
    +
    Token: --prizm-v3-index-prognosis
    @@ -1573,84 +1511,22 @@
    Fact
    Light:
    -
    - #20222b -
    +
    #20222b
    Dark:
    -
    - #ffffff -
    +
    #ffffff
    -
    Token: --prizm-v3-index-fact
    +
    Token: --prizm-v3-index-fact
    -
    +
    Light:
    -
    - rgb(32,34,43) -
    -
    -
    +
    rgb(32,34,43)
    +
    +
    Dark:
    -
    - rgb(255,255,255) -
    +
    rgb(255,255,255)
    @@ -1661,84 +1537,22 @@
    Plan
    Light:
    -
    - #0033ff -
    +
    #0033ff
    Dark:
    -
    - #4075ff -
    +
    #4075ff
    -
    Token: --prizm-v3-index-plan
    +
    Token: --prizm-v3-index-plan
    -
    +
    Light:
    -
    - rgb(0,51,255) -
    -
    -
    +
    rgb(0,51,255)
    +
    +
    Dark:
    -
    - rgb(64,117,255) -
    +
    rgb(64,117,255)
    @@ -1760,84 +1574,22 @@
    Axis-Area-Active
    Light:
    -
    - #436cee33 -
    +
    #436cee33
    Dark:
    -
    - #436cee33 -
    +
    #436cee33
    -
    Token: --prizm-v3-chart-axis-area-active
    +
    Token: --prizm-v3-chart-axis-area-active
    -
    +
    Light:
    -
    - rgba(67,108,238,0.2) -
    -
    -
    +
    rgba(67,108,238,0.2)
    +
    +
    Dark:
    -
    - rgba(67,108,238,0.2) -
    +
    rgba(67,108,238,0.2)
    @@ -1848,14 +1600,14 @@
    Axis-Line-Active
    Light:
    -
    alias: Blue/600
    +
    alias: Blue/600
    Dark:
    -
    alias: Blue/600
    +
    alias: Blue/600
    -
    Token: --prizm-v3-chart-axis-line-active
    +
    Token: --prizm-v3-chart-axis-line-active
    @@ -1866,14 +1618,14 @@
    Axis-Line-Hover
    Light:
    -
    alias: 1200
    +
    alias: 1200
    Dark:
    -
    alias: 1200
    +
    alias: 1200
    -
    Token: --prizm-v3-chart-axis-line-hover
    +
    Token: --prizm-v3-chart-axis-line-hover
    @@ -1894,84 +1646,22 @@
    Axis-Area-Hover
    Light:
    -
    - #8a91a233 -
    +
    #8a91a233
    Dark:
    -
    - #8a91a233 -
    +
    #8a91a233
    -
    Token: --prizm-v3-chart-axis-area-hover
    +
    Token: --prizm-v3-chart-axis-area-hover
    -
    +
    Light:
    -
    - rgba(138,145,162,0.2) -
    -
    -
    +
    rgba(138,145,162,0.2)
    +
    +
    Dark:
    -
    - rgba(138,145,162,0.2) -
    +
    rgba(138,145,162,0.2)
    @@ -1992,84 +1682,22 @@
    Fill-Blanket
    Light:
    -
    - #8a91a233 -
    +
    #8a91a233
    Dark:
    -
    - #8a91a233 -
    +
    #8a91a233
    -
    Token: --prizm-v3-chart-fill-blanket
    +
    Token: --prizm-v3-chart-fill-blanket
    -
    +
    Light:
    -
    - rgba(138,145,162,0.2) -
    -
    -
    +
    rgba(138,145,162,0.2)
    +
    +
    Dark:
    -
    - rgba(138,145,162,0.2) -
    +
    rgba(138,145,162,0.2)
    @@ -2080,14 +1708,45 @@
    Axis-Default
    Light:
    -
    alias: Gray/300
    +
    alias: Gray/300
    +
    +
    +
    Dark:
    +
    alias: Gray/300
    +
    +
    +
    Token: --prizm-v3-chart-axis-default
    +
    +
    +
    +
    +
    +
    Shadow
    +
    +
    +
    +
    +
    +
    +
    Shadow color
    +
    +
    Light:
    +
    rgba(191, 198, 215, 0.5)
    Dark:
    -
    alias: Gray/300
    +
    rgba(0, 0, 0, 0.5)
    -
    Token: --prizm-v3-chart-axis-default
    +
    Token: --prizm-v3-shadow-color
    diff --git a/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts b/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts index 04fab242fe..83cb220b8a 100644 --- a/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts +++ b/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts @@ -459,6 +459,52 @@ export class ThemeForDesignersComponent { description: 'Заблокированная кнопка', variable: '--prizm-v3-button-disable', }, + { + groupName: 'Shadow', + name: 'Shadow', + description: 'Цвет теней', + variable: '--prizm-v3-shadow-color', + }, + { + name: 'Shadow-Big-Top', + description: 'Большая тень сверху', + variable: '--prizm-v3-shadow-big-top', + }, + { + name: 'Shadow-Big-Right', + description: 'Большая тень справа', + variable: '--prizm-v3-shadow-big-right', + }, + { + name: 'Shadow-Big-Left', + description: 'Большая тень слева', + variable: '--prizm-v3-shadow-big-left', + }, + { + name: 'Shadow-Big-Bottom', + description: 'Большая тень снизу', + variable: '--prizm-v3-shadow-big-bottom', + }, + { + name: 'Shadow-Mini-Top', + description: 'Маленькая тень сверху', + variable: '--prizm-v3-shadow-mini-top', + }, + { + name: 'Shadow-Mini-Right', + description: 'Маленькая тень справа', + variable: '--prizm-v3-shadow-mini-righ', + }, + { + name: 'Shadow-Mini-Left', + description: 'Маленькая тень слева', + variable: '--prizm-v3-shadow-mini-left', + }, + { + name: 'Shadow-Mini-Bottom', + description: 'Маленькая тень снизу', + variable: '--prizm-v3-shadow-mini-bottom', + }, ]; constructor( From f81e99c7893683dbfacd337fa5deb1f41df3e852 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 28 Feb 2024 22:24:20 +0300 Subject: [PATCH 056/291] feat: change focus to focus-visible for radiobtn, checkbox, breadcrumbs #1297 --- .../lib/components/breadcrumbs/breadcrumbs.component.less | 6 +++--- .../src/lib/components/checkbox/checkbox.component.less | 2 +- .../lib/components/radio/prizm-radio-button.component.less | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.less b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.less index 6be76d3a89..d3d6429459 100644 --- a/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.less +++ b/libs/components/src/lib/components/breadcrumbs/breadcrumbs.component.less @@ -53,7 +53,7 @@ span { &__dots button { &:hover, - &:focus { + &:focus-visible { color: var(--prizm-v3-button-primary-solid-hover); } } @@ -105,7 +105,7 @@ span { } } - &:focus:not(.breadcrumb_active) { + &:focus-visible:not(.breadcrumb_active) { border-color: var(--prizm-v3-background-stroke-focus); } } @@ -155,7 +155,7 @@ span { } &:hover, - &:focus { + &:focus-visible { background: var(--prizm-v3-table-fill-row-hover); } } diff --git a/libs/components/src/lib/components/checkbox/checkbox.component.less b/libs/components/src/lib/components/checkbox/checkbox.component.less index 171ad2388f..15cbcbc8d3 100644 --- a/libs/components/src/lib/components/checkbox/checkbox.component.less +++ b/libs/components/src/lib/components/checkbox/checkbox.component.less @@ -118,7 +118,7 @@ } } -:host:focus { +:host:focus-visible { .checkbox { box-shadow: 0 0 0 2px var(--prizm-v3-background-stroke-focus); diff --git a/libs/components/src/lib/components/radio/prizm-radio-button.component.less b/libs/components/src/lib/components/radio/prizm-radio-button.component.less index bad342e1c3..bd44dab2ff 100644 --- a/libs/components/src/lib/components/radio/prizm-radio-button.component.less +++ b/libs/components/src/lib/components/radio/prizm-radio-button.component.less @@ -65,7 +65,7 @@ prizm-radio-button { cursor: pointer; - &:focus + .radio-button { + &:focus-visible + .radio-button { box-shadow: 0 0 0 2px var(--prizm-v3-background-stroke-focus); transition: 0.3s; } @@ -81,7 +81,7 @@ prizm-radio-button { } } - &:not(:checked):focus + .radio-button { + &:not(:checked):focus-visible + .radio-button { border-color: var(--prizm-v3-form-stroke-default); } From a6f1c648202c9696b23fc383d6314bfeaad2b432 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 29 Feb 2024 10:51:36 +0300 Subject: [PATCH 057/291] feat: change focus to focus visible to chips item and input icon btn --- .../lib/components/chips/chips-item/chips-item.component.less | 4 ++-- .../common/input-icon-button/input-icon-button.component.less | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/components/src/lib/components/chips/chips-item/chips-item.component.less b/libs/components/src/lib/components/chips/chips-item/chips-item.component.less index 71b8b1bd04..5fcfbc02a1 100644 --- a/libs/components/src/lib/components/chips/chips-item/chips-item.component.less +++ b/libs/components/src/lib/components/chips/chips-item/chips-item.component.less @@ -33,7 +33,7 @@ button { &:not(:disabled) { &:hover, - &:focus { + &:focus-visible { outline: var(--prizm-v3-background-stroke-focus) 1px solid; } } @@ -55,7 +55,7 @@ button { font-size: 16px; color: var(--prizm-v3-status-none-primary-default); - &:focus { + &:focus-visible { color: var(--prizm-v3-background-stroke-focus); } } diff --git a/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less b/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less index 1c19bac1af..e9bc5f9eaa 100644 --- a/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less +++ b/libs/components/src/lib/components/input/common/input-icon-button/input-icon-button.component.less @@ -26,7 +26,7 @@ color: var(--prizm-v3-button-primary-solid-hover); } - &:focus { + &:focus-visible { color: var(--prizm-v3-button-primary-solid-hover); } From 033efc1927da1f395cc5dd4d01ac84612b4a709c Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Thu, 29 Feb 2024 14:26:49 +0300 Subject: [PATCH 058/291] fix(chore): stacblitz for v3 #1209 --- libs/components/src/styles/icons-16/icons-16.less | 4 ++-- libs/components/src/styles/icons/icons.less | 4 ++-- libs/components/src/styles/skeleton/skeleton.less | 2 +- libs/components/src/styles/styles.less | 6 +++--- libs/theme/src/styles/theme/v3/index.less | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libs/components/src/styles/icons-16/icons-16.less b/libs/components/src/styles/icons-16/icons-16.less index 8b3ddfcf31..e48a859acd 100644 --- a/libs/components/src/styles/icons-16/icons-16.less +++ b/libs/components/src/styles/icons-16/icons-16.less @@ -1,2 +1,2 @@ -@import './location'; -@import './set'; +@import './location.less'; +@import './set.less'; diff --git a/libs/components/src/styles/icons/icons.less b/libs/components/src/styles/icons/icons.less index 8b3ddfcf31..e48a859acd 100644 --- a/libs/components/src/styles/icons/icons.less +++ b/libs/components/src/styles/icons/icons.less @@ -1,2 +1,2 @@ -@import './location'; -@import './set'; +@import './location.less'; +@import './set.less'; diff --git a/libs/components/src/styles/skeleton/skeleton.less b/libs/components/src/styles/skeleton/skeleton.less index bc33e165b1..ee5c0f7045 100644 --- a/libs/components/src/styles/skeleton/skeleton.less +++ b/libs/components/src/styles/skeleton/skeleton.less @@ -1,4 +1,4 @@ -@import '../mixins/mixins'; +@import '../mixins/mixins.less'; .prizm-skeleton { position: relative; diff --git a/libs/components/src/styles/styles.less b/libs/components/src/styles/styles.less index 538b486ff3..fb220c9798 100644 --- a/libs/components/src/styles/styles.less +++ b/libs/components/src/styles/styles.less @@ -1,6 +1,6 @@ -@import 'dropdown-host'; -@import 'skeleton/skeleton'; -@import 'animations'; +@import 'dropdown-host.less'; +@import 'skeleton/skeleton.less'; +@import 'animations.less'; * { box-sizing: border-box; diff --git a/libs/theme/src/styles/theme/v3/index.less b/libs/theme/src/styles/theme/v3/index.less index 0635907662..b102f396d2 100644 --- a/libs/theme/src/styles/theme/v3/index.less +++ b/libs/theme/src/styles/theme/v3/index.less @@ -1,8 +1,8 @@ -@import './palette'; -@import './default'; -@import './default-palette'; -@import './dark'; -@import './dark-palette'; +@import './palette.less'; +@import './default.less'; +@import './default-palette.less'; +@import './dark.less'; +@import './dark-palette.less'; :root { .prizmV3Palette(); From cfbbcfcc5f35cce51792dcbdafef69aebe35ddd7 Mon Sep 17 00:00:00 2001 From: ickisIckis Date: Thu, 29 Feb 2024 16:17:30 +0300 Subject: [PATCH 059/291] Update apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts Co-authored-by: alexhawkins94 <122870313+alexhawkins94@users.noreply.github.com> --- .../theme-for-designers/theme-for-designers.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts b/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts index 83cb220b8a..4f5392b133 100644 --- a/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts +++ b/apps/doc/src/app/guidelines/theme/components/theme-for-designers/theme-for-designers.component.ts @@ -493,7 +493,7 @@ export class ThemeForDesignersComponent { { name: 'Shadow-Mini-Right', description: 'Маленькая тень справа', - variable: '--prizm-v3-shadow-mini-righ', + variable: '--prizm-v3-shadow-mini-right', }, { name: 'Shadow-Mini-Left', From 43808eb4113d7507cd3a7297c7c552187af8853c Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:33:51 +0300 Subject: [PATCH 060/291] fix(components/input-date-time-range): afte clear time values in calendar got error #1368 --- .../input-layout-date-time-range.component.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts index 46578e9504..761e6d5d25 100644 --- a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts +++ b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts @@ -517,7 +517,7 @@ export class PrizmInputLayoutDateTimeRangeComponent } public updateTimeTo(value: PrizmTime): void { - // TODO: #mz add min max + // TODO: feature > safe add min max limiter if ( value && this.value?.timeRange?.to instanceof PrizmTime && @@ -529,16 +529,14 @@ export class PrizmInputLayoutDateTimeRangeComponent } public updateTimeFrom(value: PrizmTime): void { - // TODO: #mz add min max + // TODO: feature > safe add min max limiter if ( value && this.value?.timeRange?.from instanceof PrizmTime && this.value?.timeRange?.from?.isSameTime(value) ) return; - // const range = PrizmDateTimeRange.safeUpdateTimeFrom(this.value, value); - // this.updateValue(range?.copy()); - this.nativeValueTimeFrom$$.next(value.toString(this.timeMode)); + this.nativeValueTimeFrom$$.next(value?.toString(this.timeMode) ?? ''); } public referFocusToMain(referFocus = true) { From 3d913d5135048319e2aee8938f94c30730a15911 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:01:00 +0300 Subject: [PATCH 061/291] fix: small bugs --- .../input-layout-date-time-range.component.ts | 2 +- .../input-layout-date-time-range.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/doc/src/app/components/input/input-layout-date-time-range/input-layout-date-time-range.component.ts b/apps/doc/src/app/components/input/input-layout-date-time-range/input-layout-date-time-range.component.ts index d5a6ac5d7c..1b50c152e6 100644 --- a/apps/doc/src/app/components/input/input-layout-date-time-range/input-layout-date-time-range.component.ts +++ b/apps/doc/src/app/components/input/input-layout-date-time-range/input-layout-date-time-range.component.ts @@ -36,7 +36,7 @@ export class InputLayoutDateTimeRangeComponent { new PrizmDateTimeRange(new PrizmDayRange(new PrizmDay(2018, 2, 10), new PrizmDay(2018, 2, 10))) ); readonly min = new PrizmDateTime(new PrizmDay(2000, 2, 20), new PrizmTime(0, 0)); - readonly max = new PrizmDateTime(new PrizmDay(2040, 2, 20), new PrizmTime(0, 0)); + readonly max = new PrizmDateTime(new PrizmDay(2040, 2, 20), new PrizmTime(23, 59)); public placeholder = 'Выберите период'; public testIdPostfix!: string; public sizeVariants: ReadonlyArray = ['l', 'm', 's']; diff --git a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts index 761e6d5d25..2e4bf239e5 100644 --- a/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts +++ b/libs/components/src/lib/components/input/input-date-time-range/input-layout-date-time-range.component.ts @@ -369,10 +369,10 @@ export class PrizmInputLayoutDateTimeRangeComponent if (!toTimeValue || toTimeValue.length !== this.computedTimeMask.length) return; if ( - fromValue === this.value?.dayRange?.from.toString() && - fromTimeValue === this.value?.timeRange?.from.toString(this.timeMode) && - toValue === this.value?.dayRange?.to.toString() && - toTimeValue === this.value?.timeRange?.to.toString(this.timeMode) + fromValue === this.value?.dayRange?.from?.toString() && + fromTimeValue === this.value?.timeRange?.from?.toString(this.timeMode) && + toValue === this.value?.dayRange?.to?.toString() && + toTimeValue === this.value?.timeRange?.to?.toString(this.timeMode) ) { return; } From 48d01c11f8f03094bfd22f619e7b0bd00d2f17c5 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:17:43 +0300 Subject: [PATCH 062/291] fix(components/input-date-time): min/max does not work correctly in InputLayoutDateTime #1421 --- .../src/lib/@core/date-time/index.ts | 1 + .../src/lib/@core/date-time/time-limit.ts | 42 +++++++++++++++++++ .../src/lib/@core/date-time/time.ts | 1 + .../input-layout-date-time.component.ts | 24 ++++++----- 4 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 libs/components/src/lib/@core/date-time/time-limit.ts diff --git a/libs/components/src/lib/@core/date-time/index.ts b/libs/components/src/lib/@core/date-time/index.ts index fdb6531738..85723fa8a0 100644 --- a/libs/components/src/lib/@core/date-time/index.ts +++ b/libs/components/src/lib/@core/date-time/index.ts @@ -14,3 +14,4 @@ export * from './time'; export * from './time-range'; export * from './year'; export * from './day-time-range'; +export * from './time-limit'; diff --git a/libs/components/src/lib/@core/date-time/time-limit.ts b/libs/components/src/lib/@core/date-time/time-limit.ts new file mode 100644 index 0000000000..e67bfbb229 --- /dev/null +++ b/libs/components/src/lib/@core/date-time/time-limit.ts @@ -0,0 +1,42 @@ +import { PrizmDay } from './day'; +import { PrizmTime } from './time'; + +export function prizmTimeLimitWithinRange( + date: PrizmDay, + time: PrizmTime | null, + dateMin: PrizmDay, + dateMax: PrizmDay, + timeMin: PrizmTime | null = null, + timeMax: PrizmTime | null = null +) { + if (!date || !time || (!timeMin && !timeMax)) { + return time; + } + + time = handleTimeLimit(date, time, dateMin, timeMin); + time = handleTimeLimit(date, time, dateMax, timeMax, false); + + return time; +} + +export const handleTimeLimit = ( + date: PrizmDay, + time: PrizmTime, + limitDate: PrizmDay, + limitTime: PrizmTime | null, + isMin: boolean = true +) => { + if (!limitTime || !limitDate || !limitDate.daySame(date)) { + return time; + } + + const shouldSetTime = isMin + ? limitTime.toAbsoluteMilliseconds() > time.toAbsoluteMilliseconds() + : limitTime.toAbsoluteMilliseconds() < time.toAbsoluteMilliseconds(); + + if (shouldSetTime) { + time = time.timeLimit(isMin ? limitTime : null, isMin ? null : limitTime); + } + + return time; +}; diff --git a/libs/components/src/lib/@core/date-time/time.ts b/libs/components/src/lib/@core/date-time/time.ts index 311586d7e3..6d61cc5ad5 100644 --- a/libs/components/src/lib/@core/date-time/time.ts +++ b/libs/components/src/lib/@core/date-time/time.ts @@ -10,6 +10,7 @@ import { PRIZM_SECONDS_IN_MINUTE, } from './date-time'; import { prizmAssert, prizmPadStart } from '@prizm-ui/core'; +import { PrizmDay } from './day'; /** * Immutable time object with hours, minutes, seconds and ms diff --git a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts index dd0296afff..50829aa049 100644 --- a/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts +++ b/libs/components/src/lib/components/input/input-date-time/input-layout-date-time.component.ts @@ -59,6 +59,7 @@ import { PrizmLinkComponent } from '../../link'; import { PrizmValueAccessorModule } from '../../../directives/value-accessor/value-accessor.module'; import { PrizmListingItemComponent } from '../../listing-item'; import { PrizmLanguageInputLayoutDateTime } from '@prizm-ui/i18n'; +import { prizmTimeLimitWithinRange } from '../../../@core/date-time/time-limit'; @Component({ selector: `prizm-input-layout-date-time`, @@ -324,18 +325,14 @@ export class PrizmInputLayoutDateTimeComponent private updateWithCorrectDateAndTime(value: [PrizmDay | null, PrizmTime | null]): void { if (!value) return; let [date, time] = value; + + const dateMin = this.min instanceof PrizmDay ? this.min : this.min && this.min[0]; + const dateMax = this.max instanceof PrizmDay ? this.max : this.max && this.max[0]; + // correct min max time - if (date) - date = date.dayLimit( - this.min instanceof PrizmDay ? this.min : this.min && this.min[0], - this.max instanceof PrizmDay ? this.max : this.max && this.max[0] - ); + if (date) date = date.dayLimit(dateMin, dateMax); - const timeMin = Array.isArray(this.min) && this.min[1] ? this.min[1] : null; - const timeMax = Array.isArray(this.max) && this.max[1] ? this.max[1] : null; - if (time && (timeMin || timeMax)) { - time = time.timeLimit(timeMin, timeMax); - } + if (date) time = this.limitTime(date, time, dateMin, dateMax); this.focusableElement?.updateNativeValues({ idx: 0, @@ -351,6 +348,13 @@ export class PrizmInputLayoutDateTimeComponent this.updateValue([date, time]); } + private limitTime(date: PrizmDay, time: PrizmTime | null, dateMin: PrizmDay, dateMax: PrizmDay) { + const timeMin = Array.isArray(this.min) && this.min[1] ? this.min[1] : null; + const timeMax = Array.isArray(this.max) && this.max[1] ? this.max[1] : null; + + return prizmTimeLimitWithinRange(date, time, dateMin, dateMax, timeMin, timeMax); + } + public onTimeValueChange(value: string): void { if (value === this.computedTimeValue()) return; this.nativeValue$$.next([this.nativeValue$$.value[0], value]); From b37111185c99e802bc26fadeed0ca4b8ca3cfb76 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 11 Mar 2024 17:24:58 +0300 Subject: [PATCH 063/291] feat: change focus to focus visible to slider cnob --- .../src/lib/components/slider/slider-cnob.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/slider/slider-cnob.component.less b/libs/components/src/lib/components/slider/slider-cnob.component.less index 0da8be7a9f..4754c07c7f 100644 --- a/libs/components/src/lib/components/slider/slider-cnob.component.less +++ b/libs/components/src/lib/components/slider/slider-cnob.component.less @@ -26,7 +26,7 @@ background-color: var(--prizm-v3-button-primary-solid-hover); } - &:focus { + &:focus-visible { z-index: 1000; &::before { visibility: visible; From 402cc27fd9c135c1d46e456f5aa18cfff98ae28b Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 11 Mar 2024 17:44:00 +0300 Subject: [PATCH 064/291] feat: change focus to focus visible to stepper button --- .../src/lib/components/stepper/stepper-selector.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/stepper/stepper-selector.component.less b/libs/components/src/lib/components/stepper/stepper-selector.component.less index b9665d992a..30f9f8985b 100644 --- a/libs/components/src/lib/components/stepper/stepper-selector.component.less +++ b/libs/components/src/lib/components/stepper/stepper-selector.component.less @@ -11,7 +11,7 @@ } .step { - &:focus { + &:focus-visible { .step__index, .step__icon { box-shadow: 0 0 0 2px var(--prizm-v3-background-stroke-focus); From 759b555c82f910d0c698b708127674a38b094a2f Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 11 Mar 2024 17:52:27 +0300 Subject: [PATCH 065/291] feat: change focus to focus visible to toggle --- libs/components/src/lib/components/toggle/toggle.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/toggle/toggle.component.less b/libs/components/src/lib/components/toggle/toggle.component.less index b04b347418..e92e09b2b8 100644 --- a/libs/components/src/lib/components/toggle/toggle.component.less +++ b/libs/components/src/lib/components/toggle/toggle.component.less @@ -30,7 +30,7 @@ } } - &:focus-within:not(._disabled) { + &:has(:focus-visible):not(._disabled) { box-shadow: 0 0 0 2px var(--prizm-v3-background-stroke-focus); transition: 0.3s; } From 9690557c6a59c696d8c66ec5b1965f3a1b238ad1 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 11 Mar 2024 18:36:26 +0300 Subject: [PATCH 066/291] feat: change focus to focus visible to buttons --- libs/components/src/lib/components/button/button.component.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/button/button.component.less b/libs/components/src/lib/components/button/button.component.less index 093d071879..1918640f40 100644 --- a/libs/components/src/lib/components/button/button.component.less +++ b/libs/components/src/lib/components/button/button.component.less @@ -13,7 +13,7 @@ // TODO 4.0.0: set default min-width 120px according to prizm button component description min-width: var(--prizm-button-min-width, unset); - &._focused { + &._focus-visible { box-shadow: 0 0 0 2px var(--prizm-v3-background-stroke-focus); transition: 0.3s; } From d9a7d2c89dcfcd68c472e835b8094486b896671a Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 14 Mar 2024 12:57:33 +0300 Subject: [PATCH 067/291] fix: calendar and calendar month markup change #1242 --- .../calendar-month.component.less | 17 +++++++------ .../calendar/calendar.component.less | 24 +++++++------------ .../primitive-calendar.component.less | 8 +++++-- .../primitive-month-picker.component.less | 21 ++++------------ .../primitive-month-picker.module.ts | 7 ------ .../primitive-year-picker.component.less | 19 +++++---------- libs/components/src/styles/mixins/picker.less | 17 ++++++++----- 7 files changed, 44 insertions(+), 69 deletions(-) diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.less b/libs/components/src/lib/components/calendar-month/calendar-month.component.less index e2bbacf6dc..df590c4bf5 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.less +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.less @@ -1,12 +1,15 @@ @import '../../../styles/ui-local.less'; -.picker(3.6875rem); +@itemWidth: 85px; +@itemHeight: 45px; + +.picker(@itemWidth, @itemHeight); :host { display: block; - height: 13.625rem; - width: 15.75rem; - padding: 1.125rem; + height: 222px; + width: 256px; + padding: 16px; box-sizing: content-box; .year-btn { @@ -16,16 +19,12 @@ .z-row { flex-wrap: wrap; - margin-top: 1.4375rem; + justify-content: center; } .z-cell { box-sizing: content-box; - &:nth-child(n + 5) { - margin-top: 1.75rem; - } - &:not([data-range='start']):not([data-range='single']):not([data-range='end']):hover { background-color: var(--prizm-v3-button-ghost-hover); diff --git a/libs/components/src/lib/components/calendar/calendar.component.less b/libs/components/src/lib/components/calendar/calendar.component.less index 51e1781ef9..941a02a0e2 100644 --- a/libs/components/src/lib/components/calendar/calendar.component.less +++ b/libs/components/src/lib/components/calendar/calendar.component.less @@ -1,23 +1,17 @@ -@verticalSpace: 1rem; -@horizontalSpace: 1.125rem; -@itemSize: 2.25rem; -@paginationSize: 1.5rem; -@calendarSize: @itemSize * 7; -@height: @paginationSize + @verticalSpace + @calendarSize; +@paddings: 16px; +@paginationHeight: 40px; +@calendarWidth: 280px; +@calendarHeight: 312px + @paginationHeight; :host { display: block; - height: calc(@height + var(--prizm-calendar-footer-height, 0)); - width: @calendarSize; - padding: 16px; + height: calc(@calendarHeight + var(--prizm-calendar-footer-height, 0)); + width: @calendarWidth; + padding: @paddings; box-sizing: content-box; } .z-scrollbar { - height: @paginationSize + @verticalSpace + @calendarSize - 2rem; - width: @calendarSize + @horizontalSpace; -} - -.z-pagination { - margin-bottom: @verticalSpace; + height: @calendarHeight - @paginationHeight - (@paddings * 2); + width: @calendarWidth + @paddings; } diff --git a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less index c5dc62e132..2d5658399c 100644 --- a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less +++ b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less @@ -1,11 +1,15 @@ @import '../../../../styles/ui-local.less'; -@itemSize: 2.25rem; +@itemSize: 40px; -.picker(@itemSize); +.picker(@itemSize, @itemSize); :host { width: @itemSize * 7; + + .footer:not(:empty) { + margin-top: 8px; + } } .z-item { diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.less b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.less index a5c4b996b9..db470b58b0 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.less +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.less @@ -1,27 +1,14 @@ @import '../../../../styles/ui-local.less'; -@itemSize: 3.9375rem; +@itemWidth: 93px; +@itemHeight: 70px; -.picker(@itemSize); +.picker(@itemWidth, @itemHeight); :host { - width: @itemSize * 4; -} - -.z-row { - margin: 16px 0; - gap: 4px; - - &:first-child { - margin-top: 0; - } - - &:last-child { - margin-bottom: 0; - } + width: 280px; } .z-cell { flex-grow: 1; - width: 100%; } diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.module.ts b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.module.ts index db6d5031f5..6504db43b3 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.module.ts +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.module.ts @@ -1,12 +1,5 @@ import { NgModule } from '@angular/core'; import { PrizmPrimitiveMonthPickerComponent } from './primitive-month-picker.component'; -import { PrizmLetModule } from '@prizm-ui/helpers'; -import { PrizmRepeatTimesModule } from '../../../directives/repeat-times/repeat-times.module'; -import { PrizmHoveredModule } from '../../../directives/hovered/hovered.module'; -import { PrizmPressedModule } from '../../../directives/pressed/pressed.module'; -import { PrizmScrollIntoViewModule } from '../../../directives/scroll-into-view/scroll-into-view.module'; -import { PrizmMonthPipeModule } from '../../../pipes/month'; -import { CommonModule } from '@angular/common'; /** * @deprecated diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less index 0e840181af..ab9508f175 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less @@ -1,21 +1,14 @@ @import '../../../../styles/ui-local.less'; -@itemSize: 3.9375rem; +@itemWidth: 93px; +@itemHeight: 56px; -.picker(@itemSize); +.picker(@itemWidth, @itemHeight); :host { - width: @itemSize * 4; + width: 280px; } -.z-row { - margin: 0.875rem 0; - - &:first-child { - margin-top: 0; - } - - &:last-child { - margin-bottom: 0; - } +.z-cell { + flex-grow: 1; } diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index bc4a6e220a..98170baf5d 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -1,4 +1,4 @@ -.picker(@itemSize) { +.picker(@itemWidth, @itemHeight) { :host { display: block; font: var(--prizm-font-text-m); @@ -8,13 +8,17 @@ .createStackingContext(); display: flex; justify-content: space-between; - height: 2.25rem; + height: @itemHeight; } .z-item { + display: flex; + align-items: center; + justify-content: center; position: relative; flex: 1; - line-height: 2rem; + // height: 100%; + height: @itemHeight; border-radius: 2px; color: var(--prizm-v3-text-icon-secondary); font-weight: 600; @@ -37,13 +41,12 @@ display: flex; align-items: center; justify-content: center; - width: @itemSize; + width: @itemWidth; text-align: center; outline: none; cursor: pointer; background-clip: content-box; box-sizing: border-box; - border: 2px solid transparent; &_today { border-radius: 2px; @@ -59,6 +62,8 @@ .z-item { border: 1px solid var(--prizm-v3-button-primary-solid-default); color: var(--prizm-v3-button-primary-solid-default); + // height: @itemHeight; + width: @itemWidth; &_unavailable { color: var(--prizm-v3-text-icon-disable); @@ -87,7 +92,7 @@ } &:not(:last-child):before { - right: -@itemSize; + // right: -@itemWidth; } &:last-child:first-child:before { From 356e78b5901f87aa24c31b216a79cf482ffc2273 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 14 Mar 2024 14:20:51 +0300 Subject: [PATCH 068/291] fix: replace title by hint in year spin button #1457 --- .../examples/base/calendar-base-example.component.ts | 2 +- .../components/calendar-month/calendar-month.component.less | 6 ------ .../primitive-calendar/primitive-calendar.component.less | 1 - .../primitive-spin-button/primitive-spin-button.module.ts | 2 ++ .../primitive-spin-button.template.html | 4 ++-- libs/components/src/styles/mixins/picker.less | 4 ---- 6 files changed, 5 insertions(+), 14 deletions(-) diff --git a/apps/doc/src/app/components/calendars/calendar/examples/base/calendar-base-example.component.ts b/apps/doc/src/app/components/calendars/calendar/examples/base/calendar-base-example.component.ts index 990b7bfa75..f70201ac7a 100644 --- a/apps/doc/src/app/components/calendars/calendar/examples/base/calendar-base-example.component.ts +++ b/apps/doc/src/app/components/calendars/calendar/examples/base/calendar-base-example.component.ts @@ -16,7 +16,7 @@ import { PrizmDay, PrizmDayWithStatus } from '@prizm-ui/components'; export class PrizmCalendarBaseExampleComponent { public day = new PrizmDay(2017, 0, 15); public daysWithStatus = [ - new PrizmDayWithStatus(2017, 0, 10, 'index'), + new PrizmDayWithStatus(2017, 0, 1, 'index'), new PrizmDayWithStatus(2017, 0, 11, 'warning'), new PrizmDayWithStatus(2017, 0, 12, 'danger'), new PrizmDayWithStatus(2017, 0, 13, 'success'), diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.less b/libs/components/src/lib/components/calendar-month/calendar-month.component.less index df590c4bf5..94b9300969 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.less +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.less @@ -34,12 +34,6 @@ } } -.z-cell_interval:nth-child(4n) { - &:before { - right: 0; - } -} - .z-scrollbar { height: inherit; width: inherit; diff --git a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less index 2d5658399c..176998542c 100644 --- a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less +++ b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less @@ -67,7 +67,6 @@ height: 4px; width: 50%; bottom: 4px; - transform: translateX(50%); border-radius: 2px; background-color: var(--prizm-status-day-color); diff --git a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.module.ts b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.module.ts index 1d00efa667..e2192d31e4 100644 --- a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.module.ts +++ b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.module.ts @@ -4,6 +4,7 @@ import { PrizmFocusableModule, PrizmFocusedModule, PrizmFocusVisibleModule, + PrizmHintDirective, PrizmPreventDefaultModule, } from '../../../directives'; import { PrizmButtonModule } from '../../button/button.module'; @@ -18,6 +19,7 @@ import { PrizmPrimitiveSpinButtonComponent } from './primitive-spin-button.compo PrizmFocusableModule, PrizmPreventDefaultModule, PrizmButtonModule, + PrizmHintDirective, ], declarations: [PrizmPrimitiveSpinButtonComponent], exports: [PrizmPrimitiveSpinButtonComponent], diff --git a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html index eb4e7e54e8..744370bfbd 100644 --- a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html +++ b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html @@ -19,7 +19,7 @@ icon="arrows-chevron-left" appearance="secondary" [class.z-arrow_hidden]="leftComputedDisabled" - [title]="texts[0]" + [prizmHint]="texts[0]" [focusable]="false" (click)="onLeftClick()" > @@ -36,7 +36,7 @@ icon="arrows-chevron-right" [appearanceType]="mode" [class.z-arrow_hidden]="rightComputedDisabled" - [title]="texts[1]" + [prizmHint]="texts[1]" [focusable]="false" (click)="onRightClick()" > diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index 98170baf5d..93535db529 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -91,10 +91,6 @@ } } - &:not(:last-child):before { - // right: -@itemWidth; - } - &:last-child:first-child:before { right: 0; } From 649b83fdc1cd81b214cb68be1dfa199c7b1fb0e5 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 14 Mar 2024 15:23:47 +0300 Subject: [PATCH 069/291] fix: styles for interval --- libs/components/src/styles/mixins/picker.less | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index 93535db529..0a1b0c3894 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -85,6 +85,7 @@ &_interval { &:before { background: var(--prizm-v3-button-primary-ghost-active); + border-radius: unset; :host._single & { background-color: var(--prizm-v3-button-primary-ghost-active); From d1face17ad035efe0dedf49da80bea609306d51b Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 15 Mar 2024 13:20:00 +0300 Subject: [PATCH 070/291] fix: calendar range should hilight only choosen year and month #1465 --- .../calendar-month.component.html | 4 ++++ .../calendar-month.component.ts | 1 - .../primitive-month-picker.component.ts | 13 +++++++------ .../primitive-year-picker.component.less | 6 +++--- .../primitive-year-picker.component.ts | 19 ++++++++++++------- 5 files changed, 26 insertions(+), 17 deletions(-) diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.html b/libs/components/src/lib/components/calendar-month/calendar-month.component.html index d3ca2afc9e..0fc16adc2b 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.html +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.html @@ -4,6 +4,10 @@ [max]="max" [initialItem]="year" [value]="value" + [intervalSupport]="true" + [style.--prizm-year-item-widtn]="'84px'" + [style.--prizm-year-item-height]="'44px'" + [style.--prizm-year-picker-widtn]="'256px'" (yearClick)="onPickerYearClick($event)" > diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.ts b/libs/components/src/lib/components/calendar-month/calendar-month.component.ts index 7fc5c4af79..8913e7a88b 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.ts +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.ts @@ -28,7 +28,6 @@ import { CommonModule } from '@angular/common'; import { PrizmFocusableModule, PrizmHoveredDirective, - PrizmHoveredModule, PrizmPressedModule, PrizmStopPropagationModule, } from '../../directives'; diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts index 40f9d83158..7e401c0612 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts @@ -133,12 +133,13 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { return value.month === item && value.year === this.currentYear ? PrizmRangeState.Single : null; } - if ( - this.value instanceof PrizmDayRange && - this.value.isMonthInRange(new PrizmMonth(this.currentYear, item)) - ) { - return PrizmRangeState.Single; - } + // TODO finish it after add support intervals or delete + // if ( + // this.value instanceof PrizmDayRange && + // this.value.isMonthInRange(new PrizmMonth(this.currentYear, item)) + // ) { + // return PrizmRangeState.Single; + // } if ( (value.from.month === item && !value.from.monthSame(value.to)) || diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less index ab9508f175..b9917ae7d3 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.less @@ -1,12 +1,12 @@ @import '../../../../styles/ui-local.less'; -@itemWidth: 93px; -@itemHeight: 56px; +@itemWidth: var(--prizm-year-item-widtn, 93px); +@itemHeight: var(--prizm-year-item-height, 56px); .picker(@itemWidth, @itemHeight); :host { - width: 280px; + width: var(--prizm-year-picker-widtn, 280px); } .z-cell { diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts index 4b17f9705c..e398c054ca 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts @@ -59,6 +59,10 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { @prizmDefaultProp() disabledItemHandler: PrizmBooleanHandler = PRIZM_ALWAYS_FALSE_HANDLER; + @Input() + @prizmDefaultProp() + intervalSupport = false; + @Output() readonly yearClick = new EventEmitter(); @@ -131,12 +135,13 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { return value.year === item ? PrizmRangeState.Single : null; } - if ( - (value instanceof PrizmDayRange || value instanceof PrizmMonthRange) && - value.isYearInRange(new PrizmYear(item)) - ) { - return PrizmRangeState.Single; - } + // TODO add after add support intervals or delete + // if ( + // (value instanceof PrizmDayRange || value instanceof PrizmMonthRange) && + // value.isYearInRange(new PrizmYear(item)) + // ) { + // return PrizmRangeState.Single; + // } if ( (value.from.year === item && !value.from.yearSame(value.to)) || @@ -183,7 +188,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { * not support interval * */ public itemIsInterval(item: number): boolean { - return false; + return this.intervalSupport ? this.itemIsIntervalNew(item) : false; } /** From 9dc43fc4aebc9cf32dae866214b5469017958178 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 15 Mar 2024 13:46:01 +0300 Subject: [PATCH 071/291] fix: index marker color blends with the background of the selected date #1461 --- .../primitive-calendar.component.less | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less index 176998542c..05ca2557b1 100644 --- a/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less +++ b/libs/components/src/lib/components/internal/primitive-calendar/primitive-calendar.component.less @@ -92,3 +92,14 @@ ); } } + +[data-range='single']:not([data-state='hovered']) { + .z-status { + &[data-prizm-status='index'] { + background-color: var( + --prizm-calendar-day-status-secondary-default, + var(--prizm-v3-status-info-secondary-default) + ); + } + } +} From eebec1fe5ab7228cf518213fcc2117b3463f28ae Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Fri, 15 Mar 2024 15:10:51 +0300 Subject: [PATCH 072/291] refactor: some commented code removed --- .../primitive-month-picker.component.ts | 8 -------- .../primitive-year-picker.component.ts | 10 +--------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts index 7e401c0612..9f13b2e578 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts @@ -133,14 +133,6 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { return value.month === item && value.year === this.currentYear ? PrizmRangeState.Single : null; } - // TODO finish it after add support intervals or delete - // if ( - // this.value instanceof PrizmDayRange && - // this.value.isMonthInRange(new PrizmMonth(this.currentYear, item)) - // ) { - // return PrizmRangeState.Single; - // } - if ( (value.from.month === item && !value.from.monthSame(value.to)) || (hoveredItem !== null && diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts index e398c054ca..bc1988521d 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts @@ -135,14 +135,6 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { return value.year === item ? PrizmRangeState.Single : null; } - // TODO add after add support intervals or delete - // if ( - // (value instanceof PrizmDayRange || value instanceof PrizmMonthRange) && - // value.isYearInRange(new PrizmYear(item)) - // ) { - // return PrizmRangeState.Single; - // } - if ( (value.from.year === item && !value.from.yearSame(value.to)) || (hoveredItem !== null && @@ -192,7 +184,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { } /** - * TODO with support intervals + * with support intervals * */ public itemIsIntervalNew(item: number): boolean { const { value, hoveredItem } = this; From cbcacc3311f727b9aeecd240f924742f28f92318 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 18 Mar 2024 15:33:20 +0300 Subject: [PATCH 073/291] fix: calendar range year picker and month picker fix --- .../examples/range/range.component.ts | 2 +- .../calendar/calendar.component.html | 9 ++++ .../calendars/calendar/calendar.component.ts | 3 +- .../calendar/calendar.component.html | 2 + .../components/calendar/calendar.component.ts | 6 ++- .../primitive-calendar-range.component.html | 2 + .../primitive-calendar-range.component.ts | 3 ++ .../primitive-month-picker.component.ts | 49 ++++++++++--------- .../primitive-year-picker.component.ts | 22 +++++---- 9 files changed, 63 insertions(+), 35 deletions(-) diff --git a/apps/doc/src/app/components/calendars/calendar-month/examples/range/range.component.ts b/apps/doc/src/app/components/calendars/calendar-month/examples/range/range.component.ts index cd03708509..612748702d 100644 --- a/apps/doc/src/app/components/calendars/calendar-month/examples/range/range.component.ts +++ b/apps/doc/src/app/components/calendars/calendar-month/examples/range/range.component.ts @@ -10,7 +10,7 @@ import { PrizmMonth, PrizmMonthRange } from '@prizm-ui/components'; export class PrizmMonthExample2Component { value: PrizmMonthRange | null = null; - max = new PrizmMonth(2021, 7); + max = new PrizmMonth(2024, 3); min = new PrizmMonth(2019, 7); public onMonthClick(month: PrizmMonth): void { diff --git a/apps/doc/src/app/components/calendars/calendar/calendar.component.html b/apps/doc/src/app/components/calendars/calendar/calendar.component.html index 4cabb88022..a17fce8917 100644 --- a/apps/doc/src/app/components/calendars/calendar/calendar.component.html +++ b/apps/doc/src/app/components/calendars/calendar/calendar.component.html @@ -15,6 +15,7 @@ [prizmDocHostElement]="element" [value]="day" [showAdjacent]="showAdjacent" + [rangeState]="rangeState" (dayClick)="onDayClick($event)" > @@ -99,6 +100,14 @@ Marker Handler + + Range State + + @@ -30,6 +31,7 @@ [initialItem]="$any(clickedMonth)" [value]="value" [currentYear]="month.year" + [rangeState]="rangeState" (monthClick)="onPickerMonthClick($event)" automation-id="prizm-calendar__year" > diff --git a/libs/components/src/lib/components/calendar/calendar.component.ts b/libs/components/src/lib/components/calendar/calendar.component.ts index 5f9a6401fc..e49f07375a 100644 --- a/libs/components/src/lib/components/calendar/calendar.component.ts +++ b/libs/components/src/lib/components/calendar/calendar.component.ts @@ -12,7 +12,7 @@ import { PrizmMapper } from '../../types/mapper'; import { PrizmMarkerHandler } from '../../types/marker-handler'; import { PrizmWithOptionalMinMax } from '../../types/with-optional-min-max'; import { prizmNullableSame } from '../../util/common/nullable-same'; -import { PrizmDayWithStatus } from '../../@core'; +import { PrizmDayWithStatus, PrizmRangeState } from '../../@core'; import { PrizmAbstractTestId } from '../../abstract/interactive'; import { CommonModule } from '@angular/common'; import { PrizmPrimitiveCalendarComponent } from '../internal/primitive-calendar'; @@ -83,6 +83,10 @@ export class PrizmCalendarComponent extends PrizmAbstractTestId implements Prizm @prizmDefaultProp() markerHandler: PrizmMarkerHandler = PRIZM_DEFAULT_MARKER_HANDLER; + @Input() + @prizmDefaultProp() + rangeState: PrizmRangeState = PrizmRangeState.Single; + @Output() readonly dayClick = new EventEmitter(); diff --git a/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.html b/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.html index d8dac6196b..ac7a53ec52 100644 --- a/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.html +++ b/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.html @@ -8,6 +8,7 @@ [value]="value" [disabledItemHandler]="disabledItemHandler" [showAdjacent]="false" + [rangeState]="rangeStates[0]" (dayClick)="onDayClick($event)" (monthChange)="onSectionFirstViewedMonth($event)" > @@ -25,6 +26,7 @@ [value]="value" [disabledItemHandler]="disabledItemHandler" [showAdjacent]="false" + [rangeState]="rangeStates[1]" (dayClick)="onDayClick($event)" (monthChange)="onSectionSecondViewedMonth($event)" > diff --git a/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.ts b/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.ts index c91e21dd95..62556e9fe2 100644 --- a/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.ts +++ b/libs/components/src/lib/components/internal/primitive-calendar-range/primitive-calendar-range.component.ts @@ -24,6 +24,7 @@ import { PrizmBooleanHandler } from '../../../types/handler'; import { PrizmMapper } from '../../../types/mapper'; import { PrizmMarkerHandler } from '../../../types/marker-handler'; import { PrizmAbstractTestId } from '../../../abstract/interactive'; +import { PrizmRangeState } from '../../../@core/enums'; /** * @internal @@ -64,6 +65,8 @@ export class PrizmPrimitiveCalendarRangeComponent extends PrizmAbstractTestId im @prizmDefaultProp() value: PrizmDayRange | null = null; + readonly rangeStates = [PrizmRangeState.Start, PrizmRangeState.End]; + @Output() readonly dayClick = new EventEmitter(); diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts index 9f13b2e578..ea24fc208c 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts @@ -19,6 +19,7 @@ import { PrizmAbstractTestId } from '../../../abstract/interactive'; import { PrizmLetDirective } from '@prizm-ui/helpers'; import { CommonModule } from '@angular/common'; import { PrizmMonthPipeModule } from '../../../pipes'; +import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; const ITEMS_IN_ROW = 3; const ROWS = 4; @@ -70,6 +71,17 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { @prizmDefaultProp() disabledItemHandler: PrizmBooleanHandler = PRIZM_ALWAYS_FALSE_HANDLER; + @Input() + @prizmDefaultProp() + rangeState: PrizmRangeState = PrizmRangeState.Single; + + @Input() + @prizmDefaultProp() + set intervalSupport(value: BooleanInput) { + this._intervalSupport = coerceBooleanProperty(value); + } + private _intervalSupport = false; + @Output() readonly monthClick = new EventEmitter(); @@ -144,29 +156,22 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { hoveredItem === value.from.month && value.from.monthSame(value.to)) ) { - return PrizmRangeState.Single; - - // TODO finish it after add support intervals - // return PrizmRangeState.Start; + return this.rangeState === PrizmRangeState.Start || this._intervalSupport ? this.rangeState : null; } - // TODO finish it after add support intervals - // if ( - // (value.to.month === item && !value.from.monthSame(value.to)) || - // (hoveredItem !== null && - // hoveredItem < value.from.month && - // value.from.month === item && - // value.from.monthSame(value.to)) || - // (hoveredItem !== null && - // hoveredItem === item && - // hoveredItem > value.from.month && - // value.from.monthSame(value.to)) - // ) { - // return PrizmRangeState.Single; - // - // - // // return PrizmRangeState.End; - // } + if ( + (value.to.month === item && !value.from.monthSame(value.to)) || + (hoveredItem !== null && + hoveredItem < value.from.month && + value.from.month === item && + value.from.monthSame(value.to)) || + (hoveredItem !== null && + hoveredItem === item && + hoveredItem > value.from.month && + value.from.monthSame(value.to)) + ) { + return this.rangeState === PrizmRangeState.End || this._intervalSupport ? this.rangeState : null; + } return value.from.monthSame(value.to) && value.from.month === item && value.from.year === this.currentYear ? PrizmRangeState.Single @@ -181,7 +186,7 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { * not support interval * */ public itemIsInterval(item: number): boolean { - return false; + return this._intervalSupport ? this.itemIsIntervalNew(item) : false; } /** diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts index bc1988521d..cbb49bc3f9 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts @@ -16,6 +16,7 @@ import { import { PrizmRangeState } from '../../../@core/enums/range-state'; import { PrizmAbstractTestId } from '../../../abstract/interactive'; import { PrizmLetDirective } from '@prizm-ui/helpers'; +import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; const LIMIT = 100; const ITEMS_IN_ROW = 3; @@ -61,7 +62,14 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { @Input() @prizmDefaultProp() - intervalSupport = false; + rangeState: PrizmRangeState = PrizmRangeState.Single; + + @Input() + @prizmDefaultProp() + set intervalSupport(value: BooleanInput) { + this._intervalSupport = coerceBooleanProperty(value); + } + private _intervalSupport = false; @Output() readonly yearClick = new EventEmitter(); @@ -146,10 +154,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { hoveredItem < value.from.year && value.from.yearSame(value.to)) ) { - return PrizmRangeState.Single; - - // TODO add after add support intervals - // return PrizmRangeState.Start; + return this.rangeState === PrizmRangeState.Start || this._intervalSupport ? this.rangeState : null; } if ( @@ -163,10 +168,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { hoveredItem > value.from.year && value.from.yearSame(value.to)) ) { - return PrizmRangeState.Single; - - // TODO add after add support intervals - // return PrizmRangeState.End; + return this.rangeState === PrizmRangeState.End || this._intervalSupport ? this.rangeState : null; } return value.from.yearSame(value.to) && value.from.year === item ? PrizmRangeState.Single : null; @@ -180,7 +182,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { * not support interval * */ public itemIsInterval(item: number): boolean { - return this.intervalSupport ? this.itemIsIntervalNew(item) : false; + return this._intervalSupport ? this.itemIsIntervalNew(item) : false; } /** From 54bf81e505d192449660aab9607529eb2d2fe646 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 19 Mar 2024 10:51:19 +0300 Subject: [PATCH 074/291] fix: calendar range corners for interval --- .../calendar-month/calendar-month.component.ts | 2 +- .../primitive-year-picker.component.ts | 8 +++++--- libs/components/src/styles/mixins/picker.less | 12 ++++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.ts b/libs/components/src/lib/components/calendar-month/calendar-month.component.ts index 8913e7a88b..c0a24e4578 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.ts +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.ts @@ -180,7 +180,7 @@ export class PrizmCalendarMonthComponent } if (!value.isSingleMonth) { - return value.from.monthSameOrBefore(month) && value.to.monthAfter(month); + return value.from.monthSameOrBefore(month) && value.to.monthSameOrAfter(month); } if (hoveredItem === null) { diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts index cbb49bc3f9..18016bc751 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts @@ -154,7 +154,9 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { hoveredItem < value.from.year && value.from.yearSame(value.to)) ) { - return this.rangeState === PrizmRangeState.Start || this._intervalSupport ? this.rangeState : null; + return this.rangeState === PrizmRangeState.Start || this._intervalSupport + ? PrizmRangeState.Start + : null; } if ( @@ -168,7 +170,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { hoveredItem > value.from.year && value.from.yearSame(value.to)) ) { - return this.rangeState === PrizmRangeState.End || this._intervalSupport ? this.rangeState : null; + return this.rangeState === PrizmRangeState.End || this._intervalSupport ? PrizmRangeState.End : null; } return value.from.yearSame(value.to) && value.from.year === item ? PrizmRangeState.Single : null; @@ -196,7 +198,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { } if (!value.from.yearSame(value.to)) { - return value.from.year <= item && value.to.year > item; + return value.from.year <= item && value.to.year >= item; } if (hoveredItem === null || value.from.year === hoveredItem) { diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index 0a1b0c3894..6e2761d6fa 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -110,6 +110,18 @@ border-radius: 0; color: var(--prizm-v3-button-primary-solid-default); } + + &[data-range='start'] > .z-item:before, + &[data-range='start'] > .z-item:after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + &[data-range='end'] > .z-item:before, + &[data-range='end'] > .z-item:after { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } } &[data-range] { From 3776012e456e287efebd2873392ecade7dc6d617 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 19 Mar 2024 14:29:01 +0300 Subject: [PATCH 075/291] fix: incorrect hover behavior in calnedar --- .../primitive-month-picker.component.ts | 46 ++++++++----------- .../primitive-year-picker.component.ts | 42 +++++++---------- 2 files changed, 34 insertions(+), 54 deletions(-) diff --git a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts index ea24fc208c..f033ed5e43 100644 --- a/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-month-picker/primitive-month-picker.component.ts @@ -135,7 +135,7 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { } public getItemRange(item: number): PrizmRangeState | null { - const { value, hoveredItem } = this; + const { value } = this; if (value === null) { return null; @@ -145,37 +145,27 @@ export class PrizmPrimitiveMonthPickerComponent extends PrizmAbstractTestId { return value.month === item && value.year === this.currentYear ? PrizmRangeState.Single : null; } - if ( - (value.from.month === item && !value.from.monthSame(value.to)) || - (hoveredItem !== null && - hoveredItem > value.from.month && - value.from.month === item && - value.from.monthSame(value.to)) || - (hoveredItem !== null && - hoveredItem === item && - hoveredItem === value.from.month && - value.from.monthSame(value.to)) - ) { - return this.rangeState === PrizmRangeState.Start || this._intervalSupport ? this.rangeState : null; + if (this._intervalSupport) { + return value.from.month === item && value.from.year === this.currentYear + ? PrizmRangeState.Start + : value.to.month === item && value.from.year === this.currentYear + ? PrizmRangeState.End + : null; } - if ( - (value.to.month === item && !value.from.monthSame(value.to)) || - (hoveredItem !== null && - hoveredItem < value.from.month && - value.from.month === item && - value.from.monthSame(value.to)) || - (hoveredItem !== null && - hoveredItem === item && - hoveredItem > value.from.month && - value.from.monthSame(value.to)) - ) { - return this.rangeState === PrizmRangeState.End || this._intervalSupport ? this.rangeState : null; + if (this.rangeState === PrizmRangeState.Start && value.from.month === item) { + return PrizmRangeState.Start; } - return value.from.monthSame(value.to) && value.from.month === item && value.from.year === this.currentYear - ? PrizmRangeState.Single - : null; + if (this.rangeState === PrizmRangeState.End && value.to.month === item) { + return PrizmRangeState.End; + } + + if (value.from.monthSame(value.to) && value.from.month === item && value.from.year === this.currentYear) { + return PrizmRangeState.Single; + } + + return null; } public itemIsToday(item: number): boolean { diff --git a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts index 18016bc751..b2c563baaf 100644 --- a/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts +++ b/libs/components/src/lib/components/internal/primitive-year-picker/primitive-year-picker.component.ts @@ -133,7 +133,7 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { } public getItemRange(item: number): PrizmRangeState | null { - const { value, hoveredItem } = this; + const { value } = this; if (value === null) { return null; @@ -143,37 +143,27 @@ export class PrizmPrimitiveYearPickerComponent extends PrizmAbstractTestId { return value.year === item ? PrizmRangeState.Single : null; } - if ( - (value.from.year === item && !value.from.yearSame(value.to)) || - (hoveredItem !== null && - hoveredItem > value.from.year && - value.from.year === item && - value.from.yearSame(value.to)) || - (hoveredItem !== null && - hoveredItem === item && - hoveredItem < value.from.year && - value.from.yearSame(value.to)) - ) { - return this.rangeState === PrizmRangeState.Start || this._intervalSupport + if (this._intervalSupport) { + return value.from.year === item ? PrizmRangeState.Start + : value.to.year === item + ? PrizmRangeState.End : null; } - if ( - (value.to.year === item && !value.from.yearSame(value.to)) || - (hoveredItem !== null && - hoveredItem < value.from.year && - value.from.year === item && - value.from.yearSame(value.to)) || - (hoveredItem !== null && - hoveredItem === item && - hoveredItem > value.from.year && - value.from.yearSame(value.to)) - ) { - return this.rangeState === PrizmRangeState.End || this._intervalSupport ? PrizmRangeState.End : null; + if (this.rangeState === PrizmRangeState.Start && value.from.year === item) { + return PrizmRangeState.Start; } - return value.from.yearSame(value.to) && value.from.year === item ? PrizmRangeState.Single : null; + if (this.rangeState === PrizmRangeState.End && value.to.year === item) { + return PrizmRangeState.End; + } + + if (value.from.yearSame(value.to) && value.from.year === item) { + return PrizmRangeState.Single; + } + + return null; } public itemIsToday(item: number): boolean { From c57cbb6564b287d1a54d837d581855e7982126df Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 19 Mar 2024 18:24:16 +0300 Subject: [PATCH 076/291] fix: calendar year bouncing on hover --- libs/components/src/styles/mixins/picker.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index 6e2761d6fa..ac4324a8b6 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -12,12 +12,12 @@ } .z-item { + border: 1px solid transparent; display: flex; align-items: center; justify-content: center; position: relative; flex: 1; - // height: 100%; height: @itemHeight; border-radius: 2px; color: var(--prizm-v3-text-icon-secondary); @@ -62,7 +62,6 @@ .z-item { border: 1px solid var(--prizm-v3-button-primary-solid-default); color: var(--prizm-v3-button-primary-solid-default); - // height: @itemHeight; width: @itemWidth; &_unavailable { From 1e5c4495c97fe6867eaaa71f998cf93659767e4f Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 19 Mar 2024 19:19:21 +0300 Subject: [PATCH 077/291] fix: calendar year bouncing on hover --- .../calendar-month/calendar-month.component.less | 1 + libs/components/src/styles/mixins/picker.less | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/calendar-month/calendar-month.component.less b/libs/components/src/lib/components/calendar-month/calendar-month.component.less index 94b9300969..83ce61a2a7 100644 --- a/libs/components/src/lib/components/calendar-month/calendar-month.component.less +++ b/libs/components/src/lib/components/calendar-month/calendar-month.component.less @@ -30,6 +30,7 @@ .z-item { color: var(--prizm-v3-button-primary-solid-hover) !important; + border-color: var(--prizm-v3-button-ghost-hover); } } } diff --git a/libs/components/src/styles/mixins/picker.less b/libs/components/src/styles/mixins/picker.less index ac4324a8b6..813fa96dff 100644 --- a/libs/components/src/styles/mixins/picker.less +++ b/libs/components/src/styles/mixins/picker.less @@ -60,7 +60,7 @@ } .z-item { - border: 1px solid var(--prizm-v3-button-primary-solid-default); + border-color: var(--prizm-v3-button-primary-solid-default); color: var(--prizm-v3-button-primary-solid-default); width: @itemWidth; @@ -82,6 +82,9 @@ } &_interval { + & > .z-item { + border-color: var(--prizm-v3-button-primary-ghost-active); + } &:before { background: var(--prizm-v3-button-primary-ghost-active); border-radius: unset; @@ -126,6 +129,7 @@ &[data-range] { &:not([data-state='hovered']) > .z-item { color: var(--prizm-v3-text-icon-exception); + border-color: var(--prizm-v3-button-primary-solid-default); &:before, &:after { @@ -136,6 +140,7 @@ &[data-state='hovered'] > .z-item { background-color: var(--prizm-v3-button-ghost-hover); color: var(--prizm-v3-button-primary-solid-hover); + border-color: var(--prizm-v3-button-ghost-hover); } &[data-state='hovered'] > .z-item:before, @@ -188,6 +193,7 @@ &[data-state='hovered']:not([data-range]):not(.z-cell_today) > .z-item { background-color: var(--prizm-v3-button-ghost-hover); + border-color: var(--prizm-v3-button-ghost-hover); color: var(--prizm-v3-button-primary-solid-hover); } From 2daf11cc03e1e7c0d7eb756fd50c214448338125 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 20 Mar 2024 11:18:46 +0300 Subject: [PATCH 078/291] fix: spin button hint direction --- .../primitive-spin-button/primitive-spin-button.template.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html index 744370bfbd..62ef87ed1a 100644 --- a/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html +++ b/libs/components/src/lib/components/internal/primitive-spin-button/primitive-spin-button.template.html @@ -20,6 +20,7 @@ appearance="secondary" [class.z-arrow_hidden]="leftComputedDisabled" [prizmHint]="texts[0]" + [prizmHintDirection]="'b'" [focusable]="false" (click)="onLeftClick()" > @@ -37,6 +38,7 @@ [appearanceType]="mode" [class.z-arrow_hidden]="rightComputedDisabled" [prizmHint]="texts[1]" + [prizmHintDirection]="'b'" [focusable]="false" (click)="onRightClick()" > From 5f29ae813b8b93c9c9c312c4353da8fc477bc4fa Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Wed, 20 Mar 2024 18:04:08 +0300 Subject: [PATCH 079/291] fix: outline removed for breadcrumb content projection example --- .../breadcrumbs-example-projection.component.less | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.less b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.less index 9aca9890fb..d668c99b28 100644 --- a/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.less +++ b/apps/doc/src/app/components/breadcrumbs/examples/breadcrumbs-projection-basic/breadcrumbs-example-projection.component.less @@ -4,6 +4,7 @@ a { line-height: 16px; color: var(--prizm-v3-text-icon-tertiary); text-decoration: none; + outline: none; &:hover { color: var(--prizm-v3-text-icon-link-hover); From 4c951c905673fb7970723f1c3c07c070682442b8 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Thu, 21 Mar 2024 11:15:54 +0300 Subject: [PATCH 080/291] fix: fileupload buttons incorrect gap #1482 --- .../src/lib/components/file-upload/file-upload.component.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/components/src/lib/components/file-upload/file-upload.component.less b/libs/components/src/lib/components/file-upload/file-upload.component.less index 579626c919..7d7c1f2cf8 100644 --- a/libs/components/src/lib/components/file-upload/file-upload.component.less +++ b/libs/components/src/lib/components/file-upload/file-upload.component.less @@ -59,7 +59,7 @@ .file { display: grid; - grid-template-columns: 44px 8px fit-content(60%) auto 24px 24px; + grid-template-columns: 44px 8px fit-content(60%) auto 24px 8px 24px; grid-template-rows: 24px 20px; align-items: end; &:not(:last-child) { @@ -126,7 +126,7 @@ } &__delete-btn { - grid-column-start: 6; + grid-column-start: 7; } &__progress { From 300694720e599e7d52e5572c446fc0f5f001ebbc Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:36:38 +0300 Subject: [PATCH 081/291] feat: update tags for npm delpoy ci pipelines for v3 version --- .github/workflows/beta-publish-ng16.yml | 26 +++++++++---------- .github/workflows/main-publish-ng16.yml | 22 ++++++++-------- .../workflows/pre-release-publish-ng16.yml | 26 +++++++++---------- 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index d23c1aa624..4150243376 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '3.11.1-beta.0') | jq '([.[] | select(startswith("3.11.1-beta"))] | last // "3.11.1-beta.0")' 2>/dev/null || echo '3.11.1-beta.0' + (npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.10.0-beta.0') | jq '([.[] | select(startswith("3.10.0-beta"))] | last // "3.10.0-beta.0")' 2>/dev/null || echo '3.10.0-beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV @@ -139,7 +139,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/components && npm publish --tag beta --access public --verbose + - run: cd dist/libs/components && npm publish --tag ng16beta --access public --verbose publish-i18n: needs: build @@ -166,7 +166,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/i18n && npm publish --tag beta --access public --verbose + - run: cd dist/libs/i18n && npm publish --tag ng16beta --access public --verbose publish-helpers: needs: build @@ -193,7 +193,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/helpers && npm publish --tag beta --access public --verbose + - run: cd dist/libs/helpers && npm publish --tag ng16beta --access public --verbose publish-core: needs: build @@ -219,7 +219,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/core && npm publish --tag beta --access public --verbose + - run: cd dist/libs/core && npm publish --tag ng16beta --access public --verbose publish-theme: needs: build @@ -246,7 +246,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/theme && npm publish --tag beta --access public --verbose + - run: cd dist/libs/theme && npm publish --tag ng16beta --access public --verbose publish-icons: needs: build @@ -273,7 +273,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/icons/base && npm publish --tag beta --access public --verbose + - run: cd dist/libs/icons/base && npm publish --tag ng16beta --access public --verbose publish-flags: needs: build @@ -300,7 +300,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/icons/flags && npm publish --tag beta --access public --verbose + - run: cd dist/libs/icons/flags && npm publish --tag ng16beta --access public --verbose publish-plugin: needs: build @@ -327,7 +327,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/plugin && npm publish --tag beta --access public --verbose + - run: cd dist/libs/plugin && npm publish --tag ng16beta --access public --verbose publish-ast: needs: build @@ -354,7 +354,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/ast && npm publish --tag beta --access public --verbose + - run: cd dist/libs/ast && npm publish --tag ng16beta --access public --verbose publish-charts: needs: build @@ -381,7 +381,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/charts && npm publish --tag beta --access public --verbose + - run: cd dist/libs/charts && npm publish --tag ng16beta --access public --verbose publish-nxmv: needs: build @@ -408,4 +408,4 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/nxmv && npm publish --tag beta --access public --verbose + - run: cd dist/libs/nxmv && npm publish --tag ng16beta --access public --verbose diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index bb1ba399ff..aadb722fd2 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -132,7 +132,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/components && npm publish --access public --verbose + - run: cd dist/libs/components && npm publish --tag ng16 --access public --verbose publish-i18n: needs: build @@ -160,7 +160,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/i18n && npm publish --access public --verbose + - run: cd dist/libs/i18n && npm publish --tag ng16 --access public --verbose publish-helpers: needs: build @@ -188,7 +188,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/helpers && npm publish --access public --verbose + - run: cd dist/libs/helpers && npm publish --tag ng16 --access public --verbose publish-core: needs: build @@ -216,7 +216,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/core && npm publish --access public --verbose + - run: cd dist/libs/core && npm publish --tag ng16 --access public --verbose publish-theme: needs: build @@ -244,7 +244,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/theme && npm publish --access public --verbose + - run: cd dist/libs/theme && npm publish --tag ng16 --access public --verbose publish-icons: needs: build @@ -272,7 +272,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/icons/base && npm publish --access public --verbose + - run: cd dist/libs/icons/base && npm publish --tag ng16 --access public --verbose publish-flags: needs: build @@ -300,7 +300,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/icons/flags && npm publish --access public --verbose + - run: cd dist/libs/icons/flags && npm publish --tag ng16 --access public --verbose publish-plugin: needs: build @@ -328,7 +328,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/plugin && npm publish --access public --verbose + - run: cd dist/libs/plugin && npm publish --tag ng16 --access public --verbose publish-ast: needs: build @@ -356,7 +356,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/ast && npm publish --access public --verbose + - run: cd dist/libs/ast && npm publish --tag ng16 --access public --verbose publish-charts: needs: build @@ -384,7 +384,7 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/charts && npm publish --access public --verbose + - run: cd dist/libs/charts && npm publish --tag ng16 --access public --verbose publish-nxmv: needs: build @@ -412,4 +412,4 @@ jobs: name: dist path: ./dist - - run: cd dist/libs/nxmv && npm publish --access public --verbose + - run: cd dist/libs/nxmv && npm publish --tag ng16 --access public --verbose diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 0a85deeb91..3b88abcbe3 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '3.11.1-next.0') | jq '([.[] | select(startswith("3.11.1-next"))] | last // "3.11.1-next.0")' 2>/dev/null || echo '3.11.1-next.0' + (npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.10.0-next.0') | jq '([.[] | select(startswith("3.10.0-next"))] | last // "3.10.0-next.0")' 2>/dev/null || echo '3.10.0-next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV @@ -139,7 +139,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/components && npm publish --tag next --access public --verbose + - run: cd dist/libs/components && npm publish --tag ng16next --access public --verbose publish-i18n: needs: build @@ -166,7 +166,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/i18n && npm publish --tag next --access public --verbose + - run: cd dist/libs/i18n && npm publish --tag ng16next --access public --verbose publish-helpers: needs: build @@ -193,7 +193,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/helpers && npm publish --tag next --access public --verbose + - run: cd dist/libs/helpers && npm publish --tag ng16next --access public --verbose publish-core: needs: build @@ -219,7 +219,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/core && npm publish --tag next --access public --verbose + - run: cd dist/libs/core && npm publish --tag ng16next --access public --verbose publish-theme: needs: build @@ -246,7 +246,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/theme && npm publish --tag next --access public --verbose + - run: cd dist/libs/theme && npm publish --tag ng16next --access public --verbose publish-icons: needs: build @@ -273,7 +273,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/icons/base && npm publish --tag next --access public --verbose + - run: cd dist/libs/icons/base && npm publish --tag ng16next --access public --verbose publish-flags: needs: build @@ -300,7 +300,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/icons/flags && npm publish --tag next --access public --verbose + - run: cd dist/libs/icons/flags && npm publish --tag ng16next --access public --verbose publish-plugin: needs: build @@ -327,7 +327,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/plugin && npm publish --tag next --access public --verbose + - run: cd dist/libs/plugin && npm publish --tag ng16next --access public --verbose publish-ast: needs: build @@ -354,7 +354,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/ast && npm publish --tag next --access public --verbose + - run: cd dist/libs/ast && npm publish --tag ng16next --access public --verbose publish-charts: needs: build @@ -381,7 +381,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/charts && npm publish --tag next --access public --verbose + - run: cd dist/libs/charts && npm publish --tag ng16next --access public --verbose publish-nxmv: needs: build @@ -408,4 +408,4 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: cd dist/libs/nxmv && npm publish --tag next --access public --verbose + - run: cd dist/libs/nxmv && npm publish --tag ng16next --access public --verbose From 60821f3e144db4c5270e4f9f13c30e094241018c Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:13:13 +0300 Subject: [PATCH 082/291] fix(components/cron): small fixes --- libs/components/src/lib/components/cron/cron.component.html | 2 +- .../src/lib/components/switcher/switcher.component.html | 3 +-- .../src/lib/components/switcher/switcher.component.ts | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/components/src/lib/components/cron/cron.component.html b/libs/components/src/lib/components/cron/cron.component.html index 51ddbd01a0..ca1f5f052f 100644 --- a/libs/components/src/lib/components/cron/cron.component.html +++ b/libs/components/src/lib/components/cron/cron.component.html @@ -49,7 +49,7 @@ > - + !switcher.hide); + } + @Input() @prizmDefaultProp() public set selectedSwitcherIdx(idx: number) { From aa6117bf79a4028d0fc1f9472264b728913c9889 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 25 Mar 2024 14:20:46 +0300 Subject: [PATCH 083/291] fix: version fix for cron switcher #1494 --- libs/components/src/lib/components/cron/cron.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/src/lib/components/cron/cron.component.html b/libs/components/src/lib/components/cron/cron.component.html index ca1f5f052f..51ddbd01a0 100644 --- a/libs/components/src/lib/components/cron/cron.component.html +++ b/libs/components/src/lib/components/cron/cron.component.html @@ -49,7 +49,7 @@ > Date: Mon, 25 Mar 2024 15:56:37 +0300 Subject: [PATCH 084/291] chore: version 1.15.1 up tp 1.16.0 --- .github/workflows/beta-publish-ng14.yml | 2 +- .github/workflows/main-publish-ng14.yml | 2 +- .github/workflows/pre-release-publish-ng14.yml | 2 +- apps/doc/src/app/version-manager/current.const.ts | 2 +- .../src/app/version-manager/current.const.ts.ng14 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json.ng14 | 2 +- libs/charts/base/package.json.ng14 | 6 +++--- libs/components/package.json.ng14 | 10 +++++----- libs/core/package.json.ng14 | 2 +- libs/helpers/package.json.ng14 | 2 +- libs/i18n/package.json.ng14 | 2 +- libs/icons/base/package.json.ng14 | 2 +- libs/icons/flags/package.json.ng14 | 4 ++-- libs/nxmv/package.json.ng14 | 2 +- libs/plugin/package.json.ng14 | 4 ++-- libs/schematics/package.json.ng14 | 2 +- libs/theme/package.json.ng14 | 6 +++--- package.json.ng14 | 2 +- 19 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/beta-publish-ng14.yml b/.github/workflows/beta-publish-ng14.yml index d9a665d1fa..8009289bfd 100644 --- a/.github/workflows/beta-publish-ng14.yml +++ b/.github/workflows/beta-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.15.1-ng14beta.0') | jq '([.[] | select(startswith("1.15.1-ng14beta"))] | last // "1.15.1-ng14beta.0")' 2>/dev/null || echo '1.15.1-ng14beta.0' + (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.16.0-ng14beta.0') | jq '([.[] | select(startswith("1.16.0-ng14beta"))] | last // "1.16.0-ng14beta.0")' 2>/dev/null || echo '1.16.0-ng14beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng14.yml b/.github/workflows/main-publish-ng14.yml index 0a82cb239d..971c785fd6 100644 --- a/.github/workflows/main-publish-ng14.yml +++ b/.github/workflows/main-publish-ng14.yml @@ -58,7 +58,7 @@ jobs: - name: Set up environment variables run: | last_v1_version=$( - echo '1.15.1' + echo '1.16.0' ) echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng14.yml b/.github/workflows/pre-release-publish-ng14.yml index 038354c5e0..7bcc57722b 100644 --- a/.github/workflows/pre-release-publish-ng14.yml +++ b/.github/workflows/pre-release-publish-ng14.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.15.1-ng14next.0') | jq '([.[] | select(startswith("1.15.1-ng14next"))] | last // "1.15.1-ng14next.0")' 2>/dev/null || echo '1.15.1-ng14next.0' + (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.16.0-ng14next.0') | jq '([.[] | select(startswith("1.16.0-ng14next"))] | last // "1.16.0-ng14next.0")' 2>/dev/null || echo '1.16.0-ng14next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts b/apps/doc/src/app/version-manager/current.const.ts index 092f3ce545..a7db703f9f 100644 --- a/apps/doc/src/app/version-manager/current.const.ts +++ b/apps/doc/src/app/version-manager/current.const.ts @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.15.1'; +export const PRIZM_CURRENT_VERSION = '1.16.0'; diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng14 b/apps/doc/src/app/version-manager/current.const.ts.ng14 index 092f3ce545..a7db703f9f 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng14 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng14 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '1.15.1'; +export const PRIZM_CURRENT_VERSION = '1.16.0'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index d1cf29490a..09247cb46a 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -30,8 +30,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '1.15.1 (ng14)', - version: '1.15.1', + label: '1.16.0 (ng14)', + version: '1.16.0', stackblitz: 'https://stackblitz.com/edit/prizm-v1-demo', link: new URL('https://prizm-v1.web.app'), otherLinks: [], @@ -54,8 +54,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '1.15.1-next (ng14)', - version: '1.15.1-next', + label: '1.16.0-next (ng14)', + version: '1.16.0-next', stackblitz: 'https://stackblitz.com/edit/prizm-v1-next-demo', link: new URL('https://prizm-v1-next.web.app'), otherLinks: [], @@ -75,8 +75,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '1.15.1-beta (ng14)', - version: '1.15.1-beta', + label: '1.16.0-beta (ng14)', + version: '1.16.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo', link: new URL('https://prizm-v1-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json.ng14 b/libs/ast/package.json.ng14 index a80ff60446..69345c645b 100644 --- a/libs/ast/package.json.ng14 +++ b/libs/ast/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "1.15.1", + "version": "1.16.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng14 b/libs/charts/base/package.json.ng14 index df692cde2e..b7eecffc8e 100644 --- a/libs/charts/base/package.json.ng14 +++ b/libs/charts/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "1.15.1", + "version": "1.16.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/theme": "^1.15.1", - "@prizm-ui/helpers": "^1.15.1", + "@prizm-ui/theme": "^1.16.0", + "@prizm-ui/helpers": "^1.16.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng14 b/libs/components/package.json.ng14 index 18e5066df6..62666341a5 100644 --- a/libs/components/package.json.ng14 +++ b/libs/components/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "1.15.1", + "version": "1.16.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -17,10 +17,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^1.15.1", - "@prizm-ui/core": "^1.15.1", - "@prizm-ui/i18n": "^1.15.1", - "@prizm-ui/theme": "^1.15.1" + "@prizm-ui/helpers": "^1.16.0", + "@prizm-ui/core": "^1.16.0", + "@prizm-ui/i18n": "^1.16.0", + "@prizm-ui/theme": "^1.16.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng14 b/libs/core/package.json.ng14 index 067afa27b8..ac76f8e97b 100644 --- a/libs/core/package.json.ng14 +++ b/libs/core/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "1.15.1", + "version": "1.16.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng14 b/libs/helpers/package.json.ng14 index 96e99cf9d6..137740df92 100644 --- a/libs/helpers/package.json.ng14 +++ b/libs/helpers/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "1.15.1", + "version": "1.16.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng14 b/libs/i18n/package.json.ng14 index 234d743949..44aa5878e2 100644 --- a/libs/i18n/package.json.ng14 +++ b/libs/i18n/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "1.15.1", + "version": "1.16.0", "peerDependencies": { "@angular/core": "^14.2.0" }, diff --git a/libs/icons/base/package.json.ng14 b/libs/icons/base/package.json.ng14 index aae5c481f3..2613dbcf8d 100644 --- a/libs/icons/base/package.json.ng14 +++ b/libs/icons/base/package.json.ng14 @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.1" + "@prizm-ui/core": "^1.16.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng14 b/libs/icons/flags/package.json.ng14 index 3a48421a8c..3a4bc78ded 100644 --- a/libs/icons/flags/package.json.ng14 +++ b/libs/icons/flags/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "1.15.1", + "version": "1.16.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.1" + "@prizm-ui/core": "^1.16.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng14 b/libs/nxmv/package.json.ng14 index aeb41bbfc6..f72add0944 100644 --- a/libs/nxmv/package.json.ng14 +++ b/libs/nxmv/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "1.15.1", + "version": "1.16.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng14 b/libs/plugin/package.json.ng14 index 827ae0fec9..3e22f7761a 100644 --- a/libs/plugin/package.json.ng14 +++ b/libs/plugin/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "1.15.1", + "version": "1.16.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^1.15.1" + "@prizm-ui/ast": "^1.16.0" } } diff --git a/libs/schematics/package.json.ng14 b/libs/schematics/package.json.ng14 index 260abea0ed..ac444b4660 100644 --- a/libs/schematics/package.json.ng14 +++ b/libs/schematics/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "1.15.1", + "version": "1.16.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng14 b/libs/theme/package.json.ng14 index 77c5f70a59..5595e9b00e 100644 --- a/libs/theme/package.json.ng14 +++ b/libs/theme/package.json.ng14 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "1.15.1", + "version": "1.16.0", "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0", - "@prizm-ui/core": "^1.15.1", - "@prizm-ui/helpers": "^1.15.1" + "@prizm-ui/core": "^1.16.0", + "@prizm-ui/helpers": "^1.16.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng14 b/package.json.ng14 index 38132ab4bc..31c002fd20 100644 --- a/package.json.ng14 +++ b/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "1.15.1", + "version": "1.16.0", "license": "MIT", "husky": { "hooks": { From 1b2c62bb4aea218dd4836e5e4a2dc69419851e4a Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 25 Mar 2024 16:02:40 +0300 Subject: [PATCH 085/291] chore: version 2.12.1 up tp 2.13.0 --- .github/workflows/beta-publish-ng15.yml | 2 +- .github/workflows/main-publish-ng15.yml | 2 +- .github/workflows/pre-release-publish-ng15.yml | 2 +- .../src/app/version-manager/current.const.ts.ng15 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json.ng15 | 2 +- libs/charts/base/package.json.ng15 | 6 +++--- libs/components/package.json.ng15 | 10 +++++----- libs/core/package.json.ng15 | 2 +- libs/helpers/package.json.ng15 | 2 +- libs/i18n/package.json.ng15 | 2 +- libs/icons/base/package.json.ng15 | 4 ++-- libs/icons/flags/package.json.ng15 | 4 ++-- libs/nxmv/package.json.ng15 | 2 +- libs/plugin/package.json.ng15 | 4 ++-- libs/schematics/package.json.ng15 | 2 +- libs/theme/package.json.ng15 | 6 +++--- package.json.ng15 | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/beta-publish-ng15.yml b/.github/workflows/beta-publish-ng15.yml index 415e89b276..95a0a3116e 100644 --- a/.github/workflows/beta-publish-ng15.yml +++ b/.github/workflows/beta-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.12.1-ng15beta.0') | jq '([.[] | select(startswith("2.12.1-ng15beta"))] | last // "2.12.1-ng15beta.0")' 2>/dev/null || echo '2.12.1-ng15beta.0' + (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.13.0-ng15beta.0') | jq '([.[] | select(startswith("2.13.0-ng15beta"))] | last // "2.13.0-ng15beta.0")' 2>/dev/null || echo '2.13.0-ng15beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng15.yml b/.github/workflows/main-publish-ng15.yml index 76abe9611e..e05c314abc 100644 --- a/.github/workflows/main-publish-ng15.yml +++ b/.github/workflows/main-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v2_version=$( - echo '2.12.1' + echo '2.13.0' ) echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng15.yml b/.github/workflows/pre-release-publish-ng15.yml index 879e9f1fb6..0aa402fad6 100644 --- a/.github/workflows/pre-release-publish-ng15.yml +++ b/.github/workflows/pre-release-publish-ng15.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.12.1-ng15next.0') | jq '([.[] | select(startswith("2.12.1-ng15next"))] | last // "2.12.1-ng15next.0")' 2>/dev/null || echo '2.12.1-ng15next.0' + (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.13.0-ng15next.0') | jq '([.[] | select(startswith("2.13.0-ng15next"))] | last // "2.13.0-ng15next.0")' 2>/dev/null || echo '2.13.0-ng15next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng15 b/apps/doc/src/app/version-manager/current.const.ts.ng15 index 05e8058e38..34b25f91d7 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng15 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng15 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '2.12.1'; +export const PRIZM_CURRENT_VERSION = '2.13.0'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index 09247cb46a..570ba8af6b 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -20,8 +20,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '2.12.1 (ng15)', - version: '2.12.1', + label: '2.13.0 (ng15)', + version: '2.13.0', stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo', link: new URL('https://prizm-v2.web.app'), otherLinks: [], @@ -47,9 +47,9 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '2.12.1-next (ng15)', + label: '2.13.0-next (ng15)', stackblitz: 'https://stackblitz.com/edit/prizm-v2-next-demo', - version: '2.12.1-next', + version: '2.13.0-next', link: new URL('https://prizm-v2-next.web.app'), otherLinks: [], }, @@ -68,8 +68,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '2.12.1-beta (ng15)', - version: '2.12.1-beta', + label: '2.13.0-beta (ng15)', + version: '2.13.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo', link: new URL('https://prizm-v2-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json.ng15 b/libs/ast/package.json.ng15 index cd6b0c539d..02bf987252 100644 --- a/libs/ast/package.json.ng15 +++ b/libs/ast/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "2.12.1", + "version": "2.13.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json.ng15 b/libs/charts/base/package.json.ng15 index a271e91b5d..f8da5e1221 100644 --- a/libs/charts/base/package.json.ng15 +++ b/libs/charts/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "2.12.1", + "version": "2.13.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/theme": "^2.12.1", - "@prizm-ui/helpers": "^2.12.1", + "@prizm-ui/theme": "^2.13.0", + "@prizm-ui/helpers": "^2.13.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json.ng15 b/libs/components/package.json.ng15 index 3fca5a1a73..41e94c6f48 100644 --- a/libs/components/package.json.ng15 +++ b/libs/components/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "2.12.1", + "version": "2.13.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "2.0.0", "@ng-web-apis/intersection-observer": "2.0.0", "@ng-web-apis/mutation-observer": "2.0.0", - "@prizm-ui/helpers": "^2.12.1", - "@prizm-ui/core": "^2.12.1", - "@prizm-ui/i18n": "^2.12.1", - "@prizm-ui/theme": "^2.12.1" + "@prizm-ui/helpers": "^2.13.0", + "@prizm-ui/core": "^2.13.0", + "@prizm-ui/i18n": "^2.13.0", + "@prizm-ui/theme": "^2.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json.ng15 b/libs/core/package.json.ng15 index e245884263..2af0d6152e 100644 --- a/libs/core/package.json.ng15 +++ b/libs/core/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "2.12.1", + "version": "2.13.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json.ng15 b/libs/helpers/package.json.ng15 index f64244b971..1854e91959 100644 --- a/libs/helpers/package.json.ng15 +++ b/libs/helpers/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "2.12.1", + "version": "2.13.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json.ng15 b/libs/i18n/package.json.ng15 index 4eb5ec9a9f..9c215c6714 100644 --- a/libs/i18n/package.json.ng15 +++ b/libs/i18n/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "2.12.1", + "version": "2.13.0", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0" diff --git a/libs/icons/base/package.json.ng15 b/libs/icons/base/package.json.ng15 index cb826540bc..515fb82d58 100644 --- a/libs/icons/base/package.json.ng15 +++ b/libs/icons/base/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "2.12.1", + "version": "2.13.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.1" + "@prizm-ui/core": "^2.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng15 b/libs/icons/flags/package.json.ng15 index f349ca5b1b..570a6b0e19 100644 --- a/libs/icons/flags/package.json.ng15 +++ b/libs/icons/flags/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "2.12.1", + "version": "2.13.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.1" + "@prizm-ui/core": "^2.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json.ng15 b/libs/nxmv/package.json.ng15 index 8602f5cbec..1aa3b6d526 100644 --- a/libs/nxmv/package.json.ng15 +++ b/libs/nxmv/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "2.12.1", + "version": "2.13.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json.ng15 b/libs/plugin/package.json.ng15 index c1de88ee74..92b7fc1fb1 100644 --- a/libs/plugin/package.json.ng15 +++ b/libs/plugin/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "2.12.1", + "version": "2.13.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^2.12.1" + "@prizm-ui/ast": "^2.13.0" } } diff --git a/libs/schematics/package.json.ng15 b/libs/schematics/package.json.ng15 index 4b5cc894b2..3c07d7c071 100644 --- a/libs/schematics/package.json.ng15 +++ b/libs/schematics/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "2.12.1", + "version": "2.13.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json.ng15 b/libs/theme/package.json.ng15 index 2c3a8b22f7..ecd67db8f9 100644 --- a/libs/theme/package.json.ng15 +++ b/libs/theme/package.json.ng15 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "2.12.1", + "version": "2.13.0", "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0", - "@prizm-ui/core": "^2.12.1", - "@prizm-ui/helpers": "^2.12.1" + "@prizm-ui/core": "^2.13.0", + "@prizm-ui/helpers": "^2.13.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json.ng15 b/package.json.ng15 index 17ed86f0fe..9183940b31 100644 --- a/package.json.ng15 +++ b/package.json.ng15 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "2.12.1", + "version": "2.13.0", "license": "MIT", "husky": { "hooks": { From f3daed797752016868850ca786234cebf678c141 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 25 Mar 2024 16:13:47 +0300 Subject: [PATCH 086/291] chore: version 3.11.1 up tp 3.12.0 --- .github/workflows/beta-publish-ng16.yml | 2 +- .github/workflows/main-publish-ng16.yml | 2 +- .github/workflows/pre-release-publish-ng16.yml | 2 +- .../src/app/version-manager/current.const.ts.ng16 | 2 +- .../src/app/version-manager/versions.constants.ts | 12 ++++++------ libs/ast/package.json | 2 +- libs/ast/package.json.ng16 | 2 +- libs/charts/base/package.json | 6 +++--- libs/charts/base/package.json.ng16 | 6 +++--- libs/components/package.json | 10 +++++----- libs/components/package.json.ng16 | 10 +++++----- libs/core/package.json | 2 +- libs/core/package.json.ng16 | 2 +- libs/helpers/package.json | 2 +- libs/helpers/package.json.ng16 | 2 +- libs/i18n/package.json | 2 +- libs/i18n/package.json.ng16 | 2 +- libs/icons/base/package.json | 4 ++-- libs/icons/base/package.json.ng16 | 4 ++-- libs/icons/flags/package.json | 4 ++-- libs/icons/flags/package.json.ng16 | 4 ++-- libs/nxmv/package.json | 2 +- libs/nxmv/package.json.ng16 | 2 +- libs/plugin/package.json | 4 ++-- libs/plugin/package.json.ng16 | 4 ++-- libs/schematics/package.json | 2 +- libs/schematics/package.json.ng16 | 2 +- libs/theme/package.json | 6 +++--- libs/theme/package.json.ng16 | 6 +++--- package.json | 2 +- package.json.ng16 | 2 +- 31 files changed, 58 insertions(+), 58 deletions(-) diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index 4150243376..d16a163a2c 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.10.0-beta.0') | jq '([.[] | select(startswith("3.10.0-beta"))] | last // "3.10.0-beta.0")' 2>/dev/null || echo '3.10.0-beta.0' + (npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.12.0-beta.0') | jq '([.[] | select(startswith("3.12.0-beta"))] | last // "3.12.0-beta.0")' 2>/dev/null || echo '3.12.0-beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index aadb722fd2..8b50223337 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_v3_version=$( - echo '3.11.1' + echo '3.12.0' ) echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 3b88abcbe3..5271323a11 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.10.0-next.0') | jq '([.[] | select(startswith("3.10.0-next"))] | last // "3.10.0-next.0")' 2>/dev/null || echo '3.10.0-next.0' + (npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.12.0-next.0') | jq '([.[] | select(startswith("3.12.0-next"))] | last // "3.12.0-next.0")' 2>/dev/null || echo '3.12.0-next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/apps/doc/src/app/version-manager/current.const.ts.ng16 b/apps/doc/src/app/version-manager/current.const.ts.ng16 index 567a9c0b88..4990b091f3 100644 --- a/apps/doc/src/app/version-manager/current.const.ts.ng16 +++ b/apps/doc/src/app/version-manager/current.const.ts.ng16 @@ -1 +1 @@ -export const PRIZM_CURRENT_VERSION = '3.11.1'; +export const PRIZM_CURRENT_VERSION = '3.12.0'; diff --git a/apps/doc/src/app/version-manager/versions.constants.ts b/apps/doc/src/app/version-manager/versions.constants.ts index 570ba8af6b..7c7999c3ce 100644 --- a/apps/doc/src/app/version-manager/versions.constants.ts +++ b/apps/doc/src/app/version-manager/versions.constants.ts @@ -10,8 +10,8 @@ export interface PrizmVersionMeta { export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ { - label: '3.11.1 (ng16)', - version: '3.11.1', + label: '3.12.0 (ng16)', + version: '3.12.0', stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo', link: new URL('http://prizm.site'), otherLinks: [new URL('https://prizm-v3.web.app')], @@ -40,8 +40,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ }, }, { - label: '3.11.1-next (ng16)', - version: '3.11.1-next', + label: '3.12.0-next (ng16)', + version: '3.12.0-next', stackblitz: 'https://stackblitz.com/edit/prizm-v3-next-demo', link: new URL('https://prizm-v3-next.web.app'), otherLinks: [], @@ -61,8 +61,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [ otherLinks: [], }, { - label: '3.11.1-beta (ng16)', - version: '3.11.1-beta', + label: '3.12.0-beta (ng16)', + version: '3.12.0-beta', stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo', link: new URL('https://prizm-v3-beta.web.app'), otherLinks: [], diff --git a/libs/ast/package.json b/libs/ast/package.json index 964b76d358..dd52cd82fc 100644 --- a/libs/ast/package.json +++ b/libs/ast/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.11.1", + "version": "3.12.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/ast/package.json.ng16 b/libs/ast/package.json.ng16 index 964b76d358..dd52cd82fc 100644 --- a/libs/ast/package.json.ng16 +++ b/libs/ast/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/ast", - "version": "3.11.1", + "version": "3.12.0", "private": false, "publishConfig": { "access": "public", diff --git a/libs/charts/base/package.json b/libs/charts/base/package.json index 9ae760771e..ba60feb422 100644 --- a/libs/charts/base/package.json +++ b/libs/charts/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.11.1", - "@prizm-ui/helpers": "^3.11.1", + "@prizm-ui/theme": "^3.12.0", + "@prizm-ui/helpers": "^3.12.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/charts/base/package.json.ng16 b/libs/charts/base/package.json.ng16 index 9ae760771e..ba60feb422 100644 --- a/libs/charts/base/package.json.ng16 +++ b/libs/charts/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/charts", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "private": false, "publishConfig": { @@ -11,8 +11,8 @@ "lodash-es": "^4.17.21", "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/theme": "^3.11.1", - "@prizm-ui/helpers": "^3.11.1", + "@prizm-ui/theme": "^3.12.0", + "@prizm-ui/helpers": "^3.12.0", "@antv/g2plot": "^2.4.22" }, "dependencies": { diff --git a/libs/components/package.json b/libs/components/package.json index b9e14116ac..789902f526 100644 --- a/libs/components/package.json +++ b/libs/components/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.11.1", - "@prizm-ui/core": "^3.11.1", - "@prizm-ui/i18n": "^3.11.1", - "@prizm-ui/theme": "^3.11.1" + "@prizm-ui/helpers": "^3.12.0", + "@prizm-ui/core": "^3.12.0", + "@prizm-ui/i18n": "^3.12.0", + "@prizm-ui/theme": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/components/package.json.ng16 b/libs/components/package.json.ng16 index b9e14116ac..789902f526 100644 --- a/libs/components/package.json.ng16 +++ b/libs/components/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/components", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI system design components library http://prizm.zyfra.com", "license": "MIT", "private": false, @@ -18,10 +18,10 @@ "@ng-web-apis/resize-observer": "^3.0.0", "@ng-web-apis/intersection-observer": "^3.0.0", "@ng-web-apis/mutation-observer": "^3.0.0", - "@prizm-ui/helpers": "^3.11.1", - "@prizm-ui/core": "^3.11.1", - "@prizm-ui/i18n": "^3.11.1", - "@prizm-ui/theme": "^3.11.1" + "@prizm-ui/helpers": "^3.12.0", + "@prizm-ui/core": "^3.12.0", + "@prizm-ui/i18n": "^3.12.0", + "@prizm-ui/theme": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/core/package.json b/libs/core/package.json index 5b0894b880..71d52a3e3a 100644 --- a/libs/core/package.json +++ b/libs/core/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/core/package.json.ng16 b/libs/core/package.json.ng16 index 5b0894b880..71d52a3e3a 100644 --- a/libs/core/package.json.ng16 +++ b/libs/core/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/core", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "description": "The main library for creating Angular components and elements using Prizm.", "private": false, diff --git a/libs/helpers/package.json b/libs/helpers/package.json index 9b4be6b274..c153667946 100644 --- a/libs/helpers/package.json +++ b/libs/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/helpers/package.json.ng16 b/libs/helpers/package.json.ng16 index 9b4be6b274..c153667946 100644 --- a/libs/helpers/package.json.ng16 +++ b/libs/helpers/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/helpers", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.", "private": false, diff --git a/libs/i18n/package.json b/libs/i18n/package.json index 8961bea8df..d02a6fcb99 100644 --- a/libs/i18n/package.json +++ b/libs/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.11.1", + "version": "3.12.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/i18n/package.json.ng16 b/libs/i18n/package.json.ng16 index 8961bea8df..d02a6fcb99 100644 --- a/libs/i18n/package.json.ng16 +++ b/libs/i18n/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/i18n", - "version": "3.11.1", + "version": "3.12.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0" diff --git a/libs/icons/base/package.json b/libs/icons/base/package.json index 44d49146a8..296d48fa38 100644 --- a/libs/icons/base/package.json +++ b/libs/icons/base/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1" + "@prizm-ui/core": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/base/package.json.ng16 b/libs/icons/base/package.json.ng16 index 44d49146a8..296d48fa38 100644 --- a/libs/icons/base/package.json.ng16 +++ b/libs/icons/base/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1" + "@prizm-ui/core": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json b/libs/icons/flags/package.json index 51ffced2da..cafc0a3f46 100644 --- a/libs/icons/flags/package.json +++ b/libs/icons/flags/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1" + "@prizm-ui/core": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/icons/flags/package.json.ng16 b/libs/icons/flags/package.json.ng16 index 51ffced2da..cafc0a3f46 100644 --- a/libs/icons/flags/package.json.ng16 +++ b/libs/icons/flags/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/flag-icons", - "version": "3.11.1", + "version": "3.12.0", "description": "Prizm UI flags icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { @@ -10,7 +10,7 @@ "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1" + "@prizm-ui/core": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/nxmv/package.json b/libs/nxmv/package.json index d3f6cd4ca1..63fb06bf99 100644 --- a/libs/nxmv/package.json +++ b/libs/nxmv/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.11.1", + "version": "3.12.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/nxmv/package.json.ng16 b/libs/nxmv/package.json.ng16 index d3f6cd4ca1..63fb06bf99 100644 --- a/libs/nxmv/package.json.ng16 +++ b/libs/nxmv/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-mv", - "version": "3.11.1", + "version": "3.12.0", "main": "src/index.js", "private": false, "publishConfig": { diff --git a/libs/plugin/package.json b/libs/plugin/package.json index 1e2c1257f0..b1e47c0f42 100644 --- a/libs/plugin/package.json +++ b/libs/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.11.1", + "version": "3.12.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.11.1" + "@prizm-ui/ast": "^3.12.0" } } diff --git a/libs/plugin/package.json.ng16 b/libs/plugin/package.json.ng16 index 1e2c1257f0..b1e47c0f42 100644 --- a/libs/plugin/package.json.ng16 +++ b/libs/plugin/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/nx-plugin", - "version": "3.11.1", + "version": "3.12.0", "main": "src/index.js", "private": false, "publishConfig": { @@ -10,6 +10,6 @@ "generators": "./generators.json", "executors": "./executors.json", "peerDependencies": { - "@prizm-ui/ast": "^3.11.1" + "@prizm-ui/ast": "^3.12.0" } } diff --git a/libs/schematics/package.json b/libs/schematics/package.json index cf61d009fc..f1afd5c53b 100644 --- a/libs/schematics/package.json +++ b/libs/schematics/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.11.1", + "version": "3.12.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/schematics/package.json.ng16 b/libs/schematics/package.json.ng16 index cf61d009fc..f1afd5c53b 100644 --- a/libs/schematics/package.json.ng16 +++ b/libs/schematics/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/install", - "version": "3.11.1", + "version": "3.12.0", "description": "Package installer @prizm-ui/* , Angular schematic ng-add", "schematics": "./src/collection.json", "private": false, diff --git a/libs/theme/package.json b/libs/theme/package.json index e9d8c29ca1..12092d5c9b 100644 --- a/libs/theme/package.json +++ b/libs/theme/package.json @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.11.1", + "version": "3.12.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1", - "@prizm-ui/helpers": "^3.11.1" + "@prizm-ui/core": "^3.12.0", + "@prizm-ui/helpers": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/libs/theme/package.json.ng16 b/libs/theme/package.json.ng16 index e9d8c29ca1..12092d5c9b 100644 --- a/libs/theme/package.json.ng16 +++ b/libs/theme/package.json.ng16 @@ -1,11 +1,11 @@ { "name": "@prizm-ui/theme", - "version": "3.11.1", + "version": "3.12.0", "peerDependencies": { "@angular/common": "^16.1.0 || ^16.2.0", "@angular/core": "^16.1.0 || ^16.2.0", - "@prizm-ui/core": "^3.11.1", - "@prizm-ui/helpers": "^3.11.1" + "@prizm-ui/core": "^3.12.0", + "@prizm-ui/helpers": "^3.12.0" }, "dependencies": { "tslib": "^2.3.0" diff --git a/package.json b/package.json index bb999e475b..aa6d18161d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "husky": { "hooks": { diff --git a/package.json.ng16 b/package.json.ng16 index bb999e475b..aa6d18161d 100644 --- a/package.json.ng16 +++ b/package.json.ng16 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/sdk", - "version": "3.11.1", + "version": "3.12.0", "license": "MIT", "husky": { "hooks": { From ed58664acb3978cca20f834a7b816116cf1fac11 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Mon, 25 Mar 2024 16:25:13 +0300 Subject: [PATCH 087/291] feat: changelog update --- .../app/about-prizm/changelog/CHANGELOG.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index b0fecaefc5..c9e8b5277d 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -2,6 +2,38 @@ All notable changes to this project will be documented in this file. +## [1.16.0, 2.13.0, 3.12.0](https://github.com/zyfra/Prizm) (23-03-2023) + +## Features + +- feat(components/breadcrumbs): change the focus to focus-visible for breadcrumbs #1297 +- feat(components/checkbox): change the focus to focus-visible for checkbox #1297 +- feat(components/radio-button): change the focus to focus-visible for radio-button #1297 +- feat(components/chips): change the focus to focus-visible for chips #1297 +- feat(components/input-icon-button): change the focus to focus-visible for input-icon-button #1297 +- feat(components/slider): change the focus to focus-visible for slider cnob #1297 +- feat(components/stepper): change the focus to focus-visible for stepper button #1297 +- feat(components/input-icon-button): change the focus to focus-visible for toggle #1297 +- feat(components/input-icon-button): change the focus to focus-visible for button #1297 +- feat(docs/theme): add shadow color to docs #900 + +### Bug fixes + +- fix(components/calendar): replace default 'title' attribute by prizm hint in calendar year pagination buttons #1457 +- fix(components/calendar-range): incorrect markup for year and month screens fix #1445 +- fix(components/input-layout-date-time): incorrect control markup fix #1242 +- fix(components/input-layout-date-time-range): incorrect control markup fix #1242 +- fix(components/calendar-month): incorrect control markup fix #1242 +- fix(components/calendar-range): single year should be highlighted in calendar range #1465 +- fix(components/calendar-range): single month should be highlighted in calendar range #1464 +- fix(components/calendar): index marker color blends with the background of the selected date #1461 +- fix(components/input-date-time-range): afte clear time values in calendar got error #1368 +- fix(components/input-date-time): min/max does not work correctly in InputLayoutDateTime #1421 +- fix(chore): stackblitz for v3 #1209 +- fix(docs/colors): fix documentation styles for dark theme +- fix(components/file-upload) fileupload buttons incorrect gap #1482 +- fix(components/navigation-menu): hint icon margins added for navigation menu #1329 + ## [1.15.1, 2.12.1, 3.11.1](https://github.com/zyfra/Prizm) (19-02-2023) ### Bug fixes From 27fb731ff30e315c540798dea2c68fc35dcd8a5a Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 26 Mar 2024 09:00:42 +0300 Subject: [PATCH 088/291] feat: changelog update --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index c9e8b5277d..054085233c 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file. - fix(docs/colors): fix documentation styles for dark theme - fix(components/file-upload) fileupload buttons incorrect gap #1482 - fix(components/navigation-menu): hint icon margins added for navigation menu #1329 +- fix (components/cron): switcher used in Cron incorrectly displays selected tab #1494 ## [1.15.1, 2.12.1, 3.11.1](https://github.com/zyfra/Prizm) (19-02-2023) From a53b7b867f488f3fe5e7aaa761efcb567e753d0c Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 26 Mar 2024 10:31:54 +0300 Subject: [PATCH 089/291] fix: recall switcher changes --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 1 - .../src/lib/components/switcher/switcher.component.html | 3 ++- .../src/lib/components/switcher/switcher.component.ts | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index 054085233c..c9e8b5277d 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -33,7 +33,6 @@ All notable changes to this project will be documented in this file. - fix(docs/colors): fix documentation styles for dark theme - fix(components/file-upload) fileupload buttons incorrect gap #1482 - fix(components/navigation-menu): hint icon margins added for navigation menu #1329 -- fix (components/cron): switcher used in Cron incorrectly displays selected tab #1494 ## [1.15.1, 2.12.1, 3.11.1](https://github.com/zyfra/Prizm) (19-02-2023) diff --git a/libs/components/src/lib/components/switcher/switcher.component.html b/libs/components/src/lib/components/switcher/switcher.component.html index 81144f26bb..5d61a59abc 100644 --- a/libs/components/src/lib/components/switcher/switcher.component.html +++ b/libs/components/src/lib/components/switcher/switcher.component.html @@ -1,7 +1,8 @@
    - + !switcher.hide); - } - @Input() @prizmDefaultProp() public set selectedSwitcherIdx(idx: number) { From 5c564b0e0a9fc78a23079904deae450c090daf55 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 26 Mar 2024 14:32:20 +0300 Subject: [PATCH 090/291] fix: changelog 3.12.0 fix texts --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index c9e8b5277d..5fc4f01982 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -13,8 +13,8 @@ All notable changes to this project will be documented in this file. - feat(components/input-icon-button): change the focus to focus-visible for input-icon-button #1297 - feat(components/slider): change the focus to focus-visible for slider cnob #1297 - feat(components/stepper): change the focus to focus-visible for stepper button #1297 -- feat(components/input-icon-button): change the focus to focus-visible for toggle #1297 -- feat(components/input-icon-button): change the focus to focus-visible for button #1297 +- feat(components/toggle): change the focus to focus-visible for toggle #1297 +- feat(components/button): change the focus to focus-visible for button #1297 - feat(docs/theme): add shadow color to docs #900 ### Bug fixes From c1153e28106caba179295c3151a68e23837c7e15 Mon Sep 17 00:00:00 2001 From: "darina.reynish@idp.zyfra.com" Date: Tue, 26 Mar 2024 17:29:52 +0300 Subject: [PATCH 091/291] fix: 3.12.0 changelog update --- apps/doc/src/app/about-prizm/changelog/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md index 5fc4f01982..e01e493fc0 100644 --- a/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md +++ b/apps/doc/src/app/about-prizm/changelog/CHANGELOG.md @@ -33,6 +33,7 @@ All notable changes to this project will be documented in this file. - fix(docs/colors): fix documentation styles for dark theme - fix(components/file-upload) fileupload buttons incorrect gap #1482 - fix(components/navigation-menu): hint icon margins added for navigation menu #1329 +- fix(components/file-upload) fileupload buttons incorrect gap #1482 ## [1.15.1, 2.12.1, 3.11.1](https://github.com/zyfra/Prizm) (19-02-2023) From 00298bf0df56babdf19adfee77fc0ef32a328ae7 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:47:20 +0300 Subject: [PATCH 092/291] fix(ci): sync pipelines with main --- .github/workflows/beta-publish-ng14.yml | 4 +- .github/workflows/beta-publish-ng15.yml | 4 +- .github/workflows/beta-publish-ng16.yml | 2 +- .github/workflows/beta-publish-ng17.yml | 411 ++++++++++++++++ .github/workflows/beta-released.yml | 30 +- .../check-build-in-real-project-ng14.yml | 2 +- .../check-build-in-real-project-ng15.yml | 2 +- .github/workflows/deploy-main-doc-ng14.yml | 117 +++++ .github/workflows/deploy-main-doc-ng15.yml | 112 +++++ .github/workflows/deploy-main-doc-ng16.yml | 107 +++++ .github/workflows/deploy-main-doc-ng17.yml | 107 +++++ .github/workflows/deploy-main-doc.yml | 27 ++ .github/workflows/main-publish-ng14.yml | 4 +- .github/workflows/main-publish-ng15.yml | 4 +- .github/workflows/main-publish-ng16.yml | 8 +- .github/workflows/main-publish-ng17.yml | 443 ++++++++++++++++++ .github/workflows/pr-ng14.yml | 12 +- .github/workflows/pr-ng15.yml | 12 +- .github/workflows/pr-ng16.yml | 16 +- .github/workflows/pr-ng17.yml | 140 ++++++ .../workflows/pre-release-publish-ng14.yml | 4 +- .../workflows/pre-release-publish-ng15.yml | 4 +- .../workflows/pre-release-publish-ng16.yml | 2 +- .../workflows/pre-release-publish-ng17.yml | 411 ++++++++++++++++ .github/workflows/pre-released.yml | 43 +- .github/workflows/released.yml | 44 +- 26 files changed, 1971 insertions(+), 101 deletions(-) create mode 100644 .github/workflows/beta-publish-ng17.yml create mode 100644 .github/workflows/deploy-main-doc-ng14.yml create mode 100644 .github/workflows/deploy-main-doc-ng15.yml create mode 100644 .github/workflows/deploy-main-doc-ng16.yml create mode 100644 .github/workflows/deploy-main-doc-ng17.yml create mode 100644 .github/workflows/deploy-main-doc.yml create mode 100644 .github/workflows/main-publish-ng17.yml create mode 100644 .github/workflows/pr-ng17.yml create mode 100644 .github/workflows/pre-release-publish-ng17.yml diff --git a/.github/workflows/beta-publish-ng14.yml b/.github/workflows/beta-publish-ng14.yml index 8009289bfd..dab5343eab 100644 --- a/.github/workflows/beta-publish-ng14.yml +++ b/.github/workflows/beta-publish-ng14.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.16.0-ng14beta.0') | jq '([.[] | select(startswith("1.16.0-ng14beta"))] | last // "1.16.0-ng14beta.0")' 2>/dev/null || echo '1.16.0-ng14beta.0' + (npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.14.0-ng14beta.0') | jq '([.[] | select(startswith("1.14.0-ng14beta"))] | last // "1.14.0-ng14beta.0")' 2>/dev/null || echo '1.14.0-ng14beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/beta-publish-ng15.yml b/.github/workflows/beta-publish-ng15.yml index 95a0a3116e..d87c2ac663 100644 --- a/.github/workflows/beta-publish-ng15.yml +++ b/.github/workflows/beta-publish-ng15.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.13.0-ng15beta.0') | jq '([.[] | select(startswith("2.13.0-ng15beta"))] | last // "2.13.0-ng15beta.0")' 2>/dev/null || echo '2.13.0-ng15beta.0' + (npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.11.0-ng15beta.0') | jq '([.[] | select(startswith("2.11.0-ng15beta"))] | last // "2.11.0-ng15beta.0")' 2>/dev/null || echo '2.11.0-ng15beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index d16a163a2c..4150243376 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_draft_version=$( - (npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.12.0-beta.0') | jq '([.[] | select(startswith("3.12.0-beta"))] | last // "3.12.0-beta.0")' 2>/dev/null || echo '3.12.0-beta.0' + (npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.10.0-beta.0') | jq '([.[] | select(startswith("3.10.0-beta"))] | last // "3.10.0-beta.0")' 2>/dev/null || echo '3.10.0-beta.0' ) echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV diff --git a/.github/workflows/beta-publish-ng17.yml b/.github/workflows/beta-publish-ng17.yml new file mode 100644 index 0000000000..620b30243b --- /dev/null +++ b/.github/workflows/beta-publish-ng17.yml @@ -0,0 +1,411 @@ +# TODO: later change tag by input variable ${{ inputs.tag }} +name: Publish beta packages 17 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_draft_version=$( + (npm view @prizm-ui/components versions --tag beta --json 2>/dev/null || echo '4.1.1-beta.0') | jq '([.[] | select(startswith("4.1.1-beta"))] | last // "4.1.1-beta.0")' 2>/dev/null || echo '4.1.1-beta.0' + ) + echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Update beta versions' + run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="4.*.*-beta.up" --all --currentVersion="${{ env.LAST_DRAFT_VERSION }}" + + - name: 'Build beta versions.' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v4-beta + + publish-components: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/components && npm publish --tag beta --access public --verbose + + publish-i18n: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/i18n && npm publish --tag beta --access public --verbose + + publish-helpers: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/helpers && npm publish --tag beta --access public --verbose + + publish-core: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/core && npm publish --tag beta --access public --verbose + + publish-theme: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/theme && npm publish --tag beta --access public --verbose + + publish-icons: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/icons/base && npm publish --tag beta --access public --verbose + + publish-flags: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/icons/flags && npm publish --tag beta --access public --verbose + + publish-plugin: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/plugin && npm publish --tag beta --access public --verbose + + publish-ast: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/ast && npm publish --tag beta --access public --verbose + + publish-charts: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/charts && npm publish --tag beta --access public --verbose + + publish-nxmv: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/nxmv && npm publish --tag beta --access public --verbose diff --git a/.github/workflows/beta-released.yml b/.github/workflows/beta-released.yml index fa0e4091a9..a1d39560fd 100644 --- a/.github/workflows/beta-released.yml +++ b/.github/workflows/beta-released.yml @@ -6,18 +6,22 @@ env: npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} jobs: - pre_beta_release_v3: + pre_beta_release_v4: if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/beta-publish-ng16.yml@main - secrets: inherit - - pre_beta_release_v2: - needs: pre_beta_release_v3 - if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/beta-publish-ng15.yml@main - secrets: inherit - - pre_beta_release_v1: - needs: pre_beta_release_v2 - uses: zyfra/Prizm/.github/workflows/beta-publish-ng14.yml@main + uses: zyfra/Prizm/.github/workflows/beta-publish-ng17.yml@main secrets: inherit +# pre_beta_release_v3: +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/beta-publish-ng16.yml@main +# secrets: inherit +# +# pre_beta_release_v2: +# needs: pre_beta_release_v3 +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/beta-publish-ng15.yml@main +# secrets: inherit +# +# pre_beta_release_v1: +# needs: pre_beta_release_v2 +# uses: zyfra/Prizm/.github/workflows/beta-publish-ng14.yml@main +# secrets: inherit diff --git a/.github/workflows/check-build-in-real-project-ng14.yml b/.github/workflows/check-build-in-real-project-ng14.yml index 1e69206927..63fcd4bb2c 100644 --- a/.github/workflows/check-build-in-real-project-ng14.yml +++ b/.github/workflows/check-build-in-real-project-ng14.yml @@ -53,7 +53,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: 'Build doc app for firebase hosting' run: npx ng build diff --git a/.github/workflows/check-build-in-real-project-ng15.yml b/.github/workflows/check-build-in-real-project-ng15.yml index dcbfa6bf0e..23dd0fb202 100644 --- a/.github/workflows/check-build-in-real-project-ng15.yml +++ b/.github/workflows/check-build-in-real-project-ng15.yml @@ -53,7 +53,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: 'Build doc app for firebase hosting' run: npx ng build diff --git a/.github/workflows/deploy-main-doc-ng14.yml b/.github/workflows/deploy-main-doc-ng14.yml new file mode 100644 index 0000000000..04cc352f4c --- /dev/null +++ b/.github/workflows/deploy-main-doc-ng14.yml @@ -0,0 +1,117 @@ +name: Deploy doc main 14 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_14-${{ hashFiles('package-lock.json.ng14') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_14- + + - name: 'Initial changes 14' + run: | + cp -f package.json.ng14 package.json + cp -f package-lock.json.ng14 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_v1_version=$( + echo '1.14.0' + ) + echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV + + - name: 'Set version 14' + run: npx nx generate @prizm-ui/nx-mv:apply -n v14 + + # - name: 'Update main versions' + # run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="1.*.*.up" --all --currentVersion="${{ env.LAST_V1_VERSION }}" + + - name: 'Build main versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_14-${{ hashFiles('package-lock.json.ng14') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_14- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v1 diff --git a/.github/workflows/deploy-main-doc-ng15.yml b/.github/workflows/deploy-main-doc-ng15.yml new file mode 100644 index 0000000000..7610985427 --- /dev/null +++ b/.github/workflows/deploy-main-doc-ng15.yml @@ -0,0 +1,112 @@ +name: Deploy doc main 15 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_15-${{ hashFiles('package-lock.json.ng15') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_15- + + - name: 'Initial changes 15' + run: | + cp -f package.json.ng15 package.json + cp -f package-lock.json.ng15 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_v2_version=$( + echo '2.11.0' + ) + echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV + + - name: 'Set version 15' + run: npx nx generate @prizm-ui/nx-mv:apply -n v15 + + - name: 'Build main versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_15-${{ hashFiles('package-lock.json.ng15') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_15- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v2 diff --git a/.github/workflows/deploy-main-doc-ng16.yml b/.github/workflows/deploy-main-doc-ng16.yml new file mode 100644 index 0000000000..0f8898369b --- /dev/null +++ b/.github/workflows/deploy-main-doc-ng16.yml @@ -0,0 +1,107 @@ +# TODO: later change tag by input variable ${{ inputs.tag }} +name: Deploy doc main 16 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng16') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_16- + + - name: 'Initial changes 16' + run: | + cp -f package.json.ng16 package.json + cp -f package-lock.json.ng16 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_v3_version=$( + echo '3.10.0' + ) + echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV + + - name: 'Set version 16' + run: npx nx generate @prizm-ui/nx-mv:apply -n v16 + + - name: 'Build main versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng16') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_16- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v3 diff --git a/.github/workflows/deploy-main-doc-ng17.yml b/.github/workflows/deploy-main-doc-ng17.yml new file mode 100644 index 0000000000..a4711579e1 --- /dev/null +++ b/.github/workflows/deploy-main-doc-ng17.yml @@ -0,0 +1,107 @@ +# TODO: later change tag by input variable ${{ inputs.tag }} +name: Deploy doc main 17 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_v3_version=$( + echo '3.10.0' + ) + echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Build main versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v4 diff --git a/.github/workflows/deploy-main-doc.yml b/.github/workflows/deploy-main-doc.yml new file mode 100644 index 0000000000..874d0c6b57 --- /dev/null +++ b/.github/workflows/deploy-main-doc.yml @@ -0,0 +1,27 @@ +name: Deploy main doc +on: + workflow_dispatch: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +jobs: + # release_v4: + # if: ${{ always() }} + # uses: zyfra/Prizm/.github/workflows/main-publish-ng17.yml@main + # secrets: inherit + release_v3: + needs: release_v4 + if: ${{ always() }} + uses: zyfra/Prizm/.github/workflows/deploy-main-doc-ng16.yml@main + secrets: inherit + + release_v2: + needs: release_v3 + if: ${{ always() }} + uses: zyfra/Prizm/.github/workflows/deploy-main-doc-ng15.yml@main + secrets: inherit + + release_v1: + needs: release_v2 + uses: zyfra/Prizm/.github/workflows/deploy-main-doc-ng13.yml@main + secrets: inherit diff --git a/.github/workflows/main-publish-ng14.yml b/.github/workflows/main-publish-ng14.yml index 971c785fd6..4ee02f7635 100644 --- a/.github/workflows/main-publish-ng14.yml +++ b/.github/workflows/main-publish-ng14.yml @@ -53,12 +53,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_v1_version=$( - echo '1.16.0' + echo '1.14.0' ) echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng15.yml b/.github/workflows/main-publish-ng15.yml index e05c314abc..64fc92ff59 100644 --- a/.github/workflows/main-publish-ng15.yml +++ b/.github/workflows/main-publish-ng15.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_v2_version=$( - echo '2.13.0' + echo '2.11.0' ) echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index 8b50223337..105f5b81e3 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -29,7 +29,7 @@ jobs: uses: actions/cache/restore@v3 with: path: ./node_modules - key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng15') }} + key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng16') }} restore-keys: | ${{ runner.os }}-node_modules_ng_16- @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_v3_version=$( - echo '3.12.0' + echo '3.10.0' ) echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV @@ -104,7 +104,7 @@ jobs: firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' projectId: prizmui channelId: live - target: main + target: v3 publish-components: needs: build diff --git a/.github/workflows/main-publish-ng17.yml b/.github/workflows/main-publish-ng17.yml new file mode 100644 index 0000000000..a29f430108 --- /dev/null +++ b/.github/workflows/main-publish-ng17.yml @@ -0,0 +1,443 @@ +# TODO: later change tag by input variable ${{ inputs.tag }} +name: Publish main packages 17 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_v3_version=$( + echo '4.1.0' + ) + echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Build main versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: main + + publish-components: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/components && npm publish --access public --verbose + + publish-i18n: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/i18n && npm publish --access public --verbose + + publish-helpers: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/helpers && npm publish --access public --verbose + + publish-core: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/core && npm publish --access public --verbose + + publish-theme: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/theme && npm publish --access public --verbose + + publish-icons: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/icons/base && npm publish --access public --verbose + + publish-icons-loader: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/icons/loader && npm publish --access public --verbose + + publish-flags: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/icons/flags && npm publish --access public --verbose + + publish-plugin: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/plugin && npm publish --access public --verbose + + publish-ast: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/ast && npm publish --access public --verbose + + publish-charts: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/charts && npm publish --access public --verbose + + publish-nxmv: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - run: cd dist/libs/nxmv && npm publish --access public --verbose diff --git a/.github/workflows/pr-ng14.yml b/.github/workflows/pr-ng14.yml index 1b66b2b9f5..ca6916dcb8 100644 --- a/.github/workflows/pr-ng14.yml +++ b/.github/workflows/pr-ng14.yml @@ -1,8 +1,10 @@ name: PR NG 14 on: - pull_request_target: - branches: - - main + workflow_dispatch: + workflow_call: +# pull_request_target: +# branches: +# - main jobs: doc_deploy: runs-on: ubuntu-latest @@ -52,7 +54,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: 'Clears all the cached Nx artifacts and metadata ' run: npx nx reset @@ -115,7 +117,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" # - run: npx nx workspace-lint # - run: npx nx clear-cache diff --git a/.github/workflows/pr-ng15.yml b/.github/workflows/pr-ng15.yml index 4e94bd4360..9458fc96c5 100644 --- a/.github/workflows/pr-ng15.yml +++ b/.github/workflows/pr-ng15.yml @@ -1,8 +1,10 @@ name: PR NG 15 on: - pull_request_target: - branches: - - main + workflow_dispatch: + workflow_call: +# pull_request_target: +# branches: +# - main jobs: doc_deploy: runs-on: ubuntu-latest @@ -49,7 +51,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: 'Set version 15' run: npx nx generate @prizm-ui/nx-mv:apply -n v15 @@ -115,7 +117,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" # - run: npx nx workspace-lint # - run: npx nx clear-cache diff --git a/.github/workflows/pr-ng16.yml b/.github/workflows/pr-ng16.yml index d801b00dd1..6ccf70ee78 100644 --- a/.github/workflows/pr-ng16.yml +++ b/.github/workflows/pr-ng16.yml @@ -1,8 +1,10 @@ name: PR NG 16 on: - pull_request_target: - branches: - - main + workflow_dispatch: + workflow_call: +# pull_request_target: +# branches: +# - main jobs: doc_deploy: runs-on: ubuntu-latest @@ -26,7 +28,7 @@ jobs: uses: actions/cache/restore@v3 with: path: ./node_modules - key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng15') }} + key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng16') }} restore-keys: | ${{ runner.os }}-node_modules_ng_16- @@ -49,7 +51,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: 'Set version 16' run: npx nx generate @prizm-ui/nx-mv:apply -n v16 @@ -92,7 +94,7 @@ jobs: uses: actions/cache/restore@v3 with: path: ./node_modules - key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng15') }} + key: ${{ runner.os }}-node_modules_ng_16-${{ hashFiles('package-lock.json.ng16') }} restore-keys: | ${{ runner.os }}-node_modules_ng_16- @@ -115,7 +117,7 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" # - run: npx nx workspace-lint # - run: npx nx clear-cache diff --git a/.github/workflows/pr-ng17.yml b/.github/workflows/pr-ng17.yml new file mode 100644 index 0000000000..9eeb2168bc --- /dev/null +++ b/.github/workflows/pr-ng17.yml @@ -0,0 +1,140 @@ +name: PR NG 17 +on: + pull_request_target: + branches: + - main +jobs: + doc_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + fetch-depth: 0 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v2 + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Clears all the cached Nx artifacts and metadata ' + run: npx nx reset + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: 'Upload to Firebase HOSTING (ng17)' + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + expires: 5d + target: v4 + projectId: prizmui + + lint_build_test: + needs: doc_deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + fetch-depth: 0 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v2 + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + # - run: npx nx workspace-lint + # - run: npx nx clear-cache + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Clears all the cached Nx artifacts and metadata ' + run: npx nx reset + + - run: npx nx affected --target=test --base=origin/main --parallel --max-parallel=3 + - run: npx nx affected --target=lint --base=origin/main + # - run: npx nx affected --target=lint --base=origin/main --parallel --max-parallel=3 + # TODO remove schematics excluding after fix + - run: npx nx affected --target=build --base=origin/main --prod + - run: npx nx format:check --base=origin/main +# TODO LATER fix playwright test +# - name: Install Cypress +# run: npx cypress install + +# - name: Run e2e cypress test +# run: npx nx affected --target=e2e --base=main --prod --parallel --max-parallel=3 diff --git a/.github/workflows/pre-release-publish-ng14.yml b/.github/workflows/pre-release-publish-ng14.yml index 7bcc57722b..83f57b1665 100644 --- a/.github/workflows/pre-release-publish-ng14.yml +++ b/.github/workflows/pre-release-publish-ng14.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.16.0-ng14next.0') | jq '([.[] | select(startswith("1.16.0-ng14next"))] | last // "1.16.0-ng14next.0")' 2>/dev/null || echo '1.16.0-ng14next.0' + (npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.14.0-ng14next.0') | jq '([.[] | select(startswith("1.14.0-ng14next"))] | last // "1.14.0-ng14next.0")' 2>/dev/null || echo '1.14.0-ng14next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng15.yml b/.github/workflows/pre-release-publish-ng15.yml index 0aa402fad6..add3fa67db 100644 --- a/.github/workflows/pre-release-publish-ng15.yml +++ b/.github/workflows/pre-release-publish-ng15.yml @@ -52,12 +52,12 @@ jobs: - name: 'Increase max memory limit' run: | - export NODE_OPTIONS="--max_old_space_size=4096" + export NODE_OPTIONS="--max_old_space_size=8192" - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.13.0-ng15next.0') | jq '([.[] | select(startswith("2.13.0-ng15next"))] | last // "2.13.0-ng15next.0")' 2>/dev/null || echo '2.13.0-ng15next.0' + (npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.11.0-ng15next.0') | jq '([.[] | select(startswith("2.11.0-ng15next"))] | last // "2.11.0-ng15next.0")' 2>/dev/null || echo '2.11.0-ng15next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 5271323a11..3b88abcbe3 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -57,7 +57,7 @@ jobs: - name: Set up environment variables run: | last_next_version=$( - (npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.12.0-next.0') | jq '([.[] | select(startswith("3.12.0-next"))] | last // "3.12.0-next.0")' 2>/dev/null || echo '3.12.0-next.0' + (npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.10.0-next.0') | jq '([.[] | select(startswith("3.10.0-next"))] | last // "3.10.0-next.0")' 2>/dev/null || echo '3.10.0-next.0' ) echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV diff --git a/.github/workflows/pre-release-publish-ng17.yml b/.github/workflows/pre-release-publish-ng17.yml new file mode 100644 index 0000000000..f01d2c1d36 --- /dev/null +++ b/.github/workflows/pre-release-publish-ng17.yml @@ -0,0 +1,411 @@ +# TODO: later change tag by input variable ${{ inputs.tag }} +name: Publish next packages 17 +on: + workflow_dispatch: + workflow_call: +env: + npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} +permissions: + contents: read + packages: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Derive appropriate SHAs for base and head for `nx affected` commands + uses: nrwl/nx-set-shas@v3 + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: Restore cache + id: cache-restore + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: 'Initial changes 17' + run: | + cp -f package.json.ng17 package.json + cp -f package-lock.json.ng17 package-lock.json + + - name: Install dependencies + if: steps.cache-restore.outputs.cache-hit != 'true' + run: npm ci --ignore-scripts + + - name: Save cache... + id: cache-save + uses: actions/cache/save@v3 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && always() }} + with: + path: ./node_modules + key: ${{ steps.cache-restore.outputs.cache-primary-key }} + + - name: 'Increase max memory limit' + run: | + export NODE_OPTIONS="--max_old_space_size=8192" + + - name: Set up environment variables + run: | + last_next_version=$( + (npm view @prizm-ui/components versions --tag next --json 2>/dev/null || echo '4.1.1-next.0') | jq '([.[] | select(startswith("4.1.1-next"))] | last // "4.1.1-next.0")' 2>/dev/null || echo '4.1.1-next.0' + ) + echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV + + - name: 'Set version 17' + run: npx nx generate @prizm-ui/nx-mv:apply -n v17 + + - name: 'Update next versions' + run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="4.*.*-next.up" --all --currentVersion="${{ env.LAST_NEXT_VERSION }}" + + - name: 'Build next versions' + run: npx nx run-many --target=build --all --parallel --max-parallel=3 + + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 + with: + name: dist + path: ./dist + + deploy_to_doc: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - name: 'Build doc app for firebase hosting' + run: npm run build:doc + + - name: Deploy doc to firebase + uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}' + projectId: prizmui + channelId: live + target: v4-next + + publish-components: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/components && npm publish --tag next --access public --verbose + + publish-i18n: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/i18n && npm publish --tag next --access public --verbose + + publish-helpers: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/helpers && npm publish --tag next --access public --verbose + + publish-core: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/core && npm publish --tag next --access public --verbose + + publish-theme: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/theme && npm publish --tag next --access public --verbose + + publish-icons: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/icons/base && npm publish --tag next --access public --verbose + + publish-flags: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/icons/flags && npm publish --tag next --access public --verbose + + publish-plugin: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/plugin && npm publish --tag next --access public --verbose + + publish-ast: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/ast && npm publish --tag next --access public --verbose + + publish-charts: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/charts && npm publish --tag next --access public --verbose + + publish-nxmv: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Restore node_modules in cache + uses: actions/cache/restore@v3 + with: + path: ./node_modules + key: ${{ runner.os }}-node_modules_ng_17-${{ hashFiles('package-lock.json.ng17') }} + restore-keys: | + ${{ runner.os }}-node_modules_ng_17- + + - name: Download dist from artifact + uses: actions/download-artifact@v3 + with: + name: dist + path: ./dist + + - uses: actions/setup-node@v3 + with: + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' + + - run: cd dist/libs/nxmv && npm publish --tag next --access public --verbose diff --git a/.github/workflows/pre-released.yml b/.github/workflows/pre-released.yml index 1feed2ed38..3932eab2a5 100644 --- a/.github/workflows/pre-released.yml +++ b/.github/workflows/pre-released.yml @@ -8,30 +8,23 @@ env: npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} jobs: - # pre_beta_release_v1: - # uses: zyfra/Prizm/.github/workflows/beta-publish-ng14.yml@main - # secrets: inherit - # - # pre_beta_release_v2: - # uses: zyfra/Prizm/.github/workflows/beta-publish-ng15.yml@main - # secrets: inherit - # - # pre_beta_release_v3: - # uses: zyfra/Prizm/.github/workflows/beta-publish-ng16.yml@main - # secrets: inherit - pre_release_v3: + pre_release_v4: if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng16.yml@main - secrets: inherit - - pre_release_v2: - needs: pre_release_v3 - if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng15.yml@main - secrets: inherit - - pre_release_v1: - needs: pre_release_v1 - if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng14.yml@main + uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng17.yml@main secrets: inherit +# pre_release_v3: +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng16.yml@main +# secrets: inherit +# +# pre_release_v2: +# needs: pre_release_v3 +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng15.yml@main +# secrets: inherit +# +# pre_release_v1: +# needs: pre_release_v1 +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/pre-release-publish-ng14.yml@main +# secrets: inherit diff --git a/.github/workflows/released.yml b/.github/workflows/released.yml index a3400f82c0..2251bb98b6 100644 --- a/.github/workflows/released.yml +++ b/.github/workflows/released.yml @@ -8,31 +8,23 @@ env: npmrc_config_push: ${{ secrets.NPMRC_CONFIG_PUSH }} NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_PUBLISH_TOKEN }} jobs: - # pre_beta_release_v1: - # uses: zyfra/Prizm/.github/workflows/beta-publish-ng14.yml@main - # secrets: inherit - # - # pre_beta_release_v2: - # uses: zyfra/Prizm/.github/workflows/beta-publish-ng15.yml@main - # secrets: inherit - - # check_package_install: - # uses: zyfra/Prizm/.github/workflows/check-build-in-real-project-ng-15.yml@main - # secrets: inherit - # needs: pre_beta_release - - release_v3: + release_v4: if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/main-publish-ng16.yml@main - secrets: inherit - - release_v2: - needs: release_v3 - if: ${{ always() }} - uses: zyfra/Prizm/.github/workflows/main-publish-ng15.yml@main - secrets: inherit - - release_v1: - needs: release_v2 - uses: zyfra/Prizm/.github/workflows/main-publish-ng14.yml@main + uses: zyfra/Prizm/.github/workflows/main-publish-ng17.yml@main secrets: inherit +# release_v3: +# needs: release_v4 +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/main-publish-ng16.yml@main +# secrets: inherit +# +# release_v2: +# needs: release_v3 +# if: ${{ always() }} +# uses: zyfra/Prizm/.github/workflows/main-publish-ng15.yml@main +# secrets: inherit +# +# release_v1: +# needs: release_v2 +# uses: zyfra/Prizm/.github/workflows/main-publish-ng14.yml@main +# secrets: inherit From f18fe86832a012d28ab28fdf6dee30e3fb594798 Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:37:12 +0300 Subject: [PATCH 093/291] fix(icons): version for v1 --- angular.json | 23 +++++++++++++++++++++++ libs/icons/base/package.json.ng14 | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 angular.json diff --git a/angular.json b/angular.json new file mode 100644 index 0000000000..5802ed1e67 --- /dev/null +++ b/angular.json @@ -0,0 +1,23 @@ +{ + "version": 2, + "projects": { + "ast": "libs/ast", + "charts-base": "libs/charts/base", + "components": "libs/components", + "core": "libs/core", + "doc": "apps/doc", + "doc-base": "libs/doc/base", + "doc-e2e": "apps/doc-e2e", + "doc-pw-e2e": "apps/doc-pw-e2e", + "flag-icons": "libs/icons/flags", + "helpers": "libs/helpers", + "i18n": "libs/i18n", + "icons": "libs/icons/base", + "nxmv": "libs/nxmv", + "plugin": "libs/plugin", + "plugin-e2e": "apps/plugin-e2e", + "schematics": "libs/schematics", + "test": "libs/test", + "theme": "libs/theme" + } +} diff --git a/libs/icons/base/package.json.ng14 b/libs/icons/base/package.json.ng14 index 2613dbcf8d..a2296feecc 100644 --- a/libs/icons/base/package.json.ng14 +++ b/libs/icons/base/package.json.ng14 @@ -1,6 +1,6 @@ { "name": "@prizm-ui/icons", - "version": "1", + "version": "1.16.0", "description": "Prizm UI base icon pack library http://prizm.zyfra.com", "private": false, "publishConfig": { From 74ada749834af8527264b7dff649ad8ad026631b Mon Sep 17 00:00:00 2001 From: Zurab Developer <75216044+ZurabDev@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:38:20 +0300 Subject: [PATCH 094/291] fix(icons): version for v1 --- angular.json | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 angular.json diff --git a/angular.json b/angular.json deleted file mode 100644 index 5802ed1e67..0000000000 --- a/angular.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "version": 2, - "projects": { - "ast": "libs/ast", - "charts-base": "libs/charts/base", - "components": "libs/components", - "core": "libs/core", - "doc": "apps/doc", - "doc-base": "libs/doc/base", - "doc-e2e": "apps/doc-e2e", - "doc-pw-e2e": "apps/doc-pw-e2e", - "flag-icons": "libs/icons/flags", - "helpers": "libs/helpers", - "i18n": "libs/i18n", - "icons": "libs/icons/base", - "nxmv": "libs/nxmv", - "plugin": "libs/plugin", - "plugin-e2e": "apps/plugin-e2e", - "schematics": "libs/schematics", - "test": "libs/test", - "theme": "libs/theme" - } -} From 51fa6d59ea183fe5c0ac02e07e060d304950cd9f Mon Sep 17 00:00:00 2001 From: Alexandr Fedorov Date: Mon, 1 Apr 2024 12:38:01 +0400 Subject: [PATCH 095/291] fix: fixed description of checkbox module import #1527 --- apps/doc/src/app/components/checkbox/examples/setup-module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/doc/src/app/components/checkbox/examples/setup-module.md b/apps/doc/src/app/components/checkbox/examples/setup-module.md index 25032a1c34..b28727b2ac 100644 --- a/apps/doc/src/app/components/checkbox/examples/setup-module.md +++ b/apps/doc/src/app/components/checkbox/examples/setup-module.md @@ -7,7 +7,7 @@ import { PrizmCheckboxModule } from '@prizm-ui/components'; @NgModule({ imports: [ // ... - PrizmCheckboxModuleModule, + PrizmCheckboxModule, ], }) export class MyModule {} From a3273d8cc47390d0ba9028ff976ff857a4ce52bb Mon Sep 17 00:00:00 2001 From: Alexandr Fedorov Date: Mon, 1 Apr 2024 15:00:39 +0400 Subject: [PATCH 096/291] fix: removed first empty string in code examples --- .../app/tools/ast/examples/accordion/accordion.component.ts | 3 +-- .../tools/ast/examples/breadcrumb/breadcrumb.component.ts | 3 +-- .../src/app/tools/ast/examples/button/button.component.ts | 5 ++--- .../app/tools/ast/examples/checkbox/checkbox.component.ts | 4 +--- apps/doc/src/app/tools/ast/examples/chips/chips.component.ts | 4 +--- .../app/tools/ast/examples/dropdown/dropdown.component.ts | 3 +-- .../ast/examples/input-number/input-number.component.ts | 3 +-- .../ast/examples/input-switch/input-switch.component.ts | 3 +-- apps/doc/src/app/tools/ast/examples/input/input.component.ts | 3 +-- .../ast/examples/multi-select/multi-select.component.ts | 3 +-- apps/doc/src/app/tools/ast/examples/radio/radio.component.ts | 3 +-- .../src/app/tools/ast/examples/spinner/spinner.component.ts | 3 +-- .../ast/examples/split-button/split-button.component.ts | 3 +-- apps/doc/src/app/tools/ast/examples/tabs/tabs.component.ts | 3 +-- .../app/tools/ast/examples/textarea/textarea.component.ts | 4 +--- .../ast/examples/toggle-button/toggle-button.component.ts | 3 +-- .../src/app/tools/ast/examples/tooltip/tooltip.component.ts | 3 +-- 17 files changed, 18 insertions(+), 38 deletions(-) diff --git a/apps/doc/src/app/tools/ast/examples/accordion/accordion.component.ts b/apps/doc/src/app/tools/ast/examples/accordion/accordion.component.ts index 950e5e1388..2fd57ede14 100644 --- a/apps/doc/src/app/tools/ast/examples/accordion/accordion.component.ts +++ b/apps/doc/src/app/tools/ast/examples/accordion/accordion.component.ts @@ -91,8 +91,7 @@ export class PrizmAstAccordionExampleComponent implements OnInit { // } // } // ]; - readonly zyfraAccordionHtml = ` - diff --git a/apps/doc/src/app/tools/ast/examples/breadcrumb/breadcrumb.component.ts b/apps/doc/src/app/tools/ast/examples/breadcrumb/breadcrumb.component.ts index 3089eaf22a..1ffaa9ea02 100644 --- a/apps/doc/src/app/tools/ast/examples/breadcrumb/breadcrumb.component.ts +++ b/apps/doc/src/app/tools/ast/examples/breadcrumb/breadcrumb.component.ts @@ -52,8 +52,7 @@ export class PrizmAstBreadcrumbExampleComponent implements OnInit { // }, // // ]; - readonly html = ` - - Test + readonly zyfraButtonHtml = ` +Test `; resultZyfraButtonHtml!: string; diff --git a/apps/doc/src/app/tools/ast/examples/checkbox/checkbox.component.ts b/apps/doc/src/app/tools/ast/examples/checkbox/checkbox.component.ts index 4e6ea47663..14dea25ce4 100644 --- a/apps/doc/src/app/tools/ast/examples/checkbox/checkbox.component.ts +++ b/apps/doc/src/app/tools/ast/examples/checkbox/checkbox.component.ts @@ -62,9 +62,7 @@ export class PrizmAstCheckboxExampleComponent implements OnInit { // }, // // ]; - readonly html = ` - > -`; + readonly html = ``; result!: string; public ngOnInit(): void { diff --git a/apps/doc/src/app/tools/ast/examples/chips/chips.component.ts b/apps/doc/src/app/tools/ast/examples/chips/chips.component.ts index c35247502f..0cb06ff15a 100644 --- a/apps/doc/src/app/tools/ast/examples/chips/chips.component.ts +++ b/apps/doc/src/app/tools/ast/examples/chips/chips.component.ts @@ -57,9 +57,7 @@ export class PrizmAstChipsExampleComponent implements OnInit { // }, // // ]; - readonly html = ` - -`; + readonly html = ``; result!: string; public ngOnInit(): void { diff --git a/apps/doc/src/app/tools/ast/examples/dropdown/dropdown.component.ts b/apps/doc/src/app/tools/ast/examples/dropdown/dropdown.component.ts index 85da7996fb..4ba7e53619 100644 --- a/apps/doc/src/app/tools/ast/examples/dropdown/dropdown.component.ts +++ b/apps/doc/src/app/tools/ast/examples/dropdown/dropdown.component.ts @@ -103,8 +103,7 @@ export class PrizmAstDropdownExampleComponent implements OnInit { // }, // // ]; - readonly html = ` -Show me
    + readonly html = `Show me
    - {{ item.key }} + {{ item.key | prizmFileName }} + {{ item.key | prizmFileExtension }} {{ item.value.file.size | prizmFileSize }}
    diff --git a/libs/components/src/lib/components/file-upload/file-upload.component.less b/libs/components/src/lib/components/file-upload/file-upload.component.less index 7d7c1f2cf8..35e4964f76 100644 --- a/libs/components/src/lib/components/file-upload/file-upload.component.less +++ b/libs/components/src/lib/components/file-upload/file-upload.component.less @@ -96,17 +96,23 @@ overflow: hidden; text-overflow: ellipsis; display: flex; - gap: 8px; align-items: baseline; } - &__name { + &__name, + &__extension { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--prizm-v3-text-icon-primary); } + &__name { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } &__size { + margin-left: 8px; font-size: 10px; line-height: 12px; color: var(--prizm-v3-text-icon-tertiary); diff --git a/libs/components/src/lib/components/file-upload/file-upload.component.ts b/libs/components/src/lib/components/file-upload/file-upload.component.ts index 17801b6eb9..8ad47f3294 100644 --- a/libs/components/src/lib/components/file-upload/file-upload.component.ts +++ b/libs/components/src/lib/components/file-upload/file-upload.component.ts @@ -37,6 +37,8 @@ import { PrizmButtonComponent } from '../button'; import { PrizmProgressBarComponent } from '../progress'; import { PrizmIconComponent } from '../icon'; import { PrizmUploadStatusPipe } from './pipes/upload-status.pipe'; +import { PrizmFileNamePipe } from './pipes/file-name.pipe'; +import { PrizmFileExtensionPipe } from './pipes/file-extension.pipe'; import { PrizmFileSizePipe } from './pipes/file-size.pipe'; @Component({ @@ -47,6 +49,8 @@ import { PrizmFileSizePipe } from './pipes/file-size.pipe'; imports: [ CommonModule, PrizmUploadStatusPipe, + PrizmFileNamePipe, + PrizmFileExtensionPipe, PrizmFileSizePipe, PrizmSanitizerPipe, PrizmPluckPipe, diff --git a/libs/components/src/lib/components/file-upload/pipes/file-extension.pipe.ts b/libs/components/src/lib/components/file-upload/pipes/file-extension.pipe.ts new file mode 100644 index 0000000000..af2025b067 --- /dev/null +++ b/libs/components/src/lib/components/file-upload/pipes/file-extension.pipe.ts @@ -0,0 +1,8 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ name: 'prizmFileExtension', standalone: true }) +export class PrizmFileExtensionPipe implements PipeTransform { + public transform(fileFullName: string): string { + return `.${fileFullName.split('.').pop()}` || ''; + } +} diff --git a/libs/components/src/lib/components/file-upload/pipes/file-name.pipe.ts b/libs/components/src/lib/components/file-upload/pipes/file-name.pipe.ts new file mode 100644 index 0000000000..68ba244b57 --- /dev/null +++ b/libs/components/src/lib/components/file-upload/pipes/file-name.pipe.ts @@ -0,0 +1,8 @@ +import { Pipe, PipeTransform } from '@angular/core'; + +@Pipe({ name: 'prizmFileName', standalone: true }) +export class PrizmFileNamePipe implements PipeTransform { + public transform(fileFullName: string): string { + return fileFullName.split('.').slice(0, -1).join('.'); + } +} From 9415f589f49dbb15359a2d38a702770b73d74433 Mon Sep 17 00:00:00 2001 From: Alexandr Fedorov Date: Wed, 3 Apr 2024 12:03:04 +0400 Subject: [PATCH 103/291] fix: name hint #1541 --- .../src/lib/components/file-upload/file-upload.component.html | 4 ++-- .../src/lib/components/file-upload/file-upload.component.ts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/components/src/lib/components/file-upload/file-upload.component.html b/libs/components/src/lib/components/file-upload/file-upload.component.html index e2ffc80713..d0ae19904c 100644 --- a/libs/components/src/lib/components/file-upload/file-upload.component.html +++ b/libs/components/src/lib/components/file-upload/file-upload.component.html @@ -47,8 +47,8 @@ -
    - {{ item.key | prizmFileName }} +
    + {{ item.key | prizmFileName }} {{ item.key | prizmFileExtension }} {{ item.value.file.size | prizmFileSize }}
    diff --git a/libs/components/src/lib/components/file-upload/file-upload.component.ts b/libs/components/src/lib/components/file-upload/file-upload.component.ts index 8ad47f3294..b44b5fcdcb 100644 --- a/libs/components/src/lib/components/file-upload/file-upload.component.ts +++ b/libs/components/src/lib/components/file-upload/file-upload.component.ts @@ -40,6 +40,8 @@ import { PrizmUploadStatusPipe } from './pipes/upload-status.pipe'; import { PrizmFileNamePipe } from './pipes/file-name.pipe'; import { PrizmFileExtensionPipe } from './pipes/file-extension.pipe'; import { PrizmFileSizePipe } from './pipes/file-size.pipe'; +import { PrizmHintDirective } from '../../directives'; +import { prizmIsTextOverflow } from '../../util'; @Component({ selector: 'prizm-file-upload', @@ -58,6 +60,7 @@ import { PrizmFileSizePipe } from './pipes/file-size.pipe'; PrizmProgressBarComponent, PrizmButtonComponent, PrizmIconComponent, + PrizmHintDirective, ], standalone: true, providers: [PrizmDestroyService, ...prizmI18nInitWithKey(PRIZM_FILE_UPLOAD, 'fileUpload')], @@ -66,6 +69,7 @@ export class PrizmFileUploadComponent extends PrizmAbstractTestId implements Aft @ViewChild('dropzone') dropzoneElementRef!: ElementRef; override readonly testId_ = 'ui_file_upload'; + readonly prizmIsTextOverflow = prizmIsTextOverflow; options: PrizmFileUploadOptions = { ...prizmFileUploadDefaultOptions }; constructor( From 931ccac7463e6d9b4dcda001e620d565199d165c Mon Sep 17 00:00:00 2001 From: Alexandr Fedorov Date: Wed, 3 Apr 2024 14:20:40 +0400 Subject: [PATCH 104/291] fix: hidden overflow for navigation titles #1510 --- .../navigation/navigation-example.const.ts | 25 +++++++++++++++++++ .../prizm-header-dropdown.component.html | 19 ++++++++++++-- .../prizm-header-dropdown.component.less | 2 ++ .../prizm-header-dropdown.component.ts | 3 +++ ...-navigation-item-expandable.component.html | 10 +++++++- ...zm-navigation-item-expandable.component.ts | 3 +++ ...rizm-navigation-item-simple.component.html | 10 +++++++- .../prizm-navigation-item-simple.component.ts | 2 ++ 8 files changed, 70 insertions(+), 4 deletions(-) diff --git a/apps/doc/src/app/components/navigation/navigation-example.const.ts b/apps/doc/src/app/components/navigation/navigation-example.const.ts index 81392e7cf6..063e74dac2 100644 --- a/apps/doc/src/app/components/navigation/navigation-example.const.ts +++ b/apps/doc/src/app/components/navigation/navigation-example.const.ts @@ -85,4 +85,29 @@ export const NAVIGATION_EXAMPLE: INavigationTree[] = [ }, ], }, + { + title: 'Очень очень длинный раздел 4', + icon: 'clapperboard-open', + isExpanded: true, + children: [ + { + title: 'Очень очень длинный подраздел 4.1', + }, + { + title: 'Очень очень длинный подраздел 4.2', + isExpanded: true, + children: [ + { + title: 'Очень очень длинный подраздел 4.2.1', + }, + { + title: 'Подраздел 4.2.2', + }, + ], + }, + { + title: 'Подраздел 4.3', + }, + ], + }, ]; diff --git a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.html b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.html index 5047b1bf5d..d8bfa30994 100644 --- a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.html +++ b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.html @@ -16,7 +16,15 @@ class="screen__icon" [iconClass]="data[currentScreenIdx]?.icon || 'files-folder'" > - {{ data[currentScreenIdx]?.title }} + + {{ data[currentScreenIdx]?.title }} +
    @@ -32,7 +40,14 @@ >
    - {{ item?.title }} + + {{ item?.title }} +
    diff --git a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.less b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.less index eec178040c..de4b7a2562 100644 --- a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.less +++ b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.less @@ -53,6 +53,8 @@ display: flex; gap: 8px; + overflow: hidden; + &__icon { color: var(--prizm-v3-status-info-primary-default); } diff --git a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.ts b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.ts index 6c473a096a..1127ed15ea 100644 --- a/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.ts +++ b/libs/components/src/lib/components/header/components/prizm-header-dropdown/prizm-header-dropdown.component.ts @@ -7,6 +7,7 @@ import { PrizmDropdownHostModule } from '../../../dropdowns/dropdown-host'; import { PrizmDataListModule } from '../../../data-list'; import { PrizmButtonModule } from '../../../button'; import { PrizmHintModule } from '../../../../directives'; +import { prizmIsTextOverflow } from '../../../../util'; @Component({ selector: 'prizm-header-dropdown', @@ -29,6 +30,8 @@ export class PrizmHeaderDropdownComponent { @Input() public currentScreenIdx = 0; @Output() screenIdxChange: EventEmitter = new EventEmitter(); + readonly prizmIsTextOverflow = prizmIsTextOverflow; + public openDropdown = false; public changeScreen(idx: number): void { diff --git a/libs/components/src/lib/components/navigation/components/prizm-navigation-item-expandable/prizm-navigation-item-expandable.component.html b/libs/components/src/lib/components/navigation/components/prizm-navigation-item-expandable/prizm-navigation-item-expandable.component.html index d633ca5013..b84790bfeb 100644 --- a/libs/components/src/lib/components/navigation/components/prizm-navigation-item-expandable/prizm-navigation-item-expandable.component.html +++ b/libs/components/src/lib/components/navigation/components/prizm-navigation-item-expandable/prizm-navigation-item-expandable.component.html @@ -3,7 +3,15 @@ - {{ menuItem?.title }} + + {{ menuItem?.title }} +