@hai3/studio 0.1.0-alpha.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,15 @@
1
+ {
2
+ "title": "Інструменти розробки HAI3",
3
+ "aria": {
4
+ "openButton": "Відкрити інструменти розробки (Shift+`) або перетягнути для переміщення",
5
+ "collapseButton": "Згорнути панель інструментів розробки",
6
+ "resizeHandle": "Змінити розмір панелі інструментів"
7
+ },
8
+ "controls": {
9
+ "heading": "Елементи керування розробкою",
10
+ "screenset": "Набір екранів:",
11
+ "theme": "Тема:",
12
+ "language": "Мова:",
13
+ "mockApi": "Фіктивний API"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "title": "HAI3 ڈویلپمنٹ ٹولز",
3
+ "aria": {
4
+ "openButton": "ڈویلپمنٹ ٹولز کھولیں (Shift+`) یا منتقل کرنے کے لیے گھسیٹیں",
5
+ "collapseButton": "ڈویلپمنٹ ٹولز پینل کو سکیڑیں",
6
+ "resizeHandle": "ٹولز پینل کا سائز تبدیل کریں"
7
+ },
8
+ "controls": {
9
+ "heading": "ڈویلپمنٹ کنٹرولز",
10
+ "screenset": "اسکرین سیٹ:",
11
+ "theme": "تھیم:",
12
+ "language": "زبان:",
13
+ "mockApi": "فرضی API"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "title": "Công cụ Phát triển HAI3",
3
+ "aria": {
4
+ "openButton": "Mở Công cụ Phát triển (Shift+`) hoặc kéo để di chuyển",
5
+ "collapseButton": "Thu gọn bảng công cụ phát triển",
6
+ "resizeHandle": "Thay đổi kích thước bảng công cụ"
7
+ },
8
+ "controls": {
9
+ "heading": "Điều khiển Phát triển",
10
+ "screenset": "Bộ Màn hình:",
11
+ "theme": "Chủ đề:",
12
+ "language": "Ngôn ngữ:",
13
+ "mockApi": "API Giả lập"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "title": "HAI3 開發工具",
3
+ "aria": {
4
+ "openButton": "開啟開發工具 (Shift+`) 或拖曳移動",
5
+ "collapseButton": "收合開發工具面板",
6
+ "resizeHandle": "調整工具面板大小"
7
+ },
8
+ "controls": {
9
+ "heading": "開發控制項",
10
+ "screenset": "螢幕集:",
11
+ "theme": "主題:",
12
+ "language": "語言:",
13
+ "mockApi": "模擬 API"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "title": "HAI3 开发工具",
3
+ "aria": {
4
+ "openButton": "打开开发工具 (Shift+`) 或拖动移动",
5
+ "collapseButton": "折叠开发工具面板",
6
+ "resizeHandle": "调整工具面板大小"
7
+ },
8
+ "controls": {
9
+ "heading": "开发控制",
10
+ "screenset": "屏幕集:",
11
+ "theme": "主题:",
12
+ "language": "语言:",
13
+ "mockApi": "模拟 API"
14
+ }
15
+ }
@@ -0,0 +1,44 @@
1
+ import React, { ReactNode } from 'react';
2
+
3
+ declare const StudioOverlay: React.FC;
4
+
5
+ /**
6
+ * Studio Context Value
7
+ * Includes portal container for high z-index dropdown rendering
8
+ */
9
+ interface StudioContextValue {
10
+ collapsed: boolean;
11
+ toggleCollapsed: () => void;
12
+ portalContainer: HTMLElement | null;
13
+ setPortalContainer: (container: HTMLElement | null) => void;
14
+ }
15
+ declare const useStudioContext: () => StudioContextValue;
16
+ interface StudioProviderProps {
17
+ children: ReactNode;
18
+ }
19
+ declare const StudioProvider: React.FC<StudioProviderProps>;
20
+
21
+ /**
22
+ * Position coordinates for the Studio panel
23
+ */
24
+ interface Position {
25
+ x: number;
26
+ y: number;
27
+ }
28
+ /**
29
+ * Size dimensions for the Studio panel
30
+ */
31
+ interface Size {
32
+ width: number;
33
+ height: number;
34
+ }
35
+ /**
36
+ * Studio panel state
37
+ */
38
+ interface StudioState {
39
+ collapsed: boolean;
40
+ position: Position;
41
+ size: Size;
42
+ }
43
+
44
+ export { type Position, type Size, StudioOverlay, StudioProvider, type StudioState, useStudioContext };
@@ -0,0 +1,44 @@
1
+ import React, { ReactNode } from 'react';
2
+
3
+ declare const StudioOverlay: React.FC;
4
+
5
+ /**
6
+ * Studio Context Value
7
+ * Includes portal container for high z-index dropdown rendering
8
+ */
9
+ interface StudioContextValue {
10
+ collapsed: boolean;
11
+ toggleCollapsed: () => void;
12
+ portalContainer: HTMLElement | null;
13
+ setPortalContainer: (container: HTMLElement | null) => void;
14
+ }
15
+ declare const useStudioContext: () => StudioContextValue;
16
+ interface StudioProviderProps {
17
+ children: ReactNode;
18
+ }
19
+ declare const StudioProvider: React.FC<StudioProviderProps>;
20
+
21
+ /**
22
+ * Position coordinates for the Studio panel
23
+ */
24
+ interface Position {
25
+ x: number;
26
+ y: number;
27
+ }
28
+ /**
29
+ * Size dimensions for the Studio panel
30
+ */
31
+ interface Size {
32
+ width: number;
33
+ height: number;
34
+ }
35
+ /**
36
+ * Studio panel state
37
+ */
38
+ interface StudioState {
39
+ collapsed: boolean;
40
+ position: Position;
41
+ size: Size;
42
+ }
43
+
44
+ export { type Position, type Size, StudioOverlay, StudioProvider, type StudioState, useStudioContext };