@stenajs-webui/elements 17.6.0 → 17.7.0
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/CHANGELOG.md +12 -0
- package/dist/components/ui/action-menu/ActionMenu.d.ts +13 -13
- package/dist/components/ui/action-menu/ActionMenuCommonContent.d.ts +3 -3
- package/dist/components/ui/action-menu/ActionMenuContext.d.ts +6 -6
- package/dist/components/ui/action-menu/ActionMenuItem.d.ts +9 -9
- package/dist/components/ui/action-menu/ActionMenuItemContent.d.ts +12 -12
- package/dist/components/ui/action-menu/ActionMenuLink.d.ts +10 -10
- package/dist/components/ui/action-menu/ActionMenuSeparator.d.ts +4 -4
- package/dist/components/ui/action-menu/UseActionMenuLogic.d.ts +12 -12
- package/dist/components/ui/badge/Badge.d.ts +7 -7
- package/dist/components/ui/badge/WithBadge.d.ts +10 -10
- package/dist/components/ui/banners/banner/Banner.d.ts +14 -14
- package/dist/components/ui/banners/result-list-banner/ResultListBanner.d.ts +12 -12
- package/dist/components/ui/banners/result-list-banner/hooks/UseResultListBannerState.d.ts +9 -9
- package/dist/components/ui/bread-crumbs/BreadCrumbs.d.ts +6 -6
- package/dist/components/ui/bread-crumbs/Crumb.d.ts +11 -11
- package/dist/components/ui/button-group/ButtonGroup.d.ts +7 -7
- package/dist/components/ui/button-links/FlatButtonLink.d.ts +6 -6
- package/dist/components/ui/button-links/PrimaryButtonLink.d.ts +6 -6
- package/dist/components/ui/button-links/SecondaryButtonLink.d.ts +3 -3
- package/dist/components/ui/buttons/FlatButton.d.ts +8 -8
- package/dist/components/ui/buttons/PrimaryButton.d.ts +7 -7
- package/dist/components/ui/buttons/SecondaryButton.d.ts +3 -3
- package/dist/components/ui/buttons/common/ButtonCommon.d.ts +38 -38
- package/dist/components/ui/buttons/common/ButtonContent.d.ts +18 -18
- package/dist/components/ui/buttons/common/ButtonLabelFactory.d.ts +1 -1
- package/dist/components/ui/cards/Card.d.ts +5 -5
- package/dist/components/ui/cards/CardBody.d.ts +8 -8
- package/dist/components/ui/cards/CardHeader.d.ts +14 -14
- package/dist/components/ui/chip/Chip.d.ts +10 -10
- package/dist/components/ui/icon/Icon.d.ts +10 -10
- package/dist/components/ui/label/Label.d.ts +11 -11
- package/dist/components/ui/link/Link.d.ts +14 -14
- package/dist/components/ui/result-list/ResultList.d.ts +6 -6
- package/dist/components/ui/result-list/ResultListRow.d.ts +9 -9
- package/dist/components/ui/spinner/InputSpinner.d.ts +7 -7
- package/dist/components/ui/spinner/Spinner.d.ts +9 -9
- package/dist/components/ui/tabs/Tab.d.ts +7 -7
- package/dist/components/ui/tabs/TabMenu.d.ts +7 -7
- package/dist/components/ui/tag/Tag.d.ts +10 -10
- package/dist/components/ui/toggle-button/ToggleButton.d.ts +29 -29
- package/dist/components/ui/up-down-buttons/UpDownButtons.d.ts +8 -8
- package/dist/components/ui/value-table/ValueTable.d.ts +10 -10
- package/dist/components/ui/value-table/ValueTableItem.d.ts +10 -10
- package/dist/icons/misc/IconsMisc.d.ts +2 -2
- package/dist/icons/ui/IconsUi.d.ts +48 -48
- package/dist/index.d.ts +42 -42
- package/dist/index.es.js +1871 -1153
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +10 -1284
- package/dist/index.js.map +1 -1
- package/dist/storybook-helpers/storybook-controls.d.ts +46 -46
- package/package.json +7 -8
- package/dist/components/ui/action-menu/ActionMenu.stories.d.ts +0 -18
- package/dist/components/ui/badge/Badge.stories.d.ts +0 -13
- package/dist/components/ui/badge/WithBadge.stories.d.ts +0 -13
- package/dist/components/ui/banners/banner/Banner.stories.d.ts +0 -19
- package/dist/components/ui/banners/result-list-banner/ResultListBanner.stories.d.ts +0 -32
- package/dist/components/ui/bread-crumbs/BreadCrumbs.stories.d.ts +0 -11
- package/dist/components/ui/button-group/ButtonGroup.stories.d.ts +0 -10
- package/dist/components/ui/button-links/ButtonLink.stories.d.ts +0 -13
- package/dist/components/ui/buttons/Button.stories.d.ts +0 -20
- package/dist/components/ui/buttons/FlatButton.stories.d.ts +0 -7
- package/dist/components/ui/cards/Card.stories.d.ts +0 -16
- package/dist/components/ui/chip/Chip.stories.d.ts +0 -30
- package/dist/components/ui/icon/Icon.stories.d.ts +0 -30
- package/dist/components/ui/label/Label.stories.d.ts +0 -89
- package/dist/components/ui/link/Link.stories.d.ts +0 -12
- package/dist/components/ui/spinner/InputSpinner.stories.d.ts +0 -17
- package/dist/components/ui/spinner/Spinner.stories.d.ts +0 -8
- package/dist/components/ui/tabs/TabMenu.stories.d.ts +0 -61
- package/dist/components/ui/tag/Tag.stories.d.ts +0 -20
- package/dist/components/ui/toggle-button/ToggleButton.stories.d.ts +0 -7
- package/dist/components/ui/up-down-buttons/UpDownButtons.stories.d.ts +0 -6
- package/dist/components/ui/value-table/ValueTable.stories.d.ts +0 -15
- package/dist/icons/misc/IconsMisc.stories.d.ts +0 -6
- package/dist/icons/ui/IconsUi.stories.d.ts +0 -51
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
export declare const colorListControl: {
|
|
2
|
-
control: {
|
|
3
|
-
type: string;
|
|
4
|
-
options: string[];
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export declare const shadowListControl: {
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
options: string[];
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const sizeControl: {
|
|
14
|
-
control: {
|
|
15
|
-
type: string;
|
|
16
|
-
min: number;
|
|
17
|
-
max: number;
|
|
18
|
-
step: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const widthControl: {
|
|
22
|
-
control: {
|
|
23
|
-
type: string;
|
|
24
|
-
min: number;
|
|
25
|
-
max: number;
|
|
26
|
-
step: number;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const spaceControl: {
|
|
30
|
-
control: {
|
|
31
|
-
type: string;
|
|
32
|
-
min: number;
|
|
33
|
-
max: number;
|
|
34
|
-
step: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare const disabledControl: {
|
|
38
|
-
control: {
|
|
39
|
-
disable: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const hideArg: {
|
|
43
|
-
table: {
|
|
44
|
-
disable: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
1
|
+
export declare const colorListControl: {
|
|
2
|
+
control: {
|
|
3
|
+
type: string;
|
|
4
|
+
options: string[];
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const shadowListControl: {
|
|
8
|
+
control: {
|
|
9
|
+
type: string;
|
|
10
|
+
options: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const sizeControl: {
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
step: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare const widthControl: {
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
min: number;
|
|
25
|
+
max: number;
|
|
26
|
+
step: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const spaceControl: {
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
min: number;
|
|
33
|
+
max: number;
|
|
34
|
+
step: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export declare const disabledControl: {
|
|
38
|
+
control: {
|
|
39
|
+
disable: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const hideArg: {
|
|
43
|
+
table: {
|
|
44
|
+
disable: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stenajs-webui/elements",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.7.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "mattias800",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,18 +18,17 @@
|
|
|
18
18
|
"npm": ">=5"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"clean": "rm -rf dist",
|
|
21
|
+
"build": "yarn tsc -p tsconfig.build.json && yarn vite build",
|
|
22
|
+
"start": "yarn tsc -p tsconfig.build.json && yarn vite build --watch",
|
|
23
|
+
"clean": "rimraf dist",
|
|
25
24
|
"prepare": "yarn clean && yarn run build",
|
|
26
25
|
"predeploy": "cd example && yarn install && yarn run build",
|
|
27
26
|
"deploy": "gh-pages -d example/build"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
29
|
"@react-aria/focus": "3.3.0",
|
|
31
|
-
"@stenajs-webui/core": "17.
|
|
32
|
-
"@stenajs-webui/theme": "17.
|
|
30
|
+
"@stenajs-webui/core": "17.7.0",
|
|
31
|
+
"@stenajs-webui/theme": "17.7.0",
|
|
33
32
|
"classnames": "^2.3.1"
|
|
34
33
|
},
|
|
35
34
|
"peerDependencies": {
|
|
@@ -62,5 +61,5 @@
|
|
|
62
61
|
"files": [
|
|
63
62
|
"dist"
|
|
64
63
|
],
|
|
65
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "50351c75fc34696ce2006e9f6ce15713d249d949"
|
|
66
65
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("./ActionMenu").ActionMenuProps>;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
ActionMenuItem: React.ForwardRefExoticComponent<import("./ActionMenuItem").ActionMenuItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
ActionMenuSeparator: React.FC<import("./ActionMenuSeparator").ActionDropdownSeparatorProps>;
|
|
8
|
-
};
|
|
9
|
-
parameters: {
|
|
10
|
-
notes: {
|
|
11
|
-
markdown: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
16
|
-
export declare const Standard: () => JSX.Element;
|
|
17
|
-
export declare const Outlined: () => JSX.Element;
|
|
18
|
-
export declare const AsyncItem: () => JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { BadgeProps } from "./Badge";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<BadgeProps>;
|
|
7
|
-
args: {
|
|
8
|
-
label: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Standard: Story<BadgeProps>;
|
|
13
|
-
export declare const WithTestId: Story<BadgeProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { WithBadgeProps } from "./WithBadge";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<WithBadgeProps>;
|
|
7
|
-
args: {
|
|
8
|
-
label: number;
|
|
9
|
-
variant: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
13
|
-
export declare const IconWithBadge: Story<WithBadgeProps>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("./Banner").BannerProps>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Standard: () => JSX.Element;
|
|
8
|
-
export declare const VariantInfo: () => JSX.Element;
|
|
9
|
-
export declare const VariantInfoNoHeader: () => JSX.Element;
|
|
10
|
-
export declare const VariantSuccess: () => JSX.Element;
|
|
11
|
-
export declare const VariantWarning: () => JSX.Element;
|
|
12
|
-
export declare const VariantError: () => JSX.Element;
|
|
13
|
-
export declare const NoHeader: () => JSX.Element;
|
|
14
|
-
export declare const Loading: () => JSX.Element;
|
|
15
|
-
export declare const LoadingNoHeader: () => JSX.Element;
|
|
16
|
-
export declare const BottomContent: () => JSX.Element;
|
|
17
|
-
export declare const BottomContentAndText: () => JSX.Element;
|
|
18
|
-
export declare const ContentRight: () => JSX.Element;
|
|
19
|
-
export declare const ContentRightNoHeader: () => JSX.Element;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ResultListBannerProps } from "./ResultListBanner";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<ResultListBannerProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
bannerState: {
|
|
9
|
-
control: {
|
|
10
|
-
disable: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
icon: {
|
|
14
|
-
control: {
|
|
15
|
-
disable: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
contentRight: {
|
|
19
|
-
control: {
|
|
20
|
-
disable: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
args: {
|
|
25
|
-
variant: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
29
|
-
export declare const Overview: Story<ResultListBannerProps>;
|
|
30
|
-
export declare const WithText: () => JSX.Element | null;
|
|
31
|
-
export declare const WithTextOnly: () => JSX.Element | null;
|
|
32
|
-
export declare const WithTextAndContentRight: () => JSX.Element | null;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("./BreadCrumbs").BreadCrumbsProps>;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
Crumb: React.FC<import("./Crumb").CrumbProps>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Standard: () => JSX.Element;
|
|
11
|
-
export declare const WithReactRouter: () => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("./ButtonGroup").ButtonGroupProps>;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
SecondaryButton: React.ForwardRefExoticComponent<import("../buttons/PrimaryButton").PrimaryButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Overview: () => JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<import("./PrimaryButtonLink").PrimaryButtonLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
SecondaryButtonLink: React.ForwardRefExoticComponent<import("./PrimaryButtonLink").PrimaryButtonLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
|
-
FlatButtonLink: React.ForwardRefExoticComponent<import("./FlatButtonLink").FlatButtonLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const Overview: () => JSX.Element;
|
|
12
|
-
export declare const Variants: () => JSX.Element;
|
|
13
|
-
export declare const WithGenericContentToRight: () => JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { PrimaryButtonProps } from "./PrimaryButton";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<PrimaryButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
subcomponents: {
|
|
8
|
-
SecondaryButton: React.ForwardRefExoticComponent<PrimaryButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
FlatButton: React.ForwardRefExoticComponent<PrimaryButtonProps & {
|
|
10
|
-
inverted?: boolean | undefined;
|
|
11
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
15
|
-
export declare const Demo: Story<PrimaryButtonProps>;
|
|
16
|
-
export declare const Overview: () => JSX.Element;
|
|
17
|
-
export declare const Variants: () => JSX.Element;
|
|
18
|
-
export declare const FlatButtonInverted: () => JSX.Element;
|
|
19
|
-
export declare const WithGenericContentToRight: () => JSX.Element;
|
|
20
|
-
export declare const WithResponsiveWidth: () => JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import("./Card").CardProps>;
|
|
5
|
-
subcomponents: {
|
|
6
|
-
CardHeader: React.VFC<import("./CardHeader").CardHeaderProps>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
export declare const Demo: () => JSX.Element;
|
|
11
|
-
export declare const HeaderContent: () => JSX.Element;
|
|
12
|
-
export declare const CompactCard: () => JSX.Element;
|
|
13
|
-
export declare const Details: () => JSX.Element;
|
|
14
|
-
export declare const Unpaid: () => JSX.Element;
|
|
15
|
-
export declare const Switch: () => JSX.Element;
|
|
16
|
-
export declare const Approved: () => JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ChipProps } from "./Chip";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<ChipProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
className: {
|
|
9
|
-
control: {
|
|
10
|
-
disable: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
onClick: {
|
|
14
|
-
control: {
|
|
15
|
-
disable: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
onClickRemove: {
|
|
19
|
-
control: {
|
|
20
|
-
disable: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
args: {
|
|
25
|
-
label: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|
|
29
|
-
export declare const Demo: Story<ChipProps>;
|
|
30
|
-
export declare const Overview: () => JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IconProps } from "./Icon";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
color: {
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
options: string[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
icon: {
|
|
15
|
-
control: {
|
|
16
|
-
disable: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
22
|
-
export declare const Demo: Story<IconProps>;
|
|
23
|
-
export declare const WithColor: () => JSX.Element;
|
|
24
|
-
export declare const WithSpin: () => JSX.Element;
|
|
25
|
-
export declare const WithPulse: () => JSX.Element;
|
|
26
|
-
export declare const HorizontalFlip: () => JSX.Element;
|
|
27
|
-
export declare const VerticalFlip: () => JSX.Element;
|
|
28
|
-
export declare const WithRotation: () => JSX.Element;
|
|
29
|
-
export declare const WithTransform: () => JSX.Element;
|
|
30
|
-
export declare const WithDisplay: () => JSX.Element;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { LabelProps } from "./Label";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<LabelProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
color: {
|
|
9
|
-
table: {
|
|
10
|
-
disable: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
spacing: {
|
|
14
|
-
table: {
|
|
15
|
-
disable: boolean;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
indent: {
|
|
19
|
-
table: {
|
|
20
|
-
disable: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
style: {
|
|
24
|
-
table: {
|
|
25
|
-
disable: boolean;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
shadow: {
|
|
29
|
-
table: {
|
|
30
|
-
disable: boolean;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
border: {
|
|
34
|
-
table: {
|
|
35
|
-
disable: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
background: {
|
|
39
|
-
table: {
|
|
40
|
-
disable: boolean;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
borderColor: {
|
|
44
|
-
table: {
|
|
45
|
-
disable: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
hoverBackground: {
|
|
49
|
-
table: {
|
|
50
|
-
disable: boolean;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
hoverBorder: {
|
|
54
|
-
table: {
|
|
55
|
-
disable: boolean;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
focusBackground: {
|
|
59
|
-
table: {
|
|
60
|
-
disable: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
focusBorder: {
|
|
64
|
-
table: {
|
|
65
|
-
disable: boolean;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
focusWithinBackground: {
|
|
69
|
-
table: {
|
|
70
|
-
disable: boolean;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
focusWithinBorder: {
|
|
74
|
-
table: {
|
|
75
|
-
disable: boolean;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
args: {
|
|
80
|
-
text: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export default _default;
|
|
84
|
-
export declare const Overview: Story<LabelProps>;
|
|
85
|
-
export declare const WithTextOnly: () => JSX.Element;
|
|
86
|
-
export declare const Row: () => JSX.Element;
|
|
87
|
-
export declare const RowWithTextWidth: () => JSX.Element;
|
|
88
|
-
export declare const WithExtraInfo: () => JSX.Element;
|
|
89
|
-
export declare const WithExtraInfoRow: () => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { LinkProps } from "./Link";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Demo: Story<LinkProps>;
|
|
10
|
-
export declare const Overview: () => JSX.Element;
|
|
11
|
-
export declare const HrefAndTarget: () => JSX.Element;
|
|
12
|
-
export declare const LinkWithIconRight: () => JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { InputSpinnerProps } from "./InputSpinner";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
components: React.FC<InputSpinnerProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
color: {
|
|
9
|
-
control: {
|
|
10
|
-
type: string;
|
|
11
|
-
options: string[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
17
|
-
export declare const Overview: Story<InputSpinnerProps>;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { TabProps } from "./Tab";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
subcomponents: {
|
|
8
|
-
TabMenu: React.FC<import("./TabMenu").TabMenuProps>;
|
|
9
|
-
};
|
|
10
|
-
argTypes: {
|
|
11
|
-
ref: {
|
|
12
|
-
control: {
|
|
13
|
-
disable: boolean;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
leftWrapperClassName: {
|
|
17
|
-
control: {
|
|
18
|
-
disable: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
spinnerClassName: {
|
|
22
|
-
control: {
|
|
23
|
-
disable: boolean;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
labelClassName: {
|
|
27
|
-
control: {
|
|
28
|
-
disable: boolean;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
iconClassName: {
|
|
32
|
-
control: {
|
|
33
|
-
disable: boolean;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
rightIcon: {
|
|
37
|
-
control: {
|
|
38
|
-
disable: boolean;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
right: {
|
|
42
|
-
control: {
|
|
43
|
-
disable: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
leftIcon: {
|
|
47
|
-
control: {
|
|
48
|
-
disable: boolean;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
left: {
|
|
52
|
-
control: {
|
|
53
|
-
disable: boolean;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export default _default;
|
|
59
|
-
export declare const Demo: Story<TabProps>;
|
|
60
|
-
export declare const Overview: () => JSX.Element;
|
|
61
|
-
export declare const ContentOnSides: () => JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { TagProps } from "./Tag";
|
|
3
|
-
import { Story } from "@storybook/react";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<TagProps>;
|
|
7
|
-
argTypes: {
|
|
8
|
-
className: {
|
|
9
|
-
control: {
|
|
10
|
-
disable: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
args: {
|
|
15
|
-
label: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
export declare const Demo: Story<TagProps>;
|
|
20
|
-
export declare const Overview: () => JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: ({ label, pressed, first, last, width, onClick, }: import("./ToggleButton").ToggleButtonProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Standard: () => JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Story } from "@storybook/react";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { ValueTableProps } from "./ValueTable";
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<ValueTableProps>;
|
|
7
|
-
subcomponents: {
|
|
8
|
-
ValueTableItem: React.FC<import("./ValueTableItem").ValueTableItemProps>;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Overview: Story<ValueTableProps>;
|
|
13
|
-
export declare const HeaderAndFooter: () => JSX.Element;
|
|
14
|
-
export declare const AlignValueRight: Story<ValueTableProps>;
|
|
15
|
-
export declare const Variants: () => JSX.Element[];
|