@typeolymp/ui-components 1.19.9 → 1.19.11
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/Heading/index.d.ts +1 -0
- package/build/components/atoms/Paragraph/index.d.ts +1 -0
- package/build/components/molecules/DataSummary/index.d.ts +18 -0
- package/build/components/molecules/DataSummary/stories.d.ts +13 -0
- package/build/components/molecules/DataSummary/styles.d.ts +2 -0
- package/build/index.d.ts +3 -2
- package/build/index.es.js +108 -102
- package/build/index.es.js.map +1 -1
- package/build/index.js +108 -101
- package/build/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { Locale } from "@typeolymp/utils/enums";
|
|
3
|
+
declare type BasePropsType = {
|
|
4
|
+
title: string;
|
|
5
|
+
data: string[] | {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
export declare type PropsType = (BasePropsType & {
|
|
11
|
+
onEdit?: never;
|
|
12
|
+
locale?: never;
|
|
13
|
+
}) | (BasePropsType & {
|
|
14
|
+
onEdit?(): void;
|
|
15
|
+
locale: Locale;
|
|
16
|
+
});
|
|
17
|
+
declare const DataSummary: FC<PropsType>;
|
|
18
|
+
export default DataSummary;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {};
|
|
12
|
+
argTypes: {};
|
|
13
|
+
};
|
package/build/index.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ import Range from "./components/atoms/Range";
|
|
|
15
15
|
import Select from "./components/atoms/Select";
|
|
16
16
|
import Spacer from "./components/atoms/Spacer";
|
|
17
17
|
import Subheading from "./components/atoms/Subheading";
|
|
18
|
-
import DataSummary from "./components/atoms/DataSummary";
|
|
19
18
|
import Tag from "./components/atoms/Tag";
|
|
19
|
+
import Textarea from "./components/atoms/Textarea";
|
|
20
20
|
import Toggle from "./components/atoms/Toggle";
|
|
21
21
|
import Trophy from "./components/atoms/Trophy";
|
|
22
22
|
import Alert from "./components/molecules/Alert";
|
|
@@ -24,6 +24,7 @@ import Card from "./components/molecules/Card";
|
|
|
24
24
|
import Checkboxes from "./components/molecules/Checkboxes";
|
|
25
25
|
import Collapse from "./components/molecules/Collapse";
|
|
26
26
|
import Countdown from "./components/molecules/Countdown";
|
|
27
|
+
import DataSummary from "./components/molecules/DataSummary";
|
|
27
28
|
import DateInputField from "./components/molecules/DateInputField";
|
|
28
29
|
import Dropdown from "./components/molecules/Dropdown";
|
|
29
30
|
import FileUpload from "./components/molecules/FileUpload";
|
|
@@ -52,4 +53,4 @@ import Modal from "./components/organisms/Modal";
|
|
|
52
53
|
import Result from "./components/organisms/Result";
|
|
53
54
|
import Table, { DataType as TableDataType, ColumnType as TableColumnType } from "./components/organisms/Table";
|
|
54
55
|
import Transfer from "./components/organisms/Transfer";
|
|
55
|
-
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Range, Select, Spacer, Subheading,
|
|
56
|
+
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Range, Select, Spacer, Subheading, Tag, Textarea, Toggle, Trophy, Alert, Card, Checkboxes, Collapse, Countdown, DataSummary, DateInputField, Dropdown, FileUpload, IconButton, InputField, Key, Link, Loading, LocaleSelect, Medals, Notification, NumberField, PasswordInputField, Popup, ProgressBar, Steps, Tabs, RadioGroup, SelectField, ToggleField, Tooltip, Chart, ChartPeriod, Form, Keyboard, Modal, Result, Table, TableDataType, TableColumnType, Transfer, };
|