riteshjs 0.0.0-stage → 0.1.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/rite.css ADDED
@@ -0,0 +1,292 @@
1
+ /*! ritesh | MIT | includes xterm.js css (MIT, see THIRD_PARTY_NOTICES) */
2
+ /**
3
+ * Copyright (c) 2014 The xterm.js authors. All rights reserved.
4
+ * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
5
+ * https://github.com/chjj/term.js
6
+ * @license MIT
7
+ *
8
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ * of this software and associated documentation files (the "Software"), to deal
10
+ * in the Software without restriction, including without limitation the rights
11
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ * copies of the Software, and to permit persons to whom the Software is
13
+ * furnished to do so, subject to the following conditions:
14
+ *
15
+ * The above copyright notice and this permission notice shall be included in
16
+ * all copies or substantial portions of the Software.
17
+ *
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ * THE SOFTWARE.
25
+ *
26
+ * Originally forked from (with the author's permission):
27
+ * Fabrice Bellard's javascript vt100 for jslinux:
28
+ * http://bellard.org/jslinux/
29
+ * Copyright (c) 2011 Fabrice Bellard
30
+ * The original design remains. The terminal itself
31
+ * has been extended to include xterm CSI codes, among
32
+ * other features.
33
+ */
34
+
35
+ /**
36
+ * Default styles for xterm.js
37
+ */
38
+
39
+ .xterm {
40
+ cursor: text;
41
+ position: relative;
42
+ user-select: none;
43
+ -ms-user-select: none;
44
+ -webkit-user-select: none;
45
+ }
46
+
47
+ .xterm.focus,
48
+ .xterm:focus {
49
+ outline: none;
50
+ }
51
+
52
+ .xterm .xterm-helpers {
53
+ position: absolute;
54
+ top: 0;
55
+ /**
56
+ * The z-index of the helpers must be higher than the canvases in order for
57
+ * IMEs to appear on top.
58
+ */
59
+ z-index: 5;
60
+ }
61
+
62
+ .xterm .xterm-helper-textarea {
63
+ padding: 0;
64
+ border: 0;
65
+ margin: 0;
66
+ /* Move textarea out of the screen to the far left, so that the cursor is not visible */
67
+ position: absolute;
68
+ opacity: 0;
69
+ left: -9999em;
70
+ top: 0;
71
+ width: 0;
72
+ height: 0;
73
+ z-index: -5;
74
+ /** Prevent wrapping so the IME appears against the textarea at the correct position */
75
+ white-space: nowrap;
76
+ overflow: hidden;
77
+ resize: none;
78
+ }
79
+
80
+ .xterm .composition-view {
81
+ /* TODO: Composition position got messed up somewhere */
82
+ background: #000;
83
+ color: #FFF;
84
+ display: none;
85
+ position: absolute;
86
+ white-space: nowrap;
87
+ z-index: 1;
88
+ }
89
+
90
+ .xterm .composition-view.active {
91
+ display: block;
92
+ }
93
+
94
+ .xterm .xterm-viewport {
95
+ /* On OS X this is required in order for the scroll bar to appear fully opaque */
96
+ background-color: #000;
97
+ overflow-y: scroll;
98
+ cursor: default;
99
+ position: absolute;
100
+ right: 0;
101
+ left: 0;
102
+ top: 0;
103
+ bottom: 0;
104
+ }
105
+
106
+ .xterm .xterm-screen {
107
+ position: relative;
108
+ }
109
+
110
+ .xterm .xterm-screen canvas {
111
+ position: absolute;
112
+ left: 0;
113
+ top: 0;
114
+ }
115
+
116
+ .xterm-char-measure-element {
117
+ display: inline-block;
118
+ visibility: hidden;
119
+ position: absolute;
120
+ top: 0;
121
+ left: -9999em;
122
+ line-height: normal;
123
+ }
124
+
125
+ .xterm.enable-mouse-events {
126
+ /* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
127
+ cursor: default;
128
+ }
129
+
130
+ .xterm.xterm-cursor-pointer,
131
+ .xterm .xterm-cursor-pointer {
132
+ cursor: pointer;
133
+ }
134
+
135
+ .xterm.column-select.focus {
136
+ /* Column selection mode */
137
+ cursor: crosshair;
138
+ }
139
+
140
+ .xterm .xterm-accessibility:not(.debug),
141
+ .xterm .xterm-message {
142
+ position: absolute;
143
+ left: 0;
144
+ top: 0;
145
+ bottom: 0;
146
+ right: 0;
147
+ z-index: 10;
148
+ color: transparent;
149
+ pointer-events: none;
150
+ }
151
+
152
+ .xterm .xterm-accessibility-tree:not(.debug) *::selection {
153
+ color: transparent;
154
+ }
155
+
156
+ .xterm .xterm-accessibility-tree {
157
+ font-family: monospace;
158
+ user-select: text;
159
+ white-space: pre;
160
+ }
161
+
162
+ .xterm .xterm-accessibility-tree > div {
163
+ transform-origin: left;
164
+ width: fit-content;
165
+ }
166
+
167
+ .xterm .live-region {
168
+ position: absolute;
169
+ left: -9999px;
170
+ width: 1px;
171
+ height: 1px;
172
+ overflow: hidden;
173
+ }
174
+
175
+ .xterm-dim {
176
+ /* Dim should not apply to background, so the opacity of the foreground color is applied
177
+ * explicitly in the generated class and reset to 1 here */
178
+ opacity: 1 !important;
179
+ }
180
+
181
+ .xterm-underline-1 { text-decoration: underline; }
182
+ .xterm-underline-2 { text-decoration: double underline; }
183
+ .xterm-underline-3 { text-decoration: wavy underline; }
184
+ .xterm-underline-4 { text-decoration: dotted underline; }
185
+ .xterm-underline-5 { text-decoration: dashed underline; }
186
+
187
+ .xterm-overline {
188
+ text-decoration: overline;
189
+ }
190
+
191
+ .xterm-overline.xterm-underline-1 { text-decoration: overline underline; }
192
+ .xterm-overline.xterm-underline-2 { text-decoration: overline double underline; }
193
+ .xterm-overline.xterm-underline-3 { text-decoration: overline wavy underline; }
194
+ .xterm-overline.xterm-underline-4 { text-decoration: overline dotted underline; }
195
+ .xterm-overline.xterm-underline-5 { text-decoration: overline dashed underline; }
196
+
197
+ .xterm-strikethrough {
198
+ text-decoration: line-through;
199
+ }
200
+
201
+ .xterm-screen .xterm-decoration-container .xterm-decoration {
202
+ z-index: 6;
203
+ position: absolute;
204
+ }
205
+
206
+ .xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
207
+ z-index: 7;
208
+ }
209
+
210
+ .xterm-decoration-overview-ruler {
211
+ z-index: 8;
212
+ position: absolute;
213
+ top: 0;
214
+ right: 0;
215
+ pointer-events: none;
216
+ }
217
+
218
+ .xterm-decoration-top {
219
+ z-index: 2;
220
+ position: relative;
221
+ }
222
+
223
+
224
+
225
+ /* Derived from vs/base/browser/ui/scrollbar/media/scrollbar.css */
226
+
227
+ /* xterm.js customization: Override xterm's cursor style */
228
+ .xterm .xterm-scrollable-element > .scrollbar {
229
+ cursor: default;
230
+ }
231
+
232
+ /* Arrows */
233
+ .xterm .xterm-scrollable-element > .scrollbar > .scra {
234
+ cursor: pointer;
235
+ font-size: 11px !important;
236
+ }
237
+
238
+ .xterm .xterm-scrollable-element > .visible {
239
+ opacity: 1;
240
+
241
+ /* Background rule added for IE9 - to allow clicks on dom node */
242
+ background:rgba(0,0,0,0);
243
+
244
+ transition: opacity 100ms linear;
245
+ /* In front of peek view */
246
+ z-index: 11;
247
+ }
248
+ .xterm .xterm-scrollable-element > .invisible {
249
+ opacity: 0;
250
+ pointer-events: none;
251
+ }
252
+ .xterm .xterm-scrollable-element > .invisible.fade {
253
+ transition: opacity 800ms linear;
254
+ }
255
+
256
+ /* Scrollable Content Inset Shadow */
257
+ .xterm .xterm-scrollable-element > .shadow {
258
+ position: absolute;
259
+ display: none;
260
+ }
261
+ .xterm .xterm-scrollable-element > .shadow.top {
262
+ display: block;
263
+ top: 0;
264
+ left: 3px;
265
+ height: 3px;
266
+ width: 100%;
267
+ box-shadow: var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset;
268
+ }
269
+ .xterm .xterm-scrollable-element > .shadow.left {
270
+ display: block;
271
+ top: 3px;
272
+ left: 0;
273
+ height: 100%;
274
+ width: 3px;
275
+ box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
276
+ }
277
+ .xterm .xterm-scrollable-element > .shadow.top-left-corner {
278
+ display: block;
279
+ top: 0;
280
+ left: 0;
281
+ height: 3px;
282
+ width: 3px;
283
+ }
284
+ .xterm .xterm-scrollable-element > .shadow.top.left {
285
+ box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
286
+ }
287
+
288
+ /* ritesh: rules on top of xterm's stylesheet, which the build prepends. */
289
+ .rite {
290
+ height: 100%;
291
+ width: 100%;
292
+ }
@@ -0,0 +1,13 @@
1
+ /*! ritesh | MIT | Copyright (c) 2026 Jarrod Baumann | bundles xterm.js (MIT, see THIRD_PARTY_NOTICES) */
2
+ // \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll = (all, flags) => {
5
+ let target = Object.setPrototypeOf({}, null);
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
+ return flags & 2 ? target : Object.preventExtensions(target);
12
+ };
13
+ export { __exportAll as t };