@loja-integrada/admin-components 0.12.2 → 0.12.5
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/Button/Button.stories.d.ts +8 -9
- package/dist/Components/LoadingPlaceholder/LoadingPlaceholder.stories.d.ts +2 -3
- package/dist/Components/Modal/Modal.stories.d.ts +5 -6
- package/dist/Components/Table/Table.stories.d.ts +6 -7
- package/dist/Components/Tabs/Tabs.stories.d.ts +3 -4
- package/dist/Components/Timeline/Timeline.stories.d.ts +4 -5
- package/dist/Forms/Checkbox/Checkbox.stories.d.ts +8 -9
- package/dist/Forms/Dropdown/Dropdown.stories.d.ts +17 -18
- package/dist/Forms/Input/Input.stories.d.ts +19 -19
- package/dist/Forms/InputCurrency/InputCurrency.stories.d.ts +6 -7
- package/dist/Forms/InputHelpText/InputHelpText.stories.d.ts +2 -3
- package/dist/Forms/InputLabel/InputLabel.stories.d.ts +3 -4
- package/dist/Forms/InputMask/InputMask.stories.d.ts +8 -9
- package/dist/Forms/Select/Select.stories.d.ts +6 -7
- package/dist/Forms/Toggle/Toggle.stories.d.ts +6 -7
- package/dist/Icons/Icon.stories.d.ts +1 -2
- package/dist/Indicators/Alert/Alert.stories.d.ts +3 -4
- package/dist/Indicators/Badge/Badge.d.ts +5 -1
- package/dist/Indicators/Badge/Badge.stories.d.ts +4 -4
- package/dist/Indicators/Status/Status.stories.d.ts +2 -3
- package/dist/Indicators/Toast/Toast.stories.d.ts +2 -3
- package/dist/Indicators/Tooltip/Tooltip.stories.d.ts +2 -3
- package/dist/Layout/ActionBar/ActionBar.stories.d.ts +3 -4
- package/dist/Layout/Box/Box.stories.d.ts +6 -7
- package/dist/Layout/Box/Components/Content/BoxContent.stories.d.ts +2 -3
- package/dist/Layout/Box/Components/Header/BoxHeader.stories.d.ts +2 -3
- package/dist/Layout/Box/Components/Separator/BoxSeparator.stories.d.ts +2 -3
- package/dist/Layout/Container/Container.stories.d.ts +3 -4
- package/dist/Layout/Sidebar/Sidebar.stories.d.ts +2 -2
- package/dist/Layout/Topbar/Topbar.stories.d.ts +2 -3
- package/dist/Navigation/Breadcrumb/Breadcrumb.stories.d.ts +5 -6
- package/dist/Navigation/Pagination/Pagination.stories.d.ts +4 -5
- package/dist/admin-components.cjs.development.js +6 -4
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +6 -4
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +8 -8
- package/src/Components/Table/Table.tsx +4 -11
- package/src/Forms/Input/Input.stories.tsx +17 -2
- package/src/Forms/Input/Input.tsx +2 -2
- package/src/Forms/InputCurrency/InputCurrency.tsx +2 -3
- package/src/Forms/Select/Select.tsx +1 -1
- package/src/Indicators/Badge/Badge.spec.tsx +6 -1
- package/src/Indicators/Badge/Badge.stories.tsx +10 -1
- package/src/Indicators/Badge/Badge.tsx +8 -1
- package/src/Layout/ActionBar/ActionBar.tsx +2 -3
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { ButtonProps } from './Button';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Large:
|
|
7
|
-
export declare const Small:
|
|
8
|
-
export declare const Action:
|
|
9
|
-
export declare const Disabled:
|
|
10
|
-
export declare const Loading:
|
|
11
|
-
export declare const WithLink:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
5
|
+
export declare const Large: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
6
|
+
export declare const Small: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
7
|
+
export declare const Action: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
8
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
9
|
+
export declare const Loading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
10
|
+
export declare const WithLink: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { LoadingPlaceholderProps } from './LoadingPlaceholder';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LoadingPlaceholderProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { ModalProps } from './Modal';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithScroll:
|
|
7
|
-
export declare const WithFooter:
|
|
8
|
-
export declare const WithCustomParentSelector:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ModalProps>;
|
|
5
|
+
export declare const WithScroll: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ModalProps>;
|
|
6
|
+
export declare const WithFooter: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ModalProps>;
|
|
7
|
+
export declare const WithCustomParentSelector: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ModalProps>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { TableProps } from './Table';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Loading:
|
|
7
|
-
export declare const Empty:
|
|
8
|
-
export declare const Selectable:
|
|
9
|
-
export declare const SelectedData:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableProps>;
|
|
5
|
+
export declare const Loading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableProps>;
|
|
6
|
+
export declare const Empty: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableProps>;
|
|
7
|
+
export declare const Selectable: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableProps>;
|
|
8
|
+
export declare const SelectedData: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TableProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { TabsProps } from './Tabs';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithTabDisabled:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TabsProps>;
|
|
5
|
+
export declare const WithTabDisabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TabsProps>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { TimelineProps } from './Timeline';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Loading:
|
|
7
|
-
export declare const Empty:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TimelineProps>;
|
|
5
|
+
export declare const Loading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TimelineProps>;
|
|
6
|
+
export declare const Empty: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TimelineProps>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { CheckboxProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Indeterminate:
|
|
7
|
-
export declare const Disabled:
|
|
8
|
-
export declare const Error:
|
|
9
|
-
export declare const DisabledChecked:
|
|
10
|
-
export declare const DisabledIndeterminate:
|
|
11
|
-
export declare const WithOnChange:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
5
|
+
export declare const Indeterminate: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
6
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
7
|
+
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
8
|
+
export declare const DisabledChecked: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
9
|
+
export declare const DisabledIndeterminate: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
10
|
+
export declare const WithOnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { DropdownProps } from './';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Empty:
|
|
7
|
-
export declare const Disabled:
|
|
8
|
-
export declare const Searchable:
|
|
9
|
-
export declare const FixedValue:
|
|
10
|
-
export declare const CustomSize:
|
|
11
|
-
export declare const Grouped:
|
|
12
|
-
export declare const GroupedWithLength:
|
|
13
|
-
export declare const HelpText:
|
|
14
|
-
export declare const Label:
|
|
15
|
-
export declare const WithError:
|
|
16
|
-
export declare const DefaultValue:
|
|
17
|
-
export declare const OnBlur:
|
|
18
|
-
export declare const MaxMenuHeight:
|
|
19
|
-
export declare const WithComplement:
|
|
20
|
-
export declare const WithVariant:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
5
|
+
export declare const Empty: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
6
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
7
|
+
export declare const Searchable: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
8
|
+
export declare const FixedValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
9
|
+
export declare const CustomSize: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
10
|
+
export declare const Grouped: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
11
|
+
export declare const GroupedWithLength: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
12
|
+
export declare const HelpText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
13
|
+
export declare const Label: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
14
|
+
export declare const WithError: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
15
|
+
export declare const DefaultValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
16
|
+
export declare const OnBlur: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
17
|
+
export declare const MaxMenuHeight: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
18
|
+
export declare const WithComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
19
|
+
export declare const WithVariant: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DropdownProps>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { InputProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Error:
|
|
7
|
-
export declare const Disabled:
|
|
8
|
-
export declare const Readonly:
|
|
9
|
-
export declare const Prefix:
|
|
10
|
-
export declare const PrefixWithoutBorder:
|
|
11
|
-
export declare const IconPrefix:
|
|
12
|
-
export declare const IconPrefixWhitoutBorder:
|
|
13
|
-
export declare const Sufix:
|
|
14
|
-
export declare const SufixWithoutBorder:
|
|
15
|
-
export declare const IconSufix:
|
|
16
|
-
export declare const IconSufixWithoutBorder:
|
|
17
|
-
export declare const PrefixDisabled:
|
|
18
|
-
export declare const PrefixReadOnly:
|
|
19
|
-
export declare const WithBoth:
|
|
20
|
-
export declare const WithBothWithoutBorder:
|
|
21
|
-
export declare const
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
5
|
+
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
6
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
7
|
+
export declare const Readonly: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
8
|
+
export declare const Prefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
9
|
+
export declare const PrefixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
10
|
+
export declare const IconPrefix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
11
|
+
export declare const IconPrefixWhitoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
12
|
+
export declare const Sufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
13
|
+
export declare const SufixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
14
|
+
export declare const IconSufix: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
15
|
+
export declare const IconSufixWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
16
|
+
export declare const PrefixDisabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
17
|
+
export declare const PrefixReadOnly: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
18
|
+
export declare const WithBoth: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
19
|
+
export declare const WithBothWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
20
|
+
export declare const WithLabelComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
21
|
+
export declare const Search: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { InputCurrencyProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const MaxValue:
|
|
7
|
-
export declare const CurrencyUSD:
|
|
8
|
-
export declare const OnChange:
|
|
9
|
-
export declare const OnFocusWithStartAdornment:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
5
|
+
export declare const MaxValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
6
|
+
export declare const CurrencyUSD: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
7
|
+
export declare const OnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
8
|
+
export declare const OnFocusWithStartAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputCurrencyProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { InputHelpTextProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputHelpTextProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { InputLabelProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithComplement:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputLabelProps>;
|
|
5
|
+
export declare const WithComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputLabelProps>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { InputMaskProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Date:
|
|
7
|
-
export declare const OnlyNumbers:
|
|
8
|
-
export declare const OnlyText:
|
|
9
|
-
export declare const DateWithStartAdornment:
|
|
10
|
-
export declare const DateWithEndAdornment:
|
|
11
|
-
export declare const DateWithEndAdornmentError:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
5
|
+
export declare const Date: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
6
|
+
export declare const OnlyNumbers: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
7
|
+
export declare const OnlyText: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
8
|
+
export declare const DateWithStartAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
9
|
+
export declare const DateWithEndAdornment: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
10
|
+
export declare const DateWithEndAdornmentError: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputMaskProps>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { SelectProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Error:
|
|
7
|
-
export declare const WithoutStyle:
|
|
8
|
-
export declare const WithComplement:
|
|
9
|
-
export declare const Disabled:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
5
|
+
export declare const Error: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
6
|
+
export declare const WithoutStyle: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
7
|
+
export declare const WithComplement: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
8
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectProps>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { ToggleProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Disabled:
|
|
7
|
-
export declare const DisabledChecked:
|
|
8
|
-
export declare const WithDefaultValue:
|
|
9
|
-
export declare const WithOnChange:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
5
|
+
export declare const Disabled: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
6
|
+
export declare const DisabledChecked: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
7
|
+
export declare const WithDefaultValue: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
8
|
+
export declare const WithOnChange: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ToggleProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
4
|
export declare const Example: {
|
|
6
5
|
(args: any): JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { AlertProps } from './Alert';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithActions:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
|
|
5
|
+
export declare const WithActions: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
|
|
@@ -10,7 +10,7 @@ declare const badgeSizes: {
|
|
|
10
10
|
default: string;
|
|
11
11
|
small: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const Badge: React.MemoExoticComponent<({ type, text, size, }: BadgeProps) => JSX.Element>;
|
|
13
|
+
export declare const Badge: React.MemoExoticComponent<({ type, text, size, expanded, }: BadgeProps) => JSX.Element>;
|
|
14
14
|
export interface BadgeProps {
|
|
15
15
|
/** Badge color
|
|
16
16
|
* @default neutral
|
|
@@ -24,5 +24,9 @@ export interface BadgeProps {
|
|
|
24
24
|
* @default default
|
|
25
25
|
* */
|
|
26
26
|
size?: keyof typeof badgeSizes;
|
|
27
|
+
/**
|
|
28
|
+
* Enlarge width of the badge
|
|
29
|
+
* */
|
|
30
|
+
expanded?: boolean;
|
|
27
31
|
}
|
|
28
32
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BadgeProps } from './Badge';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BadgeProps>;
|
|
5
|
+
export declare const Expanded: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BadgeProps>;
|
|
6
|
+
export declare const Small: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BadgeProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { StatusProps } from './Status';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, StatusProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
1
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
2
|
export default _default;
|
|
4
|
-
export declare const Default:
|
|
3
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { TooltipProps } from './Tooltip';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TooltipProps>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { ActionBarProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const OnlyMobile:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ActionBarProps>;
|
|
5
|
+
export declare const OnlyMobile: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ActionBarProps>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BoxProps } from './Box';
|
|
3
2
|
import { BoxHeaderProps } from './Components/Header/BoxHeader';
|
|
4
3
|
import { BoxContentProps } from './Components/Content/BoxContent';
|
|
5
4
|
import { StatusProps } from '../../Indicators/Status';
|
|
6
5
|
import { TabsProps } from '../../Components/Tabs';
|
|
7
|
-
declare const _default:
|
|
6
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
8
7
|
export default _default;
|
|
9
8
|
interface BoxFullProps extends BoxProps {
|
|
10
9
|
BoxHeader: BoxHeaderProps;
|
|
@@ -15,8 +14,8 @@ interface BoxFullProps extends BoxProps {
|
|
|
15
14
|
showTabs: boolean;
|
|
16
15
|
showActions: boolean;
|
|
17
16
|
}
|
|
18
|
-
export declare const Default:
|
|
19
|
-
export declare const WithAction:
|
|
20
|
-
export declare const WithToggle:
|
|
21
|
-
export declare const WithTabs:
|
|
22
|
-
export declare const OnlyTabs:
|
|
17
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxFullProps>;
|
|
18
|
+
export declare const WithAction: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxFullProps>;
|
|
19
|
+
export declare const WithToggle: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxFullProps>;
|
|
20
|
+
export declare const WithTabs: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxFullProps>;
|
|
21
|
+
export declare const OnlyTabs: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxFullProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BoxContentProps } from './BoxContent';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Content:
|
|
4
|
+
export declare const Content: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxContentProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BoxProps } from '../../Box';
|
|
3
2
|
import { BoxHeaderProps } from './BoxHeader';
|
|
4
|
-
declare const _default:
|
|
3
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
5
4
|
export default _default;
|
|
6
5
|
interface BoxHeaderPropsWithVariant extends BoxHeaderProps, Pick<BoxProps, 'variant'> {
|
|
7
6
|
}
|
|
8
|
-
export declare const Header:
|
|
7
|
+
export declare const Header: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BoxHeaderPropsWithVariant>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BoxProps } from '../../Box';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Separator:
|
|
4
|
+
export declare const Separator: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, Pick<BoxProps, "variant">>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { ContainerProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const Expanded:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ContainerProps>;
|
|
5
|
+
export declare const Expanded: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ContainerProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Story
|
|
2
|
-
declare const _default:
|
|
1
|
+
import { Story } from '@storybook/react';
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Default: Story;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react/types-6-0';
|
|
2
1
|
import { TopbarProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TopbarProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { BreadcrumbProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const NoPrevious:
|
|
7
|
-
export declare const WithPrevious:
|
|
8
|
-
export declare const WithPreviousCustom:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
5
|
+
export declare const NoPrevious: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
6
|
+
export declare const WithPrevious: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
7
|
+
export declare const WithPreviousCustom: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Story, Meta } from '@storybook/react';
|
|
2
1
|
import { PaginationProps } from '.';
|
|
3
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Default:
|
|
6
|
-
export declare const WithoutItems:
|
|
7
|
-
export declare const WithLengthOptions:
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaginationProps>;
|
|
5
|
+
export declare const WithoutItems: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaginationProps>;
|
|
6
|
+
export declare const WithLengthOptions: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaginationProps>;
|
|
@@ -828,7 +828,7 @@ var InputComponent = function InputComponent(_ref, ref) {
|
|
|
828
828
|
inputContainerClass += " " + defaultBorderClasses;
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
var inputClass = "w-full tracking-4 px-4 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? errorBorderClasses : defaultBorderClasses) + " " + (prefix && prefixBorder ? 'border-l' : '') + " " + (sufix && sufixBorder ? 'border-r' : '') + " " + (prefix && !prefixBorder ? 'pl-0
|
|
831
|
+
var inputClass = "w-full tracking-4 px-4 appearance-none shadow-none outline-none bg-transparent box-border " + focusClass + " " + (hasErrorState ? errorBorderClasses : defaultBorderClasses) + " " + (prefix && prefixBorder ? 'border-l' : '') + " " + (sufix && sufixBorder ? 'border-r' : '') + " " + (prefix && !prefixBorder ? 'pl-0' : '') + " " + (sufix && !sufixBorder ? 'pr-0' : '');
|
|
832
832
|
var LabelComponent = React__default.createElement(InputLabel, {
|
|
833
833
|
label: label,
|
|
834
834
|
labelComplement: labelComplement,
|
|
@@ -1293,7 +1293,7 @@ var SelectComponent = function SelectComponent(_ref, ref) {
|
|
|
1293
1293
|
inputClass = inputClasses + " " + selectClasses + " " + variantClasses[variant];
|
|
1294
1294
|
|
|
1295
1295
|
if (disabled) {
|
|
1296
|
-
inputClass += " " + defaultBorderClasses + " " + inputContainerDisabledClasses;
|
|
1296
|
+
inputClass += " " + defaultBorderClasses + " " + inputContainerDisabledClasses + " opacity-100";
|
|
1297
1297
|
} else if (hasErrorState) {
|
|
1298
1298
|
inputClass += " " + errorBorderClasses;
|
|
1299
1299
|
} else {
|
|
@@ -2434,9 +2434,11 @@ var BadgeComponent = function BadgeComponent(_ref) {
|
|
|
2434
2434
|
type = _ref$type === void 0 ? 'neutral' : _ref$type,
|
|
2435
2435
|
text = _ref.text,
|
|
2436
2436
|
_ref$size = _ref.size,
|
|
2437
|
-
size = _ref$size === void 0 ? 'default' : _ref$size
|
|
2437
|
+
size = _ref$size === void 0 ? 'default' : _ref$size,
|
|
2438
|
+
_ref$expanded = _ref.expanded,
|
|
2439
|
+
expanded = _ref$expanded === void 0 ? false : _ref$expanded;
|
|
2438
2440
|
return React__default.createElement("div", {
|
|
2439
|
-
className: "badge
|
|
2441
|
+
className: "badge items-center justify-center rounded-full " + badgeTypes[type] + " " + badgeSizes[size] + " " + (expanded ? 'flex w-full' : 'inline-flex')
|
|
2440
2442
|
}, React__default.createElement("span", {
|
|
2441
2443
|
className: "text-xs tracking-4 font-semibold text-base-1"
|
|
2442
2444
|
}, text));
|