@bodynarf/react.components 1.1.0 → 1.1.1

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/anchor.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Anchor, { AnchorProps } from "@app/components/anchor";
2
- import { AnchorWithIconProps, SimpleAnchorProps } from "@app/components/anchor/types";
1
+ import Anchor, { AnchorProps } from "src/components/anchor";
2
+ import { AnchorWithIconProps, SimpleAnchorProps } from "src/components/anchor/types";
3
3
 
4
4
  export default Anchor;
5
5
 
package/button.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Button, { ButtonProps } from "@app/components/button";
2
- import { ButtonType, ButtonWithIconProps, SimpleButtonProps } from "@app/components/button/types";
1
+ import Button, { ButtonProps } from "src/components/button";
2
+ import { ButtonType, ButtonWithIconProps, SimpleButtonProps } from "src/components/button/types";
3
3
 
4
4
  export default Button;
5
5
 
package/date.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Date, { DateProps } from "@app/components/date";
1
+ import Date, { DateProps } from "src/components/primitives/date";
2
2
 
3
3
  export default Date;
4
4
 
package/dropdown.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Dropdown, { DropdownProps } from "@app/components/dropdown";
2
- import { SelectableItem } from "@app/components/dropdown/types";
1
+ import Dropdown, { DropdownProps } from "src/components/dropdown";
2
+ import { SelectableItem } from "src/components/dropdown/types";
3
3
 
4
4
  export default Dropdown;
5
5
 
package/hooks.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { useComponentOutsideClick } from "@app/hooks/useComponentOutsideClick";
1
+ import { useComponentOutsideClick } from "src/hooks/useComponentOutsideClick";
2
2
 
3
3
  export {
4
4
  useComponentOutsideClick,
package/icon.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Icon, { IconProps } from "@app/components/icon";
1
+ import Icon, { IconProps } from "src/components/icon";
2
2
 
3
3
  export default Icon;
4
4
 
package/index.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { BaseInputElementProps, InputColor, InputLabel, InputSize } from "@app/components/primitives/types";
2
- import { BaseElementProps, ElementIcon, IconPosition, IconSize } from "@app/components/types";
1
+ import { BaseInputElementProps, InputColor, InputLabel, InputSize } from "src/components/primitives/types";
2
+ import { BaseElementProps, ElementIcon, IconPosition, IconSize } from "src/components/types";
3
3
 
4
4
  export {
5
5
  BaseInputElementProps,
package/multiline.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Multiline, { MultilineProps } from "@app/components/multiline";
1
+ import Multiline, { MultilineProps } from "src/components/primitives/multiline";
2
2
 
3
3
  export default Multiline;
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodynarf/react.components",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "author": {
5
5
  "name": "Artem",
6
6
  "email": "bodynar@gmail.com"
package/search.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Search, { SearchProps } from "@app/components/search";
1
+ import Search, { SearchProps } from "src/components/search";
2
2
 
3
3
  export default Search;
4
4
 
@@ -1,6 +1,6 @@
1
1
  import { isNullOrEmpty } from '@bodynarf/utils/common';
2
2
 
3
- import Icon from '@app/components/icon';
3
+ import Icon from 'src/components/icon';
4
4
 
5
5
  import { AnchorWithIconProps } from "../../types";
6
6
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { isNullOrEmpty } from '@bodynarf/utils/common';
3
3
 
4
- import Icon from '@app/components/icon';
4
+ import Icon from 'src/components/icon';
5
5
 
6
6
  import { ButtonWithIconProps } from '../../types';
7
7
 
@@ -2,7 +2,7 @@ import { MouseEvent } from 'react';
2
2
 
3
3
  import { isNullOrEmpty, isNullOrUndefined } from "@bodynarf/utils/common";
4
4
 
5
- import Icon from '@app/components/icon';
5
+ import Icon from 'src/components/icon';
6
6
 
7
7
  import { SelectableItem } from "../../types";
8
8
 
@@ -4,7 +4,7 @@ import './dropdown.scss';
4
4
 
5
5
  import { isNullOrEmpty, isNullOrUndefined } from '@bodynarf/utils/common';
6
6
 
7
- import { useComponentOutsideClick } from '@app/hooks/useComponentOutsideClick';
7
+ import { useComponentOutsideClick } from 'src/hooks/useComponentOutsideClick';
8
8
 
9
9
  import { SelectableItem } from './types';
10
10
  import { BaseElementProps } from '../types';
@@ -5,7 +5,7 @@ import './search.scss';
5
5
  import { generateGuid } from '@bodynarf/utils/guid';
6
6
  import { isNullOrUndefined } from '@bodynarf/utils/common';
7
7
 
8
- import Button from '@app/components/button';
8
+ import Button from 'src/components/button';
9
9
 
10
10
  export type SearchProps = {
11
11
  /** Search caption */
package/text.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Text, { TextProps } from "@app/components/text";
1
+ import Text, { TextProps } from "src/components/primitives/text";
2
2
 
3
3
  export default Text;
4
4
 
package/tsconfig.json CHANGED
@@ -12,30 +12,20 @@
12
12
  "esModuleInterop": false,
13
13
  "allowSyntheticDefaultImports": true,
14
14
  "strict": true,
15
- "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
16
- "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
17
- "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
15
+ "noImplicitAny": true,
16
+ "noImplicitThis": true,
17
+ "alwaysStrict": true,
18
18
  "forceConsistentCasingInFileNames": true,
19
19
  "module": "ESNext",
20
20
  "moduleResolution": "Node",
21
21
  "resolveJsonModule": true,
22
- // "isolatedModules": true,
23
22
  "noEmit": true,
24
23
  "jsx": "react-jsx",
25
24
  "downlevelIteration": true,
26
- "noUnusedLocals": true, /* Report errors on unused locals. */
27
- "noUnusedParameters": true, /* Report errors on unused parameters. */
28
- "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
29
- "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
30
- "paths": {
31
- "@app/components/*": [
32
- "src/components/*",
33
- "src/components/primitives/*"
34
- ],
35
- "@app/hooks/*": [
36
- "src/hooks/*"
37
- ],
38
- },
25
+ "noUnusedLocals": true,
26
+ "noUnusedParameters": true,
27
+ "noImplicitReturns": true,
28
+ "baseUrl": "./",
39
29
  },
40
30
  "include": [
41
31
  "src",