@drjoshcsimmons/scl 0.2.1 → 0.2.2
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/components/ui/terminal-textarea/terminal-textarea.d.ts +1 -7
- package/dist/components/ui/terminal-textarea/terminal-textarea.d.ts.map +1 -1
- package/dist/index100.js +9 -4
- package/dist/index101.js +4 -30
- package/dist/index102.js +647 -10
- package/dist/index103.js +5 -649
- package/dist/index104.js +25 -30
- package/dist/index105.js +30 -4
- package/dist/index106.js +29 -47
- package/dist/index107.js +15 -30
- package/dist/index108.js +177 -51
- package/dist/index109.js +47 -29
- package/dist/index11.js +2 -2
- package/dist/index110.js +51 -44
- package/dist/index111.js +30 -9
- package/dist/index112.js +45 -12
- package/dist/index113.js +6 -48
- package/dist/index114.js +1 -1
- package/dist/index115.js +47 -11
- package/dist/index116.js +10 -204
- package/dist/index117.js +204 -20
- package/dist/index118.js +21 -399
- package/dist/index119.js +400 -6
- package/dist/index12.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index125.js +2 -25
- package/dist/index126.js +53 -29
- package/dist/index127.js +65 -5
- package/dist/index128.js +25 -2
- package/dist/index129.js +29 -53
- package/dist/index13.js +2 -2
- package/dist/index130.js +5 -65
- package/dist/index136.js +1 -1
- package/dist/index137.js +1 -1
- package/dist/index14.js +2 -2
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index148.js +11 -21
- package/dist/index149.js +26 -11
- package/dist/index15.js +2 -2
- package/dist/index150.js +4 -27
- package/dist/index151.js +22 -4
- package/dist/index17.js +4 -4
- package/dist/index18.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index21.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index24.js +1 -1
- package/dist/index25.js +4 -4
- package/dist/index26.js +1 -1
- package/dist/index27.js +3 -3
- package/dist/index29.js +1 -1
- package/dist/index31.js +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.js +18 -16
- package/dist/index36.js +2 -2
- package/dist/index37.js +1 -1
- package/dist/index4.js +2 -2
- package/dist/index45.js +33 -237
- package/dist/index46.js +125 -11
- package/dist/index47.js +237 -33
- package/dist/index48.js +11 -241
- package/dist/index49.js +58 -16
- package/dist/index5.js +1 -1
- package/dist/index50.js +64 -116
- package/dist/index51.js +238 -28
- package/dist/index52.js +326 -63
- package/dist/index53.js +505 -211
- package/dist/index54.js +225 -11
- package/dist/index55.js +9 -60
- package/dist/index56.js +11 -254
- package/dist/index57.js +11 -225
- package/dist/index58.js +130 -9
- package/dist/index59.js +310 -11
- package/dist/index6.js +1 -1
- package/dist/index60.js +12 -130
- package/dist/index61.js +17 -21
- package/dist/index62.js +16 -854
- package/dist/index63.js +254 -9
- package/dist/index64.js +107 -71
- package/dist/index65.js +140 -239
- package/dist/index66.js +260 -12
- package/dist/index67.js +12 -249
- package/dist/index68.js +71 -107
- package/dist/index69.js +811 -481
- package/dist/index7.js +1 -1
- package/dist/index70.js +2 -5
- package/dist/index71.js +30 -434
- package/dist/index72.js +224 -311
- package/dist/index73.js +224 -298
- package/dist/index74.js +4 -4
- package/dist/index75.js +403 -129
- package/dist/index77.js +25 -44
- package/dist/index78.js +5 -25
- package/dist/index79.js +8 -6
- package/dist/index8.js +1 -1
- package/dist/index80.js +44 -50
- package/dist/index81.js +51 -33
- package/dist/index82.js +33 -10
- package/dist/index83.js +10 -7
- package/dist/index84.js +7 -124
- package/dist/index85.js +52 -12
- package/dist/index86.js +10 -134
- package/dist/index87.js +3 -218
- package/dist/index88.js +30 -14
- package/dist/index89.js +11 -67
- package/dist/index9.js +2 -2
- package/dist/index90.js +120 -43
- package/dist/index91.js +218 -49
- package/dist/index92.js +12 -7
- package/dist/index93.js +68 -29
- package/dist/index95.js +27 -178
- package/dist/index96.js +14 -24
- package/dist/index97.js +134 -5
- package/dist/index98.js +44 -51
- package/dist/index99.js +50 -11
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export interface TerminalTextareaProps {
|
|
2
|
+
export interface TerminalTextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'> {
|
|
3
3
|
/** Number of visible lines (rows) */
|
|
4
4
|
visibleLines?: number;
|
|
5
5
|
/** Show line numbers */
|
|
@@ -10,12 +10,6 @@ export interface TerminalTextareaProps {
|
|
|
10
10
|
onChange?: (value: string) => void;
|
|
11
11
|
/** Callback when cursor position changes */
|
|
12
12
|
onCursorChange?: (line: number, column: number) => void;
|
|
13
|
-
/** Placeholder text */
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
/** Read-only mode */
|
|
16
|
-
readOnly?: boolean;
|
|
17
|
-
/** Additional CSS classes */
|
|
18
|
-
className?: string;
|
|
19
13
|
}
|
|
20
14
|
declare const TerminalTextarea: React.ForwardRefExoticComponent<TerminalTextareaProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
15
|
export { TerminalTextarea };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/terminal-textarea/terminal-textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"terminal-textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/terminal-textarea/terminal-textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC;IAC3E,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,4CAA4C;IAC5C,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;AAED,QAAA,MAAM,gBAAgB,8FAkGrB,CAAC;AAGF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/index100.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { __assign as m } from "./index128.js";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
import { RemoveScroll as e } from "./index129.js";
|
|
4
|
+
import t from "./index130.js";
|
|
5
|
+
var s = r.forwardRef(function(a, o) {
|
|
6
|
+
return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
|
|
7
|
+
});
|
|
8
|
+
s.classNames = e.classNames;
|
|
4
9
|
export {
|
|
5
|
-
|
|
10
|
+
s as default
|
|
6
11
|
};
|
package/dist/index101.js
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
-
var u = [
|
|
6
|
-
"a",
|
|
7
|
-
"button",
|
|
8
|
-
"div",
|
|
9
|
-
"form",
|
|
10
|
-
"h2",
|
|
11
|
-
"h3",
|
|
12
|
-
"img",
|
|
13
|
-
"input",
|
|
14
|
-
"label",
|
|
15
|
-
"li",
|
|
16
|
-
"nav",
|
|
17
|
-
"ol",
|
|
18
|
-
"p",
|
|
19
|
-
"select",
|
|
20
|
-
"span",
|
|
21
|
-
"svg",
|
|
22
|
-
"ul"
|
|
23
|
-
], w = u.reduce((t, i) => {
|
|
24
|
-
const o = l(`Primitive.${i}`), r = f.forwardRef((e, m) => {
|
|
25
|
-
const { asChild: a, ...p } = e, s = a ? o : i;
|
|
26
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ n(s, { ...p, ref: m });
|
|
27
|
-
});
|
|
28
|
-
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
-
}, {});
|
|
1
|
+
function m(t, [a, n]) {
|
|
2
|
+
return Math.min(n, Math.max(a, t));
|
|
3
|
+
}
|
|
30
4
|
export {
|
|
31
|
-
|
|
5
|
+
m as clamp
|
|
32
6
|
};
|