@vchasno/ui-kit 0.2.20 → 0.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.21] - 2024-07-29
11
+
12
+ ## Fixed
13
+
14
+ - fix `ProjectsPopover` project prop type
15
+
10
16
  ## [0.2.20] - 2024-07-27
11
17
 
12
18
  ## Fixed
@@ -4,7 +4,7 @@ import { ProductLinkProps } from './ProductLink';
4
4
  import { AllProducts } from './types';
5
5
  import './ProjectsPopover.global.css';
6
6
  export interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
7
- product: AllProducts & VchasnoInfrastructureProduct;
7
+ product: AllProducts | VchasnoInfrastructureProduct;
8
8
  className?: string;
9
9
  vchasnoTitle?: string;
10
10
  zakupivliTitle?: string;
@@ -18,7 +18,7 @@ interface ProductLinkProps {
18
18
  }
19
19
 
20
20
  interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
21
- product: AllProducts & VchasnoInfrastructureProduct;
21
+ product: AllProducts | VchasnoInfrastructureProduct;
22
22
  className?: string;
23
23
  vchasnoTitle?: string;
24
24
  zakupivliTitle?: string;
@@ -4,7 +4,7 @@ import { ProductLinkProps } from './ProductLink';
4
4
  import { AllProducts } from './types';
5
5
  import './ProjectsPopover.global.css';
6
6
  export interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
7
- product: AllProducts & VchasnoInfrastructureProduct;
7
+ product: AllProducts | VchasnoInfrastructureProduct;
8
8
  className?: string;
9
9
  vchasnoTitle?: string;
10
10
  zakupivliTitle?: string;
@@ -4,7 +4,7 @@ import { ProductLinkProps } from './ProductLink';
4
4
  import { AllProducts } from './types';
5
5
  import './ProjectsPopover.global.css';
6
6
  export interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
7
- product: AllProducts & VchasnoInfrastructureProduct;
7
+ product: AllProducts | VchasnoInfrastructureProduct;
8
8
  className?: string;
9
9
  vchasnoTitle?: string;
10
10
  zakupivliTitle?: string;
@@ -4,7 +4,7 @@ import { ProductLinkProps } from './ProductLink';
4
4
  import { AllProducts } from './types';
5
5
  import './ProjectsPopover.global.css';
6
6
  export interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
7
- product: AllProducts & VchasnoInfrastructureProduct;
7
+ product: AllProducts | VchasnoInfrastructureProduct;
8
8
  className?: string;
9
9
  vchasnoTitle?: string;
10
10
  zakupivliTitle?: string;
@@ -4,7 +4,7 @@ import { ProductLinkProps } from './ProductLink';
4
4
  import { AllProducts } from './types';
5
5
  import './ProjectsPopover.global.css';
6
6
  export interface ProjectsPopoverProps extends Omit<ProductLinkProps, 'product' | 'ctxProduct'> {
7
- product: AllProducts & VchasnoInfrastructureProduct;
7
+ product: AllProducts | VchasnoInfrastructureProduct;
8
8
  className?: string;
9
9
  vchasnoTitle?: string;
10
10
  zakupivliTitle?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vchasno/ui-kit",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "React UI components for Vchasno applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",