@okam/stack-ui 1.18.2 → 1.19.1
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/components/fields/CheckboxGroup/components/CheckboxGroupItem/index.d.ts +3 -0
- package/components/fields/CheckboxGroup/index.d.ts +3 -0
- package/components/fields/CheckboxGroup/interface.d.ts +13 -0
- package/index.d.ts +2 -0
- package/index.js +9 -9
- package/index.mjs +1492 -1376
- package/package.json +1 -1
- package/providers/CheckboxGroup/index.d.ts +5 -0
- package/providers/CheckboxGroup/interface.d.ts +5 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { AriaCheckboxGroupItemProps } from 'react-aria';
|
|
3
|
+
import type { CheckboxGroupProps } from 'react-stately';
|
|
4
|
+
import type { TDefaultComponent } from '../../../types/components';
|
|
5
|
+
import type { TCheckboxProps } from '../Checkbox/Checkbox.interface';
|
|
6
|
+
export interface TCheckboxGroupProps extends TDefaultComponent, CheckboxGroupProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
isError?: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
}
|
|
13
|
+
export type TCheckboxGroupItemProps = TDefaultComponent & Omit<AriaCheckboxGroupItemProps, 'children'> & Omit<TCheckboxProps, 'children'>;
|
package/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { default as Icon } from './components/Icon';
|
|
|
11
11
|
export { default as Date } from './components/Date';
|
|
12
12
|
export { default as Select, ReactHookFormSelect } from './components/fields/Select/Select';
|
|
13
13
|
export { default as Checkbox } from './components/fields/Checkbox';
|
|
14
|
+
export { default as CheckboxGroup } from './components/fields/CheckboxGroup';
|
|
15
|
+
export { default as CheckboxGroupItem } from './components/fields/CheckboxGroup/components/CheckboxGroupItem';
|
|
14
16
|
export { default as TextArea, ReactHookFormTextArea } from './components/fields/TextArea';
|
|
15
17
|
export { default as TextInputField, ReactHookFormInput } from './components/fields/TextInputField';
|
|
16
18
|
export { default as DatePicker } from './components/fields/DatePicker';
|