@vchasno/ui-kit 0.2.16 → 0.2.18

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.
@@ -7,6 +7,7 @@ export interface ProductLinkProps {
7
7
  queryParams?: Record<string, string>;
8
8
  onLinkClick?: (product: AllProducts, event: React.MouseEvent) => void;
9
9
  overrideHint?: (product: AllProducts) => string;
10
+ urls?: Partial<Record<AllProducts, string>>;
10
11
  }
11
12
  declare const ProductLink: React.FC<ProductLinkProps>;
12
13
  export default ProductLink;
@@ -4,7 +4,8 @@ interface ComposeLinkOptions {
4
4
  ctxProduct: string;
5
5
  targetProduct: AllProducts;
6
6
  queryParams?: Record<string, string>;
7
+ urls?: Partial<Record<AllProducts, string>>;
7
8
  }
8
9
  export declare const composeZakupivliLink: ({ targetProduct, }: Pick<ComposeLinkOptions, 'targetProduct'>) => string;
9
- export declare const composeLink: ({ targetProduct, ctxProduct, queryParams, edrpou, }: ComposeLinkOptions) => string;
10
+ export declare const composeLink: ({ targetProduct, ctxProduct, queryParams, edrpou, urls, }: ComposeLinkOptions) => string;
10
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vchasno/ui-kit",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "React UI components for Vchasno applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -94,8 +94,6 @@
94
94
  "@types/jest": "29.5.12",
95
95
  "@types/react": "~17.0.25",
96
96
  "@types/react-dom": "~17.0.25",
97
- "@types/react-datepicker": "6.2.0",
98
- "@types/react-text-mask": "^5.4.11",
99
97
  "@typescript-eslint/eslint-plugin": "~7.7.1",
100
98
  "@typescript-eslint/parser": "~7.7.1",
101
99
  "date-fns": "^3.6.0",
@@ -133,6 +131,8 @@
133
131
  "dependencies": {
134
132
  "@emotion/styled": "11.11.5",
135
133
  "@mui/material": "5.15.16",
134
+ "@types/react-datepicker": "6.2.0",
135
+ "@types/react-text-mask": "5.4.11",
136
136
  "classnames": "2.5.1",
137
137
  "react-datepicker": "6.9.0",
138
138
  "react-select": "5.8.0",