@ngrok/mantle 0.76.10 → 0.76.11

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/agent.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/mantle",
3
- "version": "0.76.10",
3
+ "version": "0.76.11",
4
4
  "origin": "https://mantle.ngrok.com",
5
5
  "endpoints": {
6
6
  "docs": "https://mantle.ngrok.com/",
@@ -19,6 +19,10 @@ type AlertDialogProps = ComponentProps<typeof Root$1> & {
19
19
  * response.
20
20
  * The root stateful component for the Alert Dialog.
21
21
  *
22
+ * `AlertDialog` renders its floating layer at Tailwind `z-50`, Mantle's
23
+ * shared floating z-index. When multiple shared layers are open, the most
24
+ * recently mounted layer renders on top.
25
+ *
22
26
  * @see https://mantle.ngrok.com/components/alert-dialog#alertdialogroot
23
27
  *
24
28
  * @example
@@ -70,6 +74,10 @@ type AlertDialogIconProps = Omit<SvgAttributes, "children"> & {
70
74
  * `Dialog` instead. For side-panel content (filter panels, detail views,
71
75
  * navigation drawers), use `Sheet`.
72
76
  *
77
+ * `AlertDialog` renders its floating layer at Tailwind `z-50`, Mantle's
78
+ * shared floating z-index. When multiple shared layers are open, the most
79
+ * recently mounted layer renders on top.
80
+ *
73
81
  * @see https://mantle.ngrok.com/components/alert-dialog
74
82
  *
75
83
  * @example
@@ -126,6 +134,10 @@ declare const AlertDialog: {
126
134
  * propagates color to descendants like `AlertDialog.Icon` and
127
135
  * `AlertDialog.Action`.
128
136
  *
137
+ * `AlertDialog` renders its floating layer at Tailwind `z-50`, Mantle's
138
+ * shared floating z-index. When multiple shared layers are open, the most
139
+ * recently mounted layer renders on top.
140
+ *
129
141
  * @see https://mantle.ngrok.com/components/alert-dialog#alertdialogroot
130
142
  *
131
143
  * @example
@@ -317,6 +329,10 @@ declare const AlertDialog: {
317
329
  * The popover alert dialog container. Renders on top of the overlay,
318
330
  * centered in the viewport.
319
331
  *
332
+ * `AlertDialog.Content` renders its floating layer at Tailwind `z-50`,
333
+ * Mantle's shared floating z-index. When multiple shared layers are open,
334
+ * the most recently mounted layer renders on top.
335
+ *
320
336
  * @see https://mantle.ngrok.com/components/alert-dialog#alertdialogcontent
321
337
  *
322
338
  * @example
@@ -18,7 +18,7 @@ type CheckedState = boolean | "indeterminate";
18
18
  * </form>
19
19
  * ```
20
20
  */
21
- declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "defaultChecked" | "type" | "checked"> & WithValidation & {
21
+ declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "defaultChecked" | "checked" | "type"> & WithValidation & {
22
22
  /**
23
23
  * The controlled checked state of the checkbox. Must be used in conjunction with onChange.
24
24
  */
@@ -20,6 +20,10 @@ type ComboboxItemValueProps = Omit<Primitive.ComboboxItemValueProps<"span">, "re
20
20
  * async/server-side data, or any single-select where search is helpful. For very small
21
21
  * finite lists with no filtering, prefer Select. For multi-selection, prefer MultiSelect.
22
22
  *
23
+ * `Combobox.Content` renders at Tailwind `z-50`, Mantle's shared floating
24
+ * z-index. When multiple shared layers are open, the most recently mounted
25
+ * layer renders on top.
26
+ *
23
27
  * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/
24
28
  * @see https://ariakit.org/components/combobox
25
29
  *
@@ -57,6 +61,10 @@ declare const Combobox: {
57
61
  * async/server-side data, or any single-select where search is helpful. For very small
58
62
  * finite lists with no filtering, prefer Select. For multi-selection, prefer MultiSelect.
59
63
  *
64
+ * `Combobox.Content` renders at Tailwind `z-50`, Mantle's shared floating
65
+ * z-index. When multiple shared layers are open, the most recently mounted
66
+ * layer renders on top.
67
+ *
60
68
  * @see https://mantle.ngrok.com/components/combobox#comboboxroot
61
69
  *
62
70
  * @example
@@ -80,6 +88,10 @@ declare const Combobox: {
80
88
  /**
81
89
  * Renders a popover that contains combobox content, e.g. Combobox.Items, Combobox.Groups, and Combobox.Separators.
82
90
  *
91
+ * `Combobox.Content` renders at Tailwind `z-50`, Mantle's shared floating
92
+ * z-index. When multiple shared layers are open, the most recently mounted
93
+ * layer renders on top.
94
+ *
83
95
  * @see https://mantle.ngrok.com/components/combobox#comboboxcontent
84
96
  *
85
97
  * @example
package/dist/command.d.ts CHANGED
@@ -243,7 +243,7 @@ declare const Command: {
243
243
  ref?: React.Ref<HTMLInputElement>;
244
244
  } & {
245
245
  asChild?: boolean;
246
- }, "key" | "asChild" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
246
+ }, "key" | "asChild" | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
247
247
  value?: string;
248
248
  onValueChange?: (search: string) => void;
249
249
  } & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -365,7 +365,7 @@ declare const Command: {
365
365
  ref?: React.Ref<HTMLDivElement>;
366
366
  } & {
367
367
  asChild?: boolean;
368
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
368
+ }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
369
369
  heading?: React.ReactNode;
370
370
  value?: string;
371
371
  forceMount?: boolean;
@@ -408,7 +408,7 @@ declare const Command: {
408
408
  ref?: React.Ref<HTMLDivElement>;
409
409
  } & {
410
410
  asChild?: boolean;
411
- }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "value" | "disabled"> & {
411
+ }, "key" | keyof import("react").HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
412
412
  disabled?: boolean;
413
413
  onSelect?: (value: string) => void;
414
414
  value?: string;
package/dist/dialog.d.ts CHANGED
@@ -12,6 +12,10 @@ type CloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
12
12
  * For side-panel content that slides in from an edge (filter panels, detail
13
13
  * views, navigation drawers), prefer `Sheet`.
14
14
  *
15
+ * `Dialog` renders its floating layer at Tailwind `z-50`, Mantle's shared
16
+ * floating z-index. When multiple shared layers are open, the most recently
17
+ * mounted layer renders on top.
18
+ *
15
19
  * @see https://mantle.ngrok.com/components/dialog
16
20
  *
17
21
  * @example
@@ -59,6 +63,10 @@ declare const Dialog: {
59
63
  * A window overlaid on either the primary window or another dialog window.
60
64
  * The root stateful component for the Dialog.
61
65
  *
66
+ * `Dialog` renders its floating layer at Tailwind `z-50`, Mantle's shared
67
+ * floating z-index. When multiple shared layers are open, the most recently
68
+ * mounted layer renders on top.
69
+ *
62
70
  * @see https://mantle.ngrok.com/components/dialog#dialogroot
63
71
  *
64
72
  * @example
@@ -199,6 +207,10 @@ declare const Dialog: {
199
207
  * The container for the dialog content.
200
208
  * Renders on top of the overlay and is centered in the viewport.
201
209
  *
210
+ * `Dialog.Content` renders its floating layer at Tailwind `z-50`, Mantle's
211
+ * shared floating z-index. When multiple shared layers are open, the most
212
+ * recently mounted layer renders on top.
213
+ *
202
214
  * @see https://mantle.ngrok.com/components/dialog#dialogcontent
203
215
  *
204
216
  * @example
@@ -6,6 +6,10 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
6
6
  /**
7
7
  * A menu of options or actions, triggered by a button.
8
8
  *
9
+ * `DropdownMenu.Content` and `DropdownMenu.SubContent` render at Tailwind
10
+ * `z-50`, Mantle's shared floating z-index. When multiple shared layers are
11
+ * open, the most recently mounted layer renders on top.
12
+ *
9
13
  * @see https://mantle.ngrok.com/components/dropdown-menu
10
14
  *
11
15
  * @example
@@ -46,6 +50,10 @@ declare const DropdownMenu: {
46
50
  /**
47
51
  * The root, stateful component that manages the open/closed state of the dropdown menu.
48
52
  *
53
+ * `DropdownMenu.Content` and `DropdownMenu.SubContent` render at Tailwind
54
+ * `z-50`, Mantle's shared floating z-index. When multiple shared layers are
55
+ * open, the most recently mounted layer renders on top.
56
+ *
49
57
  * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuroot
50
58
  *
51
59
  * @example
@@ -82,6 +90,10 @@ declare const DropdownMenu: {
82
90
  /**
83
91
  * The container for the dropdown menu content. Appears in a portal with scrolling and animations.
84
92
  *
93
+ * `DropdownMenu.Content` renders at Tailwind `z-50`, Mantle's shared
94
+ * floating z-index. When multiple shared layers are open, the most recently
95
+ * mounted layer renders on top.
96
+ *
85
97
  * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenucontent
86
98
  *
87
99
  * @example
@@ -278,6 +290,10 @@ declare const DropdownMenu: {
278
290
  /**
279
291
  * The content container for submenu items.
280
292
  *
293
+ * `DropdownMenu.SubContent` renders at Tailwind `z-50`, Mantle's shared
294
+ * floating z-index. When multiple shared layers are open, the most recently
295
+ * mounted layer renders on top.
296
+ *
281
297
  * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenusubcontent
282
298
  *
283
299
  * @example
@@ -1,2 +1,2 @@
1
- import { t as DropdownMenu } from "./dropdown-menu-BqdyTFLu.js";
1
+ import { t as DropdownMenu } from "./dropdown-menu-CADgs9gz.js";
2
2
  export { DropdownMenu };
@@ -13,6 +13,10 @@ import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
13
13
  * For short, non-interactive labels or hints, use `Tooltip`. For
14
14
  * interactive overlays the user opens deliberately, use `Popover`.
15
15
  *
16
+ * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's shared floating
17
+ * z-index. When multiple shared layers are open, the most recently mounted
18
+ * layer renders on top.
19
+ *
16
20
  * @see https://mantle.ngrok.com/components/hover-card
17
21
  *
18
22
  * @example
@@ -41,6 +45,10 @@ declare const HoverCard: {
41
45
  /**
42
46
  * The root, stateful component that manages the open/closed state of the hover card.
43
47
  *
48
+ * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's shared floating
49
+ * z-index. When multiple shared layers are open, the most recently mounted
50
+ * layer renders on top.
51
+ *
44
52
  * @see https://mantle.ngrok.com/components/hover-card#hovercardroot
45
53
  *
46
54
  * @example
@@ -66,6 +74,10 @@ declare const HoverCard: {
66
74
  /**
67
75
  * The content to render inside the hover card. Appears in a portal with rich styling and animations.
68
76
  *
77
+ * `HoverCard.Content` renders at Tailwind `z-50`, Mantle's shared floating
78
+ * z-index. When multiple shared layers are open, the most recently mounted
79
+ * layer renders on top.
80
+ *
69
81
  * @see https://mantle.ngrok.com/components/hover-card#hovercardcontent
70
82
  *
71
83
  * @example
package/dist/llms.txt CHANGED
@@ -1,4 +1,4 @@
1
- # @ngrok/mantle (0.76.10)
1
+ # @ngrok/mantle (0.76.11)
2
2
 
3
3
  > Offline discovery hint shipped inside the @ngrok/mantle npm package. Authoritative metadata lives at https://mantle.ngrok.com/for-ai-agents.
4
4
 
@@ -82,6 +82,10 @@ type MultiSelectGroupLabelProps = Omit<Primitive.ComboboxGroupLabelProps, "rende
82
82
  * items rendered as removable tags/chips. For single selection, use Combobox (with search)
83
83
  * or Select (without).
84
84
  *
85
+ * `MultiSelect.Content` renders at Tailwind `z-50`, Mantle's shared floating
86
+ * z-index. When multiple shared layers are open, the most recently mounted
87
+ * layer renders on top.
88
+ *
85
89
  * @see https://mantle.ngrok.com/components/multi-select
86
90
  * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/
87
91
  * @see https://ariakit.org/components/combobox
@@ -127,6 +131,10 @@ declare const MultiSelect: {
127
131
  * items rendered as removable tags/chips. For single selection, use Combobox (with search)
128
132
  * or Select (without).
129
133
  *
134
+ * `MultiSelect.Content` renders at Tailwind `z-50`, Mantle's shared
135
+ * floating z-index. When multiple shared layers are open, the most recently
136
+ * mounted layer renders on top.
137
+ *
130
138
  * @see https://mantle.ngrok.com/components/multi-select#multiselectroot
131
139
  *
132
140
  * @example
@@ -260,6 +268,10 @@ declare const MultiSelect: {
260
268
  /**
261
269
  * Renders a popover that contains multi-select content.
262
270
  *
271
+ * `MultiSelect.Content` renders at Tailwind `z-50`, Mantle's shared
272
+ * floating z-index. When multiple shared layers are open, the most recently
273
+ * mounted layer renders on top.
274
+ *
263
275
  * @see https://mantle.ngrok.com/components/multi-select#multiselectcontent
264
276
  *
265
277
  * @example
@@ -1,6 +1,6 @@
1
1
  import { t as WithAsChild } from "./as-child-uN_018tj.js";
2
2
  import { t as ButtonGroup } from "./index-CTU6apE6.js";
3
- import { t as Select } from "./select-C15-XvRT.js";
3
+ import { t as Select } from "./select-BUGOJMER.js";
4
4
  import { ComponentProps } from "react";
5
5
 
6
6
  //#region src/components/pagination/cursor-pagination.d.ts
package/dist/popover.d.ts CHANGED
@@ -17,6 +17,10 @@ import * as PopoverPrimitive from "@radix-ui/react-popover";
17
17
  * the content, block interaction with the rest of the page, and lock body
18
18
  * scroll while the popover is open.
19
19
  *
20
+ * `Popover.Content` renders at Tailwind `z-50`, Mantle's shared floating
21
+ * z-index. When multiple shared layers are open, the most recently mounted
22
+ * layer renders on top.
23
+ *
20
24
  * @see https://mantle.ngrok.com/components/popover
21
25
  * @see https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
22
26
  *
@@ -48,6 +52,10 @@ declare const Popover: {
48
52
  /**
49
53
  * The root, stateful component that manages the open/closed state of the popover.
50
54
  *
55
+ * `Popover.Content` renders at Tailwind `z-50`, Mantle's shared floating
56
+ * z-index. When multiple shared layers are open, the most recently mounted
57
+ * layer renders on top.
58
+ *
51
59
  * @see https://mantle.ngrok.com/components/popover#popoverroot
52
60
  *
53
61
  * @example
@@ -114,6 +122,10 @@ declare const Popover: {
114
122
  /**
115
123
  * The content to render inside the popover. Appears in a portal with rich styling and animations.
116
124
  *
125
+ * `Popover.Content` renders at Tailwind `z-50`, Mantle's shared floating
126
+ * z-index. When multiple shared layers are open, the most recently mounted
127
+ * layer renders on top.
128
+ *
117
129
  * @see https://mantle.ngrok.com/components/popover#popovercontent
118
130
  *
119
131
  * @example
@@ -12,6 +12,10 @@ type WithAriaInvalid = Pick<SelectHTMLAttributes<HTMLSelectElement>, "aria-inval
12
12
  * and search/filtering is unnecessary. For larger lists or async/searchable data, use
13
13
  * Combobox. For picking multiple options, use MultiSelect.
14
14
  *
15
+ * `Select.Content` renders at Tailwind `z-50`, Mantle's shared floating
16
+ * z-index. When multiple shared layers are open, the most recently mounted
17
+ * layer renders on top.
18
+ *
15
19
  * @see https://mantle.ngrok.com/components/select
16
20
  *
17
21
  * @example
@@ -58,6 +62,10 @@ declare const Select: {
58
62
  * and search/filtering is unnecessary. For larger lists or async/searchable data, use
59
63
  * Combobox. For picking multiple options, use MultiSelect.
60
64
  *
65
+ * `Select.Content` renders at Tailwind `z-50`, Mantle's shared floating
66
+ * z-index. When multiple shared layers are open, the most recently mounted
67
+ * layer renders on top.
68
+ *
61
69
  * @see https://mantle.ngrok.com/components/select#selectroot
62
70
  *
63
71
  * @example
@@ -114,6 +122,10 @@ declare const Select: {
114
122
  * The component that pops out when the select is open as a portal adjacent to the trigger button.
115
123
  * It contains a scrolling viewport of the select items.
116
124
  *
125
+ * `Select.Content` renders at Tailwind `z-50`, Mantle's shared floating
126
+ * z-index. When multiple shared layers are open, the most recently mounted
127
+ * layer renders on top.
128
+ *
117
129
  * @see https://mantle.ngrok.com/components/select#selectcontent
118
130
  *
119
131
  * @example
package/dist/select.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as Select } from "./select-C15-XvRT.js";
1
+ import { t as Select } from "./select-BUGOJMER.js";
2
2
  export { Select };
package/dist/sheet.d.ts CHANGED
@@ -14,6 +14,10 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
14
14
  * interrupts the user, use `Dialog` (or `AlertDialog` for destructive
15
15
  * confirmations).
16
16
  *
17
+ * `Sheet` renders its floating layer at Tailwind `z-50`, Mantle's shared
18
+ * floating z-index. When multiple shared layers are open, the most recently
19
+ * mounted layer renders on top.
20
+ *
17
21
  * @see https://mantle.ngrok.com/components/sheet
18
22
  *
19
23
  * @example
@@ -128,6 +132,10 @@ declare const Sheet: {
128
132
  * The root component for a `Sheet`. Should compose the `Sheet.Trigger` and `Sheet.Content`.
129
133
  * Acts as a stateful provider for the Sheet's open/closed state.
130
134
  *
135
+ * `Sheet` renders its floating layer at Tailwind `z-50`, Mantle's shared
136
+ * floating z-index. When multiple shared layers are open, the most recently
137
+ * mounted layer renders on top.
138
+ *
131
139
  * @see https://mantle.ngrok.com/components/sheet#sheetroot
132
140
  *
133
141
  * @example
@@ -334,6 +342,10 @@ declare const Sheet: {
334
342
  * Renders on top of the overlay backdrop.
335
343
  * Should contain the `Sheet.Header`, `Sheet.Body`, and `Sheet.Footer`.
336
344
  *
345
+ * `Sheet.Content` renders its floating layer at Tailwind `z-50`, Mantle's
346
+ * shared floating z-index. When multiple shared layers are open, the most
347
+ * recently mounted layer renders on top.
348
+ *
337
349
  * @see https://mantle.ngrok.com/components/sheet#sheetcontent
338
350
  *
339
351
  * @example
package/dist/sheet.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./cx-C1UYP5We.js";import{t}from"./icon-button-DiX9iZ9n.js";import{a as n,c as r,i,n as a,o,r as s,s as c,t as l}from"./primitive-BFUir4UB.js";import{forwardRef as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";import{XIcon as p}from"@phosphor-icons/react/X";import{cva as m}from"class-variance-authority";const h=o;h.displayName=`Sheet`;const g=r;g.displayName=`SheetTrigger`;const _=l;_.displayName=`SheetClose`;const v=n;v.displayName=`SheetPortal`;const y=u(({className:t,...n},r)=>d(i,{"data-slot":`sheet-overlay`,className:e(`bg-overlay data-state-closed:animate-out data-state-closed:fade-out-0 data-state-open:animate-in data-state-open:fade-in-0 fixed inset-0 z-40 backdrop-blur-xs`,t),...n,ref:r}));y.displayName=i.displayName;const b=m(`bg-dialog border-dialog inset-y-0 h-full w-full fixed z-40 flex flex-col shadow-lg outline-hidden transition ease-in-out focus-within:outline-hidden data-state-closed:duration-100 data-state-closed:animate-out data-state-open:duration-100 data-state-open:animate-in`,{variants:{side:{left:`data-state-closed:slide-out-to-left data-state-open:slide-in-from-left left-0 border-r`,right:`data-state-closed:slide-out-to-right data-state-open:slide-in-from-right right-0 border-l`}},defaultVariants:{side:`right`}}),x=u(({children:t,className:n,preferredWidth:r=`sm:max-w-[30rem]`,side:i=`right`,...o},s)=>f(v,{children:[d(y,{}),d(a,{"data-slot":`sheet-content`,"data-mantle-modal-content":!0,className:e(b({side:i}),r,n),ref:s,...o,children:t})]}));x.displayName=a.displayName;const S=({size:e=`md`,type:n=`button`,label:r=`Close Sheet`,appearance:i=`ghost`,...a})=>d(l,{asChild:!0,children:d(t,{"data-slot":`sheet-close-icon-button`,appearance:i,icon:d(p,{}),label:r,size:e,type:n,...a})});S.displayName=`SheetCloseIconButton`;const C=({className:t,...n})=>d(`div`,{"data-slot":`sheet-body`,className:e(`scrollbar scrollbar-gutter-stable text-body flex-1 overflow-y-auto p-6`,t),...n});C.displayName=`SheetBody`;const w=({className:t,...n})=>d(`div`,{"data-slot":`sheet-header`,className:e(`border-dialog-muted flex shrink-0 flex-col gap-2 border-b py-4 pl-6 pr-4`,`has-[.icon-button]:pr-4`,t),...n});w.displayName=`SheetHeader`;const T=({className:t,...n})=>d(`div`,{"data-slot":`sheet-footer`,className:e(`border-dialog-muted flex shrink-0 justify-end gap-2 border-t px-6 py-2.5`,t),...n});T.displayName=`SheetFooter`;const E=u(({className:t,...n},r)=>d(c,{"data-slot":`sheet-title`,ref:r,className:e(`text-strong flex-1 truncate text-lg font-medium`,t),...n}));E.displayName=c.displayName;const D=u(({children:t,className:n,...r},i)=>d(`div`,{"data-slot":`sheet-title-group`,className:e(`flex items-center justify-between gap-2`,n),...r,ref:i,children:t}));D.displayName=`SheetTitleGroup`;const O=u(({className:t,...n},r)=>d(s,{"data-slot":`sheet-description`,ref:r,className:e(`text-body text-sm`,t),...n}));O.displayName=s.displayName;const k=u(({children:t,className:n,...r},i)=>d(`div`,{"data-slot":`sheet-actions`,className:e(`flex h-full items-center gap-2`,n),...r,ref:i,children:t}));k.displayName=`SheetActions`;const A={Root:h,Actions:k,Body:C,Close:_,CloseIconButton:S,Content:x,Description:O,Footer:T,Header:w,Title:E,TitleGroup:D,Trigger:g};export{A as Sheet};
1
+ import{t as e}from"./cx-C1UYP5We.js";import{t}from"./icon-button-DiX9iZ9n.js";import{a as n,c as r,i,n as a,o,r as s,s as c,t as l}from"./primitive-BFUir4UB.js";import{forwardRef as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";import{XIcon as p}from"@phosphor-icons/react/X";import{cva as m}from"class-variance-authority";const h=o;h.displayName=`Sheet`;const g=r;g.displayName=`SheetTrigger`;const _=l;_.displayName=`SheetClose`;const v=n;v.displayName=`SheetPortal`;const y=u(({className:t,...n},r)=>d(i,{"data-slot":`sheet-overlay`,className:e(`bg-overlay data-state-closed:animate-out data-state-closed:fade-out-0 data-state-open:animate-in data-state-open:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs`,t),...n,ref:r}));y.displayName=i.displayName;const b=m(`bg-dialog border-dialog inset-y-0 h-full w-full fixed z-50 flex flex-col shadow-lg outline-hidden transition ease-in-out focus-within:outline-hidden data-state-closed:duration-100 data-state-closed:animate-out data-state-open:duration-100 data-state-open:animate-in`,{variants:{side:{left:`data-state-closed:slide-out-to-left data-state-open:slide-in-from-left left-0 border-r`,right:`data-state-closed:slide-out-to-right data-state-open:slide-in-from-right right-0 border-l`}},defaultVariants:{side:`right`}}),x=u(({children:t,className:n,preferredWidth:r=`sm:max-w-[30rem]`,side:i=`right`,...o},s)=>f(v,{children:[d(y,{}),d(a,{"data-slot":`sheet-content`,"data-mantle-modal-content":!0,className:e(b({side:i}),r,n),ref:s,...o,children:t})]}));x.displayName=a.displayName;const S=({size:e=`md`,type:n=`button`,label:r=`Close Sheet`,appearance:i=`ghost`,...a})=>d(l,{asChild:!0,children:d(t,{"data-slot":`sheet-close-icon-button`,appearance:i,icon:d(p,{}),label:r,size:e,type:n,...a})});S.displayName=`SheetCloseIconButton`;const C=({className:t,...n})=>d(`div`,{"data-slot":`sheet-body`,className:e(`scrollbar scrollbar-gutter-stable text-body flex-1 overflow-y-auto p-6`,t),...n});C.displayName=`SheetBody`;const w=({className:t,...n})=>d(`div`,{"data-slot":`sheet-header`,className:e(`border-dialog-muted flex shrink-0 flex-col gap-2 border-b py-4 pl-6 pr-4`,`has-[.icon-button]:pr-4`,t),...n});w.displayName=`SheetHeader`;const T=({className:t,...n})=>d(`div`,{"data-slot":`sheet-footer`,className:e(`border-dialog-muted flex shrink-0 justify-end gap-2 border-t px-6 py-2.5`,t),...n});T.displayName=`SheetFooter`;const E=u(({className:t,...n},r)=>d(c,{"data-slot":`sheet-title`,ref:r,className:e(`text-strong flex-1 truncate text-lg font-medium`,t),...n}));E.displayName=c.displayName;const D=u(({children:t,className:n,...r},i)=>d(`div`,{"data-slot":`sheet-title-group`,className:e(`flex items-center justify-between gap-2`,n),...r,ref:i,children:t}));D.displayName=`SheetTitleGroup`;const O=u(({className:t,...n},r)=>d(s,{"data-slot":`sheet-description`,ref:r,className:e(`text-body text-sm`,t),...n}));O.displayName=s.displayName;const k=u(({children:t,className:n,...r},i)=>d(`div`,{"data-slot":`sheet-actions`,className:e(`flex h-full items-center gap-2`,n),...r,ref:i,children:t}));k.displayName=`SheetActions`;const A={Root:h,Actions:k,Body:C,Close:_,CloseIconButton:S,Content:x,Description:O,Footer:T,Header:w,Title:E,TitleGroup:D,Trigger:g};export{A as Sheet};
@@ -1,6 +1,6 @@
1
1
  import { t as Button } from "./button-mfYak6Rx.js";
2
2
  import { t as IconButton } from "./icon-button-D7hs6bX2.js";
3
- import { t as DropdownMenu } from "./dropdown-menu-BqdyTFLu.js";
3
+ import { t as DropdownMenu } from "./dropdown-menu-CADgs9gz.js";
4
4
  import { ComponentProps, ReactNode } from "react";
5
5
 
6
6
  //#region src/components/split-button/split-button.d.ts
package/dist/tooltip.d.ts CHANGED
@@ -39,6 +39,10 @@ declare const TooltipProvider: {
39
39
  * the tooltip. Wrap your app in `TooltipProvider` when you want shared
40
40
  * app-wide delay and hover settings.
41
41
  *
42
+ * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's shared floating
43
+ * z-index. When multiple shared layers are open, the most recently mounted
44
+ * layer renders on top.
45
+ *
42
46
  * @see https://mantle.ngrok.com/components/tooltip#tooltiproot
43
47
  *
44
48
  * @example
@@ -97,6 +101,10 @@ declare namespace Trigger {
97
101
  * Mount a `<TooltipProvider>` once at the app root when you want shared
98
102
  * tooltip behavior such as consistent delay and hover settings.
99
103
  *
104
+ * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's shared floating
105
+ * z-index. When multiple shared layers are open, the most recently mounted
106
+ * layer renders on top.
107
+ *
100
108
  * @see https://mantle.ngrok.com/components/tooltip
101
109
  * @see https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
102
110
  *
@@ -129,6 +137,10 @@ declare const Tooltip: {
129
137
  * the tooltip. Wrap your app in `TooltipProvider` when you want shared
130
138
  * app-wide delay and hover settings.
131
139
  *
140
+ * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's shared floating
141
+ * z-index. When multiple shared layers are open, the most recently mounted
142
+ * layer renders on top.
143
+ *
132
144
  * @see https://mantle.ngrok.com/components/tooltip#tooltiproot
133
145
  *
134
146
  * @example
@@ -149,6 +161,10 @@ declare const Tooltip: {
149
161
  /**
150
162
  * The content to render inside the tooltip.
151
163
  *
164
+ * `Tooltip.Content` renders at Tailwind `z-50`, Mantle's shared floating
165
+ * z-index. When multiple shared layers are open, the most recently mounted
166
+ * layer renders on top.
167
+ *
152
168
  * @see https://mantle.ngrok.com/components/tooltip#tooltipcontent
153
169
  *
154
170
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrok/mantle",
3
- "version": "0.76.10",
3
+ "version": "0.76.11",
4
4
  "description": "mantle is ngrok's UI library and design system.",
5
5
  "homepage": "https://mantle.ngrok.com",
6
6
  "license": "MIT",