@luscii-healthtech/web-ui 0.3.0 → 0.4.2

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,9 @@
1
+ import React, { SyntheticEvent } from "react";
2
+ import "./SectionItem.scss";
3
+ export interface SectionItemProps {
4
+ className?: string;
5
+ onClick?: (event: SyntheticEvent) => void;
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const SectionItem: React.FC<SectionItemProps>;
9
+ export default SectionItem;
@@ -1,6 +1,6 @@
1
- export default TextListItem;
2
- declare function TextListItem(props: any): JSX.Element;
3
- declare namespace TextListItem {
1
+ export default SectionItemWithContent;
2
+ declare function SectionItemWithContent(props: any): JSX.Element;
3
+ declare namespace SectionItemWithContent {
4
4
  export namespace propTypes {
5
5
  export const text: PropTypes.Validator<string>;
6
6
  export const icon: PropTypes.Requireable<string | object>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TagSize } from "./TagGroup";
2
+ import { TagSize } from "./Tag.utils";
3
3
  export declare enum TagColorTheme {
4
4
  Red = "red",
5
5
  Amber = "amber",
@@ -0,0 +1,4 @@
1
+ export declare enum TagSize {
2
+ "small" = "small",
3
+ "base" = "base"
4
+ }
@@ -1,13 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { TagProps } from "./Tag";
3
- export declare enum TagSize {
4
- "small" = "small",
5
- "base" = "base"
6
- }
3
+ import { TagSize } from "./Tag.utils";
7
4
  interface TagGroupProps {
8
5
  tags: TagProps[];
9
6
  tagSize?: TagSize;
10
7
  className?: string;
11
8
  }
12
- declare const TagGroup: ({ tags, tagSize, className }: TagGroupProps) => JSX.Element;
9
+ declare const TagGroup: ({ tags, tagSize, className, }: TagGroupProps) => JSX.Element;
13
10
  export default TagGroup;
package/dist/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export { default as InfoBlock } from "./components/InfoBlock/InfoBlock";
17
17
  export { InfoField } from "./components/InfoField/InfoField";
18
18
  export { INPUT_TYPES, default as Input } from "./components/Input/Input";
19
19
  export { default as Line } from "./components/Line/Line";
20
- export { default as ListItem, ListItemProps, } from "./components/ListItem/ListItem";
20
+ export { default as SectionItem, SectionItemProps, } from "./components/Section/SectionItem";
21
21
  export { ListTable, ListTableProps, ListTablePropsConfiguration, ListTablePropsConfigurationField, } from "./components/ListTable/ListTable";
22
22
  export { LoadingIndicator, LoadingIndicatorProps, } from "./components/LoadingIndicator/LoadingIndicator";
23
23
  export { default as Menu } from "./components/Menu/Menu";
@@ -45,7 +45,7 @@ export { default as TextArea } from "./components/Textarea/Textarea";
45
45
  export { default as TextEditor } from "./components/TextEditor/TextEditor";
46
46
  export { default as TextEditorV2 } from "./components/TextEditorV2/TextEditorV2";
47
47
  export { TextLink, TextLinkProps } from "./components/TextLink/TextLink";
48
- export { default as TextListItem } from "./components/TextListItem/TextListItem";
48
+ export { default as SectionItemWithContent } from "./components/Section/SectionItemWithContent";
49
49
  export { Title, TitleStyle } from "./components/Title/Title";
50
50
  export { ViewItem, ViewItemProps } from "./components/ViewItem/ViewItem";
51
51
  export { default as Text } from "./components/Text/Text";