@ngrok/mantle 0.0.26 → 0.0.28
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/button/src/button.d.ts +2 -2
- package/dist/components/button/src/button.d.ts.map +1 -1
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/index.d.ts.map +1 -1
- package/dist/components/input/src/input.d.ts +9 -2
- package/dist/components/input/src/input.d.ts.map +1 -1
- package/dist/components/text-area/src/text-area.d.ts +6 -6
- package/dist/components/text-area/src/text-area.d.ts.map +1 -1
- package/dist/index.js +45 -37
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.publish.tsbuildinfo +1 -1
- package/package.json +21 -20
|
@@ -4,8 +4,8 @@ import type { VariantProps } from "../../types/src/variant-props";
|
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
5
|
appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
|
|
6
6
|
iconPlacement?: "end" | "start" | null | undefined;
|
|
7
|
+
isLoading?: boolean | null | undefined;
|
|
7
8
|
priority?: "danger" | "default" | "neutral" | null | undefined;
|
|
8
|
-
state?: "idle" | "pending" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
11
11
|
/**
|
|
@@ -29,8 +29,8 @@ export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & WithAsChild
|
|
|
29
29
|
declare const Button: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & WithAsChild & Partial<import("../..").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
30
30
|
appearance?: "link" | "filled" | "ghost" | "outlined" | null | undefined;
|
|
31
31
|
iconPlacement?: "end" | "start" | null | undefined;
|
|
32
|
+
isLoading?: boolean | null | undefined;
|
|
32
33
|
priority?: "danger" | "default" | "neutral" | null | undefined;
|
|
33
|
-
state?: "idle" | "pending" | null | undefined;
|
|
34
34
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & {
|
|
35
35
|
/**
|
|
36
36
|
* An icon to render inside the button. If the `state` is `"pending"`, then
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../components/button/src/button.tsx"],"names":[],"mappings":"AAIA,OAAO,EAQN,SAAS,EACT,KAAK,oBAAoB,EACzB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,QAAA,MAAM,cAAc;;;;;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../components/button/src/button.tsx"],"names":[],"mappings":"AAIA,OAAO,EAQN,SAAS,EACT,KAAK,oBAAoB,EACzB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,QAAA,MAAM,cAAc;;;;;8EAiGnB,CAAC;AAEF,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAChE,WAAW,GACX,cAAc,GAAG;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB,CAAC;AAEH;;;;;;;GAOG;AACH,QAAA,MAAM,MAAM;;;;;;IAfV;;;OAGG;WACI,SAAS;qDAmFjB,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { Input } from "./src/input";
|
|
1
|
+
export { Input, inputVariants } from "./src/input";
|
|
2
|
+
export type { InputVariants } from "./src/input";
|
|
2
3
|
export type { InputProps } from "./src/input";
|
|
3
4
|
export type { AutoComplete, InputType } from "./src/types";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEnD,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import type { InputHTMLAttributes } from "react";
|
|
2
|
+
import type { VariantProps } from "../../types/src/variant-props";
|
|
2
3
|
import type { AutoComplete, InputType } from "./types";
|
|
4
|
+
export declare const inputVariants: (props?: ({
|
|
5
|
+
invalid?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export type InputVariants = VariantProps<typeof inputVariants>;
|
|
3
8
|
/**
|
|
4
9
|
* The props for the `Input` component.
|
|
5
10
|
*/
|
|
6
|
-
export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & {
|
|
11
|
+
export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "type"> & InputVariants & {
|
|
7
12
|
autoComplete?: AutoComplete;
|
|
8
13
|
type?: InputType;
|
|
9
14
|
};
|
|
10
15
|
/**
|
|
11
16
|
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
12
17
|
*/
|
|
13
|
-
declare const Input: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & {
|
|
18
|
+
declare const Input: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "autoComplete"> & Partial<import("../..").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
19
|
+
invalid?: boolean | null | undefined;
|
|
20
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & {
|
|
14
21
|
autoComplete?: AutoComplete | undefined;
|
|
15
22
|
type?: InputType | undefined;
|
|
16
23
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../components/input/src/input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../components/input/src/input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,aAAa;;8EAgBzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,GAC5F,aAAa,GAAG;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,KAAK;;;;;oDAcV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { TextareaHTMLAttributes } from "react";
|
|
2
2
|
import { VariantProps } from "../../types/";
|
|
3
3
|
declare const textAreaVariants: (props?: ({
|
|
4
|
-
|
|
4
|
+
invalid?: boolean | null | undefined;
|
|
5
5
|
appearance?: "monospaced" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
type TextAreaVariants = VariantProps<typeof textAreaVariants>;
|
|
8
|
-
export type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> &
|
|
9
|
-
declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> &
|
|
10
|
-
|
|
7
|
+
export type TextAreaVariants = VariantProps<typeof textAreaVariants>;
|
|
8
|
+
export type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & TextAreaVariants;
|
|
9
|
+
declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & Partial<import("../../types/").DeepNonNullable<import("class-variance-authority").VariantProps<(props?: ({
|
|
10
|
+
invalid?: boolean | null | undefined;
|
|
11
11
|
appearance?: "monospaced" | null | undefined;
|
|
12
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string>>> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
13
13
|
export { TextArea };
|
|
14
14
|
//# sourceMappingURL=text-area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../components/text-area/src/text-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,gBAAgB;;;
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../../components/text-area/src/text-area.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,QAAA,MAAM,gBAAgB;;;8EAuBrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,gBAAgB,CAAC;AAE3F,QAAA,MAAM,QAAQ;;;uIAuCb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -148,6 +148,14 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
148
148
|
end: "pe-2.5",
|
|
149
149
|
start: "ps-2.5"
|
|
150
150
|
},
|
|
151
|
+
/**
|
|
152
|
+
* Whether or not the button is in a loading state, default `false`. Setting `isLoading` will
|
|
153
|
+
* replace any `icon` with a spinner, or add one if an icon wasn't given.
|
|
154
|
+
* It will also disable user interaction with the button and set `aria-disabled`.
|
|
155
|
+
*/ isLoading: {
|
|
156
|
+
false: "",
|
|
157
|
+
true: "opacity-50"
|
|
158
|
+
},
|
|
151
159
|
/**
|
|
152
160
|
* Indicates the importance or impact level of the button, affecting its
|
|
153
161
|
* color and styling to communicate its purpose to the user
|
|
@@ -155,21 +163,12 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
155
163
|
danger: "",
|
|
156
164
|
default: "",
|
|
157
165
|
neutral: ""
|
|
158
|
-
},
|
|
159
|
-
/**
|
|
160
|
-
* The state of the button, default `"idle"`. If the button should present
|
|
161
|
-
* a "loading state", use `"pending"`. Setting the state to `"pending"` will
|
|
162
|
-
* replace any `icon` with a spinner, or add one if an icon wasn't given.
|
|
163
|
-
* It will also disable user interaction with the button and set `aria-disabled`.
|
|
164
|
-
*/ state: {
|
|
165
|
-
idle: "",
|
|
166
|
-
pending: "opacity-50"
|
|
167
166
|
}
|
|
168
167
|
},
|
|
169
168
|
defaultVariants: {
|
|
170
169
|
appearance: "outlined",
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
isLoading: false,
|
|
171
|
+
priority: "default"
|
|
173
172
|
},
|
|
174
173
|
compoundVariants: [
|
|
175
174
|
{
|
|
@@ -221,20 +220,20 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
221
220
|
* as submitting a form or opening a dialog.
|
|
222
221
|
*
|
|
223
222
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
224
|
-
*/ const $c2638d7be6bdca12$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ appearance: appearance = "outlined", asChild: asChild = false, children: children, className: propClassName, icon: propIcon, iconPlacement: iconPlacement = "start",
|
|
225
|
-
const ariaDisabled = _ariaDisabled !== null && _ariaDisabled !== void 0 ? _ariaDisabled :
|
|
226
|
-
const icon =
|
|
223
|
+
*/ const $c2638d7be6bdca12$export$353f5b6fc5456de1 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ "aria-disabled": _ariaDisabled, appearance: appearance = "outlined", asChild: asChild = false, children: children, className: propClassName, icon: propIcon, iconPlacement: iconPlacement = "start", isLoading: isLoading = false, priority: priority = "default", ...props }, ref)=>{
|
|
224
|
+
const ariaDisabled = _ariaDisabled !== null && _ariaDisabled !== void 0 ? _ariaDisabled : isLoading;
|
|
225
|
+
const icon = isLoading ? /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$CircleNotch), {
|
|
227
226
|
className: "animate-spin"
|
|
228
227
|
}) : propIcon;
|
|
229
228
|
const className = (0, $a4274013049f8f7f$export$a274e22fb40f762e)($c2638d7be6bdca12$export$dca1ee5a936bb312({
|
|
230
229
|
appearance: appearance,
|
|
231
230
|
priority: priority,
|
|
232
|
-
|
|
231
|
+
isLoading: isLoading,
|
|
233
232
|
iconPlacement: icon ? iconPlacement : undefined
|
|
234
233
|
}), propClassName);
|
|
235
234
|
const onClickCapture = (event)=>{
|
|
236
235
|
var _props_onClickCapture;
|
|
237
|
-
if (
|
|
236
|
+
if (isLoading) {
|
|
238
237
|
event.preventDefault();
|
|
239
238
|
event.stopPropagation();
|
|
240
239
|
}
|
|
@@ -249,7 +248,7 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
249
248
|
return /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$Slot), {
|
|
250
249
|
"aria-disabled": ariaDisabled,
|
|
251
250
|
className: className,
|
|
252
|
-
"data-
|
|
251
|
+
"data-loading": isLoading,
|
|
253
252
|
onClickCapture: onClickCapture,
|
|
254
253
|
ref: ref,
|
|
255
254
|
...props,
|
|
@@ -264,7 +263,7 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
264
263
|
return /*#__PURE__*/ (0, $hLlzK$jsx)("button", {
|
|
265
264
|
"aria-disabled": ariaDisabled,
|
|
266
265
|
className: className,
|
|
267
|
-
"data-
|
|
266
|
+
"data-loading": isLoading,
|
|
268
267
|
onClickCapture: onClickCapture,
|
|
269
268
|
ref: ref,
|
|
270
269
|
...props,
|
|
@@ -278,7 +277,7 @@ const $c2638d7be6bdca12$export$dca1ee5a936bb312 = (0, $hLlzK$cva)("items-center
|
|
|
278
277
|
});
|
|
279
278
|
$c2638d7be6bdca12$export$353f5b6fc5456de1.displayName = "Button";
|
|
280
279
|
const $c2638d7be6bdca12$var$ButtonIcon = ({ children: children, className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("span", {
|
|
281
|
-
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("[&>svg]:size-5", className),
|
|
280
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("shrink-0 [&>svg]:size-5", className),
|
|
282
281
|
...props,
|
|
283
282
|
children: children
|
|
284
283
|
});
|
|
@@ -1011,28 +1010,32 @@ $be9526d49a216cc9$export$7f1bf47c7f50a6aa.displayName = "InlineCode";
|
|
|
1011
1010
|
var $fd39f83d90873c05$exports = {};
|
|
1012
1011
|
|
|
1013
1012
|
$parcel$export($fd39f83d90873c05$exports, "Input", function () { return $69de6bdb0e8d2083$export$f5b8910cec6cf069; });
|
|
1013
|
+
$parcel$export($fd39f83d90873c05$exports, "inputVariants", function () { return $69de6bdb0e8d2083$export$51002560fdde43ba; });
|
|
1014
1014
|
|
|
1015
1015
|
|
|
1016
1016
|
|
|
1017
1017
|
|
|
1018
|
-
const $69de6bdb0e8d2083$
|
|
1018
|
+
const $69de6bdb0e8d2083$export$51002560fdde43ba = (0, $hLlzK$cva)("flex h-11 w-full rounded-md border bg-form px-3 py-2 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 sm:h-9 sm:text-sm", {
|
|
1019
1019
|
variants: {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1020
|
+
/**
|
|
1021
|
+
* Whether or not the input has a validation error.
|
|
1022
|
+
*/ invalid: {
|
|
1023
|
+
false: "border-form text-strong placeholder:text-placeholder focus:border-accent-600 focus:ring-focus-accent",
|
|
1024
|
+
true: "border-danger-600 placeholder:text-placeholder focus:border-danger-600 focus:ring-focus-danger"
|
|
1023
1025
|
}
|
|
1024
1026
|
},
|
|
1025
1027
|
defaultVariants: {
|
|
1026
|
-
|
|
1028
|
+
invalid: false
|
|
1027
1029
|
}
|
|
1028
1030
|
});
|
|
1029
1031
|
/**
|
|
1030
1032
|
* Used to create interactive controls for web-based forms in order to accept data from the user
|
|
1031
|
-
*/ const $69de6bdb0e8d2083$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, type: type = "text", ...props }, ref)=>{
|
|
1032
|
-
const
|
|
1033
|
+
*/ const $69de6bdb0e8d2083$export$f5b8910cec6cf069 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ "aria-invalid": _ariaInvalid, className: className, invalid: invalid, type: type = "text", ...props }, ref)=>{
|
|
1034
|
+
const ariaInvalid = _ariaInvalid !== null && _ariaInvalid !== void 0 ? _ariaInvalid : invalid;
|
|
1033
1035
|
return /*#__PURE__*/ (0, $hLlzK$jsx)("input", {
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
+
"aria-invalid": ariaInvalid,
|
|
1037
|
+
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)($69de6bdb0e8d2083$export$51002560fdde43ba({
|
|
1038
|
+
invalid: invalid
|
|
1036
1039
|
}), className),
|
|
1037
1040
|
ref: ref,
|
|
1038
1041
|
type: type,
|
|
@@ -1518,26 +1521,31 @@ $parcel$export($28ef0f9ef87312c9$exports, "TextArea", function () { return $a690
|
|
|
1518
1521
|
|
|
1519
1522
|
const $a6907629e3ef14e9$var$textAreaVariants = (0, $hLlzK$cva)("border-input flex min-h-24 w-full rounded-md border bg-form px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 data-drag-over:border-dashed data-drag-over:ring-4 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm", {
|
|
1520
1523
|
variants: {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
+
/**
|
|
1525
|
+
* Whether or not the textarea has a validation error.
|
|
1526
|
+
*/ invalid: {
|
|
1527
|
+
false: "border-form text-strong ring-focus-accent placeholder:text-placeholder focus:border-accent-600 data-drag-over:border-accent-600",
|
|
1528
|
+
true: "border-danger-600 ring-focus-danger placeholder:text-placeholder focus:border-danger-600 data-drag-over:border-dashed data-drag-over:border-danger-600"
|
|
1524
1529
|
},
|
|
1525
|
-
|
|
1530
|
+
/**
|
|
1531
|
+
* The visual style of the textarea.
|
|
1532
|
+
*/ appearance: {
|
|
1526
1533
|
monospaced: "font-mono text-[0.9375rem] sm:text-[0.8125rem]"
|
|
1527
1534
|
}
|
|
1528
1535
|
},
|
|
1529
1536
|
defaultVariants: {
|
|
1530
|
-
|
|
1537
|
+
invalid: false
|
|
1531
1538
|
}
|
|
1532
1539
|
});
|
|
1533
|
-
const $a6907629e3ef14e9$export$f5c9f3c2c4054eec = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ appearance: appearance, className: className, onDragEnter: onDragEnter, onDragLeave: onDragLeave, onDropCapture: onDropCapture, ...props }, ref)=>{
|
|
1534
|
-
const
|
|
1540
|
+
const $a6907629e3ef14e9$export$f5c9f3c2c4054eec = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ appearance: appearance, "aria-invalid": _ariaInvalid, className: className, invalid: invalid, onDragEnter: onDragEnter, onDragLeave: onDragLeave, onDropCapture: onDropCapture, ...props }, ref)=>{
|
|
1541
|
+
const ariaInvalid = _ariaInvalid !== null && _ariaInvalid !== void 0 ? _ariaInvalid : invalid;
|
|
1535
1542
|
const [isDragOver, setIsDragOver] = (0, $hLlzK$useState)(false);
|
|
1536
1543
|
const _ref = (0, $hLlzK$useRef)(null);
|
|
1537
1544
|
return /*#__PURE__*/ (0, $hLlzK$jsx)("textarea", {
|
|
1545
|
+
"aria-invalid": ariaInvalid,
|
|
1538
1546
|
className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)($a6907629e3ef14e9$var$textAreaVariants({
|
|
1539
1547
|
appearance: appearance,
|
|
1540
|
-
|
|
1548
|
+
invalid: invalid
|
|
1541
1549
|
}), className),
|
|
1542
1550
|
"data-drag-over": isDragOver,
|
|
1543
1551
|
onDragEnter: (event)=>{
|
|
@@ -1825,5 +1833,5 @@ $aae96005fa706805$export$e9003e2be37ec060.displayName = "TooltipContent";
|
|
|
1825
1833
|
|
|
1826
1834
|
|
|
1827
1835
|
|
|
1828
|
-
export {$70398adbd69bc3b3$export$caec2af78bcc877f as Alert, $70398adbd69bc3b3$export$7738e9160ff0021e as AlertContent, $70398adbd69bc3b3$export$4a7253439a300753 as AlertTitle, $70398adbd69bc3b3$export$d4feae172fccda11 as AlertDescription, $d7b44a6bfb86e793$export$b688253958b8dfe7 as Anchor, $d7b44a6bfb86e793$export$86577199b2baf6c3 as anchorClassNames, $c2638d7be6bdca12$export$353f5b6fc5456de1 as Button, $267cd022d92c6243$export$60332b2344f7fe41 as Card, $267cd022d92c6243$export$851de33184ecdac4 as CardBody, $267cd022d92c6243$export$e9897d434e0741ee as CardFooter, $267cd022d92c6243$export$5665775b26e26c5d as CardHeader, $267cd022d92c6243$export$474db65c3c394e1c as CardTitle, $4de59be9540e7045$export$48513f6b9f8ce62d as Checkbox, $3e8792480c5dc036$export$6c415d1fdae3dfdb as CodeBlock, $3e8792480c5dc036$export$7e83364d3e7fd36a as CodeBlockBody, $3e8792480c5dc036$export$1c41328978c69a88 as CodeBlockCode, $3e8792480c5dc036$export$2e9b808b8155db21 as CodeBlockCopyButton, $3e8792480c5dc036$export$2e996d1cfaa94c3d as CodeBlockExpanderButton, $3e8792480c5dc036$export$b351deb59183780 as CodeBlockHeader, $3e8792480c5dc036$export$b5654939a1e891d as CodeBlockTitle, $6a7317e4fdb7be9c$export$6565f9f03506010b as code, $c58b35aa9fcfa4d0$export$2b83d7916142717 as parseMetastring, $3107245668823796$export$47c66070d6d6cd6d as isSupportedLanguage, $3107245668823796$export$dbb82c29aa7faca4 as parseLanguage, $a4274013049f8f7f$export$a274e22fb40f762e as cx, $d95638fc63e2fe90$export$3ddf2d174ce01153 as Dialog, $d95638fc63e2fe90$export$dad7c95542bacce0 as DialogPortal, $d95638fc63e2fe90$export$bd1d06c79be19e17 as DialogOverlay, $d95638fc63e2fe90$export$2e1e1122cf0cba88 as DialogTrigger, $d95638fc63e2fe90$export$fba2fb7cd781b7ac as DialogClose, $d95638fc63e2fe90$export$b6d9565de1e068cf as DialogContent, $d95638fc63e2fe90$export$742513523b177e3b as DialogHeader, $d95638fc63e2fe90$export$5d20f2c38fcde41f as DialogBody, $d95638fc63e2fe90$export$7bbfb2d443473050 as DialogFooter, $d95638fc63e2fe90$export$16f7638e4a34b909 as DialogTitle, $d95638fc63e2fe90$export$94e94c2ec2c954d5 as DialogDescription, $a54417aeb05f1278$export$e44a253a59704894 as DropdownMenu, $a54417aeb05f1278$export$d2469213b3befba9 as DropdownMenuTrigger, $a54417aeb05f1278$export$6e76d93a37c01248 as DropdownMenuContent, $a54417aeb05f1278$export$ed97964d1871885d as DropdownMenuItem, $a54417aeb05f1278$export$53a69729da201fa9 as DropdownMenuCheckboxItem, $a54417aeb05f1278$export$e4f69b41b1637536 as DropdownMenuRadioItem, $a54417aeb05f1278$export$76e48c5b57f24495 as DropdownMenuLabel, $a54417aeb05f1278$export$da160178fd3bc7e9 as DropdownMenuSeparator, $a54417aeb05f1278$export$b1e098e2962e8df5 as DropdownMenuShortcut, $be9526d49a216cc9$export$7f1bf47c7f50a6aa as InlineCode, $69de6bdb0e8d2083$export$f5b8910cec6cf069 as Input, $1efa43e76774bcf1$export$c5be64db09f93414 as MediaObject, $1efa43e76774bcf1$export$a850f92726a1f836 as MediaObjectMedia, $1efa43e76774bcf1$export$8d93ffc9d5ebcf0c as MediaObjectContent, $66e13ce5ec226639$export$b28585a458fee016 as PasswordInput, $e1568f28b56f66ee$export$5b6b19405a83ff9d as Popover, $e1568f28b56f66ee$export$7dacb05d26466c3 as PopoverTrigger, $e1568f28b56f66ee$export$d7e1f420b25549ff as PopoverContent, $b0b413c594e2809e$export$ef9b1a59e592288f as Select, $b0b413c594e2809e$export$c973a4b3cb86a03d as SelectContent, $b0b413c594e2809e$export$ee25a334c55de1f4 as SelectGroup, $b0b413c594e2809e$export$f67338d29bd972f8 as SelectLabel, $b0b413c594e2809e$export$13ef48a934230896 as SelectItem, $b0b413c594e2809e$export$eba4b1df07cb1d3 as SelectSeparator, $b0b413c594e2809e$export$3ac1e88a1c0b9f1 as SelectTrigger, $b0b413c594e2809e$export$e288731fd71264f0 as SelectValue, $0e4ef6b27c1ec376$export$1ff3c3f08ae963c0 as Separator, $de4859618f6880e3$export$a9bf29f8d87ebbee as Sheet, $de4859618f6880e3$export$8e574df6e3b8d781 as SheetBody, $de4859618f6880e3$export$99d85c8298ee6511 as SheetClose, $de4859618f6880e3$export$fe5ec5b76996e2d3 as SheetContent, $de4859618f6880e3$export$2ee64bd945b80e4a as SheetDescription, $de4859618f6880e3$export$1adeb0155503ee5a as SheetFooter, $de4859618f6880e3$export$de7da2aaa45f2eb5 as SheetHeader, $de4859618f6880e3$export$48dbb295cbd054d8 as SheetOverlay, $de4859618f6880e3$export$721c917f47f6cb as SheetPortal, $de4859618f6880e3$export$4bb009ae36731de9 as SheetTitle, $de4859618f6880e3$export$de69b9b0343a1903 as SheetTrigger, $53866fd1feac4bca$export$8f31e4c4a37b8e9c as Skeleton, $fd75fdf931689c59$export$54ec01a60f47d33d as Table, $fd75fdf931689c59$export$f850895b287ef28e as TableHeader, $fd75fdf931689c59$export$76ccd210b9029917 as TableBody, $fd75fdf931689c59$export$1f116082bba1f9a8 as TableFooter, $fd75fdf931689c59$export$2f4a7be4f0dcc2 as TableHead, $fd75fdf931689c59$export$b05581f4e764e162 as TableRow, $fd75fdf931689c59$export$1e4baea7053fc0e3 as TableCell, $fd75fdf931689c59$export$35468a455d619eb3 as TableCaption, $a6907629e3ef14e9$export$f5c9f3c2c4054eec as TextArea, $dda3493dd750e32f$export$2d1315cd4e7dcc1 as PreventWrongThemeFlash, $dda3493dd750e32f$export$d8964aec282183a3 as ThemeProvider, $dda3493dd750e32f$export$6b08dcdbd4008308 as isTheme, $dda3493dd750e32f$export$1dca76bcd3720cbb as preventWrongThemeFlashScriptContent, $dda3493dd750e32f$export$bca14c5b3b88a9c9 as theme, $dda3493dd750e32f$export$93d4e7f90805808f as useTheme, $dda3493dd750e32f$export$9335dc9d919c3613 as useAppliedTheme, $aae96005fa706805$export$28c660c63b792dea as Tooltip, $aae96005fa706805$export$8c610744efcf8a1d as TooltipTrigger, $aae96005fa706805$export$e9003e2be37ec060 as TooltipContent, $aae96005fa706805$export$f78649fb9ca566b8 as TooltipProvider};
|
|
1836
|
+
export {$70398adbd69bc3b3$export$caec2af78bcc877f as Alert, $70398adbd69bc3b3$export$7738e9160ff0021e as AlertContent, $70398adbd69bc3b3$export$4a7253439a300753 as AlertTitle, $70398adbd69bc3b3$export$d4feae172fccda11 as AlertDescription, $d7b44a6bfb86e793$export$b688253958b8dfe7 as Anchor, $d7b44a6bfb86e793$export$86577199b2baf6c3 as anchorClassNames, $c2638d7be6bdca12$export$353f5b6fc5456de1 as Button, $267cd022d92c6243$export$60332b2344f7fe41 as Card, $267cd022d92c6243$export$851de33184ecdac4 as CardBody, $267cd022d92c6243$export$e9897d434e0741ee as CardFooter, $267cd022d92c6243$export$5665775b26e26c5d as CardHeader, $267cd022d92c6243$export$474db65c3c394e1c as CardTitle, $4de59be9540e7045$export$48513f6b9f8ce62d as Checkbox, $3e8792480c5dc036$export$6c415d1fdae3dfdb as CodeBlock, $3e8792480c5dc036$export$7e83364d3e7fd36a as CodeBlockBody, $3e8792480c5dc036$export$1c41328978c69a88 as CodeBlockCode, $3e8792480c5dc036$export$2e9b808b8155db21 as CodeBlockCopyButton, $3e8792480c5dc036$export$2e996d1cfaa94c3d as CodeBlockExpanderButton, $3e8792480c5dc036$export$b351deb59183780 as CodeBlockHeader, $3e8792480c5dc036$export$b5654939a1e891d as CodeBlockTitle, $6a7317e4fdb7be9c$export$6565f9f03506010b as code, $c58b35aa9fcfa4d0$export$2b83d7916142717 as parseMetastring, $3107245668823796$export$47c66070d6d6cd6d as isSupportedLanguage, $3107245668823796$export$dbb82c29aa7faca4 as parseLanguage, $a4274013049f8f7f$export$a274e22fb40f762e as cx, $d95638fc63e2fe90$export$3ddf2d174ce01153 as Dialog, $d95638fc63e2fe90$export$dad7c95542bacce0 as DialogPortal, $d95638fc63e2fe90$export$bd1d06c79be19e17 as DialogOverlay, $d95638fc63e2fe90$export$2e1e1122cf0cba88 as DialogTrigger, $d95638fc63e2fe90$export$fba2fb7cd781b7ac as DialogClose, $d95638fc63e2fe90$export$b6d9565de1e068cf as DialogContent, $d95638fc63e2fe90$export$742513523b177e3b as DialogHeader, $d95638fc63e2fe90$export$5d20f2c38fcde41f as DialogBody, $d95638fc63e2fe90$export$7bbfb2d443473050 as DialogFooter, $d95638fc63e2fe90$export$16f7638e4a34b909 as DialogTitle, $d95638fc63e2fe90$export$94e94c2ec2c954d5 as DialogDescription, $a54417aeb05f1278$export$e44a253a59704894 as DropdownMenu, $a54417aeb05f1278$export$d2469213b3befba9 as DropdownMenuTrigger, $a54417aeb05f1278$export$6e76d93a37c01248 as DropdownMenuContent, $a54417aeb05f1278$export$ed97964d1871885d as DropdownMenuItem, $a54417aeb05f1278$export$53a69729da201fa9 as DropdownMenuCheckboxItem, $a54417aeb05f1278$export$e4f69b41b1637536 as DropdownMenuRadioItem, $a54417aeb05f1278$export$76e48c5b57f24495 as DropdownMenuLabel, $a54417aeb05f1278$export$da160178fd3bc7e9 as DropdownMenuSeparator, $a54417aeb05f1278$export$b1e098e2962e8df5 as DropdownMenuShortcut, $be9526d49a216cc9$export$7f1bf47c7f50a6aa as InlineCode, $69de6bdb0e8d2083$export$f5b8910cec6cf069 as Input, $69de6bdb0e8d2083$export$51002560fdde43ba as inputVariants, $1efa43e76774bcf1$export$c5be64db09f93414 as MediaObject, $1efa43e76774bcf1$export$a850f92726a1f836 as MediaObjectMedia, $1efa43e76774bcf1$export$8d93ffc9d5ebcf0c as MediaObjectContent, $66e13ce5ec226639$export$b28585a458fee016 as PasswordInput, $e1568f28b56f66ee$export$5b6b19405a83ff9d as Popover, $e1568f28b56f66ee$export$7dacb05d26466c3 as PopoverTrigger, $e1568f28b56f66ee$export$d7e1f420b25549ff as PopoverContent, $b0b413c594e2809e$export$ef9b1a59e592288f as Select, $b0b413c594e2809e$export$c973a4b3cb86a03d as SelectContent, $b0b413c594e2809e$export$ee25a334c55de1f4 as SelectGroup, $b0b413c594e2809e$export$f67338d29bd972f8 as SelectLabel, $b0b413c594e2809e$export$13ef48a934230896 as SelectItem, $b0b413c594e2809e$export$eba4b1df07cb1d3 as SelectSeparator, $b0b413c594e2809e$export$3ac1e88a1c0b9f1 as SelectTrigger, $b0b413c594e2809e$export$e288731fd71264f0 as SelectValue, $0e4ef6b27c1ec376$export$1ff3c3f08ae963c0 as Separator, $de4859618f6880e3$export$a9bf29f8d87ebbee as Sheet, $de4859618f6880e3$export$8e574df6e3b8d781 as SheetBody, $de4859618f6880e3$export$99d85c8298ee6511 as SheetClose, $de4859618f6880e3$export$fe5ec5b76996e2d3 as SheetContent, $de4859618f6880e3$export$2ee64bd945b80e4a as SheetDescription, $de4859618f6880e3$export$1adeb0155503ee5a as SheetFooter, $de4859618f6880e3$export$de7da2aaa45f2eb5 as SheetHeader, $de4859618f6880e3$export$48dbb295cbd054d8 as SheetOverlay, $de4859618f6880e3$export$721c917f47f6cb as SheetPortal, $de4859618f6880e3$export$4bb009ae36731de9 as SheetTitle, $de4859618f6880e3$export$de69b9b0343a1903 as SheetTrigger, $53866fd1feac4bca$export$8f31e4c4a37b8e9c as Skeleton, $fd75fdf931689c59$export$54ec01a60f47d33d as Table, $fd75fdf931689c59$export$f850895b287ef28e as TableHeader, $fd75fdf931689c59$export$76ccd210b9029917 as TableBody, $fd75fdf931689c59$export$1f116082bba1f9a8 as TableFooter, $fd75fdf931689c59$export$2f4a7be4f0dcc2 as TableHead, $fd75fdf931689c59$export$b05581f4e764e162 as TableRow, $fd75fdf931689c59$export$1e4baea7053fc0e3 as TableCell, $fd75fdf931689c59$export$35468a455d619eb3 as TableCaption, $a6907629e3ef14e9$export$f5c9f3c2c4054eec as TextArea, $dda3493dd750e32f$export$2d1315cd4e7dcc1 as PreventWrongThemeFlash, $dda3493dd750e32f$export$d8964aec282183a3 as ThemeProvider, $dda3493dd750e32f$export$6b08dcdbd4008308 as isTheme, $dda3493dd750e32f$export$1dca76bcd3720cbb as preventWrongThemeFlashScriptContent, $dda3493dd750e32f$export$bca14c5b3b88a9c9 as theme, $dda3493dd750e32f$export$93d4e7f90805808f as useTheme, $dda3493dd750e32f$export$9335dc9d919c3613 as useAppliedTheme, $aae96005fa706805$export$28c660c63b792dea as Tooltip, $aae96005fa706805$export$8c610744efcf8a1d as TooltipTrigger, $aae96005fa706805$export$e9003e2be37ec060 as TooltipContent, $aae96005fa706805$export$f78649fb9ca566b8 as TooltipProvider};
|
|
1829
1837
|
//# sourceMappingURL=index.js.map
|