Skip to content

Commit

Permalink
Merge pull request #1877 from zyfra/feat/release-3.15.0
Browse files Browse the repository at this point in the history
release 3.15.0
  • Loading branch information
ickisIckis committed Jul 22, 2024
2 parents 1eb4842 + 852d499 commit d527816
Show file tree
Hide file tree
Showing 56 changed files with 121 additions and 92 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/beta-publish-ng14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.1-ng14beta.0') | jq '([.[] | select(startswith("1.18.1-ng14beta"))] | last // "1.18.1-ng14beta.0")' 2>/dev/null || echo '1.18.1-ng14beta.0'
(npm view @prizm-ui/components versions --tag ng14beta --json 2>/dev/null || echo '1.19.0-ng14beta.0') | jq '([.[] | select(startswith("1.19.0-ng14beta"))] | last // "1.19.0-ng14beta.0")' 2>/dev/null || echo '1.19.0-ng14beta.0'
)
echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta-publish-ng15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.15.1-ng15beta.0') | jq '([.[] | select(startswith("2.15.1-ng15beta"))] | last // "2.15.1-ng15beta.0")' 2>/dev/null || echo '2.15.1-ng15beta.0'
(npm view @prizm-ui/components versions --tag ng15beta --json 2>/dev/null || echo '2.16.0-ng15beta.0') | jq '([.[] | select(startswith("2.16.0-ng15beta"))] | last // "2.16.0-ng15beta.0")' 2>/dev/null || echo '2.16.0-ng15beta.0'
)
echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta-publish-ng16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.1-beta.0') | jq '([.[] | select(startswith("3.14.1-beta"))] | last // "3.14.1-beta.0")' 2>/dev/null || echo '3.14.1-beta.0'
(npm view @prizm-ui/components versions --tag ng16beta --json 2>/dev/null || echo '3.15.0-beta.0') | jq '([.[] | select(startswith("3.15.0-beta"))] | last // "3.15.0-beta.0")' 2>/dev/null || echo '3.15.0-beta.0'
)
echo "LAST_DRAFT_VERSION=${last_draft_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-publish-ng14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Set up environment variables
run: |
last_v1_version=$(
echo '1.18.1'
echo '1.19.0'
)
echo "LAST_V1_VERSION=${last_v1_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-publish-ng15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set up environment variables
run: |
last_v2_version=$(
echo '2.15.1'
echo '2.16.0'
)
echo "LAST_V2_VERSION=${last_v2_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-publish-ng16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set up environment variables
run: |
last_v3_version=$(
echo '3.14.1'
echo '3.15.0'
)
echo "LAST_V3_VERSION=${last_v3_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-publish-ng14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.18.1-ng14next.0') | jq '([.[] | select(startswith("1.18.1-ng14next"))] | last // "1.18.1-ng14next.0")' 2>/dev/null || echo '1.18.1-ng14next.0'
(npm view @prizm-ui/components versions --tag ng14next --json 2>/dev/null || echo '1.19.0-ng14next.0') | jq '([.[] | select(startswith("1.19.0-ng14next"))] | last // "1.19.0-ng14next.0")' 2>/dev/null || echo '1.19.0-ng14next.0'
)
echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-publish-ng15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.15.1-ng15next.0') | jq '([.[] | select(startswith("2.15.1-ng15next"))] | last // "2.15.1-ng15next.0")' 2>/dev/null || echo '2.15.1-ng15next.0'
(npm view @prizm-ui/components versions --tag ng15next --json 2>/dev/null || echo '2.16.0-ng15next.0') | jq '([.[] | select(startswith("2.16.0-ng15next"))] | last // "2.16.0-ng15next.0")' 2>/dev/null || echo '2.16.0-ng15next.0'
)
echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-publish-ng16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.1-next.0') | jq '([.[] | select(startswith("3.14.1-next"))] | last // "3.14.1-next.0")' 2>/dev/null || echo '3.14.1-next.0'
(npm view @prizm-ui/components versions --tag ng16next --json 2>/dev/null || echo '3.15.0-next.0') | jq '([.[] | select(startswith("3.15.0-next"))] | last // "3.15.0-next.0")' 2>/dev/null || echo '3.15.0-next.0'
)
echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV
Expand Down
14 changes: 14 additions & 0 deletions apps/doc/src/app/about-prizm/changelog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

All notable changes to this project will be documented in this file.

## [1.19.0, 2.15.0, 3.15.0](https://github.com/zyfra/Prizm) (22-07-2024)

### Features

- feat(components/paginator): update paginator dictionary #1840 BREAKING CHANGE in dictionary -[here](https://github.com/zyfra/Prizm/discussions/1617)

### Bug Fixes

- fix(components/switcher): fix async support for selected switcher #1476
- fix(components/tree): incorrect markup fix #1742 Note: markup is update can affect tree component in project
- fix(components/input-text): incorrect behavior occurring in PrizmInputComponent when NgxMaskDirective is applied and the value changes from an empty state. #1190
- fix(components/multiselect): checkboxes are blinking on elements click #1718
- fix(components/switcher): write value error fixed #1890

## [1.18.1, 2.15.1, 3.14.1](https://github.com/zyfra/Prizm) (20-06-2024)

### Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
<div>
Value: <b>{{ control.value }}</b>
</div>

<br />

<button (click)="updateValue()" prizmButton>Update value</button>
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ export class SwitcherBasicExampleComponent {
},
];
public readonly control = new FormControl(1);

public updateValue() {
this.control.setValue(3);
}
}
2 changes: 1 addition & 1 deletion apps/doc/src/app/version-manager/current.const.ts.ng14
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PRIZM_CURRENT_VERSION = '1.18.1';
export const PRIZM_CURRENT_VERSION = '1.19.0';
2 changes: 1 addition & 1 deletion apps/doc/src/app/version-manager/current.const.ts.ng15
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PRIZM_CURRENT_VERSION = '2.15.1';
export const PRIZM_CURRENT_VERSION = '2.16.0';
2 changes: 1 addition & 1 deletion apps/doc/src/app/version-manager/current.const.ts.ng16
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PRIZM_CURRENT_VERSION = '3.14.1';
export const PRIZM_CURRENT_VERSION = '3.15.0';
14 changes: 7 additions & 7 deletions apps/doc/src/app/version-manager/versions.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
},
},
{
label: '3.14.1 (ng16)',
version: '3.14.1',
label: '3.15.0 (ng16)',
version: '3.15.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo',
link: getDocSite.bind(null, 'http://3.14.1.doc.prizm.site', 'https://prizm-v3.web.app'),
link: getDocSite.bind(null, 'http://3.15.0.doc.prizm.site', 'https://prizm-v3.web.app'),
otherLinks: [new URL('https://prizm-v3.web.app')],
cb: (hostName: string, current: PrizmVersionMeta) => {
return hostName.startsWith('prizm-v3--');
},
},
{
label: '2.15.1 (ng15)',
version: '2.15.1',
label: '2.16.0 (ng15)',
version: '2.16.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo',
link: getDocSite.bind(null, 'http://2.14.2.doc.prizm.site', 'https://prizm-v2.web.app'),
otherLinks: [],
Expand All @@ -43,8 +43,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
},
},
{
label: '1.18.1 (ng14)',
version: '1.18.1',
label: '1.19.0 (ng14)',
version: '1.19.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v1-demo',
link: getDocSite.bind(null, 'http://1.17.2.doc.prizm.site', 'https://prizm-v1.web.app'),
otherLinks: [],
Expand Down
2 changes: 1 addition & 1 deletion libs/ast/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/ast",
"version": "1.18.1",
"version": "1.19.0",
"private": false,
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion libs/ast/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/ast",
"version": "2.15.1",
"version": "2.16.0",
"private": false,
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion libs/ast/package.json.ng16
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/ast",
"version": "3.14.1",
"version": "3.15.0",
"private": false,
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions libs/charts/base/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/charts",
"version": "1.18.1",
"version": "1.19.0",
"license": "MIT",
"private": false,
"publishConfig": {
Expand All @@ -11,8 +11,8 @@
"lodash-es": "^4.17.21",
"@angular/common": "^14.2.0",
"@angular/core": "^14.2.0",
"@prizm-ui/theme": "^1.18.1",
"@prizm-ui/helpers": "^1.18.1",
"@prizm-ui/theme": "^1.19.0",
"@prizm-ui/helpers": "^1.19.0",
"@antv/g2plot": "^2.4.22"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions libs/charts/base/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/charts",
"version": "2.15.1",
"version": "2.16.0",
"license": "MIT",
"private": false,
"publishConfig": {
Expand All @@ -11,8 +11,8 @@
"lodash-es": "^4.17.21",
"@angular/common": "^15.2.0",
"@angular/core": "^15.2.0",
"@prizm-ui/theme": "^2.15.1",
"@prizm-ui/helpers": "^2.15.1",
"@prizm-ui/theme": "^2.16.0",
"@prizm-ui/helpers": "^2.16.0",
"@antv/g2plot": "^2.4.22"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions libs/charts/base/package.json.ng16
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/charts",
"version": "3.14.1",
"version": "3.15.0",
"license": "MIT",
"private": false,
"publishConfig": {
Expand All @@ -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.14.1",
"@prizm-ui/helpers": "^3.14.1",
"@prizm-ui/theme": "^3.15.0",
"@prizm-ui/helpers": "^3.15.0",
"@antv/g2plot": "^2.4.22"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions libs/components/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/components",
"version": "1.18.1",
"version": "1.19.0",
"description": "Prizm UI system design components library http://prizm.zyfra.com",
"license": "MIT",
"private": false,
Expand All @@ -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.18.1",
"@prizm-ui/core": "^1.18.1",
"@prizm-ui/i18n": "^1.18.1",
"@prizm-ui/theme": "^1.18.1"
"@prizm-ui/helpers": "^1.19.0",
"@prizm-ui/core": "^1.19.0",
"@prizm-ui/i18n": "^1.19.0",
"@prizm-ui/theme": "^1.19.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
10 changes: 5 additions & 5 deletions libs/components/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/components",
"version": "2.15.1",
"version": "2.16.0",
"description": "Prizm UI system design components library http://prizm.zyfra.com",
"license": "MIT",
"private": false,
Expand All @@ -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.15.1",
"@prizm-ui/core": "^2.15.1",
"@prizm-ui/i18n": "^2.15.1",
"@prizm-ui/theme": "^2.15.1"
"@prizm-ui/helpers": "^2.16.0",
"@prizm-ui/core": "^2.16.0",
"@prizm-ui/i18n": "^2.16.0",
"@prizm-ui/theme": "^2.16.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
10 changes: 5 additions & 5 deletions libs/components/package.json.ng16
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/components",
"version": "3.14.1",
"version": "3.15.0",
"description": "Prizm UI system design components library http://prizm.zyfra.com",
"license": "MIT",
"private": false,
Expand All @@ -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.14.1",
"@prizm-ui/core": "^3.14.1",
"@prizm-ui/i18n": "^3.14.1",
"@prizm-ui/theme": "^3.14.1"
"@prizm-ui/helpers": "^3.15.0",
"@prizm-ui/core": "^3.15.0",
"@prizm-ui/i18n": "^3.15.0",
"@prizm-ui/theme": "^3.15.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,14 @@ export class PrizmSwitcherComponent extends PrizmAbstractTestId implements Contr
}

public writeValue(idx: string): void {
this.selectedSwitcherIdx = parseInt(idx);
const selectedSwitcherIdx = parseInt(idx);
if (!this.isIndexValid(selectedSwitcherIdx, this.switchers)) {
this.logIndexValidationError("value is out of bound and can't be set");
return;
}

this.selectedSwitcherIdx_ = selectedSwitcherIdx;
this.cdRef.markForCheck();
}
public registerOnChange(fn: (value: number) => void): void {
this.onChange = fn;
Expand Down
2 changes: 1 addition & 1 deletion libs/core/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/core",
"version": "1.18.1",
"version": "1.19.0",
"license": "MIT",
"description": "The main library for creating Angular components and elements using Prizm.",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion libs/core/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/core",
"version": "2.15.1",
"version": "2.16.0",
"license": "MIT",
"description": "The main library for creating Angular components and elements using Prizm.",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion libs/core/package.json.ng16
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/core",
"version": "3.14.1",
"version": "3.15.0",
"license": "MIT",
"description": "The main library for creating Angular components and elements using Prizm.",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion libs/helpers/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/helpers",
"version": "1.18.1",
"version": "1.19.0",
"license": "MIT",
"description": "Library to make it easy to create Angular applications. Contains Injectables Service, RxJS utilities, directives, and standard pipes.",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion libs/helpers/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/helpers",
"version": "2.15.1",
"version": "2.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,
Expand Down
2 changes: 1 addition & 1 deletion libs/helpers/package.json.ng16
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/helpers",
"version": "3.14.1",
"version": "3.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,
Expand Down
2 changes: 1 addition & 1 deletion libs/i18n/package.json.ng14
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/i18n",
"version": "1.18.1",
"version": "1.19.0",
"peerDependencies": {
"@angular/core": "^14.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/i18n/package.json.ng15
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/i18n",
"version": "2.15.1",
"version": "2.16.0",
"peerDependencies": {
"@angular/common": "^15.2.0",
"@angular/core": "^15.2.0"
Expand Down
Loading

0 comments on commit d527816

Please sign in to comment.