@odigos/ui-kit 0.0.142 → 0.0.144
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/CHANGELOG.md +15 -0
- package/lib/chunks/ui-components-c5321fb4.js +2193 -0
- package/lib/components/_v2/button/index.d.ts +1 -1
- package/lib/components/_v2/button-tab/index.d.ts +4 -0
- package/lib/components/_v2/checkbox/index.d.ts +20 -1
- package/lib/components/_v2/hover-actions/index.d.ts +12 -0
- package/lib/components/_v2/icon-button/index.d.ts +1 -0
- package/lib/components/_v2/index.d.ts +1 -3
- package/lib/components/_v2/radio/index.d.ts +19 -1
- package/lib/components/_v2/search/index.d.ts +2 -1
- package/lib/components/_v2/table/index.d.ts +3 -2
- package/lib/components/_v2/table/table-rows/index.d.ts +3 -2
- package/lib/components/_v2/table/types.d.ts +0 -5
- package/lib/components/_v2/tag/index.d.ts +1 -0
- package/lib/components/_v2/toggle/index.d.ts +28 -2
- package/lib/components/data-card/index.d.ts +4 -2
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/v2.js +11 -11
- package/lib/containers.js +108 -108
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +8 -4
- package/lib/types/describe/index.d.ts +1 -0
- package/lib/types.js +1 -1
- package/package.json +2 -1
- package/lib/chunks/ui-components-6220f061.js +0 -2182
- package/lib/components/_v2/button-tab-list/index.d.ts +0 -6
- package/lib/components/_v2/checkbox-list/index.d.ts +0 -24
- package/lib/components/_v2/radio-group/index.d.ts +0 -23
- package/lib/components/_v2/table/table-rows/actions/index.d.ts +0 -8
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type FC, SetStateAction, Dispatch } from 'react';
|
|
2
|
-
import { CheckboxProps, CheckboxSize } from '../checkbox';
|
|
3
|
-
export declare enum CheckboxListDirection {
|
|
4
|
-
HORIZONTAL = "horizontal",
|
|
5
|
-
VERTICAL = "vertical"
|
|
6
|
-
}
|
|
7
|
-
interface Values {
|
|
8
|
-
[key: string]: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface Option extends Pick<CheckboxProps, 'label'> {
|
|
11
|
-
id: string;
|
|
12
|
-
}
|
|
13
|
-
export interface CheckboxListProps {
|
|
14
|
-
label?: string;
|
|
15
|
-
size?: CheckboxSize;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
direction?: CheckboxListDirection;
|
|
18
|
-
withSelectAll?: boolean;
|
|
19
|
-
options: Option[];
|
|
20
|
-
values: Values;
|
|
21
|
-
setValues: Dispatch<SetStateAction<Values>>;
|
|
22
|
-
}
|
|
23
|
-
export declare const CheckboxList: FC<CheckboxListProps>;
|
|
24
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type FC, type Dispatch, type SetStateAction } from 'react';
|
|
2
|
-
import { RadioProps, RadioSize } from '../radio';
|
|
3
|
-
export declare enum RadioGroupDirection {
|
|
4
|
-
HORIZONTAL = "horizontal",
|
|
5
|
-
VERTICAL = "vertical"
|
|
6
|
-
}
|
|
7
|
-
interface Values {
|
|
8
|
-
[key: string]: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface Option extends Pick<RadioProps, 'label'> {
|
|
11
|
-
id: string;
|
|
12
|
-
}
|
|
13
|
-
export interface RadioGroupProps {
|
|
14
|
-
label?: string;
|
|
15
|
-
size?: RadioSize;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
direction?: RadioGroupDirection;
|
|
18
|
-
options: Option[];
|
|
19
|
-
values: Values;
|
|
20
|
-
setValues: Dispatch<SetStateAction<Values>>;
|
|
21
|
-
}
|
|
22
|
-
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
23
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
import type { TableRowAction } from '../../types';
|
|
3
|
-
interface ActionsProps {
|
|
4
|
-
rowActions: TableRowAction[];
|
|
5
|
-
rowActionsPushRightPosition?: CSSProperties['width'];
|
|
6
|
-
}
|
|
7
|
-
export declare const Actions: FC<ActionsProps>;
|
|
8
|
-
export {};
|