@baton8/general-components 3.1.0-alpha.0 → 3.1.0-alpha.2
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/atoms/badge/badge.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/modules/card/card.d.ts +2 -0
- package/dist/components/modules/card/cardButton.d.ts +6 -0
- package/dist/components/modules/card/cardButtonListColumn.d.ts +15 -0
- package/dist/components/modules/card/cardGrip.d.ts +13 -0
- package/dist/components/modules/card/index.d.ts +2 -0
- package/dist/components/modules/popover/index.d.ts +1 -0
- package/dist/components/modules/popover/popover.d.ts +38 -0
- package/dist/contexts/dialog/hook.d.ts +4 -1
- package/dist/index.js +301 -238
- package/dist/index.js.map +1 -1
- package/dist/stories/modules/card/card.stories.d.ts +1 -0
- package/dist/stories/modules/popover/popover.stories.d.ts +33 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare const Basic: Story;
|
|
|
7
7
|
export declare const WithMoreInfo: Story;
|
|
8
8
|
export declare const WithButton: Story;
|
|
9
9
|
export declare const WithSecondaryButton: Story;
|
|
10
|
+
export declare const WithSecondaryButtonUnstretched: Story;
|
|
10
11
|
export declare const WithBothButtons: Story;
|
|
11
12
|
export declare const WithCheckbox: Story;
|
|
12
13
|
export declare const WithRadio: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Meta as RawMeta } from "@storybook/react";
|
|
3
|
+
import { Popover } from "../../../components";
|
|
4
|
+
type Meta = RawMeta<typeof Popover>;
|
|
5
|
+
declare const meta: Meta;
|
|
6
|
+
export declare const TypeClick: import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
7
|
+
trigger?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
8
|
+
triggerType?: "click" | "focus" | "hover" | undefined;
|
|
9
|
+
triggerRest?: number | null | undefined;
|
|
10
|
+
isInline?: boolean | undefined;
|
|
11
|
+
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
children?: import("react").ReactNode;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const TypeFocus: import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
16
|
+
trigger?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
17
|
+
triggerType?: "click" | "focus" | "hover" | undefined;
|
|
18
|
+
triggerRest?: number | null | undefined;
|
|
19
|
+
isInline?: boolean | undefined;
|
|
20
|
+
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
children?: import("react").ReactNode;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const TypeHover: import("@storybook/types").StoryAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
25
|
+
trigger?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
26
|
+
triggerType?: "click" | "focus" | "hover" | undefined;
|
|
27
|
+
triggerRest?: number | null | undefined;
|
|
28
|
+
isInline?: boolean | undefined;
|
|
29
|
+
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
30
|
+
className?: string | undefined;
|
|
31
|
+
children?: import("react").ReactNode;
|
|
32
|
+
}>;
|
|
33
|
+
export default meta;
|