@mks2508/mks-ui 0.8.1 → 0.9.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/dist/index.css +1594 -0
- package/dist/react-ui/blocks/Sidebar/animations/tooltip.css +330 -0
- package/dist/react-ui/blocks/Terminal/TerminalDisplay.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/TerminalDisplay.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/TerminalPanel.js +1 -1
- package/dist/react-ui/blocks/Terminal/components/LogLineBadges/LogLineBadges.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/components/TerminalLogBadge/TerminalLogBadge.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/components/TerminalLogBadge/TerminalLogBadge.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalActionBar/TerminalActionBar.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalActionBar/TerminalActionBar.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalConnectionStatus/TerminalConnectionStatus.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalConnectionStatus/TerminalConnectionStatus.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalFontControls/TerminalFontControls.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalFontControls/TerminalFontControls.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalSplitButton/TerminalSplitButton.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalSplitButton/TerminalSplitButton.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalStatusBar/TerminalStatusBar.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/controls/TerminalStatusBar/TerminalStatusBar.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/display.js +4 -4
- package/dist/react-ui/blocks/Terminal/index.d.ts +16 -28
- package/dist/react-ui/blocks/Terminal/index.d.ts.map +1 -1
- package/dist/react-ui/blocks/Terminal/index.js +2 -23
- package/dist/react-ui/blocks/Terminal/interactive.d.ts +18 -0
- package/dist/react-ui/blocks/Terminal/interactive.d.ts.map +1 -0
- package/dist/react-ui/blocks/Terminal/interactive.js +3 -0
- package/dist/react-ui/blocks/Terminal/panel/TerminalDebugPanel/TerminalDebugPanel.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalDebugPanel/TerminalDebugPanel.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalFilterDropdown/TerminalFilterDropdown.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalFilterDropdown/TerminalFilterDropdown.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalFilterDropdown/terminal-filter-dropdown.module.css +60 -0
- package/dist/react-ui/blocks/Terminal/panel/TerminalFilterTabs/TerminalFilterTabs.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalFilterTabs/TerminalFilterTabs.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalInteractivePanelRestty.js +2 -2
- package/dist/react-ui/blocks/Terminal/panel/TerminalInteractivePanelWterm.d.ts.map +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalInteractivePanelXterm.js +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalLogsPanel/TerminalLogsPanel.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalLogsPanel/TerminalLogsPanel.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalLogsPanel/index.js +2 -2
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelChrome.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelChrome.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelFooter/TerminalPanelFooter.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelFooter/TerminalPanelFooter.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelHeader/TerminalPanelHeader.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelHeader/TerminalPanelHeader.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelToolbar/TerminalPanelToolbar.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalPanelToolbar/TerminalPanelToolbar.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSessionControl/TerminalSessionControl.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSessionControl/TerminalSessionControl.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/TerminalSessionTabs.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/TerminalSessionTabs.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/terminal-session-tabs.module.css +60 -0
- package/dist/react-ui/blocks/Terminal/panel/TerminalSettingsPopover/TerminalSettingsPopover.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalSettingsPopover/TerminalSettingsPopover.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalThemeSelector/TerminalThemeSelector.styles.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/panel/TerminalThemeSelector/TerminalThemeSelector.types.d.ts +1 -1
- package/dist/react-ui/blocks/Terminal/restty/ResttyTerminal.js +1 -1
- package/dist/react-ui/blocks/Terminal/restty.d.ts +27 -0
- package/dist/react-ui/blocks/Terminal/restty.d.ts.map +1 -0
- package/dist/react-ui/blocks/Terminal/restty.js +12 -0
- package/dist/react-ui/blocks/Terminal/wterm.d.ts +20 -0
- package/dist/react-ui/blocks/Terminal/wterm.d.ts.map +1 -0
- package/dist/react-ui/blocks/Terminal/wterm.js +4 -0
- package/dist/react-ui/blocks/Terminal/xterm.d.ts +26 -0
- package/dist/react-ui/blocks/Terminal/xterm.d.ts.map +1 -0
- package/dist/react-ui/blocks/Terminal/xterm.js +9 -0
- package/dist/react-ui/components/MorphingPopover/morphing-popover.module.css +154 -0
- package/dist/react-ui/index.d.ts +2 -2
- package/dist/react-ui/index.d.ts.map +1 -1
- package/dist/react-ui/index.js +2 -6
- package/dist/react-ui/primitives/AutoHeight/index.d.ts +1 -1
- package/dist/react-ui/primitives/CountingNumber/index.d.ts +1 -1
- package/dist/react-ui/primitives/DotMatrix/DotMatrix.types.d.ts +1 -1
- package/dist/react-ui/primitives/DotMatrix/dot.css +364 -0
- package/dist/react-ui/primitives/GooeyMorphingSurface/gooey-morphing.css +112 -0
- package/dist/react-ui/primitives/waapi/Morph/techniques/useViewTransitions.module.css +20 -0
- package/dist/react-ui/primitives/waapi/SlidingNumber/SlidingNumber.styles.d.ts +1 -1
- package/dist/react-ui/primitives/waapi/SlidingText/SlidingText.styles.d.ts +1 -1
- package/dist/react-ui/ui/Accordion/Accordion.styles.d.ts +1 -1
- package/dist/react-ui/ui/Accordion/Accordion.types.d.ts +1 -1
- package/dist/react-ui/ui/AlertDialog/AlertDialog.styles.d.ts +1 -1
- package/dist/react-ui/ui/AlertDialog/AlertDialog.types.d.ts +1 -1
- package/dist/react-ui/ui/Badge/Badge.styles.d.ts +1 -1
- package/dist/react-ui/ui/Badge/Badge.types.d.ts +1 -1
- package/dist/react-ui/ui/Button/Button.styles.d.ts +1 -1
- package/dist/react-ui/ui/Button/Button.types.d.ts +1 -1
- package/dist/react-ui/ui/Card/Card.styles.d.ts +1 -1
- package/dist/react-ui/ui/Card/Card.types.d.ts +1 -1
- package/dist/react-ui/ui/Checkbox/Checkbox.styles.d.ts +1 -1
- package/dist/react-ui/ui/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/react-ui/ui/Combobox/Combobox.styles.d.ts +1 -1
- package/dist/react-ui/ui/Combobox/Combobox.types.d.ts +1 -1
- package/dist/react-ui/ui/CornerBracket/CornerBracket.styles.d.ts +1 -1
- package/dist/react-ui/ui/CornerBracket/CornerBracket.types.d.ts +1 -1
- package/dist/react-ui/ui/DataCard/DataCard.styles.d.ts +1 -1
- package/dist/react-ui/ui/DataCard/DataCard.types.d.ts +1 -1
- package/dist/react-ui/ui/DataCard/index.d.ts +1 -1
- package/dist/react-ui/ui/Dialog/Dialog.styles.d.ts +1 -1
- package/dist/react-ui/ui/Dialog/Dialog.types.d.ts +1 -1
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.styles.d.ts +1 -1
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.types.d.ts +1 -1
- package/dist/react-ui/ui/DynamicToggle/DynamicToggle.css +369 -0
- package/dist/react-ui/ui/DynamicToggle/DynamicToggle.styles.d.ts +1 -1
- package/dist/react-ui/ui/DynamicToggle/DynamicToggle.types.d.ts +1 -1
- package/dist/react-ui/ui/Field/Field.styles.d.ts +1 -1
- package/dist/react-ui/ui/Field/Field.types.d.ts +1 -1
- package/dist/react-ui/ui/FileIcon/FileIcon.styles.d.ts +1 -1
- package/dist/react-ui/ui/FileIcon/FileIcon.types.d.ts +1 -1
- package/dist/react-ui/ui/FileItem/FileItem.styles.d.ts +1 -1
- package/dist/react-ui/ui/FileItem/FileItem.types.d.ts +1 -1
- package/dist/react-ui/ui/FilePanel/FilePanel.styles.d.ts +1 -1
- package/dist/react-ui/ui/FilePanel/FilePanel.types.d.ts +1 -1
- package/dist/react-ui/ui/FileTree/FileTree.styles.d.ts +1 -1
- package/dist/react-ui/ui/FileTree/FileTree.types.d.ts +1 -1
- package/dist/react-ui/ui/GooeyButton/GooeyButton.types.d.ts +1 -1
- package/dist/react-ui/ui/GooeyButton/gooey.css +47 -0
- package/dist/react-ui/ui/Input/Input.styles.d.ts +1 -1
- package/dist/react-ui/ui/Input/Input.types.d.ts +1 -1
- package/dist/react-ui/ui/InputGroup/InputGroup.styles.d.ts +1 -1
- package/dist/react-ui/ui/InputGroup/InputGroup.types.d.ts +1 -1
- package/dist/react-ui/ui/Label/Label.styles.d.ts +1 -1
- package/dist/react-ui/ui/Label/Label.types.d.ts +1 -1
- package/dist/react-ui/ui/Menu/Menu.styles.d.ts +1 -1
- package/dist/react-ui/ui/Menu/Menu.types.d.ts +2 -2
- package/dist/react-ui/ui/MiddleTruncatePath/MiddleTruncatePath.styles.d.ts +1 -1
- package/dist/react-ui/ui/MiddleTruncatePath/MiddleTruncatePath.types.d.ts +1 -1
- package/dist/react-ui/ui/OperationCard/OperationCard.styles.d.ts +1 -1
- package/dist/react-ui/ui/OperationCard/OperationCard.types.d.ts +2 -2
- package/dist/react-ui/ui/Popover/Popover.styles.d.ts +1 -1
- package/dist/react-ui/ui/Popover/Popover.types.d.ts +1 -1
- package/dist/react-ui/ui/Progress/Progress.styles.d.ts +1 -1
- package/dist/react-ui/ui/Progress/Progress.types.d.ts +2 -2
- package/dist/react-ui/ui/Select/Select.styles.d.ts +1 -1
- package/dist/react-ui/ui/Select/Select.types.d.ts +1 -1
- package/dist/react-ui/ui/Separator/Separator.styles.d.ts +1 -1
- package/dist/react-ui/ui/Separator/Separator.types.d.ts +1 -1
- package/dist/react-ui/ui/Switch/Switch.styles.d.ts +1 -1
- package/dist/react-ui/ui/Switch/Switch.types.d.ts +1 -1
- package/dist/react-ui/ui/Tabs/Tabs.css +38 -0
- package/dist/react-ui/ui/Tabs/Tabs.styles.d.ts +1 -1
- package/dist/react-ui/ui/Tabs/Tabs.types.d.ts +3 -3
- package/dist/react-ui/ui/TextFlow/TextFlow.styles.d.ts +1 -1
- package/dist/react-ui/ui/Textarea/Textarea.styles.d.ts +1 -1
- package/dist/react-ui/ui/Textarea/Textarea.types.d.ts +1 -1
- package/dist/react-ui/ui/Tooltip/Tooltip.styles.d.ts +1 -1
- package/dist/react-ui/ui/Tooltip/Tooltip.types.d.ts +1 -1
- package/package.json +21 -1
- /package/dist/{react-ui/blocks/Sidebar/animations/tooltip-keyframes-DRT9W6Xj.css → css/blocks-Sidebar-animations-tooltip.css} +0 -0
- /package/dist/{react-ui/blocks/Terminal/panel/TerminalFilterDropdown/terminal-filter-dropdown.module-G5zpw08N.css → css/blocks-Terminal-panel-TerminalFilterDropdown-terminal-filter-dropdown.module.css} +0 -0
- /package/dist/{react-ui/blocks/Terminal/panel/TerminalSessionTabs/terminal-session-tabs.module-BAOuAeiX.css → css/blocks-Terminal-panel-TerminalSessionTabs-terminal-session-tabs.module.css} +0 -0
- /package/dist/{react-ui/components/MorphingPopover/morphing-popover.module-T3s-wJN-.css → css/components-MorphingPopover-morphing-popover.module.css} +0 -0
- /package/dist/{react-ui/primitives/DotMatrix/dot-matrix-B8DHjPGb.css → css/primitives-DotMatrix-dot.css} +0 -0
- /package/dist/{react-ui/primitives/GooeyMorphingSurface/gooey-morphing-surface-DfdjAg5U.css → css/primitives-GooeyMorphingSurface-gooey.css} +0 -0
- /package/dist/{react-ui/primitives/waapi/Morph/techniques/useViewTransitions.module-DNDWYN8q.css → css/primitives-waapi-Morph-techniques-useViewTransitions.module.css} +0 -0
- /package/dist/{react-ui/ui/DynamicToggle/DynamicToggle-DY2Hle7P.css → css/ui-DynamicToggle-DynamicToggle.css} +0 -0
- /package/dist/{react-ui/ui/GooeyButton/gooey-button-8rHWiw0w.css → css/ui-GooeyButton-gooey.css} +0 -0
- /package/dist/{react-ui/ui/Tabs/Tabs-DqzZRGB3.css → css/ui-Tabs-Tabs.css} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Terminal · interactive router sub-entry.
|
|
3
|
+
*
|
|
4
|
+
* Exports `TerminalInteractivePanel`, the thin router that lazy-loads the
|
|
5
|
+
* xterm/restty/wterm implementations based on settings. The router file
|
|
6
|
+
* itself uses `lazy()` so importing this entry does NOT eagerly pull
|
|
7
|
+
* peer deps — they only resolve once the matching renderer is selected
|
|
8
|
+
* at runtime.
|
|
9
|
+
*
|
|
10
|
+
* Still, every renderer's peer deps must be installed where it might
|
|
11
|
+
* be used. Prefer importing each renderer's sub-entry directly when
|
|
12
|
+
* you only need one.
|
|
13
|
+
*
|
|
14
|
+
* @module @mks2508/mks-ui/react/blocks/Terminal/interactive
|
|
15
|
+
*/
|
|
16
|
+
export { TerminalInteractivePanel } from './panel/TerminalInteractivePanel';
|
|
17
|
+
export type { ITerminalInteractivePanelProps, ITerminalInteractivePanelRef, } from './panel/TerminalInteractivePanel.types';
|
|
18
|
+
//# sourceMappingURL=interactive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactive.d.ts","sourceRoot":"","sources":["../../../../src/react-ui/blocks/Terminal/interactive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EACV,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,wCAAwC,CAAC"}
|
package/dist/react-ui/blocks/Terminal/panel/TerminalDebugPanel/TerminalDebugPanel.styles.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalDebugPanel
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalDebugPanel visual regions. */
|
|
8
8
|
export type TerminalDebugPanelSlot = 'root' | 'toggleHeader' | 'toggleChevron' | 'toggleLabel' | 'fpsLabel' | 'content' | 'debugRow' | 'debugRowLabel' | 'debugRowValue';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalDebugPanel/TerminalDebugPanel.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalDebugPanel
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TerminalDebugPanelSlot } from './TerminalDebugPanel.styles';
|
|
8
8
|
/**
|
|
9
9
|
* Props for the TerminalDebugPanel component.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalFilterDropdown
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalFilterDropdown visual regions. */
|
|
8
8
|
export type TerminalFilterDropdownSlot = 'root' | 'trigger' | 'triggerBadge' | 'dropdown' | 'option' | 'optionDot' | 'optionLabel' | 'optionBadge';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalFilterDropdown/TerminalFilterDropdown.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalFilterDropdown
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TLogLevelFilter, TLogLevel } from '../TerminalLogsPanel.types';
|
|
8
8
|
import type { TerminalFilterDropdownSlot } from './TerminalFilterDropdown.styles';
|
|
9
9
|
/**
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TerminalFilterDropdown Styles.
|
|
3
|
+
*
|
|
4
|
+
* Uses CSS Anchor Positioning API for dropdown placement.
|
|
5
|
+
* Button acts as anchor, dropdown is positioned relative to it
|
|
6
|
+
* with automatic flip behavior at viewport edges.
|
|
7
|
+
*
|
|
8
|
+
* @module components/devenv/terminal/panel/terminal-filter-dropdown/styles
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* Trigger button - acts as CSS anchor */
|
|
12
|
+
.triggerButton {
|
|
13
|
+
anchor-name: --filter-dropdown-anchor;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Dropdown menu - anchored to trigger button */
|
|
17
|
+
.dropdownMenu {
|
|
18
|
+
position-anchor: --filter-dropdown-anchor;
|
|
19
|
+
position: fixed;
|
|
20
|
+
|
|
21
|
+
/* Position below and left-aligned */
|
|
22
|
+
left: anchor(left);
|
|
23
|
+
top: anchor(bottom);
|
|
24
|
+
margin-top: 4px;
|
|
25
|
+
|
|
26
|
+
/* Flip to above if no room below */
|
|
27
|
+
position-try-fallbacks: flip-block, flip-inline;
|
|
28
|
+
|
|
29
|
+
min-width: 180px;
|
|
30
|
+
z-index: 50;
|
|
31
|
+
|
|
32
|
+
/* Hidden by default */
|
|
33
|
+
display: none;
|
|
34
|
+
opacity: 0;
|
|
35
|
+
transform: translateY(-4px);
|
|
36
|
+
transition: opacity 0.15s ease-out, transform 0.15s ease-out;
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.dropdownMenu[data-open="true"] {
|
|
41
|
+
display: block;
|
|
42
|
+
opacity: 1;
|
|
43
|
+
transform: translateY(0);
|
|
44
|
+
pointer-events: auto;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Fallback for browsers without CSS Anchor Positioning */
|
|
48
|
+
@supports not (anchor-name: none) {
|
|
49
|
+
.dropdownMenu {
|
|
50
|
+
position: absolute;
|
|
51
|
+
left: 0;
|
|
52
|
+
top: calc(100% + 4px);
|
|
53
|
+
z-index: 50;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.dropdownMenu[data-open="true"] {
|
|
57
|
+
display: block;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
package/dist/react-ui/blocks/Terminal/panel/TerminalFilterTabs/TerminalFilterTabs.styles.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalFilterTabs
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalFilterTabs visual regions. */
|
|
8
8
|
export type TerminalFilterTabsSlot = 'root' | 'tab' | 'tabLabel' | 'badge' | 'activeOverlay';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalFilterTabs/TerminalFilterTabs.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalFilterTabs
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TLogLevelFilter, TLogLevel } from '../TerminalLogsPanel.types';
|
|
8
8
|
import type { TerminalFilterTabsSlot } from './TerminalFilterTabs.styles';
|
|
9
9
|
/**
|
|
@@ -6,9 +6,9 @@ import { TerminalDisconnectedOverlay } from "../controls/TerminalAtoms.js";
|
|
|
6
6
|
import { TerminalActionBar } from "../controls/TerminalActionBar/index.js";
|
|
7
7
|
import { TerminalStatusBar } from "../controls/TerminalStatusBar/index.js";
|
|
8
8
|
import { TerminalPanelChrome } from "./TerminalPanelChrome.js";
|
|
9
|
-
import { ResttyTerminal } from "../restty/ResttyTerminal.js";
|
|
10
|
-
import "../restty/index.js";
|
|
11
9
|
import { TerminalDebugPanel } from "./TerminalDebugPanel/index.js";
|
|
10
|
+
import { ResttyTerminal } from "../restty/ResttyTerminal.js";
|
|
11
|
+
import "../restty.js";
|
|
12
12
|
import { forwardRef, useImperativeHandle } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminalInteractivePanelWterm.d.ts","sourceRoot":"","sources":["../../../../../src/react-ui/blocks/Terminal/panel/TerminalInteractivePanelWterm.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAcH,OAAO,KAAK,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"TerminalInteractivePanelWterm.d.ts","sourceRoot":"","sources":["../../../../../src/react-ui/blocks/Terminal/panel/TerminalInteractivePanelWterm.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAcH,OAAO,KAAK,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAiDrH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,6BAA6B,yIA2PzC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { getTerminalTheme } from "../Terminal.theme.js";
|
|
4
3
|
import { useTerminalWebSocket } from "../hooks/useTerminalWebSocket.js";
|
|
5
4
|
import { useTerminalSettings } from "../hooks/useTerminalSettings.js";
|
|
6
5
|
import { TerminalClearButton, TerminalDimensionsBadge, TerminalDisconnectedOverlay, TerminalReconnectButton } from "../controls/TerminalAtoms.js";
|
|
@@ -10,6 +9,7 @@ import { TerminalActionBar } from "../controls/TerminalActionBar/index.js";
|
|
|
10
9
|
import { TerminalConnectionStatus } from "../controls/TerminalConnectionStatus/index.js";
|
|
11
10
|
import { TerminalStatusBar } from "../controls/TerminalStatusBar/index.js";
|
|
12
11
|
import { TerminalPanelChrome } from "./TerminalPanelChrome.js";
|
|
12
|
+
import { getTerminalTheme } from "../Terminal.theme.js";
|
|
13
13
|
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { Terminal } from "@xterm/xterm";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalLogsPanel
|
|
8
8
|
*/
|
|
9
|
-
import type { StyleSlots } from '
|
|
9
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
10
10
|
/** Slot names for TerminalLogsPanel visual regions. */
|
|
11
11
|
export type TerminalLogsPanelSlot = 'root' | 'terminalContainer' | 'actionBar' | 'actionBarDivider' | 'emptyState' | 'emptyStateIcon' | 'emptyStateTitle' | 'emptyStateText' | 'containerButton';
|
|
12
12
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalLogsPanel
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { IParsedLogEntry, TLogLevel } from '../../parsing';
|
|
8
8
|
import type { ITerminalSession, TLogLevelFilter } from '../TerminalLogsPanel.types';
|
|
9
9
|
import type { TerminalLogsPanelSlot } from './TerminalLogsPanel.styles';
|
|
@@ -10,13 +10,13 @@ import { SearchIcon } from "../../../../icons/lucide-animated/search.js";
|
|
|
10
10
|
import { TerminalIcon } from "../../../../icons/lucide-animated/terminal.js";
|
|
11
11
|
import "../../../../icons/lucide-animated/index.js";
|
|
12
12
|
import { IconWrapper } from "../../../../lib/icon-wrapper.js";
|
|
13
|
-
import { getTerminalTheme } from "../../Terminal.theme.js";
|
|
14
13
|
import { LogParserService } from "../../parsing/LogParserService.js";
|
|
15
14
|
import { ACTION_BUTTON_STYLES, PRIMARY_GLOW, TOGGLE_STYLES } from "../../Terminal.tokens.js";
|
|
16
15
|
import { useTerminalSettings } from "../../hooks/useTerminalSettings.js";
|
|
17
16
|
import { TerminalPanelChrome } from "../TerminalPanelChrome.js";
|
|
18
|
-
import { TerminalFilterDropdown } from "../TerminalFilterDropdown/index.js";
|
|
19
17
|
import { TerminalPanelFooter } from "../TerminalPanelFooter/index.js";
|
|
18
|
+
import { getTerminalTheme } from "../../Terminal.theme.js";
|
|
19
|
+
import { TerminalFilterDropdown } from "../TerminalFilterDropdown/index.js";
|
|
20
20
|
import { LogLinesViewer } from "../LogLinesViewer.js";
|
|
21
21
|
import { terminalLogsPanelStyles } from "./TerminalLogsPanel.styles.js";
|
|
22
22
|
import { forwardRef, useEffect, useImperativeHandle, useMemo, useRef } from "react";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @module components/devenv/terminal/panel/chrome/styles
|
|
9
9
|
*/
|
|
10
10
|
import { type VariantProps } from 'class-variance-authority';
|
|
11
|
-
import type { StyleSlots } from '
|
|
11
|
+
import type { StyleSlots } from '../../../../core/types';
|
|
12
12
|
/** Slot names for TerminalPanelChrome sub-regions */
|
|
13
13
|
export type TerminalChromeSlot = 'root' | 'accentLine' | 'accentGradient' | 'accentShimmer' | 'header' | 'sessionTabs' | 'actionBar' | 'content' | 'footer';
|
|
14
14
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module components/devenv/terminal/panel/chrome/types
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../core/types';
|
|
7
7
|
import type { ITerminalSession } from './TerminalLogsPanel.types';
|
|
8
8
|
import type { TerminalChromeSlot, TerminalChromeVariantProps } from './TerminalPanelChrome.styles';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelFooter/TerminalPanelFooter.styles.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelFooter
|
|
8
8
|
*/
|
|
9
|
-
import type { StyleSlots } from '
|
|
9
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
10
10
|
/** Slot names for TerminalPanelFooter visual regions. */
|
|
11
11
|
export type TerminalPanelFooterSlot = 'root' | 'separator' | 'stats' | 'statItem' | 'statLabel' | 'statValue' | 'filterInfo';
|
|
12
12
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelFooter/TerminalPanelFooter.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelFooter
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TLogLevelFilter } from '../../parsing/LogParser.types';
|
|
8
8
|
import type { TerminalPanelFooterSlot } from './TerminalPanelFooter.styles';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelHeader/TerminalPanelHeader.styles.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelHeader
|
|
8
8
|
*/
|
|
9
|
-
import type { StyleSlots } from '
|
|
9
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
10
10
|
/** Slot names for TerminalPanelHeader visual regions. */
|
|
11
11
|
export type TerminalPanelHeaderSlot = 'root' | 'trafficLights' | 'titleArea' | 'titleIcon' | 'titleText' | 'viewModeControl' | 'viewModeButton' | 'statusDot' | 'statusLabel';
|
|
12
12
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelHeader/TerminalPanelHeader.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelHeader
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TerminalPanelHeaderSlot } from './TerminalPanelHeader.styles';
|
|
8
8
|
/**
|
|
9
9
|
* Props for the TerminalPanelHeader component.
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelToolbar/TerminalPanelToolbar.styles.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelToolbar
|
|
7
7
|
*/
|
|
8
|
-
import type { StyleSlots } from '
|
|
8
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
9
9
|
/** Slot names for TerminalPanelToolbar visual regions. */
|
|
10
10
|
export type TerminalPanelToolbarSlot = 'root' | 'filterGroup' | 'filterButton' | 'separator' | 'toggleGroup' | 'toggleButton' | 'actionGroup' | 'actionButton';
|
|
11
11
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalPanelToolbar/TerminalPanelToolbar.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalPanelToolbar
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TLogLevel } from '../../parsing';
|
|
8
8
|
import type { TerminalPanelToolbarSlot } from './TerminalPanelToolbar.styles';
|
|
9
9
|
/** Log level filter type — 'all' or a specific level. */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSessionControl
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalSessionControl visual regions. */
|
|
8
8
|
export type TerminalSessionControlSlot = 'root' | 'statusDot' | 'containerName' | 'liveLabel' | 'addButton' | 'refreshButton' | 'closeButton' | 'dropdown' | 'dropdownItem';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalSessionControl/TerminalSessionControl.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSessionControl
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TerminalSessionControlSlot } from './TerminalSessionControl.styles';
|
|
8
8
|
/**
|
|
9
9
|
* Container information for dropdown display.
|
package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/TerminalSessionTabs.styles.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSessionTabs
|
|
8
8
|
*/
|
|
9
|
-
import type { StyleSlots } from '
|
|
9
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
10
10
|
/** Slot names for TerminalSessionTabs visual regions. */
|
|
11
11
|
export type TerminalSessionTabsSlot = 'root' | 'tab' | 'tabIndicator' | 'tabGlowBar' | 'statusDot' | 'tabName' | 'closeButton' | 'addButton' | 'dropdown' | 'dropdownItem' | 'infoBadge';
|
|
12
12
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/TerminalSessionTabs.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSessionTabs
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { ITerminalSession } from '../TerminalLogsPanel.types';
|
|
8
8
|
import type { TerminalSessionTabsSlot } from './TerminalSessionTabs.styles';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalSessionTabs/terminal-session-tabs.module.css
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TerminalSessionTabs Dropdown Styles.
|
|
3
|
+
*
|
|
4
|
+
* Uses CSS Anchor Positioning API for the "add container" dropdown.
|
|
5
|
+
* The + button acts as anchor, dropdown is positioned below it
|
|
6
|
+
* with automatic flip behavior at viewport edges.
|
|
7
|
+
*
|
|
8
|
+
* @module components/devenv/terminal/panel/terminal-session-tabs/styles
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* + button - acts as CSS anchor */
|
|
12
|
+
.addButton {
|
|
13
|
+
anchor-name: --session-tabs-add-anchor;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Container dropdown - anchored to + button */
|
|
17
|
+
.containerDropdown {
|
|
18
|
+
position-anchor: --session-tabs-add-anchor;
|
|
19
|
+
position: fixed;
|
|
20
|
+
|
|
21
|
+
/* Position below and left-aligned */
|
|
22
|
+
left: anchor(left);
|
|
23
|
+
top: anchor(bottom);
|
|
24
|
+
margin-top: 4px;
|
|
25
|
+
|
|
26
|
+
/* Flip to above if no room below */
|
|
27
|
+
position-try-fallbacks: flip-block, flip-inline;
|
|
28
|
+
|
|
29
|
+
min-width: 200px;
|
|
30
|
+
z-index: 50;
|
|
31
|
+
|
|
32
|
+
/* Hidden by default */
|
|
33
|
+
display: none;
|
|
34
|
+
opacity: 0;
|
|
35
|
+
transform: translateY(-4px);
|
|
36
|
+
transition: opacity 0.15s ease-out, transform 0.15s ease-out;
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.containerDropdown[data-open="true"] {
|
|
41
|
+
display: block;
|
|
42
|
+
opacity: 1;
|
|
43
|
+
transform: translateY(0);
|
|
44
|
+
pointer-events: auto;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Fallback for browsers without CSS Anchor Positioning */
|
|
48
|
+
@supports not (anchor-name: none) {
|
|
49
|
+
.containerDropdown {
|
|
50
|
+
position: absolute;
|
|
51
|
+
left: 0;
|
|
52
|
+
top: calc(100% + 4px);
|
|
53
|
+
z-index: 50;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.containerDropdown[data-open="true"] {
|
|
57
|
+
display: block;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSettingsPopover
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalSettingsPopover visual regions. */
|
|
8
8
|
export type TerminalSettingsPopoverSlot = 'root' | 'trigger' | 'header' | 'section' | 'sectionLabel' | 'segmentedControl' | 'segmentedButton' | 'fontControls' | 'toggle' | 'resetButton';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalSettingsPopover
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TerminalSettingsPopoverSlot } from './TerminalSettingsPopover.styles';
|
|
8
8
|
/**
|
|
9
9
|
* Props for the TerminalSettingsPopover component.
|
package/dist/react-ui/blocks/Terminal/panel/TerminalThemeSelector/TerminalThemeSelector.styles.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalThemeSelector
|
|
5
5
|
*/
|
|
6
|
-
import type { StyleSlots } from '
|
|
6
|
+
import type { StyleSlots } from '../../../../../core/types';
|
|
7
7
|
/** Slot names for TerminalThemeSelector visual regions. */
|
|
8
8
|
export type TerminalThemeSelectorSlot = 'root' | 'trigger' | 'searchInput' | 'themeList' | 'sectionLabel' | 'themeOption';
|
|
9
9
|
/**
|
package/dist/react-ui/blocks/Terminal/panel/TerminalThemeSelector/TerminalThemeSelector.types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @mks2508/mks-ui/react/blocks/Terminal/panel/TerminalThemeSelector
|
|
5
5
|
*/
|
|
6
|
-
import type { SlotOverrides } from '
|
|
6
|
+
import type { SlotOverrides } from '../../../../../core/types';
|
|
7
7
|
import type { TerminalThemeSelectorSlot } from './TerminalThemeSelector.styles';
|
|
8
8
|
/**
|
|
9
9
|
* Props for the TerminalThemeSelector component.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { getSynthwaveGhosttyTheme, xtermThemeToGhostty } from "../Terminal.theme.restty.js";
|
|
3
4
|
import { ResttyProvider } from "./ResttyContext.js";
|
|
4
5
|
import { useResttySession } from "./ResttySessionProvider.js";
|
|
5
|
-
import { getSynthwaveGhosttyTheme, xtermThemeToGhostty } from "../Terminal.theme.restty.js";
|
|
6
6
|
import { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Terminal · restty sub-entry.
|
|
3
|
+
*
|
|
4
|
+
* Opt-in module that pulls `@mks2508/restty`. Consumers that don't render
|
|
5
|
+
* a restty (GPU/WASM) terminal should NOT import this file — the main
|
|
6
|
+
* `@mks2508/mks-ui/react` barrel does not re-export anything from here.
|
|
7
|
+
*
|
|
8
|
+
* For the readonly `TerminalDisplay` use the lighter
|
|
9
|
+
* `@mks2508/mks-ui/react/blocks/Terminal/display` entry instead.
|
|
10
|
+
*
|
|
11
|
+
* @module @mks2508/mks-ui/react/blocks/Terminal/restty
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import {
|
|
16
|
+
* TerminalInteractivePanelRestty,
|
|
17
|
+
* ResttyTerminal,
|
|
18
|
+
* ResttyProvider,
|
|
19
|
+
* useRestty,
|
|
20
|
+
* } from '@mks2508/mks-ui/react/blocks/Terminal/restty';
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export { TerminalInteractivePanelRestty } from './panel/TerminalInteractivePanelRestty';
|
|
24
|
+
export { TerminalThemeSelector, type ITerminalThemeSelectorProps } from './panel/TerminalThemeSelector';
|
|
25
|
+
export { ResttyTerminal, ResttySessionProvider, useResttySession, ResttyProvider, useRestty, useResttyPane, useResttyPanes, useResttyVisibility, useResttyPlugins, } from './restty/index';
|
|
26
|
+
export type { IResttyTerminalProps, IResttyTerminalRef, IResttySessionProviderProps, IResttySessionContextValue, IResttyContextValue, IUseResttyPaneReturn, IUseResttyPanesReturn, IUseResttyVisibilityOptions, IUseResttyPluginsReturn, Restty, ResttyPlugin, ResttyPluginInfo, ResttyPaneHandle, ResttyFontSource, ResttyPaneSplitDirection, GhosttyTheme, } from './restty/index';
|
|
27
|
+
//# sourceMappingURL=restty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restty.d.ts","sourceRoot":"","sources":["../../../../src/react-ui/blocks/Terminal/restty.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAGxF,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAGxG,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,EAC1B,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,GACb,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TerminalThemeSelector } from "./panel/TerminalThemeSelector/index.js";
|
|
2
|
+
import { TerminalInteractivePanelRestty } from "./panel/TerminalInteractivePanelRestty.js";
|
|
3
|
+
import { ResttyProvider, useRestty } from "./restty/ResttyContext.js";
|
|
4
|
+
import { ResttySessionProvider, useResttySession } from "./restty/ResttySessionProvider.js";
|
|
5
|
+
import { ResttyTerminal } from "./restty/ResttyTerminal.js";
|
|
6
|
+
import { useResttyPane } from "./restty/useResttyPane.js";
|
|
7
|
+
import { useResttyPanes } from "./restty/useResttyPanes.js";
|
|
8
|
+
import { useResttyVisibility } from "./restty/useResttyVisibility.js";
|
|
9
|
+
import { useResttyPlugins } from "./restty/useResttyPlugins.js";
|
|
10
|
+
import "./restty/index.js";
|
|
11
|
+
|
|
12
|
+
export { ResttyProvider, ResttySessionProvider, ResttyTerminal, TerminalInteractivePanelRestty, TerminalThemeSelector, useRestty, useResttyPane, useResttyPanes, useResttyPlugins, useResttySession, useResttyVisibility };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Terminal · wterm sub-entry.
|
|
3
|
+
*
|
|
4
|
+
* Opt-in module that pulls `@wterm/react` and `@wterm/core` peer deps.
|
|
5
|
+
* Consumers that don't use wterm should NOT import this file — the main
|
|
6
|
+
* `@mks2508/mks-ui/react` barrel does not re-export anything from here.
|
|
7
|
+
*
|
|
8
|
+
* @module @mks2508/mks-ui/react/blocks/Terminal/wterm
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import {
|
|
13
|
+
* TerminalInteractivePanelWterm,
|
|
14
|
+
* WtermJsonTransport,
|
|
15
|
+
* } from '@mks2508/mks-ui/react/blocks/Terminal/wterm';
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export { TerminalInteractivePanelWterm } from './panel/TerminalInteractivePanelWterm';
|
|
19
|
+
export { WtermJsonTransport } from './wterm/WtermJsonTransport';
|
|
20
|
+
//# sourceMappingURL=wterm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wterm.d.ts","sourceRoot":"","sources":["../../../../src/react-ui/blocks/Terminal/wterm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Terminal · xterm sub-entry.
|
|
3
|
+
*
|
|
4
|
+
* Opt-in module that pulls `@xterm/xterm` and the addon family
|
|
5
|
+
* (`@xterm/addon-fit`, `addon-web-links`, `addon-search`, `addon-unicode11`).
|
|
6
|
+
* Consumers that don't render xterm should NOT import this file — the main
|
|
7
|
+
* `@mks2508/mks-ui/react` barrel does not re-export anything from here.
|
|
8
|
+
*
|
|
9
|
+
* @module @mks2508/mks-ui/react/blocks/Terminal/xterm
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import {
|
|
14
|
+
* TerminalLogsPanel,
|
|
15
|
+
* XTermWrapper,
|
|
16
|
+
* } from '@mks2508/mks-ui/react/blocks/Terminal/xterm';
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export { TerminalPanel, type ITerminalPanelProps } from './TerminalPanel';
|
|
20
|
+
export { TerminalLogsPanel, terminalLogsPanelStyles, type TerminalLogsPanelSlot, } from './panel/TerminalLogsPanel';
|
|
21
|
+
export { TerminalInteractivePanelXterm } from './panel/TerminalInteractivePanelXterm';
|
|
22
|
+
export { XTermAdapter } from './XTermAdapter';
|
|
23
|
+
export { XTermWrapper, useTerminalSearch, type IXTermWrapperProps, } from './TerminalXterm';
|
|
24
|
+
export { LogLinesViewer, type ILogLinesViewerProps } from './panel/LogLinesViewer';
|
|
25
|
+
export type { ITerminalLogsPanelProps, ITerminalLogsPanelRef, } from './panel/TerminalLogsPanel.types';
|
|
26
|
+
//# sourceMappingURL=xterm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xterm.d.ts","sourceRoot":"","sources":["../../../../src/react-ui/blocks/Terminal/xterm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG1E,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAGnF,YAAY,EACV,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { XTermWrapper, useTerminalSearch } from "./TerminalXterm.js";
|
|
2
|
+
import { TerminalPanel } from "./TerminalPanel.js";
|
|
3
|
+
import { LogLinesViewer } from "./panel/LogLinesViewer.js";
|
|
4
|
+
import { terminalLogsPanelStyles } from "./panel/TerminalLogsPanel/TerminalLogsPanel.styles.js";
|
|
5
|
+
import { TerminalLogsPanel } from "./panel/TerminalLogsPanel/index.js";
|
|
6
|
+
import { TerminalInteractivePanelXterm } from "./panel/TerminalInteractivePanelXterm.js";
|
|
7
|
+
import { XTermAdapter } from "./XTermAdapter.js";
|
|
8
|
+
|
|
9
|
+
export { LogLinesViewer, TerminalInteractivePanelXterm, TerminalLogsPanel, TerminalPanel, XTermAdapter, XTermWrapper, terminalLogsPanelStyles, useTerminalSearch };
|