beesoft-components 0.5.2 → 0.5.4
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/index.es.js +2803 -2695
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.gz +0 -0
- package/package.json +1 -1
- package/types/index.d.ts +25 -0
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ReactElement } from 'react';
|
|
|
8
8
|
import { ReactNode } from 'react';
|
|
9
9
|
import { ReactPortal } from 'react';
|
|
10
10
|
import { RefAttributes } from 'react';
|
|
11
|
+
import { SyntheticEvent } from 'react';
|
|
11
12
|
|
|
12
13
|
export declare function applyBeeSoftTheme(theme: Record<string, unknown>): void;
|
|
13
14
|
|
|
@@ -72,6 +73,30 @@ declare enum CalendarSelectionMode {
|
|
|
72
73
|
Range = 1
|
|
73
74
|
}
|
|
74
75
|
|
|
76
|
+
export declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<CheckboxRef>>;
|
|
77
|
+
|
|
78
|
+
export declare interface CheckboxChangeEvent {
|
|
79
|
+
value: unknown;
|
|
80
|
+
checked: boolean;
|
|
81
|
+
partial: boolean;
|
|
82
|
+
originalEvent?: SyntheticEvent<HTMLInputElement, Event>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export declare enum CheckboxLabelLocation {
|
|
86
|
+
Right = 0,
|
|
87
|
+
Left = 1
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare interface CheckboxProps extends FormInputControl<unknown, CheckboxChangeEvent> {
|
|
91
|
+
checked?: boolean;
|
|
92
|
+
partial?: boolean;
|
|
93
|
+
labelLocation?: CheckboxLabelLocation;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export declare interface CheckboxRef {
|
|
97
|
+
setPartiallyChecked: (partiallyChecked: boolean) => void;
|
|
98
|
+
}
|
|
99
|
+
|
|
75
100
|
export declare const ContentEditableInput: React_2.ForwardRefExoticComponent<ContentEditableInputProps & React_2.RefAttributes<ContentEditableInputRef>>;
|
|
76
101
|
|
|
77
102
|
declare interface ContentEditableInputProps extends FormInputControl<string> {
|