@ngrok/mantle 0.0.1-alpha.13 → 0.0.1-alpha.14

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.
@@ -706,6 +706,22 @@
706
706
  --popover-foreground: 210 40% 98%;
707
707
  }
708
708
 
709
+ @layer base {
710
+ /**
711
+ * provide an a11y escape hatch for those that prefer less motion
712
+ */
713
+ @media (prefers-reduced-motion: reduce) {
714
+ *,
715
+ *::before,
716
+ *::after {
717
+ animation-duration: 0.01ms !important;
718
+ animation-iteration-count: 1 !important;
719
+ transition-duration: 0.01ms !important;
720
+ scroll-behavior: auto !important;
721
+ }
722
+ }
723
+ }
724
+
709
725
  /**
710
726
  * prism.js default theme for JavaScript, CSS and HTML
711
727
  * Based on dabblet (http://dabblet.com)
@@ -0,0 +1,5 @@
1
+ import { AnchorHTMLAttributes } from "react";
2
+ import { WithAsChild } from "../types/as-child";
3
+ declare const anchorClassNames: (className: string | undefined) => string;
4
+ declare const Anchor: import("react").ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & import("react").RefAttributes<HTMLAnchorElement>>;
5
+ export { Anchor, anchorClassNames };
@@ -0,0 +1,22 @@
1
+ import * as DrawerPrimitive from "@radix-ui/react-dialog";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import { HTMLAttributes } from "react";
4
+ declare const Drawer: import("react").FC<DrawerPrimitive.DialogProps>;
5
+ declare const DrawerTrigger: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
6
+ declare const DrawerClose: import("react").ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
7
+ declare const DrawerPortal: import("react").FC<DrawerPrimitive.DialogPortalProps>;
8
+ declare const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ declare const DrawerContent: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
10
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLDivElement>>;
12
+ declare const DrawerHeader: {
13
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const DrawerFooter: {
17
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
20
+ declare const DrawerTitle: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
21
+ declare const DrawerDescription: import("react").ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
22
+ export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -1,9 +1,12 @@
1
+ export { Anchor, anchorClassNames } from "./anchor";
1
2
  export { Button } from "./button";
2
3
  export { Card, CardBody, CardFooter, CardHeader, CardTitle } from "./card";
3
4
  export { cx } from "./cx";
5
+ export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, } from "./drawer";
4
6
  export { Input } from "./input";
5
7
  export { MediaObject, MediaObjectMedia, MediaObjectContent } from "./media-object";
6
8
  export { Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, } from "./select";
9
+ export { Skeleton } from "./skeleton";
7
10
  export { ThemeProvider, PreventWrongThemeFlash, isTheme, useTheme } from "./theme-provider";
8
11
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from "./tooltip";
9
12
  export type { ButtonProps } from "./button";
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes } from "react";
2
+ type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
3
+ declare function Skeleton({ className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
4
+ export { Skeleton };
@@ -28,6 +28,7 @@ declare const preset: {
28
28
  800: string;
29
29
  900: string;
30
30
  950: string;
31
+ DEFAULT: string;
31
32
  };
32
33
  red: {
33
34
  50: string;
@@ -41,6 +42,7 @@ declare const preset: {
41
42
  800: string;
42
43
  900: string;
43
44
  950: string;
45
+ DEFAULT: string;
44
46
  };
45
47
  orange: {
46
48
  50: string;
@@ -54,6 +56,7 @@ declare const preset: {
54
56
  800: string;
55
57
  900: string;
56
58
  950: string;
59
+ DEFAULT: string;
57
60
  };
58
61
  amber: {
59
62
  50: string;
@@ -67,6 +70,7 @@ declare const preset: {
67
70
  800: string;
68
71
  900: string;
69
72
  950: string;
73
+ DEFAULT: string;
70
74
  };
71
75
  yellow: {
72
76
  50: string;
@@ -80,6 +84,7 @@ declare const preset: {
80
84
  800: string;
81
85
  900: string;
82
86
  950: string;
87
+ DEFAULT: string;
83
88
  };
84
89
  lime: {
85
90
  50: string;
@@ -93,6 +98,7 @@ declare const preset: {
93
98
  800: string;
94
99
  900: string;
95
100
  950: string;
101
+ DEFAULT: string;
96
102
  };
97
103
  green: {
98
104
  50: string;
@@ -106,6 +112,7 @@ declare const preset: {
106
112
  800: string;
107
113
  900: string;
108
114
  950: string;
115
+ DEFAULT: string;
109
116
  };
110
117
  teal: {
111
118
  50: string;
@@ -119,6 +126,7 @@ declare const preset: {
119
126
  800: string;
120
127
  900: string;
121
128
  950: string;
129
+ DEFAULT: string;
122
130
  };
123
131
  cyan: {
124
132
  50: string;
@@ -132,6 +140,7 @@ declare const preset: {
132
140
  800: string;
133
141
  900: string;
134
142
  950: string;
143
+ DEFAULT: string;
135
144
  };
136
145
  sky: {
137
146
  50: string;
@@ -145,6 +154,7 @@ declare const preset: {
145
154
  800: string;
146
155
  900: string;
147
156
  950: string;
157
+ DEFAULT: string;
148
158
  };
149
159
  blue: {
150
160
  50: string;
@@ -158,6 +168,7 @@ declare const preset: {
158
168
  800: string;
159
169
  900: string;
160
170
  950: string;
171
+ DEFAULT: string;
161
172
  };
162
173
  indigo: {
163
174
  50: string;
@@ -171,6 +182,7 @@ declare const preset: {
171
182
  800: string;
172
183
  900: string;
173
184
  950: string;
185
+ DEFAULT: string;
174
186
  };
175
187
  violet: {
176
188
  50: string;
@@ -184,6 +196,7 @@ declare const preset: {
184
196
  800: string;
185
197
  900: string;
186
198
  950: string;
199
+ DEFAULT: string;
187
200
  };
188
201
  purple: {
189
202
  50: string;
@@ -197,6 +210,7 @@ declare const preset: {
197
210
  800: string;
198
211
  900: string;
199
212
  950: string;
213
+ DEFAULT: string;
200
214
  };
201
215
  fuchsia: {
202
216
  50: string;
@@ -210,6 +224,7 @@ declare const preset: {
210
224
  800: string;
211
225
  900: string;
212
226
  950: string;
227
+ DEFAULT: string;
213
228
  };
214
229
  pink: {
215
230
  50: string;
@@ -223,6 +238,7 @@ declare const preset: {
223
238
  800: string;
224
239
  900: string;
225
240
  950: string;
241
+ DEFAULT: string;
226
242
  };
227
243
  rose: {
228
244
  50: string;
@@ -236,6 +252,7 @@ declare const preset: {
236
252
  800: string;
237
253
  900: string;
238
254
  950: string;
255
+ DEFAULT: string;
239
256
  };
240
257
  button: string;
241
258
  border: string;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  /**
3
- * @ngrok/mantle v0.0.1-alpha.13
3
+ * @ngrok/mantle v0.0.1-alpha.14
4
4
  *
5
5
  * Copyright (c) ngrok.
6
6
  *
@@ -10,22 +10,16 @@
10
10
  * @license MIT
11
11
  */
12
12
  import * as react from 'react';
13
- import { ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, CSSProperties } from 'react';
13
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, CSSProperties } from 'react';
14
14
  import * as class_variance_authority from 'class-variance-authority';
15
15
  import { VariantProps as VariantProps$1 } from 'class-variance-authority';
16
16
  import * as class_variance_authority_types from 'class-variance-authority/types';
17
17
  import { ClassValue } from 'clsx';
18
- import * as _radix_ui_react_select from '@radix-ui/react-select';
19
18
  import * as react_jsx_runtime from 'react/jsx-runtime';
19
+ import * as DrawerPrimitive from '@radix-ui/react-dialog';
20
+ import * as _radix_ui_react_select from '@radix-ui/react-select';
20
21
  import * as _radix_ui_react_tooltip from '@radix-ui/react-tooltip';
21
22
 
22
- /**
23
- * Makes all properties in an object non-nullable, recursively.
24
- */
25
- type DeepNonNullable<Type> = {
26
- [Property in keyof Type]-?: Type[Property] & {};
27
- };
28
-
29
23
  /**
30
24
  * Utility type for adding the `asChild` boolean prop to a component.
31
25
  */
@@ -47,6 +41,16 @@ type WithAsChild = {
47
41
  asChild?: boolean;
48
42
  };
49
43
 
44
+ declare const anchorClassNames: (className: string | undefined) => string;
45
+ declare const Anchor: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & WithAsChild & react.RefAttributes<HTMLAnchorElement>>;
46
+
47
+ /**
48
+ * Makes all properties in an object non-nullable, recursively.
49
+ */
50
+ type DeepNonNullable<Type> = {
51
+ [Property in keyof Type]-?: Type[Property] & {};
52
+ };
53
+
50
54
  /**
51
55
  * Variant props that are optional and cannot be `null`.
52
56
  *
@@ -109,6 +113,25 @@ declare const CardTitle: react.ForwardRefExoticComponent<HTMLAttributes<HTMLHead
109
113
  */
110
114
  declare function cx(...inputs: ClassValue[]): string;
111
115
 
116
+ declare const Drawer: react.FC<DrawerPrimitive.DialogProps>;
117
+ declare const DrawerTrigger: react.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
118
+ declare const DrawerClose: react.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
119
+ declare const DrawerPortal: react.FC<DrawerPrimitive.DialogPortalProps>;
120
+ declare const DrawerOverlay: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
121
+ declare const DrawerContent: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps$1<(props?: ({
122
+ side?: "top" | "bottom" | "left" | "right" | null | undefined;
123
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
124
+ declare const DrawerHeader: {
125
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
126
+ displayName: string;
127
+ };
128
+ declare const DrawerFooter: {
129
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
130
+ displayName: string;
131
+ };
132
+ declare const DrawerTitle: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
133
+ declare const DrawerDescription: react.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
134
+
112
135
  /**
113
136
  * (Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what,
114
137
  * if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls
@@ -185,6 +208,9 @@ declare const SelectLabel: react.ForwardRefExoticComponent<Omit<_radix_ui_react_
185
208
  declare const SelectOption: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
186
209
  declare const SelectSeparator: react.ForwardRefExoticComponent<Omit<_radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
187
210
 
211
+ type Props = Exclude<HTMLAttributes<HTMLDivElement>, "children">;
212
+ declare function Skeleton({ className, ...props }: Props): react_jsx_runtime.JSX.Element;
213
+
188
214
  /**
189
215
  * themes is a tuple of valid themes.
190
216
  */
@@ -253,4 +279,4 @@ type WithStyleProps = {
253
279
  style?: CSSProperties;
254
280
  };
255
281
 
256
- export { type AutoComplete, Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, Input, type InputProps, type InputType, MediaObject, MediaObjectContent, MediaObjectMedia, PreventWrongThemeFlash, Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, type Theme, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type WithAsChild, type WithStyleProps, cx, isTheme, useTheme };
282
+ export { Anchor, type AutoComplete, Button, type ButtonProps, Card, CardBody, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, type InputProps, type InputType, MediaObject, MediaObjectContent, MediaObjectMedia, PreventWrongThemeFlash, Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, Skeleton, type Theme, ThemeProvider, type ThemeProviderProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type WithAsChild, type WithStyleProps, anchorClassNames, cx, isTheme, useTheme };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @ngrok/mantle v0.0.1-alpha.13
2
+ * @ngrok/mantle v0.0.1-alpha.14
3
3
  *
4
4
  * Copyright (c) ngrok.
5
5
  *
@@ -9,12 +9,13 @@
9
9
  * @license MIT
10
10
  */
11
11
  import { jsx, jsxs } from 'react/jsx-runtime';
12
- import { forwardRef, useState, useEffect, useMemo, useContext, createContext } from 'react';
13
12
  import { Slot } from '@radix-ui/react-slot';
14
- import { cva } from 'class-variance-authority';
13
+ import { forwardRef, useState, useEffect, useMemo, useContext, createContext } from 'react';
15
14
  import { clsx } from 'clsx';
16
15
  import { twMerge } from 'tailwind-merge';
17
- import { CaretSortIcon, CheckIcon } from '@radix-ui/react-icons';
16
+ import { cva } from 'class-variance-authority';
17
+ import * as DrawerPrimitive from '@radix-ui/react-dialog';
18
+ import { Cross2Icon, CaretSortIcon, CheckIcon } from '@radix-ui/react-icons';
18
19
  import { Trigger, Content, Label, Item, Separator, Root, Group, Value, Icon, Portal, Viewport, ItemIndicator, ItemText } from '@radix-ui/react-select';
19
20
  import invariant from 'tiny-invariant';
20
21
  import { Content as Content$1, Provider, Root as Root$1, Trigger as Trigger$1 } from '@radix-ui/react-tooltip';
@@ -58,7 +59,23 @@ function cx() {
58
59
  return twMerge(clsx(inputs));
59
60
  }
60
61
 
61
- var _excluded$4 = ["className", "priority", "size", "state", "asChild"];
62
+ var _excluded$7 = ["asChild", "className"];
63
+ var anchorClassNames = function anchorClassNames(className) {
64
+ return cx("text-blue-500 hover:text-blue-400 focus:text-blue-400 focus-visible:ring-blue-400/40 cursor-pointer rounded bg-transparent focus:outline-none focus-visible:ring focus:underline hover:underline visited:text-purple-600", className);
65
+ };
66
+ var Anchor = /*#__PURE__*/forwardRef(function (_ref, ref) {
67
+ var asChild = _ref.asChild,
68
+ className = _ref.className,
69
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
70
+ var Component = asChild ? Slot : "a";
71
+ return jsx(Component, _extends({
72
+ className: anchorClassNames(className),
73
+ ref: ref
74
+ }, props));
75
+ });
76
+ Anchor.displayName = "Anchor";
77
+
78
+ var _excluded$6 = ["className", "priority", "size", "state", "asChild"];
62
79
  var buttonVariants = cva("inline-flex items-center justify-center rounded-md font-medium border transition-colors focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50", {
63
80
  variants: {
64
81
  priority: {
@@ -112,7 +129,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
112
129
  state = _ref$state === void 0 ? "default" : _ref$state,
113
130
  _ref$asChild = _ref.asChild,
114
131
  asChild = _ref$asChild === void 0 ? false : _ref$asChild,
115
- props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
132
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
116
133
  var Comp = asChild ? Slot : "button";
117
134
  return jsx(Comp, _extends({
118
135
  className: cx(buttonVariants({
@@ -126,11 +143,11 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
126
143
  });
127
144
  Button.displayName = "Button";
128
145
 
129
- var _excluded$3 = ["className", "children"],
130
- _excluded2$1 = ["className", "children"],
131
- _excluded3$1 = ["className", "children"],
132
- _excluded4$1 = ["className", "children"],
133
- _excluded5$1 = ["className", "asChild"];
146
+ var _excluded$5 = ["className", "children"],
147
+ _excluded2$2 = ["className", "children"],
148
+ _excluded3$2 = ["className", "children"],
149
+ _excluded4$2 = ["className", "children"],
150
+ _excluded5$2 = ["className", "asChild"];
134
151
  /**
135
152
  * A container that can be used to display content in a box resembling a playing
136
153
  * card.
@@ -138,7 +155,7 @@ var _excluded$3 = ["className", "children"],
138
155
  var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
139
156
  var className = _ref.className,
140
157
  children = _ref.children,
141
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
158
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
142
159
  return jsx("div", _extends({
143
160
  ref: ref,
144
161
  className: cx("relative rounded border bg-white", className)
@@ -153,7 +170,7 @@ Card.displayName = "Card";
153
170
  var CardBody = /*#__PURE__*/forwardRef(function (_ref2, ref) {
154
171
  var className = _ref2.className,
155
172
  children = _ref2.children,
156
- rest = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
173
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
157
174
  return jsx("div", _extends({
158
175
  ref: ref,
159
176
  className: cx("p-6", className)
@@ -168,7 +185,7 @@ CardBody.displayName = "CardBody";
168
185
  var CardFooter = /*#__PURE__*/forwardRef(function (_ref3, ref) {
169
186
  var className = _ref3.className,
170
187
  children = _ref3.children,
171
- rest = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
188
+ rest = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
172
189
  return jsx("div", _extends({
173
190
  ref: ref,
174
191
  className: cx("border-t px-6 py-3", className)
@@ -183,7 +200,7 @@ CardFooter.displayName = "CardFooter";
183
200
  var CardHeader = /*#__PURE__*/forwardRef(function (_ref4, ref) {
184
201
  var className = _ref4.className,
185
202
  children = _ref4.children,
186
- rest = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
203
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded4$2);
187
204
  return jsx("div", _extends({
188
205
  ref: ref,
189
206
  className: cx("border-b px-6 py-3", className)
@@ -198,7 +215,7 @@ CardHeader.displayName = "CardHeader";
198
215
  var CardTitle = /*#__PURE__*/forwardRef(function (_ref5, ref) {
199
216
  var className = _ref5.className,
200
217
  asChild = _ref5.asChild,
201
- props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
218
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded5$2);
202
219
  var Comp = asChild ? Slot : "h3";
203
220
  return jsx(Comp, _extends({
204
221
  ref: ref,
@@ -207,7 +224,101 @@ var CardTitle = /*#__PURE__*/forwardRef(function (_ref5, ref) {
207
224
  });
208
225
  CardTitle.displayName = "CardTitle";
209
226
 
210
- var _excluded$2 = ["className", "state", "type"];
227
+ var _excluded$4 = ["className"],
228
+ _excluded2$1 = ["side", "className", "children"],
229
+ _excluded3$1 = ["className"],
230
+ _excluded4$1 = ["className"],
231
+ _excluded5$1 = ["className"],
232
+ _excluded6 = ["className"];
233
+ var Drawer = DrawerPrimitive.Root;
234
+ var DrawerTrigger = DrawerPrimitive.Trigger;
235
+ var DrawerClose = DrawerPrimitive.Close;
236
+ var DrawerPortal = DrawerPrimitive.Portal;
237
+ var DrawerOverlay = /*#__PURE__*/forwardRef(function (_ref, ref) {
238
+ var className = _ref.className,
239
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
240
+ return jsx(DrawerPrimitive.Overlay, _extends({
241
+ className: cx("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
242
+ }, props, {
243
+ ref: ref
244
+ }));
245
+ });
246
+ DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
247
+ var drawerVariants = cva("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500", {
248
+ variants: {
249
+ side: {
250
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
251
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
252
+ left: "inset-y-0 left-0 h-full w-full border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
253
+ right: "inset-y-0 right-0 h-full w-full border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
254
+ }
255
+ },
256
+ defaultVariants: {
257
+ side: "right"
258
+ }
259
+ });
260
+ var DrawerContent = /*#__PURE__*/forwardRef(function (_ref2, ref) {
261
+ var _ref2$side = _ref2.side,
262
+ side = _ref2$side === void 0 ? "right" : _ref2$side,
263
+ className = _ref2.className,
264
+ children = _ref2.children,
265
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
266
+ return jsxs(DrawerPortal, {
267
+ children: [jsx(DrawerOverlay, {}), jsxs(DrawerPrimitive.Content, _extends({
268
+ ref: ref,
269
+ className: cx(drawerVariants({
270
+ side: side
271
+ }), className)
272
+ }, props, {
273
+ children: [children, jsxs(DrawerPrimitive.Close, {
274
+ className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
275
+ children: [jsx(Cross2Icon, {
276
+ className: "h-4 w-4"
277
+ }), jsx("span", {
278
+ className: "sr-only",
279
+ children: "Close"
280
+ })]
281
+ })]
282
+ }))]
283
+ });
284
+ });
285
+ DrawerContent.displayName = DrawerPrimitive.Content.displayName;
286
+ var DrawerHeader = function DrawerHeader(_ref3) {
287
+ var className = _ref3.className,
288
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
289
+ return jsx("div", _extends({
290
+ className: cx("flex flex-col space-y-2 text-center sm:text-left", className)
291
+ }, props));
292
+ };
293
+ DrawerHeader.displayName = "DrawerHeader";
294
+ var DrawerFooter = function DrawerFooter(_ref4) {
295
+ var className = _ref4.className,
296
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
297
+ return jsx("div", _extends({
298
+ className: cx("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
299
+ }, props));
300
+ };
301
+ DrawerFooter.displayName = "DrawerFooter";
302
+ var DrawerTitle = /*#__PURE__*/forwardRef(function (_ref5, ref) {
303
+ var className = _ref5.className,
304
+ props = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
305
+ return jsx(DrawerPrimitive.Title, _extends({
306
+ ref: ref,
307
+ className: cx("text-lg font-semibold text-gray-900", className)
308
+ }, props));
309
+ });
310
+ DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
311
+ var DrawerDescription = /*#__PURE__*/forwardRef(function (_ref6, ref) {
312
+ var className = _ref6.className,
313
+ props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
314
+ return jsx(DrawerPrimitive.Description, _extends({
315
+ ref: ref,
316
+ className: cx("text-sm text-gray-600", className)
317
+ }, props));
318
+ });
319
+ DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
320
+
321
+ var _excluded$3 = ["className", "state", "type"];
211
322
  var inputVariants = cva("flex h-10 w-full rounded-md border bg-white 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:cursor-not-allowed disabled:opacity-50", {
212
323
  variants: {
213
324
  state: {
@@ -229,7 +340,7 @@ var Input = /*#__PURE__*/forwardRef(function (_ref, ref) {
229
340
  state = _ref$state === void 0 ? "default" : _ref$state,
230
341
  _ref$type = _ref.type,
231
342
  type = _ref$type === void 0 ? "text" : _ref$type,
232
- props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
343
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
233
344
  return jsx("input", _extends({
234
345
  className: cx(inputVariants({
235
346
  state: state
@@ -295,7 +406,7 @@ var MediaObjectContent = /*#__PURE__*/forwardRef(function (_ref3, ref) {
295
406
  });
296
407
  MediaObjectContent.displayName = "MediaObjectContent";
297
408
 
298
- var _excluded$1 = ["className", "children", "hideIcon"],
409
+ var _excluded$2 = ["className", "children", "hideIcon"],
299
410
  _excluded2 = ["className", "children", "position"],
300
411
  _excluded3 = ["className"],
301
412
  _excluded4 = ["className", "children"],
@@ -309,7 +420,7 @@ var SelectTrigger = /*#__PURE__*/forwardRef(function (_ref, ref) {
309
420
  children = _ref.children,
310
421
  _ref$hideIcon = _ref.hideIcon,
311
422
  hideIcon = _ref$hideIcon === void 0 ? false : _ref$hideIcon,
312
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
423
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
313
424
  return jsxs(Trigger, _extends({
314
425
  ref: ref,
315
426
  className: cx("flex h-10 w-full items-center justify-between rounded-md border border-gray-500 bg-white px-3 py-2 placeholder:text-gray-300 focus:border-blue-500 focus:outline-none focus:ring-4 focus:ring-blue-600/25 disabled:cursor-not-allowed disabled:opacity-50", className)
@@ -383,6 +494,15 @@ var SelectSeparator = /*#__PURE__*/forwardRef(function (_ref5, ref) {
383
494
  });
384
495
  SelectSeparator.displayName = Separator.displayName;
385
496
 
497
+ var _excluded$1 = ["className"];
498
+ function Skeleton(_ref) {
499
+ var className = _ref.className,
500
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
501
+ return jsx("div", _extends({
502
+ className: cx("animate-pulse rounded-md bg-gray-200", className)
503
+ }, props));
504
+ }
505
+
386
506
  /**
387
507
  * prefersDarkModeMediaQuery is the media query used to detect if the user prefers dark mode.
388
508
  */
@@ -543,4 +663,4 @@ var TooltipContent = /*#__PURE__*/forwardRef(function (_ref, ref) {
543
663
  });
544
664
  TooltipContent.displayName = Content$1.displayName;
545
665
 
546
- export { Button, Card, CardBody, CardFooter, CardHeader, CardTitle, Input, MediaObject, MediaObjectContent, MediaObjectMedia, PreventWrongThemeFlash, Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, ThemeProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, cx, isTheme, useTheme };
666
+ export { Anchor, Button, Card, CardBody, CardFooter, CardHeader, CardTitle, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Input, MediaObject, MediaObjectContent, MediaObjectMedia, PreventWrongThemeFlash, Select, SelectContent, SelectGroup, SelectIcon, SelectLabel, SelectOption, SelectSeparator, SelectTrigger, SelectValue, Skeleton, ThemeProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, anchorClassNames, cx, isTheme, useTheme };
@@ -28,6 +28,7 @@ declare const preset: {
28
28
  800: string;
29
29
  900: string;
30
30
  950: string;
31
+ DEFAULT: string;
31
32
  };
32
33
  red: {
33
34
  50: string;
@@ -41,6 +42,7 @@ declare const preset: {
41
42
  800: string;
42
43
  900: string;
43
44
  950: string;
45
+ DEFAULT: string;
44
46
  };
45
47
  orange: {
46
48
  50: string;
@@ -54,6 +56,7 @@ declare const preset: {
54
56
  800: string;
55
57
  900: string;
56
58
  950: string;
59
+ DEFAULT: string;
57
60
  };
58
61
  amber: {
59
62
  50: string;
@@ -67,6 +70,7 @@ declare const preset: {
67
70
  800: string;
68
71
  900: string;
69
72
  950: string;
73
+ DEFAULT: string;
70
74
  };
71
75
  yellow: {
72
76
  50: string;
@@ -80,6 +84,7 @@ declare const preset: {
80
84
  800: string;
81
85
  900: string;
82
86
  950: string;
87
+ DEFAULT: string;
83
88
  };
84
89
  lime: {
85
90
  50: string;
@@ -93,6 +98,7 @@ declare const preset: {
93
98
  800: string;
94
99
  900: string;
95
100
  950: string;
101
+ DEFAULT: string;
96
102
  };
97
103
  green: {
98
104
  50: string;
@@ -106,6 +112,7 @@ declare const preset: {
106
112
  800: string;
107
113
  900: string;
108
114
  950: string;
115
+ DEFAULT: string;
109
116
  };
110
117
  teal: {
111
118
  50: string;
@@ -119,6 +126,7 @@ declare const preset: {
119
126
  800: string;
120
127
  900: string;
121
128
  950: string;
129
+ DEFAULT: string;
122
130
  };
123
131
  cyan: {
124
132
  50: string;
@@ -132,6 +140,7 @@ declare const preset: {
132
140
  800: string;
133
141
  900: string;
134
142
  950: string;
143
+ DEFAULT: string;
135
144
  };
136
145
  sky: {
137
146
  50: string;
@@ -145,6 +154,7 @@ declare const preset: {
145
154
  800: string;
146
155
  900: string;
147
156
  950: string;
157
+ DEFAULT: string;
148
158
  };
149
159
  blue: {
150
160
  50: string;
@@ -158,6 +168,7 @@ declare const preset: {
158
168
  800: string;
159
169
  900: string;
160
170
  950: string;
171
+ DEFAULT: string;
161
172
  };
162
173
  indigo: {
163
174
  50: string;
@@ -171,6 +182,7 @@ declare const preset: {
171
182
  800: string;
172
183
  900: string;
173
184
  950: string;
185
+ DEFAULT: string;
174
186
  };
175
187
  violet: {
176
188
  50: string;
@@ -184,6 +196,7 @@ declare const preset: {
184
196
  800: string;
185
197
  900: string;
186
198
  950: string;
199
+ DEFAULT: string;
187
200
  };
188
201
  purple: {
189
202
  50: string;
@@ -197,6 +210,7 @@ declare const preset: {
197
210
  800: string;
198
211
  900: string;
199
212
  950: string;
213
+ DEFAULT: string;
200
214
  };
201
215
  fuchsia: {
202
216
  50: string;
@@ -210,6 +224,7 @@ declare const preset: {
210
224
  800: string;
211
225
  900: string;
212
226
  950: string;
227
+ DEFAULT: string;
213
228
  };
214
229
  pink: {
215
230
  50: string;
@@ -223,6 +238,7 @@ declare const preset: {
223
238
  800: string;
224
239
  900: string;
225
240
  950: string;
241
+ DEFAULT: string;
226
242
  };
227
243
  rose: {
228
244
  50: string;
@@ -236,6 +252,7 @@ declare const preset: {
236
252
  800: string;
237
253
  900: string;
238
254
  950: string;
255
+ DEFAULT: string;
239
256
  };
240
257
  button: string;
241
258
  border: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @ngrok/mantle v0.0.1-alpha.13
2
+ * @ngrok/mantle v0.0.1-alpha.14
3
3
  *
4
4
  * Copyright (c) ngrok.
5
5
  *
@@ -8,8 +8,8 @@
8
8
  *
9
9
  * @license MIT
10
10
  */
11
- import defaultTheme from 'tailwindcss/defaultTheme';
12
11
  import tailwindCssAnimatePlugin from 'tailwindcss-animate';
12
+ import defaultTheme from 'tailwindcss/defaultTheme';
13
13
 
14
14
  var preset = {
15
15
  content: [],
@@ -40,7 +40,8 @@ var preset = {
40
40
  700: "hsl(var(--gray-700) / <alpha-value>)",
41
41
  800: "hsl(var(--gray-800) / <alpha-value>)",
42
42
  900: "hsl(var(--gray-900) / <alpha-value>)",
43
- 950: "hsl(var(--gray-950) / <alpha-value>)"
43
+ 950: "hsl(var(--gray-950) / <alpha-value>)",
44
+ DEFAULT: "hsl(var(--gray-500) / <alpha-value>)"
44
45
  },
45
46
  red: {
46
47
  50: "hsl(var(--red-050) / <alpha-value>)",
@@ -53,7 +54,8 @@ var preset = {
53
54
  700: "hsl(var(--red-700) / <alpha-value>)",
54
55
  800: "hsl(var(--red-800) / <alpha-value>)",
55
56
  900: "hsl(var(--red-900) / <alpha-value>)",
56
- 950: "hsl(var(--red-950) / <alpha-value>)"
57
+ 950: "hsl(var(--red-950) / <alpha-value>)",
58
+ DEFAULT: "hsl(var(--red-500) / <alpha-value>)"
57
59
  },
58
60
  orange: {
59
61
  50: "hsl(var(--orange-050) / <alpha-value>)",
@@ -66,7 +68,8 @@ var preset = {
66
68
  700: "hsl(var(--orange-700) / <alpha-value>)",
67
69
  800: "hsl(var(--orange-800) / <alpha-value>)",
68
70
  900: "hsl(var(--orange-900) / <alpha-value>)",
69
- 950: "hsl(var(--orange-950) / <alpha-value>)"
71
+ 950: "hsl(var(--orange-950) / <alpha-value>)",
72
+ DEFAULT: "hsl(var(--orange-500) / <alpha-value>)"
70
73
  },
71
74
  amber: {
72
75
  50: "hsl(var(--amber-050) / <alpha-value>)",
@@ -79,7 +82,8 @@ var preset = {
79
82
  700: "hsl(var(--amber-700) / <alpha-value>)",
80
83
  800: "hsl(var(--amber-800) / <alpha-value>)",
81
84
  900: "hsl(var(--amber-900) / <alpha-value>)",
82
- 950: "hsl(var(--amber-950) / <alpha-value>)"
85
+ 950: "hsl(var(--amber-950) / <alpha-value>)",
86
+ DEFAULT: "hsl(var(--amber-500) / <alpha-value>)"
83
87
  },
84
88
  yellow: {
85
89
  50: "hsl(var(--yellow-050) / <alpha-value>)",
@@ -92,7 +96,8 @@ var preset = {
92
96
  700: "hsl(var(--yellow-700) / <alpha-value>)",
93
97
  800: "hsl(var(--yellow-800) / <alpha-value>)",
94
98
  900: "hsl(var(--yellow-900) / <alpha-value>)",
95
- 950: "hsl(var(--yellow-950) / <alpha-value>)"
99
+ 950: "hsl(var(--yellow-950) / <alpha-value>)",
100
+ DEFAULT: "hsl(var(--yellow-500) / <alpha-value>)"
96
101
  },
97
102
  lime: {
98
103
  50: "hsl(var(--lime-050) / <alpha-value>)",
@@ -105,7 +110,8 @@ var preset = {
105
110
  700: "hsl(var(--lime-700) / <alpha-value>)",
106
111
  800: "hsl(var(--lime-800) / <alpha-value>)",
107
112
  900: "hsl(var(--lime-900) / <alpha-value>)",
108
- 950: "hsl(var(--lime-950) / <alpha-value>)"
113
+ 950: "hsl(var(--lime-950) / <alpha-value>)",
114
+ DEFAULT: "hsl(var(--lime-500) / <alpha-value>)"
109
115
  },
110
116
  green: {
111
117
  50: "hsl(var(--green-050) / <alpha-value>)",
@@ -118,7 +124,8 @@ var preset = {
118
124
  700: "hsl(var(--green-700) / <alpha-value>)",
119
125
  800: "hsl(var(--green-800) / <alpha-value>)",
120
126
  900: "hsl(var(--green-900) / <alpha-value>)",
121
- 950: "hsl(var(--green-950) / <alpha-value>)"
127
+ 950: "hsl(var(--green-950) / <alpha-value>)",
128
+ DEFAULT: "hsl(var(--green-500) / <alpha-value>)"
122
129
  },
123
130
  teal: {
124
131
  50: "hsl(var(--teal-050) / <alpha-value>)",
@@ -131,7 +138,8 @@ var preset = {
131
138
  700: "hsl(var(--teal-700) / <alpha-value>)",
132
139
  800: "hsl(var(--teal-800) / <alpha-value>)",
133
140
  900: "hsl(var(--teal-900) / <alpha-value>)",
134
- 950: "hsl(var(--teal-950) / <alpha-value>)"
141
+ 950: "hsl(var(--teal-950) / <alpha-value>)",
142
+ DEFAULT: "hsl(var(--teal-500) / <alpha-value>)"
135
143
  },
136
144
  cyan: {
137
145
  50: "hsl(var(--cyan-050) / <alpha-value>)",
@@ -144,7 +152,8 @@ var preset = {
144
152
  700: "hsl(var(--cyan-700) / <alpha-value>)",
145
153
  800: "hsl(var(--cyan-800) / <alpha-value>)",
146
154
  900: "hsl(var(--cyan-900) / <alpha-value>)",
147
- 950: "hsl(var(--cyan-950) / <alpha-value>)"
155
+ 950: "hsl(var(--cyan-950) / <alpha-value>)",
156
+ DEFAULT: "hsl(var(--cyan-500) / <alpha-value>)"
148
157
  },
149
158
  sky: {
150
159
  50: "hsl(var(--sky-050) / <alpha-value>)",
@@ -157,7 +166,8 @@ var preset = {
157
166
  700: "hsl(var(--sky-700) / <alpha-value>)",
158
167
  800: "hsl(var(--sky-800) / <alpha-value>)",
159
168
  900: "hsl(var(--sky-900) / <alpha-value>)",
160
- 950: "hsl(var(--sky-950) / <alpha-value>)"
169
+ 950: "hsl(var(--sky-950) / <alpha-value>)",
170
+ DEFAULT: "hsl(var(--sky-500) / <alpha-value>)"
161
171
  },
162
172
  blue: {
163
173
  50: "hsl(var(--blue-050) / <alpha-value>)",
@@ -170,7 +180,8 @@ var preset = {
170
180
  700: "hsl(var(--blue-700) / <alpha-value>)",
171
181
  800: "hsl(var(--blue-800) / <alpha-value>)",
172
182
  900: "hsl(var(--blue-900) / <alpha-value>)",
173
- 950: "hsl(var(--blue-950) / <alpha-value>)"
183
+ 950: "hsl(var(--blue-950) / <alpha-value>)",
184
+ DEFAULT: "hsl(var(--blue-500) / <alpha-value>)"
174
185
  },
175
186
  indigo: {
176
187
  50: "hsl(var(--indigo-050) / <alpha-value>)",
@@ -183,7 +194,8 @@ var preset = {
183
194
  700: "hsl(var(--indigo-700) / <alpha-value>)",
184
195
  800: "hsl(var(--indigo-800) / <alpha-value>)",
185
196
  900: "hsl(var(--indigo-900) / <alpha-value>)",
186
- 950: "hsl(var(--indigo-950) / <alpha-value>)"
197
+ 950: "hsl(var(--indigo-950) / <alpha-value>)",
198
+ DEFAULT: "hsl(var(--indigo-500) / <alpha-value>)"
187
199
  },
188
200
  violet: {
189
201
  50: "hsl(var(--violet-050) / <alpha-value>)",
@@ -196,7 +208,8 @@ var preset = {
196
208
  700: "hsl(var(--violet-700) / <alpha-value>)",
197
209
  800: "hsl(var(--violet-800) / <alpha-value>)",
198
210
  900: "hsl(var(--violet-900) / <alpha-value>)",
199
- 950: "hsl(var(--violet-950) / <alpha-value>)"
211
+ 950: "hsl(var(--violet-950) / <alpha-value>)",
212
+ DEFAULT: "hsl(var(--violet-500) / <alpha-value>)"
200
213
  },
201
214
  purple: {
202
215
  50: "hsl(var(--purple-050) / <alpha-value>)",
@@ -209,7 +222,8 @@ var preset = {
209
222
  700: "hsl(var(--purple-700) / <alpha-value>)",
210
223
  800: "hsl(var(--purple-800) / <alpha-value>)",
211
224
  900: "hsl(var(--purple-900) / <alpha-value>)",
212
- 950: "hsl(var(--purple-950) / <alpha-value>)"
225
+ 950: "hsl(var(--purple-950) / <alpha-value>)",
226
+ DEFAULT: "hsl(var(--purple-500) / <alpha-value>)"
213
227
  },
214
228
  fuchsia: {
215
229
  50: "hsl(var(--fuchsia-050) / <alpha-value>)",
@@ -222,7 +236,8 @@ var preset = {
222
236
  700: "hsl(var(--fuchsia-700) / <alpha-value>)",
223
237
  800: "hsl(var(--fuchsia-800) / <alpha-value>)",
224
238
  900: "hsl(var(--fuchsia-900) / <alpha-value>)",
225
- 950: "hsl(var(--fuchsia-950) / <alpha-value>)"
239
+ 950: "hsl(var(--fuchsia-950) / <alpha-value>)",
240
+ DEFAULT: "hsl(var(--fuchsia-500) / <alpha-value>)"
226
241
  },
227
242
  pink: {
228
243
  50: "hsl(var(--pink-050) / <alpha-value>)",
@@ -235,7 +250,8 @@ var preset = {
235
250
  700: "hsl(var(--pink-700) / <alpha-value>)",
236
251
  800: "hsl(var(--pink-800) / <alpha-value>)",
237
252
  900: "hsl(var(--pink-900) / <alpha-value>)",
238
- 950: "hsl(var(--pink-950) / <alpha-value>)"
253
+ 950: "hsl(var(--pink-950) / <alpha-value>)",
254
+ DEFAULT: "hsl(var(--pink-500) / <alpha-value>)"
239
255
  },
240
256
  rose: {
241
257
  50: "hsl(var(--rose-050) / <alpha-value>)",
@@ -248,7 +264,8 @@ var preset = {
248
264
  700: "hsl(var(--rose-700) / <alpha-value>)",
249
265
  800: "hsl(var(--rose-800) / <alpha-value>)",
250
266
  900: "hsl(var(--rose-900) / <alpha-value>)",
251
- 950: "hsl(var(--rose-950) / <alpha-value>)"
267
+ 950: "hsl(var(--rose-950) / <alpha-value>)",
268
+ DEFAULT: "hsl(var(--rose-500) / <alpha-value>)"
252
269
  },
253
270
  button: "hsl(var(--button))",
254
271
  border: "hsl(var(--border))",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/mantle",
3
- "version": "0.0.1-alpha.13",
3
+ "version": "0.0.1-alpha.14",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "browserslist": [
@@ -23,6 +23,7 @@
23
23
  "node": ">=20.0.0"
24
24
  },
25
25
  "dependencies": {
26
+ "@radix-ui/react-dialog": "1.0.5",
26
27
  "@radix-ui/react-dropdown-menu": "2.0.6",
27
28
  "@radix-ui/react-icons": "1.3.0",
28
29
  "@radix-ui/react-select": "2.0.0",
@@ -37,9 +38,7 @@
37
38
  "class-variance-authority": "0.7.0",
38
39
  "clsx": "2.0.0",
39
40
  "isbot": "3.7.1",
40
- "lucide-react": "0.292.0",
41
- "react": "18.2.0",
42
- "react-dom": "18.2.0",
41
+ "lucide-react": "0.293.0",
43
42
  "react-syntax-highlighter": "15.5.0",
44
43
  "tailwind-merge": "2.0.0",
45
44
  "tailwindcss": "3.3.5",
@@ -51,6 +50,7 @@
51
50
  "@babel/preset-env": "7.23.3",
52
51
  "@babel/preset-react": "7.23.3",
53
52
  "@babel/preset-typescript": "7.23.3",
53
+ "@ianvs/prettier-plugin-sort-imports": "4.1.1",
54
54
  "@remix-run/dev": "2.3.1",
55
55
  "@remix-run/eslint-config": "2.3.1",
56
56
  "@rollup/plugin-babel": "6.0.4",
@@ -67,12 +67,12 @@
67
67
  "@storybook/testing-library": "0.2.2",
68
68
  "@testing-library/react": "14.1.2",
69
69
  "@testing-library/user-event": "14.5.1",
70
- "@types/node": "20.9.4",
71
- "@types/react": "18.2.38",
70
+ "@types/node": "20.10.0",
71
+ "@types/react": "18.2.39",
72
72
  "@types/react-dom": "18.2.17",
73
73
  "@types/react-syntax-highlighter": "15.5.10",
74
- "@typescript-eslint/eslint-plugin": "6.12.0",
75
- "@typescript-eslint/parser": "6.12.0",
74
+ "@typescript-eslint/eslint-plugin": "6.13.0",
75
+ "@typescript-eslint/parser": "6.13.0",
76
76
  "@vitejs/plugin-react-swc": "3.5.0",
77
77
  "@vitest/ui": "0.34.6",
78
78
  "autoprefixer": "10.4.16",
@@ -88,7 +88,9 @@
88
88
  "postcss": "8.4.31",
89
89
  "prettier": "3.1.0",
90
90
  "prettier-plugin-tailwindcss": "0.5.7",
91
- "rollup": "4.5.1",
91
+ "react": "18.2.0",
92
+ "react-dom": "18.2.0",
93
+ "rollup": "4.6.0",
92
94
  "rollup-plugin-copy": "3.5.0",
93
95
  "rollup-plugin-dts": "6.1.0",
94
96
  "rollup-plugin-extensions": "0.1.0",
@@ -99,6 +101,12 @@
99
101
  "vitest": "0.34.6",
100
102
  "vitest-dom": "0.1.1"
101
103
  },
104
+ "peerDependencies": {
105
+ "@types/react": "^18",
106
+ "@types/react-dom": "^18",
107
+ "react": "^18",
108
+ "react-dom": "^18"
109
+ },
102
110
  "scripts": {
103
111
  "build-storybook": "pnpm run cmd:storybook build",
104
112
  "build": "remix build",