@soroka282/rm.ui-kit 0.0.2 → 0.0.3

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.
@@ -6,3 +6,4 @@ export { default as parentMessage } from './parent-message.util';
6
6
  export { default as textCopy } from './copy-text.util';
7
7
  export { default as toCapitalize } from './to-capitalize.util';
8
8
  export { default as replaceValue } from './replace-value.util';
9
+ export { default as openLink } from './open-link.util';
@@ -0,0 +1 @@
1
+ export default function (link: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soroka282/rm.ui-kit",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/rm.ui-kit.umd.js",
@@ -6,3 +6,4 @@ export { default as parentMessage } from '@/UI-kit/utils/parent-message.util';
6
6
  export { default as textCopy } from '@/UI-kit/utils/copy-text.util';
7
7
  export { default as toCapitalize } from '@/UI-kit/utils/to-capitalize.util';
8
8
  export { default as replaceValue } from '@/UI-kit/utils/replace-value.util';
9
+ export { default as openLink } from '@/UI-kit/utils/open-link.util';
@@ -0,0 +1,3 @@
1
+ export default function (link: string) {
2
+ window.open(link, '_blank');
3
+ }