Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 3.10.0 #1310

Merged
merged 11 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.13.0-ng14beta.0') | jq '([.[] | select(startswith("1.13.0-ng14beta"))] | last // "1.13.0-ng14beta.0")' 2>/dev/null || echo '1.13.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

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.10.0-ng15beta.0') | jq '([.[] | select(startswith("2.10.0-ng15beta"))] | last // "2.10.0-ng15beta.0")' 2>/dev/null || echo '2.10.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

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 beta --json 2>/dev/null || echo '3.9.0-beta.0') | jq '([.[] | select(startswith("3.9.0-beta"))] | last // "3.9.0-beta.0")' 2>/dev/null || echo '3.9.0-beta.0'
(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'
)
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.13.0'
echo '1.14.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.10.0'
echo '2.11.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.9.0'
echo '3.10.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.13.0-ng14next.0') | jq '([.[] | select(startswith("1.13.0-ng14next"))] | last // "1.13.0-ng14next.0")' 2>/dev/null || echo '1.13.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

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.10.0-ng15next.0') | jq '([.[] | select(startswith("2.10.0-ng15next"))] | last // "2.10.0-ng15next.0")' 2>/dev/null || echo '2.10.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

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 next --json 2>/dev/null || echo '3.9.0-next.0') | jq '([.[] | select(startswith("3.9.0-next"))] | last // "3.9.0-next.0")' 2>/dev/null || echo '3.9.0-next.0'
(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'
)
echo "LAST_NEXT_VERSION=${last_next_version}" >> $GITHUB_ENV

Expand Down
12 changes: 12 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,18 @@

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

## [1.14.0, 2.11.0, 3.10.0](https:/zyfra/Prizm) (19-01-2023)

## Features

- feat(doc): save current theme in local storage on change

### Bug fixes

- fix(theme/service): recognize current theme #1287 #1292
- fix(components/tabs): set stacking context to isolate #1291
- fix(components/input-text): show status on clear required fields #1284

## [1.13.0, 2.10.0, 3.9.0](https:/zyfra/Prizm) (29-12-2023)

## Features
Expand Down
17 changes: 8 additions & 9 deletions apps/doc/src/app/logo/logo.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core';
import { debounceTime, filter, map } from 'rxjs/operators';
import { PrizmThemeService } from '@prizm-ui/theme';
import { LOCAL_STORAGE } from '@ng-web-apis/common';
Expand All @@ -10,24 +10,23 @@ import { PrizmIconsSvgRegistry, PrizmIconSvgEnum, prizmIconSvgOtherGitHub } from
styleUrls: ['./logo.component.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class LogoComponent {
export class LogoComponent implements OnInit {
readonly githubSvgName = PrizmIconSvgEnum.OTHER_GIT_HUB;
readonly themeSwitcher = inject(PrizmThemeService);
readonly svgRegistry = inject(PrizmIconsSvgRegistry);
readonly storage = inject(LOCAL_STORAGE);
readonly isNight$ = this.themeSwitcher.change$.pipe(
filter(i => i.el === this.themeSwitcher.rootElement),
map(i => i.theme === 'dark'),
debounceTime(0)
);

readonly githubSvgName = PrizmIconSvgEnum.OTHER_GIT_HUB;

constructor(
private readonly themeSwitcher: PrizmThemeService,
private readonly svgRegistry: PrizmIconsSvgRegistry,
@Inject(LOCAL_STORAGE) private readonly storage: Storage
) {
ngOnInit(): void {
this.svgRegistry.registerIcons([prizmIconSvgOtherGitHub]);
}

public onMode(isNight: boolean): void {
this.storage.setItem(`night`, isNight ? 'true' : 'false');
this.themeSwitcher.update(isNight ? 'dark' : 'light');
}
}
Expand Down
2 changes: 1 addition & 1 deletion apps/doc/src/app/version-manager/current.const.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PRIZM_CURRENT_VERSION = '1.13.0';
export const PRIZM_CURRENT_VERSION = '1.14.0';
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.13.0';
export const PRIZM_CURRENT_VERSION = '1.14.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.10.0';
export const PRIZM_CURRENT_VERSION = '2.11.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.9.0';
export const PRIZM_CURRENT_VERSION = '3.10.0';
36 changes: 18 additions & 18 deletions apps/doc/src/app/version-manager/versions.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export interface PrizmVersionMeta {

export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
{
label: '3.9.0 (ng16)',
version: '3.9.0',
label: '3.10.0 (ng16)',
version: '3.10.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo',
link: new URL('http://prizm.site'),
otherLinks: [new URL('https://prizm-v3.web.app')],
Expand All @@ -20,8 +20,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
},
},
{
label: '2.10.0 (ng15)',
version: '2.10.0',
label: '2.11.0 (ng15)',
version: '2.11.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo',
link: new URL('https://prizm-v2.web.app'),
otherLinks: [],
Expand All @@ -30,8 +30,8 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
},
},
{
label: '1.13.0 (ng14)',
version: '1.13.0',
label: '1.14.0 (ng14)',
version: '1.14.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v1-demo',
link: new URL('https://prizm-v1.web.app'),
otherLinks: [],
Expand All @@ -40,43 +40,43 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
},
},
{
label: '3.9.0-next (ng16)',
version: '3.9.0-next',
label: '3.10.0-next (ng16)',
version: '3.10.0-next',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-next-demo',
link: new URL('https://prizm-v3-next.web.app'),
otherLinks: [],
},
{
label: '2.10.0-next (ng15)',
label: '2.11.0-next (ng15)',
stackblitz: 'https://stackblitz.com/edit/prizm-v2-next-demo',
version: '2.10.0-next',
version: '2.11.0-next',
link: new URL('https://prizm-v2-next.web.app'),
otherLinks: [],
},
{
label: '1.13.0-next (ng14)',
version: '1.13.0-next',
label: '1.14.0-next (ng14)',
version: '1.14.0-next',
stackblitz: 'https://stackblitz.com/edit/prizm-v1-next-demo',
link: new URL('https://prizm-v1-next.web.app'),
otherLinks: [],
},
{
label: '3.9.0-beta (ng16)',
version: '3.9.0-beta',
label: '3.10.0-beta (ng16)',
version: '3.10.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo',
link: new URL('https://prizm-v3-beta.web.app'),
otherLinks: [],
},
{
label: '2.10.0-beta (ng15)',
version: '2.10.0-beta',
label: '2.11.0-beta (ng15)',
version: '2.11.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo',
link: new URL('https://prizm-v2-beta.web.app'),
otherLinks: [],
},
{
label: '1.13.0-beta (ng14)',
version: '1.13.0-beta',
label: '1.14.0-beta (ng14)',
version: '1.14.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo',
link: new URL('https://prizm-v1-beta.web.app'),
otherLinks: [],
Expand Down
2 changes: 1 addition & 1 deletion libs/ast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/ast",
"version": "3.9.0",
"version": "3.10.0",
"private": false,
"publishConfig": {
"access": "public",
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.13.0",
"version": "1.14.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.10.0",
"version": "2.11.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.9.0",
"version": "3.10.0",
"private": false,
"publishConfig": {
"access": "public",
Expand Down
6 changes: 3 additions & 3 deletions libs/charts/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/charts",
"version": "3.9.0",
"version": "3.10.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.9.0",
"@prizm-ui/helpers": "^3.9.0",
"@prizm-ui/theme": "^3.10.0",
"@prizm-ui/helpers": "^3.10.0",
"@antv/g2plot": "^2.4.22"
},
"dependencies": {
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.13.0",
"version": "1.14.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.13.0",
"@prizm-ui/helpers": "^1.13.0",
"@prizm-ui/theme": "^1.14.0",
"@prizm-ui/helpers": "^1.14.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.10.0",
"version": "2.11.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.10.0",
"@prizm-ui/helpers": "^2.10.0",
"@prizm-ui/theme": "^2.11.0",
"@prizm-ui/helpers": "^2.11.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.9.0",
"version": "3.10.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.9.0",
"@prizm-ui/helpers": "^3.9.0",
"@prizm-ui/theme": "^3.10.0",
"@prizm-ui/helpers": "^3.10.0",
"@antv/g2plot": "^2.4.22"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions libs/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prizm-ui/components",
"version": "3.9.0",
"version": "3.10.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.9.0",
"@prizm-ui/core": "^3.9.0",
"@prizm-ui/i18n": "^3.9.0",
"@prizm-ui/theme": "^3.9.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"
},
"dependencies": {
"tslib": "^2.3.0"
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.13.0",
"version": "1.14.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.13.0",
"@prizm-ui/core": "^1.13.0",
"@prizm-ui/i18n": "^1.13.0",
"@prizm-ui/theme": "^1.13.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"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
Loading
Loading