@ranker/raxflow 2.0.5 → 2.1.1

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.
Files changed (160) hide show
  1. package/dist/hub/components/ChatInput.d.ts +14 -0
  2. package/dist/hub/components/ChatInput.d.ts.map +1 -0
  3. package/dist/hub/components/ChatInput.js +14 -0
  4. package/dist/hub/components/ChatInput.js.map +1 -0
  5. package/dist/hub/components/ChatMessage.d.ts +14 -0
  6. package/dist/hub/components/ChatMessage.d.ts.map +1 -0
  7. package/dist/hub/components/ChatMessage.js +23 -0
  8. package/dist/hub/components/ChatMessage.js.map +1 -0
  9. package/dist/hub/components/HubHeader.d.ts +12 -0
  10. package/dist/hub/components/HubHeader.d.ts.map +1 -0
  11. package/dist/hub/components/HubHeader.js +12 -0
  12. package/dist/hub/components/HubHeader.js.map +1 -0
  13. package/dist/hub/components/index.d.ts +7 -0
  14. package/dist/hub/components/index.d.ts.map +1 -0
  15. package/dist/hub/components/index.js +7 -0
  16. package/dist/hub/components/index.js.map +1 -0
  17. package/dist/tui/App.d.ts.map +1 -1
  18. package/dist/tui/App.js +10 -10
  19. package/dist/tui/App.js.map +1 -1
  20. package/dist/tui/components/ChatPanel.d.ts +1 -1
  21. package/dist/tui/components/ChatPanel.d.ts.map +1 -1
  22. package/dist/tui/components/ChatPanel.js +37 -26
  23. package/dist/tui/components/ChatPanel.js.map +1 -1
  24. package/dist/tui/components/DAGPanel.d.ts +3 -4
  25. package/dist/tui/components/DAGPanel.d.ts.map +1 -1
  26. package/dist/tui/components/DAGPanel.js +44 -36
  27. package/dist/tui/components/DAGPanel.js.map +1 -1
  28. package/dist/tui/components/Header.d.ts.map +1 -1
  29. package/dist/tui/components/Header.js +54 -36
  30. package/dist/tui/components/Header.js.map +1 -1
  31. package/dist/tui/components/HelpOverlay.d.ts.map +1 -1
  32. package/dist/tui/components/HelpOverlay.js +7 -5
  33. package/dist/tui/components/HelpOverlay.js.map +1 -1
  34. package/dist/tui/components/InputBar.d.ts.map +1 -1
  35. package/dist/tui/components/InputBar.js +25 -13
  36. package/dist/tui/components/InputBar.js.map +1 -1
  37. package/dist/tui/components/LogsPanel.d.ts.map +1 -1
  38. package/dist/tui/components/LogsPanel.js +23 -17
  39. package/dist/tui/components/LogsPanel.js.map +1 -1
  40. package/dist/tui/components/MemoryPanel.d.ts +1 -1
  41. package/dist/tui/components/MemoryPanel.d.ts.map +1 -1
  42. package/dist/tui/components/MemoryPanel.js +24 -31
  43. package/dist/tui/components/MemoryPanel.js.map +1 -1
  44. package/dist/tui/components/MetricsPanel.d.ts +1 -1
  45. package/dist/tui/components/MetricsPanel.d.ts.map +1 -1
  46. package/dist/tui/components/MetricsPanel.js +10 -13
  47. package/dist/tui/components/MetricsPanel.js.map +1 -1
  48. package/dist/tui/components/SelectMenu.d.ts +20 -0
  49. package/dist/tui/components/SelectMenu.d.ts.map +1 -0
  50. package/dist/tui/components/SelectMenu.js +19 -0
  51. package/dist/tui/components/SelectMenu.js.map +1 -0
  52. package/dist/tui/components/StatusPanel.d.ts +4 -3
  53. package/dist/tui/components/StatusPanel.d.ts.map +1 -1
  54. package/dist/tui/components/StatusPanel.js +26 -18
  55. package/dist/tui/components/StatusPanel.js.map +1 -1
  56. package/dist/tui/components/animations/ProgressBar.d.ts +8 -1
  57. package/dist/tui/components/animations/ProgressBar.d.ts.map +1 -1
  58. package/dist/tui/components/animations/ProgressBar.js +52 -26
  59. package/dist/tui/components/animations/ProgressBar.js.map +1 -1
  60. package/dist/tui/components/animations/Pulse.d.ts +11 -3
  61. package/dist/tui/components/animations/Pulse.d.ts.map +1 -1
  62. package/dist/tui/components/animations/Pulse.js +23 -14
  63. package/dist/tui/components/animations/Pulse.js.map +1 -1
  64. package/dist/tui/components/animations/Spinner.d.ts +2 -1
  65. package/dist/tui/components/animations/Spinner.d.ts.map +1 -1
  66. package/dist/tui/components/animations/Spinner.js +31 -16
  67. package/dist/tui/components/animations/Spinner.js.map +1 -1
  68. package/dist/tui/components/animations/StatusAnimator.d.ts +3 -0
  69. package/dist/tui/components/animations/StatusAnimator.d.ts.map +1 -1
  70. package/dist/tui/components/animations/StatusAnimator.js +43 -28
  71. package/dist/tui/components/animations/StatusAnimator.js.map +1 -1
  72. package/dist/tui/components/animations/TypingEffect.d.ts +1 -0
  73. package/dist/tui/components/animations/TypingEffect.d.ts.map +1 -1
  74. package/dist/tui/components/animations/TypingEffect.js +13 -7
  75. package/dist/tui/components/animations/TypingEffect.js.map +1 -1
  76. package/dist/tui/components/animations/index.d.ts +3 -2
  77. package/dist/tui/components/animations/index.d.ts.map +1 -1
  78. package/dist/tui/components/animations/index.js +2 -2
  79. package/dist/tui/components/animations/index.js.map +1 -1
  80. package/dist/tui/components/composed/Button.d.ts +18 -0
  81. package/dist/tui/components/composed/Button.d.ts.map +1 -0
  82. package/dist/tui/components/composed/Button.js +22 -0
  83. package/dist/tui/components/composed/Button.js.map +1 -0
  84. package/dist/tui/components/composed/Divider.d.ts +13 -0
  85. package/dist/tui/components/composed/Divider.d.ts.map +1 -0
  86. package/dist/tui/components/composed/Divider.js +18 -0
  87. package/dist/tui/components/composed/Divider.js.map +1 -0
  88. package/dist/tui/components/composed/StatusBadge.d.ts +14 -0
  89. package/dist/tui/components/composed/StatusBadge.d.ts.map +1 -0
  90. package/dist/tui/components/composed/StatusBadge.js +28 -0
  91. package/dist/tui/components/composed/StatusBadge.js.map +1 -0
  92. package/dist/tui/components/composed/index.d.ts +7 -0
  93. package/dist/tui/components/composed/index.d.ts.map +1 -0
  94. package/dist/tui/components/composed/index.js +7 -0
  95. package/dist/tui/components/composed/index.js.map +1 -0
  96. package/dist/tui/components/layouts/Container.d.ts +14 -0
  97. package/dist/tui/components/layouts/Container.d.ts.map +1 -0
  98. package/dist/tui/components/layouts/Container.js +10 -0
  99. package/dist/tui/components/layouts/Container.js.map +1 -0
  100. package/dist/tui/components/layouts/Grid.d.ts +14 -0
  101. package/dist/tui/components/layouts/Grid.d.ts.map +1 -0
  102. package/dist/tui/components/layouts/Grid.js +13 -0
  103. package/dist/tui/components/layouts/Grid.js.map +1 -0
  104. package/dist/tui/components/layouts/Stack.d.ts +32 -0
  105. package/dist/tui/components/layouts/Stack.d.ts.map +1 -0
  106. package/dist/tui/components/layouts/Stack.js +17 -0
  107. package/dist/tui/components/layouts/Stack.js.map +1 -0
  108. package/dist/tui/components/layouts/index.d.ts +7 -0
  109. package/dist/tui/components/layouts/index.d.ts.map +1 -0
  110. package/dist/tui/components/layouts/index.js +7 -0
  111. package/dist/tui/components/layouts/index.js.map +1 -0
  112. package/dist/tui/components/primitives/Box.d.ts +28 -0
  113. package/dist/tui/components/primitives/Box.d.ts.map +1 -0
  114. package/dist/tui/components/primitives/Box.js +38 -0
  115. package/dist/tui/components/primitives/Box.js.map +1 -0
  116. package/dist/tui/components/primitives/Panel.d.ts +17 -0
  117. package/dist/tui/components/primitives/Panel.d.ts.map +1 -0
  118. package/dist/tui/components/primitives/Panel.js +12 -0
  119. package/dist/tui/components/primitives/Panel.js.map +1 -0
  120. package/dist/tui/components/primitives/Text.d.ts +18 -0
  121. package/dist/tui/components/primitives/Text.d.ts.map +1 -0
  122. package/dist/tui/components/primitives/Text.js +21 -0
  123. package/dist/tui/components/primitives/Text.js.map +1 -0
  124. package/dist/tui/components/primitives/index.d.ts +7 -0
  125. package/dist/tui/components/primitives/index.d.ts.map +1 -0
  126. package/dist/tui/components/primitives/index.js +7 -0
  127. package/dist/tui/components/primitives/index.js.map +1 -0
  128. package/dist/tui/hooks/useAppState.d.ts +30 -2
  129. package/dist/tui/hooks/useAppState.d.ts.map +1 -1
  130. package/dist/tui/hooks/useAppState.js +333 -186
  131. package/dist/tui/hooks/useAppState.js.map +1 -1
  132. package/dist/tui/hooks/useTerminalSize.d.ts +3 -0
  133. package/dist/tui/hooks/useTerminalSize.d.ts.map +1 -1
  134. package/dist/tui/hooks/useTerminalSize.js +36 -10
  135. package/dist/tui/hooks/useTerminalSize.js.map +1 -1
  136. package/dist/tui/services/orchestrator.d.ts +6 -2
  137. package/dist/tui/services/orchestrator.d.ts.map +1 -1
  138. package/dist/tui/services/orchestrator.js +22 -5
  139. package/dist/tui/services/orchestrator.js.map +1 -1
  140. package/dist/tui/styles/colors.d.ts +4 -0
  141. package/dist/tui/styles/colors.d.ts.map +1 -1
  142. package/dist/tui/styles/colors.js +54 -14
  143. package/dist/tui/styles/colors.js.map +1 -1
  144. package/dist/tui/styles/design-system.d.ts +107 -0
  145. package/dist/tui/styles/design-system.d.ts.map +1 -0
  146. package/dist/tui/styles/design-system.js +140 -0
  147. package/dist/tui/styles/design-system.js.map +1 -0
  148. package/dist/tui/styles/index.d.ts +4 -2
  149. package/dist/tui/styles/index.d.ts.map +1 -1
  150. package/dist/tui/styles/index.js +3 -2
  151. package/dist/tui/styles/index.js.map +1 -1
  152. package/dist/tui/styles/themes.d.ts +10 -0
  153. package/dist/tui/styles/themes.d.ts.map +1 -1
  154. package/dist/tui/styles/themes.js +137 -47
  155. package/dist/tui/styles/themes.js.map +1 -1
  156. package/dist/tui/styles/tokens.d.ts +262 -0
  157. package/dist/tui/styles/tokens.d.ts.map +1 -0
  158. package/dist/tui/styles/tokens.js +230 -0
  159. package/dist/tui/styles/tokens.js.map +1 -0
  160. package/package.json +1 -1
@@ -0,0 +1,262 @@
1
+ export declare const spacing: {
2
+ readonly none: 0;
3
+ readonly xs: 1;
4
+ readonly sm: 2;
5
+ readonly md: 3;
6
+ readonly lg: 4;
7
+ readonly xl: 5;
8
+ readonly xxl: 6;
9
+ };
10
+ export type SpacingKey = keyof typeof spacing;
11
+ export declare const borders: {
12
+ readonly thin: {
13
+ readonly top: "─";
14
+ readonly bottom: "─";
15
+ readonly left: "│";
16
+ readonly right: "│";
17
+ readonly topLeft: "┌";
18
+ readonly topRight: "┐";
19
+ readonly bottomLeft: "└";
20
+ readonly bottomRight: "┘";
21
+ readonly cross: "┼";
22
+ readonly horizontal: "─";
23
+ readonly vertical: "│";
24
+ };
25
+ readonly thick: {
26
+ readonly top: "═";
27
+ readonly bottom: "═";
28
+ readonly left: "║";
29
+ readonly right: "║";
30
+ readonly topLeft: "╔";
31
+ readonly topRight: "╗";
32
+ readonly bottomLeft: "╚";
33
+ readonly bottomRight: "╝";
34
+ readonly cross: "╬";
35
+ readonly horizontal: "═";
36
+ readonly vertical: "║";
37
+ };
38
+ readonly rounded: {
39
+ readonly top: "─";
40
+ readonly bottom: "─";
41
+ readonly left: "│";
42
+ readonly right: "│";
43
+ readonly topLeft: "╭";
44
+ readonly topRight: "╮";
45
+ readonly bottomLeft: "╰";
46
+ readonly bottomRight: "╯";
47
+ readonly cross: "┼";
48
+ readonly horizontal: "─";
49
+ readonly vertical: "│";
50
+ };
51
+ readonly double: {
52
+ readonly top: "═";
53
+ readonly bottom: "═";
54
+ readonly left: "║";
55
+ readonly right: "║";
56
+ readonly topLeft: "╦";
57
+ readonly topRight: "╦";
58
+ readonly bottomLeft: "╩";
59
+ readonly bottomRight: "╩";
60
+ readonly cross: "╬";
61
+ readonly horizontal: "═";
62
+ readonly vertical: "║";
63
+ };
64
+ readonly minimal: {
65
+ readonly top: " ";
66
+ readonly bottom: " ";
67
+ readonly left: " ";
68
+ readonly right: " ";
69
+ readonly topLeft: " ";
70
+ readonly topRight: " ";
71
+ readonly bottomLeft: " ";
72
+ readonly bottomRight: " ";
73
+ readonly cross: "·";
74
+ readonly horizontal: "·";
75
+ readonly vertical: "·";
76
+ };
77
+ readonly industrial: {
78
+ readonly top: "━";
79
+ readonly bottom: "━";
80
+ readonly left: "┃";
81
+ readonly right: "┃";
82
+ readonly topLeft: "┏";
83
+ readonly topRight: "┓";
84
+ readonly bottomLeft: "┗";
85
+ readonly bottomRight: "┛";
86
+ readonly cross: "╋";
87
+ readonly horizontal: "━";
88
+ readonly vertical: "┃";
89
+ };
90
+ };
91
+ export type BorderStyle = keyof typeof borders;
92
+ export declare const animations: {
93
+ readonly durations: {
94
+ readonly instant: 50;
95
+ readonly fast: 100;
96
+ readonly normal: 200;
97
+ readonly slow: 400;
98
+ readonly slower: 600;
99
+ readonly verySlow: 1000;
100
+ };
101
+ readonly easing: {
102
+ readonly linear: "linear";
103
+ readonly easeIn: "ease-in";
104
+ readonly easeOut: "ease-out";
105
+ readonly easeInOut: "ease-in-out";
106
+ readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
107
+ readonly smooth: "cubic-bezier(0.4, 0, 0.2, 1)";
108
+ };
109
+ readonly types: {
110
+ readonly fadeIn: {
111
+ readonly duration: 150;
112
+ readonly easing: "ease-in";
113
+ };
114
+ readonly fadeOut: {
115
+ readonly duration: 100;
116
+ readonly easing: "ease-out";
117
+ };
118
+ readonly slideUp: {
119
+ readonly duration: 200;
120
+ readonly easing: "ease-out";
121
+ };
122
+ readonly slideDown: {
123
+ readonly duration: 200;
124
+ readonly easing: "ease-out";
125
+ };
126
+ readonly pulse: {
127
+ readonly duration: 800;
128
+ readonly easing: "ease-in-out";
129
+ };
130
+ readonly breathe: {
131
+ readonly duration: 1200;
132
+ readonly easing: "ease-in-out";
133
+ };
134
+ readonly typing: {
135
+ readonly duration: 40;
136
+ };
137
+ readonly bounce: {
138
+ readonly duration: 300;
139
+ readonly easing: "ease-out";
140
+ };
141
+ readonly spin: {
142
+ readonly duration: 80;
143
+ };
144
+ readonly wave: {
145
+ readonly duration: 150;
146
+ };
147
+ };
148
+ };
149
+ export declare const typography: {
150
+ readonly sizes: {
151
+ readonly xs: 8;
152
+ readonly sm: 10;
153
+ readonly base: 12;
154
+ readonly lg: 14;
155
+ readonly xl: 16;
156
+ readonly xxl: 20;
157
+ };
158
+ readonly weights: {
159
+ readonly regular: "400";
160
+ readonly medium: "500";
161
+ readonly bold: "700";
162
+ };
163
+ readonly lineHeight: {
164
+ readonly tight: 1.2;
165
+ readonly normal: 1.5;
166
+ readonly relaxed: 1.75;
167
+ };
168
+ };
169
+ export declare const indicators: {
170
+ readonly success: "✓";
171
+ readonly error: "✗";
172
+ readonly warning: "!";
173
+ readonly info: "i";
174
+ readonly pending: "·";
175
+ readonly running: "○";
176
+ readonly online: "●";
177
+ readonly offline: "○";
178
+ readonly arrow: "→";
179
+ readonly arrowRight: "▶";
180
+ readonly arrowLeft: "◀";
181
+ readonly arrowUp: "▲";
182
+ readonly arrowDown: "▼";
183
+ readonly selected: "›";
184
+ readonly unselected: " ";
185
+ readonly bullet: "·";
186
+ readonly dash: "─";
187
+ readonly pipe: "│";
188
+ readonly dot: "·";
189
+ readonly star: "★";
190
+ readonly diamond: "◆";
191
+ readonly square: "■";
192
+ readonly triangle: "▲";
193
+ readonly horizontalEllipsis: "…";
194
+ readonly verticalEllipsis: "⋮";
195
+ readonly checkbox: {
196
+ readonly checked: "[x]";
197
+ readonly unchecked: "[ ]";
198
+ readonly partial: "[~]";
199
+ };
200
+ readonly expandable: {
201
+ readonly collapsed: "▸";
202
+ readonly expanded: "▾";
203
+ };
204
+ readonly brackets: {
205
+ readonly left: "「";
206
+ readonly right: "」";
207
+ };
208
+ readonly progress: {
209
+ readonly filled: "█";
210
+ readonly empty: "░";
211
+ readonly half: "▒";
212
+ readonly marker: "▸";
213
+ readonly glow: "█";
214
+ };
215
+ };
216
+ export declare const dimensions: {
217
+ readonly minTerminalWidth: 60;
218
+ readonly minTerminalHeight: 16;
219
+ readonly breakpoints: {
220
+ readonly tiny: 60;
221
+ readonly small: 80;
222
+ readonly medium: 120;
223
+ readonly large: 160;
224
+ readonly xlarge: 200;
225
+ };
226
+ readonly components: {
227
+ readonly headerHeight: 2;
228
+ readonly headerHeightCompact: 1;
229
+ readonly footerHeight: 2;
230
+ readonly inputHeight: 2;
231
+ readonly inputHeightCompact: 1;
232
+ readonly minPanelWidth: 20;
233
+ readonly minPanelHeight: 8;
234
+ readonly sidebarWidth: 30;
235
+ readonly sidebarWidthCompact: 20;
236
+ };
237
+ readonly padding: {
238
+ readonly panel: 1;
239
+ readonly panelCompact: 0;
240
+ readonly element: 1;
241
+ };
242
+ };
243
+ export declare const zIndex: {
244
+ readonly base: 0;
245
+ readonly content: 1;
246
+ readonly panel: 5;
247
+ readonly menu: 10;
248
+ readonly overlay: 50;
249
+ readonly modal: 100;
250
+ readonly tooltip: 500;
251
+ readonly notification: 1000;
252
+ };
253
+ export declare const shadows: {
254
+ readonly none: "";
255
+ readonly subtle: "│ ";
256
+ readonly medium: "║ ";
257
+ readonly strong: "┃ ";
258
+ };
259
+ export type AnimationType = keyof typeof animations.types;
260
+ export type BorderType = BorderStyle;
261
+ export type IndentLevel = 0 | 1 | 2 | 3 | 4;
262
+ //# sourceMappingURL=tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/tui/styles/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;CAQV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EV,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,OAAO,CAAC;AAE/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Bb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CAmBb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8Cb,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Bb,CAAC;AAEX,eAAO,MAAM,MAAM;;;;;;;;;CAST,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,UAAU,CAAC,KAAK,CAAC;AAC1D,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC;AACrC,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,230 @@
1
+ export const spacing = {
2
+ none: 0,
3
+ xs: 1,
4
+ sm: 2,
5
+ md: 3,
6
+ lg: 4,
7
+ xl: 5,
8
+ xxl: 6,
9
+ };
10
+ export const borders = {
11
+ thin: {
12
+ top: "─",
13
+ bottom: "─",
14
+ left: "│",
15
+ right: "│",
16
+ topLeft: "┌",
17
+ topRight: "┐",
18
+ bottomLeft: "└",
19
+ bottomRight: "┘",
20
+ cross: "┼",
21
+ horizontal: "─",
22
+ vertical: "│",
23
+ },
24
+ thick: {
25
+ top: "═",
26
+ bottom: "═",
27
+ left: "║",
28
+ right: "║",
29
+ topLeft: "╔",
30
+ topRight: "╗",
31
+ bottomLeft: "╚",
32
+ bottomRight: "╝",
33
+ cross: "╬",
34
+ horizontal: "═",
35
+ vertical: "║",
36
+ },
37
+ rounded: {
38
+ top: "─",
39
+ bottom: "─",
40
+ left: "│",
41
+ right: "│",
42
+ topLeft: "╭",
43
+ topRight: "╮",
44
+ bottomLeft: "╰",
45
+ bottomRight: "╯",
46
+ cross: "┼",
47
+ horizontal: "─",
48
+ vertical: "│",
49
+ },
50
+ double: {
51
+ top: "═",
52
+ bottom: "═",
53
+ left: "║",
54
+ right: "║",
55
+ topLeft: "╦",
56
+ topRight: "╦",
57
+ bottomLeft: "╩",
58
+ bottomRight: "╩",
59
+ cross: "╬",
60
+ horizontal: "═",
61
+ vertical: "║",
62
+ },
63
+ minimal: {
64
+ top: " ",
65
+ bottom: " ",
66
+ left: " ",
67
+ right: " ",
68
+ topLeft: " ",
69
+ topRight: " ",
70
+ bottomLeft: " ",
71
+ bottomRight: " ",
72
+ cross: "·",
73
+ horizontal: "·",
74
+ vertical: "·",
75
+ },
76
+ industrial: {
77
+ top: "━",
78
+ bottom: "━",
79
+ left: "┃",
80
+ right: "┃",
81
+ topLeft: "┏",
82
+ topRight: "┓",
83
+ bottomLeft: "┗",
84
+ bottomRight: "┛",
85
+ cross: "╋",
86
+ horizontal: "━",
87
+ vertical: "┃",
88
+ },
89
+ };
90
+ export const animations = {
91
+ durations: {
92
+ instant: 50,
93
+ fast: 100,
94
+ normal: 200,
95
+ slow: 400,
96
+ slower: 600,
97
+ verySlow: 1000,
98
+ },
99
+ easing: {
100
+ linear: "linear",
101
+ easeIn: "ease-in",
102
+ easeOut: "ease-out",
103
+ easeInOut: "ease-in-out",
104
+ bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
105
+ smooth: "cubic-bezier(0.4, 0, 0.2, 1)",
106
+ },
107
+ types: {
108
+ fadeIn: { duration: 150, easing: "ease-in" },
109
+ fadeOut: { duration: 100, easing: "ease-out" },
110
+ slideUp: { duration: 200, easing: "ease-out" },
111
+ slideDown: { duration: 200, easing: "ease-out" },
112
+ pulse: { duration: 800, easing: "ease-in-out" },
113
+ breathe: { duration: 1200, easing: "ease-in-out" },
114
+ typing: { duration: 40 },
115
+ bounce: { duration: 300, easing: "ease-out" },
116
+ spin: { duration: 80 },
117
+ wave: { duration: 150 },
118
+ },
119
+ };
120
+ export const typography = {
121
+ sizes: {
122
+ xs: 8,
123
+ sm: 10,
124
+ base: 12,
125
+ lg: 14,
126
+ xl: 16,
127
+ xxl: 20,
128
+ },
129
+ weights: {
130
+ regular: "400",
131
+ medium: "500",
132
+ bold: "700",
133
+ },
134
+ lineHeight: {
135
+ tight: 1.2,
136
+ normal: 1.5,
137
+ relaxed: 1.75,
138
+ },
139
+ };
140
+ export const indicators = {
141
+ success: "✓",
142
+ error: "✗",
143
+ warning: "!",
144
+ info: "i",
145
+ pending: "·",
146
+ running: "○",
147
+ online: "●",
148
+ offline: "○",
149
+ arrow: "→",
150
+ arrowRight: "▶",
151
+ arrowLeft: "◀",
152
+ arrowUp: "▲",
153
+ arrowDown: "▼",
154
+ selected: "›",
155
+ unselected: " ",
156
+ bullet: "·",
157
+ dash: "─",
158
+ pipe: "│",
159
+ dot: "·",
160
+ star: "★",
161
+ diamond: "◆",
162
+ square: "■",
163
+ triangle: "▲",
164
+ horizontalEllipsis: "…",
165
+ verticalEllipsis: "⋮",
166
+ checkbox: {
167
+ checked: "[x]",
168
+ unchecked: "[ ]",
169
+ partial: "[~]",
170
+ },
171
+ expandable: {
172
+ collapsed: "▸",
173
+ expanded: "▾",
174
+ },
175
+ brackets: {
176
+ left: "「",
177
+ right: "」",
178
+ },
179
+ progress: {
180
+ filled: "█",
181
+ empty: "░",
182
+ half: "▒",
183
+ marker: "▸",
184
+ glow: "█",
185
+ },
186
+ };
187
+ export const dimensions = {
188
+ minTerminalWidth: 60,
189
+ minTerminalHeight: 16,
190
+ breakpoints: {
191
+ tiny: 60,
192
+ small: 80,
193
+ medium: 120,
194
+ large: 160,
195
+ xlarge: 200,
196
+ },
197
+ components: {
198
+ headerHeight: 2,
199
+ headerHeightCompact: 1,
200
+ footerHeight: 2,
201
+ inputHeight: 2,
202
+ inputHeightCompact: 1,
203
+ minPanelWidth: 20,
204
+ minPanelHeight: 8,
205
+ sidebarWidth: 30,
206
+ sidebarWidthCompact: 20,
207
+ },
208
+ padding: {
209
+ panel: 1,
210
+ panelCompact: 0,
211
+ element: 1,
212
+ },
213
+ };
214
+ export const zIndex = {
215
+ base: 0,
216
+ content: 1,
217
+ panel: 5,
218
+ menu: 10,
219
+ overlay: 50,
220
+ modal: 100,
221
+ tooltip: 500,
222
+ notification: 1000,
223
+ };
224
+ export const shadows = {
225
+ none: "",
226
+ subtle: "│ ",
227
+ medium: "║ ",
228
+ strong: "┃ ",
229
+ };
230
+ //# sourceMappingURL=tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../src/tui/styles/tokens.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,CAAC;IACP,EAAE,EAAE,CAAC;IACL,EAAE,EAAE,CAA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AE,CAAC;IACV,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,GAAG;IACV,OAAO,EAAE,GAAG;IACZ,YAAY,EAAE,IAAI;CACV,CAAC;AAEX,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranker/raxflow",
3
- "version": "2.0.5",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",