@ngrok/mantle 0.77.0 → 0.79.0

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.
Files changed (192) hide show
  1. package/dist/accordion.d.ts +63 -21
  2. package/dist/accordion.js +1 -1
  3. package/dist/agent.json +4 -1
  4. package/dist/alert-dialog.d.ts +102 -70
  5. package/dist/alert-dialog.js +1 -1
  6. package/dist/alert.d.ts +39 -39
  7. package/dist/alert.js +1 -1
  8. package/dist/{anchor-BtgEJoPN.js → anchor-C_tjSVy6.js} +1 -1
  9. package/dist/anchor.d.ts +3 -4
  10. package/dist/anchor.js +1 -1
  11. package/dist/{as-child-uN_018tj.d.ts → as-child-CYEVu1WY.d.ts} +0 -7
  12. package/dist/badge.d.ts +5 -56
  13. package/dist/badge.js +1 -1
  14. package/dist/breadcrumb.d.ts +212 -0
  15. package/dist/breadcrumb.js +1 -0
  16. package/dist/browser-only.d.ts +2 -6
  17. package/dist/{button-CERx95KE.js → button-5t6-JS_I.js} +1 -1
  18. package/dist/button-ClC60Nzg.js +1 -0
  19. package/dist/button-DcXOWUYo.d.ts +131 -0
  20. package/dist/button.d.ts +6 -4
  21. package/dist/button.js +1 -1
  22. package/dist/calendar.d.ts +2 -8
  23. package/dist/calendar.js +1 -1
  24. package/dist/card.d.ts +8 -8
  25. package/dist/card.js +1 -1
  26. package/dist/centered-layout.d.ts +147 -0
  27. package/dist/centered-layout.js +1 -0
  28. package/dist/checkbox-DJ2xl7Rc.js +1 -0
  29. package/dist/checkbox.d.ts +9 -11
  30. package/dist/checkbox.js +1 -1
  31. package/dist/{choice-D6S38dPs.js → choice-DOdyNzFC.js} +1 -1
  32. package/dist/choice.d.ts +16 -14
  33. package/dist/choice.js +1 -1
  34. package/dist/code-block.d.ts +5 -17
  35. package/dist/code-block.js +1 -1
  36. package/dist/code-block_highlight-utils.d.ts +1 -1
  37. package/dist/code-block_highlight-utils.js +1 -1
  38. package/dist/code.d.ts +4 -5
  39. package/dist/code.js +1 -1
  40. package/dist/combobox.d.ts +40 -19
  41. package/dist/combobox.js +1 -1
  42. package/dist/command.d.ts +71 -49
  43. package/dist/command.js +1 -1
  44. package/dist/cx-IiQEAKf5.js +1 -0
  45. package/dist/cx.js +1 -1
  46. package/dist/data-slot-CChfb_cv.d.ts +17 -0
  47. package/dist/data-table.d.ts +77 -137
  48. package/dist/data-table.js +1 -1
  49. package/dist/description-list.d.ts +7 -7
  50. package/dist/description-list.js +1 -1
  51. package/dist/{dialog-uyJcNks7.js → dialog-ZCgG41hx.js} +1 -1
  52. package/dist/dialog.d.ts +213 -88
  53. package/dist/dialog.js +1 -1
  54. package/dist/{direction-CcTY0FmA.d.ts → direction-BjU0bPST.d.ts} +1 -1
  55. package/dist/{dropdown-menu-OEuW4GLp.js → dropdown-menu-ByUQkAvJ.js} +1 -1
  56. package/dist/{dropdown-menu-CADgs9gz.d.ts → dropdown-menu-DMNw8ItM.d.ts} +26 -27
  57. package/dist/dropdown-menu.d.ts +2 -1
  58. package/dist/dropdown-menu.js +1 -1
  59. package/dist/empty.d.ts +139 -59
  60. package/dist/empty.js +1 -1
  61. package/dist/{field-context-4k1kI7Bo.js → field-context-BR01g789.js} +1 -1
  62. package/dist/field.d.ts +41 -36
  63. package/dist/field.js +1 -1
  64. package/dist/flag.d.ts +2 -9
  65. package/dist/flag.js +1 -1
  66. package/dist/hooks.d.ts +13 -15
  67. package/dist/hooks.js +1 -1
  68. package/dist/hover-card.d.ts +42 -20
  69. package/dist/hover-card.js +1 -1
  70. package/dist/icon-CDtYjF_H.js +1 -0
  71. package/dist/{icon-n49kOh4_.d.ts → icon-Cevjo93X.d.ts} +2 -3
  72. package/dist/{icon-button-D7hs6bX2.d.ts → icon-button-B7uEj1qq.d.ts} +73 -11
  73. package/dist/icon-button-DV2-GZHf.js +1 -0
  74. package/dist/icon.d.ts +3 -3
  75. package/dist/icon.js +1 -1
  76. package/dist/icons.d.ts +7 -19
  77. package/dist/icons.js +1 -1
  78. package/dist/{in-view-bItE1fkG.d.ts → in-view-nkSOdED2.d.ts} +1 -6
  79. package/dist/{index-CTU6apE6.d.ts → index-BivvYYs-.d.ts} +8 -7
  80. package/dist/{index-Bed_XLWa.d.ts → index-D47aqlpz.d.ts} +3 -2
  81. package/dist/index-DZRbVkZa.d.ts +1 -0
  82. package/dist/index-Rv8RL7xy.d.ts +25 -0
  83. package/dist/{input-B3TS9yAP.js → input-Ct1YOqSy.js} +1 -1
  84. package/dist/input.d.ts +10 -11
  85. package/dist/input.js +1 -1
  86. package/dist/intents-DdSKSj1c.d.ts +28 -0
  87. package/dist/{kbd-D6k4Dnrf.js → kbd-K8iaZ-Ti.js} +1 -1
  88. package/dist/kbd.d.ts +3 -8
  89. package/dist/kbd.js +1 -1
  90. package/dist/{label-BLXfnQmn.js → label-BMlHW_2D.js} +1 -1
  91. package/dist/{label-PY0qM0G5.d.ts → label-v2-bv98k.d.ts} +1 -1
  92. package/dist/label.d.ts +1 -1
  93. package/dist/label.js +1 -1
  94. package/dist/list.d.ts +18 -60
  95. package/dist/list.js +1 -1
  96. package/dist/llms.txt +4 -1
  97. package/dist/main.d.ts +4 -27
  98. package/dist/main.js +1 -1
  99. package/dist/mantle.css +6 -6
  100. package/dist/media-object.d.ts +6 -7
  101. package/dist/media-object.js +1 -1
  102. package/dist/multi-select.d.ts +80 -33
  103. package/dist/multi-select.js +1 -1
  104. package/dist/otp-input.d.ts +7 -8
  105. package/dist/otp-input.js +1 -1
  106. package/dist/pagination.d.ts +11 -22
  107. package/dist/pagination.js +1 -1
  108. package/dist/{popover-Bq52EC7X.js → popover-D5WxxnBY.js} +1 -1
  109. package/dist/popover.d.ts +17 -18
  110. package/dist/popover.js +1 -1
  111. package/dist/{primitive-FoWela9a.d.ts → primitive-C64-m48O.d.ts} +0 -1
  112. package/dist/{primitive-BuVqb6zf.js → primitive-M-kZdNIS.js} +1 -1
  113. package/dist/progress.d.ts +55 -46
  114. package/dist/progress.js +1 -1
  115. package/dist/qr-code.d.ts +10 -9
  116. package/dist/qr-code.js +1 -1
  117. package/dist/radio-group.d.ts +71 -60
  118. package/dist/radio-group.js +1 -1
  119. package/dist/{resolve-pre-rendered-props-DxJ9-DAl.d.ts → resolve-pre-rendered-props-B6OlZrSI.d.ts} +13 -26
  120. package/dist/{resolve-pre-rendered-props-DwIF_M_K.js → resolve-pre-rendered-props-C3e5Auo3.js} +1 -1
  121. package/dist/sandboxed-on-click.d.ts +4 -8
  122. package/dist/sandboxed-on-click.js +1 -1
  123. package/dist/{select-BUGOJMER.d.ts → select-Bwt2YduR.d.ts} +11 -12
  124. package/dist/{select-Bxq_N-_o.js → select-D-5u0Blc.js} +1 -1
  125. package/dist/select.d.ts +1 -1
  126. package/dist/select.js +1 -1
  127. package/dist/selectable-list.d.ts +160 -146
  128. package/dist/selectable-list.js +1 -1
  129. package/dist/{separator-CqohKk4z.js → separator-kBnnv3Cw.js} +1 -1
  130. package/dist/separator.d.ts +6 -37
  131. package/dist/separator.js +1 -1
  132. package/dist/sheet.d.ts +302 -89
  133. package/dist/sheet.js +1 -1
  134. package/dist/sizes-BCoI4bhP.d.ts +29 -0
  135. package/dist/skeleton-Bu3tgNcW.js +1 -0
  136. package/dist/skeleton.d.ts +2 -2
  137. package/dist/skeleton.js +1 -1
  138. package/dist/skip-to-main-link.d.ts +4 -34
  139. package/dist/skip-to-main-link.js +1 -1
  140. package/dist/slider.d.ts +2 -21
  141. package/dist/slider.js +1 -1
  142. package/dist/slot-DmPrjM7N.js +1 -0
  143. package/dist/slot.d.ts +1 -1
  144. package/dist/slot.js +1 -1
  145. package/dist/split-button.d.ts +21 -13
  146. package/dist/split-button.js +1 -1
  147. package/dist/{svg-only-f6ToFLH0.d.ts → svg-only-BFeFS1aa.d.ts} +2 -3
  148. package/dist/{svg-only-CSOaF1tL.js → svg-only-DDx6FtJd.js} +1 -1
  149. package/dist/switch.d.ts +4 -5
  150. package/dist/switch.js +1 -1
  151. package/dist/{table-CAitdL78.js → table-CPH2md2-.js} +1 -1
  152. package/dist/{table-BWD9IlIN.d.ts → table-CwFHXC-G.d.ts} +10 -10
  153. package/dist/table.d.ts +1 -1
  154. package/dist/table.js +1 -1
  155. package/dist/tabs.d.ts +29 -15
  156. package/dist/tabs.js +1 -1
  157. package/dist/text-area.d.ts +2 -3
  158. package/dist/text-area.js +1 -1
  159. package/dist/theme-D8kZCOzM.js +1 -0
  160. package/dist/theme-provider-Djj_jBo6.js +1 -0
  161. package/dist/theme-switcher.d.ts +53 -0
  162. package/dist/theme-switcher.js +1 -0
  163. package/dist/theme.d.ts +15 -101
  164. package/dist/theme.js +1 -1
  165. package/dist/toast-D3ntBmn4.js +1 -0
  166. package/dist/toast.d.ts +32 -50
  167. package/dist/toast.js +1 -1
  168. package/dist/tooltip.d.ts +16 -50
  169. package/dist/tooltip.js +1 -1
  170. package/dist/{types-CTam1uIW.d.ts → types-C19IR7jf.d.ts} +1 -0
  171. package/dist/{types-BvUzforF.d.ts → types-D1RY5Tcj.d.ts} +0 -1
  172. package/dist/types.d.ts +3 -3
  173. package/dist/use-prefers-reduced-motion-CagaNRgm.js +1 -0
  174. package/dist/utils.d.ts +2 -3
  175. package/dist/{validation-xyX_6kph.d.ts → validation-7QeiTFwl.d.ts} +3 -12
  176. package/dist/{validation-DCyx-ceH.js → validation-Bpptk_9t.js} +1 -1
  177. package/dist/{virtual-PBNiHjMK.js → virtual-DZMBu7Ch.js} +1 -1
  178. package/dist/well.d.ts +3 -3
  179. package/dist/well.js +1 -1
  180. package/dist/{with-style-props-CyImx7vd.d.ts → with-style-props-Dq5Vntqy.d.ts} +0 -1
  181. package/package.json +17 -14
  182. package/dist/button-C9GW9nAr.js +0 -1
  183. package/dist/button-mfYak6Rx.d.ts +0 -71
  184. package/dist/checkbox-Apow0ipK.js +0 -1
  185. package/dist/cx-C1UYP5We.js +0 -1
  186. package/dist/icon-SUx16Sl3.js +0 -1
  187. package/dist/icon-button-DiX9iZ9n.js +0 -1
  188. package/dist/index-CJbKEKr2.d.ts +0 -20
  189. package/dist/slot-DT_E5BQx.js +0 -1
  190. package/dist/theme-provider-C5XYi2-H.js +0 -1
  191. package/dist/toast-CZBWjXcP.js +0 -1
  192. package/dist/use-prefers-reduced-motion-DBqNw1wB.js +0 -1
@@ -1 +1 @@
1
- import{t as e}from"./cx-C1UYP5We.js";import{t}from"./icon-SUx16Sl3.js";import{n}from"./separator-CqohKk4z.js";import{forwardRef as r}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{CaretRightIcon as o}from"@phosphor-icons/react/CaretRight";import{CheckIcon as s}from"@phosphor-icons/react/Check";import*as c from"@radix-ui/react-dropdown-menu";const l=c.Root;l.displayName=`DropdownMenu`;const u=r((e,t)=>i(c.Trigger,{ref:t,"data-slot":`dropdown-menu-trigger`,...e}));u.displayName=`DropdownMenuTrigger`;const d=r(({className:t,...n},r)=>i(c.Group,{ref:r,"data-slot":`dropdown-menu-group`,className:e(`space-y-px`,t),...n}));d.displayName=`DropdownMenuGroup`;const f=c.Portal;f.displayName=`DropdownMenuPortal`;const p=c.Sub;p.displayName=`DropdownMenuSub`;const m=r(({className:t,...n},r)=>i(c.RadioGroup,{ref:r,"data-slot":`dropdown-menu-radio-group`,className:e(`space-y-px`,t),...n}));m.displayName=`DropdownMenuRadioGroup`;const h=r(({className:n,inset:r,children:s,...l},u)=>a(c.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,className:e(`focus:bg-accent data-state-open:bg-accent relative flex select-none items-center rounded-md py-1.5 pl-2 pr-9 text-sm outline-hidden`,`data-highlighted:bg-active-menu-item data-state-open:bg-active-menu-item`,`[&>svg]:size-5 [&_svg]:shrink-0`,r&&`pl-8`,n),ref:u,...l,children:[s,i(`span`,{className:`absolute right-2 flex items-center`,children:i(t,{svg:i(o,{weight:`bold`}),className:`size-4`})})]}));h.displayName=`DropdownMenuSubTrigger`;const g=r(({className:t,loop:n=!0,...r},a)=>i(f,{children:i(c.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:e(`scrollbar`,`text-popover-foreground border-popover bg-popover p-1.25 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95 data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border shadow-xl space-y-px font-sans`,`my-2 max-h-[calc(var(--radix-dropdown-menu-content-available-height)-16px)] overflow-auto`,t),loop:n,ref:a,...r})}));g.displayName=`DropdownMenuSubContent`;const _=r(({className:t,onClick:n,loop:r=!0,width:a,...o},s)=>i(f,{children:i(c.Content,{ref:s,"data-slot":`dropdown-menu-content`,className:e(`scrollbar`,`text-popover-foreground border-popover bg-popover p-1.25 z-50 min-w-32 overflow-hidden rounded-md border shadow-xl outline-hidden space-y-px font-sans`,`data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95`,`my-2 max-h-[calc(var(--radix-dropdown-menu-content-available-height)-16px)] overflow-auto`,a===`trigger`&&`w-(--radix-dropdown-menu-trigger-width)`,t),loop:r,onClick:e=>{e.stopPropagation(),n?.(e)},...o})}));_.displayName=`DropdownMenuContent`;const v=r(({className:t,inset:n,...r},a)=>i(c.Item,{ref:a,"data-slot":`dropdown-menu-item`,className:e(`relative flex cursor-pointer select-none items-center rounded-md px-2 py-1.5 text-strong text-sm font-normal outline-hidden transition-colors`,`data-highlighted:bg-active-menu-item`,`focus:bg-accent focus:text-accent-foreground`,`data-disabled:cursor-default data-disabled:opacity-50`,`[&>svg]:size-5 [&_svg]:shrink-0`,n&&`pl-8`,t),...r}));v.displayName=`DropdownMenuItem`;const y=r(({className:n,children:r,checked:o,...l},u)=>a(c.CheckboxItem,{ref:u,"data-slot":`dropdown-menu-checkbox-item`,className:e(`text-strong data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 pl-2 pr-9 text-sm font-normal outline-hidden`,`data-highlighted:bg-active-menu-item`,`aria-checked:bg-selected-menu-item`,`data-highlighted:aria-checked:bg-active-selected-menu-item!`,`[&>svg]:size-5 [&_svg]:shrink-0`,n),checked:o,...l,children:[i(`span`,{className:`absolute right-2 flex items-center`,children:i(c.ItemIndicator,{children:i(t,{svg:i(s,{weight:`bold`}),className:`size-4 text-accent-600`})})}),r]}));y.displayName=`DropdownMenuCheckboxItem`;const b=r(({className:n,children:r,...o},l)=>a(c.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:e(`group/dropdown-menu-radio-item`,`text-strong data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 px-2 text-sm font-normal outline-none`,`data-highlighted:bg-active-menu-item`,`aria-checked:bg-selected-menu-item aria-checked:pr-9`,`data-highlighted:aria-checked:bg-active-selected-menu-item!`,`[&>svg]:size-5 [&_svg]:shrink-0`,n),ref:l,...o,children:[i(`span`,{className:`absolute right-2 items-center hidden group-aria-checked/dropdown-menu-radio-item:flex`,children:i(c.ItemIndicator,{children:i(t,{svg:i(s,{weight:`bold`}),className:`size-4 text-accent-600`})})}),r]}));b.displayName=`DropdownMenuRadioItem`;const x=r(({className:t,inset:n,...r},a)=>i(c.Label,{ref:a,"data-slot":`dropdown-menu-label`,className:e(`px-2 py-1.5 text-sm font-medium`,n&&`pl-8`,t),...r}));x.displayName=`DropdownMenuLabel`;const S=r(({className:t,...r},a)=>i(n,{ref:a,"data-slot":`dropdown-menu-separator`,className:e(`-mx-1.25 my-1 w-auto`,t),...r}));S.displayName=`DropdownMenuSeparator`;const C=({className:t,...n})=>i(`span`,{"data-slot":`dropdown-menu-shortcut`,className:e(`ml-auto text-xs tracking-widest opacity-60`,t),...n});C.displayName=`DropdownMenuShortcut`;const w={Root:l,CheckboxItem:y,Content:_,Group:d,Item:v,Label:x,RadioGroup:m,RadioItem:b,Separator:S,Shortcut:C,Sub:p,SubContent:g,SubTrigger:h,Trigger:u};export{w as t};
1
+ import{t as e}from"./cx-IiQEAKf5.js";import{t}from"./icon-CDtYjF_H.js";import{n}from"./separator-kBnnv3Cw.js";import{forwardRef as r}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{CaretRightIcon as o}from"@phosphor-icons/react/CaretRight";import{CheckIcon as s}from"@phosphor-icons/react/Check";import*as c from"@radix-ui/react-dropdown-menu";const l=c.Root;l.displayName=`DropdownMenu`;const u=r((e,t)=>i(c.Trigger,{ref:t,"data-slot":`dropdown-menu-trigger`,...e}));u.displayName=`DropdownMenuTrigger`;const d=r(({className:t,...n},r)=>i(c.Group,{ref:r,"data-slot":`dropdown-menu-group`,className:e(`space-y-px`,t),...n}));d.displayName=`DropdownMenuGroup`;const f=c.Portal;f.displayName=`DropdownMenuPortal`;const p=c.Sub;p.displayName=`DropdownMenuSub`;const m=r(({className:t,...n},r)=>i(c.RadioGroup,{ref:r,"data-slot":`dropdown-menu-radio-group`,className:e(`space-y-px`,t),...n}));m.displayName=`DropdownMenuRadioGroup`;const h=r(({className:n,inset:r,children:s,...l},u)=>a(c.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,className:e(`focus:bg-accent data-state-open:bg-accent relative flex select-none items-center rounded-md py-1.5 pl-2 pr-9 text-sm outline-hidden`,`data-highlighted:bg-active-menu-item data-state-open:bg-active-menu-item`,`[&>svg]:size-5 [&_svg]:shrink-0`,r&&`pl-8`,n),ref:u,...l,children:[s,i(`span`,{className:`absolute right-2 flex items-center`,children:i(t,{svg:i(o,{weight:`bold`}),className:`size-4`})})]}));h.displayName=`DropdownMenuSubTrigger`;const g=r(({className:t,loop:n=!0,...r},a)=>i(f,{children:i(c.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:e(`scrollbar`,`text-popover-foreground border-popover bg-popover p-1.25 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95 data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border shadow-xl space-y-px font-sans`,`my-2 max-h-[calc(var(--radix-dropdown-menu-content-available-height)-16px)] overflow-auto`,t),loop:n,ref:a,...r})}));g.displayName=`DropdownMenuSubContent`;const _=r(({className:t,onClick:n,loop:r=!0,width:a,...o},s)=>i(f,{children:i(c.Content,{ref:s,"data-slot":`dropdown-menu-content`,className:e(`scrollbar`,`text-popover-foreground border-popover bg-popover p-1.25 z-50 min-w-32 overflow-hidden rounded-md border shadow-xl outline-hidden space-y-px font-sans`,`data-side-bottom:slide-in-from-top-2 data-side-left:slide-in-from-right-2 data-side-right:slide-in-from-left-2 data-side-top:slide-in-from-bottom-2 data-state-closed:animate-out data-state-closed:fade-out-0 data-state-closed:zoom-out-95 data-state-open:animate-in data-state-open:fade-in-0 data-state-open:zoom-in-95`,`my-2 max-h-[calc(var(--radix-dropdown-menu-content-available-height)-16px)] overflow-auto`,a===`trigger`&&`w-(--radix-dropdown-menu-trigger-width)`,t),loop:r,onClick:e=>{e.stopPropagation(),n?.(e)},...o})}));_.displayName=`DropdownMenuContent`;const v=r(({className:t,inset:n,...r},a)=>i(c.Item,{ref:a,"data-slot":`dropdown-menu-item`,className:e(`relative flex cursor-pointer select-none items-center rounded-md px-2 py-1.5 text-strong text-sm font-normal outline-hidden transition-colors`,`data-highlighted:bg-active-menu-item`,`focus:bg-accent focus:text-accent-foreground`,`data-disabled:cursor-default data-disabled:opacity-50`,`[&>svg]:size-5 [&_svg]:shrink-0`,n&&`pl-8`,t),...r}));v.displayName=`DropdownMenuItem`;const y=r(({className:n,children:r,checked:o,...l},u)=>a(c.CheckboxItem,{ref:u,"data-slot":`dropdown-menu-checkbox-item`,className:e(`text-strong data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 pl-2 pr-9 text-sm font-normal outline-hidden`,`data-highlighted:bg-active-menu-item`,`aria-checked:bg-selected-menu-item`,`data-highlighted:aria-checked:bg-active-selected-menu-item!`,`[&>svg]:size-5 [&_svg]:shrink-0`,n),checked:o,...l,children:[i(`span`,{className:`absolute right-2 flex items-center`,children:i(c.ItemIndicator,{children:i(t,{svg:i(s,{weight:`bold`}),className:`size-4 text-accent-600`})})}),r]}));y.displayName=`DropdownMenuCheckboxItem`;const b=r(({className:n,children:r,...o},l)=>a(c.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:e(`group/dropdown-menu-radio-item`,`text-strong data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-pointer select-none items-center gap-2 rounded-md py-1.5 px-2 text-sm font-normal outline-none`,`data-highlighted:bg-active-menu-item`,`aria-checked:bg-selected-menu-item aria-checked:pr-9`,`data-highlighted:aria-checked:bg-active-selected-menu-item!`,`[&>svg]:size-5 [&_svg]:shrink-0`,n),ref:l,...o,children:[i(`span`,{className:`absolute right-2 items-center hidden group-aria-checked/dropdown-menu-radio-item:flex`,children:i(c.ItemIndicator,{children:i(t,{svg:i(s,{weight:`bold`}),className:`size-4 text-accent-600`})})}),r]}));b.displayName=`DropdownMenuRadioItem`;const x=r(({className:t,inset:n,...r},a)=>i(c.Label,{ref:a,"data-slot":`dropdown-menu-label`,className:e(`px-2 py-1.5 text-sm font-medium`,n&&`pl-8`,t),...r}));x.displayName=`DropdownMenuLabel`;const S=r(({className:t,...r},a)=>i(n,{ref:a,"data-slot":`dropdown-menu-separator`,className:e(`-mx-1.25 my-1 w-auto`,t),...r}));S.displayName=`DropdownMenuSeparator`;const C=({className:t,...n})=>i(`span`,{"data-slot":`dropdown-menu-shortcut`,className:e(`ml-auto text-xs tracking-widest opacity-60`,t),...n});C.displayName=`DropdownMenuShortcut`;const w={Root:l,CheckboxItem:y,Content:_,Group:d,Item:v,Label:x,RadioGroup:m,RadioItem:b,Separator:S,Shortcut:C,Sub:p,SubContent:g,SubTrigger:h,Trigger:u};export{w as t};
@@ -1,8 +1,11 @@
1
- import { t as WithAsChild } from "./as-child-uN_018tj.js";
1
+ import { t as WithAsChild } from "./as-child-CYEVu1WY.js";
2
2
  import { ComponentProps } from "react";
3
3
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
4
-
5
4
  //#region src/components/dropdown-menu/dropdown-menu.d.ts
5
+ declare const Shortcut: {
6
+ ({ className, ...props }: ComponentProps<"span">): import("react").JSX.Element;
7
+ displayName: string;
8
+ };
6
9
  /**
7
10
  * A menu of options or actions, triggered by a button.
8
11
  *
@@ -10,7 +13,7 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
10
13
  * `z-50`, Mantle's shared floating z-index. When multiple shared layers are
11
14
  * open, the most recently mounted layer renders on top.
12
15
  *
13
- * @see https://mantle.ngrok.com/components/dropdown-menu
16
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu
14
17
  *
15
18
  * @example
16
19
  * Composition:
@@ -35,7 +38,7 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
35
38
  * ```tsx
36
39
  * <DropdownMenu.Root>
37
40
  * <DropdownMenu.Trigger asChild>
38
- * <Button type="button" appearance="outlined">
41
+ * <Button type="button" appearance="outlined" intent="neutral">
39
42
  * Open Menu
40
43
  * </Button>
41
44
  * </DropdownMenu.Trigger>
@@ -54,13 +57,15 @@ declare const DropdownMenu: {
54
57
  * `z-50`, Mantle's shared floating z-index. When multiple shared layers are
55
58
  * open, the most recently mounted layer renders on top.
56
59
  *
57
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuroot
60
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuroot
58
61
  *
59
62
  * @example
60
63
  * ```tsx
61
64
  * <DropdownMenu.Root>
62
65
  * <DropdownMenu.Trigger asChild>
63
- * <Button>Open Menu</Button>
66
+ * <Button type="button" appearance="outlined" intent="neutral">
67
+ * Open Menu
68
+ * </Button>
64
69
  * </DropdownMenu.Trigger>
65
70
  * <DropdownMenu.Content>
66
71
  * <DropdownMenu.Item>Item 1</DropdownMenu.Item>
@@ -72,7 +77,7 @@ declare const DropdownMenu: {
72
77
  /**
73
78
  * A checkbox item in the dropdown menu that can be toggled on and off.
74
79
  *
75
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenucheckboxitem
80
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenucheckboxitem
76
81
  *
77
82
  * @example
78
83
  * ```tsx
@@ -94,7 +99,7 @@ declare const DropdownMenu: {
94
99
  * floating z-index. When multiple shared layers are open, the most recently
95
100
  * mounted layer renders on top.
96
101
  *
97
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenucontent
102
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenucontent
98
103
  *
99
104
  * @example
100
105
  * ```tsx
@@ -116,7 +121,7 @@ declare const DropdownMenu: {
116
121
  /**
117
122
  * A group container for organizing related dropdown menu items.
118
123
  *
119
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenugroup
124
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenugroup
120
125
  *
121
126
  * @example
122
127
  * ```tsx
@@ -136,7 +141,7 @@ declare const DropdownMenu: {
136
141
  /**
137
142
  * A standard item in the dropdown menu that can be selected or activated.
138
143
  *
139
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuitem
144
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuitem
140
145
  *
141
146
  * @example
142
147
  * ```tsx
@@ -159,7 +164,7 @@ declare const DropdownMenu: {
159
164
  /**
160
165
  * A label for grouping and describing sections within the dropdown menu.
161
166
  *
162
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenulabel
167
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenulabel
163
168
  *
164
169
  * @example
165
170
  * ```tsx
@@ -179,7 +184,7 @@ declare const DropdownMenu: {
179
184
  /**
180
185
  * A radio group container for exclusive selection within the dropdown menu.
181
186
  *
182
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuradiogroup
187
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuradiogroup
183
188
  *
184
189
  * @example
185
190
  * ```tsx
@@ -198,7 +203,7 @@ declare const DropdownMenu: {
198
203
  /**
199
204
  * A radio item in the dropdown menu where only one item in the group can be selected.
200
205
  *
201
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuradioitem
206
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuradioitem
202
207
  *
203
208
  * @example
204
209
  * ```tsx
@@ -221,7 +226,7 @@ declare const DropdownMenu: {
221
226
  /**
222
227
  * A visual separator for dividing sections within the dropdown menu.
223
228
  *
224
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenuseparator
229
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuseparator
225
230
  *
226
231
  * @example
227
232
  * ```tsx
@@ -243,7 +248,7 @@ declare const DropdownMenu: {
243
248
  /**
244
249
  * A keyboard shortcut indicator for dropdown menu items.
245
250
  *
246
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenushortcut
251
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenushortcut
247
252
  *
248
253
  * @example
249
254
  * ```tsx
@@ -258,17 +263,11 @@ declare const DropdownMenu: {
258
263
  * </DropdownMenu.Root>
259
264
  * ```
260
265
  */
261
- readonly Shortcut: {
262
- ({
263
- className,
264
- ...props
265
- }: ComponentProps<"span">): import("react").JSX.Element;
266
- displayName: string;
267
- };
266
+ readonly Shortcut: typeof Shortcut;
268
267
  /**
269
268
  * A submenu container for creating nested dropdown menus.
270
269
  *
271
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenusub
270
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenusub
272
271
  *
273
272
  * @example
274
273
  * ```tsx
@@ -294,7 +293,7 @@ declare const DropdownMenu: {
294
293
  * floating z-index. When multiple shared layers are open, the most recently
295
294
  * mounted layer renders on top.
296
295
  *
297
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenusubcontent
296
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenusubcontent
298
297
  *
299
298
  * @example
300
299
  * ```tsx
@@ -316,7 +315,7 @@ declare const DropdownMenu: {
316
315
  /**
317
316
  * The trigger item that opens a submenu when hovered or focused.
318
317
  *
319
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenusubtrigger
318
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenusubtrigger
320
319
  *
321
320
  * @example
322
321
  * ```tsx
@@ -340,13 +339,13 @@ declare const DropdownMenu: {
340
339
  /**
341
340
  * The trigger button that opens the dropdown menu.
342
341
  *
343
- * @see https://mantle.ngrok.com/components/dropdown-menu#dropdownmenutrigger
342
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenutrigger
344
343
  *
345
344
  * @example
346
345
  * ```tsx
347
346
  * <DropdownMenu.Root>
348
347
  * <DropdownMenu.Trigger asChild>
349
- * <Button type="button" appearance="outlined">
348
+ * <Button type="button" appearance="outlined" intent="neutral">
350
349
  * Open Menu
351
350
  * </Button>
352
351
  * </DropdownMenu.Trigger>
@@ -1,2 +1,3 @@
1
- import { t as DropdownMenu } from "./dropdown-menu-CADgs9gz.js";
1
+ import { t as DropdownMenu } from "./dropdown-menu-DMNw8ItM.js";
2
+ import "./index-DZRbVkZa.js";
2
3
  export { DropdownMenu };
@@ -1 +1 @@
1
- import{t as e}from"./dropdown-menu-OEuW4GLp.js";export{e as DropdownMenu};
1
+ import{t as e}from"./dropdown-menu-ByUQkAvJ.js";export{e as DropdownMenu};
package/dist/empty.d.ts CHANGED
@@ -1,19 +1,138 @@
1
- import { t as WithAsChild } from "./as-child-uN_018tj.js";
2
- import { t as SvgAttributes } from "./types-BvUzforF.js";
1
+ import { t as WithAsChild } from "./as-child-CYEVu1WY.js";
2
+ import { t as SvgAttributes } from "./types-D1RY5Tcj.js";
3
3
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
4
-
5
4
  //#region src/components/empty/empty.d.ts
5
+ /**
6
+ * The root container for an empty state. Centers content horizontally
7
+ * with consistent vertical padding and max-width.
8
+ *
9
+ * @see https://mantle.ngrok.com/components/feedback/empty
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <Empty.Root>
14
+ * <Empty.Icon svg={<GhostIcon />} />
15
+ * <Empty.Title>No results found</Empty.Title>
16
+ * <Empty.Description>Try adjusting your search or filters.</Empty.Description>
17
+ * <Empty.Actions>
18
+ * <Button appearance="outlined" intent="neutral">Clear filters</Button>
19
+ * </Empty.Actions>
20
+ * </Empty.Root>
21
+ * ```
22
+ */
23
+ declare const Root: {
24
+ ({ asChild, children, className, ...props }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
25
+ displayName: string;
26
+ };
6
27
  type EmptyIconProps = Omit<SvgAttributes, "children"> & {
7
28
  /**
8
29
  * A single SVG icon element.
9
30
  */
10
31
  svg: ReactNode;
11
32
  };
33
+ /**
34
+ * Renders a large icon for the empty state. Pass a single SVG icon element
35
+ * via the `svg` prop (e.g. from `@phosphor-icons/react`).
36
+ *
37
+ * @see https://mantle.ngrok.com/components/feedback/empty
38
+ *
39
+ * @example
40
+ * ```tsx
41
+ * <Empty.Root>
42
+ * <Empty.Icon svg={<GhostIcon />} />
43
+ * <Empty.Title>No endpoints yet</Empty.Title>
44
+ * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
45
+ * <Empty.Actions>
46
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
47
+ * </Empty.Actions>
48
+ * </Empty.Root>
49
+ * ```
50
+ */
51
+ declare const Icon: {
52
+ ({ className, svg, ...props }: EmptyIconProps): import("react").JSX.Element;
53
+ displayName: string;
54
+ };
55
+ /**
56
+ * The heading text for the empty state. Renders as an `h3` by default. Use the
57
+ * `asChild` prop to render as a different heading level (e.g. `h1`, `h2`).
58
+ *
59
+ * @see https://mantle.ngrok.com/components/feedback/empty
60
+ *
61
+ * @example
62
+ * ```tsx
63
+ * <Empty.Root>
64
+ * <Empty.Icon svg={<GhostIcon />} />
65
+ * <Empty.Title>No endpoints yet</Empty.Title>
66
+ * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
67
+ * <Empty.Actions>
68
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
69
+ * </Empty.Actions>
70
+ * </Empty.Root>
71
+ *
72
+ * <Empty.Title asChild>
73
+ * <h2>No results found</h2>
74
+ * </Empty.Title>
75
+ * ```
76
+ */
77
+ declare const Title: {
78
+ ({ asChild, children, className, ...props }: HTMLAttributes<HTMLHeadingElement> & WithAsChild): import("react").JSX.Element;
79
+ displayName: string;
80
+ };
81
+ /**
82
+ * Supporting descriptive text below the title. Renders as a `div` with
83
+ * `space-y-4` so multiple paragraphs can be placed inside. Use the `asChild`
84
+ * prop to render as a different element.
85
+ *
86
+ * @see https://mantle.ngrok.com/components/feedback/empty
87
+ *
88
+ * @example
89
+ * ```tsx
90
+ * <Empty.Root>
91
+ * <Empty.Icon svg={<GhostIcon />} />
92
+ * <Empty.Title>No endpoints yet</Empty.Title>
93
+ * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
94
+ * <Empty.Actions>
95
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
96
+ * </Empty.Actions>
97
+ * </Empty.Root>
98
+ *
99
+ * <Empty.Description>
100
+ * <p>Something went wrong.</p>
101
+ * <p>Please try again in a few minutes.</p>
102
+ * </Empty.Description>
103
+ * ```
104
+ */
105
+ declare const Description: {
106
+ ({ asChild, children, className, ...props }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
107
+ displayName: string;
108
+ };
109
+ /**
110
+ * A container for action buttons or links in the empty state.
111
+ *
112
+ * @see https://mantle.ngrok.com/components/feedback/empty
113
+ *
114
+ * @example
115
+ * ```tsx
116
+ * <Empty.Root>
117
+ * <Empty.Icon svg={<GhostIcon />} />
118
+ * <Empty.Title>No endpoints yet</Empty.Title>
119
+ * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
120
+ * <Empty.Actions>
121
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
122
+ * <Button appearance="outlined" intent="neutral">Go back</Button>
123
+ * </Empty.Actions>
124
+ * </Empty.Root>
125
+ * ```
126
+ */
127
+ declare const Actions: {
128
+ ({ asChild, children, className, ...props }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
129
+ displayName: string;
130
+ };
12
131
  /**
13
132
  * Compound component for rendering empty states. Use with `Empty.Root`,
14
133
  * `Empty.Icon`, `Empty.Title`, `Empty.Description`, and `Empty.Actions`.
15
134
  *
16
- * @see https://mantle.ngrok.com/components/empty
135
+ * @see https://mantle.ngrok.com/components/feedback/empty
17
136
  *
18
137
  * @example
19
138
  * Composition:
@@ -34,7 +153,7 @@ type EmptyIconProps = Omit<SvgAttributes, "children"> & {
34
153
  * Create your first endpoint to get started.
35
154
  * </Empty.Description>
36
155
  * <Empty.Actions>
37
- * <Button>Create endpoint</Button>
156
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
38
157
  * </Empty.Actions>
39
158
  * </Empty.Root>
40
159
  * ```
@@ -44,7 +163,7 @@ declare const Empty: {
44
163
  * The root container for an empty state. Centers content vertically and
45
164
  * horizontally with consistent padding and max-width.
46
165
  *
47
- * @see https://mantle.ngrok.com/components/empty
166
+ * @see https://mantle.ngrok.com/components/feedback/empty
48
167
  *
49
168
  * @example
50
169
  * ```tsx
@@ -53,25 +172,17 @@ declare const Empty: {
53
172
  * <Empty.Title>No endpoints yet</Empty.Title>
54
173
  * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
55
174
  * <Empty.Actions>
56
- * <Button>Create endpoint</Button>
175
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
57
176
  * </Empty.Actions>
58
177
  * </Empty.Root>
59
178
  * ```
60
179
  */
61
- readonly Root: {
62
- ({
63
- asChild,
64
- children,
65
- className,
66
- ...props
67
- }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
68
- displayName: string;
69
- };
180
+ readonly Root: typeof Root;
70
181
  /**
71
182
  * Renders a large icon for the empty state. Pass a single SVG icon element
72
183
  * via the `svg` prop.
73
184
  *
74
- * @see https://mantle.ngrok.com/components/empty
185
+ * @see https://mantle.ngrok.com/components/feedback/empty
75
186
  *
76
187
  * @example
77
188
  * ```tsx
@@ -80,24 +191,17 @@ declare const Empty: {
80
191
  * <Empty.Title>No endpoints yet</Empty.Title>
81
192
  * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
82
193
  * <Empty.Actions>
83
- * <Button>Create endpoint</Button>
194
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
84
195
  * </Empty.Actions>
85
196
  * </Empty.Root>
86
197
  * ```
87
198
  */
88
- readonly Icon: {
89
- ({
90
- className,
91
- svg,
92
- ...props
93
- }: EmptyIconProps): import("react").JSX.Element;
94
- displayName: string;
95
- };
199
+ readonly Icon: typeof Icon;
96
200
  /**
97
201
  * The heading text for the empty state. Renders as an `h3` by default.
98
202
  * Use `asChild` to render as a different heading level.
99
203
  *
100
- * @see https://mantle.ngrok.com/components/empty
204
+ * @see https://mantle.ngrok.com/components/feedback/empty
101
205
  *
102
206
  * @example
103
207
  * ```tsx
@@ -106,7 +210,7 @@ declare const Empty: {
106
210
  * <Empty.Title>No endpoints yet</Empty.Title>
107
211
  * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
108
212
  * <Empty.Actions>
109
- * <Button>Create endpoint</Button>
213
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
110
214
  * </Empty.Actions>
111
215
  * </Empty.Root>
112
216
  *
@@ -115,21 +219,13 @@ declare const Empty: {
115
219
  * </Empty.Title>
116
220
  * ```
117
221
  */
118
- readonly Title: {
119
- ({
120
- asChild,
121
- children,
122
- className,
123
- ...props
124
- }: HTMLAttributes<HTMLHeadingElement> & WithAsChild): import("react").JSX.Element;
125
- displayName: string;
126
- };
222
+ readonly Title: typeof Title;
127
223
  /**
128
224
  * Supporting descriptive text below the title. Renders as a `div` with
129
225
  * `space-y-4` for multiple paragraphs. Use `asChild` to render as a
130
226
  * different element.
131
227
  *
132
- * @see https://mantle.ngrok.com/components/empty
228
+ * @see https://mantle.ngrok.com/components/feedback/empty
133
229
  *
134
230
  * @example
135
231
  * ```tsx
@@ -138,24 +234,16 @@ declare const Empty: {
138
234
  * <Empty.Title>No endpoints yet</Empty.Title>
139
235
  * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
140
236
  * <Empty.Actions>
141
- * <Button>Create endpoint</Button>
237
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
142
238
  * </Empty.Actions>
143
239
  * </Empty.Root>
144
240
  * ```
145
241
  */
146
- readonly Description: {
147
- ({
148
- asChild,
149
- children,
150
- className,
151
- ...props
152
- }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
153
- displayName: string;
154
- };
242
+ readonly Description: typeof Description;
155
243
  /**
156
244
  * A container for action buttons or links in the empty state.
157
245
  *
158
- * @see https://mantle.ngrok.com/components/empty
246
+ * @see https://mantle.ngrok.com/components/feedback/empty
159
247
  *
160
248
  * @example
161
249
  * ```tsx
@@ -164,20 +252,12 @@ declare const Empty: {
164
252
  * <Empty.Title>No endpoints yet</Empty.Title>
165
253
  * <Empty.Description>Create your first endpoint to get started.</Empty.Description>
166
254
  * <Empty.Actions>
167
- * <Button>Create endpoint</Button>
255
+ * <Button appearance="filled" intent="neutral">Create endpoint</Button>
168
256
  * </Empty.Actions>
169
257
  * </Empty.Root>
170
258
  * ```
171
259
  */
172
- readonly Actions: {
173
- ({
174
- asChild,
175
- children,
176
- className,
177
- ...props
178
- }: ComponentProps<"div"> & WithAsChild): import("react").JSX.Element;
179
- displayName: string;
180
- };
260
+ readonly Actions: typeof Actions;
181
261
  };
182
262
  //#endregion
183
263
  export { Empty };
package/dist/empty.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./cx-C1UYP5We.js";import{t}from"./svg-only-CSOaF1tL.js";import{t as n}from"./slot-DT_E5BQx.js";import{jsx as r}from"react/jsx-runtime";const i=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty`,className:e(`mx-auto flex max-w-lg flex-col items-center p-6 text-center`,a),...o,children:i});i.displayName=`Empty`;const a=({className:n,svg:i,...a})=>r(t,{"data-slot":`empty-icon`,className:e(`mb-1 size-10 text-neutral-400`,n),svg:i,...a});a.displayName=`EmptyIcon`;const o=({asChild:t,children:i,className:a,...o})=>r(t?n:`h3`,{"data-slot":`empty-title`,className:e(`text-strong text-sm font-medium font-sans`,a),...o,children:i});o.displayName=`EmptyTitle`;const s=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-description`,className:e(`text-muted space-y-4 text-sm font-sans`,a),...o,children:i});s.displayName=`EmptyDescription`;const c=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-actions`,className:e(`mt-4 flex items-center gap-2`,a),...o,children:i});c.displayName=`EmptyActions`;const l={Root:i,Icon:a,Title:o,Description:s,Actions:c};export{l as Empty};
1
+ import{t as e}from"./cx-IiQEAKf5.js";import{t}from"./svg-only-DDx6FtJd.js";import{t as n}from"./slot-DmPrjM7N.js";import{jsx as r}from"react/jsx-runtime";const i=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty`,className:e(`mx-auto flex max-w-lg flex-col items-center p-6 text-center`,a),...o,children:i});i.displayName=`Empty`;const a=({className:n,svg:i,...a})=>r(t,{"data-slot":`empty-icon`,className:e(`mb-1 size-10 text-neutral-400`,n),svg:i,...a});a.displayName=`EmptyIcon`;const o=({asChild:t,children:i,className:a,...o})=>r(t?n:`h3`,{"data-slot":`empty-title`,className:e(`text-strong text-sm font-medium font-sans`,a),...o,children:i});o.displayName=`EmptyTitle`;const s=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-description`,className:e(`text-muted space-y-4 text-sm font-sans`,a),...o,children:i});s.displayName=`EmptyDescription`;const c=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-actions`,className:e(`mt-4 flex items-center gap-2`,a),...o,children:i});c.displayName=`EmptyActions`;const l={Root:i,Icon:a,Title:o,Description:s,Actions:c};export{l as Empty};
@@ -1 +1 @@
1
- import{r as e}from"./validation-DCyx-ceH.js";import{createContext as t}from"react";const n=t(null),r=t(null),i=({context:t})=>{if(!t)return{ariaProps:{},validation:void 0};let n=e({defaultAriaInvalid:!1,validation:t.validation});return{ariaProps:{"aria-describedby":`${t.descriptionId} ${t.errorId}`,"aria-errormessage":n.isInvalid?t.errorId:void 0,"aria-invalid":n.ariaInvalid,id:t.controlId,name:t.name},validation:n.validation}};export{n,i as r,r as t};
1
+ import{r as e}from"./validation-Bpptk_9t.js";import{createContext as t}from"react";const n=t(null),r=t(null),i=({context:t})=>{if(!t)return{ariaProps:{},validation:void 0};let n=e({defaultAriaInvalid:!1,validation:t.validation});return{ariaProps:{"aria-describedby":`${t.descriptionId} ${t.errorId}`,"aria-errormessage":n.isInvalid?t.errorId:void 0,"aria-invalid":n.ariaInvalid,id:t.controlId,name:t.name},validation:n.validation}};export{n,i as r,r as t};