@ngrok/mantle 0.0.21 → 0.0.22

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.
@@ -0,0 +1,2 @@
1
+ export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription, } from "./src/dialog";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,GACjB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
+ declare const Dialog: import("react").FC<DialogPrimitive.DialogProps>;
4
+ declare const DialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
+ declare const DialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
6
+ declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
+ declare const DialogOverlay: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ declare const DialogContent: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ declare const DialogHeader: {
10
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const DialogBody: {
14
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ declare const DialogFooter: {
18
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
19
+ displayName: string;
20
+ };
21
+ declare const DialogTitle: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
22
+ declare const DialogDescription: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
23
+ export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription, };
24
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../components/dialog/src/dialog.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAK1D,QAAA,MAAM,MAAM,iDAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,kIAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,uDAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,gIAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,4LAYjB,CAAC;AAGH,QAAA,MAAM,aAAa,4LAuBjB,CAAC;AAGH,QAAA,MAAM,YAAY;8BAA6B,MAAM,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,UAAU;8BAA6B,MAAM,cAAc,CAAC,cAAc,CAAC;;CAEhF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,MAAM,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,WAAW,kMASf,CAAC;AAGH,QAAA,MAAM,iBAAiB,4MAKrB,CAAC;AAGH,OAAO,EACN,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,GACjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../components/sheet/src/sheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAoD,cAAc,EAAE,MAAM,OAAO,CAAC;AAGzF,QAAA,MAAM,KAAK,gDAAsB,CAAC;AAElC,QAAA,MAAM,YAAY,iIAAyB,CAAC;AAE5C,QAAA,MAAM,UAAU,+HAAuB,CAAC;AAExC,QAAA,MAAM,WAAW,sDAAwB,CAAC;AAE1C,QAAA,MAAM,YAAY,2LAYhB,CAAC;AAyBH,QAAA,MAAM,YAAY;;gIAajB,CAAC;AAGF,QAAA,MAAM,SAAS,4BAA6B,eAAe,cAAc,CAAC,4CAEzE,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAE3E,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAE3E,CAAC;AAEF,QAAA,MAAM,UAAU,iMAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,2MAKpB,CAAC;AAGH,OAAO,EACN,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACZ,CAAC"}
1
+ {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../components/sheet/src/sheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAoD,cAAc,EAAE,MAAM,OAAO,CAAC;AAIzF,QAAA,MAAM,KAAK,gDAAsB,CAAC;AAElC,QAAA,MAAM,YAAY,iIAAyB,CAAC;AAE5C,QAAA,MAAM,UAAU,+HAAuB,CAAC;AAExC,QAAA,MAAM,WAAW,sDAAwB,CAAC;AAE1C,QAAA,MAAM,YAAY,2LAYhB,CAAC;AAyBH,QAAA,MAAM,YAAY;;gIAejB,CAAC;AAGF,QAAA,MAAM,SAAS,4BAA6B,eAAe,cAAc,CAAC,4CAEzE,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAE3E,CAAC;AAEF,QAAA,MAAM,WAAW,4BAA6B,eAAe,cAAc,CAAC,4CAK3E,CAAC;AAEF,QAAA,MAAM,UAAU,iMAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,2MAKpB,CAAC;AAGH,OAAO,EACN,KAAK,EACL,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACZ,CAAC"}
package/dist/index.js CHANGED
@@ -1162,6 +1162,7 @@ $parcel$export($96ca09627b32042e$exports, "SheetTrigger", function () { return $
1162
1162
 
1163
1163
 
1164
1164
 
1165
+
1165
1166
  const $de4859618f6880e3$export$a9bf29f8d87ebbee = $hLlzK$Root4;
1166
1167
  const $de4859618f6880e3$export$de69b9b0343a1903 = $hLlzK$Trigger2;
1167
1168
  const $de4859618f6880e3$export$99d85c8298ee6511 = $hLlzK$Close;
@@ -1196,17 +1197,22 @@ const $de4859618f6880e3$export$fe5ec5b76996e2d3 = /*#__PURE__*/ (0, $hLlzK$forwa
1196
1197
  ...props,
1197
1198
  children: [
1198
1199
  children,
1199
- /*#__PURE__*/ (0, $hLlzK$jsxs)($hLlzK$Close, {
1200
- className: "ring-offset-background focus:ring-ring data-state-open:bg-secondary absolute right-4 top-4 rounded opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",
1201
- children: [
1202
- /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$X), {
1203
- className: "h-6 w-6"
1204
- }),
1205
- /*#__PURE__*/ (0, $hLlzK$jsx)("span", {
1206
- className: "sr-only",
1207
- children: "Close"
1208
- })
1209
- ]
1200
+ /*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Close, {
1201
+ asChild: true,
1202
+ children: /*#__PURE__*/ (0, $hLlzK$jsxs)((0, $c2638d7be6bdca12$export$353f5b6fc5456de1), {
1203
+ appearance: "outlined",
1204
+ priority: "neutral",
1205
+ className: "absolute right-4 top-4 size-11 sm:size-9",
1206
+ children: [
1207
+ /*#__PURE__*/ (0, $hLlzK$jsx)((0, $hLlzK$X), {
1208
+ className: "size-5 shrink-0"
1209
+ }),
1210
+ /*#__PURE__*/ (0, $hLlzK$jsx)("span", {
1211
+ className: "sr-only",
1212
+ children: "Close"
1213
+ })
1214
+ ]
1215
+ })
1210
1216
  })
1211
1217
  ]
1212
1218
  })
@@ -1222,18 +1228,18 @@ const $de4859618f6880e3$export$de7da2aaa45f2eb5 = ({ className: className, ...pr
1222
1228
  ...props
1223
1229
  });
1224
1230
  const $de4859618f6880e3$export$1adeb0155503ee5a = ({ className: className, ...props })=>/*#__PURE__*/ (0, $hLlzK$jsx)("div", {
1225
- className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("shrink-0 border-t border-dialog-muted px-6 py-2.5", className),
1231
+ className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("flex shrink-0 flex-row-reverse gap-2 border-t border-dialog-muted px-6 py-2.5", className),
1226
1232
  ...props
1227
1233
  });
1228
1234
  const $de4859618f6880e3$export$4bb009ae36731de9 = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Title, {
1229
1235
  ref: ref,
1230
- className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("text-lg font-semibold text-strong", className),
1236
+ className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("text-lg font-medium text-strong", className),
1231
1237
  ...props
1232
1238
  }));
1233
1239
  $de4859618f6880e3$export$4bb009ae36731de9.displayName = $hLlzK$Title.displayName;
1234
1240
  const $de4859618f6880e3$export$2ee64bd945b80e4a = /*#__PURE__*/ (0, $hLlzK$forwardRef)(({ className: className, ...props }, ref)=>/*#__PURE__*/ (0, $hLlzK$jsx)($hLlzK$Description, {
1235
1241
  ref: ref,
1236
- className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("text-sm text-default", className),
1242
+ className: (0, $a4274013049f8f7f$export$a274e22fb40f762e)("text-muted", className),
1237
1243
  ...props
1238
1244
  }));
1239
1245
  $de4859618f6880e3$export$2ee64bd945b80e4a.displayName = $hLlzK$Description.displayName;
@@ -1337,7 +1343,7 @@ $parcel$export($28ef0f9ef87312c9$exports, "TextArea", function () { return $a690
1337
1343
 
1338
1344
 
1339
1345
 
1340
- const $a6907629e3ef14e9$var$textAreaVariants = (0, $hLlzK$cva)("border-input flex min-h-[5.75rem] w-full rounded-md border bg-white px-3 py-[calc(theme(spacing[2.5])-1px)] shadow-sm focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-50 sm:min-h-[4.75rem] sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm data-drag-over:border-dashed data-drag-over:ring-4", {
1346
+ const $a6907629e3ef14e9$var$textAreaVariants = (0, $hLlzK$cva)("border-input flex min-h-24 w-full rounded-md border bg-white px-3 py-[calc(theme(spacing[2.5])-1px)] focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-50 sm:py-[calc(theme(spacing[2])-1px)] sm:text-sm data-drag-over:border-dashed data-drag-over:ring-4", {
1341
1347
  variants: {
1342
1348
  state: {
1343
1349
  default: "text-strong border-form placeholder:text-placeholder focus:border-accent ring-accent data-drag-over:border-accent",