@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.
- package/build/components/organisms/Keyboard/ISANSI/index.d.ts +17 -0
- package/build/components/organisms/Keyboard/ISANSI/styles.d.ts +7 -0
- package/build/components/organisms/Keyboard/ISO/index.d.ts +17 -0
- package/build/components/organisms/Keyboard/ISO/styles.d.ts +7 -0
- package/build/components/organisms/Keyboard/index.d.ts +2 -1
- package/build/components/organisms/Keyboard/stories.d.ts +1 -0
- package/build/index.es.js +2264 -691
- package/build/index.es.js.map +1 -1
- package/build/index.js +2264 -691
- package/build/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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,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;
|
|
@@ -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;
|