@blockbite/ui 2.0.20 → 2.0.22
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/AutocompleteDropdown.d.ts +2 -3
- package/dist/Badge.d.ts +1 -2
- package/dist/BitePreview.d.ts +1 -2
- package/dist/Button.d.ts +1 -2
- package/dist/ButtonToggle.d.ts +8 -5
- package/dist/Chapter.d.ts +1 -2
- package/dist/ChapterDivider.d.ts +1 -2
- package/dist/Checkbox.d.ts +1 -2
- package/dist/DataItemList.d.ts +1 -2
- package/dist/DisappearingMessage.d.ts +1 -2
- package/dist/DropdownPicker.d.ts +4 -3
- package/dist/EmptyState.d.ts +1 -2
- package/dist/FloatingPanel.d.ts +1 -2
- package/dist/FocalPointControl.d.ts +1 -2
- package/dist/Icon.d.ts +2 -3
- package/dist/LinkPicker.d.ts +1 -2
- package/dist/MediaPicker.d.ts +1 -2
- package/dist/MetricsControl.d.ts +2 -3
- package/dist/Modal.d.ts +1 -6
- package/dist/NewWindowPortal.d.ts +1 -2
- package/dist/Notice.d.ts +1 -2
- package/dist/PasswordInput.d.ts +1 -2
- package/dist/Popover.d.ts +0 -1
- package/dist/ProjectsNavigation.d.ts +1 -2
- package/dist/RangeSlider.d.ts +1 -2
- package/dist/ResponsiveImage.d.ts +1 -2
- package/dist/ResponsiveVideo.d.ts +1 -2
- package/dist/ScrollList.d.ts +0 -1
- package/dist/SelectControlWrapper.d.ts +2 -3
- package/dist/SingleBlockTypeAppender.d.ts +1 -2
- package/dist/SlideIn.d.ts +1 -2
- package/dist/Spinner.d.ts +1 -2
- package/dist/Tabs.d.ts +6 -7
- package/dist/Tag.d.ts +1 -2
- package/dist/TextControl.d.ts +1 -18
- package/dist/TextControlLabel.d.ts +1 -2
- package/dist/ToggleGroup.d.ts +1 -2
- package/dist/ToggleSwitch.d.ts +1 -2
- package/dist/Wrap.d.ts +1 -2
- package/dist/global.d.ts +0 -0
- package/dist/index.js +1345 -3366
- package/dist/index.js.map +1 -1
- package/dist/react-shim.d.ts +19 -0
- package/dist/ui.css +1 -1
- package/package.json +10 -7
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
interface OptionPanelDropdownProps {
|
|
3
|
-
|
|
2
|
+
value: string;
|
|
4
3
|
options: {
|
|
5
4
|
label: string;
|
|
6
5
|
value: string;
|
|
@@ -8,5 +7,5 @@ interface OptionPanelDropdownProps {
|
|
|
8
7
|
onPressedChange: (value: string) => void;
|
|
9
8
|
swatch?: boolean;
|
|
10
9
|
}
|
|
11
|
-
export declare function AutocompleteDropdown({
|
|
10
|
+
export declare function AutocompleteDropdown({ value, options, swatch, onPressedChange, }: OptionPanelDropdownProps): JSX.Element;
|
|
12
11
|
export {};
|
package/dist/Badge.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type BadgeProps = {
|
|
3
2
|
children?: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
label?: string;
|
|
6
5
|
onClick?: () => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const Badge: ({ children, className, label, onClick }: BadgeProps) =>
|
|
7
|
+
export declare const Badge: ({ children, className, label, onClick }: BadgeProps) => JSX.Element;
|
|
9
8
|
export {};
|
package/dist/BitePreview.d.ts
CHANGED
package/dist/Button.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ButtonProps = {
|
|
3
2
|
children?: React.ReactNode;
|
|
4
3
|
asChild?: boolean;
|
|
@@ -11,5 +10,5 @@ type ButtonProps = {
|
|
|
11
10
|
icon?: any;
|
|
12
11
|
disabled?: boolean;
|
|
13
12
|
};
|
|
14
|
-
export declare const Button: ({ children, size, label, className, onClick, variant, display, icon, disabled, }: ButtonProps) =>
|
|
13
|
+
export declare const Button: ({ children, size, label, className, onClick, variant, display, icon, disabled, }: ButtonProps) => JSX.Element;
|
|
15
14
|
export {};
|
package/dist/ButtonToggle.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ButtonToggleProps = {
|
|
3
2
|
children?: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
value: string;
|
|
6
|
-
|
|
5
|
+
pressed: boolean;
|
|
7
6
|
variant?: 'primary' | 'secondary';
|
|
8
7
|
size?: 'small' | 'default' | 'compact';
|
|
9
8
|
icon?: any;
|
|
@@ -21,7 +20,7 @@ type ButtonToggleGroupOptionProp = {
|
|
|
21
20
|
type ButtonToggleGroupProps = {
|
|
22
21
|
className?: string;
|
|
23
22
|
options: ButtonToggleGroupOptionProp[];
|
|
24
|
-
|
|
23
|
+
value: string;
|
|
25
24
|
toggle?: boolean;
|
|
26
25
|
size?: 'small' | 'default' | 'compact';
|
|
27
26
|
tabs?: boolean;
|
|
@@ -31,6 +30,10 @@ type ButtonToggleGroupProps = {
|
|
|
31
30
|
icon?: any;
|
|
32
31
|
onPressedChange?: (value: string) => void;
|
|
33
32
|
};
|
|
34
|
-
export declare const ButtonToggle: React.FC<ButtonToggleProps
|
|
35
|
-
|
|
33
|
+
export declare const ButtonToggle: React.FC<Omit<ButtonToggleProps, 'defaultPressed'> & {
|
|
34
|
+
pressed: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const ButtonToggleGroup: React.FC<Omit<ButtonToggleGroupProps, 'defaultPressed'> & {
|
|
37
|
+
value: string;
|
|
38
|
+
}>;
|
|
36
39
|
export {};
|
package/dist/Chapter.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ChapterProps = {
|
|
3
2
|
children?: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
title?: string;
|
|
6
5
|
};
|
|
7
|
-
export declare const Chapter: ({ children, title }: ChapterProps) =>
|
|
6
|
+
export declare const Chapter: ({ children, title }: ChapterProps) => JSX.Element;
|
|
8
7
|
export {};
|
package/dist/ChapterDivider.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ChapterDividerProps = {
|
|
3
2
|
title?: string;
|
|
4
3
|
className?: string;
|
|
@@ -6,5 +5,5 @@ type ChapterDividerProps = {
|
|
|
6
5
|
badge?: string;
|
|
7
6
|
[key: string]: any;
|
|
8
7
|
};
|
|
9
|
-
export declare const ChapterDivider: ({ title, className, help, badge, ...props }: ChapterDividerProps) =>
|
|
8
|
+
export declare const ChapterDivider: ({ title, className, help, badge, ...props }: ChapterDividerProps) => JSX.Element;
|
|
10
9
|
export {};
|
package/dist/Checkbox.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type CheckboxProps = {
|
|
3
2
|
id: string;
|
|
4
3
|
label?: string;
|
|
@@ -6,5 +5,5 @@ type CheckboxProps = {
|
|
|
6
5
|
defaultChecked?: boolean;
|
|
7
6
|
onCheckedChange: (checked: boolean, id: string) => void;
|
|
8
7
|
};
|
|
9
|
-
export declare const Checkbox: ({ label, help, defaultChecked }: CheckboxProps) =>
|
|
8
|
+
export declare const Checkbox: ({ label, help, defaultChecked }: CheckboxProps) => JSX.Element;
|
|
10
9
|
export {};
|
package/dist/DataItemList.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { DataItem } from '@blockbite/types';
|
|
3
2
|
type DataListProps = {
|
|
4
3
|
data: DataItem[];
|
|
@@ -14,5 +13,5 @@ type DataListProps = {
|
|
|
14
13
|
footerSlot?: React.ReactNode;
|
|
15
14
|
footerSlotClassName?: string;
|
|
16
15
|
};
|
|
17
|
-
export declare const DataItemList: ({ data, active, setActive, onCreate, onDelete, onUpdate, onSwitch, renderItemActions, addons, className, footerSlot, footerSlotClassName, }: DataListProps) =>
|
|
16
|
+
export declare const DataItemList: ({ data, active, setActive, onCreate, onDelete, onUpdate, onSwitch, renderItemActions, addons, className, footerSlot, footerSlotClassName, }: DataListProps) => JSX.Element;
|
|
18
17
|
export default DataItemList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type DisappearingMessageProps = {
|
|
3
2
|
message?: string;
|
|
4
3
|
className?: string;
|
|
@@ -6,5 +5,5 @@ type DisappearingMessageProps = {
|
|
|
6
5
|
children?: React.ReactNode;
|
|
7
6
|
show: boolean;
|
|
8
7
|
};
|
|
9
|
-
export declare const DisappearingMessage: ({ duration, className, children, show, message, }: DisappearingMessageProps) =>
|
|
8
|
+
export declare const DisappearingMessage: ({ duration, className, children, show, message, }: DisappearingMessageProps) => JSX.Element;
|
|
10
9
|
export {};
|
package/dist/DropdownPicker.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type DropdownPickerProps = {
|
|
3
2
|
label?: string;
|
|
4
3
|
className?: string;
|
|
5
|
-
|
|
4
|
+
value: string;
|
|
6
5
|
defaultIcon?: any;
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
7
|
options: {
|
|
8
8
|
icon?: React.ReactElement;
|
|
9
9
|
label: string;
|
|
@@ -11,6 +11,7 @@ type DropdownPickerProps = {
|
|
|
11
11
|
value: string;
|
|
12
12
|
}[];
|
|
13
13
|
onPressedChange: (value: string | null) => void;
|
|
14
|
+
[x: string]: any;
|
|
14
15
|
};
|
|
15
|
-
export declare const DropdownPicker: ({ label, className,
|
|
16
|
+
export declare const DropdownPicker: ({ label, className, value, defaultIcon, size, onPressedChange, options, ...rest }: DropdownPickerProps) => JSX.Element;
|
|
16
17
|
export {};
|
package/dist/EmptyState.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type Props = {
|
|
3
2
|
icon?: JSX.Element;
|
|
4
3
|
title: string;
|
|
@@ -6,5 +5,5 @@ type Props = {
|
|
|
6
5
|
children?: React.ReactNode;
|
|
7
6
|
[key: string]: any;
|
|
8
7
|
};
|
|
9
|
-
export declare function EmptyState({ icon, title, description, children, ...rest }: Props):
|
|
8
|
+
export declare function EmptyState({ icon, title, description, children, ...rest }: Props): JSX.Element;
|
|
10
9
|
export {};
|
package/dist/FloatingPanel.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type DraggablePanelProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
};
|
|
5
4
|
export declare function FloatingPanel({ children, }: DraggablePanelProps & {
|
|
6
5
|
children: React.ReactNode;
|
|
7
|
-
}):
|
|
6
|
+
}): JSX.Element;
|
|
8
7
|
export {};
|
package/dist/Icon.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type IconProps = {
|
|
3
2
|
icon: React.FC<React.SVGProps<SVGSVGElement>> | null;
|
|
4
|
-
|
|
3
|
+
[x: string]: any;
|
|
5
4
|
};
|
|
6
|
-
export declare const Icon: ({ icon: IconComponent,
|
|
5
|
+
export declare const Icon: ({ icon: IconComponent, ...rest }: IconProps) => JSX.Element;
|
|
7
6
|
export {};
|
package/dist/LinkPicker.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function LinkPicker(props: any): React.JSX.Element;
|
|
1
|
+
export declare function LinkPicker(props: any): JSX.Element;
|
package/dist/MediaPicker.d.ts
CHANGED
package/dist/MetricsControl.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type MetricsControlProps = {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
unit: string;
|
|
3
|
+
value: string;
|
|
5
4
|
units?: string[] | 'native' | 'percent' | 'grid' | 'arbitrary' | 'fluid' | 'screen' | 'all';
|
|
6
5
|
inputClassName?: string;
|
|
7
6
|
onValueChange: (value: string) => void;
|
package/dist/Modal.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
type ModalContextType = {
|
|
3
|
-
closeModal: () => void;
|
|
4
|
-
openModal: () => void;
|
|
5
|
-
};
|
|
6
|
-
export declare const useModalContext: () => ModalContextType;
|
|
1
|
+
export declare const useModalContext: () => any;
|
|
7
2
|
type ModalProps = {
|
|
8
3
|
children: React.ReactElement | React.ReactElement[];
|
|
9
4
|
defaultOpen: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type Props = {
|
|
3
2
|
windowInstance: Window;
|
|
4
3
|
onClose: () => void;
|
|
5
4
|
children: React.ReactNode;
|
|
6
5
|
};
|
|
7
|
-
export declare const NewWindowPortal: ({ windowInstance, onClose, children, }: Props) =>
|
|
6
|
+
export declare const NewWindowPortal: ({ windowInstance, onClose, children, }: Props) => ReactPortal;
|
|
8
7
|
export {};
|
package/dist/Notice.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type NoticeProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
status?: 'success' | 'error' | 'warning' | 'info';
|
|
6
5
|
};
|
|
7
|
-
export declare const Notice: ({ children, status, className, }: NoticeProps) =>
|
|
6
|
+
export declare const Notice: ({ children, status, className, }: NoticeProps) => JSX.Element;
|
|
8
7
|
export {};
|
package/dist/PasswordInput.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type PasswordInputProps = {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
5
4
|
onChange: (value: string) => void;
|
|
6
5
|
[key: string]: any;
|
|
7
6
|
};
|
|
8
|
-
export declare const PasswordInput: ({ label, value, onChange, ...rest }: PasswordInputProps) =>
|
|
7
|
+
export declare const PasswordInput: ({ label, value, onChange, ...rest }: PasswordInputProps) => JSX.Element;
|
|
9
8
|
export {};
|
package/dist/Popover.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
export type ProjectItem = {
|
|
3
2
|
id: string | number;
|
|
4
3
|
name: string;
|
|
@@ -10,5 +9,5 @@ type Props = {
|
|
|
10
9
|
onSelect: (id: string | number) => void;
|
|
11
10
|
className?: string;
|
|
12
11
|
};
|
|
13
|
-
export declare const ProjectsNavigation: ({ items, activeId, onSelect, className, }: Props) =>
|
|
12
|
+
export declare const ProjectsNavigation: ({ items, activeId, onSelect, className, }: Props) => JSX.Element;
|
|
14
13
|
export {};
|
package/dist/RangeSlider.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function ResponsiveImage(props: any): React.JSX.Element;
|
|
1
|
+
export declare function ResponsiveImage(props: any): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function ResponsiveVideo(props: any): React.JSX.Element;
|
|
1
|
+
export declare function ResponsiveVideo(props: any): JSX.Element;
|
package/dist/ScrollList.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type SelectControlWrapperProps = {
|
|
3
2
|
className?: string;
|
|
4
|
-
|
|
3
|
+
value: string;
|
|
5
4
|
children?: React.ReactNode;
|
|
6
5
|
options: any[];
|
|
7
6
|
label?: string;
|
|
8
7
|
emptyLabel?: string;
|
|
9
8
|
onChange?: (value: string) => void;
|
|
10
9
|
};
|
|
11
|
-
export declare const SelectControlWrapper: ({ onChange, className,
|
|
10
|
+
export declare const SelectControlWrapper: ({ onChange, className, value, options, label, emptyLabel, }: SelectControlWrapperProps) => JSX.Element;
|
|
12
11
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
interface SingleBlockTypeAppenderProps {
|
|
3
2
|
buttonText?: string;
|
|
4
3
|
}
|
|
5
|
-
export declare const SingleBlockTypeAppender: ({ buttonText, }: SingleBlockTypeAppenderProps) =>
|
|
4
|
+
export declare const SingleBlockTypeAppender: ({ buttonText, }: SingleBlockTypeAppenderProps) => JSX.Element;
|
|
6
5
|
export {};
|
package/dist/SlideIn.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type SlideInProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
watch?: any;
|
|
6
5
|
};
|
|
7
|
-
export declare const SlideIn: ({ children, watch, className }: SlideInProps) =>
|
|
6
|
+
export declare const SlideIn: ({ children, watch, className }: SlideInProps) => JSX.Element;
|
|
8
7
|
export {};
|
package/dist/Spinner.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type SpinnerProps = {
|
|
3
2
|
label?: string;
|
|
4
3
|
className?: string;
|
|
5
4
|
defaultValue: boolean;
|
|
6
5
|
};
|
|
7
|
-
export declare const Spinner: ({ className, defaultValue }: SpinnerProps) =>
|
|
6
|
+
export declare const Spinner: ({ className, defaultValue }: SpinnerProps) => JSX.Element;
|
|
8
7
|
export {};
|
package/dist/Tabs.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type TabsProps = {
|
|
3
2
|
className?: string;
|
|
4
3
|
value?: string;
|
|
@@ -6,7 +5,7 @@ type TabsProps = {
|
|
|
6
5
|
onValueChange?: (value: string) => void;
|
|
7
6
|
children?: React.ReactNode;
|
|
8
7
|
};
|
|
9
|
-
export declare const TabsWrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) =>
|
|
8
|
+
export declare const TabsWrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) => JSX.Element;
|
|
10
9
|
type TabsListProps = {
|
|
11
10
|
options: {
|
|
12
11
|
name: string;
|
|
@@ -17,16 +16,16 @@ type TabsListProps = {
|
|
|
17
16
|
onValueChange?: (value: string) => void;
|
|
18
17
|
className?: string;
|
|
19
18
|
};
|
|
20
|
-
export declare const TabsList: ({ options, children, className, onValueChange, }: TabsListProps) =>
|
|
19
|
+
export declare const TabsList: ({ options, children, className, onValueChange, }: TabsListProps) => JSX.Element;
|
|
21
20
|
type TabsContentProps = {
|
|
22
21
|
value: string;
|
|
23
22
|
children: React.ReactNode;
|
|
24
23
|
className?: string;
|
|
25
24
|
};
|
|
26
|
-
export declare const TabsContent: ({ value, children, className, }: TabsContentProps) =>
|
|
25
|
+
export declare const TabsContent: ({ value, children, className, }: TabsContentProps) => JSX.Element;
|
|
27
26
|
export declare const Tabs: {
|
|
28
|
-
Wrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) =>
|
|
29
|
-
List: ({ options, children, className, onValueChange, }: TabsListProps) =>
|
|
30
|
-
Content: ({ value, children, className, }: TabsContentProps) =>
|
|
27
|
+
Wrapper: ({ children, defaultValue, value, onValueChange, ...rest }: TabsProps) => JSX.Element;
|
|
28
|
+
List: ({ options, children, className, onValueChange, }: TabsListProps) => JSX.Element;
|
|
29
|
+
Content: ({ value, children, className, }: TabsContentProps) => JSX.Element;
|
|
31
30
|
};
|
|
32
31
|
export {};
|
package/dist/Tag.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type TagProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
@@ -6,5 +5,5 @@ type TagProps = {
|
|
|
6
5
|
asButton?: boolean;
|
|
7
6
|
onClick?: () => void;
|
|
8
7
|
};
|
|
9
|
-
export declare const Tag: ({ children, onClick, color, className, }: TagProps) =>
|
|
8
|
+
export declare const Tag: ({ children, onClick, color, className, }: TagProps) => JSX.Element;
|
|
10
9
|
export {};
|
package/dist/TextControl.d.ts
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
type TextControlProps = {
|
|
3
|
-
className?: string;
|
|
4
|
-
inputClassName?: string;
|
|
5
|
-
defaultValue: any;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
onChange?: (value: string) => void;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
onBlur?: (value: any) => void;
|
|
12
|
-
type?: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
helper?: string;
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
};
|
|
17
|
-
export declare const TextControl: React.ForwardRefExoticComponent<Omit<TextControlProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
18
|
-
export {};
|
|
1
|
+
export declare const TextControl: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type TextControlLabelProps = {
|
|
3
2
|
className?: string;
|
|
4
3
|
defaultValue: any;
|
|
@@ -6,5 +5,5 @@ type TextControlLabelProps = {
|
|
|
6
5
|
onChange?: (value: string) => void;
|
|
7
6
|
onClick?: () => void;
|
|
8
7
|
};
|
|
9
|
-
export declare const TextControlLabel: ({ onChange, defaultValue, children, }: TextControlLabelProps) =>
|
|
8
|
+
export declare const TextControlLabel: ({ onChange, defaultValue, children, }: TextControlLabelProps) => JSX.Element;
|
|
10
9
|
export {};
|
package/dist/ToggleGroup.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ToggleProps = {
|
|
3
2
|
className?: string;
|
|
4
3
|
options: {
|
|
@@ -6,7 +5,7 @@ type ToggleProps = {
|
|
|
6
5
|
label: string;
|
|
7
6
|
icon?: React.ReactElement;
|
|
8
7
|
}[];
|
|
9
|
-
|
|
8
|
+
value: string;
|
|
10
9
|
label?: string | boolean;
|
|
11
10
|
variant?: 'primary' | 'secondary';
|
|
12
11
|
display?: 'icon' | 'label';
|
package/dist/ToggleSwitch.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type ToggleSwitchProps = {
|
|
3
2
|
label?: string;
|
|
4
3
|
className?: string;
|
|
5
4
|
onChange?: (checked: boolean) => void;
|
|
6
5
|
checked?: boolean;
|
|
7
6
|
};
|
|
8
|
-
export declare const ToggleSwitch: ({ label, className, onChange, checked, }: ToggleSwitchProps) =>
|
|
7
|
+
export declare const ToggleSwitch: ({ label, className, onChange, checked, }: ToggleSwitchProps) => JSX.Element;
|
|
9
8
|
export {};
|
package/dist/Wrap.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
type WrapProps = {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
className?: string;
|
|
5
4
|
important?: boolean;
|
|
6
5
|
onClick?: (e: React.MouseEvent) => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const Wrap: ({ children, className, important, onClick, }: WrapProps) =>
|
|
7
|
+
export declare const Wrap: ({ children, className, important, onClick, }: WrapProps) => JSX.Element;
|
|
9
8
|
export {};
|
package/dist/global.d.ts
ADDED
|
File without changes
|