globalfy-design-system 1.28.0 → 1.29.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/GlobCheckbox/GlobCheckbox.d.ts +10 -0
- package/dist/components/atoms/GlobCheckbox/GlobCheckbox.stories.d.ts +15 -0
- package/dist/components/atoms/GlobCheckbox/GlobCheckbox.test.d.ts +1 -0
- package/dist/components/atoms/GlobCheckbox/index.d.ts +1 -0
- package/dist/components/molecules/DatePickerRangeInput/DatePickerRangeInput.d.ts +4 -4
- package/dist/components/molecules/DatePickerRangeInput/DatePickerRangeInput.stories.d.ts +1 -1
- package/dist/globalfy-design-system.js +130 -132
- package/dist/globalfy-design-system.umd.cjs +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChangeEventHandler } from 'react';
|
|
2
|
+
|
|
3
|
+
type CheckBoxProps = {
|
|
4
|
+
value?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
8
|
+
};
|
|
9
|
+
export declare const GlobCheckBox: ({ value, checked, onChange, disabled }: CheckBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ value, checked, onChange, disabled }: {
|
|
6
|
+
value?: string | undefined;
|
|
7
|
+
checked?: boolean | undefined;
|
|
8
|
+
disabled?: boolean | undefined;
|
|
9
|
+
onChange?: import('react').ChangeEventHandler<HTMLInputElement> | undefined;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
tags: string[];
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GlobCheckbox';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DateRange } from 'react-day-picker';
|
|
2
2
|
|
|
3
3
|
export type DatePickerRangeInputProps = {
|
|
4
|
-
label
|
|
5
|
-
onSelect
|
|
6
|
-
initialDate?: DateRange;
|
|
4
|
+
label: string;
|
|
5
|
+
onSelect: (date: DateRange | undefined) => void;
|
|
7
6
|
disabled?: boolean;
|
|
7
|
+
selected: DateRange | undefined;
|
|
8
8
|
};
|
|
9
|
-
export declare const DatePickerRangeInput: ({ label,
|
|
9
|
+
export declare const DatePickerRangeInput: ({ label, onSelect, disabled, selected }: DatePickerRangeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ label,
|
|
5
|
+
component: ({ label, onSelect, disabled, selected }: import('./DatePickerRangeInput').DatePickerRangeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|