@ainias42/react-bootstrap-mobile 1.0.5 → 1.0.6

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 (232) hide show
  1. package/dist/Components/ActionSheet/ActionSheet.d.ts +2 -2
  2. package/dist/Components/ActionSheet/ActionSheet.stories.d.ts +3 -3
  3. package/dist/Components/Card/Card.d.ts +1 -1
  4. package/dist/Components/Card/Card.stories.d.ts +2 -2
  5. package/dist/Components/Clickable/Clickable.d.ts +2 -2
  6. package/dist/Components/Dialog/AlertDialog.stories.d.ts +1 -1
  7. package/dist/Components/Dialog/ButtonDialog.d.ts +2 -2
  8. package/dist/Components/Dialog/ConfirmDialog.stories.d.ts +2 -2
  9. package/dist/Components/Dialog/Dialog.d.ts +1 -1
  10. package/dist/Components/Dialog/DialogBackground.d.ts +1 -1
  11. package/dist/Components/Dialog/DialogContainer.d.ts +1 -1
  12. package/dist/Components/Dialog/DialogContext.d.ts +1 -1
  13. package/dist/Components/DragAndDrop/DragItem.d.ts +1 -1
  14. package/dist/Components/DragAndDrop/DropArea.d.ts +1 -1
  15. package/dist/Components/FormElements/Button/Button.d.ts +5 -5
  16. package/dist/Components/FormElements/Button/Button.stories.d.ts +4 -4
  17. package/dist/Components/FormElements/CheckBox/Checkbox.d.ts +2 -2
  18. package/dist/Components/FormElements/CheckBox/Checkbox.stories.d.ts +1 -1
  19. package/dist/Components/FormElements/ColorInput/ColorInput.d.ts +1 -1
  20. package/dist/Components/FormElements/ColorInput/ColorInput.stories.d.ts +1 -1
  21. package/dist/Components/FormElements/Controller/ColorInputController.d.ts +1 -1
  22. package/dist/Components/FormElements/Controller/FileInputController.d.ts +1 -1
  23. package/dist/Components/FormElements/Controller/InputController.d.ts +1 -1
  24. package/dist/Components/FormElements/Controller/MultipleFileInputController.d.ts +1 -1
  25. package/dist/Components/FormElements/Controller/PasswordInputController.d.ts +1 -1
  26. package/dist/Components/FormElements/Controller/SelectController.d.ts +1 -1
  27. package/dist/Components/FormElements/Controller/SliderController.d.ts +1 -1
  28. package/dist/Components/FormElements/Controller/SwitchController.d.ts +1 -1
  29. package/dist/Components/FormElements/Controller/TextareaController.d.ts +1 -1
  30. package/dist/Components/FormElements/Error/FormError.stories.d.ts +1 -1
  31. package/dist/Components/FormElements/Form.stories.d.ts +1 -1
  32. package/dist/Components/FormElements/Input/FileInput/FileInput.d.ts +5 -5
  33. package/dist/Components/FormElements/Input/FileInput/MultipleFileInput.d.ts +4 -4
  34. package/dist/Components/FormElements/Input/HiddenInput.d.ts +1 -1
  35. package/dist/Components/FormElements/Input/HiddenInput.stories.d.ts +1 -1
  36. package/dist/Components/FormElements/Input/Input.d.ts +3 -3
  37. package/dist/Components/FormElements/Input/Input.stories.d.ts +1 -1
  38. package/dist/Components/FormElements/Input/PasswordInput/PasswordInput.d.ts +2 -2
  39. package/dist/Components/FormElements/Input/PasswordInput/PasswordInput.stories.d.ts +1 -1
  40. package/dist/Components/FormElements/SearchSelectInput/SearchSelectInput.d.ts +3 -3
  41. package/dist/Components/FormElements/SearchSelectInput/SearchSelectInput.stories.d.ts +1 -1
  42. package/dist/Components/FormElements/Select/Select.d.ts +3 -3
  43. package/dist/Components/FormElements/Select/Select.stories.d.ts +1 -1
  44. package/dist/Components/FormElements/Slider/Slider.d.ts +3 -3
  45. package/dist/Components/FormElements/Slider/Slider.stories.d.ts +1 -1
  46. package/dist/Components/FormElements/Switch/Switch.d.ts +3 -3
  47. package/dist/Components/FormElements/Switch/Switch.stories.d.ts +1 -1
  48. package/dist/Components/FormElements/Textarea/Textarea.d.ts +3 -3
  49. package/dist/Components/FormElements/Textarea/Textarea.stories.d.ts +1 -1
  50. package/dist/Components/FullScreen/FullScreen.d.ts +2 -2
  51. package/dist/Components/Icon/BaseIcon.d.ts +2 -2
  52. package/dist/Components/Icon/DoubleIcon.d.ts +1 -1
  53. package/dist/Components/Icon/DoubleIcon.stories.d.ts +1 -1
  54. package/dist/Components/Icon/Icon.d.ts +1 -1
  55. package/dist/Components/Icon/Icon.stories.d.ts +1 -1
  56. package/dist/Components/Image/Image.d.ts +2 -2
  57. package/dist/Components/Image/Image.stories.d.ts +1 -1
  58. package/dist/Components/InViewport/InViewport.d.ts +1 -1
  59. package/dist/Components/Layout/BaseBlock.d.ts +4 -4
  60. package/dist/Components/Layout/BaseInlineBlock.d.ts +2 -2
  61. package/dist/Components/Layout/Block.d.ts +1 -1
  62. package/dist/Components/Layout/Container.d.ts +1 -1
  63. package/dist/Components/Layout/Flex.d.ts +2 -2
  64. package/dist/Components/Layout/Grid/Grid.d.ts +1 -1
  65. package/dist/Components/Layout/Grid/GridItem.d.ts +1 -1
  66. package/dist/Components/Layout/Grow.d.ts +1 -1
  67. package/dist/Components/Layout/Inline.d.ts +2 -2
  68. package/dist/Components/Layout/InlineBlock.d.ts +1 -1
  69. package/dist/Components/Layout/View.d.ts +4 -4
  70. package/dist/Components/Layout/ViewWithoutListeners.d.ts +1 -1
  71. package/dist/Components/LoadingArea/LoadingArea.d.ts +1 -1
  72. package/dist/Components/LoadingArea/LoadingArea.stories.d.ts +2 -2
  73. package/dist/Components/LoadingCircle/LoadingCircle.d.ts +2 -2
  74. package/dist/Components/LoadingCircle/LoadingCircle.stories.d.ts +2 -2
  75. package/dist/Components/Menu/HoverMenu.d.ts +1 -1
  76. package/dist/Components/Menu/HoverMenu.stories.d.ts +1 -1
  77. package/dist/Components/Menu/Menu.d.ts +2 -2
  78. package/dist/Components/Menu/Menu.stories.d.ts +1 -1
  79. package/dist/Components/Menu/MenuItem.d.ts +2 -2
  80. package/dist/Components/Menu/MenuItem.stories.d.ts +1 -1
  81. package/dist/Components/Menu/Submenu.d.ts +2 -2
  82. package/dist/Components/Menu/Submenu.stories.d.ts +1 -1
  83. package/dist/Components/Menu/useMenu.d.ts +1 -1
  84. package/dist/Components/RbmComponentProps.d.ts +1 -1
  85. package/dist/Components/SizeCalculator/SizeCalculator.d.ts +1 -1
  86. package/dist/Components/SpoilerList/Spoiler/Spoiler.d.ts +3 -3
  87. package/dist/Components/SpoilerList/Spoiler/Spoiler.stories.d.ts +1 -1
  88. package/dist/Components/SpoilerList/SpoilerList.d.ts +1 -1
  89. package/dist/Components/TabBar/TabBar.d.ts +2 -2
  90. package/dist/Components/TabBar/TabBar.stories.d.ts +1 -1
  91. package/dist/Components/TabBar/TabBarButton.d.ts +2 -2
  92. package/dist/Components/Table/Table.d.ts +1 -1
  93. package/dist/Components/Text/Heading.d.ts +2 -2
  94. package/dist/Components/Text/Text.d.ts +2 -2
  95. package/dist/Components/Text/Text.stories.d.ts +1 -1
  96. package/dist/Components/Toast/Toast.d.ts +2 -2
  97. package/dist/Components/Toast/Toast.stories.d.ts +1 -1
  98. package/dist/Components/Toast/ToastContainer.d.ts +2 -2
  99. package/dist/Components/TopBar/MoreButton.d.ts +1 -1
  100. package/dist/Components/TopBar/TopBar.d.ts +2 -2
  101. package/dist/Components/TopBar/TopBar.stories.d.ts +1 -1
  102. package/dist/Components/TopBar/TopBarButton.d.ts +1 -1
  103. package/dist/helper/withMemo.d.ts +1 -1
  104. package/dist/helper/withRestrictedChildren.d.ts +1 -1
  105. package/dist/index.js +0 -2
  106. package/dist/index.js.map +1 -1
  107. package/eslint.config.js +1 -0
  108. package/package.json +1 -1
  109. package/src/Components/ActionSheet/ActionSheet.stories.tsx +3 -4
  110. package/src/Components/ActionSheet/ActionSheet.tsx +12 -12
  111. package/src/Components/Card/Card.stories.tsx +3 -4
  112. package/src/Components/Card/Card.tsx +3 -3
  113. package/src/Components/Clickable/Clickable.tsx +6 -6
  114. package/src/Components/Colors.stories.tsx +5 -6
  115. package/src/Components/Dialog/AlertDialog.stories.tsx +2 -2
  116. package/src/Components/Dialog/AlertDialog.tsx +2 -2
  117. package/src/Components/Dialog/ButtonDialog.tsx +7 -7
  118. package/src/Components/Dialog/ConfirmDialog.stories.tsx +3 -4
  119. package/src/Components/Dialog/ConfirmDialog.tsx +2 -2
  120. package/src/Components/Dialog/Dialog.tsx +6 -6
  121. package/src/Components/Dialog/DialogBackground.tsx +9 -9
  122. package/src/Components/Dialog/DialogContainer.tsx +5 -5
  123. package/src/Components/Dialog/DialogContext.ts +1 -1
  124. package/src/Components/Dialog/useAlertDialog.ts +2 -2
  125. package/src/Components/Dialog/useConfirmDialog.ts +2 -2
  126. package/src/Components/DragAndDrop/DragItem.tsx +2 -2
  127. package/src/Components/DragAndDrop/DropArea.tsx +3 -3
  128. package/src/Components/ErrorBoundary.tsx +3 -3
  129. package/src/Components/FormElements/Button/Button.stories.tsx +6 -6
  130. package/src/Components/FormElements/Button/Button.tsx +8 -8
  131. package/src/Components/FormElements/CheckBox/Checkbox.stories.tsx +1 -1
  132. package/src/Components/FormElements/CheckBox/Checkbox.tsx +6 -6
  133. package/src/Components/FormElements/ColorInput/ColorInput.stories.tsx +1 -1
  134. package/src/Components/FormElements/ColorInput/ColorInput.tsx +8 -8
  135. package/src/Components/FormElements/Controller/ColorInputController.ts +2 -2
  136. package/src/Components/FormElements/Controller/FileInputController.tsx +4 -4
  137. package/src/Components/FormElements/Controller/HookForm.tsx +4 -4
  138. package/src/Components/FormElements/Controller/InputController.ts +2 -2
  139. package/src/Components/FormElements/Controller/MultipleFileInputController.ts +2 -2
  140. package/src/Components/FormElements/Controller/PasswordInputController.ts +2 -2
  141. package/src/Components/FormElements/Controller/SelectController.ts +2 -2
  142. package/src/Components/FormElements/Controller/SliderController.ts +2 -2
  143. package/src/Components/FormElements/Controller/SwitchController.ts +2 -2
  144. package/src/Components/FormElements/Controller/TextareaController.ts +2 -2
  145. package/src/Components/FormElements/Controller/withHookController.tsx +2 -2
  146. package/src/Components/FormElements/Error/FormError.stories.tsx +1 -1
  147. package/src/Components/FormElements/Error/FormError.tsx +5 -5
  148. package/src/Components/FormElements/Form.stories.tsx +1 -1
  149. package/src/Components/FormElements/Input/FileInput/FileInput.tsx +8 -8
  150. package/src/Components/FormElements/Input/FileInput/MultipleFileInput.tsx +16 -16
  151. package/src/Components/FormElements/Input/HiddenInput.stories.tsx +1 -1
  152. package/src/Components/FormElements/Input/HiddenInput.tsx +4 -4
  153. package/src/Components/FormElements/Input/Input.stories.tsx +1 -1
  154. package/src/Components/FormElements/Input/Input.tsx +11 -11
  155. package/src/Components/FormElements/Input/PasswordInput/PasswordInput.stories.tsx +1 -1
  156. package/src/Components/FormElements/Input/PasswordInput/PasswordInput.tsx +9 -9
  157. package/src/Components/FormElements/SearchSelectInput/SearchSelectInput.stories.tsx +2 -2
  158. package/src/Components/FormElements/SearchSelectInput/SearchSelectInput.tsx +12 -12
  159. package/src/Components/FormElements/Select/Select.stories.tsx +1 -1
  160. package/src/Components/FormElements/Select/Select.tsx +7 -7
  161. package/src/Components/FormElements/Slider/Slider.stories.tsx +1 -1
  162. package/src/Components/FormElements/Slider/Slider.tsx +7 -7
  163. package/src/Components/FormElements/Switch/Switch.stories.tsx +1 -1
  164. package/src/Components/FormElements/Switch/Switch.tsx +7 -7
  165. package/src/Components/FormElements/Textarea/Textarea.stories.tsx +1 -1
  166. package/src/Components/FormElements/Textarea/Textarea.tsx +9 -9
  167. package/src/Components/FullScreen/FullScreen.tsx +4 -4
  168. package/src/Components/Hooks/useBreakpoint.ts +1 -1
  169. package/src/Components/Hooks/useDelayedState.ts +1 -1
  170. package/src/Components/Hooks/useKeyListener.ts +1 -1
  171. package/src/Components/Hooks/useMousePosition.ts +1 -1
  172. package/src/Components/Hooks/useWindowDimensions.ts +1 -1
  173. package/src/Components/Icon/BaseIcon.tsx +4 -4
  174. package/src/Components/Icon/DoubleIcon.stories.tsx +1 -1
  175. package/src/Components/Icon/DoubleIcon.tsx +5 -5
  176. package/src/Components/Icon/Icon.stories.tsx +1 -1
  177. package/src/Components/Icon/Icon.ts +2 -2
  178. package/src/Components/Image/Image.stories.tsx +1 -1
  179. package/src/Components/Image/Image.tsx +4 -4
  180. package/src/Components/InViewport/InViewport.tsx +3 -3
  181. package/src/Components/Layout/BaseBlock.tsx +7 -7
  182. package/src/Components/Layout/BaseInlineBlock.tsx +5 -5
  183. package/src/Components/Layout/Block.ts +2 -2
  184. package/src/Components/Layout/Container.tsx +3 -3
  185. package/src/Components/Layout/Flex.tsx +5 -5
  186. package/src/Components/Layout/Grid/Grid.tsx +4 -4
  187. package/src/Components/Layout/Grid/GridItem.tsx +4 -4
  188. package/src/Components/Layout/Grow.tsx +3 -3
  189. package/src/Components/Layout/Inline.tsx +5 -5
  190. package/src/Components/Layout/InlineBlock.ts +2 -2
  191. package/src/Components/Layout/View.tsx +4 -4
  192. package/src/Components/Layout/ViewWithoutListeners.tsx +3 -3
  193. package/src/Components/LoadingArea/LoadingArea.stories.tsx +3 -3
  194. package/src/Components/LoadingArea/LoadingArea.tsx +5 -5
  195. package/src/Components/LoadingCircle/LoadingCircle.stories.tsx +2 -2
  196. package/src/Components/LoadingCircle/LoadingCircle.tsx +4 -4
  197. package/src/Components/Menu/HoverMenu.stories.tsx +3 -3
  198. package/src/Components/Menu/HoverMenu.tsx +6 -6
  199. package/src/Components/Menu/Menu.stories.tsx +5 -5
  200. package/src/Components/Menu/Menu.tsx +10 -10
  201. package/src/Components/Menu/MenuDivider.tsx +3 -3
  202. package/src/Components/Menu/MenuItem.stories.tsx +1 -1
  203. package/src/Components/Menu/MenuItem.tsx +9 -9
  204. package/src/Components/Menu/Submenu.stories.tsx +3 -3
  205. package/src/Components/Menu/Submenu.tsx +12 -12
  206. package/src/Components/Menu/useMenu.ts +1 -1
  207. package/src/Components/RbmComponentProps.ts +1 -1
  208. package/src/Components/SizeCalculator/SizeCalculator.tsx +3 -3
  209. package/src/Components/SpoilerList/Spoiler/Spoiler.stories.tsx +1 -1
  210. package/src/Components/SpoilerList/Spoiler/Spoiler.tsx +12 -12
  211. package/src/Components/SpoilerList/SpoilerList.tsx +5 -5
  212. package/src/Components/TabBar/TabBar.stories.tsx +1 -1
  213. package/src/Components/TabBar/TabBar.tsx +10 -10
  214. package/src/Components/TabBar/TabBarButton.tsx +5 -5
  215. package/src/Components/Table/Table.tsx +2 -2
  216. package/src/Components/Text/Heading.tsx +5 -5
  217. package/src/Components/Text/Text.stories.tsx +1 -1
  218. package/src/Components/Text/Text.tsx +6 -6
  219. package/src/Components/Title/HoverTitle.tsx +5 -5
  220. package/src/Components/Title/Title.stories.tsx +8 -8
  221. package/src/Components/Title/withTitle.tsx +6 -6
  222. package/src/Components/Toast/Toast.stories.tsx +1 -1
  223. package/src/Components/Toast/Toast.tsx +6 -6
  224. package/src/Components/Toast/ToastContainer.tsx +7 -7
  225. package/src/Components/TopBar/MoreButton.tsx +5 -6
  226. package/src/Components/TopBar/TopBar.stories.tsx +1 -1
  227. package/src/Components/TopBar/TopBar.tsx +15 -15
  228. package/src/Components/TopBar/TopBarButton.tsx +3 -3
  229. package/src/helper/nonEmptyString.ts +1 -1
  230. package/src/helper/withMemo.ts +3 -3
  231. package/src/helper/withRestrictedChildren.tsx +2 -2
  232. package/tsconfig.json +2 -8
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
- import { Clickable } from '@/Components/Clickable/Clickable';
2
+ import { Clickable } from '../Clickable/Clickable';
3
3
  import { useCallback, useEffect, useState } from 'react';
4
- import { useListener } from '@/Components/Hooks/useListener';
5
- import { withMemo } from '@/helper/withMemo';
4
+ import { useListener } from '../Hooks/useListener';
5
+ import { withMemo } from '../../helper/withMemo';
6
6
  import classNames from 'classnames';
7
- import styles from '@/Components/Toast/toast.module.scss';
8
- import type { Listener, OptionalListener } from '@/Components/Hooks/useListener';
9
- import type { RbmComponentProps, WithStringProps } from '@/Components/RbmComponentProps';
7
+ import styles from './toast.module.scss';
8
+ import type { Listener, OptionalListener } from '../Hooks/useListener';
9
+ import type { RbmComponentProps, WithStringProps } from '../RbmComponentProps';
10
10
  import type { ReactNode } from 'react';
11
11
 
12
12
  type WithoutActionProps<DismissedData> = {
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import { Container } from '@/Components/Layout/Container';
2
+ import { Container } from '../Layout/Container';
3
3
  import { ObjectHelper } from '@ainias42/js-helper';
4
- import { Toast } from '@/Components/Toast/Toast';
5
- import { ToastContext } from '@/Components/Toast/ToastContext';
4
+ import { Toast } from './Toast';
5
+ import { ToastContext } from './ToastContext';
6
6
  import { useCallback, useRef, useState } from 'react';
7
- import { withMemo } from '@/helper/withMemo';
7
+ import { withMemo } from '../../helper/withMemo';
8
8
  import classNames from 'classnames';
9
- import styles from '@/Components/Toast/toast.module.scss';
10
- import type { EmptyProps } from '@/helper/EmptyProps';
11
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
9
+ import styles from './toast.module.scss';
10
+ import type { EmptyProps } from '../../helper/EmptyProps';
11
+ import type { RbmComponentProps } from '../RbmComponentProps';
12
12
  import type { URecord } from '@ainias42/js-helper';
13
13
 
14
14
  export type ToastContainerProps = RbmComponentProps<EmptyProps>;
@@ -1,11 +1,10 @@
1
1
  import * as React from 'react';
2
- import { BaseIcon } from '@/Components/Icon/BaseIcon';
3
- import { TopBarButton } from '@/Components/TopBar/TopBarButton';
2
+ import { BaseIcon } from '../Icon/BaseIcon';
3
+ import { TopBarButton } from './TopBarButton';
4
4
  import { faEllipsisH, faEllipsisV } from '@fortawesome/free-solid-svg-icons';
5
- import { withMemo } from '@/helper/withMemo';
6
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
7
-
8
- import baseStyles from '@/scss/baseClasses.module.scss';
5
+ import { withMemo } from '../../helper/withMemo';
6
+ import baseStyles from '../../scss/baseClasses.module.scss';
7
+ import type { RbmComponentProps } from '../RbmComponentProps';
9
8
 
10
9
  export type MoreButtonProps = RbmComponentProps<{
11
10
  disabled?: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
 
3
- import { TopBar } from '@/Components/TopBar/TopBar';
3
+ import { TopBar } from './TopBar';
4
4
  import { faCog, faHome, faSearch, faUser } from '@fortawesome/free-solid-svg-icons';
5
5
  import { fn } from 'storybook/test';
6
6
 
@@ -1,24 +1,24 @@
1
1
  import * as React from 'react';
2
- import { ActionSheet } from '@/Components/ActionSheet/ActionSheet';
3
- import { BaseIcon } from '@/Components/Icon/BaseIcon';
4
- import { Container } from '@/Components/Layout/Container';
5
- import { MoreButton } from '@/Components/TopBar/MoreButton';
6
- import { TopBarButton } from '@/Components/TopBar/TopBarButton';
2
+ import { ActionSheet } from '../ActionSheet/ActionSheet';
3
+ import { BaseIcon } from '../Icon/BaseIcon';
4
+ import { Container } from '../Layout/Container';
5
+ import { MoreButton } from './MoreButton';
6
+ import { TopBarButton } from './TopBarButton';
7
7
  import { useCallback, useMemo, useRef, useState } from 'react';
8
8
  import type { ComponentType, ReactElement } from 'react';
9
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
9
+ import type { RbmComponentProps } from '../RbmComponentProps';
10
10
 
11
- import styles from '@/Components/TopBar/topBar.module.scss';
11
+ import styles from './topBar.module.scss';
12
12
 
13
- import { BaseBlock } from '@/Components/Layout/BaseBlock';
14
- import { Flex } from '@/Components/Layout/Flex';
15
- import { Inline } from '@/Components/Layout/Inline';
16
- import { Text } from '@/Components/Text/Text';
17
- import { View } from '@/Components/Layout/View';
18
- import { withMemo } from '@/helper/withMemo';
13
+ import { BaseBlock } from '../Layout/BaseBlock';
14
+ import { Flex } from '../Layout/Flex';
15
+ import { Inline } from '../Layout/Inline';
16
+ import { Text } from '../Text/Text';
17
+ import { View } from '../Layout/View';
18
+ import { withMemo } from '../../helper/withMemo';
19
19
  import classNames from 'classnames';
20
- import type { ActionSheetAction } from '@/Components/ActionSheet/ActionSheet';
21
- import type { IconSource } from '@/Components/Icon/BaseIcon';
20
+ import type { ActionSheetAction } from '../ActionSheet/ActionSheet';
21
+ import type { IconSource } from '../Icon/BaseIcon';
22
22
 
23
23
  export type TopBarActionButtonType = {
24
24
  order?: number;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { withMemo } from '@/helper/withMemo';
2
+ import { withMemo } from '../../helper/withMemo';
3
3
  import classNames from 'classnames';
4
- import styles from '@/Components/TopBar/topBar.module.scss';
5
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
+ import styles from './topBar.module.scss';
5
+ import type { RbmComponentProps } from '../RbmComponentProps';
6
6
 
7
7
  export type TopBarButtonProps = RbmComponentProps<{
8
8
  disabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { Characters } from '@/helper/Characters';
1
+ import { Characters } from './Characters';
2
2
 
3
3
  export function nonEmptyString(str: string | undefined | null, other = Characters.NBSP) {
4
4
  if (!str) {
@@ -1,8 +1,8 @@
1
- import { memoComparator } from '@/helper/memoComparator';
2
- import { withRestrictedChildren } from '@/helper/withRestrictedChildren';
1
+ import { memoComparator } from './memoComparator';
2
+ import { withRestrictedChildren } from './withRestrictedChildren';
3
3
  import React from 'react';
4
4
  import type { ComponentType } from 'react';
5
- import type { RESTRICT_CHILDREN } from '@/helper/withRestrictedChildren';
5
+ import type { RESTRICT_CHILDREN } from './withRestrictedChildren';
6
6
 
7
7
  export function withMemo<C extends ComponentType<any>>(
8
8
  component: C,
@@ -1,7 +1,7 @@
1
- import { WrongChildError } from '@/WrongChildError';
1
+ import { WrongChildError } from '../WrongChildError';
2
2
  import React from 'react';
3
3
  import type { ComponentType, ReactElement } from 'react';
4
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
+ import type { RbmComponentProps } from '../Components/RbmComponentProps';
5
5
 
6
6
  export const RESTRICT_CHILDREN = {
7
7
  allowChildren: undefined as undefined | 'all' | 'html' | 'text',
package/tsconfig.json CHANGED
@@ -3,13 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "jsx": "react",
5
5
  "outDir": "./dist",
6
- "declaration": true,
7
- "baseUrl": "./",
8
- "paths": {
9
- "@/*": [
10
- "src/*"
11
- ]
12
- }
6
+ "declaration": true
13
7
  },
14
8
  "exclude": [
15
9
  "../../node_modules",
@@ -19,6 +13,6 @@
19
13
  "include": [
20
14
  "src/**/*.tsx",
21
15
  "src/**/*.ts",
22
- ".storybook/**/*.ts"
16
+ ".storybook/**/*.ts"
23
17
  ]
24
18
  }