@luscii-healthtech/web-ui 2.53.0 → 2.55.0

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.
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { BaseListItemProps, BaseListProps } from "./BaseList.types";
3
- declare const BaseListInner: <T extends BaseListItemProps>({ dataTestId, title, headerButton, emptyStateMessage, isLoading, items, headerTransparent, itemComponent, footer, }: BaseListProps<T>, ref: React.ForwardedRef<HTMLUListElement>) => JSX.Element;
3
+ declare const BaseListInner: <T extends BaseListItemProps>({ dataTestId, title, headerButton, emptyStateMessage, isLoading, items, headerTransparent, itemComponent, footer, withBorder, }: BaseListProps<T>, ref: React.ForwardedRef<HTMLUListElement>) => JSX.Element;
4
4
  export declare const BaseList: <T extends BaseListItemProps>(props: BaseListProps<T> & {
5
5
  ref?: React.ForwardedRef<HTMLUListElement> | undefined;
6
6
  }) => ReturnType<typeof BaseListInner>;
@@ -17,6 +17,7 @@ export declare type BaseListItemProps = {
17
17
  isSelected?: boolean;
18
18
  roundTop?: boolean;
19
19
  roundBottom?: boolean;
20
+ withBorder?: boolean;
20
21
  isDraggable?: boolean;
21
22
  dataTestId?: string;
22
23
  ref?: Ref<HTMLLIElement>;
@@ -34,12 +35,14 @@ export interface BaseListProps<T extends BaseListItemProps = BaseListItemProps>
34
35
  isLoading?: boolean;
35
36
  dataTestId?: string;
36
37
  footer?: ReactNode;
38
+ withBorder?: boolean;
37
39
  ref?: Ref<HTMLUListElement>;
38
40
  }
39
41
  export declare type BaseListHeaderProps = {
40
42
  title?: string | TitleProps;
41
43
  button?: ButtonDefinition<PrimaryButtonProps>;
42
44
  transparent?: boolean;
45
+ withBorder?: boolean;
43
46
  };
44
47
  export declare type DraggableBaseListProps = Omit<BaseListProps<DraggableBaseListItemProps>, "itemComponent">;
45
48
  export declare type DraggableBaseListItemProps = BaseListItemProps & {
@@ -2,5 +2,6 @@ import React from "react";
2
2
  export declare const BaseListEmptyState: React.FC<{
3
3
  message: string;
4
4
  roundTop?: boolean;
5
+ withBorder?: boolean;
5
6
  }>;
6
7
  export default BaseListEmptyState;
@@ -8,6 +8,7 @@ export declare type DropzonePresentationProps = {
8
8
  children?: ReactNode;
9
9
  className?: string;
10
10
  dataTestId?: string;
11
+ horizontal?: boolean;
11
12
  };
12
13
  export declare type DropzoneProps = Omit<DropzonePresentationProps, "isHighlighted"> & {
13
14
  draggableIdentifier: string | number;
@@ -1122,6 +1122,10 @@ video {
1122
1122
  border-left-width: 1px;
1123
1123
  }
1124
1124
 
1125
+ .first\:border-t:first-child {
1126
+ border-top-width: 1px;
1127
+ }
1128
+
1125
1129
  .last\:border-b-0:last-child {
1126
1130
  border-bottom-width: 0;
1127
1131
  }
@@ -1130,6 +1134,10 @@ video {
1130
1134
  border-right-width: 1px;
1131
1135
  }
1132
1136
 
1137
+ .last\:border-b:last-child {
1138
+ border-bottom-width: 1px;
1139
+ }
1140
+
1133
1141
  .box-border {
1134
1142
  box-sizing: border-box;
1135
1143
  }