@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,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: ({ src, alt, className, style, ...otherProps }: import("@/Components/Image/Image").ImageProps) => import("react").JSX.Element;
3
+ component: ({ src, alt, className, style, ...otherProps }: import("./Image").ImageProps) => import("react").JSX.Element;
4
4
  };
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../RbmComponentProps';
3
3
  export type InViewportProps = RbmComponentProps<{
4
4
  threshold?: number;
5
5
  onInViewportChange: (isInViewport: boolean) => void;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { ComponentRef, ForwardedRef } from 'react';
4
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
5
- import type { ViewWithoutListenersProps } from '@/Components/Layout/ViewWithoutListeners';
3
+ import type { ComponentRef, Ref } from 'react';
4
+ import type { RbmComponentProps } from '../RbmComponentProps';
5
+ import type { ViewWithoutListenersProps } from './ViewWithoutListeners';
6
6
  import IntrinsicElements = JSX.IntrinsicElements;
7
7
  export type BlockProps<AsType extends keyof IntrinsicElements> = RbmComponentProps<ViewWithoutListenersProps<AsType> & {
8
- ref?: ForwardedRef<ComponentRef<AsType>>;
8
+ ref?: Ref<ComponentRef<AsType>>;
9
9
  }>;
10
10
  export declare const BaseBlock: <AsType extends keyof JSX.IntrinsicElements = "div">({ children, as, className, ref, ...props }: BlockProps<AsType>) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
- import type { ViewWithoutListenersProps } from '@/Components/Layout/ViewWithoutListeners';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
+ import type { ViewWithoutListenersProps } from './ViewWithoutListeners';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export type InlineBlockProps<AsType extends keyof IntrinsicElements> = RbmComponentProps<ViewWithoutListenersProps<AsType> & {
7
7
  id?: string;
@@ -1,4 +1,4 @@
1
- export declare const Block: ({ title, ref, ...otherProps }: import("@/Components/Layout/BaseBlock").BlockProps<keyof import("react/jsx-runtime").JSX.IntrinsicElements> & {
1
+ export declare const Block: ({ title, ref, ...otherProps }: import("./BaseBlock").BlockProps<keyof import("react/jsx-runtime").JSX.IntrinsicElements> & {
2
2
  title?: string | import("react").ReactElement;
3
3
  ref?: import("react").Ref<HTMLElement | null>;
4
4
  }) => import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../RbmComponentProps';
3
3
  export declare const CONTAINER_CLASSES: {
4
4
  sm: string;
5
5
  md: string;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
- import type { ViewWithoutListenersProps } from '@/Components/Layout/ViewWithoutListeners';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
+ import type { ViewWithoutListenersProps } from './ViewWithoutListeners';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export type FlexProps<AsType extends keyof IntrinsicElements> = RbmComponentProps<ViewWithoutListenersProps<AsType> & {
7
7
  horizontal?: boolean;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { ForwardedRef } from 'react';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
3
+ import type { RbmComponentProps } from '../../RbmComponentProps';
4
4
  export type GridProps = RbmComponentProps<{
5
5
  columns?: number;
6
6
  rows?: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../../RbmComponentProps';
3
3
  export type GridItemProps = RbmComponentProps<{
4
4
  size: number;
5
5
  xs?: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { ForwardedRef } from 'react';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  export type GrowProps = RbmComponentProps<{
5
5
  center?: boolean;
6
6
  weight?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
- import type { ViewWithoutListenersProps } from '@/Components/Layout/ViewWithoutListeners';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
+ import type { ViewWithoutListenersProps } from './ViewWithoutListeners';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export type InlineProps<AsType extends keyof IntrinsicElements> = RbmComponentProps<ViewWithoutListenersProps<AsType>>;
7
7
  export declare const Inline: <AsType extends keyof JSX.IntrinsicElements = "span">({ children, as, className, ...props }: InlineProps<AsType>) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- export declare const InlineBlock: ({ title, ref, ...otherProps }: import("@/Components/Layout/BaseInlineBlock").InlineBlockProps<keyof import("react/jsx-runtime").JSX.IntrinsicElements> & {
1
+ export declare const InlineBlock: ({ title, ref, ...otherProps }: import("./BaseInlineBlock").InlineBlockProps<keyof import("react/jsx-runtime").JSX.IntrinsicElements> & {
2
2
  title?: string | import("react").ReactElement;
3
3
  ref?: import("react").Ref<HTMLElement | null>;
4
4
  }) => import("react").JSX.Element;
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { ComponentRef, ForwardedRef, PropsWithChildren } from 'react';
4
- import type { Override } from '@/TypeHelpers';
3
+ import type { ComponentRef, PropsWithChildren, Ref } from 'react';
4
+ import type { Override } from '../../TypeHelpers';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export type ViewProps<AsType extends keyof IntrinsicElements> = PropsWithChildren<Override<React.ComponentPropsWithoutRef<AsType>, {
7
7
  as?: AsType;
8
8
  children?: React.ReactNode;
9
- ref?: ForwardedRef<ComponentRef<AsType>>;
9
+ ref?: Ref<ComponentRef<AsType>>;
10
10
  }>>;
11
11
  export declare const View: <AsType extends keyof JSX.IntrinsicElements>({ children, as, ref, ...otherProps }: ViewProps<AsType>) => React.ReactElement<Omit<ViewProps<AsType>, "children" | "as" | "ref"> & {
12
- ref: React.ForwardedRef<React.ComponentRef<AsType>> | undefined;
12
+ ref: React.Ref<React.ComponentRef<AsType>> | undefined;
13
13
  }, string | React.JSXElementConstructor<any>>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
3
  import type { DOMAttributes } from 'react';
4
- import type { ViewProps } from '@/Components/Layout/View';
4
+ import type { ViewProps } from './View';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export type ViewWithoutListenersProps<AsType extends keyof IntrinsicElements> = Omit<ViewProps<AsType>, keyof DOMAttributes<AsType>> & {
7
7
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../RbmComponentProps';
3
3
  export type LoadingAreaProps = RbmComponentProps<{
4
4
  loading: boolean;
5
5
  fullWidth?: boolean;
@@ -1,8 +1,8 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
- component: ({ loading, fullWidth, fullSize, fullHeight, className, style, children, }: import("@/Components/LoadingArea/LoadingArea").LoadingAreaProps) => React.JSX.Element;
5
- render: (args: import("@/Components/LoadingArea/LoadingArea").LoadingAreaProps) => React.JSX.Element;
4
+ component: ({ loading, fullWidth, fullSize, fullHeight, className, style, children, }: import("./LoadingArea").LoadingAreaProps) => React.JSX.Element;
5
+ render: (args: import("./LoadingArea").LoadingAreaProps) => React.JSX.Element;
6
6
  };
7
7
  export default meta;
8
8
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Size } from '@/Size';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import { Size } from '../../Size';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  export type LoadingCircleProps = RbmComponentProps<{
5
5
  size?: Size;
6
6
  }>;
@@ -1,8 +1,8 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
- import { Size } from '@/Size';
2
+ import { Size } from '../../Size';
3
3
  import React from 'react';
4
4
  declare const meta: {
5
- component: ({ size, className, style, }: import("@/Components/LoadingCircle/LoadingCircle").LoadingCircleProps) => React.JSX.Element;
5
+ component: ({ size, className, style, }: import("./LoadingCircle").LoadingCircleProps) => React.JSX.Element;
6
6
  argTypes: {
7
7
  size: {
8
8
  control: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { RbmChildWithoutString, RbmComponentProps, WithNoStringAndChildrenProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmChildWithoutString, RbmComponentProps, WithNoStringAndChildrenProps } from '../RbmComponentProps';
3
3
  export type HoverMenuProps = RbmComponentProps<{
4
4
  items: RbmChildWithoutString;
5
5
  openToSide?: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
- component: ({ children, items, className, style, onClick, onClose, openToSide, }: import("@/Components/Menu/HoverMenu").HoverMenuProps) => React.JSX.Element;
4
+ component: ({ children, items, className, style, onClick, onClose, openToSide, }: import("./HoverMenu").HoverMenuProps) => React.JSX.Element;
5
5
  argTypes: {
6
6
  children: {
7
7
  control: false;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { IconSource } from '@/Components/Icon/BaseIcon';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { IconSource } from '../Icon/BaseIcon';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  export type MenuItemType = {
5
5
  label: string;
6
6
  icon?: IconSource | {
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
- import type { MenuProps } from '@/Components/Menu/Menu';
3
+ import type { MenuProps } from './Menu';
4
4
  declare const meta: {
5
5
  component: ({ className, style, items, y, x, isOpen, onClose, children, offsetY, offsetX, }: MenuProps) => React.JSX.Element | null;
6
6
  argTypes: {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { IconSource } from '@/Components/Icon/BaseIcon';
3
- import type { RbmComponentProps, WithChildren } from '@/Components/RbmComponentProps';
2
+ import type { IconSource } from '../Icon/BaseIcon';
3
+ import type { RbmComponentProps, WithChildren } from '../RbmComponentProps';
4
4
  import type { ReactNode } from 'react';
5
5
  import Element = React.JSX.Element;
6
6
  export type MenuItemProps<Item = undefined> = RbmComponentProps<{
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: <Item>({ children, icon, iconColor, className, onClick, onMouseEnter, onMouseLeave, active, item, disabled, ...props }: import("@/Components/Menu/MenuItem").MenuItemProps<Item>) => import("react").JSX.Element;
3
+ component: <Item>({ children, icon, iconColor, className, onClick, onMouseEnter, onMouseLeave, active, item, disabled, ...props }: import("./MenuItem").MenuItemProps<Item>) => import("react").JSX.Element;
4
4
  argTypes: {
5
5
  icon: {
6
6
  control: {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { IconSource } from '@/Components/Icon/BaseIcon';
3
- import type { RbmComponentProps, WithNoStringAndChildrenProps } from '@/Components/RbmComponentProps';
2
+ import type { IconSource } from '../Icon/BaseIcon';
3
+ import type { RbmComponentProps, WithNoStringAndChildrenProps } from '../RbmComponentProps';
4
4
  export type SubmenuProps = RbmComponentProps<{
5
5
  label: string;
6
6
  icon?: IconSource;
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
- import type { SubmenuProps } from '@/Components/Menu/Submenu';
3
+ import type { SubmenuProps } from './Submenu';
4
4
  declare const meta: {
5
5
  component: ({ children, label, icon, iconColor, className, style, disabled, onMouseEnter, onMouseLeave, }: SubmenuProps) => React.JSX.Element;
6
6
  render: (args: SubmenuProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- import type { MenuProps } from '@/Components/Menu/Menu';
1
+ import type { MenuProps } from './Menu';
2
2
  import type { MouseEvent } from 'react';
3
3
  export declare function useMenu(): readonly [(e: MouseEvent) => void, Omit<MenuProps, "children" | "items">];
@@ -1,6 +1,6 @@
1
1
  import type { CSSProperties, ReactNode } from 'react';
2
2
  import type { JSX } from 'react/jsx-runtime';
3
- import type { Recursive } from '@/TypeHelpers';
3
+ import type { Recursive } from '../TypeHelpers';
4
4
  export type RbmChildWithoutString = Recursive<JSX.Element | undefined | null | RbmChildWithoutString[]> | false;
5
5
  export type WithNoStringProps = {
6
6
  children?: RbmChildWithoutString;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { WithNoStringAndChildrenProps } from '@/Components/RbmComponentProps';
2
+ import type { WithNoStringAndChildrenProps } from '../RbmComponentProps';
3
3
  export type SizeCalculatorProps = {
4
4
  onSize: (width: number, height: number) => void;
5
5
  absolute?: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import type { IconSource } from '@/Components/Icon/BaseIcon';
2
+ import type { IconSource } from '../../Icon/BaseIcon';
3
3
  import type { ReactNode } from 'react';
4
- import type { OptionalListener } from '@/Components/Hooks/useListener';
5
- import type { RbmComponentProps, WithChildren } from '@/Components/RbmComponentProps';
4
+ import type { OptionalListener } from '../../Hooks/useListener';
5
+ import type { RbmComponentProps, WithChildren } from '../../RbmComponentProps';
6
6
  export type SpoilerProps<OnClickData> = RbmComponentProps<{
7
7
  title: ReactNode;
8
8
  initialOpen?: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: <OnClickData>({ title, children, initialOpen, noClosingAnimation, noAnimation, openIcon, closeIcon, className, onlyTitleToggles, style, open, ...listenerProps }: import("@/Components/SpoilerList/Spoiler/Spoiler").SpoilerProps<OnClickData>) => import("react").JSX.Element;
3
+ component: <OnClickData>({ title, children, initialOpen, noClosingAnimation, noAnimation, openIcon, closeIcon, className, onlyTitleToggles, style, open, ...listenerProps }: import("./Spoiler").SpoilerProps<OnClickData>) => import("react").JSX.Element;
4
4
  };
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps, WithNoChildren } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps, WithNoChildren } from '../RbmComponentProps';
3
3
  import type { ReactElement } from 'react';
4
4
  export type SpoilerItem<BodyData, TitleData = string> = {
5
5
  title: TitleData;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { ComponentType } from 'react';
3
- import type { IconSource } from '@/Components/Icon/BaseIcon';
4
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
3
+ import type { IconSource } from '../Icon/BaseIcon';
4
+ import type { RbmComponentProps } from '../RbmComponentProps';
5
5
  export type TabBarComponentButtonType = {
6
6
  component: ComponentType<Record<string, any>>;
7
7
  key?: string;
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: ({ buttons, startActiveTab, onTabChange, activeTab, transparent, underline, className, ...rbmProps }: import("@/Components/TabBar/TabBar").TabBarProps) => import("react").JSX.Element;
3
+ component: ({ buttons, startActiveTab, onTabChange, activeTab, transparent, underline, className, ...rbmProps }: import("./TabBar").TabBarProps) => import("react").JSX.Element;
4
4
  parameters: {
5
5
  layout: string;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { Listener } from '@/Components/Hooks/useListener';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { Listener } from '../Hooks/useListener';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  export type TabBarButtonProps = RbmComponentProps<{
5
5
  active: boolean;
6
6
  } & Listener<'onClick', number>>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { Cell, HeaderGroup, Column as RTColumn, Row, UseSortByOptions } from 'react-table';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  import type { ReactNode } from 'react';
5
5
  export type ColumnCellData<DataType extends string | number | Record<string, unknown>> = {
6
6
  value: DataType;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { EmptyProps } from '@/helper/EmptyProps';
3
- import type { RbmComponentProps, WithStringProps } from '@/Components/RbmComponentProps';
2
+ import type { EmptyProps } from '../../helper/EmptyProps';
3
+ import type { RbmComponentProps, WithStringProps } from '../RbmComponentProps';
4
4
  export type HeadingProps = RbmComponentProps<EmptyProps, WithStringProps>;
5
5
  declare function Heading({ children, className, style }: HeadingProps): React.JSX.Element;
6
6
  declare const HeadingMemo: typeof Heading;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { JSX } from 'react/jsx-runtime';
3
- import type { Recursive, ValueOf } from '@/TypeHelpers';
4
- import type { ViewProps } from '@/Components/Layout/View';
3
+ import type { Recursive, ValueOf } from '../../TypeHelpers';
4
+ import type { ViewProps } from '../Layout/View';
5
5
  import IntrinsicElements = JSX.IntrinsicElements;
6
6
  export declare const TEXT_PRIO: {
7
7
  primary: string;
@@ -1,7 +1,7 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
- component: <AsType extends keyof import("react/jsx-runtime").JSX.IntrinsicElements = "span">({ className, children, block, prio, emphasized, size, as, ...props }: import("@/Components/Text/Text").TextProps<AsType>) => React.JSX.Element;
4
+ component: <AsType extends keyof import("react/jsx-runtime").JSX.IntrinsicElements = "span">({ className, children, block, prio, emphasized, size, as, ...props }: import("./Text").TextProps<AsType>) => React.JSX.Element;
5
5
  argTypes: {
6
6
  prio: {
7
7
  control: {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { Listener, OptionalListener } from '@/Components/Hooks/useListener';
3
- import type { RbmComponentProps, WithStringProps } from '@/Components/RbmComponentProps';
2
+ import type { Listener, OptionalListener } from '../Hooks/useListener';
3
+ import type { RbmComponentProps, WithStringProps } from '../RbmComponentProps';
4
4
  type WithoutActionProps<DismissedData> = {
5
5
  timeToShow?: number;
6
6
  } & OptionalListener<'onDismissed', DismissedData>;
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: <ActionData, DismissedData>({ className, timeToShow, children, style, ...otherProps }: import("@/Components/Toast/Toast").ToastProps<ActionData, DismissedData>) => import("react").JSX.Element | null;
3
+ component: <ActionData, DismissedData>({ className, timeToShow, children, style, ...otherProps }: import("./Toast").ToastProps<ActionData, DismissedData>) => import("react").JSX.Element | null;
4
4
  };
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import type { EmptyProps } from '@/helper/EmptyProps';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { EmptyProps } from '../../helper/EmptyProps';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
4
  export type ToastContainerProps = RbmComponentProps<EmptyProps>;
5
5
  declare function ToastContainer({ className, children, style }: ToastContainerProps): React.JSX.Element;
6
6
  declare const ToastContainerMemo: typeof ToastContainer;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../RbmComponentProps';
3
3
  export type MoreButtonProps = RbmComponentProps<{
4
4
  disabled?: boolean;
5
5
  onClick?: () => void;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { ComponentType } from 'react';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
4
- import type { IconSource } from '@/Components/Icon/BaseIcon';
3
+ import type { RbmComponentProps } from '../RbmComponentProps';
4
+ import type { IconSource } from '../Icon/BaseIcon';
5
5
  export type TopBarActionButtonType = {
6
6
  order?: number;
7
7
  title: string;
@@ -1,6 +1,6 @@
1
1
  import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
- component: ({ title, rightButtons: unsortedRightButtons, leftButtons: unsortedLeftButtons, hiddenButtons: unsortedHiddenButtons, className, transparent, drawBehind, ...rbmProps }: import("@/Components/TopBar/TopBar").TopBarProps) => import("react").JSX.Element;
3
+ component: ({ title, rightButtons: unsortedRightButtons, leftButtons: unsortedLeftButtons, hiddenButtons: unsortedHiddenButtons, className, transparent, drawBehind, ...rbmProps }: import("./TopBar").TopBarProps) => import("react").JSX.Element;
4
4
  };
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
2
+ import type { RbmComponentProps } from '../RbmComponentProps';
3
3
  export type TopBarButtonProps = RbmComponentProps<{
4
4
  disabled?: boolean;
5
5
  onClick?: () => void;
@@ -1,3 +1,3 @@
1
1
  import type { ComponentType } from 'react';
2
- import type { RESTRICT_CHILDREN } from '@/helper/withRestrictedChildren';
2
+ import type { RESTRICT_CHILDREN } from './withRestrictedChildren';
3
3
  export declare function withMemo<C extends ComponentType<any>>(component: C, defaultAllowChildren?: (typeof RESTRICT_CHILDREN)['allowChildren']): C;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ComponentType, ReactElement } from 'react';
3
- import type { RbmComponentProps } from '@/Components/RbmComponentProps';
3
+ import type { RbmComponentProps } from '../Components/RbmComponentProps';
4
4
  export declare const RESTRICT_CHILDREN: {
5
5
  allowChildren: undefined | "all" | "html" | "text";
6
6
  };
package/dist/index.js CHANGED
@@ -2199,8 +2199,6 @@ function withTitle(Comp) {
2199
2199
  }, title.trim()) : title;
2200
2200
  const {
2201
2201
  isOpen,
2202
- position,
2203
- offset,
2204
2202
  open,
2205
2203
  close
2206
2204
  } = useHoverMenu({