@vchasno/ui-kit 0.2.15 → 0.2.17

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Datepicker/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
  3. package/dist/Datepicker/types/components/ProjectsPopover/utils.d.ts +2 -1
  4. package/dist/ProjectsPopover/index.cjs.js +47 -66
  5. package/dist/ProjectsPopover/index.cjs.js.map +1 -1
  6. package/dist/ProjectsPopover/index.d.ts +1 -0
  7. package/dist/ProjectsPopover/index.js +47 -66
  8. package/dist/ProjectsPopover/index.js.map +1 -1
  9. package/dist/ProjectsPopover/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
  10. package/dist/ProjectsPopover/types/components/ProjectsPopover/utils.d.ts +2 -1
  11. package/dist/Select/index.cjs.js +95 -138
  12. package/dist/Select/index.cjs.js.map +1 -1
  13. package/dist/Select/index.js +95 -138
  14. package/dist/Select/index.js.map +1 -1
  15. package/dist/Select/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
  16. package/dist/Select/types/components/ProjectsPopover/utils.d.ts +2 -1
  17. package/dist/SelectCreatable/index.cjs.js +95 -138
  18. package/dist/SelectCreatable/index.cjs.js.map +1 -1
  19. package/dist/SelectCreatable/index.js +95 -138
  20. package/dist/SelectCreatable/index.js.map +1 -1
  21. package/dist/SelectCreatable/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
  22. package/dist/SelectCreatable/types/components/ProjectsPopover/utils.d.ts +2 -1
  23. package/dist/index.js +38 -58
  24. package/dist/index.js.map +1 -1
  25. package/dist/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
  26. package/dist/types/components/ProjectsPopover/utils.d.ts +2 -1
  27. package/package.json +1 -1
@@ -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.15",
3
+ "version": "0.2.17",
4
4
  "description": "React UI components for Vchasno applications",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",