@forte-ui/react 1.0.0-alpha.1

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 (304) hide show
  1. package/README.md +240 -0
  2. package/dist/Accordion-9JunkjgY.js +111 -0
  3. package/dist/Alert-Cn_WUF3L.js +183 -0
  4. package/dist/AspectRatio-gSjpTVk-.js +39 -0
  5. package/dist/Avatar-BuitDluH.js +87 -0
  6. package/dist/Badge-sArNWMre.js +33 -0
  7. package/dist/Breadcrumb-Cq7tFtMX.js +170 -0
  8. package/dist/Button-AiyKnx5I.js +42 -0
  9. package/dist/ButtonGroup-C-CrwPXP.js +54 -0
  10. package/dist/Calendar-D7Q-QJ_e.js +503 -0
  11. package/dist/Checkbox-DfNbmOed.js +56 -0
  12. package/dist/Collapsible-D8UKiGip.js +86 -0
  13. package/dist/ColorPicker-B-eCI31W.js +612 -0
  14. package/dist/Combobox-D-BN-Tvp.js +302 -0
  15. package/dist/ContextMenu-D81uDaMG.js +44 -0
  16. package/dist/DatePicker-CfkMsaI-.js +192 -0
  17. package/dist/Dialog-_n8FpFs5.js +432 -0
  18. package/dist/Drawer-DKQF3OO7.js +158 -0
  19. package/dist/Field-FLFEO70D.js +58 -0
  20. package/dist/Fieldset-CYhh71Qt.js +28 -0
  21. package/dist/Form-DVPmW9XV.js +17 -0
  22. package/dist/Input-BgGWhO2q.js +18 -0
  23. package/dist/InputGroup-DsZyDXNn.js +89 -0
  24. package/dist/Menu-CKu9xE2h.js +261 -0
  25. package/dist/Menubar-Dax027Db.js +19 -0
  26. package/dist/NavList-DGvcIoJm.js +176 -0
  27. package/dist/NavigationMenu-BayQkUUb.js +209 -0
  28. package/dist/NumberField-P55SA8T7.js +191 -0
  29. package/dist/OTPField-CjHvBNSN.js +55 -0
  30. package/dist/Popover-BXhn2Wwt.js +142 -0
  31. package/dist/PreviewCard-Dnitrky0.js +99 -0
  32. package/dist/Progress-BlomDp-X.js +81 -0
  33. package/dist/ProgressCircle-j6XBl0fk.js +112 -0
  34. package/dist/Radio-BIcX4INJ.js +37 -0
  35. package/dist/Resizable-7nJJM97e.js +609 -0
  36. package/dist/ScrollArea-CBMGJ6hh.js +83 -0
  37. package/dist/Select-BP-zvdXm.js +237 -0
  38. package/dist/Separator-DewJBzaJ.js +21 -0
  39. package/dist/Skeleton-zr6ObCCq.js +79 -0
  40. package/dist/Slider-Bh8_cti1.js +104 -0
  41. package/dist/Spinner-BF0uD4hR.js +53 -0
  42. package/dist/Switch-OBewMMvM.js +39 -0
  43. package/dist/Tabs-LgkSbPSF.js +132 -0
  44. package/dist/Textarea-CqZJL41e.js +51 -0
  45. package/dist/Toast-BWayxAcd.js +304 -0
  46. package/dist/Toggle-BrhMnkF5.js +45 -0
  47. package/dist/Toolbar-OmOVCk3i.js +88 -0
  48. package/dist/Tooltip-CI4chsRw.js +101 -0
  49. package/dist/clsx-By2n9mTe.js +16 -0
  50. package/dist/cn.d.ts +8 -0
  51. package/dist/cn.js +11 -0
  52. package/dist/components/accordion/Accordion.d.ts +117 -0
  53. package/dist/components/accordion/Accordion.js +3 -0
  54. package/dist/components/accordion/index.d.ts +2 -0
  55. package/dist/components/accordion/index.js +2 -0
  56. package/dist/components/alert/Alert.d.ts +167 -0
  57. package/dist/components/alert/Alert.js +3 -0
  58. package/dist/components/alert/index.d.ts +2 -0
  59. package/dist/components/alert/index.js +2 -0
  60. package/dist/components/aspect-ratio/AspectRatio.d.ts +128 -0
  61. package/dist/components/aspect-ratio/AspectRatio.js +3 -0
  62. package/dist/components/aspect-ratio/index.d.ts +2 -0
  63. package/dist/components/aspect-ratio/index.js +2 -0
  64. package/dist/components/avatar/Avatar.d.ts +176 -0
  65. package/dist/components/avatar/Avatar.js +3 -0
  66. package/dist/components/avatar/index.d.ts +2 -0
  67. package/dist/components/avatar/index.js +2 -0
  68. package/dist/components/badge/Badge.d.ts +117 -0
  69. package/dist/components/badge/Badge.js +3 -0
  70. package/dist/components/badge/index.d.ts +2 -0
  71. package/dist/components/badge/index.js +2 -0
  72. package/dist/components/breadcrumb/Breadcrumb.d.ts +244 -0
  73. package/dist/components/breadcrumb/Breadcrumb.js +3 -0
  74. package/dist/components/breadcrumb/index.d.ts +2 -0
  75. package/dist/components/breadcrumb/index.js +2 -0
  76. package/dist/components/button/Button.d.ts +73 -0
  77. package/dist/components/button/Button.js +3 -0
  78. package/dist/components/button/index.d.ts +2 -0
  79. package/dist/components/button/index.js +2 -0
  80. package/dist/components/button-group/ButtonGroup.d.ts +113 -0
  81. package/dist/components/button-group/ButtonGroup.js +3 -0
  82. package/dist/components/button-group/index.d.ts +2 -0
  83. package/dist/components/button-group/index.js +2 -0
  84. package/dist/components/calendar/Calendar.d.ts +201 -0
  85. package/dist/components/calendar/Calendar.js +3 -0
  86. package/dist/components/calendar/index.d.ts +2 -0
  87. package/dist/components/calendar/index.js +2 -0
  88. package/dist/components/checkbox/Checkbox.d.ts +130 -0
  89. package/dist/components/checkbox/Checkbox.js +3 -0
  90. package/dist/components/checkbox/index.d.ts +2 -0
  91. package/dist/components/checkbox/index.js +2 -0
  92. package/dist/components/collapsible/Collapsible.d.ts +91 -0
  93. package/dist/components/collapsible/Collapsible.js +3 -0
  94. package/dist/components/collapsible/index.d.ts +2 -0
  95. package/dist/components/collapsible/index.js +2 -0
  96. package/dist/components/color-picker/ColorPicker.d.ts +553 -0
  97. package/dist/components/color-picker/ColorPicker.js +4 -0
  98. package/dist/components/color-picker/color.d.ts +102 -0
  99. package/dist/components/color-picker/color.js +249 -0
  100. package/dist/components/color-picker/index.d.ts +2 -0
  101. package/dist/components/color-picker/index.js +3 -0
  102. package/dist/components/combobox/Combobox.d.ts +553 -0
  103. package/dist/components/combobox/Combobox.js +3 -0
  104. package/dist/components/combobox/index.d.ts +2 -0
  105. package/dist/components/combobox/index.js +2 -0
  106. package/dist/components/context-menu/ContextMenu.d.ts +103 -0
  107. package/dist/components/context-menu/ContextMenu.js +3 -0
  108. package/dist/components/context-menu/index.d.ts +3 -0
  109. package/dist/components/context-menu/index.js +2 -0
  110. package/dist/components/date-picker/DatePicker.d.ts +268 -0
  111. package/dist/components/date-picker/DatePicker.js +3 -0
  112. package/dist/components/date-picker/index.d.ts +2 -0
  113. package/dist/components/date-picker/index.js +2 -0
  114. package/dist/components/dialog/Dialog.d.ts +567 -0
  115. package/dist/components/dialog/Dialog.js +3 -0
  116. package/dist/components/dialog/index.d.ts +2 -0
  117. package/dist/components/dialog/index.js +2 -0
  118. package/dist/components/drawer/Drawer.d.ts +351 -0
  119. package/dist/components/drawer/Drawer.js +3 -0
  120. package/dist/components/drawer/index.d.ts +2 -0
  121. package/dist/components/drawer/index.js +2 -0
  122. package/dist/components/field/Field.d.ts +170 -0
  123. package/dist/components/field/Field.js +3 -0
  124. package/dist/components/field/index.d.ts +2 -0
  125. package/dist/components/field/index.js +2 -0
  126. package/dist/components/fieldset/Fieldset.d.ts +60 -0
  127. package/dist/components/fieldset/Fieldset.js +3 -0
  128. package/dist/components/fieldset/index.d.ts +2 -0
  129. package/dist/components/fieldset/index.js +2 -0
  130. package/dist/components/form/Form.d.ts +76 -0
  131. package/dist/components/form/Form.js +3 -0
  132. package/dist/components/form/index.d.ts +2 -0
  133. package/dist/components/form/index.js +2 -0
  134. package/dist/components/input/Input.d.ts +67 -0
  135. package/dist/components/input/Input.js +3 -0
  136. package/dist/components/input/index.d.ts +2 -0
  137. package/dist/components/input/index.js +2 -0
  138. package/dist/components/input-group/InputGroup.d.ts +214 -0
  139. package/dist/components/input-group/InputGroup.js +3 -0
  140. package/dist/components/input-group/index.d.ts +2 -0
  141. package/dist/components/input-group/index.js +2 -0
  142. package/dist/components/menu/Menu.d.ts +587 -0
  143. package/dist/components/menu/Menu.js +3 -0
  144. package/dist/components/menu/index.d.ts +2 -0
  145. package/dist/components/menu/index.js +2 -0
  146. package/dist/components/menubar/Menubar.d.ts +104 -0
  147. package/dist/components/menubar/Menubar.js +3 -0
  148. package/dist/components/menubar/index.d.ts +2 -0
  149. package/dist/components/menubar/index.js +2 -0
  150. package/dist/components/nav-list/NavList.d.ts +290 -0
  151. package/dist/components/nav-list/NavList.js +3 -0
  152. package/dist/components/nav-list/index.d.ts +2 -0
  153. package/dist/components/nav-list/index.js +2 -0
  154. package/dist/components/navigation-menu/NavigationMenu.d.ts +483 -0
  155. package/dist/components/navigation-menu/NavigationMenu.js +3 -0
  156. package/dist/components/navigation-menu/index.d.ts +2 -0
  157. package/dist/components/navigation-menu/index.js +2 -0
  158. package/dist/components/number-field/NumberField.d.ts +303 -0
  159. package/dist/components/number-field/NumberField.js +3 -0
  160. package/dist/components/number-field/index.d.ts +2 -0
  161. package/dist/components/number-field/index.js +2 -0
  162. package/dist/components/otp-field/OTPField.d.ts +206 -0
  163. package/dist/components/otp-field/OTPField.js +3 -0
  164. package/dist/components/otp-field/index.d.ts +2 -0
  165. package/dist/components/otp-field/index.js +2 -0
  166. package/dist/components/popover/Popover.d.ts +394 -0
  167. package/dist/components/popover/Popover.js +3 -0
  168. package/dist/components/popover/index.d.ts +2 -0
  169. package/dist/components/popover/index.js +2 -0
  170. package/dist/components/preview-card/PreviewCard.d.ts +307 -0
  171. package/dist/components/preview-card/PreviewCard.js +3 -0
  172. package/dist/components/preview-card/index.d.ts +2 -0
  173. package/dist/components/preview-card/index.js +2 -0
  174. package/dist/components/progress/Progress.d.ts +156 -0
  175. package/dist/components/progress/Progress.js +3 -0
  176. package/dist/components/progress/ProgressCircle.d.ts +166 -0
  177. package/dist/components/progress/ProgressCircle.js +3 -0
  178. package/dist/components/progress/index.d.ts +4 -0
  179. package/dist/components/progress/index.js +3 -0
  180. package/dist/components/radio/Radio.d.ts +144 -0
  181. package/dist/components/radio/Radio.js +3 -0
  182. package/dist/components/radio/index.d.ts +2 -0
  183. package/dist/components/radio/index.js +2 -0
  184. package/dist/components/resizable/Resizable.d.ts +211 -0
  185. package/dist/components/resizable/Resizable.js +3 -0
  186. package/dist/components/resizable/index.d.ts +2 -0
  187. package/dist/components/resizable/index.js +2 -0
  188. package/dist/components/scroll-area/ScrollArea.d.ts +113 -0
  189. package/dist/components/scroll-area/ScrollArea.js +3 -0
  190. package/dist/components/scroll-area/index.d.ts +2 -0
  191. package/dist/components/scroll-area/index.js +2 -0
  192. package/dist/components/select/Select.d.ts +345 -0
  193. package/dist/components/select/Select.js +3 -0
  194. package/dist/components/select/index.d.ts +2 -0
  195. package/dist/components/select/index.js +2 -0
  196. package/dist/components/separator/Separator.d.ts +75 -0
  197. package/dist/components/separator/Separator.js +3 -0
  198. package/dist/components/separator/index.d.ts +2 -0
  199. package/dist/components/separator/index.js +2 -0
  200. package/dist/components/skeleton/Skeleton.d.ts +169 -0
  201. package/dist/components/skeleton/Skeleton.js +3 -0
  202. package/dist/components/skeleton/index.d.ts +2 -0
  203. package/dist/components/skeleton/index.js +2 -0
  204. package/dist/components/slider/Slider.d.ts +208 -0
  205. package/dist/components/slider/Slider.js +3 -0
  206. package/dist/components/slider/index.d.ts +2 -0
  207. package/dist/components/slider/index.js +2 -0
  208. package/dist/components/spinner/Spinner.d.ts +92 -0
  209. package/dist/components/spinner/Spinner.js +3 -0
  210. package/dist/components/spinner/index.d.ts +2 -0
  211. package/dist/components/spinner/index.js +2 -0
  212. package/dist/components/switch/Switch.d.ts +80 -0
  213. package/dist/components/switch/Switch.js +3 -0
  214. package/dist/components/switch/index.d.ts +2 -0
  215. package/dist/components/switch/index.js +2 -0
  216. package/dist/components/tabs/Tabs.d.ts +125 -0
  217. package/dist/components/tabs/Tabs.js +3 -0
  218. package/dist/components/tabs/index.d.ts +2 -0
  219. package/dist/components/tabs/index.js +2 -0
  220. package/dist/components/textarea/Textarea.d.ts +119 -0
  221. package/dist/components/textarea/Textarea.js +3 -0
  222. package/dist/components/textarea/index.d.ts +2 -0
  223. package/dist/components/textarea/index.js +2 -0
  224. package/dist/components/toast/Toast.d.ts +517 -0
  225. package/dist/components/toast/Toast.js +3 -0
  226. package/dist/components/toast/index.d.ts +2 -0
  227. package/dist/components/toast/index.js +2 -0
  228. package/dist/components/toggle/Toggle.d.ts +171 -0
  229. package/dist/components/toggle/Toggle.js +3 -0
  230. package/dist/components/toggle/index.d.ts +2 -0
  231. package/dist/components/toggle/index.js +2 -0
  232. package/dist/components/toolbar/Toolbar.d.ts +318 -0
  233. package/dist/components/toolbar/Toolbar.js +3 -0
  234. package/dist/components/toolbar/index.d.ts +2 -0
  235. package/dist/components/toolbar/index.js +2 -0
  236. package/dist/components/tooltip/Tooltip.d.ts +361 -0
  237. package/dist/components/tooltip/Tooltip.js +3 -0
  238. package/dist/components/tooltip/index.d.ts +2 -0
  239. package/dist/components/tooltip/index.js +2 -0
  240. package/dist/index.d.ts +92 -0
  241. package/dist/index.js +86 -0
  242. package/dist/styles/Accordion.css +1 -0
  243. package/dist/styles/Alert.css +1 -0
  244. package/dist/styles/AspectRatio.css +1 -0
  245. package/dist/styles/Avatar.css +1 -0
  246. package/dist/styles/Badge.css +1 -0
  247. package/dist/styles/Breadcrumb.css +1 -0
  248. package/dist/styles/Button.css +1 -0
  249. package/dist/styles/ButtonGroup.css +1 -0
  250. package/dist/styles/Calendar.css +1 -0
  251. package/dist/styles/Checkbox.css +1 -0
  252. package/dist/styles/Collapsible.css +1 -0
  253. package/dist/styles/ColorPicker.css +1 -0
  254. package/dist/styles/Combobox.css +1 -0
  255. package/dist/styles/ContextMenu.css +1 -0
  256. package/dist/styles/DatePicker.css +1 -0
  257. package/dist/styles/Dialog.css +1 -0
  258. package/dist/styles/Drawer.css +1 -0
  259. package/dist/styles/Field.css +1 -0
  260. package/dist/styles/Fieldset.css +1 -0
  261. package/dist/styles/Form.css +1 -0
  262. package/dist/styles/Input.css +1 -0
  263. package/dist/styles/InputGroup.css +1 -0
  264. package/dist/styles/Menu.css +1 -0
  265. package/dist/styles/Menubar.css +1 -0
  266. package/dist/styles/NavList.css +1 -0
  267. package/dist/styles/NavigationMenu.css +1 -0
  268. package/dist/styles/NumberField.css +1 -0
  269. package/dist/styles/OTPField.css +1 -0
  270. package/dist/styles/Popover.css +1 -0
  271. package/dist/styles/PreviewCard.css +1 -0
  272. package/dist/styles/Progress.css +1 -0
  273. package/dist/styles/ProgressCircle.css +1 -0
  274. package/dist/styles/Radio.css +1 -0
  275. package/dist/styles/Resizable.css +1 -0
  276. package/dist/styles/ScrollArea.css +1 -0
  277. package/dist/styles/Select.css +1 -0
  278. package/dist/styles/Separator.css +1 -0
  279. package/dist/styles/Skeleton.css +1 -0
  280. package/dist/styles/Slider.css +1 -0
  281. package/dist/styles/Spinner.css +1 -0
  282. package/dist/styles/Switch.css +1 -0
  283. package/dist/styles/Tabs.css +1 -0
  284. package/dist/styles/Textarea.css +1 -0
  285. package/dist/styles/Toast.css +1 -0
  286. package/dist/styles/Toggle.css +1 -0
  287. package/dist/styles/Toolbar.css +1 -0
  288. package/dist/styles/Tooltip.css +1 -0
  289. package/dist/styles/a11y.css +119 -0
  290. package/dist/styles/layers.css +39 -0
  291. package/dist/styles/motion.css +194 -0
  292. package/dist/styles/patterns.css +236 -0
  293. package/dist/styles/properties.css +62 -0
  294. package/dist/styles/reset.css +11 -0
  295. package/dist/styles/tailwind.css +281 -0
  296. package/dist/styles/theme.css +57 -0
  297. package/dist/styles/tokens.color.css +223 -0
  298. package/dist/styles/tokens.css +460 -0
  299. package/dist/tailwind-merge.d.ts +52 -0
  300. package/dist/tailwind-merge.js +52 -0
  301. package/docs-data/props.json +8047 -0
  302. package/docs-data/theming.json +9600 -0
  303. package/docs-data/tokens.json +4070 -0
  304. package/package.json +78 -0
@@ -0,0 +1,361 @@
1
+ import { Tooltip as BaseTooltip } from '@base-ui/react/tooltip';
2
+ import * as React from "react";
3
+ export interface TooltipProviderProps extends BaseTooltip.Provider.Props {
4
+ /**
5
+ * How long to wait before opening a tooltip, in milliseconds. Applies to
6
+ * every tooltip below this provider; an individual `Tooltip.Trigger` can
7
+ * still override it.
8
+ * @default 600
9
+ */
10
+ delay?: BaseTooltip.Provider.Props["delay"];
11
+ /**
12
+ * How long to wait before closing a tooltip, in milliseconds.
13
+ * @default 0
14
+ */
15
+ closeDelay?: BaseTooltip.Provider.Props["closeDelay"];
16
+ /**
17
+ * Grouping window, in milliseconds. If one tooltip closes and another opens
18
+ * within this window, the second one appears instantly instead of waiting
19
+ * out `delay` again — which is what makes a row of icon buttons feel like a
20
+ * single toolbar rather than a series of separate waits.
21
+ * @default 400
22
+ */
23
+ timeout?: BaseTooltip.Provider.Props["timeout"];
24
+ /**
25
+ * The subtree that shares this delay.
26
+ */
27
+ children?: BaseTooltip.Provider.Props["children"];
28
+ }
29
+ /**
30
+ * Shares one hover delay across every tooltip beneath it. Renders no DOM
31
+ * element.
32
+ *
33
+ * Mount it once near the root of the app. Without it each tooltip waits out
34
+ * its own delay, so sweeping across a toolbar feels sticky.
35
+ */
36
+ declare function TooltipProvider(props: TooltipProviderProps): React.JSX.Element;
37
+ export interface TooltipRootProps<Payload = unknown> extends BaseTooltip.Root.Props<Payload> {
38
+ /**
39
+ * Whether the tooltip is open when it first mounts. For a controlled
40
+ * tooltip use `open` instead.
41
+ * @default false
42
+ */
43
+ defaultOpen?: BaseTooltip.Root.Props<Payload>["defaultOpen"];
44
+ /**
45
+ * Whether the tooltip is currently open. Pass this together with
46
+ * `onOpenChange` to control the tooltip.
47
+ */
48
+ open?: BaseTooltip.Root.Props<Payload>["open"];
49
+ /**
50
+ * Called when the tooltip wants to open or close. The second argument
51
+ * carries the reason (`'trigger-hover'`, `'trigger-focus'`,
52
+ * `'trigger-press'`, `'outside-press'`, `'escape-key'`, `'disabled'`,
53
+ * `'imperative-action'`, `'none'`) and can `cancel()` the change.
54
+ */
55
+ onOpenChange?: BaseTooltip.Root.Props<Payload>["onOpenChange"];
56
+ /**
57
+ * Called after the open or close transition has finished. Use this rather
58
+ * than a timer when work has to wait for the popup to actually leave.
59
+ */
60
+ onOpenChangeComplete?: BaseTooltip.Root.Props<Payload>["onOpenChangeComplete"];
61
+ /**
62
+ * Whether this tooltip is disabled. Disables the tooltip only — the trigger
63
+ * element stays fully interactive and does not receive the `disabled`
64
+ * attribute.
65
+ * @default false
66
+ */
67
+ disabled?: BaseTooltip.Root.Props<Payload>["disabled"];
68
+ /**
69
+ * Which axis the tooltip follows the cursor on. `'both'` turns it into a
70
+ * cursor-tracking label; combine with `side="bottom"` for the usual feel.
71
+ * @default "none"
72
+ */
73
+ trackCursorAxis?: BaseTooltip.Root.Props<Payload>["trackCursorAxis"];
74
+ /**
75
+ * Whether the popup can be hovered without closing. Off by default: a
76
+ * tooltip is not meant to hold interactive content, and a hoverable popup
77
+ * gets in the way of the content beneath it.
78
+ * @default false
79
+ */
80
+ disableHoverablePopup?: BaseTooltip.Root.Props<Payload>["disableHoverablePopup"];
81
+ /**
82
+ * Imperative escape hatch. `unmount()` forces the popup out of the DOM (use
83
+ * it when an exit animation is driven externally); `close()` closes the
84
+ * tooltip.
85
+ */
86
+ actionsRef?: BaseTooltip.Root.Props<Payload>["actionsRef"];
87
+ /**
88
+ * Associates this tooltip with detached triggers created through
89
+ * `Tooltip.createHandle()`, so one popup can serve several triggers that
90
+ * live elsewhere in the tree.
91
+ */
92
+ handle?: BaseTooltip.Root.Props<Payload>["handle"];
93
+ /**
94
+ * The trigger the tooltip is attached to, for controlled multi-trigger
95
+ * setups. There is no separate `onTriggerIdChange` — derive the new id from
96
+ * `eventDetails.trigger` inside `onOpenChange`.
97
+ */
98
+ triggerId?: BaseTooltip.Root.Props<Payload>["triggerId"];
99
+ /**
100
+ * The initially attached trigger id. Pairs with `defaultOpen` the way
101
+ * `triggerId` pairs with `open`.
102
+ */
103
+ defaultTriggerId?: BaseTooltip.Root.Props<Payload>["defaultTriggerId"];
104
+ /**
105
+ * The trigger and popup for this tooltip. May also be a render function
106
+ * receiving `{ payload }` from the trigger that opened the tooltip.
107
+ */
108
+ children?: BaseTooltip.Root.Props<Payload>["children"];
109
+ }
110
+ /**
111
+ * Groups one tooltip's trigger and popup. Renders no DOM element, so it takes
112
+ * no `className`, `style` or `ref`.
113
+ */
114
+ declare function TooltipRoot<Payload = unknown>(props: TooltipRootProps<Payload>): React.JSX.Element;
115
+ export interface TooltipTriggerProps<Payload = unknown> extends Omit<BaseTooltip.Trigger.Props<Payload>, "className"> {
116
+ /**
117
+ * How long to wait before opening, in milliseconds. Overrides the
118
+ * provider's `delay` for this trigger only.
119
+ * @default 600
120
+ */
121
+ delay?: BaseTooltip.Trigger.Props<Payload>["delay"];
122
+ /**
123
+ * How long to wait before closing, in milliseconds.
124
+ * @default 0
125
+ */
126
+ closeDelay?: BaseTooltip.Trigger.Props<Payload>["closeDelay"];
127
+ /**
128
+ * Whether clicking the trigger closes the tooltip. Leave it on for triggers
129
+ * that do something on click — the tooltip has served its purpose by then
130
+ * and would otherwise sit over the result.
131
+ * @default true
132
+ */
133
+ closeOnClick?: BaseTooltip.Trigger.Props<Payload>["closeOnClick"];
134
+ /**
135
+ * Stops this trigger from opening the tooltip. It does **not** apply the
136
+ * `disabled` attribute to the element, so the button stays focusable and
137
+ * clickable; style the difference from `data-trigger-disabled`. To disable
138
+ * the control itself, pass `disabled` through `render`.
139
+ * @default false
140
+ */
141
+ disabled?: BaseTooltip.Trigger.Props<Payload>["disabled"];
142
+ /**
143
+ * Associates a detached trigger with a `Tooltip.Root` that carries the same
144
+ * handle, created once outside render with `Tooltip.createHandle()`.
145
+ */
146
+ handle?: BaseTooltip.Trigger.Props<Payload>["handle"];
147
+ /**
148
+ * Data handed to the tooltip when this trigger opens it, so one popup can
149
+ * render different content per trigger.
150
+ */
151
+ payload?: BaseTooltip.Trigger.Props<Payload>["payload"];
152
+ /**
153
+ * Replaces the rendered `<button>` with another element or component —
154
+ * `render={<Button variant="ghost" />}` is the common case. Note there is
155
+ * no `nativeButton` prop on this part: it always renders button semantics.
156
+ */
157
+ render?: BaseTooltip.Trigger.Props<Payload>["render"];
158
+ /**
159
+ * Forwarded to the underlying element.
160
+ */
161
+ ref?: React.Ref<HTMLButtonElement>;
162
+ /**
163
+ * Additional class name(s). Applied after the internal styles so consumer
164
+ * utilities (e.g. Tailwind) win without needing `!important`.
165
+ */
166
+ className?: string;
167
+ }
168
+ /**
169
+ * The element the tooltip is attached to. Renders a `<button>`.
170
+ *
171
+ * **This trigger must carry its own accessible name.** The tooltip is a
172
+ * visual affordance only — see the note on {@link Tooltip} — so an icon-only
173
+ * trigger needs an `aria-label` that closely matches the tooltip's text.
174
+ * Screen reader users get the `aria-label` and nothing else.
175
+ *
176
+ * Unlike `Popover.Trigger` and `Menu.Trigger`, this part has **no
177
+ * `nativeButton` prop**; it always renders button semantics. Compose it with
178
+ * an existing control through `render` instead.
179
+ */
180
+ declare function TooltipTrigger<Payload = unknown>({ className, ...props }: TooltipTriggerProps<Payload>): React.JSX.Element;
181
+ type PositionerProps = BaseTooltip.Positioner.Props;
182
+ export interface TooltipPopupProps extends Omit<BaseTooltip.Popup.Props, "className"> {
183
+ /**
184
+ * Which side of the trigger to place the tooltip on. Flips automatically to
185
+ * avoid collisions. `"inline-start"` / `"inline-end"` follow writing
186
+ * direction.
187
+ * @default "top"
188
+ */
189
+ side?: PositionerProps["side"];
190
+ /**
191
+ * How the tooltip lines up with the trigger along the chosen side.
192
+ * @default "center"
193
+ */
194
+ align?: PositionerProps["align"];
195
+ /**
196
+ * Gap between trigger and tooltip, in pixels, or a function returning one.
197
+ * When an `Arrow` is rendered this must exceed the arrow's height or the
198
+ * arrow will overlap the trigger; the default leaves room for the default
199
+ * arrow.
200
+ * @default 8
201
+ */
202
+ sideOffset?: PositionerProps["sideOffset"];
203
+ /**
204
+ * Shifts the tooltip along the alignment axis, in pixels, or a function
205
+ * returning one.
206
+ * @default 0
207
+ */
208
+ alignOffset?: PositionerProps["alignOffset"];
209
+ /**
210
+ * Minimum distance, in pixels, the arrow keeps from the tooltip's corners
211
+ * before it is allowed to sit off-centre (`data-uncentered`).
212
+ * @default 5
213
+ */
214
+ arrowPadding?: PositionerProps["arrowPadding"];
215
+ /**
216
+ * The element the tooltip positions against, when it should not be the
217
+ * trigger.
218
+ */
219
+ anchor?: PositionerProps["anchor"];
220
+ /**
221
+ * The boundary the tooltip tries to stay inside of.
222
+ * @default "clipping-ancestors"
223
+ */
224
+ collisionBoundary?: PositionerProps["collisionBoundary"];
225
+ /**
226
+ * Space, in pixels, kept between the tooltip and the collision boundary.
227
+ * @default 5
228
+ */
229
+ collisionPadding?: PositionerProps["collisionPadding"];
230
+ /**
231
+ * How the tooltip reacts when it would overflow the boundary — whether it
232
+ * flips, shifts, or stays put.
233
+ */
234
+ collisionAvoidance?: PositionerProps["collisionAvoidance"];
235
+ /**
236
+ * Keeps the tooltip glued to the trigger while it scrolls out of view
237
+ * instead of letting it detach.
238
+ * @default false
239
+ */
240
+ sticky?: PositionerProps["sticky"];
241
+ /**
242
+ * Whether the tooltip is positioned with `position: absolute` or
243
+ * `position: fixed`.
244
+ * @default "absolute"
245
+ */
246
+ positionMethod?: PositionerProps["positionMethod"];
247
+ /**
248
+ * Stops the tooltip re-measuring the anchor on scroll and resize. Cheaper,
249
+ * but the tooltip drifts if the anchor moves.
250
+ * @default false
251
+ */
252
+ disableAnchorTracking?: PositionerProps["disableAnchorTracking"];
253
+ /**
254
+ * Keeps the portal in the DOM while the tooltip is closed.
255
+ * @default false
256
+ */
257
+ keepMounted?: BaseTooltip.Portal.Props["keepMounted"];
258
+ /**
259
+ * Where the portal renders. Defaults to `document.body`; point it at a
260
+ * container when the tooltip has to live inside a specific stacking or
261
+ * shadow root.
262
+ */
263
+ container?: BaseTooltip.Portal.Props["container"];
264
+ /**
265
+ * Additional class name(s) for the positioner element, which owns
266
+ * placement and `z-index`. Use it to re-stack a single tooltip.
267
+ */
268
+ positionerClassName?: string;
269
+ /**
270
+ * Forwarded to the popup element.
271
+ */
272
+ ref?: React.Ref<HTMLDivElement>;
273
+ /**
274
+ * Additional class name(s). Applied after the internal styles so consumer
275
+ * utilities (e.g. Tailwind) win without needing `!important`.
276
+ */
277
+ className?: string;
278
+ }
279
+ export interface TooltipArrowProps extends Omit<BaseTooltip.Arrow.Props, "className"> {
280
+ /**
281
+ * Replaces the built-in wedge. The default SVG inherits the popup's colours
282
+ * through `--forte-tooltip-bg`, so a custom skin usually needs nothing here.
283
+ */
284
+ children?: React.ReactNode;
285
+ /**
286
+ * Forwarded to the arrow element.
287
+ */
288
+ ref?: React.Ref<HTMLDivElement>;
289
+ /**
290
+ * Additional class name(s). Applied after the internal styles so consumer
291
+ * utilities (e.g. Tailwind) win without needing `!important`.
292
+ */
293
+ className?: string;
294
+ }
295
+ export interface TooltipShortcutProps extends Omit<React.ComponentPropsWithoutRef<"span">, "className"> {
296
+ /**
297
+ * The keys, written the way they are printed — `⌘B`, `Ctrl+B`, `⇧⌘P`.
298
+ */
299
+ children?: React.ReactNode;
300
+ /**
301
+ * Additional class name(s). Applied after the internal styles so consumer
302
+ * utilities (e.g. Tailwind) win without needing `!important`.
303
+ */
304
+ className?: string;
305
+ }
306
+ /**
307
+ * A tooltip built on Base UI's unstyled `Tooltip` primitive.
308
+ *
309
+ * ```tsx
310
+ * <Tooltip.Provider>
311
+ * <Tooltip.Root>
312
+ * <Tooltip.Trigger aria-label="Bold">
313
+ * <BoldIcon aria-hidden="true" />
314
+ * </Tooltip.Trigger>
315
+ * <Tooltip.Popup>
316
+ * <Tooltip.Arrow />
317
+ * Bold
318
+ * </Tooltip.Popup>
319
+ * </Tooltip.Root>
320
+ * </Tooltip.Provider>
321
+ * ```
322
+ *
323
+ * ## Accessibility: a tooltip is VISUAL ONLY
324
+ *
325
+ * This is the single most important thing to know about this component, and
326
+ * it is a property of tooltips in general, not of this implementation.
327
+ *
328
+ * - **It is not available to screen readers.** Nothing in the popup is
329
+ * announced. The trigger therefore needs its own `aria-label` that closely
330
+ * matches the tooltip's text, so the two audiences get the same
331
+ * information and the same words for it.
332
+ * - **It is disabled on touch devices.** There is no discoverable way to
333
+ * reveal a tooltip before tapping its trigger; iOS has no equivalent
334
+ * affordance, and on Android long-press collides with the browser's own
335
+ * context menu. Base UI therefore does not open tooltips on touch at all.
336
+ * - **Never put important information only in a tooltip.** If a user who
337
+ * never sees it would be unable to operate or understand the UI, it does
338
+ * not belong here. Put it inline, or in a `Popover` if space is tight.
339
+ * - **For an info affordance — the little "i" icon — use {@link Popover} with
340
+ * `openOnHover` on its trigger instead.** That version is reachable by
341
+ * touch and by assistive technology. The rule of thumb: if the trigger's
342
+ * purpose *is* to open the popup, it is a popover; if the trigger's purpose
343
+ * is unrelated to the popup, it is a tooltip.
344
+ * - For transient feedback ("Copied!"), prefer an anchored `Toast`, which is
345
+ * announced.
346
+ *
347
+ * Styling is driven by `data-*` attributes and `--forte-tooltip-*` custom
348
+ * properties, so it can be re-skinned from plain CSS or targeted with
349
+ * Tailwind arbitrary variants (`data-[side=top]:...`) without wrapping.
350
+ */
351
+ export declare const Tooltip: {
352
+ Provider: typeof TooltipProvider;
353
+ Root: typeof TooltipRoot;
354
+ Trigger: typeof TooltipTrigger;
355
+ Popup: React.ForwardRefExoticComponent<Omit<TooltipPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
356
+ Arrow: React.ForwardRefExoticComponent<Omit<TooltipArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
357
+ Shortcut: React.ForwardRefExoticComponent<TooltipShortcutProps & React.RefAttributes<HTMLSpanElement>>;
358
+ /** Creates a handle that connects a `Tooltip.Root` to detached triggers. */
359
+ createHandle: typeof BaseTooltip.createHandle;
360
+ };
361
+ export {};
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import { t as e } from "../../Tooltip-CI4chsRw.js";
3
+ export { e as Tooltip };
@@ -0,0 +1,2 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export type { TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TooltipPopupProps, TooltipArrowProps, TooltipShortcutProps, } from './Tooltip';
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../Tooltip-CI4chsRw.js";
2
+ export { e as Tooltip };
@@ -0,0 +1,92 @@
1
+ export { Accordion } from './components/accordion';
2
+ export type { AccordionVariant, AccordionRootProps, AccordionItemProps, AccordionHeaderProps, AccordionTriggerProps, AccordionPanelProps, } from './components/accordion';
3
+ export { Alert } from './components/alert';
4
+ export type { AlertVariant, AlertTone, AlertLive, AlertRootProps, AlertIconProps, AlertTitleProps, AlertDescriptionProps, AlertActionProps, AlertCloseProps, } from './components/alert';
5
+ export { AspectRatio } from './components/aspect-ratio';
6
+ export type { AspectRatioProps, AspectRatioPreset, AspectRatioValue, AspectRatioFit, AspectRatioVariant, AspectRatioBasis, } from './components/aspect-ratio';
7
+ export { Avatar } from './components/avatar';
8
+ export type { AvatarSize, AvatarShape, AvatarVariant, AvatarTone, AvatarBadgeTone, AvatarBadgePlacement, AvatarRootProps, AvatarImageProps, AvatarFallbackProps, AvatarBadgeProps, AvatarGroupProps, } from './components/avatar';
9
+ export { Badge } from './components/badge';
10
+ export type { BadgeProps, BadgeVariant, BadgeTone, BadgeSize, BadgeShape, } from './components/badge';
11
+ export { Breadcrumb } from './components/breadcrumb';
12
+ export type { BreadcrumbSize, BreadcrumbVariant, BreadcrumbOverflow, BreadcrumbRootProps, BreadcrumbListProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbPageProps, BreadcrumbSeparatorProps, BreadcrumbEllipsisProps, } from './components/breadcrumb';
13
+ export { Button } from './components/button';
14
+ export type { ButtonProps, ButtonVariant, ButtonTone, ButtonSize } from './components/button';
15
+ export { ButtonGroup } from './components/button-group';
16
+ export type { ButtonGroupOrientation, ButtonGroupRootProps, ButtonGroupSeparatorProps, ButtonGroupTextProps, } from './components/button-group';
17
+ export { Calendar } from './components/calendar';
18
+ export type { CalendarMode, CalendarSize, CalendarCaptionLayout, CalendarRange, CalendarSelection, CalendarMatcher, CalendarLabels, CalendarProps, } from './components/calendar';
19
+ export { Checkbox, CheckboxGroup } from './components/checkbox';
20
+ export type { CheckboxProps, CheckboxSize, CheckboxTone, CheckboxGroupProps, CheckboxGroupOrientation, } from './components/checkbox';
21
+ export { Collapsible } from './components/collapsible';
22
+ export type { CollapsibleVariant, CollapsibleRootProps, CollapsibleTriggerProps, CollapsiblePanelProps, } from './components/collapsible';
23
+ export { ColorPicker, DEFAULT_SWATCHES } from './components/color-picker';
24
+ export type { ColorPickerFormat, ColorPickerChangeReason, ColorPickerChangeDetails, ColorPickerRootProps, ColorPickerTriggerProps, ColorPickerPopupProps, ColorPickerPanelProps, ColorPickerRowProps, ColorPickerAreaProps, ColorPickerHueSliderProps, ColorPickerAlphaSliderProps, ColorPickerSwatchesProps, ColorPickerSwatchProps, ColorPickerPreviewProps, ColorPickerValueProps, ColorPickerFormatProps, ColorPickerInputProps, ColorPickerEyeDropperProps, ColorPickerHiddenInputProps, Hsva, Rgba, } from './components/color-picker';
25
+ export { Combobox, useComboboxFilter, useComboboxFilteredItems, } from './components/combobox';
26
+ export type { ComboboxRootProps, ComboboxLabelProps, ComboboxInputGroupProps, ComboboxInputProps, ComboboxTriggerProps, ComboboxValueProps, ComboboxIconProps, ComboboxClearProps, ComboboxChipsProps, ComboboxChipProps, ComboboxChipRemoveProps, ComboboxPopupProps, ComboboxListProps, ComboboxEmptyProps, ComboboxStatusProps, ComboboxItemProps, ComboboxGroupProps, ComboboxGroupLabelProps, ComboboxSeparatorProps, ComboboxRowProps, ComboboxSize, ComboboxVariant, } from './components/combobox';
27
+ export { ContextMenu } from './components/context-menu';
28
+ export type { ContextMenuRootProps, ContextMenuTriggerProps, ContextMenuItemTone, ContextMenuPopupProps, ContextMenuItemProps, ContextMenuLinkItemProps, ContextMenuCheckboxItemProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuGroupProps, ContextMenuGroupLabelProps, ContextMenuSeparatorProps, ContextMenuSubmenuRootProps, ContextMenuSubmenuTriggerProps, ContextMenuShortcutProps, } from './components/context-menu';
29
+ export { DatePicker, DatePickerRoot, DatePickerTrigger, DatePickerValue, DatePickerIcon, DatePickerPopup, DatePickerCalendar, DatePickerFooter, DatePickerClear, } from './components/date-picker';
30
+ export type { DatePickerSize, DatePickerVariant, DatePickerRootProps, DatePickerTriggerProps, DatePickerValueProps, DatePickerIconProps, DatePickerPopupProps, DatePickerCalendarProps, DatePickerFooterProps, DatePickerClearProps, } from './components/date-picker';
31
+ export { Dialog, AlertDialog, useDialog } from './components/dialog';
32
+ export type { DialogSize, DialogFooterAlign, DialogRootProps, DialogTriggerProps, DialogPopupProps, DialogSurfaceProps, DialogTitleProps, DialogDescriptionProps, DialogCloseProps, DialogFooterProps, AlertDialogRootProps, AlertDialogTriggerProps, DialogProviderProps, DialogApi, DialogManager, DialogLabels, DialogMessageOptions, DialogAlertOptions, DialogConfirmOptions, DialogConfirmWithInputOptions, DialogShowOptions, CustomDialogProps, CustomDialogComponent, } from './components/dialog';
33
+ export { Drawer } from './components/drawer';
34
+ export type { DrawerSide, DrawerSize, DrawerVariant, DrawerSnapPoint, DrawerFooterAlign, DrawerRootProps, DrawerTriggerProps, DrawerPopupProps, DrawerHandleProps, DrawerContentProps, DrawerTitleProps, DrawerDescriptionProps, DrawerCloseProps, DrawerFooterProps, DrawerSwipeAreaProps, DrawerVirtualKeyboardProviderProps, } from './components/drawer';
35
+ export { Field, FieldRoot, FieldLabel, FieldDescription, FieldError, FieldItem } from './components/field';
36
+ export type { FieldRootProps, FieldLabelProps, FieldDescriptionProps, FieldErrorProps, FieldItemProps, } from './components/field';
37
+ export { Fieldset, FieldsetRoot, FieldsetLegend } from './components/fieldset';
38
+ export type { FieldsetRootProps, FieldsetLegendProps } from './components/fieldset';
39
+ export { Form } from './components/form';
40
+ export type { FormProps, FormValidationMode } from './components/form';
41
+ export { Input } from './components/input';
42
+ export type { InputProps, InputSize, InputVariant } from './components/input';
43
+ export { InputGroup } from './components/input-group';
44
+ export type { InputGroupSize, InputGroupVariant, InputGroupAddonAlign, InputGroupRootProps, InputGroupInputProps, InputGroupTextareaProps, InputGroupAddonProps, InputGroupTextProps, InputGroupButtonProps, } from './components/input-group';
45
+ export { Menu } from './components/menu';
46
+ export type { MenuItemTone, MenuRootProps, MenuTriggerProps, MenuPopupProps, MenuItemProps, MenuLinkItemProps, MenuCheckboxItemProps, MenuRadioGroupProps, MenuRadioItemProps, MenuGroupProps, MenuGroupLabelProps, MenuSeparatorProps, MenuSubmenuRootProps, MenuSubmenuTriggerProps, MenuShortcutProps, } from './components/menu';
47
+ export { Menubar } from './components/menubar';
48
+ export type { MenubarProps, MenubarVariant, MenubarOrientation, } from './components/menubar';
49
+ export { NavList } from './components/nav-list';
50
+ export type { NavListSize, NavListMarker, NavListRootProps, NavListSectionProps, NavListSectionLabelProps, NavListListProps, NavListItemProps, NavListLinkProps, NavListGroupProps, NavListGroupTriggerProps, NavListGroupPanelProps, NavListBadgeProps, } from './components/nav-list';
51
+ export { NavigationMenu } from './components/navigation-menu';
52
+ export type { NavigationMenuVariant, NavigationMenuColumns, NavigationMenuRootProps, NavigationMenuListProps, NavigationMenuItemProps, NavigationMenuTriggerProps, NavigationMenuIconProps, NavigationMenuContentProps, NavigationMenuLinkProps, NavigationMenuLinkTitleProps, NavigationMenuLinkDescriptionProps, NavigationMenuPopupProps, } from './components/navigation-menu';
53
+ export { NumberField } from './components/number-field';
54
+ export type { NumberFieldSize, NumberFieldVariant, NumberFieldScrubDirection, NumberFieldRootProps, NumberFieldGroupProps, NumberFieldInputProps, NumberFieldIncrementProps, NumberFieldDecrementProps, NumberFieldScrubAreaProps, NumberFieldScrubAreaCursorProps, } from './components/number-field';
55
+ export { OTPField } from './components/otp-field';
56
+ export type { OTPFieldSize, OTPFieldVariant, OTPFieldValidationType, OTPFieldRootProps, OTPFieldInputProps, OTPFieldSeparatorProps, } from './components/otp-field';
57
+ export { Popover } from './components/popover';
58
+ export type { PopoverSize, PopoverFooterAlign, PopoverRootProps, PopoverTriggerProps, PopoverPopupProps, PopoverArrowProps, PopoverTitleProps, PopoverDescriptionProps, PopoverCloseProps, PopoverFooterProps, PopoverViewportProps, } from './components/popover';
59
+ export { PreviewCard } from './components/preview-card';
60
+ export type { PreviewCardSize, PreviewCardRootProps, PreviewCardTriggerProps, PreviewCardPopupProps, PreviewCardArrowProps, PreviewCardViewportProps, } from './components/preview-card';
61
+ export { Progress, ProgressCircle } from './components/progress';
62
+ export type { ProgressSize, ProgressTone, ProgressRootProps, ProgressLabelProps, ProgressValueProps, ProgressTrackProps, ProgressIndicatorProps, ProgressCircleSize, ProgressCircleTone, ProgressCircleRootProps, ProgressCircleTrackProps, ProgressCircleIndicatorProps, ProgressCircleValueProps, ProgressCircleLabelProps, } from './components/progress';
63
+ export { Radio, RadioGroup } from './components/radio';
64
+ export type { RadioProps, RadioSize, RadioTone, RadioGroupProps, RadioGroupOrientation, } from './components/radio';
65
+ export { Resizable } from './components/resizable';
66
+ export type { ResizableOrientation, ResizableLength, ResizableStorage, ResizableGroupProps, ResizablePanelProps, ResizableHandleProps, } from './components/resizable';
67
+ export { ScrollArea } from './components/scroll-area';
68
+ export type { ScrollAreaScrollbarVisibility, ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaContentProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, } from './components/scroll-area';
69
+ export { Select } from './components/select';
70
+ export type { SelectRootProps, SelectLabelProps, SelectTriggerProps, SelectValueProps, SelectIconProps, SelectPopupProps, SelectItemProps, SelectGroupProps, SelectGroupLabelProps, SelectSeparatorProps, SelectSize, SelectVariant, } from './components/select';
71
+ export { Separator } from './components/separator';
72
+ export type { SeparatorProps, SeparatorOrientation, SeparatorVariant, } from './components/separator';
73
+ export { Skeleton } from './components/skeleton';
74
+ export type { SkeletonVariant, SkeletonAnimation, SkeletonRootProps, SkeletonTextProps, SkeletonGroupProps, } from './components/skeleton';
75
+ export { Slider } from './components/slider';
76
+ export type { SliderSize, SliderTone, SliderRootProps, SliderLabelProps, SliderValueProps, SliderControlProps, SliderTrackProps, SliderIndicatorProps, SliderThumbProps, } from './components/slider';
77
+ export { Spinner } from './components/spinner';
78
+ export type { SpinnerProps, SpinnerVariant, SpinnerSize, SpinnerTone, SpinnerLabelPlacement, } from './components/spinner';
79
+ export { Switch } from './components/switch';
80
+ export type { SwitchProps, SwitchSize } from './components/switch';
81
+ export { Tabs } from './components/tabs';
82
+ export type { TabsVariant, TabsOverflow, TabsRootProps, TabsListProps, TabsTabProps, TabsIndicatorProps, TabsPanelProps, } from './components/tabs';
83
+ export { Textarea } from './components/textarea';
84
+ export type { TextareaProps, TextareaSize, TextareaVariant, TextareaResize, } from './components/textarea';
85
+ export { Toast, useToast } from './components/toast';
86
+ export type { ToastType, ToastPosition, ToastSwipeDirection, ToastData, ToastObject, ToastActionOptions, ToastOptions, ToastMessage, ToastHandle, ToastPromiseOptions, ToastApi, ToastManager, UseToastReturn, ToastProviderProps, ToastViewportProps, ToastItemProps, ToastIconProps, ToastTitleProps, ToastDescriptionProps, ToastActionProps, ToastCloseProps, } from './components/toast';
87
+ export { Toggle, ToggleGroup } from './components/toggle';
88
+ export type { ToggleProps, ToggleVariant, ToggleTone, ToggleSize, ToggleGroupProps, ToggleGroupOrientation, } from './components/toggle';
89
+ export { Toolbar } from './components/toolbar';
90
+ export type { ToolbarOrientation, ToolbarVariant, ToolbarSize, ToolbarRootProps, ToolbarGroupProps, ToolbarButtonProps, ToolbarLinkProps, ToolbarInputProps, ToolbarSeparatorProps, } from './components/toolbar';
91
+ export { Tooltip } from './components/tooltip';
92
+ export type { TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TooltipPopupProps, TooltipArrowProps, TooltipShortcutProps, } from './components/tooltip';
package/dist/index.js ADDED
@@ -0,0 +1,86 @@
1
+ "use client";
2
+ import { t as e } from "./Accordion-9JunkjgY.js";
3
+ import "./components/accordion/index.js";
4
+ import { t } from "./Alert-Cn_WUF3L.js";
5
+ import "./components/alert/index.js";
6
+ import { t as n } from "./AspectRatio-gSjpTVk-.js";
7
+ import "./components/aspect-ratio/index.js";
8
+ import { t as r } from "./Avatar-BuitDluH.js";
9
+ import "./components/avatar/index.js";
10
+ import { t as i } from "./Badge-sArNWMre.js";
11
+ import "./components/badge/index.js";
12
+ import { t as a } from "./ScrollArea-CBMGJ6hh.js";
13
+ import { t as o } from "./Breadcrumb-Cq7tFtMX.js";
14
+ import "./components/breadcrumb/index.js";
15
+ import { t as s } from "./Spinner-BF0uD4hR.js";
16
+ import { t as c } from "./Button-AiyKnx5I.js";
17
+ import { t as l } from "./ButtonGroup-C-CrwPXP.js";
18
+ import "./components/button-group/index.js";
19
+ import { t as u } from "./Select-BP-zvdXm.js";
20
+ import { t as d } from "./Calendar-D7Q-QJ_e.js";
21
+ import { n as f, t as p } from "./Checkbox-DfNbmOed.js";
22
+ import "./components/checkbox/index.js";
23
+ import { t as m } from "./Collapsible-D8UKiGip.js";
24
+ import "./components/collapsible/index.js";
25
+ import { t as h } from "./Popover-BXhn2Wwt.js";
26
+ import { t as g } from "./ColorPicker-B-eCI31W.js";
27
+ import { DEFAULT_SWATCHES as _ } from "./components/color-picker/color.js";
28
+ import "./components/color-picker/index.js";
29
+ import { C as v, t as y, w as b } from "./Combobox-D-BN-Tvp.js";
30
+ import "./components/combobox/index.js";
31
+ import { t as x } from "./Menu-CKu9xE2h.js";
32
+ import { t as S } from "./ContextMenu-D81uDaMG.js";
33
+ import "./components/context-menu/index.js";
34
+ import { a as C, c as w, i as T, l as E, n as D, o as O, r as k, s as A, t as j } from "./DatePicker-CfkMsaI-.js";
35
+ import "./components/date-picker/index.js";
36
+ import { a as M, i as N, n as P, o as F, r as I, t as L } from "./Field-FLFEO70D.js";
37
+ import { t as R } from "./Form-DVPmW9XV.js";
38
+ import { t as z } from "./Input-BgGWhO2q.js";
39
+ import { h as B, i as V, t as H } from "./Dialog-_n8FpFs5.js";
40
+ import "./components/dialog/index.js";
41
+ import { t as U } from "./Drawer-DKQF3OO7.js";
42
+ import "./components/drawer/index.js";
43
+ import { n as W, r as G, t as K } from "./Fieldset-CYhh71Qt.js";
44
+ import "./components/fieldset/index.js";
45
+ import { t as q } from "./Textarea-CqZJL41e.js";
46
+ import { t as J } from "./InputGroup-DsZyDXNn.js";
47
+ import "./components/input-group/index.js";
48
+ import "./components/menu/index.js";
49
+ import { t as Y } from "./Menubar-Dax027Db.js";
50
+ import "./components/menubar/index.js";
51
+ import { t as X } from "./NavList-DGvcIoJm.js";
52
+ import "./components/nav-list/index.js";
53
+ import { t as Z } from "./NavigationMenu-BayQkUUb.js";
54
+ import "./components/navigation-menu/index.js";
55
+ import { t as Q } from "./NumberField-P55SA8T7.js";
56
+ import "./components/number-field/index.js";
57
+ import { t as $ } from "./Separator-DewJBzaJ.js";
58
+ import { t as ee } from "./OTPField-CjHvBNSN.js";
59
+ import "./components/otp-field/index.js";
60
+ import { t as te } from "./PreviewCard-Dnitrky0.js";
61
+ import "./components/preview-card/index.js";
62
+ import { t as ne } from "./Progress-BlomDp-X.js";
63
+ import { t as re } from "./ProgressCircle-j6XBl0fk.js";
64
+ import "./components/progress/index.js";
65
+ import { n as ie, t as ae } from "./Radio-BIcX4INJ.js";
66
+ import "./components/radio/index.js";
67
+ import { t as oe } from "./Resizable-7nJJM97e.js";
68
+ import "./components/resizable/index.js";
69
+ import { t as se } from "./Skeleton-zr6ObCCq.js";
70
+ import "./components/skeleton/index.js";
71
+ import { t as ce } from "./Slider-Bh8_cti1.js";
72
+ import "./components/slider/index.js";
73
+ import { t as le } from "./Switch-OBewMMvM.js";
74
+ import "./components/switch/index.js";
75
+ import { t as ue } from "./Tabs-LgkSbPSF.js";
76
+ import "./components/tabs/index.js";
77
+ import "./components/textarea/index.js";
78
+ import { d as de, t as fe } from "./Toast-BWayxAcd.js";
79
+ import "./components/toast/index.js";
80
+ import { n as pe, t as me } from "./Toggle-BrhMnkF5.js";
81
+ import "./components/toggle/index.js";
82
+ import { t as he } from "./Toolbar-OmOVCk3i.js";
83
+ import "./components/toolbar/index.js";
84
+ import { t as ge } from "./Tooltip-CI4chsRw.js";
85
+ import "./components/tooltip/index.js";
86
+ export { e as Accordion, t as Alert, H as AlertDialog, n as AspectRatio, r as Avatar, i as Badge, o as Breadcrumb, c as Button, l as ButtonGroup, d as Calendar, p as Checkbox, f as CheckboxGroup, m as Collapsible, g as ColorPicker, y as Combobox, S as ContextMenu, _ as DEFAULT_SWATCHES, j as DatePicker, D as DatePickerCalendar, k as DatePickerClear, T as DatePickerFooter, C as DatePickerIcon, O as DatePickerPopup, A as DatePickerRoot, w as DatePickerTrigger, E as DatePickerValue, V as Dialog, U as Drawer, L as Field, P as FieldDescription, I as FieldError, N as FieldItem, M as FieldLabel, F as FieldRoot, K as Fieldset, W as FieldsetLegend, G as FieldsetRoot, R as Form, z as Input, J as InputGroup, x as Menu, Y as Menubar, X as NavList, Z as NavigationMenu, Q as NumberField, ee as OTPField, h as Popover, te as PreviewCard, ne as Progress, re as ProgressCircle, ae as Radio, ie as RadioGroup, oe as Resizable, a as ScrollArea, u as Select, $ as Separator, se as Skeleton, ce as Slider, s as Spinner, le as Switch, ue as Tabs, q as Textarea, fe as Toast, me as Toggle, pe as ToggleGroup, he as Toolbar, ge as Tooltip, v as useComboboxFilter, b as useComboboxFilteredItems, B as useDialog, de as useToast };
@@ -0,0 +1 @@
1
+ @layer forte.components{._root_1vl8x_38{--forte-accordion-gap:0px;--forte-accordion-item-radius:0px;--forte-accordion-item-bg:transparent;--forte-accordion-item-border-width:0px;--forte-accordion-item-border-color:var(--forte-color-border-muted);--forte-accordion-divider-width:1px;--forte-accordion-divider-color:var(--forte-color-border-muted);--forte-accordion-trigger-px:var(--forte-space-3);--forte-accordion-trigger-py:var(--forte-space-3);--forte-accordion-trigger-gap:var(--forte-space-4);--forte-accordion-trigger-bg:transparent;--forte-accordion-trigger-bg-hover:var(--forte-color-panel);--forte-accordion-trigger-color:var(--forte-color-foreground);--forte-accordion-trigger-font-size:var(--forte-font-size-2);--forte-accordion-trigger-font-weight:var(--forte-font-weight-medium);--forte-accordion-icon-color:var(--forte-color-foreground-subtle);--forte-accordion-icon-color-open:var(--forte-color-foreground);--forte-accordion-icon-rotate:180deg;--forte-accordion-panel-px:var(--forte-accordion-trigger-px);--forte-accordion-panel-pb:var(--forte-space-4);--forte-accordion-panel-color:var(--forte-color-foreground-muted);--forte-accordion-panel-font-size:var(--forte-font-size-2);--forte-accordion-duration:var(--forte-duration-normal);--forte-accordion-ease:var(--forte-ease-standard);box-sizing:border-box;gap:var(--forte-accordion-gap);font-family:var(--forte-font-sans);color:var(--forte-color-foreground);flex-direction:column;display:flex}._root_1vl8x_38[data-variant=contained]{--forte-accordion-gap:var(--forte-space-2);--forte-accordion-item-radius:var(--forte-radius-surface);--forte-accordion-item-bg:var(--forte-color-panel);--forte-accordion-item-border-width:1px;--forte-accordion-trigger-bg-hover:var(--forte-color-panel-hover)}._item_1vl8x_146{box-sizing:border-box;border:var(--forte-accordion-item-border-width) solid var(--forte-accordion-item-border-color);border-radius:var(--forte-accordion-item-radius);background-color:var(--forte-accordion-item-bg);overflow:hidden}._item_1vl8x_146[data-variant=divided]+._item_1vl8x_146{border-block-start:var(--forte-accordion-divider-width) solid var(--forte-accordion-divider-color)}._item_1vl8x_146[data-disabled]{opacity:.55}._header_1vl8x_186{box-sizing:border-box;margin:0;display:flex}._trigger_1vl8x_193{box-sizing:border-box;justify-content:space-between;align-items:center;gap:var(--forte-accordion-trigger-gap);width:100%;min-height:var(--forte-target-min);padding:var(--forte-accordion-trigger-py) var(--forte-accordion-trigger-px);border-radius:var(--forte-accordion-item-radius);background-color:var(--forte-accordion-trigger-bg);color:var(--forte-accordion-trigger-color);font-family:inherit;font-size:var(--forte-accordion-trigger-font-size);font-weight:var(--forte-accordion-trigger-font-weight);line-height:var(--forte-line-height-normal);text-align:start;-webkit-user-select:none;user-select:none;cursor:pointer;transition:background-color var(--forte-duration-fast) var(--forte-ease-standard);border:0;flex:auto;margin:0;display:flex}._trigger_1vl8x_193[data-panel-open]{border-end-end-radius:0;border-end-start-radius:0}@media (hover:hover){._trigger_1vl8x_193:hover:not([data-disabled]){background-color:var(--forte-accordion-trigger-bg-hover)}}._trigger_1vl8x_193[data-disabled]{cursor:not-allowed}._label_1vl8x_252{align-items:center;gap:var(--forte-control-gap);flex:auto;min-width:0;display:flex}._icon_1vl8x_268{color:var(--forte-accordion-icon-color);transition:color var(--forte-duration-fast) var(--forte-ease-standard), rotate var(--forte-duration-spring-snappy) var(--forte-ease-spring-snappy);flex:none;justify-content:center;align-items:center;display:inline-flex;rotate:0deg}._trigger_1vl8x_193[data-panel-open] ._icon_1vl8x_268{color:var(--forte-accordion-icon-color-open);rotate:var(--forte-accordion-icon-rotate)}._panel_1vl8x_27{box-sizing:border-box;height:var(--accordion-panel-height);color:var(--forte-accordion-panel-color);font-size:var(--forte-accordion-panel-font-size);line-height:var(--forte-line-height-normal);transition:height var(--forte-accordion-duration) var(--forte-accordion-ease);overflow:hidden}._panel_1vl8x_27[data-starting-style],._panel_1vl8x_27[data-ending-style]{height:0}._content_1vl8x_288{padding:0 var(--forte-accordion-panel-px) var(--forte-accordion-panel-pb);opacity:1;transition:opacity var(--forte-duration-fast) var(--forte-ease-standard), translate var(--forte-accordion-duration) var(--forte-accordion-ease);translate:0}._panel_1vl8x_27[data-starting-style] ._content_1vl8x_288,._panel_1vl8x_27[data-ending-style] ._content_1vl8x_288{opacity:0;translate:0 calc(-1 * var(--forte-travel-sm))}}@layer forte.a11y{@media (forced-colors:active){._item_1vl8x_146{border-color:canvastext}._item_1vl8x_146[data-variant=divided]+._item_1vl8x_146{border-block-start-color:canvastext}}}
@@ -0,0 +1 @@
1
+ @layer forte.components{._root_6hqok_83{--forte-alert-gap:var(--forte-space-3);--forte-alert-row-gap:var(--forte-space-1);--forte-alert-padding:var(--forte-surface-p);--forte-alert-radius:var(--forte-radius-surface);--forte-alert-border-width:1px;--forte-alert-icon-size:var(--forte-space-4);--forte-alert-title-font-size:var(--forte-font-size-2);--forte-alert-title-font-weight:var(--forte-font-weight-semibold);--forte-alert-font-size:var(--forte-font-size-2);--forte-alert-exit-duration:var(--forte-duration-fast);--forte-alert-exit-ease:var(--forte-ease-exit);--forte-alert-exit-travel:var(--forte-travel-md);--forte-alert-tone-soft:var(--forte-gray-3);--forte-alert-tone-border:var(--forte-color-border);--forte-alert-tone-title:var(--forte-color-foreground);--forte-alert-tone-body:var(--forte-color-foreground-muted);--forte-alert-tone-accent:var(--forte-color-foreground-muted);--forte-alert-bg:var(--forte-alert-tone-soft);--forte-alert-border-color:var(--forte-alert-tone-border);--forte-alert-title-color:var(--forte-alert-tone-title);--forte-alert-body-color:var(--forte-alert-tone-body);--forte-alert-icon-color:var(--forte-alert-tone-accent);box-sizing:border-box;row-gap:var(--forte-alert-row-gap);padding:var(--forte-alert-padding);border:var(--forte-alert-border-width) solid var(--forte-alert-border-color);border-radius:var(--forte-alert-radius);background-color:var(--forte-alert-bg);font-family:var(--forte-font-sans);font-size:var(--forte-alert-font-size);grid-template-columns:auto minmax(0,1fr) auto;display:grid;position:relative}._icon_6hqok_178{block-size:calc(var(--forte-alert-title-font-size) * var(--forte-line-height-tight));color:var(--forte-alert-icon-color);pointer-events:none;grid-area:1/1;justify-content:center;align-items:center;margin-inline-end:var(--forte-alert-gap);display:flex}._icon_6hqok_178 svg{inline-size:var(--forte-alert-icon-size);block-size:var(--forte-alert-icon-size);display:block}._title_6hqok_201{color:var(--forte-alert-title-color);font-size:var(--forte-alert-title-font-size);font-weight:var(--forte-alert-title-font-weight);line-height:var(--forte-line-height-tight);text-wrap:balance;grid-area:1/2}._description_6hqok_215{color:var(--forte-alert-body-color);font-size:var(--forte-alert-font-size);line-height:var(--forte-line-height-normal);grid-column:2}._description_6hqok_215>:first-child{margin-block-start:0}._description_6hqok_215>:last-child{margin-block-end:0}._action_6hqok_244{align-self:center;align-items:center;gap:var(--forte-space-2);grid-area:1/3;margin-inline-start:var(--forte-alert-gap);display:flex}._root_6hqok_83:has(>._title_6hqok_201):has(>._description_6hqok_215)>._action_6hqok_244{grid-row:1/span 2}._close_6hqok_150{box-sizing:border-box;inline-size:var(--forte-target-min);block-size:var(--forte-target-min);border-radius:var(--forte-radius-control);color:var(--forte-alert-body-color);cursor:pointer;transition:background-color var(--forte-duration-fast) var(--forte-ease-standard), color var(--forte-duration-fast) var(--forte-ease-standard);background-color:#0000;border:0;justify-content:center;align-items:center;margin-block-start:calc((var(--forte-alert-title-font-size) * var(--forte-line-height-tight) - var(--forte-target-min)) / 2);padding:0;display:inline-flex;position:absolute;inset-block-start:var(--forte-alert-padding);inset-inline-end:var(--forte-alert-padding)}._root_6hqok_83:has(>._close_6hqok_150){padding-inline-end:calc(var(--forte-alert-padding) + var(--forte-target-min) + var(--forte-space-2))}._close_6hqok_150 svg{inline-size:var(--forte-alert-icon-size);block-size:var(--forte-alert-icon-size)}@media (hover:hover){._close_6hqok_150:hover{background-color:var(--forte-color-panel-hover);color:var(--forte-alert-title-color)}}._close_6hqok_150:active{background-color:var(--forte-color-panel-active)}._root_6hqok_83[data-exiting]{block-size:var(--forte-alert-exit-from);transition:opacity var(--forte-alert-exit-duration) var(--forte-alert-exit-ease), translate var(--forte-alert-exit-duration) var(--forte-alert-exit-ease), block-size var(--forte-alert-exit-duration) var(--forte-alert-exit-ease), padding-block var(--forte-alert-exit-duration) var(--forte-alert-exit-ease), border-block-width var(--forte-alert-exit-duration) var(--forte-alert-exit-ease);overflow:hidden}._root_6hqok_83[data-ending-style]{opacity:0;block-size:0;translate:calc(var(--forte-alert-exit-travel) * var(--forte-direction));border-block-width:0;padding-block:0}._root_6hqok_83[data-tone=neutral]{--forte-alert-tone-soft:var(--forte-gray-3);--forte-alert-tone-border:var(--forte-color-border);--forte-alert-tone-title:var(--forte-color-foreground);--forte-alert-tone-body:var(--forte-color-foreground-muted);--forte-alert-tone-accent:var(--forte-color-foreground-muted)}._root_6hqok_83[data-tone=primary]{--forte-alert-tone-soft:var(--forte-color-primary-soft);--forte-alert-tone-border:var(--forte-color-primary-border);--forte-alert-tone-title:var(--forte-color-primary-text);--forte-alert-tone-body:var(--forte-color-primary-text);--forte-alert-tone-accent:var(--forte-color-primary-text)}._root_6hqok_83[data-tone=secondary]{--forte-alert-tone-soft:var(--forte-color-secondary-soft);--forte-alert-tone-border:var(--forte-color-secondary-border);--forte-alert-tone-title:var(--forte-color-secondary-text);--forte-alert-tone-body:var(--forte-color-secondary-text);--forte-alert-tone-accent:var(--forte-color-secondary-text)}._root_6hqok_83[data-tone=success]{--forte-alert-tone-soft:var(--forte-color-success-soft);--forte-alert-tone-border:var(--forte-color-success-border);--forte-alert-tone-title:var(--forte-color-success-text);--forte-alert-tone-body:var(--forte-color-success-text);--forte-alert-tone-accent:var(--forte-color-success-text)}._root_6hqok_83[data-tone=warning]{--forte-alert-tone-soft:var(--forte-color-warning-soft);--forte-alert-tone-border:var(--forte-color-warning-border);--forte-alert-tone-title:var(--forte-color-warning-text);--forte-alert-tone-body:var(--forte-color-warning-text);--forte-alert-tone-accent:var(--forte-color-warning-text)}._root_6hqok_83[data-tone=danger]{--forte-alert-tone-soft:var(--forte-color-danger-soft);--forte-alert-tone-border:var(--forte-color-danger-border);--forte-alert-tone-title:var(--forte-color-danger-text);--forte-alert-tone-body:var(--forte-color-danger-text);--forte-alert-tone-accent:var(--forte-color-danger-text)}._root_6hqok_83[data-tone=info]{--forte-alert-tone-soft:var(--forte-color-info-soft);--forte-alert-tone-border:var(--forte-color-info-border);--forte-alert-tone-title:var(--forte-color-info-text);--forte-alert-tone-body:var(--forte-color-info-text);--forte-alert-tone-accent:var(--forte-color-info-text)}._root_6hqok_83[data-variant=soft]{--forte-alert-bg:var(--forte-alert-tone-soft);--forte-alert-border-color:var(--forte-alert-tone-border);--forte-alert-title-color:var(--forte-alert-tone-title);--forte-alert-body-color:var(--forte-alert-tone-body);--forte-alert-icon-color:var(--forte-alert-tone-accent)}._root_6hqok_83[data-variant=outline]{--forte-alert-bg:var(--forte-color-panel);--forte-alert-border-color:var(--forte-color-border);--forte-alert-title-color:var(--forte-color-foreground);--forte-alert-body-color:var(--forte-color-foreground-muted);--forte-alert-icon-color:var(--forte-alert-tone-accent)}}@layer forte.a11y{@media (forced-colors:active){._root_6hqok_83{background-color:canvas;border-color:canvastext}._icon_6hqok_178,._title_6hqok_201,._description_6hqok_215{color:canvastext}._close_6hqok_150{color:buttontext}}}
@@ -0,0 +1 @@
1
+ @layer forte.components{._root_1s91t_47{--forte-aspect-ratio:var(--forte-aspect-ratio-seed,1);--forte-aspect-fit:cover;--forte-aspect-position:50% 50%;--forte-aspect-radius:0px;--forte-aspect-background:transparent;--forte-aspect-border-color:var(--forte-color-border-muted);--forte-aspect-border-width:0px;box-sizing:border-box;aspect-ratio:var(--forte-aspect-ratio);background-color:var(--forte-aspect-background);border:var(--forte-aspect-border-width) solid var(--forte-aspect-border-color);border-radius:var(--forte-aspect-radius);grid-template:minmax(0,1fr)/minmax(0,1fr);min-inline-size:0;display:grid}._root_1s91t_47[data-basis=inline]{block-size:auto;inline-size:100%}._root_1s91t_47[data-basis=block]{block-size:100%;min-block-size:0;inline-size:auto}._root_1s91t_47[data-clip]{overflow:clip}._root_1s91t_47>*{grid-area:1/1;min-block-size:0;min-inline-size:0}._root_1s91t_47>picture{display:contents}._root_1s91t_47>:is(img,video,canvas,iframe,embed,object),._root_1s91t_47>picture>img{object-fit:var(--forte-aspect-fit);object-position:var(--forte-aspect-position);border:0;grid-area:1/1;block-size:100%;inline-size:100%;display:block}._root_1s91t_47[data-fit=cover]{--forte-aspect-fit:cover}._root_1s91t_47[data-fit=contain]{--forte-aspect-fit:contain}._root_1s91t_47[data-fit=fill]{--forte-aspect-fit:fill}._root_1s91t_47[data-fit=scale-down]{--forte-aspect-fit:scale-down}._root_1s91t_47[data-fit=none]{--forte-aspect-fit:none}._root_1s91t_47[data-variant=outlined]{--forte-aspect-border-width:1px;--forte-aspect-radius:var(--forte-radius-surface)}._root_1s91t_47[data-variant=filled]{--forte-aspect-background:var(--forte-color-panel);--forte-aspect-radius:var(--forte-radius-surface)}}@layer forte.a11y{@media (forced-colors:active){._root_1s91t_47[data-variant=filled]{--forte-aspect-border-width:1px}}}
@@ -0,0 +1 @@
1
+ @layer forte.components{._root_s5mge_42{--forte-avatar-size:2.5rem;--forte-avatar-radius:50%;--forte-avatar-font-size:calc(var(--forte-avatar-size) * .4);--forte-avatar-font-weight:var(--forte-font-weight-medium);--forte-avatar-icon-size:calc(var(--forte-avatar-size) * .55);--forte-avatar-duration:var(--forte-duration-fast);--forte-avatar-ring-width:0px;--forte-avatar-ring-color:var(--forte-color-background);--forte-avatar-tone-solid:var(--forte-gray-12);--forte-avatar-tone-on-solid:var(--forte-gray-1);--forte-avatar-tone-soft:var(--forte-gray-3);--forte-avatar-tone-text:var(--forte-color-foreground);--forte-avatar-tone-border:var(--forte-color-border);--forte-avatar-bg:var(--forte-avatar-tone-soft);--forte-avatar-fg:var(--forte-avatar-tone-text);--forte-avatar-border-width:0px;--forte-avatar-border-color:transparent;box-sizing:border-box;inline-size:var(--forte-avatar-size);block-size:var(--forte-avatar-size);border:var(--forte-avatar-border-width) solid var(--forte-avatar-border-color);border-radius:var(--forte-avatar-radius);background-color:var(--forte-avatar-bg);color:var(--forte-avatar-fg);vertical-align:middle;cursor:default;-webkit-user-select:none;user-select:none;flex-shrink:0;display:inline-grid;position:relative}._root_s5mge_42:before{content:"";inset:calc(-1 * (var(--forte-avatar-ring-width) + var(--forte-avatar-border-width)));border:var(--forte-avatar-ring-width) solid var(--forte-avatar-ring-color);border-radius:calc(var(--forte-avatar-radius) + var(--forte-avatar-ring-width));pointer-events:none;position:absolute}._image_s5mge_161{object-fit:cover;border-radius:inherit;opacity:1;block-size:100%;inline-size:100%;transition:opacity var(--forte-avatar-duration) var(--forte-ease-standard);grid-area:1/1;display:block}._image_s5mge_161[data-starting-style],._image_s5mge_161[data-ending-style]{opacity:0}._fallback_s5mge_190{box-sizing:border-box;border-radius:inherit;font-family:var(--forte-font-sans);font-size:var(--forte-avatar-font-size);font-weight:var(--forte-avatar-font-weight);line-height:var(--forte-line-height-tight);grid-area:1/1;justify-content:center;align-items:center;display:flex;overflow:hidden}._content_s5mge_208{justify-content:center;align-items:center;min-inline-size:0;display:flex}._content_s5mge_208 svg{inline-size:var(--forte-avatar-icon-size);block-size:var(--forte-avatar-icon-size)}._root_s5mge_42[data-size=xs]{--forte-avatar-size:1.5rem}._root_s5mge_42[data-size=sm]{--forte-avatar-size:2rem}._root_s5mge_42[data-size=md]{--forte-avatar-size:2.5rem}._root_s5mge_42[data-size=lg]{--forte-avatar-size:3rem}._root_s5mge_42[data-size=xl]{--forte-avatar-size:4rem}._root_s5mge_42[data-shape=circle]{--forte-avatar-radius:50%}._root_s5mge_42[data-shape=rounded]{--forte-avatar-radius:min(var(--forte-radius-surface), calc(var(--forte-avatar-size) / 4))}._root_s5mge_42[data-shape=square]{--forte-avatar-radius:0px}._root_s5mge_42[data-tone=neutral]{--forte-avatar-tone-solid:var(--forte-gray-12);--forte-avatar-tone-on-solid:var(--forte-gray-1);--forte-avatar-tone-soft:var(--forte-gray-3);--forte-avatar-tone-text:var(--forte-color-foreground);--forte-avatar-tone-border:var(--forte-color-border)}._root_s5mge_42[data-tone=primary]{--forte-avatar-tone-solid:var(--forte-color-primary);--forte-avatar-tone-on-solid:var(--forte-color-on-primary);--forte-avatar-tone-soft:var(--forte-color-primary-soft);--forte-avatar-tone-text:var(--forte-color-primary-text);--forte-avatar-tone-border:var(--forte-color-primary-border)}._root_s5mge_42[data-tone=secondary]{--forte-avatar-tone-solid:var(--forte-color-secondary);--forte-avatar-tone-on-solid:var(--forte-color-on-secondary);--forte-avatar-tone-soft:var(--forte-color-secondary-soft);--forte-avatar-tone-text:var(--forte-color-secondary-text);--forte-avatar-tone-border:var(--forte-color-secondary-border)}._root_s5mge_42[data-tone=danger]{--forte-avatar-tone-solid:var(--forte-color-danger);--forte-avatar-tone-on-solid:var(--forte-color-on-danger);--forte-avatar-tone-soft:var(--forte-color-danger-soft);--forte-avatar-tone-text:var(--forte-color-danger-text);--forte-avatar-tone-border:var(--forte-color-danger-border)}._root_s5mge_42[data-variant=soft]{--forte-avatar-bg:var(--forte-avatar-tone-soft);--forte-avatar-fg:var(--forte-avatar-tone-text)}._root_s5mge_42[data-variant=solid]{--forte-avatar-bg:var(--forte-avatar-tone-solid);--forte-avatar-fg:var(--forte-avatar-tone-on-solid)}._root_s5mge_42[data-variant=outline]{--forte-avatar-bg:transparent;--forte-avatar-fg:var(--forte-avatar-tone-text);--forte-avatar-border-width:1px;--forte-avatar-border-color:var(--forte-avatar-tone-border)}._badge_s5mge_105{--forte-avatar-badge-size:calc(var(--forte-avatar-size) * .3);--forte-avatar-badge-inset:calc(.2929 * var(--forte-avatar-radius));--forte-avatar-badge-ring-width:2px;--forte-avatar-badge-ring-color:var(--forte-avatar-ring-color);--forte-avatar-badge-radius:calc(var(--forte-avatar-badge-size) / 2);--forte-avatar-badge-font-size:calc(var(--forte-avatar-size) * .18);--forte-avatar-badge-font-weight:var(--forte-font-weight-medium);--forte-avatar-badge-bg:var(--forte-gray-12);--forte-avatar-badge-fg:var(--forte-gray-1);--forte-avatar-badge-offset:calc(var(--forte-avatar-badge-inset) - var(--forte-avatar-badge-size) / 2 - var(--forte-avatar-border-width));box-sizing:border-box;min-inline-size:var(--forte-avatar-badge-size);block-size:var(--forte-avatar-badge-size);padding-inline:calc(var(--forte-avatar-badge-size) * .1);border:var(--forte-avatar-badge-ring-width) solid var(--forte-avatar-badge-ring-color);border-radius:var(--forte-avatar-badge-radius);background-color:var(--forte-avatar-badge-bg);color:var(--forte-avatar-badge-fg);font-family:var(--forte-font-sans);font-size:var(--forte-avatar-badge-font-size);font-weight:var(--forte-avatar-badge-font-weight);font-variant-numeric:tabular-nums;pointer-events:none;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;line-height:1;display:flex;position:absolute;inset-block-end:var(--forte-avatar-badge-offset);inset-inline-end:var(--forte-avatar-badge-offset)}._badge_s5mge_105[data-placement^=top]{inset-block-start:var(--forte-avatar-badge-offset);inset-block-end:auto}._badge_s5mge_105[data-placement$=start]{inset-inline-start:var(--forte-avatar-badge-offset);inset-inline-end:auto}._badgeContent_s5mge_449{justify-content:center;align-items:center;min-inline-size:0;display:flex}._badgeContent_s5mge_449 svg{inline-size:calc(var(--forte-avatar-badge-size) * .5);block-size:calc(var(--forte-avatar-badge-size) * .5)}._badge_s5mge_105[data-tone=neutral]{--forte-avatar-badge-bg:var(--forte-gray-12);--forte-avatar-badge-fg:var(--forte-gray-1)}._badge_s5mge_105[data-tone=primary]{--forte-avatar-badge-bg:var(--forte-color-primary);--forte-avatar-badge-fg:var(--forte-color-on-primary)}._badge_s5mge_105[data-tone=secondary]{--forte-avatar-badge-bg:var(--forte-color-secondary);--forte-avatar-badge-fg:var(--forte-color-on-secondary)}._badge_s5mge_105[data-tone=success]{--forte-avatar-badge-bg:var(--forte-color-success);--forte-avatar-badge-fg:var(--forte-color-on-success)}._badge_s5mge_105[data-tone=warning]{--forte-avatar-badge-bg:var(--forte-color-warning);--forte-avatar-badge-fg:var(--forte-color-on-warning)}._badge_s5mge_105[data-tone=danger]{--forte-avatar-badge-bg:var(--forte-color-danger);--forte-avatar-badge-fg:var(--forte-color-on-danger)}._group_s5mge_52{--forte-avatar-group-overlap:var(--forte-space-3);--forte-avatar-group-ring-width:2px;--forte-avatar-group-ring-color:var(--forte-color-background);align-items:center;display:inline-flex}._group_s5mge_52>*+*{margin-inline-start:calc(-1 * var(--forte-avatar-group-overlap))}._group_s5mge_52 ._root_s5mge_42{--forte-avatar-ring-width:var(--forte-avatar-group-ring-width);--forte-avatar-ring-color:var(--forte-avatar-group-ring-color)}}@layer forte.a11y{@media (forced-colors:active){._fallback_s5mge_190{border:1px solid canvastext}._badge_s5mge_105{color:canvastext;background-color:canvas;border-color:canvastext}._badge_s5mge_105[data-dot]{background-color:canvastext;border-color:canvas}}}
@@ -0,0 +1 @@
1
+ @layer forte.components{._root_3atzu_44{--forte-badge-radius:var(--forte-radius-control);--forte-badge-font-size:var(--forte-font-size-1);--forte-badge-font-weight:var(--forte-font-weight-medium);--forte-badge-gap:var(--forte-space-1);--forte-badge-padding-y:var(--forte-space-1);--forte-badge-padding-x:var(--forte-space-2);--forte-badge-border-width:1px;--forte-badge-icon-size:1em;--forte-badge-dot-size:.5em;--forte-badge-dot-color:currentColor;--forte-badge-min-inline-size:auto;--forte-badge-duration:var(--forte-duration-fast);--forte-badge-tone-solid:var(--forte-color-primary);--forte-badge-tone-solid-hover:var(--forte-color-primary-hover);--forte-badge-tone-on-solid:var(--forte-color-on-primary);--forte-badge-tone-soft:var(--forte-color-primary-soft);--forte-badge-tone-soft-hover:var(--forte-color-primary-soft-hover);--forte-badge-tone-text:var(--forte-color-primary-text);--forte-badge-tone-border:var(--forte-color-primary-border);--forte-badge-bg:transparent;--forte-badge-bg-hover:transparent;--forte-badge-fg:var(--forte-color-foreground);--forte-badge-border-color:transparent;box-sizing:border-box;justify-content:center;align-items:center;gap:var(--forte-badge-gap);min-inline-size:var(--forte-badge-min-inline-size);padding-block:var(--forte-badge-padding-y);padding-inline:var(--forte-badge-padding-x);border:var(--forte-badge-border-width) solid var(--forte-badge-border-color);border-radius:var(--forte-badge-radius);background-color:var(--forte-badge-bg);color:var(--forte-badge-fg);font-family:var(--forte-font-sans);font-size:var(--forte-badge-font-size);font-weight:var(--forte-badge-font-weight);line-height:var(--forte-line-height-tight);white-space:nowrap;vertical-align:middle;cursor:default;-webkit-user-select:none;user-select:none;transition:background-color var(--forte-badge-duration) var(--forte-ease-standard), border-color var(--forte-badge-duration) var(--forte-ease-standard), color var(--forte-badge-duration) var(--forte-ease-standard);text-decoration:none;display:inline-flex}._root_3atzu_44 svg{inline-size:var(--forte-badge-icon-size);block-size:var(--forte-badge-icon-size);flex:none}._dot_3atzu_165{inline-size:var(--forte-badge-dot-size);block-size:var(--forte-badge-dot-size);border-radius:var(--forte-radius-full);background-color:var(--forte-badge-dot-color);pointer-events:none;flex:none}._root_3atzu_44[data-size=sm]{--forte-badge-padding-y:0px;--forte-badge-padding-x:var(--forte-space-2);--forte-badge-font-size:var(--forte-font-size-1)}._root_3atzu_44[data-size=md]{--forte-badge-padding-y:var(--forte-space-1);--forte-badge-padding-x:var(--forte-space-2);--forte-badge-font-size:var(--forte-font-size-1)}._root_3atzu_44[data-size=lg]{--forte-badge-padding-y:var(--forte-space-1);--forte-badge-padding-x:var(--forte-space-3);--forte-badge-font-size:var(--forte-font-size-2)}._root_3atzu_44[data-shape=pill]{--forte-badge-radius:var(--forte-radius-pill)}._root_3atzu_44[data-count]{--forte-badge-padding-x:var(--forte-space-1);--forte-badge-min-inline-size:calc(1em * var(--forte-line-height-tight) + 2 * var(--forte-badge-padding-y) + 2 * var(--forte-badge-border-width));font-variant-numeric:tabular-nums}._root_3atzu_44[data-tone=secondary]{--forte-badge-tone-solid:var(--forte-color-secondary);--forte-badge-tone-solid-hover:var(--forte-color-secondary-hover);--forte-badge-tone-on-solid:var(--forte-color-on-secondary);--forte-badge-tone-soft:var(--forte-color-secondary-soft);--forte-badge-tone-soft-hover:var(--forte-color-secondary-soft-hover);--forte-badge-tone-text:var(--forte-color-secondary-text);--forte-badge-tone-border:var(--forte-color-secondary-border)}._root_3atzu_44[data-tone=neutral]{--forte-badge-tone-solid:var(--forte-gray-12);--forte-badge-tone-solid-hover:var(--forte-gray-11);--forte-badge-tone-on-solid:var(--forte-gray-1);--forte-badge-tone-soft:var(--forte-gray-3);--forte-badge-tone-soft-hover:var(--forte-gray-4);--forte-badge-tone-text:var(--forte-color-foreground);--forte-badge-tone-border:var(--forte-color-border)}._root_3atzu_44[data-tone=danger]{--forte-badge-tone-solid:var(--forte-color-danger);--forte-badge-tone-solid-hover:var(--forte-color-danger-hover);--forte-badge-tone-on-solid:var(--forte-color-on-danger);--forte-badge-tone-soft:var(--forte-color-danger-soft);--forte-badge-tone-text:var(--forte-color-danger-text);--forte-badge-tone-border:var(--forte-color-danger-border)}._root_3atzu_44[data-tone=success]{--forte-badge-tone-solid:var(--forte-color-success);--forte-badge-tone-on-solid:var(--forte-color-on-success);--forte-badge-tone-soft:var(--forte-color-success-soft);--forte-badge-tone-text:var(--forte-color-success-text);--forte-badge-tone-border:var(--forte-color-success-border)}._root_3atzu_44[data-tone=warning]{--forte-badge-tone-solid:var(--forte-color-warning);--forte-badge-tone-on-solid:var(--forte-color-on-warning);--forte-badge-tone-soft:var(--forte-color-warning-soft);--forte-badge-tone-text:var(--forte-color-warning-text);--forte-badge-tone-border:var(--forte-color-warning-border)}._root_3atzu_44[data-tone=info]{--forte-badge-tone-solid:var(--forte-color-info);--forte-badge-tone-on-solid:var(--forte-color-on-info);--forte-badge-tone-soft:var(--forte-color-info-soft);--forte-badge-tone-text:var(--forte-color-info-text);--forte-badge-tone-border:var(--forte-color-info-border)}._root_3atzu_44:not([data-tone=primary],[data-tone=secondary],[data-tone=neutral],[data-tone=danger]){--forte-badge-tone-solid-hover:color-mix(in oklab, var(--forte-badge-tone-solid) 92%, black)}._root_3atzu_44:not([data-tone=primary],[data-tone=secondary],[data-tone=neutral]){--forte-badge-tone-soft-hover:color-mix(in oklab, var(--forte-badge-tone-soft) 92%, var(--forte-badge-tone-text))}._root_3atzu_44[data-variant=solid]{--forte-badge-bg:var(--forte-badge-tone-solid);--forte-badge-bg-hover:var(--forte-badge-tone-solid-hover);--forte-badge-fg:var(--forte-badge-tone-on-solid)}._root_3atzu_44[data-variant=soft]{--forte-badge-bg:var(--forte-badge-tone-soft);--forte-badge-bg-hover:var(--forte-badge-tone-soft-hover);--forte-badge-fg:var(--forte-badge-tone-text)}._root_3atzu_44[data-variant=outline]{--forte-badge-bg:transparent;--forte-badge-bg-hover:var(--forte-badge-tone-soft);--forte-badge-fg:var(--forte-badge-tone-text);--forte-badge-border-color:var(--forte-badge-tone-border)}._root_3atzu_44[data-variant=ghost]{--forte-badge-bg:transparent;--forte-badge-bg-hover:var(--forte-badge-tone-soft);--forte-badge-fg:var(--forte-badge-tone-text)}._root_3atzu_44[data-tone=neutral]:is([data-variant=outline],[data-variant=ghost]){--forte-badge-bg-hover:var(--forte-color-panel-hover)}._root_3atzu_44:is(button,[href],[role=button],[role=link]){cursor:pointer;position:relative}._root_3atzu_44:is(button,[href],[role=button],[role=link]):after{content:"";inline-size:max(100%, var(--forte-target-min));block-size:max(100%, var(--forte-target-min));position:absolute;inset:50% auto auto 50%;translate:-50% -50%}@media (hover:hover){._root_3atzu_44:is(button,[href],[role=button],[role=link]):hover:not([data-disabled],[aria-disabled=true],:disabled){background-color:var(--forte-badge-bg-hover)}}:is(button,[href],[role=button],[role=link]) ._root_3atzu_44{cursor:inherit}._root_3atzu_44:is([data-disabled],[aria-disabled=true],:disabled){cursor:not-allowed;opacity:.55}}@layer forte.a11y{@media (forced-colors:active){._dot_3atzu_165{background-color:canvastext}._root_3atzu_44:after{display:none}}}