globalfy-design-system 0.48.0 → 0.50.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/dist/components/atoms/Checkbox/Checkbox.d.ts +2 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.stories.d.ts +2 -4
- package/dist/components/atoms/SegmentedControl/SegmentedControl.types.d.ts +2 -1
- package/dist/globalfy-design-system.js +718 -735
- package/dist/globalfy-design-system.umd.cjs +6 -6
- package/package.json +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -9
- package/dist/hooks/useEventListener.d.ts +0 -1
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { CheckboxProps } from "@nextui-org/react";
|
|
2
|
+
export declare const Checkbox: (props: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SegmentedControlProps } from "./SegmentedControl.types";
|
|
2
|
-
export declare const SegmentedControl: ({ tabs,
|
|
2
|
+
export declare const SegmentedControl: ({ tabs, tabClass, size, onSelectionChange, ...props }: SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react";
|
|
2
1
|
declare const meta: {
|
|
3
2
|
title: string;
|
|
4
|
-
component: ({ tabs,
|
|
3
|
+
component: ({ tabs, tabClass, size, onSelectionChange, ...props }: import("./SegmentedControl.types").SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
tags: string[];
|
|
6
5
|
};
|
|
7
6
|
export default meta;
|
|
8
|
-
|
|
9
|
-
export declare const Playground: Story;
|
|
7
|
+
export declare const Playground: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,11 +4,12 @@ export type SegmentedControlProps = {
|
|
|
4
4
|
"data-testid"?: string;
|
|
5
5
|
size?: "sm" | "md" | "lg";
|
|
6
6
|
tabs: {
|
|
7
|
-
icon?:
|
|
7
|
+
icon?: ReactNode;
|
|
8
8
|
key: string;
|
|
9
9
|
title: string;
|
|
10
10
|
component?: ReactNode;
|
|
11
11
|
}[];
|
|
12
|
+
tabClass?: string;
|
|
12
13
|
onSelectionChange?: (key: Key) => void;
|
|
13
14
|
selectedKey?: string | number | null;
|
|
14
15
|
};
|