@ainias42/react-bootstrap-mobile 1.0.10 → 1.0.11
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/dist/Components/Icon/BaseIcon.d.ts +1 -1
- package/dist/Components/Icon/DoubleIcon.d.ts +1 -1
- package/dist/Components/Menu/Menu.d.ts +1 -1
- package/dist/Components/Menu/MenuItem.d.ts +2 -2
- package/dist/Components/Menu/Submenu.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/DesignProvider/DesignContext.ts +1 -1
- package/src/Components/Dialog/dialog.module.scss +2 -1
- package/src/Components/FlavorWithText.ts +1 -1
- package/src/Components/Icon/BaseIcon.tsx +1 -1
- package/src/Components/Icon/DoubleIcon.stories.tsx +1 -1
- package/src/Components/Icon/DoubleIcon.tsx +1 -1
- package/src/Components/Icon/Icon.stories.tsx +1 -2
- package/src/Components/Menu/Menu.stories.tsx +1 -1
- package/src/Components/Menu/Menu.tsx +1 -1
- package/src/Components/Menu/MenuItem.tsx +2 -2
- package/src/Components/Menu/Submenu.tsx +1 -1
- package/src/Components/Title/Title.stories.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { FlavorWithText } from '../FlavorWithText';
|
|
2
3
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
3
4
|
import { withMemo } from '../../helper/withMemo';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -9,7 +10,6 @@ import type { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
|
9
10
|
import type { Override } from '../../TypeHelpers';
|
|
10
11
|
import type { RbmComponentProps } from '../RbmComponentProps';
|
|
11
12
|
import type { Ref } from 'react';
|
|
12
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
13
13
|
|
|
14
14
|
export type IconSource = IconProp | string | IconDefinition;
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
2
|
|
|
3
3
|
import { DoubleIcon } from './DoubleIcon';
|
|
4
|
-
import { faHouse, faUser } from '@fortawesome/free-solid-svg-icons';
|
|
5
4
|
import { FlavorWithText } from '../FlavorWithText';
|
|
5
|
+
import { faHouse, faUser } from '@fortawesome/free-solid-svg-icons';
|
|
6
6
|
|
|
7
7
|
const meta = {
|
|
8
8
|
component: DoubleIcon,
|
|
@@ -3,8 +3,8 @@ import { BaseInlineBlock } from '../Layout/BaseInlineBlock';
|
|
|
3
3
|
import { withMemo } from '../../helper/withMemo';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import styles from './icon.module.scss';
|
|
6
|
+
import type { FlavorWithText } from '../FlavorWithText';
|
|
6
7
|
import type { IconProps, IconSource } from './BaseIcon';
|
|
7
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
8
8
|
|
|
9
9
|
export type DoubleIconProps = IconProps & {
|
|
10
10
|
secondIcon: IconSource;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
2
|
|
|
3
3
|
import { BaseIcon } from './BaseIcon';
|
|
4
|
-
import { faHouse, faUser } from '@fortawesome/free-solid-svg-icons';
|
|
5
4
|
import { FlavorWithText } from '../FlavorWithText';
|
|
6
|
-
import {
|
|
5
|
+
import { faHouse, faUser } from '@fortawesome/free-solid-svg-icons';
|
|
7
6
|
|
|
8
7
|
const meta = {
|
|
9
8
|
component: BaseIcon,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
2
|
|
|
3
|
+
import { FlavorWithText } from '../FlavorWithText';
|
|
3
4
|
import { Menu } from './Menu';
|
|
4
5
|
import { MenuDivider } from './MenuDivider';
|
|
5
6
|
import { MenuItem } from './MenuItem';
|
|
@@ -8,7 +9,6 @@ import { faCog, faCogs, faHome, faUser } from '@fortawesome/free-solid-svg-icons
|
|
|
8
9
|
import { fn } from 'storybook/test';
|
|
9
10
|
import React from 'react';
|
|
10
11
|
import type { MenuProps } from './Menu';
|
|
11
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
12
12
|
|
|
13
13
|
const meta = {
|
|
14
14
|
component: Menu,
|
|
@@ -10,9 +10,9 @@ import { withMemo } from '../../helper/withMemo';
|
|
|
10
10
|
import { withRenderBrowserOnly } from '../../helper/withRenderBrowserOnly';
|
|
11
11
|
import classNames from 'classnames';
|
|
12
12
|
import styles from './menu.module.scss';
|
|
13
|
+
import type { FlavorWithText } from '../FlavorWithText';
|
|
13
14
|
import type { IconSource } from '../Icon/BaseIcon';
|
|
14
15
|
import type { RbmComponentProps } from '../RbmComponentProps';
|
|
15
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
16
16
|
|
|
17
17
|
export type MenuItemType = {
|
|
18
18
|
label: string;
|
|
@@ -7,12 +7,12 @@ import { withMemo } from '../../helper/withMemo';
|
|
|
7
7
|
import React, { useCallback } from 'react';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import styles from './menu.module.scss';
|
|
10
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
10
11
|
import type { IconSource } from '../Icon/BaseIcon';
|
|
11
12
|
import type { RbmComponentProps, WithChildren } from '../RbmComponentProps';
|
|
12
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
13
13
|
|
|
14
14
|
import Element = React.JSX.Element;
|
|
15
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
15
|
+
import type { FlavorWithText } from '../FlavorWithText';
|
|
16
16
|
|
|
17
17
|
export type MenuItemProps<Item = undefined> = RbmComponentProps<
|
|
18
18
|
{
|
|
@@ -11,9 +11,9 @@ import { withMemo } from '../../helper/withMemo';
|
|
|
11
11
|
import React, { useCallback, useRef, useState } from 'react';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import styles from './menu.module.scss';
|
|
14
|
+
import type { FlavorWithText } from '../FlavorWithText';
|
|
14
15
|
import type { IconSource } from '../Icon/BaseIcon';
|
|
15
16
|
import type { RbmComponentProps, WithNoStringAndChildrenProps } from '../RbmComponentProps';
|
|
16
|
-
import { FlavorWithText } from '../FlavorWithText';
|
|
17
17
|
|
|
18
18
|
export type SubmenuProps = RbmComponentProps<
|
|
19
19
|
{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseIcon } from '../Icon/BaseIcon';
|
|
2
2
|
import { Block } from '../Layout/Block';
|
|
3
|
+
import { Flavor } from '../Flavor';
|
|
3
4
|
import { HoverMenu } from '../Menu/HoverMenu';
|
|
4
5
|
import { MenuDivider } from '../Menu/MenuDivider';
|
|
5
6
|
import { MenuItem } from '../Menu/MenuItem';
|
|
@@ -10,7 +11,6 @@ import { fn } from 'storybook/test';
|
|
|
10
11
|
import React from 'react';
|
|
11
12
|
import type { HoverMenuProps } from '../Menu/HoverMenu';
|
|
12
13
|
import type { StoryObj } from '@storybook/react-vite';
|
|
13
|
-
import { Flavor } from '../Flavor';
|
|
14
14
|
|
|
15
15
|
const meta = {
|
|
16
16
|
args: {
|