@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 +2 -2
- package/button.ts +2 -2
- package/date.ts +1 -1
- package/dropdown.ts +2 -2
- package/hooks.ts +1 -1
- package/icon.ts +1 -1
- package/index.ts +2 -2
- package/multiline.ts +1 -1
- package/package.json +1 -1
- package/search.ts +1 -1
- package/src/components/anchor/components/anchorWithIcon/anchorWithIcon.tsx +1 -1
- package/src/components/button/components/buttonWithIcon/buttonWithIcon.tsx +1 -1
- package/src/components/dropdown/components/dropdownLabel/dropdownLabel.tsx +1 -1
- package/src/components/dropdown/index.tsx +1 -1
- package/src/components/search/index.tsx +1 -1
- package/text.ts +1 -1
- package/tsconfig.json +7 -17
package/anchor.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Anchor, { AnchorProps } from "
|
|
2
|
-
import { AnchorWithIconProps, SimpleAnchorProps } from "
|
|
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 "
|
|
2
|
-
import { ButtonType, ButtonWithIconProps, SimpleButtonProps } from "
|
|
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
package/dropdown.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Dropdown, { DropdownProps } from "
|
|
2
|
-
import { SelectableItem } from "
|
|
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
package/icon.ts
CHANGED
package/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseInputElementProps, InputColor, InputLabel, InputSize } from "
|
|
2
|
-
import { BaseElementProps, ElementIcon, IconPosition, IconSize } from "
|
|
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
package/package.json
CHANGED
package/search.ts
CHANGED
|
@@ -4,7 +4,7 @@ import './dropdown.scss';
|
|
|
4
4
|
|
|
5
5
|
import { isNullOrEmpty, isNullOrUndefined } from '@bodynarf/utils/common';
|
|
6
6
|
|
|
7
|
-
import { useComponentOutsideClick } from '
|
|
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 '
|
|
8
|
+
import Button from 'src/components/button';
|
|
9
9
|
|
|
10
10
|
export type SearchProps = {
|
|
11
11
|
/** Search caption */
|
package/text.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -12,30 +12,20 @@
|
|
|
12
12
|
"esModuleInterop": false,
|
|
13
13
|
"allowSyntheticDefaultImports": true,
|
|
14
14
|
"strict": true,
|
|
15
|
-
"noImplicitAny": true,
|
|
16
|
-
"noImplicitThis": true,
|
|
17
|
-
"alwaysStrict": true,
|
|
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,
|
|
27
|
-
"noUnusedParameters": true,
|
|
28
|
-
"noImplicitReturns": true,
|
|
29
|
-
"baseUrl": "./",
|
|
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",
|