@typeolymp/ui-components 2.2.7 → 3.0.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.
@@ -0,0 +1,17 @@
1
+ import { FC } from "react";
2
+ import { Color } from "@typeolymp/utils/enums";
3
+ declare type PropsType = {
4
+ keys: {
5
+ [key: number]: {
6
+ character: string;
7
+ color: Color;
8
+ };
9
+ };
10
+ shiftKeys: {
11
+ left: string[];
12
+ right: string[];
13
+ };
14
+ activeKeys: string[];
15
+ };
16
+ declare const ISANSIKeyboard: FC<PropsType>;
17
+ export default ISANSIKeyboard;
@@ -0,0 +1,7 @@
1
+ export declare const Container: any;
2
+ export declare const Row1: any;
3
+ export declare const Row2: any;
4
+ export declare const Row3: any;
5
+ export declare const Row4: any;
6
+ export declare const Row5: any;
7
+ export declare const Key: any;
@@ -0,0 +1,17 @@
1
+ import { FC } from "react";
2
+ import { Color } from "@typeolymp/utils/enums";
3
+ declare type PropsType = {
4
+ keys: {
5
+ [key: number]: {
6
+ character: string;
7
+ color: Color;
8
+ };
9
+ };
10
+ shiftKeys: {
11
+ left: string[];
12
+ right: string[];
13
+ };
14
+ activeKeys: string[];
15
+ };
16
+ declare const ISOKeyboard: FC<PropsType>;
17
+ export default ISOKeyboard;
@@ -0,0 +1,7 @@
1
+ export declare const Container: any;
2
+ export declare const Row1: any;
3
+ export declare const Row2: any;
4
+ export declare const Row3: any;
5
+ export declare const Row4: any;
6
+ export declare const Row5: any;
7
+ export declare const Key: any;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Color } from "@typeolymp/utils/enums";
2
+ import { Color, KeyboardVariant } from "@typeolymp/utils/enums";
3
3
  export declare type PropsType = {
4
4
  keys: Array<{
5
5
  index: number;
@@ -9,6 +9,7 @@ export declare type PropsType = {
9
9
  isShiftKey: boolean;
10
10
  }>;
11
11
  activeKeys?: string[];
12
+ variant?: KeyboardVariant;
12
13
  };
13
14
  declare const Keyboard: FC<PropsType>;
14
15
  export default Keyboard;
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  component: React.FC<PropsType>;
7
7
  };
8
8
  export default _default;
9
+ export declare const All: () => JSX.Element;
9
10
  export declare const Playground: {
10
11
  (args: any): JSX.Element;
11
12
  args: {