@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.
- package/dist/components/Section/SectionItem.d.ts +9 -0
- package/dist/components/{TextListItem/TextListItem.d.ts → Section/SectionItemWithContent.d.ts} +3 -3
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tag/Tag.utils.d.ts +4 -0
- package/dist/components/Tag/TagGroup.d.ts +2 -5
- package/dist/index.d.ts +2 -2
- package/dist/web-ui-tailwind.css +2111 -0
- package/dist/web-ui.cjs.development.css +70 -70
- package/dist/web-ui.cjs.development.js +29 -29
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.css +70 -70
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.css +70 -70
- package/dist/web-ui.esm.js +28 -28
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +13 -5
- package/src/components/{ListItem/ListItem.scss → Section/SectionItem.scss} +0 -0
- package/src/components/{ListItem/ListItem.tsx → Section/SectionItem.tsx} +7 -7
- package/src/components/{TextListItem/TextListItem.js → Section/SectionItemWithContent.js} +10 -9
- package/src/components/{TextListItem/TextListItem.scss → Section/SectionItemWithContent.scss} +2 -2
- package/src/components/Tag/Tag.tsx +1 -1
- package/src/components/Tag/Tag.utils.ts +4 -0
- package/src/components/Tag/TagGroup.tsx +12 -8
- package/src/index.tsx +4 -4
- package/dist/components/ListItem/ListItem.d.ts +0 -9
|
@@ -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;
|
package/dist/components/{TextListItem/TextListItem.d.ts → Section/SectionItemWithContent.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default
|
|
2
|
-
declare function
|
|
3
|
-
declare namespace
|
|
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,13 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TagProps } from "./Tag";
|
|
3
|
-
|
|
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
|
|
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
|
|
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";
|