@typeolymp/ui-components 1.15.0 → 1.16.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.
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Locale } from "@typeolymp/utility/build/enums";
2
+ import { Locale } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  locale: Locale;
5
5
  size?: "small" | "medium" | "large";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Locale } from "@typeolymp/utility/build/enums";
2
+ import { Locale } from "@typeolymp/utils/enums";
3
3
  import { PropsType } from ".";
4
4
  declare const _default: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Locale } from "@typeolymp/utility/build/enums";
2
+ import { Locale } from "@typeolymp/utils/enums";
3
3
  import { PropsType as InputPropsType } from ".";
4
4
  export declare type PropsType = InputPropsType & {
5
5
  helperLocale?: Locale;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { Locale } from "@typeolymp/utils/enums";
2
3
  import { PropsType } from ".";
3
4
  declare const _default: {
4
5
  title: string;
@@ -17,6 +18,7 @@ export declare const Playground: {
17
18
  id: string;
18
19
  disabled: boolean;
19
20
  password: boolean;
21
+ helperLocale: Locale;
20
22
  };
21
23
  argTypes: {};
22
24
  };
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Medal as MedalEnum } from "@typeolymp/utility/build/enums";
2
+ import { Medal as MedalEnum } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  type: MedalEnum;
5
5
  size?: "small" | "large";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Medal as MedalEnum } from "@typeolymp/utility/build/enums";
2
+ import { Medal as MedalEnum } from "@typeolymp/utils/enums";
3
3
  import { PropsType } from ".";
4
4
  declare const _default: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from "react";
2
- import { Color } from "@typeolymp/utility/build/enums";
2
+ import { Color } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  ellipse?: Color;
5
5
  id?: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Color } from "@typeolymp/utility/build/enums";
2
+ import { Color } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  color: Color;
5
5
  text?: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Locale } from "@typeolymp/utility/build/enums";
2
+ import { Locale } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  color?: "light" | "dark";
5
5
  locales: Locale[];
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Locale } from "@typeolymp/utility/build/enums";
2
+ import { Locale } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  name: string;
5
5
  label: string | JSX.Element;
@@ -6,6 +6,7 @@ declare type TabType = {
6
6
  export declare type PropsType = {
7
7
  alignment?: "horizontal" | "vertical";
8
8
  items: TabType[];
9
+ activeKey?: string;
9
10
  onChange?(key: string): void;
10
11
  };
11
12
  declare const Tabs: FC<PropsType>;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { PropsType } from ".";
3
- import { KeyboardLayout } from "@typeolymp/utility/build/enums";
3
+ import { KeyboardLayout } from "@typeolymp/utils/enums";
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: React.FC<PropsType>;