@luscii-healthtech/web-ui 2.10.2 → 2.11.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.
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { AccordionProps } from "../Accordion/Accordion";
3
+ import { ListItemProps } from "../List/List.types";
4
+ import { AccordionItemProps } from "../Accordion/AccordionItem";
5
+ import { BaseButtonProps } from "../ButtonV2/ButtonProps.type";
6
+ export interface AccordionListProps extends Omit<AccordionProps, "items"> {
7
+ title: string;
8
+ searchPlaceholder: string;
9
+ emptyListText: string;
10
+ buttonProps?: BaseButtonProps;
11
+ accordionItems: AccordionListItemProps[];
12
+ }
13
+ export interface AccordionListItemProps extends Omit<AccordionItemProps, "content"> {
14
+ listItems: ListItemProps[];
15
+ }
16
+ export declare const AccordionList: React.VFC<AccordionListProps>;
17
+ export default AccordionList;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export { FlexRow } from "./components/Container/FlexRow";
3
3
  export type { FlexContainerProps } from "./components/Container/types/FlexContainerProps.type";
4
4
  export { default as Toaster, TOASTER_TYPE_OPTIONS, } from "./components/Toaster/Toaster";
5
5
  export { toast } from "./components/Toaster/toast";
6
+ export { AccordionList, AccordionListItemProps, AccordionListProps, } from "./components/AccordionList/AccordionList";
6
7
  export { default as Avatar } from "./components/Avatar/Avatar";
7
8
  export { default as Badge } from "./components/Badge/Badge";
8
9
  export { BaseButtonProps as NonPrimaryButtonProps, ButtonWithPendingStateProps as PrimaryButtonProps, ButtonDefinition, } from "./components/ButtonV2/ButtonProps.type";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @param {string} string
3
+ * @param {string} searchTerm
4
+ * @param {boolean} caseSensitive
5
+ */
6
+ export declare const isSubstring: (string: string | unknown, searchTerm: string, caseSensitive?: boolean) => boolean;
@@ -1079,6 +1079,10 @@ video {
1079
1079
  border-right-width: 1px;
1080
1080
  }
1081
1081
 
1082
+ .box-border {
1083
+ box-sizing: border-box;
1084
+ }
1085
+
1082
1086
  .cursor-default {
1083
1087
  cursor: default;
1084
1088
  }
@@ -1529,6 +1533,10 @@ video {
1529
1533
  outline-offset: 0;
1530
1534
  }
1531
1535
 
1536
+ .overflow-auto {
1537
+ overflow: auto;
1538
+ }
1539
+
1532
1540
  .overflow-hidden {
1533
1541
  overflow: hidden;
1534
1542
  }