@lumx/core 4.13.0 → 4.14.0-alpha.1

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 (107) hide show
  1. package/js/components/AlertDialog/Stories.d.ts +115 -0
  2. package/js/components/AlertDialog/index.d.ts +91 -0
  3. package/js/components/Avatar/Stories.d.ts +52 -0
  4. package/js/components/Avatar/index.d.ts +50 -0
  5. package/js/components/Badge/BadgeWrapper.d.ts +13 -0
  6. package/js/components/Badge/BadgeWrapperStories.d.ts +29 -0
  7. package/js/components/Badge/Stories.d.ts +46 -0
  8. package/js/components/Badge/index.d.ts +37 -0
  9. package/js/components/Button/ButtonGroup.d.ts +36 -0
  10. package/js/components/Button/ButtonGroupStories.d.ts +33 -0
  11. package/js/components/Button/IconButtonStories.d.ts +210 -0
  12. package/js/components/Button/Stories.d.ts +302 -0
  13. package/js/components/Checkbox/Stories.d.ts +89 -0
  14. package/js/components/Chip/ChipGroupStories.d.ts +17 -0
  15. package/js/components/Chip/SelectionChipGroupStories.d.ts +54 -0
  16. package/js/components/Chip/Stories.d.ts +127 -0
  17. package/js/components/Combobox/ComboboxOptionTests.d.ts +24 -0
  18. package/js/components/Combobox/Stories.d.ts +167 -0
  19. package/js/components/Combobox/TestStories.d.ts +143 -0
  20. package/js/components/Combobox/Tests.d.ts +168 -0
  21. package/js/components/Dialog/Stories.d.ts +97 -0
  22. package/js/components/Dialog/index.d.ts +99 -0
  23. package/js/components/Divider/Stories.d.ts +21 -0
  24. package/js/components/DragHandle/Stories.d.ts +18 -0
  25. package/js/components/ExpansionPanel/Stories.d.ts +67 -0
  26. package/js/components/Flag/Stories.d.ts +120 -0
  27. package/js/components/FlexBox/Stories.d.ts +116 -0
  28. package/js/components/FlexBox/constants.d.ts +3 -3
  29. package/js/components/GenericBlock/Stories.d.ts +74 -0
  30. package/js/components/GenericBlock/constants.d.ts +1 -1
  31. package/js/components/GenericBlock/index.d.ts +85 -0
  32. package/js/components/GridColumn/GridColumnStories.d.ts +45 -0
  33. package/js/components/GridColumn/index.d.ts +2 -0
  34. package/js/components/Heading/Stories.d.ts +90 -0
  35. package/js/components/Icon/Stories.d.ts +156 -0
  36. package/js/components/ImageBlock/Stories.d.ts +187 -0
  37. package/js/components/InlineList/Stories.d.ts +64 -0
  38. package/js/components/InlineList/index.d.ts +53 -0
  39. package/js/components/InputHelper/Stories.d.ts +35 -0
  40. package/js/components/InputLabel/Stories.d.ts +34 -0
  41. package/js/components/Lightbox/Stories.d.ts +40 -0
  42. package/js/components/Lightbox/index.d.ts +68 -0
  43. package/js/components/Link/Stories.d.ts +282 -0
  44. package/js/components/Link/index.d.ts +47 -0
  45. package/js/components/LinkPreview/Stories.d.ts +61 -0
  46. package/js/components/LinkPreview/index.d.ts +53 -0
  47. package/js/components/List/ListDivider.d.ts +33 -0
  48. package/js/components/List/ListDividerStories.d.ts +17 -0
  49. package/js/components/List/ListItemStories.d.ts +53 -0
  50. package/js/components/List/ListSection.d.ts +45 -0
  51. package/js/components/List/ListSectionStories.d.ts +125 -0
  52. package/js/components/List/ListStories.d.ts +34 -0
  53. package/js/components/Message/Stories.d.ts +119 -0
  54. package/js/components/Mosaic/Stories.d.ts +102 -0
  55. package/js/components/Mosaic/index.d.ts +40 -0
  56. package/js/components/Popover/Stories.d.ts +139 -0
  57. package/js/components/Popover/index.d.ts +119 -0
  58. package/js/components/PopoverDialog/Stories.d.ts +44 -0
  59. package/js/components/PopoverDialog/index.d.ts +22 -0
  60. package/js/components/RadioButton/Stories.d.ts +78 -0
  61. package/js/components/RadioGroup/index.d.ts +34 -0
  62. package/js/components/SelectButton/Stories.d.ts +135 -0
  63. package/js/components/SelectButton/TestStories.d.ts +37 -0
  64. package/js/components/SelectButton/Tests.d.ts +34 -0
  65. package/js/components/SelectButton/index.d.ts +85 -0
  66. package/js/components/SelectTextField/Stories.d.ts +192 -0
  67. package/js/components/SelectTextField/TestStories.d.ts +39 -0
  68. package/js/components/SelectTextField/Tests.d.ts +38 -0
  69. package/js/components/SelectTextField/index.d.ts +87 -0
  70. package/js/components/Skeleton/SkeletonCircleStories.d.ts +43 -0
  71. package/js/components/Skeleton/SkeletonRectangleStories.d.ts +83 -0
  72. package/js/components/Skeleton/SkeletonTypographyStories.d.ts +53 -0
  73. package/js/components/Switch/Stories.d.ts +94 -0
  74. package/js/components/Table/Stories.d.ts +30 -0
  75. package/js/components/Table/TableBody.d.ts +25 -0
  76. package/js/components/Table/TableCellStories.d.ts +47 -0
  77. package/js/components/Table/TableHeader.d.ts +29 -0
  78. package/js/components/Table/TableRow.d.ts +35 -0
  79. package/js/components/Table/TableRowStories.d.ts +23 -0
  80. package/js/components/Table/index.d.ts +27 -0
  81. package/js/components/Tabs/Tab.d.ts +70 -0
  82. package/js/components/Tabs/TabPanel.d.ts +43 -0
  83. package/js/components/Text/Stories.d.ts +164 -0
  84. package/js/components/TextField/RawInputText.d.ts +22 -0
  85. package/js/components/TextField/RawInputTextStories.d.ts +16 -0
  86. package/js/components/TextField/RawInputTextareaStories.d.ts +21 -0
  87. package/js/components/TextField/Stories.d.ts +101 -0
  88. package/js/components/TextField/TextField.d.ts +84 -0
  89. package/js/components/Thumbnail/Stories.d.ts +178 -0
  90. package/js/components/Toolbar/Stories.d.ts +29 -0
  91. package/js/components/Toolbar/index.d.ts +33 -0
  92. package/js/components/Tooltip/Stories.d.ts +61 -0
  93. package/js/components/Tooltip/TestStories.d.ts +72 -0
  94. package/js/components/Tooltip/index.d.ts +65 -0
  95. package/js/components/Uploader/Stories.d.ts +116 -0
  96. package/js/components/Uploader/index.d.ts +79 -0
  97. package/js/components/UserBlock/Stories.d.ts +153 -0
  98. package/js/components/UserBlock/index.d.ts +145 -0
  99. package/js/utils/ClickAway/TestStories.d.ts +36 -0
  100. package/js/utils/InfiniteScroll/TestStories.d.ts +50 -0
  101. package/js/utils/InfiniteScroll/index.d.ts +21 -0
  102. package/js/utils/Portal/Stories.d.ts +29 -0
  103. package/js/utils/action-area/Stories.d.ts +38 -0
  104. package/js/utils/select/renderSelectOptions.d.ts +7 -0
  105. package/package.json +5 -4
  106. package/stories/utils/CombinationsTable.d.ts +26 -0
  107. package/stories/utils/ThemingVariablesTable.d.ts +29 -0
@@ -0,0 +1,115 @@
1
+ import type { SetupStoriesOptions } from '@lumx/core/stories/types';
2
+ import { Kind } from '../../constants';
3
+ /**
4
+ * Setup AlertDialog stories for a specific framework (React or Vue).
5
+ * Framework-specific components and render function are injected via `components` and `render`.
6
+ */
7
+ export declare function setup({ component: AlertDialog, render, components: { Link }, decorators: { withChromaticForceScreenSize, withNestedProps }, }: SetupStoriesOptions<{
8
+ components: {
9
+ Link: any;
10
+ };
11
+ decorators: 'withChromaticForceScreenSize' | 'withNestedProps';
12
+ }>): {
13
+ meta: {
14
+ component: any;
15
+ render: any;
16
+ args: {
17
+ 'confirmProps.label': string;
18
+ confirmProps?: any;
19
+ cancelProps?: any;
20
+ dialogProps?: any;
21
+ ref?: import("../../types").CommonRef;
22
+ cancelButtonRef?: import("../../types").CommonRef;
23
+ confirmationButtonRef?: import("../../types").CommonRef;
24
+ DescriptionElement?: any;
25
+ Dialog?: any;
26
+ Toolbar?: any;
27
+ Button?: any;
28
+ Icon?: any;
29
+ id?: string | undefined;
30
+ focusElement?: any;
31
+ className?: string | undefined;
32
+ kind?: Kind | undefined;
33
+ title?: string | undefined;
34
+ children?: import("react").ReactNode;
35
+ size?: import("../Dialog").DialogSizes | undefined;
36
+ };
37
+ argTypes: {
38
+ size: {
39
+ control: {
40
+ type: "select" | "inline-radio";
41
+ };
42
+ options: ("big" | "tiny" | "regular" | "huge")[];
43
+ mapping: Record<string, "big" | "tiny" | "regular" | "huge"> | undefined;
44
+ };
45
+ kind: {
46
+ control: {
47
+ type: "select" | "inline-radio";
48
+ };
49
+ options: ("info" | "success" | "warning" | "error")[];
50
+ mapping: Record<string, "info" | "success" | "warning" | "error"> | undefined;
51
+ };
52
+ 'confirmProps.onClick': {
53
+ action: boolean;
54
+ };
55
+ };
56
+ parameters: {
57
+ chromatic: {
58
+ pauseAnimationAtEnd: boolean;
59
+ delay: number;
60
+ };
61
+ };
62
+ decorators: ((story: any, context: any) => any)[];
63
+ };
64
+ DefaultKind: {
65
+ args: {
66
+ title: string;
67
+ children: string;
68
+ };
69
+ };
70
+ Warning: {
71
+ args: {
72
+ kind: "warning";
73
+ title: string;
74
+ children: string;
75
+ };
76
+ };
77
+ Success: {
78
+ args: {
79
+ kind: "success";
80
+ title: string;
81
+ children: string;
82
+ };
83
+ };
84
+ Error: {
85
+ args: {
86
+ kind: "error";
87
+ title: string;
88
+ children: string;
89
+ };
90
+ };
91
+ WithCancel: {
92
+ argTypes: {
93
+ 'cancelProps.onClick': {
94
+ action: boolean;
95
+ };
96
+ };
97
+ args: {
98
+ title: string;
99
+ 'cancelProps.label': string;
100
+ children: string;
101
+ };
102
+ };
103
+ RichDescription: {
104
+ argTypes: {
105
+ children: {
106
+ control: boolean;
107
+ };
108
+ };
109
+ args: {
110
+ title: string;
111
+ children: string;
112
+ };
113
+ render: ({ children, ...args }: any) => any;
114
+ };
115
+ };
@@ -0,0 +1,91 @@
1
+ import { Kind } from '../../constants';
2
+ import type { LumxClassName, JSXElement, HasClassName, CommonRef } from '../../types';
3
+ import { DialogProps } from '../Dialog';
4
+ export interface BaseAlertDialogProps {
5
+ /** Message variant. */
6
+ kind?: Kind;
7
+ /** Dialog title. */
8
+ title?: string;
9
+ /**
10
+ * Children
11
+ */
12
+ children?: JSXElement;
13
+ }
14
+ export interface AlertDialogProps extends HasClassName, BaseAlertDialogProps, Pick<DialogProps, 'size'> {
15
+ /** Props forwarded to the confirm button */
16
+ confirmProps: any;
17
+ /**
18
+ * Props forwarded to the cancel button.
19
+ * Will not render a cancel button if undefined.
20
+ */
21
+ cancelProps?: any;
22
+ /** Props forwarded to the dialog wrapper element. */
23
+ dialogProps?: any;
24
+ /** Ref forwarded to the dialog root element. */
25
+ ref?: CommonRef;
26
+ /** Ref forwarded to the cancel button element. */
27
+ cancelButtonRef?: CommonRef;
28
+ /** Ref forwarded to the confirm button element. */
29
+ confirmationButtonRef?: CommonRef;
30
+ /** Element used to wrap the description (children). */
31
+ DescriptionElement: any;
32
+ /** Dialog component injected by the framework wrapper. */
33
+ Dialog: any;
34
+ /** Toolbar component injected by the framework wrapper. */
35
+ Toolbar: any;
36
+ /** Button component injected by the framework wrapper. */
37
+ Button: any;
38
+ /** Icon component injected by the framework wrapper. */
39
+ Icon: any;
40
+ /** Unique identifier for the dialog (used for aria-labelledby / aria-describedby). */
41
+ id: string;
42
+ /**
43
+ * Pre-computed focus element.
44
+ * Allows framework wrappers to pass the actual DOM element directly when ref-on-component
45
+ * does not yield a DOM node (e.g. Vue). Falls back to cancelButtonRef / confirmationButtonRef.
46
+ */
47
+ focusElement?: any;
48
+ }
49
+ /**
50
+ * Associative map from message kind to color and icon.
51
+ */
52
+ export declare const CONFIG: {
53
+ error: {
54
+ color: "red";
55
+ icon: string;
56
+ };
57
+ info: {
58
+ color: "blue";
59
+ icon: string;
60
+ };
61
+ success: {
62
+ color: "green";
63
+ icon: string;
64
+ };
65
+ warning: {
66
+ color: "yellow";
67
+ icon: string;
68
+ };
69
+ };
70
+ /**
71
+ * Component display name.
72
+ */
73
+ export declare const COMPONENT_NAME = "AlertDialog";
74
+ /**
75
+ * Component default class name and class prefix.
76
+ */
77
+ export declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
78
+ /**
79
+ * Component default props.
80
+ */
81
+ export declare const DEFAULT_PROPS: Partial<AlertDialogProps>;
82
+ /**
83
+ * AlertDialog component.
84
+ *
85
+ * An alert dialog is a modal dialog that interrupts the user's workflow to
86
+ * communicate an important message and acquire a response.
87
+ *
88
+ * It should not have a complex content.
89
+ * Children of this component should only be strings, paragraphs or links.
90
+ */
91
+ export declare const AlertDialog: (props: AlertDialogProps) => import("react").JSX.Element;
@@ -0,0 +1,52 @@
1
+ import type { SetupStoriesOptions } from '@lumx/core/stories/types';
2
+ import { type AvatarSize } from '.';
3
+ export declare function setup({ component: Avatar, decorators: { withCombinations }, }: SetupStoriesOptions<{
4
+ decorators: 'withCombinations';
5
+ }>): {
6
+ meta: {
7
+ component: any;
8
+ argTypes: {
9
+ image: {
10
+ control: {
11
+ type: "select" | "inline-radio";
12
+ };
13
+ options: string[];
14
+ mapping: Record<string, string> | undefined;
15
+ };
16
+ size: {
17
+ control: {
18
+ type: "select" | "inline-radio";
19
+ };
20
+ options: AvatarSize[];
21
+ mapping: Record<string, AvatarSize> | undefined;
22
+ };
23
+ };
24
+ args: {
25
+ image: string;
26
+ alt: string;
27
+ };
28
+ };
29
+ Default: {};
30
+ AvatarButton: {
31
+ argTypes: {
32
+ onClick: {
33
+ action: boolean;
34
+ };
35
+ };
36
+ };
37
+ AvatarLink: {
38
+ args: {
39
+ href: string;
40
+ target: string;
41
+ linkAs: string;
42
+ };
43
+ };
44
+ AllSizes: {
45
+ argTypes: {
46
+ size: {
47
+ control: boolean;
48
+ };
49
+ };
50
+ decorators: ((story: any, context: any) => any)[];
51
+ };
52
+ };
@@ -0,0 +1,50 @@
1
+ import type { HasClassName, JSXElement, LumxClassName, HasTheme, CommonRef } from '../../types';
2
+ import { Size } from '../../constants';
3
+ /**
4
+ * Avatar sizes.
5
+ */
6
+ export type AvatarSize = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'>;
7
+ /**
8
+ * Defines the props of the component.
9
+ */
10
+ export interface AvatarProps extends HasTheme, HasClassName {
11
+ /** Action toolbar content. */
12
+ actions?: JSXElement;
13
+ /** Badge. */
14
+ badge?: JSXElement;
15
+ /** Image URL. */
16
+ image: JSXElement;
17
+ /** Size variant. */
18
+ size?: AvatarSize;
19
+ /** Props to pass to the thumbnail (minus those already set by the Avatar props). */
20
+ ref?: CommonRef;
21
+ }
22
+ /**
23
+ * Component display name.
24
+ */
25
+ export declare const COMPONENT_NAME = "Avatar";
26
+ /**
27
+ * Component default class name and class prefix.
28
+ */
29
+ export declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
30
+ export declare const block: {
31
+ (additionalClasses: import("../../utils/classNames/bem/types").AdditionalClasses): string;
32
+ (modifiers?: import("../../utils/classNames/bem/types").Modifier, additionalClasses?: import("../../utils/classNames/bem/types").AdditionalClasses): string;
33
+ }, element: {
34
+ (elem: string, additionalClasses: import("../../utils/classNames/bem/types").AdditionalClasses): string;
35
+ (elem: string, modifiers?: import("../../utils/classNames/bem/types").Modifier, additionalClasses?: import("../../utils/classNames/bem/types").AdditionalClasses): string;
36
+ };
37
+ /**
38
+ * Component default props.
39
+ */
40
+ export declare const DEFAULT_PROPS: {
41
+ readonly size: "m";
42
+ };
43
+ /**
44
+ * Avatar component.
45
+ *
46
+ * @param props Component props.
47
+ * @param ref Component ref.
48
+ * @return React element.
49
+ */
50
+ export declare const Avatar: (props: AvatarProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { CommonRef, HasClassName, JSXElement, LumxClassName } from '../../types';
2
+ export interface BadgeWrapperProps extends HasClassName {
3
+ /** Badge element to display */
4
+ badge?: JSXElement;
5
+ /** Content to wrap with badge */
6
+ children?: JSXElement;
7
+ /** Ref forwarding */
8
+ ref?: CommonRef;
9
+ }
10
+ export declare const COMPONENT_NAME = "BadgeWrapper";
11
+ export declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
12
+ export declare const DEFAULT_PROPS: Partial<BadgeWrapperProps>;
13
+ export declare const BadgeWrapper: (props: BadgeWrapperProps) => import("react").JSX.Element;
@@ -0,0 +1,29 @@
1
+ import type { SetupStoriesOptions } from '@lumx/core/stories/types';
2
+ /**
3
+ * Setup BadgeWrapper stories for a specific framework (React or Vue).
4
+ * Framework-specific components (Badge, Icon, Button) are injected via `components`.
5
+ */
6
+ export declare function setup({ component: BadgeWrapper, components: { Badge, Icon, Button }, }: SetupStoriesOptions<{
7
+ components: {
8
+ Badge: any;
9
+ Icon: any;
10
+ Button: any;
11
+ };
12
+ }>): {
13
+ meta: {
14
+ component: any;
15
+ render: (args: any) => import("react").JSX.Element;
16
+ argTypes: {
17
+ children: {
18
+ control: boolean;
19
+ };
20
+ };
21
+ args: Partial<import("./BadgeWrapper").BadgeWrapperProps>;
22
+ };
23
+ WithIcon: {
24
+ render: (args: any) => import("react").JSX.Element;
25
+ };
26
+ WithButton: {
27
+ render: (args: any) => import("react").JSX.Element;
28
+ };
29
+ };
@@ -0,0 +1,46 @@
1
+ import type { SetupStoriesOptions } from '@lumx/core/stories/types';
2
+ /**
3
+ * Setup Badge stories for a specific framework (React or Vue).
4
+ * Framework-specific components (Icon, Thumbnail, etc.) are injected via `components`.
5
+ */
6
+ export declare function setup({ component: Badge, components: { Icon, Thumbnail, FlexBox }, decorators: { withCombinations }, }: SetupStoriesOptions<{
7
+ decorators: 'withCombinations';
8
+ components: {
9
+ Icon: any;
10
+ Thumbnail: any;
11
+ FlexBox: any;
12
+ };
13
+ }>): {
14
+ meta: {
15
+ component: any;
16
+ render: (args: any) => import("react").JSX.Element;
17
+ argTypes: {
18
+ color: {
19
+ control: {
20
+ type: "select" | "inline-radio";
21
+ };
22
+ options: ("light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined)[];
23
+ mapping: Record<string, "light" | "dark" | "primary" | "secondary" | "blue" | "green" | "yellow" | "red" | "grey" | undefined> | undefined;
24
+ };
25
+ };
26
+ args: Partial<import(".").BadgeProps>;
27
+ };
28
+ WithText: {
29
+ render: (args: any) => import("react").JSX.Element;
30
+ };
31
+ WithIcon: {
32
+ render: (args: any) => import("react").JSX.Element;
33
+ };
34
+ WithThumbnail: {
35
+ render: (args: any) => import("react").JSX.Element;
36
+ };
37
+ AllColors: {
38
+ render: (args: any) => import("react").JSX.Element;
39
+ argTypes: {
40
+ color: {
41
+ control: boolean;
42
+ };
43
+ };
44
+ decorators: ((story: any, context: any) => any)[];
45
+ };
46
+ };
@@ -0,0 +1,37 @@
1
+ import { ColorPalette } from '../../constants';
2
+ import type { CommonRef, HasClassName, JSXElement, LumxClassName } from '../../types';
3
+ /**
4
+ * Defines the props of the component.
5
+ */
6
+ export interface BadgeProps extends HasClassName {
7
+ /** Badge content. */
8
+ children?: JSXElement;
9
+ /** Color variant. */
10
+ color?: ColorPalette;
11
+ /** reference to the root element */
12
+ ref?: CommonRef;
13
+ }
14
+ /**
15
+ * Component display name.
16
+ */
17
+ export declare const COMPONENT_NAME = "Badge";
18
+ /**
19
+ * Component default class name and class prefix.
20
+ */
21
+ export declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
22
+ /**
23
+ * Component default props.
24
+ */
25
+ export declare const DEFAULT_PROPS: Partial<BadgeProps>;
26
+ /**
27
+ * Badge component.
28
+ *
29
+ * @param props Component props.
30
+ * @return JSX element.
31
+ */
32
+ export declare const Badge: {
33
+ (props: BadgeProps): import("react").JSX.Element;
34
+ displayName: string;
35
+ className: "lumx-badge";
36
+ defaultProps: Partial<BadgeProps>;
37
+ };
@@ -0,0 +1,36 @@
1
+ import type { LumxClassName, HasClassName, JSXElement, CommonRef } from '../../types';
2
+ /**
3
+ * Defines the props of the component
4
+ */
5
+ export interface ButtonGroupProps extends HasClassName {
6
+ /**
7
+ * Children
8
+ */
9
+ children?: JSXElement;
10
+ /** reference to the root element */
11
+ ref?: CommonRef;
12
+ }
13
+ /**
14
+ * Component display name.
15
+ */
16
+ export declare const COMPONENT_NAME = "ButtonGroup";
17
+ /**
18
+ * Component default class name and class prefix.
19
+ */
20
+ export declare const CLASSNAME: LumxClassName<typeof COMPONENT_NAME>;
21
+ /**
22
+ * Component default props.
23
+ */
24
+ export declare const DEFAULT_PROPS: Partial<ButtonGroupProps>;
25
+ /**
26
+ * ButtonGroup component.
27
+ *
28
+ * @param props Component props.
29
+ * @return JSX element.
30
+ */
31
+ export declare const ButtonGroup: {
32
+ (props: ButtonGroupProps): import("react").JSX.Element;
33
+ displayName: string;
34
+ className: "lumx-button-group";
35
+ defaultProps: Partial<ButtonGroupProps>;
36
+ };
@@ -0,0 +1,33 @@
1
+ import type { SetupStoriesOptions } from '@lumx/core/stories/types';
2
+ /**
3
+ * Setup ButtonGroup stories for a specific framework (React or Vue).
4
+ * Framework-specific components (Button, IconButton) are injected via `components`.
5
+ */
6
+ export declare function setup({ component: ButtonGroup, components: { Button, IconButton }, decorators: { withCombinations }, }: SetupStoriesOptions<{
7
+ decorators: 'withCombinations';
8
+ components: {
9
+ Button: any;
10
+ IconButton: any;
11
+ };
12
+ }>): {
13
+ meta: {
14
+ component: any;
15
+ render: (args: any) => import("react").JSX.Element;
16
+ argTypes: {
17
+ children: {
18
+ control: boolean;
19
+ };
20
+ };
21
+ args: any;
22
+ };
23
+ Variants: {
24
+ render: ({ size, emphasis, theme }: any) => import("react").JSX.Element;
25
+ decorators: ((story: any, context: any) => any)[];
26
+ };
27
+ OneButton: {
28
+ render: (args: any) => import("react").JSX.Element;
29
+ };
30
+ ManyButtons: {
31
+ render: (args: any) => import("react").JSX.Element;
32
+ };
33
+ };