@gomeniucivan/ui 1.0.72 → 1.0.74
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.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +268 -243
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +270 -245
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -121,6 +121,7 @@ declare const A: FC<AProps & {
|
|
|
121
121
|
type FlexDirection = 'vertical' | 'vertical-reverse' | 'horizontal' | 'horizontal-reverse';
|
|
122
122
|
interface FlexProps extends FlexProps$1 {
|
|
123
123
|
as?: ElementType;
|
|
124
|
+
cy?: string;
|
|
124
125
|
direction?: FlexDirection;
|
|
125
126
|
distribution?: CSSProperties['justifyContent'];
|
|
126
127
|
horizontal?: boolean;
|
|
@@ -834,6 +835,7 @@ declare const DropdownMenu: react.NamedExoticComponent<DropdownMenuProps<unknown
|
|
|
834
835
|
|
|
835
836
|
type ActionIconGroupEvent = Pick<MenuInfo, 'key' | 'keyPath' | 'domEvent'>;
|
|
836
837
|
interface ActionIconGroupProps extends Omit<FlexProps, 'children'> {
|
|
838
|
+
cy?: string;
|
|
837
839
|
actionIconProps?: Partial<Omit<ActionIconProps, 'icon' | 'size' | 'ref'>>;
|
|
838
840
|
disabled?: boolean;
|
|
839
841
|
glass?: boolean;
|
|
@@ -909,6 +911,7 @@ interface AvatarGroupItemType extends Pick<AvatarProps, 'avatar' | 'title' | 'al
|
|
|
909
911
|
key: string;
|
|
910
912
|
}
|
|
911
913
|
interface AvatarGroupProps extends Pick<AvatarProps, 'variant' | 'bordered' | 'shadow' | 'size' | 'background' | 'animation' | 'draggable' | 'shape'>, Omit<FlexProps, 'children' | 'onClick'> {
|
|
914
|
+
cy?: string;
|
|
912
915
|
classNames?: {
|
|
913
916
|
avatar?: string;
|
|
914
917
|
count?: string;
|
|
@@ -4133,6 +4136,7 @@ declare const SideNav: react.NamedExoticComponent<SideNavProps>;
|
|
|
4133
4136
|
interface SkeletonBlockProps {
|
|
4134
4137
|
active?: boolean;
|
|
4135
4138
|
className?: string;
|
|
4139
|
+
cy?: string;
|
|
4136
4140
|
height?: number | string;
|
|
4137
4141
|
style?: CSSProperties;
|
|
4138
4142
|
width?: number | string;
|
|
@@ -4275,6 +4279,8 @@ type TableColumn<TData> = {
|
|
|
4275
4279
|
value: unknown;
|
|
4276
4280
|
rowIndex: number;
|
|
4277
4281
|
}) => react.ReactNode;
|
|
4282
|
+
/** When set, the cell becomes clickable with a hover effect. Receives the row data. */
|
|
4283
|
+
onClick?: (row: TData) => void;
|
|
4278
4284
|
};
|
|
4279
4285
|
type TableReadConfig<TData> = {
|
|
4280
4286
|
method?: "get" | "post";
|
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ declare const A: FC<AProps & {
|
|
|
121
121
|
type FlexDirection = 'vertical' | 'vertical-reverse' | 'horizontal' | 'horizontal-reverse';
|
|
122
122
|
interface FlexProps extends FlexProps$1 {
|
|
123
123
|
as?: ElementType;
|
|
124
|
+
cy?: string;
|
|
124
125
|
direction?: FlexDirection;
|
|
125
126
|
distribution?: CSSProperties['justifyContent'];
|
|
126
127
|
horizontal?: boolean;
|
|
@@ -834,6 +835,7 @@ declare const DropdownMenu: react.NamedExoticComponent<DropdownMenuProps<unknown
|
|
|
834
835
|
|
|
835
836
|
type ActionIconGroupEvent = Pick<MenuInfo, 'key' | 'keyPath' | 'domEvent'>;
|
|
836
837
|
interface ActionIconGroupProps extends Omit<FlexProps, 'children'> {
|
|
838
|
+
cy?: string;
|
|
837
839
|
actionIconProps?: Partial<Omit<ActionIconProps, 'icon' | 'size' | 'ref'>>;
|
|
838
840
|
disabled?: boolean;
|
|
839
841
|
glass?: boolean;
|
|
@@ -909,6 +911,7 @@ interface AvatarGroupItemType extends Pick<AvatarProps, 'avatar' | 'title' | 'al
|
|
|
909
911
|
key: string;
|
|
910
912
|
}
|
|
911
913
|
interface AvatarGroupProps extends Pick<AvatarProps, 'variant' | 'bordered' | 'shadow' | 'size' | 'background' | 'animation' | 'draggable' | 'shape'>, Omit<FlexProps, 'children' | 'onClick'> {
|
|
914
|
+
cy?: string;
|
|
912
915
|
classNames?: {
|
|
913
916
|
avatar?: string;
|
|
914
917
|
count?: string;
|
|
@@ -4133,6 +4136,7 @@ declare const SideNav: react.NamedExoticComponent<SideNavProps>;
|
|
|
4133
4136
|
interface SkeletonBlockProps {
|
|
4134
4137
|
active?: boolean;
|
|
4135
4138
|
className?: string;
|
|
4139
|
+
cy?: string;
|
|
4136
4140
|
height?: number | string;
|
|
4137
4141
|
style?: CSSProperties;
|
|
4138
4142
|
width?: number | string;
|
|
@@ -4275,6 +4279,8 @@ type TableColumn<TData> = {
|
|
|
4275
4279
|
value: unknown;
|
|
4276
4280
|
rowIndex: number;
|
|
4277
4281
|
}) => react.ReactNode;
|
|
4282
|
+
/** When set, the cell becomes clickable with a hover effect. Receives the row data. */
|
|
4283
|
+
onClick?: (row: TData) => void;
|
|
4278
4284
|
};
|
|
4279
4285
|
type TableReadConfig<TData> = {
|
|
4280
4286
|
method?: "get" | "post";
|