@typeolymp/ui-components 1.4.0 → 1.5.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.
- package/build/components/molecules/LocaleSelect/index.d.ts +9 -0
- package/build/components/molecules/LocaleSelect/stories.d.ts +15 -0
- package/build/components/molecules/LocaleSelect/styles.d.ts +4 -0
- package/build/components/molecules/TranslationSelect/index.d.ts +8 -0
- package/build/components/molecules/TranslationSelect/stories.d.ts +15 -0
- package/build/components/molecules/TranslationSelect/styles.d.ts +4 -0
- package/build/index.d.ts +2 -1
- package/build/index.es.js +122 -74
- package/build/index.es.js.map +1 -1
- package/build/index.js +122 -73
- package/build/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LocaleType } from "@typeolymp/utility/build/types";
|
|
3
|
+
export declare type PropsType = {
|
|
4
|
+
locales: Array<LocaleType>;
|
|
5
|
+
initialValue: LocaleType;
|
|
6
|
+
onChange(locale: LocaleType): void;
|
|
7
|
+
};
|
|
8
|
+
declare const LocaleSelect: FC<PropsType>;
|
|
9
|
+
export default LocaleSelect;
|
|
@@ -0,0 +1,15 @@
|
|
|
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: {
|
|
9
|
+
(): JSX.Element;
|
|
10
|
+
parameters: {
|
|
11
|
+
backgrounds: {
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { TranslationType } from "@typeolymp/utility/build/types";
|
|
3
|
+
export declare type PropsType = {
|
|
4
|
+
initialValue: TranslationType;
|
|
5
|
+
onChange(translation: TranslationType): void;
|
|
6
|
+
};
|
|
7
|
+
declare const TranslationSelect: FC<PropsType>;
|
|
8
|
+
export default TranslationSelect;
|
|
@@ -0,0 +1,15 @@
|
|
|
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: {
|
|
9
|
+
(): JSX.Element;
|
|
10
|
+
parameters: {
|
|
11
|
+
backgrounds: {
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
package/build/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import IconButton from "./components/molecules/IconButton";
|
|
|
24
24
|
import InputField from "./components/molecules/InputField";
|
|
25
25
|
import Link from "./components/molecules/Link";
|
|
26
26
|
import Loading from "./components/molecules/Loading";
|
|
27
|
+
import LocaleSelect from "./components/molecules/LocaleSelect";
|
|
27
28
|
import Medals from "./components/molecules/Medals";
|
|
28
29
|
import Notification from "./components/molecules/Notification";
|
|
29
30
|
import NumberField from "./components/molecules/NumberField";
|
|
@@ -37,4 +38,4 @@ import Tooltip from "./components/molecules/Tooltip";
|
|
|
37
38
|
import Form from "./components/organisms/Form";
|
|
38
39
|
import Keyboard from "./components/organisms/Keyboard";
|
|
39
40
|
import Modal from "./components/organisms/Modal";
|
|
40
|
-
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Select, Spacer, Subheading, Toggle, Trophy, Alert, Card, Checkboxes, DateInputField, IconButton, InputField, Link, Loading, Medals, Notification, NumberField, PasswordInputField, Popup, ProgressBar, RadioGroup, SelectField, ToggleField, Tooltip, Form, Keyboard, Modal, };
|
|
41
|
+
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Select, Spacer, Subheading, Toggle, Trophy, Alert, Card, Checkboxes, DateInputField, IconButton, InputField, Link, Loading, LocaleSelect, Medals, Notification, NumberField, PasswordInputField, Popup, ProgressBar, RadioGroup, SelectField, ToggleField, Tooltip, Form, Keyboard, Modal, };
|