@typeolymp/ui-components 1.9.14 → 1.10.1
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/build/components/atoms/Icon/index.d.ts +1 -1
- package/build/components/organisms/Table/index.d.ts +13 -0
- package/build/components/organisms/Table/stories.d.ts +7 -0
- package/build/components/organisms/Table/styles.d.ts +7 -0
- package/build/index.d.ts +2 -1
- package/build/index.es.js +231 -883
- package/build/index.es.js.map +1 -1
- package/build/index.js +332 -982
- package/build/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
export declare type PropsType = {
|
|
3
|
-
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt";
|
|
3
|
+
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt" | "link";
|
|
4
4
|
size?: "tiny" | "small" | "medium" | "large";
|
|
5
5
|
color?: "blue" | "green" | "orange" | "red" | "purple" | "gray" | "darkGray" | "lightGray" | "white";
|
|
6
6
|
onClick?(e?: MouseEvent): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
columns: Array<{
|
|
4
|
+
title: string;
|
|
5
|
+
dataIndex: string;
|
|
6
|
+
render?(value: any): ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
data: Array<{
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
declare const Table: FC<PropsType>;
|
|
13
|
+
export default Table;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const Container: any;
|
|
2
|
+
export declare const TableHead: any;
|
|
3
|
+
export declare const TableBody: any;
|
|
4
|
+
export declare const TableFoot: any;
|
|
5
|
+
export declare const ColumnTitle: any;
|
|
6
|
+
export declare const TableRow: any;
|
|
7
|
+
export declare const TableCell: any;
|
package/build/index.d.ts
CHANGED
|
@@ -44,4 +44,5 @@ import Form from "./components/organisms/Form";
|
|
|
44
44
|
import Keyboard from "./components/organisms/Keyboard";
|
|
45
45
|
import Modal from "./components/organisms/Modal";
|
|
46
46
|
import Result from "./components/organisms/Result";
|
|
47
|
-
|
|
47
|
+
import Table from "./components/organisms/Table";
|
|
48
|
+
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Range, Select, Spacer, Subheading, Tag, Toggle, Trophy, Alert, Card, Checkboxes, Collapse, DateInputField, IconButton, InputField, Key, Link, Loading, LocaleSelect, Medals, Notification, NumberField, PasswordInputField, Popup, ProgressBar, Steps, RadioGroup, SelectField, ToggleField, Tooltip, Form, Keyboard, Modal, Result, Table, };
|